/* FoamDex. Colours are tokens: light by default, dark when the device prefers it.
   Navy and foam-dart orange; brand colours mark each blaster's picture. */
:root {
  --bg: #f5f6fa;
  --panel: #ffffff;
  --panel-2: #f9fafc;
  --text: #121726;
  --muted: #5c6378;
  --line: #e1e4ee;
  --accent: #f26a1b;
  --accent-deep: #c2410c;
  --accent-text: #ffffff;
  --accent-soft: #fff1e7;
  --navy: #14213d;
  --navy-2: #1f3260;
  --up: #12805a;
  --down: #c4291c;
  --error: #c4291c;
  --shadow: 0 1px 2px rgba(18, 23, 38, .06), 0 6px 20px rgba(18, 23, 38, .06);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d111b;
    --panel: #161c2b;
    --panel-2: #1b2234;
    --text: #edf0f7;
    --muted: #a1a8bd;
    --line: #283149;
    --accent: #ff8a3d;
    --accent-deep: #ff9f5c;
    --accent-text: #1a0d03;
    --accent-soft: #33200f;
    --navy: #0a1020;
    --navy-2: #18264a;
    --up: #4ade80;
    --down: #f87171;
    --error: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { font-family: Outfit, Inter, system-ui, sans-serif; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4.4vw, 38px); margin: 6px 0 10px; }
