/* The mini Viewer (preflop): the /app/ page's PreflopMock, used on the range pages by /pfm.js (2026-11-23).
   Copied from site-brand.css without the #root prefix; the /app/ page keeps its own copy there. */
.pfm { --v-bg: #141414; --v-elev: #1a1a1a; --v-raised: #222; --v-brd: #2a2a2a; --v-tx: #f0f0f0; --v-dim: #a0a0a0; --v-acc: #4ade80;
  border: var(--b-frame) solid var(--b-ink); background: var(--v-bg); color: var(--v-tx); font-family: var(--b-mono); font-stretch: 87.5%; }
.pfm, .pfm * { font-family: var(--b-mono) !important; }
/* the range pages' stylesheet sizes every <i> as a legend swatch (taste.css: margin-right 8px); here they are bars and dots */
.pfm i { margin: 0; vertical-align: baseline; }
.pfm-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px; background: var(--b-ink); color: var(--b-white); font-size: 12px; }
.pfm .vl-dots i { width: 9px; height: 9px; border-radius: 50% !important; background: #3b3d48; display: block; }
.vl-dots { display: inline-flex; gap: 6px; }
.pfm-url { color: #b9bccb; }
.pfm-live { flex: 1; display: inline-flex; align-items: center; gap: 7px; color: var(--v-acc); font-weight: 600; letter-spacing: .02em; }
.pfm-live i { width: 7px; height: 7px; border-radius: 50% !important; background: var(--v-acc); }
.pfm-open { color: var(--b-acid) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.pfm-open:hover { text-decoration: underline; }
.pfm-band { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--v-brd); background: var(--v-elev); overflow-x: auto; }
.pfm-reset { flex: 0 0 38px; border: 1px solid var(--v-brd); background: var(--v-raised); color: var(--v-dim); font-size: 18px; cursor: pointer; }
.pfm-reset:hover { color: var(--v-tx); }
.pfm-seat { flex: 1 1 0; min-width: 104px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--v-brd); background: var(--v-raised); cursor: pointer; }
.pfm-seat.on { border-color: var(--v-acc); }
.pfm-seat-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--v-dim); margin-bottom: 2px; }
.pfm-seat-h b { font-size: 14px; color: var(--v-tx); }
.pfm-seat.on .pfm-seat-h b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; vertical-align: 2px; background: var(--v-acc); }
.pfm-act { width: 100%; border: 0; color: #fff; font: 700 14px/1 var(--b-mono); font-stretch: 87.5%; text-align: left; padding: 8px 8px; cursor: pointer; }
.pfm-act:hover { filter: brightness(1.15); }
.pfm-done { color: var(--v-dim); font-size: 13px; padding: 8px 2px; }
.pfm-seat.done { cursor: default; opacity: .6; }
.pfm-board { flex: 1.6 1 0; min-width: 190px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 8px; border: 1px dashed #3a3a3a;
  color: var(--v-dim) !important; text-decoration: none; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.02) 8px 16px); }
