/* ── Chessical Shop ─────────────────────────────────────────── */

:root {
  --ink: #0d0b09;
  --ink-2: #15120e;
  --ink-3: #1d1914;
  --line: rgba(245, 233, 204, 0.12);

  --cream: #f5e9cc;
  --cream-2: #e8d7ac;
  --muted: #b3a88f;

  --gold: #f2bd3d;
  --gold-2: #ffd56b;
  --gold-deep: #b9851a;

  --felt: #10391d;       /* Chessical green */
  --felt-2: #1f5a2c;
  --leaf: #81b64c;

  --purple: #a57ed3;     /* from the shirt */
  --purple-2: #7a52a8;
  --purple-deep: #2b1442;

  --card: #f6efe0;       /* product photo card */

  --radius: 22px;
  --display: "Fraunces", "Georgia", serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(900px 600px at 18% -10%, rgba(122, 82, 168, 0.28), transparent 60%),
    radial-gradient(800px 600px at 100% 10%, rgba(31, 90, 44, 0.32), transparent 60%),
    var(--ink);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }

.ico { width: 18px; height: 18px; flex: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ── Top bar ────────────────────────────────────────────────── */

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.brand-name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: -1.5px 2px 0 var(--gold-deep);
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tag-note { width: 16px; height: 16px; color: var(--gold); }

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 72px;
}

