/* BLUFF v7 — image-backed game identity, mobile safe areas */
:root{--gold:#ffcb57;--navy:#080f2b;--muted:#c3c8e3}
html{background:#080d25}body{background:#080d25}
.scene{background:radial-gradient(ellipse at 50% 12%,#252966 0%,transparent 49%),linear-gradient(#080e29,#111b46 68%,#090e2a)}
.shell{width:min(100%,480px);padding:calc(env(safe-area-inset-top, 0px) + 82px) 20px calc(env(safe-area-inset-bottom, 0px) + 90px)}
.top{position:relative;z-index:3;min-height:48px}
.screen-home .hero{padding-top:20px;position:relative;z-index:2}
.screen-home .hero h1{font-size:clamp(39px,10vw,52px);line-height:1.08;margin:12px auto;max-width:390px}
.screen-home .hero p{font-size:15px}
.brand{font-size:31px;letter-spacing:-.055em;text-shadow:0 2px 16px #ffca6466}
.portal{height:310px;margin:8px -20px -5px;background:url('./summit.webp') center 66% / cover no-repeat;mask-image:linear-gradient(transparent 0%,black 8%,black 90%,transparent 100%);isolation:isolate}
.portal:before{width:190px;height:190px;box-shadow:0 0 0 15px #ffe5b009,0 0 70px #ffb64880;border:1px solid #ffe4a166}
.portal:after{bottom:5px}
.art-crest{position:absolute;inset:0;background:linear-gradient(180deg,#0a123e33 0%,transparent 42%,#08112d26 100%);z-index:-1}
.gem{width:112px;height:126px;box-shadow:0 0 40px #ffcf6e66}.gem span{font-size:70px}
.orbitword{top:76px}.orbitword.two{bottom:62px}
.actions{position:relative;z-index:2;gap:12px}
.btn{min-height:64px;border-radius:21px;font-size:19px}
.gold{background:linear-gradient(180deg,#fff4bb 0%,#ffdb71 29%,#ffb532 83%,#e58a20);box-shadow:inset 0 2px #fff9dc,0 6px 0 #8f5728,0 14px 29px #f2a73155;border:1px solid #fff1ae}
.ghost{background:linear-gradient(135deg,#23245b,#151b43);border:1px solid #b8a0ff7a}
.panel,.tile{background:linear-gradient(135deg,#27356bdb,#121b3ded);border:1px solid #889bdb80;box-shadow:inset 0 1px #ffffff24,0 15px 30px #03061480}
.screen-home .section:first-of-type{margin-top:26px}
.screen-question .shell{padding-top:calc(env(safe-area-inset-top, 0px) + 85px)}
.screen-question .progress{margin:22px 0 24px;height:8px;background:#303858}
.question .mini{text-align:center}.question h1{text-align:center;font-size:clamp(34px,9vw,46px);margin:10px 0 9px}.question .intro{text-align:center;margin-bottom:25px;font-size:15px}
.choices{gap:13px}.choice{min-height:115px;padding:13px 12px;border-radius:21px;border:1px solid #a7b5f19c;background:linear-gradient(110deg,#192a5b,#101b41);box-shadow:inset 0 1px #ffffff24,0 9px 19px #0008;gap:12px;overflow:hidden;position:relative}
.choice .letter{width:42px;height:42px;flex-basis:42px;border-radius:50%;background:linear-gradient(140deg,#5b6eac,#242d63);color:white;font-size:18px;position:relative;z-index:1}
.choice-text{flex:1;position:relative;z-index:1;font-size:16px;line-height:1.6}
.choice-art{display:grid;place-items:center;flex:0 0 65px;width:65px;height:78px;font-size:49px;filter:drop-shadow(0 5px 10px #000b);background:radial-gradient(ellipse,#6796e83b,transparent 70%);opacity:.95}
.choice.selected{border:2px solid #ffd468;box-shadow:0 0 0 1px #ffd76c,0 0 25px #f4b7498c,inset 0 1px #fff5}
.choice.correct{border:2px solid #6af1c3;background:linear-gradient(120deg,#134b53,#152f51);box-shadow:0 0 25px #3cf1ad5b}
.choice.wrong{border:2px solid #ff879a;background:linear-gradient(120deg,#563047,#292047)}
.tool-caption{margin-top:20px;font-size:12px;letter-spacing:.1em;color:#ffdc8c;font-weight:800;text-align:center}
.qactions{margin:12px 0 26px;display:flex;flex-wrap:wrap}.hintbtn{border:1px solid #c4a6efaa;border-radius:17px;background:linear-gradient(130deg,#292858,#171b43);color:#ffe0a2;min-height:57px;flex:1}
.reveal{border:1px solid #7fd8b5a3;background:linear-gradient(120deg,#1c3c53,#1b2248);box-shadow:0 0 28px #43e2aa26}
.screen-stats .shell{padding-top:calc(env(safe-area-inset-top, 0px) + 94px)}
.screen-stats .panel:first-of-type{background:linear-gradient(#162044cc,#10162ccc),url('./summit.webp') center 64%/cover}
.screen-stats .blocktitle{margin-top:18px}
.screen-stats .trail .node.active{box-shadow:0 0 20px #ffdb76bb}
.notice{font-size:11px;opacity:.72;margin-bottom:28px}
@media(max-width:390px){.portal{height:265px}.choice{min-height:99px}.choice-art{flex-basis:52px;width:52px;font-size:41px}.choice-text{font-size:15px}.shell{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
