/* Courier's Gambit. Dark felt table, Continental purple and gold, pixel corners. */

@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/big-shoulders-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/big-shoulders-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #140620;        /* deepest: card edges, wells */
  --felt: #24092F;       /* the table */
  --night: #2B0D40;      /* panels */
  --plum: #4A1868;
  --royal: #8932B8;      /* the Continental purple */
  --royal-hi: #C77DEB;
  --gold: #FED83D;       /* the Continental yellow */
  --gold-deep: #C99A12;
  --lilac: #F4EEF9;      /* text */
  --mute: #C9B6DA;       /* quiet text on dark */
  --line: rgba(254, 216, 61, 0.22);
  --parch: #F5E9C8;
  --parch-ink: #6A4E2E;
  --good: #9CF0B4;
  --bad: #FF9C8A;
  --bad-deep: #5E1D1D;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --notch: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
  --octagon: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--body); font-size: 1rem; line-height: 1.5; color: var(--lilac);
  background-color: var(--felt);
  background-image:
    repeating-linear-gradient(45deg, rgba(254, 216, 61, 0.03) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(254, 216, 61, 0.03) 0 2px, transparent 2px 22px);
}
main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 20px 64px; outline: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--gold); text-shadow: 4px 4px 0 var(--royal), 8px 8px 0 var(--ink); }
h2 { font-size: 1.9rem; color: var(--gold); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
a { color: var(--gold); }
a:hover { color: #FFF0A0; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- header */

.top { background: var(--ink); border-bottom: 3px solid var(--gold-deep); position: relative; z-index: 5; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; fill: var(--gold); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--gold); text-shadow: 3px 3px 0 var(--royal); white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { padding: 8px 14px; color: var(--mute); text-decoration: none; font-weight: 700; }
.nav a:hover { color: var(--lilac); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--gold); }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.who img { width: 32px; height: 32px; clip-path: var(--octagon); }
.who-name { font-weight: 700; }

/* ---------------------------------------------------------------- buttons and forms */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border: 0; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  background: var(--gold); color: var(--ink); box-shadow: inset 0 -4px 0 var(--gold-deep);
}
.btn:hover { background: #FFE46E; color: var(--ink); }
.btn:active { box-shadow: inset 0 2px 0 var(--gold-deep); }
.btn.royal { background: var(--royal); color: #FFFFFF; box-shadow: inset 0 -4px 0 var(--plum); }
.btn.royal:hover { background: #9A44C9; color: #FFFFFF; }
.btn.quiet { background: transparent; color: var(--lilac); box-shadow: inset 0 0 0 2px var(--line); }
.btn.quiet:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.btn.danger { background: var(--bad-deep); color: #FFD6CF; box-shadow: inset 0 0 0 2px var(--bad); }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; }

label, .label { font-weight: 700; }
input, select, textarea {
  font: inherit; color: var(--lilac); background: var(--ink); border: 2px solid rgba(201, 182, 218, 0.35);
  padding: 10px 12px; width: 100%; border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
input[type="checkbox"] { width: 20px; height: 20px; padding: 0; accent-color: var(--gold); flex: none; }
input[type="file"] { padding: 8px; }
textarea { resize: vertical; min-height: 70px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hint { font-size: .88rem; color: var(--mute); }
.check { display: flex; align-items: center; gap: 10px; }
.check { flex-wrap: wrap; }
.check label { font-weight: 400; }
.check input[type="number"] { width: 110px; }
main:focus, main:focus-visible { outline: none; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  min-height: 44px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--lilac); border: 2px solid rgba(201, 182, 218, 0.35);
}
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.stepper { display: flex; gap: 6px; }
.stepper button { width: 48px; flex: none; font: inherit; font-size: 1.4rem; font-weight: 700; cursor: pointer; background: var(--night); color: var(--lilac); border: 2px solid rgba(201, 182, 218, 0.35); }
.stepper input { text-align: center; font-weight: 700; }

.panel { background: var(--night); box-shadow: inset 0 0 0 2px var(--line); padding: 24px; }
.error { color: #FFD6CF; background: var(--bad-deep); box-shadow: inset 0 0 0 2px var(--bad); padding: 12px 14px; }

/* ---------------------------------------------------------------- the card */

.gc {
  --band: #5E4E70; --metal: #A0703F; --hi: #DDA872; --lo: #5A3A1C; --gem: #D8D2C4; --glow: none;
  position: relative; width: 250px; height: 350px; flex: none; color: var(--ink); text-align: left;
  zoom: var(--z, 1); filter: var(--glow); line-height: 1.3;
}
.gc-frame { width: 100%; height: 100%; padding: 4px; background: var(--ink); clip-path: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)); }
.gc-metal {
  height: 100%; padding: 7px; display: flex; flex-direction: column; background: var(--metal);
  box-shadow: inset 3px 3px 0 var(--hi), inset -3px -3px 0 var(--lo);
  clip-path: polygon(0 5px, 5px 5px, 5px 0, calc(100% - 5px) 0, calc(100% - 5px) 5px, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 5px calc(100% - 5px), 0 calc(100% - 5px));
}
.gc-art { position: relative; height: 196px; flex: none; border: 2px solid var(--ink); overflow: hidden; background: var(--night); }
.gc-art img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.gc-noart {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background-color: var(--band);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px);
}
.gc-noart svg { width: 64px; height: 64px; fill: rgba(255, 255, 255, 0.5); }
.gc-ribbon {
  position: relative; z-index: 2; margin: -18px -4px 0; height: 34px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--band); box-shadow: inset 0 3px 0 var(--gold), inset 0 -3px 0 var(--gold-deep);
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%); padding: 0 16px;
}
.gc-ribbon span { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1; color: #FFFFFF; text-shadow: 0 2px 0 rgba(20, 6, 32, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-text { flex: 1; min-height: 0; margin-top: 5px; padding: 8px 11px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--parch); box-shadow: inset 0 0 0 2px #C9A86A; }
.gc-ability { font-size: 12.5px; }
.gc-flavour { margin-top: auto; font-size: 11px; font-style: italic; color: var(--parch-ink); }
.gc-foot { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: var(--parch-ink); }
.gc-medal { position: absolute; top: 2px; left: 2px; width: 60px; height: 60px; background: var(--gold); clip-path: var(--octagon); }
.gc-medal span {
  position: absolute; inset: 4px; display: flex; align-items: center; justify-content: center; background: var(--band); clip-path: var(--octagon);
  font-family: var(--display); font-weight: 800; font-size: 34px; color: #FFFFFF; text-shadow: 0 2px 0 rgba(20, 6, 32, 0.6);
}
.gc[data-hero] .gc-medal span { background: var(--night); color: var(--gold); }
.gc-rowicon { position: absolute; top: 60px; left: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); clip-path: var(--octagon); }
.gc-rowicon svg { width: 18px; height: 18px; }
.gc-pennant { position: absolute; top: 4px; right: 16px; width: 34px; height: 48px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.gc-pennant span { position: absolute; top: 0; left: 3px; right: 3px; bottom: 5px; padding-top: 7px; text-align: center; background: var(--band); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1; color: #FFFFFF; }
.gc-gem { position: absolute; left: 50%; bottom: 3px; width: 18px; height: 18px; margin-left: -11px; border: 2px solid var(--ink); background: var(--gem); transform: rotate(45deg); box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.55), inset -3px -3px 0 rgba(0, 0, 0, 0.25); }
.gc-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 246, 194, 0.55) 50%, rgba(255, 255, 255, 0) 62%);
  background-size: 260% 100%; animation: gc-sheen 3.8s linear infinite;
}
@keyframes gc-sheen { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .gc-sheen { animation: none; background: none; } }

