/* V55 complements the existing room and cockpit without changing their controls. */
.journey-panel{padding:12px 14px;margin:12px 0 0;background:#fff9ec;border:1px solid #ddcdb2;border-radius:14px;text-align:left}.journey-panel p{font-size:13px;line-height:1.4;margin:5px 0}.journey-panel small{color:#56636b}.journey-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}.journey-actions a{color:#8b2137;font-size:13px;padding:8px}.journey-actions button{min-height:44px}.race-countdown{position:absolute;z-index:20;left:50%;top:40%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;background:#162734ed;color:white;border-radius:24px;padding:15px 35px;box-shadow:0 12px 40px #0004}.race-countdown strong{display:block;font-size:72px;line-height:1.15}.race-countdown .lights{display:block;color:#fa4a60;letter-spacing:7px;font-size:22px}.race-countdown.go .lights{color:#71ebaa}.race-countdown small{display:block}.rotate-hint{position:absolute;z-index:80;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center;background:#162b38f5;color:white}.rotate-hint strong{font-size:27px}.rotate-hint p{max-width:300px;line-height:1.6}.rotate-hint button{min-height:48px}.altitude-toggle{position:absolute;z-index:12;top:65px;left:50%;transform:translateX(-50%);font-size:12px;min-height:44px;background:#fff9efee;border:1px solid #d8c6aa;box-shadow:0 4px 15px #10232c22}.altitude-toggle[aria-pressed=true]{background:#d6f2df;color:#175134}.result-card{max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}.result-card p{margin:9px 0}.result-card .journey-actions button{flex:1;font-size:12px}#resultMarket:empty{display:none}#resultMarket{background:#fff8e7;border-radius:12px;padding:12px;margin:12px 0;font-size:13px}#resultMarket a{display:block;margin:8px 0;color:#8b2137;font-weight:700}#resultMarket img{width:60px;height:45px;object-fit:cover;border-radius:8px;float:left;margin-right:10px}#weeklySubmit{display:grid;gap:8px;text-align:left;margin:12px 0}#weeklySubmit input{width:100%;min-height:44px}#weeklySubmit small,#weeklySubmitStatus,#shareStatus,#rewardText{font-size:12px}#weeklyRows ol{padding-left:26px}#weeklyRows li{padding:10px 4px;border-bottom:1px solid #e3d7c4}#weeklyMore{min-height:44px;margin-top:10px}.welcome{top:90px;max-height:calc(100dvh - var(--dock,94px) - 110px);overflow:auto;overscroll-behavior:contain}.room-top button{min-height:44px}[hidden]{display:none!important}
@media(max-height:500px) and (orientation:landscape){.welcome{top:65px;max-height:calc(100dvh - var(--dock,60px) - 85px);width:min(740px,90vw);padding:18px 24px}.welcome h1{font-size:28px;line-height:1.05}.welcome h1 br{display:none}.welcome>p,.welcome-facts{display:none}.welcome h2{font-size:14px;margin:8px 0}.welcome .demo-choices{gap:8px}.welcome .demo-choices button{padding:9px}.welcome .demo-choices svg{width:26px;height:26px}.welcome .welcome-note{display:block;font-size:11px;margin:8px 0}.journey-panel{padding:9px 12px}.race-countdown strong{font-size:52px}.altitude-toggle{top:53px;left:43%;font-size:11px;min-height:38px}.result-card{padding:20px;max-width:490px}.room-bottom{padding-block:8px}.room-top{padding-block:5px}}
@media(max-height:500px) and (orientation:landscape){.welcome{display:grid;grid-template-columns:1.2fr 1fr;gap:8px 14px;padding:16px 20px;align-content:start}.welcome>.eyebrow,.welcome>h2{display:none}.welcome>h1{grid-area:1/1;font-size:23px;margin:0}.welcome>.demo-choices{grid-area:2/1;margin:0}.welcome>#chooseModel{grid-area:3/1;font-size:12px;margin:0}.welcome>.welcome-note{grid-area:4/1;font-size:11px;align-self:start}.welcome>#dailyGoals{grid-area:1/2/3/3;margin:0}.welcome>.journey-panel:last-child{grid-area:3/2/5/3;margin:0}.welcome .journey-panel strong{font-size:13px}.welcome .journey-panel p{font-size:11px;margin:4px 0}.welcome .journey-actions{gap:6px;margin:6px 0 0}.welcome .journey-actions button{font-size:11px;padding:8px;min-height:38px}.welcome .journey-actions a{font-size:11px;padding:2px 0}.welcome .demo-choices strong{font-size:12px}}
.trial-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #233b43;
  background: var(--cream);
  font-weight: 750;
  text-decoration: none;
}
.trial-back::before { content: "‹"; font-size: 1.35em; line-height: 1; }
.welcome .welcome-intro { margin: 0 0 1rem; color: #425758; }
.welcome .demo-choices small { line-height: 1.35; color: #4b6260; }
#gameNotice button { display: block; pointer-events: auto; margin: .5rem auto 0; min-height: 44px; }
@media (max-width: 480px) {
  .room-top { gap: 4px; }
  .trial-back { font-size: 12px; gap: .15rem; padding-inline: .35rem; line-height: 1.15; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .welcome > .welcome-intro { display: none; }
  .welcome .journey-actions { margin-top: .4rem; }
  .welcome .journey-actions button { min-height: 44px; }
}
