/* 0.7 — impasto, charcoal edges and pools of candlelight. */
:root{--ink:#f6e3bc;--gold:#e8b95e;--mint:#a7dac5;--muted:#c7bda9;--panel:#151425e8;font-family:Georgia,serif}
body{background:#100f20}
.room{background-position:center 58%}
.vignette{background:radial-gradient(ellipse at 50% 48%,transparent 36%,#08091572 100%),linear-gradient(#08091455,transparent 30%,#08091422);opacity:.8}
h1,h2,.answer,.feedback strong{font-family:Georgia,'Times New Roman',serif}
h1{color:#f2d58e;font-weight:700;text-shadow:2px 3px 0 #24142b,-1px -1px 0 #6b492a,0 8px 20px #060712;letter-spacing:-.035em;transform:rotate(-1.2deg)}
h1 span{color:#e8b95e;font-weight:400;letter-spacing:.01em;transform:rotate(1.5deg)}
button,.answer,input{border-radius:5px 13px 7px 15px;border-style:solid;border-width:2px 1px 3px 2px}
button{background:#171626dd;border-color:#827250;color:#f6e3bc}
button:hover{background:#2c283b}
.primary{background:#d6a650;color:#191429;border-color:#f4cd78 #75532a #6b442b #e7be70;box-shadow:2px 3px 0 #080915;transform:rotate(-.7deg)}
.primary:hover{background:#ecc674}
.answer{background:#121323e8;border-color:#b59758a6;box-shadow:1px 3px 0 #04061190;font-weight:500;line-height:1.3}
.choice.selected .answer,.choice:not(:disabled):hover .answer{border-color:#f1ce7f;box-shadow:0 0 0 2px #a9783738,0 5px 18px #0008}
.choice:nth-child(1) .answer{border-radius:12px 5px 15px 6px}
.crystal{display:none}
.doll{filter:drop-shadow(-2px 0 3px #edb34c66) drop-shadow(3px 0 4px #66b4b64d) drop-shadow(0 9px 9px #070713)}
.doll-wrap::before{content:"";position:absolute;inset:8% -6% -3%;background:radial-gradient(ellipse at 48% 73%,#9aa86724,transparent 64%);transform:rotate(-4deg);pointer-events:none;animation:paintedLight 6.7s ease-in-out infinite}
.choice:nth-child(2) .doll-wrap::before{animation-delay:-3.1s}
.expression{filter:none}
.progress{height:4px;background:#d5b66a1f;transform:rotate(-.15deg);border-radius:50% 9px 45% 4px}
.progress div{background:#e4b755;border-radius:50% 9px 45% 4px}
.heart{color:#d8837f;text-shadow:1px 2px #38162b}
.shadow{background:#080611;filter:blur(9px);mix-blend-mode:multiply;clip-path:polygon(41% 0,57% 4%,64% 18%,63% 33%,76% 31%,85% 10%,96% 6%,89% 39%,72% 53%,90% 98%,64% 87%,47% 100%,34% 85%,5% 98%,24% 54%,7% 38%,0 16%,12% 13%,22% 33%,36% 34%,34% 18%);animation:paintedShadow 18s ease-in-out infinite}
.s1{left:25%;top:16%;width:18vw;height:49vh}.s2{left:69%;top:12%;animation-delay:-7s;animation-duration:23s}.s3{left:48%;top:9%;width:11vw;animation-delay:-12s;animation-duration:27s}
@keyframes paintedShadow{0%,100%{opacity:.08;transform:translate(-4vw,0) skewX(-8deg) scaleY(.9)}30%{opacity:.44;transform:translate(2vw,-2vh) skewX(5deg) scaleY(1.05)}65%{opacity:.22;transform:translate(5vw,1vh) skewX(-4deg) scaleY(.95)}}
@keyframes paintedLight{50%{opacity:.55;transform:rotate(3deg) scale(.96)}}
.help-bubble,.rescue-thanks{background:#ecd7a4;color:#332537;border-color:#62472e;border-radius:40% 37% 43% 9%;box-shadow:2px 3px #08091580;font-family:Georgia,serif}
.feedback{background:#121220e8;border-radius:9px 17px 6px 13px}
.capture-stage{filter:drop-shadow(0 10px 18px #050610)}
.capture-stage .capture-witch{filter:drop-shadow(0 8px 8px #05061099)}
.capture-halo{opacity:.4}
body[data-screen="welcome"] header,body[data-screen="welcome"] footer{display:none}
body[data-screen="welcome"] .app{padding:0 5vw}
.welcome{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:100svh;padding:10svh 0 0;text-align:center;gap:0}
.welcome .intro{width:min(650px,100%)}
.welcome h1{font-size:clamp(48px,7vw,92px);margin:0 0 26px!important}
.name-entry{width:min(320px,90%);margin:0 auto 17px;text-align:left}
.name-entry label{display:block;font:italic 17px/1.4 Georgia,serif;color:#e4cd9a;margin:0 0 5px 4px}
.name-entry input{width:100%;min-height:51px;padding:9px 15px;font:22px/1.3 Georgia,serif;color:#f7e6c4;background:#111324ed;border-color:#9f8755;outline-offset:4px;box-shadow:1px 3px #08091580}
.name-entry input::placeholder{color:#b7ab97;font-size:18px}
.name-entry input:focus{outline:2px solid #d6b268}
.welcome .primary{min-width:154px;padding:12px 26px;font-size:21px}
@media(max-width:700px){
 .welcome{padding-top:13svh!important;min-height:100svh!important}
 .welcome h1{font-size:clamp(43px,10vw,65px)}
 .s1{left:22%;width:28vw}.s2{left:67%;width:23vw}
 .touch-choices button{background:#a57637eb;border-color:#d7b671;box-shadow:2px 3px #090818;font-family:Georgia,serif}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:650px){
 .play .table-stage,.play.sentence-stage .table-stage{width:100%;max-width:850px}
 .welcome{display:flex;min-height:100svh!important;padding:5svh 0 0!important;text-align:center!important}
 .welcome h1{font-size:clamp(36px,5.2vw,62px);margin-bottom:10px!important}
 .name-entry{margin-bottom:10px;width:280px}
 .name-entry label{font-size:14px;margin-bottom:1px}
 .name-entry input{min-height:39px;padding:5px 11px;font-size:19px}
 .welcome .primary{padding:7px 22px;font-size:18px}
 .touch-choices button{background:#a57637eb;border-color:#d7b671;font-family:Georgia,serif}
}
@media(prefers-reduced-motion:reduce){.shadow{animation:none;opacity:.13}.doll-wrap::before{animation:none}}
