/* poral.net — Aplikacja Gry Disc: wygląd jak w grach z serii Disc (HUD, pager, płyty) */
:root {
    --bg: #050914; --bg2: #0a1430; --panel: rgba(8, 16, 38, .90);
    --cyan: #00e5ff; --blue: #2f7bff; --gold: #ffc83d; --green: #3dff8a; --red: #ff4466; --pink: #ff2d8a;
    --text: #e8f1ff; --muted: #8fa3c7;
    --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow: hidden; }
body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--text);
    background: radial-gradient(1100px 600px at 15% -10%, rgba(47, 123, 255, .25), transparent 60%),
                radial-gradient(900px 500px at 100% 110%, rgba(0, 229, 255, .18), transparent 60%),
                linear-gradient(180deg, var(--bg2), var(--bg));
    -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; overscroll-behavior: none;
}
.app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 6px;
    padding: calc(6px + var(--safe-t)) calc(6px + var(--safe-r)) calc(4px + var(--safe-b)) calc(6px + var(--safe-l)); }

/* ---------- HUD (jak w grach: lewo | logo | prawo) ---------- */
.hud { flex: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6px 12px;
    border: 1px solid rgba(0, 229, 255, .25); border-radius: 14px; background: var(--panel); box-shadow: 0 0 20px rgba(0, 229, 255, .15); }
.hud-box { display: flex; flex-direction: column; min-width: 0; }
.hud-right { align-items: flex-end; }
.hud-label { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hud-value { font-size: 1.45rem; font-weight: 800; color: var(--cyan); text-shadow: 0 0 10px rgba(0, 229, 255, .6); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hud-value.bump { animation: bump .35s ease; }
.hud-btns { display: flex; gap: 6px; }
.mute-btn { font-size: .95rem; background: transparent; border: 1px solid rgba(143, 163, 199, .4); border-radius: 999px; width: 38px; height: 32px;
    color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s, box-shadow .15s; }
.mute-btn:hover { background: rgba(0, 229, 255, .15); border-color: var(--cyan); box-shadow: 0 0 12px rgba(0, 229, 255, .35); }
.mute-btn.busy i { animation: spin .8s linear infinite; }
.mute-btn[hidden] { display: none; }

.title-link { display: inline-flex; align-items: center; gap: .3em; font-size: 1.6rem; font-weight: 900; letter-spacing: .08em; color: #fff;
    text-decoration: none; white-space: nowrap; transition: text-shadow .15s ease; }
.title-link:hover, .title-link:focus-visible { text-shadow: 0 0 14px rgba(0, 229, 255, .7); outline: none; }
.title-text span { color: var(--cyan); }
.title-disc { flex: 0 0 auto; width: 1.5em; height: 1.5em; border-radius: 50%; position: relative; display: grid; place-items: center;
    background: conic-gradient(#0a3cff, #5fb4ff, #8a2be2, #00dfff, #ffcc33, #0a3cff);
    box-shadow: 0 0 18px rgba(95, 180, 255, .65), 0 0 36px rgba(0, 229, 255, .35);
    animation: spin 2.8s linear infinite, discGlow 1.8s ease-in-out infinite alternate; }
.title-disc::after { content: ""; width: 22%; height: 22%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #1a2a5a, #040812 70%);
    border: 2px solid rgba(255, 255, 255, .55); box-shadow: inset 0 0 6px rgba(0, 0, 0, .9); }
.title-link:hover .title-disc { animation-duration: .9s, .6s; }

/* ---------- szukaj ---------- */
.search { flex: 0 0 auto; position: relative; display: flex; align-items: center; width: 100%; max-width: 560px; margin: 2px auto 0; }
.search input { width: 100%; height: 42px; padding: 0 44px 0 42px; border-radius: 999px; border: 1px solid rgba(0, 229, 255, .4);
    background: rgba(8, 16, 38, .8); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: .02em; outline: none;
    user-select: text; -webkit-user-select: text; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--muted); font-weight: 500; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, .15), 0 0 18px rgba(0, 229, 255, .35); }
.search-ico { position: absolute; left: 16px; color: var(--cyan); pointer-events: none; filter: drop-shadow(0 0 6px rgba(0, 229, 255, .6)); }
.search-clear { position: absolute; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08);
    color: var(--text); cursor: pointer; }
