.journey-game{--journey-gold:#e6c294;--journey-ink:#241729}
.night-quest,.night-last-chance{margin:22px 0;padding:20px;border:1px solid #e1bf8866;border-radius:12px;background:linear-gradient(135deg,#a87c3526,#26182488)}
.night-quest>strong{display:block;font:22px/1.5 var(--font-display);color:#ffe0a5}.night-quest p,.night-last-chance p{font-size:13px;line-height:1.9;color:#ddc8c0;word-break:keep-all}.night-quest>span{display:inline-block;border:1px solid #c2a27566;border-radius:20px;padding:7px 12px;font-size:11px;color:#e9c89b}.night-last-chance h2{font-size:23px;margin:7px 0 12px}
.journey-ending-art{margin:0;position:relative;overflow:hidden;border:1px solid #cbaa8180;border-radius:14px}.journey-ending-art img{display:block;width:100%;height:auto}.journey-ending-art figcaption{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:35px 18px 22px;background:linear-gradient(transparent,#090916ee);font:18px/1.7 var(--font-display);color:#ceccdf}.journey-bad-ending{grid-template-columns:1fr}.journey-bad-ending .journey-ending-art{max-height:660px}.journey-bad-ending .journey-ending-art img{width:100%;height:100%;object-fit:cover}.journey-bad-ending .journey-ending-art:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#7197d522,transparent 65%);pointer-events:none;animation:night-final-glow 5s ease-in-out infinite alternate}.journey-bad-ending .journey-story{max-width:780px;justify-self:center;width:100%;box-sizing:border-box}.journey-outcome-status.is-bad{color:#e1d5ed;border-color:#aea3c888;background:#55456844}.journey-request-error{padding:15px;background:#532238;border:1px solid #e5acaf;border-radius:10px;color:#ffe4df}
@keyframes night-final-glow{from{opacity:.25}to{opacity:.9}}
@media(prefers-reduced-motion:reduce){.journey-bad-ending .journey-ending-art:after{animation:none}}
.journey-intro-title{margin:20px 0 28px}
.journey-intro-title h1{font-size:38px}
.journey-intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:start}
.journey-intro>figure{position:sticky;top:25px;margin:0}
.journey-intro>figure img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:140px 140px 16px 16px;border:1px solid #dfb99266}
.journey-intro figcaption{text-align:center;font-size:12px;line-height:1.8;color:#d5bfae;margin:16px 0}
.journey-brief{background:linear-gradient(140deg,#342236f5,#201620f5);border:1px solid #dbb28d70;border-radius:15px;padding:28px}
.journey-brief h2{font-size:29px;line-height:1.6;margin:8px 0 14px;word-break:keep-all}
.journey-brief>p{font-size:14px;line-height:1.9;color:#decbd5;word-break:keep-all}
.journey-brief blockquote{padding:16px 0;margin:12px 0;border-block:1px solid #d3a08833;font-size:16px;line-height:1.8;color:#f2d4bd}
.journey-how{padding:0;margin:24px 0;list-style:none;display:grid;gap:17px;counter-reset:journey}
.journey-how li{counter-increment:journey;display:grid;grid-template-columns:30px 1fr;gap:0 12px;line-height:1.6}
.journey-how li:before{content:counter(journey,decimal-leading-zero);color:var(--journey-gold);font-size:17px;grid-row:span 2}
.journey-how strong{font-size:14px;color:#f2e1d6;font-weight:500}
.journey-how span{font-size:12px;color:#c8adbf}
.journey-objective{position:sticky;top:8px;z-index:5;padding:18px 22px;margin:20px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#442b3e,#251d33);border:1px solid #dfb48e80;border-radius:12px;box-shadow:0 10px 24px #120b1c55}
.journey-objective small{display:block;color:#d2b68f;font-size:10px;letter-spacing:1px;margin-bottom:5px}
.journey-objective strong{font-size:17px;font-weight:500;line-height:1.7;word-break:keep-all;color:#ffebda}
.journey-clock{white-space:nowrap;text-align:right;font:26px Georgia,serif;color:#e9c39a}
.journey-clock span{display:block;font:10px var(--font-body);margin-top:5px;color:#ba9cac}
.journey-progress{display:flex;gap:12px;margin-bottom:22px;list-style:none;padding:0}
.journey-progress li{flex:1;border-bottom:1px solid #b494a340;padding-bottom:12px;font-size:12px;color:#ad92a3;line-height:1.6}
.journey-progress [aria-current=step]{color:#f5d29d;border-color:#f5d29d}
.journey-progress b{display:block;font-weight:500;margin-top:4px}
.journey-play{display:grid;grid-template-columns:.88fr 1.12fr;gap:26px;align-items:start}
.journey-companion{border-radius:12px;border:1px solid #c7a08266;overflow:hidden;background:#261a2cee;position:sticky;top:20px}
.journey-companion>img{width:100%;aspect-ratio:3/2;object-fit:contain;display:block}
.journey-companion>div{padding:22px}
.journey-companion blockquote{font:18px/1.9 var(--font-display);color:#eed6c8;margin:8px 0 20px;word-break:keep-all}
.journey-inventory{display:grid;gap:9px;padding:0;margin:15px 0 0;list-style:none}
.journey-inventory li{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:center;border:1px solid #a5879933;border-radius:8px;padding:10px;color:#b39caa;font-size:12px}
.journey-inventory li.found{color:#f6dcc0;border-color:#d7b78a88;background:#e7ba7d0a}
.journey-inventory .ui-icon{width:22px;height:22px}
.journey-inventory small{font-size:10px}
.journey-inventory strong{display:block;font-size:13px;font-weight:500;line-height:1.7;word-break:keep-all}
.journey-inventory li>span{font-size:10px;white-space:nowrap}
.journey-inventory p{font-size:12px;line-height:1.85;margin:8px 0 0;color:#c5adbd;word-break:keep-all}
.journey-recap{padding:12px 15px;border-left:2px solid #ddbe90;background:#ba935315;font-size:13px;line-height:1.7;color:#e4c9a4}
.journey-change small,.journey-change strong{display:block}.journey-change small{font-size:11px;color:#c7ac94}.journey-change strong{font-weight:500}
.journey-solve-notebook{position:sticky;top:20px;background:#24192ceb;border:1px solid #d4b89855;border-radius:12px;padding:24px}
.journey-solve-notebook h2{font-size:25px;line-height:1.6;margin:0 0 12px}
.journey-solve-notebook>p{font-size:13px;color:#cbb2c2;line-height:1.8;word-break:keep-all}
.journey-solve-notebook .journey-notebook{margin-top:25px}
.journey-solve-notebook .journey-inventory li{align-items:start;padding:14px}
.journey-hint{margin-top:22px;border-top:1px solid #c6a68a55;padding-top:20px}
.journey-hint summary{cursor:pointer;color:#dabe99;font-size:13px}
.journey-hint p{font-size:14px;line-height:1.9;color:#ebd6bb;margin-top:15px}
.journey-plans{display:grid;gap:14px;margin-top:24px}
.journey-plan{display:flex;align-items:flex-start;gap:15px;padding:19px;text-align:left;border:1px solid #bb9baf70;border-radius:10px;background:#55334935;transition:background .2s,border-color .2s}
.journey-plan:hover{background:#82614a38;border-color:#eed1a1}
.journey-plan:focus-visible{outline:2px solid #f4d39a;outline-offset:3px}
.journey-plan-number{font:20px Georgia,serif;color:#c5a38f;flex:none}
.journey-plan small{display:block;font-size:12px;color:#d0b1c0;margin-bottom:7px}
.journey-plan strong{display:block;font-weight:500;font-size:16px;line-height:1.6;color:#f5dfce;word-break:keep-all}
.journey-plan em{display:block;font-style:normal;font-size:12px;margin-top:8px;color:#d5be95;line-height:1.7}
.journey-story{min-width:0;border:1px solid #d1a89944;background:#251725f5;border-radius:13px;padding:28px}
.journey-story h1,.journey-story h2{font-size:28px;line-height:1.55;font-weight:400;margin:10px 0 18px;word-break:keep-all}
.journey-story h1{scroll-margin-top:125px}
.journey-story>p{font-size:15px;line-height:1.9;word-break:keep-all;color:#e6ccd8;margin:14px 0}
.journey-story .journey-question{padding-top:16px;border-top:1px solid #c8a2ac40;color:#ffdfb3;font-size:17px}
.journey-card-deck{display:flex;gap:24px;justify-content:center;margin:26px 0}
.journey-card-deck button{width:100px;max-width:28%;transition:transform .2s}
.journey-card-deck button:hover{transform:translateY(-7px)}
.journey-card-deck button:focus-visible{outline:2px solid #f2d3ab;outline-offset:6px;border-radius:7px}
.journey-card-deck img{width:100%;display:block;aspect-ratio:2/3;border-radius:7px;box-shadow:0 9px 24px #0007}
.journey-card-deck span{font-size:11px;color:#c4a18e;display:block;margin-top:12px}
.journey-reveal{position:relative;display:grid;place-items:center;min-height:220px;isolation:isolate;margin:10px 0 22px}
.journey-reveal:before{content:'';position:absolute;width:200px;height:200px;border:1px solid #dcba8470;border-radius:50%;background:radial-gradient(ellipse,#e9b36b22,transparent 68%);box-shadow:0 0 45px #b488cf30;z-index:-1}
.journey-reveal img{width:auto;height:180px;aspect-ratio:2/3;object-fit:contain;border-radius:6px;box-shadow:0 12px 35px #050308aa}
.journey-reveal.is-new img{animation:journey-turn 1s ease-out both}
.journey-reveal.is-new:before{animation:journey-halo 1.2s ease-out both}
.journey-change{display:flex;gap:12px;align-items:flex-start;background:#d9b97d12;border:1px solid #e1be8c70;border-radius:10px;padding:17px;color:#f3d7b2;font-size:14px;line-height:1.8}
.journey-change .ui-icon{flex:none;width:22px;height:22px;margin-top:3px}
.journey-story .journey-card-meaning{font-size:12px;color:#c5aab9}
.journey-story .journey-repeat{font-size:12px;color:#ceb98e}
.journey-story .primary-action{width:100%;justify-content:center;margin-top:20px;min-height:50px}
.journey-game .game-hint{font-size:11px!important;line-height:1.8!important;color:#bba5b4!important}
.journey-memories{margin-top:30px;padding-top:20px;border-top:1px solid #ba99a633}
.journey-memories summary{cursor:pointer;font-size:13px;color:#cab29a}
.journey-memories details{margin-top:18px}
.journey-memories article{padding:16px;margin-top:14px;border:1px solid #a1829433;border-radius:10px;background:#231725bb}
.journey-memories h3{font-size:17px;color:#e5c3a9;margin:0 0 10px}
.journey-memories p{font-size:13px;line-height:1.9;color:#c6acbd;word-break:keep-all}
.journey-outcome-status{display:inline-block;border:1px solid #e6bd8388;border-radius:30px;padding:10px 18px;background:#ab7c4930;color:#ffdfae;font-size:13px}
.journey-finale{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.journey-finale.journey-bad-ending{grid-template-columns:1fr}
.journey-finale>img{width:100%;border-radius:14px;border:1px solid #cbaa8180}
.journey-evidence{padding:0;list-style:none;margin:20px 0}
.journey-evidence li{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid #b08e9c30}
.journey-evidence img{width:42px;height:auto;border-radius:3px}
.journey-evidence strong{display:block;font-size:13px;color:#e8c9ae;margin-bottom:5px}
.journey-evidence span{font-size:12px;line-height:1.65;color:#cbb1be}
@keyframes journey-turn{0%{opacity:0;transform:perspective(700px) rotateY(100deg) scale(.86)}60%{opacity:1}100%{opacity:1;transform:perspective(700px) rotateY(0) scale(1)}}
@keyframes journey-halo{0%{opacity:0;transform:scale(.5)}50%{opacity:1;box-shadow:0 0 85px #e8bf8e70}100%{opacity:1;transform:scale(1)}}
@media(max-width:760px){
 .journey-intro,.journey-play,.journey-finale{grid-template-columns:1fr}
 .journey-intro>figure{position:relative;top:auto;order:2}
 .journey-intro>figure img{aspect-ratio:3/2;border-radius:14px;object-position:center 27%}
 .journey-brief{padding:22px}.journey-brief h2{font-size:25px}.journey-intro-title h1{font-size:32px}
 .journey-objective{padding:15px;gap:12px}.journey-objective strong{font-size:14px}.journey-clock{font-size:22px}
 .journey-progress{gap:8px}.journey-progress li{font-size:10px}
 .journey-companion{position:relative;top:auto;display:grid;grid-template-columns:105px 1fr;align-items:start}
 .journey-companion>img{height:160px;width:105px;object-fit:cover;object-position:center;aspect-ratio:auto}
 .journey-companion>div{padding:14px}.journey-companion blockquote{font-size:14px;margin:5px 0 10px}
 .journey-inventory{grid-column:1/-1}.journey-inventory li{font-size:10px;padding:7px;gap:5px}.journey-inventory small{font-size:9px}.journey-inventory .ui-icon{width:17px;height:17px}
 .journey-story{padding:22px}.journey-story h1,.journey-story h2{font-size:24px}.journey-story>p{font-size:14px}
 .journey-solve-notebook{position:relative;top:auto;padding:20px}.journey-plan{padding:16px}.journey-plan strong{font-size:14px}
 .journey-card-deck{gap:20px}.journey-reveal{min-height:190px}.journey-reveal img{height:160px}
}
@media(prefers-reduced-motion:reduce){.journey-reveal.is-new img,.journey-reveal.is-new:before{animation:none}.journey-card-deck button{transition:none}}
