/* SLING PUCK – HERITAGE EDITION V2 | Full-width responsive portrait game */
:root{color-scheme:dark;--ink:#f7ead5;--muted:#b9ab96;--gold:#e3b46e;--panel:#151a25}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#0b0d14}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.app{width:100%;height:100vh;height:100dvh;max-width:none;margin:0;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 50% 51%,#393027 0%,#181b23 59%,#0c111b 100%)}
.topbar{height:56px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px clamp(13px,2.8vw,32px);background:linear-gradient(90deg,#111622fa,#181923f3,#111622fa);border-bottom:1px solid #b18c5559;z-index:5}
.brand{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:.12em;font-weight:650;line-height:1;white-space:nowrap}
.brand strong{color:#efc483}.brand small{display:block;color:#b89f83;letter-spacing:.2em;font-size:8px;font-weight:800;margin-top:7px}
.brand-mark{font-size:28px;color:#e6b265;text-shadow:0 0 13px #eaa54670}
.tools{display:flex;gap:9px}.icon-button{height:36px;width:38px;border:1px solid #cca16b67;border-radius:10px;background:linear-gradient(160deg,#ffffff18,#ffffff04);color:#f3dbb4;font-size:21px;line-height:1}.icon-button:active{transform:scale(.96)}
.scoreboard{z-index:3;flex:none;min-height:65px;display:grid;grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);align-items:center;padding:7px clamp(13px,3vw,36px);gap:6px;border-bottom:1px solid #a3805057;background:linear-gradient(180deg,#272631,#151924)}
.score{display:flex;align-items:center;gap:8px;min-width:0}.score--player{justify-content:flex-end}.score--player .score-avatar{order:3}.score--player .score-name{order:2}.score--player strong{order:1}
.score-avatar{height:25px;min-width:25px;border-radius:100px;display:grid;place-items:center;color:#251913;background:#cfac72;font-size:9px;font-weight:950;box-shadow:inset 0 0 0 1px #ffffff37}
.score--opponent .score-avatar{background:#62595b;color:#f3e8d9}
.score-name{font-size:10px;letter-spacing:.11em;color:#dfc9a8;font-weight:900;white-space:nowrap}
.score strong{font-size:26px;color:#f7e2c5;line-height:1;font-variant-numeric:tabular-nums}
.timer{text-align:center}.timer span{display:block;color:#bdab95;font-size:8px;letter-spacing:.2em;font-weight:800}.timer strong{display:block;color:#fff3de;font-size:19px;letter-spacing:.06em;font-variant-numeric:tabular-nums;margin-top:5px}
.arena{flex:1;min-height:0;position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 48%,#403328 0%,#28252a 42%,#131824 76%,#090d17 100%);touch-action:none}
.arena:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.3;background:repeating-linear-gradient(90deg,transparent 0,transparent 27px,#ffffff05 28px,#00000006 32px)}
.arena-glow{position:absolute;inset:-7%;background:radial-gradient(ellipse at 50% 50%,transparent 20%,#080d166b 91%);z-index:1;pointer-events:none}
.game-canvas{position:absolute;inset:0;z-index:0}.game-canvas canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
.board-hint{position:absolute;left:0;right:0;text-align:center;z-index:2;color:#ffe6be;pointer-events:none;letter-spacing:.2em;font-size:9px;font-weight:950;text-shadow:0 2px 6px #000e}
.board-hint--top{top:7px}.board-hint--bottom{bottom:7px}
/* On desktop the free area becomes useful and attractive instead of a black strip */
.side-note{display:none;position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:min(21vw,226px);pointer-events:none;padding:22px 17px;border:1px solid #e4b77235;border-radius:16px;background:linear-gradient(140deg,#281f1a91,#1419266b);box-shadow:inset 0 1px #ffffff10,0 18px 40px #0003;backdrop-filter:blur(3px)}
.side-note--left{left:3.5%}.side-note--right{right:3.5%}
.note-kicker{display:block;font-size:9px;letter-spacing:.24em;color:#e5b774;font-weight:900;margin-bottom:10px}
.side-note strong{display:block;font-family:Georgia,serif;font-size:clamp(16px,2vw,25px);font-weight:600;line-height:1.18;color:#fbe9cc;letter-spacing:.015em}
.side-note p{margin:12px 0 0;color:#c9b7a0;font-size:12px;line-height:1.55}
.note-rule{display:block;height:2px;width:35px;margin:15px 0 0;background:linear-gradient(90deg,#e6b96e,transparent)}
.footer{min-height:56px;flex:none;display:flex;align-items:center;gap:12px;padding:7px clamp(13px,3vw,36px);background:linear-gradient(90deg,#141925,#191d28,#141925);border-top:1px solid #b28c5560;z-index:3}
.legend-icon{height:34px;width:34px;flex:none;border-radius:12px;background:#d2a35a20;border:1px solid #d2a35a55;display:grid;place-items:center;color:#efbd74;font-size:23px;transform:rotate(-45deg)}
.footer b{display:block;font-size:10px;letter-spacing:.13em;color:#f4d39b}.footer small{display:block;font-size:11px;color:#ada298;margin-top:4px;line-height:1.22}
.power-readout{margin-left:auto;font-size:10px;letter-spacing:.09em;white-space:nowrap;color:#e7bd73;font-weight:950}
.overlay{position:absolute;inset:0;z-index:6;display:grid;place-items:center;background:#070910a5;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:18px;transition:opacity .2s}
.overlay.hidden{opacity:0;pointer-events:none;visibility:hidden}
.start-card{text-align:center;width:min(100%,355px);padding:29px 25px 25px;border-radius:22px;background:linear-gradient(145deg,#302d2bed,#171b22f7);border:1px solid #e7b57388;box-shadow:0 24px 60px #000a,inset 0 1px #fff2}
.eyebrow{font-size:9px;color:#f0c17b;letter-spacing:.23em;font-weight:900}.gem{color:#e4ac63;text-shadow:0 0 35px #e6ad51a0;font-size:44px;margin:8px 0 0}
.start-card h1{margin:0;font-size:34px;line-height:1.1;letter-spacing:.05em;color:#fae9d0;text-shadow:0 2px 0 #694322}
.start-card p{color:#cec4b7;line-height:1.58;font-size:13px;max-width:280px;margin:17px auto 20px}
.primary-button{width:100%;border:0;border-radius:11px;padding:15px;background:linear-gradient(120deg,#f6cc7c,#be843e);color:#25180d;font-size:12px;letter-spacing:.16em;font-weight:950;box-shadow:0 9px 21px #0007}.primary-button span{margin-left:10px;font-size:17px}.primary-button:active{transform:translateY(2px)}.microcopy{display:block;color:#a79b8d;letter-spacing:.12em;font-size:9px;margin-top:15px}
.toast{position:absolute;bottom:29px;left:50%;transform:translateX(-50%);z-index:4;background:#111723ec;padding:10px 15px;border:1px solid #ad8a57aa;border-radius:30px;color:#ffddb0;font-size:12px;text-align:center;max-width:90%;white-space:normal;opacity:0;pointer-events:none;transition:opacity .25s}.toast.show{opacity:1}
@media (min-width:850px) and (min-height:530px){.side-note{display:block}}
@media (max-width:510px){.topbar{height:52px;padding:7px 12px}.brand{font-size:15px;gap:7px}.brand-mark{font-size:23px}.brand small{font-size:7px}.icon-button{height:33px;width:35px}.scoreboard{min-height:59px;grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);padding:7px 11px}.score{gap:5px}.score-avatar{height:23px;min-width:23px;font-size:8px}.score-name{font-size:8px;letter-spacing:.055em}.score strong{font-size:22px}.timer span{font-size:7px}.timer strong{font-size:18px}.footer{min-height:54px;gap:9px;padding:6px 11px}.footer b{font-size:9px;letter-spacing:.08em}.footer small{font-size:9px;max-width:225px}.power-readout{font-size:9px}.board-hint{font-size:8px}}
@media (max-width:355px){.score-name{font-size:7px}.score strong{font-size:19px}.footer small{max-width:175px}.power-readout{font-size:8px}.start-card{padding:22px 16px}.start-card h1{font-size:28px}}
@media (max-height:580px){.topbar{height:45px}.scoreboard{min-height:47px}.score-avatar{height:22px;min-width:22px}.score strong{font-size:20px}.footer{min-height:45px}.footer small{display:none}.board-hint--top{top:3px}.board-hint--bottom{bottom:3px}.start-card{padding:16px 18px}.start-card p{margin:8px auto 12px}.gem{font-size:28px}}

/* ===========================================================
   V3 — ELASTIC EDITION: premium walnut / engraved gold finish
   =========================================================== */
:root{--gold:#edc77f;--ink:#fff0d7;--panel:#10131b}
.app{background:radial-gradient(ellipse at 50% 49%,#4a3021 0%,#212028 58%,#090e17 100%)}
.topbar{position:relative;background:linear-gradient(95deg,#0c141c 0%,#24201f 50%,#0d121c 100%);border-bottom:1px solid #ddab6488;box-shadow:0 3px 20px #05050777}
.topbar:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#f3d18f99,transparent)}
.brand-mark{color:#ffdc8e;text-shadow:0 1px 10px #f7b94a99;filter:drop-shadow(0 2px 1px #2c120e)}
.brand strong{color:#ffd58a}
.brand small{color:#d3ad83;letter-spacing:.17em}
.icon-button{border-color:#e2b77b7a;background:linear-gradient(145deg,#4e3a2866,#121824);color:#ffe0a1;box-shadow:inset 0 1px #ffffff1d,0 3px 8px #0005}
.icon-button:hover{background:linear-gradient(145deg,#76553699,#1d2431);border-color:#e9c583}
.scoreboard{background:linear-gradient(180deg,#322721,#141a24);border-bottom:1px solid #e2ae6a6b}
.score-avatar{box-shadow:inset 0 0 0 1px #ffffff69,0 1px 8px #0006}
.score--player strong{color:#ffe1a4}
.score--opponent strong{color:#f5d6bb}
.timer strong{color:#ffe5ad;text-shadow:0 0 15px #eeb76e45}
.arena{background:radial-gradient(ellipse at 50% 51%,#5a3520 0%,#302425 41%,#171a23 72%,#0a1019 100%)}
.arena:before{opacity:.24}
.arena-glow{background:radial-gradient(ellipse at 50% 49%,#ffb64a09 0%,transparent 45%,#090c1599 100%)}
.side-note{border-color:#e8b96855;background:linear-gradient(150deg,#372b22c2,#131a26b5);box-shadow:inset 0 1px #ffffff19,0 14px 44px #0005}
.note-kicker{color:#f1ca8c}
.board-hint{color:#f9dcb3;letter-spacing:.28em;text-shadow:0 2px 6px #000f}
.footer{background:linear-gradient(100deg,#141b23,#2c221f,#141b23);border-top:1px solid #d5a86679;box-shadow:0 -4px 18px #070a0d80;gap:12px}
.legend-icon{font-family:Georgia,serif;font-size:30px;transform:none;background:linear-gradient(150deg,#543923,#241e1b);color:#f5cb85;border-color:#f2c47f82}
.legend-copy{min-width:0}
.legend-copy b{color:#ffdb9b;letter-spacing:.11em}
.legend-copy small{color:#dfc5a7}
.meter{margin-left:auto;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:5px;min-width:104px;width:min(18%,160px)}
.meter-track{width:100%;height:7px;border-radius:100px;overflow:hidden;background:#060a10;border:1px solid #b38b5f66;box-shadow:inset 0 1px 3px #000b}
.meter-track i{display:block;width:0%;height:100%;background:linear-gradient(90deg,#bb6235,#ffb95e,#fff0b9);border-radius:100px;box-shadow:0 0 14px #ffaf5677;transition:width 50ms linear}
.power-readout{margin:0;color:#f6d18c;line-height:1;letter-spacing:.08em}
.overlay{background:#070a10bf;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.start-card{position:relative;overflow:hidden;background:linear-gradient(150deg,#503724fa 0%,#282320fa 48%,#111a25fb 100%);border:1px solid #e7b573b8;box-shadow:0 27px 80px #000c,inset 0 1px #fff3}
.start-card:before{content:"";position:absolute;inset:6px;border:1px solid #eebc6840;border-radius:17px;pointer-events:none}
.start-card h1{color:#ffe5bc;text-shadow:0 2px 0 #66391c,0 0 20px #bd7d4333}
.start-card p{color:#e6d3b8}
.gem{color:#ffd08b}
.primary-button{background:linear-gradient(120deg,#ffe2a4 0%,#e7b566 45%,#ad702e 100%);box-shadow:0 8px 20px #0009,inset 0 1px #fff9}
.primary-button:hover{filter:brightness(1.08)}
.toast{border-color:#e7b56eaa;background:#201810ef;color:#ffe2a7;box-shadow:0 7px 25px #0008}
@media(max-width:510px){
  .brand small{letter-spacing:.08em;font-size:6.5px}
  .footer{gap:8px}
  .legend-icon{height:30px;width:30px;font-size:25px}
  .legend-copy b{font-size:8.5px;letter-spacing:.03em}
  .legend-copy small{font-size:8px;max-width:205px}
  .meter{min-width:73px;width:24%;gap:4px}
  .meter-track{height:6px}
  .power-readout{font-size:8px;letter-spacing:0}
}
@media(max-width:375px){
  .legend-copy small{max-width:170px}
  .meter{min-width:67px;width:22%}
}

/* V4: camera-matched high-contrast rubber overlay, never blocks touches */
.game-canvas > .elastic-overlay{position:absolute;inset:0;display:block;z-index:2;pointer-events:none;user-select:none;-webkit-user-select:none;}
.game-canvas > canvas:first-child{position:absolute;inset:0;z-index:1;}

/* V5: elastic-powered interaction and tactile premium controls */
.game-canvas{touch-action:none!important;cursor:grab}
.game-canvas:active{cursor:grabbing}
.game-canvas>canvas{touch-action:none!important}
.meter-track{height:9px;box-shadow:inset 0 1px 5px #000d,0 0 0 1px #e8b96338}
.meter-track i{background:linear-gradient(90deg,#c34825 0%,#e69a3c 42%,#fff0b3 100%);box-shadow:0 0 14px #ffb85da8}
.start-card{border:1px solid #ffd398d6}
.primary-button{cursor:pointer}
@media(max-width:510px){.meter-track{height:7px}}


/* ----------------------------------------------------------
   V6 ROYAL WOOD EDITION — new visual system, mobile-first HUD
   ---------------------------------------------------------- */
:root { --rosewood: #351f17; --royal-gold: #ffdfa0; --finegold:#d5a968; --glass:#18202bea; }
html,body { background:#0b1017; }
.app { background:radial-gradient(ellipse at 50% 40%,#52331c 0%,#241e20 51%,#101722 85%,#0c111a 100%); }
.topbar { height:69px; min-height:59px; padding:9px clamp(16px,3vw,48px); background:linear-gradient(104deg,#101822,#221f20 38%,#33251e 55%,#101722); border-bottom:1px solid #d6a75b70; box-shadow:0 6px 28px #04060975; }
.topbar:before { content:""; position:absolute; left:0; top:0; width:100%; height:2px; background:linear-gradient(90deg,transparent,#9d733e,#f5d497,#a77d46,transparent); opacity:.9; }
.brand { gap:13px; line-height:1.05; letter-spacing:.15em; font-size:19px; font-weight:850; }
.brand-mark { width:43px; height:43px; border:1px solid #dcb876c9; border-radius:13px; display:grid; place-items:center; background:radial-gradient(circle at 30% 23%,#8b5838,#2d211d 65%,#131b22); box-shadow:inset 0 1px 0 #fff3,0 3px 16px #000a,0 0 0 3px #d6a75a18; transform:rotate(-6deg); }
.brand-mark span { transform:rotate(6deg); color:#ffe0a0; font-size:27px; text-shadow:0 0 12px #e4ad6499; }
.brand-type { white-space:nowrap; }.brand-type strong { color:#f7cb7c; font-weight:950; }
.brand-type small { font-size:8px; letter-spacing:.22em; color:#c9ac81; margin-top:7px; }
.brand-type i { padding:0 3px; font-style:normal; color:#d6b078; }
.header-right { display:flex; align-items:center; gap:21px; }
.mode-chip { display:flex; align-items:center; gap:8px; border:1px solid #cc9a5e63; border-radius:30px; background:#d59f5d10; padding:8px 12px; font-size:10px; letter-spacing:.18em; font-weight:850; color:#f7dbb0; white-space:nowrap; }
.mode-chip em { font-size:9px; color:#9e9689; font-style:normal; letter-spacing:0; }
.status-dot { width:7px; height:7px; border-radius:100px; background:#edc87c; box-shadow:0 0 12px #f7be50; }
.tools { gap:9px; }.icon-button { height:40px; width:41px; font-size:23px; border-radius:12px; }
.scoreboard { min-height:74px; grid-template-columns:minmax(0,1fr) minmax(100px,144px) minmax(0,1fr); padding:9px clamp(16px,3vw,48px); gap:12px; background:linear-gradient(180deg,#32271f,#1d2028); box-shadow:inset 0 1px #f2bb8133; }
.score { gap:12px; }.score-avatar { height:35px; min-width:35px; border:1px solid #ffffff5b; box-shadow:0 2px 6px #0008,inset 0 1px #ffffff50; border-radius:11px; background:linear-gradient(145deg,#e6c18a,#8e5929); font-size:9px; }
.avatar-ai { background:linear-gradient(145deg,#8a7b77,#2b2528)!important; color:#fff1df!important; }.avatar-you { background:linear-gradient(145deg,#f6dca1,#ae6f33)!important; color:#2d1b11!important; }
.score-meta { display:flex; flex-direction:column; gap:4px; min-width:0; }.score-meta small { font-size:8px; color:#b6a18c; letter-spacing:.18em; font-weight:900; }.score-name { font-size:11px; letter-spacing:.1em; }
.score strong { margin-left:6px; font-size:28px; font-family:Georgia,serif; text-shadow:0 1px #000; }
.score--player .score-avatar { order:0; }.score--player .score-meta { order:1; }.score--player strong { order:2; margin-left:6px; }.score--player { justify-content:flex-end; }
.timer { padding:4px 10px; border-inline:1px solid #daa96938; }.timer span { font-size:8px; color:#d6b17d; letter-spacing:.15em; }.timer strong { font-family:Georgia,serif; font-size:25px; font-variant-numeric:tabular-nums; margin-top:2px; }
.arena { background:radial-gradient(ellipse at 50% 52%,#563820 0%,#32271e 37%,#151b26 69%,#0d151f 100%); }
.arena:before { opacity:.11; background:repeating-linear-gradient(90deg,#ffffff03 0 2px,transparent 2px 46px); }
.ambient-spark { position:absolute; z-index:0; border-radius:100%; filter:blur(45px); pointer-events:none; opacity:.20; }
.ambient-spark--one { width:360px;height:360px;top:15%;left:-100px;background:#d79644; }
.ambient-spark--two { width:320px;height:320px;bottom:3%;right:-50px;background:#a66034; }
.arena-glow { background:radial-gradient(ellipse at 50% 50%,transparent 22%,#090e1863 89%,#03081390 100%); }
.side-note { width:min(23vw,256px); padding:24px 23px; border-radius:18px; border:1px solid #b68b4c79; background:linear-gradient(145deg,#423022de,#151d28d4); box-shadow:0 18px 50px #0006,inset 0 1px #ffffff1c; }
.side-note--left {left:3.3%;}.side-note--right {right:3.3%;}
.side-number { color:#f9d5a0; font-family:Georgia,serif; font-size:38px; line-height:1; padding-bottom:25px; }
.side-number span { font-family:inherit; font-size:10px; letter-spacing:.08em; color:#c8ab83; }
.note-kicker { font-size:9px; letter-spacing:.2em; }
.side-note strong { font-size:clamp(20px,2.25vw,30px); color:#fff0d5; line-height:1.13; }
.side-note p { font-size:12px; color:#d8c5a6; line-height:1.65; }.side-note p b { color:#fff0d5; }
.aside-info { margin-top:20px; padding:11px 10px; font-size:9px; font-weight:900; letter-spacing:.1em; color:#eac17f; border-top:1px solid #e8b76a47; }.aside-info span { float:right; color:#fff0d1; }
.board-hint { font-size:9px; letter-spacing:.23em; opacity:.82; }
.board-hint--top { top:8px; }.board-hint--bottom { bottom:8px; }
.grab-badge { position:absolute; z-index:2; top:30px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:8px; white-space:nowrap; border:1px solid #b79c6b7a; border-radius:25px; background:#131b24e8; box-shadow:0 3px 17px #0005; padding:7px 12px; font-size:9px; font-weight:900; letter-spacing:.13em; color:#d5c29d; pointer-events:none; transition:background .15s,border .15s,color .15s; }
.grab-pulse { width:7px; height:7px; background:#dca965; border-radius:50%; box-shadow:0 0 8px #e7b466; }
.grab-badge.active { color:#22180f; border-color:#ffe7a4; background:linear-gradient(95deg,#fff1bc,#d9a65f); }.grab-badge.active .grab-pulse {background:#392217;box-shadow:0 0 9px #7c481d;}
.arena.is-grabbing .game-canvas { cursor:grabbing!important; }
.footer { min-height:70px; padding:11px clamp(16px,3vw,48px); background:linear-gradient(105deg,#0e1823,#30241c,#0e1823); border-top:1px solid #d0a16373; }
.legend-icon { height:42px; width:42px; border-radius:12px; background:linear-gradient(150deg,#6c4525,#2c2625); border:1px solid #e5be7a95; box-shadow:inset 0 1px #ffedbd53; font-size:30px; }
.legend-copy b { font-size:11px; font-weight:900; letter-spacing:.12em; }.legend-copy b span {padding:0 4px;color:#f9dfa3;}
.legend-copy small { margin-top:7px; color:#ccbea7; font-size:11px; }
.meter { width:min(30%,270px); min-width:160px; margin-left:auto; gap:8px; }
.meter-header { display:flex; align-items:center; justify-content:space-between; width:100%; gap:6px; }
.meter-header>span:first-child { font-size:9px; font-weight:900; letter-spacing:.13em; color:#cdb595; }
.power-readout { font-size:10px; }.meter-track { width:100%; height:11px; border:1px solid #9c794f; background:#090d11; border-radius:30px; box-shadow:inset 0 2px 6px #000b; }
.meter-track i { background:linear-gradient(90deg,#c66c36,#f1b45c,#fff1b5); box-shadow:0 0 17px #e7a45ba0; }
.overlay { background:#070b12bb; backdrop-filter:blur(8px); }
.start-card { width:min(100%,430px); padding:31px 34px 29px; border-radius:22px; background:linear-gradient(145deg,#4a3325 0%,#2e2827 52%,#131d27 100%); box-shadow:0 31px 92px #000e,inset 0 1px #fff2,0 0 0 5px #b88a4617; border:1px solid #e6b978; }
.start-card:before { inset:8px; border-radius:16px; }.card-topleft,.card-topright { position:absolute; z-index:1; top:15px; font-size:16px; color:#d1ad6e; }.card-topleft {left:17px}.card-topright {right:17px}
.eyebrow { letter-spacing:.19em; font-size:9px; color:#f9daa3; }
.gem { margin:12px 0 4px; font-size:51px; text-shadow:0 0 20px #e6bc74bb; }.gem span { display:inline-block; filter:drop-shadow(0 3px 3px #0006); }
.edition { font-size:9px; letter-spacing:.28em; font-weight:900; color:#dbb980; margin:10px 0 10px; }
.start-card h1 { font-family:Georgia,serif; letter-spacing:.06em; font-size:37px; font-weight:900; }
.start-card p { max-width:335px; font-size:13px; color:#e3d3bb; margin:14px auto 17px; line-height:1.58; }
.feature-row { display:flex; align-items:center; gap:6px; justify-content:center; flex-wrap:wrap; margin:6px 0 19px; }
.feature-row span { font-size:8px; font-weight:900; color:#ebc58a; padding:7px 8px; border:1px solid #d2a66a57; border-radius:30px; background:#fae5bc0b; white-space:nowrap; letter-spacing:.045em; }
.primary-button { font-size:13px; height:52px; border-radius:12px; letter-spacing:.15em; box-shadow:0 9px 25px #0008,inset 0 1px #fff9; }
.primary-button:hover { transform:translateY(-1px); }.primary-button:active {transform:translateY(1px)}
.microcopy { font-size:9px; letter-spacing:.13em; color:#c3a98b; margin-top:16px; }.microcopy span {padding:0 7px;color:#f0c789}
.toast { bottom:13px; z-index:4; font-weight:900; letter-spacing:.08em; }
@media (min-width:1100px) and (min-height:560px) { .side-note{display:block} }
@media (max-width:720px) { .mode-chip { display:none; } .topbar { height:57px; padding:8px 13px; }.brand { font-size:16px; gap:9px; }.brand-mark {width:36px;height:36px;}.brand-mark span{font-size:24px}.brand-type small{font-size:7px}.icon-button{height:35px;width:36px;}.scoreboard{min-height:66px;padding:8px 13px;grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);gap:5px}.score{gap:6px}.score-avatar{height:29px;min-width:29px;border-radius:9px}.score-name{font-size:10px}.score strong{font-size:25px;margin-left:0}.score-meta small{font-size:7px}.timer strong{font-size:23px}.timer span{font-size:7px}.footer{min-height:61px;padding:8px 12px;gap:9px}.legend-icon{width:34px;height:34px;font-size:26px}.legend-copy b{font-size:10px;letter-spacing:.025em}.legend-copy small{font-size:9px;margin-top:4px}.meter{width:35%;min-width:100px}.meter-header>span:first-child{font-size:7px}.power-readout{font-size:8px}.grab-badge{top:27px;padding:6px 9px;font-size:8px}.board-hint{font-size:8px}.start-card{padding:28px 19px 23px}}
@media (max-width:420px) { .brand{font-size:14px}.brand-type small{font-size:6.5px}.scoreboard{grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr);min-height:59px;padding:7px 9px}.score{gap:4px}.score-avatar{min-width:25px;height:25px;font-size:8px}.score-name{font-size:8px}.score-meta small{font-size:6.5px}.score strong{font-size:22px}.timer span{font-size:6px;letter-spacing:.02em}.timer strong{font-size:19px}.footer{min-height:58px;gap:6px}.legend-icon{display:none}.legend-copy b{font-size:9px}.legend-copy small{font-size:8px}.meter{width:44%;min-width:100px;gap:5px}.meter-header>span:first-child{font-size:6px}.power-readout{font-size:7px}.meter-track{height:8px}.brand-mark{width:32px;height:32px}.topbar{height:51px;min-height:51px}}
@media (max-width:335px) { .score-avatar{display:none}.brand-type small{letter-spacing:.08em}.start-card h1{font-size:31px}.feature-row{gap:4px}.feature-row span{padding:5px;font-size:7px}.score-name{font-size:7px}.meter-header>span:first-child{display:none} }
@media (max-height:650px) { .topbar{height:48px;min-height:48px}.scoreboard{min-height:48px}.footer{min-height:48px}.board-hint--top{top:3px}.board-hint--bottom{bottom:3px}.grab-badge{top:23px}.start-card{max-height:95%;overflow:auto}.gem{font-size:31px;margin:4px 0}.start-card p{margin:7px auto 10px}.feature-row{margin-bottom:10px}.primary-button{height:44px}.start-card h1{font-size:30px} }
@media (prefers-reduced-motion:reduce) { .ambient-spark,.grab-pulse{animation:none!important} }

/* ===========================================================
   V7 — PREMIUM CLEAN BOARD: lighter luxury interface
   =========================================================== */
:root{--gold:#f0c47a;--ink:#fff5e7;--muted:#dbc8ae;--panel:#111722}
html,body{background:#090d15}
.app{background:radial-gradient(ellipse at 50% 48%,#5a3a25 0%,#26222a 54%,#0b1018 100%)}
.topbar{background:linear-gradient(92deg,#111925f2,#31251df4 48%,#111925f2);border-bottom:1px solid #e0b36a6d;box-shadow:0 8px 24px #0005}
.scoreboard{background:linear-gradient(180deg,#3b2d23,#1a1f2a);border-bottom:1px solid #d7a56255}
.arena{background:radial-gradient(ellipse at 50% 50%,#68452c 0%,#382c24 36%,#161c28 69%,#0a1118 100%)}
.arena-glow{background:radial-gradient(ellipse at 50% 48%,#ffc36b10 0%,transparent 42%,#08101a88 100%)}
.side-note{border-color:#cda36a6d;background:linear-gradient(145deg,#4f3828d0,#18212dd8)}
.grab-badge{background:#141c26f2;border-color:#d0a66688;box-shadow:0 8px 28px #0006}
.grab-badge.active{background:linear-gradient(95deg,#fff4c8,#dfa75f);border-color:#ffe7a8;box-shadow:0 10px 32px #0007}
.footer{background:linear-gradient(100deg,#101722,#37291f,#101722);border-top:1px solid #d0a06076}
.meter-track{background:#0b1014;border-color:#b98b4c}
.start-card{background:linear-gradient(145deg,#563c2a 0%,#2f2928 48%,#16202c 100%);border-color:#edbe77;box-shadow:0 30px 90px #000d,inset 0 1px #fff3,0 0 0 5px #c5914417}
.primary-button{background:linear-gradient(120deg,#ffd890,#ca8340);color:#24180f}
.toast{background:#111824ee;border-color:#c9995fbb;color:#ffe7c2}

/* V8 minor UI polish */
.brand-type small{color:#e0ba8a}.scoreboard{box-shadow:inset 0 1px #ffd59c29}.footer{box-shadow:inset 0 1px #ffd08a1a}

/* V9 puck branding */
.brand strong{color:#ffd699}.brand-type small{color:#e7c395}

/* V10 fine polish */
.brand-type small{color:#efca97}
