/* The title page is still. Only an explicit New Game enters the prologue. */
body:has(.road-landing) { background:#111a1d; }
body:has(.road-landing) .topbar {position:absolute;inset:0 0 auto;z-index:30;background:transparent;border:0;padding:18px clamp(26px,6.5vw,110px);}
body:has(.road-landing) .brand {display:none;}
body:has(.road-landing) .game {max-width:none;width:100%;padding:0;margin:0;}
.road-landing {position:relative;min-height:100svh;overflow:hidden;background:#111a1d;color:#eee5d2;}
.landing-picture {position:absolute;inset:0;}
.landing-picture img {width:100%;height:100%;object-fit:cover;object-position:right center;}
.landing-shade {position:absolute;inset:0;background:linear-gradient(90deg,#111a1d 3%,rgba(17,26,29,.97) 23%,rgba(17,26,29,.84) 40%,rgba(17,26,29,.16) 76%),linear-gradient(0deg,rgba(8,17,20,.7),transparent 35%);}
.landing-content {position:relative;z-index:1;width:min(640px,53%);padding:clamp(115px,15vh,160px) 0 80px clamp(28px,6.5vw,110px);box-sizing:border-box;}
.landing-eyebrow,.opening-place {font-family:var(--sans,system-ui);font-size:11px;text-transform:uppercase;letter-spacing:.26em;color:#d4b77f;}
.landing-content h1 {font-family:var(--serif,Georgia);font-weight:400;line-height:.97;font-size:clamp(64px,7.8vw,116px);letter-spacing:-.035em;margin:25px 0 30px;color:#f1e7d2;}
.landing-content h1 em {font-weight:400;color:#d2b37e;}
.landing-description {font-size:17px;line-height:1.8;max-width:440px;color:#c4c9c2;}
.landing-menu {display:flex;flex-direction:column;gap:12px;max-width:410px;margin-top:34px;}
.landing-menu button {display:flex;align-items:center;justify-content:space-between;border-radius:2px;padding:17px 21px;font-size:17px;text-align:left;cursor:pointer;}
.landing-new {background:#d4b77f;color:#172025;border:1px solid #d4b77f;font-weight:600;}
.landing-new:hover {background:#e7c992;}
.landing-continue {background:rgba(13,25,29,.7);color:#ece2ce;border:1px solid #59635c;}
.landing-continue:hover:not(:disabled) {border-color:#d4b77f;}
.landing-menu button:disabled {opacity:.4;cursor:default;}
.landing-save,.landing-guest {font-size:12px;line-height:1.6;color:#a8b4ad;max-width:410px;}
.landing-account {border-top:1px solid #445047;margin-top:27px;padding-top:19px;max-width:410px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 17px;font-size:13px;color:#c4c9c2;}
.landing-account button {background:none;border:none;border-bottom:1px solid #9a825a;padding:3px 0;color:#d4b77f;cursor:pointer;font-size:13px;}
body:has(.road-opening) {overflow:hidden;background:#0b1215;}
body:has(.road-opening) .topbar,body:has(.road-opening) .reflection {display:none!important;}
body:has(.road-opening) .game {padding:0;margin:0;max-width:none;}
.road-opening {position:fixed;inset:0;z-index:25;overflow:hidden;background:#14212a;color:#f4ebda;}
.opening-shade {background:linear-gradient(0deg,rgba(7,15,19,.94),rgba(7,15,19,.65) 22%,transparent 67%),linear-gradient(180deg,rgba(7,15,19,.8),transparent 25%);}
.opening-top {position:absolute;inset:0 0 auto;padding:26px clamp(20px,4vw,70px);display:flex;align-items:center;justify-content:space-between;gap:20px;font:12px system-ui;letter-spacing:.06em;color:#dfdccf;}
.opening-top span {text-transform:uppercase;letter-spacing:.2em;font-size:10px;}
.opening-top i {font-style:normal;color:#b2bfb4;}
.opening-top button,.opening-controls button {background:rgba(10,20,24,.45);border:1px solid #7a806f;border-radius:2px;color:#f0e5cc;padding:9px 13px;cursor:pointer;}
.opening-caption {position:absolute;left:clamp(24px,6vw,100px);bottom:clamp(135px,17vh,210px);max-width:720px;width:calc(100% - 48px);}
.opening-caption h1 {font-family:var(--serif,Georgia);font-size:clamp(32px,4.6vw,66px);line-height:1.1;font-weight:400;margin:18px 0;color:#f2e9d9;letter-spacing:-.025em;text-shadow:0 2px 20px #091214;}
.opening-line {font-size:clamp(16px,1.35vw,20px);line-height:1.75;max-width:660px;color:#e0e3d7;text-shadow:0 2px 14px #071015;}
.opening-caption.arrive {animation:opening-copy .7s ease both;}
.opening-bottom {position:absolute;inset:auto clamp(24px,6vw,100px) 26px;}
.opening-chapters {display:flex;gap:9px;}
.opening-chapters button {flex:1;height:26px;border:0;padding:10px 0;background:transparent;position:relative;cursor:pointer;}
.opening-chapters button::before {content:'';position:absolute;inset:10px 0;background:#647165;height:2px;}
.opening-chapters span {position:absolute;left:0;top:10px;height:2px;background:#dcc08b;width:0;}
.opening-chapters button[aria-current="step"]::before {background:#a79776;}
.opening-controls {display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px;}
.opening-count {font:11px system-ui;letter-spacing:.18em;color:#cbbc9d;}
.opening-controls div {display:flex;gap:9px;}
.opening-controls button:disabled {opacity:.35;cursor:default;}
.road-opening button:focus-visible,.road-landing button:focus-visible {outline:2px solid #f0d79d;outline-offset:4px;}
.opening-choice {max-width:850px;margin:60px auto;padding:0 20px;}
.opening-choice > h1 {font-size:clamp(32px,5vw,56px);text-align:center;font-weight:400;}
.opening-choice .tor-below {padding-top:20px;}
.opening-choice .opening-menu-back {display:block;margin:30px auto;background:none;border:0;color:var(--gold,#d4b77f);cursor:pointer;}
@keyframes opening-copy {from {opacity:0;transform:translateY(8px);}to {opacity:1;transform:translateY(0);}}
@media(max-width:760px) {
 .road-landing {padding-top:76px;}.landing-content {width:100%;padding:12px 26px 36px;}.landing-content h1 {font-size:58px;margin:12px 0 20px;}.landing-picture {position:relative;inset:auto;height:auto;}.landing-picture img {display:block;width:100%;height:auto;object-fit:contain;}.landing-shade {top:76px;bottom:auto;height:220px;background:linear-gradient(0deg,rgba(17,26,29,.4),transparent 25%);pointer-events:none;}.landing-description {max-width:430px;font-size:15.5px;line-height:1.65;}.landing-menu {margin-top:22px;}.landing-menu,.landing-account {max-width:430px;}
 .opening-top {padding:18px 16px;gap:8px;}.opening-top span {display:none;}.opening-top button {font-size:11px;padding:9px;}.opening-caption {bottom:140px;left:24px;}.opening-caption h1 {font-size:36px;}.opening-line {font-size:16px;line-height:1.6;}.opening-bottom {inset:auto 20px 20px;}.opening-controls button {font-size:11px;padding:9px 8px;}.opening-chapters {gap:5px;}
}
@media(max-height:560px) and (min-width:761px) {.landing-content {padding-top:90px;}.landing-content h1 {font-size:66px;margin:12px 0;}.landing-menu {margin-top:15px;}.landing-account {margin-top:15px;}.opening-caption {bottom:106px;max-width:75%;}.opening-caption h1 {font-size:35px;margin:10px 0;}.opening-line {font-size:15px;line-height:1.5;}.opening-bottom {bottom:12px;}.opening-top {padding-top:14px;}}
@media(prefers-reduced-motion:reduce) {.opening-caption.arrive,.opening-scene-cut.arrive {animation:none!important;}}

/* Original 3D cinematic stage; the image is only a WebGL-unavailable fallback. */
.opening-canvas,.opening-scene-background,.opening-fallback,.opening-scene-cut,.opening-shade {position:absolute;inset:0;width:100%;height:100%;}
.opening-scene-background {background:linear-gradient(#26324d,#46516a 58%,#656253);overflow:hidden;}
.opening-scene-background i {position:absolute;display:block;width:42%;height:7px;left:-5%;top:18%;background:#a7afbb;opacity:.14;transform:rotate(-2deg);}
.opening-scene-background i:nth-child(2) {left:45%;top:11%;width:30%;height:5px;}
.opening-scene-background i:nth-child(3) {left:67%;top:28%;width:43%;height:11px;}
.opening-fallback {object-fit:cover;object-position:right center;}
.opening-scene-cut {background:#0e1720;pointer-events:none;opacity:0;}
.opening-scene-cut.arrive {animation:opening-cut .7s ease both;}
.motion-still .opening-caption.arrive,.motion-still .opening-scene-cut.arrive {animation:none!important;}
@keyframes opening-cut {from {opacity:.85;}to {opacity:0;}}
