

.st {
    max-width: 960px;
    margin: 0 auto;
    padding: 26px 18px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-margin-top: 70px;
}

.st h1,
.st h2,
.st p {
    margin: 0;
}

.st-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 20px 22px;
}

.st-eyebrow {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim-panel);
}

.st-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.st-head h1 {
    font-size: 44px;
    font-weight: 200;
    color: var(--text-bright);
    line-height: 1.1;
    margin-top: 6px;
}

.st-sub {
    color: var(--text-dim-panel);
    font-size: 14px;
    margin-top: 6px;
}

.st-head .galaxy-pills {
    justify-content: flex-end;
    margin: 0;
}

.st-hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 22px;
    align-items: end;
}

.st-hero-main,
.st-hero-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-hero-n {
    font-size: 30px;
    font-weight: 200;
    color: var(--text-bright);
    line-height: 1;
}

.st-hero-main .st-hero-n {
    font-size: 64px;
}

.st-stat-l {
    font-size: 13px;
    color: var(--text-dim-panel);
}

.st-periods {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.st-period-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.st-seg {
    display: inline-flex;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: var(--panel-bg);
    padding: 3px;
}

.st-seg label {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

#p-24h:checked ~ .st-period-bar label[for="p-24h"],
#p-7d:checked ~ .st-period-bar label[for="p-7d"],
#p-30d:checked ~ .st-period-bar label[for="p-30d"],
#p-all:checked ~ .st-period-bar label[for="p-all"] {
    background: var(--accent);
    color: var(--accent-fg);
}

.st-radio:focus-visible ~ .st-period-bar .st-seg {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.st-period {
    display: none;
}

#p-24h:checked ~ .st-period[data-period="24h"],
#p-7d:checked ~ .st-period[data-period="7d"],
#p-30d:checked ~ .st-period[data-period="30d"],
#p-all:checked ~ .st-period[data-period="all"] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.st-chapters {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.st-chapter {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 20px 22px;
}

.st-chapter h2,
.st-hottest h2,
.st-records h2,
.st-block h2 {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-bright);
}

.st-chapter-nums {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.st-stat-n {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-bright);
    line-height: 1.1;
}

.st-chart-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.st-plot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: crosshair;
    touch-action: pan-y;
}

.st-chart {
    width: 100%;
    height: 80px;
    display: block;
}

.st-cta-body {
    color: var(--text-dim-panel);
    margin: 0 0 20px;
    font-size: 14px;
}

.st-bar {
    width: clamp(1px, 64%, 28px);
    x: calc(clamp(1px, 64%, 28px) / -2);
}

.st-bar-a {
    fill: var(--accent);
}

.st-bar-b {
    fill: var(--signal-cyan);
}

.st-col {
    fill: transparent;
}

.st-slot.on .st-col {
    fill: rgba(207, 216, 232, 0.06);
}

.st-plot.hl .st-slot:not(.on) rect:not(.st-col) {
    opacity: 0.35;
}

.st-base {
    stroke: var(--panel-border);
    stroke-width: 2;
}

.st-sw {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    margin-right: 7px;
    vertical-align: 0;
}

.st-sw-a {
    background: var(--accent);
}

.st-sw-b {
    background: var(--signal-cyan);
}

.st-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    color: var(--text-dim-panel);
}

.st-hottest,
.st-records,
.st-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-note {
    color: var(--text-dim-panel);
    font-size: 14px;
}

.st-table-wrap {
    overflow-x: auto;
}

.st-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.st-table th,
.st-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--panel-border);
}

.st-table th {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim-panel);
}

.st-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.st-hot-table {
    table-layout: fixed;
}

.st-hot-table .st-c-num {
    width: 96px;
}

.st-hot-table .st-c-held {
    width: 30%;
}

.st-hot-table td {
    vertical-align: top;
    overflow-wrap: break-word;
}

.st-records dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 22px;
}

.st-records dt {
    color: var(--text-dim-panel);
    font-size: 14px;
}

.st-records dd {
    margin: 0;
    color: var(--text);
    font-size: 14px;
}

.st a {
    color: var(--accent);
}

.st-table td a {
    text-decoration: underline dotted;
    text-underline-offset: 0.1875rem;
}

.st-activity {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 22px;
}

.st-more {
    font-size: 14px;
}

.st-top .board-name-inner {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-wrap: break-word;
}

.st-top .rank {
    width: 56px;
    color: var(--text-dim-panel);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .st-activity {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-top .rank {
        width: 28px;
    }

    .st-head {
        flex-direction: column;
    }

    .st-head .galaxy-pills {
        justify-content: flex-start;
    }

    .st-hero {
        grid-template-columns: 1fr;
    }

    .st-chapter {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .st-chapter-nums {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 24px;
    }

    .st-chapter-nums h2 {
        flex-basis: 100%;
    }

    .st-table th,
    .st-table td {
        padding: 8px 6px;
    }

    .st-hot-table {
        font-size: 13px;
    }

    .st-hot-table th {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .st-hot-table .st-c-num {
        width: 64px;
    }

    .st-hot-table .st-c-held {
        width: 28%;
    }

    .st-records dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .st-records dd {
        margin-bottom: 10px;
    }
}

.st a.pf-cta-btn {
    color: var(--accent-fg);
}

.st .pf-cta-head {
    margin: 0 0 8px;
}

.st .st-cta-body {
    margin: 0 auto 20px;
}

.gl-list {
    border-top: 1px solid var(--panel-border);
}

.gl-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 24px;
    align-items: center;
    padding: 16px 4px;
    border-bottom: 1px solid var(--panel-border);
}

.gl-id h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.gl-id h2 a {
    color: var(--text-bright);
    text-decoration: none;
    cursor: pointer;
}

.gl-meta {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-dim-panel);
}

.gl-meta b {
    color: var(--text);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.gl-acts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 13px;
}

.gl-links {
    display: flex;
    gap: 14px;
}

.gl-links a,
.gl-go {
    cursor: pointer;
}

@media (max-width: 860px) {
    .gl-row {
        grid-template-columns: 1fr;
    }

    .gl-acts {
        align-items: flex-start;
    }
}
