/* koto.isekai-pool.com — isekai dark theme */

:root {
    --bg-primary: #0d0f14;
    --bg-card: #13161e;
    --bg-elevated: #1a1d28;
    --accent-violet: #7c6af7;
    --accent-gold: #f0c040;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-cyan: #06b6d4;
    --text-primary: #e2e8f0;
    --text-muted: #64748b;
    --border: #1e2433;
    --font-mono: "JetBrains Mono", "Courier New", monospace;
    --font-sans: "Inter", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg-primary);
    overflow-y: scroll;
}

.pure-g [class*="pure-u"] {
    font-family: var(--font-sans);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

main {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    flex: 1 1 auto;
}

a {
    color: var(--accent-violet);
}

a:hover {
    color: #9b8fff;
}

/* —— Site header / nav —— */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.custom-wrapper {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    -webkit-font-smoothing: antialiased;
    min-height: 64px;
    height: auto;
    overflow: visible;
    -webkit-transition: min-height 0.35s ease;
    transition: min-height 0.35s ease;
    align-items: center;
    padding: 0 1rem;
}

.custom-wrapper.open {
    min-height: auto;
}

.home-menu {
    display: flex;
    align-items: center;
    min-height: 64px;
    flex-wrap: wrap;
}

.home-menu > a.pure-menu-heading {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    margin: 0 !important;
    line-height: normal !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 600;
    text-decoration: none;
}

.home-menu > a.pure-menu-heading:hover {
    color: var(--accent-violet) !important;
    background: transparent !important;
}

.home-menu > a.pure-menu-heading img {
    height: 32px;
    width: auto;
}

.nav-tagline {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.custom-menu {
    text-align: left;
    margin: 0;
}

.custom-toggle {
    width: 44px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    height: 64px;
}

.custom-toggle .bar {
    background-color: var(--text-primary);
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 31px;
    right: 14px;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.pure-menu-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
}

.pure-menu-item {
    list-style: none;
}

a.pure-menu-link {
    color: var(--text-muted);
    text-align: left;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.35rem;
    border-radius: 6px;
}

a.pure-menu-link:hover,
a.pure-menu-link:focus,
a.pure-menu-link:active {
    background: var(--bg-elevated);
    color: var(--accent-violet);
}

.pure-menu-selected > a.pure-menu-link {
    color: var(--accent-violet);
}

.pure-menu-link i {
    opacity: 0.85;
}

select#language-select {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 0.25rem 0;
}

select#language-select:hover,
select#language-select:focus {
    border-color: var(--accent-violet);
    outline: none;
}

option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

@media (max-width: 47.999em) {
    .custom-menu {
        width: 100%;
    }

    .custom-toggle {
        display: block;
    }

    .custom-wrapper:not(.open) .custom-can-transform:not(.pure-menu-horizontal) .pure-menu-list {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1rem;
    }

    .custom-wrapper.open .custom-can-transform {
        display: block;
        width: 100%;
    }
}

/* —— Footer —— */
footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 2rem 1rem;
    line-height: 1.6;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

footer a {
    color: var(--accent-violet);
    text-decoration: none;
}

footer a:hover {
    color: #9b8fff;
}

footer .footer-muted {
    color: var(--text-muted);
}

footer iframe {
    vertical-align: middle;
    margin-top: 0.5rem;
    filter: invert(1) hue-rotate(180deg);
    opacity: 0.85;
}

/* —— Spec: cards & stats —— */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.card:hover {
    border-color: rgba(124, 106, 247, 0.45);
}

