/* Queen's Blood on a phone (body.mob + body.m1): portrait, board rotated so lanes are columns, 3 wide x 5 tall, you at the bottom.
   m1 Portrait, board rotated: lanes are columns, 3 wide x 5 tall, you at the bottom.

/* ---------------------------------------------------------------- shared */
body.mob { touch-action: manipulation; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; -webkit-user-select: none; user-select: none; }
body.mob input { -webkit-user-select: text; user-select: text; }
.mob #match.active { height: 100dvh; }
.mob .topbar { height: auto; min-height: 44px; padding: env(safe-area-inset-top, 0px) calc(12px + env(safe-area-inset-right, 0px)) 0 calc(12px + env(safe-area-inset-left, 0px)); gap: 8px; }
.mob .topbar .brand { font-size: 15px; gap: 6px; }
.mob .topbar .brand .mark { width: 14px; height: 14px; }
.mob #match .brand .txt, .mob #matchDecks, .mob #restartBtn, .mob .tag { display: none; }
.mob .btn.small { height: 32px; padding: 0 10px; font-size: 12px; }
.mob .scores { gap: 6px; }
.mob .scores .vs { font-size: 12px; }
.mob .scores .side { padding: 2px 8px 2px 6px; gap: 6px; }
.mob .scores .side .who { display: none; }
.mob .scores .side .n { font-size: 22px; min-width: 24px; }

/* layout mode switcher (mobile only) */
.modes { display: none; align-items: center; gap: 2px; border: 1px solid var(--gold-line-2); border-radius: 999px; padding: 2px; }
.mob .modes { display: inline-flex; }
.modes button { height: 26px; min-width: 26px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.modes button.on { background: var(--gold); color: var(--lacquer); }

/* match frame */
.mob .match { display: flex; flex-direction: column; grid-template-columns: none; gap: 8px; padding: 8px calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left)); overflow: hidden; }
.mob .match > .col:last-child { display: none; }          /* inspector column; its content moves into the sheet */
.mob .center { flex: 1; gap: 8px; justify-content: space-between; min-height: 0; }
.mob .opp-hand { display: none; }

