.fame-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.fame-page > #site-footer { margin-top: auto; }
.fame-hero { padding-bottom: 16px; }
.fame-hero .hero__brand { align-items: center; }
.fame-hero .hero__text { margin: 0; color: var(--muted); line-height: 1.65; }
.fame-content { width: 100%; min-width: 0; padding-inline: 16px; }
.fame-carousel [hidden] { display: none; }

.fame-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: end;
    overflow: clip;
    max-width: 1900px;
    margin-inline: auto;
    perspective: 1400px;
    touch-action: pan-y pinch-zoom;
}

.fame-stage:focus-visible, .fame-controls button:focus-visible {
    outline: 2px solid #d7b9ee;
    outline-offset: 3px;
}

.fame-platform {
    position: relative;
    padding: 30px 0 26px;
}

.fame-stage .fame-platform {
    grid-area: 1 / 1;
    width: min(36%, 610px);
    transform: translateX(0) translateZ(0) rotateY(0) scale(1);
    transform-origin: center 72%;
    filter: blur(0);
    z-index: 2;
}

.fame-stage.is-ready .fame-platform {
    transition: transform .82s cubic-bezier(.22,.61,.36,1), opacity .62s ease, filter .62s ease;
}

.fame-stage .is-before,
.fame-stage .is-after {
    z-index: 1;
    opacity: .5;
    filter: blur(1.8px);
    cursor: pointer;
    user-select: none;
    transform: translateX(var(--fame-shift)) translateZ(-52px) rotateY(var(--fame-turn)) scale(.72);
}

.fame-stage .is-before { --fame-shift: -96%; --fame-turn: 22deg; }
.fame-stage .is-after { --fame-shift: 96%; --fame-turn: -22deg; }
.fame-stage .is-distant {
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(var(--fame-shift) * 1.5)) translateZ(-125px) rotateY(var(--fame-turn)) scale(.62);
}
.fame-stage.is-ready .is-jumping { transition: none; }

.fame-podium {
    max-width: 610px;
    min-height: 260px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    text-align: center;
}

.fame-event > .fame-platform .fame-podium { width: min(91%, 610px); }
.fame-podium--2 { grid-template-columns: repeat(2, minmax(0, 176px)); justify-content: center; }
.fame-podium--1 { grid-template-columns: minmax(0, 200px); justify-content: center; }

.fame-podium li {
    --step-height: 120px;
    --step-light: #a7824d;
    --step-front: #44301e;
    --step-edge: #dbb478;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-self: end;
    gap: 10px;
    min-width: 0;
}

.fame-podium--3 li:first-child { grid-column: 2; grid-row: 1; }
.fame-podium--3 li:nth-child(2) { grid-column: 1; grid-row: 1; }
.fame-podium--3 li:nth-child(3) { grid-column: 3; grid-row: 1; }

.fame-podium li:nth-child(2) {
    --step-height: 86px;
    --step-light: #8f889d;
    --step-front: #353040;
    --step-edge: #c0b6cd;
}

.fame-podium li:nth-child(3) {
    --step-height: 65px;
    --step-light: #92624e;
    --step-front: #442b26;
    --step-edge: #c98b70;
}

