/* /kort: term cards on the BMC umbrella, then the group's result. Contract: ../../DESIGN.md
   Layouts: "board" = laptop/projector (>= 1024 wide and >= 600 tall): the whole umbrella fits, no page scroll.
            "sheet" = phone/tablet (everything else): areas in a scrolling list, unplaced cards in a bottom sheet.
   1 start  2 header  3 zones + cards  4 board layout  5 sheet layout  6 result */

/* ================= 1 start ================= */
.kstart { min-height: 100dvh; display: flex; flex-direction: column; padding-block: var(--s-2) var(--s-5); }
.kstart-in { margin-block: auto; padding-top: var(--s-4); display: grid; gap: var(--s-5); align-items: center; }
.kstart .lead { margin-top: var(--s-3); }
.startform { margin-top: var(--s-4); max-width: 30rem; display: grid; gap: var(--s-3); }
.startform .btn { justify-self: start; min-width: 10rem; }
@media (min-width: 1024px) { .kstart-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); } }

/* the umbrella in miniature: four questions around the canvas */
.umb {
  display: grid; gap: var(--s-1); max-width: 34rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "over over over" "omv cv omh" "under under under";
}
.umb > div { display: flex; flex-direction: column; gap: 0.15em; padding: var(--s-2); border: var(--rule) dashed var(--line); border-radius: var(--radius); font-size: var(--t-small); line-height: 1.25; }
.umb b { font-weight: 600; }
.umb span { color: var(--text-muted); }
.umb .u-over { grid-area: over; } .umb .u-under { grid-area: under; }
.umb .u-omv { grid-area: omv; } .umb .u-omh { grid-area: omh; }
.umb .u-cv { grid-area: cv; justify-content: center; min-height: 7.5rem; border-style: solid; background: var(--surface); }
.umb .u-cv b { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h3); }

/* ================= 2 header (game and result) ================= */
.gbar { view-transition-name: kort-bar; }
.gbar-in { display: flex; align-items: center; gap: var(--s-1) var(--s-3); min-height: var(--header-h); padding: var(--s-1) var(--gutter); }
.gtitle { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.gt { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h3); line-height: 1.05; }
.gname { font-size: var(--t-small); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gname b { color: var(--text); font-weight: 600; }
.gcount { display: none; font-size: var(--t-small); color: var(--text-muted); white-space: nowrap; }
.gcount b { color: var(--text); font-weight: 600; }
.gsent { font-size: var(--t-small); white-space: nowrap; }
.gbar .linkbtn { white-space: nowrap; }
.gbar .linkbtn.armed { background: var(--text); color: var(--bg); text-decoration: none; padding: 0 .75em; border-radius: 6px; }
.gbar .gprog > i { background: var(--text); }
@media (min-width: 600px) {
  .gtitle { flex-direction: row; align-items: baseline; gap: var(--s-3); }
  .gcount { display: inline; }
}
@media (max-width: 599px) { .gt { white-space: nowrap; } .gbar-in { gap: var(--s-1) 0.75rem; } }
@media (max-width: 419px) { .gsent { display: none; } }

/* ================= 3 zones + cards ================= */
.zone { position: relative; min-width: 0; border-radius: var(--radius);
  outline: var(--rule) dashed transparent; outline-offset: -0.375rem;
  transition: background-color var(--dur-2) var(--ease-out), outline-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.outside { border: var(--rule) dashed var(--line); padding: var(--s-2); }
.blk { border-radius: 0; background: var(--surface); border-right: var(--rule) solid var(--line); border-bottom: var(--rule) solid var(--line); padding: var(--s-1) var(--s-2) var(--s-2); display: flex; flex-direction: column; }
.bmc { display: grid; border-left: var(--rule) solid var(--line); border-top: var(--rule) solid var(--line); }
.bmc-l { display: none; }

.zname {
  all: unset; box-sizing: border-box; display: block; padding-block: 0.15rem;
  font-size: var(--t-small); line-height: 1.25; cursor: pointer; border-radius: 3px; overflow-wrap: break-word;
}
.blk .zname { hyphens: auto; } /* block names only; chips never hyphenate */
.zname .zn { font-weight: 600; }
.zname .zx { font-style: italic; color: var(--text-muted); }
.zname:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--s-1); margin-top: var(--s-1); min-width: 0; }

