/* Outcrop Rebuild: the event hand and picker sit in a strip under the board (shell panel moved to the bottom). */
#topic-game .ts-body { flex-direction: column; }
#topic-game .ts-panel.or-panel { width: auto; flex: none; border-left: 0; border-top: 2px solid var(--ts-line); padding: 8px 12px; overflow: visible; display: flex; flex-direction: column; gap: 6px; }
.or-hand { display: flex; flex-wrap: wrap; gap: 6px; }
.or-card { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 3px 22px 3px 6px; text-align: left; position: relative; }
.or-card[aria-pressed="true"] { border-color: var(--ts-accent-2); box-shadow: 0 0 0 2px var(--ts-accent-2) inset; background: var(--ts-stage); }
.or-icon { width: 28px; height: 28px; flex: none; }
.or-card-text { display: flex; flex-direction: column; line-height: 1.1; }
.or-card strong { font-size: 18px; }
.or-sub { font-size: 16px; font-weight: 400; color: var(--ts-muted); }
.or-key { position: absolute; top: 2px; right: 5px; font: 700 16px var(--ts-mono); color: var(--ts-muted); line-height: 1; }
.or-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; }
.or-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 48px; flex: 1 1 520px; }
.or-pick-title { font-size: 18px; }
.or-groups { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.or-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.or-group-label { font-size: 16px; color: var(--ts-muted); margin-right: 2px; }
.or-opt { min-height: 44px; padding: 6px 10px; font-size: 16px; }
.or-opt[aria-checked="true"] { background: var(--ts-accent-2); border-color: var(--ts-accent-2); color: #1a1206; }
.or-play { min-height: 44px; }
.or-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.or-ghost[aria-pressed="true"] { border-color: var(--ts-accent); box-shadow: 0 0 0 2px var(--ts-accent) inset; }
.or-meter { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.or-meter-label { color: var(--ts-muted); font-size: 16px; }
.or-meter-bar { width: 120px; height: 14px; border-radius: 7px; background: var(--ts-panel-2); border: 1px solid var(--ts-line); overflow: hidden; }
.or-meter-fill { display: block; height: 100%; width: 0; background: var(--ts-accent); }
.or-meter-win .or-meter-fill { background: var(--ts-good); }
.or-meter-val { font-family: var(--ts-mono); min-width: 4.5em; }
@media (prefers-reduced-motion: no-preference) { .or-meter-fill { transition: width .4s ease; } }
@media (max-width: 900px) {
  #topic-game .ts-stage { flex: none; height: calc((100vw - 16px) * 0.375 + 16px); min-height: 0; }
  #topic-game .ts-play, #topic-game .ts-body { flex: none; }
  #topic-game { overflow: visible; height: auto !important; min-height: 100dvh !important; }
  .or-card { flex: 1 1 140px; }
}
/* Phones get the stacked layout (640 × 930 board: outcrop above basin), chosen when the page loads. */
@media (max-width: 759px) { #topic-game .ts-stage { height: calc((100vw - 16px) * 1.4531 + 16px); } }