/* tiles: keep type legible on small tiles */
.mob .tile { border-radius: 8px; }
.mob .tile .pins { bottom: 6px; gap: 3px; }
.mob .tile.has-card .pins { bottom: 3px; }
.mob .tile.has-card .pins i { width: max(4px, calc(6px * var(--kt))); height: max(4px, calc(6px * var(--kt))); }
.mob .tile .pins-n { right: 6px; bottom: 4px; font-size: max(9px, calc(10px * var(--kt))); }
.mob .tile .need, .mob .tile .aura-here { font-size: max(9px, calc(10px * var(--kt))); left: 6px; top: 6px; }
.mob .tile .aura-here { top: auto; bottom: 18px; left: 0; right: 0; }
.mob .tile.legal::after { top: 2px; right: 6px; font-size: 16px; }
.mob .tile.armed { box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 2px var(--gold); background: rgba(201,162,39,.22); }
.mob .tile.legal.armed::after { content: "tap to place"; font-family: var(--sans); font-weight: 700; font-size: 9px; letter-spacing: .02em; top: auto; bottom: 3px; left: 0; right: 0; text-align: center; color: var(--lacquer); background: var(--cream); margin: 0 6px; border-radius: 999px; line-height: 14px; }
.mob .tcard { border-radius: max(5px, calc(8px * var(--kt))); border-left-width: 3px; gap: 1px; padding: max(4px, calc(8px * var(--kt))); }
.mob .tcard .name { font-size: max(8.5px, calc(11px * var(--kt))); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mob .tcard .pw { font-size: max(16px, calc(30px * var(--kt))); }
.mob .tcard .delta { font-size: max(8px, calc(9.5px * var(--kt))); }
.mob:not(.roomy) .tcard .delta { display: none; }
.mob .tcard .ab { top: 4px; right: 4px; width: 6px; height: 6px; }
.mob .fx-badge { font-size: 14px; padding: 2px 8px; }
.mob .fx-badge.destroy { font-size: 9px; }

/* lane badges: compact pills */
.mob .lane-badge span { min-width: 32px; height: 24px; padding: 0 8px; font-size: 13px; }

/* hand: overlapping fan, selected card lifts */
.mob .hand-wrap { gap: 6px; }
.mob .hand { gap: 0; min-height: calc(184px * var(--k) + 20px); padding-top: 20px; width: 100%; align-items: flex-end; }
.mob .hand .card { flex: none; margin-left: var(--ov, 0px); box-shadow: -4px 0 12px rgba(0,0,0,.45); }
.mob .hand .card:first-child { margin-left: 0; }
.mob .hand .card.selected { transform: translateY(-20px); z-index: 60 !important; box-shadow: 0 0 0 2px var(--gold), 0 16px 32px rgba(0,0,0,.55); }
.mob .hand .card.dim.selected { box-shadow: 0 0 0 2px var(--muted), 0 12px 24px rgba(0,0,0,.4); }
.mob.k-small .hand .card .text { display: none; }
.mob .card .name { font-size: max(9.5px, calc(12px * var(--k))); }
.mob .card.art > .text { font-size: max(8.5px, calc(9.5px * var(--k))); }
.mob .card .pips i { width: max(6px, calc(8px * var(--k))); height: max(6px, calc(8px * var(--k))); }

/* action bar */
.mob .center { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.mob .hand-wrap { margin-top: auto; }
.mob .action-bar { height: auto; flex-wrap: wrap; gap: 6px 8px; justify-content: center; width: 100%; padding-bottom: 2px; }
.mob .turn-pill, .mob .ticker { display: none; }                       /* turn is shown by the ringed score; the log is behind the Log button */
.mob .action-bar .btn { height: 36px; padding: 0 14px; order: 2; flex: 1 1 0; max-width: 200px; justify-content: center; }
.mob .action-bar .hint { order: 1; min-height: 30px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0 4px; }
.mob .action-bar .hint.ability { color: var(--cream); font-size: 12px; }
.mob .action-bar .hint.ability b { color: var(--gold); font-weight: 700; margin-right: 4px; }
/* the details sheet must sit above the raised selected card (z-index 60) and below the drag ghost (80) */
.mob .sheet-scrim { z-index: 68; }
.mob .sheet { z-index: 69; }
.mob .overlay { z-index: 75; }
.mob .toast { z-index: 76; }
#detailsBtn { display: none; }
.mob #detailsBtn { display: inline-flex; }
.mob .ticker, .mob .hint { flex-basis: 100%; text-align: center; font-size: 11px; max-width: none; white-space: normal; line-height: 1.3; min-height: 14px; }

/* bottom sheet (inspector + legend) */
.sheet-scrim { position: fixed; inset: 0; background: rgba(19,17,16,.6); z-index: 18; display: none; }
.sheet-scrim.open { display: block; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 19; background: rgba(27,24,21,.98); border: 1px solid var(--gold-line-2); border-bottom: 0; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .25s ease; max-height: 88dvh; overflow: auto; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); display: none; flex-direction: column; gap: 12px; box-shadow: 0 -20px 60px rgba(0,0,0,.5); }
.mob .sheet { display: flex; }
.sheet.open { transform: none; }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--gold-line-2); margin: 0 auto; flex: none; }
.sheet .inspector { background: none; border: 0; padding: 0; gap: 12px; }
.sheet .row { display: flex; justify-content: flex-end; }

/* overlays / modals */
.mob .modal { min-width: 0 !important; width: calc(100vw - 24px); max-width: 560px; padding: 20px; gap: 12px; border-radius: 16px; max-height: 92dvh; overflow: auto; }
.mob .modal h2 { font-size: 20px; }
.mob .modal .cards { flex-wrap: wrap; gap: 8px; }
.mob .modal .card { --k: .78; }
.mob .result-lanes .pw { font-size: 22px; }
.mob .result-total .t { font-size: 44px; }
.mob .toast { top: calc(52px + env(safe-area-inset-top)); max-width: calc(100vw - 32px); white-space: normal; text-align: center; }
.mob .logpanel { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; max-height: 60dvh; }