/* Perspective chessboard floor, like the channel banner */
.board-floor {
  position: absolute;
  left: -60%;
  right: -60%;
  bottom: 0;
  height: 520px;
  background:
    repeating-conic-gradient(#1c5229 0 25%, #8d9a5a 0 50%) 50% 100% / 110px 110px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 85%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Gallery */
.gallery { position: relative; }

.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(70% 60% at 50% 40%, #fffaf0, var(--card) 70%);
  box-shadow:
    0 0 0 1px rgba(242, 189, 61, 0.55),
    0 0 0 7px rgba(13, 11, 9, 0.9),
    0 0 0 8px rgba(242, 189, 61, 0.25),
    0 30px 80px -20px rgba(122, 82, 168, 0.55),
    0 24px 50px -24px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: background-color 0.35s ease;
}

.stage-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3% 6% 6%;
  mix-blend-mode: multiply;   /* melts the white photo backdrop into the card */
  transition: opacity 0.25s ease, transform 0.5s cubic-bezier(.2, .8, .2, 1);
}

.stage[data-view="detail"] { background: #1c1c1c; }  /* matches the shirt fabric */
.stage[data-view="detail"] .stage-img {
  mix-blend-mode: normal;
  padding: 0;
  /* the close-up is portrait, so soften its left/right edges into the stage */
  -webkit-mask-image: linear-gradient(to right, transparent 8.5%, #000 13%, #000 87%, transparent 91.5%);
          mask-image: linear-gradient(to right, transparent 8.5%, #000 13%, #000 87%, transparent 91.5%);
}

.stage-img.is-swapping { opacity: 0; transform: scale(0.97); }

/* Floating music notes */
.float-note {
  position: absolute;
  color: var(--gold);
  filter: drop-shadow(0 2px 0 rgba(13, 11, 9, 0.35));
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.float-note.n1 { width: 54px; height: 54px; top: 8%; right: 8%; animation-delay: -1s; }
.float-note.n2 { width: 36px; height: 36px; top: 24%; right: 3%; animation-delay: -3s; color: var(--purple-2); }
.float-note.n3 { width: 30px; height: 30px; top: 12%; left: 7%; animation-delay: -4.5s; color: var(--felt-2); }

.stage[data-view="detail"] .float-note { opacity: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-12px) rotate(8deg); }
}

/* Thumbs */
.thumbs {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.thumb {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  box-shadow: 0 0 0 2px rgba(13, 11, 9, 0.18), 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb[data-view="detail"] { background: #1c1c1c; }
.thumb[data-view="detail"] img { mix-blend-mode: normal; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { box-shadow: 0 0 0 3px var(--gold), 0 6px 14px rgba(0, 0, 0, 0.3); }

/* ── Buy box ────────────────────────────────────────────────── */

.buybox { position: relative; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(31, 90, 44, 0.35);
  box-shadow: inset 0 0 0 1px rgba(129, 182, 76, 0.35);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe6b4;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(129, 182, 76, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(129, 182, 76, 0.55); }
  80%  { box-shadow: 0 0 0 10px rgba(129, 182, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 182, 76, 0); }
}

.title {
  margin: 10px 0 18px;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--cream);
}

.t-line {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: -1.5px 2px 0 var(--purple-2);
}

.t-knight {
  display: block;
  margin: 2px 0 6px -0.04em;
  font-size: clamp(68px, 8.4vw, 116px);
  letter-spacing: -0.01em;
  text-shadow:
    -2px 3px 0 var(--purple),
    -4px 6px 0 var(--purple-2),
    -6px 9px 0 var(--purple-deep),
    -6px 14px 24px rgba(0, 0, 0, 0.5);
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 20px;
}

.price {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
}

.price-sub { font-size: 14px; font-weight: 700; color: var(--muted); }

/* Sizes */
.sizes { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }

.sizes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sizes legend {
  float: left;
  padding: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
}

.size-chosen { color: var(--gold); letter-spacing: 0.04em; }

.link-btn {
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(242, 189, 61, 0.4);
}
.link-btn:hover { text-decoration-color: var(--gold); }

.size-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.size-opt { position: relative; }

.size-opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.size-opt label {
  display: grid;
  place-items: center;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a4a26, var(--felt));
  box-shadow: inset 0 0 0 1.5px rgba(129, 182, 76, 0.35), 0 3px 0 #08200f;
  font-size: 17px;
  font-weight: 900;
  color: var(--cream);
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.size-opt input:hover + label { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(129, 182, 76, 0.7), 0 5px 0 #08200f; }

.size-opt input:checked + label {
  background: linear-gradient(180deg, #fff6dc, var(--cream-2));
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--gold), 0 3px 0 var(--gold-deep), 0 0 0 4px rgba(242, 189, 61, 0.25);
  transform: translateY(-2px);
}

.size-opt input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }

.size-opt input:disabled + label {
  cursor: not-allowed;
  opacity: 0.38;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1.5px var(--line);
  text-decoration: line-through;
}

.size-hint {
  min-height: 0;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.size-hint:empty { display: none; }

.sizes.is-nudged .size-grid { animation: nudge 0.45s ease; }

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}

/* Buy button */
.buy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  padding: 14px 24px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #e2a92a);
  box-shadow: 0 5px 0 var(--gold-deep), 0 14px 30px -8px rgba(242, 189, 61, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: #241606;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}

.buy:hover { filter: brightness(1.05); transform: translateY(-1px); }
.buy:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-deep), 0 6px 16px -8px rgba(242, 189, 61, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.buy.is-loading { pointer-events: none; filter: saturate(0.8); }

.buy-label { position: relative; z-index: 1; }

.buy-shine {
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  animation: shine 4.5s ease-in-out infinite 1.2s;
}

@keyframes shine {
  0%, 70% { left: -40%; }
  100%    { left: 130%; }
}

.buy-note {
  margin: 14px 0 0;
  text-wrap: balance;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.buy-note .ico { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; color: var(--leaf); }

.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(245, 233, 204, 0.16);
}

.perks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream-2);
  text-wrap: balance;
}
.perks .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--gold); }

/* ── Story ──────────────────────────────────────────────────── */

.story {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
  text-align: center;
}

.flourish {
  display: block;
  width: 220px;
  height: 24px;
  margin: 0 auto;
  color: var(--gold);
}

.notation {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 10px;
  margin: 28px 0 10px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(245, 233, 204, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.move { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; color: var(--gold); }
.notation-sep { color: rgba(245, 233, 204, 0.3); }

.story-title {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-shadow: -2px 3px 0 var(--purple-2);
}

.story-body {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--cream-2);
}

/* ── Details / FAQ ──────────────────────────────────────────── */

.details {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 30px;
  color: var(--cream);
}

.faq {
  border-radius: 16px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 10px;
  transition: background 0.2s ease;
}
.faq[open] { background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(242, 189, 61, 0.28); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }

.chev { width: 20px; height: 20px; flex: none; color: var(--gold); transition: transform 0.2s ease; }
.faq[open] .chev { transform: rotate(180deg); }

.faq-body { padding: 0 20px 18px; color: var(--cream-2); font-weight: 600; }
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--gold); font-weight: 800; }

/* ── Channel ────────────────────────────────────────────────── */

.channel {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.channel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-conic-gradient(rgba(255, 255, 255, 0.035) 0 25%, transparent 0 50%) 0 0 / 44px 44px,
    linear-gradient(135deg, #154a24, var(--felt) 60%, #0b2a15);
  box-shadow: inset 0 0 0 1px rgba(129, 182, 76, 0.35), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.channel-avatar {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold), 0 8px 20px rgba(0, 0, 0, 0.45);
}

.channel-copy { flex: 1; min-width: 0; }
.channel-copy p { margin: 0; }
.channel-eyebrow { font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: #cfe6b4; }
.channel-name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
  text-shadow: -1.5px 2px 0 var(--gold-deep);
}
.channel-tag { font-weight: 700; color: var(--cream-2); }

.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--cream-2);
  transition: transform 0.12s ease;
}
.channel-btn .ico { color: #d93a2b; }
.channel-btn:hover { transform: translateY(-2px); }

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(179, 168, 143, 0.7);
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

/* ── Sticky buy bar (mobile) ────────────────────────────────── */

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 11, 9, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
          backdrop-filter: blur(14px) saturate(1.4);
  border-top: 1px solid rgba(242, 189, 61, 0.35);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1);
}
.sticky-buy.is-visible { transform: translateY(0); }

