/* Thomas's Card Shop - public shop theme: "Holo Night / melted ice cream".
   A night-sky stage, an ice-cream-gradient header that drips into the page, and cards that
   tilt and shine like foils. The admin page keeps its own simpler style (style.css). */

@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(/fonts/chakra-petch-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(/fonts/chakra-petch-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Titan One"; font-weight: 400; font-display: swap; src: url(/fonts/titan-one-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format("woff2"); }

:root {
  /* night stage */
  --night: #0b0e1c;
  --night-2: #1a2147;
  --panel: #151a30;
  --panel-2: #1c2240;
  --line: rgba(255, 255, 255, .10);
  --ink: #eef1ff;
  --muted: #a3abc9;
  /* ice cream flavors */
  --blue-razz: #5ef0ff;
  --strawberry: #ff6fd0;
  --lime: #c6ff5e;
  --grape: #a98bff;
  --mango: #ffd36e;
  --melt: linear-gradient(100deg, var(--blue-razz) 0%, var(--grape) 30%, var(--strawberry) 58%, var(--mango) 80%, var(--lime) 100%);
  /* the same flavors twice over, so it can scroll sideways forever without a seam */
  --melt-loop: linear-gradient(100deg, var(--blue-razz) 0%, var(--grape) 10%, var(--strawberry) 20%, var(--mango) 30%, var(--lime) 40%, var(--blue-razz) 50%, var(--grape) 60%, var(--strawberry) 70%, var(--mango) 80%, var(--lime) 90%, var(--blue-razz) 100%);
  --logo: "Titan One", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --cone-ink: #12142a; /* dark text on the gradient */
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; color: var(--ink); font: 17px/1.45 var(--body); min-height: 100vh;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg opacity='.22'%3E%3Crect x='88' y='44' width='9' height='3' rx='1.5' fill='%235ef0ff' transform='rotate(101 92.5 45.5)'/%3E%3Crect x='172' y='118' width='9' height='3' rx='1.5' fill='%23ff6fd0' transform='rotate(18 176.5 119.5)'/%3E%3Crect x='143' y='70' width='9' height='3' rx='1.5' fill='%23c6ff5e' transform='rotate(93 147.5 71.5)'/%3E%3Crect x='25' y='150' width='9' height='3' rx='1.5' fill='%23a98bff' transform='rotate(129 29.5 151.5)'/%3E%3Crect x='60' y='15' width='9' height='3' rx='1.5' fill='%23ffd36e' transform='rotate(22 64.5 16.5)'/%3E%3Crect x='117' y='143' width='9' height='3' rx='1.5' fill='%235ef0ff' transform='rotate(17 121.5 144.5)'/%3E%3Crect x='67' y='99' width='9' height='3' rx='1.5' fill='%23ff6fd0' transform='rotate(141 71.5 100.5)'/%3E%3Crect x='154' y='11' width='9' height='3' rx='1.5' fill='%23c6ff5e' transform='rotate(144 158.5 12.5)'/%3E%3Crect x='17' y='63' width='9' height='3' rx='1.5' fill='%23a98bff' transform='rotate(161 21.5 64.5)'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(40% 35% at 8% 30%, rgba(255, 111, 208, .14), transparent 70%) fixed,
    radial-gradient(45% 40% at 95% 60%, rgba(94, 240, 255, .12), transparent 70%) fixed,
    radial-gradient(120% 70% at 50% 0%, var(--night-2), var(--night) 70%) fixed;
  background-color: var(--night);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-razz); }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-razz); outline-offset: 2px; }

