
/* 0.6.1: only horizontal lead-in glyphs use natural room typography widths. */
.corridor-glyph.horizontal-glyph{min-width:0}
/* 0.6 is an additive library shell. None of the 0.5.3 canvas/room/stair/caret rules are overridden. */
.classic-library{border:1px solid #385e55;background:linear-gradient(130deg,#16372f,#0d2229);border-radius:12px;padding:23px;margin:27px 0 22px;display:grid;gap:13px}
.classic-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.classic-head h2{font-size:clamp(22px,2.8vw,32px);letter-spacing:-.035em;margin:6px 0}.classic-head p{color:#b4cdc4;font-size:13px;line-height:1.7;max-width:670px;margin:0}.classic-pill{padding:5px 8px;border:1px solid #4c856c;border-radius:100px;font-size:10px;letter-spacing:.08em;color:#b9f1ca;white-space:nowrap}.classic-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.classic-btn{border:1px solid #638e78;border-radius:8px;padding:10px 14px;color:#e6f5ec;background:#1a4539;font-size:12px;font-weight:800}.classic-btn.primary{background:#adeecb;color:#07261c;border-color:#bff7dc}.classic-btn:hover,.classic-chapter:hover{filter:brightness(1.12)}.classic-btn:disabled{opacity:.55;cursor:wait}.classic-file{display:inline-block}.classic-status{font-size:12px;color:#c9dcd3;line-height:1.7;min-height:22px;margin:0}.classic-status.bad{color:#ffbaa7}.classic-note{font-size:11px;color:#a5c4b4;line-height:1.7;margin:0}.classic-note a{color:#b8f4cd}.classic-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:430px;overflow:auto;overscroll-behavior:contain}.classic-chapter{background:#112d30;border:1px solid #365752;color:#e1f2e9;border-radius:8px;display:flex;gap:12px;text-align:left;padding:11px;align-items:center;cursor:pointer;font:inherit}.classic-chapter .idx{font:700 10px ui-monospace,monospace;color:#a5e6bc}.classic-chapter .chapter-name{flex:1;font-size:12px;line-height:1.35}.classic-chapter .chapter-progress{font:700 10px ui-monospace,monospace;color:#c0d9c7}.classic-book-meta{color:#a4ccbe;font-size:11px;line-height:1.65}.classic-progress-wrap{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.classic-progress-track{background:#244c47;max-width:300px;flex:1;min-width:90px;height:6px;border-radius:8px;overflow:hidden}.classic-progress-fill{height:100%;width:0;background:#9df1c2}.classic-game-meta{display:flex;justify-content:space-between;gap:10px;color:#b2dac5;font-size:11px;padding:5px 3px}.classic-next{margin-right:8px}.classic-recs{font-size:12px;color:#b6d5c5;line-height:1.7;max-width:680px;margin:12px auto 0}.classic-next-button{background:#adf1c6;color:#08281e;border:0;border-radius:7px;padding:11px 16px;font-size:12px;font-weight:800}.classic-draft-notice{font-size:10px;color:#85b29a}
@media(max-width:650px){.classic-head{flex-wrap:wrap}.classic-chapters{grid-template-columns:1fr;max-height:370px}.classic-library{padding:15px}.classic-game-meta{font-size:10px}}


/* READ LAB 0.8 · add-on. GOLD writing appearance and geometry are untouched. */
#game.is-reading #focus{background:#173b34;color:#c7e5d4;border-color:#4a705d}
#game.is-reading #read-mode{background:#a0eabd;color:#12281d;border-color:#9deab9;font-weight:850}
#game.is-reading #symbols-toggle{opacity:.45}
#game.is-reading .typing-glow{opacity:.23;box-shadow:0 0 9px #ffdda027}
#game.is-reading .char.active{background:#fee6a728;color:#d7e9e2;outline:1px solid #fee6a75c;outline-offset:1px}
#game.is-reading .char.space.active{background:#fee6a710;box-shadow:inset 0 -2px #ffdda07c}
#game.is-reading .corridor-glyph.active:not(.space){box-shadow:0 0 0 1px #213c3266}
#game.is-reading .corridor-glyph.space.active{background:#f9d89119!important;outline:1px solid #ffdda075!important;box-shadow:inset 0 -2px #ffdda075!important}
.read-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:11px;padding:10px 12px;background:#10292b;border:1px solid #35554e;border-radius:9px;color:#d0e5d7}
.read-controls button{border:1px solid #638873;border-radius:7px;background:#183b33;color:#d7f1e1;padding:8px 12px;font:750 12px system-ui,sans-serif}
.read-controls button[aria-pressed=true]{background:#b4efd0;color:#103125;border-color:#b4efd0}
.read-controls label{font:700 11px system-ui,sans-serif;display:flex;align-items:center;gap:8px}
.read-controls input[type=range]{accent-color:#a9edc6;width:130px;max-width:28vw}
.read-controls output{font:750 11px ui-monospace,monospace;min-width:58px;color:#e0eecb}
.read-help{flex-basis:100%;margin:0;color:#aac9bb;font:11px/1.55 system-ui,sans-serif}
#focus[aria-pressed=true],#read-mode[aria-pressed=true]{box-shadow:0 0 0 1px #cbffe745}
@media(max-width:570px){.read-controls{gap:9px}.read-controls label{flex:1}.read-controls input[type=range]{flex:1;min-width:75px}}
