/* Pokari — professional black design (docs/design/direction.md). Change the look here via tokens. */
:root {
  --brand-gold: #F7DFA0; --brand-amber: #F0A24E; --brand-coral: #E8503A; --brand-ember: #C9381F;
  --brand-ice: #D9F1FF; --brand-sky: #7FA8FF; --brand-violet: #8B5CF6; --brand-indigo: #5A3BC9;
  --bg: #0A0A0B; --surface: #121214; --surface-2: #17171A; --surface-3: #1C1C1F;
  --border: #2A2A2E; --border-strong: #3A3A3F; --line: #1F1F22;
  --text: #F2F0EB; --text-2: #C9C6BF; --text-3: #A8A59E; --text-4: #8A877F; --placeholder: #6E6B65;
  --accent: #E8503A; --accent-bg: #1B1512; --accent-border: #3A2420;
  --ok: #5FBF8A; --ok-border: #2E4A3A; --warn: #E0B04A;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-headline: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r-sm: 8px; --r-md: 14px; --r-lg: 18px;
  --gutter: 64px; --maxw: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-3); }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.accent { color: var(--accent); }

/* Buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font: 600 15px var(--font-body); border: 1px solid transparent; cursor: pointer; background: var(--text); color: var(--bg); }
.btn:hover { background: #fff; color: var(--bg); }
/* Brand button: same gold-to-coral (and cycling) colours as the logo (ADR-041) */
.btn-brand { background: linear-gradient(90deg, var(--lg-1) 0%, var(--lg-2) 50%, var(--lg-3) 100%); color: #0A0A0B; border-color: transparent; font-weight: 600; }
.btn-brand:hover { background: linear-gradient(90deg, var(--lg-1) 0%, var(--lg-2) 50%, var(--lg-3) 100%); color: #0A0A0B; filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); font-weight: 500; }
.btn-outline:hover { background: var(--surface-3); color: var(--text); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); color: var(--text); font: 15px var(--font-body); }
textarea.input { line-height: 1.5; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--text-2); }
.field .err { color: var(--accent); font-size: 13px; }
.field.has-err .input { border-color: var(--accent); }
.hint { font-size: 12px; color: var(--text-4); }

