/* W-116 (T7, design call 5): tower card faces (card-face.js) and the minions' overhead protection marks.
   A face is a damage-type chip (its colour and glyph), the reach glyphs (wing = air, boot = ground) and, wherever the
   card is wide enough, the same in words. Support towers read "Support: no damage". Phone and laptop layouts. */
.card-face{display:inline-flex;align-items:center;justify-content:center;gap:3px;max-width:100%;white-space:nowrap;line-height:1.1;text-transform:none;letter-spacing:0;font-size:var(--fs-xs);font-weight:700;color:inherit}
.face-chip{display:inline-grid;place-items:center;flex:none;width:15px;height:15px;border-radius:50%;background:var(--face-color);color:#2a2618;box-shadow:inset 0 0 0 1px #0000002e}
.face-chip .face-glyph{width:11px;height:11px}
.face-chip.face-reach{width:14px;height:14px;background:none;box-shadow:none;color:currentColor}
.face-chip.face-reach .face-glyph{width:13px;height:13px}
.face-chip.face-support{background:#7d8c8a;color:#f5efdc}
.face-sep{opacity:.5;margin:0 1px}
.face-words,.face-sep{display:none}
.face-branch{display:block;margin-top:2px;font-size:var(--fs-xs);line-height:1.1}
/* A compact face (a hand card's type band, a deck tile, an upgrade tile): glyphs when narrow, where a support tower
   just says "Support"; words once its tile is wide enough, on one line when there's room for it. */
#hand .card[data-kind="tower"] .card-kind{container-type:inline-size;display:flex;flex-direction:column;align-items:center;justify-content:center}
.deck-card,.uf-tower{container-type:inline-size}
.card-face.face-band.support .face-words{display:inline}
.card-face.face-band.support .face-chip,.card-face.face-band.support .face-long{display:none}
/* Designer, 2026-09-29: on a compact face, air and ground are always their glyphs (wing, boot); the words stay in its title for a screen reader. */
.card-face.face-band .face-reach-word{display:none!important}
@container (min-width:112px){
  .card-face.face-band:not(.support){flex-wrap:wrap;row-gap:2px}
  .card-face.face-band .face-words{display:inline}
}
/* W-121: "Support: no damage" with its chip needs about 150 px; below that a support tile just says "Support". */
@container (min-width:150px){
  .card-face.face-band.support .face-chip{display:inline-grid}
  .card-face.face-band.support .face-long{display:inline}
}
@container (min-width:200px){
  .card-face.face-band .face-sep{display:inline}
}
/* Roomier cards (deck, details, rewards, shop, the upgrade flow): always glyphs and words. */
.card-face.face-line{justify-content:flex-start;gap:4px;font-size:var(--fs-sm);margin:4px 0 2px;padding:3px 7px 3px 3px;border-radius:999px;background:#00000014}
.card-face.face-line .face-words,.card-face.face-line .face-sep{display:inline}
.card-face.face-line .face-reach{display:none}
.card-face.face-line .face-long{display:inline}
#game:is([data-era="3"],[data-era="4"]) .card-face.face-line{background:#ffffff1a}
/* The deck grid's tiles: the face sits under the name. */
.deck-card .card-face{margin-top:2px}
.deck-card .card-face .face-chip{width:13px;height:13px}
.deck-card .card-face .face-chip .face-glyph{width:10px;height:10px}
