/* The Viewer mock-up in the blue band of the range pages (tools/viewer_mock.py, /viewer-mock.js).
   The Viewer's dark look; text on dark is near-white, never grey. Seat cards keep one size, so a click never moves them. */
.vm-band { background: var(--b-klein); box-shadow: 0 0 0 100vmax var(--b-klein); clip-path: inset(0 -100vmax); padding: var(--field-pad, 48px) 0; margin: 0; }
h1 + link + .vm-band, h1 + .vm-band { margin-top: var(--s3, 24px); }
.vm { --vm-bg: #141414; --vm-panel: #1A1A1A; --vm-line: #2E2E2E; --vm-text: #F0F0F0; --vm-gold: #D4A84A; --vm-green: #4ADE80;
  background: var(--vm-bg); color: var(--vm-text); border: 3px solid var(--b-ink, #0D0E1F); font: 500 12px/1.3 var(--b-mono, ui-monospace, monospace);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); min-height: 560px; }
.vm a { color: inherit; text-decoration: none; }
.vm :focus-visible { outline: 2px solid var(--b-acid, #D4FF3A); outline-offset: 1px; }

.vm-top { display: flex; align-items: center; gap: 16px; padding: 0 0 0 14px; height: 44px; border-bottom: 1px solid var(--vm-line); }
.vm-logo { font: 800 14px/1 var(--b-display, sans-serif); letter-spacing: .02em; }
.vm-tab { align-self: stretch; display: flex; align-items: center; padding: 0 4px; border-bottom: 2px solid var(--vm-green); color: var(--vm-green);
  text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.vm-game { border: 1px solid var(--vm-line); padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vm-open { margin-left: auto; align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--b-verm, #FF4A1C);
  color: var(--b-ink, #0D0E1F) !important; font: 700 12px/1 var(--b-mono, monospace); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.vm-open span { font-size: 16px; transition: transform .18s ease; }
.vm-open:hover { background: var(--b-acid, #D4FF3A); }
.vm-open:hover span { transform: translateX(3px); }

/* the overview pages: one tab per spot, in the Viewer's tab style */
.vm-pick { display: flex; overflow-x: auto; border-bottom: 1px solid var(--vm-line); scrollbar-width: thin; }
.vm-pick button { all: unset; flex: 0 0 auto; padding: 10px 12px 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  border-bottom: 2px solid transparent; cursor: pointer; }
.vm-pick button:hover { border-bottom-color: var(--vm-text); }
.vm-pick button[aria-pressed="true"] { border-bottom-color: var(--vm-green); color: var(--vm-green); }
.vm-pick button:focus-visible { outline: 2px solid var(--b-acid, #D4FF3A); outline-offset: -2px; }
.vm-seats { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid var(--vm-line); scrollbar-width: thin; }
.vm-seat { flex: 0 0 96px; box-sizing: border-box; height: calc(30px + var(--vm-acts, 3) * 30px); border: 1px solid var(--vm-line); background: var(--vm-panel);
  display: flex; flex-direction: column; gap: 4px; padding: 6px; }
.vm-seat.st-act { border-color: var(--vm-gold); box-shadow: inset 0 0 0 1px var(--vm-gold); }
.vm-seat.st-wait, .vm-seat.st-fold { background: #161616; }
.vm-seatbtn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; margin: -6px; padding: 6px; height: calc(100% + 12px); cursor: pointer; }
.vm-seat.can { border-color: #4A4A4A; }
.vm-seat.can:hover, .vm-seat:has(a.vm-seatbtn):hover { border-color: var(--vm-gold); }
.vm-pos { font-weight: 700; font-size: 12px; padding: 2px 0 4px; }
.vm-act { display: block; padding: 6px 7px; border-radius: 4px; color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.vm-act:hover { filter: brightness(1.18); }
.vm-seat.st-fold .vm-act, .vm-act.dim { box-shadow: inset 0 0 0 100px rgba(16, 16, 16, .55); }   /* darker colour, the text stays white */
.vm-seat.can:hover .vm-act.dim { box-shadow: inset 0 0 0 100px rgba(16, 16, 16, .2); }

.vm-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.vm-side { border-right: 1px solid var(--vm-line); display: flex; flex-direction: column; min-width: 0; }
.vm-tabs { display: flex; border-bottom: 1px solid var(--vm-line); }
.vm-tabs > * { padding: 10px 10px 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid transparent; white-space: nowrap; }
.vm-tabs .on { border-bottom-color: var(--vm-green); }
.vm-tabs a:hover { border-bottom-color: var(--vm-text); }
.vm-pin { padding: 12px; min-height: 150px; }
.vm-ph { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; padding: 8px 10px; border-left: 3px solid var(--vm-green); background: #1E2A20; }
.vm-pl { font-size: 11px; }
.vm-hn { font-size: 16px; color: var(--vm-green); }
.vm-pc { margin-left: auto; font-size: 11px; }
.vm-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 48px; align-items: center; gap: 8px; margin: 0 0 6px; }
.vm-chip { padding: 5px 6px; border-radius: 3px; color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-bar { height: 10px; background: #262626; }
.vm-bar i { display: block; height: 100%; }
.vm-v { text-align: right; font-variant-numeric: tabular-nums; }
.vm-out { margin: 0; font-size: 12px; }
.vm-ov { margin-top: auto; border-top: 1px solid var(--vm-line); padding: 10px 12px 12px; }
.vm-oh { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.vm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 6px; }
.vm-tile { min-width: 0; padding: 8px; border-radius: 4px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.vm-tile span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-tile b { font-size: 20px; font-weight: 700; }
.vm-tile small { font-size: 10px; }

.vm-gridwrap { padding: 10px; min-width: 0; }
.vm-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; cursor: pointer; }
.vm-grid td { height: 32px; padding: 0; text-align: center; border-radius: 2px; background: #1A1A1A; color: #fff; font: 600 11px/1 var(--b-mono, monospace); overflow: hidden; }
.vm-grid td span { text-shadow: 0 0 3px rgba(0, 0, 0, .7); }
.vm-grid td.out { background: #232323; }
.vm-grid td:hover { box-shadow: inset 0 0 0 2px #fff; }
.vm-grid td.pin { box-shadow: inset 0 0 0 2px var(--vm-green); }
.vm-status { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--vm-line); font-size: 10px; letter-spacing: .04em; }
.vm-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--vm-green); }

@media (max-width: 760px) {
  .vm { min-height: 0; }
  .vm-tab { display: none; }
  .vm-top { gap: 10px; padding-left: 10px; }
  .vm-game { font-size: 10px; padding: 5px 7px; }
  .vm-open { padding: 0 12px; font-size: 11px; }
  .vm-body { grid-template-columns: 1fr; }
  .vm-gridwrap { order: -1; padding: 6px; }
  .vm-side { border-right: 0; border-top: 1px solid var(--vm-line); }
  .vm-grid { border-spacing: 1px; }
  .vm-grid td { height: 24px; font-size: 8px; letter-spacing: -.03em; }
  .vm-seat { flex-basis: 84px; }
}
@media (max-width: 420px) { .vm-logo { display: none; } .vm-open { font-size: 10px; letter-spacing: .03em; } .vm-grid td { height: 22px; font-size: 7px; } }
@media (prefers-reduced-motion: reduce) { .vm-open span { transition: none; } }

/* what was in the blue band moves to the band under it, on the page's light inset colour */
.vm-band + .cols { background: var(--paper-inset, #E6E8F2); box-shadow: 0 0 0 100vmax var(--paper-inset, #E6E8F2); color: var(--b-ink, #0D0E1F); padding-top: var(--field-pad, 48px); }
.vm-band + .cols > div:last-child > .note { color: var(--ink-dim, #4A4D68); }
.vm-band + .cols .try-card { border-color: var(--b-ink, #0D0E1F); }
.vm-band + .cols :focus-visible { outline-color: var(--b-klein, #1B2FD1); }