/* Header */
.topbar { border-bottom: 1px solid var(--line); position: relative; }
.topbar .wrap { display: flex; align-items: center; gap: 36px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: 22px; letter-spacing: .32em; white-space: nowrap; }
.logo-mark { flex: none; display: block; }
/* Logo colours slowly cycle between two themes: warm (gold → coral) and cool (ice → violet). ADR-036 */
@property --lg-1 { syntax: '<color>'; inherits: true; initial-value: #F7DFA0; }
@property --lg-2 { syntax: '<color>'; inherits: true; initial-value: #F0A24E; }
@property --lg-3 { syntax: '<color>'; inherits: true; initial-value: #E8503A; }
@property --lg-4 { syntax: '<color>'; inherits: true; initial-value: #C9381F; }
.logo, .brand-cycle { --lg-1: var(--brand-gold); --lg-2: var(--brand-amber); --lg-3: var(--brand-coral); --lg-4: var(--brand-ember); animation: logo-colours 12s ease-in-out infinite alternate; }
@keyframes logo-colours {
  0%, 40%   { --lg-1: var(--brand-gold); --lg-2: var(--brand-amber); --lg-3: var(--brand-coral);  --lg-4: var(--brand-ember); }
  60%, 100% { --lg-1: var(--brand-ice);  --lg-2: var(--brand-sky);   --lg-3: var(--brand-violet); --lg-4: var(--brand-indigo); }
}
@media (prefers-reduced-motion: reduce) { .logo, .brand-cycle { animation: none; } }
.logo-mark .lg-s1 { stop-color: var(--lg-1); }
.logo-mark .lg-s2 { stop-color: var(--lg-2); }
.logo-mark .lg-s3 { stop-color: var(--lg-3); }
.logo-mark .lg-s4 { stop-color: var(--lg-4); }
.logo-word { color: var(--lg-2); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .logo-word { background: linear-gradient(90deg, var(--lg-1) 0%, var(--lg-2) 50%, var(--lg-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.nav { display: flex; gap: 24px; font-size: 14px; flex: 1; flex-wrap: wrap; }
.topbar details { display: none; }
.tools { margin-left: auto; }
.catbar { border-top: 1px solid var(--line); }
.catbar .wrap { display: flex; align-items: center; gap: 32px; min-height: 52px; font-size: 14px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a { color: var(--text-2); padding: 6px 0; }
.catbar a:hover { color: var(--text); }
.catbar a.hl { color: var(--accent); }
.nav a.hl { color: var(--accent); }
.tools { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); }
.search input { background: transparent; border: 0; color: var(--text); font: 14px var(--font-body); width: 190px; outline: none; }
.chip-select { height: 44px; padding: 0 10px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-sm); font: 13px var(--font-body); }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); }
.badge-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 600 11px/20px var(--font-body); text-align: center; }
.menu-toggle { display: none; }

/* Flash */
.flash { margin: 16px auto 0; max-width: var(--maxw); padding: 0 var(--gutter); }
.flash div { padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--ok-border); background: #0F1A14; font-size: 14px; }
.flash div.error { border-color: var(--accent-border); background: var(--accent-bg); }

/* Hero */
.hero { display: grid; grid-template-columns: 7fr 1fr 4fr; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.hero-main { display: flex; flex-direction: column; gap: 26px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px; border: 1px solid var(--accent-border); border-radius: 18px; background: #16100E; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 { font-family: var(--font-headline); font-weight: 600; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1.long { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; } /* long keyword headlines, ADR-054 */
/* First sentence of the headline in the logo colours (ADR-042) */
.hero h1 .hl { color: var(--lg-2); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hl { background: linear-gradient(90deg, var(--lg-1) 0%, var(--lg-2) 50%, var(--lg-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
.hero p.lead { margin: 0; max-width: 580px; font-size: 19px; color: var(--text-2); }
.hero-prices { display: flex; gap: 40px; align-items: stretch; }
.hero-prices .sep { width: 1px; background: var(--border); }
.hero-prices .lbl { font-size: 13px; color: var(--text-3); }
.hero-prices .val { font-family: var(--font-mono); font-size: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
/* Featured product card: fixed compact size, never stretched to the height of the hero text (ADR-045) */
.feature-card { grid-column: 3; align-self: start; justify-self: end; width: 100%; max-width: 360px; }
.feature-card .card { height: auto; }
.feature-card .card-img { aspect-ratio: 4 / 3; }
/* Featured "Shop now" card: no prices, whole card links to the product (ADR-048). Distinct from the On the floor now spotlight. */
.feature-shop { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: transform .25s ease; }
.feature-shop::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--brand-gold), var(--brand-coral) 55%, var(--brand-violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .45; transition: opacity .25s ease; }
.fs-label { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #0A0A0B; background: linear-gradient(90deg, var(--brand-gold), var(--brand-amber)); }
.fs-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 28px 24px 8px; background: radial-gradient(60% 70% at 50% 55%, rgba(240,162,78,.14), transparent 70%); }
.fs-photo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(0,0,0,.55)); transition: transform .35s ease; }
.fs-nophoto { color: var(--placeholder); font-size: 13px; }
.fs-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; }
.fs-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fs-meta .tag { position: static; }
.fs-game { font-size: 13px; color: var(--text-3); }
.fs-name { font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--text); }
.fs-btn { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--brand-amber); color: var(--brand-amber); font-weight: 600; font-size: 14px; transition: background .2s ease, color .2s ease; }
.feature-shop:hover, .feature-shop:focus-visible { transform: translateY(-3px); }
.feature-shop:hover::before, .feature-shop:focus-visible::before { opacity: 1; }
.feature-shop:hover .fs-photo img { transform: scale(1.04); }
.feature-shop:hover .fs-btn, .feature-shop:focus-visible .fs-btn { background: linear-gradient(90deg, var(--brand-gold), var(--brand-amber) 50%, var(--brand-coral)); color: #0A0A0B; border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .feature-shop, .fs-photo img { transition: none; } }

/* Cards */
.card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.card:hover { border-color: var(--border-strong); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--placeholder); font-size: 13px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-name { font-size: 16px; font-weight: 500; line-height: 1.35; min-height: 43px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--font-mono); font-size: 19px; }
.strike { font-family: var(--font-mono); font-size: 13px; color: var(--placeholder); text-decoration: line-through; }
.tag { position: absolute; top: 14px; left: 14px; font: 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 5px 8px; }
.tag-ok { color: var(--ok); background: #0F1A14; border: 1px solid var(--ok-border); }
.tag-low { color: var(--warn); background: #1A160C; border: 1px solid #4A3E20; }
.tag-pre, .tag-soon { color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-border); }
.tag-out { color: var(--text-3); background: var(--surface-3); border: 1px solid var(--border); }
.moq { align-self: flex-start; font: 11px var(--font-mono); letter-spacing: .08em; color: var(--text-3); border: 1px solid var(--border); border-radius: 6px; padding: 5px 8px; }

/* Sections */
.section { padding-top: 104px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 4vw, 52px); }
.section-head p { margin: 10px 0 0; color: var(--text-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* "On the floor now": one owner-picked product spotlight, no prices, links to the product (ADR-047) */
.floor { padding-top: 8px; padding-bottom: 8px; }
.floor-spot { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; min-height: 440px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .25s ease, transform .25s ease;
  background: radial-gradient(60% 80% at 28% 50%, rgba(240,162,78,.20), transparent 70%), radial-gradient(50% 70% at 90% 10%, rgba(139,92,246,.10), transparent 70%), linear-gradient(135deg, var(--surface-2), var(--bg)); }
.floor-photo { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; padding: 36px; }
.floor-photo img { width: 100%; height: 100%; max-height: 400px; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0,0,0,.65)); transition: transform .4s ease; }
.floor-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 40px 48px 40px 8px; }
.floor-live { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.floor-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #3BD27A; animation: floor-pulse 2s ease-out infinite; }
@keyframes floor-pulse { 0% { box-shadow: 0 0 0 0 rgba(59,210,122,.55); } 100% { box-shadow: 0 0 0 10px rgba(59,210,122,0); } }
.floor-game { font-size: 14px; color: var(--text-3); }
.floor-name { margin: 0; font-family: var(--font-headline); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; color: var(--text); }
.floor-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.floor-badges .tag { position: static; }
.floor-release { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.floor-go { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-sm); font-weight: 600; color: #0A0A0B;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-amber) 50%, var(--brand-coral)); transition: filter .2s ease; }
.floor-spot:hover, .floor-spot:focus-visible { border-color: var(--brand-amber); transform: translateY(-2px); }
.floor-spot:hover img, .floor-spot:focus-visible img { transform: scale(1.04) rotate(-1deg); }
.floor-spot:hover .floor-go { filter: brightness(1.08); }
@media (max-width: 760px) {
  .floor-spot { grid-template-columns: 1fr; min-height: 0; }
  .floor-photo { height: 300px; padding: 24px 24px 0; }
  .floor-info { padding: 20px 22px 26px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .floor-live .dot { animation: none; } .floor-spot, .floor-spot img { transition: none; } }
/* Homepage picture section under the hero: shown only when the owner uploads a photo in Settings */
.showcase { margin-bottom: 8px; }
.showcase-media { position: relative; margin: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); aspect-ratio: 21 / 9; }
.showcase-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 32px 26px; font-size: 17px; color: var(--text); background: linear-gradient(transparent, rgba(10,10,11,.85)); }
@media (max-width: 760px) {
  .showcase-media { aspect-ratio: 4 / 3; }
  .cat { padding: 16px; }
  .cat-art { margin: -4px -4px 0; }
  .showcase-media figcaption { padding: 40px 18px 16px; font-size: 15px; }
}
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats > div { padding: 28px 0; display: flex; flex-direction: column; gap: 8px; }
.stats > div + div { border-left: 1px solid var(--border); padding-left: 24px; }
.stats .val { font-family: var(--font-mono); font-size: 26px; }
.cat { min-height: 260px; padding: 24px; justify-content: space-between; }
.cat .name { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; overflow-wrap: anywhere; }
/* Category tile photos (owner-approved, ADR-037): up to 3 product photos fanned like a hand of cards. */
.cat.has-art { gap: 18px; justify-content: flex-start; }
.cat-art { position: relative; display: block; aspect-ratio: 1 / 1; margin: -8px -8px 0; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; }
.cat-art img { position: absolute; top: 6%; left: 8%; width: 84%; height: 88%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); transition: transform .3s ease; }
/* Two photos: side by side with a light overlap and a slight tilt */
.cat-art.n2 img { top: 8%; width: 64%; height: 84%; }
.cat-art.n2 img:nth-child(1) { left: 2%; transform: rotate(-3deg); }
.cat-art.n2 img:nth-child(2) { left: 34%; transform: rotate(3deg); }
/* Three photos: the newest large in front, two peeking behind */
.cat-art.n3 img:nth-child(2) { top: 12%; left: 0; width: 56%; height: 76%; transform: rotate(-5deg); }
.cat-art.n3 img:nth-child(3) { top: 12%; left: 44%; width: 56%; height: 76%; transform: rotate(5deg); }
.cat-art.n3 img:nth-child(1) { top: 4%; left: 17%; width: 66%; height: 92%; z-index: 1; }
.cat:hover .cat-art img { transform: translateY(-4px); }
.cat:hover .cat-art.n2 img:nth-child(1) { transform: rotate(-3deg) translateY(-4px); }
.cat:hover .cat-art.n2 img:nth-child(2) { transform: rotate(3deg) translateY(-4px); }
.cat:hover .cat-art.n3 img:nth-child(2) { transform: rotate(-5deg) translateY(-4px); }
.cat:hover .cat-art.n3 img:nth-child(3) { transform: rotate(5deg) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .cat-art img { transition: none; } }
.step { padding: 32px; border: 1px solid var(--border); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 14px; }
.step h3 { margin: 0; font-size: 22px; font-weight: 500; }
.step p { margin: 0; color: var(--text-3); }
.ladder-panel { margin-top: 120px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.ladder-panel .visual { min-height: 520px; background: var(--surface-2); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--placeholder); }
.ladder-panel .body { padding: 56px; display: flex; flex-direction: column; gap: 22px; }
.ladder { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ladder .row { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.ladder .row:last-child { border-bottom: 0; }
.ladder .row.head { background: var(--surface-2); font-size: 13px; color: var(--text-3); }
.ladder .row.on { background: var(--accent-bg); color: var(--accent); font-weight: 500; }
.ladder .row .mono { color: inherit; }
.statement { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.statement h2 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; }
.trust > div { border-top: 1px solid var(--border-strong); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.trust .t { font-size: 20px; font-weight: 500; }
.cta-band { margin-top: 120px; padding: 72px; border-radius: var(--r-lg); background: var(--text); color: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(36px, 4vw, 56px); }
.cta-band p { margin: 14px 0 0; color: #3A3833; font-size: 17px; }
.cta-band .btn-outline { color: var(--bg); border-color: var(--bg); }
.cta-band .btn-outline:hover { background: #E4E1DA; color: var(--bg); }

/* Listing */
.page-head { padding-top: 56px; padding-bottom: 32px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); }
.page-head p { margin: 12px 0 0; color: var(--text-3); max-width: 680px; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; padding: 0; max-width: 720px; }
.progress li { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-4); padding-top: 2px; }
.progress li::before { content: ""; position: absolute; top: 7px; left: 16px; right: -8px; height: 2px; background: var(--border); }
.progress li:last-child::before { display: none; }
.progress .dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--bg); }
.progress li.done, .progress li.current { color: var(--text); }
.progress li.done::before { background: var(--accent); }
.progress li.done .dot { background: var(--accent); border-color: var(--accent); }
.progress li.current .dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-bg); }
.subcats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.subcats .chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 14px; color: var(--text); }
.subcats .chip:hover { border-color: var(--text-3); }
/* Homepage SEO copy and "Shop by set" rows, ADR-054 */
.seo-copy { border-top: 1px solid var(--border); }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.seo-copy h2 { font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--text); margin: 0 0 12px; }
.seo-copy p { margin: 0 0 12px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.seo-copy a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.seo-copy a:hover { text-decoration-color: var(--text); }
.set-row { margin-top: 48px; }
.set-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.set-chips .chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 14px; color: var(--text); text-decoration: none; }
.set-chips .chip:hover { border-color: var(--text-3); }
/* Product page "Shop more" internal links, ADR-056 */
.shop-more h2 { font-size: 22px; font-weight: 600; margin: 0 0 16px; }
@media (max-width: 760px) { .seo-grid { grid-template-columns: 1fr; gap: 32px; } }
/* Collection split into sections (One Piece Sets: English / Japanese), ADR-050 */
.cat-group { margin-top: 40px; }
.cat-group + .cat-group { padding-top: 40px; border-top: 1px solid var(--border); }
.cat-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-group-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0; }
.cat-group-head .link-more { font-size: 14px; color: var(--text-2); }
.cat-group-head .link-more:hover { color: var(--text); }
.empty { padding: 64px; border: 1px dashed var(--border-strong); border-radius: var(--r-md); text-align: center; color: var(--text-3); }

