/* ===== MNSt Games platform shell, pages and shared widgets ===== */
:root { --topbar-h: 60px; color-scheme: dark; }
html, body { margin: 0; min-height: 100%; background: #061820; overflow-x: hidden; }
body { font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #eef4f2; line-height: 1.45; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
button:disabled { opacity: .45; cursor: not-allowed; }
img { max-width: 100%; }

.mnst-root {
    --bg: #061820; --surface: rgba(255,255,255,.045); --surface-2: rgba(255,255,255,.08); --line-soft: rgba(255,255,255,.12);
    --text: #eef4f2; --muted: #a9c1bd; --gold: #ffd35a; --gold-soft: #ffe27a; --accent: #4ff0cf; --accent-glow: rgba(60,255,200,.6);
    --border: #b8902f; --border-hi: #d8aa3a; --danger: #ff6b5a; --ok: #59e3a0;
    --cta-a: #2fd59a; --cta-b: #0a6a50; --cta-shadow: #04382a; --cta-glow: rgba(80,255,190,.4);
    --modal: linear-gradient(#123a44, #071a20);
    min-height: 100vh; min-height: 100dvh; color: var(--text);
    background:
        radial-gradient(ellipse at 15% -10%, rgba(79,240,207,.14), transparent 45%),
        radial-gradient(ellipse at 90% 0%, rgba(255,160,90,.12), transparent 40%),
        linear-gradient(#082430, #051318 60%, #03090c);
    background-attachment: fixed;
}
.mnst-root :where(a) { color: var(--accent); }
:where(.mnst-root) a:hover { color: #fff; }
.mnst-main { display: block; min-width: 0; }
.mnst-main:focus { outline: none; }
:focus-visible { outline: 3px solid #ffe27a; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }

/* ---- Skip link ---- */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; border: 2px solid var(--gold); background: #031511; color: #fff; font-weight: 700; cursor: pointer; }
.skip-link:focus { top: 8px; }

/* ---- Top bar ---- */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--topbar-h); display: flex; align-items: center; gap: 12px; padding: 0 16px;
    background: rgba(4,16,20,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,211,90,.25); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff !important; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 900 20px/1 Georgia, serif; color: #3a2400;
    background: linear-gradient(145deg, #fff3b0, #ffd35a 40%, #c88a1a); box-shadow: 0 0 14px rgba(255,200,70,.45); }
.brand-text { font-size: 18px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; }
.brand-text b { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: #fff; background: var(--surface-2); }
.main-nav a.active { color: #1a1200; background: linear-gradient(#ffe27a, #e0a92a); }
.main-nav .icon { width: 18px; height: 18px; }
.wallet-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; text-decoration: none; color: #fff !important; flex: 0 0 auto;
    background: linear-gradient(#103f36, #06201b); border: 1px solid var(--border-hi); font-variant-numeric: tabular-nums; font-weight: 700; }
.wallet-chip .icon { color: var(--gold); }
.wallet-chip small { color: var(--muted); font-weight: 500; font-size: 11px; }
.wallet-chip.bump .wallet-amount { animation: bump .6s ease-out; color: var(--gold-soft); }
@keyframes bump { 30% { transform: scale(1.18); text-shadow: 0 0 12px #ffb400; } }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--surface); color: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0; flex: 0 0 auto; }
.nav-scrim { position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 65; background: rgba(0,0,0,.55); }

@media (max-width: 1000px) {
    /* No backdrop-filter here: it would make the topbar the containing block of the fixed drawer. */
    .topbar { gap: 8px; padding: 0 10px; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4,16,20,.97); }
    .topbar.menu-open { z-index: 66; }
    .nav-toggle { display: inline-flex; }
    .wallet-chip { margin-left: auto; }
    .main-nav { position: fixed; top: var(--topbar-h); right: 0; bottom: 0; z-index: 65; width: min(280px, 86vw); margin: 0;
        flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; overflow-y: auto;
        background: #071d24; border-left: 1px solid rgba(255,211,90,.25); box-shadow: -10px 0 30px rgba(0,0,0,.5);
        transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
    .main-nav.open { transform: none; visibility: visible; transition: transform .25s ease; }
    .main-nav a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 420px) {
    .brand-text { display: none; }
    .wallet-chip small { display: none; }
}

/* ---- Buttons ---- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 6px; padding: 10px 26px; min-height: 44px; border-radius: 24px; border: 2px solid var(--gold);
    background: linear-gradient(var(--cta-a), var(--cta-b)); color: #fff !important; font-weight: 800; cursor: pointer; letter-spacing: 1.5px; text-decoration: none; text-align: center;
    box-shadow: 0 4px 0 var(--cta-shadow), 0 0 14px var(--cta-glow); transition: filter .15s; }
.cta:not(:disabled):hover { filter: brightness(1.1); }
.cta:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cta-shadow); }
.cta.alt { background: linear-gradient(#b08a2a, #5a3b00); box-shadow: 0 4px 0 #2a1b00; }
.cta.danger { background: linear-gradient(#e0533f, #8a1d12); border-color: #ffb09a; box-shadow: 0 4px 0 #4a0d06; }
.cta.pulse { animation: ctapulse 1.2s ease-in-out infinite; }
.cta .icon { width: 18px; height: 18px; }
@keyframes ctapulse { 50% { transform: scale(1.07); box-shadow: 0 4px 0 var(--cta-shadow), 0 0 26px var(--cta-glow); } }
.button-row { display: flex; flex-wrap: wrap; gap: 6px; }
.button-row .cta { margin: 4px 0; }

/* ---- Pages ---- */
.page { width: 100%; max-width: 1140px; margin: 0 auto; padding: 24px 20px 48px; }
.page h1 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; color: #fff; }
h1:focus, main:focus { outline: none; }
.lead { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--gold); }
.section-title { margin: 0 0 12px; font-size: 18px; color: var(--gold-soft); letter-spacing: .5px; }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 18px; margin: 0 0 18px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel-head .section-title { margin: 0; }
.note { font-size: 13px; color: var(--muted); opacity: 1; }
.empty { color: var(--muted); margin: 6px 0; }
.pos { color: var(--ok); } .neg { color: #ff9a8a; }
.success { color: #c8ffe3; background: rgba(40,160,100,.18); border: 1px solid rgba(89,227,160,.5); border-radius: 12px; padding: 10px 14px; }
.success.inline { display: inline-block; margin-left: 8px; padding: 6px 10px; }
.warning { color: #ffe9d6; background: rgba(200,90,30,.22); border: 1px solid rgba(255,150,90,.6); border-radius: 12px; padding: 10px 14px; }
.disclaimer-bar { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; margin: 0 0 20px; border-radius: 12px; font-size: 14px;
    background: rgba(255,211,90,.08); border: 1px solid rgba(255,211,90,.35); color: #fff3cf; }
.disclaimer-bar .icon { color: var(--gold); margin-top: 1px; }

/* Lobby hero */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-bottom: 18px; padding: 22px; border-radius: 20px;
    background: linear-gradient(120deg, rgba(79,240,207,.14), rgba(255,160,90,.10)), var(--surface); border: 1px solid var(--line-soft); }
.hero-text p { color: var(--muted); margin: 0; max-width: 60ch; }
.hero-text h1 { margin: 2px 0 8px; }
.hero-balance { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--border-hi); }
.hero-balance small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.hero-balance strong { display: block; font-size: 28px; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.hero-balance a { font-size: 13px; }

/* Game cards */
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-bottom: 22px; }
.game-card { --card-accent: #4ff0cf; --card-glow: rgba(79,240,207,.25); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; min-width: 0;
    background: linear-gradient(rgba(10,45,36,.9), rgba(3,20,16,.95)); border: 1px solid rgba(255,211,90,.35); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s, box-shadow .2s; }
.game-card.theme-phuket { --card-accent: #48e6ff; --card-glow: rgba(255,160,100,.28); background: linear-gradient(rgba(8,60,86,.9), rgba(3,26,44,.95)); border-color: rgba(255,200,130,.45); }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 30px var(--card-glow); }
.card-art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #021012; }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.game-card:hover .card-art img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 800; letter-spacing: .5px; }
.badge.bonus { background: linear-gradient(#ffe27a, #e0a92a); color: #2a1a00; box-shadow: 0 0 14px rgba(255,200,70,.6); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card-body h3 { margin: 0; font-size: 22px; color: #fff; }
.tagline { margin: 0; color: var(--card-accent); font-weight: 700; font-size: 14px; }
.card-desc { margin: 0; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0; }
.chips li { font-size: 12px; padding: 3px 10px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.card-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 4px 0; }
.card-stats div { background: rgba(0,0,0,.25); border-radius: 10px; padding: 6px 8px; min-width: 0; }
.card-stats dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.card-stats dd { margin: 0; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cta.play { align-self: flex-start; margin: 6px 0 0; }
.game-card .cta.play { align-self: stretch; }
.game-card.theme-phuket .cta.play { background: linear-gradient(#ff9b6a, #d24a3a); box-shadow: 0 4px 0 #6a1d15, 0 0 14px rgba(255,140,100,.45); }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; margin: 0 0 18px; }
.stat { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.stat small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.stat strong { display: block; font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { display: block; font-size: 13px; color: var(--muted); }
.game-stat.theme-borneo { border-left: 4px solid #4ff0cf; }
.game-stat.theme-phuket { border-left: 4px solid #ff9b6a; }

/* Tables */
.table-wrap { width: 100%; overflow-x: auto; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-table th, .tx-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tx-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; }
.tx-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-table tr.won td:nth-child(5) { color: var(--gold-soft); font-weight: 700; }
.tx-table .details { color: var(--muted); font-size: 13px; }
.tx-table tbody th { font-weight: 600; }
@media (max-width: 720px) {
    .tx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tx-table, .tx-table tbody, .tx-table tr, .tx-table td, .tx-table tbody th { display: block; width: 100%; }
    .tx-table tr { padding: 8px 4px; border-bottom: 1px solid var(--line-soft); }
    .tx-table td, .tx-table tbody th { display: flex; justify-content: space-between; gap: 12px; padding: 3px 4px; border: 0; text-align: right; }
    .tx-table td::before, .tx-table tbody th::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; flex: 0 0 auto; }
    .tx-table .num { white-space: normal; }
    .tx-table .details { text-align: right; }
    .tx-table.compact td[data-label="Time"] { font-size: 13px; }
}

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; max-width: 420px; }
.field label, .field-row { font-weight: 600; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 12px 0 4px; max-width: 420px; }
.field-row output { color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.mnst-root input[type=text], .mnst-root input:not([type]), .mnst-root input[type=number], .mnst-root select {
    min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: #04161b; color: #fff; max-width: 100%; }
.mnst-root select { cursor: pointer; }
.settings-group select { width: min(420px, 100%); }
.mnst-root input[type=range] { width: min(420px, 100%); accent-color: var(--gold); min-height: 32px; }
.mnst-root input[type=checkbox], .mnst-root input[type=radio] { accent-color: var(--gold); width: 18px; height: 18px; }
.switch { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.switch input { flex: 0 0 auto; }
.settings-group .note { margin: 4px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; }
.segmented legend { width: 100%; }
.segmented label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 12px; cursor: pointer; background: var(--surface); border: 1px solid var(--line-soft); }
.segmented label.on { border-color: var(--gold); background: rgba(255,211,90,.12); color: #fff; }
.segmented label:focus-within, .avatar-option:focus-within { outline: 3px solid #ffe27a; outline-offset: 2px; }
.segmented input, .avatar-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.validation-message { color: #ff9a8a; font-size: 13px; }
.mnst-root .invalid { outline: 1px solid #ff6b5a; }
.mnst-root .valid.modified:not([type=checkbox]):not([type=radio]) { outline: 1px solid #26b050; }

/* Avatars & profile */
.avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto; overflow: hidden;
    background: radial-gradient(circle at 40% 35%, #1f6a5a, #062019); border: 2px solid var(--border-hi); box-shadow: 0 0 12px rgba(255,200,70,.25); }
.avatar img { width: 80%; height: 80%; object-fit: contain; }
.avatar.lg { width: 76px; height: 76px; }
.avatar-turtle, .avatar-sunset, .avatar-shell { background: radial-gradient(circle at 40% 35%, #1d7092, #07334c); border-color: #f0be6a; }
.avatar-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; max-width: 720px; }
.avatar-picker legend { grid-column: 1 / -1; }
.avatar-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; cursor: pointer; text-align: center; font-size: 13px;
    background: var(--surface); border: 2px solid transparent; }
.avatar-option.selected { border-color: var(--gold); background: rgba(255,211,90,.1); }
.profile-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-card h2 { margin: 0 0 4px; font-size: 24px; overflow-wrap: anywhere; }
.profile-card p { margin: 2px 0; }
.profile-card code { color: var(--gold-soft); }

/* Wallet */
.wallet-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(120deg, rgba(255,211,90,.12), rgba(79,240,207,.08)), var(--surface); border-color: rgba(255,211,90,.35); }
.wallet-hero h2 { margin: 0; }
.balance-big { display: block; font-size: clamp(32px, 6vw, 48px); color: var(--gold-soft); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(255,180,0,.35); overflow-wrap: anywhere; }
.note-panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.note-panel li { margin: 6px 0; }

/* Help */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.toc a { padding: 6px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; font-size: 14px; }
.help ol, .help ul { padding-left: 22px; margin: 0; }
.help li { margin: 6px 0; }
.help section { scroll-margin-top: calc(var(--topbar-h) + 12px); }
.game-help.theme-borneo { border-left: 4px solid #4ff0cf; }
.game-help.theme-phuket { border-left: 4px solid #ff9b6a; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 28px; }
.faq details p { color: var(--muted); margin: 8px 0 0; }

/* Startup / not found / error */
.app-message { min-height: calc(100vh - var(--topbar-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.app-message.boot { min-height: 100vh; color: #f6e7b4; background: radial-gradient(ellipse at 50% 30%, #0d3a30, #03090c); }
.app-message.boot h1 { font: 900 clamp(34px, 8vw, 64px)/1 Georgia, serif; letter-spacing: 4px; color: #ffd35a; text-shadow: 0 0 18px rgba(255,180,0,.5); margin: 0 0 12px; }
.app-message a, #blazor-error-ui a { color: #4ff0cf; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; padding: 16px 48px 16px 20px; background: #381c12; color: #fff0cc; border-top: 2px solid #d8aa3a; }
#blazor-error-ui .dismiss { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 20px; }

@media (max-width: 720px) {
    .page { padding: 18px 12px 40px; }
    .hero { grid-template-columns: 1fr; padding: 16px; }
    .hero-balance { justify-self: stretch; }
    .panel { padding: 14px; }
    .card-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Animation intensity, graphics quality & reduced motion ---- */
.anim-low .mist, .anim-low .rays, .anim-low .sea-shimmer, .anim-low .waves i, .anim-low .sun-glow, .anim-low .palm-shade,
.anim-low .info-card .ic, .anim-low .k-wild .sym-img, .anim-low .chest:not(:disabled), .anim-low .cta.pulse, .anim-low .rays-burst,
.anim-low .crystals img, .anim-low .bigwin-overlay::before, .anim-low .game-shell.shake { animation: none !important; }
.anim-low .tile.win { animation: none; }
.anim-high .tile.win { animation-duration: .6s; }
.anim-high .reel-frame { box-shadow: 0 0 70px var(--frame-glow), 0 10px 30px rgba(0,0,0,.6), inset 0 0 12px #000; }
.anim-high .mist { animation-duration: 10s; }

.gfx-performance .mist, .gfx-performance .rays, .gfx-performance .sea-shimmer, .gfx-performance .palm-shade, .gfx-performance .vines,
.gfx-performance .bigwin-overlay::before, .gfx-performance .rays-burst { display: none; }
.gfx-performance .sym-img, .gfx-performance .info-card .ic, .gfx-performance .chest-img { filter: none; }
.gfx-performance .tile.blur { filter: none; opacity: .75; }
.gfx-performance .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: #04141a; }
.gfx-performance .logo span, .gfx-performance .intro-logo span, .gfx-performance .bigwin-title { filter: none; }
.gfx-quality .reel-frame { box-shadow: 0 0 60px var(--frame-glow), 0 14px 40px rgba(0,0,0,.7), inset 0 0 16px #000; }

.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
.reduce-motion .reel .strip { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reel .strip { animation: none !important; }
}
