/* BloxComp UI — searchable dropdowns (every <select>) and the fruit / item pickers. Uses the shared tokens in site.css :root.
   "Blood Arena" look: chamfered corners (top-left + bottom-right), white frames with a thin blood rim, near-black plates,
   hot-red selected states with a white slash. Frames that hold popups are drawn with ::before/::after layers behind the
   content (never clip-path on the container itself) so dropdown lists can overflow panels. */

:root {
  --hot-text: #ff5a5f;    /* hot red that reads on near-black (links, search matches) */
  --tick: var(--hot);     /* check mark on the white corner tab */
  --sel-dim: #9a7878;     /* dim label text inside lists */
  --sel-line: #1d0507;    /* hairline between list rows */
}
html[data-theme="white"] { --hot-text: #c8102e; --sel-dim: #6a7080; --sel-line: #e3e6ec; }
html[data-theme="black"] { --sel-dim: #8e9099; --sel-line: #1c1c1f; }

.cbx[hidden], .cbx-pop[hidden], .cbx-o[hidden], .cbx-group[hidden], .cbx-none[hidden],
.pick-tools[hidden], .pick-tile[hidden], .pick-empty[hidden], .deck-tabs[hidden], .deck-panel[hidden] { display: none !important; }

/* shared little keycap */
.cbx-keys kbd, .pick-search kbd {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin-right: 3px;
  background: var(--sel-line); color: var(--text); font: 700 .68rem/1 var(--label);
  box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .28), inset 0 -2px 0 var(--rim);
  clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
}

/* ======================================================================
   Combobox: trigger
   ====================================================================== */
.cbx { position: relative; display: block; width: 100%; min-width: 150px; color: var(--text); font: 400 .95rem/1.3 var(--body); letter-spacing: normal; text-transform: none; }
.cbx-pop, .cbx-pop.cbx-sheet { color: var(--text); font: 400 .95rem/1.3 var(--body); letter-spacing: normal; text-transform: none; }
.cbx > select.cbx-native {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; min-width: 0; margin: 0; padding: 0;
  min-height: 0; border: 0; opacity: 0; pointer-events: none; box-shadow: none; clip-path: none;
}
.cbx-btn {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; width: 100%; height: 42px;
  margin: 0; padding: 0 8px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left;
  font: 700 .95rem/1 var(--body); letter-spacing: .01em; text-transform: none;
}
.cbx-btn::before, .cbx-btn::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.cbx-btn::before {
  inset: 0; background: var(--frame);
  clip-path: polygon(var(--ch-sm) 0, 100% 0, 100% calc(100% - var(--ch-sm)), calc(100% - var(--ch-sm)) 100%, 0 100%, 0 var(--ch-sm));
}
.cbx-btn::after {
  inset: 1.5px; background: var(--plate);
  clip-path: polygon(calc(var(--ch-sm) - 1px) 0, 100% 0, 100% calc(100% - var(--ch-sm) + 1px), calc(100% - var(--ch-sm) + 1px) 100%, 0 100%, 0 calc(var(--ch-sm) - 1px));
}
.cbx-btn:hover::after { background: var(--plate-2); }
.cbx-btn:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.cbx.open .cbx-btn::after { background: linear-gradient(rgba(var(--hot-rgb), .16), rgba(var(--hot-rgb), .16)), var(--plate); }
.cbx.is-invalid .cbx-btn::before { background: var(--hot); }
.cbx-btn:disabled { cursor: not-allowed; opacity: .5; }

.cbx-gl {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: var(--text);
  background: var(--sel-line); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .2);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.cbx-gl:empty { display: none; }
.cbx-gl img { width: 24px; height: 24px; object-fit: contain; }
.cbx-gl svg { width: 16px; height: 16px; }
.cbx-gl b { font: 400 .9rem/1 var(--display); }
.cbx-code { font: 800 .62rem/1 var(--label); letter-spacing: .04em; }
.cbx-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbx.is-placeholder .cbx-val { color: var(--muted); font-weight: 600; }
.cbx-chev {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--rim);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px); transition: transform .15s ease, background-color .15s ease;
}
.cbx-chev svg { width: 14px; height: 14px; }
.cbx.open .cbx-chev { background: var(--hot); color: var(--hot-ink); transform: rotate(180deg); }