.search-clear:hover { background: rgba(255, 68, 102, .25); }
.search-clear[hidden], .search-hint[hidden] { display: none; }
.search-hint { position: absolute; right: 14px; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid rgba(143, 163, 199, .4);
    border-radius: 6px; padding: 1px 7px; pointer-events: none; }
.search.has .search-hint { display: none; }
@media (hover: none) { .search-hint { display: none; } }

/* ---------- strony z płytami (2 × 2) ---------- */
.stage { flex: 1 1 auto; min-height: 0; position: relative; display: flex; }
.track { flex: 1 1 auto; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.track::-webkit-scrollbar { display: none; }
.page { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; container-type: size;
    display: flex; align-items: center; justify-content: center; padding: 6px 10px; }
.grid { display: grid; grid-template-columns: repeat(2, var(--cell)); grid-auto-rows: auto; column-gap: var(--gap); row-gap: calc(var(--gap) * .6);
    --gap: min(5cqw, 4cqh, 56px); --cap: 3.2em;
    --cell: min(calc((100cqw - var(--gap)) / 2), calc((100cqh - var(--gap) * .6 - 2 * var(--cap)) / 2), 330px); }
.grid.one { grid-template-columns: var(--cell); --cell: min(78cqw, calc(100cqh - 1.5 * var(--cap)), 440px); }
.grid.one .cap { font-size: clamp(.8rem, 2.2cqw, .95rem); -webkit-line-clamp: 3; height: 4.4em; }
.grid.two { --cell: min(calc((100cqw - var(--gap)) / 2), calc(100cqh - 1.5 * var(--cap)), 400px); }
.slot { width: var(--cell); display: flex; flex-direction: column; align-items: center; }
.slot-disc { width: var(--cell); height: var(--cell); position: relative; }
.cap { height: var(--cap); width: 100%; padding-top: .45em; text-align: center; font-size: clamp(.68rem, 1.6cqw, .82rem); line-height: 1.3; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slot.empty .slot-disc::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 2px dashed rgba(143, 163, 199, .12); }

.disc { position: absolute; inset: 0; display: block; border-radius: 50%; text-decoration: none; color: #fff; cursor: pointer;
    container-type: inline-size; transition: transform .18s ease, filter .18s ease;
    animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--i) * 70ms); }
.disc-face { position: absolute; inset: 0; border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 41%, rgba(255, 255, 255, .55) 41.3%, transparent 42.5%),
        repeating-radial-gradient(circle, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
        conic-gradient(from var(--a, 0deg), hsl(var(--h) 85% 82%), hsl(calc(var(--h) + 60) 90% 62%), #f4f6ff, hsl(calc(var(--h) + 150) 85% 60%),
            hsl(calc(var(--h) + 220) 90% 70%), #e8ecf6, hsl(calc(var(--h) + 300) 85% 64%), hsl(var(--h) 85% 82%));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .55) inset, 0 0 26px hsl(var(--h) 90% 60% / .4), 0 12px 28px rgba(0, 0, 0, .55);
    animation: spin var(--spd, 14s) linear infinite; }
.disc-face::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(125deg, rgba(255, 255, 255, .45) 0%, transparent 32%, transparent 62%, rgba(255, 255, 255, .22) 80%, transparent 100%); }
.disc-label { position: absolute; inset: 21%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2.6cqw; padding: 0 5cqw; text-align: center;
    background: radial-gradient(circle at 50% 30%, hsl(var(--h) 60% 22%), hsl(var(--h) 70% 9%) 70%);
    box-shadow: 0 0 0 1.5cqw rgba(5, 9, 20, .85), 0 0 0 2.2cqw hsl(var(--h) 90% 65% / .6), inset 0 2cqw 4cqw rgba(255, 255, 255, .08); }
