
*{box-sizing:border-box}body{margin:0;background:#122b30;color:#fff;font:16px system-ui;overflow:hidden}button{font:inherit;cursor:pointer;border:0}#app{height:100dvh;display:flex;flex-direction:column;max-width:1300px;margin:auto}header{display:flex;align-items:center;gap:18px;padding:12px 20px;background:#173b40;border-bottom:3px solid #0b2428}header strong{color:#ffdc82;font-size:22px}header span{white-space:nowrap}#hud{margin-left:auto;display:flex;gap:18px;font-weight:800}#world{flex:1;min-height:0;position:relative}canvas{width:100%;height:100%;display:block}#hint{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);background:#102c32e8;padding:10px 18px;border-radius:30px;pointer-events:none;text-align:center;white-space:nowrap}#touch{position:absolute;bottom:18px;left:18px;display:grid;grid-template-columns:44px 44px 44px;gap:4px}#touch button,#action{background:#fffde8e8;color:#173b40;border-radius:12px;font-weight:900;min-height:44px;touch-action:none}#action{position:absolute;right:18px;bottom:18px;padding:14px 22px;border-bottom:4px solid #b7934b}#overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0b24288c;padding:18px}#card{background:#fffbea;color:#19383c;border:4px solid #163d42;border-radius:24px;box-shadow:0 12px 0 #09222666;padding:28px;width:min(560px,100%);max-height:95%;overflow:auto}h1{font-size:34px;margin:0 0 12px}h2{font-size:23px;line-height:1.3}p{line-height:1.5}.primary{background:#f2bc49;color:#253c37;padding:14px 22px;border-radius:12px;font-weight:850;border-bottom:4px solid #cb8c22;width:100%}.avatars{display:flex;gap:12px;margin:20px 0}.avatar{font-size:30px;padding:12px;border:3px solid transparent;border-radius:15px;background:#e1ece2}.avatar.selected{border-color:#2c8b8c;background:#b9e4d7}.answers{display:grid;gap:10px}.answers button{padding:13px;text-align:left;border:2px solid #c2cdbb;background:white;border-radius:12px;color:#173b40}.answers button:focus{outline:3px solid #dd9c28}.answers .correct{background:#bce8c2;border-color:#34895e}.answers .wrong{background:#f6c5b9;border-color:#b7634b}.small{font-size:14px;color:#50706c}#feedback{min-height:42px;font-weight:750;margin-top:12px}#bar{height:8px;background:#dce4ce;border-radius:8px;overflow:hidden}#bar i{display:block;height:100%;background:#398e7d}@media(max-width:650px){header{padding:8px;gap:8px}header strong{font-size:16px}#hud{gap:10px;font-size:14px}#hint{bottom:125px;font-size:14px;white-space:normal;width:85%}#card{padding:18px}h1{font-size:27px}}

header a{color:#c7dfd1;font-size:14px;text-decoration:none}header button{border-radius:8px;background:#e4ebce;color:#19383c;padding:8px}label{display:block;font-weight:700;margin:12px 0}select,input{width:100%;padding:10px;border:2px solid #b4cabb;border-radius:8px;font:inherit;background:white;color:#19383c}.bank-filters{border:0;padding:0;margin:12px 0}.bank-filters legend{display:none}.bank-filters label{display:inline-block;width:49%;font-size:14px;margin:5px 0}.bank-filters label:last-child{width:100%}.bank-filters p{font-size:13px;margin:4px 0}.bank-filters select,.bank-filters input{padding:7px}.avatars{margin:12px 0}.avatar{font-size:18px}.avatar canvas{height:60px;width:60px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.stats div{background:#e4ead4;padding:12px;border-radius:12px;text-align:center}.stats b{display:block;font-size:25px}.secondary{width:100%;padding:10px;margin-top:10px;background:#dde8d3;color:#183c3d;border-radius:10px}#card{width:min(610px,100%)}#topic-name{position:absolute;top:12px;left:14px;background:#163b40dd;padding:7px 12px;border-radius:12px;font-size:14px;max-width:70%;pointer-events:none}#hint{max-width:60%;white-space:normal}#overlay[hidden]{display:none}#card button:focus-visible{outline:3px solid #e3a027;outline-offset:2px}@media(max-width:650px){header a{display:none}header strong{font-size:15px}header{gap:5px}#hud{gap:6px}header button{font-size:13px;padding:6px}#hint{max-width:85%}.stats{font-size:14px}.bank-filters label{width:100%}}

.answers button.highlighted:not(:disabled){background:#fff0bc;border-color:#9e6812;box-shadow:0 0 0 3px #f0bb45;transform:translateX(3px)}.quiz-controls{margin:8px 0 14px;font-weight:700}

#juice-gauge{width:150px;position:relative;font-size:12px;line-height:1.2}#juice-gauge>span{display:flex;justify-content:space-between}#juice-meter{height:15px;margin-top:4px;border:2px solid #a6d6bf;border-radius:9px;overflow:hidden;background:#092b31}#juice-fill{display:block;width:0;height:100%;background:linear-gradient(90deg,#30b59d,#adf17d);transition:width .18s ease}#juice-meter.low #juice-fill{background:#ffbd55}#juice-reserve{position:absolute;top:36px;right:0;font-size:11px;color:#c9efba}@media(max-width:650px){#juice-gauge{width:85px;font-size:11px}#juice-meter{height:12px}#juice-reserve{top:31px;font-size:10px}}

/* Woodland field kit: cream labels, brass edges, and deep green panels. */
header{background:linear-gradient(180deg,#294f48,#193c37);border-bottom:3px solid #122e2c;box-shadow:0 4px 14px #102d2940;z-index:1}header strong{letter-spacing:-.6px;text-shadow:0 2px #142e2c}#hud>span{background:#102e2c80;padding:8px 11px;border:1px solid #6c92804d;border-radius:11px;color:#ffe5a2;min-width:73px;text-align:center}#hud>span:last-child{color:#f4f0d5}header button{background:linear-gradient(#f4e9bf,#d8d0a7);border:1px solid #8b926b;box-shadow:0 2px #102c2a;font-weight:750}#topic-name{background:#173c37ed;color:#eee8c9;border:1px solid #b6ca8b66;box-shadow:0 3px 8px #12342a26}#hint{background:#14362fec;border:1px solid #b8c69466;box-shadow:0 4px 12px #16372e30;color:#fff4d3;font-weight:650}#action{background:linear-gradient(#ffe5a2,#e9bb5d);color:#294138;border:2px solid #6f693e;border-bottom:5px solid #8a6a30;box-shadow:0 4px 9px #12392d40}#action:active{transform:translateY(2px);border-bottom-width:3px}#touch button{border:1px solid #83936b;box-shadow:0 3px 0 #213e31aa;background:#fff7dce8}#card{background:linear-gradient(145deg,#fffced,#f1efd8);border-color:#285348;box-shadow:0 9px 0 #0d2e3266,0 22px 60px #0b242855}#card h1{letter-spacing:-1px;color:#285348}.primary{background:linear-gradient(#ffda7c,#edb544);box-shadow:0 3px 0 #233e2b15}#juice-meter{box-shadow:inset 0 2px 4px #0005;border-color:#b5c789}#juice-fill{background:linear-gradient(180deg,#d1f995,#71ca75 50%,#49a679)}button:disabled{cursor:default}#juice-gauge{align-self:center}@media(max-width:650px){#hud>span{padding:6px;min-width:48px}header strong{letter-spacing:-.4px}}
