@font-face{font-family:Rubik;src:url('/assets/fonts/rubik.ttf?v=6300829adf5a') format('truetype');font-weight:300 900;font-display:swap}@font-face{font-family:Russo;src:url('/assets/fonts/russoone.ttf?v=6300829adf5a') format('truetype');font-weight:400;font-display:swap}
:root{--ink:#253e4a;--muted:#758e97;--paper:#edf2ed;--navy:#1a3e50;--gold:#bd9154;--line:#c6d5d5}body,button,input,select,textarea,.intro h1>span{font-family:Rubik,system-ui,sans-serif!important;color:var(--ink)}h1,h2,.board-top h1,.intro h1,.showcase-page h1,.station-hud h2,.rail-brand,.primary{font-family:Rubik,system-ui,sans-serif!important;font-weight:650;letter-spacing:-.7px}body{background:var(--paper)}button{touch-action:manipulation}.rail-brand,.launch-brand{font-family:Russo,Rubik,sans-serif!important;font-weight:400;letter-spacing:.7px}.primary{color:#fff7e7;background:linear-gradient(150deg,#34596a,#193d50);border:1px solid #6b8792;border-bottom:4px solid #0b2c3c;border-radius:16px;box-shadow:inset 0 1px #ffffff42,0 6px 12px #203c4921;font-size:15px;letter-spacing:0;font-weight:650;min-height:48px}.primary:hover{background:linear-gradient(150deg,#456b7a,#244a5e);transform:translateY(-1px)}.primary:active{transform:translateY(2px);box-shadow:inset 0 2px 6px #09233142}.ghost,.soft-btn,.icon-btn{border:1px solid #c9d7d6;box-shadow:inset 0 1px #fff,0 2px 0 #b8caca55;border-radius:14px;background:#f6f7f1;color:#3e5a65}.rail-header{height:60px;background:#f5f6ef;border-bottom:1px solid #ccd7d4;box-shadow:none}.rail-brand{font-size:21px}.rail-brand span{font-family:Rubik,sans-serif!important;font-size:9px;letter-spacing:2px}.rail-header .room-label{font-size:11px;color:#80939a}.rail-header .icon-btn{width:37px;height:37px;box-shadow:none;border:0;background:#e8eeea;font-size:19px}.eyebrow{letter-spacing:1.6px!important;font-weight:650;color:#7a929a}.status-pill{background:#f8faf2;border:1px solid #d6dfd8;color:#375966;border-radius:15px;box-shadow:0 2px 5px #1c3e4810}.board-top h1{font-size:22px;font-weight:650}.setup-banner,.final-lap-banner{border:1px solid #d0c198;border-radius:13px;background:#f6edd1}.map-shell{background:#e8f0eb}.map-caption,.map-legend{color:#66848b}.map-credit{display:none}.sea-label,.geographic-relief,#geographic-water{display:none}.map-route .track-bed,.map-route>path:first-of-type,.map-route.owned>path:first-of-type{vector-effect:none;stroke-width:12px}.map-route:not(.owned) .wagon-piece rect{fill-opacity:.82;stroke-dasharray:none;stroke:#fff;stroke-width:1.3}.map-route.owned .wagon-piece rect{stroke:#29424e;fill-opacity:1;stroke-width:1.8}.wagon-symbol{transform:scale(var(--map-ui,1));filter:drop-shadow(0 3px 1px #25465430)}.map-route.owned .wagon-symbol{filter:drop-shadow(0 4px 1px #18394b5c)}.route-touch{stroke-width:35px;vector-effect:none}.route-cost{transform-box:fill-box;transform-origin:center}.route-cost>circle{r:10px;vector-effect:none;stroke-width:2px}.route-cost text{font-size:12px;font-family:Rubik,sans-serif;font-weight:750}.map-route.blocked:not(.owned){opacity:.42}.map-node .city-name{font-family:Rubik,sans-serif!important;font-weight:650!important;font-size:calc(var(--city-font,22px) * var(--map-ui,1));stroke:#f3f6ef;stroke-width:7px;paint-order:stroke;stroke-linejoin:round;fill:#2b4854;transform:none!important;letter-spacing:-.3px}.map-node.star-stop .city-name{fill:#78603a}.station-pin{filter:drop-shadow(0 3px 1px #204a5b22)}.board-regions{font-family:Rubik,sans-serif;font-size:15px;letter-spacing:5px;fill:#9eb3b7;font-weight:650}.owner-flag{opacity:0}.map-route:hover .owner-flag,.map-route:focus .owner-flag,.map-route.just-built .owner-flag{opacity:1}.owner-flag text{font-family:Rubik,sans-serif}.map-tools{top:12px;right:12px;gap:6px}.map-tools button{border:1px solid #c7d7d3;background:#f8faf2;border-radius:11px;color:#496771;box-shadow:0 2px 0 #c6d4d077;width:36px;height:36px;font-size:20px}.map-legend{background:#f6f8efed;border:1px solid #dae2d8;box-shadow:none;font-size:10px}.map-node:focus{outline:none}.map-node:focus .station-pin{filter:drop-shadow(0 0 5px #ba9355)}
/* The opening is one composed scene: no pasted figures, separate trains or overlapping CTA. */
.intro.launch-page{height:100svh;min-height:600px;background:#17354b;isolation:isolate;overflow:hidden;padding:0;position:relative}.launch-page::before,.launch-page::after{display:none!important}.hero-art{position:absolute;inset:0;z-index:0;transform:translate(var(--look-x,0),var(--look-y,0)) scale(1.015);transition:transform 1.5s cubic-bezier(.2,.6,.3,1),filter 1.5s;will-change:transform}.hero-art>img{width:100%;height:100%;object-fit:cover;object-position:right center;display:block}.hero-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#0d263b4d,transparent 30%,transparent 72%,#112a3cbd),linear-gradient(90deg,#0b21394d,transparent 40%)}.launch-header{position:absolute;top:28px;left:40px;right:40px;z-index:4;display:flex;align-items:center;justify-content:space-between}.launch-brand{font-size:22px;color:#f4ead6;text-decoration:none;text-shadow:0 3px 12px #0e273b80}.launch-brand>span{display:block;font:10px Rubik,sans-serif;letter-spacing:2.5px;margin-top:6px}.launch-sound{background:#12314966;border:1px solid #d2e1e33d;color:#e5e9e2;border-radius:24px;padding:10px 16px;font:12px Rubik,sans-serif;box-shadow:inset 0 1px #ffffff20}.launch-copy{position:absolute;top:115px;left:40px;z-index:3;pointer-events:none;color:#f8f2e7}.launch-kicker{font-size:10px;letter-spacing:2.8px;font-weight:600;color:#d9c8a9}.launch-copy h1{font-family:Rubik,sans-serif!important;font-size:clamp(34px,3.8vw,60px);font-weight:650;line-height:1.05;letter-spacing:-2.3px;margin:15px 0;color:#fbf4e4;text-shadow:0 3px 20px #0f2d4445}.launch-copy p{font-size:13px;line-height:1.6;color:#e0e5e0;text-shadow:0 2px 8px #183147}.train-launch{position:absolute;inset:26% 3% 12% 19%;z-index:3;background:transparent;border:0;box-shadow:none;border-radius:40%;cursor:pointer;color:#f2e4c4}.train-launch:hover{background:none;transform:none;box-shadow:none}.train-launch:focus-visible{outline:2px solid #e6ca82;outline-offset:-20px}.launch-plaque{position:absolute;right:8%;top:48%;padding:10px 20px;border:1px solid #f1d594;box-shadow:inset 0 1px #fff8,0 4px 0 #795727,0 12px 30px #132f4855;background:linear-gradient(140deg,#eacb87,#c59650);border-radius:24px;color:#473a24;font-size:15px;font-weight:700;letter-spacing:.3px;transition:transform .2s,box-shadow .2s}.launch-plaque b{padding-left:12px;font-size:20px}.train-launch:hover .launch-plaque{transform:translateY(-3px);box-shadow:inset 0 1px #fff8,0 7px 0 #795727,0 16px 35px #132f4866}.launch-footer{position:absolute;z-index:5;left:40px;right:40px;bottom:25px;display:grid;grid-template-columns:1fr auto;gap:13px;color:#faf2e1}.launch-footer>div>b{display:block;font-size:15px;font-weight:550}.launch-footer>div>span{display:block;margin-top:6px;font-size:11px;opacity:.65}.launch-footer nav{display:flex;align-items:center;gap:10px}.launch-footer nav>*{border:1px solid #e5eee53b;background:#18364b7d;color:#edf0e7;border-radius:13px;padding:11px 16px;font-size:12px;text-decoration:none;font-family:Rubik,sans-serif}.launch-footer small{font-size:9px;letter-spacing:1px;opacity:.55;grid-column:1/-1}.hero-steam{position:absolute;left:70.5%;top:10%;width:15%;height:20%;pointer-events:none;z-index:2;filter:blur(8px);opacity:.28}.hero-steam i{position:absolute;bottom:0;left:15%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(ellipse,#f4f4ef88,transparent 65%);animation:quiet-steam 6s ease-out infinite;animation-delay:calc(var(--i,0) * -1.2s)}.hero-steam i:nth-child(2){--i:1}.hero-steam i:nth-child(3){--i:2}.hero-steam i:nth-child(4){--i:3}.hero-steam i:nth-child(5){--i:4}.departure-started .hero-art{transform:scale(1.16) translateX(3%);filter:blur(4px) brightness(1.35)}.departure-started .hero-steam{opacity:.9}.departure-started .hero-steam i{animation-duration:1.2s}.departure-started .launch-header,.departure-started .launch-copy,.departure-started .launch-footer,.departure-started .train-launch{opacity:0;transition:opacity .4s}.departure-started:after{display:block!important;content:'';position:absolute;inset:0;z-index:9;background:#edf2eb;animation:departure-veil 1.5s ease-in both}.arrival-preview{min-height:100svh;background:#e9f0e9;position:relative;overflow:hidden}.arrival-preview>svg{width:100vw;height:100svh;opacity:.75}.arrival-preview>div{position:absolute;left:30px;top:30px;font:650 22px Rubik,sans-serif;color:#325566}.launch-page[hidden]{display:none!important}
@keyframes quiet-steam{0%{transform:translate(0,0) scale(.5);opacity:0}20%{opacity:.8}100%{transform:translate(-45%,-150%) scale(2.2);opacity:0}}@keyframes departure-veil{0%,45%{opacity:0}100%{opacity:1}}
.coach-art{display:block;position:absolute;inset:0;background-image:url('/assets/wagon-cards-v9.webp?v=6300829adf5a');background-size:300% 300%;background-position:var(--art-x) var(--art-y);border-radius:inherit}.rail-card{position:relative;overflow:hidden!important;background:#d3dfe1!important;border:1px solid #ffffffdd;border-bottom:4px solid #aebebe;box-shadow:0 5px 0 #b9cac8,0 9px 16px #274f5b1c;border-radius:18px;isolation:isolate;transition:transform .18s,box-shadow .18s}.rail-card .card-label{position:absolute;bottom:0;left:0;right:0;font-family:Rubik,sans-serif;font-size:10px;font-weight:650;background:#eff4e9e8;color:#274550!important;padding:7px 2px;letter-spacing:1px;border-radius:0}.rail-card .card-corner{position:absolute;z-index:3;width:22px;height:22px;display:grid;place-items:center;left:7px;top:7px;font:700 10px Rubik,sans-serif;background:#f8f6e8ed;color:#36505d;border:1px solid #ffffffd9;border-radius:50%;box-shadow:0 2px 4px #1d405333}.rail-card:disabled{opacity:1;filter:none;cursor:default}.rail-card:not(:disabled):hover{transform:translateY(-5px);box-shadow:0 7px 0 #a9bfbd,0 13px 22px #274f5b25}.rail-card.wild-card{border:2px solid #d2ad64!important;border-bottom:4px solid #9c7435!important;box-shadow:0 5px 0 #b59151,0 9px 19px #8d733b25;background:#fff2c6!important}.wild-card:before{display:none}.wild-card .card-label{background:#f6e5bbef;color:#68512c!important;font-size:9px}.wild-label{font-size:8px}.market-row{gap:12px}.hand-tile{background:linear-gradient(140deg,#fff3,transparent),var(--cc);border-radius:14px;border:1px solid #fff9;border-bottom:3px solid #0002;box-shadow:0 3px 0 #b9c9c4}.hand-tile b{font-weight:750;font-size:24px}.hand-tile small{font-size:9px}.draw-deck{border-radius:18px;background:linear-gradient(140deg,#e3ebe5,#cedcda);border:1px solid #a4bbbc;box-shadow:0 3px 0 #a2b9b9;color:#4f6e78}.destination{background:#f9f8ef;border:1px solid #d7ddcd;border-left:4px solid #a4bbb2;border-radius:14px;box-shadow:0 3px 0 #bdcfc02b}.destination b{font:550 14px Rubik,sans-serif;color:#34535f}.destination strong{font-family:Russo,Rubik,sans-serif!important;font-size:23px;font-weight:400;color:#55747e}.destination small{font-size:8px;color:#9b977e}.ticket-progress{background:#dce7dc}.ticket-progress>i{background:linear-gradient(90deg,#9dbbac,#507e77)}.portrait-sprite{border-radius:26%;box-shadow:inset 0 0 0 2px #f7f1e2,0 3px 0 #acbdb8,0 6px 12px #253c491c}.traveller.current .portrait-sprite{box-shadow:0 0 0 2px var(--pc),0 3px 0 #899e9d,0 6px 12px #253c4922}.traveller{border-radius:18px}.traveller.current{background:#f9f9ee;border:1px solid #d3ddce}.avatar-choice{background:#eef1e8;border-radius:17px}.avatar-choice.selected{background:#f7ecd0;border-color:#bc9556}.selected-avatar-preview{background:#f6f7ed;border:1px solid #d5dfd1}.avatar-options>summary{background:#dde7df}.join-page h1,.lobby h1{font-family:Rubik,sans-serif!important;font-weight:650;letter-spacing:-1.6px}.lobby{background:var(--paper)}.lobby h1{font-size:45px}.qr-panel{border:1px solid #d5dfd0;background:#f9f8ec;box-shadow:0 6px 0 #d9e3d4,0 15px 40px #2b4d5112;border-radius:28px}.qr-frame{background:#fff;border-radius:20px}.showcase-page{background:var(--paper)}.showcase-page h1{font-size:40px;line-height:1.14}.showcase-tile{background:#f6f7ed;border-radius:24px;border:1px solid #d3dfd1;box-shadow:0 5px 0 #c2d1c5}.showcase-tile>b{background:#dce8df;color:#375f63;border-radius:13px;font-size:12px}.showcase-tile h2{font-size:21px}.showcase-demo-map{background:#e8eee8}.showcase-cards .market-row{display:grid;grid-template-columns:repeat(9,minmax(0,1fr))}.showcase-cards .rail-card{aspect-ratio:1;height:auto;width:100%;min-width:0}.showcase-characters{margin:40px 0}.board-journey{position:fixed;z-index:35;top:78px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;max-width:90vw;background:#f9f7e9f5;border:1px solid #c8d6ca;border-bottom:4px solid var(--pc);border-radius:24px;padding:12px 24px 12px 12px;box-shadow:0 12px 35px #244a5a22;animation:journey-arrive .6s ease-out both}.board-journey>.portrait-sprite{width:58px;height:58px;flex:0 0 58px}.board-journey>span{display:flex;flex-direction:column;gap:5px}.board-journey small{font-size:11px;color:#789095}.board-journey b{font-size:17px;color:#2c4c58}.board-journey i{font-style:normal;color:#a8b7a9;margin:0 6px}.board-journey>strong{font-family:Russo,Rubik,sans-serif;color:var(--pc);font-size:30px;margin-left:12px}.board-journey.leaving{opacity:0;transition:opacity .4s}@keyframes journey-arrive{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}
@media(min-width:1000px){body:has(.shared-board){overflow:hidden}.shared-board{height:calc(100dvh - 60px);background:#e3ebe5}.shared-board .map-shell{position:absolute;top:38px;left:12px;bottom:101px;right:143px;height:auto;width:auto;border:1px solid #d0ddd1;border-radius:24px;overflow:hidden;box-shadow:inset 0 2px 12px #8ca79515;background:#e8efe7}.shared-board .rail-map-scroll{width:100%;height:100%}.shared-board #rail-map{width:100%;height:100%;display:block;min-width:0;max-height:none;touch-action:none}.shared-board .board-top{top:7px;left:24px;right:150px;align-items:center;display:flex}.shared-board .board-top h1{font-size:16px;margin:0;letter-spacing:-.3px}.shared-board .board-top .eyebrow{display:none}.shared-board .board-top .status-pill{font-size:10px;padding:5px 12px}.shared-board .scoreboard{bottom:9px;left:12px;right:12px;height:78px;min-height:78px;padding:8px 13px;border-radius:22px;background:#f4f6ec;border:1px solid #d2ded0;box-shadow:0 3px 0 #c7d5c6}.shared-board .traveller{padding:4px 8px;max-width:260px;min-width:140px;border:1px solid transparent}.shared-board .traveller .avatar{width:45px;height:45px}.shared-board .avatar>.portrait-sprite{width:45px;height:45px}.shared-board .traveller b{font-size:12px;font-weight:650}.shared-board .traveller small{font-size:9px}.shared-board .traveller strong{font-family:Russo,Rubik,sans-serif!important;font-weight:400;font-size:23px}.shared-board .turn-marker{font-size:6px;top:-2px;border-radius:4px}.shared-board .rail-market{top:38px;right:12px;width:118px;padding:10px 9px;border-radius:22px;background:#f1f4e9;border:1px solid #d0ddd0;box-shadow:0 3px 0 #cbd9cb}.shared-board .rail-market .panel-title{margin:0 0 12px}.shared-board .rail-market h2{font-size:11px;font-weight:650;text-align:center;width:100%}.shared-board .rail-market .market-row{gap:9px}.shared-board .rail-market .rail-card{height:84px;min-height:84px;flex:0 0 84px;width:98px;border-radius:14px;box-shadow:0 3px 0 #b8c9c4}.shared-board .rail-market .rail-card .card-label{font-size:7px;padding:5px 0;letter-spacing:.7px}.shared-board .rail-market .rail-card .card-corner{width:15px;height:15px;top:4px;left:4px;font-size:8px}.shared-board .last-event{left:28px;bottom:110px;max-width:470px;padding:7px 12px;font-size:10px;background:#f7f9efea;border:1px solid #d5dfd1;border-radius:12px}.shared-board .map-legend{position:absolute;bottom:12px;left:16px;right:auto;gap:10px;padding:4px 8px;border:0;font-size:8px;background:#eef3e6ba}.shared-board .map-tools{top:12px;right:12px}.shared-board #show-qr{font-size:9px;white-space:nowrap;min-width:80px;padding:9px}.shared-board .connection{font-size:8px}.shared-board .setup-banner,.shared-board .final-lap-banner{top:43px;left:30px;font-size:11px}}
@media(max-width:999px){.rail-header{padding:0 16px}.phone-board{background:#edf2e8}.phone-board .board-top h1{font-size:24px}.phone-board .scoreboard{padding:12px 10px;background:#e5ede2}.phone-board .avatar>.portrait-sprite{width:40px;height:40px}.phone-board .traveller .avatar{width:40px;height:40px}.phone-board .map-shell{border-radius:20px;border:1px solid #cbdad0;padding-bottom:24px}.phone-board .rail-market{padding-top:8px}.phone-board .market-row{gap:8px}.phone-board .rail-card{border-radius:14px}.phone-board .rail-card .card-label{font-size:8px;padding:6px 0;letter-spacing:0}.phone-board .rail-card .card-corner{font-size:8px;width:17px;height:17px;top:4px;left:4px}.phone-board .hand-panel{background:#f5f7ec;border:1px solid #d7e1d1;border-radius:21px}.phone-board .map-legend{font-size:8px}.phone-board .map-tools{top:45px}.phone-board .private-badge{font-size:9px}.launch-page .launch-copy h1{font-size:48px}.launch-header{left:24px;right:24px}.launch-copy{left:24px;top:105px}.launch-footer{left:24px;right:24px}.launch-plaque{right:7%;padding:9px 18px;font-size:13px}}
@media(max-width:600px){.intro.launch-page{min-height:620px}.hero-art>img{object-fit:contain;object-position:center 55%;background:#17374e}.hero-shade{background:linear-gradient(#15334c33,transparent 65%,#102d4399)}.launch-header{top:22px;left:22px;right:22px}.launch-brand{font-size:18px}.launch-brand>span{font-size:7px;letter-spacing:1.8px}.launch-sound{font-size:10px;padding:9px 11px}.launch-copy{top:105px;left:22px}.launch-copy h1{font-size:38px!important;letter-spacing:-1.6px;line-height:1.04}.launch-copy p{font-size:11px}.launch-kicker{font-size:8px;letter-spacing:2px}.train-launch{inset:34% 1% 23% 1%;border-radius:10%}.launch-plaque{top:auto;bottom:4%;right:5%;font-size:12px;padding:8px 17px}.launch-plaque b{font-size:16px}.launch-footer{bottom:25px;left:22px;right:22px;display:block}.launch-footer>div>b{font-size:14px}.launch-footer>div>span{font-size:10px}.launch-footer nav{margin-top:18px;gap:8px;flex-wrap:wrap}.launch-footer nav>*{font-size:10px;padding:10px 12px;border-radius:12px}.launch-footer small{display:block;margin-top:15px;font-size:8px}.hero-steam{left:67%;top:36%;width:20%;height:12%;filter:blur(4px)}.showcase-page h1{font-size:31px}.showcase-cards .market-row{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.showcase-tile h2{font-size:18px}.showcase-tile p{font-size:11px}.board-journey{top:70px;padding:10px;gap:10px}.board-journey b{font-size:12px}.board-journey small{font-size:9px}.board-journey>.portrait-sprite{width:42px;height:42px;flex-basis:42px}.board-journey>strong{font-size:22px;margin-left:0}}
@media(prefers-reduced-motion:reduce){.hero-art{transform:none;will-change:auto}.hero-steam{display:none}.departure-started:after{animation-duration:.12s}.launch-plaque{transition:none}.board-journey{animation:none}}
.controller-mode .hero-steam{display:none}
/* Explicitly retire the former start-button geometry and pseudo-elements. */
.launch-page #start{position:absolute!important;inset:26% 3% 12% 19%!important;width:auto!important;height:auto!important;min-height:0!important;min-width:0!important;max-width:none!important;padding:0!important;display:block!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:35%!important;box-shadow:none!important;transform:none!important;animation:none!important;overflow:visible!important}.launch-page #start::before,.launch-page #start::after{display:none!important}.launch-page #start .launch-plaque{background:linear-gradient(140deg,#eacb87,#c59650)!important;position:absolute;right:8%;top:48%;bottom:auto;left:auto;min-width:0;width:auto;height:auto;display:inline-flex;align-items:center;color:#473a24;border-radius:24px;padding:10px 20px;font-size:15px;line-height:1.2}.launch-copy h1{font-weight:600!important}.launch-page #start .launch-plaque b{font-family:Rubik,sans-serif;font-weight:500;line-height:1}.launch-page #start:focus-visible{outline:2px solid #e6ca82!important}.launch-page #start:disabled{opacity:0!important}.departure-started #start{pointer-events:none}
@media(max-width:600px){.launch-page #start{inset:34% 1% 23% 1%!important;border-radius:10%!important}.launch-page #start .launch-plaque{top:auto;bottom:4%;right:5%;font-size:12px;padding:8px 17px}}
.route-cost>circle{r:14px}.shared-board .route-cost>circle{r:17px}.route-cost text{font-size:18px}.shared-board .route-cost text{font-size:22px}.showcase-opening{display:grid;grid-template-columns:1.4fr 1fr;gap:25px;align-items:center;padding:15px;background:#f6f7ed;border:1px solid #d5dfd1;border-radius:28px;margin:25px 0}.showcase-opening>img{display:block;width:100%;border-radius:19px}.showcase-opening>div{padding:10px 20px}.showcase-opening h2{font-size:26px}.showcase-opening p{font-size:13px;line-height:1.6;color:#788e94}.showcase-opening a{display:inline-flex;align-items:center;text-decoration:none;padding:12px 19px;margin-top:8px}.showcase-page>#demo-board-journey{margin:8px 0 15px}.map-node .city-name{font-weight:600!important}.board-regions{opacity:.6}
@media(max-width:650px){.showcase-opening{grid-template-columns:1fr;gap:0}.showcase-opening>div{padding:10px}.showcase-opening h2{font-size:22px}.showcase-opening p{font-size:12px}.route-cost>circle{r:14px}.route-cost text{font-size:18px}}
.station-art{display:block;width:100%;height:100%;min-height:110px;border-radius:17px;background-image:url('/assets/stations-v9.webp?v=6300829adf5a');background-size:300% 200%;background-position:var(--station-x) var(--station-y);box-shadow:inset 0 0 0 1px #ffffff90,0 5px 15px #24445018}.city-mini{height:250px;max-width:100%;margin-bottom:20px}.city-mini>.station-art{height:250px}.route-preview>div{height:auto}.route-preview>div>.station-art{height:160px}.route-preview>div>b{position:relative;display:block;padding:9px 0;font:550 12px Rubik,sans-serif}.route-preview{background:none;border:0;gap:12px;padding:0;overflow:visible}.route-preview .preview-character{bottom:-5px}.departure-started .launch-footer,.departure-started .launch-header{pointer-events:none}dialog h2{font-weight:650!important;font-size:28px;letter-spacing:-.7px}dialog .route-facts span{background:#e2ece2;border:1px solid #d5dfd1;border-radius:10px;font-size:12px}.route-option{border-radius:14px;background:#f5f7ef;border:1px solid #d7e1d3}.route-option>span{font-size:13px;font-weight:550}.route-option small{font-size:10px;color:#819894}.phone-map>summary{background:#dde9df;border-color:#cddacf;font-size:13px}.phone-board .panel-title h2{font-size:18px;font-weight:650}.phone-board .phone-actions .primary,.phone-board .phone-actions .soft-btn{font-size:12px;min-height:48px}.phone-board .hand-tile small{font-size:9px}
.route-cost>circle,.route-cost>text,.owner-flag>rect,.owner-flag>text,.station-pin>*{transform:scale(var(--map-ui,1));transform-origin:0 0}.lobby-scenery{display:none}.join-art img{border-radius:16px;box-shadow:0 5px 15px #213c4f18}.join-page .join-art{max-width:250px;height:130px;margin:0 auto 15px}.join-page:has(.avatar-picker) .join-art{max-width:170px;height:95px}.join-art>img{width:100%;height:100%;object-fit:cover}.player-wait .join-art{display:none}.phone-board .board-top h1{font-weight:600}.launch-page #start .launch-plaque>span{display:inline}
/* One geometry system for text, cost chips and double tracks. */
.map-node .city-name{font-size:var(--city-font)!important;stroke-width:3px!important;font-weight:600!important}.city-label-back{fill:#f3f6ef;fill-opacity:.94;pointer-events:none}.city-leader{stroke:#90a4a8;stroke-width:1.5;fill:none;pointer-events:none}.route-cost>circle,.route-cost>text{transform:none!important}.route-cost>circle,.shared-board .route-cost>circle{r:21px!important;stroke-width:3px!important}.route-cost text,.shared-board .route-cost text{font-size:24px!important;font-weight:700}.cost-leader{pointer-events:none}.map-route .track-bed{stroke-width:9px!important}.journey-track{fill:none;stroke:#506875;stroke-width:3;pointer-events:none}.journey-sleepers{stroke:#937b63;stroke-width:18;stroke-dasharray:3 10;fill:none;pointer-events:none}.journey-rails{stroke:#dde9ec;stroke-width:8;fill:none;pointer-events:none}.journey-center{stroke:#385263;stroke-width:2;fill:none;pointer-events:none}.city-label-back,.city-name{pointer-events:none}
.hero-art{animation:hero-breathe 16s ease-in-out infinite alternate}.hero-light{position:absolute;inset:0;background:radial-gradient(ellipse at 82% 35%,#ffd29430,transparent 11%),radial-gradient(ellipse at 94% 52%,#ffb64735,transparent 9%);mix-blend-mode:screen;animation:lantern-glow 5s ease-in-out infinite alternate;pointer-events:none}.hero-snow{position:absolute;inset:-15%;pointer-events:none;z-index:2;background-image:radial-gradient(circle,#fff9 1.4px,transparent 2.4px),radial-gradient(circle,#fffb 2px,transparent 3px);background-size:95px 115px,165px 180px;animation:hero-snowfall 22s linear infinite;opacity:.5}.hero-steam{opacity:.55!important}.hero-steam i{background:radial-gradient(ellipse,#eff5fcab,transparent 68%)}.departure-started .hero-art{animation:none;transform:scale(1.16) translateX(3%)}
@keyframes hero-breathe{from{transform:translate(var(--look-x,0),var(--look-y,0)) scale(1.015)}to{transform:translate(var(--look-x,0),var(--look-y,0)) scale(1.045)}}@keyframes lantern-glow{to{opacity:.6}}@keyframes hero-snowfall{to{transform:translate(50px,180px)}}body:has(.intro[hidden]) .hero-art,body:has(.intro[hidden]) .hero-snow,body:has(.intro[hidden]) .hero-light,body:has(.intro[hidden]) .hero-steam i,.page-hidden .intro *{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.hero-art,.hero-light,.hero-snow{animation:none!important}.hero-snow{display:none}}.controller-mode .flying-card{display:none!important}
/* Snowy storybook stations; full-size shared board, quiet controllers. */
.station-pin{filter:drop-shadow(0 6px 3px #385d6140)}.station-pin rect{stroke-linejoin:round}.map-shell{border-radius:28px;background:#e9f2e9;box-shadow:inset 0 2px 0 #fff,0 8px 26px #3a645314}.map-node:hover .station-pin,.map-node:focus .station-pin{filter:drop-shadow(0 6px 4px #d2a35a90)}.map-node:hover .station-pin>g{animation:station-greeting .65s ease-in-out 2}.map-route .track-bed{stroke:#aabeb6;stroke-width:11px!important}.map-route:not(.owned) .wagon-piece rect{fill-opacity:.95;stroke-width:2}.board-regions{opacity:.35}.city-label-back{fill:#f4f9ef;fill-opacity:.97}.map-node .city-name{fill:#315b62!important;stroke:#f4f9ef!important;stroke-width:3px!important}.cost-leader{stroke-dasharray:3 3;opacity:.65}.station-pin>*{transform:none!important}.controller-mode .station-pin{filter:none}.route-cost{filter:drop-shadow(0 2px 1px #254a5126)}@keyframes station-greeting{50%{transform:translateY(-3px) scale(1.55)}}@media(prefers-reduced-motion:reduce){.map-node:hover .station-pin>g{animation:none}}
.track-bed,.route-touch{fill:none!important}.route-touch{stroke:transparent;pointer-events:stroke}
/* Spacious board: physical track remains visible between fixed-size payment slots. */
.rail-map-scroll{overflow:auto!important;max-height:76vh;overscroll-behavior:contain}.rail-map-scroll svg{min-width:2300px!important;width:100%!important;max-height:none!important;height:auto!important;aspect-ratio:1.65}.phone-board .rail-map-scroll{max-height:65svh}.phone-board .rail-map-scroll svg{min-width:1850px!important}.rail-bridge-halo{fill:none;stroke:#eef5e9;stroke-width:35;stroke-linecap:round}.rail-sleepers{fill:none;stroke:#a78a68;stroke-width:22;stroke-dasharray:4 13;stroke-linecap:round}.rail-steel{fill:none;stroke:#607982;stroke-width:15;stroke-linecap:round}.rail-between{fill:none;stroke:#e2e8d9;stroke-width:9;stroke-linecap:round}.map-route .track-bed{fill:none;stroke:transparent!important;stroke-width:1px!important}.map-route.blocked:not(.owned){opacity:.9}.wagon-symbol{transform:none!important}.map-route.owned .wagon-symbol{filter:drop-shadow(0 3px 1px #18394b5c)}.map-node .city-name{font-size:var(--city-font)!important}.board-journey{pointer-events:none}.journey-detail{pointer-events:none}.journey-detail circle{stroke-width:1.2}.rail-map-scroll:focus-within{scroll-behavior:smooth}
.map-shell.journey-active .rail-map-scroll{overflow:hidden!important;height:72vh;max-height:none}.map-shell.journey-active .rail-map-scroll svg{min-width:0!important;width:100%!important;height:72vh!important;aspect-ratio:auto}.map-shell.journey-active .map-tools{opacity:0;pointer-events:none}.map-shell.journey-active .map-caption{opacity:0}
/* Continuous equal-sized rail cells, with no unpainted approaches. */
.full-cell path{fill:none;stroke-linecap:butt;stroke-linejoin:round}.cell-rim{stroke:#f8fff8;stroke-width:30;filter:drop-shadow(0 5px 2px #29464855)}.cell-colour{stroke-width:25}.cell-shine{stroke:#ffffff42;stroke-width:3}.cell-joint{stroke:#f4f9ee;stroke-width:5}.map-route .rail-sleepers{stroke-width:37;stroke:#997f61}.map-route .rail-steel{stroke-width:30}.map-route .rail-between{stroke-width:23}.map-shell{border:6px solid #d5e0d3;border-bottom:14px solid #9db5a8;box-shadow:inset 0 3px 0 #fff,0 12px 0 #7f9d9125,0 22px 35px #36584826}.shared-board .station-pin{filter:drop-shadow(5px 8px 3px #294e5f65)}.shared-board .city-label-back{filter:drop-shadow(0 3px 0 #95ada044)}.controller-mode .cell-rim{filter:none}.rail-map-scroll svg{aspect-ratio:auto!important}.map-shell.journey-active{border-bottom-width:6px}
/* Keep station platforms at the same radius used for route endpoints. */
.station-pin>g{transform:scale(1.55)!important;transform-origin:0 0}
/* Clear winter atlas: generous stations, finite neighbouring links, optional physical 3D board. */
.map-shell{position:relative;background:#e6f0f3!important;border-color:#f5fbff!important}
.rail-map-scroll{max-height:none!important;height:min(78vh,1000px);overflow:hidden!important;touch-action:none}
.rail-map-scroll svg{min-width:0!important;width:100%!important;height:100%!important;max-height:none!important;touch-action:none;cursor:grab}
.rail-map-scroll svg:active{cursor:grabbing}
.phone-board .rail-map-scroll{height:65vh;min-height:440px}
.phone-board .rail-map-scroll svg{min-width:0!important}
.station-pin>g{transform:scale(2)!important;transform-origin:0 0}
.empty-wagon-windows{fill:#e2f5fc;opacity:.65;pointer-events:none}
.map-three{position:relative;width:100%;height:min(78vh,1000px);min-height:500px;overflow:hidden;border-radius:22px;background:#e5f1f6}
.map-three canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.map-three canvas:active{cursor:grabbing}
.map-three-hint{position:absolute;bottom:15px;left:15px;pointer-events:none;color:#385f77;background:#f8fdffdf;border:1px solid #fff;border-radius:13px;padding:8px 13px;font-size:12px;line-height:1.55}
.has-3d .rail-map-scroll{display:none}
.has-3d.journey-active .rail-map-scroll{display:none}
.map-tools{z-index:5;gap:7px!important}
.map-tools button{width:44px!important;height:44px!important;min-width:44px;font-size:19px!important}
.map-credit{display:none!important}
.route-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 8px}
.route-filters>label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650}
.route-filters input[type=search],.route-filters select{width:100%;min-height:50px;border-radius:16px;border:1px solid #c5dce5;background:#f6fbfd;padding:12px;color:#23455b;font-size:16px}
.route-filter-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}
.route-filter-actions label{display:flex;align-items:center;gap:8px;font-size:14px}
.route-filter-actions input{width:19px;height:19px;accent-color:#287fad}
.route-list{max-height:46vh;overflow-y:auto;overscroll-behavior:contain;padding:2px 6px 10px 0}
.route-option{display:grid!important;grid-template-columns:27px 1fr 36px;gap:13px;align-items:center;min-height:100px;border-radius:19px;margin:9px 0;text-align:left;background:#f9fcff;border:1px solid #d5e5ee;box-shadow:0 4px 0 #dce8ed;padding:14px!important;width:100%}
.route-option>i{width:25px;height:49px;border:2px solid #fff;border-radius:9px;box-shadow:0 3px 4px #26435b30;color:white;font-style:normal;text-align:center;padding-top:12px}
.route-option span{min-width:0}
.route-option span>b{display:block;font-size:16px;line-height:1.4}
.route-option small{display:block;font-size:13px;line-height:1.5;white-space:normal!important;margin-top:3px;color:#60788a}
.route-option>strong{font-size:23px;background:#e8f1f7;border-radius:12px;text-align:center;padding:5px}
.route-option .route-availability{font-weight:650;color:#687b8b}
.ready-route{border-color:#9fcfbe;background:#f6fdf9}
.ready-route .route-availability{color:#26755b}
.route-empty{padding:22px;border-radius:18px;background:#edf5f9}
@media(max-width:650px){.route-filters{grid-template-columns:1fr}.route-list{max-height:40vh}.route-option{min-height:104px;gap:10px}.route-filter-actions{align-items:flex-start}.map-three-hint{font-size:11px}.map-tools button{width:38px!important;height:38px!important;min-width:38px}.map-legend{font-size:12px!important}.city-name{font-weight:750!important}}
.route-search-dialog{overflow:hidden!important;max-height:92dvh!important}
.route-search-dialog #modal-content{display:flex;flex-direction:column;max-height:calc(92dvh - 60px);overflow:hidden}
.route-search-dialog .route-list{flex:1;min-height:110px;max-height:none;overflow-y:auto}
.route-search-dialog h2{margin-bottom:5px}
.route-search-dialog .route-filters{margin-top:10px}
.route-search-dialog #cancel{flex:none;margin-top:12px;min-height:44px}
.atlas-landmark{cursor:pointer;filter:drop-shadow(0 6px 3px #45677b18)}
@media(max-width:650px){.route-search-dialog #modal-content{max-height:calc(92dvh - 42px)}.route-search-dialog .route-filters{gap:7px}.route-search-dialog .route-filters>label{gap:4px}.route-search-dialog h2{font-size:24px}.route-search-dialog>div>p{margin-top:7px;margin-bottom:7px}.route-search-dialog .route-list{min-height:100px}}
.final-map-wrap{position:relative;aspect-ratio:1.75;height:auto!important;overflow:hidden!important}
.final-map-wrap svg{display:block;width:100%!important;height:100%!important;min-width:0!important;max-height:none!important}
.final-ticket-map .map-route:not(.final-path){opacity:.14!important}
.final-ticket-map .final-path{opacity:1!important;animation:final-route-glow 2.4s ease-in-out infinite}
.final-ticket-map .ticket-endpoint .station-pin{filter:drop-shadow(0 0 12px #f4c864)}
@keyframes final-route-glow{0%,100%{filter:drop-shadow(0 0 3px #fff)}50%{filter:drop-shadow(0 0 14px #f0b838)}}
.map-route.owned .cell-rim{stroke:#243b50!important;stroke-width:39px!important}
.map-route.owned .cell-colour{stroke-width:30px!important}
.map-route.owned .cell-shine{stroke:#fff!important;opacity:.85!important;stroke-width:5px!important}
.map-route.owned .owner-flag{opacity:1!important;visibility:visible!important;display:block!important;pointer-events:none}
.map-route.owned .owner-flag rect{stroke-width:4px;stroke:#fff;filter:drop-shadow(0 3px 2px #203c5266)}
@media(max-width:650px){.final-map-wrap{aspect-ratio:1!important}.final-map-stamp{font-size:13px!important;padding:7px!important;bottom:8px!important;right:8px!important}.express-trophy{font-size:65px!important;margin:15px!important}.express-trophy b{font-size:70px!important}}
@media(prefers-reduced-motion:reduce){.final-ticket-map .final-path{animation:none;filter:drop-shadow(0 0 7px #edbd52)}}
.map-route.owned .owner-flag{opacity:0!important}
.map-route.owned:hover .owner-flag,.map-route.owned:focus .owner-flag{opacity:1!important}