/* menu + builder: single column */
.mob .menu-wrap { padding: 16px 12px calc(24px + env(safe-area-inset-bottom)); gap: 22px; }
.mob h1 { font-size: 28px; }
.mob .menu-head p { font-size: 13px; }
.mob .deck-tiles { grid-template-columns: 1fr; gap: 8px; }
.mob .deck-tile .tile-edit { right: 8px; bottom: 8px; }
.mob .deck-tile.roll .tile-edit.reroll { left: 8px; right: auto; }
.mob .deck-tiles.compact .deck-tile.roll .tile-edit.reroll { left: auto; right: 6px; bottom: 6px; }
.mob .drow.custom { flex-wrap: wrap; }
.mob .drow.custom .acts { flex-basis: 100%; justify-content: flex-end; }
.mob .decks-modal { padding: 16px; }
.mob .deck-tile { grid-template-columns: 96px 1fr; min-height: 104px; }
.mob .deck-tiles.compact { grid-template-columns: 1fr 1fr; gap: 8px; }
.mob .deck-tiles.compact .deck-tile { grid-template-columns: 52px 1fr; min-height: 60px; }
.mob .deck-tiles.compact .deck-tile .name { font-size: 14px; }
.mob .deck-tiles.compact .deck-tile .meta span:nth-child(n+2) { display: none; }
.mob .start-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px; bottom: calc(8px + env(safe-area-inset-bottom)); }
.mob .start-bar .first { justify-content: space-between; }
.mob .seg button { padding: 0 12px; font-size: 13px; }
.mob .start-bar .btn.primary { width: 100%; justify-content: center; }
.mob .credit { margin-top: -8px; font-size: 11px; }
.mob .rules-modal { min-width: 0; width: 100%; max-height: 88dvh; overflow: auto; padding: 20px; }
.mob .rules { columns: 1; }
.mob #menu .topbar .tag { display: none; }
/* The offline chip would squeeze the top-bar buttons on a phone, so float it instead of hiding the
   wording (a bare dot would not be self-explanatory). It lives inside #menu, and .screen is
   display:none when inactive, so it never overlaps the match action bar. */
.mob .offchip { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 25; background: var(--lacquer-3); border-color: var(--gold-line-2); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.mob #menu .topbar .btn { height: 32px; padding: 0 10px; font-size: 13px; }
.mob #menu .topbar { gap: 6px; padding: env(safe-area-inset-top, 0px) calc(12px + env(safe-area-inset-right, 0px)) 0 calc(12px + env(safe-area-inset-left, 0px)); }
.mob .actions { flex-wrap: wrap; }
.mob #builder.active { height: auto; min-height: 100dvh; overflow: visible; }
.mob .builder { grid-template-columns: 1fr; padding: 12px; }
.mob .pool input[type=search] { width: 100%; }
.mob .pool-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 8px; overflow: visible; }
.mob .pool-item .indeck { height: 20px; font-size: 10px; padding: 0 9px; top: -10px; }
.mob .card.xl { width: 100%; min-height: 0; padding: 10px; grid-template-rows: auto 120px auto auto auto; }
.mob .card.xl .top { height: 36px; } .mob .card.xl .power { font-size: 28px; line-height: 1; }
.mob .card.xl > .name { font-size: 14px; } .mob .card.xl > .text { font-size: 11px; }
.mob .card.xl .scrim { background: linear-gradient(to bottom, rgba(19,17,16,.28) 0, rgba(19,17,16,0) 40px, rgba(19,17,16,0) 90px, rgba(19,17,16,.86) 150px, var(--lacquer-2) 176px); }