.stat-value {
    font-family: var(--font-mono);
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 500;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pill-online {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    border-radius: 99px;
    padding: 2px 10px;
    font-size: 0.75rem;
}

.pill-offline {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    border-radius: 99px;
    padding: 2px 10px;
    font-size: 0.75rem;
}

.address {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.glow-violet {
    box-shadow: 0 0 20px rgba(124, 106, 247, 0.2);
}

/* —— Tables —— */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover td {
    background: var(--bg-elevated);
}

.pure-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.pure-table thead {
    background: var(--bg-elevated);
}

.pure-table th {
    background: transparent;
}

/* Pure.css defaults are light-theme (#cbcbcb borders, #f2f2f2 stripes) — force dark */
.pure-table,
.pure-table-horizontal {
    border-color: var(--border) !important;
}

.pure-table td,
.pure-table th,
.pure-table-horizontal td,
.pure-table-horizontal th {
    color: var(--text-primary) !important;
    background-color: transparent !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid var(--border) !important;
}

.pure-table thead th,
.pure-table-horizontal thead th {
    color: var(--text-muted) !important;
    background: var(--bg-elevated) !important;
    font-weight: 600;
    vertical-align: bottom;
}

.pure-table tbody tr:last-child td,
.pure-table-horizontal tbody tr:last-child td {
    border-bottom: none !important;
}

/* Override Pure's .pure-table-odd { background: #f2f2f2 } */
.pure-table .pure-table-odd td,
.pure-table-horizontal .pure-table-odd td,
.pure-table tbody tr.pure-table-odd td,
.pure-table-horizontal tbody tr.pure-table-odd td {
    background-color: rgba(26, 29, 40, 0.55) !important;
    color: var(--text-primary) !important;
}

.pure-table tbody tr:not(.pure-table-odd) td,
.pure-table-horizontal tbody tr:not(.pure-table-odd) td {
    background-color: transparent !important;
}

.poolMinerTable .pure-table tbody tr:hover td,
.poolMinerTable .pure-table-horizontal tbody tr:hover td {
    background-color: var(--bg-elevated) !important;
}

/* Zebra when rows don't all use pure-table-odd */
.poolMinerTable .pure-table tbody tr:nth-child(even):not(.pure-table-odd) td,
.poolMinerTable .pure-table-horizontal tbody tr:nth-child(even):not(.pure-table-odd) td {
    background-color: rgba(26, 29, 40, 0.35) !important;
}

.poolMinerTable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

/* /tbs — wide stat grid, scroll on small viewports */
.pool-tbs-table {
    min-width: 920px;
}

.pool-tbs-table th:nth-child(n + 3),
.pool-tbs-table td:nth-child(n + 3) {
    text-align: right;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.pool-tbs-table th:nth-child(-n + 2),
.pool-tbs-table td:nth-child(-n + 2) {
    text-align: left;
    font-family: var(--font-sans);
}

.pool-tbs-table td:nth-child(2) {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

/* —— Home —— */
.page-hero {
    padding: 2.5rem 1.5rem 1rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-hero .lead {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

.page-hero .stratum {
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-violet);
    word-break: break-all;
}

#boxWelcome {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 1rem;
    padding: 1.5rem;
    align-items: center;
}

#logoImg {
    width: min(200px, 70%);
    height: auto;
    margin: 0 auto;
    display: block;
}

#welcomeText {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 1rem 0 0.75rem;
    color: var(--text-primary);
}

#welcomeItems {
    list-style: none;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 0 !important;
    margin: 0 !important;
}

#welcomeItems > li {
    margin: 0.75rem 0 !important;
    padding-left: 1.25rem;
    position: relative;
}

#welcomeItems > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-violet);
}

#boxesLower {
    margin: 0 0.5rem 1rem;
}

#boxesLower > div {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#boxesLower > div > div {
    flex: 1 1 280px;
    margin: 0;
    padding: 0;
}

.boxStats {
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.boxStats:hover {
    border-color: rgba(124, 106, 247, 0.35);
}

#boxStatsLeft,
#boxStatsRight {
    background: var(--bg-card);
    color: var(--text-primary);
}

.boxLowerHeader {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.boxStatsList {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 0.5rem 1rem;
    opacity: 1;
    margin-bottom: 0;
    flex: 1 1 auto;
    align-content: center;
}

.boxStatsList i.fa,
.boxStatsList i.fas,
.boxStatsList i.fab {
    height: auto;
    width: 1.25rem;
    text-align: center;
    color: var(--accent-cyan);
}

.boxStatsList > div {
    padding: 0.5rem 0.75rem;
}

.boxStatsList > div > div {
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.boxStatsList span[id^="statsHashrate"] {
    font-family: var(--font-mono);
    color: var(--accent-gold);
}

/* —— Miner stats page —— */
#boxesWorkers {
    margin: 0.5rem 1rem 1.5rem;
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
    align-items: flex-start;
}

/* —— Stats / charts —— */
#topCharts,
#bottomCharts {
    padding: 1rem;
}