.fame-step {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: var(--step-height);
    margin-top: 9px;
    background: linear-gradient(125deg, var(--step-front), #1a131c);
    border: 1px solid var(--step-light);
    border-top-color: var(--step-edge);
    border-radius: 2px 2px 8px 8px;
    box-shadow: inset 0 0 0 5px #19141b66, 0 14px 17px -12px #000;
}

.fame-step::before {
    content: "";
    position: absolute;
    inset: -10px 0 auto;
    height: 9px;
    background: linear-gradient(90deg, var(--step-front), var(--step-light), var(--step-front));
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.fame-step > span {
    width: 17px;
    aspect-ratio: 1;
    transform: rotate(45deg);
    border: 1px solid var(--step-edge);
    box-shadow: 0 0 14px #ecc79033;
}

.fame-avatar {
    display: block;
    width: min(100%, 94px);
    height: auto;
    aspect-ratio: 1;
    border: 2px solid var(--step-edge, #a484ba);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 25px #0006;
    background: radial-gradient(circle at 35% 25%, #533968, #24182e);
}

.fame-portrait {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 116px);
    aspect-ratio: 1;
}
.fame-podium li:first-child .fame-portrait { width: min(100%, 130px); }
.fame-portrait .fame-avatar { width: 81%; }
.fame-laurel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--step-edge);
    filter: drop-shadow(0 1px 1px #0008);
    pointer-events: none;
}
.fame-podium-vacant .fame-laurel { opacity: .7; }
.fame-avatar--initial { display: grid; place-items: center; font-size: 30px; color: #f3e6ff; }
.fame-person { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.fame-person strong { font-size: clamp(14px, 2vw, 21px); color: #f4edf7; }
.fame-person > span { color: #ead198; line-height: 1.35; }
.fame-podium-vacant .fame-avatar { opacity: .65; border-style: dashed; }
.fame-podium-vacant .fame-person > span { color: var(--muted); }

.fame-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px 4px;
}

.fame-controls .carousel-btn { width: 46px; height: 46px; flex: 0 0 auto; }
.fame-dots { display: flex; align-items: center; gap: 1px; max-width: 70%; overflow: auto; }
.fame-dots button {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}
.fame-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #796c86; }
.fame-dots button[aria-current="true"]::before { width: 18px; border-radius: 8px; background: #d7b9ee; }
.fame-dots button:focus-visible { outline-offset: -3px; }
.fame-sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; overflow: hidden; }

.fame-event,
.fame-empty {
    max-width: 900px;
    margin: 0 auto 24px;
    text-align: center;
    overflow-wrap: anywhere;
}

.fame-event > .fame-platform { margin-bottom: 20px; }

.fame-stage.is-ready ~ .fame-event:not([hidden]) { animation: fame-caption-in .48s ease both; }
@keyframes fame-caption-in {
    from { opacity: .25; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.fame-empty { background: #0e0b12; border: 1px solid #32273d; border-radius: 12px; padding: 24px; color: var(--muted); }
.fame-event__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 15px; color: var(--muted); }
.fame-event__category { color: #d8baf2; }
.fame-event__provisional { color: #e4c99d; }
.fame-event__meta time { font-variant-numeric: tabular-nums; }
.fame-event h2 { font-size: clamp(23px, 3vw, 35px); line-height: 1.2; margin: 8px 0 0; }
.fame-event__description { margin: 10px 0 0; color: var(--muted); line-height: 1.65; white-space: pre-wrap; }
.fame-event__status { color: #e4c99d; margin: 12px 0 0; }
.fame-clip-links {
    width: fit-content;
    max-width: 100%;
    text-align: left;
    margin: 18px auto 0;
    padding-inline-start: 24px;
}
.fame-clip-links li { padding: 4px 0; }
.fame-clip-links a { color: #dfc7f4; text-decoration: underline; text-underline-offset: .18em; }
.fame-clip-links span { color: var(--muted); margin-inline-start: 8px; }
.fame-people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}
.fame-people li { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #302737; border-radius: 8px; background: #17111d; }
.fame-people .fame-avatar { width: 44px; flex: 0 0 44px; font-size: 20px; }

@media (max-width: 720px) {
    .fame-hero .hero__brand { flex-direction: row; gap: 12px; }
    .fame-hero .hero__logo { height: 78px; max-width: 25%; }
    .fame-hero { padding-top: 38px; padding-bottom: 14px; }
    .fame-stage .fame-platform { width: min(100%, 460px); }
    .fame-stage :is(.is-before, .is-after) { opacity: 0; pointer-events: none; }
    .fame-platform { padding: 22px 0; }
    .fame-podium { min-height: 205px; gap: 4px; }
    .fame-podium li { --step-height: 88px; gap: 7px; }
    .fame-podium li:nth-child(2) { --step-height: 66px; }
    .fame-podium li:nth-child(3) { --step-height: 48px; }
    .fame-podium li:first-child .fame-portrait { width: min(100%, 89px); }
    .fame-portrait { width: min(100%, 68px); }
    .fame-podium .fame-avatar { font-size: 23px; }
    .fame-person > span { font-size: 13px; }
    .fame-controls { gap: 7px; }
}

