:root {
  --navy: #1a2a6c;
  --navy-deep: #0f1a4a;
  --navy-2: #24398f;
  --corn: #6487e8;
  --peri: #9db3f5;
  --peri-light: #dfe6fd;
  --off: #eef2ff;
  --ink: #0f1a4a;
  --ink-2: #4a5888;
  --line: #ccd6f6;
  --warn: #f59e0b;
  --radius: 10px;
  --shadow: 0 12px 30px -14px rgba(15, 26, 74, .35);
  --px: 4px 4px 0 var(--navy-deep);
  --cjk: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font: "Inter", var(--cjk), system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Silkscreen", var(--cjk), monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--off); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
[lang="zh-Hans"] { font-family: var(--cjk); }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-2); margin: 0; }
.muted-light { color: #93a3d6; }

/* Draft strip */
.draft-strip { background: repeating-linear-gradient(45deg, #fde68a, #fde68a 14px, #fcd34d 14px, #fcd34d 28px); color: #78350f; font-size: .82rem; font-weight: 600; text-align: center; padding: 6px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 26, 74, .95); backdrop-filter: blur(10px); color: var(--off); border-bottom: 3px solid var(--corn); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; border: 2px solid var(--peri); image-rendering: pixelated; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--off); text-shadow: 2px 2px 0 var(--navy-2); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: .92rem; }
.site-nav a { color: #c3cff5; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--navy-2); color: var(--off); border: 2px solid var(--corn); cursor: pointer; }
.cart-btn:hover { background: var(--corn); }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--warn); color: var(--navy-deep); font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--navy-deep); }
.cart-count.is-empty { background: var(--peri); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .98rem var(--font); padding: 12px 20px; border-radius: 6px; border: 2px solid var(--navy-deep); cursor: pointer; transition: transform .1s, box-shadow .1s, background .2s; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy-deep) !important; }
.btn-primary { background: var(--peri); color: var(--navy-deep); box-shadow: var(--px); }
.btn-primary:hover { background: #b4c5fa; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--off); border-color: var(--peri); }
.btn-ghost:hover { background: rgba(157, 179, 245, .15); }
.btn-sm { padding: 8px 12px; font-size: .85rem; box-shadow: 3px 3px 0 var(--navy-deep); }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; color: var(--off); overflow: hidden;
  background:
    radial-gradient(circle, rgba(157,179,245,.12) 1px, transparent 1.5px) 0 0 / 16px 16px,
    radial-gradient(900px 500px at 80% 30%, rgba(100,135,232,.45), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy) 70%, var(--navy-2)); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 64px 0 110px; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--corn); margin-bottom: 12px; }
