.armory-screen { display: block; }
/* Local .sm size modifier — the prototype assumed a global one this project never had. */
.armory-screen .sm { font-size: 0.82rem; }

.am-intro {
  display: flex; justify-content: space-between; align-items: center;
  gap: 30px;
  padding: 28px 32px;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(184,155,95,0.12), transparent 55%),
    var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
}
.am-intro-copy { min-width: 0; }
.am-eyebrow,
.tu-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze-2); font-weight: 600;
}
.am-title,
.tu-title { font-family: var(--font-display); font-size: 1.9rem; margin: 4px 0; font-weight: 500; }
.am-lede,
.tu-lede { max-width: 560px; margin: 0; color: var(--ink-3); line-height: 1.5; }

.am-obols,
.tu-balance {
  display: flex; align-items: center; gap: 14px; flex: none;
  padding: 14px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
}
.am-obol-n,
.tu-balance-n { font-size: 1.8rem; color: var(--gold); font-weight: 600; line-height: 1.05; }
.obol-coin { color: var(--gold); }
.obol-coin.lg { font-size: 1.9rem; line-height: 1; }

/* .am-cats/.am-cat use THE shared page-tab component (layout.css). Do NOT add a local copy — this sheet links after layout.css, so it would SHADOW the shared rules and drift silently. */

/* Named areas, not two plain columns: whatever sits ABOVE the grid (the seat/era filters, the
   era filter) belongs to the LEFT column only, so the preview starts level with .am-grid
   instead of level with the filters. A tab with no head simply omits the element and the row
   collapses. Same shape as .nl-layout's toolbar/filters/main. */
.am-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  grid-template-areas:
    "head ."
    "grid detail";
  gap: 24px;
  align-items: start;
}
.am-head      { grid-area: head; min-width: 0; }
.am-grid-wrap { grid-area: grid; min-width: 0; }
.am-detail    { grid-area: detail; }
/* The head owns the gap to the grid; the row gap would double it. */
.am-layout > .am-head { margin-bottom: -8px; }

.am-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.am-target { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.am-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  cursor: pointer; font: inherit; font-size: 0.88rem;
}
.am-chip:hover { border-color: var(--bronze); color: var(--ink); }
.am-chip.on { background: var(--bg-3); border-color: var(--bronze); color: var(--bronze-2); }
/* Mine/Opponent legend only — a fixed blue-vs-red pair reads as "you vs them" at 10px,
   which the seat tokens no longer promise now that either side can wear any livery. */
.am-chip-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
/* The house pair itself (colour.azure / colour.peach, mirroring --p1/--p2), not a second
   invented pair: the dot has to name the army the preview below it draws. */
.am-chip-dot.p1 { background: #1d4670; }
.am-chip-dot.p2 { background: #e29c78; }

.am-eras { display: flex; gap: 6px; flex-wrap: wrap; }
.am-tab {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  color: var(--ink-2);
  font: inherit; font-size: 0.85rem;
  cursor: pointer;
}
.am-tab:hover { background: var(--bg-2); color: var(--ink); }


.am-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.am-grid-boards, .am-grid-materials {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}
.am-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 14px 12px 12px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.am-card:hover { transform: translateY(-2px); border-color: var(--bronze); }
.am-card:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.am-card.is-selected { border-color: var(--bronze); box-shadow: 0 0 0 2px rgba(184,137,58,0.2); }
.am-card.is-active { background: var(--bg-3); }
.am-card.is-locked { opacity: 0.78; }

/* Era + flag share one flow row so they push apart (era ellipsises) instead of colliding as absolute corners do on narrow cards. */
.am-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 1.1em; margin-bottom: 10px;
}
.am-card-era {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.am-card-flag {
  flex: 0 0 auto;
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--laurel-2); font-weight: 600;
}
.am-card-dupe {
  flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  color: var(--lapis-2);
  background: rgba(90,130,180,0.16);
  border: 1px solid rgba(90,130,180,0.4);
  border-radius: 100px; padding: 1px 7px;
}
.am-card-preview {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  /* Only the optical gap around the pieces — the flow header row carries its own height now. */
  padding: 10px 0 14px; min-height: 80px;
}
.am-card-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.am-card-civ { margin-bottom: 8px; min-height: 1em; }
.am-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--divider);
  font-size: 0.78rem;
}
.am-price { color: var(--gold); font-family: var(--font-mono); font-weight: 600; }
.am-card-lock {
  position: absolute; bottom: 11px; right: 12px;
  font-size: 0.85rem; color: var(--ink-3);
}

.armory-screen .pill-laurel {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600; border: 1px solid;
  background: color-mix(in srgb, var(--laurel) 16%, transparent);
  border-color: color-mix(in srgb, var(--laurel) 45%, transparent);
  color: var(--laurel-2);
}