.sticky-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(242, 189, 61, 0.5); }

.sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sticky-name { font-weight: 900; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-meta { font-weight: 800; font-size: 13.5px; color: var(--gold); }
.sticky-meta [data-sticky-size]:not(:empty)::before { content: " · "; color: var(--muted); }

.sticky-btn {
  flex: none;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 3px 0 var(--gold-deep);
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 900;
  font-size: 17px;
  color: #241606;
}
.sticky-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gold-deep); }

/* ── Size guide dialog ──────────────────────────────────────── */

.sizeguide {
  width: min(460px, calc(100vw - 32px));
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(242, 189, 61, 0.35), 0 40px 80px rgba(0, 0, 0, 0.6);
}
.sizeguide::backdrop { background: rgba(5, 4, 3, 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.sg-head { display: flex; align-items: center; justify-content: space-between; }
.sg-head h2 { margin: 0; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 900; font-size: 26px; }

.sg-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(245, 233, 204, 0.08);
}
.sg-close .ico { width: 20px; height: 20px; }

.sg-sub { margin: 4px 0 16px; font-weight: 700; color: var(--muted); font-size: 14.5px; }

.sg-table { width: 100%; border-collapse: collapse; font-weight: 700; }
.sg-table th, .sg-table td { padding: 11px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.sg-table thead th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sg-table tbody th { font-weight: 900; color: var(--gold); }
.sg-table small { margin-left: 4px; font-weight: 700; color: var(--muted); }

.sg-tip { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: var(--cream-2); }

/* ── Thank-you banner ───────────────────────────────────────── */

.thanks {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100vw - 32px));
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #154a24, var(--felt));
  box-shadow: inset 0 0 0 1.5px var(--gold), 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  animation: drop-in 0.5s cubic-bezier(.2, .9, .3, 1.2);
}
.thanks[hidden] { display: none; }
.thanks-note { width: 34px; height: 34px; flex: none; color: var(--gold); }
.thanks-copy { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.thanks-copy strong { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 900; font-size: 19px; }
.thanks-copy span { font-size: 14px; font-weight: 700; color: #d9eac4; }
.thanks-close { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 10px; cursor: pointer; background: rgba(0, 0, 0, 0.25); }

@keyframes drop-in {
  from { opacity: 0; transform: translate(-50%, -24px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ── Toast ──────────────────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  font-size: 14.5px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
body.has-sticky .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero { padding-bottom: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 22px; }
  .gallery { max-width: 520px; width: 100%; margin: 0 auto; }
  .buybox { max-width: 520px; width: 100%; margin: 0 auto; }
  .title { margin: 8px 0 14px; }
  .t-knight { font-size: clamp(64px, 19vw, 104px); }
  .sticky-buy { display: flex; }
  .board-floor { height: 420px; opacity: 0.24; }
}

@media (max-width: 520px) {
  .brand-tag { display: none; }
  .topbar { padding-top: 12px; padding-bottom: 10px; }
  .stage { border-radius: var(--radius); }
  .thumb { width: 50px; height: 50px; border-radius: 12px; }
  .thumbs { left: 10px; bottom: 10px; }
  .float-note.n1 { width: 42px; height: 42px; }
  .price { font-size: 30px; }
  .size-opt label { height: 52px; }
  .perks { gap: 8px; }
  .perks li { flex-direction: column; gap: 6px; font-size: 12.5px; }
  .channel-card { flex-wrap: wrap; }
  .channel-btn { width: 100%; justify-content: center; }
  .story { padding-top: 56px; }
  .notation-sep { display: none; }
  .move { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
