.reader-shell{flex-direction:column;max-height:calc(100svh - 96px);display:flex}.reader-shell>.reader-top,.reader-shell>.reader-bottom{flex:none}.reader-shell>.open-book{flex:0 auto;min-height:0}.reader-shell.is-short .reader-book-name{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.reader-shell.is-short{width:calc(100% - 24px);max-height:none;box-shadow:none;grid-template-rows:minmax(0,1fr);grid-template-columns:102px minmax(0,1fr) 80px;gap:8px;display:grid;top:78px;bottom:12px}.reader-shell.is-short .reader-top{border:1px solid #e6c58c40;border-radius:6px;flex-wrap:nowrap;grid-area:1/1;align-self:start;padding:4px}.reader-shell.is-short .reader-top-actions{flex:1;grid-template-columns:44px 44px;justify-content:start;gap:4px;width:auto;display:grid}.reader-shell.is-short .reading-mode-switch{grid-column:1/-1;justify-self:start;gap:0!important;padding:0!important}.reader-shell.is-short .reading-mode-switch [data-slot=toggle-group-item]{gap:0!important;width:44px!important;min-width:44px!important;padding:0!important}.reader-shell.is-short .reading-mode-switch [data-slot=toggle-group-item]>span{display:none}.reader-shell.is-short .reader-top-actions>button{justify-content:center;min-width:44px;min-height:44px}.reader-shell.is-short .reader-top-actions>button>span{display:none}.reader-shell.is-short .reading-mode-switch [data-slot=toggle-group-item]{min-height:44px!important}.reader-shell.is-short>.open-book{grid-area:1/2;height:100%;min-height:0;box-shadow:0 12px 30px #0005}.reader-shell.is-short>.reader-bottom{border:1px solid #e6c58c33;border-radius:6px;flex-wrap:nowrap;grid-area:1/3;justify-content:center;align-self:center;width:80px;height:auto;min-height:0;padding:8px 4px}.reader-shell.is-short .book-pagination{width:auto}.reader-shell.is-short .book-pagination ul{flex-direction:column}.reader-shell.is-short .page-count{white-space:normal;text-align:center;width:70px;min-width:0;line-height:1.5}.reader-shell.is-short .page-count>span{display:block}.reader-shell.is-short .book-pagination button{min-width:44px;min-height:44px}.reader-shell.is-short .book-page{min-height:0;padding:8px 20px 4px}.reader-shell.is-short .page-running-title{text-overflow:ellipsis;white-space:nowrap;flex:none;margin-bottom:5px;font-size:9px;line-height:12px;overflow:hidden}.reader-shell.is-short .page-number{flex:none;padding-top:3px;font-size:10px;line-height:14px}.reader-shell.is-short .page-text{padding-bottom:6px}.reader-shell.is-short .page-text>p:last-child{margin-bottom:0}.reader-shell .page-text{min-height:0}@media (max-width:380px){.reader-shell .reader-top-actions{flex:1 0 100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;min-width:0;display:grid}.reader-shell .reader-top-actions .reading-mode-switch{grid-column:1/-1;justify-self:start}.reader-shell .reader-top-actions>button{justify-content:center;min-width:44px;min-height:44px}.reader-shell .reading-mode-switch [data-slot=toggle-group-item]{min-height:44px!important}}.held-reader.is-compact .held-reader-top{flex-wrap:nowrap;justify-content:center;gap:6px;top:78px;left:12px;right:12px}.held-reader.is-compact .held-look-actions{display:contents}.held-reader.is-compact .held-look-hint{display:none}.held-reader.is-compact .held-reader-top button{flex:0 0 44px;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.held-reader.is-compact .reading-mode-switch{gap:0;padding:0}.held-reader.is-compact .reading-mode-switch [data-slot=toggle-group-item]{gap:0!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}.held-reader.is-compact .held-reader-top button>span{display:none}.held-reader.is-compact>.reader-bottom{flex-wrap:nowrap;justify-content:center;gap:0;width:max-content;max-width:calc(100% - 24px);height:52px;min-height:52px;padding:4px 8px;display:flex;bottom:12px}.held-reader.is-compact>.reader-bottom .book-pagination{flex:none;width:auto}.held-reader.is-compact>.reader-bottom .book-pagination button{min-width:44px;min-height:44px}.reading-options{flex-direction:column;gap:20px;display:flex}.reading-options h3{color:#f5e6c8;font-family:Georgia,serif;font-size:22px;font-weight:400}.reading-options>.reader-bottom{border:1px solid #e6c58c33;border-radius:7px;flex-wrap:wrap;gap:12px;width:100%;display:flex;position:static;transform:none}.reading-options .reader-chapter-select{flex:1 0 100%;max-width:100%}.reading-options .chapter-select{width:100%;min-height:44px!important}.reading-options button{min-width:44px;min-height:44px}.reading-options .reader-utilities{margin-left:auto}.held-reader.is-short .held-reader-top{flex-direction:column;justify-content:flex-start;gap:4px;width:44px;inset:78px auto 12px 12px}.held-reader.is-short .reading-mode-switch{flex-direction:column;flex-shrink:0}.held-reader.is-short>.reader-bottom{width:80px;height:auto;min-height:0;padding:8px 4px;inset:50% 12px auto auto;transform:translateY(-50%)}.held-reader.is-short>.reader-bottom .book-pagination ul{flex-direction:column}.held-reader.is-short>.reader-bottom .page-count{white-space:normal;text-align:center;width:70px;min-width:0;line-height:1.5}.held-reader.is-short>.reader-bottom .page-count>span{display:block}.held-reader.is-tiny .held-reader-top{grid-template-columns:44px 44px;gap:4px;width:92px;display:grid;bottom:auto}.held-reader.is-tiny .reading-mode-switch{flex-direction:row;grid-column:1/-1}.book-finder h3{color:#f5e6c8;margin:0 0 12px;font-family:Georgia,serif;font-size:25px;font-weight:400}.book-finder p{color:#b9c6b6;font-size:13px;line-height:1.7}.book-page-jump{border-bottom:1px solid #dac18b33;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:22px;padding:20px 0;display:flex}.book-page-jump label{color:#ead8b3;flex-direction:column;flex:1;gap:8px;min-width:95px;font-size:13px;display:flex}.book-page-jump input,.book-search-input input{color:#f5e6c8;background:#101e25;border:1px solid #dac18b66;border-radius:5px;min-width:0;height:44px;padding:10px 12px;font-size:16px}.book-page-jump input{width:100%}.book-page-jump .panel-button,.book-search-pages .panel-button,.book-search-failure .panel-button{min-height:44px}.book-page-jump p{flex-basis:100%;margin:0;font-size:12px}.book-page-jump [aria-invalid=true]{border-color:#eeab98}.book-page-jump [role=alert]{color:#f1bba9}.book-search-label{color:#ead8b3;margin-bottom:8px;font-size:13px;display:block}.book-search-input{color:#d8c28e;align-items:center;gap:10px;display:flex}.book-search-input input{flex:1;width:100%}.book-search-status{min-height:44px;margin:12px 0}.book-search-results{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.book-search-results button{text-align:left;color:#ead8b3;overflow-wrap:anywhere;background:#d8c28e09;border:1px solid #d8c28e44;border-radius:6px;width:100%;min-height:44px;padding:17px}.book-search-results strong{flex-direction:column;gap:6px;margin-bottom:12px;font-size:13px;display:flex}.book-search-results strong>span{color:#b9c6b6;font-size:11px;font-weight:400}.book-search-excerpt{white-space:pre-wrap;font-family:Georgia,serif;font-size:16px;line-height:1.65;display:block}.book-search-excerpt mark{color:#10252b;background:#dfc18b;border-radius:2px;padding:0 1px}.book-search-results small{color:#b9c6b6;margin-top:12px;font-size:11px;display:block}.book-search-pages{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:20px;display:flex}:is(.book-search-input input:focus-visible,.book-page-jump input:focus-visible){outline-offset:3px;outline:2px solid #f3d69d}.knight-game{max-width:640px;margin:0 auto}.knight-summary{color:#ded8b7;justify-content:space-between;align-items:center;gap:12px;max-width:390px;margin:19px auto 12px;font-size:12px;display:flex}.knight-summary strong{color:#efdcac;font-weight:500}.knight-board{background:#081919;border:1px solid #d3c28b6b;border-radius:8px;flex-direction:column;gap:6px;width:min(390px,100%);margin:0 auto;padding:7px;display:flex;box-shadow:0 10px 30px #0003}.knight-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.knight-row>[role=gridcell]{min-width:0}.knight-tile{aspect-ratio:1;cursor:pointer;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;width:100%;min-height:44px;padding:6px;font-family:Georgia,serif;font-size:clamp(23px,5vw,37px);transition:background .15s,box-shadow .15s;display:flex;position:relative}.knight-tile.light{color:#253e33;background:#b8b795}.knight-tile.dark{color:#eee5bf;background:#426557}.knight-tile small{color:inherit;opacity:.8;font-family:Arial,sans-serif;font-size:9px;line-height:1;position:absolute;top:3px;left:5px}.knight-tile.visited:not(.current){color:#afc5ac;background:#233d34;font-size:18px}.knight-tile.current{color:#20392b;background:#e6ca8d;box-shadow:inset 0 0 0 2px #f2e4b5}.knight-tile.legal{border-color:#f1d59b;box-shadow:inset 0 0 0 2px #efe0ae44}.knight-tile.legal>span{font-size:43px;line-height:1}.knight-tile.legal:hover{color:#233d2f;background:#d3bf84}.knight-tile.suggested{border-color:#fff3b7;box-shadow:inset 0 0 0 3px #fbf0bc,0 0 16px #eac88555}.knight-tile:focus-visible{outline-offset:3px;z-index:1;outline:3px solid #f5dc96}.knight-status{text-align:center;max-width:530px;min-height:40px;margin:17px auto 12px!important;line-height:1.7!important}.knight-status.dead-end{color:#ecd4a7!important}.knight-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.knight-actions .panel-button:disabled{opacity:.45;cursor:default}.knight-legend{color:#adbcaa;flex-wrap:wrap;justify-content:center;gap:7px 16px;margin:17px 0 0;font-size:10px;line-height:1.6;display:flex}@media (max-width:420px){.knight-board,.knight-row{gap:4px}.knight-board{padding:5px}.knight-actions .panel-button{padding:9px 11px;font-size:11px}.knight-summary{font-size:11px}.knight-tile small{font-size:8px}}@media (prefers-reduced-motion:reduce){.knight-tile{transition:none}}.quiet-summary{color:#d4c9b5;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px;font-size:13px;display:flex}.quiet-summary strong{color:#f0d7a3}.quiet-summary strong span{color:#9fafa5;border-bottom:2px solid #708475;margin-right:10px;padding:4px;display:inline-block}.quiet-summary strong .letter-collected{color:#ffe0a0;border-color:#e5bf77}.quiet-actions{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.quiet-actions .panel-button{min-height:44px}.quiet-status{min-height:3em;line-height:1.65}.quiet-legend,.maze-description{color:#b7c6b9;font-size:12px;line-height:1.7}.maze-description summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.maze-description ol{padding-left:24px}.maze-description li{margin:8px 0}.paper-maze{background:#0e1b17;border:1px solid #77886e;border-radius:7px;gap:2px;width:min(100%,340px);margin:12px auto;padding:5px;display:grid}.paper-maze-row{grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;display:grid}.paper-cell{aspect-ratio:1;color:#f1dbac;background:#233e31;border-radius:2px;place-items:center;min-width:0;font-size:16px;display:grid}.paper-cell.wall{background:repeating-linear-gradient(135deg,#415940 0 4px,#344b34 4px 8px)}.paper-cell.visited{background:#43533c}.paper-cell.current{color:#112318;background:#edce8e}.paper-cell.suggested{box-shadow:inset 0 0 0 2px #f9d38b}.paper-cell:focus-visible{outline-offset:-3px;outline:3px solid #fff0cb}.maze-compass{justify-content:center;gap:8px;margin:14px 0;display:flex}.maze-compass .panel-button{justify-content:center;width:48px;min-width:48px;height:48px;padding:0}.maze-compass [aria-disabled=true]{opacity:.6}.lantern-board{background:#1d241b;border:1px solid #8b774f;border-radius:12px;gap:6px;width:min(100%,340px);margin:16px auto;padding:8px;display:grid}.lantern-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.lantern-row [role=gridcell]{min-width:0}.lantern-tile{aspect-ratio:1;color:#c8b17d;cursor:pointer;background:#30382c;border:1px solid #927c55;border-radius:5px;place-items:center;width:100%;min-width:44px;min-height:44px;padding:0;display:grid;position:relative}.lantern-tile svg{stroke:currentColor;stroke-width:5px;stroke-linecap:round;fill:currentColor;width:100%;height:100%}.lantern-tile small{color:#d9ceae;font-size:9px;line-height:1;position:absolute;top:2px;left:4px}.lantern-tile.powered{color:#ffdda0;background:#514326}.lantern-tile.fixed{cursor:default;background:#615132}.lantern-tile.suggested{outline-offset:1px;outline:2px solid #e8c781}.lantern-tile:focus-visible{outline-offset:1px;outline:3px solid #fff1cf}.lantern-end{color:#172d23;pointer-events:none;place-items:center;font-size:17px;display:grid;position:absolute;inset:0}@media (max-width:380px){.paper-maze{max-width:250px}.paper-cell{font-size:12px}.quiet-actions{gap:7px}.quiet-actions .panel-button{padding:10px;font-size:11px}.quiet-summary,.quiet-status{font-size:12px}}.word-path-summary{color:#c7c9b5;justify-content:space-between;gap:12px;margin:20px 0 12px;font-size:13px;display:flex}.word-path-summary strong{color:#efd49a}.word-current{justify-content:center;gap:8px;margin:18px 0;display:flex}.word-current>span{color:#eee2c2;background:#23392d;border:1px solid #71876d;border-radius:7px;place-items:center;width:54px;min-width:0;height:58px;font-size:28px;font-weight:600;display:grid}.word-current .changed-letter{color:#ffe0a0;background:#51462d;border-color:#caa76a}.word-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.word-choice{color:#ecddba;cursor:pointer;background:#21362b;border:1px solid #768b70;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:44px;min-height:76px;padding:12px 8px;display:flex}.word-choice strong{letter-spacing:.1em;font-size:18px}.word-choice small{color:#bac8b5;font-size:11px}.word-choice:hover{background:#304635}.word-choice:focus-visible{outline-offset:2px;outline:3px solid #fff0cb}.word-choice.suggested{border-color:#e5bd77;box-shadow:inset 0 0 0 1px #e5bd77}.word-hint-label{color:#ffe0a0;font-size:10px}.word-route{color:#bac8b5;margin-top:20px;font-size:12px}.word-route>strong{color:#e2d0a8}.word-route ol{flex-wrap:wrap;gap:6px;margin:10px 0;padding:0;list-style:none;display:flex}.word-route li{border:1px solid #60735b;border-radius:4px;padding:6px 9px}.word-route li[aria-current]{color:#ffe0a0;border-color:#cda766}.word-path .quiet-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.word-path .quiet-actions .panel-button{min-height:44px}.word-path .quiet-status{min-height:3em;line-height:1.65}@media (max-width:380px){.word-current{gap:6px}.word-current>span{width:45px;height:50px;font-size:25px}.word-choices{gap:8px}.word-path-summary{font-size:12px}.word-path .quiet-actions .panel-button{padding:10px;font-size:11px}}.melody-actions{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.melody-actions .panel-button,.melody-next{min-height:44px}.melody-status{min-height:3em;line-height:1.7}.melody-next{margin:10px 0}.melody-game .lantern:focus-visible{outline-offset:3px;outline:3px solid #fff0cb}@media (max-width:420px){.melody-game .lantern-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.melody-actions .panel-button,.melody-next{padding:11px;font-size:12px}}.sliding-board{background:#0d211dcc;border:1px solid #c7ae7266;border-radius:7px;gap:8px;margin:20px 0;padding:12px;display:grid}.sliding-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.sliding-row>[role=gridcell]{min-width:0}.sliding-page{color:#253b31;background:#ddcfaa;border:1px solid #a7916377;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;min-width:44px;min-height:88px;padding:12px 4px;display:flex}.sliding-page>span{letter-spacing:.025em;font-family:Georgia,serif;font-size:clamp(11px,3.7vw,19px)}.sliding-page>small{letter-spacing:.07em;text-transform:uppercase;color:#576450;font-size:9px}.sliding-page.can-slide{border-color:#e8c46f;box-shadow:inset 0 0 0 1px #e8c46f88}.sliding-page.can-slide:hover{background:#eedeb5}.sliding-page.empty-place{color:#cab775;background:#17302855;border-style:dashed}.sliding-page.empty-place>small{color:#b7c1a6}.sliding-page.suggested{outline-offset:2px;outline:2px solid #e9bc61}.sliding-page:focus-visible{outline-offset:3px;outline:3px solid #f1d28b}@media (max-width:420px){.sliding-board{gap:7px;padding:8px}.sliding-row{gap:7px}.sliding-page{min-height:72px}.sliding-page>span{font-size:11px}}.lantern-journal .panel-button,.lantern-journal .gold-button,.lantern-letter .panel-button,.lantern-letter .text-button{max-width:100%;min-height:44px}.resident-conversations{margin:26px 0}.resident-topic{background:#d2bd8f08;border:1px solid #cdb88855;border-radius:6px;margin:10px 0;overflow:hidden}.resident-topic summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:13px 17px;list-style:none;display:flex}.resident-topic summary::-webkit-details-marker{display:none}.resident-topic summary>span{align-items:center;gap:10px;min-width:0;display:flex}.resident-topic summary svg{color:#dbbf88;flex-shrink:0}.resident-topic summary strong{color:#f0dfbd;font-family:Georgia,serif;font-size:18px;font-weight:400;line-height:1.4}.resident-topic summary small{color:#bdc9b9;text-align:right;font-size:11px;line-height:1.5}.resident-topic summary:hover{background:#d2bd8f12}:is(.resident-topic summary:focus-visible,.resident-topic button:focus-visible){outline-offset:-3px;outline:2px solid #fff0c4}.resident-topic[open]>summary{border-bottom:1px solid #cdb88830}.resident-topic-body{overflow-wrap:anywhere;padding:18px}.resident-topic-body p{color:#d4decc;margin:0 0 13px;font-size:13px;line-height:1.8}.resident-topic-body .resident-topic-prompt{color:#f0e4cf;font-family:Georgia,serif;font-size:19px}.resident-passage{border-bottom:1px solid #cdb88830;margin-bottom:17px;padding-bottom:17px}.resident-passage-count{color:#e3c489!important;font-size:12px!important}.resident-topic .panel-button{white-space:normal;text-align:left;max-width:100%;min-height:44px}.resident-replies{flex-wrap:wrap;gap:10px;display:flex}.resident-replies button{flex:1;justify-content:space-between;min-width:min(180px,100%)}.resident-replies button[aria-pressed=true]{background:#d2bd8f22;border-color:#e3c489}.resident-replies button:disabled{color:#acb8ac;cursor:default;border-color:#7b8b7b80}.resident-replies button:disabled:hover{background:#d2bd8f10}.resident-remembered:empty{display:none}.resident-remembered{background:#07171770;border-left:2px solid #d5ba80;margin-top:18px;padding:15px}.resident-remembered small{color:#c2ceba;font-size:11px;line-height:1.7;display:block}.resident-remembered p{margin:9px 0}.resident-finished{border-top:1px solid #cdb88840;margin-top:18px;padding-top:17px}.resident-finished .eyebrow{color:#e3c489;margin-bottom:10px;font-size:10px;display:block}.resident-destination{justify-content:space-between;width:100%;margin-top:15px}@media (max-width:640px){.resident-topic summary{align-items:flex-start;padding:12px}.resident-topic summary strong{font-size:17px}.resident-topic summary small{max-width:85px;font-size:10px}.resident-topic-body{padding:14px}.resident-topic-body p{font-size:12px}.resident-topic-body .resident-topic-prompt{font-size:18px}.resident-replies{flex-direction:column}.resident-replies button{width:100%}.resident-remembered{padding:12px}}.resident-passage p.resident-ending-note{color:#e5cda6;background:#d8b77d0b;border-left:2px solid #d8b77d;padding:9px 12px;line-height:1.7}.invitation-guide{color:#e8ddbd;background:#d1b77809;border:1px solid #d1b77866;border-radius:8px;margin:0 0 25px;padding:22px}.invitation-guide>.eyebrow{align-items:center;gap:8px;line-height:1.7;display:flex}.invitation-guide h3{margin:13px 0 10px;font-family:Georgia,serif;font-size:27px;font-weight:400}.invitation-guide p{color:#c3cbb6;margin:8px 0;font-size:12px;line-height:1.8}.invitation-guide .invitation-progress{color:#e6c68d;margin:13px 0}.invitation-language{flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;line-height:1.8;display:flex}.invitation-language select{color:#ede1bf;min-width:44px;max-width:100%;min-height:44px;font:inherit;background:#142722;border:1px solid #bca56d66;border-radius:5px;padding:8px}.invitation-language select:focus-visible{outline-offset:3px;outline:2px solid #e1c78a}.invitation-steps{gap:10px;margin:16px 0;display:grid}.invitation-steps>button{color:#ede1bf;text-align:left;background:#14272288;border:1px solid #bca56d55;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:44px;padding:14px;display:flex}.invitation-steps>button>span{flex-direction:column;gap:6px;min-width:0;display:flex}.invitation-steps strong{overflow-wrap:anywhere;font-family:Georgia,serif;font-size:18px;font-weight:400}.invitation-steps>button>span>span{color:#c2cbb8;overflow-wrap:anywhere;font-size:11px;line-height:1.8}.invitation-steps svg{flex-shrink:0}.invitation-follow{color:#ddcea7;text-align:left;overflow-wrap:anywhere;background:#c4b47e09;border:1px solid #c4b47e66;border-radius:5px;max-width:100%;min-height:44px;padding:10px 13px;font-size:12px;line-height:1.8}.invitation-follow:hover,.invitation-steps>button:not(:disabled):hover{background:#c4b47e18;border-color:#e1c78a}.invitation-follow:focus-visible{outline-offset:3px;outline:2px solid #e1c78a}.invitation-steps>button:focus-visible{outline-offset:3px;outline:2px solid #e1c78a}.invitation-guide .invitation-follow{width:100%}.quest-card .invitation-follow{margin-top:12px}.npc-quest .invitation-follow{margin-top:12px;display:block}@media (max-width:640px){.invitation-guide{padding:17px}.invitation-guide h3{font-size:24px}.invitation-guide>.eyebrow{letter-spacing:.12em;font-size:8px}.invitation-steps>button{padding:12px}.invitation-steps strong{font-size:17px}}.motion-options{flex-wrap:wrap;gap:10px;margin:14px 0;display:flex}.motion-options label>span{color:#dedbc3;cursor:pointer;background:#d3bc8b08;border:1px solid #9aac9055;border-radius:5px;min-width:44px;min-height:44px;padding:12px 18px;display:block}.motion-options input:checked+span{color:#192e24;background:#d5ba80;border-color:#d5ba80}.motion-options input:focus-visible+span{outline-offset:3px;outline:3px solid #fff0cb}.motion-comfort p{line-height:1.7}.motion-comfort .motion-storage-warning{color:#eed19b}@media (max-width:380px){.motion-options label>span{padding:11px 15px;font-size:12px;display:block}}.library[data-reduced-motion=true] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}body:has(.library[data-reduced-motion=true]) :is([data-slot=dialog-content],[data-slot=dialog-overlay],[data-slot=select-content]){scroll-behavior:auto!important;transition:none!important;animation:none!important}body:has(.library[data-reduced-motion=true]) :is([data-slot=dialog-content],[data-slot=select-content]) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.library[data-reduced-motion=true] .reduced-page-turn{animation:.18s ease-in-out gentle-page-turn!important}.personal-shelf{border-bottom:1px solid #c7b58730;margin:0 0 22px;padding:0 0 18px}.personal-shelf-options{flex-wrap:wrap;gap:8px;display:flex}.personal-shelf-options button{color:#d6dfcc;background:#d4c29b08;border:1px solid #aab6a54d;border-radius:5px;min-height:44px;padding:10px 15px;font-size:12px}.personal-shelf-options button:hover{background:#d4c29b16;border-color:#dfc18b}.personal-shelf-options button[aria-pressed=true]{color:#142821;background:#d5ba80;border-color:#d5ba80}.personal-shelf-options button:focus-visible{outline-offset:3px;outline:2px solid #fff0c4}.personal-shelf p{color:#bac7b8;margin:12px 0 0;font-size:12px;line-height:1.7}@media (max-width:640px){.personal-shelf-options{gap:7px}.personal-shelf-options button{padding:10px 12px;font-size:11px}.personal-shelf p{font-size:11px}.personal-shelf{margin-bottom:18px;padding-bottom:16px}}.catalog-tools select{min-height:44px}.catalog-book-details .book-language{color:#d8c69b;margin-top:4px;font-size:11px}.catalog-entry{flex-direction:column;gap:8px;min-width:0;display:flex}.catalog-entry>.catalog-book{flex:1;width:100%}.catalog-plan{color:#d8c69b;background:#d4c29b08;border:1px solid #c7b58740;border-radius:5px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:12px;display:flex}.catalog-plan:hover{background:#d4c29b16;border-color:#dfc18b}.catalog-plan[aria-pressed=true]{color:#efe1b9;background:#d5ba8020;border-color:#d5ba8080}.catalog-plan:focus-visible{outline-offset:3px;outline:2px solid #fff0c4}.catalog-plan svg{flex-shrink:0}.conversation-actions select{max-width:100%;min-height:44px}.library-toast>button{border-radius:4px;flex-shrink:0;place-items:center;min-width:44px;min-height:44px;display:grid}.library-toast>button:hover{background:#e0c7991a}.library-toast small{color:#d5bc84;margin-top:9px;font-size:11px;line-height:1.6;display:block}.library-toast>div{min-width:0}.library-toast p{overflow-wrap:anywhere}@media (max-width:380px){.library-toast{gap:8px;padding:12px}.library-toast>svg{width:18px}.library-toast strong{font-size:16px}}.touch-movement .walk-thumbstick:first-child{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:radial-gradient(circle,#182a32bf 34%,#0b142bdd 35%);border:1px solid #e6c58c6b;border-radius:50%;width:112px;height:112px;margin:0;position:relative;overflow:hidden;box-shadow:0 4px 20px #0004}.touch-movement .walk-thumbstick:active{background:radial-gradient(circle,#34423bcf 34%,#101d2ee8 35%)}.thumbstick-knob{pointer-events:none;background:linear-gradient(135deg,#b8aa80,#6a775d);border:1px solid #f2d39f;border-radius:50%;width:44px;height:44px;position:absolute;top:34px;left:34px;box-shadow:0 2px 8px #0005}.thumbstick-direction{color:#e4d9c0;pointer-events:none;font:16px Arial,sans-serif;position:absolute}.thumbstick-direction.north{top:5px;left:50%;transform:translate(-50%)}.thumbstick-direction.south{bottom:5px;left:50%;transform:translate(-50%)}.thumbstick-direction.west{top:50%;left:7px;transform:translateY(-50%)}.thumbstick-direction.east{top:50%;right:7px;transform:translateY(-50%)}.touch-walk-hint{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.library[data-compact-hud=true] .touch-movement{justify-content:center;align-items:center;width:112px;display:flex}.library[data-compact-hud=true] .room-controls-main{grid-template-columns:112px minmax(0,1fr)}.library[data-touch-controls=true] kbd{display:none}.library[data-touch-controls=true] .welcome-hint{font-size:12px}.library[data-touch-controls=true] .welcome-hint:after{content:none}.room-controls,.room-controls-main{display:contents}.room-details-button{display:none}.room-information>p{color:#c5cbd4;margin:18px 0;line-height:1.7}.room-information-actions{flex-wrap:wrap;gap:12px;display:flex}.room-information-actions button{min-height:44px}.library[data-compact-hud=true]{min-height:0}.library[data-compact-hud=true] .library-header{grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;padding:12px;display:grid}.library[data-compact-hud=true] .wordmark{grid-area:1/1;gap:9px;font-size:10px}.library[data-compact-hud=true] .wordmark b{font-size:12px}.library[data-compact-hud=true] .header-right{grid-area:1/2}.library[data-compact-hud=true] .room-label{display:none}.library[data-compact-hud=true] .round-icon{width:44px;height:44px}.library[data-compact-hud=true] .library-nav{background:0 0;border:0;grid-area:2/1/auto/-1;justify-self:end;gap:4px;margin:0;padding:0}.library[data-compact-hud=true] .library-nav button{background:#0c132ae0;border:1px solid #ffffff30;border-radius:6px;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px}.library[data-compact-hud=true] .library-nav button span{display:none}.library[data-compact-hud=true] .room-details-button{color:#efe5d4;background:#0c132ae0;border:1px solid #ffffff30;border-radius:6px;align-items:center;gap:9px;width:calc(100% - 172px);min-height:44px;padding:10px;font:13px Georgia,serif;display:flex;position:absolute;top:64px;left:12px}.room-details-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library[data-compact-hud=true] .room-controls{pointer-events:none;gap:8px;display:grid;position:absolute;bottom:12px;left:12px;right:12px}.library[data-compact-hud=true] .room-controls button,.library[data-compact-hud=true] .room-controls [role=radiogroup]{pointer-events:auto}.library[data-compact-hud=true] .room-controls-main{grid-template-columns:112px minmax(0,1fr);align-items:end;gap:8px;display:grid}.library[data-compact-hud=true] .room-controls-main:not(:has(.touch-movement)){grid-template-columns:1fr}.library[data-compact-hud=true] .touch-movement{align-self:end;gap:4px;width:112px;display:flex;position:static}.library[data-compact-hud=true] .bottom-hud{min-width:0;display:block;position:static}.library[data-compact-hud=true] .control-hint{display:none}.library[data-compact-hud=true] .hud-actions{grid-template-columns:minmax(0,1fr) 44px;gap:4px;display:grid}.library[data-compact-hud=true] .hud-actions>.glass-button:first-child:not(.sound-toggle):not(:nth-last-child(2)){grid-column:1/-1}.library[data-compact-hud=true] .hud-actions>.glass-button{justify-content:center;gap:5px;min-width:0;min-height:44px;padding:8px 5px;font-size:12px}.library[data-compact-hud=true] .hud-actions kbd{display:none}.library[data-compact-hud=true] .closed-book-controls{gap:4px;min-width:0;display:grid;position:static}.library[data-compact-hud=true] .closed-book-controls>span{display:none}.library[data-compact-hud=true] .closed-book-controls .reading-mode-switch{justify-content:center;width:100%}.library[data-compact-hud=true] .closed-book-controls .reading-mode-switch [data-slot=toggle-group-item]{flex:1;min-width:44px!important;height:44px!important;min-height:44px!important;font-size:12px!important}.library[data-compact-hud=true] .closed-book-controls .reader-top-actions{grid-template-columns:1fr 1fr;gap:4px;width:100%;display:grid}.library[data-compact-hud=true] .closed-book-controls .reader-glass-action{white-space:normal;justify-content:center;min-width:44px;min-height:44px;padding:8px}.library[data-compact-hud=true] .closed-book-controls .reader-glass-action>span{display:inline}.library[data-compact-hud=true] .interaction{width:100%;min-width:0;max-width:none;position:static;transform:none}.library[data-compact-hud=true] .interaction:empty{display:none}.library[data-compact-hud=true] .interaction button{justify-content:center;width:100%;min-height:44px;padding:8px 12px;font-size:12px}.library[data-compact-hud=true] .library-toast{width:auto;max-width:none;left:12px;right:12px;bottom:calc(var(--room-controls-height,140px) + 24px);max-height:calc(100svh - var(--room-controls-height,140px) - 152px);align-items:flex-start;gap:8px;padding:12px}.library[data-compact-hud=true] .library-toast>div{max-height:calc(100svh - var(--room-controls-height,140px) - 178px);overflow:auto}.library[data-compact-hud=true]:not(.is-reading) .equipped-bookplate{display:none}.library[data-compact-hud=true] .world-error,.library[data-compact-hud=true] .book-error{z-index:30;top:120px}.library[data-compact-hud=true] .world-error button,.library[data-compact-hud=true] .book-error button{min-width:44px;min-height:44px}.library[data-compact-hud=true].is-reading .library-header{grid-template-columns:minmax(0,1fr) auto 44px}.library[data-compact-hud=true].is-reading .library-nav{grid-area:1/2}.library[data-compact-hud=true].is-reading .header-right{grid-column:3}.library[data-compact-hud=true] .reader-shell button,.library[data-compact-hud=true] .held-reader button{min-width:44px;min-height:44px}.library[data-compact-hud=true] .chapter-select{min-height:44px}.library[data-compact-hud=true] .reading-mode-switch [data-slot=toggle-group-item]{height:44px!important;min-height:44px!important}@media (max-width:539px){.library[data-compact-hud=true].is-reading .wordmark>span{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}@media (max-height:600px) and (min-width:540px){.library[data-compact-hud=true] .library-header{grid-template-columns:minmax(100px,1fr) auto 44px}.library[data-compact-hud=true] .library-nav{grid-area:1/2}.library[data-compact-hud=true] .header-right{grid-column:3}.library[data-compact-hud=true] .room-details-button{width:220px;top:64px}.library[data-compact-hud=true] .room-controls:has(.closed-book-controls){grid-template-columns:176px minmax(0,1fr);align-items:end}.library[data-compact-hud=true] .closed-book-controls{grid-area:2/1}.library[data-compact-hud=true] .room-controls>.interaction{grid-area:1/1/auto/-1}.library[data-compact-hud=true] .room-controls-main{grid-area:2/2}.library[data-compact-hud=true] .library-toast{width:320px;max-height:calc(100svh - var(--room-controls-height,140px) - 92px);left:auto}.library[data-compact-hud=true] .library-toast>div{max-height:calc(100svh - var(--room-controls-height,140px) - 118px)}}:root{--library-safe-top:env(safe-area-inset-top,0px);--library-safe-right:env(safe-area-inset-right,0px);--library-safe-bottom:env(safe-area-inset-bottom,0px);--library-safe-left:env(safe-area-inset-left,0px)}.library{height:100dvh}.library[data-compact-hud=true] .library-header{padding-top:calc(12px + var(--library-safe-top));padding-left:calc(12px + var(--library-safe-left));padding-right:calc(12px + var(--library-safe-right))}.library[data-compact-hud=true] .room-details-button{top:calc(64px + var(--library-safe-top));left:calc(12px + var(--library-safe-left));width:calc(100% - 172px - var(--library-safe-left) - var(--library-safe-right))}.library[data-compact-hud=true] .room-controls{bottom:calc(12px + var(--library-safe-bottom));left:calc(12px + var(--library-safe-left));right:calc(12px + var(--library-safe-right))}.library[data-compact-hud=true] .library-toast{bottom:calc(var(--room-controls-height,140px) + 24px + var(--library-safe-bottom));max-height:calc(100dvh - var(--room-controls-height,140px) - 152px - var(--library-safe-top) - var(--library-safe-bottom))}.library[data-compact-hud=true] .library-toast>div{max-height:calc(100dvh - var(--room-controls-height,140px) - 178px - var(--library-safe-top) - var(--library-safe-bottom))}.library[data-compact-hud=true] .welcome{bottom:calc(24px + var(--library-safe-bottom));left:calc(16px + var(--library-safe-left));right:calc(16px + var(--library-safe-right));max-height:calc(100dvh - 100px - var(--library-safe-top) - var(--library-safe-bottom));overscroll-behavior:contain;overflow-y:auto}.library[data-compact-hud=true] .reader-shell{bottom:calc(12px + var(--library-safe-bottom));max-height:calc(100dvh - 96px - var(--library-safe-top) - var(--library-safe-bottom));width:calc(100% - 24px - var(--library-safe-left) - var(--library-safe-right))}.library[data-compact-hud=true] .reader-shell.is-short{top:calc(78px + var(--library-safe-top));max-height:none}.library[data-compact-hud=true] .held-reader-top{top:calc(78px + var(--library-safe-top));left:calc(12px + var(--library-safe-left));right:calc(12px + var(--library-safe-right))}.library[data-compact-hud=true] .held-reader.is-short .held-reader-top{right:auto;bottom:calc(12px + var(--library-safe-bottom))}.library[data-compact-hud=true] .held-reader>.reader-bottom{bottom:calc(12px + var(--library-safe-bottom));max-width:calc(100% - 24px - var(--library-safe-left) - var(--library-safe-right))}.library[data-compact-hud=true] .held-reader.is-short>.reader-bottom{bottom:auto;right:calc(12px + var(--library-safe-right))}@media (max-width:720px),(max-height:600px),(pointer:coarse){.adventure-panel,.conversation-panel{height:calc(100dvh - 24px - var(--library-safe-top) - var(--library-safe-bottom));max-height:calc(100dvh - 24px - var(--library-safe-top) - var(--library-safe-bottom));min-height:0;width:calc(100vw - 20px - var(--library-safe-left) - var(--library-safe-right))!important}.adventure-panel button,.adventure-panel select{min-height:44px}.adventure-panel .panel-scroll{overscroll-behavior:contain}.adventure-panel input:not([type=checkbox]):not([type=radio]),.adventure-panel select,.adventure-panel textarea{font-size:16px}.library[data-compact-hud=true] .interaction kbd{display:none}}@media (max-height:600px) and (min-width:540px){.library[data-compact-hud=true] .room-details-button{width:220px}.library[data-compact-hud=true] .welcome{max-width:450px;padding:20px 24px}.library[data-compact-hud=true] .welcome h1{margin:10px 0;font-size:34px}.library[data-compact-hud=true] .welcome p{margin-bottom:12px;font-size:12px;line-height:1.6}.library[data-compact-hud=true] .welcome-features{margin-bottom:12px}.library[data-compact-hud=true] .welcome-hint{margin-top:10px}.library[data-compact-hud=true] .library-toast{max-height:calc(100dvh - var(--room-controls-height,140px) - 92px - var(--library-safe-top) - var(--library-safe-bottom))}.library[data-compact-hud=true] .library-toast>div{max-height:calc(100dvh - var(--room-controls-height,140px) - 118px - var(--library-safe-top) - var(--library-safe-bottom))}}
