:root {
  color-scheme: dark;
  --bg: #07091c;
  --panel: rgba(17, 20, 55, .78);
  --ink: #f6f7ff;
  --muted: #9ba4cf;
  --scam: #ff4d80;
  --scam-hot: #ff835d;
  --def: #4de9ff;
  --def-hot: #8d7bff;
  --balance: 50%;
  font-family: "Exo 2", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; background: #050613; }
body {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vh, 58px) clamp(24px, 5vw, 96px);
  color: var(--ink);
  background: #171a1e url("assets/majestic-gta-background.png") center / cover no-repeat fixed;
}
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(8, 10, 27, .18), rgba(4, 5, 15, .48)),
    rgba(4, 6, 18, .12);
  backdrop-filter: blur(1.5px) saturate(.82);
}
button { font: inherit; }

.game-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(88vw, 1320px);
  height: min(86vh, 820px);
  min-height: 580px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 216, 255, .34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 45%, rgba(56, 209, 255, .12), transparent 34%),
    radial-gradient(circle at 18% 44%, rgba(255, 61, 119, .13), transparent 31%),
    linear-gradient(155deg, #11153d 0%, #07091d 52%, #0d1032 100%);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, .74),
    0 0 0 7px rgba(4, 7, 24, .64),
    0 0 52px rgba(74, 208, 255, .16),
    inset 0 1px rgba(255,255,255,.08);
  isolation: isolate;
}