.card {
  all: unset; box-sizing: border-box; position: relative;
  display: inline-flex; flex-direction: column; justify-content: center; max-width: 100%; min-height: 2rem;
  padding: 0.25rem 0.65rem; background: var(--surface); border: var(--rule) solid var(--text-muted); border-radius: var(--radius);
  font-size: var(--card-fs, var(--t-small)); font-weight: 600; line-height: 1.2; hyphens: none; overflow-wrap: normal; word-break: keep-all;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.card .en { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--text-muted); }
.board .card .en, .unknown .card .en { display: none; }
.card:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
/* touch: the chip stays small, its hit area is >= 44px */
@media (pointer: coarse) { .card { min-height: 2.25rem; } .card::after { content: ""; position: absolute; inset: -0.25rem -0.125rem; } }
@media (hover: hover) { .card:hover { border-color: var(--text); } }
/* picked: the card lifts */
.card.sel { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateY(-0.25rem); box-shadow: var(--shadow-lift); }
.card.sel .en { color: var(--surface-2); }
.card.lift { opacity: 0.35; }
.card.flying { z-index: 30; }
.ghost { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; cursor: grabbing; border-color: var(--text); box-shadow: var(--shadow-lift); rotate: -2deg; scale: 1.04; transition: none; }

/* a card is picked or dragged: every area shows it accepts it */
.selecting .blk, .dragging .blk { outline-color: var(--text-muted); cursor: pointer; }
.selecting .outside, .dragging .outside, .selecting .unknown, .dragging .unknown { border-color: var(--text); cursor: pointer; }
.zone.target { outline: 3px solid var(--text); outline-offset: -3px; background-color: var(--surface-2); }
@media (hover: hover) {
  .selecting .board .zone:hover, .selecting .unknown:hover { outline: 3px solid var(--text); outline-offset: -3px; background-color: var(--surface-2); }
}
/* while a card flies, it may cross area edges */
.flying .board, .flying .board .zone { overflow: visible; }

/* chips in an area never break a word: a chip whose longest word is wider than the area shrinks its type to fit
   (--len = letters in the longest word, set by kort.js; 0.61em is an average letter of Instrument Sans 600, measured) */
.board .zone, .unknown { container-type: inline-size; }
.board .card, .unknown .card { font-size: min(var(--card-fs, var(--t-small)), calc((100cqi - 1.25rem) / (var(--len, 10) * 0.61))); }

/* the tray (unplaced cards) and Ved ikke */
.tray { border-radius: 0; background: var(--surface-2); }
.thead { display: flex; align-items: center; gap: var(--s-1) var(--s-3); min-width: 0; }
.trayh { font-size: var(--t-body); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.tmsg { flex: 1 1 0; min-width: 0; font-size: var(--t-small); line-height: 1.35; }
.tmsg .help { color: var(--text-muted); }
.gstatus:not(:empty) + .help { display: none; }
.gstatus .tag { margin-right: 0.35em; }
.help .hs { display: none; }
.thead .btn { flex: none; min-width: 7rem; min-height: var(--tap); }
.unknown { background: var(--bg); border: var(--rule) solid var(--line); padding: var(--s-1) var(--s-2); }
.tray.empty .tchips, .tray.empty .help { display: none; }
.tray.target { outline-offset: -3px; }

/* ================= 4 board layout: laptop and projector ================= */
@media (min-width: 1024px) and (min-height: 600px) {
  /* height: the canvas gets what its cards need first; the tray takes the rest (it scrolls), never less than 7.25rem */
  body.game { height: 100dvh; overflow: hidden; }
  .game-app { --side: clamp(9.75rem, 11.5vw, 17rem); --tray-min: 7.25rem; height: 100dvh; display: grid;
    grid-template-rows: auto minmax(min-content, 1fr) minmax(var(--tray-min), max-content); }
  .gbar-in { padding-inline: var(--s-3); }

  .board { display: grid; grid-template-columns: var(--side) minmax(0, 1fr) var(--side); gap: var(--s-1) var(--s-2); padding: var(--s-1) var(--s-2); min-height: 0;
    max-height: calc(100dvh - 4rem - var(--tray-min)); overflow: auto; } /* last resort: the board scrolls, a block never clips */
  .cv { display: grid; grid-template-rows: auto minmax(min-content, 1fr) auto; gap: var(--s-1); min-height: 0; }
  .bmc { grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(min-content, auto)); } /* rows take what their cards need, the rest is shared */
  /* a block with 3+ cards packs them denser */
  .blk:has(.card:nth-child(3)) .chips { gap: 0.25rem; }
  .blk:has(.card:nth-child(3)) .card { min-height: 1.75rem; padding-block: 0.0625rem; }
  .blk { padding-inline: 0.375rem; outline-offset: -2px; }
  .board .card { padding-inline: 0.45rem; }
  .game-app:has(.tray.empty) { --tray-min: 4.75rem; } /* all placed: the tray is one row */

  /* Over / Under: a band, the question first */
  .z-over, .z-under { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); padding-block: var(--s-1); min-height: 3.25rem; }
  .z-over .zname, .z-under .zname { flex: 0 1 auto; }
  .z-over .chips, .z-under .chips { flex: 1 1 10rem; margin-top: 0; }
  /* Omkring: a column, the question on top */
  .z-omv, .z-omh { display: flex; flex-direction: column; padding-inline: 0.5rem; }
  .z-omv .zq, .z-omh .zq, .z-omv .zx, .z-omh .zx { display: block; margin-top: 0.15rem; }
  .z-omv .chips, .z-omh .chips { flex-direction: column; align-items: flex-start; margin-top: var(--s-2); }

  .tray {
    display: grid; grid-template-columns: minmax(0, 1fr) var(--side); grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas: "head head" "chips unk"; gap: var(--s-2) var(--s-3);
    min-height: 0; padding: var(--s-1) var(--s-3) var(--s-2); border-top: var(--rule) solid var(--line);
  }
  .thead { grid-area: head; }
  .trayx { display: none; }
  .tchips { grid-area: chips; overflow: auto; margin: 0; padding: 0.375rem 0.25rem 0.25rem; min-height: 0; }
  .tchips .card { flex-direction: row; align-items: baseline; gap: 0.5em; }
  .unknown { grid-area: unk; overflow: auto; min-height: 0; }
  /* all placed: one row, Ved ikke at the left, Send at the right */
  .tray.empty { grid-template-areas: "unk head"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; align-items: center; }
  .tray.empty .unknown { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); }
  .tray.empty .unknown .chips { margin-top: 0; }
}
@media (min-width: 1600px) and (min-height: 900px) {
  .game-app { --card-fs: var(--t-body); }
  .zname, .tmsg { font-size: var(--t-body); }
}