/* ---------------------------------------------------------------- m1: portrait, rotated board */
body.m1 { --gap: 8px; }
.m1 .board-wrap { display: block; position: relative; margin: 6px 0; }
.m1 .board { grid-template-columns: repeat(3, var(--tw)); grid-auto-rows: var(--th); padding: 18px 8px; border-radius: 14px; }
.m1 .lanes { position: absolute; left: 0; right: 0; flex-direction: row; justify-content: space-around; padding: 0 8px; gap: 0; }
.m1 #lanesR { top: -6px; }
.m1 #lanesL { bottom: -6px; }
.m1 .lane-badge { height: auto; width: var(--tw); }
.m1 .tile.o0 .pins, .m1 .tile.o1 .pins { justify-content: center; }
.m1 .tile.legal::after { font-size: 18px; }


/* fanned hand (m1/m2): cards overlap from the right, so cost + power stack on the left edge where they stay visible */

/* drag to place: the grabbed card follows the finger (clone in body so the fan's overlap and overflow cannot clip it) */
.mob .hand .card.dragging { visibility: hidden; }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; margin: 0; will-change: transform; transition: transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, opacity .16s ease; box-shadow: 0 0 0 2px var(--gold), 0 24px 48px rgba(0,0,0,.6); }
.drag-ghost.lifted { transition: box-shadow .2s ease; }
.drag-ghost.lifted.over { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--gold), 0 24px 48px rgba(0,0,0,.6); }
.drag-ghost.settle { transition: transform .16s cubic-bezier(.2,.7,.2,1), opacity .16s ease; opacity: .9; }
.mob .tile.legal.armed::after { content: "tap to place"; }
.mob.dragging-card .tile.legal.armed::after { content: "release"; }

/* fan legibility: affected tiles are a solid gold fill (styles.css); at 6px cells the pawn+affected ring is 1.5px so it still reads */
.mob .card .grid i.pw.af { box-shadow: inset 0 0 0 1.5px var(--gold); }
.mob .legend i.af { background: var(--gold); border: 0; }
/* cost pips centred in their pill */
/* sheet follows the finger while swiping down */
.sheet.swiping { transition: none; }

/* ---------------------------------------------------------------- phone card layout (hand + mulligan): "stat band + chip"
   One small chip top-left holds cost pips then power side by side; the name runs the full width at the bottom; the pattern
   grid sits on its own line under the name. Nothing readable lives in the right 23px the fan overlap hides. */
.mob .card.art:not(.xl):not(.lg) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; grid-template-areas: "top" "art" "name" "grid"; row-gap: 4px; padding: 6px; }
.mob .card.art:not(.xl):not(.lg) .scrim { background: linear-gradient(to bottom, rgba(19,17,16,.15) 0, rgba(19,17,16,0) 20%, rgba(19,17,16,0) 48%, rgba(19,17,16,.85) 66%, rgba(19,17,16,.97) 78%, var(--lacquer-2) 100%); }
/* one 18px chip: pips | power, everything centred on the chip's axis; the power numeral is a flex item with line-height 1 so it centres by its em box */
.mob .card.art:not(.xl):not(.lg) > .top { grid-area: top; height: 18px; justify-self: start; display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 5px; padding: 0 7px 0 6px; border-radius: 9px; background: rgba(19,17,16,.82); backdrop-filter: blur(3px); }
.mob .card.art:not(.xl):not(.lg) .cost, .mob .card.art:not(.xl):not(.lg) .power { background: none; padding: 0; margin: 0; backdrop-filter: none; border-radius: 0; display: inline-flex; align-items: center; height: 100%; }
.mob .card.art:not(.xl):not(.lg) .cost::after { content: ""; width: 1px; height: 9px; background: rgba(242,232,213,.35); margin-left: 5px; }
.mob .card .pips { margin: 0; gap: 2.5px; align-items: center; }
.mob .card .pips i { width: 6px; height: 6px; }
.mob .card .power { font-size: 11px; line-height: 1; }
.mob .card.art:not(.xl):not(.lg) > .name { grid-area: name; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; hyphens: manual; }
.mob .card.art:not(.xl):not(.lg) > .grid { grid-area: grid; justify-self: start; align-self: start; margin: 0; grid-template-columns: repeat(5, 5px); grid-auto-rows: 5px; gap: 1px; }
.mob .card.art:not(.xl):not(.lg) > .grid i { border-radius: 1px; }
.mob .card.art:not(.xl):not(.lg) > .grid i.pw.af { box-shadow: inset 0 0 0 1px var(--gold); }
.mob .card.art:not(.xl):not(.lg).legendary::after { right: 6px; top: 6px; width: 14px; height: 14px; font-size: 9px; line-height: 14px; }

