/* v39: use the existing painted art and keep the controls on one quiet surface. */
.new-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#c44e42;margin-left:7px;vertical-align:middle;box-shadow:0 0 0 2px #faf8ef}.part-card>.new-dot{position:absolute;right:12px;top:12px;z-index:3}.goal-card h2 .new-dot{margin:0 7px 2px 0}
.drive-attention{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:auto;border-radius:50%;background:#b67a2d;color:white;animation:attention39 3s ease-in-out infinite}
@keyframes attention39{0%,22%,100%{transform:rotate(0)}5%,15%{transform:rotate(-12deg)}10%,20%{transform:rotate(12deg)}}
.wild-badge{display:inline-block;background:#efe0ac;color:#715128;border:1px solid #c6a35a;padding:3px 7px;border-radius:6px;font:700 10px/1.2 sans-serif;vertical-align:middle}.wild-control{display:flex;justify-content:center;align-items:center;gap:10px;margin:14px 0}.wild-control small{font-size:11px}.minimum-requirements{max-width:640px;margin:10px auto 20px;font-size:12px;line-height:1.6;text-align:center}
.journey-running-layout{grid-template-columns:minmax(0,1fr)!important;max-width:1120px;margin:auto}.journey-running-layout>.contract-compact{max-width:680px;width:100%;margin:10px auto;box-sizing:border-box}.journey-running-layout .journey-main .travel-scene{height:240px!important}.journey-main .cab-dashboard{max-width:740px}.journey-follow .driving-controls{grid-template-rows:86px 58px auto auto auto;min-height:245px}.driving-controls .lever-instrument{transform:translateY(10px)}.driving-controls .auto-policy{grid-column:1/-1;grid-row:5;font-size:10px;line-height:1.5;text-align:center;margin:8px 0 0;color:#66745e}.driving-controls [data-drive-note]{grid-column:1/-1;grid-row:4;min-height:20px;margin:4px 0}.driving-controls .drive-warning{grid-row:3}.drive-modes button{white-space:normal}.drive-modes button.selected{background:#dce8d3;border-color:#758f68;font-weight:700}
[data-score-host]{grid-column:1/-1}.journey-score{font-size:12px;background:#edf0e4;border:1px solid #d6ddc9;border-radius:10px;padding:10px 14px;line-height:1.6}.journey-score>strong{display:block}.journey-score summary{cursor:pointer}.journey-score ul{padding-left:18px}.journey-score details{margin-top:4px}.journey-score p{margin:6px 0}
.journey-planning-layout>.route-favorite-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:10px;padding:4px 0 12px}.journey-planning-layout>.route-editor-card{grid-column:1;grid-row:1 / span 2}.journey-planning-layout>.journey-contract-sidebar{grid-column:2;grid-row:1}.stop-list .stop-row{display:grid;grid-template-columns:24px minmax(0,1fr) 28px 24px 24px;gap:8px;align-items:center}.stop-row .stop-dot{grid-column:1;grid-row:1}.stop-row .stop-input{grid-column:2;grid-row:1}.stop-row .stop-order{grid-column:3;grid-row:1;align-self:center}.stop-row .stop-remove{grid-column:4;grid-row:1}.stop-row .stop-handle{grid-column:5;grid-row:1;align-self:center}.stop-row.fixed-departure>span:last-child{grid-column:5}.stop-list::before,.stop-row::before,.fixed-departure .stop-input::before{display:none!important}.automatic-stop .stop-handle{visibility:hidden}
.starter-box-screen{min-height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;text-align:center;background:#f5f4ea;gap:12px}.starter-box-screen h1{margin:0;font-size:32px}.starter-box-screen p{max-width:580px;line-height:1.6}.starter-box-screen .floating-box{width:min(320px,70vw);height:auto}.starter-box-screen .floating-box img{width:100%;height:auto}.starter-rewards{display:flex;align-items:center;gap:20px;width:min(900px,95vw);animation:starter39 1.2s ease both}.starter-rewards article{flex:1;min-width:0}.starter-rewards .carriage-art{width:100%;height:140px}.starter-rewards h2{font-size:14px}.starter-crate{width:140px;height:140px;object-fit:contain}@keyframes starter39{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
#modal.floating-box-modal{height:min(650px,90dvh);color:#f9f6ec}.floating-box-modal::backdrop{background:#17231dba;backdrop-filter:blur(3px)}.floating-box-modal .modal-heading button{color:#fff;background:#263a2b80;border-radius:50%}.floating-box-modal .box-unopened{display:flex;flex-direction:column;justify-content:center;gap:5px}.box-odds{font-size:11px;line-height:1.5;max-width:100%;text-align:left}.box-odds summary{cursor:pointer;font-weight:600;list-style:none;padding:6px}.box-odds[open]{max-height:240px;overflow:auto;background:#f7f6eb;color:#344b3e;border:1px solid #d6dccb;border-radius:8px;padding:8px}.box-odds ul{columns:1!important;padding-left:18px}.box-odds p{font-size:11px!important}.box-unopened>.box-odds{max-width:460px;position:relative;z-index:5}.garage-boxes>.box-odds{max-width:180px}.box-opening-crate{top:50%;transition:top .7s ease,opacity .6s ease,transform .7s ease;transform:translate(-50%,-30%)}.rolling .box-opening-crate{top:63%}.box-opening.revealed>.box-opening-crate{display:block;opacity:0;transform:translate(-50%,-10%) scale(.9);pointer-events:none}.box-opening .box-reel-window{top:15%;transition:opacity .6s ease,transform .7s ease}.box-opening.revealed .box-reel-window{opacity:0;transform:translateY(-20px)}.box-reveal{position:absolute;inset:8% 0 0;animation:starter39 .8s ease both}.box-result{transition:transform .7s ease,opacity .7s ease}.box-result h3{color:inherit}.box-result .rarity-badge{color:inherit}.box-result-crate{width:180px;margin:0 auto}.daily-box-row article{gap:8px}.daily-box-row article>strong{font-size:12px}.daily-box-row .box-odds{width:100%}.daily-box-row .button{margin-top:auto}.store-grid article{gap:16px;padding:28px 18px}.store-grid h3,.store-grid p{margin:0}.store-premium{padding:30px;gap:30px}.premium-interior{display:block;width:100%;height:auto;max-height:300px;object-fit:cover;margin-top:40px;mask-image:linear-gradient(transparent,#000 22%,#000 78%,transparent)}
.train-interior .interior-layer{object-fit:contain;object-position:center bottom}.auth-layout,.auth-content{transform:translateY(-18px)}.station-search input[type=search]{margin-bottom:8px}
@media(max-width:850px){.journey-planning-layout>.route-editor-card,.journey-planning-layout>.journey-contract-sidebar,.journey-planning-layout>.route-favorite-actions{grid-column:1;grid-row:auto}.journey-planning-layout>.route-favorite-actions{padding:0 16px 16px}.starter-rewards{gap:6px}.starter-rewards .carriage-art{height:95px}}
@media(max-width:650px){.journey-running-layout .journey-main .travel-scene{height:190px!important}.journey-follow .driving-controls{grid-template-rows:86px 60px 60px auto auto auto;min-height:310px}.driving-controls .drive-warning{grid-row:4}.driving-controls [data-drive-note]{grid-row:5}.driving-controls .auto-policy{grid-row:6}.starter-box-screen h1{font-size:25px}.starter-rewards h2{font-size:10px}.starter-box-screen p{font-size:13px}.stop-list .stop-row{gap:4px;grid-template-columns:20px minmax(0,1fr) 26px 22px 20px}.auth-layout,.auth-content{transform:none}.wild-control{flex-wrap:wrap}.journey-running-layout>.contract-compact{width:calc(100% - 24px)}.manual-tutorial{right:10px;left:10px}.box-reel-window{height:190px}.box-opening-crate{width:210px;height:210px}}
.reduce-motion .drive-attention,.reduce-motion .starter-rewards,.reduce-motion .box-reveal{animation:none}.reduce-motion .box-opening-crate{transition:none}
@media(prefers-reduced-motion:reduce){.drive-attention,.starter-rewards,.box-reveal{animation:none}.box-opening-crate{transition:none}}