/* ================= 5 sheet layout: phone and tablet ================= */
@media not all and (min-width: 1024px) and (min-height: 600px) {
  .board { display: grid; grid-template-columns: minmax(0, 1fr); padding: var(--s-2) var(--gutter) calc(var(--tray-h, 10rem) + var(--s-4)); }
  .cv { display: contents; }
  .board .card { touch-action: pan-y; }

  /* bottom sheet: always reachable, Send under the thumb */
  .tray {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    display: flex; flex-direction: column; gap: var(--s-1);
    padding: var(--s-1) var(--gutter) calc(var(--s-1) + env(safe-area-inset-bottom));
    border-top: var(--rule) solid var(--text);
  }
  .thead { gap: var(--s-1) var(--s-2); }
  .trayh { flex: 1 1 auto; font-size: var(--t-small); }
  .thead .btn { min-width: 0; min-height: var(--tap); padding-inline: 1.25em; }
  .tmsg { order: 3; flex-basis: 100%; }
  .thead { flex-wrap: wrap; }
  .help .hl { display: none; }
  .help .hs { display: inline; }
  .tchips {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--gutter));
    padding: 0.375rem var(--gutter) 0.375rem; scroll-padding-inline: var(--gutter);
  }
  .tchips .card { flex: none; scroll-snap-align: start; touch-action: pan-x; }
  .tchips .card .en { display: none; }
  .tray.open .tchips { flex-wrap: wrap; overflow-x: hidden; overflow-y: auto; max-height: 55dvh; }
  .tray.open .tchips .card { touch-action: pan-y; flex: 0 1 auto; }
  .tray.open .tchips .card .en { display: block; font-size: 0.94em; }
  .tray.empty .trayx { display: none; }

  .unknown { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap); padding: 0.125rem 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
  .unknown .zname { flex: none; }
  .unknown .chips { flex: 1 1 0; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding-block: 0.375rem; }
  .unknown .card { flex: none; touch-action: pan-x; }
  .selecting .unknown, .dragging .unknown { border-color: var(--line); }
}