.disc-label i { font-size: 8.5cqw; color: hsl(var(--h) 95% 72%); filter: drop-shadow(0 0 2cqw hsl(var(--h) 95% 60% / .7)); }
.disc-name { font-weight: 900; font-size: 8cqw; line-height: 1.05; letter-spacing: .04em; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.disc-name small { display: block; font-size: .72em; color: #fff; opacity: .9; }
.disc-name span { color: var(--cyan); text-shadow: 0 0 2cqw rgba(0, 229, 255, .6); }
.disc-name mark, .cap mark { background: none; color: var(--gold); text-shadow: 0 0 8px rgba(255, 200, 61, .7); }
.badge { position: absolute; top: 4%; right: 2%; z-index: 2; padding: .25em .7em; border-radius: 999px; font-size: max(10px, 5.4cqw); font-weight: 900;
    letter-spacing: .1em; color: #2a1800; background: linear-gradient(135deg, #ffe680, var(--gold)); box-shadow: 0 0 14px rgba(255, 200, 61, .7);
    animation: pulse 1.6s ease-in-out infinite; }
.disc:hover { transform: scale(1.05); filter: brightness(1.1); }
.disc:hover .disc-face { --spd: 3s; }
.disc:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.disc:active { transform: scale(.96); }
.disc.off { filter: grayscale(.85) brightness(.6); cursor: default; }
.disc.off .disc-face { animation: none; }
.disc.go { animation: launch .45s ease-in forwards; }
.disc.go .disc-face { animation-duration: .35s; }

/* brak wyników */
.no-res { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; color: var(--muted); }
.no-res[hidden] { display: none; }
.no-res b { color: #fff; font-size: 1.1rem; }
.no-res em { color: var(--cyan); font-style: normal; }
.empty-disc { width: 90px; height: 90px; border-radius: 50%; opacity: .5; filter: grayscale(.6);
    background: radial-gradient(circle, var(--bg) 0 14%, transparent 15%), conic-gradient(#0a3cff, #5fb4ff, #8a2be2, #00dfff, #0a3cff); animation: spin 6s linear infinite; }

/* ---------- strzałki pagera (PC) i zakładki stron ---------- */
.pager-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 8px; transition: color .15s, transform .15s, opacity .2s; }
.pager-arrow.prev { left: 8px; } .pager-arrow.next { right: 8px; }
.pager-arrow:disabled { opacity: 0; pointer-events: none; }
.pa-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; line-height: 1; padding-bottom: 4px;
    color: var(--cyan); border: 1px solid rgba(0, 229, 255, .45); background: rgba(8, 16, 38, .7); box-shadow: 0 0 14px rgba(0, 229, 255, .25); transition: background .15s, box-shadow .15s; }
.pa-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.pager-arrow:hover { color: #fff; }
.pager-arrow:hover .pa-icon { background: rgba(0, 229, 255, .22); box-shadow: 0 0 20px rgba(0, 229, 255, .55); }
.pager-arrow.prev:active { transform: translateY(-50%) translateX(-3px); }
.pager-arrow.next:active { transform: translateY(-50%) translateX(3px); }

.bottom { flex: 0 0 auto; padding: 2px 0 6px; display: flex; justify-content: center; min-height: 30px; }
.pager-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; }
.pager-tabs button { font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .12em; min-width: 34px; color: var(--muted); background: transparent;
    border: 1px solid rgba(143, 163, 199, .4); border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.pager-tabs button.active { color: #031022; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 12px rgba(0, 229, 255, .6); }

.toast { position: fixed; left: 50%; top: calc(70px + var(--safe-t)); transform: translate(-50%, -16px); opacity: 0; pointer-events: none; z-index: 10;
    padding: 10px 18px; border-radius: 999px; background: var(--panel); border: 1px solid rgba(255, 200, 61, .7); color: var(--text);
    font-weight: 800; letter-spacing: .03em; font-size: .9rem; box-shadow: 0 0 22px rgba(255, 200, 61, .3); transition: opacity .25s, transform .25s; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.ios-hint { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 11; padding: 12px 40px 12px 14px; border-radius: 14px;
    background: var(--panel); border: 1px solid rgba(0, 229, 255, .4); font-size: .9rem; }
.ios-hint button { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: var(--muted); font-size: 1rem; }
.noscript { padding: 20px; } .noscript a { color: var(--cyan); }

/* =====================================================================
   INTRO — płyta wjeżdża, laser czyta ścieżkę, napis DiscGry, wylot do menu
   ===================================================================== */
.intro { display: none; position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer;
    background: radial-gradient(circle at 50% 45%, #0d1c48 0%, var(--bg) 70%); }
.z-intro .intro, .intro.out { display: block; }
.z-intro .app { opacity: 0; }
.intro.out { animation: introOut .6s ease-in forwards; }
.app.in { animation: appIn .6s ease-out both; }
.intro-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; transform: perspective(400px) rotateX(62deg); transform-origin: 50% 100%;
    background-image: linear-gradient(rgba(0, 229, 255, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .28) 1px, transparent 1px);
    background-size: 46px 46px; mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
    animation: gridMove 1s linear infinite, fadeIn .8s ease both; }
.intro-rings { position: absolute; left: 50%; top: 42%; width: 0; height: 0; }
.intro-rings i { position: absolute; left: 0; top: 0; width: 60vmin; height: 60vmin; margin: -30vmin 0 0 -30vmin; border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, .7); box-shadow: 0 0 24px rgba(0, 229, 255, .5), inset 0 0 24px rgba(0, 229, 255, .3);
    opacity: 0; animation: ring 1.6s ease-out .7s infinite; }
.intro-rings i:nth-child(2) { animation-delay: 1.2s; border-color: rgba(255, 45, 138, .6); }
.intro-rings i:nth-child(3) { animation-delay: 1.7s; border-color: rgba(255, 200, 61, .6); }
.intro-beam { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; transform-origin: 50% 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 45, 138, .95) 30%, #fff 42%, rgba(0, 229, 255, .9) 55%, transparent);
    box-shadow: 0 0 18px 4px rgba(255, 45, 138, .5); opacity: 0; animation: beam 1.3s ease-in-out .45s both; }
.intro-discs { position: absolute; left: 50%; top: 42%; width: 0; height: 0; }
.intro-discs .mini-disc { position: absolute; width: 5vmin; height: 5vmin; min-width: 24px; min-height: 24px; margin: -2.5vmin; border-radius: 50%;
    opacity: 0; animation: orbit 2.2s cubic-bezier(.3, .7, .3, 1) .9s both; }
.intro-discs .mini-disc::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--bg); }
.intro-discs .mini-disc:nth-child(2) { --r: 90deg; } .intro-discs .mini-disc:nth-child(3) { --r: 180deg; } .intro-discs .mini-disc:nth-child(4) { --r: 270deg; }
.mini-disc.cd { background: conic-gradient(#1a3a2a, #2ecc71, #a8e6cf, #27ae60, #1abc9c, #16a085, #1a3a2a); box-shadow: 0 0 14px rgba(46, 204, 113, .6); }
.mini-disc.dvd { background: conic-gradient(#4a0a0a, #e53935, #ffb4a8, #c62828, #ff6659, #b71c1c, #ff9a8a, #4a0a0a); box-shadow: 0 0 14px rgba(255, 70, 70, .6); }
.mini-disc.bluray { background: conic-gradient(#0a3cff, #5fb4ff, #8a2be2, #00dfff, #0a3cff); box-shadow: 0 0 14px rgba(95, 180, 255, .7); }
.mini-disc.uhd { background: conic-gradient(#ffcc33, #fff0a0, #b8860b, #ffe27a, #ffcc33); box-shadow: 0 0 14px rgba(255, 200, 61, .7); }

.intro-core { position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; }
.intro-disc { position: relative; width: 34vmin; height: 34vmin; max-width: 260px; max-height: 260px; border-radius: 50%;
    background:
        radial-gradient(circle, var(--bg) 0 9%, rgba(255, 255, 255, .7) 9.5% 10.5%, #c8d4ea 11% 15%, transparent 15.5%),
        repeating-radial-gradient(circle, rgba(255, 255, 255, .07) 0 1px, transparent 1px 4px),
        conic-gradient(#0a3cff, #5fb4ff, #f4f6ff, #8a2be2, #ff2d8a, #ffcc33, #00dfff, #e8ecf6, #0a3cff);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .6) inset, 0 0 40px rgba(95, 180, 255, .7), 0 0 90px rgba(0, 229, 255, .35);
    animation: discIn 1.1s cubic-bezier(.15, .9, .25, 1) both, spin .5s linear infinite; }
.intro-shine { position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(125deg, rgba(255, 255, 255, .55) 0%, transparent 30%, transparent 62%, rgba(255, 255, 255, .25) 80%, transparent 100%);
    animation: spinBack .5s linear infinite; }
.intro-title { margin-top: 4.5vmin; font-size: clamp(2.4rem, 11vmin, 5rem); font-weight: 900; letter-spacing: .08em; line-height: 1; display: flex; }
.intro-title span { display: inline-block; opacity: 0; animation: letter .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.it-d { color: #fff; text-shadow: 0 0 16px rgba(255, 255, 255, .45); }
.it-g { color: var(--cyan); text-shadow: 0 0 18px rgba(0, 229, 255, .8); }
.intro-title span:nth-child(1) { animation-delay: 1.00s; } .intro-title span:nth-child(2) { animation-delay: 1.06s; }
.intro-title span:nth-child(3) { animation-delay: 1.12s; } .intro-title span:nth-child(4) { animation-delay: 1.18s; }
.intro-title span:nth-child(5) { animation-delay: 1.34s; } .intro-title span:nth-child(6) { animation-delay: 1.40s; }
.intro-title span:nth-child(7) { animation-delay: 1.46s; }
.intro-sub { margin-top: 1.2vmin; font-size: clamp(.7rem, 2.6vmin, .95rem); font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
    animation: fadeUp .5s ease 1.6s both; }
.intro-load { margin-top: 4vmin; width: min(260px, 60vw); height: 6px; border-radius: 999px; background: rgba(143, 163, 199, .2); overflow: hidden;
    animation: fadeUp .4s ease 1.1s both; }
.intro-load b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--pink));
    box-shadow: 0 0 12px rgba(0, 229, 255, .8); animation: load 1.5s cubic-bezier(.4, 0, .2, 1) 1.1s forwards; }
.intro-count { margin-top: 1.4vmin; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); animation: fadeUp .4s ease 1.3s both; }
.intro-count span { font-variant-numeric: tabular-nums; }
.intro-skip { position: absolute; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); opacity: 0; animation: fadeIn .4s ease 1.2s forwards, blink 1.4s ease-in-out 1.6s infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinBack { to { transform: rotate(-360deg); } }
@keyframes discGlow { to { box-shadow: 0 0 26px rgba(95, 180, 255, .9), 0 0 50px rgba(0, 229, 255, .5); filter: brightness(1.15); } }
@keyframes pop { from { transform: scale(.3) rotate(-120deg); opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.08); } }
@keyframes bump { 50% { transform: scale(1.25); } }
@keyframes launch { 40% { transform: scale(1.12); } to { transform: scale(.2); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes gridMove { to { background-position: 0 46px; } }
@keyframes discIn { 0% { transform: translateY(-80vh) scale(.25) rotate(-720deg); filter: blur(6px); } 70% { transform: translateY(2vh) scale(1.06); filter: none; } 100% { transform: none; } }
@keyframes beam { 0% { opacity: 0; transform: scaleY(0); } 30% { opacity: 1; transform: scaleY(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1) translateX(0); } }
@keyframes ring { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes orbit { 0% { opacity: 0; transform: rotate(var(--r, 0deg)) translateX(0) scale(.2); }
    25% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--r, 0deg) + 300deg)) translateX(36vmin) scale(1); } }
@keyframes letter { from { opacity: 0; transform: translateY(40%) scale(.4) rotateX(80deg); } to { opacity: 1; transform: none; } }
@keyframes load { to { width: 100%; } }
@keyframes introOut { 0% { opacity: 1; } 40% { opacity: 1; filter: brightness(1.8); } 100% { opacity: 0; transform: scale(1.25); filter: brightness(2) blur(4px); visibility: hidden; } }
@keyframes appIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 699px) {
    .hud { padding: 5px 10px; }
    .title-link { font-size: 1.3rem; }
    .hud-value { font-size: 1.25rem; }
    .mute-btn { width: 34px; height: 30px; }
    .pager-arrow { display: none; }
    .page { padding: 4px 4px; }
    .grid { --gap: min(4cqw, 3cqh, 24px); }
}
@media (max-width: 380px) { .title-link { font-size: 1.1rem; } .hud-label { font-size: .56rem; } }
@media (prefers-reduced-motion: reduce) {
    .disc-face, .title-disc, .disc, .intro *, .empty-disc { animation-duration: .01s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
}