.am-board-swatch {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden;
  margin: 0 0 10px; border: 1px solid var(--border);
}
.am-bsw { display: block; }
.am-bsw-plain  { background: var(--sq-plain); }
.am-bsw-hill   { background: var(--sq-hill); }
.am-bsw-forest { background: var(--sq-forest); }
.am-bsw-river  { background: var(--sq-river); }
.am-bsw-desert { background: var(--sq-desert); }

/* Piece chip — shared by cards, detail rail and preview. Palette comes in as --pc-p1/--pc-p2/--pc-rim so one rule serves every skin. */
.am-piece {
  --pc-p1: #2b5e8a; --pc-p2: #1a4266; --pc-rim: #b7893a;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--pc-p1), var(--pc-p2));
  border: 1.5px solid var(--pc-rim);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.5),
    inset 0 2px 3px rgba(255,255,255,0.25),
    inset 0 -2px 3px rgba(0,0,0,0.35);
  color: var(--pc-rim);
}
.am-piece.is-strat {
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 2px 6px color-mix(in srgb, var(--gold) 45%, transparent),
    inset 0 2px 3px rgba(255,255,255,0.3),
    inset 0 -2px 3px rgba(0,0,0,0.4);
  border-color: var(--gold);
}
.am-piece-gem {
  font-family: var(--font-display); font-size: 0.95rem; line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.am-piece-gem.is-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em; }
/* Normalized SVG glyph — every skin renders at one size regardless of script. */
.am-piece-glyph {
  /* Fill the disc (a definite size) so the glyph scales with the piece; a fixed px size mis-sized it across the preview disc and the 34px cards. */
  display: block; width: 100%; height: 100%; overflow: visible;
}
.am-piece-glyph text {
  font-family: var(--font-display); font-weight: 600;
  font-size: 62px;                 /* within the 0 0 100 100 viewBox */
  fill: currentColor;
}
/* The flat/minimalist set is deliberately unshaded — type on a solid disc. */
.am-piece.am-skin-flat {
  background: var(--pc-p1);
  border: 2px solid var(--pc-rim);
  box-shadow: none;
  color: #fff;
}

/* Material finishes — a surface over ANY skin, never a new silhouette. */
.am-finish-marble {
  background:
    linear-gradient(125deg, rgba(255,255,255,0.35) 0 12%, transparent 12% 26%, rgba(255,255,255,0.22) 26% 32%, transparent 32%),
    radial-gradient(circle at 35% 30%, var(--pc-p1), var(--pc-p2));
}
/* Mirrors units.css: white/black overlays over the livery, never a hue of its own. */
.am-finish-metal {
  background:
    linear-gradient(150deg, rgba(255,255,255,0.55) 0%, transparent 30%,
                    transparent 66%, rgba(255,255,255,0.42) 100%),
    radial-gradient(circle at 35% 30%, var(--pc-p1), var(--pc-p2));
  box-shadow: 0 2px 5px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.5);
}
.am-finish-sharp {
  background: linear-gradient(160deg, var(--pc-p1) 0%, var(--pc-p2) 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
}
.am-finish-etched {
  background:
    repeating-linear-gradient(58deg, rgba(0,0,0,0.20) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-58deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 35% 30%, var(--pc-p1), var(--pc-p2));
}
.am-finish-polished {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.62) 0 9%, transparent 34%),
    radial-gradient(circle at 35% 30%, var(--pc-p1), var(--pc-p2));
  box-shadow: 0 2px 5px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.34);
}

.am-detail {
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 80px;
}
.am-preview-card, .am-info-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 16px;
}