/* ======================================================================
   Combobox: popup
   ====================================================================== */
.cbx-pop {
  position: absolute; z-index: 40; left: 0; top: calc(100% + 8px); min-width: 100%; width: max-content; max-width: min(380px, 92vw);
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.9));
}
.cbx.cbx-up .cbx-pop { top: auto; bottom: calc(100% + 8px); }
.cbx.cbx-right .cbx-pop { left: auto; right: 0; }
/* Keep fight-card options in the composer's scrollable flow instead of clipping
   an upward popup against the chat window. Mobile still uses the bottom sheet. */
.chat-lfg .cbx .cbx-pop:not(.cbx-sheet) {
  position: relative; top: auto; bottom: auto; left: auto; right: auto;
  margin-top: 8px; min-width: 0; width: 100%; max-width: 100%;
}
.chat-lfg .cbx-list { max-height: min(240px, 40dvh); }
.chat-lfg .cbx-keys { display: none; }
.cbx-in {
  padding: 2px; background: var(--frame);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.cbx-plate {
  background: var(--plate); box-shadow: inset 0 0 0 1px var(--rim);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
}
.cbx-head { display: none; }
.cbx-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; color: var(--sel-dim); box-shadow: inset 0 -2px 0 var(--hot); }
.cbx-search:focus-within { color: var(--text); box-shadow: inset 0 -3px 0 var(--hot), inset 0 0 0 1px rgba(var(--tint-rgb), .35); }
.cbx-search svg { flex: none; width: 16px; height: 16px; }
.cbx-search input, .cbx-search input:focus, .cbx-search input:hover {
  flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; outline: 0; background: none; color: var(--text);
  box-shadow: none; clip-path: none; transition: none;
  font: 600 .95rem var(--body);
}
.cbx-search input::placeholder { color: var(--sel-dim); }
.cbx-list {
  position: relative; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 0;
  scrollbar-width: thin; scrollbar-color: var(--rim) transparent;
}
.cbx-list:focus { outline: 0; }
.cbx-list:focus-visible { box-shadow: inset 0 0 0 2px rgba(var(--tint-rgb), .5); }
.cbx-g { padding: 11px 14px 5px; font: 800 .62rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--sel-dim); }
.cbx-o {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 6px 14px;
  border-bottom: 1px solid var(--sel-line); color: var(--text); font-weight: 700; cursor: pointer; user-select: none;
}
.cbx-o:last-child { border-bottom: 0; }
.cbx-o .cbx-gl { width: 28px; height: 28px; }
.cbx-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbx-t mark { background: none; color: var(--hot-text); text-decoration: underline 2px; text-underline-offset: 3px; }
.cbx-m { flex: none; margin-left: auto; color: var(--sel-dim); font: 600 .78rem/1 var(--body); font-variant-numeric: tabular-nums; }
.cbx-ck { flex: none; width: 16px; height: 16px; color: var(--hot-text); visibility: hidden; }
.cbx-o[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--hot); }
.cbx-o[aria-selected="true"] .cbx-ck { visibility: visible; }
.cbx-o.is-active { background: linear-gradient(100deg, var(--rim) 0 62%, rgba(var(--hot-rgb), .22) 62% 66%, transparent 66%); }
.cbx-o.is-active { color: #fff; }
.cbx-o.is-active .cbx-m { color: #f3e3e3; }
.cbx-o[aria-disabled="true"] { cursor: not-allowed; opacity: .45; }
.cbx-none { margin: 0; padding: 14px; color: var(--muted); font-size: .9rem; }
.cbx-keys {
  display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 9px 14px 11px; border-top: 1px solid var(--sel-line);
  color: var(--sel-dim); font: 600 .72rem/1.2 var(--label);
}
@media (hover: none), (pointer: coarse) { .cbx-keys { display: none; } }

/* open popups lift their stacking-context ancestors above later panels (set from site.js) */
.cbx-lift { z-index: 45 !important; }
.cbx-lift-pos { position: relative; }

/* narrow screens: the list opens as a bottom sheet (moved to <body> while open) */
.cbx-scrim { position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,.62); }
.cbx-pop.cbx-sheet {
  position: fixed; z-index: 999; left: 0; right: 0; top: auto; bottom: 0; width: auto; min-width: 0; max-width: none;
  filter: drop-shadow(0 -10px 24px rgba(0,0,0,.85));
}
.cbx-sheet .cbx-in { clip-path: polygon(var(--ch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--ch)); padding-bottom: 0; }
.cbx-sheet .cbx-plate { clip-path: polygon(calc(var(--ch) - 1px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--ch) - 1px)); padding-bottom: env(safe-area-inset-bottom, 0); }
.cbx-sheet .cbx-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px 10px;
  font: 400 1.3rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 3px 0 var(--ts-color);
}
.cbx-sheet .cbx-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--hot), transparent); }
.cbx-sheet .cbx-list { max-height: 58vh; }
.cbx-sheet .cbx-o { min-height: 50px; }

