/* MagikBeats — collectible beat store */
:root {
  --ink: #0c0a11;
  --ink-2: #15121d;
  --panel: #1a1623;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f6f1ea;
  --muted: #a69db4;
  --faint: #6f6780;
  --karp: #ff6a3d;
  --karp-deep: #e0442a;
  --gold: #ffcf4a;
  --gold-deep: #e8a317;
  --cream: #fff4dc;
  --danger: #ff6b81;
  --ok: #7dffb2;
  --holo: linear-gradient(115deg, #ff6ad5, #a47bff 22%, #5ee7ff 44%, #7dffb2 64%, #ffd76a 84%, #ff6ad5);
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font: 16px/1.55 var(--body);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(255, 106, 61, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(164, 123, 255, 0.10), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(255, 207, 74, 0.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Cpath d='M0 18a18 18 0 0 1 36 0M-18 9a18 18 0 0 1 36 0M18 9a18 18 0 0 1 36 0' fill='none' stroke='%23fff' stroke-opacity='.035'/%3E%3C/svg%3E"),
    var(--ink);
  overflow-x: hidden;
}
/* film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(to bottom, rgba(12, 10, 17, 0.92), rgba(12, 10, 17, 0.72));
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font: italic 800 clamp(24px, 3.2vw, 32px) / 1 var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
  background: linear-gradient(100deg, var(--karp) 0%, #ff9152 30%, var(--gold) 50%, #fff2b8 56%, var(--gold) 62%, var(--karp) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
  filter: drop-shadow(0 0 18px rgba(255, 106, 61, 0.25));
  padding-right: 4px;
}
.wordmark.small { font-size: 24px; display: inline-block; margin-bottom: 28px; }
@keyframes shimmer { to { background-position: -220% 0; } }
.top nav { display: flex; gap: 6px; align-items: center; }
.top nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.top nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ------------------------------------------------------------ shelf */
.shelf { padding: 28px 16px 80px; }
.shelf-head {
  max-width: 1180px;
  margin: 0 auto 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.shelf-head h1 {
  margin: 0;
  font: 800 clamp(15px, 1.6vw, 17px) / 1 var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.shelf-head h1 b { color: var(--gold); font-weight: 800; }
.shelf-head p { margin: 0; font-size: 14px; color: var(--faint); }

/* Three columns sized so three rows fit on a typical laptop screen. */
.grid {
  --col: clamp(200px, calc((100svh - 300px) * 0.39), 330px);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, var(--col)));
  justify-content: center;
  gap: 34px clamp(24px, 4vw, 56px);
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 30px 22px; } }
@media (max-width: 460px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } }

.card {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 10px;
}
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; }
.card-meta { margin-top: 16px; text-align: center; }
.card-title {
  margin: 0;
  font: 800 clamp(14px, 1.4vw, 16px) / 1.25 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-price { margin: 3px 0 0; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.card.is-sold .card-price { color: var(--danger); letter-spacing: 0.06em; font-size: 13px; text-transform: uppercase; }

.card-enter { animation: rise 0.7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(0.97); } }

/* ------------------------------------------------------------ the jewel case */
.case-wrap { position: relative; perspective: 1100px; }
.case {
  --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; --lift: 0px;
  position: relative;
  aspect-ratio: 142 / 125;
  border-radius: 3px;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  isolation: isolate;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.case.is-tracking { transition: transform 0.12s linear; }
/* case depth: the plastic edge and the tray behind it */
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  z-index: -1;
  transform: translate(5px, 5px);
  background: linear-gradient(135deg, rgba(60, 58, 72, 0.9), rgba(18, 17, 24, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.case-shadow {
  position: absolute;
  left: 6%;
  right: 2%;
  bottom: -7%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  filter: blur(8px);
  transform: scale(calc(1 - var(--lift, 0px) / -120px));
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.case-tray {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background:
    linear-gradient(90deg, rgba(10, 10, 14, 0.96) 0 9%, transparent 9%),
    linear-gradient(160deg, #26242e, #121117 70%);
}
.case-art {
  position: absolute;
  top: 3.8%;
  right: 2.6%;
  width: 84.5%;
  height: 92.4%;
  object-fit: cover;
  border-radius: 1px;
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
/* the hinge: a clear spine with two knuckles */
.case-hinge {
  position: absolute;
  inset: 0 auto 0 0;
  width: 9.5%;
  border-radius: 3px 0 0 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 35%, rgba(0, 0, 0, 0.35) 80%, rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.22), 1px 0 0 rgba(0, 0, 0, 0.45);
}
.case-hinge i {
  position: absolute;
  left: 22%;
  width: 56%;
  height: 13%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.case-hinge i:first-child { top: 4%; }
.case-hinge i:last-child { bottom: 4%; }
/* the clear front lid */
.case-lid {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.07) 17%, transparent 33%, transparent 68%, rgba(255, 255, 255, 0.08) 86%, rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 12%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.45),
    inset 0 0 0 4px rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
/* the little clips on the right edge that hold the booklet */
.case-lid::before,
.case-lid::after {
  content: "";
  position: absolute;
  right: 0.8%;
  width: 1.6%;
  height: 9%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.32));
}
.case-lid::before { top: 8%; }
.case-lid::after { bottom: 8%; }
/* holographic sheen (trading-card foil), follows the pointer */
.case-holo {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--holo);
  background-size: 260% 260%;
  background-position: var(--gx) var(--gy);
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.case-glare {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 28%, transparent 55%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover .case, .card.is-pressed .case, .card:focus-visible .case { --lift: -8px; }
.card:hover .case-holo, .card.is-pressed .case-holo { opacity: 0.16; }
.card:hover .case-glare, .card.is-pressed .case-glare, .card:focus-visible .case-glare { opacity: 1; }
.card:hover .case-shadow, .card.is-pressed .case-shadow { opacity: 0.8; }

.badge-new {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 800 11px/1 var(--display);
  letter-spacing: 0.08em;
  color: #2a1700;
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  transform: rotate(12deg);
}
.sold-stamp {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.sold-stamp span {
  padding: 4px 16px;
  border: 3px solid var(--danger);
  border-radius: 8px;
  color: var(--danger);
  font: 800 clamp(20px, 3vw, 34px) / 1 var(--display);
  letter-spacing: 0.16em;
  transform: rotate(-14deg);
  background: rgba(12, 10, 17, 0.6);
  box-shadow: 0 0 0 2px rgba(12, 10, 17, 0.6), 0 0 24px rgba(255, 107, 129, 0.35);
  backdrop-filter: blur(1px);
}
.case.is-sold .case-art { filter: grayscale(0.65) brightness(0.7); }

/* Magikarp: small, beside the case, never over the artwork. Shown when an animation is configured. */
.karp {
  position: absolute;
  left: -6%;
  bottom: -9%;
  width: 24%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.6) rotate(-8deg);
  transform-origin: 50% 100%;
  transition: opacity 0.25s, transform 0.45s var(--ease);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
}
.card:hover .karp, .card.is-pressed .karp, .card:focus-visible .karp { opacity: 1; transform: none; }

/* loading placeholders */
.skeleton .case { background: linear-gradient(100deg, #17141f 30%, #221e2c 50%, #17141f 70%); background-size: 300% 100%; animation: sheen 1.4s linear infinite; }
.skeleton .card-title, .skeleton .card-price { height: 12px; width: 60%; margin: 8px auto 0; border-radius: 6px; background: #1d1926; }
.skeleton .card-price { width: 24%; }
@keyframes sheen { to { background-position: -300% 0; } }

.shelf-foot { max-width: 1180px; margin: 40px auto 0; text-align: center; color: var(--faint); min-height: 40px; }
.empty {
  max-width: 520px;
  margin: 8vh auto;
  text-align: center;
}
.empty h2 { font: 800 30px/1.1 var(--display); margin: 0 0 10px; }
.empty p { color: var(--muted); margin: 0; }

/* ------------------------------------------------------------ buttons */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  color: #1c0b05;
  background: linear-gradient(180deg, #ff875c, var(--karp) 55%, var(--karp-deep));
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 106, 61, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; filter: saturate(0.5) brightness(0.85); transform: none; }
.btn.gold {
  color: #241500;
  background: linear-gradient(180deg, #fff0a6, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 10px 28px rgba(255, 207, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.block { width: 100%; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { appearance: none; background: none; border: 0; padding: 6px 2px; cursor: pointer; color: var(--muted); font-size: 14px; }
.link-btn:hover { color: var(--text); }

/* ------------------------------------------------------------ product overlay */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(6, 5, 9, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet {
  width: min(980px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  overflow: visible;
}
.sheet[open] { animation: sheet-in 0.5s var(--ease); }
.sheet[open]::backdrop { animation: fade 0.4s; }
.sheet.closing { animation: sheet-out 0.22s ease-in forwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes fade { from { opacity: 0; } }
.sheet-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 26px;
  background: linear-gradient(160deg, #1d1827, #121019 60%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px var(--line);
  overflow: hidden;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
}
.sheet-inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 207, 74, 0.22), transparent 45%), conic-gradient(from 0deg, rgba(255, 106, 213, 0.12), rgba(94, 231, 255, 0.12), rgba(255, 215, 106, 0.18), rgba(255, 106, 213, 0.12));
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.sheet.is-exclusive .sheet-inner::before { opacity: 1; animation: slow-spin 18s linear infinite; }
@keyframes slow-spin { to { transform: rotate(360deg); } }
.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.sheet-close:hover { background: rgba(255, 255, 255, 0.14); color: var(--text); }
.sheet-art { position: relative; z-index: 1; padding: 6% 4% 10%; }
.sheet .case-holo { opacity: 0.1; }
.sheet .case-glare { opacity: 0.7; }
.sheet.is-exclusive .case-holo { opacity: 0.32; }
.sheet.is-exclusive .case { box-shadow: 0 0 0 1px rgba(255, 207, 74, 0.55), 0 0 40px rgba(255, 207, 74, 0.25); }
.sheet .karp { opacity: 1; transform: none; left: -4%; bottom: -2%; width: 20%; }

.panels { position: relative; z-index: 1; overflow: hidden; }
.panel-track { display: grid; grid-template-columns: 100% 100%; transition: transform 0.6s var(--ease); }
.sheet.is-exclusive .panel-track { transform: translateX(-100%); }
.panel { padding: 4px 2px; transition: opacity 0.4s; }
.sheet.is-exclusive .panel-standard, .sheet:not(.is-exclusive) .panel-exclusive { opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.6s; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font: 800 12px/1 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-exclusive .eyebrow { color: var(--gold); }
.sheet h2 {
  margin: 0 0 22px;
  font: 800 clamp(30px, 4.2vw, 46px) / 1 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.license {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 16px;
}
.license-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.license-name { font-weight: 700; }
.license-price { font: 800 30px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.license ul { margin: 10px 0 18px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.license li { display: flex; gap: 10px; align-items: center; padding: 3px 0; }
.license li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--karp); flex: none; }
.panel-exclusive .license li::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* the upgrade button: holographic border, reads as a step up */
.upgrade {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(#17131f, #17131f) padding-box, var(--holo) border-box;
  border: 1.5px solid transparent;
  background-size: 100% 100%, 220% 220%;
  animation: holo-border 6s linear infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.upgrade:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(164, 123, 255, 0.25); }
@keyframes holo-border { to { background-position: 0 0, -220% 0; } }
.upgrade .crown { width: 34px; height: 34px; color: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 207, 74, 0.5)); }
.upgrade b { display: block; font: 800 17px/1.2 var(--display); }
.upgrade small { color: var(--muted); font-size: 13px; }
.upgrade .upgrade-price { font: 800 20px/1 var(--display); color: var(--gold); }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.note a { color: var(--gold); }
.sheet-error { min-height: 22px; margin: 12px 0 0; color: var(--danger); font-size: 14px; }

/* small alert dialog (exclusive sold) */
.alert {
  width: min(420px, calc(100vw - 32px));
  border: 0;
  padding: 30px 28px 24px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(160deg, #1f1a29, #131018);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px var(--line);
}
.alert[open] { animation: sheet-in 0.4s var(--ease); }
.alert .alert-icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--danger); }
.alert h2 { margin: 0 0 8px; font: 800 24px/1.15 var(--display); }
.alert p { margin: 0 0 20px; color: var(--muted); }

/* ------------------------------------------------------------ footer + simple pages */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.page-simple { display: block; }
.simple { max-width: 640px; margin: 0 auto; padding: 56px 16px 80px; }
.simple h1 { font: 800 clamp(34px, 6vw, 52px) / 1.02 var(--display); margin: 0 0 14px; letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.simple h2 { font: 800 20px/1.2 var(--display); margin: 32px 0 8px; }
.simple p, .simple li { color: #d4cde0; }
.simple .lead { font-size: 18px; color: var(--muted); }
.simple a:not(.btn):not(.wordmark) { color: var(--gold); }
.fine { font-size: 14px; color: var(--faint) !important; margin-top: 24px; }
.dl-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.dl-row span { display: grid; gap: 2px; min-width: 0; }
.dl-row small { color: var(--muted); overflow-wrap: anywhere; }
.dl-row.pending { opacity: 0.7; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.input {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 16px var(--body);
}
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.status-msg { min-height: 24px; margin-top: 16px; color: var(--muted); }
.status-msg.ok { color: var(--ok); }
.status-msg.err { color: var(--danger); }
.check {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 45%, var(--gold-deep));
  color: #2a1700;
  box-shadow: 0 12px 30px rgba(255, 207, 74, 0.3);
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 760px) {
  .sheet { width: 100vw; max-width: 100vw; max-height: 100svh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .sheet[open] { animation: sheet-up 0.5s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(40%); opacity: 0; } }
  .sheet-inner { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); max-height: 100svh; gap: 6px; }
  .sheet-art { width: min(290px, 70vw); margin: 0 auto; padding: 40px 0 22px; }
  .sheet h2 { margin-bottom: 16px; }
  .top nav a.hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .case { transform: none !important; }
}
