.page-live-overlay {
    min-height: 100vh;
    overflow: hidden;
}

.live-overlay-shell {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    padding: 24px clamp(24px, 4vw, 70px) 30px;
}

.live-overlay-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    min-height: 90px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(200, 164, 93, .2);
}

.live-overlay-header > .live-badge {
    justify-self: end;
}

.live-overlay-tournament {
    text-align: center;
}

.live-overlay-tournament h1 {
    margin: 4px 0 0;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    font-weight: 500;
}

.live-overlay-stage {
    display: grid;
    place-items: center;
    align-content: center;
    padding: 30px 0;
}

.live-overlay-round {
    margin-bottom: 25px;
    color: var(--turquoise);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.live-overlay-scoreboard {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
    gap: clamp(30px, 7vw, 110px);
    align-items: center;
    width: min(100%, 1250px);
}

.live-overlay-scoreboard article {
    display: grid;
    justify-items: center;
    text-align: center;
}

.live-overlay-avatar {
    display: grid;
    width: clamp(90px, 10vw, 145px);
    height: clamp(90px, 10vw, 145px);
    place-items: center;
    border: 1px solid rgba(240, 213, 143, .48);
    border-radius: 50%;
    color: var(--gold-light);
    background: radial-gradient(circle, rgba(200, 164, 93, .17), rgba(4, 17, 14, .68));
    box-shadow: 0 0 55px rgba(200, 164, 93, .12);
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.live-overlay-scoreboard h2 {
    min-height: 1.2em;
    margin: 22px 0 10px;
    color: #f0e7cb;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4.8vw, 5rem);
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}

.live-overlay-scoreboard article > strong {
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: clamp(5rem, 11vw, 10rem);
    font-weight: 500;
    line-height: .8;
    text-shadow: 0 0 55px rgba(200, 164, 93, .25);
}

.live-overlay-vs {
    text-align: center;
}

.live-overlay-vs span {
    color: #7e9086;
    font-size: .7rem;
    letter-spacing: .12em;
}

.live-overlay-vs em {
    display: block;
    margin: 10px 0;
    color: var(--turquoise);
    font-family: Georgia, serif;
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-style: italic;
    line-height: 1;
    text-shadow: 0 0 35px rgba(86, 210, 189, .28);
}

.live-overlay-vs i {
    display: block;
    width: 90px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.live-overlay-footer {
    display: grid;
    grid-template-columns: minmax(230px, .75fr) minmax(260px, 1fr) minmax(330px, 1.15fr);
    gap: 22px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(200, 164, 93, .2);
}

.live-overlay-next span,
.live-overlay-progress span {
    color: #71847a;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.live-overlay-next strong {
    display: block;
    margin-top: 4px;
    color: #ddd7c1;
    font-size: .88rem;
}

.live-overlay-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.live-overlay-progress b {
    color: var(--gold-light);
    font-size: .75rem;
}

.live-overlay-results {
    display: grid;
    gap: 5px;
}

.live-overlay-results article {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(200, 164, 93, .08);
}

.live-overlay-results small {
    color: #667a6f;
    font-size: .63rem;
}

.live-overlay-results strong {
    color: #bfc5b8;
    font-size: .7rem;
}

.live-overlay-empty {
    align-self: center;
    justify-self: center;
    width: min(100%, 580px);
    padding: 55px 35px;
    text-align: center;
}

.live-overlay-empty > span {
    color: var(--gold-light);
    font-size: 3rem;
}

.live-overlay-empty h2 {
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-weight: 500;
}

.live-overlay-empty p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .page-live-overlay {
        overflow: auto;
    }

    .live-overlay-header {
        grid-template-columns: 1fr auto;
    }

    .live-overlay-tournament {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .live-overlay-scoreboard {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .live-overlay-vs {
        order: 2;
    }

    .live-overlay-scoreboard article:last-child {
        order: 3;
    }

    .live-overlay-footer {
        grid-template-columns: 1fr;
    }
}

/* v0.5.0 — glass broadcast overlay */
.live-overlay-header,
.live-overlay-footer {
    padding-right: 22px;
    padding-left: 22px;
    border: 1px solid rgba(225, 196, 126, 0.2);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent),
        rgba(4, 19, 15, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 55px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.live-overlay-stage {
    position: relative;
    overflow: hidden;
    margin: 18px 0;
    border: 1px solid rgba(225, 196, 126, 0.18);
    border-radius: 34px;
    background:
        radial-gradient(circle at center, rgba(86, 210, 189, 0.09), transparent 54%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
        rgba(3, 15, 12, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 85px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px) saturate(130%);
}

.live-overlay-stage::before {
    content: "";
    position: absolute;
    inset: -60% -30%;
    background: linear-gradient(110deg, transparent 45%, rgba(255, 255, 255, 0.05) 50%, transparent 55%);
    transform: translateX(-60%);
    animation: broadcast-stage-sweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes broadcast-stage-sweep {
    0%, 58% { transform: translateX(-60%); opacity: 0; }
    70% { opacity: 1; }
    90%, 100% { transform: translateX(60%); opacity: 0; }
}

.live-overlay-avatar {
    border-radius: 32%;
    backdrop-filter: blur(10px);
}

.live-overlay-scoreboard article > strong {
    animation: live-score-glow 2.8s ease-in-out infinite;
}

@keyframes live-score-glow {
    50% { text-shadow: 0 0 70px rgba(200, 164, 93, 0.42); }
}

.live-overlay-results article {
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.018);
}

/* =========================================================
   v0.7.0 — final bracket view after tournament completion
   ========================================================= */
.live-overlay-shell.is-finished-bracket {
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.live-finished-stage {
    display: grid;
    min-height: 0;
    align-content: stretch;
    gap: 18px;
    margin-top: 18px;
    padding: 24px;
    border: 1px solid rgba(230, 198, 120, .24);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), transparent 36%),
        rgba(4, 20, 16, .56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 90px rgba(0,0,0,.34);
    backdrop-filter: blur(20px) saturate(138%);
    -webkit-backdrop-filter: blur(20px) saturate(138%);
}

.live-finished-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.live-finished-heading h2 {
    margin: 5px 0 0;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.4vw, 3.3rem);
    font-weight: 500;
}

.live-finished-champion {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 300px;
    padding: 13px 18px;
    border: 1px solid rgba(241, 213, 139, .32);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(225,187,92,.15), rgba(92,225,170,.09)), rgba(6, 28, 22, .66);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 35px rgba(218, 183, 91, .12);
}

.live-finished-champion > span {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(241,213,139,.5);
    border-radius: 16px;
    color: var(--gold-light);
    background: rgba(219,184,91,.12);
    font-size: 1.7rem;
    filter: drop-shadow(0 0 12px rgba(219,184,91,.32));
}

.live-finished-champion small,
.live-finished-champion strong {
    display: block;
}

.live-finished-champion small {
    color: #91a59a;
    font-size: .62rem;
    letter-spacing: .13em;
}

.live-finished-champion strong {
    color: #f5e8bd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 500;
}

.live-finished-bracket-scroll {
    min-height: 0;
    height: calc(100vh - 230px);
    padding-bottom: 14px;
    border-radius: 26px;
    background: rgba(1, 10, 7, .24);
}

.live-finished-bracket-board {
    min-height: 100%;
    align-items: stretch;
}

.live-finished-bracket-board .public-bracket-round > div {
    min-height: calc(100vh - 350px);
}

@media (max-width: 900px) {
    .live-overlay-shell.is-finished-bracket {
        overflow: auto;
    }

    .live-finished-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .live-finished-champion {
        min-width: 0;
    }

    .live-finished-bracket-scroll {
        height: 68vh;
    }
}


.live-overlay-class {
    min-height: 1.3em;
    margin: -4px 0 12px;
    color: var(--turquoise);
    font-size: clamp(.72rem, 1.2vw, .95rem);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* =========================================================
   v0.10.0 — round-robin table-first broadcast view
   ========================================================= */
.live-overlay-shell.is-round-robin {
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.live-league-stage {
    position: relative;
    min-height: 0;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid rgba(226, 196, 122, .2);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 25%, rgba(75, 208, 170, .08), transparent 48%),
        linear-gradient(145deg, rgba(255,255,255,.045), transparent 36%),
        rgba(3, 17, 13, .56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 85px rgba(0,0,0,.34);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.live-league-table-panel,
.live-league-duel-panel {
    position: absolute;
    inset: 0;
    padding: clamp(20px, 3vw, 38px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.2,.82,.22,1), visibility .5s ease;
}

.live-league-table-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.985);
}

.live-league-duel-panel {
    display: grid;
    place-items: center;
    align-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(22px) scale(.94);
}

.live-league-stage.is-table-active .live-league-table-panel,
.live-league-stage.is-duel-active .live-league-duel-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.live-league-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.live-league-heading h2 {
    margin: 5px 0 0;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 500;
}

.live-league-progress {
    min-width: 150px;
    padding: 11px 16px;
    border: 1px solid rgba(86,210,189,.22);
    border-radius: 16px;
    background: rgba(86,210,189,.05);
    text-align: right;
}

.live-league-progress span,
.live-league-progress strong {
    display: block;
}

.live-league-progress span {
    color: #71877c;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.live-league-progress strong {
    color: var(--turquoise);
    font-size: 1rem;
}

.live-league-table {
    min-height: 0;
    overflow: auto;
    padding-right: 5px;
}

.live-league-row {
    display: grid;
    grid-template-columns: minmax(210px, 1.4fr) minmax(130px, .8fr) 92px 92px 92px 110px;
    gap: 14px;
    align-items: center;
    min-height: 62px;
    margin-bottom: 8px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
        rgba(5, 25, 20, .48);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 24px rgba(0,0,0,.14);
}

.live-league-row-heading {
    position: sticky;
    z-index: 2;
    top: 0;
    min-height: 42px;
    margin-bottom: 10px;
    border-color: rgba(225,195,119,.18);
    background: rgba(3, 18, 14, .92);
    color: #768a7f;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.live-league-row strong {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    color: #e8e3d1;
    font-size: .94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-league-row strong i {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border: 1px solid rgba(224,192,115,.25);
    border-radius: 11px;
    color: var(--gold-light);
    background: rgba(224,192,115,.07);
    font-family: Georgia, "Times New Roman", serif;
    font-style: normal;
}

.live-league-row > span {
    color: var(--turquoise);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.live-league-row > b,
.live-league-row > em {
    text-align: center;
}

.live-league-row > b {
    color: #d5ded7;
    font-size: 1rem;
}

.live-league-row > em {
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-style: normal;
}

.live-league-row:nth-child(2) {
    border-color: rgba(229,197,119,.38);
    background: linear-gradient(135deg, rgba(225,190,100,.12), rgba(76,211,168,.07)), rgba(5,25,20,.5);
    box-shadow: 0 0 28px rgba(221,185,91,.09), inset 0 1px 0 rgba(255,255,255,.06);
}

.live-league-duel-panel .live-overlay-scoreboard {
    width: min(100%, 1240px);
}

.live-league-footer {
    min-height: 90px;
}

@media (max-width: 950px) {
    .live-overlay-shell.is-round-robin {
        overflow: auto;
    }

    .live-league-stage {
        min-height: 720px;
    }

    .live-league-row {
        grid-template-columns: minmax(170px, 1.2fr) minmax(110px, .7fr) 72px 72px 72px 85px;
    }
}

@media (max-width: 680px) {
    .live-league-stage {
        min-height: 760px;
    }

    .live-league-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .live-league-progress {
        text-align: left;
    }

    .live-league-table {
        overflow-x: auto;
    }

    .live-league-row {
        min-width: 680px;
    }
}


/* =========================================================
   v0.12.0 — configurable LIVE layouts and preview toolbar
   ========================================================= */
.live-preview-toolbar {
    position: fixed;
    z-index: 120;
    top: 14px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 28px), 760px);
    min-height: 48px;
    padding: 7px 9px 7px 16px;
    transform: translateX(-50%);
    border: 1px solid rgba(86,210,189,.36);
    border-radius: 18px;
    background: rgba(4, 20, 16, .91);
    box-shadow: 0 16px 44px rgba(0,0,0,.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.live-preview-toolbar strong {
    color: var(--turquoise);
    font-size: .68rem;
    letter-spacing: .14em;
}

.live-preview-toolbar span {
    flex: 1;
    color: #8fa096;
    font-size: .72rem;
}

.live-preview-toolbar button {
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(200,164,93,.26);
    border-radius: 11px;
    color: #ded7bc;
    background: rgba(200,164,93,.07);
    cursor: pointer;
}

.page-live-preview .live-overlay-shell {
    padding-top: 78px;
}

.live-overlay-shell.live-layout-compact {
    padding: 14px clamp(16px, 2.4vw, 40px) 18px;
}

.live-layout-compact .live-overlay-header {
    min-height: 70px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.live-layout-compact .live-overlay-stage,
.live-layout-compact .live-league-stage {
    margin: 10px 0;
}

.live-layout-compact .live-overlay-footer {
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.live-overlay-shell.live-layout-obs_clean {
    padding: 12px clamp(12px, 2vw, 30px);
}

.live-layout-obs_clean .live-overlay-header {
    min-height: 58px;
    padding-top: 7px;
    padding-bottom: 7px;
    background: rgba(4,19,15,.34);
}

.live-layout-obs_clean .live-overlay-header .brand-mark small,
.live-layout-obs_clean .live-overlay-header .section-kicker,
.live-layout-obs_clean .live-overlay-footer .live-overlay-results {
    display: none;
}

.live-layout-obs_clean .live-overlay-stage,
.live-layout-obs_clean .live-league-stage {
    margin: 8px 0;
    border-color: rgba(225,196,126,.12);
    background: rgba(3,15,12,.27);
}

.live-layout-obs_clean .live-overlay-footer {
    grid-template-columns: 1fr 1fr;
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(4,19,15,.34);
}

.live-hide-recent .live-overlay-results,
.live-hide-next .live-overlay-next {
    display: none !important;
}

.live-hide-recent .live-overlay-footer {
    grid-template-columns: minmax(230px,.8fr) minmax(280px,1.2fr);
}

.live-hide-next .live-overlay-footer {
    grid-template-columns: minmax(280px,1fr) minmax(330px,1.2fr);
}

.live-hide-recent.live-hide-next .live-overlay-footer {
    grid-template-columns: 1fr;
}

.live-motion-disabled .site-background,
.live-motion-disabled .mist-layer,
.live-motion-disabled .particle-field,
.live-motion-disabled .ambient,
.live-motion-disabled .live-overlay-stage::before {
    animation: none !important;
}

.live-motion-disabled .particle-field,
.live-motion-disabled .mist-layer {
    display: none;
}

@media (max-width: 720px) {
    .live-preview-toolbar {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .live-preview-toolbar span {
        display: none;
    }
}


/* v0.13.0 — energetic broadcast colors */
.live-overlay-stage {
    background:
        radial-gradient(circle at 50% 48%, rgba(0, 245, 212, 0.14), transparent 40%),
        radial-gradient(circle at 50% 72%, rgba(255, 184, 0, 0.1), transparent 32%),
        rgba(1, 16, 12, 0.5);
}

.live-overlay-round {
    color: var(--energy-cyan);
    text-shadow: 0 0 16px rgba(0, 245, 212, 0.5);
}

.live-overlay-avatar {
    border-color: rgba(255, 208, 69, 0.78);
    background:
        radial-gradient(circle at 34% 24%, rgba(255,255,255,0.18), transparent 28%),
        radial-gradient(circle, rgba(255, 184, 0, 0.22), rgba(0, 245, 212, 0.1) 62%, rgba(1, 17, 13, 0.78));
    box-shadow:
        0 0 28px rgba(255, 184, 0, 0.18),
        0 0 52px rgba(0, 245, 212, 0.08);
}

.live-overlay-scoreboard h2 {
    color: #fff7d0;
    text-shadow: 0 0 16px rgba(255, 184, 0, 0.16), 0 12px 30px rgba(0,0,0,.64);
}

.live-overlay-scoreboard article > strong {
    color: #ffd329;
    text-shadow:
        0 0 16px rgba(255, 211, 41, 0.48),
        0 0 52px rgba(255, 122, 0, 0.3);
}

.live-overlay-vs em {
    color: var(--energy-cyan);
    text-shadow:
        0 0 18px rgba(0, 245, 212, 0.74),
        0 0 42px rgba(41, 255, 145, 0.24);
}

.live-overlay-vs i,
.live-progress-track i {
    background: linear-gradient(90deg, var(--energy-cyan), var(--energy-green), var(--energy-gold));
    box-shadow: 0 0 16px rgba(0, 245, 212, 0.46);
}

.live-league-table-row.is-leading,
.live-league-table-row:first-child {
    border-color: rgba(255, 196, 0, 0.44);
    background: linear-gradient(90deg, rgba(255, 196, 0, 0.14), rgba(0, 245, 212, 0.08));
    box-shadow: 0 0 22px rgba(255, 184, 0, 0.08);
}

.live-finished-champion {
    border-color: rgba(255, 196, 0, 0.7);
    background:
        radial-gradient(circle at center, rgba(255, 196, 0, 0.18), transparent 48%),
        linear-gradient(145deg, rgba(0, 245, 212, 0.1), rgba(255, 122, 0, 0.08)),
        rgba(1, 21, 15, 0.82);
    box-shadow: 0 0 34px rgba(255, 184, 0, 0.16), 0 0 60px rgba(0, 245, 212, 0.08);
}


/* v0.16.0 — liga: bilans i elastyczna kolejka */
.live-league-balance.is-positive {
    color: #7ff1ad;
    text-shadow: 0 0 16px rgba(86, 225, 147, .24);
}

.live-league-balance.is-negative {
    color: #ff997d;
    text-shadow: 0 0 16px rgba(255, 117, 84, .2);
}


/* =========================================================
   v0.28.0 — premium live arena
   ========================================================= */
.live-overlay-shell {
    position: relative;
    isolation: isolate;
}

.live-premium-aura {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.live-premium-aura i {
    position: absolute;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .18;
    animation: live-premium-orbit 16s ease-in-out infinite alternate;
}

.live-premium-aura i:nth-child(1) {
    top: -18vw;
    left: -10vw;
    background: var(--theme-primary, #56d2bd);
}

.live-premium-aura i:nth-child(2) {
    right: -16vw;
    top: 8vh;
    background: var(--theme-accent, #e6c36b);
    animation-delay: -4s;
}

.live-premium-aura i:nth-child(3) {
    left: 18vw;
    bottom: -24vw;
    background: var(--theme-primary, #56d2bd);
    animation-delay: -7s;
}

.live-premium-aura i:nth-child(4) {
    right: 24vw;
    bottom: -20vw;
    background: var(--theme-accent, #e6c36b);
    animation-delay: -10s;
}

@keyframes live-premium-orbit {
    from { transform: translate3d(-2vw, -1vh, 0) scale(.9); opacity: .13; }
    to { transform: translate3d(3vw, 2vh, 0) scale(1.12); opacity: .24; }
}

.live-hype-strip {
    position: absolute;
    z-index: 12;
    top: clamp(112px, 12vh, 142px);
    left: 50%;
    display: grid;
    min-width: min(760px, calc(100% - 48px));
    transform: translateX(-50%);
    padding: 12px 22px 14px;
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 36%, transparent);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(0,0,0,.72), color-mix(in srgb, var(--theme-primary, #56d2bd) 10%, rgba(0,0,0,.62)), rgba(0,0,0,.72));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 18px 60px rgba(0,0,0,.35),
        0 0 34px color-mix(in srgb, var(--theme-accent, #e6c36b) 18%, transparent);
    text-align: center;
    backdrop-filter: blur(18px) saturate(140%);
    pointer-events: none;
}

.live-hype-strip::before,
.live-hype-strip::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-accent, #e6c36b), transparent);
    opacity: .72;
}

.live-hype-strip::before {
    left: 18px;
}

.live-hype-strip::after {
    right: 18px;
}

.live-hype-strip span {
    color: var(--theme-primary, #56d2bd);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.live-hype-strip strong {
    display: block;
    margin-top: 2px;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: clamp(1rem, 2.1vw, 1.55rem);
    font-weight: 500;
    line-height: 1.05;
    text-shadow: 0 0 22px color-mix(in srgb, var(--theme-accent, #e6c36b) 24%, transparent);
}

.live-hype-strip small {
    color: color-mix(in srgb, var(--parchment, #e9dfc0) 72%, transparent);
    font-size: .72rem;
}

.live-overlay-stage,
.live-league-stage,
.live-finished-stage {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 0 120px color-mix(in srgb, var(--theme-primary, #56d2bd) 8%, transparent),
        0 32px 100px rgba(0,0,0,.42),
        0 0 42px color-mix(in srgb, var(--theme-accent, #e6c36b) 10%, transparent);
}

.live-overlay-stage::after,
.live-league-stage::after,
.live-finished-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent 49.7%, color-mix(in srgb, var(--theme-accent, #e6c36b) 15%, transparent) 50%, transparent 50.3%),
        radial-gradient(circle at 50% 50%, transparent 0 38%, color-mix(in srgb, var(--theme-primary, #56d2bd) 8%, transparent) 39%, transparent 40%);
    mix-blend-mode: screen;
    opacity: .46;
    pointer-events: none;
}

.live-overlay-scoreboard article {
    position: relative;
    min-height: 430px;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 22%, transparent);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--theme-primary, #56d2bd) 14%, transparent), transparent 42%),
        linear-gradient(145deg, rgba(255,255,255,.04), rgba(0,0,0,.12)),
        rgba(0,0,0,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 70px rgba(0,0,0,.25);
}

.live-overlay-scoreboard article::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 26px;
    pointer-events: none;
}

.live-overlay-scoreboard article:first-child {
    transform-origin: center right;
}

.live-overlay-scoreboard article:last-child {
    transform-origin: center left;
}

.live-overlay-shell[data-live-advantage="one"] .live-overlay-scoreboard article:first-child,
.live-overlay-shell[data-live-advantage="two"] .live-overlay-scoreboard article:last-child {
    border-color: color-mix(in srgb, var(--theme-accent, #e6c36b) 55%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 26px 82px rgba(0,0,0,.34),
        0 0 42px color-mix(in srgb, var(--theme-accent, #e6c36b) 18%, transparent);
}

.live-overlay-shell[data-live-intensity="matchpoint"] .live-hype-strip {
    border-color: color-mix(in srgb, #ff6d32 64%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 18px 60px rgba(0,0,0,.4),
        0 0 54px rgba(255,109,50,.32);
    animation: live-matchpoint-pulse 1.05s ease-in-out infinite alternate;
}

@keyframes live-matchpoint-pulse {
    from { transform: translateX(-50%) scale(1); }
    to { transform: translateX(-50%) scale(1.025); }
}

.live-overlay-avatar {
    position: relative;
    overflow: visible;
    box-shadow:
        inset 0 0 40px color-mix(in srgb, var(--theme-primary, #56d2bd) 14%, transparent),
        0 0 44px color-mix(in srgb, var(--theme-accent, #e6c36b) 18%, transparent);
}

.live-overlay-avatar::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 32%, transparent);
    border-radius: inherit;
    animation: live-avatar-rune 4.8s linear infinite;
}

@keyframes live-avatar-rune {
    to { transform: rotate(360deg); }
}

.live-overlay-scoreboard article > strong {
    transition: transform .2s ease, color .2s ease, text-shadow .2s ease;
}

.live-overlay-scoreboard article > strong.is-score-pop,
[data-public-score-one].is-score-pop,
[data-public-score-two].is-score-pop {
    color: #fff3b0;
    transform: scale(1.12);
    text-shadow: 0 0 55px rgba(255,210,80,.62), 0 0 95px rgba(255,109,50,.35);
}

.live-score-burst {
    position: absolute;
    z-index: 45;
    top: 45%;
    display: grid;
    gap: 4px;
    min-width: 130px;
    padding: 12px 16px;
    border: 1px solid rgba(255,211,103,.5);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,211,103,.22), transparent 64%),
        rgba(0,0,0,.66);
    box-shadow: 0 0 42px rgba(255,211,103,.24);
    color: #fff0b5;
    text-align: center;
    opacity: 0;
    transform: translateY(18px) scale(.92);
    transition: opacity .22s ease, transform .32s cubic-bezier(.2,.85,.2,1);
    pointer-events: none;
}

.live-score-burst.is-one {
    left: 16%;
}

.live-score-burst.is-two {
    right: 16%;
}

.live-score-burst.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.live-score-burst.is-closing {
    opacity: 0;
    transform: translateY(-18px) scale(.96);
}

.live-score-burst span {
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: .9;
    text-shadow: 0 0 22px rgba(255,211,103,.42);
}

.live-score-burst small {
    color: rgba(255,245,211,.8);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.live-overlay-vs {
    position: relative;
}

.live-overlay-vs::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: clamp(120px, 15vw, 240px);
    height: clamp(120px, 15vw, 240px);
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 22%, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, color-mix(in srgb, var(--theme-primary, #56d2bd) 10%, transparent), transparent 68%);
    animation: live-vs-ring 6.2s linear infinite;
    pointer-events: none;
}

@keyframes live-vs-ring {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.live-league-row:first-child + article,
.live-league-row:not(.live-league-row-heading):first-of-type {
    border-color: color-mix(in srgb, var(--theme-accent, #e6c36b) 48%, transparent);
    box-shadow: 0 0 24px color-mix(in srgb, var(--theme-accent, #e6c36b) 12%, transparent);
}

.live-motion-disabled .live-premium-aura i,
.live-motion-disabled .live-overlay-avatar::before,
.live-motion-disabled .live-overlay-vs::before,
.live-motion-disabled .live-hype-strip {
    animation: none !important;
}

@media (max-width: 900px) {
    .live-hype-strip {
        position: relative;
        top: auto;
        left: auto;
        min-width: 0;
        margin: 12px 0;
        transform: none;
    }

    .live-hype-strip::before,
    .live-hype-strip::after {
        display: none;
    }

    .live-score-burst {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 18px) scale(.92);
    }

    .live-score-burst.is-visible {
        transform: translate(-50%, 0) scale(1);
    }

    .live-overlay-scoreboard article {
        min-height: 300px;
    }
}


/* =========================================================
   v0.43.0 — technical break overlay
   ========================================================= */
.live-break-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 70px);
    background:
        radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--theme-accent, #e6c36b) 18%, transparent), transparent 35%),
        radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--theme-primary, #56d2bd) 15%, transparent), transparent 38%),
        rgba(1, 5, 8, .72);
    backdrop-filter: blur(12px) saturate(130%);
    opacity: 0;
    transform: scale(1.015);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2,.85,.22,1);
    pointer-events: none;
}

.live-break-overlay.is-visible {
    opacity: 1;
    transform: scale(1);
}

.live-break-overlay.is-closing {
    opacity: 0;
    transform: scale(.985);
}

.live-break-card {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(920px, 100%);
    min-height: 430px;
    padding: clamp(34px, 6vw, 72px);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 42%, transparent);
    border-radius: 44px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--theme-accent, #e6c36b) 20%, transparent), transparent 45%),
        radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--theme-primary, #56d2bd) 16%, transparent), transparent 45%),
        rgba(0, 0, 0, .42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.1),
        0 38px 120px rgba(0,0,0,.52),
        0 0 70px color-mix(in srgb, var(--theme-accent, #e6c36b) 18%, transparent);
    text-align: center;
}

.live-break-card::before,
.live-break-card::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 22%, transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: live-break-rune 9s linear infinite;
}

.live-break-card::before {
    top: -170px;
    left: -110px;
}

.live-break-card::after {
    right: -120px;
    bottom: -170px;
    animation-direction: reverse;
}

@keyframes live-break-rune {
    to { transform: rotate(360deg); }
}

.live-break-card > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: clamp(92px, 11vw, 136px);
    height: clamp(92px, 11vw, 136px);
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 54%, transparent);
    border-radius: 38px;
    color: var(--gold-light);
    background: rgba(0,0,0,.28);
    box-shadow: 0 0 52px color-mix(in srgb, var(--theme-accent, #e6c36b) 24%, transparent);
    font-size: clamp(3rem, 7vw, 5rem);
    animation: live-break-icon-pulse 1.8s ease-in-out infinite alternate;
}

@keyframes live-break-icon-pulse {
    from { transform: translateY(0) scale(.98); filter: brightness(.95); }
    to { transform: translateY(-5px) scale(1.03); filter: brightness(1.18); }
}

.live-break-card small,
.live-break-card h2,
.live-break-card p,
.live-break-card em {
    position: relative;
    z-index: 1;
}

.live-break-card small {
    color: var(--theme-primary, #56d2bd);
    font-size: clamp(.72rem, 1.2vw, .92rem);
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.live-break-card h2 {
    margin: 12px 0 14px;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: clamp(3rem, 8vw, 7.2rem);
    font-weight: 500;
    line-height: .86;
    letter-spacing: -.055em;
    text-shadow: 0 0 44px color-mix(in srgb, var(--theme-accent, #e6c36b) 28%, transparent);
}

.live-break-card p {
    max-width: 680px;
    margin: 0;
    color: color-mix(in srgb, var(--parchment, #e9dfc0) 82%, transparent);
    font-size: clamp(1.05rem, 2.2vw, 1.55rem);
    line-height: 1.55;
}

.live-break-card em {
    display: inline-flex;
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid color-mix(in srgb, var(--theme-accent, #e6c36b) 28%, transparent);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(0,0,0,.22);
    font-style: normal;
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.live-break-overlay.type-waiting .live-break-card {
    border-color: color-mix(in srgb, var(--theme-primary, #56d2bd) 48%, transparent);
}

.live-break-overlay.type-final .live-break-card {
    border-color: rgba(255, 207, 95, .64);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 38px 120px rgba(0,0,0,.52),
        0 0 85px rgba(255, 207, 95, .22);
}

.live-motion-disabled .live-break-card::before,
.live-motion-disabled .live-break-card::after,
.live-motion-disabled .live-break-card > span {
    animation: none !important;
}

@media (max-width: 760px) {
    .live-break-card {
        min-height: 360px;
        border-radius: 30px;
    }

    .live-break-card h2 {
        font-size: clamp(2.4rem, 13vw, 4.3rem);
    }
}

/* Paczka #78 — Ceremonia Mistrzów */
.champion-ceremony {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: clamp(20px, 3vw, 54px);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
    isolation: isolate;
}

.champion-ceremony[hidden] {
    display: none;
}

.champion-ceremony.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.champion-ceremony-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 211, 94, 0.22), transparent 34%),
        radial-gradient(circle at 18% 74%, rgba(30, 219, 203, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(2, 7, 13, 0.98), rgba(5, 20, 28, 0.98) 55%, rgba(18, 8, 5, 0.98));
}

.champion-ceremony-backdrop::before,
.champion-ceremony-backdrop::after {
    content: "";
    position: absolute;
    inset: -25%;
    background: conic-gradient(from 90deg, transparent, rgba(255, 207, 80, 0.12), transparent 28%, rgba(37, 229, 209, 0.08), transparent 60%);
    animation: ceremony-aura-spin 22s linear infinite;
}

.champion-ceremony-backdrop::after {
    animation-direction: reverse;
    animation-duration: 31s;
    filter: blur(26px);
}

.champion-ceremony-backdrop i {
    position: absolute;
    width: 34vw;
    height: 34vw;
    min-width: 280px;
    min-height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255, 211, 94, 0.14);
    box-shadow: 0 0 90px rgba(255, 201, 55, 0.08), inset 0 0 60px rgba(39, 226, 207, 0.05);
    animation: ceremony-orbit 12s ease-in-out infinite alternate;
}

.champion-ceremony-backdrop i:nth-child(1) { left: -8vw; top: -12vw; }
.champion-ceremony-backdrop i:nth-child(2) { right: -10vw; bottom: -14vw; animation-delay: -4s; }
.champion-ceremony-backdrop i:nth-child(3) { left: 38%; top: 12%; width: 20vw; height: 20vw; animation-delay: -7s; }

.champion-ceremony-frame {
    width: min(1180px, 95vw);
    min-height: min(720px, 88vh);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 24px;
    padding: clamp(24px, 3vw, 46px);
    border: 1px solid rgba(255, 214, 105, 0.3);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(8, 18, 24, 0.92), rgba(4, 10, 15, 0.82));
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.62), inset 0 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    transform: translateY(24px) scale(0.98);
    transition: transform 0.65s cubic-bezier(.2,.8,.2,1);
}

.champion-ceremony.is-visible .champion-ceremony-frame {
    transform: translateY(0) scale(1);
}

.champion-ceremony-frame > header,
.champion-ceremony-frame > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.champion-ceremony-frame > header span {
    color: #f1c85f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.champion-ceremony-frame > header strong {
    flex: 1;
    text-align: center;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.6rem, 3vw, 3.2rem);
    letter-spacing: 0.03em;
    text-shadow: 0 0 26px rgba(255, 205, 80, 0.18);
}

.champion-ceremony-frame > header small,
.champion-ceremony-frame > footer span {
    color: rgba(230, 242, 244, 0.65);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.champion-ceremony-content {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
    overflow: hidden;
}

.champion-ceremony-progress {
    flex: 1;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.champion-ceremony-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #21d8cf, #f4c95e, #ff805d);
    box-shadow: 0 0 18px rgba(255, 203, 76, 0.42);
    transition: width 0.9s ease;
}

.ceremony-single-place,
.ceremony-champion-hero,
.ceremony-summary,
.ceremony-legend,
.ceremony-achievements {
    width: min(880px, 100%);
    display: grid;
    justify-items: center;
    gap: 24px;
    text-align: center;
    animation: ceremony-scene-enter 0.75s cubic-bezier(.2,.8,.2,1) both;
}

.ceremony-scene-copy,
.ceremony-summary p,
.ceremony-legend p {
    max-width: 720px;
    margin: 0;
    color: rgba(229, 241, 243, 0.72);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}

.ceremony-person-card {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(180px, 1fr);
    align-items: center;
    gap: 20px;
    min-width: min(520px, 90vw);
    padding: 22px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.ceremony-person-card.place-1 {
    border-color: rgba(255, 211, 93, 0.45);
    background: linear-gradient(135deg, rgba(255, 209, 80, 0.15), rgba(255, 255, 255, 0.035));
    box-shadow: 0 24px 70px rgba(255, 192, 47, 0.12), 0 20px 50px rgba(0, 0, 0, 0.38);
}

.ceremony-person-card.place-2 { border-color: rgba(201, 221, 232, 0.32); }
.ceremony-person-card.place-3 { border-color: rgba(214, 129, 64, 0.36); }

.ceremony-medal {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5d578;
    font-size: 1.4rem;
    font-weight: 900;
}

.ceremony-avatar {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 103, 0.35);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 96, 0.18), rgba(10, 24, 29, 0.92));
    color: #fff1ba;
    font-size: 2rem;
    font-weight: 900;
}

.ceremony-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceremony-person-copy {
    display: grid;
    gap: 4px;
}

.ceremony-person-copy small {
    color: #f0c962;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.ceremony-person-copy strong {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.5rem, 2.7vw, 2.55rem);
    line-height: 1;
}

.ceremony-person-copy span {
    color: rgba(230, 241, 243, 0.66);
}

.ceremony-crown {
    color: #f6cf62;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.8;
    filter: drop-shadow(0 0 28px rgba(255, 202, 63, 0.42));
    animation: ceremony-crown-float 2.8s ease-in-out infinite;
}

.ceremony-champion-hero .ceremony-person-card {
    min-width: min(650px, 92vw);
    transform: scale(1.06);
}

.ceremony-champion-meta {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.ceremony-stat-card {
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 118px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
}

.ceremony-stat-card > span {
    color: #f1cb65;
    font-size: 1.35rem;
}

.ceremony-stat-card small {
    color: rgba(225, 240, 242, 0.55);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ceremony-stat-card strong {
    color: #f7fafb;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.25;
}

.ceremony-stat-card em {
    color: rgba(224, 239, 241, 0.54);
    font-size: 0.8rem;
    font-style: normal;
}

.ceremony-podium {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 18px;
    animation: ceremony-scene-enter 0.75s cubic-bezier(.2,.8,.2,1) both;
}

.ceremony-podium .ceremony-person-card {
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.ceremony-podium .place-1 {
    min-height: 310px;
    order: 2;
    transform: translateY(-24px);
}

.ceremony-podium .place-2 { min-height: 260px; order: 1; }
.ceremony-podium .place-3 { min-height: 230px; order: 3; }

.ceremony-stats-grid {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    animation: ceremony-scene-enter 0.75s cubic-bezier(.2,.8,.2,1) both;
}

.ceremony-achievement-total {
    color: #f4cf68;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.ceremony-achievement-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ceremony-achievement-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
}

.ceremony-achievement-list article > span {
    grid-row: 1 / span 2;
    font-size: 1.7rem;
}

.ceremony-achievement-list article strong { font-size: 1rem; }
.ceremony-achievement-list article small { color: rgba(229, 241, 243, 0.58); }
.ceremony-achievement-list .rarity-legendary,
.ceremony-achievement-list .rarity-secret { border-color: rgba(245, 202, 82, 0.45); }
.ceremony-achievement-list .rarity-epic { border-color: rgba(174, 100, 255, 0.42); }

.ceremony-legend-rune,
.ceremony-summary > span {
    color: #f4cf66;
    font-size: clamp(5rem, 13vw, 10rem);
    line-height: 0.85;
    filter: drop-shadow(0 0 36px rgba(255, 201, 57, 0.42));
}

.ceremony-legend > strong,
.ceremony-summary > strong {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 0.95;
    text-shadow: 0 0 35px rgba(255, 207, 74, 0.2);
}

.ceremony-legend h3 {
    margin: 0;
    color: #f5d16e;
    font-size: clamp(1.3rem, 3vw, 2.6rem);
    letter-spacing: 0.16em;
}

.ceremony-summary > small {
    color: #f0ca65;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.champion-ceremony.is-reduced-motion *,
.live-motion-disabled .champion-ceremony * {
    animation: none !important;
    transition-duration: 0.15s !important;
}

@keyframes ceremony-scene-enter {
    from { opacity: 0; transform: translateY(22px) scale(0.97); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes ceremony-crown-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes ceremony-aura-spin {
    to { transform: rotate(360deg); }
}

@keyframes ceremony-orbit {
    from { transform: translate3d(-8px, -5px, 0) scale(0.94); opacity: 0.42; }
    to { transform: translate3d(14px, 10px, 0) scale(1.06); opacity: 0.82; }
}

@media (max-width: 900px) {
    .champion-ceremony-frame {
        min-height: 84vh;
        overflow-y: auto;
    }

    .champion-ceremony-frame > header {
        display: grid;
        text-align: center;
    }

    .champion-ceremony-frame > header strong { order: -1; }
    .ceremony-podium,
    .ceremony-stats-grid,
    .ceremony-achievement-list { grid-template-columns: 1fr; }
    .ceremony-podium .ceremony-person-card { min-height: 0; transform: none; order: initial; }
    .ceremony-champion-meta { grid-template-columns: 1fr; }
    .ceremony-person-card { min-width: 0; width: 100%; }
}

@media (max-width: 580px) {
    .champion-ceremony { padding: 10px; }
    .champion-ceremony-frame { padding: 20px 14px; border-radius: 20px; }
    .champion-ceremony-content { min-height: 390px; }
    .ceremony-person-card { grid-template-columns: auto 1fr; padding: 17px; }
    .ceremony-person-copy { grid-column: 1 / -1; text-align: center; }
    .ceremony-avatar { width: 64px; height: 64px; }
}