.game-shell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20;
  box-shadow: inset 0 0 110px rgba(0,0,0,.58);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.topbar {
  position: relative; z-index: 30; flex:0 0 62px; height: 62px; padding: 0 clamp(18px, 3vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  border-bottom: 1px solid rgba(135, 159, 255, .15); background: rgba(6, 7, 27, .62);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 11px; font-family: "Arial Black", Arial, sans-serif; letter-spacing: .08em; font-size: .9rem; }
.brand-mark, .mini-shield {
  width: 32px; height: 36px; display: grid; place-items: center; color: #071025; font-weight: 900;
  background: linear-gradient(145deg, #a8f6ff, #44dbee 55%, #8273ff);
  clip-path: polygon(50% 0, 96% 17%, 88% 70%, 50% 100%, 12% 70%, 4% 17%);
  filter: drop-shadow(0 0 12px rgba(71, 226, 255, .45));
}
.level-chip { justify-self: center; display: flex; align-items: center; gap: 9px; color: #cdd3f6; font-weight: 800; font-size: .78rem; letter-spacing: .13em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #5cf2ff; box-shadow: 0 0 12px #5cf2ff; animation: pulse 1.4s ease-in-out infinite; }
.icon-button { justify-self: end; border: 1px solid rgba(141, 158, 224, .25); background: rgba(255,255,255,.055); color: #d9dcff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-weight: 900; }

.duel-panel { position: relative; z-index: 15; flex:0 0 auto; padding: 10px clamp(18px, 4.8vw, 72px) 9px; background: linear-gradient(180deg, rgba(7,8,29,.82), rgba(11,13,41,.48)); }
.duel-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 8px; }
.side-label { display: flex; flex-direction: column; font-size: .78rem; letter-spacing: .1em; }
.side-label strong { font-family: "Arial Black", Arial, sans-serif; font-size: clamp(.95rem, 1.5vw, 1.25rem); }
.side-kicker { color: #858eb8; font-size: .62rem; font-weight: 800; }
.scammer-label strong { color: #ff7198; text-shadow: 0 0 16px rgba(255,70,124,.4); }
.scammer-label { text-align: right; }
.defender-label { text-align: left; }
.defender-label strong { color: #64eaff; text-shadow: 0 0 16px rgba(70,228,255,.4); }

.duel-track { position: relative; height: 21px; overflow: visible; filter: drop-shadow(0 0 12px rgba(93, 117, 255, .25)); }
.duel-track::before { content:""; position:absolute; inset: 6px 0; background: #080a1e; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; }
.beam { position: absolute; top: 7px; height: 8px; transition: width .35s cubic-bezier(.22,.9,.24,1); }
.beam-defender { left: 2px; width: calc(var(--balance) - 2px); border-radius: 99px 0 0 99px; background: linear-gradient(90deg, #23799e, #42e8ff 60%, #a581ff); box-shadow: 0 0 10px #4de8ff, 0 0 24px rgba(70,224,255,.65); }
.beam-scammer { right: 2px; width: calc(100% - var(--balance) - 2px); border-radius: 0 99px 99px 0; background: linear-gradient(90deg, #ff9871, #ff386f 30%, #7b174c); box-shadow: 0 0 10px #ff3e74, 0 0 24px rgba(255,55,111,.65); }
.beam-sparks { position:absolute; inset:0; background: radial-gradient(circle at var(--balance) 50%, #fff 0 2px, #bd96ff 3px 5px, transparent 12px); transition: background-position .35s; }
.clash-core { position: absolute; z-index: 2; left: var(--balance); top: 50%; width: 34px; height: 34px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, #fff 0 10%, #ffd7ff 14%, #9d75ff 28%, transparent 66%); transition: left .35s cubic-bezier(.22,.9,.24,1); animation: clash 1s steps(2) infinite; }
.clash-core::before, .clash-core::after { content:""; position:absolute; inset:-5px; border:1px solid rgba(255,255,255,.65); border-radius:50%; animation: ring 1.2s ease-out infinite; }
.clash-core::after { animation-delay: .6s; }

.arena { position: relative; z-index: 10; flex:1 1 auto; height:auto; min-height:0; overflow: hidden; }
.arena-grid { position:absolute; inset:0; opacity:.15; background-image: linear-gradient(rgba(98,116,204,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(98,116,204,.18) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(600px) rotateX(65deg) scale(1.8) translateY(36%); transform-origin: bottom; }
.pressure-zone, .safe-zone { position:absolute; inset:0 0 0 auto; width:36%; background: radial-gradient(ellipse at right, rgba(255,45,113,.13), transparent 68%); pointer-events:none; }
.safe-zone { right:auto; left:0; background:radial-gradient(ellipse at left, rgba(55,224,255,.14), transparent 68%); }

.caller-card { position:absolute; z-index:4; right:clamp(16px,3.6vw,54px); top:50%; transform:translateY(-50%); width:clamp(150px,17vw,220px); padding:20px 16px 16px; border:1px solid rgba(255,90,137,.26); border-radius:20px; text-align:center; background:linear-gradient(155deg, rgba(59,16,58,.88), rgba(18,12,45,.8)); box-shadow:0 18px 50px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.08); }
.caller-card::before { content:""; position:absolute; inset:-1px; border-radius:20px; background:linear-gradient(120deg, rgba(255,77,128,.4), transparent 35%); mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite:exclude; padding:1px; pointer-events:none; }
.caller-avatar { position:relative; width:68px; height:68px; margin:0 auto 12px; border-radius:50%; display:grid; place-items:center; font:900 2rem "Arial Black", Arial, sans-serif; color:#ffb0c8; background:radial-gradient(circle at 50% 36%, #71264d, #240d31 72%); border:2px solid rgba(255,90,140,.52); box-shadow:0 0 24px rgba(255,50,111,.2); }
.caller-copy { display:flex; flex-direction:column; }
.caller-copy span { color:#ff779e; font-size:.61rem; letter-spacing:.16em; font-weight:900; }
.caller-copy strong { font:900 .9rem "Arial Black", Arial, sans-serif; margin-top:6px; }
.caller-copy small { color:#9299bf; margin-top:3px; }
.signal-rings { position:absolute; inset:0; pointer-events:none; }
.signal-rings span { position:absolute; inset:33% 39%; border:1px solid rgba(255,76,130,.25); border-radius:50%; animation:signal 2.4s ease-out infinite; }
.signal-rings span:nth-child(2){animation-delay:.8s}.signal-rings span:nth-child(3){animation-delay:1.6s}

.phone { position:absolute; z-index:9; left:15%; top:50%; width:74px; height:126px; transform:translate(-50%,-50%); pointer-events:none; will-change:top; }
.phone-glow { position:absolute; inset:-28%; border-radius:50%; background:radial-gradient(ellipse,rgba(73,227,255,.22),transparent 68%); animation:pulse 1.2s ease-in-out infinite; }
.phone-body { position:absolute; inset:0; padding:11px 6px 10px; border:2px solid #7d8990; border-radius:13px; background:linear-gradient(145deg,#4d555a,#171a1d 20%,#090a0c 78%,#3a4044); box-shadow:0 8px 16px rgba(0,0,0,.55),0 0 12px rgba(65,139,170,.34),inset 0 1px rgba(255,255,255,.2); }
.phone-speaker { width:21px; height:3px; margin:0 auto 7px; border-radius:3px; background:#707b81; box-shadow:0 1px #08090a; }
.phone-screen { height:88px; display:grid; place-items:center; border:1px solid #31576a; border-radius:3px; color:#9bf5c4; background:linear-gradient(155deg,#11272f,#071114 64%,#0e3024); box-shadow:inset 0 0 18px rgba(51,199,126,.1); }
.phone-screen span { font:900 1.7rem "Arial Black",Arial,sans-serif; text-shadow:0 0 12px rgba(73,222,148,.65); }
.phone-home { width:10px; height:4px; margin:6px auto 0; border:1px solid #687177; border-radius:4px; }
.phone.hit { animation:phoneHit .22s ease-out; }

.attack { position:absolute; z-index:7; left:87%; top:50%; display:flex; flex-direction:row-reverse; align-items:center; gap:9px; padding:10px 10px 10px 15px; max-width:220px; min-height:44px; border:1px solid rgba(255,119,155,.7); border-radius:18px 99px 99px 18px; color:#fff5f8; background:linear-gradient(250deg,rgba(143,30,76,.92),rgba(75,15,69,.94)); box-shadow:0 0 16px rgba(255,52,113,.35),inset 0 1px rgba(255,255,255,.12); transform:translateY(-50%); will-change:left,transform; }
.attack::before { content:"!"; flex:0 0 auto; width:27px; height:27px; border-radius:50%; display:grid; place-items:center; background:#ff4d7f; box-shadow:0 0 12px rgba(255,76,126,.65); font-weight:900; }
.attack span { font-size:clamp(.7rem,1.05vw,.88rem); font-weight:800; line-height:1.08; }
.attack.safe { border-color:rgba(80,215,145,.78); color:#effff6; background:linear-gradient(250deg,rgba(25,118,74,.96),rgba(14,55,43,.97)); box-shadow:0 0 16px rgba(53,215,133,.28),inset 0 1px rgba(255,255,255,.1); }
.attack.safe::before { content:"✓"; background:#2fbf78; box-shadow:0 0 12px rgba(48,207,125,.45); }
.attack.break { animation:breakAttack .32s ease-out forwards; }
.attack.missed { animation:missAttack .35s ease-in forwards; }

.controls-hint { position:absolute; z-index:8; left:55%; bottom:20px; transform:translateX(-50%); display:flex; align-items:center; gap:10px; padding:8px 13px; border:1px solid rgba(141,161,228,.18); border-radius:13px; background:rgba(8,11,34,.72); color:#d5daf6; transition:opacity .4s; }
.controls-hint.hidden { opacity:0; }
.key-stack { display:flex; gap:4px; }
kbd { display:grid; place-items:center; width:29px; height:29px; border:1px solid rgba(162,177,239,.32); border-bottom-width:3px; border-radius:6px; background:#1a204e; font:700 .72rem "Exo 2"; }
.controls-hint strong,.controls-hint span{display:block}.controls-hint strong{font-size:.68rem;letter-spacing:.08em}.controls-hint span{font-size:.65rem;color:#8e97bf}
.toast { position:absolute; z-index:12; left:50%; top:42%; transform:translate(-50%,-50%) scale(.85); opacity:0; font:900 1.1rem "Arial Black", Arial, sans-serif; letter-spacing:.04em; color:#aef8ff; text-shadow:0 0 16px #40e6ff; pointer-events:none; }
.toast.show { animation:toast .7s ease-out; }
.flash { position:absolute; z-index:11; inset:0; opacity:0; pointer-events:none; background:radial-gradient(circle at 25% 50%,rgba(255,71,126,.32),transparent 45%); }
.flash.show { animation:flash .32s ease-out; }

.game-footer { position:relative; z-index:15; flex:0 0 48px; height:48px; padding:0 clamp(18px,3vw,48px); display:flex; align-items:center; gap:26px; border-top:1px solid rgba(135,159,255,.14); background:rgba(6,7,27,.82); color:#8992ba; font-size:.7rem; font-weight:700; letter-spacing:.04em; }
.game-footer span { display:flex; align-items:center; gap:7px; }.legend-dot{width:7px;height:7px;border-radius:50%}.legend-dot.scammer{background:var(--scam);box-shadow:0 0 8px var(--scam)}.legend-dot.defender{background:var(--def);box-shadow:0 0 8px var(--def)}.legend-dot.safe{background:#36c982;box-shadow:0 0 8px rgba(54,201,130,.8)}.footer-rule{margin-left:auto;color:#c1c7e3!important}
.game-footer b { font:inherit; }

.overlay { position:absolute; z-index:50; inset:0; display:grid; place-items:center; padding:24px; overflow-y:auto; background:radial-gradient(circle at 50% 45%,rgba(27,32,89,.62),rgba(4,5,18,.93)); backdrop-filter:blur(14px); opacity:0; visibility:hidden; transition:opacity .35s,visibility .35s; }
.overlay.visible { opacity:1; visibility:visible; }
.overlay-card { width:min(92vw,560px); text-align:center; padding:clamp(28px,5vh,52px); border:1px solid rgba(127,228,255,.2); border-radius:28px; background:linear-gradient(155deg,rgba(25,30,79,.96),rgba(9,11,36,.98)); box-shadow:0 28px 90px rgba(0,0,0,.54),inset 0 1px rgba(255,255,255,.08); }
.intro-card { width:min(92vw,640px); padding:18px 38px 16px; }
.intro-card h1 { font-size:clamp(2.25rem,4vw,3.2rem); }
.intro-card > p { margin:10px auto; }
.intro-card .intro-rule { margin:10px auto; }
.intro-card .tempo-settings { margin-bottom:10px; padding:11px 14px 10px; }
.eyebrow { color:#63ebff; font-size:.72rem; letter-spacing:.22em; font-weight:900; margin-bottom:16px; }
.eyebrow:empty { display:none; }
.overlay h1,.overlay h2 { margin:0; font:900 clamp(2.2rem,6vw,4.5rem)/.98 "Arial Black", Arial, sans-serif; text-transform:uppercase; letter-spacing:-.035em; }
.overlay h1 em,.overlay h2 em { color:transparent; background:linear-gradient(90deg,#5ceaff,#9883ff);background-clip:text;font-style:normal; }
.overlay-card>p { color:#b2b9dc; line-height:1.55; font-size:1rem; max-width:460px; margin:22px auto; }
.intro-rule { margin:24px auto; display:flex; align-items:center; justify-content:center; gap:14px; padding:13px 16px; width:max-content; max-width:100%; border-radius:14px; background:rgba(78,220,255,.07);border:1px solid rgba(91,227,255,.14);text-align:left;color:#cbd1ef;font-size:.8rem; }
.mini-shield{width:34px;height:40px;flex:0 0 auto}.mini-phone{width:25px;height:40px;flex:0 0 auto;display:grid;place-items:center;border:2px solid #79858b;border-radius:5px;color:#6be7a5;background:#11161a;box-shadow:inset 0 0 0 3px #252b2f;font-weight:900}.intro-rule strong{color:#76efff}.intro-card>small{display:block;margin-top:15px;color:#7f88ad;font-size:.7rem}
.tempo-settings { margin:0 auto 20px; padding:15px 17px 14px; border:1px solid rgba(135,157,229,.16); border-radius:16px; background:rgba(6,10,34,.5); text-align:left; }
.settings-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.settings-title span { color:#dce2ff; font-size:.7rem; font-weight:900; letter-spacing:.12em; }
.settings-title small { color:#747fa9; font-size:.64rem; }
.tempo-control { display:grid; grid-template-columns:1fr auto; align-items:center; gap:7px 14px; color:#aeb7dc; font-size:.76rem; font-weight:800; }
.tempo-control + .tempo-control { margin-top:8px; }
.tempo-control output { min-width:46px; color:#6deaff; font-weight:900; text-align:right; }
.tempo-control input { grid-column:1 / -1; width:100%; height:5px; margin:1px 0; appearance:none; border-radius:99px; outline:none; background:linear-gradient(90deg,#4fe8ff 0 40%,#7f72ff 70%,#ff5c91 100%); cursor:pointer; }
.tempo-control input::-webkit-slider-thumb { appearance:none; width:18px; height:18px; border:3px solid #d7fbff; border-radius:50%; background:#52e7f7; box-shadow:0 0 12px rgba(76,229,255,.8); }
.tempo-control input::-moz-range-thumb { width:13px; height:13px; border:3px solid #d7fbff; border-radius:50%; background:#52e7f7; box-shadow:0 0 12px rgba(76,229,255,.8); }
.tempo-note { margin:11px 0 0; padding-top:9px; border-top:1px solid rgba(133,153,218,.13); color:#727da8; font-size:.64rem; line-height:1.35; text-align:center; }
.primary-button { border:0; min-width:230px; padding:15px 20px; border-radius:12px; color:#071026; background:linear-gradient(110deg,#57eaff,#7fc1ff 54%,#a48cff); box-shadow:0 10px 32px rgba(70,219,255,.25); font-weight:900; letter-spacing:.08em; cursor:pointer; transition:transform .18s,filter .18s; }
.primary-button:hover{transform:translateY(-2px);filter:brightness(1.1)}.primary-button:active{transform:translateY(1px)}.primary-button span{margin-left:8px;font-size:1.1rem}
.primary-button .button-label { margin-left:0; font-size:inherit; }
.secondary-button { display:block; margin:12px auto 0; padding:8px 14px; border:0; background:transparent; color:#8e9ac5; font-size:.68rem; font-weight:900; letter-spacing:.09em; cursor:pointer; }
.secondary-button:hover { color:#64eaff; }
.result-emblem { width:76px;height:84px;margin:0 auto 15px;display:grid;place-items:center;clip-path:polygon(50% 0,96% 17%,88% 70%,50% 100%,12% 70%,4% 17%);background:linear-gradient(145deg,#a8f6ff,#44dbee 55%,#8273ff);color:#071025;font:900 2rem "Arial Black", Arial, sans-serif;filter:drop-shadow(0 0 18px rgba(71,226,255,.55)); }
.result-card.lose .result-emblem{background:linear-gradient(145deg,#ffb06b,#ff4d80 60%,#801f6a);filter:drop-shadow(0 0 18px rgba(255,70,123,.5))}.result-card.lose .eyebrow{color:#ff789d}.result-card.lose h2 em{background:linear-gradient(90deg,#ff9b73,#ff4d82);background-clip:text}
.result-stats { display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:24px 0;background:rgba(132,151,221,.14);border:1px solid rgba(132,151,221,.14);border-radius:13px;overflow:hidden; }
.result-stats div{padding:13px 7px;background:#10143b;display:flex;flex-direction:column;gap:4px}.result-stats span{font-size:.55rem;letter-spacing:.1em;color:#7f89b3;font-weight:800}.result-stats strong{font:900 1.15rem "Arial Black", Arial, sans-serif}

@keyframes pulse{50%{opacity:.55;transform:scale(.92)}}
@keyframes clash{50%{filter:brightness(1.5);transform:translate(-50%,-50%) scale(1.16)}}
@keyframes ring{to{inset:-18px;opacity:0}}
@keyframes signal{0%{inset:33% 39%;opacity:.65}100%{inset:-16%;opacity:0}}
@keyframes orbit{to{transform:rotate(360deg)}}
@keyframes phoneHit{50%{transform:translate(-50%,-50%) scale(1.13);filter:brightness(1.6)}}
@keyframes breakAttack{to{opacity:0;transform:translateY(-50%) scale(1.8) rotate(8deg);filter:blur(7px)}}
@keyframes missAttack{to{opacity:0;transform:translateY(-50%) scale(.35)}}
@keyframes toast{0%{opacity:0;transform:translate(-50%,-20%) scale(.75)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}100%{opacity:0;transform:translate(-50%,-85%) scale(1)}}
@keyframes flash{35%{opacity:1}100%{opacity:0}}

@media (max-width: 760px) {
  body{padding:2vh 2vw}.game-shell{width:96vw;height:96vh;min-height:580px;border-radius:14px}.topbar{height:58px}.brand{font-size:.72rem}.level-chip{font-size:.62rem}.duel-panel{padding-top:9px}.game-footer{height:46px;gap:12px}.game-footer span:not(.footer-rule){display:none}.footer-rule{margin:0 auto!important;text-align:center}.caller-card{width:130px;padding:15px 9px}.caller-avatar{width:52px;height:52px}.caller-copy strong{font-size:.7rem}.phone{left:15%;width:62px;height:106px}.phone-screen{height:73px}.attack{max-width:150px;padding:8px 7px 8px 10px}.attack::before{width:23px;height:23px}.attack span{font-size:.65rem}.controls-hint{left:58%;}.side-label strong{font-size:.8rem}.balance-copy span{display:none}.balance-copy strong{font-size:.78rem}.overlay-card{padding:28px 20px}.overlay h1,.overlay h2{font-size:2.35rem}}
@media (max-height: 760px) and (min-width: 700px) {.topbar{height:52px}.duel-panel{padding-top:7px;padding-bottom:7px}.arena{height:calc(100vh - 160px);min-height:360px}.game-footer{height:42px}.caller-avatar{width:50px;height:50px}.caller-card{padding:12px}.overlay-card{padding:20px 28px}.overlay-card>p{margin:11px auto}.intro-rule{margin:11px auto}.tempo-settings{padding:11px 14px;margin-bottom:12px}.tempo-control + .tempo-control{margin-top:8px}.overlay h1,.overlay h2{font-size:2.25rem}.intro-card>small{margin-top:8px}}

/* Grounded open-world game treatment */
:root { --scam:#f13d78; --scam-hot:#ff6c50; --def:#55bce8; --def-hot:#6d8fa8; }
body::before { background:rgba(3,4,7,.28); backdrop-filter:blur(1px) saturate(.78) contrast(1.06); }
.game-shell {
  border-color:rgba(185,197,207,.42);
  border-radius:5px;
  background:
    linear-gradient(90deg,rgba(25,15,21,.28),transparent 38%,rgba(10,18,23,.26)),
    rgba(8,9,12,.96);
  box-shadow:0 28px 90px rgba(0,0,0,.82),0 0 0 5px rgba(0,0,0,.62),inset 0 1px rgba(255,255,255,.08);
}
.game-shell::before { background:repeating-linear-gradient(0deg,rgba(255,255,255,.009) 0 1px,transparent 1px 5px); box-shadow:inset 0 0 80px rgba(0,0,0,.64); }
.topbar { border-color:rgba(255,255,255,.1); background:rgba(11,12,15,.94); backdrop-filter:none; }
.brand { font-family:Impact,"Arial Narrow",Arial,sans-serif; font-weight:500; letter-spacing:.11em; }
.brand-mark,.mini-shield { color:#111418; background:#cfd7dc; filter:none; }
.level-chip { color:#c6cbd0; }
.live-dot { background:#e83b78; box-shadow:0 0 8px rgba(232,59,120,.75); }
.icon-button { border-color:rgba(255,255,255,.16); border-radius:2px; background:#17191d; color:#e2e5e7; }
.duel-panel { background:rgba(11,12,15,.93); border-bottom:1px solid rgba(255,255,255,.06); }
.side-label strong { font-family:Impact,"Arial Narrow",Arial,sans-serif; font-weight:500; letter-spacing:.08em; }
.scammer-label strong { color:#f05b85; text-shadow:none; }
.defender-label strong { color:#8bc5df; text-shadow:none; }
.duel-track { filter:none; }
.duel-track::before { background:#25272b; border-color:rgba(255,255,255,.13); }
.beam-scammer { background:linear-gradient(90deg,#ff7258,#dc2f69 25%,#671b38); box-shadow:0 0 8px rgba(232,52,107,.5); }
.beam-defender { background:linear-gradient(90deg,#32637a,#5faed2 60%,#b9c7d0); box-shadow:0 0 8px rgba(80,170,210,.45); }
.beam-sparks { opacity:.65; }
.clash-core { width:26px; height:26px; background:radial-gradient(circle,#fff 0 8%,#cdd7dc 16%,#d64b83 28%,transparent 65%); animation-duration:1.5s; }
.arena-grid { opacity:.055; }
.pressure-zone { background:linear-gradient(270deg,rgba(125,22,57,.14),transparent); }
.safe-zone { background:linear-gradient(90deg,rgba(53,114,141,.14),transparent); }
.caller-card { border-color:rgba(240,61,120,.42); border-radius:3px; background:rgba(18,18,21,.94); box-shadow:0 16px 38px rgba(0,0,0,.5); }
.caller-card::before { border-radius:3px; background:linear-gradient(270deg,#e83b78,transparent 28%); }
.caller-avatar { border-radius:2px; color:#d9dde0; background:#24262a; border-color:#5a5e64; box-shadow:none; }
.caller-copy span { color:#ec5687; }
.signal-rings span { border-color:rgba(236,61,119,.16); }
.phone-glow { background:radial-gradient(ellipse,rgba(76,142,168,.16),transparent 64%); }
.attack { border-color:#673044; border-right:3px solid #ee3f78; border-radius:2px; color:#eceef0; background:rgba(24,24,27,.97); box-shadow:0 7px 18px rgba(0,0,0,.5); }
.attack::before { border-radius:2px; background:#d83269; box-shadow:none; }
.attack.safe { border-color:#2d6f51; border-right-color:#3bc985; background:rgba(18,31,25,.98); }
.attack.safe::before { background:#2aa86c; }
.controls-hint { border-radius:2px; border-color:rgba(255,255,255,.14); background:rgba(13,14,17,.9); }
kbd { border-radius:2px; background:#282b30; border-color:#50545a; }
.toast { color:#fff; text-shadow:0 2px 8px #000; font-family:Impact,"Arial Narrow",Arial,sans-serif; font-weight:500; }
.game-footer { border-color:rgba(255,255,255,.09); background:rgba(10,11,14,.95); color:#868b90; }
.overlay { background:rgba(4,5,7,.78); backdrop-filter:blur(3px); }
.overlay-card { border-color:rgba(255,255,255,.18); border-radius:4px; background:rgba(18,19,23,.98); box-shadow:0 24px 70px rgba(0,0,0,.7),inset 0 1px rgba(255,255,255,.05); }
.eyebrow { color:#ea4a7e; }
.overlay h1,.overlay h2 { font-family:Impact,"Arial Narrow",Arial,sans-serif; font-weight:500; letter-spacing:.015em; }
.overlay h1 em,.overlay h2 em { color:#d9dfe2; background:none; }
.overlay-card>p { color:#b2b6ba; }
.intro-rule { border-radius:2px; border-color:rgba(255,255,255,.11); background:#14161a; color:#bfc3c7; }
.intro-rule strong { color:#e6e8e9; }
.tempo-settings { border-radius:2px; border-color:rgba(255,255,255,.12); background:#101114; }
.settings-title span { color:#e2e4e6; }
.settings-title small,.tempo-note { color:#777d82; }
.tempo-control { color:#bfc3c6; }
.tempo-control output { color:#f15a8a; }
.tempo-control input { border-radius:0; background:linear-gradient(90deg,#656a6f,#a8adb0 55%,#e83b78); }
.tempo-control input::-webkit-slider-thumb { width:14px; height:18px; border:2px solid #eceff0; border-radius:1px; background:#dc3c72; box-shadow:none; }
.tempo-control input::-moz-range-thumb { width:10px; height:14px; border:2px solid #eceff0; border-radius:1px; background:#dc3c72; box-shadow:none; }
.primary-button { border-radius:2px; color:#fff; background:#d8326b; box-shadow:0 7px 18px rgba(0,0,0,.38); }
.primary-button:hover { filter:brightness(1.08); }
.secondary-button:hover { color:#ed5a89; }
.result-emblem { background:#cfd5d8; filter:none; }
.result-card.lose .result-emblem { background:#db3d73; filter:none; }
.result-card.lose .eyebrow { color:#ed5988; }
.result-card.lose h2 em { color:#e86a82; background:none; }
.result-stats { border-radius:2px; background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.1); }
.result-stats div { background:#15171b; }
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