/* ======================================================================
   Pickers: search + tile grid (radio inputs stay the real controls)
   ====================================================================== */
.pick { gap: 10px; }
.pick-tools { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2px; }
.pick-search {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 14px; color: var(--sel-dim); cursor: text;
  background: var(--plate); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .3), inset 0 -2px 0 var(--hot);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.pick-search:focus-within { color: var(--text); box-shadow: inset 0 0 0 1px var(--frame), inset 0 -3px 0 var(--hot); }
.pick-search .ic { flex: none; width: 17px; height: 17px; }
.pick-search input, .pick-search input:focus, .pick-search input:hover {
  flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; outline: 0; background: none; color: var(--text);
  box-shadow: none; clip-path: none; transition: none;
  font: 600 .95rem var(--body);
}
.pick-search input::placeholder { color: var(--sel-dim); }
.pick-search kbd { margin: 0; }
@media (hover: none), (pointer: coarse) { .pick-search kbd { display: none; } }

.deck-tab {
  margin: 0; padding: 9px 16px; border: 0; color: var(--text); cursor: pointer; background: var(--plate);
  font: 800 .72rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .22);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.deck-tab span { margin-left: 5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.deck-tab:hover { background: var(--plate-2); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .5); }
.deck-tab[aria-selected="true"] { background: var(--hot); color: var(--hot-ink); box-shadow: none; }
.deck-tab[aria-selected="true"] span { color: inherit; opacity: .78; }
.deck-tab:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #000; }

