/* The roadbook: readable directions, a continuous itinerary, and room to explore. */
:root{--bg:#111716;--panel:#1a211e;--panel-light:#222b25;--ink:#f0ede3;--muted:#b0b9ae;--subtle:#8f9e90;--line:#344037;--gold:#c7aa72;--gold-light:#e7d0a1}
html{scroll-padding-top:105px}body{min-width:320px;font-size:15px;line-height:1.7;background:var(--bg)}button,input,select{font:inherit}p{line-height:1.8}.eyebrow{font-size:10px;letter-spacing:1.65px}.primary-button,.secondary-button{font-size:12px;min-height:42px;padding:11px 17px;gap:11px}.text-link{font-size:12px;gap:8px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.icon-button{width:36px;height:36px}.skip{z-index:1001}.site-header{position:sticky;top:0;z-index:50;max-width:none;height:84px;padding:0 max(28px,calc((100vw - 1296px)/2));background:#111716a6;backdrop-filter:blur(16px);border-color:#45544265}.site-header nav{gap:30px;margin-right:28px}.nav-link{font-size:12px}.class-picker{min-width:168px;flex-shrink:0;padding:9px 12px;gap:10px}.class-picker>span:first-child{color:var(--class);display:flex;align-items:center}.class-picker>span:first-child svg{width:25px;height:25px}.class-picker>span:last-child{pointer-events:none;color:var(--subtle);display:flex;align-items:center}.class-picker>span:last-child svg{width:14px;height:14px}.class-picker label{font-size:8px}.class-picker select{font-size:14px;min-width:87px;padding-right:0}.class-picker select:focus-visible{outline:2px solid var(--gold-light);outline-offset:5px}.hero{height:290px;max-width:none;background:#17211d}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;z-index:-3}.hero-shade{background:linear-gradient(90deg,#101915f2 4%,#101915ba 37%,#10191522 76%),linear-gradient(0deg,#111716d9,transparent 55%)}.hero-content{max-width:1296px;margin:auto;padding:31px 0 27px}.hero-content .eyebrow{color:#d9cdb1;font-size:9px}.hero-content .eyebrow>span{color:#9caa97;margin:0 8px}.hero-content h1{font-size:52px;line-height:.98;letter-spacing:-.8px;margin:15px 0 12px;font-weight:500}.hero-content h1 em{color:var(--gold-light);font-style:normal}.hero-content p{font-size:13px;color:#c2cabd;line-height:1.7}.hero-caption{position:absolute;bottom:28px;right:max(28px,calc((100vw - 1296px)/2));font-size:9px;letter-spacing:1.6px;color:#e7ddc6;text-shadow:0 1px 10px #000}
.road-layout{max-width:1380px;padding:38px 42px 50px;display:grid;grid-template-columns:255px minmax(0,1fr);gap:42px;align-items:start}.road-sidebar{position:sticky;top:106px;max-height:calc(100vh - 128px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#65745d transparent;padding-right:10px}.road-sidebar details{border:0;padding:0}.road-sidebar summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:0 0 17px;margin:0!important;border-bottom:1px solid var(--line);gap:12px}.road-sidebar summary::after{display:none}.road-sidebar summary::-webkit-details-marker{display:none}.road-sidebar summary>span:first-child{display:flex;flex-direction:column;gap:3px}.road-sidebar summary strong{font:600 30px/1.15 var(--serif);color:var(--ink)}.road-sidebar summary>span:last-child{color:var(--subtle)}.road-sidebar summary svg{width:16px;height:16px;transition:transform .2s}.road-sidebar details[open] summary>span:last-child svg{transform:rotate(180deg)}.road-legend{display:flex;flex-direction:column;gap:5px;margin:17px 0;font-size:10px;color:var(--subtle)}.road-legend>span{display:flex;align-items:center;gap:7px}.main-dot,.side-dot{height:7px;width:7px;display:inline-block;border:1px solid var(--gold);border-radius:50%;flex-shrink:0}.main-dot{background:var(--gold)}.side-dot{border-color:#8eaa8a;border-radius:1px;transform:rotate(45deg);width:6px;height:6px}.road-count{font-size:10px;display:flex;align-items:center;justify-content:space-between;color:var(--subtle)}.road-sidebar .progress-bar{height:3px;margin:8px 0 21px;background:#303b31}.road-sidebar .progress-bar>span{background:var(--gold)}.road-stop{position:relative;padding:0 0 12px 0}.road-stop::before{content:'';position:absolute;top:28px;bottom:-8px;left:19px;width:1px;background:#48533e80}.road-stop:last-child::before{display:none}.road-button{position:relative;width:100%;min-height:57px;display:flex;align-items:center;gap:10px;padding:8px 9px 8px 0;background:transparent;text-align:left;border:1px solid transparent;border-radius:5px;color:#b9c2b5;transition:background .15s,border-color .15s}.road-button.active{background:#c7aa720d;border-color:#ad92534d;color:var(--gold-light);padding-left:7px}.road-button:hover{background:#d4d7bc09;color:var(--ink)}.road-thumb{width:39px;height:39px;min-width:39px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;background:#243028;border:1px solid #4c5a48;color:#d2c6a9}.road-thumb img{width:100%;height:100%;object-fit:cover;opacity:.72}.road-thumb span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#111c1440;text-shadow:0 1px 5px #000;font-size:11px;font-weight:600}.road-thumb svg{width:16px;height:16px}.road-button>span:not(.road-thumb){min-width:0;flex:1}.road-button strong{display:block;font-size:12px;font-weight:500;line-height:1.4}.road-button small{display:block;font-size:10px;color:var(--subtle);margin-top:3px;line-height:1.5}.road-button.active small{color:#b5a680}.road-button>svg{height:14px;width:14px;color:var(--gold)}.detours{position:relative;padding:3px 0 0 40px;display:grid;gap:4px}.detour-button{background:transparent;border:1px solid transparent;border-radius:4px;display:flex;align-items:flex-start;gap:7px;color:#8fa58d;font-size:11px;line-height:1.4;padding:7px 5px 7px 9px;text-align:left;position:relative;width:100%}.detour-button::before{content:'';position:absolute;left:-20px;top:15px;width:23px;height:1px;background:#48533e80}.detour-button.active{color:#d5e2c6;background:#809a6b11;border-color:#809a6b40}.detour-button:hover{background:#809a6b0c;color:#d7dfcd}.detour-button svg{width:13px;height:13px;margin-top:1px;flex-shrink:0}.detour-button strong{font-size:11px;font-weight:500;display:block}.detour-button small{font-size:9px;display:block;opacity:.8;margin-top:2px}.road-footnote{font-size:11px;line-height:1.75;color:#95a48d;border-top:1px solid var(--line);padding-top:18px;margin-top:8px}
.chapter-column{min-width:0}#chapter{scroll-margin-top:108px;outline:none}.chapter-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.chapter-heading h2{font-size:43px;line-height:1.05;letter-spacing:-.5px;margin-top:7px}.chapter-heading .eyebrow{font-size:9px}.chapter-buttons{display:flex;align-items:center;gap:8px;flex-shrink:0}.chapter-buttons>span{font-size:11px;color:var(--subtle)}.chapter-art{position:relative;border:1px solid #4b584444;border-radius:6px;overflow:hidden;background:#202a22;aspect-ratio:16/7}.chapter-art>img{width:100%;height:100%;object-fit:cover;display:block}.chapter-art:after{content:'';position:absolute;inset:50% 0 0;pointer-events:none;background:linear-gradient(transparent,#0a160e9c)}.image-caption{position:absolute;left:20px;bottom:15px;right:20px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e2e6d5;font-size:11px;text-shadow:0 1px 7px #000}.image-caption svg{width:15px;height:15px;margin-right:5px}.art-label{position:absolute;top:12px;right:12px;z-index:2;background:#101810a6;border:1px solid #ccd7b32b;padding:3px 7px;color:#bac7af;font-size:8px;text-transform:uppercase;letter-spacing:.9px;border-radius:3px}.chapter-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:22px 0;border-bottom:1px solid var(--line)}.fact{display:flex;flex-direction:column;gap:4px;padding:0 22px;border-right:1px solid var(--line)}.fact:first-child{padding-left:0}.fact:last-child{padding-right:0;border-right:0}.fact small{font-size:9px;color:var(--subtle);letter-spacing:1px;text-transform:uppercase}.fact strong{font-size:20px;font-weight:500;line-height:1.3;color:var(--gold-light)}.fact span{font-size:11px;color:var(--muted);line-height:1.5}.mystery{font:500 24px/1.45 var(--serif);color:#d6dccc;max-width:780px;margin:22px 0 18px}.chapter-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 26px}.chapter-actions .primary-button{margin:0}.chapter-actions button{font-size:12px}.status-pill{font-size:9px;padding:4px 8px;border-radius:3px}.status-pill.preview{color:#d4b878;border-color:#af8c4b55;background:#b38c4206}.jump-nav{display:flex;gap:24px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#5e7055 transparent;background:var(--bg)}.jump-nav a{font-size:12px;color:#b7c3ae;white-space:nowrap;padding:15px 0;display:flex;align-items:center;gap:7px}.jump-nav a:hover{color:var(--gold-light)}.jump-nav a svg{width:15px;height:15px;color:var(--gold)}.guide-section{padding:34px 0;border-bottom:1px solid var(--line);scroll-margin-top:104px}.guide-section:last-child{border:0}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.section-title h3{font-size:31px;line-height:1.1}.section-title h4{font-size:18px}.section-title p{font-size:13px;color:var(--subtle);margin-top:5px}.section-number{height:31px;width:31px;min-width:31px;border:1px solid #aa94584d;background:#c7aa7207;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--gold);font-size:11px;font-weight:500}.guide-section>p{font-size:13px;color:var(--muted);margin:0 0 19px;line-height:1.8}.notice{padding:14px 16px;border-left:2px solid var(--gold);background:#c7aa720a;color:#c6c7af;font-size:12px;line-height:1.75;margin:17px 0;border-radius:0 4px 4px 0}.notice strong{color:var(--gold-light);font-weight:600}.phase-title{display:flex;align-items:center;gap:8px;font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:#b7bc9c;margin:24px 0 10px}.phase-title svg{height:15px;width:15px}.quest-list{display:grid;gap:9px}.quest-row{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:5px;background:#1d261e55;overflow:hidden;transition:border-color .15s}.quest-row:hover{border-color:#73815d}.quest-row.done{background:#2b382c33;border-color:#48624670}.quest-row.done .quest-open strong{color:#9daf98}.quest-open{flex:1;min-width:0;display:flex;align-items:center;gap:13px;padding:16px;text-align:left;background:transparent;color:inherit}.quest-symbol{width:31px;height:35px;min-width:31px;display:flex;align-items:center;justify-content:center;color:#d5b66e;font:500 27px/1 var(--serif);border:1px solid #aa94583b;border-radius:4px;background:#c7aa7208}.quest-symbol svg{width:18px;height:18px}.quest-open>span:nth-child(2){flex:1;min-width:0}.quest-open strong{display:block;font-size:14px;line-height:1.5;font-weight:500;color:#e4e7d7}.quest-open small{display:block;font-size:11px;line-height:1.6;color:var(--subtle);margin-top:4px}.quest-open>svg{width:17px;height:17px;color:var(--gold);flex-shrink:0}.level-tag{font-size:9px;color:#bfbc9b;border:1px solid #586044;white-space:nowrap;padding:3px 6px;border-radius:3px;line-height:1.4}.quest-check{display:flex;align-items:center;justify-content:center;padding:0 15px;border-left:1px solid var(--line);min-width:49px;cursor:pointer;color:var(--subtle);font-size:10px}.quest-check input,.pack-item input,.wait-task input{width:18px;height:18px;min-width:18px;margin:3px 0;accent-color:var(--class);cursor:pointer}.route-map{border:1px solid #4b584a60;background:#20291f55;border-radius:5px;padding:18px 18px 12px;margin:19px 0 23px;overflow:hidden}.route-map>svg{display:block;width:100%;height:auto;max-height:110px;stroke-width:1.2;color:var(--gold)}.route-map>div{font-size:11px;color:var(--subtle);display:flex;justify-content:space-between;gap:12px;text-align:center;line-height:1.5}.directions-list{list-style:none;padding:0;margin:15px 0 21px;display:grid;gap:0}.direction{display:grid;grid-template-columns:34px minmax(0,1fr);gap:15px;position:relative;padding-bottom:24px}.direction:not(:last-child):before{content:'';position:absolute;width:1px;left:16px;top:34px;bottom:0;background:#49583e}.direction-index{width:33px;height:33px;border:1px solid #68754c;background:#202b1e;color:#ccb77f;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:12px;z-index:1}.direction h4{font-size:15px;font-weight:500;color:#e0e5d4;margin:1px 0 5px;line-height:1.5}.direction-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;line-height:1.5;color:#a2b49b;margin-bottom:7px}.direction-meta svg{height:13px;width:13px}.coordinate{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;letter-spacing:.1px;background:#111a12;border:1px solid #56694770;padding:2px 6px;border-radius:3px;white-space:nowrap;color:#c3cda9;display:inline-block}.direction p{font-size:13px;line-height:1.8;color:var(--muted)}.arrival{display:flex;align-items:flex-start;gap:15px;border:1px solid #8c9b6155;border-radius:5px;background:#798d4e0a;padding:20px}.arrival>svg{height:24px;width:24px;color:#b5c58e;flex-shrink:0;margin-top:2px}.arrival h4{font-size:14px;margin-bottom:5px}.arrival p{font-size:12px;line-height:1.8}.arrival .eyebrow{font-size:9px;margin-bottom:6px;color:#b9c79a}
.personal-header{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid rgba(var(--class-rgb),.27);background:rgba(var(--class-rgb),.045);border-radius:5px;margin:18px 0}.personal-header .class-seal{width:45px;height:45px;min-width:45px}.personal-header h4{font-size:17px;color:var(--class);font-weight:500;line-height:1.3}.personal-header p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:4px}.pack-item{border-bottom:1px solid var(--line)}.pack-item>label,.pack-item label{display:flex;align-items:flex-start;gap:13px;padding:17px 0;cursor:pointer}.pack-item label>span{flex:1;min-width:0}.pack-item strong{display:block;font-size:14px;font-weight:500;line-height:1.5;color:#e4e7d7}.pack-item p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:6px}.pack-item:has(input:checked) strong{color:#90aa8d}.pack-item:has(input:checked) p{color:#8b9c86}.packing-actions{display:flex;align-items:center;gap:19px;flex-wrap:wrap;margin-top:21px}.packing-actions .secondary-button{font-size:12px}.ahead-panel{margin:25px 0 8px;padding:26px;border:1px solid #8d9c5d60;border-radius:6px;background:linear-gradient(130deg,#8e9b5c0d,#1d271d22);scroll-margin-top:104px}.ahead-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.ahead-title .section-title{margin-bottom:12px}.ahead-title h3{font-size:32px}.ahead-title>svg{width:31px;height:31px;color:#bdc99d;stroke-width:1}.ahead-panel>p{font-size:13px;line-height:1.8}.level-input{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap;color:#bdc8b1}.level-input input{width:65px;height:39px;border:1px solid #65754e;background:#111b13;color:#e8e7cf;border-radius:4px;padding:6px 8px;font-size:16px;text-align:center}.pace-message{padding:13px 15px;background:#111b1280;border:1px solid #63774c45;border-radius:4px;font-size:13px;line-height:1.75;margin:17px 0 18px;color:#c8d0b8}.pace-message strong{color:#e0d6aa}.wait-task{border-bottom:1px solid #45533e;position:relative}.wait-task:last-of-type{border-bottom:0}.wait-task>label,.wait-task label{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:17px 0}.wait-task label>span{min-width:0;flex:1}.wait-task strong{display:block;font-size:14px;font-weight:500;line-height:1.5;color:#e1e7d3}.wait-task small{display:inline-block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#b0c298;border:1px solid #8eab6640;border-radius:3px;padding:1px 5px;margin-bottom:6px}.wait-task p{font-size:12px;line-height:1.8;margin-top:5px;color:#abbca0}.wait-task:has(input:checked) strong{color:#8ca084}.wait-task:has(input:checked) p{color:#7f9279}.hold-rule{margin-top:20px;padding-top:16px;border-top:1px solid #687a4f;font-size:12px;line-height:1.75;color:#c9cbae}.hold-rule strong{color:#e2d8ac;font-weight:500}
.side-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 18px}.side-heading h3{font-size:29px}.side-heading .eyebrow{font-size:9px;color:#a9bd92}.next-detours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.detour-card{padding:20px;border:1px solid #52644175;border-radius:5px;background:#23301d44;display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left;color:inherit;min-width:0}.detour-card:hover{border-color:#94a674;background:#2a391f4f}.detour-card .eyebrow{font-size:9px;color:#a9bf8f;letter-spacing:1px}.detour-card h3,.detour-card h4{font:600 25px/1.1 var(--serif);color:#e0e6ce}.detour-card p{font-size:12px;color:#aab99c;line-height:1.75}.detour-card .text-link{color:#bccca2;margin-top:auto;padding-top:5px}.detour-card>svg{color:#acbc8e;width:24px;height:24px}.next-chapter{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0;margin-top:30px;border-top:1px solid #766b43;color:inherit}.next-chapter .eyebrow{font-size:9px;margin-bottom:5px}.next-chapter h3{font-size:30px}.next-chapter p{font-size:12px;margin-top:5px}.next-chapter>svg{width:26px;height:26px;color:var(--gold)}.next-chapter button{margin-left:auto}.side-illustration{min-height:210px;position:relative;overflow:hidden;border:1px solid #64714c6b;border-radius:6px;background:radial-gradient(ellipse at 80% 20%,#6b805a27,transparent 65%),linear-gradient(130deg,#1b2b1e,#172219);padding:30px;display:flex;align-items:center;gap:26px}.side-path{position:absolute;inset:0;width:100%;height:100%;color:#698455;opacity:.24;pointer-events:none;stroke-width:1}.side-sigil{position:relative;width:80px;height:80px;min-width:80px;color:#c1c59a;stroke-width:1}.side-illustration>div{position:relative;z-index:1}.side-illustration h3{font-size:36px;max-width:500px}.side-illustration p{font-size:13px;line-height:1.8;color:#b1c0a7;margin-top:12px;max-width:480px}.side-brief{padding:22px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.8;color:var(--muted)}.side-brief p{font-size:14px;line-height:1.8}.reward-purpose{display:flex;gap:13px;align-items:flex-start;background:#768c4b0a;border-left:2px solid #8eaa62;padding:16px 18px;font-size:13px;line-height:1.8;color:#c2ceb1;margin:19px 0}.reward-purpose>svg{height:20px;width:20px;color:#b2c493;flex-shrink:0;margin-top:3px}.reward-purpose strong{display:block;font-size:13px;color:#dfe4c8;margin-bottom:5px}
#company-view{max-width:1296px;padding-top:42px;padding-bottom:50px}#company-view h2{font-size:45px}#company-view .view-intro{font-size:14px;line-height:1.8;max-width:760px}.party-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.party-card{padding:23px 17px}.party-card p{font-size:12px;line-height:1.8}.party-card .eyebrow{font-size:8px;letter-spacing:1px}.party-card .text-link{font-size:11px}.rules-grid{gap:28px}.rule-card p{font-size:13px;line-height:1.85}.table-wrap{margin-top:24px}table{font-size:12px}th{font-size:10px;letter-spacing:.7px}td,th{padding:15px 16px;line-height:1.75}.source-note{font-size:12px;line-height:1.8;color:var(--subtle);padding:17px 0}.source-note a{color:var(--gold-light);text-decoration:underline;text-underline-offset:3px}.source-note p{font-size:12px}
#detail-dialog{max-width:800px;max-height:88vh;padding:34px 38px;border-color:#7c835f;background:#1a241d;scrollbar-width:thin;scrollbar-color:#71825a #1a241d}#detail-dialog h2{font-size:39px;margin:8px 30px 20px 0;line-height:1.1}#detail-dialog h3{font-size:28px;margin:0 0 13px}#detail-dialog p,#detail-dialog li{font-size:13px;line-height:1.85}.dialog-close{right:17px;top:17px;z-index:5;background:#1a241d}.quest-modal-top{margin-bottom:18px}.quest-modal-top .eyebrow{font-size:9px;margin-right:30px}.quest-modal-top .level-tag{display:inline-block;margin-top:8px}.quest-meta{border:1px solid #59674a80;border-radius:4px;background:#131d1475;padding:18px 20px;margin:20px 0}.quest-meta dl{display:grid;grid-template-columns:115px minmax(0,1fr);gap:9px 16px;margin:0}.quest-meta dt{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#91a183;padding-top:2px}.quest-meta dd{margin:0;color:#d0d8c2;font-size:13px;line-height:1.7;min-width:0}.quest-meta dd .coordinate{margin-left:7px}.modal-section{padding:22px 0;border-bottom:1px solid var(--line)}.modal-section:last-child{border:0}.quest-steps{padding-left:22px;margin:16px 0 0}.quest-steps li{padding-left:7px;margin-bottom:14px;color:#b9c7ac}.quest-steps li::marker{color:var(--gold);font-weight:600}.modal-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:24px 0 5px}.modal-actions .primary-button{margin:0}.modal-actions a{font-size:12px}.modal-title{margin-right:26px}.notes-list{padding-left:19px;margin:17px 0}.notes-list li{padding-left:5px;margin:13px 0}.notes-list li::marker{color:var(--gold)}.export-preview{white-space:pre-wrap;overflow:auto;max-height:50vh;padding:18px;border:1px solid #536347;background:#101b12;color:#c3d0b8;border-radius:4px;font:12px/1.8 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.toast{font-size:13px;z-index:1000;max-width:calc(100vw - 34px);text-align:center}footer{max-width:1296px;padding-top:28px;padding-bottom:30px}footer .brand{font-size:13px;letter-spacing:2px}footer .brand span span{font-size:7px;letter-spacing:4px}footer .brand-mark svg{height:29px;width:24px}footer .text-link{font-size:11px}footer .save-note{font-size:10px}footer p{font-size:18px}
@media(max-width:1380px){.hero-content{padding-left:42px;padding-right:42px}.site-header{padding-left:42px;padding-right:42px}.road-layout{gap:32px;grid-template-columns:235px minmax(0,1fr)}.hero-caption{right:42px}.chapter-heading h2{font-size:40px}}
@media(max-width:1100px){.site-header{padding:0 26px;gap:18px}.site-header nav{gap:22px;margin-right:12px}.hero-content{padding-left:30px;padding-right:30px}.hero-caption{right:30px;font-size:8px}.road-layout{padding-left:28px;padding-right:28px;grid-template-columns:217px minmax(0,1fr);gap:25px}.road-sidebar{padding-right:7px}.road-button strong{font-size:11px}.chapter-heading h2{font-size:37px}.chapter-art{aspect-ratio:16/8}.chapter-facts{gap:0}.fact{padding:0 15px}.fact strong{font-size:18px}.jump-nav{gap:20px}.jump-nav a{font-size:11px}.section-title h3{font-size:29px}.ahead-panel{padding:22px}.ahead-title{flex-wrap:wrap;gap:12px}.party-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.next-detours{gap:11px}.detour-card{padding:17px}.side-illustration{padding:25px;gap:20px}.side-illustration h3{font-size:31px}.side-sigil{width:65px;height:65px;min-width:65px}.quest-open{padding:14px;gap:10px}.quest-open strong{font-size:13px}.quest-open small{font-size:11px}}
@media(max-width:800px){html{scroll-padding-top:98px}.site-header{height:78px;gap:16px;padding:0 22px}.site-header nav{gap:18px;margin:0 auto}.nav-link{font-size:10px}.brand{font-size:14px;gap:8px}.brand span span{font-size:7px;letter-spacing:4.7px}.class-picker{min-width:142px;gap:8px;padding:8px 9px}.class-picker select{min-width:72px;font-size:12px}.class-picker>span:first-child svg{width:21px;height:21px}.class-picker>span:last-child svg{width:12px;height:12px}.hero{height:275px}.hero-content{padding:27px 26px}.hero-content h1{font-size:49px;margin:15px 0 13px}.hero-caption{display:none}.hero>img{object-position:62% center}.hero-shade{background:linear-gradient(90deg,#101915f2,#1019159c 60%,#10191522),linear-gradient(0deg,#111716d9,transparent 55%)}.road-layout{grid-template-columns:minmax(0,1fr);gap:28px;padding:24px 26px 36px}.road-sidebar{position:static;max-height:none;padding:0;overflow:visible;border:1px solid var(--line);border-radius:5px;background:#1c261b44}.road-sidebar summary{padding:16px 18px;border-bottom:0}.road-sidebar summary strong{font-size:26px}.road-sidebar summary .eyebrow{font-size:8px}.road-sidebar details[open] summary{border-bottom:1px solid var(--line)}.road-sidebar details>div,.road-sidebar #road{margin-left:18px;margin-right:18px}.road-sidebar .road-legend{display:flex;flex-direction:row;gap:19px;margin-top:16px;margin-bottom:14px}.road-sidebar #road{max-height:440px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#65745d transparent;padding-right:7px}.road-sidebar .road-footnote{padding:16px 0;margin-top:12px;font-size:11px}.road-sidebar .road-button{min-height:56px}.road-button strong{font-size:13px}.road-button small{font-size:10px}.detour-button{font-size:12px}.detour-button strong{font-size:12px}.road-count{font-size:11px}.chapter-heading h2{font-size:39px}.chapter-art{aspect-ratio:16/7}.section-title h3{font-size:31px}.guide-section>p{font-size:14px}.quest-open strong{font-size:14px}.quest-open small{font-size:12px}.direction p{font-size:14px}.pack-item p{font-size:13px}.wait-task p{font-size:13px}.guide-section{padding-top:31px;padding-bottom:31px}.jump-nav a{font-size:12px}.chapter-buttons .icon-button{width:34px;height:34px}.mystery{font-size:25px}.party-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rules-grid{grid-template-columns:1fr 1fr}.chapter-actions{margin-bottom:23px}.next-chapter{margin-top:27px}#company-view{padding:32px 26px}#company-view h2{font-size:41px}footer{padding-left:26px;padding-right:26px;gap:24px}.side-illustration{min-height:210px}}
@media(max-width:560px){html{scroll-padding-top:134px}.site-header{height:111px;position:sticky;padding:12px 18px 0;gap:8px;flex-wrap:wrap}.site-header .brand{font-size:14px;letter-spacing:2.3px}.site-header .brand-mark svg{width:24px;height:32px}.site-header .brand span span{font-size:7px;letter-spacing:4px}.site-header nav{order:3;height:33px;width:100%;justify-content:space-between;margin:0;gap:20px}.site-header .nav-link{font-size:11px}.class-picker{min-width:137px;padding:6px 8px;gap:7px;margin-left:auto}.class-picker label{font-size:7px}.class-picker select{font-size:12px;min-width:72px}.class-picker>span:first-child svg{width:19px;height:19px}.class-picker>span:last-child svg{width:11px;height:11px}.hero{height:270px}.hero-content{padding:28px 20px 24px}.hero-content .eyebrow{font-size:7px;letter-spacing:1px}.hero-content .eyebrow>span{margin:0 4px}.hero-content h1{font-size:43px;line-height:1.01;letter-spacing:-.5px;margin-top:17px;max-width:360px}.hero-content p{font-size:12px;line-height:1.65}.hero>img{object-position:69% center}.hero-shade{background:linear-gradient(90deg,#101915f0,#101915ad 65%,#10191570),linear-gradient(0deg,#111716d9,transparent 65%)}.road-layout{padding:20px 18px 32px;gap:24px}.road-sidebar summary{padding:14px 15px}.road-sidebar summary strong{font-size:25px}.road-sidebar .road-legend{gap:14px;flex-wrap:wrap;font-size:9px}.road-sidebar details>div,.road-sidebar #road{margin-left:15px;margin-right:15px}.chapter-heading{align-items:flex-start;margin-bottom:18px;gap:10px}.chapter-heading h2{font-size:35px;line-height:1.05;max-width:285px}.chapter-heading .eyebrow{font-size:8px;letter-spacing:1.1px}.chapter-buttons{padding-top:25px;gap:6px}.chapter-buttons .icon-button{width:28px;height:28px}.chapter-buttons>span{font-size:9px}.chapter-art{aspect-ratio:16/10}.image-caption{left:13px;bottom:12px;right:13px;font-size:10px;align-items:flex-end}.image-caption>span:last-child{font-size:8px;text-align:right;max-width:125px}.art-label{font-size:7px;top:9px;right:9px;max-width:170px;letter-spacing:.6px}.chapter-facts{padding:19px 0}.fact{padding:0 11px}.fact small{font-size:8px;letter-spacing:.7px}.fact strong{font-size:17px}.fact span{font-size:10px;line-height:1.6}.mystery{font-size:23px;line-height:1.5;margin:20px 0}.chapter-actions{gap:12px;justify-content:flex-start}.chapter-actions .secondary-button{font-size:11px}.chapter-actions .primary-button{font-size:11px}.chapter-actions .status-pill{font-size:8px}.jump-nav{gap:23px}.jump-nav a{font-size:11px;min-height:46px;padding:12px 0}.guide-section{padding:29px 0;scroll-margin-top:132px}.section-title{gap:10px;margin-bottom:15px;align-items:flex-start}.section-title h3{font-size:28px;line-height:1.1}.section-number{width:27px;height:27px;min-width:27px;font-size:10px}.guide-section>p{font-size:13px}.notice{font-size:12px;padding:13px 14px;margin:16px 0}.phase-title{font-size:9px;letter-spacing:.8px;line-height:1.5}.quest-open{gap:10px;padding:13px 11px;flex-wrap:wrap}.quest-symbol{width:26px;height:30px;min-width:26px;font-size:23px}.quest-open>span:nth-child(2){flex:1;min-width:135px}.quest-open strong{font-size:13px}.quest-open small{font-size:11px;margin-top:4px}.quest-open>.level-tag{font-size:8px;margin-left:36px;margin-top:-5px;flex:0 0 auto}.quest-open>svg{width:15px;height:15px}.quest-check{padding:0 10px;min-width:39px}.quest-check input{width:17px;height:17px;min-width:17px}.route-map{padding:14px 10px 11px;margin:17px 0 20px}.route-map>div{font-size:9px;gap:7px}.direction{grid-template-columns:28px minmax(0,1fr);gap:12px;padding-bottom:23px}.direction-index{height:28px;width:28px;font-size:10px}.direction:not(:last-child):before{left:13px;top:28px}.direction h4{font-size:14px;line-height:1.5;margin-top:0}.direction p{font-size:13px;line-height:1.8}.direction-meta{font-size:10px;gap:6px}.coordinate{font-size:9px;white-space:normal}.arrival{padding:17px 14px;gap:11px}.arrival>svg{height:21px;width:21px}.arrival h4{font-size:13px}.arrival p{font-size:12px}.personal-header{padding:16px 14px;gap:11px}.personal-header .class-seal{width:39px;height:39px;min-width:39px}.personal-header h4{font-size:16px}.personal-header p{font-size:11px}.pack-item label{gap:11px;padding:16px 0}.pack-item strong{font-size:13px}.pack-item p{font-size:12px}.packing-actions{gap:16px;margin-top:20px}.packing-actions .secondary-button{font-size:11px}.ahead-panel{padding:20px 16px;margin:20px 0 6px;scroll-margin-top:132px}.ahead-title{gap:12px}.ahead-title h3{font-size:29px}.ahead-title .section-title{margin-bottom:2px}.ahead-panel>p{font-size:12px}.level-input{font-size:12px;gap:9px}.level-input input{width:60px;height:37px;font-size:15px}.pace-message{font-size:12px;padding:12px 13px}.wait-task label{gap:10px}.wait-task strong{font-size:13px}.wait-task p{font-size:12px}.wait-task small{font-size:8px}.hold-rule{font-size:11px;line-height:1.8}.side-heading{margin-top:27px}.side-heading h3{font-size:28px}.next-detours{grid-template-columns:1fr;gap:11px}.detour-card{padding:18px}.detour-card h3,.detour-card h4{font-size:26px}.detour-card p{font-size:12px}.next-chapter{gap:13px;flex-wrap:wrap;padding:21px 0;margin-top:27px}.next-chapter h3{font-size:28px}.next-chapter p{font-size:11px}.next-chapter button{margin-left:0}.side-illustration{padding:23px 18px;gap:16px;min-height:205px;align-items:flex-start}.side-sigil{width:45px;height:45px;min-width:45px;margin-top:4px}.side-illustration h3{font-size:29px}.side-illustration p{font-size:12px;line-height:1.75;margin-top:10px}.side-brief,.side-brief p{font-size:13px}.reward-purpose{padding:14px 13px;font-size:12px;gap:10px}.reward-purpose strong{font-size:12px}.party-grid{grid-template-columns:1fr;gap:12px}.party-card{padding:20px;display:grid;grid-template-columns:44px 1fr;gap:0 15px}.party-card .class-seal{grid-row:span 2;width:40px;height:40px;margin:0}.party-card h3{font-size:29px;grid-column:2}.party-card .eyebrow{grid-column:2;margin-top:6px;font-size:8px}.party-card p{grid-column:1/-1;font-size:12px;margin:17px 0}.party-card button{grid-column:1/-1}.rules-grid{grid-template-columns:1fr;gap:24px}.rule-card h3{font-size:27px}.rule-card p{font-size:13px}#company-view{padding:28px 18px 36px}#company-view h2{font-size:35px}#company-view .view-intro{font-size:13px}td,th{padding:13px 12px;min-width:100px}table{font-size:11px}th{font-size:9px}.source-note{font-size:11px;line-height:1.8}#detail-dialog{padding:30px 20px 23px;width:calc(100% - 24px);max-height:88vh}#detail-dialog h2{font-size:33px;line-height:1.1;margin-top:9px;margin-right:24px}#detail-dialog h3{font-size:26px}#detail-dialog p,#detail-dialog li{font-size:12px;line-height:1.85}.dialog-close{right:11px;top:11px;width:29px;height:29px}.quest-modal-top .eyebrow{font-size:8px;letter-spacing:1px;margin-right:22px}.quest-meta{padding:16px 14px}.quest-meta dl{grid-template-columns:1fr;gap:3px}.quest-meta dt{font-size:9px;margin-top:9px}.quest-meta dt:first-child{margin-top:0}.quest-meta dd{font-size:12px}.quest-meta dd .coordinate{margin-left:4px}.modal-section{padding:20px 0}.quest-steps{padding-left:18px}.quest-steps li{padding-left:4px;margin-bottom:14px}.modal-actions{gap:11px}.modal-actions .primary-button,.modal-actions .secondary-button{font-size:11px}.modal-actions a{font-size:11px}.export-preview{font-size:11px;padding:13px}.toast{font-size:12px;bottom:17px;padding:12px 16px}footer{padding:25px 18px;gap:20px}footer p{font-size:17px;margin-right:0}footer .brand{font-size:12px}footer .text-link{font-size:11px}footer .save-note{display:block;font-size:9px;flex-basis:100%}}
/* Concrete markup alignment: labels are the rows; metadata is a definition grid. */
img.road-thumb{object-fit:cover;display:block}.image-caption{justify-content:flex-start}.fact strong>span{margin-left:6px;font-size:9px;letter-spacing:.6px}.quest-tip{font-size:11px;line-height:1.8;color:var(--subtle);margin:17px 0 0}.notice{display:flex;align-items:flex-start;gap:11px}.notice>svg{width:17px;height:17px;min-width:17px;margin-top:3px;color:var(--gold)}.route-map{display:flex;align-items:center;gap:15px;padding:18px}.route-map>svg{width:34px;height:34px;min-width:34px;max-height:none;stroke-width:1}.route-map>div{display:block;text-align:left;font-size:12px}.route-map h4{font-size:14px;font-weight:500;color:#dce3ce;margin-bottom:4px;line-height:1.5}.route-map p{font-size:11px;line-height:1.6;color:var(--subtle)}.pack-item,.wait-task{display:flex;align-items:flex-start;gap:13px;padding:17px 0;cursor:pointer}.pack-item>span,.wait-task>span{min-width:0;flex:1}.personal-header #packing-count{margin-left:auto;text-align:right;font-size:11px;white-space:nowrap;color:var(--class)}.ahead-title{justify-content:flex-start;align-items:center;gap:13px;margin-bottom:13px}.ahead-title>svg{width:29px;height:29px}.ahead-panel .level-input{margin-top:18px}.wait-task strong small{margin:0 0 0 7px;vertical-align:middle;font-size:8px}.hold-rule{display:flex;align-items:flex-start;gap:10px}.hold-rule>svg{width:17px;height:17px;min-width:17px;color:var(--gold);margin-top:3px}.side-heading>span{font-size:8px;letter-spacing:1px;color:#9eb38a;white-space:nowrap}.next-chapter small{display:block;font-size:9px;letter-spacing:1.2px;color:var(--gold);margin-bottom:6px}.next-chapter strong{display:block;font:600 29px/1.15 var(--serif);color:var(--ink)}.reward-purpose{display:block}.reward-purpose .eyebrow{font-size:9px;color:#c3d09b;margin-bottom:9px}.reward-purpose p{font-size:13px;color:#b4c5a5;line-height:1.8}.quest-modal-top{display:flex;align-items:flex-start;gap:14px}.quest-modal-top>.quest-symbol{margin-top:7px;height:40px;width:34px;min-width:34px}.quest-modal-top h2{margin-bottom:0!important}.quest-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.quest-meta dt{font-size:9px;letter-spacing:.8px;color:#96a886;text-transform:uppercase;margin-bottom:5px}.quest-meta dd{margin:0;font-size:13px;line-height:1.75;color:#d0dac3}.quest-meta dd .coordinate{margin:6px 0 0}.quest-meta>div{min-width:0}
@media(max-width:560px){.route-map{padding:15px;gap:12px}.route-map>svg{width:28px;height:28px;min-width:28px}.route-map h4{font-size:13px}.route-map p{font-size:10px}.pack-item,.wait-task{gap:11px;padding:16px 0}.personal-header{flex-wrap:wrap}.personal-header #packing-count{font-size:10px;white-space:normal}.ahead-title{gap:11px;flex-wrap:nowrap}.ahead-title>svg{width:25px;height:25px;min-width:25px}.side-heading{align-items:flex-start;flex-direction:column;gap:8px}.next-chapter strong{font-size:27px}.reward-purpose p{font-size:12px}.quest-modal-top{gap:11px}.quest-modal-top>.quest-symbol{width:28px;min-width:28px;height:34px}.quest-meta{grid-template-columns:1fr;gap:14px}.quest-meta dd{font-size:12px}.quest-tip{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.road-sidebar summary svg{transition:none}}
@media print{.site-header,.hero,.road-sidebar,.chapter-buttons,.chapter-art,.chapter-actions,.jump-nav,.next-detours,.next-chapter,.packing-actions,.level-input,footer,.toast{display:none!important}.road-layout{display:block;padding:0;max-width:none}.chapter-column{width:100%}.guide-section{padding:20px 0;break-inside:auto}.quest-row,.direction,.pack-item,.wait-task{break-inside:avoid}.ahead-panel,.arrival,.notice,.personal-header{background:none;border-color:#888;color:#222}.quest-open strong,.direction h4,.pack-item strong,.wait-task strong,.mystery{color:#111}.quest-open small,.direction p,.pack-item p,.wait-task p{color:#444}.chapter-facts{padding:14px 0}.fact strong{color:#222}}
