:root{font-family:ui-rounded,"Avenir Next",system-ui,sans-serif;color:#223b3d;background:#f8f5ed;--ink:#223b3d;--green:#247c70;--muted:#667777;--line:#e1e5db;--paper:#fff;--gold:#f7c661}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:12px 18px;font-weight:750;background:var(--green);color:white;min-height:44px}button:hover{filter:brightness(.95)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bc6b20;outline-offset:3px}header{max-width:1150px;margin:auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:27px;font-weight:900;line-height:1.05;letter-spacing:-1px}.brand img{width:53px;height:53px}.brand small{display:block;font-size:10px;letter-spacing:.7px;color:var(--muted);margin-top:5px;text-transform:uppercase}.brand-accent{color:var(--green)}.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.pill{font-size:12px;font-weight:800;border-radius:99px;background:#e3eee6;color:#286257;padding:8px 12px;white-space:nowrap}.subtle{background:#fff;color:var(--ink);border:1px solid var(--line)}.secondary{background:#e8f1eb;color:#255e55}.danger{background:#fbe9e3;color:#983a28}.ghost{background:transparent;color:var(--green);padding-left:0}main{max-width:1100px;margin:auto;padding:8px 24px 48px;min-height:72vh}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(31px,5vw,53px);line-height:1.05;letter-spacing:-1.5px;margin-bottom:12px}h2{font-size:23px;letter-spacing:-.5px;margin-bottom:12px}h3{font-size:19px;margin-bottom:8px}p{line-height:1.55;color:var(--muted);margin-bottom:12px}.eyebrow{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;font-weight:850;color:var(--green);margin-bottom:10px}.hero{display:grid;grid-template-columns:1.45fr 1fr;align-items:center;gap:24px;border:1px solid #d7e7db;background:#e7f2e5;border-radius:28px;padding:32px;overflow:hidden;position:relative;margin-bottom:24px}.hero-art{font-size:clamp(70px,13vw,145px);text-align:center;filter:drop-shadow(0 8px 0 #d1e5ce)}.hero p{max-width:560px;color:#436760}.stats{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.stat{background:#fff;border:1px solid #e0e7dc;border-radius:16px;padding:12px 16px;min-width:100px}.stat b{display:block;font-size:24px}.stat small{color:var(--muted);font-weight:650}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.world{border:1px solid var(--line);background:var(--paper);border-radius:23px;padding:20px;display:flex;flex-direction:column;gap:10px}.world .symbol{width:65px;height:65px;border-radius:20px;display:grid;place-items:center;font-size:35px;background:var(--tint,#e6f0e8)}.world p{margin:0}.world button{align-self:flex-start;margin-top:auto}.world h3{margin:0}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.sectionhead h2{margin:0}.panel{border:1px solid var(--line);border-radius:22px;padding:24px;background:#fff;margin-bottom:16px}.narrow{max-width:600px;margin:20px auto}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:12px}.field{display:grid;gap:6px;font-size:14px;font-weight:700}input,select{border:1px solid #cfdad2;border-radius:12px;background:#fff;color:var(--ink);padding:12px;min-width:0;max-width:100%;width:100%}.formrow{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.formrow label{flex:1;min-width:130px}.game{max-width:760px;margin:8px auto;text-align:center;padding:clamp(18px,4vw,36px)}.game .prompt{font-size:clamp(24px,5vw,40px);font-weight:850;line-height:1.25;margin:25px 0}.game .visual{font-size:clamp(24px,6vw,48px);line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.options button{background:#f2f7f0;color:var(--ink);border:2px solid #dce9dc;min-height:72px;font-size:clamp(19px,4vw,27px);overflow-wrap:anywhere}.options button.good{background:#ccebd5;border-color:#438d62}.options button.bad{background:#fce9df;border-color:#d99979}.bar{height:10px;border-radius:20px;background:#e8eee8;overflow:hidden}.bar span{display:block;height:100%;background:#56a77d;border-radius:20px;transition:width .3s}.notice{background:#fff6de;border:1px solid #f2dfaa;border-radius:12px;padding:12px 14px;font-size:14px;color:#77591e;margin-bottom:15px}.muted{font-size:13px;color:var(--muted)}.feedback{min-height:28px;font-size:18px;font-weight:750;color:var(--green)}.listitem{border-top:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.listitem:first-of-type{border-top:0}.listitem p{margin:3px 0 0}.metricgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.skill{margin:15px 0}.skill .row{margin-bottom:5px}footer{text-align:center;color:var(--muted);font-size:12px;padding:16px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#243d3b;color:white;max-width:90%;padding:12px 18px;border-radius:14px;display:none;z-index:10;box-shadow:0 4px 25px #0002}#toast.show{display:block}.chart{display:flex;gap:10px;align-items:end;height:110px;margin-top:14px}.chart div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:5px}.chart i{background:#79b6a0;width:65%;border-radius:6px 6px 0 0;min-height:3px}.chart small{font-size:11px;color:var(--muted)}@media(max-width:650px){header{padding:14px 15px}.brand{font-size:21px}.brand img{width:40px;height:40px}.brand small{display:none}.header-actions .pill{display:none}main{padding:8px 14px 32px}.hero{padding:23px;grid-template-columns:1fr}.hero-art{display:none}.grid{grid-template-columns:1fr}.metricgrid{grid-template-columns:1fr 1fr}.panel{padding:17px}.options{gap:8px}.options button{padding:10px}.stat{min-width:84px;padding:10px}.stat b{font-size:21px}}