/* phone and tablet: the umbrella as one compact list with thin dividers, in umbrella order */
@media not all and (min-width: 1024px) and (min-height: 600px) {
  .board { grid-template-areas: "over" "omv" "bmc" "omh" "under"; }
  .z-over { grid-area: over; } .z-under { grid-area: under; } .z-omv { grid-area: omv; } .z-omh { grid-area: omh; }
  .bmc { grid-area: bmc; grid-template-columns: minmax(0, 1fr); border: 0; }
  .bmc-l { display: block; padding: var(--s-3) 0 var(--s-1); font-size: var(--t-small); font-weight: 600; color: var(--text-muted); border-bottom: var(--rule) solid var(--text); }
  .board .zone { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: var(--s-2) 0 var(--s-2) 0.75rem; min-height: 3.25rem; outline: 0; }
  .z-over { border-top: var(--rule) solid var(--text) !important; }
  .board .zname .zq { color: var(--text-muted); }
  .board .zname .zx { display: none; }
  .board .chips:empty { display: none; }
  /* picked card: each row shows it accepts it (left bar), the tapped one fills */
  .board .zone::before { content: ""; position: absolute; left: 0; top: var(--s-2); bottom: var(--s-2); width: 3px; border-radius: 2px; background: var(--text); transform: scaleY(0); transition: transform var(--dur-2) var(--ease-out); }
  .selecting .board .zone::before, .dragging .board .zone::before { transform: none; }
  .board .zone.target { outline: 0; background: var(--surface-2); }
}
/* tablet: the nine blocks in two columns */
@media (min-width: 600px) and (max-width: 1023px) {
  .bmc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-4); }
  .bmc-l { grid-column: 1 / -1; }
}
/* laptop: the nine blocks in their canvas places */
@media (min-width: 1024px) and (min-height: 600px) {
  .b-kp { grid-column: 1 / 3; grid-row: 1 / 3; }
  .b-ka { grid-column: 3 / 5; grid-row: 1; } .b-kr { grid-column: 3 / 5; grid-row: 2; }
  .b-vp { grid-column: 5 / 7; grid-row: 1 / 3; }
  .b-cr { grid-column: 7 / 9; grid-row: 1; } .b-ch { grid-column: 7 / 9; grid-row: 2; }
  .b-cs { grid-column: 9 / 11; grid-row: 1 / 3; }
  .b-co { grid-column: 1 / 6; grid-row: 3; } .b-rs { grid-column: 6 / 11; grid-row: 3; }
}

/* ================= 6 result ================= */
.rmain { padding-block: var(--s-4) var(--s-6); }
.score { display: grid; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: var(--rule) solid var(--text); }
.scoreh { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.01em; max-width: 18ch; }
.scoreh .sn { display: block; font-size: var(--t-hero); line-height: 0.9; letter-spacing: -0.03em; }
.areas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); align-self: end; }
.area { display: grid; gap: var(--s-1); padding-top: var(--s-2); border-top: var(--rule) solid var(--text); }
.area .an { font-size: var(--t-small); color: var(--text-muted); }
.area b { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h2); line-height: 1; }
.area .meter > i { transition-delay: calc(var(--dur-3) + var(--i, 0) * var(--stagger)); }
@media (min-width: 600px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .score { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--s-5); } }

