*{box-sizing:border-box}body{margin:0;background:#f5f3ea;color:#203c35;font:16px/1.5 'DM Sans',system-ui,sans-serif}header{display:flex;align-items:center;gap:22px;border-bottom:1px solid #c8cfc3;padding:18px 6vw}header b,header a{font-weight:850;letter-spacing:.12em}header span,small,label{font-size:.79rem;color:#51685c}a{color:inherit;text-decoration:none}main{max-width:1340px;margin:auto;padding:5vh 5vw}h1{font:500 clamp(42px,6vw,80px)/1.05 Georgia,serif;letter-spacing:-.055em;margin:8px 0 28px}h2{font:500 30px/1.15 Georgia,serif;margin:8px 0}small{letter-spacing:.13em;font-weight:750}.catalog,.layout{display:grid;gap:20px;grid-template-columns:1fr 1fr}.layout{grid-template-columns:minmax(0,2.3fr) minmax(220px,1fr)}.catalog a,article,aside{background:#fffdf5;border:1px solid #b9c4b6;border-radius:12px;overflow:hidden}.catalog a:hover{border-color:#277c60}.catalog img,.catalog canvas{width:100%;aspect-ratio:600/330;object-fit:cover;display:block}.catalog section,aside,.controls{padding:22px}.catalog p{max-width:46ch}canvas{display:block;width:100%;height:auto;image-rendering:pixelated;background:#dce5cd}.controls{display:flex;gap:8px;flex-wrap:wrap}button,select{border:1px solid #aab9ae;border-radius:6px;background:#fffdf5;color:inherit;font:inherit;padding:7px 11px;cursor:pointer}button:first-child{background:#235848;color:white}select{display:block;width:100%}ol{padding-left:22px;font-size:.85rem}li{padding:4px}article{align-self:start}@media(max-width:760px){.catalog,.layout{grid-template-columns:1fr}main{padding:28px 4vw}.controls,aside{padding:14px}}
.rpg{background:#eeeee2}.rpg article{border:3px solid #344b43;border-radius:8px;box-shadow:4px 5px #b6bdab}.scenehead,.dialog,.ledger{display:flex;gap:14px}.scenehead{align-items:center;justify-content:space-between;background:#263f39;color:#fff1bb;padding:9px 15px;font:700 .85rem monospace}.scenehead small{color:#c9dbba;font-size:.7rem}.dialog{display:block;background:#fff7d9;border-top:3px solid #344b43;padding:12px 18px;min-height:84px}.dialog b{color:#89522e;font:800 .85rem monospace;text-transform:uppercase}.dialog p{margin:4px 0;font-size:1.05rem}.rpg .controls{padding:10px 14px;background:#dce4d1}.ledger{justify-content:space-between;border-block:1px solid #cbd1c1;padding:12px 0}.ledger dt{font-size:.72rem}.ledger dd{font:bold 1.15rem monospace;margin:4px 0}.rpg ol{max-height:240px;overflow:auto}.rpg aside h2{font-size:25px}
body.story{background:#162728;color:#eee7ce;min-height:100vh}.story header{border-color:#40504d;color:#f9ecc8}.story header span,.story small{color:#acbfab}.story main{max-width:940px;padding:20px 22px 48px}.episode{display:flex;align-items:baseline;gap:20px;flex-direction:row-reverse;justify-content:flex-end}.episode h1{font-size:clamp(34px,5vw,55px);margin:0 0 13px}.story article{border:2px solid #95876a;border-radius:7px;background:#f7edcd;color:#292d34;box-shadow:0 6px 0 #0f191b}.story canvas{aspect-ratio:16/9;background:#273932}.story .scenehead{background:#293d40}.story .dialog{background:#faf0d1;padding:12px 22px;min-height:81px;border-color:#786e55}.story .dialog b{font-family:monospace;color:#8e442d;font-size:15px}.story .dialog p{margin:4px 0}.story .controls,#shop{padding:8px 18px;background:#e6dbbb}.story details{margin-top:21px;padding:12px 2px;border-top:1px solid #65736a}.story summary{cursor:pointer}.story .ledger{justify-content:flex-start;gap:55px}.story button{font-size:14px}.story button:disabled{opacity:.5}.story select{width:auto;display:inline}.story label{color:inherit}
#directions,#perspective{padding:8px 18px;background:#efdfb9}#directions button{min-width:40px;touch-action:manipulation}.story canvas{cursor:pointer}.story .dialog{border:3px double #32444b}
.story .journey{padding:12px 18px;background:#f2eddb;color:#243f38;border-top:2px solid #56665a}.journey-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;font:600 .85rem system-ui}.journey-heading strong{font-family:monospace}.story #journey-steps{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));list-style:none;gap:4px;margin:9px 0 0;padding:0}.story #journey-steps li{border-top:4px solid #c8cabc;padding:4px 0 0;font:500 .73rem system-ui;color:#555e55}.story #journey-steps [data-state=done]{border-color:#498271;color:#335649}.story #journey-steps [data-state=current]{border-color:#a95819;color:#834217;font-weight:800}.story #journey-steps [data-state=stopped]{border-color:#993f46;color:#862a36;font-weight:800}@media(max-width:620px){.story #journey-steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:6px}.story .journey{padding:10px 12px}}
.story .case-technical{padding:12px 18px;background:#f5eedc;color:#29413a;border-top:1px solid #b6bca9}.case-technical div{display:flex;gap:16px;flex-wrap:wrap;align-items:baseline;font-size:.85rem}.case-technical strong{font:700 1rem monospace}.case-technical p{margin:7px 0 0;max-width:80ch}
.story #journey-steps small{display:block;color:inherit;font:normal .72rem monospace;letter-spacing:0}
