:root{color-scheme:dark;font-family:Segoe UI,Arial,sans-serif;color:#e9e8db;background:#122c2e}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 55% 25%,#34534c,#11282b 80%)}main{width:min(1000px,100%);margin:20px auto;border:1px solid #96a58b44;border-radius:12px;overflow:hidden;box-shadow:0 28px 95px #071c2280}header{display:flex;justify-content:space-between;align-items:center;padding:17px 25px;background:#163035}.brand{display:flex;align-items:center;gap:15px;letter-spacing:.15em;font-size:13px;font-weight:600}.brand small{display:block;font-size:11px;letter-spacing:.025em;color:#b9c7bb;margin-top:5px;font-weight:400}.seal{border:1px solid #d9c497;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-family:Georgia,serif;font-size:24px;color:#e7cea0}.status{display:flex;justify-content:space-between;padding:10px 25px;background:#203e3d;color:#d8dfcf;font-size:13px}canvas{display:block;width:100%;height:auto;outline:none}#prompt{min-height:44px;padding:12px 18px;text-align:center;background:#234340;color:#f1deb3;font-size:14px}footer{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:15px 20px;font-size:12px;background:#163035;color:#b9c9bd}#goal{color:#e8d8b9}kbd{font:inherit;color:#f2e4c4;border:1px solid #678178;padding:2px 5px;border-radius:3px}button{font:inherit;padding:11px 18px;border:1px solid #9fae9666;color:#e7eadc;background:#294a46;border-radius:6px;cursor:pointer}button:hover{background:#3c5c50}button:focus-visible{outline:3px solid #efc480;outline-offset:4px}.primary{background:#e3c18b;color:#203836;border:0;font-weight:650;width:100%;text-align:left;padding:16px 20px;margin-top:13px}.primary:hover{background:#f0d29f}.primary span{float:right}.overlay{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:#091d25bd;backdrop-filter:blur(5px)}.overlay[hidden]{display:none}.card{width:min(510px,100%);max-height:94vh;overflow:auto;padding:38px 43px;background:#1d3b3c;border:1px solid #a2b0916b;border-radius:12px;box-shadow:0 25px 100px #00171b77}.eyebrow{font-size:10px;letter-spacing:.25em;color:#e6c695}h1{font-family:Georgia,serif;font-weight:400;font-size:48px;line-height:1.08;letter-spacing:-.025em;margin:17px 0 24px}p{line-height:1.65}.muted{color:#becdbf;font-size:14px}.device{font-size:12px;color:#afc0b4}.card .secondary{margin-top:10px;width:100%}.record{padding:17px;background:#102a2d;border-left:3px solid #c8ad77;color:#f1e1b8}a{color:#f0d29f}@media(max-width:600px){header{padding:12px}.brand{font-size:10px}h1{font-size:35px}.card{padding:26px}.status,footer{font-size:11px}#prompt{font-size:12px}}

.specimen{width:100%;height:auto;border:1px solid #9cba9160;border-radius:8px;margin-bottom:5px}.card h1{font-size:38px}.brand small{color:#e2cca5}main{box-shadow:0 28px 95px #071c2266}

#objective{padding:14px 24px;background:#e7d8ae;color:#173637;border-left:5px solid #b89756;min-height:82px}#objective.updated{background:#f5e7bc;border-left-color:#315f57}.objective-label{font-size:11px;font-weight:700;letter-spacing:.12em;margin-bottom:6px}#objective #goal{color:#173637;font-size:18px;font-weight:600;line-height:1.4}#objective-cue{margin-left:12px;font-size:11px;letter-spacing:0;background:#315f57;color:white;padding:2px 7px;border-radius:3px}#prompt{font-size:16px;line-height:1.5;min-height:50px}@media(max-width:600px){#objective{padding:12px}#objective #goal{font-size:16px}#prompt{font-size:14px}}

/* Fit all essential play help around the scene; only the scene scales. */
body{height:100vh;height:100dvh;min-height:0;overflow:hidden}main{height:min(960px,calc(100vh - 16px));height:min(960px,calc(100dvh - 16px));width:min(1000px,calc(100vw - 16px));margin:8px auto;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto}#stage{min-height:0;min-width:0;display:grid;place-items:center;background:#193c3c;overflow:hidden}#world{width:auto;height:auto;max-width:100%;max-height:100%;flex-shrink:0}header{padding:12px 20px}.status{padding:8px 20px}footer{padding:10px 18px}#prompt{padding:9px 16px;min-height:50px}.card{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
@media(max-height:800px){header{padding:8px 18px}header button{padding:8px 14px}#objective{padding:10px 20px;min-height:74px}.status{padding:6px 20px}footer{padding:8px 18px}.card{padding:22px 30px}.card h1{margin:12px 0 16px;font-size:32px}.card p{margin:10px 0}.specimen{max-height:180px;object-fit:contain}.overlay{padding:12px}}
