.history-intro{max-width:700px;margin-bottom:2rem}.history-adventure{overflow:hidden;margin:2rem 0;background:#fffdf5;border:1px solid #d6dfdd;border-radius:20px;box-shadow:0 16px 50px #193b4b0d}.history-episode-heading{padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#f0f5ed;border-bottom:1px solid #d6dfdd}.history-episode-heading h2{font-size:clamp(1.2rem,2.7vw,1.8rem);margin:.4rem 0}.history-episode-heading p{margin:0;font-size:.85rem;color:#536c68}.history-tag{color:#31715c;font-weight:800;text-transform:uppercase;letter-spacing:.15em;font-size:.7rem}.history-content{padding:clamp(.8rem,3vw,2rem)}.history-hud{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:#183c50;color:#f7eec7;padding:12px 20px;border:4px solid #183c50;border-bottom:0;border-radius:12px 12px 0 0;font-family:monospace;font-size:14px;letter-spacing:.03em}.history-hud strong{color:#ffe08b;font-size:17px}.history-screen{background:#183c50;padding:0 8px 8px;border-radius:0 0 12px 12px;box-shadow:0 6px 0 #0f2938}.history-adventure canvas{display:block;width:100%;height:auto;aspect-ratio:4/3;background:#258ed0;image-rendering:pixelated;border-radius:3px}.history-adventure canvas:focus-visible{outline:3px solid #ffd77e;outline-offset:3px}.history-bottom{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding-top:1rem}.history-controls{display:flex;gap:.5rem;flex-shrink:0}.history-controls button{min-width:46px;min-height:46px;touch-action:none;border:1px solid #b9c9c4;border-bottom:4px solid #b9c9c4;border-radius:9px;background:#f0f5ed;color:#244f4b;font-weight:700}.history-controls button:active{transform:translateY(2px);border-bottom-width:2px}.history-adventure #history-help{font-size:.82rem;line-height:1.6;margin:0;color:#5c6b67;max-width:470px}#history-status{min-height:3em;margin:0 0 1.25rem;padding:.8rem 1rem;border-left:3px solid #d7a748;background:#fbf3df;color:#5b5238;font-size:.92rem;line-height:1.5}.history-source{display:block;margin-top:1.5rem;font-size:.76rem;color:#657d74}@media(min-width:1000px){.history-adventure{max-width:1000px}.history-screen{padding:0 12px 12px}}@media(max-width:600px){.history-episode-heading{padding:1rem;align-items:flex-start;flex-direction:column}.history-bottom{flex-direction:column;align-items:stretch}.history-controls{justify-content:center;order:-1}.history-controls button{min-width:56px;min-height:50px}.history-hud{padding:9px 8px;font-size:10px;gap:.4rem}.history-hud strong{font-size:13px}.history-content{padding:.7rem}.history-adventure{border-radius:12px}.history-intro{margin-bottom:1rem}}
