.story-routes{color:#35291e;max-width:1120px;margin:2rem auto;padding:0 1rem}.story-routes>.house-paper-surface{padding:clamp(1rem,3vw,2.6rem)}.routes-heading,.routes-toolbar,.routes-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.routes-heading h1{align-items:center;gap:.65rem;margin:.5rem 0;font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.4rem);line-height:1.15;display:flex}.routes-heading p{max-width:65ch}.routes-heading>a{align-items:center;gap:.4rem;display:inline-flex}.routes-hint{color:#66533e;max-width:85ch;margin:1.4rem 0;line-height:1.65}.routes-toolbar label{gap:.45rem;min-width:0;max-width:100%;display:grid}.routes-toolbar select{color:#35291e;width:100%;max-width:100%;font:inherit;background:#fffaf0;border:1px solid #b69d72;border-radius:.6rem;padding:.7rem}.routes-toolbar>div{flex-wrap:wrap;gap:.6rem;display:flex}.routes-summary{border-block:1px solid #d9c8a6;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0 2rem;padding:1.2rem 0;display:grid}.routes-summary span{flex-direction:column;gap:.2rem;display:flex}.routes-summary strong{font-family:Georgia,serif;font-size:1.8rem}.route-map{margin:0;padding:0;list-style:none}.route-map>li{gap:1rem;padding:0 0 1.8rem;display:flex;position:relative}.route-map>li:not(:last-child):before{content:"";border-left:2px solid #c8ac72;position:absolute;top:16px;bottom:0;left:9px}.route-dot{background:#f1e3c4;border:3px solid #8c6b35;border-radius:50%;flex:0 0 20px;height:20px;margin-top:.2rem;position:relative}.route-map>li[data-current=true] .route-dot{background:#5c4123;box-shadow:0 0 0 5px #e7d8b5}.route-map>li>div{background:#fffaf0bb;border:1px solid #d9c8a6;border-radius:.8rem;flex:1;min-width:0;padding:1rem 1.2rem}.route-map h2{overflow-wrap:anywhere;margin:.3rem 0 .6rem;font-family:Georgia,serif;font-size:1.5rem;line-height:1.35}.route-map p,.route-map li,.route-map small{overflow-wrap:anywhere}.route-map ul{padding-left:1.2rem;line-height:1.6;list-style:outside}.route-map small{color:#66533e;margin-top:.7rem;display:block}.routes-actions{justify-content:flex-start;margin-top:1rem}.routes-actions a{align-items:center;gap:.5rem;display:inline-flex}.story-routes button{white-space:normal;height:auto;min-height:44px}.routes-actions input{max-width:100%}@media (max-width:520px){.routes-summary{grid-template-columns:1fr;gap:.7rem}.routes-summary span{flex-direction:row;align-items:baseline;gap:.6rem}.routes-summary strong{font-size:1.3rem}.routes-toolbar>div,.routes-toolbar>label{width:100%}.routes-heading{align-items:flex-start}.route-map>li{gap:.65rem}.route-map>li>div{padding:.8rem}.routes-actions>*{overflow-wrap:anywhere;max-width:100%}}.behind-pages-essay{max-width:72ch;margin:2rem auto}.behind-pages-essay h2{font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.25}.behind-pages-essay h3{margin:1.6rem 0 .6rem;font-family:Georgia,serif;font-size:1.35rem;line-height:1.4}.behind-pages-essay p,.behind-pages-essay li{overflow-wrap:anywhere;line-height:1.85}.behind-pages-essay ul{padding-left:1.3rem}.behind-pages-essay section{margin-block:1.5rem}.routes-replay-dialog [data-slot=dialog-title]{padding-inline-end:48px}.routes-replay-dialog{width:calc(100% - 24px);max-width:600px;max-height:calc(100dvh - 24px);overflow-y:auto}.routes-replay-dialog label{gap:8px;min-width:0;display:grid}.routes-replay-dialog select{white-space:normal;color:#35291e;width:100%;max-width:100%;height:auto;min-height:44px;font:inherit;background:#fffaf0;border:1px solid #b69d72;border-radius:8px;padding:10px}.routes-replay-dialog button{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;height:auto;min-height:44px;line-height:1.5}.routes-replay-dialog :is(label,p,summary,h2){overflow-wrap:anywhere}.story-routes .routes-toolbar button{overflow-wrap:anywhere;min-width:0;max-width:100%}.story-routes .routes-summary :is(span,strong){overflow-wrap:anywhere;min-width:0}.routes-replay-scenes{border:0;min-width:0;margin:0;padding:0}.routes-replay-scenes legend{overflow-wrap:anywhere;margin-bottom:10px;padding:0;font-weight:600}.routes-replay-scenes [role=radiogroup]{gap:10px;min-width:0;display:grid}.routes-replay-dialog .routes-replay-scene{cursor:pointer;border:1px solid #c4ad81;border-radius:8px;align-items:flex-start;gap:12px;min-width:0;padding:12px;line-height:1.5;display:flex}.routes-replay-scene[data-selected=true]{background:#e8d5ad;border-color:#8e692e}.routes-replay-scene [role=radio]{border:1px solid #8e692e;border-radius:50%;flex:0 0 20px;width:20px;height:20px;min-height:20px;margin-top:3px;padding:0}.routes-replay-scene>span{overflow-wrap:anywhere;flex:1;min-width:0}.routes-toolbar>.routes-story-picker{flex:240px;gap:.5rem;min-width:0;max-width:100%;display:grid}.routes-story-picker>span{font-weight:600}.story-routes .routes-story-picker>button{text-align:left;white-space:normal;justify-content:space-between;align-items:center;gap:12px;width:100%;min-width:0;max-width:100%;padding:12px 14px;line-height:1.5;display:flex}.routes-story-picker>button>span{overflow-wrap:anywhere;flex:1;min-width:0}.routes-story-picker>button>svg{flex-shrink:0}.routes-story-menu{color:#35291e;width:min(340px,100vw - 24px);max-width:calc(100vw - 24px);padding:8px!important}.routes-story-menu [role=menuitemradio]{white-space:normal;overflow-wrap:anywhere;min-height:44px;padding-block:12px;line-height:1.5}.routes-story-menu [role=menuitemradio]>span:last-child{overflow-wrap:anywhere;min-width:0}.routes-story-menu [role=menuitemradio][data-state=checked]{font-weight:700}.routes-story-menu :focus-visible{outline-offset:-3px;outline:3px solid #8e6a2c}@media (prefers-reduced-motion:reduce){.routes-story-menu{transition:none!important;animation:none!important}}
