/* Bullshit's table, on the card room's felt (../cards/cards.css) and its
   table styles (../cards/themes.css): only what the card room doesn't
   already draw. No colors of its own; everything comes from the style's
   tokens, so it reads in all nine.

   Steadiness first: the table fills the window; the seats, the middle, your
   hand and the dock never change size; claims, the reveal and its
   stamp appear in space already set aside or float over the pile, so
   nothing you might be about to press moves. A party game: it's checked on
   phones as closely as on a computer (docs/adr/0016). */

.felt.bullshit { position: relative; height: calc(100dvh - 2 * var(--frame)); min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.felt.bullshit.docked { grid-template-columns: minmax(0, 1fr) 300px; }
.bullshit .tablemain { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }
.bullshit .logdock { min-height: 0; display: flex; flex-direction: column; }
.bullshit .logdock:empty { display: none; }
.bullshit .logdock .gamelog { flex: 1; }
.bullshit .gamelog.drawer {
  position: absolute; z-index: 30; right: 14px; top: 64px; bottom: 230px; width: min(340px, calc(100% - 28px));
  box-shadow: -10px 10px 30px rgba(0, 0, 0, .35);
}
.bullshit .logbtn.on { background: var(--pick-tint); box-shadow: var(--pick-ring); }

/* ── the seats: everyone else, round the table from your left ────────── */
.bcseats {
  --cols: var(--n, 3);
  list-style: none; margin: 0; padding: 0; flex: none; display: grid; gap: 8px;
  grid-template-columns: repeat(var(--cols), minmax(0, 200px)); justify-content: center;
}
.bseat {
  --seat: var(--ink); position: relative; min-width: 0; padding: 6px 8px 6px 10px; display: flex; flex-direction: column; gap: 4px;
  border-radius: 12px; background: var(--panel); border: var(--panel-edge); border-left: 5px solid var(--seat);
  transition: outline-color var(--m-quick, 150ms);
}
.bseat.turn { outline: 3px solid var(--turn); outline-offset: 2px; }
.bseat.away .shead { opacity: .6; }
.bseat .shead { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bseat .face { flex: none; width: 24px; height: 24px; display: block; }
.bseat .face > .seatmark { display: block; width: 100%; height: 100%; overflow: visible; }
.bseat .sname { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.bseat .scount2 { display: none; }
.bseat .scount { flex: none; display: inline-flex; align-items: center; gap: 5px; font: 800 16px/1 var(--ui-font); font-variant-numeric: tabular-nums; }
.miniback { display: inline-block; width: 12px; height: 18px; border-radius: 3px; background: var(--back-pattern), var(--back); border: 1.5px solid var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.bseat .sline { height: 22px; display: flex; align-items: center; min-width: 0; }
.bseat .stag { font: 700 12px/1.2 var(--ui-font); color: var(--soft); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbub { max-width: 100%; padding: 2px 9px; border-radius: 99px; font: 700 13px/1.3 var(--ui-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--sheet); color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent); }
.sbub.claim { border-color: var(--ink); }
.sbub.pass { color: var(--soft); font-weight: 600; border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
/* (whose turn it is reads in ink, never the quietest thing on the tile) */
.sbub.thinking { color: var(--ink); font-weight: 700; border-color: var(--turn); }
.sbub.shout { background: var(--bad); color: var(--sheet); border-color: var(--bad); }
.sbub.win { background: var(--turn); color: var(--turn-ink); border-color: var(--turn); }

/* ── the middle: the rank called, the pile, the claim ─────────────────── */
.bcmid {
  position: relative; flex: 1; min-height: 0; display: grid; align-items: center; gap: 12px 24px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "rank pile claim";
}
.bcrank { grid-area: rank; justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 112px; text-align: center; }
.rankface {
  display: grid; place-items: center; width: calc(var(--cw) * 1.05); height: calc(var(--cw) * 1.47); border-radius: var(--card-radius, 8px);
  background: var(--card); color: var(--suit-s); border: var(--card-edge); box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
  font: var(--display-weight) calc(var(--cw) * .7)/1 var(--display);
}
.bcrank .rankname { font: var(--display-weight) var(--t-heading)/var(--lh-heading, 1.2) var(--display); }
.bcrank .ranknext { font-size: var(--t-note); }
.bcpilebox { grid-area: pile; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bcpile { position: relative; width: calc(var(--cw) * 2.6); height: calc(var(--cw) * 2.1); }
.bcpile .pcard { position: absolute; left: 50%; top: 50%; margin: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.bcpile.empty { border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 14px; }
.bcpilecount { margin: 0; min-width: 8.6em; text-align: center; white-space: nowrap; font: 700 var(--t-note)/1.3 var(--ui-font); color: var(--soft); font-variant-numeric: tabular-nums; }
.bcpilecount .house-figure-noun:first-child { margin-left: 0; }

.bcclaimbox { grid-area: claim; justify-self: start; display: flex; flex-direction: column; gap: 8px; width: min(100%, 340px); min-width: 0; }
.bcclaim { min-height: calc(4 * 1.4em + 30px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bcclaim p { margin: 0; }
.bcclaim .claimline { font-size: 18px; line-height: 1.3; }
.bcclaim .claimline .who { font-weight: 700; }
.bcclaim .lastcards { color: var(--turn); font-weight: 700; }
.bcclaim .sizes { font-size: var(--t-note); line-height: 1.4; color: var(--soft); font-variant-numeric: tabular-nums; }
.bcclaim .cantbe { font: 700 var(--t-note)/1.4 var(--ui-font); color: var(--good); }
.bcclaim .stood, .bcclaim .claimnote, .bcclaim .sizes { font-size: var(--t-note); }
/* the time to call, a bar emptying in place (the room's clock) */
/* (the clock keeps the height its seconds give it when idle, so the claim above never moves) */
.bcclaimbox .clock { width: 100%; min-height: calc(var(--t-note) * 1.5); }
.bcclaimbox .clock.mine .clockfill { background: var(--turn); }

/* the play turned up over the pile, and its verdict stamped on it */
.bcreveal { position: absolute; left: 50%; top: calc(var(--cw) * 1.05); transform: translate(-50%, -50%); z-index: 5; pointer-events: none; width: max-content; }
.bcreveal:empty { display: none; }
.revcards { --cw: calc(var(--cw-small) * 1.7); display: flex; justify-content: center; }
.revcards .card { box-shadow: 0 4px 12px rgba(0, 0, 0, .45); }
.revcards .card + .card { margin-left: calc(var(--cw) * -.35); }
.revcards .card.wrong { outline: 3px solid var(--bad); outline-offset: -3px; }
.revcards .card.sneaked { translate: 0 10px; }
.revcards .card.sneaked::after {
  content: 'SNEAKED'; position: absolute; left: 50%; bottom: 6%; translate: -50% 0; padding: 1px 4px; border-radius: 99px;
  font: 800 max(8px, calc(var(--cw) * .13))/1.3 var(--ui-font); letter-spacing: .04em; background: var(--bad); color: var(--card);
}
.bcreveal .stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 4px 14px; border-radius: 10px; white-space: nowrap;
  font: var(--display-weight) 30px/1.1 var(--display); background: var(--sheet); border: 4px solid currentColor; box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
.bcreveal .stamp.true { color: var(--good); }
.bcreveal .stamp.lie { color: var(--bad); }
.bcreveal .extra { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 18px; white-space: nowrap; padding: 2px 10px; border-radius: 99px; font: 800 13px/1.4 var(--ui-font); background: var(--bad); color: var(--sheet); }
.bcreveal .burst {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 26px; border-radius: 18px;
  background: var(--turn); color: var(--turn-ink); border: 3px solid var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transform: rotate(-2deg);
}
.bcreveal .burst b { font: var(--display-weight) 40px/1 var(--display); }
.bcreveal .burst span { font: 700 var(--t-note)/1.3 var(--ui-font); }
.bcmid.revealing .bcpile .pcard { filter: brightness(.8); }

/* ── banners: the house's (house/toast.js), over the middle ──────────── */
.house-banner .bcbanner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.house-banner .splashtitle { font: var(--display-weight) 44px/1.05 var(--display); color: var(--turn); }
.house-banner .splashsub { font: var(--t-note)/1.35 var(--ui-font); color: var(--ink); white-space: normal; max-width: 24em; }
.house-banner.bc-win { border: 3px solid var(--turn); }

/* ── your hand ──────────────────────────────────────────────────────── */
.bullshit .handwrap { flex: none; min-width: 0; }
.bullshit .handhead { display: flex; align-items: baseline; gap: 8px; font-size: var(--t-note); padding: 6px 10px 0; }
.bullshit .handhead b { font-size: var(--t-note); }
.bullshit .hand { padding: 22px 8px 8px; min-height: calc(var(--cw) * 1.4 + 32px); border-radius: 12px; transition: box-shadow var(--m-quick, 150ms), background-color var(--m-quick, 150ms); }
.bullshit .hand.active .card.pick { cursor: pointer; }
.bullshit .hand .card.rankc { box-shadow: 0 0 0 2px var(--turn), 0 2px 6px rgba(0, 0, 0, .35); }
.bullshit .hand .card.sel { transform: translateY(-14px); }
.bullshit .handwrap { border-radius: 12px; transition: box-shadow var(--m-quick, 150ms), background-color var(--m-quick, 150ms); }
.felt.bullshit.mineturn .handwrap { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--turn) 75%, transparent); background-color: color-mix(in srgb, var(--turn) 8%, transparent); }

/* ── the dock: status, and the moves, always the same size ──────────── */
.bullshit .dock {
  flex: none; display: flex; flex-direction: column; gap: 8px; padding: 8px 10px 10px; container-type: inline-size;
  border-radius: 14px; background: var(--panel); border: 2px solid transparent; transition: border-color .2s, background-color .2s;
}
.bullshit .dock.yours { border-color: var(--turn); background: color-mix(in srgb, var(--turn) 9%, var(--panel)); }
.bullshit .dock.calling { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, var(--panel)); }
.bullshit .status { min-width: 0; }
.bullshit .saybox { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bullshit .sayline { min-height: 2.9em; display: flex; align-items: flex-start; gap: 10px; }
.bullshit .say { margin: 0; font-size: var(--t-body); line-height: 1.45; min-width: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bullshit .say b { color: var(--turn); }
.bccue { flex: none; margin-top: 2px; padding: 1px 10px; border-radius: 99px; border: 1.5px solid var(--good); color: var(--good); font: 700 var(--t-note)/1.4 var(--ui-font); white-space: nowrap; }
.bullshit .controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bullshit .toolrow { display: flex; gap: 18px; align-items: center; min-width: 0; order: -1; min-height: var(--tool-h); }
.bullshit .tgroup { display: flex; align-items: center; gap: var(--s2, 8px); }
.bullshit .sortlabel, .bullshit .sneaklabel { font-size: var(--t-note); }
.bullshit .sneakseg { display: flex; align-items: center; gap: 6px; }
.bullshit .sneaker.off { opacity: .55; }
/* two places for moves, the main one at the right: a hidden one keeps its place */
.bullshit .actions { display: grid; grid-template-columns: 150px 240px; gap: 8px; margin-left: auto; flex: none; }
/* (a move too long for its place, "Pick cards to claim" on the narrowest
   phones, wraps to two lines inside the button's own height, never cut:
   the thin padding above and below is what lets two lines fit, so the
   dock doesn't grow when a label wraps) */
.bullshit .act { width: 100%; min-width: 0; padding: 2px 10px; }
.bullshit .act .label { min-width: 0; text-wrap: balance; }
/* Bullshit!: the one thing to press, big and hot */
.bullshit .btn.slot.act.bs {
  background: var(--bad); color: var(--sheet); border-color: var(--bad);
  font: var(--display-weight) 22px/1 var(--display); letter-spacing: .01em; box-shadow: 0 4px 0 color-mix(in srgb, var(--bad) 55%, #000);
}
.bullshit .btn.slot.act.bs:active { translate: 0 3px; box-shadow: 0 1px 0 color-mix(in srgb, var(--bad) 55%, #000); }
.bullshit .btn.slot.act.bs .house-key { color: var(--sheet); border-color: currentColor; }
@container (max-width: 760px) { .bullshit .actions { grid-template-columns: 120px 200px; } }

/* ── the result sheet ───────────────────────────────────────────────── */
.house-scrim-result .house-sheet.bc-result { --house-sheet-width: 600px; }
.house-result .scoresheet { align-self: stretch; text-align: left; min-width: 0; }
.house-result .house-post:empty { display: none; }
.scroll { overflow-x: auto; }
.scoresheet .legend { font-size: var(--t-note); margin: 8px 0 0; }
table.scores { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums lining-nums; }
table.scores th, table.scores td { padding: 6px 7px; text-align: right; border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); white-space: nowrap; }
table.scores .left { text-align: left; }
table.scores .pname { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
table.scores .now { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.rulesheet ul, .rulesheet ol { padding-left: 1.2em; }

/* ── the front door: five table settings still fit 1280×800 ─────────── */
@media (min-width: 900px) {
  .lobby:has(.choices) .choices { grid-template-columns: 2fr 1fr; }
}
.lobby .choice > .bots > .bots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2) var(--s3); }
.lobby .choice > .bots > .bots > .setting { flex-direction: column; align-items: stretch; gap: var(--s1); }
.lobby .choice > .bots > .bots > .setting > div:first-child { flex: none; }
.lobby .choice > .bots > .bots > .setting .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.lobby .choice > .bots > .bots > .setting .seg button { min-width: 0; min-height: 32px; padding-block: 3px; padding-inline: 4px; }
@media (pointer: coarse) { .lobby .choice > .bots > .bots > .setting .seg button { min-height: 44px; } }
/* (one to a row wherever the bots' panel is half a window: under 900px it shares the row with the friends', so three would be cramped) */
@media (max-width: 899px) {
  .lobby .choice > .bots > .bots { grid-template-columns: 1fr; }
}

/* ── smaller windows ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .bcmid { gap: 10px 14px; }
  .bcclaim .claimline { font-size: 16px; }
}
@media (max-width: 640px) {
  /* (the stamp lands from half again its size: on a phone that reaches past the screen for a moment, and the page would widen to hold it) */
  .felt.bullshit { height: 100dvh; gap: 0; overflow-x: clip; }
  .bullshit .tablemain { gap: 6px; }
  .felt.bullshit .bar .tools { display: none; }
  .felt.bullshit .bar .more { display: inline-flex; min-width: 44px; min-height: 44px; }
  /* two rows of seats past four, each a mark, a count and a short name */
  .bcseats { gap: 4px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
  .bcseats[data-n="5"], .bcseats[data-n="6"] { --cols: 3; }
  .bcseats[data-n="7"], .bcseats[data-n="8"] { --cols: 4; }
  .bcseats[data-n="9"], .bcseats[data-n="10"] { --cols: 5; }
  .bseat { padding: 4px 5px 4px 7px; gap: 2px; border-left-width: 4px; border-radius: 10px; }
  .bseat .face { width: 20px; height: 20px; }
  .bseat .shead { gap: 4px; }
  .bseat .sname { font-size: 13px; }
  .bseat .scount { font-size: 14px; gap: 3px; }
  .bseat .miniback { width: 9px; height: 13px; border-width: 1px; }
  .bseat .sline { height: 20px; }
  .sbub { font-size: 12px; padding: 1px 6px; }
  .bseat .stag { font-size: 12px; }
  /* the middle: the rank and the pile side by side, the claim under them */
  .bcmid { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "rank pile" "claim claim"; gap: 6px 12px; }
  .bcrank { justify-self: center; gap: 2px; min-width: 88px; }
  .rankface { width: calc(var(--cw) * .9); height: calc(var(--cw) * 1.26); font-size: calc(var(--cw) * .6); }
  .bcrank .rankname { font-size: 18px; }
  .bcrank .kicker { display: none; }
  .bcpile { width: calc(var(--cw) * 2.3); height: calc(var(--cw) * 1.8); }
  .bcclaimbox { justify-self: stretch; width: 100%; gap: 4px; }
  .bcclaim { min-height: calc(4 * 1.35em + 12px); gap: 2px; }
  .bcclaim .claimline { font-size: 15px; }
  .bcclaim .sizes, .bcclaim .cantbe { font-size: 13px; }
  /* (the pile sits at the right of a phone: the turned-up play hangs from its right edge, wide enough for the stamp, rather than centered on it and off the screen) */
  .bcreveal { top: calc(var(--cw) * .9); left: auto; right: 0; transform: translateY(-50%); min-width: 210px; }
  .bcreveal .stamp { font-size: 22px; padding: 3px 10px; border-width: 3px; }
  .bcreveal .burst { padding: 8px 16px; }
  .bcreveal .burst b { font-size: 28px; }
  .bullshit .handhead { display: none; }
  .bullshit .hand { padding: 18px 2px 6px; min-height: calc(var(--cw) * 1.4 + 26px); }
  .bullshit .dock { padding: 8px; gap: 6px; }
  .bullshit .controls { flex-direction: column; align-items: stretch; gap: 6px; }
  .bullshit .toolrow { order: 0; justify-content: space-between; gap: 8px; }
  .bullshit .actions { width: 100%; margin-left: 0; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px; min-height: 52px; }
  .bullshit .btn.slot.act.bs { font-size: 20px; min-height: 52px; }
  .bullshit .say { font-size: 14px; }
  .bullshit .sayline { min-height: calc(2 * 1.45 * 14px); }
  .bullshit .gamelog.drawer { right: 10px; width: calc(100% - 20px); }
  .house-banner .splashtitle { font-size: 32px; }
  table.scores th, table.scores td { padding: 6px 4px; font-size: 13px; }
}
@media (max-width: 400px) { .bullshit .sortlabel { display: none; } }
/* (the narrowest phones: the sneak switch keeps its choices a finger wide and gives up its word; it's named for a screen reader) */
@media (max-width: 360px) { .bullshit .sneaklabel { display: none; } }
/* phones held upright: five or more seats in a horseshoe round the pile, so
   they read round the table from your left (table.js, kit/seats.js horseshoe) */
@media (max-width: 640px) and (min-height: 521px) {
  .bcseats[data-shoe] { --cols: var(--hcols); }
  .bcseats[data-shoe] > .bseat { grid-row: var(--hr); grid-column: var(--hc); }
}
/* the narrowest phones: five seats to a row are ~55px, a mark and a count */
@media (max-width: 360px) {
  .bcseats { gap: 3px; }
  .bcseats:is([data-n="8"], [data-n="9"], [data-n="10"]) .sname { font-size: 11px; }
}
/* short phones: smaller cards */
@media (max-width: 640px) and (max-height: 700px) {
  body { --cw: 42px; }
  .bcclaim { min-height: calc(3 * 1.35em + 8px); }
}
/* phones on their side: one row of seats, the middle one line, the hand and
   the moves below; the log is in the menu */
@media (max-height: 520px) {
  body { --cw: 38px; }
  #app { padding: 0; }
  .felt.bullshit { height: 100dvh; padding: 4px 8px; border: 0; border-radius: 0; gap: 0; }
  .bullshit .tablemain { gap: 3px; }
  .felt.bullshit .bar .tools { display: none; }
  .felt.bullshit .bar .more { display: inline-flex; min-height: 30px; }
  .bullshit .bar .title { font-size: 14px; }
  .bullshit .handhead { display: none; }
  .bcseats { gap: 4px; grid-template-columns: repeat(var(--n), minmax(0, 160px)); }
  .bseat { flex-direction: row; align-items: center; gap: 4px; padding: 2px 6px; border-left-width: 4px; }
  .bseat .shead { flex: 1; min-width: 0; }
  .bseat .face { width: 18px; height: 18px; }
  .bseat .sname { font-size: 12px; }
  .bseat .scount { font-size: 13px; }
  .bseat .miniback { display: none; }
  .bseat .sline { height: 18px; flex: none; max-width: 50%; }
  .bseat .stag { display: none; }
  .sbub { font-size: 12px; padding: 0 5px; }
  .bcmid { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "rank pile claim"; gap: 4px 14px; }
  .bcrank { flex-direction: row; gap: 8px; min-width: 100px; }
  .bcrank .kicker, .bcrank .ranknext { display: none; }
  .rankface { width: calc(var(--cw) * .8); height: calc(var(--cw) * 1.1); font-size: calc(var(--cw) * .55); }
  .bcrank .rankname { font-size: 16px; }
  .bcpile { width: calc(var(--cw) * 2); height: calc(var(--cw) * 1.5); }
  .bcclaim { min-height: 78px; }
  .bcclaim .claimline { font-size: 14px; }
  .bcclaim .sizes, .bcclaim .cantbe, .bcclaim .stood, .bcclaim .claimnote { font-size: 12px; }
  .bcreveal { top: calc(var(--cw) * .75); }
  .bcreveal .stamp { font-size: 18px; }
  .bcreveal .burst { padding: 6px 12px; }
  .bcreveal .burst b { font-size: 22px; }
  .bullshit .hand { padding: 12px 4px 4px; min-height: calc(var(--cw) * 1.4 + 18px); }
  .bullshit .hand .card.sel { transform: translateY(-9px); }
  .bullshit .toolrow .sorters { display: none; }
  .bullshit .dock { padding: 3px 8px 4px; gap: 2px; }
  .bullshit .sayline { min-height: 1.45em; gap: 8px; }
  .bullshit .say { -webkit-line-clamp: 1; font-size: 13px; }
  .bullshit .controls { flex-direction: row; gap: 6px; }
  /* (on a phone's side narrower than 640px too: the sneak control stays at the left, in view, and the moves at the right) */
  .bullshit .toolrow { order: -1; justify-content: flex-start; }
  .bullshit .actions { width: auto; margin-left: auto; grid-template-columns: 120px 200px; gap: 4px; min-height: 36px; }
  .bullshit .act { min-height: 34px; font-size: 13px; padding-block: 2px; }
  .bullshit .btn.slot.act.bs { font-size: 18px; min-height: 36px; }
  .bullshit .toolrow { min-height: 34px; }
  .bullshit .dock kbd { display: none; }
  .house-banner .splashtitle { font-size: 26px; }
}
@media (pointer: coarse) {
  .bullshit .act, .bullshit .toolrow { min-height: 44px; }
  .felt.bullshit .bar .btn { min-height: 44px; }
}
@media (pointer: coarse) and (max-height: 520px) {
  .bullshit .act, .bullshit .toolrow { min-height: 38px; }
  .felt.bullshit .bar .btn { min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .bullshit .dock, .bullshit .hand, .bullshit .hand .card { transition: none; }
}
/* (the time to call keeps its place when there's nothing to call) */
.bcclaimbox .clock.idle { visibility: hidden; }
/* (phones: the count leads the seat's second line, so the name has the first) */
@media (max-width: 640px) {
  .bseat .shead { position: relative; }
  .bseat .shead .scount { display: none; }
  .bseat .scount2 { display: inline-block; flex: none; margin-right: 4px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: var(--room); font: 800 12px/18px var(--ui-font); font-variant-numeric: tabular-nums; }
  .bseat .sline { gap: 0; min-width: 0; }
  /* (while a seat says something, a claim or "Let it go", it has the line: the count steps aside, so the words aren't cut to "1 a…") */
  .bseat .sline:has(.sbub) .scount2 { display: none; }

  .bseat .face { margin-right: 2px; }
  /* (seven or more round a phone: a smaller mark and name) */
  .bcseats:is([data-n="7"], [data-n="8"], [data-n="9"], [data-n="10"]) .bseat { padding-left: 5px; padding-right: 3px; border-left-width: 3px; }
  .bcseats:is([data-n="7"], [data-n="8"], [data-n="9"], [data-n="10"]) .face { width: 18px; height: 18px; }
  .bcseats:is([data-n="7"], [data-n="8"], [data-n="9"], [data-n="10"]) .sname { font-size: 12px; text-overflow: clip; }
  .bcseats:is([data-n="9"], [data-n="10"]) .stag { font-size: 11px; letter-spacing: 0; }
}