.am-pv-board {
  margin-top: 10px; padding: 12px;
  background:
    radial-gradient(ellipse at center, rgba(184,155,95,0.07), transparent 62%),
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
}
.am-pv-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  /* Explicit equal rows so cell height is DEFINITE — else the piece's height:74% resolves against an auto row and ovals the disc. */
  grid-template-rows: repeat(6, 1fr);
  gap: 0; aspect-ratio: 1;
  border: 1px solid var(--bronze-deep);
  border-radius: 3px; overflow: hidden;
}
.am-pv-cell {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.am-pv-plain  { background: var(--sq-plain); }
.am-pv-hill   { background: var(--sq-hill); }
.am-pv-forest { background: var(--sq-forest); }
.am-pv-river  { background: var(--sq-river); }
.am-pv-desert { background: var(--sq-desert); }

.am-terrain-legend {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 6px 10px; margin-top: 10px;
}
.am-tl-row { display: inline-flex; align-items: center; gap: 7px; }
.am-tl-swatch {
  width: 18px; height: 18px; flex: none; border-radius: 4px;
  border: 1px solid var(--border); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.am-tl-name { font-size: 0.82rem; color: var(--ink-2); }
/* The live board's terrain glyph (constants.js TERRAIN_INFO.sym), tiny and inert. */
.am-pv-sym {
  position: absolute; bottom: 0; right: 2px;
  font-size: 9px; line-height: 1; opacity: 0.65;
  color: rgba(0,0,0,0.85);
  pointer-events: none; z-index: 0;
}

/* Type-by-type skin legend under the info card; collapsed by default. */
.am-piece-table { margin: 12px 0 4px; }
.am-pt-summary { cursor: pointer; list-style: none; }
.am-pt-summary::before { content: '▸ '; color: var(--ink-3); }
.am-piece-table[open] .am-pt-summary::before { content: '▾ '; }
.am-pt-rows { margin-top: 8px; display: grid; gap: 6px; }
.am-pt-row { display: flex; align-items: center; gap: 8px; }
.am-pt-row .am-pt-chip { width: 26px; height: 26px; flex: none; }
.am-pt-name { flex: 1; font-size: 0.9rem; color: var(--ink-2); }
.am-pt-abbr { font-size: 0.72rem; color: var(--ink-4); }

.am-pv-cell.is-sel { box-shadow: inset 0 0 0 3px var(--gold); }
.am-pv-cell:hover { filter: brightness(1.12); }
.am-pv-dot {
  width: 26%; height: 26%; border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
}
.am-pv-piece { width: 74%; height: 74%; }
.am-pv-piece .am-piece-gem { font-size: 0.8rem; }
.am-pv-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 10px; min-height: 30px;
}
.am-pv-bar .sm { line-height: 1.35; }

.am-info-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.am-info-name { font-family: var(--font-display); font-size: 1.25rem; margin: 4px 0 2px; font-weight: 500; }
.am-info-swatch { width: 44px; height: 44px; border-radius: 8px; border: 2px solid; flex: none; }
.am-info-desc { margin: 12px 0; color: var(--ink-2); line-height: 1.5; }
.am-actions { margin-top: 4px; }
.am-btn-block { display: block; width: 100%; padding: 12px 16px; font-size: 0.98rem; }

.am-bundles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.am-bundle-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
}
.am-bundle-head { display: flex; align-items: center; gap: 14px; }
.am-bundle-glyph {
  width: 52px; height: 52px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--gold);
  background: var(--bronze-deep);
  border: 1px solid var(--bronze);
  border-radius: var(--radius-m);
}
.am-bundle-save { margin-left: auto; align-self: flex-start; }
.am-bundle-items {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.am-bundle-item { display: flex; align-items: center; gap: 12px; }
.am-bundle-item.has { opacity: 0.6; }
.am-bundle-it { color: var(--ink); }
.am-bundle-board {
  width: 34px; height: 34px; flex: none;
  border-radius: 6px; border: 1px solid var(--border);
}
.am-bundle-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: auto;
}
.am-bundle-price { display: flex; align-items: baseline; gap: 10px; }
.am-bundle-was { color: var(--ink-4); text-decoration: line-through; font-family: var(--font-mono); }
.am-bundle-now { color: var(--gold); font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; }

/* 1280: the preview rail narrows from 420 to 360 before the layout stacks at 1024 — the
   rail is what is measured here, not the viewport class. */
@media (max-width: 1280px) {
  .am-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
/* Tablet and phone: every shelf is THE shared carousel (components/carousel.css), so only the
   card width lives here. Two cards and a peek on a phone rather than one — a skin chip is small
   enough that a single card per screen would be a billboard. */
@media (max-width: 1024px) {
  .am-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "grid" "detail";
  }
  .am-detail { position: static; }
  /* The era filter collapses to its select HERE, not at the shared 768: beside a shelf that
     scrolls horizontally a wrapping button row is the wrong control. `.page-tabs.am-eras` needs
     (0,2,0) because `.am-eras` restates `display` from this later sheet. */
  .page-tabs.am-eras { display: none; }
  .amera-tabs-dropdown { display: flex; margin: 0; }
  .am-grid .am-card { flex: 0 0 28%; }
  .am-grid-boards .am-card,
  .am-grid-materials .am-card { flex: 0 0 34%; }
  .am-bundles .am-bundle-card { flex: 0 0 60%; }
}
@media (max-width: 768px) {
  .am-intro { flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; }
  .am-obols { width: 100%; }
  .am-title { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .am-grid .am-card { flex: 0 0 46%; }
  .am-grid-boards .am-card,
  .am-grid-materials .am-card { flex: 0 0 62%; }
  .am-bundles .am-bundle-card { flex: 0 0 88%; }
}

/* ------------------------------------------------- admin: catalog pricing */
/* Only rendered for the admin role (the route is gated too). Amethyst is the
   project's admin tone, so it reads as tooling rather than store chrome. */
.am-admin {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed color-mix(in srgb, var(--amethyst, var(--bronze)) 45%, transparent);
}
.am-admin-t {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amethyst-2, var(--bronze-2)); margin-bottom: 8px;
}
.am-admin-row { display: flex; align-items: center; gap: 8px; }
.am-admin-input {
  flex: 1 1 auto; min-width: 0;
  padding: 8px 10px; font: inherit; font-size: 0.9rem;
  color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius-m);
}