.pick-grid {
  position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 14px 12px;
  max-height: 520px; overflow-y: auto; overscroll-behavior: contain; padding: 10px 6px 8px 4px; margin: 0 -6px 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--rim) transparent;
}
.pick-sm .pick-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px 10px; max-height: 420px; }
.pick-tile { position: relative; display: block; min-width: 0; cursor: pointer; }
.pick-tile > input { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pick-frame { position: relative; display: block; transition: transform .15s ease, filter .15s ease; }
.pick-plate {
  display: flex; flex-direction: column; height: 138px; padding: 2px; background: rgba(var(--tint-rgb), .28);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.pick-sm .pick-plate { height: 112px; }
.pick-art {
  position: relative; flex: 1; min-height: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(var(--blood-rgb), .8) 0, rgba(var(--blood-rgb), .22) 52%, var(--pop-bg) 100%);
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px);
}
.pick-art img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.75)); transition: transform .15s ease; }
.pick-sm .pick-art img { width: 54px; height: 54px; }
.pick-ph { font: 400 2.1rem/1 var(--display); color: #fff; text-shadow: 0 3px 0 var(--ts-color); }
.pick-tile-none .pick-ph { color: var(--muted); }
.pick-name {
  display: block; padding: 7px 5px 8px; background: #000; border-top: 1px solid rgba(var(--hot-rgb), .4); color: #fff; text-align: center;
  font: 800 .66rem/1.1 var(--label); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.pick-sm .pick-name { font-size: .6rem; letter-spacing: .06em; }
/* rarity pip (fruits only) */
.pick-tile[data-rarity] .pick-art::before { content: ""; position: absolute; top: 9px; left: 14px; width: 14px; height: 4px; transform: skewX(-24deg); background: var(--silver); }
.pick-tile[data-rarity="rare"] .pick-art::before { background: var(--gold); }
.pick-tile[data-rarity="mythical"] .pick-art::before { background: #ff3b47; }
.pick-tile[data-rarity="other"] .pick-art::before { display: none; }
.pick-ck { position: absolute; top: 0; right: 0; display: none; width: 34px; height: 34px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.pick-sm .pick-ck { width: 28px; height: 28px; }
.pick-ck svg { position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; color: var(--tick); }
.pick-sm .pick-ck svg { width: 12px; height: 12px; }

.pick-tile:hover > .pick-frame { transform: translateY(-5px); }
.pick-tile:hover .pick-plate { background: rgba(var(--hot-rgb), .75); }
.pick-tile:hover .pick-art { background: radial-gradient(circle at 50% 38%, rgba(var(--blood-rgb), 1) 0, rgba(var(--blood-rgb), .3) 52%, var(--pop-bg) 100%); }
.pick-tile > input:focus-visible + .pick-frame { outline: 2px solid #fff; outline-offset: 4px; }
.pick-tile > input:checked + .pick-frame { transform: none; filter: drop-shadow(0 0 12px rgba(var(--hot-rgb), .85)); }
.pick-tile > input:checked + .pick-frame .pick-plate { padding: 3px; background: var(--hot); }
.pick-tile > input:checked + .pick-frame .pick-name { background: var(--hot); color: var(--hot-ink); border-top-color: rgba(var(--tint-rgb), .5); }
.pick-tile > input:checked + .pick-frame .pick-art img { transform: scale(1.1); }
.pick-tile > input:checked + .pick-frame .pick-ck { display: block; }
.pick-empty { margin: 4px 0 0; padding: 18px 14px; text-align: center; color: var(--muted); background: var(--plate); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .14); }

/* ======================================================================
   Build deck: pickers as tabs beside a live "Your build" summary
   ====================================================================== */
.narrow.deck-page { max-width: 1400px; }
.deck { container-type: inline-size; margin-bottom: 18px; }
.deck-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.deck-tab { padding: 11px 18px; font-size: .76rem; }
.deck-body { display: flex; flex-direction: column; gap: 16px; }
.deck-panels { min-width: 0; }
.deck-panel { min-width: 0; }
.deck-panel + .deck-panel { margin-top: 20px; }
.deck.is-tabbed .deck-panel + .deck-panel { margin-top: 0; }
.deck.is-tabbed .pick-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.deck-sum { order: -1; position: relative; isolation: isolate; padding: 16px 16px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.deck-sum::before, .deck-sum::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.deck-sum::before {
  inset: 0; background: var(--frame);
  clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch));
}
.deck-sum::after {
  inset: 2px; background: linear-gradient(180deg, var(--plate-2), var(--plate) 60%); box-shadow: inset 0 0 0 1px var(--rim), inset 0 0 40px var(--inset-shadow);
  clip-path: polygon(calc(var(--ch) - 1px) 0, 100% 0, 100% calc(100% - var(--ch) + 1px), calc(100% - var(--ch) + 1px) 100%, 0 100%, 0 calc(var(--ch) - 1px));
}
.deck-sum-h {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0 0 6px;
  font: 400 1.35rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 3px 0 var(--ts-color);
}
.deck-sum-h::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--hot), transparent); }
.deck-sum > :not(.deck-sum-h):not(.deck-slot) { grid-column: 1 / -1; }
.deck-slot { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 9px 12px 9px 10px; }
.deck-slot::before, .deck-slot::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.deck-slot::before { inset: 0; background: rgba(var(--tint-rgb), .2); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.deck-slot::after { inset: 1px; background: var(--plate-2); clip-path: polygon(7.5px 0, 100% 0, 100% calc(100% - 7.5px), calc(100% - 7.5px) 100%, 0 100%, 0 7.5px); }
.deck-slot.is-current::before { background: var(--hot); }
.deck-slot.is-current::after { inset: 2px 2px 2px 5px; background: linear-gradient(90deg, rgba(var(--hot-rgb), .16), var(--plate-2) 70%); }
.deck-slot-ic {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  background: radial-gradient(circle at 50% 40%, rgba(var(--blood-rgb), .8), var(--pop-bg) 90%); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .18);
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px);
}
.deck-slot-ic img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.7)); }
.deck-slot-ic b { font: 400 1.2rem/1 var(--display); color: var(--muted); }
.deck-slot-t { flex: 1; min-width: 0; }
.deck-slot-t small { display: block; margin-bottom: 4px; font: 800 .6rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.deck-slot-t b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font: 400 1.08rem/1.15 var(--display); letter-spacing: .03em; text-shadow: 0 2px 0 var(--ts-color); }
.deck-slot.is-empty .deck-slot-t b { color: var(--muted); font: 700 .85rem/1.2 var(--body); text-shadow: none; }
.deck-change { flex: none; padding: 6px 2px; color: var(--hot-text); text-decoration: none; font: 800 .66rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.deck-change:hover { text-decoration: underline; text-underline-offset: 3px; }
.deck-change:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.deck-equip { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.deck-equip .btn { width: 100%; justify-content: center; }
.deck-equip-note { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.deck-equip-note b { color: var(--text); }
.deck-equip-note a { color: var(--hot-text); }
.deck-equip-ok { color: var(--won-text); font-weight: 700; }

@container (min-width: 880px) {
  .deck-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 20px; }
  .deck-sum { order: 0; position: sticky; top: 16px; grid-template-columns: 1fr; }
}
@container (max-width: 520px) {
  .deck-sum { grid-template-columns: 1fr; }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .pick-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px 8px; max-height: 440px; }
  .pick-sm .pick-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .pick-plate { height: 116px; }
  .pick-sm .pick-plate { height: 100px; }
  .pick-art img { width: 60px; height: 60px; }
  .pick-sm .pick-art img { width: 46px; height: 46px; }
  .deck-tab { padding: 10px 13px; font-size: .68rem; letter-spacing: .08em; }
}

/* ---------- motion, forced colors ---------- */
@media (prefers-reduced-motion: reduce) {
  .cbx-chev, .pick-frame, .pick-art img { transition: none; }
  .pick-tile:hover > .pick-frame { transform: none; }
  .pick-tile > input:checked + .pick-frame .pick-art img { transform: none; }
}
@media (forced-colors: active) {
  .cbx-btn, .pick-search, .deck-tab { border: 1px solid ButtonText; }
  .cbx-in, .deck-sum, .deck-slot { border: 1px solid CanvasText; }
  .cbx-o.is-active { outline: 2px solid Highlight; outline-offset: -2px; }
  .cbx-o[aria-selected="true"] .cbx-ck { color: Highlight; }
  .deck-tab[aria-selected="true"] { border: 3px solid Highlight; }
  .pick-plate { border: 1px solid CanvasText; }
  .pick-tile > input:checked + .pick-frame { outline: 3px solid Highlight; outline-offset: 2px; }
  .pick-tile > input:focus-visible + .pick-frame { outline: 3px solid Highlight; }
  .pick-ck { forced-color-adjust: none; background: Highlight; }
}

/* viewport probe used by site.js to measure the viewport in getBoundingClientRect coordinates */
.cbx-probe { position: fixed; inset: 0; z-index: -1; visibility: hidden; pointer-events: none; }