.rsub { display: flex; align-items: baseline; gap: 0.5em; margin: var(--s-5) 0 var(--s-3); font-size: var(--t-h3); font-weight: 600; line-height: 1.2; }
.rsub .num { color: var(--text-muted); font-weight: 500; }
.rcards { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.rcards .rc { animation-delay: calc(var(--dur-3) + var(--i, 0) * var(--stagger)); }

.rc { display: flex; flex-direction: column; min-width: 0; padding: var(--s-3); background: var(--surface); border: var(--rule) solid var(--line); border-radius: var(--radius); }
.rturn-in { display: grid; flex: 1 0 auto; }
.rface { grid-area: 1 / 1; min-width: 0; }
.rc:not(.turned) .rback, .rc.turned .rfront { display: none; }
.rh { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.st { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0.125rem 0.625rem; border-radius: var(--radius); font-size: var(--t-small); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.s-ikke .st { background: var(--text); color: var(--bg); }
.s-laer .st { background: var(--surface-2); color: var(--text); }
.s-ogsaa .st, .s-rigtig .st { background: var(--result); color: var(--result-ink); }
.rn { font-size: var(--t-small); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rt { margin-top: var(--s-2); font-size: var(--t-h3); font-weight: 600; line-height: 1.2; }
.rt i { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--t-body); color: var(--text-muted); }
.rl { margin-top: var(--s-1); font-size: var(--t-small); color: var(--text-muted); }
.rp { margin-top: var(--s-3); display: grid; gap: 0.25rem; font-size: var(--t-small); }
.rp div { display: grid; grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr); gap: var(--s-2); }
.rp dt { color: var(--text-muted); }
.rp dd { margin: 0; font-weight: 600; }
.rbt { font-size: var(--t-small); font-weight: 600; color: var(--text-muted); }
.rbt-t { color: var(--text); }
.why { margin-top: var(--s-1); font-size: var(--t-body); line-height: 1.45; }
.rf { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); margin-top: var(--s-3); padding-top: var(--s-2); border-top: var(--rule) solid var(--surface-2); }
.adr { font-size: var(--t-small); color: var(--text-muted); }
.rturn { margin-left: auto; min-height: var(--tap); padding-inline: 1em; font-size: var(--t-small); }

.rright { margin-top: var(--s-5); }
.rright > summary { list-style: none; }
.rright > summary::-webkit-details-marker { display: none; }
.rright[open] > summary { margin-bottom: var(--s-3); }
.rright[open] .rc { animation-delay: calc(var(--i, 0) * var(--stagger)); }
.closing { margin-top: var(--s-5); max-width: 40ch; font-family: var(--font-display); font-size: var(--t-h3); line-height: 1.3; }

/* result row button: phone only */
.rrow { display: none; }
@media (max-width: 599px) {
  .rmain { padding-top: var(--s-3); }
  .score { gap: var(--s-3); padding-bottom: var(--s-3); }
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
  .area b { font-size: var(--t-h3); }
  .rsub { margin: var(--s-4) 0 0; }
  /* result cards become compact rows (term + status) that open like an accordion */
  .rcards { display: block; border-top: var(--rule) solid var(--text); }
  .rc { padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .rrow {
    all: unset; box-sizing: border-box; display: flex; align-items: center; gap: var(--s-2); width: 100%; min-height: 3.25rem; padding-block: var(--s-1);
    cursor: pointer; font-weight: 600; font-size: var(--t-body); line-height: 1.25;
  }
  .rrow:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
  .rrt { flex: 1 1 auto; min-width: 0; }
  .rrow::after { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin: 0 0.25rem 0.2rem 0; border-right: var(--rule) solid var(--text-muted); border-bottom: var(--rule) solid var(--text-muted); transform: rotate(45deg); transition: transform var(--dur-2) var(--ease-out); }
  .rc.open .rrow::after { transform: translateY(0.2rem) rotate(-135deg); }
  .rc:not(.open) .rturn-in, .rc:not(.open) .rf { display: none; }
  .rturn-in { display: block; padding-bottom: var(--s-1); }
  .rc:not(.turned) .rback { display: block; margin-top: var(--s-2); }
  .rfront .rh, .rfront .rt b, .rturn { display: none; }
  .rfront .rt { margin-top: 0; font-size: var(--t-small); }
  .rbt-t { display: none; }
  .rp { margin-top: var(--s-2); }
  .rf { margin-top: 0; padding: var(--s-1) 0 var(--s-2); border-top: 0; }
  .rright { margin-top: var(--s-4); }
  .rright > summary { width: 100%; }
}

/* ================= 7 BMC-only day-1 game (no areas around the canvas) ================= */
.mini {
  display: grid; gap: 3px; max-width: 34rem; padding: 3px; border: var(--rule) solid var(--line); border-radius: var(--radius); background: var(--line);
  grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(3.25rem, auto)) minmax(2.5rem, auto);
}
.mini > div { padding: 0.375rem 0.375rem; background: var(--surface); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; overflow-wrap: normal; hyphens: manual; }
.mini .m-kp { grid-column: 1 / 3; grid-row: 1 / 3; }
.mini .m-ka { grid-column: 3 / 5; grid-row: 1; } .mini .m-kr { grid-column: 3 / 5; grid-row: 2; }
.mini .m-vp { grid-column: 5 / 7; grid-row: 1 / 3; }
.mini .m-cr { grid-column: 7 / 9; grid-row: 1; } .mini .m-ch { grid-column: 7 / 9; grid-row: 2; }
.mini .m-cs { grid-column: 9 / 11; grid-row: 1 / 3; }
.mini .m-co { grid-column: 1 / 6; grid-row: 3; } .mini .m-rs { grid-column: 6 / 11; grid-row: 3; }
@media (max-width: 599px) { .mini > div { font-size: 0.6875rem; padding: 0.25rem; } }
@media (min-width: 1024px) and (min-height: 600px) {
  .board.bmc-only { grid-template-columns: minmax(0, 1fr); }
  .board.bmc-only .cv { grid-template-rows: minmax(min-content, 1fr); }
}
@media not all and (min-width: 1024px) and (min-height: 600px) {
  .board.bmc-only { grid-template-areas: "bmc"; }
}
.s-tom .st { background: var(--surface-2); color: var(--text); }
