/* =========================================================
   GM – trang vận hành thi đấu trên iPad bàn thi
   Một màn hình làm việc, nền tối, chữ lớn, nút chạm to (≥ 56px).
   ========================================================= */
:root { --gm-bg: #07231c; --gm-panel: #0e3a2e; --gm-panel-2: #135041; --gm-line: rgba(255, 255, 255, 0.1); --gm-ok: #22b36b; --gm-warn: #fdbf17; --gm-bad: #ff5a5f; }
html, body { height: 100%; }
body.gm { margin: 0; background: var(--gm-bg); color: var(--on-night); font-family: var(--font-body); -webkit-user-select: none; user-select: none; overflow-x: hidden; }
body.gm input, body.gm textarea, body.gm select { -webkit-user-select: text; user-select: text; }
.gm-app { min-height: 100%; display: flex; flex-direction: column; }

/* Thanh trên */
.gm-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(0, 0, 0, 0.25); border-bottom: 1px solid var(--gm-line); position: sticky; top: 0; z-index: 20; }
.gm-bar .logo-chip img { height: 22px; }
.gm-bar__title { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.gm-bar__title b { font-family: var(--font-display); font-size: 1.1rem; white-space: nowrap; }
.gm-bar__title small { color: var(--on-night-soft); font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-bar__sp { flex: 1; }
.gm-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.gm-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--gm-ok); }
.gm-pill.is-off i { background: var(--gm-bad); }
.gm-pill[hidden] { display: none; }
.gm-pill.is-warn { background: rgba(253, 191, 23, 0.18); color: var(--gm-warn); }
.gm-icon { width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: inherit; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.gm-icon svg { width: 24px; height: 24px; }
.gm-main { flex: 1; padding: 18px 16px 28px; width: 100%; max-width: 1280px; margin: 0 auto; box-sizing: border-box; }
.gm-h { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 4px 0 14px; }
.gm-sub { color: var(--on-night-soft); margin: -8px 0 18px; }

/* Nút */
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 24px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.1); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 0.15s, filter 0.2s; touch-action: manipulation; }
.gbtn:active { transform: scale(0.97); }
.gbtn--red { background: var(--berry); box-shadow: 0 5px 0 var(--berry-deep); }
.gbtn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 5px 0 #c99208; }
.gbtn--ok { background: var(--gm-ok); box-shadow: 0 5px 0 #178a51; }
.gbtn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25); }
.gbtn--sm { min-height: 46px; font-size: 1rem; padding: 0 16px; border-radius: 14px; }
.gbtn--block { width: 100%; }
.gbtn[disabled] { opacity: 0.4; pointer-events: none; }
.gbtn svg { width: 22px; height: 22px; }
.gm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.gm-actions .gbtn { flex: 1 1 200px; }
.gm-actions--col { flex-direction: column; }
.gm-actions--col .gbtn { flex: none; width: 100%; }

