/* Rarity colours (in-game card stripes) */
:root {
  --rare: #3b82f6;
  --epic: #a855f7;
  --legendary: #f97316;
  --mythic: #eab308;
  --variant: linear-gradient(90deg, #f0abfc, #93c5fd, #86efac, #fde047, #fca5a5);
}
:root {
  --bg: #0b0d12;
  --panel: #12151d;
  --panel-2: #181c26;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0f6;
  --muted: #8a90a2;
  --accent: #7c5cff;
  --base: #9ca3af;
  --fortune: #e11d48;
  --cursed: #8b5cf6;
  --gold: #e0b45a;
  --ok: #22c55e;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 600px at 80% -200px, rgba(124, 92, 255, 0.18), transparent 60%), var(--bg);
  color: var(--text);
  font: 15px/1.5 Inter, system-ui, sans-serif;
  min-height: 100vh;
}
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(11, 13, 18, 0.75); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px "Bricolage Grotesque", sans-serif; color: var(--text); text-decoration: none; }
.account { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.account .who { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn { border: 1px solid var(--line); background: var(--panel-2); border-radius: 10px; padding: 8px 14px; font-weight: 600; }
.btn:hover { border-color: rgba(255,255,255,0.2); }
a.btn { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.link { background: none; border: 0; padding: 0; color: #b9a8ff; text-decoration: underline; text-underline-offset: 3px; }
.link.danger { color: var(--muted); }

.hero { padding: 40px 0 24px; }
.eyebrow { margin: 0; color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { font: 800 clamp(34px, 7vw, 56px)/1 "Bricolage Grotesque", sans-serif; margin: 8px 0 24px; letter-spacing: -0.02em; }
.progress { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.progress-text { font-size: 15px; color: var(--muted); }
.progress-text strong { color: var(--text); font: 800 28px "Bricolage Grotesque", sans-serif; }
.pct { margin-left: 6px; color: var(--ok); font-weight: 600; }
.bar { height: 10px; background: var(--panel-2); border-radius: 99px; margin: 12px 0 14px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--fortune), var(--gold)); border-radius: inherit; transition: width .4s ease; }
.variant-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.variant-stats span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--c); }
.guest-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.controls { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
#search { flex: 1 1 220px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; color: var(--text); font: inherit; }
#search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 7px; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg button[aria-checked="true"] { background: var(--panel-2); color: var(--text); }

.grid-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; }
.grid { --cell: clamp(58px, 15vw, 104px); display: grid; grid-template-columns: minmax(90px, 1fr) repeat(4, var(--cell)); }
.row { display: contents; }
.row > * { border-bottom: 1px solid var(--line); }
.head > * { position: sticky; top: 60px; z-index: 2; background: var(--panel-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 6px; text-align: center; color: var(--c, var(--muted)); }
.head > :first-child { text-align: left; padding-left: 16px; }
.name { display: flex; flex-direction: column; justify-content: center; padding: 8px 8px 8px 16px; font-weight: 600; font-size: 14px; line-height: 1.25; min-width: 0; }
.name small { color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 2px; }
.name.complete small { color: var(--ok); }
.cell { display: grid; place-items: center; padding: 6px 4px; }
.sprite { position: relative; width: calc(var(--cell) - 10px); aspect-ratio: 1; border-radius: 12px; border: 2px solid var(--line); background: rgba(255,255,255,0.02); padding: 3px; transition: transform .12s ease, border-color .15s, background .15s; }
.sprite img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0.55); opacity: 0.65; transition: filter .2s, opacity .2s; }
.sprite:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }
.sprite:hover img { opacity: 0.9; }
.sprite:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sprite[aria-checked="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.sprite[aria-checked="true"] img { filter: none; opacity: 1; }
.sprite .tick { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #0b0d12; font-size: 12px; font-weight: 800; display: none; place-items: center; }
.sprite[aria-checked="true"] .tick { display: grid; }
.empty { width: 18px; height: 2px; background: var(--line); border-radius: 2px; }
.row.hidden { display: none; }
.no-results { padding: 32px; text-align: center; color: var(--muted); }

.sort { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 6px 0 12px; color: var(--muted); font-size: 14px; }
.sort svg { color: #b9a8ff; flex: none; }
.sort select { background: transparent; color: var(--text); border: 0; font: 600 14px Inter, sans-serif; padding: 9px 4px; cursor: pointer; max-width: 100%; }
.sort select:focus-visible { outline: 2px solid var(--accent); border-radius: 6px; }
.sort option { background: var(--panel-2); color: var(--text); }
.hint { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.hint b { color: var(--text); }

/* Level badge (shared) */
.tile { position: relative; }
.lvl { position: absolute; left: 0; bottom: 2px; display: none; border: 0; background: #fff; color: #0b0d12; font: italic 800 11px/1 "Bricolage Grotesque", sans-serif; padding: 4px 6px 4px 5px; border-radius: 3px; transform: skewX(-8deg); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.lvl b { font-size: 14px; margin-left: 2px; }
.lvl:hover { filter: brightness(.9); }
.lvl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile.owned .lvl { display: block; }

/* Collection (card) view */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card .sprite { width: 100%; border: 0; border-radius: 0; aspect-ratio: 4 / 5; padding: 12px 12px 18px; background: linear-gradient(180deg, #2a2f3d, #1a1e29); position: relative; }
.card .sprite::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripe); }
.card .sprite:hover { transform: none; }
.card.owned .sprite { background: linear-gradient(180deg, #a4acc0, #8790a8); }
.card .lvl { left: 8px; bottom: 58px; padding: 5px 9px 5px 7px; font-size: 14px; }
.card .lvl b { font-size: 19px; }
.card .meta { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 1px; min-height: 50px; }
.card .meta strong { font-size: 13px; line-height: 1.2; }
.card .meta span { font-size: 11px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.card .meta i { font-style: normal; color: var(--rc); font-weight: 600; text-transform: capitalize; }
.card .tick { top: 8px; right: 8px; }
.card .num { position: absolute; top: 8px; left: 10px; font-size: 11px; color: rgba(255,255,255,.5); font-weight: 600; }
.card.owned .num { color: rgba(11,13,18,.55); }
.grid .lvl { left: 2px; bottom: 4px; font-size: 9px; padding: 3px 4px; }
.grid .lvl b { font-size: 11px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 48px; font-size: 13px; color: var(--muted); }

.dialog { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--text); padding: 0; width: min(400px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.dialog form { display: flex; flex-direction: column; gap: 14px; padding: 28px; position: relative; }
.dialog h2 { margin: 0 0 4px; font: 800 26px "Bricolage Grotesque", sans-serif; }
.dialog label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.dialog input { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); font: inherit; }
.dialog input:focus { outline: 2px solid var(--accent); }
.dialog .error { color: #fb7185; font-size: 13px; margin: 0; min-height: 1em; }
.dialog .switch { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.btn.google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; border-color: transparent; padding: 10px 14px; }
.btn.google:hover { filter: brightness(0.94); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.divider { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dialog .close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--panel-2); border: 1px solid var(--line); padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 520px) {
  .cards { gap: 6px; }
  .card .meta span { font-size: 10px; flex-wrap: wrap; gap: 0 4px; }
  .card .meta strong { font-size: 11px; }
  .card .num { font-size: 10px; top: 5px; left: 6px; }
  .card .tick { top: 5px; right: 5px; width: 16px; height: 16px; font-size: 10px; }
  .card .lvl { bottom: 50px; left: 3px; font-size: 9px; padding: 2px 4px 2px 3px; }
  .card .lvl b { font-size: 12px; }
  .card .meta { padding: 6px 7px 8px; }
  .card .meta strong { font-size: 12px; }
  .sort { flex: 1; }
  .name { padding-left: 10px; font-size: 13px; }
  .head > :first-child { padding-left: 10px; }
  .head > * { font-size: 10px; padding: 8px 2px; letter-spacing: 0.02em; }
  .sprite { border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Navigation ---------- */
.top-inner { gap: 16px; }
.tabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.tabs a { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 7px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { background: var(--panel-2); color: var(--text); }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--fortune); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,.2); display: inline-block; flex: none; }
.account .who { background: none; border: 0; padding: 0; color: var(--text); font-weight: 600; text-decoration: underline dotted rgba(255,255,255,.3); text-underline-offset: 4px; }
.muted { color: var(--muted); }
.hero.slim { padding-bottom: 12px; }
.lede { color: var(--muted); margin: -8px 0 0; max-width: 560px; }

/* ---------- Gate / empty cards ---------- */
.gate { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gate h2 { margin: 0; font: 800 22px "Bricolage Grotesque", sans-serif; }
.gate p { margin: 0; color: var(--muted); max-width: 440px; }
.gate .row-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- Live bar + switch ---------- */
.live-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; }
.switch-row { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 38px; height: 22px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); position: relative; transition: background .2s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.switch-row input:checked + .switch-ui { background: rgba(34,197,94,.25); border-color: rgba(34,197,94,.5); }
.switch-row input:checked + .switch-ui::after { transform: translateX(16px); background: var(--ok); }
.switch-row input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Trade list ---------- */
.trade-list { display: grid; gap: 12px; }
.trader { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
.trader-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--fortune)); display: grid; place-items: center; font: 800 16px "Bricolage Grotesque", sans-serif; color: #fff; flex: none; }
.trader-name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.match-tag { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: rgba(34,197,94,.14); color: #4ade80; white-space: nowrap; }
.match-tag.one-way { background: rgba(255,255,255,.06); color: var(--muted); }
.have-row { display: grid; gap: 6px; }
.have-row h4 { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--panel-2); border: 2px solid var(--c, var(--line)); padding: 2px; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-more { display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.trader-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Chats ---------- */
.chat-shell { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 150px); min-height: 480px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list .empty-note { padding: 20px; color: var(--muted); font-size: 14px; }
.chat-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.chat-item:hover { background: rgba(255,255,255,.03); }
.chat-item[aria-current="true"] { background: var(--panel-2); }
.chat-item .avatar { width: 34px; height: 34px; font-size: 14px; position: relative; }
.chat-item .avatar .live-dot { position: absolute; right: -2px; bottom: -2px; box-shadow: 0 0 0 2px var(--panel); }
.chat-item .meta { flex: 1; min-width: 0; }
.chat-item strong { display: block; font-size: 14px; }
.chat-item .preview { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item.unread .preview { color: var(--text); font-weight: 600; }
.thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.thread-empty { margin: auto; color: var(--muted); text-align: center; padding: 24px; }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.thread-head .status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.thread-head .actions { margin-left: auto; display: flex; gap: 6px; }
.thread-head .btn { padding: 6px 10px; font-size: 13px; }
.back { display: none; background: none; border: 0; font-size: 22px; color: var(--muted); padding: 0 4px; }
.messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 75%; padding: 8px 12px; border-radius: 14px; background: var(--panel-2); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 14px; }
.msg.mine { align-self: flex-end; background: var(--accent); color: #fff; }
.msg.quick { border: 1px dashed rgba(255,255,255,.25); }
.msg time { display: block; font-size: 10px; opacity: .6; margin-top: 2px; }
.sys { align-self: center; font-size: 12px; color: var(--muted); }
.trade-card { align-self: stretch; max-width: 460px; margin: 4px auto; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.trade-card.mine { margin-right: 0; }
.trade-card.theirs { margin-left: 0; }
.trade-card .tc-title { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; gap: 8px; }
.tc-swap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.tc-side { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; }
.tc-side .thumb { width: 64px; height: 64px; }
.tc-side span { color: var(--muted); }
.tc-arrow { font-size: 20px; color: var(--muted); }
.status-chip { font-size: 11px; padding: 2px 8px; border-radius: 99px; text-transform: capitalize; letter-spacing: 0; }
.status-chip.pending { background: rgba(234,179,8,.15); color: #facc15; }
.status-chip.accepted { background: rgba(34,197,94,.15); color: #4ade80; }
.status-chip.declined, .status-chip.cancelled { background: rgba(255,255,255,.06); color: var(--muted); }
.tc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tc-actions .btn { padding: 6px 12px; font-size: 13px; }
.tc-note { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.quick-row { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px 0; scrollbar-width: thin; }
.quick-row button { flex: none; border: 1px solid var(--line); background: var(--panel-2); border-radius: 99px; padding: 6px 12px; font-size: 13px; color: var(--text); }
.quick-row button:hover { border-color: rgba(255,255,255,.25); }
.composer { display: flex; gap: 8px; padding: 10px 14px 14px; }
.composer input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); font: inherit; }
.composer input:focus { outline: 2px solid var(--accent); }
.blocked-note { padding: 12px 14px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

/* ---------- Trade dialog ---------- */
.dialog.wide { width: min(560px, calc(100vw - 32px)); }
.dialog fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px; margin: 0; }
.dialog legend { padding: 0 6px; font-weight: 600; font-size: 14px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 220px; overflow-y: auto; padding: 2px; }
.pick label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; text-align: center; color: var(--muted); cursor: pointer; padding: 6px 4px; border-radius: 10px; border: 2px solid transparent; }
.pick input { position: absolute; opacity: 0; }
.pick img { width: 56px; height: 56px; object-fit: contain; }
.pick label:has(input:checked) { border-color: var(--accent); background: rgba(124,92,255,.12); color: var(--text); }
.pick label:has(input:focus-visible) { outline: 2px solid var(--accent); }

@media (max-width: 760px) {
  .top-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .tabs { order: 3; width: 100%; }
  .tabs a { flex: 1; justify-content: center; }
  .grid .head > * { top: 104px; }
  .head > * { top: 104px; }
  .chat-shell { grid-template-columns: 1fr; height: calc(100vh - 130px); margin-top: 16px; }
  .chat-shell.has-thread .chat-list { display: none; }
  .chat-shell:not(.has-thread) .thread { display: none; }
  .back { display: block; }
  .msg { max-width: 85%; }
}
@media (max-width: 400px) {
  .brand span { display: none; }
}

/* Live swap lists in a conversation */
.swap-strip { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 4px; border-radius: 10px; }
.swap-strip h4 { margin: 0 0 4px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.thumbs.sm { gap: 4px; }
.thumbs.sm .thumb { width: 36px; height: 36px; border-radius: 8px; border-width: 1.5px; }
.thumbs.sm .muted { font-size: 12px; }
@keyframes flash { from { box-shadow: 0 0 0 2px rgba(34,197,94,.7); } to { box-shadow: 0 0 0 2px rgba(34,197,94,0); } }
.flash { animation: flash 1.4s ease-out; }
@media (max-width: 760px) { .swap-strip { grid-template-columns: 1fr; gap: 6px; } }
