@import url('./prose.css?v=20261112');

@import url('./dante/voyage.css?v=20261028-1');

/* Illustrated consequential book; each pane scrolls independently of the page. */
html,body{margin:0;height:100%;background:#111512}
.book-adventure{--book-font:19px;color:#e9e2d5;background:#111512;font-family:Georgia,'Times New Roman',serif;height:100dvh;min-height:340px}
.book-adventure *{box-sizing:border-box}
.book-adventure button,.book-adventure input{font:inherit}
.book-adventure button,.book-adventure a{touch-action:manipulation}
.book-adventure button{border:1px solid #6e705f;background:#242a23;color:inherit;border-radius:5px;cursor:pointer;padding:.65rem .85rem;line-height:1.4}
.book-adventure button:hover{background:#354034;border-color:#c2c0a1}
.book-adventure button:focus-visible,.book-adventure a:focus-visible,.book-adventure summary:focus-visible{outline:3px solid #ebc970;outline-offset:4px}
.book-shell{height:100%;display:flex;flex-direction:column;overflow:hidden}
.book-top{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;border-bottom:1px solid #41483b;flex:none;gap:16px;background:#171d17}
.book-control-status{flex:none;min-width:0;margin:0;padding:8px 24px;border-bottom:1px solid #b9a47d;background:#f4ead6;color:#49351f;font:13px/1.5 system-ui,sans-serif;text-align:right;overflow-wrap:anywhere}
.book-control-status:empty{padding-block:0;border-bottom-width:0}
.book-brand{font-size:25px;letter-spacing:.04em}
.book-chapter{margin-left:24px;color:#c3c8b5;font:15px system-ui,sans-serif}
.book-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr);flex:1;min-height:0}
.book-picture{margin:0;position:relative;min-height:0;overflow:hidden;background:radial-gradient(ellipse at center,#394136,#0c100e)}
.book-picture img{width:100%;height:100%;object-fit:contain;display:block;cursor:zoom-in;user-select:none}
.book-mono .book-picture img{filter:grayscale(1)}
.book-sheet{min-height:0;overflow:auto;padding:clamp(22px,3vw,54px);scrollbar-color:#78836b #172019;overscroll-behavior:contain}
.book-sheet h1{font-size:clamp(26px,2.7vw,42px);line-height:1.15;font-weight:400;margin:0 0 1.25rem;color:#f4ecda;outline:none}
.book-prose{font-size:var(--book-font);line-height:1.65;margin:0 0 1.2em;white-space:pre-line}
.book-choices{display:grid;gap:12px;padding-top:10px}
.book-choice{text-align:left!important;padding:18px!important;background:#222c23!important;border-left:3px solid #c2ad75!important}
.book-choice small{display:block;font:14px/1.5 system-ui,sans-serif;color:#e1c793;margin-top:8px}
.book-choice:hover{background:#334535!important}
.book-footer{display:flex;align-items:center;gap:14px;justify-content:flex-end;padding:8px 20px;border-top:1px solid #41483b;background:#171d17;font:14px system-ui,sans-serif;flex:none}
.book-footer .book-muted{margin-left:auto}
.book-detail{margin:18px 0;padding:14px 0;border-top:1px solid #4c5748;border-bottom:1px solid #4c5748}
.book-detail summary{cursor:pointer;color:#d5c08c}
.book-detail p{font-size:var(--book-font);line-height:1.65}
.book-after{margin-top:28px}
.book-after p,.book-outcome p,.book-intro p{font-size:17px;line-height:1.6;color:#c6cbbb}
.book-finished{letter-spacing:.04em;color:#ded2a3;font:15px/1.5 system-ui,sans-serif;margin:25px 0}
.book-primary{display:inline-block;background:#d0c39a!important;color:#171c17!important;border-color:#d0c39a!important;padding:12px 18px;text-decoration:none;border-radius:5px;font-size:17px}
.book-muted{color:#b6bdac;font:13px/1.55 system-ui,sans-serif}
.book-exploration{padding:8px 20px;background:#41462d;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;font:14px/1.5 system-ui,sans-serif}
.book-notice{padding:12px;border:1px solid #c9a96d;background:#3d3021;line-height:1.5;font:15px system-ui,sans-serif}
.book-image-error{position:absolute;bottom:10%;left:10%;right:10%;padding:1em;background:#171d17}
.book-dialog{background:#20291f;color:#eee7d6;border:1px solid #879177;border-radius:8px;width:min(650px,calc(100vw - 26px));max-height:85dvh;padding:24px;overflow:auto}
.book-dialog::backdrop{background:#050906d9}
.book-dialog p{line-height:1.65;white-space:pre-line}
.book-dialog-head{display:flex;gap:16px;align-items:center;justify-content:space-between}
.book-dialog h2{font-weight:400;margin:0}
.book-dialog h3{margin-top:28px}
.book-dialog button{margin:5px 8px 5px 0}
.book-dialog fieldset{margin:24px 0;padding:10px;border:1px solid #758268}
.book-setting{display:flex;align-items:center;gap:14px;margin:14px 0}
.book-setting input[type=range]{flex:1;min-width:70px}
.book-setting input[type=radio]{width:18px;height:18px;accent-color:#ddc794}
.book-link{display:block;margin:18px 0;color:#e2cb92}
.book-adventure .worlds-exit-link{color:#e2cb92;text-underline-offset:4px}
.book-import{display:block;margin:20px 0}
.book-import input{display:block;width:100%;margin-top:10px}
.book-chapter-row{border-top:1px solid #66745c;padding:12px 0}
.book-chapter-row span{display:block}
@media(max-width:850px){
 .book-body{grid-template-columns:1fr;grid-template-rows:minmax(120px,32dvh) minmax(0,1fr)}
 .book-top{padding:8px 16px}.book-brand{font-size:21px}.book-chapter{display:block;font-size:12px;margin:3px 0 0}
 .book-sheet{padding:22px 20px}.book-sheet h1{font-size:27px}
 .book-footer{padding:6px 12px;gap:8px}.book-footer .book-muted{font-size:11px}
 .book-exploration{padding:6px 12px;font-size:12px}
 .book-picture img{object-fit:contain}
}
@media(max-height:500px) and (min-width:600px){.book-body{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr)}.book-top{padding:5px 16px}.book-sheet{padding:18px}.book-footer{padding:4px 12px}}
@media(prefers-reduced-motion:reduce){.book-adventure *{scroll-behavior:auto!important;transition:none!important}}

/* Both layouts keep an accessible reading pane and an unobstructed image viewer. */
.book-adventure{--ink:#eee4d2;--gold:#cbb282;color:var(--ink);background:#0c1013}
.book-top{background:#0d1216f2;border-color:#635c4e;padding:10px 24px}
.book-brand{font-size:23px;letter-spacing:.18em;text-transform:uppercase}
.book-chapter{color:#d1c4a9;letter-spacing:.08em;font-size:12px}
.book-footer{background:#0d1216f5;border-color:#635c4e}
.book-adventure button{border-radius:2px}
.book-kicker{font:11px/1.7 system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:#d1b98b;margin:0 0 15px}
.book-sheet h1{font-size:clamp(28px,2.7vw,46px);line-height:1.12;text-wrap:balance;color:#fff3db}
.book-prose{line-height:1.74}
.book-choice{background:#1c2227e8!important;border-color:#6a6252!important;border-left-color:#d2b982!important}
.book-choice:hover{background:#303438!important}
.book-choices{margin-top:22px}
.book-contemplate{position:absolute;left:20px;bottom:18px;background:#0d131bc9!important;border-color:#c7b78a!important;font:12px/1.4 system-ui,sans-serif!important;letter-spacing:.08em;z-index:2}
.book-caption{position:absolute;left:18px;right:18px;top:15px;text-align:right;font:11px/1.5 system-ui,sans-serif;letter-spacing:.07em;color:#f4eddf;text-shadow:0 1px 5px #000;background:linear-gradient(90deg,transparent,#0b101677);padding:6px 10px;pointer-events:none}
.book-epigraph{border-left:1px solid #b49d71;margin:0 0 26px;padding:2px 0 2px 18px}
.book-epigraph>p{font-size:clamp(20px,2vw,27px);line-height:1.5;font-style:italic;margin:0 0 10px}
.book-epigraph cite{font:11px/1.7 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#cfbb91}
.book-epigraph details{font-size:13px;margin-top:10px;color:#d0c9ba}
.book-epigraph summary{cursor:pointer}
.book-source-button{font:11px/1.5 system-ui,sans-serif!important;padding:5px 0!important;border:0!important;background:none!important;text-decoration:underline;text-underline-offset:4px;color:#bfb9ab!important;margin:0 0 9px}
.book-art-dialog{position:fixed;inset:0;margin:0!important;padding:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;overflow:hidden;background:#080b0d!important;box-sizing:border-box}
.book-art-dialog[open]{display:block}
.book-art-full{display:block;width:100%;height:100%;max-height:none;object-fit:contain;outline:0;cursor:zoom-out;user-select:none}
.book-art-dialog::backdrop{background:#080b0d}
.book-art-hud{position:absolute;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));transition:opacity .2s;opacity:1}
.book-art-hud button{font:13px/1.5 system-ui,sans-serif;background:#11171dcc;border-color:#65716b;color:#eee9de;backdrop-filter:blur(8px)}
.book-art-idle .book-art-hud{opacity:0;pointer-events:none}
.book-art-idle .book-art-hud:focus-within{opacity:1;pointer-events:auto}
@media(prefers-reduced-motion:reduce){.book-art-hud{transition:none}}
.book-dialog{background:#151d24;border-color:#9a8967}
@media(min-width:1000px){
 .book-immersive .book-body{display:block;position:relative;isolation:isolate;background:#11161b}
 .book-immersive .book-picture{position:absolute;inset:0;z-index:-1}
 .book-immersive .book-picture>img{object-fit:cover;object-position:center}
 .book-immersive .book-picture:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#05090b55,transparent 65%),linear-gradient(0deg,#080c1055,transparent 35%);pointer-events:none}
 .book-immersive .book-sheet{position:absolute;left:clamp(24px,4vw,80px);top:clamp(22px,4vh,54px);bottom:clamp(22px,4vh,54px);width:clamp(390px,36vw,620px);padding:clamp(26px,2.7vw,50px);background:linear-gradient(135deg,#101820ef,#10161af2);box-shadow:0 12px 80px #0008;border:1px solid #a18d684d;scrollbar-color:#a1906e #151c24}
 .book-immersive[data-composition=right] .book-sheet{left:auto;right:clamp(24px,4vw,80px)}
 .book-immersive .book-contemplate{left:auto;right:24px}
 .book-immersive[data-composition=right] .book-contemplate{right:auto;left:24px}
 .book-immersive .book-caption{left:52%;right:20px}
 .book-immersive[data-composition=right] .book-caption{left:20px;right:52%;text-align:left}
 .book-immersive .book-prose{font-size:var(--book-font)}
}
@media(max-width:999px){
 .book-body{grid-template-columns:1fr;grid-template-rows:minmax(150px,34dvh) minmax(0,1fr)}
 .book-sheet{padding:26px 22px;background:linear-gradient(#161e24,#11181d)}
 .book-top{padding:9px 16px}.book-brand{font-size:19px}.book-chapter{display:block;margin:4px 0 0;font-size:10px}
 .book-caption{font-size:9px;top:6px;right:8px;left:8px}
 .book-contemplate{left:12px;bottom:9px;padding:6px 9px!important;font-size:10px!important}
 .book-picture>img{object-fit:contain}
}
@media(max-height:520px) and (min-width:600px){
 .book-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,1fr);grid-template-rows:minmax(0,1fr)}
 .book-sheet{padding:18px 22px}.book-top{padding:6px 16px}
 .book-immersive .book-sheet{top:10px;bottom:10px}
}

/* A parchment chart unfolds with the actual journey; it never stores progression. */
.book-dialog.book-journey-dialog{width:min(1260px,calc(100vw - 24px));max-width:1260px;padding:22px}
.inferno-journey-map{margin:22px 0 30px;color:#3d3020;background:#dec99f;border:1px solid #a98b58;border-radius:5px;padding:14px}
.inferno-map-grid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:20px;align-items:start}
.inferno-map-landscape{min-width:0}.inferno-map-viewport{overflow:auto;max-height:67dvh;overscroll-behavior:contain;border:1px solid #ad905f;background:#d7be8b}
.inferno-map-canvas{width:100%;min-width:100%;line-height:0}.inferno-map-canvas svg{width:100%;height:auto;display:block}
.book-mono .inferno-map-painting{filter:grayscale(1) sepia(.4)}
.inferno-map-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.inferno-journey-map button{font:12px/1.5 system-ui,sans-serif;background:#eee0bf;color:#49351d;border:1px solid #a88a55;margin:0!important;padding:6px 10px}
.inferno-journey-map button:hover{background:#f6edda;color:#392514}
.inferno-map-credit{font:11px/1.6 system-ui,sans-serif!important;margin:10px 0 0!important;color:#6c5734}
.inferno-map-eyebrow{font:10px/1.4 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:.16em;color:#84613c;margin:7px 0!important}
.inferno-map-reading h3{margin:10px 0 14px!important;font-size:27px;line-height:1.15;font-weight:400}
.inferno-map-current{font:12px/1.6 system-ui,sans-serif!important;color:#70462c}
.inferno-map-scene{font-size:17px;line-height:1.45!important}
.inferno-map-quiet{font-size:13px;font-style:italic}
.inferno-map-regions{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0}
.inferno-map-regions span{font:10px/1.5 system-ui,sans-serif;border-bottom:1px solid #a58960;padding:2px 0}
.inferno-map-regions span+span:before{content:'·';margin-right:6px;color:#917145}
.inferno-map-stages{border-top:1px solid #bda371;padding-top:12px;font:13px/1.6 system-ui,sans-serif}
.inferno-map-stages summary{cursor:pointer}.inferno-map-stages ol{list-style:none;padding:0;max-height:260px;overflow:auto;margin:12px 0}
.inferno-map-stages li{margin-bottom:6px}.inferno-map-stages button{border:0;background:none;text-align:left;padding:3px 0}
.inferno-map-stages button[aria-current]{color:#8d2c22;font-weight:700}
.inferno-map-selection{font-size:13px;font-style:italic;min-height:1.5em}
.inferno-map-stop.selected{r:6;fill:#fff7de;stroke-width:2}
.book-canto-context{border-top:1px solid #786d55;margin-top:28px;padding-top:15px}
@media(max-width:800px){.inferno-map-grid{grid-template-columns:1fr}.inferno-map-reading h3{font-size:24px}.inferno-map-regions{margin:12px 0}.inferno-journey-map{padding:8px}.book-dialog.book-journey-dialog{padding:15px}.inferno-map-viewport{max-height:60dvh}}

/* Dante's atlas and preferences keep the reading surface uncluttered. */
.book-dialog.book-journey-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;overflow:hidden;background:#e6d3ac;color:#3f3021}
.book-journey-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.book-journey-dialog>.book-dialog-head{padding:14px 22px;background:#14201f;color:#f1e6d2;border-bottom:1px solid #8c7653}
.book-journey-dialog>.book-dialog-head h2{font-size:26px;letter-spacing:.05em}
.book-journey-dialog>.book-dialog-head button{margin:0;background:#23322e;border-color:#8c7c60;color:#eee4ce}
.book-journey-dialog .inferno-journey-map{margin:0;padding:0;border:0;border-radius:0;background:#e5d1a9;min-height:0;overflow:hidden}
.inferno-map-grid{grid-template-columns:minmax(0,1fr) 370px;gap:0;height:100%;min-height:0}
.inferno-map-landscape{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;padding:14px}
.inferno-map-tools{margin:0 0 10px;align-items:center;gap:7px}
.inferno-map-tools button{min-height:38px;padding:7px 12px;background:#f3e7cb}
.inferno-map-tools button:disabled{opacity:.4;cursor:default}
.inferno-position-button{margin-right:auto!important;font-weight:700!important}
.inferno-map-zoom{font:12px system-ui,sans-serif;min-width:45px;text-align:center}
.inferno-map-viewport{height:100%;max-height:none;cursor:grab;scrollbar-color:#a58859 #dcc49b;touch-action:pan-x pan-y}
.inferno-map-viewport.dragging{cursor:grabbing}
.inferno-map-viewport:focus-visible{outline:3px solid #8e482e;outline-offset:2px}
.inferno-map-label{font:18px Georgia,serif;fill:#3d281b;stroke:#f0dfba;stroke-width:5px;paint-order:stroke;stroke-linejoin:round;dominant-baseline:middle}
.inferno-map-region{cursor:pointer;outline:none}
.inferno-map-region:hover circle,.inferno-map-region[aria-pressed=true] circle{fill:#8f3a29;stroke:#fff1c9;stroke-width:4}
.inferno-map-region:focus-visible circle{stroke:#254e53;stroke-width:8}
.inferno-map-region[aria-pressed=true] text{fill:#833323;font-weight:700}
.inferno-map-position{pointer-events:none}
.inferno-map-hint{font:12px/1.5 system-ui,sans-serif!important;margin:10px 0 0!important;color:#685234}
.inferno-map-credit{font-size:10px!important;margin-top:5px!important}
.inferno-map-reading{overflow:auto;overscroll-behavior:contain;min-height:0;padding:20px 24px 30px;background:#f3e7cc;border-left:1px solid #bda77f;scrollbar-color:#a78f69 #eadbbd}
.inferno-map-position-card{padding:0 0 14px;margin-bottom:18px;border-bottom:1px solid #c9b48d}
.inferno-map-position-name{font:21px/1.3 Georgia,serif!important;margin:4px 0!important}
.inferno-map-current{margin:7px 0!important;font-size:12px!important}
.inferno-map-place-label,.inferno-map-chant-label{display:grid;gap:7px;font:12px/1.5 system-ui,sans-serif;margin:12px 0 20px;color:#6a4e30}
.inferno-map-reading select{box-sizing:border-box;width:100%;min-height:42px;font:14px/1.4 system-ui,sans-serif;border:1px solid #b59a6d;background:#fff8e8;color:#3e3020;padding:8px;border-radius:3px}
.inferno-map-reading h3{margin:8px 0 20px!important;font-size:30px}
.inferno-map-description .inferno-map-prose,.inferno-atlas-detail p{font-size:17px;line-height:1.7!important}
.inferno-map-description h4{font-size:16px;font-weight:400;margin:25px 0 8px}
.inferno-atlas-detail{border-top:1px solid #c7b08a;padding:13px 0}
.inferno-atlas-detail summary,.inferno-map-chapter-links>summary{cursor:pointer;font-size:17px;line-height:1.5;color:#7d3928}
.inferno-map-subplaces{padding-left:18px;font:12px/1.7 system-ui,sans-serif}
.inferno-map-source{display:inline-block;margin:18px 0 12px;font:12px/1.6 system-ui,sans-serif;color:#64452d;text-underline-offset:4px}
.inferno-map-chapter-links{border-top:1px solid #bda77f;padding-top:20px;margin-top:24px}
.inferno-map-chapter-links p,.inferno-map-chapter-links .book-chapter-row{font:13px/1.6 system-ui,sans-serif}
.inferno-map-chapter-links .book-chapter-row{border-color:#c9b48d}
.inferno-map-chapter-links button{background:#eddfbf;color:#573e28;border-color:#b09870}
.book-dialog.dante-options-dialog{width:min(970px,calc(100vw - 28px));height:min(760px,92dvh);max-height:92dvh;max-width:none;padding:0;border:1px solid #ae9262;border-radius:10px;overflow:hidden;background:#efe3c8;color:#3a3026;box-shadow:0 20px 100px #0009}
.dante-options-dialog[open]{display:flex;flex-direction:column}
.dante-options-dialog .book-dialog-head{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:22px 28px 18px;background:#162420;color:#f2e6cc;border-bottom:1px solid #b59b6f;gap:5px 20px}
.dante-options-dialog .book-dialog-head h2{grid-column:1;grid-row:2;font-size:29px}
.dante-options-dialog .book-dialog-head button{grid-column:2;grid-row:1/3;margin:0;color:#f2e6cc;background:#23372e;border-color:#8f835f}
.dante-options-dialog .book-dialog-head .dante-options-eyebrow{grid-column:1;grid-row:1;color:#c3b38b;margin:0}
.dante-options-eyebrow{font:10px/1.5 system-ui,sans-serif;letter-spacing:.17em}
.dante-options-body{display:flex;flex-direction:column;min-height:0;flex:1}
.dante-options-intro{font:13px/1.6 system-ui,sans-serif;margin:0;padding:15px 28px;color:#6b5c45;border-bottom:1px solid #d0bf9e}
.dante-options-layout{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:0;flex:1}
.dante-options-tabs{padding:18px 12px;background:#e1d2b3;border-right:1px solid #cbb58e}
.dante-options-dialog .dante-options-tab{display:block;width:100%;margin:0 0 8px;padding:14px 13px;text-align:left;background:transparent;color:#53432e;border:1px solid transparent;border-radius:5px;font:17px/1.3 Georgia,serif}
.dante-options-tab small{display:block;font:11px/1.5 system-ui,sans-serif;margin-top:5px;color:#77644a}
.dante-options-dialog .dante-options-tab:hover{background:#eee1c3}
.dante-options-dialog .dante-options-tab[aria-selected=true]{background:#f8edda;border-color:#ae9469;box-shadow:0 3px 12px #66502d14;color:#6f3425}
.dante-options-panels{min-height:0;overflow:auto;overscroll-behavior:contain}
.dante-options-panel{padding:25px 28px 30px;outline:none}
.dante-options-panel[hidden]{display:none}
.dante-options-dialog .dante-options-panel h3{margin:0 0 12px;font-size:26px;font-weight:400;color:#473321}
.dante-panel-copy{font:14px/1.7 system-ui,sans-serif;color:#736149;margin:0 0 22px}
.dante-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dante-preference-card{position:relative;cursor:pointer}
.dante-preference-card input{position:absolute;width:1px;height:1px;opacity:0}
.dante-card-surface{display:block;height:100%;border:1px solid #c4ae85;border-radius:7px;overflow:hidden;background:#f7ecd5;padding:13px;transition:border-color .15s,background .15s}
.dante-preference-card input:checked+.dante-card-surface{border:2px solid #834b2e;background:#fff5dc;padding:12px;box-shadow:0 2px 14px #75532618}
.dante-preference-card input:focus-visible+.dante-card-surface{outline:3px solid #40625b;outline-offset:3px}
.dante-card-surface strong{display:block;font:17px/1.4 Georgia,serif;margin:10px 0 5px}
.dante-card-surface small{display:block;font:12px/1.6 system-ui,sans-serif;color:#746047}
.dante-card-surface img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:3px;display:block}
.dante-preview-mono{filter:grayscale(1)}
.dante-layout-sketch{display:block;position:relative;height:78px;border-radius:3px;background:linear-gradient(145deg,#a9aa88,#38564a 40%,#192d29);overflow:hidden;border:1px solid #b9a580}
.dante-layout-landscape{position:absolute;inset:15px 0 0;background:linear-gradient(145deg,transparent 30%,#19352a 30%,#19352a 48%,transparent 48%),linear-gradient(35deg,#617e5c 45%,transparent 45%)}
.dante-layout-sheet{position:absolute;left:9%;top:12%;width:42%;height:76%;background:repeating-linear-gradient(#e3d5b1 0 5px,#c6b993 5px 6px);border:5px solid #eee1bf}
.dante-layout-sketch.lecture{background:#304b3f}
.dante-layout-sketch.lecture .dante-layout-sheet{left:50%;top:0;width:50%;height:100%;border:8px solid #eee1bf}
.dante-small{font:11px/1.6 system-ui,sans-serif!important;color:#7e6a4f;margin:13px 0 22px}
.dante-font-control>label{display:block;font:14px/1.6 system-ui,sans-serif;margin-bottom:9px}
.dante-font-row{display:flex;align-items:center;gap:16px}
.dante-font-row input{min-width:0;flex:1;accent-color:#80553b}
.dante-options-dialog .dante-font-step{margin:0;min-width:44px;min-height:42px;background:#e2d2b1;border-color:#b69b70;color:#4e3926}
.dante-setting-value{display:block;text-align:center;font:12px system-ui,sans-serif;margin-top:8px;color:#735e42}
.dante-reading-preview{font:19px/1.75 Georgia,serif;border-left:2px solid #ab8b58;margin:20px 0 0;padding:12px 18px;background:#e9dbbd;color:#4c3828}
.dante-panel-actions,.dante-save-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.dante-options-dialog button{background:#e2d1af;border-color:#b49a6d;color:#4f3824;border-radius:4px;font:13px/1.5 system-ui,sans-serif}
.dante-options-dialog button:hover{background:#d8c39c;border-color:#8e7046}
.dante-options-dialog .dante-options-primary{background:#29483d;color:#f4e8cc;border-color:#29483d}
.dante-options-dialog .dante-options-primary:hover{background:#355d4d}
.dante-options-dialog button:focus-visible,.dante-options-dialog a:focus-visible,.dante-options-dialog summary:focus-visible,.dante-options-dialog input:focus-visible{outline:3px solid #50756b;outline-offset:3px}
.dante-sound-status{font:14px/1.6 system-ui,sans-serif;color:#69583f;margin:26px 0 10px}
.dante-options-dialog .dante-sound-toggle{min-height:46px;margin:0 0 25px;background:#29483d;color:#f1e6cf;border-color:#29483d}
.dante-volume{display:grid;grid-template-columns:1fr auto;gap:15px;font:14px system-ui,sans-serif;margin:12px 0}
.dante-volume input{grid-column:1/-1;grid-row:2;width:100%;accent-color:#80553b}
.dante-volume output{grid-column:2;grid-row:1;font-size:12px}
.dante-save-card{padding:17px 20px;background:#f9efd9;border:1px solid #c4ad83;border-radius:6px}
.dante-save-card strong{font:23px/1.4 Georgia,serif}
.dante-save-card>p{font:12px/1.6 system-ui,sans-serif;margin:9px 0}
.dante-save-status{color:#725c3e}
.dante-import-area{margin-top:12px}
.dante-file-input{position:absolute;width:1px;height:1px;opacity:0}
.dante-import-button{display:inline-block;cursor:pointer;padding:10px 13px;font:13px/1.5 system-ui,sans-serif;border:1px solid #b49a6d;border-radius:4px;background:#e2d1af;color:#4f3824}
.dante-file-input:focus-visible+.dante-import-button{outline:3px solid #50756b;outline-offset:3px}
.dante-import-status,.dante-inline-error{font:13px/1.6 system-ui,sans-serif;color:#7b3327}
.dante-backup{border-top:1px solid #c9b58e;padding-top:18px;margin-top:22px;font:13px/1.6 system-ui,sans-serif}
.dante-backup summary{cursor:pointer;color:#735136}
.dante-new-journey{border-top:1px solid #c9b58e;padding-top:15px;margin-top:24px}
.dante-options-dialog .dante-restart-button{background:transparent;color:#8a4332;border-color:#bda07a}
.dante-options-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 25px;border-top:1px solid #c9b58e;background:#e7d8b8}
.dante-options-footer button{margin:0}
.dante-options-footer .dante-quiet-button{background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:#695134}
.dante-options-footer .worlds-exit-link{font:12px/1.5 system-ui,sans-serif;color:#5e4931;padding:8px}
@media(max-width:1000px){.inferno-map-grid{grid-template-columns:minmax(0,1fr) 320px}.inferno-map-reading{padding:17px 20px}}
@media(max-width:760px){
 .inferno-map-grid{grid-template-columns:1fr;grid-template-rows:minmax(190px,43%) minmax(0,1fr)}
 .inferno-map-landscape{padding:9px;grid-template-rows:auto minmax(0,1fr) auto}
 .inferno-map-credit{display:none}.inferno-map-hint{font-size:10px!important;margin-top:5px!important}
 .inferno-map-tools{gap:5px;margin-bottom:6px}.inferno-map-tools button{font-size:11px;padding:6px 8px;min-height:34px}
 .inferno-map-reading{border-left:0;border-top:1px solid #bda77f;padding:16px 20px}
 .inferno-map-position-card{padding-bottom:10px;margin-bottom:12px}
 .book-journey-dialog>.book-dialog-head{padding:10px 16px}.book-journey-dialog>.book-dialog-head h2{font-size:21px}
 .book-dialog.dante-options-dialog{width:calc(100vw - 14px);height:96dvh;max-height:96dvh}
 .dante-options-dialog .book-dialog-head{padding:15px 18px}.dante-options-dialog .book-dialog-head h2{font-size:25px}
 .dante-options-intro{padding:12px 18px;font-size:12px}
 .dante-options-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 .dante-options-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px;border-right:0;border-bottom:1px solid #cbb58e}
 .dante-options-dialog .dante-options-tab{font:12px/1.5 system-ui,sans-serif;margin:0;padding:10px 4px;text-align:center}
 .dante-options-tab small{display:none}.dante-options-panel{padding:20px 18px}
 .dante-options-footer{padding:10px 15px}.dante-choice-grid{gap:10px}
 .dante-card-surface strong{font-size:15px}.dante-card-surface small{font-size:11px}
 .dante-options-dialog .dante-options-panel h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.dante-card-surface{transition:none}}

/* A single atlas and real reading leaves: no sidebar, selects or accordions. */
.book-journey-dialog>.book-dialog-head{background:#dfc9a4;color:#46301c;border-bottom:1px solid #ac8b58;padding:12px 24px}
.book-journey-dialog>.book-dialog-head button{background:none;color:#5e3b22;border-color:#ac8b58;font-family:Georgia,serif}
.dante-atlas{height:100%;position:relative;background:#e6d4b1}
.dante-atlas>section,.dante-atlas-map-view{position:absolute;inset:0;min-height:0}
.dante-atlas [hidden],.dante-folio-options [hidden],.dante-reading-folio[hidden]{display:none!important}
.dante-atlas-map-view{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}
.dante-atlas-tools{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid #c3aa7c;background:#eddec0}
.dante-atlas .dante-ink-button,.dante-folio-options .dante-ink-button,.dante-text-folio-dialog .dante-ink-button{font:17px/1.4 Georgia,serif;color:#5d3720;background:transparent;border:0;border-bottom:1px solid #a48558;border-radius:0;padding:8px 5px;cursor:pointer;margin:0;text-decoration:none}
.dante-ink-button:hover{color:#8c3928!important;border-bottom-color:#8c3928!important;background:#d7bf8c25!important}
.dante-ink-button:disabled{opacity:.35;cursor:default}
.dante-ink-button:focus-visible{outline:2px solid #8d4e2d!important;outline-offset:4px}
.dante-atlas .dante-atlas-viewport{min-height:0;height:100%;max-height:none;border:0;background:radial-gradient(ellipse,#ead9b9,#d3b98e);overflow:auto;cursor:grab;touch-action:pan-x pan-y}
.dante-atlas-canvas{margin:0 auto;min-width:0;line-height:0}
.dante-atlas-canvas svg{display:block;width:100%;height:auto}
.dante-atlas-position{text-align:center;font:17px/1.5 Georgia,serif!important;letter-spacing:.04em;margin:8px 15px 0!important;color:#6a4124}
.dante-atlas-hint{text-align:center;font:13px/1.5 Georgia,serif!important;margin:4px 15px 10px!important;color:#806342}
.dante-atlas-index,.dante-atlas-chapters{overflow:auto;overscroll-behavior:contain;background:linear-gradient(90deg,#d9bf93,#f1e4c8 12%,#f1e4c8 88%,#d9bf93);padding:30px max(25px,calc((100% - 850px)/2)) 50px}
.dante-atlas-index>.dante-ink-button,.dante-atlas-chapters>.dante-ink-button{margin-bottom:20px}
.dante-atlas-index-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 40px;margin:24px 0}
.dante-atlas .dante-index-entry{display:block;text-align:left;border:0;border-bottom:1px solid #c4aa80;border-radius:0;background:none;color:#56381f;padding:16px 0;margin:0;font:22px/1.4 Georgia,serif}
.dante-atlas .dante-index-story{font-size:19px;font-style:italic}
.dante-index-entry:hover{color:#8e3f29;background:#d8b77820}
.dante-atlas-original{display:inline-block;margin-top:25px;font:17px Georgia,serif;color:#764c2b;text-underline-offset:5px}
.dante-atlas-chapter-list{max-width:850px;margin:25px auto;font:18px/1.7 Georgia,serif}
.dante-atlas-chapter-list .book-chapter-row{padding:18px 0;border-color:#b59b71}
.dante-atlas-chapter-list button{font:16px Georgia,serif;color:#5d3720;background:none;border:0;border-bottom:1px solid #a48558;border-radius:0}
.dante-reading-folio{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;height:100%;background:linear-gradient(90deg,#d8bc8f,#f1e5ca 10%,#f5ead2 50%,#f1e5ca 90%,#d8bc8f);color:#382819}
.dante-folio-bar{padding:12px 28px;border-bottom:1px solid #c7af86}
.dante-folio-page{display:flex;flex-direction:column;min-height:0;width:min(940px,100%);margin:0 auto;padding:16px 40px 20px;box-sizing:border-box}
.dante-folio-ornament{display:block;text-align:center;font:22px Georgia,serif;color:#9d774b;margin:0 0 5px}
.dante-folio-kicker{font:13px/1.6 Georgia,serif!important;text-transform:uppercase;letter-spacing:.13em;color:#89613d;margin:4px 0 10px!important}
.dante-folio-title{font:clamp(27px,3.3vw,42px)/1.2 Georgia,serif!important;font-weight:400!important;letter-spacing:.015em;color:#4b2d18;margin:0 0 20px!important;outline:none}
.dante-folio-page .dante-folio-kicker{text-align:center}
.dante-folio-page .dante-folio-title{text-align:center}
.dante-folio-text-frame{flex:1;min-height:0;overflow:hidden}
.dante-folio-prose{font:clamp(21px,var(--book-font,21px),27px)/1.8 Georgia,serif!important;margin:0!important;color:#3c2b1b;white-space:normal!important;hyphens:auto}
.dante-folio-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(940px,100%);margin:0 auto;padding:12px 35px 20px;box-sizing:border-box;border-top:1px solid #c7af86}
.dante-folio-number{font:14px/1.5 Georgia,serif;letter-spacing:.08em;color:#8a6542;white-space:nowrap}
.book-dialog.dante-text-folio-dialog{position:fixed;inset:0;margin:0;padding:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;overflow:hidden}
.dante-text-folio-dialog[open]{display:block}
.dante-text-folio-dialog>.book-dialog-head{display:none}
.book-dialog.dante-source-folio{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#eee0c4;color:#48301d;border:0;border-radius:0;padding:0 28px 50px;overflow:auto}
.dante-source-folio>.book-dialog-head{position:sticky;top:0;z-index:1;padding:20px 0;background:#eee0c4}
.dante-source-folio>p,.dante-source-folio>.book-link,.dante-source-folio>h3{max-width:850px;margin:22px auto;font:21px/1.8 Georgia,serif}
.dante-source-folio .book-link{color:#72442a}
.book-epigraph .book-gloss{font-size:var(--book-font);font-style:normal;line-height:1.7;color:#d5c9ae;margin-top:14px}
.book-dialog.dante-folio-options{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;overflow:hidden;background:linear-gradient(90deg,#dfc7a6ed,#f3e7cdf5 20%,#f3e7cdf5 80%,#dfc7a6ed),var(--dante-folio-art);background-position:center;background-size:cover;color:#3f2b1b}
.dante-folio-options[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.dante-folio-options>.book-dialog-head{padding:18px max(28px,calc((100vw - 900px)/2));border-bottom:1px solid #bda072;background:#e5cfaded}
.dante-folio-options>.book-dialog-head h2{font:31px/1.3 Georgia,serif;letter-spacing:.02em}
.dante-folio-options>.book-dialog-head button{font:17px Georgia,serif;background:none;border:0;border-bottom:1px solid #a38256;border-radius:0;color:#684329;padding:8px 0;margin:0}
.dante-preferences-sheet{width:min(900px,100%);margin:0 auto;padding:20px 35px 25px;min-height:0;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
.dante-preferences-intro{font:19px/1.6 Georgia,serif!important;color:#775638;margin:10px 0 20px!important}
.dante-preference-line{display:grid;grid-template-columns:155px minmax(0,1fr);gap:20px;align-items:center;padding:18px 0;border-top:1px solid #bda276}
.dante-preference-line>h3{font:26px/1.4 Georgia,serif!important;font-weight:400!important;color:#5f3b21;margin:0!important}
.dante-ink-choices{display:flex;flex-wrap:wrap;gap:18px 30px}
.dante-ink-choice{position:relative;cursor:pointer;font:20px/1.5 Georgia,serif;color:#806043}
.dante-ink-choice input{position:absolute;opacity:0;width:1px;height:1px}
.dante-ink-choice span{display:inline-block;padding:5px 1px;border-bottom:2px solid transparent}
.dante-ink-choice input:checked+span{color:#7e3423;border-bottom-color:#9b5836}
.dante-ink-choice input:checked+span:before{content:'✦ ';font-size:14px}
.dante-ink-choice input:focus-visible+span{outline:2px solid #9a633d;outline-offset:4px}
.dante-letter-controls,.dante-sound-line{display:flex;align-items:center;justify-content:space-between;gap:15px}
.dante-letter-sample{font-family:Georgia,serif;line-height:1.7;color:#52371e}
.dante-sound-line{flex-wrap:wrap;justify-content:flex-start}
.dante-sound-label{font:17px/1.5 Georgia,serif;color:#806043;flex-basis:100%}
.dante-preferences-looking{display:flex;justify-content:center;flex-wrap:wrap;gap:15px 35px;border-top:1px solid #bda276;padding:13px 0 0}
.dante-preferences-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:15px 40px;padding:15px 25px;border-top:1px solid #bda276;background:#e2cba7dd}
.dante-preferences-footer .worlds-exit-link{font:17px Georgia,serif;color:#684329;background:none;padding:8px 0}
.dante-party-heading{font:32px/1.3 Georgia,serif!important;margin:10px 0!important}
.dante-party-commands{display:grid;grid-template-columns:1fr 1fr;gap:12px 30px;margin:25px 0}
.dante-party-commands .dante-ink-button{text-align:left;padding:15px 0}
.dante-folio-options .dante-import-button{background:none;border:0;border-bottom:1px solid #a48558;border-radius:0}
.dante-import-button:focus-within{outline:2px solid #8d4e2d;outline-offset:4px}
@media(max-width:700px){
 .dante-atlas-tools{gap:7px 15px;padding:7px 12px}
 .dante-atlas .dante-ink-button{font-size:15px;padding:7px 3px}
 .dante-atlas-hint{font-size:12px!important}.dante-atlas-position{font-size:15px!important}
 .dante-atlas-index,.dante-atlas-chapters{padding:20px}
 .dante-atlas-index-list{grid-template-columns:1fr;gap:0}
 .dante-atlas .dante-index-entry{font-size:21px;padding:13px 0}
 .dante-folio-page{padding:8px 24px 12px}.dante-folio-ornament{font-size:17px;margin-bottom:0}
 .dante-folio-page .dante-folio-title{font-size:28px!important;margin-bottom:14px!important}
 .dante-folio-kicker{font-size:11px!important;letter-spacing:.08em}
 .dante-folio-bar{padding:8px 20px}
 .dante-folio-navigation{gap:12px;padding:10px 20px 16px}
 .dante-folio-navigation button{font-size:15px!important}.dante-folio-number{font-size:11px}
 .dante-folio-options>.book-dialog-head{padding:16px 22px}
 .dante-folio-options>.book-dialog-head h2{font-size:24px}
 .dante-preferences-sheet{padding:14px 24px 20px}
 .dante-preference-line{grid-template-columns:1fr;gap:6px;padding:12px 0}
 .dante-preference-line>h3{font-size:23px!important}
 .dante-ink-choice{font-size:19px}
 .dante-preferences-intro{font-size:17px!important;margin-bottom:15px!important}
 .dante-preferences-footer{gap:8px 20px;padding:9px 16px}
 .dante-preferences-footer .dante-ink-button,.dante-preferences-footer .worlds-exit-link{font-size:15px}
 .dante-party-commands{grid-template-columns:1fr;gap:0}
}
@media(max-height:500px){
 .dante-folio-ornament{display:none}.dante-folio-page{padding-top:5px;padding-bottom:5px}
 .dante-folio-page .dante-folio-title{font-size:26px!important;margin-bottom:10px!important}
 .dante-folio-navigation{padding-top:6px;padding-bottom:8px}
 .dante-folio-bar{padding-top:5px;padding-bottom:5px}
}

/* Direct colour control and separately readable optional passages. */
.book-top-controls{display:flex;align-items:center;gap:12px;flex:none}
.book-display-controls{display:flex;align-items:center;gap:7px;flex:none;margin-left:auto}
.book-display-controls .book-options{min-height:44px}
.book-adventure .book-fullscreen{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px}
.book-fullscreen svg{display:block;width:22px;height:22px}
.book-fullscreen .book-fullscreen-leave,.book-fullscreen[aria-pressed="true"] .book-fullscreen-enter{display:none}
.book-fullscreen[aria-pressed="true"] .book-fullscreen-leave{display:block}
.book-fullscreen:disabled{cursor:wait;opacity:.65}
.book-top-controls .book-color-toggle{font-size:14px;white-space:nowrap;letter-spacing:.02em;padding:8px 12px;border-color:#8d795a}
.book-color-toggle[data-style="color"]{color:#f1cc88;border-color:#c2995a;background:#33291e}
.book-adventure .book-sheet .book-source-button{display:block;float:none;width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;margin:12px 0;padding:7px 0;line-height:1.6}
.book-top>div{min-width:0}
@media(max-width:600px){.book-top{gap:10px;padding:8px 12px}.book-top-controls{gap:7px}.book-top-controls .book-color-toggle,.book-top-controls .book-options{font-size:12px;padding:8px}.book-top .book-brand{font-size:16px;letter-spacing:.08em}.book-top .book-chapter{font-size:11px;letter-spacing:.02em;overflow-wrap:anywhere}}

/* Readable book preferences, isolated from the dark story controls. */
.book-adventure .dante-folio-options{background:#f3e8d0;color:#352b20;color-scheme:light;scrollbar-color:#8c7656 #e5d5b5}
.book-adventure .dante-folio-options>.book-dialog-head{background:#e5d4b3;padding:16px max(24px,calc((100vw - 900px)/2));gap:20px}
.book-adventure .dante-folio-options>.book-dialog-head h2{color:#352b20;font:clamp(23px,3vw,31px)/1.3 Georgia,serif;overflow-wrap:anywhere}
.book-adventure .dante-folio-options>.book-dialog-head button{color:#352b20;background:#f8efd9;border:1px solid #8d7858;padding:9px 14px;min-height:44px;flex:none}
.book-adventure .dante-folio-options .dante-preferences-sheet{padding:22px 30px 28px}
.book-adventure .dante-folio-options .dante-preferences-intro{color:#51432f;font:18px/1.65 Georgia,serif!important}
.book-adventure .dante-folio-options .dante-preference-line{grid-template-columns:170px minmax(0,1fr);gap:12px 24px;padding:20px 0;border-color:#b5a17a;align-items:start}
.book-adventure .dante-folio-options .dante-preference-line>h3{font:23px/1.5 Georgia,serif!important;color:#3c3224}
.book-adventure .dante-folio-options .dante-ink-choices{gap:10px 14px}
.book-adventure .dante-folio-options .dante-ink-choice{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 13px;background:#fff7e5;border:1px solid #a38c66;border-radius:3px;font:18px/1.5 Georgia,serif;color:#413423;max-width:100%}
.book-adventure .dante-folio-options .dante-ink-choice input{position:static;opacity:1;width:19px;height:19px;margin:0;flex:none;accent-color:#36554d;cursor:pointer}
.book-adventure .dante-folio-options .dante-ink-choice span{padding:0;border:0}
.book-adventure .dante-folio-options .dante-ink-choice input:checked+span{font-weight:bold;color:#234c43;border:0}
.book-adventure .dante-folio-options .dante-ink-choice input:checked+span:before{content:none}
.book-adventure .dante-folio-options .dante-ink-choice:has(input:checked){background:#e1ebdf;border-color:#36554d}
.book-adventure .dante-folio-options .dante-ink-choice:focus-within{outline:3px solid #36554d;outline-offset:3px}
.book-adventure .dante-folio-options .dante-ink-choice input:focus-visible+span{outline:none}
.book-adventure .dante-folio-options .dante-preference-note{grid-column:2;margin:0;font:15px/1.6 Georgia,serif;color:#5b4b33}
.book-adventure .dante-folio-options .dante-ink-button{min-height:44px;font:17px/1.5 Georgia,serif;color:#352e21;background:#fff6e2;border:1px solid #99825c;border-radius:3px;padding:10px 14px;margin:0;white-space:normal;overflow-wrap:anywhere}
.book-adventure .dante-folio-options .dante-ink-button:hover,.book-adventure .dante-folio-options>.book-dialog-head button:hover{color:#234c43!important;background:#e1ebdf!important;border-color:#36554d!important}
.book-adventure .dante-folio-options button:focus-visible,.book-adventure .dante-folio-options a:focus-visible,.book-adventure .dante-folio-options input:focus-visible,.book-adventure .dante-folio-options .dante-import-button:focus-within{outline:3px solid #36554d!important;outline-offset:3px}
.book-adventure .dante-folio-options .dante-ink-button:disabled{opacity:1;color:#766d5d;background:#e8dfcb;border-color:#b3a58b;cursor:default}
.book-adventure .dante-folio-options .dante-letter-controls{gap:12px;min-width:0}
.book-adventure .dante-folio-options .dante-letter-controls button{flex:none;min-width:48px}
.book-adventure .dante-folio-options .dante-letter-sample{min-width:0;overflow-wrap:anywhere;text-align:center;color:#3c3224;line-height:1.5}
.book-adventure .dante-folio-options .dante-setting-readout{grid-column:2;font:15px/1.5 Georgia,serif;color:#51432f;text-align:right}
.book-adventure .dante-folio-options .dante-sound-label{color:#51432f;font:17px/1.6 Georgia,serif;margin:0}
.book-adventure .dante-folio-options .dante-volume-control{grid-column:2;display:grid;grid-template-columns:auto minmax(90px,1fr) 54px;align-items:center;gap:14px;font:17px/1.5 Georgia,serif;color:#3c3224}
.book-adventure .dante-folio-options .dante-volume-control input{width:100%;min-width:0;height:32px;margin:0;accent-color:#36554d}
.book-adventure .dante-folio-options .dante-volume-control output{text-align:right;font-variant-numeric:tabular-nums}
.book-adventure .dante-folio-options .dante-preferences-looking{gap:12px 18px;padding-top:20px}
.book-adventure .dante-folio-options .dante-preferences-footer{padding:14px max(22px,calc((100vw - 1050px)/2));gap:12px 20px;background:#e5d4b3;align-items:center}
.book-adventure .dante-folio-options .worlds-exit-link{font:17px/1.5 Georgia,serif;color:#3d3324;padding:10px 4px;min-height:44px;text-underline-offset:4px}
.book-adventure .dante-folio-options .dante-party-heading{color:#352b20}
.book-adventure .dante-folio-options .dante-party-location{color:#51432f}
.book-adventure .dante-folio-options .dante-party-commands{gap:14px 20px}
.book-adventure .dante-folio-options .dante-party-commands .dante-ink-button{text-align:left;padding:13px 15px}
.book-adventure .dante-folio-options .dante-import-button{position:relative;display:flex;align-items:center}
.book-adventure .dante-folio-options .dante-import-status{font:17px/1.6 Georgia,serif;color:#773625}
.book-adventure .dante-options-confirm{background:#f3e8d0;color:#352b20;border-color:#8d7858;color-scheme:light}
.book-adventure .dante-options-confirm h2{color:#352b20;font:25px/1.4 Georgia,serif}
.book-adventure .dante-options-confirm p{color:#413423;font:18px/1.65 Georgia,serif}
.book-adventure .dante-options-confirm button{color:#352b20;background:#fff6e2;border:1px solid #99825c;min-height:44px}
.book-adventure .dante-options-confirm button:hover{color:#234c43;background:#e1ebdf;border-color:#36554d}
.book-adventure .dante-options-confirm button:focus-visible{outline:3px solid #36554d;outline-offset:3px}
.book-adventure .dante-options-confirm .dante-inline-error{color:#773625}
@media(max-width:700px){
 .book-adventure .dante-folio-options>.book-dialog-head{padding:12px 18px}
 .book-adventure .dante-folio-options .dante-preferences-sheet{padding:16px 20px 24px}
 .book-adventure .dante-folio-options .dante-preference-line{grid-template-columns:minmax(0,1fr);gap:10px;padding:17px 0}
 .book-adventure .dante-folio-options .dante-preference-note,.book-adventure .dante-folio-options .dante-setting-readout,.book-adventure .dante-folio-options .dante-volume-control{grid-column:1}
 .book-adventure .dante-folio-options .dante-preferences-footer{padding:10px 16px;gap:8px 14px}
 .book-adventure .dante-folio-options .dante-preferences-footer .dante-ink-button,.book-adventure .dante-folio-options .worlds-exit-link{font-size:16px}
}
@media(max-width:380px){
 .book-adventure .dante-folio-options .dante-ink-choices{display:grid;grid-template-columns:1fr}
 .book-adventure .dante-folio-options .dante-letter-controls{flex-wrap:wrap;justify-content:center}
 .book-adventure .dante-folio-options .dante-letter-sample{order:3;flex-basis:100%}
}
@media(max-height:500px){
 .book-adventure .dante-folio-options>.book-dialog-head{padding-top:8px;padding-bottom:8px}
 .book-adventure .dante-folio-options .dante-preferences-footer{padding-top:8px;padding-bottom:8px}
}

/* Continuation between completed cantiche preserves each independent save. */
.book-next-realm{display:block;text-decoration:none;text-align:center;margin:24px 0;padding:16px 20px;border:1px solid #bfa87d;color:#f4e5c4;background:#26383b}

/* The continuation's map contains no silhouettes, labels or images of unvisited places. */
.book-dialog.dante-realm-atlas{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:0;background:#eadbbc;color:#49351f;overflow:hidden}
.dante-realm-atlas>.book-dialog-head{height:65px;box-sizing:border-box;padding:12px 25px;border-bottom:1px solid #a38d67}
.dante-realm-atlas>.book-dialog-head h2{font:22px Georgia,serif;color:#49351f}
.realm-atlas-main{height:calc(100% - 65px);display:flex;flex-direction:column;min-height:0}
.realm-atlas-main[hidden],.realm-atlas-main [hidden]{display:none!important}
.realm-atlas-tools{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:12px}
.realm-atlas-location{text-align:center;margin:0 10px 8px;font:14px Georgia,serif;letter-spacing:.1em}
.realm-atlas-picture{flex:1;min-height:0;overflow:auto;text-align:center}
.realm-atlas-picture svg{width:100%;height:100%;min-height:320px;max-width:1400px}
.realm-atlas-picture [data-realm-region]{cursor:pointer}
.realm-atlas-picture [data-realm-region]:focus{outline:3px solid #8c402a;outline-offset:5px}
.realm-atlas-index,.realm-atlas-chapters{overflow:auto;max-width:1000px;width:calc(100% - 40px);margin:0 auto;padding:20px;box-sizing:border-box}
.realm-atlas-index{display:grid;gap:15px}
.dante-realm-atlas .book-chapter-row{border-color:#b9a27e;color:#49351f}
@media(max-width:600px){.dante-realm-atlas>.book-dialog-head{height:auto;min-height:65px;padding:10px}.dante-realm-atlas>.book-dialog-head h2{font-size:16px}.realm-atlas-tools{padding:8px;gap:6px}.realm-atlas-tools button{font-size:12px;padding:7px}.realm-atlas-picture svg{min-width:780px}.realm-atlas-picture{text-align:left}}

.dante-realm-atlas .dante-ink-button{background:transparent!important;color:#49351f!important;border:1px solid #9d7955!important;box-shadow:none!important}
.dante-realm-atlas .dante-ink-button:hover,.dante-realm-atlas .dante-ink-button:focus-visible{background:#d8c3a0!important;color:#2f2419!important;outline:2px solid #815339;outline-offset:2px}
.realm-atlas-picture svg{display:block;min-height:0;margin:auto}


/* Real illustration series: their source files carry the selected pictorial style. */
.book-style-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.book-top-controls .book-style-button{font-size:13px;line-height:1.25;padding:8px 11px;max-width:190px;white-space:normal;overflow-wrap:anywhere}
.book-style-button[aria-pressed="true"]{color:#ffe2a6;border-color:#d4ad67;background:#3d3021;box-shadow:inset 0 0 0 1px #d4ad6755}
.book-entry-styles{border:1px solid #8d795a77;padding:14px;margin:22px 0;border-radius:8px;min-width:0}
.book-entry-styles legend{font-size:16px;padding:0 7px;color:inherit}
.book-entry-style-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.book-entry-style{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;border:1px solid #8d795a66;border-radius:6px;cursor:pointer;background:#171b16;color:#e9e2d5}
.book-entry-style:has(input:checked){border-color:#d4ad67;background:#30291e}
.book-entry-style input{margin:4px 0 0;flex:0 0 auto;accent-color:#cba15d}
.book-entry-style:focus-within{outline:2px solid #ebc970;outline-offset:3px}
.book-entry-style-text{display:flex;flex-direction:column;gap:6px;min-width:0}
.book-entry-style strong{font-size:16px;line-height:1.3}
.book-intro .book-entry-layout-note{font-size:14px;line-height:1.5;margin:12px 0 0}
.book-style-description{font-size:14px;line-height:1.45;color:#c8c9bb}
.book-image-pending{margin:auto;max-width:36em;padding:28px;color:#e9e2d5;font:18px/1.6 Georgia,serif;text-align:center}
.book-art-message{max-width:36em;margin:auto;padding:30px;color:#eee5d3;font:20px/1.5 Georgia,serif;text-align:center}
.book-has-art-styles .dante-ink-choice{min-width:0}
.book-has-art-styles .dante-ink-choice span{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
 .book-has-art-styles .book-top{flex-wrap:wrap;align-items:flex-start}
 .book-has-art-styles .book-top-controls{max-width:100%;flex-wrap:wrap;justify-content:flex-start}
 .book-has-art-styles .book-style-controls{flex:1 1 auto}
 .book-top-controls .book-style-button{font-size:12px;padding:8px;max-width:160px}
}
@media(max-width:440px){
 .book-entry-style-choices{grid-template-columns:1fr}
 .book-has-art-styles .book-top-controls{width:100%}
 .book-has-art-styles .book-style-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 calc(100% - 51px);min-width:0}
 .book-top-controls .book-style-button{max-width:none}
}

.book-picture img[hidden],.book-art-full[hidden]{display:none!important}


/* Public reading editions keep the full page for prose while their art is prepared. */
.book-text-only .book-body{display:block;overflow:hidden;background:radial-gradient(ellipse at top,#202930,#11181d 70%)}
.book-text-only .book-sheet{position:static;width:100%;height:100%;max-width:880px;margin:0 auto;padding:clamp(24px,5vw,64px);background:transparent;border:0;box-shadow:none}
.book-text-only .book-sheet h1{max-width:22ch}
.book-text-only .book-prose{font-size:var(--book-font);line-height:1.8}
.book-text-only .book-top{flex-wrap:wrap}
.book-text-only .book-top-controls{margin-left:auto}
@media(max-width:600px){.book-text-only .book-sheet{padding:26px 20px}.book-text-only .book-brand{font-size:16px;letter-spacing:.1em}.book-text-only .book-top{gap:8px}}


/* Reading mode applies to text surfaces; illustration pixels keep their art style.
   The parchment voyage atlas keeps its own ink and paper in both reading modes. */
.book-adventure .book-top-controls :is(.book-theme-toggle,.book-sound-toggle){display:grid;place-items:center;align-self:flex-start;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border-radius:50%;color:#eee7d8;background:#202d35;border:1px solid #9a9c8e}
:is(.book-theme-toggle,.book-sound-toggle) svg{display:block;width:22px;height:22px}
.book-adventure .book-top-controls :is(.book-theme-toggle,.book-sound-toggle)[aria-pressed="true"]{background:#ead7ac;color:#172027;border-color:#ead7ac}
.book-adventure[data-reading-theme="dark"]{--ink:#eee7d8;--gold:#d6bd87;color:#eee7d8;background:#11171c;color-scheme:dark}
.book-adventure[data-reading-theme="dark"] :is(.book-top,.book-footer){background:#151d24!important;border-color:#67716f!important;color:#eee7d8!important}
.book-adventure[data-reading-theme="dark"] .book-control-status{background:#202b33;color:#eee7d8;border-color:#67716f}
.book-adventure[data-reading-theme="dark"] :is(.book-brand,.book-chapter,.book-muted){color:#d8d3c7!important}
.book-adventure[data-reading-theme="dark"] .book-sheet{background:#161e25!important;color:#eee7d8!important;border-color:#67716f!important;scrollbar-color:#9a9c8e #161e25}
.book-adventure[data-reading-theme="dark"].book-text-only .book-body{background:#11171c}
.book-adventure[data-reading-theme="dark"] :is(.book-sheet,.book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas)) :is(h1,h2,h3,h4,p,small,label,legend,summary,cite,blockquote,.book-style-description,.book-letter-sample){color:#eee7d8!important}
.book-adventure[data-reading-theme="dark"] .book-sheet :is(.book-kicker,.book-finished,.book-source-button,a){color:#e2c68d!important}
.book-adventure[data-reading-theme="dark"] .book-sheet .book-choice{background:#26343d!important;color:#f1ebdf!important;border-color:#73827f!important;border-left-color:#d6bd87!important}
.book-adventure[data-reading-theme="dark"] .book-sheet .book-choice:hover{background:#344750!important}
.book-adventure[data-reading-theme="dark"] .book-sheet .book-primary{background:#ddc390!important;color:#172027!important;border-color:#ddc390!important}
.book-adventure[data-reading-theme="dark"] .book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas){background:#161e25!important;color:#eee7d8!important;border-color:#89928a!important;color-scheme:dark;scrollbar-color:#9a9c8e #161e25}
.book-adventure[data-reading-theme="dark"] .book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas) :is(.book-dialog-head,.dante-folio-bar,.dante-preferences-footer,.dante-folio-navigation){background:#202b33!important;color:#eee7d8!important;border-color:#67716f!important}
.book-adventure[data-reading-theme="dark"] .book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas) :is(.dante-folio-page,.dante-preferences-sheet,.dante-save-card,.dante-card-surface,.dante-options-panel){background:#161e25!important;color:#eee7d8!important;border-color:#67716f!important}
.book-adventure[data-reading-theme="dark"] .book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas) :is(button,.dante-ink-choice,input[type="text"],input[type="number"],select){background:#26343d!important;color:#eee7d8!important;border-color:#89928a!important}
.book-adventure[data-reading-theme="dark"] .book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas) :is(button,.dante-ink-choice):hover{background:#344750!important;color:#fff5df!important}
.book-adventure[data-reading-theme="dark"] .book-dialog:not(.book-art-dialog,.dante-voyage-dialog,.dante-realm-atlas) a{color:#e2c68d!important}
.book-adventure[data-reading-theme="dark"] :is(button,a,input,select):focus-visible{outline-color:#f4dba5!important}
@media(max-width:1000px){
 .book-adventure .book-top{flex-wrap:wrap}
 .book-adventure .book-top-controls{max-width:100%;flex-wrap:wrap;gap:7px}
}
@media(max-width:600px){.book-control-status{padding-inline:12px;text-align:left}}



/* The same readable exit remains available if the initial module fails. */
.book-start{max-width:42rem;margin:8vh auto;padding:clamp(24px,6vw,56px);font-size:19px;line-height:1.65;color:#eee5d4;background:#121b23;border:1px solid #bba47755;border-radius:12px}.book-start h1{font-size:clamp(25px,5vw,36px)}.book-start p{margin:18px 0}.book-start a,.book-start button{display:inline-block;margin:10px 18px 0 0;min-height:44px}.book-start a{padding:8px 0}



/* Underlined words stay in the sentence; passage context has its own card. */
.book-adventure .glossary-word{white-space:normal}
.book-adventure[data-reading-theme] .adventure-prose button.glossary-term{display:inline;margin:0;padding:0;min-height:0;max-width:100%;border:0!important;border-bottom:1px dotted currentColor!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit;line-height:inherit;vertical-align:baseline;text-align:inherit;white-space:normal;cursor:help;text-shadow:inherit}
.book-adventure[data-reading-theme] .adventure-prose button.glossary-term:hover{background:transparent!important;border-bottom-style:solid!important;color:inherit!important}
.book-adventure[data-reading-theme] .adventure-prose button.glossary-term:focus-visible{outline:2px solid currentColor!important;outline-offset:3px}
.book-adventure .glossary-tip{position:fixed;z-index:10000;box-sizing:border-box;max-width:calc(100vw - 24px);padding:15px 17px;border:1px solid #8f7755;border-radius:6px;background:#fff6e2;color:#3e3022;box-shadow:0 8px 28px #0005;font:17px/1.55 Georgia,'Times New Roman',serif;text-align:left;white-space:normal;text-shadow:none}
.book-adventure .glossary-tip.glossary-has-context{display:grid;grid-template-columns:var(--glossary-main-width,300px) minmax(0,1fr);gap:12px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.book-adventure .glossary-main,.book-adventure .glossary-context{min-width:0;max-height:min(72dvh,calc(100dvh - 24px));overflow:auto;padding:15px 17px;border:1px solid #8f7755;border-radius:6px;background:#fff6e2;color:#3e3022;box-shadow:0 8px 28px #0005;overscroll-behavior:contain}
.book-adventure .glossary-context{background:#f0e3c7}
.book-adventure .glossary-main-title,.book-adventure .glossary-context-title{display:block;margin:0 0 9px;font-weight:600;line-height:1.3}
.book-adventure .glossary-context-title{font-size:15px;letter-spacing:.025em}
.book-adventure .glossary-definition,.book-adventure .glossary-context-copy{display:block}
.book-adventure .glossary-tip[data-context-side="left"]{grid-template-columns:minmax(0,1fr) var(--glossary-main-width,300px)}
.book-adventure .glossary-tip[data-context-side="left"] .glossary-main{grid-column:2;grid-row:1}
.book-adventure .glossary-tip[data-context-side="left"] .glossary-context{grid-column:1;grid-row:1}
.book-adventure .glossary-tip[data-context-side="below"]{grid-template-columns:minmax(0,1fr);max-height:calc(100dvh - 24px);overflow:auto}
.book-adventure .glossary-tip[data-context-side="below"] .glossary-main,.book-adventure .glossary-tip[data-context-side="below"] .glossary-context{max-height:none;overflow:visible}
.book-adventure[data-reading-theme="dark"] .glossary-tip:not(.glossary-has-context),.book-adventure[data-reading-theme="dark"] .glossary-main{background:#202d35;color:#f2ead9;border-color:#9aa49d}
.book-adventure[data-reading-theme="dark"] .glossary-context{background:#2a3b40;color:#f2ead9;border-color:#9aa49d}
.book-adventure :is(.dante-voyage-dialog,.dante-realm-atlas) :is(.glossary-main,.glossary-context){background:#fff6e2;color:#3e3022;border-color:#8f7755}
@media(max-width:699px){.book-adventure .glossary-tip{font-size:16px}.book-adventure .glossary-main,.book-adventure .glossary-context{padding:13px 15px}}
