/* Spiel-Fenster im Profil als dunkle Lichtbühne (Flag games_hub_covers, docs/game-covers/design_handoff_games_covers Teil E).
   Baut auf games-hub-covers.css auf (Bühne, Glas, Trennbalken, dunkles Podest). Geladen über widgets/games/_assets. */

.zc-gs { position: relative; isolation: isolate; color: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    margin: -4px -16px -20px; padding: 0 16px 20px; background: #0B0C12; overflow: hidden; }
.zc-gs *, .zc-gs *::before, .zc-gs *::after { box-sizing: border-box; }
:where(.zc-gs) a { color: inherit; text-decoration: none; }
:where(.zc-gs) ol { list-style: none; margin: 0; padding: 0; }
/* Außerhalb des dunklen Fensters (volle Karte im Raster): eigene abgerundete Fläche */
:not(.zc-cwin__body) > .zc-gs { margin: 0; border-radius: 24px; padding-top: 20px; }

.zc-gs__stage.zc-hc-stage { height: 460px; z-index: -1; }
.zc-gs__stage .zc-hc-stage__cover { inset: -12%; filter: blur(36px) saturate(1.5); opacity: .75; animation-duration: 26s; }
.zc-gs__stage .zc-hc-stage__veil--a { left: -25%; top: -15%; width: 80%; height: 70%; }
.zc-gs__stage .zc-hc-stage__veil--b { right: -30%; top: 5%; width: 85%; height: 70%; }
.zc-gs__stage .zc-hc-stage__shade { background: linear-gradient(180deg, rgba(11,12,18,.35) 0%, rgba(11,12,18,.55) 40%, rgba(11,12,18,.9) 72%, #0B0C12 92%); }

.zc-gs__content { position: relative; display: flex; flex-direction: column; gap: 18px; }

.zc-gs-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 6px; text-align: center; }
.zc-gs-cover { position: relative; width: 160px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #111827; transition: transform 600ms cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 70px -24px color-mix(in srgb, var(--hc-light) 70%, transparent), 0 20px 40px -20px rgba(0,0,0,.85); }
.zc-gs-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .zc-gs-cover { width: 176px; } }

.zc-gs-pill { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 9999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 12px; font-weight: 600; }
.zc-gs-pill .zc-hc-sep { background: rgba(255,255,255,.25); }
.zc-gs-pill__title { color: #9CA3AF; }
.zc-gs-pill__label { color: #E5E7EB; }
.zc-gs-rule { margin: 0; max-width: 32ch; font-size: 14px; line-height: 21px; color: #E5E7EB; text-wrap: balance; }
.zc-gs-record { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; line-height: 18px; color: #D1D5DB; }
.zc-gs-record i { font-size: 11px; color: #FDE047; }
.zc-gs-record p { margin: 0; font-variant-numeric: tabular-nums; }
.zc-gs-record:has(> [data-zc-game-record][hidden]) { display: none; }

.zc-gs-extra { border-radius: 20px; padding: 14px 16px; background: #fff; color: #111827; }

.zc-gs-board { border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.zc-gs-board__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px 0; }
.zc-gs .zc-gs-board__title { margin: 0; font: 700 16px/24px Poppins, Inter, sans-serif; color: #fff; }
.zc-gs-board__slug { flex: 0 1 auto; max-width: 45%; font-size: 12px; font-weight: 600; color: #9CA3AF; padding-top: 3px; }
.zc-gs-board__empty { margin: 0; padding: 14px 16px 18px; text-align: center; font-size: 14px; line-height: 20px; color: #E5E7EB; }

/* Podest kompakt */
.zc-gs .zc-hc-podium { padding: 26px 12px 0; gap: 8px; background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--hc-light) 20%, transparent) 0%, transparent 70%); }
.zc-gs .zc-hc-podium > li { gap: 8px; }
.zc-gs .zc-hc-cone { top: -26px; height: calc(100% + 26px); }
.zc-gs .zc-medal--lg { --size: 34px; }
.zc-gs .zc-medal--lg[data-rank="1"] { --size: 40px; }
.zc-gs .zc-hc-medal-num .zc-medal__coin { font: 800 calc(var(--size) * .4)/1 Poppins, Inter, sans-serif; }
.zc-gs .zc-hub-podium__name { font-size: 12px; line-height: 16px; }
.zc-gs .zc-hub-podium__score, .zc-gs .zc-hc-podium > li[data-pos="1"] .zc-hub-podium__score { font-size: 12px; line-height: 16px; }
.zc-gs .zc-hc-podium .zc-hub-step { height: 30px; padding-top: 6px; font-size: 15px; border-radius: 10px 10px 0 0; }
.zc-gs .zc-hc-podium > li[data-pos="1"] .zc-hub-step { height: 54px; font-size: 18px; }
.zc-gs .zc-hc-podium > li[data-pos="2"] .zc-hub-step { height: 40px; }
.zc-gs .zc-hub-podium__free { width: 38px; height: 38px; font-size: 13px; }
.zc-gs .zc-hub-podium__free-name { font-size: 12px; line-height: 16px; }
.zc-gs .zc-hub-podium__free-score { font-size: 12px; }

.zc-gs-list { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.zc-gs-list > li, .zc-gs-list__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; min-height: 44px; padding: 4px 10px 4px 2px; border-radius: 12px; }
.zc-gs-list > li.is-me, .zc-gs-list__row.is-me { background: rgba(236,72,153,.14); box-shadow: inset 0 0 0 1px rgba(236,72,153,.4); }
.zc-gs-list__rank { text-align: center; font-size: 13px; font-weight: 700; color: #9CA3AF; font-variant-numeric: tabular-nums; }
.zc-gs-list__name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: #fff; }
.zc-gs-list__score { font-size: 13px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zc-gs-me { margin: 0 8px 8px; padding-top: 6px; border-top: 1px dashed rgba(255,255,255,.14); }
.zc-gs-me .zc-gs-list__rank { color: #F9A8D4; }

.zc-gs-global { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(236,72,153,.16), rgba(139,92,246,.16)); box-shadow: inset 0 0 0 1px rgba(236,72,153,.32); transition: background-color 200ms ease; }
.zc-gs-global:hover { background: linear-gradient(135deg, rgba(236,72,153,.26), rgba(139,92,246,.26)); }
.zc-gs-global:focus-visible { outline: 2px solid #F9A8D4; outline-offset: 2px; }
.zc-gs-global__chip { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff;
    background: linear-gradient(135deg, #EC4899, #8B5CF6); box-shadow: 0 0 24px -4px rgba(236,72,153,.6); }
.zc-gs-global__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zc-gs-global__title { font-size: 14px; line-height: 20px; font-weight: 700; color: #fff; }
.zc-gs-global__line { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; line-height: 16px; color: #D1D5DB; }
.zc-gs-global__fix { flex: none; font-variant-numeric: tabular-nums; }
.zc-gs-global__name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-gs-global__me { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; line-height: 16px; font-weight: 700; color: #F9A8D4; }
.zc-gs-global__me .zc-hc-sep { background: rgba(249,168,212,.5); }
.zc-gs-global__chevron { flex: none; font-size: 12px; color: #F9A8D4; }

@media (prefers-reduced-motion: reduce) { .zc-gs-cover { transition: none; } }
