/* ==========================================================================
   HOTL1ST.com - /top statistics
   Self-contained styles: no Tailwind rebuild required.
   ========================================================================== */

#mainContent.topMode {
    background:
        radial-gradient(900px 520px at 8% -8%, rgba(255, 77, 141, .22), transparent 62%),
        radial-gradient(820px 520px at 102% 0%, rgba(34, 211, 238, .16), transparent 58%),
        radial-gradient(700px 420px at 50% 110%, rgba(168, 85, 247, .16), transparent 60%),
        linear-gradient(180deg, #1a0b2b 0%, #140a20 46%, #0d0715 100%);
    color: #f7f2ff;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    #mainContent.topMode {
        border-radius: 30px;
        margin-top: 1rem;
        box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    }
}

.top-shell {
    --ink: #f7f2ff;
    --muted: #bda9d6;
    --line: rgba(255, 255, 255, .10);
    --card: rgba(255, 255, 255, .055);
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 14px 56px;
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.top-shell *,
.top-shell *::before,
.top-shell *::after {
    box-sizing: border-box;
}

/* Neutralise the legacy global heading styles inside the stats canvas. */
.top-shell h1,
.top-shell h2,
.top-shell h3 {
    width: auto;
    margin: 0;
    background: none;
    background-image: none;
    color: inherit;
    -webkit-text-stroke: 0;
    text-shadow: none;
    text-align: left;
    font-weight: 800;
    line-height: 1.1;
    font-size: inherit;
}

.top-shell p {
    margin: 0;
}

.top-shell a {
    -webkit-tap-highlight-color: transparent;
}

.top-shell a:focus-visible {
    outline: 2px solid #ffd166;
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs + hero
   -------------------------------------------------------------------------- */
.top-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 6px 2px 2px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--muted);
}

.top-crumbs a {
    color: #e9dcff;
    text-decoration: none;
}

.top-crumbs a:hover {
    color: #fff;
}

.top-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 2px 4px;
}

.top-hero-copy {
    min-width: 0;
}

.top-kicker,
.top-eyebrow {
    display: block;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d8b4fe;
    margin-bottom: 7px;
}

.top-shell .top-title {
    font-size: clamp(2rem, 8.2vw, 4.35rem);
    font-weight: 900 !important;
    line-height: .96 !important;
    letter-spacing: -.035em;
    margin: 0 0 10px !important;
    max-width: 15ch;
}

.top-title em {
    font-style: normal;
    background: linear-gradient(100deg, #ff4d8d 0%, #a78bfa 52%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.top-lede {
    max-width: 58ch;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--muted);
}

.top-hero-orb {
    flex: none;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, .2), transparent 55%),
        linear-gradient(155deg, #ff4d8d, #7c3aed 60%, #111827);
    box-shadow: 0 14px 34px rgba(255, 77, 141, .26), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.top-hero-orb span {
    font-size: .45rem;
    font-weight: 900;
    letter-spacing: .14em;
    opacity: .8;
}

.top-hero-orb b {
    font-size: 1.18rem;
    line-height: 1;
    letter-spacing: -.03em;
    margin: 2px 0;
}

.top-hero-orb i {
    font-style: normal;
    font-size: .43rem;
    line-height: 1.15;
    opacity: .78;
    max-width: 70px;
}

/* --------------------------------------------------------------------------
   Period switch
   -------------------------------------------------------------------------- */
.top-periodbar {
    margin: 16px 0 4px;
}

.top-periods {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    scrollbar-width: none;
}

.top-periods::-webkit-scrollbar {
    display: none;
}

.top-periods a {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 8px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.top-periods a:hover {
    color: #fff;
}

.top-periods a.is-active {
    background: linear-gradient(120deg, #ff4d8d, #a855f7);
    color: #fff;
    box-shadow: 0 8px 22px rgba(168, 85, 247, .38);
}

.period-short {
    display: inline;
}

.period-full {
    display: none;
}

.top-period-note {
    margin: 7px 2px 0 !important;
    font-size: .62rem;
    color: #9f8bb8;
}

/* --------------------------------------------------------------------------
   Sections + cards
   -------------------------------------------------------------------------- */
.top-section {
    margin-top: 24px;
}

.top-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.top-h2 {
    font-size: clamp(1.3rem, 4.6vw, 1.95rem) !important;
    letter-spacing: -.025em;
    margin-bottom: 5px !important;
}

.top-sub {
    font-size: .78rem;
    line-height: 1.45;
    color: var(--muted);
    max-width: 66ch;
}

.top-link {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 800;
    color: #ffd166;
    text-decoration: none;
    white-space: nowrap;
}

.top-link:hover {
    color: #fff;
}

.top-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .024));
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.top-card-pad {
    padding: 15px;
}

.top-podium-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 240px at 50% -10%, rgba(255, 77, 141, .17), transparent 70%),
        linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .024));
}

