/* Theme v2: deep violet-black, cyan lead, magenta second. Loaded last; remove this file's <link> to return to black/red. */
:root {
  --v2-bg: #0a0014;
  --v2-surface: #140c22;
  --v2-surface-2: #1c1230;
  --v2-accent: #00f0ff;
  --v2-pink: #ff006e;
  --v2-text: #f4f0ff;
  --v2-muted: #aaa0ba;
  --v2-line: #ffffff1c;
  --v2-display: Orbitron, 'Noto Sans Thai', sans-serif;
  --v2-mono: 'Space Mono', 'Noto Sans Thai', monospace;
  /* playful.css reads these for hover borders, badges and heading rules. */
  --c-red: #ff006e;
  --c-yellow: #00f0ff;
}
body { background: var(--v2-bg); color: var(--v2-text); }
::selection { background: var(--v2-pink); color: #fff; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline-color: var(--v2-accent); }

/* ---------- Header ---------- */
.announcement { background: var(--v2-pink); }
.site-header { background: #0a0014f0; }
.brand { font-family: var(--v2-display); font-size: 27px; font-weight: 900; letter-spacing: -1px; }
.wordmark { display: block; line-height: 1; }
.brand .brand-bottom { font: 400 9px/1 var(--v2-mono); letter-spacing: 2.4px; text-transform: uppercase; margin-top: 7px; color: #d9d0e6; }
.brand-mark { background: transparent; color: var(--v2-accent); border: 1px solid #00f0ff80; border-radius: 0; transform: skewY(-8deg); box-shadow: inset 0 0 20px #00f0ff0a, 0 0 13px #00f0ff14; }
.brand-mark .icon { transform: skewY(8deg); }
.brand:hover .brand-mark { transform: skewY(-8deg) rotate(-6deg); }
.search-form { background: #ffffff05; border-color: #ffffff21; border-radius: 0; }
.search-form:focus-within { border-color: var(--v2-accent); box-shadow: 0 0 15px #00f0ff14; }
.search-form button { color: var(--v2-accent); }
.icon-button:hover { color: var(--v2-accent); background: #00f0ff0d; }
.favorites-toggle[aria-pressed=true] { color: var(--v2-pink); }
.favorites-toggle[aria-pressed=true] use { fill: var(--v2-pink); }
.cart-count { background: var(--v2-pink); }
.account-button:hover, .navigation > a:hover, .navigation > button:hover { color: var(--v2-accent); }
.nav-active { color: var(--v2-accent); }
.nav-active:after { background: var(--v2-accent); box-shadow: 0 0 10px #00f0ff80; }
.nav-tag { background: var(--v2-pink); color: #fff; }
.shop-status i { background: var(--v2-accent); box-shadow: 0 0 0 3px #00f0ff26; }

/* ---------- Hero: fills the first screen, strip peeks in at the bottom ---------- */
.hero { background: radial-gradient(ellipse at 76% 45%, #300e4466, transparent 55%), var(--v2-bg); }
.hero:before { background-image: radial-gradient(#bf9be055 .7px, transparent .7px); background-size: 37px 37px; opacity: .4; }
.hero::after { background: linear-gradient(transparent, var(--v2-bg)); }
.hero-floor { opacity: 1; background-image: linear-gradient(#b069dd30 1px, transparent 1px), linear-gradient(90deg, #b069dd30 1px, transparent 1px); }
@media (min-width: 901px) {
  .hero-inner { min-height: max(600px, calc(100svh - 181px - 86px)); align-content: center; padding-top: 0; }
  .hero-copy { padding-top: 24px; padding-bottom: 20px; }
  .hero h1 { margin: 18px 0 20px; }
  .hero-actions { margin-top: 24px; }
  .hero-facts { margin-top: 26px; padding-top: 18px; }
  .hero-bottom { padding-block: 4px 20px; }
}
.hero-eyebrow { color: #c0b6ca; }
.hero h1 {
  font-family: var(--v2-display); font-size: clamp(58px, 6.8vw, 100px); font-weight: 900; line-height: 1.02;
  letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; margin: 26px 0 26px; padding: 0; color: #f7f3ff;
}
.outline-type { color: transparent; -webkit-text-stroke: 1.5px #ded3e9; }
.rare-type, .hero .rare-type { color: var(--v2-accent); -webkit-text-fill-color: var(--v2-accent); background: none; animation: none; text-shadow: 0 0 35px #00f0ff30; }
.hero h2 { font-size: 26px; font-weight: 700; color: #fff; }
.hero-copy > p { color: #c9bfd8; }
.hero-facts { border-color: #ffffff1f; }
.hero-facts dd { color: var(--v2-muted); }

.button { border-radius: 0; }
.button-primary { background: var(--v2-accent); color: #07101a; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.button-primary:hover { background: #b3ffff; color: #07101a; box-shadow: 0 0 30px #00f0ff40; }
.button-dark { background: var(--v2-pink); color: #fff; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.button-dark:hover { background: #ff2e88; color: #fff; box-shadow: 0 0 24px #ff006e40; }
.button-outline:hover { border-color: var(--v2-accent); color: var(--v2-accent); }
.text-link:hover { color: var(--v2-accent); }
.play-icon { color: var(--v2-accent); border-color: #ffffff40; animation: none; }

.orbit-core { background: radial-gradient(ellipse, #00f0ff24, transparent 62%); filter: blur(25px); border-radius: 0; animation: none !important; box-shadow: none; }
.orbit-one { border-color: #00f0ff80; box-shadow: 0 0 14px #00f0ff20, inset 0 0 14px #00f0ff18; }
.orbit-one:before { border-color: #00f0ff2e; }
.orbit-one:after { background: var(--v2-accent); box-shadow: 0 0 16px #00f0ff; width: 8px; height: 8px; }
.orbit-two { border-color: #ff006e8a; box-shadow: 0 0 22px #ff006e1c; }
.orbit-two:after { border-color: transparent; }
.hero-slab {
  background: linear-gradient(145deg, #c8e1ff30, #cab4ff08 40%, #f4c1ed17);
  border-color: #f3deff65; border-top-color: #ffffffa6; border-left-color: #ccffff99;
  box-shadow: inset 2px 2px 3px #ffffff22, 0 25px 70px #0009, 12px 0 45px #ff006e24, -12px 0 45px #00f0ff28;
}
.slab-label, .slab-bottom { font-family: var(--v2-mono); text-transform: uppercase; letter-spacing: 1.2px; color: #e6def0; }
.slab-bars { background: repeating-linear-gradient(90deg, #ddd 0, #ddd 1px, transparent 1px, transparent 3px, #ddd 3px, #ddd 5px, transparent 5px, transparent 7px); }
.foil-reflection { background: radial-gradient(ellipse at var(--shine-x) var(--shine-y), #b9faff6b, transparent 50%), linear-gradient(115deg, transparent 18%, #fdb7ff38 33%, #ffffff70 46%, #a4eeff42 59%, transparent 78%); background-size: 100% 100%, 220% 220%; }
.hero-card-caption { border-color: #ffffff25; }
.hero-card-caption small { color: var(--v2-accent); font-family: var(--v2-mono); letter-spacing: .5px; }
.hero-card-caption strong { font-family: var(--v2-mono); font-weight: 400; }
.hero-card-price { color: #fff; }
.scroll-cue { color: var(--v2-muted); padding-left: 12px; border-left: 1px solid var(--v2-accent); }
.slide-controls .icon-button { border-color: #ffffff30; }

/* Strip: the games on the shelf, v2 style. */
.manifesto-strip { background: var(--v2-accent); box-shadow: 0 0 35px #00f0ff26; transform: rotate(-1.5deg); margin-top: 0; }
.manifesto-strip > div { font: 800 29px/1.3 var(--v2-display); letter-spacing: -.5px; text-transform: uppercase; color: var(--v2-bg); gap: 30px; justify-content: flex-start; transform: translateX(-60px); padding: 13px 0; }
.manifesto-strip .strip-outline { color: transparent; -webkit-text-stroke: 1px var(--v2-bg); }
.manifesto-strip i { font-style: normal; color: var(--v2-pink); font-weight: 400; }

/* ---------- Sections ---------- */
.section-heading h2::after, .small-section-heading h2::after { background: var(--v2-accent); box-shadow: 0 0 10px #00f0ff66; }
.heading-note, .game-section .small-section-heading > span { color: var(--v2-muted); }
.game-grid .game-item { box-shadow: 0 7px 0 #0006; }
.game-grid .game-item:hover { border-color: var(--v2-accent) !important; box-shadow: 0 16px 40px #00000099, 0 0 0 1px #00f0ff55; }
.game-grid .game-item:hover .game-caption { background: #0a0014; }
.game-grid .game-item[aria-pressed="true"] { border-color: var(--v2-accent) !important; box-shadow: 0 0 0 3px #00f0ff40; }
.game-grid .game-item[aria-pressed="true"] .game-caption { background: #dffcff; }
.game-grid .game-item .game-count { background: var(--v2-bg); }
/* A game with nothing on sale: grey, no live pulse (effects.js sets is-soon at 0). */
.game-grid .game-item .game-count.is-soon { background: var(--v2-bg); color: var(--v2-muted); }
.game-grid .game-item .game-logo::before { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #00f0ff1f, transparent 70%), radial-gradient(#00000014 1px, transparent 1px) 0 0 / 14px 14px; }

.collection-toolbar { border-color: var(--v2-line); }
.filter-tab { color: #c7bdd6; border-radius: 0; }
.filter-tab:hover { color: var(--v2-accent); }
.filter-tab.active, .filter-tab.active:hover { background: var(--v2-accent); border-color: var(--v2-accent); color: var(--v2-bg); }
.sort-select select { background-color: var(--v2-surface); border-color: #ffffff2b; border-radius: 0; }
.sort-select select:hover, .sort-select select:focus-visible { border-color: var(--v2-accent); }
.product-card, .product-card[data-color] { --card-rgb: 0, 240, 255; }
.product-image { background: radial-gradient(ellipse at 50% 75%, #ffffff0d, transparent 65%), var(--v2-surface); border-color: #ffffff1f; }
.product-image:hover { border-color: var(--v2-accent); }
.product-tag, .product-card:first-child .product-tag { color: var(--v2-accent); background: #0a0014e0; border-color: #00f0ff66; }
.favorite-button:hover { color: var(--v2-pink); }
.favorite-button[aria-pressed=true] .icon { fill: var(--v2-pink); stroke: var(--v2-pink); }
.product-meta span:first-child { color: var(--v2-accent); }
.product-name:hover { color: var(--v2-accent); }
.product-price small.stock-low { color: #ff5c9e; }
.product-bottom { border-color: #ffffff1f; }
.add-cart { background: transparent; color: #fff; border: 1px solid #ffffff4d; border-radius: 0; }
.add-cart:hover { background: var(--v2-accent); border-color: var(--v2-accent); color: var(--v2-bg); }
.empty-state > .icon { color: var(--v2-accent); }

/* Buyback leads in magenta, pack panel stays quiet. */
.pack-panel { background: radial-gradient(ellipse at 85% 50%, #ff006e38, transparent 60%), #1a0a24; border: 1px solid #ff006e60; }
.pack-panel .panel-label { color: #ff5c9e; }
.pack-panel h3, .pack-panel p { color: #fff; }
.buy-steps li { border-color: #ffffff38; color: #cfc4dd; }
.buy-steps li::before { color: var(--v2-pink); }
.buy-first .pack-back { box-shadow: 0 18px 40px #000a, 0 0 30px #ff006e26; }
.buyback-panel { background: linear-gradient(150deg, #171020, #0d0714); border-color: #ffffff21; }
.buyback-panel .panel-label, .buyback-panel .text-link { color: var(--v2-accent); }
.buyback-panel p { color: var(--v2-muted); }

.event-list, .event-row { border-color: #ffffff21; }
.event-row:hover { background: #00f0ff06; }
.event-fee { color: var(--v2-accent); }
.event-seats i { background: #2a2140; }
.event-seats.is-full i::after { background: var(--v2-pink); }
.event-seats.is-full { color: #ff5c9e; }
.event-book { border-radius: 0; }
.event-book:hover { background: var(--v2-accent); border-color: var(--v2-accent); color: var(--v2-bg); }

.guide-grid, .guide-item + .guide-item, .grade-grid .guide-item + .guide-item { border-color: #ffffff21; }
.guide-number, .grade-grid .guide-number { color: var(--v2-accent); text-shadow: 0 0 20px #00f0ff30; }
.grade-price { color: #ff5c9e !important; }
.guide-item:hover h3, .guide-item:hover > .icon, .guide-item:hover .guide-number { color: var(--v2-accent); }

.collector-banner h2 span { color: var(--v2-accent); -webkit-text-fill-color: var(--v2-accent); text-shadow: 0 0 45px #00f0ff26; }
.collector-banner > .eyebrow, .collector-banner p { color: var(--v2-muted); }

.site-footer { background: #07000f; border-color: #ffffff1c; }
.footer-links a:hover, .footer-links button:hover { color: var(--v2-accent); }
.footer-signoff strong { color: var(--v2-accent); }
.footer-bottom { border-color: #ffffff1c; color: #8e849d; }

/* ---------- Dialogs ---------- */
dialog { background: var(--v2-surface); border-color: #ffffff2e; }
dialog::backdrop { background: #05000cc4; }
.content-dialog .eyebrow, .dialog-heading .eyebrow { color: var(--v2-accent); }
.content-dialog .dialog-note { background: #00f0ff08; border-color: var(--v2-accent); }
.detail-image { background: var(--v2-bg); border-color: #ffffff2e; }
.detail-price, .cart-summary strong, .order-total, .cart-empty > .icon { color: var(--v2-accent); }
.toast { background: var(--v2-surface-2); border-color: var(--v2-accent); }
.pack-reveal-stage img, .opening-stage img { filter: drop-shadow(0 10px 28px #00f0ff38); }
.reveal-halo { background: conic-gradient(transparent, #00f0ff45, transparent, #ff006e45, transparent, #ffffff30, transparent, #b98cff40, transparent); }
.opening-ring { border-color: var(--v2-accent); box-shadow: 0 0 35px #00f0ff33, inset 0 0 35px #ff006e22; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero h1 { font-size: 7.1vw; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 7.2vw; }
  .manifesto-strip > div { font-size: 23px; gap: 22px; }
}
@media (max-width: 680px) {
  .brand { font-size: 24px; }
  .brand .brand-bottom { font-size: 8px; letter-spacing: 1.8px; margin-top: 5px; }
  .hero h1 { font-size: 13.5vw; line-height: 1.08; letter-spacing: -.04em; margin: 18px 0 18px; }
  .hero h2 { font-size: 21px; }
  .manifesto-strip { transform: rotate(-2deg); margin-top: 8px; }
  .manifesto-strip > div { font-size: 18px; gap: 16px; padding-block: 11px; transform: translateX(-20px); }
}

/* Add to cart: labelled cyan button with a bag icon, the v2 button colour. Cut like the tile it sits
   in — top-right + bottom-left, so its lower cut runs parallel to the frame's just below (owner
   2026-09-30: "ขอบล่างและปุ่มไม่ไปในทิศทางเดียวกัน" — it had the top-right cut only). */
.product-bottom { flex-wrap: wrap; gap: 12px; }
.add-cart, .add-cart:hover {
  --btn-cut: 10px;
  width: auto; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px;
  background: #00f0ff; border: 0; color: #07101a; font-size: 14px; font-weight: 700; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--btn-cut)) 0, 100% var(--btn-cut), 100% 100%, var(--btn-cut) 100%, 0 calc(100% - var(--btn-cut)));
  transform: none;
}
@media (max-width: 680px) { .add-cart, .add-cart:hover { --btn-cut: 8px; } }
.add-cart .icon { width: 17px; height: 17px; stroke-width: 2; }
.add-cart:hover { background: #b3ffff; box-shadow: 0 0 22px #00ffff55; }
.add-cart:active { transform: translateY(1px); }
@media (max-width: 1180px) {
  .add-cart, .add-cart:hover { width: 100%; justify-content: center; }
}

/* Product details framed as one card with the image above. */
.product-body { border: 1px solid #ffffff1f; border-top: 0; padding: 16px 16px 18px; background: linear-gradient(180deg, #140c22, #0e0719); transition: border-color .3s; }
.product-card:hover .product-body { border-color: #00f0ff66; }
.product-bottom { margin-top: 14px; }
@media (max-width: 680px) {
  .product-body { padding: 12px 10px 12px; }
}

/* Image + details read as one clean rectangle: no chamfer cut (its border didn't follow the diagonal). */
.product-image { clip-path: none; border: 1px solid #ffffff1f; border-bottom-color: #ffffff12; }
.product-image:hover { border-color: #ffffff1f; border-bottom-color: #ffffff12; }
.product-card:hover .product-image, .product-card:hover .product-body { border-color: #00f0ff66; }
.product-card:hover .product-image { border-bottom-color: #ffffff12; }

/* Hover moves the whole product card (image + details) as one piece. playful.js sets --rx/--ry/--mx/--my on .product-card. */
.product-card {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.product-card, .product-card.reveal {
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), translate .8s cubic-bezier(.16, 1, .3, 1), transform .25s ease-out;
  transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s;
}
.product-image, .product-image:hover { transform: none; box-shadow: none; }
.product-card:hover .product-image, .product-card:hover .product-body { border-color: #00f0ff66; }
.product-card:hover .product-image { border-bottom-color: #ffffff12; }
.product-card:hover { filter: drop-shadow(0 22px 34px #000000b3); }
.product-image:hover:after { opacity: 0; }
.product-card:hover .product-image:after { opacity: .55; }
.product-image:hover img, .product-card:nth-child(even) .product-image:hover img { transform: rotate(-5deg); }
.product-card:nth-child(even) .product-image:hover img { transform: rotate(5deg); }
.product-card:hover .product-image img, .product-card:nth-child(even):hover .product-image img { transform: rotate(0) translateY(-10px) scale(1.06); filter: drop-shadow(0 22px 26px #000b); }
.effects-off .product-card { transform: none; }
@media (prefers-reduced-motion: reduce) { .product-card { transform: none; } }

/* Cut corners (top-right on the image, bottom-left on the details) with the border drawn along each diagonal. */
.product-card { --frame: #ffffff1f; --cut: 18px; }
.product-card:hover { --frame: #00f0ff66; }
.product-image, .product-image:hover, .product-card:hover .product-image {
  border-color: var(--frame); border-bottom-color: #ffffff12;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  background:
    linear-gradient(to top right, transparent calc(50% - .8px), var(--frame) calc(50% - .8px), var(--frame) calc(50% + .8px), transparent calc(50% + .8px)) right top / var(--cut) var(--cut) no-repeat,
    radial-gradient(ellipse at 50% 75%, #ffffff0d, transparent 65%), var(--v2-surface);
}
.product-body, .product-card:hover .product-body {
  border-color: var(--frame);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  background:
    linear-gradient(to top right, transparent calc(50% - .8px), var(--frame) calc(50% - .8px), var(--frame) calc(50% + .8px), transparent calc(50% + .8px)) left bottom / var(--cut) var(--cut) no-repeat,
    linear-gradient(180deg, #140c22, #0e0719);
}
@media (max-width: 680px) { .product-card { --cut: 12px; } }

/* Full-width layout: on large screens content spans the screen instead of a 1320px column. */
@media (min-width: 1181px) {
  .container { width: calc(100% - 2 * clamp(40px, 4vw, 96px)); max-width: none; }
}
@media (min-width: 1600px) {
  .hero h1 { font-size: clamp(100px, 6.6vw, 150px); }
  .hero h2 { font-size: 30px; }
  .hero-copy > p { font-size: 18px; max-width: 620px; }
  .hero-facts { max-width: 640px; }
  .hero-art { min-height: 700px; }
  .hero-slab { width: 340px; left: 27%; top: 30px; }
  .fan-card { width: 215px; top: 230px; }
  .fan-right { width: 225px; top: 190px; }
  .orbit-one { width: 700px; height: 490px; }
  .orbit-two { width: 660px; height: 400px; }
  .orbit-core { width: 560px; height: 460px; }
  .hero-card-caption { bottom: 40px; }
  .game-section .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .manifesto-strip > div { font-size: 34px; }
}

/* ---------- Decoration ---------- */
/* Soft colour at the page edges so wide screens don't read as flat black.
   The glow stays put while the page scrolls — as its own fixed layer, NOT
   background-attachment: fixed: that made Chrome scroll the page on the main
   thread, so every busy moment there was a hitch in the scroll (owner
   2026-09-29: "เลื่อนขึ้นเลื่อนลงมีกระตุกบ้าง"). body::before was style.css's
   scanline overlay (hidden by colorful.css) — every property is set here. */
body { background: var(--v2-bg); }
body::before {
  display: block; content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 1;
  background:
    radial-gradient(1100px 700px at 100% 18%, #ff006e12, transparent 60%),
    radial-gradient(1000px 800px at 0% 62%, #00f0ff0c, transparent 60%);
}
/* HUD corner brackets framing the featured card. */
.hud { position: absolute; inset: 4% 0 14% 6%; pointer-events: none; z-index: 1; }
.hud i { position: absolute; width: 26px; height: 26px; border: 0 solid #00f0ff99; }
.hud i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hud i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hud i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hud i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
/* Big outlined word behind the cards. */
.hero-bg-word {
  position: absolute; right: -2%; bottom: 8%; z-index: 0; pointer-events: none;
  font: 900 clamp(160px, 17vw, 380px)/1 var(--v2-display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px #ffffff12;
}
/* Section heads: a hairline across the page with a cyan tick at the start. */
.section-heading, .game-section .small-section-heading { position: relative; padding-top: 26px; border-top: 1px solid #ffffff12; }
.section-heading::before, .game-section .small-section-heading::before { content: ''; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--v2-accent); box-shadow: 0 0 8px #00f0ff; }
/* Faint dot grid behind the product list. */
.collection-section { position: relative; }
.collection-section::before { content: ''; position: absolute; inset: 120px -4vw 0; z-index: -1; pointer-events: none; background: radial-gradient(#ffffff10 1px, transparent 1px) 0 0 / 28px 28px; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
@media (max-width: 680px) {
  .hud { inset: 2% 2% 16% 2%; }
  .hud i { width: 18px; height: 18px; }
  .hero-bg-word { font-size: 42vw; bottom: 16%; }
}

/* Very large screens: scale the whole page up so type and cards keep their proportions. */
@media (min-width: 2200px) {
  body { zoom: 1.25; }
  /* viewport units ignore zoom, so divide by it to keep the hero exactly one screen tall */
  .hero-inner { min-height: max(600px, calc(100svh / 1.25 - 181px - 86px)); }
}
@media (min-width: 3000px) {
  body { zoom: 1.6; }
  .hero-inner { min-height: max(600px, calc(100svh / 1.6 - 181px - 86px)); }
}
/* Contact banner: the right side is the chat picture (.sf-contact-art, pkg-home.css) — the outlined
   "LINE" word that filled it was unreadable and named LINE with no LINE set (owner 2026-10-06). */
.collector-banner { position: relative; isolation: isolate; }
.collector-banner::after { display: none !important; }

/* Product grid: smaller cards on wide screens. */
@media (min-width: 1400px) {
  .product-grid { gap: 20px; }
  .product-image { height: 290px; }
  .product-image img { height: 205px; }
  .product-name { font-size: 18px; }
  .product-price { font-size: 23px; }
  .add-cart, .add-cart:hover { width: 100%; justify-content: center; }
  .product-card:nth-child(even) { padding-top: 22px; }
}
/* 12 listings: 4 per row (3 rows) up to 1699px, 6 per row (2 rows) above. */
@media (min-width: 1700px) {
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Tournament tickets ---------- */
.ticket-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ticket {
  --notch: 11px; position: relative; display: flex; flex-direction: column; background: var(--v2-surface);
  border: 1px solid #ffffff1f; border-top: 3px solid var(--game); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), border-color .3s, box-shadow .3s;
}
.ticket:hover { transform: translateY(-6px); border-color: #00f0ff66; border-top-color: var(--game); box-shadow: 0 20px 40px #000a, 0 0 0 1px #00f0ff22; }
.ticket-top { position: relative; height: 128px; display: flex; align-items: center; padding: 18px 20px; background: #fff; }
.ticket-top img { width: auto; max-width: 58%; max-height: 64px; object-fit: contain; }
.ticket-date {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 68px; padding: 8px 0 6px; text-align: center;
  background: var(--v2-bg); color: #fff; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.ticket-date b { display: block; font: 900 32px/1 var(--v2-display); letter-spacing: -.04em; }
.ticket-date span { display: block; margin-top: 4px; font-size: 12px; color: var(--v2-accent); }
.ticket-badge { position: absolute; left: 12px; top: 10px; padding: 1px 8px; font-size: 11px; font-weight: 700; background: var(--v2-accent); color: var(--v2-bg); }
.ticket-badge.is-hot { background: var(--v2-pink); color: #fff; animation: ticket-pulse 1.8s ease-in-out infinite; }
@keyframes ticket-pulse { 50% { box-shadow: 0 0 0 5px #ff006e33; } }
/* Tear line with half-circle notches, like a real ticket stub. */
.ticket-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 22px 20px 20px; border-top: 2px dashed #ffffff2e; }
.ticket-body::before, .ticket-body::after { content: ''; position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--v2-bg); border: 1px solid #ffffff1f; }
.ticket-body::before { left: calc(var(--notch) * -1 - 1px); clip-path: inset(0 0 0 50%); }
.ticket-body::after { right: calc(var(--notch) * -1 - 1px); clip-path: inset(0 50% 0 0); }
.ticket-when { font: 700 13px var(--v2-mono); color: var(--v2-accent); letter-spacing: .5px; }
.ticket h3 { margin-top: 4px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.ticket-format { font-size: 13px; color: var(--v2-muted); }
.ticket-info { margin: 16px 0; display: grid; gap: 8px; }
.ticket-info div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; font-size: 13px; }
.ticket-info dt { color: var(--v2-muted); }
.ticket-info dd { margin: 0; color: #fff; }
.ticket-info div:first-child dd { font: 700 17px/1.2 var(--v2-mono); color: var(--v2-accent); }
.ticket-seats { display: grid; gap: 6px; margin-top: auto; font-size: 13px; color: var(--v2-muted); }
.ticket-seats b { color: #fff; font-family: var(--v2-mono); }
.seat-bar { position: relative; height: 6px; background: #2a2140; overflow: hidden; }
.seat-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill) * 100%); background: var(--v2-accent); box-shadow: 0 0 10px #00f0ff88; }
.ticket.is-full .seat-bar i { background: var(--v2-pink); box-shadow: 0 0 10px #ff006e88; }
.ticket.is-full .ticket-seats b { color: #ff5c9e; }
.ticket-book {
  margin-top: 16px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #ffffff4d; font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
.ticket-book .icon { width: 16px; height: 16px; transition: transform .2s; }
.ticket-book:hover, .ticket:hover .ticket-book { background: var(--v2-accent); border-color: var(--v2-accent); color: var(--v2-bg); }
.ticket:hover .ticket-book .icon { transform: translateX(4px); }
.effects-off .ticket-badge.is-hot { animation: none; }
@media (max-width: 1180px) { .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .ticket-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding: 8px 18px 16px; scrollbar-width: none; }
  .ticket { flex: 0 0 82%; scroll-snap-align: start; }
  .ticket-top { height: 108px; }
}
@media (prefers-reduced-motion: reduce) { .ticket-badge.is-hot { animation: none; } .ticket:hover { transform: none; } }
.ticket-top { padding-top: 30px; }
.ticket-badge { left: 0; top: 0; padding: 2px 10px; }
@media (max-width: 680px) { .ticket-grid { scroll-padding-inline: 18px; } }