/* compact: on the table, picture only */
.gc[data-compact] .gc-art { flex: 1; height: auto; }

.gc[data-rarity="common"]    { --metal: #A0703F; --hi: #DDA872; --lo: #5A3A1C; --gem: #D8D2C4; }
.gc[data-rarity="rare"]      { --metal: #A9B4C2; --hi: #EEF3F8; --lo: #5F6B7A; --gem: #3D7BE0; }
.gc[data-rarity="epic"]      { --metal: #8932B8; --hi: #C77DEB; --lo: #4A1868; --gem: #E07BFF; --glow: drop-shadow(0 0 10px rgba(196, 92, 240, 0.55)); }
.gc[data-rarity="legendary"] { --metal: #E8B923; --hi: #FFF0A0; --lo: #8F6A08; --gem: #FF8A3D; --glow: drop-shadow(0 0 16px rgba(254, 216, 61, 0.75)); }
.gc[data-flat] { --glow: none; }

.gc[data-faction="northlandia"] { --band: #3F7591; }
.gc[data-faction="impendia"]    { --band: #9E3434; }
.gc[data-faction="stercus"]     { --band: #6E6327; }
.gc[data-faction="karydia"]     { --band: #2C7148; }
.gc[data-faction="western"]     { --band: #A2561F; }
.gc[data-faction="archipelago"] { --band: #1C7A70; }
.gc[data-faction="eastern"]     { --band: #9C3F6C; }
.gc[data-faction="deluvia"]     { --band: #2E4C95; }
.gc[data-faction="alenarith"]   { --band: #7C5A14; }
.gc[data-faction="neutral"]     { --band: #5E4E70; }

/* the back of a card */
.gc-back { position: relative; width: 250px; height: 350px; flex: none; zoom: var(--z, 1); padding: 4px; background: var(--gold); clip-path: var(--notch); }
.gc-back-in {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background-color: var(--plum);
  background-image: repeating-linear-gradient(45deg, rgba(254, 216, 61, 0.2) 0 2px, transparent 2px 20px), repeating-linear-gradient(-45deg, rgba(254, 216, 61, 0.2) 0 2px, transparent 2px 20px);
  box-shadow: inset 0 0 0 4px var(--royal), inset 0 0 0 6px var(--gold);
}
.gc-back-medal { width: 124px; height: 124px; padding: 4px; background: var(--gold); clip-path: var(--octagon); }
.gc-back-medal div { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--night); clip-path: var(--octagon); }
.gc-back-medal svg { width: 70px; height: 70px; fill: var(--gold); }
.gc-back-title { width: 210px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--royal); box-shadow: inset 0 3px 0 var(--gold), inset 0 -3px 0 var(--gold-deep); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--gold); text-shadow: 0 2px 0 var(--ink); }

.z-90 { --z: .9; } .z-72 { --z: .72; } .z-64 { --z: .64; } .z-52 { --z: .52; } .z-40 { --z: .4; } .z-26 { --z: .26; }

/* ---------------------------------------------------------------- home */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: 460px; }
.hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-text p { font-size: 1.2rem; color: var(--mute); max-width: 34rem; }
.fan { position: relative; height: 400px; overflow-x: clip; overflow-clip-margin: 24px; display: flex; justify-content: center; align-items: center; }
.fan > * { position: absolute; transition: transform .25s ease; }
.fan > :nth-child(1) { transform: translateX(-130px) translateY(24px) rotate(-12deg); }
.fan > :nth-child(2) { transform: translateY(-10px); z-index: 2; }
.fan > :nth-child(3) { transform: translateX(130px) translateY(24px) rotate(12deg); }
.fan > :only-child { transform: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 48px; }
.fact { padding: 20px; background: rgba(20, 6, 32, 0.55); box-shadow: inset 0 0 0 2px var(--line); display: flex; flex-direction: column; gap: 6px; }
.fact strong { font-family: var(--display); font-size: 1.5rem; color: var(--gold); }
.fact span { color: var(--mute); }

/* ---------------------------------------------------------------- lists of cards */

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.page-head p { color: var(--mute); margin-top: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 24px; }
.filters .field { width: 200px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 28px 20px; justify-items: center; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tile-meta { font-size: .9rem; color: var(--mute); text-align: center; }
.tile-meta strong { color: var(--lilac); }
.stack { position: relative; }
.stack-count {
  position: absolute; bottom: -8px; right: -10px; z-index: 3; min-width: 40px; height: 40px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.4rem; clip-path: var(--octagon);
}
.empty { padding: 40px 24px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; background: rgba(20, 6, 32, 0.55); box-shadow: inset 0 0 0 2px var(--line); }
.empty p { color: var(--mute); max-width: 32rem; }
.serials { font-size: .82rem; color: var(--mute); max-width: 212px; text-align: center; }

/* ---------------------------------------------------------------- check a card */

.lead { margin-top: 14px; color: var(--mute); max-width: 40rem; }
.check-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; max-width: 520px; margin: 24px 0 32px; }
.check-form .field { flex: 1 1 220px; }
.result { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.facts-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; }
.facts-list dt { color: var(--mute); }
.facts-list dd { margin: 0; font-weight: 700; }
.big-serial { font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--gold); line-height: 1; }

/* ---------------------------------------------------------------- admin */

.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--line); }
.tabs a { padding: 10px 18px; color: var(--mute); text-decoration: none; font-weight: 700; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tabs a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .85rem; color: var(--mute); font-weight: 700; }
td.mini { width: 80px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 8px; font-size: .8rem; font-weight: 700; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); white-space: nowrap; }
.tag.hidden { color: #FFD6CF; box-shadow: inset 0 0 0 1px var(--bad); }
.tag.live { color: var(--good); box-shadow: inset 0 0 0 1px var(--good); }
.tag.gold { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

.editor { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.editor-form { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.editor-side { flex: 1 1 290px; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px 16px; background: rgba(20, 6, 32, 0.6); box-shadow: inset 0 0 0 2px var(--line); position: sticky; top: 16px; }
.editor-side .note { align-self: stretch; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.editor-side .note strong { color: var(--gold); }
.drop { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; border: 2px dashed rgba(201, 182, 218, 0.45); background: rgba(20, 6, 32, 0.5); }
.drop.over { border-color: var(--gold); }
.drop-text { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.split > :first-child { flex: 999 1 480px; min-width: 0; }
.split > :last-child { flex: 1 1 300px; }
.player-head { display: flex; align-items: center; gap: 14px; }
.player-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); overflow-wrap: anywhere; }
.player-head img, .avatar-ph { width: 48px; height: 48px; clip-path: var(--octagon); background: var(--royal); }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.log li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.log { list-style: none; margin: 0; padding: 0; }
.log time { color: var(--mute); font-size: .9rem; min-width: 150px; }

/* ---------------------------------------------------------------- footer & toast */

.foot { text-align: center; padding: 24px 20px 32px; color: var(--mute); font-size: .9rem; border-top: 2px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); padding: 12px 18px; background: var(--gold); color: var(--ink); font-weight: 700; box-shadow: 6px 6px 0 var(--ink); }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .fan { height: 330px; }
  .fan > * { --z: .78; }
  .fan > :nth-child(1) { transform: translateX(-90px) translateY(20px) rotate(-12deg); }
  .fan > :nth-child(3) { transform: translateX(90px) translateY(20px) rotate(12deg); }
  .editor-side { position: static; }
}
@media (max-width: 520px) {
  main { padding: 20px 16px 48px; }
  .brand-name { font-size: 1.4rem; }
  .who { margin-left: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .grid .gc, .grid .gc-back { --z: .62; }
  .filters .field { width: calc(50% - 6px); }
}