/* ---------- header: a scoop of melted ice cream ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--blue-razz); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--melt-loop); background-size: 300% 100%;
  animation: melt-flow 9s linear infinite;
  color: var(--cone-ink);
}
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.top::after { /* the drips */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 50px; pointer-events: none;
  background: inherit; background-size: 300% 100%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='50' viewBox='0 0 260 50'%3E%3Cpath d='M0 0H260V14H250.0C250.0 20.6 249.6 26.0 246.0 26.0C242.4 26.0 242.0 20.6 242.0 14H214.0C214.0 32.7 213.1 48.0 205.0 48.0C196.9 48.0 196.0 32.7 196.0 14H166.5C166.5 27.2 165.8 38.0 160.0 38.0C154.2 38.0 153.5 27.2 153.5 14H122.5C122.5 21.7 122.0 28.0 118.0 28.0C114.0 28.0 113.5 21.7 113.5 14H78.0C78.0 30.5 77.2 44.0 70.0 44.0C62.8 44.0 62.0 30.5 62.0 14H27.0C27.0 23.9 26.5 32.0 22.0 32.0C17.5 32.0 17.0 23.9 17.0 14H0Z' fill='black'/%3E%3C/svg%3E") repeat-x top left / 260px 50px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='50' viewBox='0 0 260 50'%3E%3Cpath d='M0 0H260V14H250.0C250.0 20.6 249.6 26.0 246.0 26.0C242.4 26.0 242.0 20.6 242.0 14H214.0C214.0 32.7 213.1 48.0 205.0 48.0C196.9 48.0 196.0 32.7 196.0 14H166.5C166.5 27.2 165.8 38.0 160.0 38.0C154.2 38.0 153.5 27.2 153.5 14H122.5C122.5 21.7 122.0 28.0 118.0 28.0C114.0 28.0 113.5 21.7 113.5 14H78.0C78.0 30.5 77.2 44.0 70.0 44.0C62.8 44.0 62.0 30.5 62.0 14H27.0C27.0 23.9 26.5 32.0 22.0 32.0C17.5 32.0 17.0 23.9 17.0 14H0Z' fill='black'/%3E%3C/svg%3E") repeat-x top left / 260px 50px;
}
@keyframes melt-flow { from { background-position: 0% 50%; } to { background-position: 75% 50%; } } /* 75% of a 300%-wide loop = exactly one repeat */
@keyframes drip { from { transform: scaleY(1); } to { transform: scaleY(1.22); } }
.top::after { transform-origin: top; animation: melt-flow 9s linear infinite, drip 2.8s ease-in-out infinite alternate; }
/* a glossy highlight across the top, like a scoop under the light */
.top::before { content: ""; position: absolute; inset: 0 0 45% 0; background: linear-gradient(rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); pointer-events: none; }
.top-in { position: relative; z-index: 1; }
.brand {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  font: 400 clamp(22px, 3.6vw, 32px)/1 var(--logo); letter-spacing: .01em; color: #fff;
  -webkit-text-stroke: 1.5px var(--cone-ink); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--cone-ink), 0 0 18px rgba(255, 255, 255, .45);
  transform: rotate(-2deg); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.brand:hover { transform: rotate(-2deg) scale(1.04); }
/* the logo mark: a little fan of cards */
.logo { width: 24px; height: 33px; transform: rotate(-10deg); position: relative; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); flex: none; }
.logo::before, .logo::after { content: ""; position: absolute; inset: 0; border-radius: 5px; border: 2px solid var(--cone-ink); }
.logo::before { background: var(--strawberry); transform: rotate(20deg) translate(7px, -1px); } /* the card behind */
.logo::after { background: var(--melt); box-shadow: inset 0 0 0 3px var(--night), 3px 3px 0 var(--cone-ink); } /* the card in front */
.brand:hover .logo { transform: rotate(-18deg) translateY(-2px); }
@media (max-width: 420px) { .brand { gap: 11px; } }

main.wrap { padding-top: 44px; }

/* ---------- hero ---------- */
.hero { padding: 6px 0 4px; }
.tagline {
  font: 400 clamp(24px, 4.2vw, 38px)/1.12 var(--logo); margin: 0 0 18px; max-width: 26ch; text-wrap: balance; letter-spacing: .005em;
  background: var(--melt-loop); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: melt-flow 9s linear infinite; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .35));
}
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.how li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 15px; min-width: 0; }
.how b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--melt); color: var(--cone-ink); display: grid; place-items: center; font: 400 18px var(--logo); box-shadow: 2px 2px 0 rgba(0, 0, 0, .4); }
.closed { background: rgba(255, 211, 110, .12); border: 1px solid rgba(255, 211, 110, .45); color: var(--mango); padding: 10px 14px; border-radius: 12px; margin-top: 14px; }
@media (max-width: 680px) { .how { grid-template-columns: 1fr; } }

/* ---------- toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: var(--ink); padding: 7px 15px; border-radius: 999px; cursor: pointer; font: 600 14px var(--display); letter-spacing: .03em; text-transform: uppercase; }
.chip:hover { border-color: rgba(255, 255, 255, .5); }
.chip.on { border-color: var(--blue-razz); color: var(--blue-razz); box-shadow: 0 0 12px rgba(94, 240, 255, .35), inset 0 0 8px rgba(94, 240, 255, .12); }
.sort { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.sort select { padding: 7px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); background: var(--panel); color: var(--ink); }

/* ---------- card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; padding-bottom: 36px; }
.tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer;
  text-align: left; display: flex; flex-direction: column; position: relative; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { border-color: rgba(255, 255, 255, .25); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.tile .ph {
  aspect-ratio: 5 / 7; max-width: 100%; background: #0e1226; border-radius: 10px; display: grid; place-items: center;
  overflow: hidden; position: relative; box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease;
}
.tile .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile .meta { padding: 10px 2px 2px; display: grid; gap: 2px; }
.tile .t { font: 700 16px/1.2 var(--body); }
.tile .s { color: var(--muted); font-size: 13.5px; }
.noimg { color: var(--muted); font-size: 13px; }

/* foil shine layer, used on tiles (mouse hover) and the card page photo (touch + mouse) */
.shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0; transition: opacity .2s ease; border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .7), transparent 40%),
    linear-gradient(115deg, transparent 18%, rgba(94, 240, 255, .55) 36%, rgba(255, 111, 208, .55) 50%, rgba(198, 255, 94, .5) 64%, transparent 82%);
  background-size: 100% 100%, 230% 230%;
  background-position: center, var(--mx, 50%) var(--my, 50%);
}
.tile:hover .shine, .holo.active .shine { opacity: .8; }