#topCharts > div > div > svg,
#bottomCharts > div > div > svg {
    display: block;
    height: 280px;
}

.chartWrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.chartLabel {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem;
    color: var(--text-primary);
}

.chartHolder {
    min-height: 280px;
}

.chartHolder > svg,
#topCharts svg.nvd3-svg,
#topCharts .nvd3 {
    overflow: visible;
}

/* NVD3 — dark theme (overrides nv.d3.min.css) */
.nvd3,
.nvd3.nv-lineChart,
.nvd3.nv-scatterChart {
    font-family: var(--font-sans);
}

.nvd3 .nv-background {
    fill: var(--bg-card);
    fill-opacity: 1;
}

.nvd3 .nv-axis text,
.nvd3 .nv-axis .nv-axislabel,
.nvd3 .nv-axisLabel {
    fill: var(--text-muted) !important;
    font-size: 11px;
}

.nvd3 .nv-axis path.domain {
    stroke: var(--border);
    stroke-opacity: 1;
}

.nvd3 .nv-axis line,
.nvd3 .nv-axis path {
    stroke: var(--border);
    shape-rendering: crispEdges;
}

.nvd3 .nv-axis .zero line,
.nvd3 .nv-axis line.zero {
    stroke-opacity: 0.35;
}

/* Grid / minor ticks */
.nvd3 .nv-axis .tick line {
    stroke: rgba(100, 116, 139, 0.25);
    stroke-opacity: 1;
}

.nvd3 .nv-line {
    stroke-width: 2.25px !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nvd3 .nv-groups .nv-series-0 path.nv-line {
    stroke: var(--accent-violet) !important;
    filter: drop-shadow(0 0 6px rgba(124, 106, 247, 0.35));
}

.nvd3 .nv-groups .nv-series-1 path.nv-line {
    stroke: var(--accent-gold) !important;
    filter: drop-shadow(0 0 5px rgba(240, 192, 64, 0.25));
}

.nvd3 .nv-groups .nv-series-2 path.nv-line {
    stroke: var(--accent-cyan) !important;
}

.nvd3 .nv-groups .nv-series-3 path.nv-line {
    stroke: var(--accent-green) !important;
}

.nvd3 .nv-groups .nv-series-4 path.nv-line {
    stroke: #a855f7 !important;
}

.nvd3 .nv-groups .nv-series-5 path.nv-line {
    stroke: #f97316 !important;
}

.nvd3 .nv-groups .nv-series-6 path.nv-line {
    stroke: #ec4899 !important;
}

.nvd3 .nv-groups .nv-series-7 path.nv-line {
    stroke: #38bdf8 !important;
}

.nvd3.nv-lineChart .nv-groups .nv-point {
    stroke-opacity: 1;
    fill-opacity: 1;
    stroke-width: 1.5px;
}

.nvd3 .nv-legend .nv-series {
    cursor: pointer;
}

.nvd3 .nv-legend-text {
    fill: var(--text-primary) !important;
    font-size: 12px;
}

.nvd3 .nv-legend-symbol {
    stroke-opacity: 0.85;
}

.nvd3 .nv-interactiveGuideLine {
    stroke: var(--accent-violet) !important;
    stroke-opacity: 0.55;
    stroke-dasharray: 4 3;
}

.nvd3 line.nv-guideline {
    stroke: var(--accent-violet) !important;
    stroke-opacity: 0.4;
}

/* Interactive layer crosshair hint */
.nvd3 .nv-hoverArea {
    fill-opacity: 0;
}

.nvtooltip,
.nvd3 .nvtooltip {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
    font-family: var(--font-sans) !important;
    font-size: 12px !important;
    padding: 10px 12px !important;
}

.nvtooltip strong,
.nvd3 .nvtooltip strong {
    color: var(--accent-gold) !important;
}

.nvtooltip span,
.nvd3 .nvtooltip span {
    color: var(--text-primary) !important;
}

/* D3 pie (stats blocks) — legend labels inside chart svg */
.chartHolder .legend text,
[id^="pie"] .legend text {
    fill: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 11px;
}

.chartHolder .legend rect {
    stroke: var(--border);
    stroke-width: 1px;
    rx: 2;
    ry: 2;
}

[id^="tooltip"].hidden,
#tooltip.hidden {
    opacity: 0;
    pointer-events: none;
}

