.expedition-dashboard { width: 100%; min-width: 0; text-align: left; }
.expedition-mission { margin: 0 0 8px; color: var(--ink); font-size: 13px; line-height: 1.55; }
.expedition-progress { display: block; width: 100%; height: 9px; accent-color: var(--green, #659b75); border: 0; border-radius: 99px; overflow: hidden; }
.expedition-progress::-webkit-progress-bar { background: var(--line, #d1d7cc); }
.expedition-progress::-webkit-progress-value { background: var(--green, #659b75); }
.expedition-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 7px; margin: 10px 0; }
.expedition-stat { min-width: 0; padding: 7px 8px; border: 2px solid var(--ink); border-radius: 13px; background: var(--surface, #fff6e7); box-shadow: 0 3px 0 #24465c16; }
.expedition-stat dt { color: var(--muted); font-size: 10px; line-height: 1.4; }
.expedition-stat dd { margin: 2px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.expedition-actions, .expedition-touch { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.expedition-actions:not([hidden]) { margin: 8px 0; }
.controls .expedition-action { padding: 10px 12px; font-size: 11px; border-width: 2px; border-radius: 13px; touch-action: manipulation; }
.controls .expedition-action.active, .controls .expedition-touch-key.held { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.controls .expedition-action:disabled { opacity: .48; cursor: not-allowed; }
.controls .expedition-start { display: block; margin: 12px auto; min-width: 190px; background: var(--ink); color: var(--paper); touch-action: manipulation; }
.controls .expedition-start[hidden], .expedition-actions[hidden] { display: none; }
.expedition-touch { margin-top: 10px; }
.controls .expedition-touch-key { flex: 1 0 auto; min-height: 46px; touch-action: none; }
body.playing:has(.expedition-dashboard) #stage-wrap { width: 100%; max-width: 1100px; background: #e0f3fa; }
body.playing:has(.expedition-dashboard) #stage { min-height: 0; }
body.playing:has(.expedition-dashboard) .play-layout { grid-template-columns: minmax(0, 1fr) 270px; }
@media (max-width: 1000px) {
  body.playing:has(.expedition-dashboard) .play-layout { grid-template-columns: 1fr; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1000px) {
  body.focus-play:has(.expedition-dashboard) #stage-wrap { margin: 0 auto; max-width: min(100%, calc((100svh - 130px) * var(--stage-ratio, 1))); }
  body.focus-play:has(.expedition-dashboard) #controls { max-height: max(130px, calc(100svh - 220px)); overflow-y: auto; overscroll-behavior: contain; }
  body.focus-play:has(.expedition-dashboard) .game-message { max-height: 42px; overflow-y: auto; }
  body.playing:has(.expedition-dashboard) .expedition-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  body.playing:has(.expedition-dashboard) .expedition-stat { padding: 4px 6px; }
  body.playing:has(.expedition-dashboard) .expedition-mission { font-size: 11px; }
  body.playing:has(.expedition-dashboard) .expedition-touch, body.playing:has(.expedition-dashboard) .expedition-actions { gap: 4px; }
  body.playing:has(.expedition-dashboard) .controls button { min-height: 40px; padding: 7px; }
}

.card-art .expedition-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
#related .expedition-cover { display: block; width: 68px; height: 52px; object-fit: cover; border-radius: 8px; }