/* deck builder on phones: sticky top bar, sticky collapsible filter strip */
/* NOTE: never reset `padding` shorthand on a .topbar on phones; the safe-area (notch) padding lives there. Same regression bit #menu once already. */
.mob #builder .topbar { position: sticky; top: 0; z-index: 12; height: auto; min-height: calc(48px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) calc(12px + env(safe-area-inset-right, 0px)) 0 calc(12px + env(safe-area-inset-left, 0px)); gap: 6px; }
.mob #builder .topbar .brand { font-size: 15px; }
.mob #builder .topbar .btn .long { display: none; }
.mob #builder .topbar .btn .short { display: inline; }
.mob #builder .topbar .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.mob .builder { gap: 12px; padding: 0 0 24px; }
.mob .pool { background: none; border: 0; border-radius: 0; padding: 0; gap: 0; }
.mob .pool .filters { position: sticky; top: calc(48px + env(safe-area-inset-top, 0px)); z-index: 11; background: rgba(19,17,16,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gold-line); padding: 8px 12px; gap: 0; }
.mob .filters .frow.main { flex-wrap: nowrap; gap: 6px; }
.mob .filters .frow.main input[type=search] { flex: 1; min-width: 0; height: 36px; padding: 0 12px; }
.mob .filters .ftoggle { display: inline-flex; flex: none; border: 1px solid var(--gold-line-2); height: 36px; padding: 0 12px; }
.mob .filters .ftoggle.active { border-color: var(--verm); color: var(--verm-l); }
.mob .filters .sort span { display: none; }
.mob .filters select { height: 36px; flex: none; max-width: 104px; }
.mob .filters #poolCount { display: none; }
.mob .filters .fgroups { display: none; flex-direction: column; gap: 5px; padding-top: 8px; }
.mob .filters .chip { height: 28px; padding: 0 9px; font-size: 12px; }
.mob .filters.open .fgroups { display: flex; }
.mob .filters .flbl { min-width: 46px; font-size: 10px; }
.mob .filters .frow { gap: 5px; }
.mob .pool-grid { padding: 16px 12px 4px; }

/* deck panel on phones: a fixed bottom bar (count, meter, name, Save) that expands into a sheet with the full deck */
.mob .pool-grid { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.mob .deck-side { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: 0; border-radius: 18px 18px 0 0; border: 1px solid var(--gold-line-2); border-bottom: 0; background: rgba(27,24,21,.98); box-shadow: 0 -16px 48px rgba(0,0,0,.5); max-height: 82dvh; display: flex; flex-direction: column; transition: transform .25s ease; }
.mob .deck-side.swiping { transition: none; }
.mob .deck-bar { display: block; flex: none; padding: 6px 12px 0; }
.mob .deck-bar .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--gold-line-2); margin: 0 auto 8px; }
.mob .dbar-row { display: flex; align-items: center; gap: 10px; }
.mob .dbar-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 4px; border: 0; background: none; color: var(--cream); font: inherit; text-align: left; }
.mob .dbar-count { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; flex: none; }
.mob .dbar-count b { font-variant-numeric: tabular-nums; min-width: 26px; }
.mob .dbar-count .muted { font-family: var(--sans); font-size: 12px; font-weight: 600; }
.mob .dbar-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob .dbar-chev { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-135deg) translate(-1px, -1px); flex: none; margin-right: 4px; transition: transform .2s ease; }
.mob .deck-side.open .dbar-chev { transform: rotate(45deg) translate(-2px, -2px); }
.mob .deck-bar .btn.primary { height: 36px; padding: 0 16px; flex: none; }
.mob .deck-bar .meter { margin: 6px 0 0; height: 4px; border-radius: 2px 2px 0 0; }
.mob .deck-bar.bump .dbar-count b { animation: bump .28s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.28); color: var(--gold); } 100% { transform: scale(1); } }
.mob .deck-body { display: none; flex-direction: column; gap: 12px; padding: 12px 12px calc(16px + env(safe-area-inset-bottom)); overflow: auto; min-height: 0; border-top: 1px solid var(--gold-line); }
.mob .deck-side.open .deck-body { display: flex; }
.mob .deck-body > .row { flex-wrap: wrap; gap: 6px 12px; }
.mob .deck-body .meter { display: none; }
.mob .deck-items { max-height: none; overflow: visible; flex: none; }
.mob #deckScrim { z-index: 29; }