div.tooltip {
    position: absolute;
    text-align: center;
    min-width: 80px;
    padding: 8px 12px;
    font: 12px var(--font-sans);
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Stats page block rows */
.boxStatsList [style*="background-color: #eee"],
.boxStatsList [style*="background-color: #eeeeee"] {
    background-color: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px;
    padding: 0.75rem !important;
}

/* —— Workers / payments / api shells —— */
#topPool {
    padding: 1rem;
}

.poolWrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.poolLabel {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem;
    color: var(--text-primary);
}

.poolMinerTable {
    overflow-x: auto;
}

.poolApi {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
}

.poolApi a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* Worker lookup inputs */
.input-lg,
.form-control {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    max-width: 100%;
}

.btn-lg,
.btn-default {
    background: var(--accent-violet);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-lg:hover,
.btn-default:hover {
    filter: brightness(1.08);
}

/* —— Getting started (static KOTO guide) —— */
.getting-started-page {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.gs-hero-tight {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.gs-section {
    margin-bottom: 1rem;
}

.gs-section:last-child {
    margin-bottom: 0;
}

.gs-h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.gs-h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.gs-h3-spaced {
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
}

.gs-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.gs-muted-inline {
    color: var(--text-muted);
}

.gs-note {
    margin-bottom: 1rem;
}

.gs-download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 36em) {
    .gs-download-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gs-download-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.15rem;
}

.gs-btn-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-violet);
    text-decoration: none;
    word-break: break-all;
}

.gs-btn-link:hover {
    color: #9b8fff;
    text-decoration: underline;
}

.gs-dl {
    margin: 0 0 0.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1.25rem;
    align-items: baseline;
}

.gs-dl dt {
    margin: 0;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gs-dl dd {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-primary);
}

.gs-mono {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--accent-gold);
}

.gs-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    margin-top: 0.25rem;
}

table.gs-endpoints {
    min-width: 100%;
}

table.gs-endpoints td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.gs-pre {
    margin: 0.5rem 0 0;
    padding: 1rem 1.15rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-primary);
    white-space: pre;
    tab-size: 4;
}

.gs-pre code {
    font-family: inherit;
    color: inherit;
}

/* —— Credits (pages/credits.html — route /credits via zny-nomp pageFiles) —— */
.credits-page {
    max-width: 800px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
}

.credits-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.credits-lead {
    color: var(--text-muted);
    margin: 0 0 2rem;
    line-height: 1.55;
}

.credits-card {
    margin-bottom: 1rem;
}

.credits-h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.credits-p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

a.credits-link {
    font-size: 0.9rem;
    color: var(--accent-violet);
    text-decoration: none;
    word-break: break-all;
}

a.credits-link:hover {
    text-decoration: underline;
    color: #9b8fff;
}

.credits-foot {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2rem;
    text-align: center;
    line-height: 1.5;
}

.credits-foot a {
    color: var(--accent-violet);
}

.hidden {
    display: none !important;
}

/* Misc */
.text-red {
    color: var(--accent-red) !important;
}

.text-green {
    color: var(--accent-green) !important;
}

.block-cell {
    max-width: 400px;
    word-break: break-all;
}

#miningKeyPage {
    margin: 1rem;
    color: var(--text-muted);
}

#keyFrame {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 100%;
    height: min(750px, 80vh);
    display: block;
    background: var(--bg-card);
}