/* Đăng nhập thiết bị */
.gm-login { max-width: 420px; margin: 6vh auto 0; display: grid; gap: 18px; text-align: center; }
.gm-login .logo-chip { justify-self: center; }
.gm-login .logo-chip img { height: 34px; }
.seg2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg2 button { min-height: 52px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.seg2 button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.pin-dots { display: flex; justify-content: center; gap: 12px; min-height: 22px; }
.pin-dots i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
.pin-dots i.on { background: var(--gold); box-shadow: none; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keypad button { min-height: 66px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.08); color: #fff; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.keypad button:active { background: rgba(255, 255, 255, 0.2); }
.gm-err { color: var(--gm-bad); font-weight: 700; min-height: 1.4em; }
.gm-note { color: var(--on-night-soft); font-size: 0.86rem; }

/* Chọn chế độ */
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mode { position: relative; display: grid; gap: 8px; align-content: start; min-height: 170px; padding: 20px; border: 0; border-radius: 24px; text-align: left; cursor: pointer; color: #fff;
  background: linear-gradient(150deg, var(--mc), color-mix(in srgb, var(--mc) 55%, #000)); box-shadow: 0 8px 0 color-mix(in srgb, var(--mc) 45%, #000); overflow: hidden; touch-action: manipulation; }
.mode:active { transform: translateY(4px); box-shadow: 0 4px 0 color-mix(in srgb, var(--mc) 45%, #000); }
.mode b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05; }
.mode span { font-weight: 600; opacity: 0.9; }
.mode small { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mode small em { font-style: normal; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.22); }
.mode::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.mode.is-gold { color: var(--ink); }
.recent { margin-top: 28px; }
.recent h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px; }
.recent-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); margin-bottom: 8px; font-size: 0.92rem; }
.recent-row small { color: var(--on-night-soft); display: block; }
.recent-row.is-cancel { opacity: 0.5; text-decoration: line-through; }

/* Check-in */
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.slot { padding: 18px; border-radius: 24px; background: var(--gm-panel); box-shadow: inset 0 0 0 2px var(--gm-line); display: grid; gap: 12px; align-content: start; }
.slot.is-filled { box-shadow: inset 0 0 0 3px var(--sc, var(--gm-ok)); }
.slot__head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--on-night-soft); }
.slot__find { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.gin { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.15); background: rgba(0, 0, 0, 0.25); color: #fff; font-size: 1.1rem; box-sizing: border-box; }
.gin:focus { outline: none; border-color: var(--gold); }
.kidcard { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); }
.kidcard__ava { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; background: var(--ava, var(--berry)); }
.kidcard b { font-family: var(--font-display); font-size: 1.45rem; display: block; line-height: 1.1; }
.kidcard small { color: var(--on-night-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: rgba(255, 255, 255, 0.1); white-space: nowrap; }
.tag--div { background: var(--dc, #2487c9); }
.tag--warn { background: rgba(253, 191, 23, 0.2); color: var(--gm-warn); }
.tag--bad { background: rgba(255, 90, 95, 0.2); color: #ff9a9d; }
.tag--ok { background: rgba(34, 179, 107, 0.2); color: #6fe0a6; }
.last4 { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.12em; color: var(--gold); }
.hits { display: grid; gap: 8px; }
.hit { text-align: left; border: 0; cursor: pointer; color: inherit; }
.warnbox { padding: 12px 14px; border-radius: 14px; background: rgba(253, 191, 23, 0.14); color: var(--gm-warn); font-weight: 600; font-size: 0.95rem; }
.warnbox--bad { background: rgba(255, 90, 95, 0.14); color: #ff9a9d; }

/* Quét QR */
.scan { position: fixed; inset: 0; z-index: 80; background: #000; display: grid; place-items: center; }
.scan video { width: 100%; height: 100%; object-fit: cover; }
.scan__frame { position: absolute; width: min(70vw, 360px); aspect-ratio: 1; border-radius: 24px; box-shadow: 0 0 0 4px var(--gold), 0 0 0 100vmax rgba(0, 0, 0, 0.45); }
.scan__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 12px; }
.scan__msg { position: absolute; top: max(20px, env(safe-area-inset-top)); left: 16px; right: 16px; text-align: center; font-weight: 700; }

/* Màn đề + thi đấu */
.arena { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .arena { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.board-card { padding: 16px; border-radius: 26px; background: var(--gm-panel); position: relative; }
.board-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.board-card__head b { font-family: var(--font-display); font-size: 1.3rem; }
.need { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.2); }
.need .pz-chip { width: calc(var(--w) * 20px); height: calc(var(--h) * 20px); }
.need__lbl { width: 100%; font-weight: 700; color: var(--on-night-soft); font-size: 0.85rem; }
.pz-piece.is-hint { animation: hintPulse 1s ease-in-out infinite; }
.pz-piece.is-solve { filter: saturate(0.75) brightness(1.08); }
@keyframes hintPulse { 50% { filter: drop-shadow(0 0 12px #fff) brightness(1.25); } }
.pz3 { display: grid; gap: 12px; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.pz3 figure { margin: 0; display: grid; gap: 8px; align-content: start; justify-items: center; padding: 12px; border-radius: 18px; }
.pz3 figcaption { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }
.pz3__brand { background: #fff; color: #4d6861; }
.pz3__brand svg { width: 100%; max-width: 300px; display: block; }
.pz3__top { background: #1b2024; box-shadow: 0 0 0 6px #1b2024, 0 0 0 8px #353e45; color: rgba(255, 255, 255, 0.5); align-content: center !important; }
.pz3__top svg { width: 100%; max-width: 300px; display: block; }
@media (max-width: 560px) { .pz3 { grid-template-columns: 1fr; } }
.pz3-hint { animation: hintPulse 1s ease-in-out infinite; }

.clock { text-align: center; padding: 18px 12px 14px; border-radius: 26px; background: #031510; box-shadow: inset 0 0 0 2px var(--gm-line); }
.clock__t { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 13vw, 8rem); line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.clock__t.is-low { color: var(--gm-bad); animation: pulse 1s infinite; }
.clock__t.is-paused { color: var(--gm-warn); }
.clock__lbl { font-weight: 700; color: var(--on-night-soft); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.clock__bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-top: 12px; }
.clock__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; }
.sides { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 14px; }
.side { border-radius: 24px; padding: 16px; background: var(--gm-panel-2); display: grid; gap: 10px; text-align: center; box-shadow: inset 0 0 0 3px var(--sc, transparent); }
.side__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.side__meta { color: var(--on-night-soft); font-size: 0.85rem; font-weight: 600; }
.done-btn { min-height: 120px; border: 0; border-radius: 22px; background: var(--berry); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; box-shadow: 0 8px 0 var(--berry-deep); cursor: pointer; touch-action: manipulation; }
.done-btn:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--berry-deep); }
.side__split { font-family: var(--font-display); font-size: 2.2rem; font-variant-numeric: tabular-nums; color: var(--gold); }
.side.is-check { box-shadow: inset 0 0 0 3px var(--gold); }
.side.is-ok { box-shadow: inset 0 0 0 3px var(--gm-ok); }
.gm-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gm-tools .gbtn { flex: 1 1 140px; }

/* Xem đề 10 giây */
.overlay-full { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(3, 21, 16, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-align: center; }
.ring { position: relative; width: min(60vw, 340px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring .bg { stroke: rgba(255, 255, 255, 0.1); }
.ring .fg { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 0.25s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); }
.overlay-full p { font-family: var(--font-display); font-size: 1.6rem; margin: 18px 0 0; }
.overlay-full small { color: var(--on-night-soft); }
.go { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); color: var(--gold); animation: goPop 0.7s var(--ease-spring) both; }
@keyframes goPop { from { transform: scale(0.3); opacity: 0; } }

/* Kết quả */
.result { text-align: center; display: grid; gap: 14px; justify-items: center; padding-top: 10px; }
.result__crown { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.result__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1; animation: goPop 0.8s var(--ease-spring) both; }
.result__time { font-family: var(--font-display); font-size: 2rem; font-variant-numeric: tabular-nums; color: var(--on-night-soft); }
.awards { display: grid; gap: 10px; width: min(100%, 640px); }
.award { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); text-align: left; }
.award b { font-family: var(--font-display); font-size: 1.3rem; }
.award small { display: block; color: var(--on-night-soft); }
.award__pts { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--gold); }
.award__pts.is-zero { color: var(--on-night-soft); }
.confirm-box { width: min(100%, 640px); padding: 16px; border-radius: 20px; background: rgba(253, 191, 23, 0.1); box-shadow: inset 0 0 0 2px rgba(253, 191, 23, 0.4); display: grid; gap: 12px; }
.confirm-box.is-done { background: rgba(34, 179, 107, 0.12); box-shadow: inset 0 0 0 2px rgba(34, 179, 107, 0.5); }
.hold { position: relative; overflow: hidden; }
.hold i { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.3); transform: scaleX(0); transform-origin: left; }
.hold.is-holding i { transform: scaleX(1); transition: transform 0.9s linear; }

/* Power-up */
.pu-reel { display: grid; justify-items: center; gap: 16px; }
.pu-reel__win { width: min(86vw, 520px); height: 120px; overflow: hidden; border-radius: 24px; background: #031510; box-shadow: inset 0 0 0 3px var(--gold); position: relative; }
.pu-reel__strip { will-change: transform; }
.pu-reel__item { height: 120px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; }
.pu-card { width: min(90vw, 560px); padding: 26px 22px; border-radius: 30px; background: var(--pc, var(--gold)); color: #fff; display: grid; gap: 12px; justify-items: center; animation: goPop 0.6s var(--ease-spring) both; box-shadow: 0 30px 60px -20px #000; }
.pu-card.is-light { color: var(--ink); }
.pu-card h2 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 0; }
.pu-card p { font-size: 1.15rem; margin: 0; font-weight: 600; }
.pu-card .ring { width: 170px; }
.pu-card .ring .fg { stroke: #fff; }
.pu-card.is-light .ring .fg { stroke: var(--ink); }
.pu-card .ring b { font-size: 4rem; }

/* Tùy chỉnh */
.tabs2 { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs2 button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: inherit; font-weight: 700; cursor: pointer; }
.tabs2 button[aria-selected="true"] { background: #fff; color: var(--ink); }
.cfg-list { display: grid; gap: 12px; }
.cfg-item { border-radius: 20px; background: var(--gm-panel); padding: 16px; display: grid; gap: 12px; }
.cfg-item__head { display: flex; align-items: center; gap: 10px; }
.cfg-item__head b { font-family: var(--font-display); font-size: 1.25rem; flex: 1; }
.cfg-item__head i { width: 18px; height: 18px; border-radius: 6px; background: var(--c); }
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.cfg-grid label { display: grid; gap: 4px; font-size: 0.8rem; font-weight: 700; color: var(--on-night-soft); }
.cfg-grid .gin { min-height: 46px; font-size: 1rem; }
.cfg-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-checks label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-weight: 600; font-size: 0.9rem; color: #fff; }
.cfg-checks input { width: 20px; height: 20px; }
.toast2 { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 90; padding: 14px 20px; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 20px 40px -10px #000; opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s var(--ease-spring); pointer-events: none; max-width: calc(100vw - 32px); }
.toast2.is-on { opacity: 1; transform: none; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.center-msg { min-height: 40vh; display: grid; place-items: center; text-align: center; gap: 12px; }

/* Bảng điểm sau trận */
.scores { display: grid; gap: 14px; width: min(100%, 860px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 6px; }
.sc { position: relative; display: grid; gap: 12px; padding: 18px; border-radius: 24px; text-align: left; background: var(--gm-panel); box-shadow: inset 0 0 0 2px var(--gm-line);
  animation: scIn 0.6s var(--ease-spring) both; animation-delay: calc(var(--i) * 120ms + 200ms); }
@keyframes scIn { from { opacity: 0; transform: translateY(24px) scale(0.95); } }
.sc.is-win { background: linear-gradient(160deg, #1d5a47, var(--gm-panel) 70%); box-shadow: inset 0 0 0 3px var(--gold), 0 0 40px -6px rgba(253, 191, 23, 0.45); }
.sc__crown { position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5); animation: goPop 0.7s var(--ease-spring) 0.5s both; }
.sc__crown svg { width: 26px; height: 26px; }
.sc__who { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.sc__who .kidcard__ava { width: 56px; height: 56px; font-size: 1.4rem; }
.sc__who b { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; margin-bottom: 4px; }
.sc__time { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); }
.sc__time small { color: var(--on-night-soft); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.sc__time b { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.sc__gain { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: var(--gold); font-family: var(--font-display); font-weight: 800; line-height: 1; }
.sc__gain span { font-size: 2.6rem; }
.sc__gain b { font-size: 4.6rem; font-variant-numeric: tabular-nums; min-width: 1ch; text-align: center; }
.sc__gain small { font-size: 1rem; color: var(--on-night-soft); font-weight: 700; margin-left: 4px; }
.sc__gain.is-zero { color: var(--on-night-soft); }
.sc__gain.is-pop b, .sc__after.is-pop { animation: numPop 0.5s var(--ease-spring); display: inline-block; }
@keyframes numPop { 40% { transform: scale(1.35); } }
.sc__total { text-align: center; color: var(--on-night-soft); font-weight: 600; }
.sc__total b { font-family: var(--font-display); font-size: 1.35rem; color: #fff; font-variant-numeric: tabular-nums; }
.sc__after { color: var(--gold) !important; }
.sc__why, .sc__exp { text-align: center; font-size: 0.85rem; color: var(--on-night-soft); }
.sc__exp { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-weight: 700; }
.sc__fly { position: absolute; left: 50%; top: 52%; translate: -50% 0; font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--gold); pointer-events: none; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); animation: fly 1.2s var(--ease-out) forwards; }
@keyframes fly { from { opacity: 1; transform: translateY(0) scale(0.8); } to { opacity: 0; transform: translateY(-120px) scale(1.4); } }
.msum { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.msum span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 0.85rem; color: var(--on-night-soft); }
.msum b { color: #fff; }