.pfm-slots { display: flex; gap: 5px; }
.pfm-slots i { width: 24px; height: 33px; border: 1px dashed #4a4a4a; }
.pfm-slots i:nth-child(4) { margin-left: 8px; }
.pfm-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.pfm-lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.pfm-unlock { font-size: 12px; font-weight: 700; color: var(--b-acid); text-transform: uppercase; letter-spacing: .08em; }
.pfm-board:hover { border-color: var(--b-acid); }
.pfm-board:hover .pfm-unlock { text-decoration: underline; }
.pfm-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; padding: 12px; }
.pfm-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; aspect-ratio: 1.6 / 1; }
.pfm-cell { position: relative; padding: 0; border: 0; background: #1f1f1f; cursor: pointer; overflow: hidden; container-type: inline-size; }
.pfm-fill { position: absolute; inset: 0; display: flex; }
.pfm-fill i { display: block; height: 100%; }
.pfm-h { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; font: 700 clamp(9px, 30cqw, 15px)/1 var(--b-mono); font-stretch: 87.5%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pfm-cell:hover, .pfm-cell:focus-visible { outline: 2px solid var(--v-tx); outline-offset: -2px; z-index: 2; }
.pfm-cell.pin { outline: 2px solid var(--v-acc); outline-offset: -2px; z-index: 2; }
.pfm-cell.out .pfm-h { color: #555; text-shadow: none; }
.pfm-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pfm-spot { font-size: 13px; color: var(--v-dim); text-transform: uppercase; letter-spacing: .08em; }
.pfm-spot b { color: var(--v-tx); }
.pfm-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
.pfm-tile { display: flex; flex-direction: column; gap: 10px; padding: 9px 10px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.pfm-tile span { font-size: 12px; font-weight: 600; }
.pfm-tile b { font-size: 24px; font-weight: 800; }
.pfm-hand { border: 1px solid var(--v-brd); background: var(--v-elev); padding: 10px 12px; min-height: 118px; }
.pfm-hand-h { font-size: 18px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.pfm-hand-h em { font-style: normal; font-size: 11px; color: var(--v-acc); text-transform: uppercase; letter-spacing: .08em; }
.pfm-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; font-size: 13.5px; padding: 3px 0; }
.pfm-row i { width: 10px; height: 10px; }
.pfm-row b { font-variant-numeric: tabular-nums; }
.pfm-hand-empty { color: var(--v-dim); font-size: 13px; padding-top: 4px; }
.pfm-links, .pfm-wall { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.pfm-links a, .pfm-wall a { display: block; padding: 10px 12px; font-weight: 700; font-size: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.pfm-links a:first-child, .pfm-wall a { background: var(--b-verm); color: var(--b-ink) !important; }
.pfm-links a:last-child { border: 1px solid #3a3a3a; color: var(--v-tx) !important; }
.pfm-links a:hover, .pfm-wall a:hover { filter: brightness(1.1); }
.pfm-modal-back, .pfm-modal-back * { font-family: var(--b-mono) !important; box-sizing: border-box; }
.pfm-modal-back { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 14, .62); animation: pfmFade .16s ease-out; }
.pfm-modal { position: relative; width: min(460px, 100%); padding: 26px 26px 22px; background: var(--b-white); color: var(--b-ink); border: var(--b-frame) solid var(--b-ink); box-shadow: 8px 8px 0 var(--b-ink); animation: pfmRise .2s ease-out; }
.pfm-modal-k { display: inline-block; margin-bottom: 12px; padding: 3px 8px; background: var(--b-ink); color: var(--b-white); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pfm-modal h3 { margin: 0 0 10px !important; font-size: 22px !important; line-height: 1.2; color: var(--b-ink); }
.pfm-modal p { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: var(--b-ink); }
.pfm-modal-acts { display: flex; flex-direction: column; gap: 8px; }
.pfm-modal-acts a { display: block; padding: 12px 14px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; text-align: center; border: 2px solid var(--b-ink); }
.pfm-modal-go { background: var(--b-verm); color: var(--b-ink) !important; }
.pfm-modal-key { background: var(--b-white); color: var(--b-ink) !important; }
.pfm-modal-acts a:hover, .pfm-modal-acts a:focus-visible { background: var(--b-ink); color: var(--b-white) !important; outline: none; }
.pfm-modal-x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; color: var(--b-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.pfm-modal-x:hover { color: var(--b-verm); }
@keyframes pfmFade { from { opacity: 0; } }
@keyframes pfmRise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .pfm-modal-back, .pfm-modal { animation: none; } }
.pfm-wall p { margin: 0; font-size: 14px !important; line-height: 1.45; color: var(--v-tx); font-family: var(--b-mono) !important; }
/* seat cards keep one height whether they show two or three buttons */
.pfm-seat { min-height: 150px; box-sizing: border-box; }
.pfm-chip-st, .pfm-mob { display: none; }
@media (max-width: 640px) {
  .pfm-band { overflow: visible; gap: 4px; padding: 8px; }
  .pfm-reset { flex: 0 0 30px; font-size: 15px; }
  .pfm-seat { min-width: 0; min-height: 0; padding: 6px 2px; align-items: center; gap: 2px; }
  .pfm-seat-h { justify-content: center; margin: 0; }
  .pfm-seat-h span { display: none; }
  .pfm-seat-h b { font-size: 12px; }
  .pfm-seat.on .pfm-seat-h b::before { display: none; }
  .pfm-seat .pfm-act, .pfm-seat .pfm-done { display: none; }
  .pfm-chip-st { display: block; min-height: 14px; font-size: 10px; color: var(--v-dim); text-align: center; white-space: nowrap; }
  .pfm-seat.on .pfm-chip-st { color: var(--v-acc); }
  .pfm-mob { display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: stretch; padding: 8px; border-bottom: 1px solid var(--v-brd); background: var(--v-elev); }
  .pfm-mob b { display: grid; place-items: center; font-size: 13px; color: var(--v-acc); }
  .pfm-mob .pfm-act { text-align: center; padding: 10px 4px; font-size: 13px; }
}
/* round 3: only the band and the Viewer on the first screen; the rest in full-width bands below */
.pfm-body { grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 340px); }
.pfm-grid { aspect-ratio: auto; height: clamp(340px, calc(100vh - 440px), 560px); grid-template-rows: repeat(13, minmax(0, 1fr)); }
@media (max-width: 860px) { .pfm-grid { height: auto; aspect-ratio: 1 / 1; } }
@media (max-width: 860px) { .pfm-body { grid-template-columns: 1fr; } .pfm-board { display: none; } }
@media (max-width: 720px) { .pfm-url { display: none; } .pfm-live { font-size: 11px; } }
@media (max-width: 520px) { .pfm .vl-dots { display: none; } .pfm-live { font-size: 10px; gap: 5px; } .pfm-open { font-size: 11px; letter-spacing: .04em; white-space: nowrap; } }
.pfm-links a.pfm-page { border: 1px solid #3a3a3a; color: var(--v-tx) !important; }
/* pages that hold several decisions (viewer-mock.js): a row of spot tabs, and seat cards with their own decision */
.pfm-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: var(--v-elev); border-bottom: 1px solid var(--v-brd); scrollbar-width: thin; }
.pfm-tabs button { flex: 0 0 auto; border: 1px solid var(--v-brd); background: var(--v-raised); color: var(--v-tx); font: 600 12px/1 var(--b-mono); padding: 8px 10px; cursor: pointer; }
.pfm-tabs button[aria-pressed="true"] { border-color: var(--v-acc); color: var(--v-acc); }
.pfm-seat:not(.can):not(.on) { cursor: default; }
.pfm-seat.can:hover { border-color: #4a4a4a; }
/* 8 and 9 seats (tournament pages): on a phone the seat row scrolls sideways instead of squeezing the names */
@media (max-width: 640px) {
  .pfm-many .pfm-band { overflow-x: auto; scrollbar-width: none; }
  .pfm-many .pfm-band::-webkit-scrollbar { display: none; }
  .pfm-many .pfm-seat { flex: 0 0 58px; }
  .pfm-many .pfm-reset { flex: 0 0 30px; }
}