/* featured cards: a melted-gradient frame that glows */
.tile.foil { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--melt) border-box; box-shadow: 0 0 22px rgba(94, 240, 255, .25), 0 0 34px rgba(255, 111, 208, .18); }
.tile.foil .shine { opacity: .35; }
/* featured cards: a glint sweeps across every few seconds */
.tile.foil .ph::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(-120%); animation: glint 4.5s ease-in-out infinite; pointer-events: none; mix-blend-mode: overlay; }
@keyframes glint { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.tile:hover { transform: translateY(-4px); }
.tile.foil:hover .shine { opacity: .85; }

.price { display: inline-block; margin-top: 6px; font: 700 20px/1 var(--display); color: var(--lime); letter-spacing: .02em; }
.price.free { color: var(--blue-razz); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; font: 700 12px var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.hold { background: var(--strawberry); color: var(--cone-ink); }
.badge.hot { background: var(--melt-loop); background-size: 300% 100%; animation: melt-flow 6s linear infinite; color: var(--cone-ink); box-shadow: 2px 2px 0 rgba(0, 0, 0, .4); }
.tile.held .ph { filter: grayscale(.55) brightness(.7); }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 0; color: var(--muted); font: 600 20px var(--display); }

/* ---------- card page (modal sheet) ---------- */
.modal { position: fixed; inset: 0; background: rgba(5, 7, 16, .72); backdrop-filter: blur(4px); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--melt) border-box; border: 2px solid transparent; border-bottom: 0;
  width: 100%; max-width: 680px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0;
  padding: 22px max(18px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); position: relative;
}
@media (min-width: 720px) { .modal { align-items: center; } .sheet { border-radius: 22px; border-bottom: 2px solid transparent; } }
.x { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px 10px; z-index: 3; }
.sheet h2 { margin: 0 0 4px; font: 700 26px/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; padding-right: 40px; text-wrap: balance; }
.cardview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; margin-top: 12px; }
@media (max-width: 560px) { .cardview { grid-template-columns: 1fr; } }
.holo {
  position: relative; aspect-ratio: 5 / 7; max-width: 100%; border-radius: 14px; overflow: hidden; background: #0e1226; touch-action: none; cursor: grab;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 0 26px rgba(94, 240, 255, .35), 0 0 40px rgba(255, 111, 208, .22);
}
.holo img { width: 100%; height: 100%; object-fit: cover; }
.holo .shine { opacity: .3; }
.holo-hint { color: var(--muted); font-size: 13px; text-align: center; margin: 8px 0 0; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.thumbs button { width: 48px; aspect-ratio: 5 / 7; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: #0e1226; cursor: pointer; opacity: .6; }
.thumbs button.on { border-color: var(--blue-razz); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; margin: 14px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.sheet .price { font-size: 30px; }

/* ---------- buttons + forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 13px 18px; font: 700 16px var(--display); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none; background: var(--panel-2); color: var(--ink); }
.btn.big { width: 100%; padding: 16px; font-size: 18px; }
.btn.gold { background: var(--melt); color: var(--cone-ink); box-shadow: 0 6px 22px rgba(255, 111, 208, .25); }
.btn.gold:hover { filter: brightness(1.08); }
.btn.venmo { background: #008cff; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, .25); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.sm { padding: 8px 13px; font-size: 13px; border-radius: 10px; }
form .row { margin-bottom: 13px; }
label.f { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: #0e1226; color: var(--ink); font-size: 16px;
}
input::placeholder, textarea::placeholder { color: #6f78a0; }
input:focus, textarea:focus { outline: none; border-color: var(--blue-razz); box-shadow: 0 0 0 3px rgba(94, 240, 255, .2); }
textarea { min-height: 72px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--strawberry); }
.err { color: var(--strawberry); font-weight: 600; font-size: 15px; margin: 8px 0; }
.ok { background: rgba(198, 255, 94, .1); border: 1px solid rgba(198, 255, 94, .4); color: #e6ffc0; padding: 12px 14px; border-radius: 12px; }
.code { font: 700 15px var(--display); letter-spacing: .06em; background: #0e1226; border: 1px solid var(--line); padding: 2px 9px; border-radius: 8px; color: var(--mango); }
.ordimg { max-height: 200px; width: auto; border-radius: 12px; margin: 10px 0; box-shadow: 0 0 22px rgba(94, 240, 255, .3); }

/* ---------- friends + trades ---------- */
.navlink { color: var(--cone-ink); text-decoration: none; font: 400 16px var(--logo); letter-spacing: .02em; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--cone-ink); box-shadow: 3px 3px 0 var(--cone-ink); white-space: nowrap; transform: rotate(2deg); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.navlink:hover { transform: rotate(0deg) scale(1.06); }
.chip.friends { border-color: rgba(255, 111, 208, .5); }
.chip.friends.on { border-color: var(--strawberry); color: var(--strawberry); box-shadow: 0 0 12px rgba(255, 111, 208, .4), inset 0 0 8px rgba(255, 111, 208, .12); }
.price.trade { color: var(--strawberry); font-size: 16px; }
.byline { color: var(--muted); }
.byline b { color: var(--ink); }
.tradebtn { margin-top: 10px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 12px 0; }
.pickcard { background: var(--panel-2); border: 2px solid var(--line); border-radius: 12px; padding: 6px; cursor: pointer; color: var(--ink); display: grid; gap: 5px; text-align: center; }
.pickcard img, .pickcard .noimg { aspect-ratio: 5 / 7; width: 100%; object-fit: cover; border-radius: 8px; background: #0e1226; display: grid; place-items: center; }
.pickcard .pt { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.pickcard[aria-pressed="true"] { border-color: var(--lime); box-shadow: 0 0 14px rgba(198, 255, 94, .45); }
select.in { width: 100%; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: #0e1226; color: var(--ink); font-size: 16px; }
input[type=password], input[inputmode=numeric] { width: 100%; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: #0e1226; color: var(--ink); font-size: 16px; }
input[type=file] { color: var(--muted); font-size: 15px; max-width: 100%; }

/* ---------- Friends of Thomas page ---------- */
.panelx { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; max-width: 560px; margin: 0 auto 30px; display: grid; gap: 4px; }
.panelx form, .panelx .row { min-width: 0; }
.ph1 { font: 400 clamp(26px, 4.4vw, 36px)/1.1 var(--logo); letter-spacing: .01em; margin: 0 0 6px; background: var(--melt); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.rules { margin: 10px 0 16px; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.dashhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tabs2 { margin: 6px 0 18px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 7px; border-radius: 999px; background: var(--strawberry); color: var(--cone-ink); font-size: 12px; }
.rowbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; }
.tile.mine { cursor: default; }
.tile.mine:hover { box-shadow: none; }
.st { display: inline-block; justify-self: start; margin-top: 6px; font: 700 11.5px var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; }
.st.live { color: var(--lime); }
.st.wait { color: var(--mango); }
.st.no { color: var(--strawberry); }
.st.go { color: var(--blue-razz); }
.st.done { color: var(--muted); }
.minibtns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.btn.sm.gold { padding: 9px 14px; }
.photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.pthumb { width: 96px; display: grid; gap: 5px; }
.pthumb img { width: 96px; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 10px; background: #0e1226; }
.pthumb.busy { aspect-ratio: 5 / 7; place-items: center; border: 1px dashed var(--line); border-radius: 10px; }
.addph { width: 96px; aspect-ratio: 5 / 7; border: 2px dashed rgba(94, 240, 255, .5); border-radius: 10px; display: grid; place-items: center; text-align: center; color: var(--blue-razz); font: 600 13px var(--display); cursor: pointer; padding: 6px; }
.addph input { display: none; }
.sec2 { font: 700 15px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.trade { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; display: grid; gap: 8px; }
.trade p { margin: 0; }
.tswap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tside { display: flex; gap: 8px; flex-wrap: wrap; }
.arrow { font: 700 24px var(--display); color: var(--strawberry); }
.tcard { width: 78px; display: grid; gap: 4px; font-size: 12px; line-height: 1.2; text-align: center; }
.tcard img, .tcard .noimg { width: 78px; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 8px; background: #0e1226; display: grid; place-items: center; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 20px 34px; margin-top: 10px; }
.foot p { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .top, .top::after, .tagline, .badge.hot, .tile.foil .ph::after { animation: none; }
  .tile.foil .ph::after { display: none; }
  .brand, .logo, .navlink { transition: none; }
  .tile, .tile .ph, .holo { transition: none; transform: none; }
}

/* sprinkles burst (drawn on a canvas by common.js) */
.sprinkles { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; }