.eyebrow-light { color: var(--peri); }
.cn-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--off); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 6px 14px 6px 6px; border-radius: 6px; border: 2px solid var(--navy-deep); box-shadow: var(--px); margin-bottom: 22px; }
.cn-badge [lang] { background: var(--navy); color: var(--off); padding: 3px 9px; border-radius: 4px; font-size: .95rem; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 18px; text-shadow: 3px 3px 0 var(--navy-deep); }
.hero h1 [lang], .hero h1 { word-break: keep-all; }
.grad-text { color: var(--peri); }
.lead { font-size: 1.1rem; color: #c9d4f7; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #a9b8e8; }
.trust span { color: var(--peri); font-weight: 800; margin-right: 4px; }
.hero-art { position: relative; height: 440px; display: grid; place-items: center; }
.hero-logo { position: relative; z-index: 3; width: min(400px, 100%); height: auto; aspect-ratio: 1; border-radius: 14px; border: 4px solid var(--off); box-shadow: 8px 8px 0 var(--navy-deep), 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-2deg); }
.hero-card { position: absolute; width: 170px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.hc-2 { left: -10px; top: 70px; transform: rotate(-14deg); z-index: 2; }
.hc-3 { right: -10px; top: 150px; transform: rotate(12deg); z-index: 4; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; z-index: 0; }

/* Placeholder card art (pure CSS, no real card images) */
.pcard { --c1: #999; --c2: #666; --c3: #eee; aspect-ratio: 63 / 88; width: 100%; border-radius: 12px; padding: 7px; background: linear-gradient(145deg, #fde68a, #f59e0b 40%, #fde68a 70%, #d97706); position: relative; }
.pcard-inner { height: 100%; border-radius: 7px; background: linear-gradient(160deg, var(--c3), var(--c1)); display: flex; flex-direction: column; padding: 8px; gap: 6px; overflow: hidden; position: relative; }
.pcard-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); pointer-events: none; }
.pc-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; color: #111; gap: 6px; }
.pc-name { font-family: var(--display); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-hp { font-size: .7rem; color: #7f1d1d; white-space: nowrap; }
.pc-window { flex: 1; border-radius: 4px; border: 3px solid rgba(255,255,255,.75); background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.85), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; box-shadow: inset 0 0 20px rgba(0,0,0,.2); }
.pc-symbol { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--c2); box-shadow: 0 0 0 4px rgba(255,255,255,.8), 0 6px 14px rgba(0,0,0,.25); position: relative; }
.pc-symbol::after { content: ""; position: absolute; inset: 18%; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.pc-bottom { font-size: .68rem; font-weight: 600; color: rgba(0,0,0,.65); background: rgba(255,255,255,.55); border-radius: 4px; padding: 4px 6px; height: 22%; max-height: 52px; }

.type-fire     { --c1: #fb923c; --c2: #dc2626; --c3: #fed7aa; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 4 5 6 5 11a5 5 0 0 1-10 0c0-2 1-4 2-5 0 2 1 3 2 3 0-3-1-6 1-9z'/%3E%3C/svg%3E"); }
.type-water    { --c1: #60a5fa; --c2: #1d4ed8; --c3: #dbeafe; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2s7 8 7 13a7 7 0 0 1-14 0c0-5 7-13 7-13z'/%3E%3C/svg%3E"); }
.type-electric { --c1: #facc15; --c2: #ca8a04; --c3: #fef9c3; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.type-grass    { --c1: #4ade80; --c2: #15803d; --c3: #dcfce7; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3C9 3 4 8 4 15c0 2 .5 4 1.5 5.5L4 22h2l1-1.5C8.5 21.5 10 22 12 22c7 0 9-9 8-19zM8 18c2-5 5-8 9-10-3 3-6 6-9 10z'/%3E%3C/svg%3E"); }
.type-psychic  { --c1: #c084fc; --c2: #7e22ce; --c3: #f3e8ff; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6 5 2 12 2 12s4 7 10 7 10-7 10-7-4-7-10-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E"); }
.type-dragon   { --c1: #2dd4bf; --c2: #0f766e; --c3: #ccfbf1; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l3 8 8 3-8 3-3 8-3-8-8-3 8-3z'/%3E%3C/svg%3E"); }
.type-dark     { --c1: #64748b; --c2: #1e293b; --c3: #cbd5e1; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 2a10 10 0 1 0 7 15A8 8 0 0 1 15 2z'/%3E%3C/svg%3E"); }

/* Placeholder sealed product art (CSS only) */
.pk-violet { --p1: #8b5cf6; --p2: #4c1d95; }
.pk-red    { --p1: #f87171; --p2: #991b1b; }
.pk-gold   { --p1: #fbbf24; --p2: #b45309; }
.ppack { width: 62%; margin: 0 auto; aspect-ratio: 5 / 8.4; filter: drop-shadow(0 14px 14px rgba(15,26,74,.35)); }
.ppack-body { width: 100%; height: 100%; clip-path: polygon(0.00% 3.5%, 4.17% 0%, 8.33% 3.5%, 12.50% 0%, 16.67% 3.5%, 20.83% 0%, 25.00% 3.5%, 29.17% 0%, 33.33% 3.5%, 37.50% 0%, 41.67% 3.5%, 45.83% 0%, 50.00% 3.5%, 54.17% 0%, 58.33% 3.5%, 62.50% 0%, 66.67% 3.5%, 70.83% 0%, 75.00% 3.5%, 79.17% 0%, 83.33% 3.5%, 87.50% 0%, 91.67% 3.5%, 95.83% 0%, 100.00% 3.5%, 100.00% 96.5%, 95.83% 100%, 91.67% 96.5%, 87.50% 100%, 83.33% 96.5%, 79.17% 100%, 75.00% 96.5%, 70.83% 100%, 66.67% 96.5%, 62.50% 100%, 58.33% 96.5%, 54.17% 100%, 50.00% 96.5%, 45.83% 100%, 41.67% 96.5%, 37.50% 100%, 33.33% 96.5%, 29.17% 100%, 25.00% 96.5%, 20.83% 100%, 16.67% 96.5%, 12.50% 100%, 8.33% 96.5%, 4.17% 100%, 0.00% 96.5%); background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 48%, transparent 60%), linear-gradient(160deg, var(--p1), var(--p2)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; padding: 18px 10px; position: relative; }
.ppack-body::before, .ppack-body::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 3px, transparent 3px 6px); }
.ppack-body::before { top: 0; } .ppack-body::after { bottom: 0; }
.ppack-ball { width: 42%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.95) 0 46%, var(--navy-deep) 46% 54%, rgba(255,255,255,.55) 54%); border: 3px solid var(--navy-deep); position: relative; }
.ppack-ball::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: #fff; border: 3px solid var(--navy-deep); }
.ppack-title { font-weight: 700; font-size: .95rem; text-shadow: 0 1px 2px rgba(0,0,0,.5); line-height: 1.25; }
.ppack-sub { font-size: .75rem; background: rgba(0,0,0,.28); padding: 2px 8px; border-radius: 4px; }
.pbox { --d: 16px; position: relative; width: 78%; margin: var(--d) auto 0; aspect-ratio: 4 / 4.6; filter: drop-shadow(0 16px 16px rgba(15,26,74,.35)); }
.pbox-front { position: absolute; inset: 0 var(--d) 0 0; border-radius: 3px; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.3) 48%, transparent 60%), linear-gradient(160deg, var(--p1), var(--p2)); border: 2px solid rgba(15,26,74,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; padding: 12px; }
.pbox-front .ppack-ball { width: 34%; }
.pbox-top { position: absolute; left: 0; right: var(--d); top: calc(var(--d) * -1); height: var(--d); background: var(--p1); filter: brightness(1.25); transform: skewX(-45deg); transform-origin: bottom left; border: 2px solid rgba(15,26,74,.5); border-bottom: 0; }
.pbox::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: var(--d); background: var(--p2); filter: brightness(.75); transform: skewY(-45deg); transform-origin: top left; border: 2px solid rgba(15,26,74,.5); border-left: 0; }

/* Sections */
.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.example-banner { background: #fff7e6; border: 2px solid var(--warn); color: #8a4b05; padding: 12px 16px; border-radius: 8px; font-size: .95rem; margin-bottom: 20px; box-shadow: 4px 4px 0 rgba(245, 158, 11, .35); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tab { font: 700 .92rem var(--font); padding: 10px 16px; border-radius: 6px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .15s; }
.tab:hover { background: var(--peri-light); }
.tab.is-active { background: var(--navy); color: var(--off); box-shadow: 3px 3px 0 var(--corn); }
.tab-count { font-size: .72rem; background: var(--peri-light); color: var(--navy); border-radius: 4px; padding: 1px 6px; }
.tab.is-active .tab-count { background: var(--corn); color: #fff; }

.toolbar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; background: #fff; padding: 14px; border-radius: var(--radius); border: 2px solid var(--line); margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); transition: opacity .2s; }
.field.is-disabled { opacity: .4; pointer-events: none; }
.field input, .field select { font: 500 .95rem var(--font); color: var(--ink); padding: 10px 12px; border: 2px solid var(--line); border-radius: 6px; background: #f6f8ff; outline: none; text-transform: none; letter-spacing: 0; }
.field input:focus, .field select:focus { border-color: var(--corn); }
.empty { text-align: center; padding: 40px; color: var(--ink-2); }

.category { margin-top: 40px; }
.category-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 3px dashed var(--line); flex-wrap: wrap; }
.category-head h3 { font-size: 1.35rem; margin: 0; color: var(--navy); }
.category-head h3 [lang] { font-weight: 500; color: var(--corn); font-size: 1.05rem; margin-left: 6px; }
.category-head p { margin: 0; color: var(--ink-2); font-size: .92rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing { background: #fff; border-radius: var(--radius); border: 2px solid var(--navy); overflow: hidden; display: flex; flex-direction: column; box-shadow: 5px 5px 0 var(--peri); transition: transform .15s, box-shadow .15s; }
.listing:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--corn); }
.listing-art { position: relative; height: 290px; display: flex; align-items: center; justify-content: center; padding: 22px; background: radial-gradient(circle, rgba(26,42,108,.08) 1px, transparent 1.5px) 0 0 / 12px 12px, linear-gradient(180deg, #f3f6ff, var(--peri-light)); border-bottom: 2px solid var(--navy); }
.listing-art .pcard { width: 170px; box-shadow: 0 14px 24px -10px rgba(15,26,74,.5); }
.listing-art .ppack { width: 140px; }
.listing-art .pbox { width: 190px; }
.badge-example { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--warn); color: var(--navy-deep); font-size: .7rem; font-weight: 800; letter-spacing: .12em; padding: 4px 8px; border-radius: 4px; border: 2px solid var(--navy-deep); }
.badge-lang { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--navy); color: var(--off); font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.listing-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.listing-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.type-pill, .cond-pill { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.t-fire { background: #ffedd5; color: #c2410c; } .t-water { background: #dbeafe; color: #1d4ed8; } .t-electric { background: #fef9c3; color: #a16207; }
.t-grass { background: #dcfce7; color: #15803d; } .t-psychic { background: #f3e8ff; color: #7e22ce; } .t-dragon { background: #ccfbf1; color: #0f766e; } .t-dark { background: #e2e8f0; color: #334155; }
.t-sealed { background: var(--peri-light); color: var(--navy); }
.c-graded { background: var(--navy-deep); color: var(--peri); } .c-nm { background: #dcfce7; color: #166534; } .c-lp { background: #e0f2fe; color: #075985; } .c-mp { background: #fef3c7; color: #92400e; }
.listing-name { font-size: 1.2rem; margin: 0; }
.listing-gloss { font-size: .9rem; font-weight: 600; color: var(--navy-2); margin: 0 0 4px; }
.listing-set { font-size: .82rem; color: var(--ink-2); margin: 0 0 14px; }
.listing-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.price-note { font-size: .64rem; color: #b45309; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-top: 3px; }

/* Sell */
.sell { background: radial-gradient(circle, rgba(157,179,245,.1) 1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--off); }
.sell h2 { text-shadow: 3px 3px 0 var(--navy-deep); }
.sell-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.sell-copy > p { color: #c9d4f7; font-size: 1.06rem; max-width: 560px; }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps p { margin: 2px 0 0; color: #a9b8e8; font-size: .95rem; }
.step-num { flex: none; width: 38px; height: 38px; border-radius: 6px; background: var(--peri); color: var(--navy-deep); font-family: var(--display); font-weight: 700; display: grid; place-items: center; border: 2px solid var(--navy-deep); box-shadow: 3px 3px 0 var(--navy-deep); }
.wanted { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wanted-label { font-size: .85rem; color: #a9b8e8; width: 100%; }
.chip { font-size: .82rem; padding: 6px 12px; border-radius: 6px; background: rgba(157,179,245,.12); border: 1px solid rgba(157,179,245,.35); }
.sell-form { background: var(--off); color: var(--ink); padding: 28px; border-radius: 12px; border: 3px solid var(--navy-deep); box-shadow: 8px 8px 0 var(--corn); display: grid; gap: 14px; }
.sell-form h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin: 0 0 4px; color: var(--navy); }
.sell-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.sell-form input, .sell-form select, .sell-form textarea { font: 500 .95rem var(--font); padding: 11px 12px; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); resize: vertical; }
.form-note { font-size: .78rem; color: var(--ink-2); text-align: center; margin: 0; }

/* About */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.about-inner > div > p { color: var(--ink-2); font-size: 1.05rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 22px; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--off); box-shadow: 4px 4px 0 var(--peri); }
.feature h3 { font-size: 1.05rem; margin: 12px 0 6px; color: var(--navy); }
.feature p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.f-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; background: var(--navy); color: var(--peri); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cff5; padding: 60px 0 28px; border-top: 4px solid var(--corn); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(157,179,245,.15); }
.footer-logo { display: flex !important; align-items: center; gap: 14px; margin-bottom: 14px !important; }
.footer-logo img { width: 72px; height: 72px; border-radius: 10px; border: 2px solid var(--peri); }
.site-footer h4 { color: var(--off); font-family: var(--display); font-weight: 400; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { display: block; color: #93a3d6; font-size: .92rem; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-legal { padding-top: 22px; font-size: .78rem; color: #6f7fb5; }
.footer-legal p { margin: 0 0 6px; }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(15,26,74,.55); opacity: 0; transition: opacity .25s; z-index: 90; }
.cart-overlay.show { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--off); z-index: 95; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s ease; border-left: 4px solid var(--navy-deep); box-shadow: -10px 0 40px rgba(15,26,74,.35); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--navy); color: var(--off); }
.cart-head h3 { font-family: var(--display); font-weight: 700; margin: 0; font-size: 1.2rem; }
.cart-close { background: none; border: 2px solid var(--peri); color: var(--off); width: 34px; height: 34px; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-empty { text-align: center; padding: 50px 10px; }
.cart-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.ci-thumb { width: 48px; height: 66px; border-radius: 4px; border: 2px solid var(--navy-deep); background: linear-gradient(160deg, var(--c3, var(--p1)), var(--c1, var(--p2))); }
.ci-thumb.ci-pack, .ci-thumb.ci-box { background: linear-gradient(160deg, var(--p1), var(--p2)); }
.ci-thumb.ci-box { height: 56px; }
.ci-info { display: flex; flex-direction: column; min-width: 0; }
.ci-name { font-weight: 700; }
.ci-gloss { font-size: .82rem; color: var(--ink-2); }
.ci-example { font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .1em; background: var(--warn); color: var(--navy-deep); padding: 1px 5px; border-radius: 3px; margin-left: 4px; vertical-align: 1px; }
.ci-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; }
.ci-qty button { width: 26px; height: 26px; border-radius: 4px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; font-weight: 800; line-height: 1; }
.ci-qty .ci-remove { width: auto; border: 0; background: none; color: var(--ink-2); font-size: .78rem; text-decoration: underline; padding: 0 0 0 6px; }
.ci-price { font-weight: 800; color: var(--navy); }
.cart-foot { padding: 18px 20px 22px; border-top: 3px solid var(--navy); background: #fff; display: grid; gap: 10px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-subtotal strong { font-family: var(--display); color: var(--navy); }
.cart-fine { font-size: .78rem; color: var(--ink-2); margin: 0; }
.checkout-note { margin: 0; font-size: .82rem; background: #fff7e6; border: 2px dashed var(--warn); color: #8a4b05; padding: 8px 10px; border-radius: 6px; text-align: center; }
.checkout-note.pulse { animation: pulse .6s; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.04); background: #fde68a; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140px); background: var(--navy-deep); color: var(--off); padding: 12px 18px; border-radius: 8px; border: 2px solid var(--peri); font-size: .9rem; box-shadow: 4px 4px 0 var(--corn); transition: transform .3s; z-index: 100; }
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav { gap: 16px; font-size: .86rem; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; margin-right: 14px; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-deep); padding: 8px 20px 16px; display: none; border-bottom: 3px solid var(--corn); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(157,179,245,.12); }
  .header-inner > .cart-btn { display: grid; }
  .hero-inner, .sell-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-inner { padding: 48px 0 100px; }
  .hero-art { height: auto; padding: 20px 0; }
  .hero-logo { width: min(340px, 80%); }
  .hero-card { width: 130px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero-card { width: 100px; }
  .hc-2 { left: 0; } .hc-3 { right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.05rem; }
  .tab { padding: 8px 10px; font-size: .82rem; }
}
.site-nav { margin-left: auto; margin-right: 22px; }
@media (max-width: 900px) { .site-nav { margin: 0; } }

/* Fixes after screenshot review */
.pc-name { font-family: var(--cjk); font-size: .8rem; font-weight: 700; }
.pc-hp { font-size: .62rem; }
.price { font-family: var(--font); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.toast { visibility: hidden; opacity: 0; transition: transform .3s, opacity .3s, visibility .3s; }
.toast.show { visibility: visible; opacity: 1; }
.cart-drawer { visibility: hidden; transition: transform .3s ease, visibility .3s; }
.cart-drawer.open { visibility: visible; }
.cart-subtotal strong { font-family: var(--font); font-weight: 800; }
@media (max-width: 560px) { .hero-card { display: none; } }