.top-split {
    display: grid;
    gap: 14px;
}

.top-note {
    margin-top: 10px !important;
    font-size: .61rem;
    line-height: 1.4;
    color: #9f8bb8;
}

.top-mini-head {
    margin-bottom: 8px;
}

.top-mini-head h3 {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
}

.top-mini-head p {
    font-size: .7rem;
    line-height: 1.4;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Podium
   -------------------------------------------------------------------------- */
.podium {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 10px 0 0;
    margin: 0 0 2px;
}

.podium-slot {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.podium-slot.first .podium-person {
    transform: translateY(-5px);
}

.podium-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 2px 9px;
    text-align: center;
    min-width: 0;
}

.podium-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(145deg, #cbd5e1, rgba(255, 255, 255, .1));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
}

.podium-slot.first .podium-avatar {
    width: 76px;
    height: 76px;
    background: linear-gradient(145deg, #ffe17d, #f59e0b);
}

.podium-slot.third .podium-avatar {
    background: linear-gradient(145deg, #f0a36b, #7c2d12);
}

.podium-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #1b1029;
}

.podium-avatar > span:not(.podium-rank) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #241333;
    color: #8f7aa8;
    font-weight: 900;
}

.podium-rank {
    position: absolute;
    right: -3px;
    bottom: -2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 900;
    color: #1a0b2b;
    background: linear-gradient(145deg, #f1f5f9, #94a3b8);
    border: 2px solid #180d26;
}

.podium-slot.first .podium-rank {
    background: linear-gradient(145deg, #ffe17d, #f59e0b);
}

.podium-slot.third .podium-rank {
    background: linear-gradient(145deg, #f0a36b, #b45309);
    color: #fff;
}

.podium-name {
    width: 100%;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podium-pct {
    font-size: .66rem;
    font-weight: 900;
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

.podium-block {
    position: relative;
    height: 54px;
    border-radius: 11px 11px 4px 4px;
    background: linear-gradient(180deg, #cbd5e1, #334155);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
    overflow: hidden;
}

.podium-slot.first .podium-block {
    height: 98px;
    background: linear-gradient(180deg, #ffe17d, #8a5a12);
}

.podium-slot.second .podium-block {
    height: 74px;
}

.podium-slot.third .podium-block {
    height: 58px;
    background: linear-gradient(180deg, #f0a36b, #5c3320);
}

.podium-block span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 900;
    color: rgba(23, 10, 35, .34);
    letter-spacing: -.05em;
}

.podium-person.is-empty {
    opacity: .38;
}

.podium-person.is-empty .podium-pct {
    color: #9f8bb8;
}

/* --------------------------------------------------------------------------
   Category crowns
   -------------------------------------------------------------------------- */
.crown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.crown {
    position: relative;
    overflow: hidden;
    padding: 13px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, .068), rgba(255, 255, 255, .02));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.crown::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .13;
    filter: blur(38px);
    pointer-events: none;
}

.crown-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.crown-head h3 {
    font-size: 1.18rem !important;
    letter-spacing: -.02em;
}

.crown-head a {
    flex: none;
    font-size: .62rem;
    font-weight: 800;
    color: var(--accent2);
    text-decoration: none;
    padding-top: 4px;
}

.crown-head a:hover {
    color: #fff;
}

.crown .podium-avatar {
    width: 54px;
    height: 54px;
}

.crown .podium-slot.first .podium-avatar {
    width: 66px;
    height: 66px;
}

.crown .podium-slot.first .podium-block {
    height: 84px;
}

.crown .podium-slot.second .podium-block {
    height: 64px;
}

.crown .podium-slot.third .podium-block {
    height: 50px;
}

.crown .podium-name {
    font-size: .62rem;
}

.crown-note {
    margin-top: 4px !important;
    font-size: .6rem;
    color: #9f8bb8;
}

/* --------------------------------------------------------------------------
   Top 25
   -------------------------------------------------------------------------- */
.top-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.top-row {
    display: grid;
    grid-template-columns: 24px 42px minmax(0, 1fr) 48px;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.top-row:last-child {
    border-bottom: 0;
}

.top-rank {
    font-size: .68rem;
    font-weight: 900;
    color: #8f7aa8;
    font-variant-numeric: tabular-nums;
}

.top-row:nth-child(1) .top-rank {
    color: #ffd166;
}

.top-row:nth-child(2) .top-rank {
    color: #cbd5e1;
}

.top-row:nth-child(3) .top-rank {
    color: #f0a36b;
}

.top-thumb {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    object-fit: cover;
    background: #1b1029;
    border: 1px solid rgba(255, 255, 255, .12);
}

.top-main {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.top-name {
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-sub {
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a995c2;
}

.top-bar {
    display: block;
    height: 4px;
    margin-top: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.top-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #ff4d8d, #a78bfa);
}

.top-pct {
    font-size: .7rem;
    font-weight: 900;
    text-align: right;
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Leagues
   -------------------------------------------------------------------------- */
.league-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.league-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    background: rgba(255, 255, 255, .032);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.league-row:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
}

.league-row.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 10px 28px rgba(0, 0, 0, .2);
}

.league-name {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.league-parent {
    flex: none;
    font-size: .5rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

.league-label {
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-pct {
    font-size: .76rem;
    font-weight: 900;
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

.league-track {
    grid-column: 1 / -1;
    display: block;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .075);
    overflow: hidden;
}

.league-track i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .78));
}

.league-note {
    grid-column: 1 / -1;
    font-size: .57rem;
    color: #9f8bb8;
}

/* --------------------------------------------------------------------------
   Donut + legend
   -------------------------------------------------------------------------- */
.mix-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}

.donut {
    position: relative;
    flex: none;
    width: 158px;
    height: 158px;
    border-radius: 50%;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
}

.donut-hole {
    position: absolute;
    inset: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: #180d26;
    border: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
}

.donut-hole b {
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -.03em;
}

.donut-hole span {
    margin-top: 3px;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 170px;
    flex: 1 1 170px;
}

.legend-row {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
}

.legend-row i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-row span {
    color: #dccfec;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.legend-row b {
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Gauges
   -------------------------------------------------------------------------- */
.gauge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 9px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 17px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    text-align: center;
}

.gauge-ring {
    flex: none;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(from -90deg, var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, .075) 0);
}

.gauge-hole {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #180d26;
}

.gauge-hole b {
    font-size: .86rem;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.gauge-hole span {
    margin-top: 2px;
    font-size: .43rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9f8bb8;
    max-width: 54px;
    line-height: 1.1;
}

.gauge-copy h3 {
    font-size: .7rem !important;
    margin-bottom: 2px !important;
}

.gauge-copy p {
    font-size: .58rem;
    line-height: 1.35;
    color: var(--muted);
}

.gauge-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.gauge-stack .gauge {
    flex-direction: row;
    text-align: left;
    padding: 10px;
    gap: 11px;
}

.gauge-stack .gauge-ring {
    width: 72px;
    height: 72px;
}

.gauge-stack .gauge-hole {
    width: 54px;
    height: 54px;
}

.gauge-stack .gauge-hole b {
    font-size: .72rem;
}

/* --------------------------------------------------------------------------
   Rhythms + years
   -------------------------------------------------------------------------- */
.rhythm {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    height: 146px;
    align-items: end;
    margin-top: 6px;
}

.rhythm-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    height: 100%;
    min-width: 0;
}

.rhythm-val {
    font-size: .45rem;
    font-weight: 800;
    color: #cbb8e0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rhythm-bar-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 0;
}

.rhythm-bar {
    display: block;
    width: 100%;
    max-width: 28px;
    min-height: 3px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, var(--accent), rgba(34, 211, 238, .14));
    box-shadow: 0 0 16px rgba(34, 211, 238, .16);
}

.rhythm-day {
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #a995c2;
}

.year-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 10px;
}

.year-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 9px;
}

.year-label {
    font-size: .7rem;
    font-weight: 900;
    color: #dccfec;
    font-variant-numeric: tabular-nums;
}

.year-track {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.year-track i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .7));
}

.year-row b {
    font-size: .66rem;
    text-align: right;
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Photo finishes
   -------------------------------------------------------------------------- */
.duel-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 6px;
}

.duel {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
}

.duel-title {
    display: block;
    margin-bottom: 6px;
    font-size: .68rem;
    font-weight: 800;
    color: #e9dcff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.duel-title:hover {
    color: #fff;
}

.duel-sides {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.duel-side {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    flex: 1 1 0;
}

.duel-side.is-right {
    justify-content: flex-end;
    text-align: right;
}

.duel-side img {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #1b1029;
}

.duel-name {
    max-width: 84px;
    font-size: .58rem;
    line-height: 1.15;
    color: #dccfec;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.duel-side b {
    flex: none;
    font-size: .62rem;
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

.duel-track {
    display: flex;
    height: 6px;
    margin-top: 7px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.duel-track i:first-child {
    background: linear-gradient(90deg, #ff4d8d, #a855f7);
}

.duel-track i:last-child {
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

/* --------------------------------------------------------------------------
   Last signals
   -------------------------------------------------------------------------- */
.signal-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.signal-big {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.04em;
    color: #ffd166;
    font-variant-numeric: tabular-nums;
}

.signal-copy {
    font-size: .68rem;
    line-height: 1.3;
    color: var(--muted);
}

.signal-person {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.signal-person:last-of-type {
    border-bottom: 0;
}

.signal-person img {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #1b1029;
}

.signal-person b {
    display: block;
    font-size: .76rem;
    line-height: 1.2;
}

.signal-person p {
    margin-top: 2px !important;
    font-size: .62rem;
    color: var(--muted);
}

.signal-person .top-eyebrow {
    margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Chips, buttons, empty + quiet states
   -------------------------------------------------------------------------- */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.chip {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: #e7dcf5;
    font-size: .68rem;
    font-weight: 800;
    text-decoration: none;
}

.chip:hover {
    background: rgba(255, 255, 255, .08);
}

.chip.is-active {
    border-color: transparent;
    background: linear-gradient(120deg, #ff4d8d, #a855f7);
    color: #fff;
}

.top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff4d8d, #a855f7);
    color: #fff !important;
    font-size: .75rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(168, 85, 247, .32);
}

.top-empty {
    margin-top: 8px;
    padding: 18px 12px;
    border: 1px dashed rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.4;
    text-align: center;
}

.top-empty.compact {
    padding: 24px 8px;
    font-size: .64rem;
}

.quiet {
    margin: 18px 0 4px;
    padding: 26px 17px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    background:
        radial-gradient(520px 220px at 20% 0%, rgba(255, 77, 141, .18), transparent 70%),
        radial-gradient(420px 200px at 100% 100%, rgba(34, 211, 238, .13), transparent 70%),
        linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    text-align: center;
}

.quiet-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .2em;
    color: #ffd166;
}

.quiet h2 {
    font-size: clamp(1.4rem, 6vw, 2.1rem) !important;
    text-align: center !important;
    margin-bottom: 7px !important;
}

.quiet p {
    max-width: 52ch;
    margin: 0 auto !important;
    font-size: .76rem;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
    .top-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .top-card-pad {
        padding: 18px;
    }

    .podium-avatar {
        width: 68px;
        height: 68px;
    }

    .podium-slot.first .podium-avatar {
        width: 84px;
        height: 84px;
    }

    .podium-name {
        font-size: .74rem;
    }

    .top-name {
        font-size: .84rem;
    }

    .duel-name {
        max-width: 110px;
    }
}

@media (min-width: 640px) {
    .top-shell .top-title {
        font-size: clamp(2.4rem, 7vw, 3.6rem);
    }

    .top-periods a {
        padding: 9px 13px;
        font-size: .72rem;
    }

    .period-short {
        display: none;
    }

    .period-full {
        display: inline;
    }

    .top-lede {
        font-size: .88rem;
    }

    .gauge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .crown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .top-row {
        grid-template-columns: 28px 46px minmax(0, 1fr) 56px;
        gap: 11px;
        padding: 9px 0;
    }

    .top-thumb {
        width: 46px;
        height: 46px;
    }
}

@media (min-width: 900px) {
    .top-shell {
        padding-top: 26px;
        padding-bottom: 70px;
    }

    .top-split {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
        align-items: start;
    }

    .top-card-pad {
        padding: 20px;
    }

    .top-hero {
        align-items: center;
    }

    .top-hero-orb {
        width: 102px;
        height: 102px;
    }

    .top-hero-orb b {
        font-size: 1.35rem;
    }

    .podium-avatar {
        width: 78px;
        height: 78px;
    }

    .podium-slot.first .podium-avatar {
        width: 98px;
        height: 98px;
    }

    .podium-slot.first .podium-block {
        height: 122px;
    }

    .podium-slot.second .podium-block {
        height: 92px;
    }

    .podium-slot.third .podium-block {
        height: 72px;
    }

    .podium-name {
        font-size: .78rem;
    }

    .podium-pct {
        font-size: .74rem;
    }

    .crown .podium-slot.first .podium-avatar {
        width: 76px;
        height: 76px;
    }

    .crown .podium-slot.first .podium-block {
        height: 96px;
    }

    .crown .podium-slot.second .podium-block {
        height: 74px;
    }

    .crown .podium-slot.third .podium-block {
        height: 58px;
    }

    .rhythm {
        height: 170px;
    }

    .gauge {
        padding: 14px 11px;
    }
}

@media (min-width: 1100px) {
    .top-shell .top-title {
        font-size: 4.1rem;
    }

    .mix-wrap {
        flex-wrap: nowrap;
    }

    .top-shell {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 420px) {
    .top-hero-orb {
        width: 66px;
        height: 66px;
        padding: 6px;
    }

    .top-hero-orb b {
        font-size: .9rem;
    }

    .top-hero-orb i {
        font-size: .38rem;
    }

    .top-shell .top-title {
        font-size: 1.92rem;
    }

    .podium-avatar {
        width: 54px;
        height: 54px;
    }

    .podium-slot.first .podium-avatar {
        width: 66px;
        height: 66px;
    }

    .podium-name {
        font-size: .61rem;
    }

    .podium-pct {
        font-size: .6rem;
    }

    .podium-block {
        height: 48px;
    }

    .podium-slot.first .podium-block {
        height: 84px;
    }

    .podium-slot.second .podium-block {
        height: 64px;
    }

    .podium-slot.third .podium-block {
        height: 52px;
    }

    .top-row {
        grid-template-columns: 22px 38px minmax(0, 1fr) 44px;
        gap: 8px;
    }

    .top-thumb {
        width: 38px;
        height: 38px;
    }

    .duel-name {
        max-width: 70px;
    }

    .gauge-ring {
        width: 78px;
        height: 78px;
    }

    .gauge-hole {
        width: 58px;
        height: 58px;
    }
}