h2 { font-size: 21px; margin: 26px 0 10px; }
h3 { font-size: 17px; margin: 18px 0 8px; }
a { color: var(--accent-deep); }
img { max-width: 100%; }
.muted { color: var(--muted); }
.small-text { font-size: 13.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.loading { padding: 30px 0; text-align: center; }

/* Buttons and inputs */
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
button:hover, .button:hover { border-color: var(--accent); }
button:active, .button:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: default; }
.primary, button.primary, .button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.danger, button.danger { background: transparent; border-color: var(--error); color: var(--error); }
button.small, .button.small { padding: 5px 10px; font-size: 13.5px; border-radius: 8px; }
button.big, .button.big { padding: 13px 26px; font-size: 17px; }
button.link { background: none; border: 0; padding: 0; color: var(--accent-deep); font-weight: 600; text-decoration: underline; }
input, select, textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; min-width: 0; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.row.end { justify-content: flex-end; }
.stack { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.stack input, .stack select, .stack textarea { font-weight: 400; }
.check { display: flex; gap: 8px; align-items: center; }
.chip { padding: 5px 12px; border-radius: 999px; font-size: 13.5px; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px max(16px, calc((100vw - 1180px) / 2));
  background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 700 21px Outfit, sans-serif; white-space: nowrap; }
.brand b { color: var(--accent); }
.top-search { flex: 1; max-width: 420px; }
.top-search input { width: 100%; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.top-search input::placeholder { color: rgba(255, 255, 255, .6); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 7px 11px; border-radius: 8px; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.on { color: #fff; background: rgba(255, 255, 255, .14); }
.who { margin-left: auto; }
.who-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; background: rgba(255, 255, 255, .1); border-color: transparent; color: #fff; text-decoration: none; font-weight: 600; }
.avatar { border-radius: 50%; }
@media (max-width: 900px) {
  .top { flex-wrap: wrap; }
  .top-search { order: 5; flex-basis: 100%; max-width: none; }
  .nav { order: 4; overflow-x: auto; flex-basis: 100%; }
}

main { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; min-height: 60vh; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0; box-shadow: var(--shadow); }
.panel > h2:first-child, .panel > .section-head:first-child h2 { margin-top: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head a { font-weight: 600; font-size: 14px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 18px; }
.note { padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--line); }
.note.error, .error-text { color: var(--error); }
.note.error { background: transparent; border-color: var(--error); }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); }
.center-card { max-width: 620px; margin: 40px auto; text-align: center; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 700; }
tr.dim td { opacity: .55; }

/* Home */
.hero { margin: -18px -16px 0; padding: 44px 16px 34px; background: radial-gradient(1200px 300px at 80% 0, var(--navy-2), var(--navy)); color: #fff; }
.hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); margin-bottom: 8px; }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .82); margin: 0 0 18px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.hero-search input { flex: 1; padding: 13px 16px; font-size: 16px; border: 0; }
.hero-search button { padding: 13px 22px; }
.hero-counts { color: rgba(255, 255, 255, .7) !important; font-size: 14px; margin: 14px 0 0; }
.brand-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 18px 0 6px; }
.brand-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.brand-chip > span:not(.bb) { color: var(--muted); font-weight: 500; }
.brand-chip i, .brand-card i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand, var(--accent)); }
.brand-chip:hover { border-color: var(--accent); }
.how ol { padding-left: 20px; margin: 0; }
.how li { margin: 6px 0; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.brand-card { display: grid; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.brand-card b { font: 700 19px Outfit, sans-serif; }
.brand-card:hover { border-color: var(--accent); }

/* Blaster tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.tile { display: grid; gap: 2px; align-content: start; padding: 10px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.pic { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px; background: var(--panel-2); overflow: hidden; margin-bottom: 6px; }
.pic img { width: 100%; height: 100%; object-fit: contain; }
.art { width: 78%; height: auto; }
.art-body { fill: var(--brand, var(--accent)); }
.art-barrel, .art-mag { fill: color-mix(in srgb, var(--brand, var(--accent)) 55%, #1b1f2e); }
.art-dot { fill: #fff; opacity: .85; }
.t-name { font-weight: 700; line-height: 1.25; }
.t-meta { color: var(--muted); font-size: 12.5px; }
.t-value { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.val { font-weight: 800; font-size: 17px; color: var(--up); }
.val.none { font-weight: 500; font-size: 13.5px; color: var(--muted); }
.val-sub { color: var(--muted); font-size: 12px; }
.chg { font-size: 12.5px; font-weight: 700; }
.chg.up, .up, .tone-up { color: var(--up); }
.chg.down, .down, .tone-down { color: var(--down); }
.rows { list-style: none; padding: 0; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.rows li + li { border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 1fr auto 64px; gap: 10px; padding: 10px 14px; color: var(--text); text-decoration: none; }
.rows a:hover { background: var(--panel-2); }
.r-val { font-weight: 700; }
.rows .chg { text-align: right; }

/* Lists and filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.filters .grow, .filters input.grow { flex: 1 1 220px; }
.filters .grow input { width: 100%; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; }

/* One blaster */
.blaster-head { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 24px; align-items: start; margin-top: 8px; }
@media (max-width: 760px) { .blaster-head { grid-template-columns: 1fr; } }
.big-pic { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.big-pic img { width: 100%; height: 100%; object-fit: contain; }
.big-pic .credit { position: absolute; right: 8px; bottom: 6px; font-size: 11.5px; color: var(--muted); }
.blaster-info h1 { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.value-box { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.value-box .label { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.value-box b { font: 800 28px Outfit, sans-serif; color: var(--up); }
.value-box .sub { color: var(--muted); font-size: 12.5px; }
.owned-note { color: var(--muted); font-size: 14px; }
#wish[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-deep); }
.seg-buttons { display: flex; gap: 6px; }
.small-head { font-size: 14px; color: var(--muted); font-weight: 600; margin: 14px 0 4px; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; }
.listings { list-style: none; padding: 0; margin: 0; }
.listings li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; }
.listings li + li { border-top: 1px solid var(--line); }
.listings img, .listings .no-img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--panel-2); }
.l-title { display: grid; gap: 2px; font-size: 14px; }
.l-title a { color: var(--text); }
.l-price { display: grid; justify-items: end; font-weight: 800; }
.listings.review li { grid-template-columns: 54px 1fr auto; }
.listings .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* Charts */
.chart { margin: 6px 0 12px; }
.chart-head { margin: 0 0 4px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.chart-head b { font: 800 22px Outfit, sans-serif; }
.line-chart svg { width: 100%; height: auto; display: block; }
.line-chart .line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
.line-chart .area { fill: var(--accent); opacity: .1; }
.line-chart .grid-line { stroke: var(--line); stroke-dasharray: 3 4; }
.line-chart .axis { fill: var(--muted); font-size: 11px; }
.line-chart .pt circle { fill: var(--accent); opacity: 0; transition: opacity .1s; }
.line-chart .pt .hit { fill: transparent; }
.line-chart .pt:hover circle, .line-chart .pt:focus circle { opacity: 1; }
.line-chart:not(.many) .pt circle { opacity: .9; r: 3; }

/* Tables and stats */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--panel-2); }
.table tr:last-child td { border-bottom: 0; }
.table.compact td, .table.compact th { padding: 6px 10px; }
.table td.actions { white-space: nowrap; text-align: right; }
.table td.actions button + button { margin-left: 6px; }
tr.deal td { background: color-mix(in srgb, var(--up) 10%, transparent); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 10px 0 16px; }
.stat { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat .value { font: 800 24px Outfit, sans-serif; }
.stat .sub { color: var(--muted); font-size: 12.5px; }
.bar-list { list-style: none; padding: 0; margin: 0; }
.bar-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bar-list li span { overflow-wrap: anywhere; }
.activity { list-style: none; padding: 0; margin: 0; }
.activity li { padding: 5px 0; font-size: 14px; }
.errors { list-style: none; padding: 0; }
.errors pre { white-space: pre-wrap; font-size: 12.5px; background: var(--panel-2); padding: 8px; border-radius: 8px; }

/* Admin */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs a { padding: 8px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--text); border-bottom-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.admin-pic { max-width: 320px; border-radius: 10px; border: 1px solid var(--line); }

/* Account */
.form-row label { display: block; font-weight: 600; margin-bottom: 4px; }
.danger-zone { border-color: color-mix(in srgb, var(--error) 40%, var(--line)); }
.avatar-now { display: flex; gap: 16px; align-items: center; }
.avatar-preview { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 36px; background: linear-gradient(135deg, var(--from), var(--to)); }
.avatar-grid, .color-grid { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.avatar-pick { width: 42px; height: 42px; padding: 0; font-size: 22px; border-radius: 10px; }
.color-pick { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: linear-gradient(135deg, var(--from), var(--to)); }
.avatar-pick.on, .color-pick.on { outline: 3px solid var(--accent); outline-offset: 1px; }

/* Dialogs */
dialog { border: 0; border-radius: 18px; padding: 0; background: var(--panel); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); max-width: min(560px, calc(100vw - 24px)); width: 100%; }
dialog.small { max-width: min(460px, calc(100vw - 24px)); }
dialog::backdrop { background: rgba(8, 12, 24, .6); backdrop-filter: blur(2px); }
dialog .pad { padding: 22px 22px 18px; }
dialog h2 { margin-top: 0; }
dialog .close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; padding: 0; border-radius: 50%; font-size: 20px; }
dialog form .row { margin-top: 14px; }
.seg { display: flex; gap: 8px; border: 0; padding: 0; margin: 8px 0; }
.seg label { flex: 1; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.providers { display: grid; gap: 8px; margin: 14px 0; }
.provider { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); text-decoration: none; font-weight: 600; }
.provider svg { width: 20px; height: 20px; }
.provider.facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.provider.off { opacity: .55; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.email-form { display: grid; gap: 8px; }
.fine-print { margin-top: 14px; }
.dev-box { margin-top: 10px; font-size: 14px; }
.dev-login { display: grid; gap: 8px; margin-top: 8px; }
.dev-login label { display: grid; gap: 3px; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 100; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.toast.error { background: var(--error); }

.ad-spot { max-width: 1180px; margin: 14px auto; padding: 0 16px; text-align: center; }
.ad-spot.placeholder { display: grid; place-items: center; gap: 2px; min-height: 90px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }
.ad-label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.foot { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; text-align: center; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); }
.foot a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Privacy and terms pages */
.legal { max-width: 860px; }
.legal li { margin: 4px 0; }

/* ===== Brighter look: icons, brand badges, heroes, Showcase and News ===== */
:root { --pink: #e8457c; --blue: #2f7ff5; --green: #16a34a; --gold: #eab308; --purple: #8b5cf6; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1 .ic, h2 .ic { width: 1em; height: 1em; }
.h-ic { padding: 5px; width: 1.5em !important; height: 1.5em !important; border-radius: 10px; color: #fff; vertical-align: -0.35em; margin-right: 4px; }
.h-ic.gold { background: linear-gradient(135deg, #facc15, #f59e0b); }
.h-ic.green { background: linear-gradient(135deg, #4ade80, #16a34a); }
.h-ic.red { background: linear-gradient(135deg, #fb7185, #dc2626); }
.h-ic.pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.h-ic.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.h-ic.orange { background: linear-gradient(135deg, #fdba74, #ea580c); }
button .ic, .button .ic { margin-right: 2px; }

/* Brand badges: our own lettering in each maker's colours */
.bb { display: inline-block; padding: 1px 6px 0; border-radius: 5px; font: 800 10.5px/1.6 Outfit, Inter, sans-serif; letter-spacing: .06em; vertical-align: 0.12em; white-space: nowrap;
  transform: skewX(-8deg); box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.bb.big { font-size: 15px; padding: 3px 10px 1px; border-radius: 7px; vertical-align: middle; }
.bb-nerf { background: linear-gradient(180deg, #ff8a1f, #f25c05); color: #fff; border: 1.5px solid #1d4ed8; }
.bb-xshot { background: #fff; color: #f97316; border: 1.5px solid #1e3a8a; }
.bb-dartzone { background: #111827; color: #f43f5e; border: 1.5px solid #f43f5e; }
.bb-buzzbee { background: #fde047; color: #111; border: 1.5px solid #111; }
.bb-advforce { background: #15803d; color: #fff; border: 1.5px solid #14532d; }
.bb-other { background: var(--panel-2); color: var(--muted); border: 1.5px solid var(--line); }
.title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.title-row h1 { margin: 4px 0; }

/* Drawn blasters: a shape per kind, in the brand's colour */
.art .a1 { fill: var(--brand, var(--accent)); }
.art .a2 { fill: color-mix(in srgb, var(--brand, var(--accent)) 50%, #1b1f2e); }
.art .a3 { fill: #fff; opacity: .9; }
.art .a4 { fill: none; stroke: color-mix(in srgb, var(--brand, var(--accent)) 50%, #1b1f2e); stroke-width: 5; stroke-linecap: round; }
.art .a5 { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .5; }
.pic, .big-pic { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 10%, var(--panel)), var(--panel-2)); }
.pic.brand-x-shot, .big-pic.brand-x-shot { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--blue) 14%, var(--panel)), var(--panel-2)); }
.pic.brand-dart-zone, .big-pic.brand-dart-zone { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, #dc2626 12%, var(--panel)), var(--panel-2)); }
.pic.brand-buzz-bee, .big-pic.brand-buzz-bee { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--gold) 16%, var(--panel)), var(--panel-2)); }
.pic.brand-adventure-force, .big-pic.brand-adventure-force { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--green) 14%, var(--panel)), var(--panel-2)); }
.tile:hover { box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 22%, transparent); }
.t-name .bb { margin-right: 2px; }

/* Home hero */
.hero { position: relative; overflow: hidden; border-radius: 0 0 28px 28px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; }
.blob.b1 { width: 340px; height: 340px; background: #f97316; left: -80px; top: -60px; }
.blob.b2 { width: 300px; height: 300px; background: #2f7ff5; right: -60px; top: 20px; }
.blob.b3 { width: 260px; height: 260px; background: #e8457c; left: 45%; bottom: -160px; }
.hero-text { position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #ffd7b8; font-weight: 700; font-size: 13.5px; margin: 0 0 12px; }
.hl { background: linear-gradient(90deg, #ffb057, #ff6a3d, #ff4f8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-search { position: relative; }
.hero-search .in-input { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hero-search input { padding-left: 40px; border-radius: 12px; }
.hero-counts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.hc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e6ebf7; font-size: 14px; }
.hc b { color: #fff; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.ql { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.ql:hover { transform: translateY(-2px); }
.ql .ic { grid-row: 1 / 3; width: 34px; height: 34px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .2); }
.ql b { font: 700 17px Outfit, sans-serif; }
.ql span { font-size: 13px; opacity: .9; }
.ql-1 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.ql-2 { background: linear-gradient(135deg, #ec4899, #9333ea); }
.ql-3 { background: linear-gradient(135deg, #3b82f6, #0ea5e9); }
.ql-4 { background: linear-gradient(135deg, #22c55e, #0d9488); }
.brand-chip .bb { font-size: 11.5px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 6px 0 12px; }
.how-grid div { display: grid; gap: 4px; }
.how-grid .ic { width: 34px; height: 34px; padding: 7px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); }
.how-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.empty-card { display: grid; justify-items: center; gap: 8px; padding: 28px 16px; border: 2px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }
.empty-card > .ic { width: 40px; height: 40px; color: var(--accent); }
.empty-card p { margin: 0; }
.note .ic { color: var(--accent-deep); }

/* Page headers */
.page-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: 20px; color: #fff; margin: 6px 0 18px; box-shadow: var(--shadow); }
.page-hero h1 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.page-hero p { margin: 0; opacity: .92; max-width: 640px; }
.page-hero .button { background: rgba(255, 255, 255, .95); color: #1b1f2e; border: 0; }
.page-hero .button.primary { background: #fff; color: #1b1f2e; }
.ph-pink { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.ph-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.ph-green { background: linear-gradient(135deg, #16a34a, #0d9488); }
.ph-orange { background: linear-gradient(135deg, #f97316, #e11d48); }

/* Brand cards */
.brand-card { position: relative; overflow: hidden; justify-items: start; gap: 10px; padding: 20px; }
.brand-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; opacity: .16; background: var(--accent); }
.bc-xshot::after { background: var(--blue); } .bc-dartzone::after { background: #dc2626; } .bc-buzzbee::after { background: var(--gold); } .bc-advforce::after { background: var(--green); }
.bc-count { color: var(--muted); }
.bc-count b { color: var(--text); font-size: 20px; }

/* Blaster page */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pill.warm { background: color-mix(in srgb, #f97316 14%, var(--panel)); border-color: color-mix(in srgb, #f97316 35%, var(--line)); color: var(--accent-deep); }
.pill.cool { background: color-mix(in srgb, var(--green) 12%, var(--panel)); border-color: color-mix(in srgb, var(--green) 35%, var(--line)); color: var(--up); }
.pill.small { font-size: 11.5px; padding: 1px 7px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.value-box { position: relative; overflow: hidden; }
.value-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--up); }
.vb-new::before { background: var(--blue); } .vb-msrp::before { background: var(--gold); }
.vb-new b { color: var(--blue); } .vb-msrp b { color: color-mix(in srgb, var(--gold) 70%, var(--text)); }
.value-box .label { display: flex; align-items: center; gap: 5px; }
.photo-btn { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .9); color: #1b1f2e; border: 0; box-shadow: var(--shadow); }
.big-pic .credit a { color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.spec { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.spec .ic { grid-row: 1 / 3; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); align-self: center; }
.spec .k { color: var(--muted); font-size: 12.5px; }
.spec .v { font-weight: 700; }
.notice { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); margin: 18px 0; }
.notice .ic { color: var(--muted); margin-top: 2px; }
.foot-notice b { color: var(--text); }

/* Showcase */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.post-card { display: grid; border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--pink); }
.post-pic { position: relative; aspect-ratio: 4 / 3; background: var(--panel-2); }
.post-pic img { width: 100%; height: 100%; object-fit: cover; }
.post-pic .count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; }
.kind { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: var(--purple); }
.post-pic .kind { position: absolute; left: 8px; top: 8px; }
.k-custom { background: #8b5cf6; } .k-paint { background: #ec4899; } .k-mod { background: #f97316; } .k-stock { background: #2563eb; } .k-collection { background: #16a34a; } .k-news { background: #0ea5e9; }
.post-body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.post-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.stats-inline { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; }
.post { display: grid; grid-template-columns: minmax(280px, 1.2fr) 1fr; gap: 24px; align-items: start; }
@media (max-width: 800px) { .post { grid-template-columns: 1fr; } }
.gallery img#g-main { width: 100%; border-radius: 16px; background: var(--panel-2); max-height: 70vh; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs button { padding: 0; width: 70px; height: 70px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.thumbs button.on { border-color: var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.post-text h1 { margin-top: 4px; }
.post-desc { line-height: 1.65; margin: 10px 0; }
.based-on { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.like.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.like .ic { width: 1.2em; height: 1.2em; }
.comment-list { list-style: none; padding: 0; margin: 0 0 12px; }
.comment-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.comment-list p { margin: 0; }
.c-head { display: flex; gap: 8px; align-items: baseline; }
.c-form { display: flex; gap: 8px; align-items: flex-end; }
.c-form textarea { flex: 1; }

/* Foam News */
.news-list { display: grid; gap: 10px; }
.news-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.news-item:hover { border-color: var(--blue); }
.news-item img, .news-ic { width: 110px; height: 80px; border-radius: 10px; object-fit: cover; }
.news-ic { display: grid; place-items: center; background: linear-gradient(135deg, #3b82f6, #06b6d4); color: #fff; }
.news-ic .ic { width: 34px; height: 34px; }
.news-item > span { display: grid; gap: 4px; }
.news-snip { color: var(--muted); font-size: 14px; }

/* Forms with photos */
.file-drop { display: flex; align-items: center; gap: 10px; padding: 18px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; color: var(--muted); font-weight: 600; }
.file-drop:hover, .file-drop.chosen { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }
.file-drop .ic { width: 24px; height: 24px; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.picker { position: relative; }
.picker .picker-q { width: 100%; }
.picker-list { list-style: none; padding: 0; margin: 4px 0 0; border-radius: 10px; overflow: hidden; }
.picker-list:not(:empty) { border: 1px solid var(--line); box-shadow: var(--shadow); }
.picker-list button { width: 100%; justify-content: flex-start; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.sub-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.sub-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.sub-list li img { border-radius: 6px; object-fit: cover; }
.sub-list li > span { flex: 1; }

/* Admin approvals */
.approve h3 { margin: 4px 0 8px; }
.photo-review { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.compare { display: flex; gap: 10px; }
.compare figure { margin: 0; flex: 1; }
.compare img { width: 100%; height: 180px; object-fit: contain; background: var(--panel-2); border-radius: 10px; }
.compare figcaption { font-size: 12.5px; color: var(--muted); }
.thumb-row { display: flex; gap: 8px; margin: 8px 0; }
.thumb-row img { width: 90px; height: 70px; object-fit: cover; border-radius: 8px; }

/* Stars, price reports, approvals */
.rating-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.stars-avg .s { color: var(--line); font-size: 20px; }
.stars-avg .s.on { color: #f59e0b; }
.your-stars { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 13px; }
.your-stars .star { padding: 0 3px; border: 0; background: none; font-size: 22px; color: var(--line); line-height: 1; }
.your-stars .star.on, .your-stars .star:hover { color: #f59e0b; }
.price-in { width: 100px; }
.approve.from-system { border-left: 4px solid var(--blue); }
.approve.from-member { border-left: 4px solid var(--accent); }

/* Phones and the installed app: a bottom tab bar; the top menu shrinks to logo, search and sign-in */
.tabbar { display: none; }
@media (max-width: 700px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -4px 16px rgba(0, 0, 0, .2); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 11px; font-weight: 600; }
  .tabbar a.on { color: var(--accent); }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .top .nav { display: none; }
  body { padding-bottom: 72px; }
  .toast { bottom: 86px; }
  .hero { margin: -18px -16px 0; border-radius: 0 0 22px 22px; }
  .page-hero { padding: 18px; }
  .blaster-info h1 { font-size: 26px; }
}

/* Phone fixes: nothing wider than the screen */
html, body { max-width: 100%; overflow-x: hidden; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(min(178px, 44%), 1fr)); }
.quick-links { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.posts { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.two-col { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.big-pic .credit { background: rgba(255, 255, 255, .85); padding: 2px 8px; border-radius: 6px; color: #333; }
.big-pic .credit a { color: #333; }
@media (max-width: 700px) {
  .top { gap: 8px; padding: 8px 12px; }
  .brand { font-size: 19px; }
  .who { margin-left: auto; }
  .who .primary { padding: 7px 12px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15.5px; }
  .hero-search button { padding: 13px 14px; }
  .hc { font-size: 12.5px; padding: 5px 9px; }
  .tiles { gap: 8px; }
  .tile { padding: 8px; }
  .val { font-size: 15px; }
  .ql { padding: 12px; }
  .ql b { font-size: 15px; }
  .ad-spot.placeholder { min-height: 60px; }
  .news-item { grid-template-columns: 80px 1fr; }
  .news-item img, .news-ic { width: 80px; height: 64px; }
  .blaster-head { gap: 14px; }
  .values { grid-template-columns: 1fr 1fr; }
  .filters select { flex: 1 1 45%; }
}

/* Admin traffic page (from TheFoxPack) */
.live-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: live-pulse 2s infinite; flex: none; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-bottom: 16px; }
.live-grid .panel { margin: 0; }
.live-grid .panel.wide { grid-column: 1 / -1; }
.live-grid h2 { font-size: 16px; margin: 0 0 10px; }
.live-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.live-bars li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(80px, 1fr) 3.5em; align-items: center; gap: 12px; font-size: 14.5px; padding: 2px 0; }
.live-bars li b { text-align: right; font-variant-numeric: tabular-nums; }
.lb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
.lb-bar { height: 10px; border-radius: 5px; background: var(--panel-2); overflow: hidden; }
.lb-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--accent), #ff4f8b); }
.live-chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 3px; height: 120px; padding: 4px 0; }
.live-chart span { height: 100%; display: flex; align-items: end; }
.live-chart i { display: block; width: 100%; height: 4%; border-radius: 3px 3px 0 0; background: var(--accent); opacity: .85; }
.live-chart span:hover i { opacity: 1; }
.activity { max-height: 360px; overflow-y: auto; }
.activity li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.act-time { font-size: 12.5px; }

/* Profile changes (admin) and the photo picture upload */
.pc-list { display: grid; gap: 10px; }
.pc { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; margin: 0; }
.pc.done { opacity: .6; }
.pc-text p { margin: 2px 0; }
.pc-photo { max-width: 160px; max-height: 160px; border-radius: 12px; margin-top: 4px; }
.pc-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) { .pc { grid-template-columns: 48px 1fr; } .pc-actions { grid-column: 1 / -1; justify-content: flex-start; } }
.small-drop { padding: 10px 14px; font-size: 14px; }
.avatar { object-fit: cover; }

/* Comments, reports and ratings */
.report-link { color: var(--muted) !important; text-decoration: none !important; margin-left: 6px; }
.report-link .ic { width: .95em; height: .95em; }
.reported { margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--error); background: var(--panel-2); border-radius: 0 8px 8px 0; white-space: pre-wrap; }
.reported.gone { text-decoration: line-through; opacity: .6; }
.stars-avg.official .s.on { color: var(--accent); }
.admin-rate { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px dashed var(--line); border-radius: 8px; }
.admin-rate select { padding: 3px 6px; }

/* Stars on blaster cards */
.t-stars { font-size: 13px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.t-stars i { font-style: normal; color: var(--line); }
.t-stars i.on { color: #f59e0b; }
.t-stars.official i.on { color: var(--accent); }
.t-stars span { font-size: 12px; }
