/* Electric Teal brand system — shared by the website and frame simulator. */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900;1000&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--bg:#101b35;--panel:#162540;--panel2:#1b2e4b;--surface:#162540;--teal:#00cdb5;--gold:var(--teal);--coral:#ff655c;--line:#38516b;--text:#fff;--white:#fff;--muted:#b7cad9;--soft:#c4d4e2}
body{background:var(--bg);color:var(--text);font-family:'DM Sans',Arial,sans-serif}
h1,h2,h3,.intro h1,.playerhead,.metric b,.score strong,.scorebox strong{font-family:'Nunito',Arial,sans-serif;font-weight:1000;font-style:normal;letter-spacing:-.035em}
h1,.intro h1{color:white;line-height:1.02;letter-spacing:-.045em}h1{font-size:clamp(58px,7.5vw,104px)}h2{line-height:1.12}h3{letter-spacing:-.025em}
p{color:#c4d4e2}a,button,select,input{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--coral);outline-offset:4px}
.nav{background:#0c162c;border-color:#2a4059}.nav .wrap{height:auto;min-height:92px;gap:22px}.brand{display:inline-flex;flex-shrink:0;line-height:0;font-style:normal}.brand-logo{display:block;width:238px;height:80px;object-fit:contain}.footer .brand-logo{width:260px;height:88px}.links{gap:22px;font-weight:700}.links a:hover{color:var(--teal)}
.eyebrow{color:var(--teal);font-weight:900;letter-spacing:2px}.lead{font-family:'Nunito',Arial,sans-serif;font-weight:900;font-style:normal;color:var(--teal);font-size:22px;line-height:1.3}
.hero{background:radial-gradient(ellipse at 80% 20%,#164b55 0%,transparent 55%),linear-gradient(120deg,#101b35,#102239);border-color:#2a485f}.hero .wrap{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;min-height:520px;padding-top:58px;padding-bottom:58px}
.goldbtn,.ghostbtn,.borderbtn,a.back,.run,.presets button,.btn,.controls button,.choicegrid button{border-radius:14px;font-weight:800;transition:background .18s,transform .18s,border-color .18s}
.goldbtn,.run{background:var(--teal);color:#081e2c;border:1px solid var(--teal);box-shadow:none}.goldbtn:hover,.run:hover{background:#39e2ce;transform:translateY(-2px)}
.ghostbtn,.borderbtn,a.back{background:transparent;border:1px solid #496582;color:#fff}.ghostbtn:hover,.borderbtn:hover,a.back:hover{background:#20354f;border-color:var(--teal)}
.strip{background:#142940;border-color:#2a485f}.strip b{font-family:'Nunito',Arial,sans-serif;font-weight:1000;font-style:normal;color:var(--teal)}.section.alt{background:#0d172c}
.card,.panel{background:#162540;border:1px solid #38516b;border-radius:20px;box-shadow:0 10px 28px #06112322}.card .big{font-family:'Nunito',Arial,sans-serif;font-style:normal;font-weight:1000;color:var(--teal)}.card h3{font-size:25px}
.demo{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}.simgrid{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}.demo>*,.simgrid>*,.layout>*{min-width:0}
.scalecaption,.notice,.notice small,.muted,.metric span{color:var(--muted)}.shot,.cell{border-color:#496582;border-radius:10px}.shot.done,.cell.done{background:#17504e}.shot.current,.cell.current{border-color:var(--teal);color:var(--teal);background:#123c43}
.banner{background:#00cdb51a;color:#54efdb;border:1px solid #00cdb555;border-radius:12px}.scorebox,.score{border:1px solid #38516b;background:#111f36;border-radius:14px;color:#c4d4e2}.score.active{border-color:var(--teal);background:#00cdb512;box-shadow:inset 0 0 0 1px var(--teal)}
.controls button,.choicegrid button,.btn,.presets button{background:#233d59;border-color:#496582;color:white}.controls button:hover:not(:disabled),.choicegrid button:hover:not(:disabled),.btn:hover:not(:disabled),.presets button:hover{background:#315774;border-color:var(--teal)}
.controls .red,.controls .foul,.choicegrid .red,.choicegrid .foul{background:#8f293e;border-color:#dc6174}.controls .blue{background:#2352a5;border-color:#638ee2}
.choicegrid .safe{background:#155050;border-color:#32a998}.choicegrid .not-safe{background:#563346;border-color:#c47586}.choicegrid .red.safe{background:#8f293e;border-color:#32a998}.choicegrid .red.not-safe{background:#8f293e;border-color:#ff655c}
.notice:not(p),.state{background:#132e45;border-color:#3a5f75;border-radius:13px}.notice small,.state p{color:#c4d4e2}.state strong{color:var(--teal)}.optionline label{color:#c4d4e2}.optionline select{background:#11243c;border-color:#496582;border-radius:10px}.pill{background:#133e45;border-color:#2c8c87;color:#62efdd}.playerhead{color:var(--teal);border-color:#38516b}.sliders output{color:var(--teal)}.sliders input{accent-color:var(--teal)}
.metric{background:#112239;border-color:#38516b;border-radius:14px}.bars{background:#283d58;border-radius:20px}.bars>div{background:var(--teal)}#closebar{background:var(--coral)}.logentry{border-color:#38516b}.logentry b{color:var(--teal)}.win{background:#124747;border-color:var(--teal);color:white}.footer{background:#0b1529;border-color:#2a4059;color:var(--muted)}.footer p{max-width:620px}.footer .brand-line{font:900 24px/1.2 'Nunito',Arial,sans-serif;color:var(--teal)}.site-address{color:var(--teal);font-weight:700}
.staging,.flag{background:#243149;color:#cbd8e7;border-bottom:1px solid #38516b;font-size:11px;letter-spacing:.05em;padding:8px 14px}.staging::before,.flag::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--coral);vertical-align:middle;margin-right:8px}
@media(max-width:1000px){.links{gap:14px;font-size:13px}.brand-logo{width:205px}.hero .wrap{gap:18px}.hero h1{font-size:clamp(58px,7.5vw,88px)}}
@media(max-width:800px){.hero .wrap,.demo,.simgrid,.rulegrid{grid-template-columns:1fr}.hero .wrap{padding-top:40px;padding-bottom:38px;gap:30px;min-height:0}.hero h1{font-size:clamp(58px,10vw,82px)}.nav .wrap{min-height:82px}.links a:not(.borderbtn){display:none}.brand-logo{width:210px;height:70px}.cards{grid-template-columns:1fr}.section{padding:48px 0}.footer .wrap{display:block}.footer .brand{margin-bottom:20px}}
@media(max-width:480px){.nav .wrap{min-height:74px;gap:10px}.brand-logo{width:172px;height:60px}.links .borderbtn{font-size:11px;padding:9px 10px;white-space:nowrap}a.back{font-size:11px;padding:9px}.panel{padding:16px}.cards{gap:12px}.lead{font-size:20px}.hero .wrap{gap:26px}.hero h1{font-size:clamp(42px,15vw,60px)}.strip .wrap{font-size:11px}.strip b{font-size:26px}.metrics{grid-template-columns:1fr}.metric{padding:12px}.metric b{font-size:28px}.choicegrid button{border-radius:12px}.sliders label{grid-template-columns:82px 1fr 48px}.flag,.staging{font-size:9px}.footer .brand-logo{width:220px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
