.qt-adventure{--qt-ink:#31424a;--qt-mint:#dff4ed;--qt-lilac:#ece8ff;--qt-yellow:#fff1c9;color:var(--qt-ink)}.qt-adventure .heading{margin-bottom:22px}.qt-adventure .qt-intro{display:flex;align-items:center;gap:28px;position:relative;padding:12px 0 32px;border-bottom:2px solid #e8eeec;margin-bottom:32px;background:#fff}.qt-intro>div{flex:1}.qt-adventure .qt-intro h2{font-size:clamp(30px,3.4vw,48px);line-height:1.08;margin:8px 0 15px;max-width:15ch}.qt-intro p{max-width:54ch;margin:10px 0}.qt-adventure .qt-handnote{font-size:17px;font-weight:700;color:#517569}.qt-scene{width:32%;max-width:330px;min-width:170px;flex-shrink:0}.qt-adventure .qt-begin{background:var(--qt-mint);border:2px solid var(--qt-ink);box-shadow:3px 3px 0 var(--qt-ink);font-weight:700;margin:10px 0}.qt-adventure .qt-target{font-size:12px;color:#566973;margin-top:18px}.qt-journey-head{display:flex;align-items:start;justify-content:space-between;gap:20px}.qt-adventure .qt-journey h2{font-size:25px;margin-bottom:8px}.qt-journey-head p{font-size:13px;max-width:62ch;color:#566973;margin-top:0}.qt-view-controls{display:flex;gap:5px;flex-shrink:0}.qt-adventure .qt-view-controls button{padding:8px 12px;border:1px solid #cad6d1;box-shadow:none;font-size:13px}.qt-adventure .qt-view-controls button[aria-pressed=true]{background:var(--qt-mint);border:2px solid var(--qt-ink)}.qt-jump{display:flex;align-items:center;gap:12px;margin:12px 0 22px}.qt-jump label{flex-shrink:0;font-size:13px;font-weight:700}.qt-jump select{min-width:0;max-width:480px;flex:1;background:#fff;font-size:14px}.qt-map-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;align-items:start}.qt-board{border:2px solid #dbe6e0;border-radius:28px;padding:18px 12px 8px;background:#fff;min-width:0}.qt-chapters{display:flex;flex-wrap:wrap;gap:6px;margin:0 8px 28px}.qt-chapters span{font-size:10px;padding:5px 8px;border-radius:20px;color:#31424a;background:var(--qt-color)}.qt-mint{--qt-color:#dff4ed}.qt-lilac{--qt-color:#ece8ff}.qt-yellow{--qt-color:#fff1c9}.qt-trail{position:relative;padding:10px 0}.qt-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.qt-route path{fill:none;stroke:#cbded4;stroke-width:5;stroke-dasharray:3 9;stroke-linecap:round}.qt-checkpoints{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(145px,auto));gap:22px 8px}.qt-checkpoints>li{grid-row:var(--qt-row);grid-column:var(--qt-col);min-width:0;display:flex;flex-direction:column;align-items:center}.qt-adventure .qt-checkpoint{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;min-width:0;padding:8px 2px;background:transparent;border:0;border-radius:15px;box-shadow:none;transform:none;min-height:140px;line-height:1.3}.qt-node-number{display:grid;place-items:center;width:49px;height:49px;border:2px solid #31424a;border-radius:50%;font-size:21px;font-weight:700;background:var(--qt-color);box-shadow:0 4px 0 #e6ece9;margin-bottom:9px}.qt-node-title{font-size:12px;font-weight:700;max-width:17ch;background:#fff;padding:2px}.qt-node-period{font-size:10px;color:#566973;background:#fff;margin-top:5px;max-width:18ch}.qt-adventure .qt-checkpoint[aria-current=step]{outline:2px solid #517569;outline-offset:0;background:#f5fbf7}.qt-checkpoint[aria-current=step] .qt-node-number{background:#fff1c9;box-shadow:0 4px 0 #bccfc2}.qt-traveller{position:absolute;z-index:2;width:62px;height:50px;pointer-events:none;transition:left .55s ease,top .55s ease;filter:drop-shadow(0 2px 0 #fff)}.qt-map-foot{font-size:11px;line-height:1.5;text-align:center;color:#566973;padding:0 10px}.qt-detail-dock{position:sticky;top:20px;min-width:0}.qt-adventure .qt-detail{background:#fff;border:2px solid var(--qt-ink);border-radius:18px;box-shadow:5px 5px 0 #dff4ed;padding:24px;min-width:0;scroll-margin-top:20px}.qt-step-label{font-size:12px;font-weight:700;color:#517569}.qt-adventure .qt-detail h3{font-size:24px;line-height:1.18;margin:10px 0 14px}.qt-source-status{display:inline-block;font-size:11px;border:1px solid #cad6d1;padding:4px 9px;border-radius:6px;background:#f7f9f8}.qt-detail p,.qt-simple-list p{font-size:14px;line-height:1.65}.qt-adventure .qt-detail h4,.qt-adventure .qt-simple-list h4{font-size:13px;margin:20px 0 6px}.qt-detail dl{margin:16px 0;padding:14px 0;border-block:1px dashed #cbded4}.qt-detail dl>div{margin:9px 0}.qt-detail dt{font-size:11px;color:#566973}.qt-detail dd{font-size:13px;margin:3px 0;font-weight:600}.qt-step-nav{display:flex;gap:10px;margin-top:25px}.qt-adventure .qt-step-nav button{font-size:12px;padding:8px 10px;flex:1;box-shadow:none;border:1px solid #cad6d1}.qt-adventure button:disabled{opacity:.45;cursor:default}.qt-adventure :is(button,select,summary):focus-visible{outline:3px solid #7462ac;outline-offset:4px}.qt-master{font-size:13px;margin:26px 0 38px}.qt-simple-list{border-top:2px solid #dbe6e0}.qt-simple-list>details{border-bottom:1px solid #dbe6e0;padding:14px 0}.qt-simple-list summary{display:flex;gap:14px;align-items:center;cursor:pointer;font-weight:700;font-size:16px;min-height:44px}.qt-simple-list summary>span{border:1px solid #31424a;border-radius:50%;background:#dff4ed;min-width:32px;height:32px;display:grid;place-items:center}.qt-simple-list details>div{padding:18px 20px 12px 46px;max-width:75ch}.qt-simple-list h3{font-size:21px}.qt-simple-list dl{font-size:14px}.qt-simple-list dt{font-weight:700;margin-top:10px}.qt-simple-list dd{margin:3px 0}.qt-home-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;border-top:2px solid #e8eeec;padding:28px 0}.qt-home-links section{padding:0 10px 10px 0}.qt-home-links p{font-size:14px;max-width:55ch}.qt-adventure .qt-home-links h2{font-size:20px}.qt-home-links button{font-size:13px}.qt-adventure [hidden]{display:none!important}
@media(min-width:701px) and (max-width:1150px){.qt-map-layout{grid-template-columns:1fr}.qt-detail-dock{position:static}.qt-checkpoints{grid-template-rows:repeat(4,minmax(135px,auto))}.qt-journey-head{flex-wrap:wrap}.qt-detail dl{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.qt-detail{max-width:none}}
@media(max-width:700px){.qt-adventure .qt-intro{padding:0 0 24px;gap:8px}.qt-adventure .qt-intro h2{font-size:31px}.qt-intro>div{min-width:0}.qt-scene{width:125px;min-width:110px;align-self:start;margin-top:35px}.qt-intro p{font-size:13px}.qt-adventure .qt-handnote{font-size:12px}.qt-adventure .qt-target{font-size:10px}.qt-journey-head{display:block}.qt-view-controls{margin:14px 0}.qt-jump{display:block}.qt-jump label{margin:12px 0 6px}.qt-jump select{width:100%;font-size:13px}.qt-map-layout{display:block}.qt-board{padding:18px 14px 8px;border-radius:22px}.qt-chapters{gap:5px;margin:0 0 24px}.qt-chapters span{font-size:9px}.qt-checkpoints{display:flex;flex-direction:column;gap:25px}.qt-checkpoints>li{align-items:stretch;padding-left:8px}.qt-checkpoints>li:nth-child(even){padding-left:22px}.qt-adventure .qt-checkpoint{flex-direction:row;flex-wrap:wrap;text-align:left;min-height:72px;padding:10px 8px;gap:0 12px;align-content:center;justify-content:start}.qt-node-number{flex-shrink:0;width:44px;height:44px;margin:0;grid-row:1/3}.qt-node-title{max-width:none;flex:1;font-size:14px;background:transparent;padding:0}.qt-node-period{display:block;text-align:left;margin:5px 0 0 56px;width:100%;max-width:none;font-size:11px;background:transparent}.qt-traveller{width:48px;height:39px;margin-top:10px;margin-left:7px}.qt-adventure .qt-detail{margin:14px 2px 0 0;padding:19px;box-shadow:3px 3px 0 #dff4ed;border-radius:14px}.qt-adventure .qt-detail h3{font-size:23px}.qt-detail p{font-size:13px}.qt-detail-dock{display:none}.qt-home-links{grid-template-columns:1fr;gap:18px}.qt-home-links section{padding-bottom:10px}.qt-simple-list details>div{padding-left:12px}.qt-simple-list summary{font-size:14px}.qt-map-foot{font-size:10px}}
@media(max-width:380px){.qt-scene{display:none}.qt-adventure .qt-intro h2{max-width:none}.qt-checkpoints>li:nth-child(even){padding-left:8px}.qt-board{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.qt-adventure .qt-traveller{transition:none!important}.qt-adventure *{scroll-behavior:auto!important}}
@media print{.qt-adventure .qt-map-layout,.qt-adventure .qt-view-controls,.qt-adventure .qt-jump,.qt-adventure .qt-intro,.qt-adventure .qt-home-links{display:none!important}.qt-adventure #qt-list-view-content[hidden]{display:block!important}.qt-simple-list details>div{display:block!important}.qt-simple-list details{break-inside:avoid}}
/* Keep phone selections calm when checkpoints are far apart vertically. */
@media(max-width:700px){.qt-adventure .qt-traveller{transition:none}}
/* Approved character poses are static WebP assets; only checkpoint selections animate. */
.qt-adventure .qt-trail{padding-top:60px}.qt-adventure .qt-checkpoints{grid-template-rows:repeat(4,minmax(190px,auto))}.qt-adventure .qt-traveller{width:78px;height:100px;margin:0;filter:drop-shadow(0 2px 0 #fff)}.qt-governor-avatar{position:relative;display:block;width:100%;height:100%;flex-shrink:0}.qt-governor-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.qt-governor-next{opacity:0}.qt-companion{display:flex;gap:12px;align-items:center;border-bottom:1px dashed #d5e1da;margin-bottom:18px;padding-bottom:12px}.qt-companion .qt-governor-avatar{width:88px;height:113px}.qt-companion strong{font-size:13px;display:block;line-height:1.4}.qt-companion [data-governor-expression]{display:block;font-size:13px;margin:6px 0;color:#426651}.qt-companion small{font-size:10px;display:block}
@media(max-width:700px){.qt-adventure .qt-trail{padding-top:10px}.qt-adventure .qt-traveller{width:72px;height:92px;margin:0;transition:none}.qt-adventure .qt-checkpoint[aria-current=step]{padding-right:80px;min-height:106px}.qt-adventure .qt-checkpoints{grid-template-rows:none}.qt-companion .qt-governor-avatar{width:80px;height:103px}}
.qt-companion .qt-governor-avatar{width:116px;height:149px}
@media(max-width:700px){.qt-companion .qt-governor-avatar{width:100px;height:128px}}
@media(min-width:701px){.qt-adventure .qt-checkpoints{grid-template-rows:repeat(4,minmax(220px,auto))}}

/* Homepage art is independent of checkpoint pose selection. */
.qt-hero-art{width:43%;max-width:460px;flex:none;position:relative}.qt-hero-art .qt-scene{width:100%;max-width:none;min-width:0;display:block;margin:0}.qt-hero-static{display:none}.qt-adventure .qt-hero-pause{display:block;margin:0 auto;font-size:11px;padding:6px 10px;box-shadow:none;border:1px solid #cad6d1;background:#fff}.qt-intro>.qt-hero-art{flex:none}
@media(max-width:700px){.qt-adventure .qt-intro{flex-wrap:wrap}.qt-intro>div:first-child{flex-basis:100%}.qt-intro>.qt-hero-art{width:min(100%,380px);margin:0 auto}.qt-hero-art .qt-scene{display:block}.qt-hero-art .qt-hero-pause{font-size:11px}}
@media(prefers-reduced-motion:reduce){.qt-hero-animation,.qt-hero-pause{display:none!important}.qt-hero-static{display:block}}

/* Owner-photo-based Home scenes; journey checkpoint animation stays independent. */
.qt-hero-art{width:49%;max-width:560px}.qt-home-stage{position:relative;aspect-ratio:640/390;isolation:isolate;overflow:hidden;background:#fff}.qt-home-backdrops{position:absolute;inset:0}.qt-home-backdrop{position:absolute;width:100%;height:100%;inset:0;opacity:0;animation:qt-home-scenes 30s ease-in-out infinite}.qt-home-backdrop:nth-child(2){animation-delay:-20s}.qt-home-backdrop:nth-child(3){animation-delay:-10s}.qt-home-stage>img{position:absolute;left:0;bottom:0;width:34%;height:auto;z-index:1}.qt-home-stage>.qt-hero-static{display:none}.qt-home-stage>.qt-hero-animation{display:block}.qt-hero-art[data-background-paused=true] .qt-home-backdrop{animation-play-state:paused}.qt-home-backdrop:first-child{opacity:1}
/* Seven-second holds and three-second overlapping, eased fades; GIF is a separate layer. */
@keyframes qt-home-scenes{0%,23.333333%{opacity:1}33.333333%,90%{opacity:0}100%{opacity:1}}
@media(max-width:700px){.qt-intro>.qt-hero-art{width:100%;max-width:560px}.qt-home-stage{aspect-ratio:640/430}.qt-home-stage>img{width:36%}}
@media(prefers-reduced-motion:reduce){.qt-home-backdrop{animation:none;opacity:0}.qt-home-backdrop:first-child{opacity:1}.qt-home-stage>.qt-hero-static{display:block}.qt-home-stage>.qt-hero-animation{display:none}}

/* Larger foreground host, keeping the architecture visible to his right. */
.qt-home-stage{aspect-ratio:640/430}.qt-home-stage>img{width:46%;left:-2%;filter:drop-shadow(0 4px 2px #31424a18)}
@media(max-width:700px){.qt-home-stage>img{width:48%;left:-3%}.qt-home-stage{aspect-ratio:640/450}}
/* Status comes from the sheet; selection remains an independent outline. */
.qt-adventure .qt-status{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;line-height:1.5;padding:4px 9px;border-radius:20px;border:1px solid #6b7771;background:#f1f4f2;color:#35443c;white-space:nowrap;vertical-align:middle}
.qt-status i{position:relative;display:inline-block;width:9px;height:9px;border-radius:50%;background:#65716b;flex:none}
.qt-adventure .qt-status-started{background:#e9f7ed;color:#14532d;border-color:#2f7d49}
.qt-status-started i{background:#16803c}
.qt-status-started i:after{content:'';position:absolute;inset:-4px;border-radius:50%;box-shadow:0 0 0 2px #299a5266;animation:qt-status-glow 3.8s ease-in-out infinite}
@keyframes qt-status-glow{0%,100%{box-shadow:0 0 0 2px #299a5226}50%{box-shadow:0 0 7px 4px #299a5266}}
.qt-status-legend{font-size:12px;line-height:2;max-width:85ch}.qt-status-legend .qt-status{margin:4px 5px 4px 0}
.qt-node-title .qt-status{display:flex;width:max-content;margin:7px auto 2px}
.qt-simple-list summary{flex-wrap:wrap}.qt-simple-list summary>strong{flex:1;min-width:150px}.qt-simple-list summary>.qt-status{display:inline-flex;min-width:0;height:auto;border-radius:20px}
.qt-adventure[data-motion-paused=true] .qt-status-started i:after{animation:none;box-shadow:none}
[data-theme=dark] .qt-adventure .qt-status{background:#253b30;color:#e1e9e4;border-color:#93aa9a}
[data-theme=dark] .qt-adventure .qt-status-started{background:#173f29;color:#baf1c9;border-color:#83d79d}
[data-theme=dark] .qt-status-started i{background:#83e9a0}
@media(prefers-reduced-motion:reduce){.qt-status-started i:after{animation:none;box-shadow:none}}
@media(max-width:700px){.qt-node-title .qt-status{margin:7px 0 2px}.qt-adventure .qt-checkpoint{padding-right:78px}.qt-status-legend{line-height:1.8}.qt-simple-list summary>.qt-status{margin-left:46px}}
