:root {
  --bg: #0e0f13;
  --panel: #171920;
  --panel-2: #20232c;
  --line: #2c303b;
  --text: #eceef3;
  --muted: #8b90a0;
  --accent: #ff2d55;
  --accent-2: #ff6a3d;
  --good: #3ccf6e;
  --common: #9aa0a6;
  --uncommon: #3ccf6e;
  --rare: #3d8bff;
  --epic: #a24bff;
  --legendary: #ffb020;
  --mythic: #ff3d6e;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.error { color: var(--accent); min-height: 1.3em; margin: 8px 0 0; }
h2 { margin: 0 0 8px; font-size: 20px; }
h3 { margin: 0 0 8px; font-size: 16px; }

/* Buttons & inputs */
.btn { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; cursor: pointer; font-weight: 600; transition: transform .08s, background .15s; }
.btn:hover { background: #2a2e39; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: none; color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.danger { background: #3a1520; border-color: #6b2232; color: #ff8fa3; }
.btn.ghost { background: transparent; }
.btn.small { padding: 5px 11px; font-size: 13px; }
.btn.wide { width: 100%; }
input, select { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; outline: none; }
input:focus, select:focus { border-color: var(--accent); }
.check { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.inline-form input { flex: 1; min-width: 180px; }

.seg { display: inline-flex; background: var(--panel-2); border-radius: 10px; padding: 3px; margin: 8px 0 14px; }
.seg-btn { background: none; border: none; padding: 7px 18px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; }
.seg-btn.active { background: var(--panel); color: var(--text); }

/* Logo */
.logo { font-weight: 800; font-size: 22px; display: flex; align-items: center; gap: 8px; letter-spacing: -.5px; }
.logo b { color: var(--accent); }
.logo-card { display: inline-grid; place-items: center; width: 22px; height: 30px; background: var(--accent); border-radius: 4px; font-size: 11px; color: #fff; transform: rotate(-8deg); box-shadow: 3px 2px 0 #ffffff22; }
.logo.big { font-size: 40px; justify-content: center; }
.logo.big .logo-card { width: 36px; height: 50px; font-size: 18px; }

/* Auth */
#auth { min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 30% 20%, #ff2d5522, transparent 50%), radial-gradient(circle at 70% 80%, #3d8bff1a, transparent 50%); }
.auth-box { width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 32px 26px; text-align: center; }
.tagline { color: var(--muted); margin: 6px 0 10px; }
#auth-form { display: flex; flex-direction: column; gap: 10px; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 10px 20px; background: #0e0f13ee; backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
#nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
#nav button { background: none; border: none; padding: 8px 12px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; position: relative; }
#nav button:hover { color: var(--text); }
#nav button.active { color: var(--text); background: var(--panel-2); }
.badge { background: var(--accent); color: #fff; border-radius: 10px; font-size: 11px; padding: 0 6px; margin-left: 2px; }
.stats { display: flex; align-items: center; gap: 8px; }
.stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 14px; white-space: nowrap; }
.stat.user { cursor: pointer; font-weight: 600; }
.banner { background: #2a2210; color: #ffd27a; border-bottom: 1px solid #4a3a14; padding: 8px 20px; font-size: 13px; }

main { max-width: 1200px; margin: 0 auto; padding: 22px 16px 60px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 18px; }

/* Packs page */
.pack-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
@media (max-width: 760px) { .pack-row { grid-template-columns: 1fr; } }
.free-panel { display: flex; flex-direction: column; }
.free-panel .pack-art { margin: 14px auto; }
.shop { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.shop-item { background: none; border: 1px solid transparent; border-radius: 14px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; transition: transform .15s, border-color .15s; }
.shop-item:hover { transform: translateY(-4px); border-color: var(--line); background: var(--panel-2); }
.shop-item:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.pack-art { width: 130px; height: 180px; border-radius: 12px; position: relative; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 10px 30px #0008, inset 0 0 0 2px #ffffff22; }
.pack-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #ffffff10 0 8px, transparent 8px 16px); }
.pack-art::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 6px; background: #ffffff33; box-shadow: 0 150px 0 #ffffff33; }
.pack-art.free { background: linear-gradient(160deg, #ff2d55, #a24bff 60%, #3d8bff); }
.pack-art.video { background: linear-gradient(160deg, #ff2d55, #ff6a3d); }
.pack-art.channel { background: linear-gradient(160deg, #3d8bff, #a24bff); }
.pack-art.big { width: 200px; height: 280px; cursor: pointer; animation: float 2.4s ease-in-out infinite; }
.pack-label { position: relative; z-index: 1; font-size: 44px; font-weight: 900; color: #fff; text-align: center; text-shadow: 0 2px 8px #0006; line-height: 1.1; }
.pack-label small { display: block; font-size: 12px; letter-spacing: 3px; margin-top: 6px; }
.pack-count { position: absolute; z-index: 2; top: 8px; right: 8px; background: #fff; color: #000; font-weight: 800; border-radius: 20px; min-width: 28px; height: 28px; display: grid; place-items: center; padding: 0 6px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }
.pack-art.tearing { animation: tear .6s forwards; }
@keyframes tear { 30% { transform: scale(1.1) rotate(-4deg); } 60% { transform: scale(1.15) rotate(4deg); filter: brightness(2); } 100% { transform: scale(.2); opacity: 0; filter: brightness(4); } }

.rarity-table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.rarity-table th, .rarity-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rarity-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.rar-pill { display: inline-block; padding: 2px 10px; border-radius: 20px; font-weight: 700; font-size: 13px; }

/* Collection */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters input { width: 190px; }
.sell-bar { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.sell-bar #sell-summary { flex: 1; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.empty { color: var(--muted); padding: 40px; text-align: center; grid-column: 1 / -1; }

/* ---------- Cards ---------- */
.card { --rc: var(--common); position: relative; aspect-ratio: 5 / 7.3; border-radius: 12px; padding: 3px; cursor: pointer;
  background: linear-gradient(160deg, var(--rc), #0006 50%, var(--rc)); transition: transform .15s, box-shadow .15s; user-select: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px #000a, 0 0 18px color-mix(in srgb, var(--rc) 40%, transparent); }
.card.r-common { --rc: var(--common); }
.card.r-uncommon { --rc: var(--uncommon); }
.card.r-rare { --rc: var(--rare); }
.card.r-epic { --rc: var(--epic); }
.card.r-legendary { --rc: var(--legendary); }
.card.r-mythic { --rc: var(--mythic); background: linear-gradient(160deg, #ff3d6e, #ffb020, #a24bff, #3d8bff, #ff3d6e); background-size: 300% 300%; animation: mythicShift 4s linear infinite; }
@keyframes mythicShift { to { background-position: 300% 0; } }
.card-inner { height: 100%; border-radius: 10px; background: linear-gradient(180deg, #1c1f27, #13151b); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.card-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.card-top .rname { color: var(--rc); }
.card-top .ctype { color: var(--muted); }
.card-img { margin: 0 8px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #000; position: relative; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.t-channel .card-img { background: radial-gradient(circle, color-mix(in srgb, var(--rc) 35%, #000), #0b0c10); }
.card.t-channel .card-img img, .card.t-channel .avatar { width: 62%; height: auto; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--rc); object-fit: cover; }
.avatar { display: grid; place-items: center; font-size: 30px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--rc), #000); }
.card-body { padding: 8px 9px 0; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.card-title { font-weight: 700; font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-sub { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.card-stat { margin-top: auto; font-size: 13px; font-weight: 800; padding: 6px 0; }
.card-foot { display: flex; justify-content: space-between; padding: 5px 9px 7px; border-top: 1px solid #ffffff10; font-size: 10px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.card-foot .val { color: #ffd76a; }

/* Holo */
.card.holo .card-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background: linear-gradient(115deg, transparent 20%, #ff3d6e 30%, #ffb020 38%, #3ccf6e 46%, #3d8bff 54%, #a24bff 62%, transparent 72%);
  background-size: 250% 250%; animation: holo 3s ease-in-out infinite; }
.card.holo .card-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .18; mix-blend-mode: overlay;
  background: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 4px); }
@keyframes holo { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
.holo-badge { position: absolute; top: 28px; right: 12px; z-index: 3; font-size: 9px; font-weight: 900; letter-spacing: 1px; padding: 2px 6px; border-radius: 4px; color: #000;
  background: linear-gradient(90deg, #ff9ab0, #ffe08a, #9effc0, #9ac4ff, #d6a8ff); }

/* Selection */
.card.selectable::before { content: ""; position: absolute; top: 8px; left: 8px; z-index: 4; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #fff; background: #0008; }
.card.selected { outline: 3px solid #fff; outline-offset: 2px; }
.card.selected::before { background: var(--accent); content: "✓"; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }

/* Mini cards (trades) */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; }
.mini-grid .card-title { font-size: 11px; }
.mini-grid .card-stat { font-size: 11px; }
.mini-grid .card-top { font-size: 8px; padding: 4px 6px; }
.mini-grid .card-foot { font-size: 8px; }
.mini-grid .card-sub { display: none; }
.trade-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
@media (max-width: 700px) { .trade-cols { grid-template-columns: 1fr; } }
.coin-input { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--muted); }
.coin-input input { width: 110px; }

.trade { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--panel-2); }
.trade-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.trade-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; }
.trade-sides .arrow { font-size: 22px; color: var(--muted); align-self: center; }
.trade-side .mini-grid { max-height: 260px; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.trade-actions { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; }
.status { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: var(--panel); }
.status.accepted { color: var(--good); }
.status.declined, .status.invalid, .status.cancelled { color: var(--muted); }
.status.pending { color: var(--legendary); }
.missing-card { border: 1px dashed var(--line); border-radius: 8px; padding: 10px; font-size: 11px; color: var(--muted); }

/* Leaderboard */
.lb { width: 100%; border-collapse: collapse; }
.lb th, .lb td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.lb th { color: var(--muted); font-size: 13px; }
.lb tr.me { background: #ff2d5512; }
.lb .rank { font-weight: 800; width: 50px; }
.link { background: none; border: none; padding: 0; cursor: pointer; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.link:hover { color: var(--accent); }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 50; background: #05060acc; backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.opening-inner { width: 100%; max-width: 1100px; }
.pack-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.reveal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 800px) { .reveal-grid { grid-template-columns: repeat(2, 1fr); } }
.flip { perspective: 1000px; aspect-ratio: 5 / 7.3; cursor: pointer; animation: dealIn .4s backwards; }
@keyframes dealIn { from { transform: translateY(40px) scale(.8); opacity: 0; } }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.3,1.4,.5,1); transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; }
.flip-front { transform: rotateY(180deg); }
.flip-front .card { height: 100%; }
.flip-back { border-radius: 12px; display: grid; place-items: center; font-size: 34px; color: #fff; font-weight: 900;
  background: repeating-linear-gradient(45deg, #ffffff0d 0 10px, transparent 10px 20px), linear-gradient(160deg, #ff2d55, #6b1a8a); box-shadow: inset 0 0 0 3px #ffffff30; }
.flip-back:hover { filter: brightness(1.15); }
.flip.flipped.big-pull .flip-inner { animation: bigPull .7s .5s; }
@keyframes bigPull { 50% { transform: rotateY(180deg) scale(1.08); filter: drop-shadow(0 0 30px var(--legendary)); } }
.reveal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
#reveal-summary { flex: 1; font-weight: 600; }

.modal-box { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; width: 100%; max-width: 720px; }
.close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 28px; color: var(--muted); cursor: pointer; }
.modal-content { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
@media (max-width: 640px) { .modal-content { grid-template-columns: 1fr; } .modal-content .card { max-width: 260px; margin: 0 auto; } }
.modal-content .card { cursor: default; transform-style: preserve-3d; transition: transform .1s; }
.modal-content .card:hover { transform: none; }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 18px; font-size: 14px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; word-break: break-word; }
.details .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.yt-btn { background: #ff0000; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border: none; }
.yt-btn:hover { background: #d90000; }
.mono { font-family: ui-monospace, Menlo, monospace; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; background: var(--panel-2); border: 1px solid var(--line); padding: 10px 18px; border-radius: 12px; box-shadow: 0 10px 30px #000a; font-weight: 600; }
.toast.err { border-color: var(--accent); color: #ff9db0; }

/* Achievements */
.ach-progress { width: 260px; max-width: 100%; height: 8px; background: var(--panel-2); border-radius: 8px; overflow: hidden; margin-top: 6px; }
#ach-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--legendary)); transition: width .4s; }
.ach-cat { margin: 22px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ach { display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.ach-icon { font-size: 28px; width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--panel-2); filter: grayscale(1); opacity: .5; }
.ach.unlocked .ach-icon { filter: none; opacity: 1; background: color-mix(in srgb, var(--legendary) 18%, var(--panel-2)); }
.ach.claimable { border-color: var(--legendary); box-shadow: 0 0 0 1px var(--legendary), 0 0 18px #ffb02033; }
.ach-main { flex: 1; min-width: 0; }
.ach-name { font-weight: 700; }
.ach-desc { color: var(--muted); font-size: 13px; }
.ach-bar { height: 5px; background: var(--panel-2); border-radius: 5px; margin-top: 7px; overflow: hidden; }
.ach-bar div { height: 100%; background: var(--rare); }
.ach-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.ach-side { text-align: right; flex: none; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ach-reward { font-weight: 800; color: #ffd76a; font-size: 13px; white-space: nowrap; }
.ach.claimed .ach-reward { color: var(--good); }

#ach-pops { position: fixed; top: 76px; right: 16px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.ach-pop { pointer-events: auto; cursor: pointer; display: flex; gap: 12px; align-items: center; min-width: 260px; max-width: 340px; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #2b2210, #1d1a12); border: 1px solid var(--legendary); box-shadow: 0 10px 30px #000a, 0 0 24px #ffb02040;
  animation: popIn .45s cubic-bezier(.3,1.5,.5,1), popOut .4s 5.6s forwards; }
.ach-pop .pi { font-size: 30px; }
.ach-pop small { display: block; color: var(--legendary); font-weight: 800; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.ach-pop b { display: block; }
@keyframes popIn { from { transform: translateX(120%); opacity: 0; } }
@keyframes popOut { to { transform: translateX(120%); opacity: 0; } }

/* Top 10 cards */
.top-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .top-row { grid-template-columns: 1fr; } }
.small-note { font-size: 13px; margin: 0 0 12px; }
.top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.top-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; background: var(--panel-2); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.top-item:hover { border-color: var(--line); transform: translateX(3px); }
.top-rank { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: var(--panel); color: var(--muted); }
.top-rank.rank-1 { background: linear-gradient(135deg, #ffe08a, #ffb020); color: #000; }
.top-rank.rank-2 { background: linear-gradient(135deg, #f0f2f5, #9aa0a6); color: #000; }
.top-rank.rank-3 { background: linear-gradient(135deg, #f2b58a, #b8693a); color: #000; }
.top-thumb { flex: none; width: 64px; height: 40px; border-radius: 6px; overflow: hidden; background: #000; display: grid; place-items: center; font-weight: 900; }
.top-thumb.t-channel { width: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #000); }
.top-thumb img { width: 100%; height: 100%; object-fit: cover; }
.top-info { flex: 1; min-width: 0; }
.top-title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-meta { font-size: 12px; color: var(--muted); }
.top-meta .link { font-size: 12px; }
.top-val { flex: none; font-weight: 800; color: #ffd76a; font-size: 13px; }
.holo-tag { font-size: 9px; font-weight: 900; padding: 1px 5px; border-radius: 4px; color: #000; background: linear-gradient(90deg, #ff9ab0, #ffe08a, #9effc0, #9ac4ff, #d6a8ff); }

/* Open all */
.open-all { margin-top: 8px; }
.reveal-grid.bulk { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.reveal-grid.bulk .card-title { font-size: 12px; }
.bulk-counts { font-size: 13px; font-weight: 700; margin-top: 4px; }
#reveal-stage:has(.bulk) .reveal-actions { position: sticky; bottom: 0; background: #0b0c10ee; padding: 12px; border-radius: 12px; }