/* ---------------------------------------------------------------- opening hand on phones
   One row per card (thumb | cost+power, name, ability | pattern, redraw chip) so all five abilities are readable in one
   screen instead of a wrapping 3+2 grid of tiny cards. Same DOM as desktop, reflowed with grid areas.
   NOTE: this block must stay BELOW the `.mob .card.xl` deck-builder rules above -- same specificity, so source order decides.
   The builder's `grid-template-rows: auto 120px auto auto auto` will otherwise win and blow the row height out to ~220px. */
.mob .mull-modal { padding: 16px; gap: 10px; }
.mob .mull-modal .cards { flex-direction: column; flex-wrap: nowrap; gap: 5px; }
.mob .mull-modal h2 { font-size: 18px; }
.mob .mull-modal .legend { grid-template-columns: 1fr; gap: 3px; padding-top: 9px; font-size: 11px; line-height: 1.25; }
.mob .mull-modal .legend i { width: 11px; height: 11px; margin-top: 1px; }
/* the modal scrolls if the hand runs long, so the start button is pinned to the bottom of it and never falls below the fold */
.mob .mull-modal .mull-foot { position: sticky; bottom: -16px; margin: 0 -16px -16px; padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, rgba(27,24,21,0) 0, rgba(27,24,21,.96) 14px); }
.mob .card.mull { --k: 1; width: auto; height: auto; min-height: 0; padding: 7px; border-radius: 12px; column-gap: 10px; row-gap: 2px;
  grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: auto auto auto;
  grid-template-areas: "art top grid" "art name grid" "art text meta"; }
.mob .card.mull .art-img { position: relative; grid-area: art; width: 56px; height: 56px; align-self: start; border-radius: 8px; object-position: 50% 12%; }
.mob .card.mull .scrim { display: none; }
.mob .card.mull > .top { height: 18px; justify-self: start; align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 0 7px 0 6px; border-radius: 9px; background: rgba(19,17,16,.82); }
.mob .card.mull .cost, .mob .card.mull .power { background: none; padding: 0; margin: 0; border-radius: 0; backdrop-filter: none; font-size: 12px; line-height: 1; height: 100%; }
.mob .card.mull .cost::after { content: ""; width: 1px; height: 9px; background: rgba(242,232,213,.35); margin-left: 5px; }
.mob .card.mull .pips i { width: 6px; height: 6px; }
.mob .card.mull > .name { font-size: 14px; align-self: center; text-shadow: none; }
.mob .card.mull > .text { font-size: 11.5px; line-height: 1.3; align-self: start; padding-right: 8px; }
/* the right column (pattern + chip) sets the row height for cards with short ability text, so keep both compact */
.mob .card.mull > .grid { align-self: start; justify-self: end; grid-template-columns: repeat(5, 7px); grid-auto-rows: 7px; gap: 1.5px; }
.mob .card.mull .meta { border-top: 0; padding-top: 4px; margin: 0; justify-content: flex-end; align-self: end; }
.mob .card.mull .rd { height: 24px; padding: 0 10px; font-size: 11px; }
.mob .card.mull.legendary::after { left: 8px; right: auto; top: 8px; width: 16px; height: 16px; line-height: 16px; font-size: 10px; }