/* Super-admin bundle editor (developer only). The card carries Edit + Delete; the editor
   itself is the routed /armory/bundles/<id> view, not an inline panel. */
.am-bundle-ed { margin-top: 14px; }
.am-bed-actions {
  display: flex; gap: 8px; justify-content: flex-end;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed color-mix(in srgb, var(--amethyst, var(--bronze)) 45%, transparent);
}
/* The routed new-bundle view (/armory/bundles/new); errors are inline, never toasts. */
.am-bnew-bar { display: flex; justify-content: flex-start; margin-bottom: 12px; }
.am-bnew-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.am-bundle-newview .am-bundle-ed { margin-top: 0; }
.am-field-err { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--porphyry-2); }
.am-bed-price.is-invalid .am-admin-input { border-color: var(--porphyry-2); }

.am-bnew-title { margin-bottom: 12px; }
/* Cancel + Create together, on the form's own left edge. */
.am-bnew-foot { display: flex; justify-content: flex-start; gap: 8px; margin-top: 4px; }

.am-bed-body { padding-top: 4px; }
/* One field per row: this is a FORM, so a choice reads down the page rather than across it.
   The component pickers (.am-bed-groups) stay a grid — they are a set, not a sequence. */
.am-bed-prices { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.am-bed-price {
  display: flex; flex-direction: column; gap: 4px; flex: 0 0 auto; max-width: 420px;
  font-size: 0.66rem; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
/* Skins outnumber boards and materials four to one, so they get the width to match — three
   equal columns left that box scrolling beside two with blank space under their last row. */
.am-bed-groups {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
.am-bed-group {
  display: flex; flex-direction: column; min-height: 0;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-m);
  overflow: hidden;
}
.am-bed-gt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  background: var(--bg-3); border-bottom: 1px solid var(--border);
}
.am-bed-count {
  min-width: 18px; text-align: center; padding: 0 5px; border-radius: 999px;
  font-size: 0.62rem; color: var(--laurel-2);
  background: color-mix(in srgb, var(--laurel) 18%, transparent);
}
/* A grid, not a stack: a long group spends the box's WIDTH before its height, so all three
   list in full instead of one scrolling. max-height stays as the backstop for a longer catalog. */
.am-bed-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0 8px; align-content: start;
  max-height: 340px; overflow-y: auto; padding: 4px;
}
.am-bed-item {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 4px 6px; border-radius: var(--radius-s);
  font-size: 0.82rem; color: var(--ink-2);
}
.am-bed-item:hover { background: var(--bg-hover); }
.am-bed-item.is-on { color: var(--ink); }
.am-bed-item.is-on .am-bed-name { font-weight: 600; }
.am-bed-item input { flex: none; accent-color: var(--laurel); }
@media (max-width: 900px) { .am-bed-groups { grid-template-columns: 1fr; } }

/* Livery swatch — the same fill/edge pair the board draws, so the card is not a
   separate opinion about what a colour looks like. Ring is an inset box-shadow (it
   inverts lightness against the fill), never border-color: that belongs to --gold. */
.am-swatch {
  --pc-fill: var(--p1); --pc-fill-2: var(--p1-2); --pc-edge: var(--ink-4);
  position: relative;
  display: inline-flex; flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--pc-fill-2), var(--pc-fill));
  box-shadow:
    inset 0 0 0 2.5px var(--pc-edge),
    0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 2px 3px rgba(255, 255, 255, 0.22),
    inset 0 -2px 3px rgba(0, 0, 0, 0.32);
}
.am-swatch-sm { width: 26px; height: 26px; box-shadow: inset 0 0 0 2px var(--pc-edge), 0 1px 3px rgba(0,0,0,0.45); }

/* Armies are told apart by LIGHTNESS: a same-family pick collapses to ~1.1:1. Named,
   never blocked — the choice stays the player's. */
.am-card-warn {
  margin-top: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--porphyry) 82%, var(--ink));
}
