:root{font-family:Arial,sans-serif;color:#fff;background:#142126;touch-action:manipulation}*{box-sizing:border-box}html,body,#game{width:100%;height:100%;margin:0;overflow:hidden}#game{position:relative}.room,.shade,#room{position:absolute;inset:0;width:100%;height:100%}#room{object-fit:cover;transition:filter .4s}.shade{background:linear-gradient(#0b171db8,#0b171d18 48%,#0b171ddd)}header{position:absolute;inset:0 0 auto;padding:14px 18px;background:#10232be8;border-bottom:3px solid #f04d3f;display:flex;justify-content:space-between}header b{color:#ffd34e;font-size:22px}header span{font-size:12px;font-weight:900}.panel{position:absolute;z-index:3;left:50%;top:53%;width:min(90%,460px);transform:translate(-50%,-50%);padding:24px;text-align:center;background:#10242bec;border:1px solid #ffffff45;border-radius:20px;box-shadow:0 24px 70px #0009}.panel small,#hud small{color:#ffd34e;font-weight:900}.panel h1{margin:8px 0;font-size:clamp(30px,8vw,52px);line-height:.92}.panel em{color:#6ee0ba;font-style:normal}.panel button,.panel a{display:block;width:100%;margin-top:14px;padding:15px;border:0;border-radius:10px;background:#44c68e;color:#071812;font-weight:1000;text-decoration:none;cursor:pointer}.panel #replay{background:#203e48;color:#fff}#hud,#choices,#done{display:none}#hud{position:absolute;top:66px;left:12px;right:12px;justify-content:space-between;align-items:center;padding:12px 14px;background:#10242be8;border-radius:12px}#hud small,#hud b{display:block}#hud b{font-size:11px}#hud strong{color:#ffd34e;font-size:22px}#choices{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);width:min(94%,520px);grid-template-columns:repeat(4,1fr);gap:7px}#choices button{padding:13px 5px;border:1px solid #ffffff55;border-radius:10px;background:#173943e8;color:#fff;font-weight:900}#choices button.used{background:#44c68e;color:#092018}#placed{position:absolute;inset:0;pointer-events:none}.decor{position:absolute;font-size:clamp(38px,10vw,68px);filter:drop-shadow(0 8px 4px #0007);animation:pop .35s}.decor:nth-child(1){left:12%;bottom:24%}.decor:nth-child(2){right:12%;bottom:25%}.decor:nth-child(3){left:45%;bottom:18%}footer{position:absolute;bottom:7px;width:100%;text-align:center;font-size:10px}@keyframes pop{from{transform:scale(0)}}@media(orientation:landscape){.panel{padding:16px}.panel h1{font-size:38px}#choices{bottom:23px}}