/* Product page */
.crumbs { padding-top: 28px; font-size: 13px; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--text-3); }
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; padding-top: 28px; }
.gallery-main { aspect-ratio: 1 / 1; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--placeholder); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs a { aspect-ratio: 1/1; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.buy { display: flex; flex-direction: column; gap: 24px; }
.buy h1 { font-size: clamp(38px, 4vw, 54px); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badges span { position: static; }
.qty-row { display: flex; gap: 12px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-sm); height: 56px; }
.stepper button { width: 52px; height: 54px; background: transparent; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }
.stepper input { width: 76px; height: 54px; text-align: center; background: transparent; border: 0; color: var(--text); font: 18px var(--font-mono); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .btn { flex: 1; min-height: 56px; font-size: 16px; }
.kv { border-top: 1px solid var(--border); }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.kv > div span:last-child { color: var(--text-2); text-align: right; }
.fine { font-size: 13px; color: var(--text-4); margin: 0; }
.prose { max-width: 760px; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 24px; line-height: 1.25; color: var(--text); margin: 1.6em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin: 0 0 0.4em; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--text); }
.collection-about { padding-top: 64px; padding-bottom: 16px; border-top: 1px solid var(--line); margin-top: 64px; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.specs > div { border-top: 1px solid var(--border-strong); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Cart & checkout */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 12px var(--font-mono); letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; padding: 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 16px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table .num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.line-err { color: var(--accent); font-size: 13px; margin-top: 4px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.panel { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.panel h2 { margin: 0; font-size: 18px; font-weight: 500; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); cursor: pointer; }
.choice input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.choice .c-title { font-weight: 500; }
.choice .c-sub { font-size: 13px; color: var(--text-3); }
.choice.disabled { opacity: .45; cursor: not-allowed; }
.choice[hidden] { display: none; }
.totals > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.totals .grand { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 600; }

/* Footer */
.footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { margin: 0 0 14px; font: 12px var(--font-mono); letter-spacing: .12em; color: var(--text-3); text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 40px; font-size: 12px; color: var(--text-4); }
.legal span:last-child { max-width: 760px; text-align: right; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .feature-card { grid-column: auto; justify-self: start; max-width: 360px; }
  .ladder-panel, .two-col, .pdp, .statement { grid-template-columns: 1fr; }
  .ladder-panel .visual { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .catbar { display: none; }
  .topbar details { display: block; }
  .menu-toggle { display: inline-flex; }
  .topbar details[open] .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 20px var(--gutter); border-bottom: 1px solid var(--line); z-index: 10; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .grid-4, .grid-3, .specs { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .topbar .wrap { flex-wrap: wrap; gap: 12px; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .topbar .logo { flex: 1; }
  .tools { order: 3; width: 100%; }
  .search { flex: 1; min-width: 0; }
  .search input { width: 100%; min-width: 0; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .cta-band, .ladder-panel .body { padding: 32px; }
  .row-2 { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
  .legal span:last-child { text-align: left; }
  .hero-prices { gap: 20px; }
  .table .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Admin */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-nav { border-right: 1px solid var(--line); padding: 28px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.admin-nav .logo { padding: 0 12px 24px; font-size: 18px; }
.admin-nav a, .admin-nav button { min-height: 44px; padding: 0 12px; display: flex; align-items: center; border-radius: var(--r-sm); font: 14px var(--font-body); color: var(--text-3); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.admin-nav a.on { background: var(--surface-3); color: var(--text); font-weight: 500; }
.admin-main { padding: 36px 48px 80px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.admin-main h1 { font-family: var(--font-display); font-weight: 400; font-size: 42px; margin: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; }
.filters .input { width: auto; min-width: 180px; }
.thumb { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--surface-3); border: 1px solid var(--border); object-fit: cover; }
.admin-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.admin-cols > div { display: flex; flex-direction: column; gap: 24px; }
.tier-row { display: grid; grid-template-columns: 1fr 1fr 52px; gap: 12px; align-items: center; }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo { border: 1px solid var(--border); border-radius: 10px; background: var(--surface-3); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.photo img { aspect-ratio: 1/1; object-fit: contain; width: 100%; }
.serp { padding: 18px; border-radius: 10px; background: #F2F0EB; color: #202124; display: flex; flex-direction: column; gap: 4px; font-family: Arial, sans-serif; }
.serp .u { font-size: 12px; color: #4D5156; } .serp .t { font-size: 18px; color: #1A0DAB; } .serp .d { font-size: 13px; color: #4D5156; }
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-box { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 28px; }
.status { font: 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 5px 8px; border: 1px solid var(--border-strong); color: var(--text-2); white-space: nowrap; }
.status.awaiting_payment { color: var(--warn); border-color: #4A3E20; }
.status.paid, .status.delivered { color: var(--ok); border-color: var(--ok-border); }
.status.cancelled, .status.refunded { color: var(--text-4); }
.code-key { font: 18px var(--font-mono); letter-spacing: .12em; padding: 14px; background: var(--bg); border: 1px dashed var(--border-strong); border-radius: var(--r-sm); word-break: break-all; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .admin-nav { position: static; height: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-main { padding: 24px 16px 60px; }
  .admin-cols { grid-template-columns: 1fr; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer-grid .social { display: block; margin-top: 8px; }
