@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/Manrope.ttf") format("truetype");
}

@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/Unbounded.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #070910;
  --ink: #e7eefc;
  --muted: #93a0bb;
  --line: rgba(214, 232, 255, 0.14);
  --panel: rgba(12, 16, 28, 0.78);
  --px: 0;
  --py: 0;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { touch-action: pan-y pinch-zoom; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  font-family: Manrope, Inter, "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::placeholder { color: #8b98b4; }
::selection { background: #c9f6ff; color: #10131c; }

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(980px 540px at 8% -10%, rgba(86, 128, 255, 0.2), transparent 62%),
    radial-gradient(760px 460px at 100% 0%, rgba(255, 130, 200, 0.12), transparent 58%),
    radial-gradient(860px 620px at 72% 115%, rgba(70, 210, 196, 0.09), transparent 55%),
    var(--bg);
}

.sky img {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  opacity: 0.85;
  transform: translate3d(calc(var(--px) * -18px), calc(var(--py) * -12px), 0);
}

.sky-glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(540px 420px at 16% 18%, rgba(0, 220, 210, 0.22), transparent 70%),
    radial-gradient(460px 360px at 84% 8%, rgba(170, 90, 255, 0.16), transparent 72%);
  transform: translate3d(calc(var(--px) * 28px), calc(var(--py) * 18px), 0);
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(186, 214, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 214, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 18%, #000 12%, transparent 74%);
}

.shell { position: relative; z-index: 1; }

#view {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 8px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #f4fbff;
  color: #121722;
  padding: 8px 12px;
  border-radius: 999px;
}

.skip:focus { top: 12px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid #9aefff;
  outline-offset: 2px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark, #footer-mark { width: 32px; height: 46px; display: block; }
.brand-mark .holo-mark, #footer-mark .holo-mark { width: 32px; }

.word {
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 16px;
}

.word span { color: #b7c6e4; font-weight: 500; }

.nav { display: flex; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #c5d0e6;
  font-weight: 700;
}
.nav a.is-on { color: #f4f8ff; background: rgba(255, 255, 255, 0.06); }

.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.level-pill, .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(180, 240, 255, 0.28);
  background: rgba(10, 16, 28, 0.65);
  font-size: 13px;
  font-weight: 700;
}

.level-pill .holo-mark { width: 22px; }
.cart-link.is-on, .level-pill:hover, .cart-link:hover { border-color: rgba(180, 240, 255, 0.7); }

.badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: #e9fbff;
  color: #12151e;
  font-size: 12px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fe7ff;
  font-weight: 700;
}

.display {
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.lead { color: #c5d0e6; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
  padding: 34px 0 6px;
}

.hero h1 { font-size: 48px; line-height: 1.02; }
.hero .lead { margin-top: 14px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(180deg, #f7fbff, #d7ecff);
  color: #121722;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(120, 200, 255, 0.16);
}

.btn-primary:hover { background: linear-gradient(180deg, #ffffff, #c9f3ff); }
.btn-line {
  background: transparent;
  color: #f2f7ff;
  border: 1px solid rgba(214, 232, 255, 0.28);
}
.btn-line:hover { border-color: rgba(180, 240, 255, 0.75); }
.btn-block { width: 100%; }
.btn-text {
  background: none;
  border: 0;
  padding: 0;
  color: #9ec6da;
  font-size: 14px;
  font-weight: 700;
}

.metrics { display: flex; gap: 22px; margin: 22px 0 0; }
.metrics dt { font-size: 12px; color: var(--muted); }
.metrics dd {
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-glow,
.hero-circle,
.orbit {
  position: absolute;
  left: 50%;
  pointer-events: none;
}

.hero-glow {
  z-index: 0;
  width: 86%;
  aspect-ratio: 1;
  top: -2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 208, 0.42), rgba(0, 110, 130, 0.08) 54%, transparent 70%);
  filter: blur(8px);
  transform: translate3d(calc(-50% + var(--px) * -40px), calc(var(--py) * -24px), 0);
}

.hero-circle {
  z-index: 1;
  width: 72%;
  aspect-ratio: 1;
  top: 4%;
  border-radius: 50%;
  background: #05060c;
  box-shadow: 0 0 0 16px rgba(0, 50, 58, 0.45);
  transform: translate3d(calc(-50% + var(--px) * -26px), calc(var(--py) * -16px), 0);
}

.hero-figure,
.chibi-figure {
  position: relative;
  z-index: 2;
}

.hero-figure {
  width: min(460px, 100%);
  transform-origin: 50% 16%;
  transform:
    translate3d(calc(var(--px) * 16px), calc(var(--py) * 9px), 0)
    rotateX(calc(var(--py) * -4.5deg))
    rotateY(calc(var(--px) * 6.5deg));
}

.chibi-figure {
  width: 88%;
  transform-origin: 50% 28%;
  transform:
    translate3d(calc(var(--px) * 12px), calc(var(--py) * 7px), 0)
    rotateX(calc(var(--py) * -3.5deg))
    rotateY(calc(var(--px) * 5deg));
}

.hero-figure img,
.chibi-figure img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.45));
}

.eye-glint {
  position: absolute;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.9);
  transform: translate3d(calc(var(--px) * 5px), calc(var(--py) * 3px), 0);
  pointer-events: none;
}

.hero-figure.hero-figure-3d {
  width: min(440px, 100%);
  height: 520px;
  transform: none;
}

.grim-slot {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grim-wait {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(240px, 86%);
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.grim-fallback { display: none; height: 100%; object-fit: contain; }

html.grim-ready .grim-wait { display: none; }

html.grim-failed .grim-wait { display: none; }
html.grim-failed .grim-fallback { display: block; }
html.grim-failed .grim-canvas { display: none; }

.grim-canvas {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 15;
  display: block;
  pointer-events: none;
}

.hero-figure .eye-l { left: 48.6%; top: 9.2%; }
.hero-figure .eye-r { left: 57.4%; top: 9.8%; }
.chibi-figure .eye-l { left: 44.8%; top: 10.2%; }
.chibi-figure .eye-r { left: 58.4%; top: 11.2%; }

.float-chip {
  position: absolute;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.78);
  border: 1px solid rgba(214, 232, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}

.chip-a { left: 0; top: 36px; z-index: 20; }
.chip-b { right: 0; bottom: 28px; z-index: 20; }

.holo-mark {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 599 / 834;
  background-image: linear-gradient(118deg, #e9fffb 0%, #49efff 16%, #7c9bff 38%, #ee8dff 60%, #ffe0a4 78%, #63f4ff 100%);
  background-size: 240% 240%;
  background-position: 0% 40%;
  animation: shimmer 8s ease-in-out infinite;
  -webkit-mask-image: url("../assets/ghost/mark-fill.png");
  mask-image: url("../assets/ghost/mark-fill.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
}

.holo-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

@keyframes march { to { stroke-dashoffset: -180; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float { animation: float 6.5s ease-in-out infinite; }

[data-cat="eggs"] { --accent: #7ef0ff; }
[data-cat="consumables"] { --accent: #ffe08a; }
[data-cat="accounts"] { --accent: #9ad7ff; }
[data-cat="mail"] { --accent: #ffd6a8; }
[data-cat="tokens"] { --accent: #d6ff9a; }
[data-cat="subs"] { --accent: #d4c4ff; }
[data-cat="tiktok"] { --accent: #ff8ebd; }
[data-cat="boosts"] { --accent: #c4b5fd; }
[data-cat="sms"] { --accent: #ffb089; }
[data-cat="digital"] { --accent: #7dffe0; }

.cat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cat-card, .panel, .summary, .dossier, .loy-stage, .stage, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  padding: 14px;
  border-radius: 18px;
  box-shadow: inset 0 2px 0 var(--accent, #7ef0ff);
}

.cat-card:hover { border-color: rgba(190, 240, 255, 0.4); }
.cat-index {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.cat-name { display: block; font-weight: 700; font-size: 18px; }
.cat-count { display: block; color: var(--muted); font-size: 13px; }

.loy-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto minmax(140px, 1.1fr) auto auto minmax(180px, 1.3fr);
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid rgba(180, 230, 255, 0.16);
  background: rgba(12, 16, 28, 0.72);
}

.loy-strip .holo-mark { width: 40px; }
.loy-strip-copy, .loy-strip-stat, .loy-strip-bar { display: flex; flex-direction: column; gap: 2px; }
.loy-strip-copy span, .loy-strip-stat small, .loy-strip-bar small { color: var(--muted); font-size: 12px; }
.loy-strip-stat b { font-size: 18px; font-variant-numeric: tabular-nums; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 14px;
}

.section-head h2, .summary h2, .fineprint h2 { font-size: 22px; font-weight: 700; }
.section-head a { color: #9adfff; font-size: 14px; font-weight: 700; }

.grid, .featured-grid { display: grid; gap: 14px; }
.grid { grid-template-columns: repeat(3, 1fr); }
.featured-grid { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: inset 0 2px 0 var(--accent, transparent);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-3px); border-color: rgba(190, 240, 255, 0.38); }
.card-link { display: block; color: inherit; }
.emblem {
  height: 156px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 240, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}
.emblem .holo-mark { width: 108px; }
.card-body, .card-foot { padding: 0 14px; }
.card-body { padding-top: 12px; }
.card-foot { padding: 12px 14px 14px; margin-top: auto; display: grid; gap: 10px; }
.meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.meta span:first-child { color: var(--accent); }
.card-title {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-blurb {
  margin-top: 6px;
  color: #c5d0e6;
  font-size: 14px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.price b, .price-lg b, .line-price b {
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.price b { font-size: 18px; }
.price s, .price-sub s, .line-price s {
  color: var(--muted);
  font-size: 0.86em;
  font-weight: 500;
}
.price em, .price-sub span { font-style: normal; color: #9af0d8; font-size: 13px; font-weight: 700; }

.how, .ways, .reviews, .fineprint { display: grid; gap: 12px; }
.how { grid-template-columns: repeat(4, 1fr); }
.ways, .fineprint { grid-template-columns: repeat(3, 1fr); }
.reviews { grid-template-columns: 1fr 1fr; }
.fineprint { margin-top: 22px; grid-template-columns: 1.2fr 0.8fr; }
.panel { padding: 16px; border-radius: 18px; }
.panel h3 { font-size: 16px; margin: 8px 0 6px; }
.panel p { color: #c5d0e6; }
.panel .btn { margin-top: 12px; }
.stars { color: #ffe2a8; letter-spacing: 0.08em; margin-bottom: 8px; }
.review-by { margin-top: 10px; color: var(--muted); font-size: 13px; }

.page { padding-top: 26px; }
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}
.page-head h1, .receipt h1 { font-size: 40px; line-height: 1.05; }
.page-head .lead { max-width: 62ch; margin-top: 8px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-chips { flex-basis: 100%; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  color: #d5def2;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 700;
  touch-action: manipulation;
}
.chip.is-on { background: #e9fbff; color: #141820; border-color: transparent; }
.sort-wrap { margin-left: auto; }
.search input, .sort, .field textarea, .callsign-form input {
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 16px;
}
.search input { width: min(240px, 46vw); }
.sort { border-radius: 999px; }
.field textarea { width: 100%; border-radius: 14px; resize: vertical; }

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.discount-note { color: #9af0d8; }

.empty { grid-column: 1 / -1; text-align: center; padding: 42px 16px 20px; }
.empty-ghost { width: 160px; margin: 0 auto 8px; }
.empty-ghost .chibi-figure { width: 100%; }
.empty h2 { font-size: 28px; margin-bottom: 8px; }
.empty p { color: #c5d0e6; margin-bottom: 16px; }

.product-top, .cart-layout, .loyalty-top, .receipt {
  display: grid;
  gap: 22px;
  align-items: stretch;
}
.product-top { grid-template-columns: 0.86fr 1.14fr; }
.cart-layout { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
.loyalty-top { grid-template-columns: 0.82fr 1.18fr; }
.receipt { grid-template-columns: 0.8fr 1.2fr; align-items: center; padding-top: 8px; }

.stage, .loy-stage {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(140, 220, 255, 0.16), transparent 58%),
    var(--panel);
  overflow: hidden;
}

.loy-stage { overflow: hidden; perspective: 900px; }
.stage-mark { width: min(250px, 72%); }
.portrait {
  position: relative;
  width: min(320px, 100%);
  min-height: 360px;
  display: grid;
  place-items: center;
}
.orbit {
  z-index: 1;
  border: 1px dashed rgba(170, 245, 255, 0.42);
  border-radius: 50%;
  display: none;
}
.o1 {
  width: 78%;
  aspect-ratio: 1;
  top: 8%;
  transform: translate3d(calc(-50% + var(--px) * -16px), calc(var(--py) * -10px), 0);
}
.o2 {
  width: 96%;
  aspect-ratio: 1;
  top: 1%;
  transform: translate3d(calc(-50% + var(--px) * -22px), calc(var(--py) * -12px), 0);
}
.o3 {
  width: 112%;
  aspect-ratio: 1;
  top: -6%;
  transform: translate3d(calc(-50% + var(--px) * -28px), calc(var(--py) * -14px), 0);
}
.loy-stage[data-rank="2"] .o1,
.loy-stage[data-rank="3"] .o1,
.loy-stage[data-rank="4"] .o1,
.loy-stage[data-rank="4"] .o2,
.loy-stage[data-rank="5"] .o1,
.loy-stage[data-rank="5"] .o2,
.loy-stage[data-rank="6"] .o1,
.loy-stage[data-rank="6"] .o2,
.loy-stage[data-rank="6"] .o3,
.loy-stage[data-rank="7"] .o1,
.loy-stage[data-rank="7"] .o2,
.loy-stage[data-rank="7"] .o3 { display: block; }
.stage { position: relative; }
.buybox h1 { font-size: 34px; line-height: 1.15; font-weight: 700; }
.crumb { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb a:hover { color: #f4fbff; }
.buybox .kicker { margin-bottom: 8px; }
.price-lg { margin-top: 12px; }
.price-lg b { font-size: 42px; line-height: 1; }
.price-sub { display: flex; gap: 8px; align-items: baseline; margin-top: 4px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.buy-row .btn { flex: 1; }
.text { margin-top: 16px; color: #d5def2; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.45);
}
.qty button, .qty span, .qty input {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  text-align: center;
  font-weight: 700;
}
.qty input { width: 42px; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.specs div, .stat-grid div {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.specs dt, .stat-grid dt, .sum-rows dt { color: var(--muted); font-size: 12px; }
.specs dd, .stat-grid dd, .sum-rows dd { margin: 2px 0 0; font-weight: 700; }
.points { margin-top: 14px; }
.points li {
  position: relative;
  padding-left: 16px;
  margin: 6px 0;
  color: #c9d4ea;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #9aefff, #ffb3e3);
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.line-ghost .holo-mark { width: 48px; }
.line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-price { text-align: right; }
.line-price b { font-size: 18px; }
.summary, .dossier { padding: 18px; }
.summary { position: sticky; top: 86px; }
.sum-rows { display: grid; gap: 10px; margin: 14px 0; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-total dd {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 28px;
  font-weight: 600;
}
.radios {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.radios legend { padding: 0; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.radios label { display: flex; gap: 8px; align-items: center; }
.fine { margin-top: 12px; color: var(--muted); font-size: 13px; }

.loy-name {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 22px;
  margin-top: 6px;
}
.loy-caption { color: var(--muted); font-size: 13px; }
.dossier h1 { font-size: 48px; line-height: 1; margin: 6px 0; }
.dossier .lead { margin-bottom: 8px; }
.discount-xl { margin: 8px 0 4px; color: #d5def0; }
.discount-xl strong {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 68px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(100deg, #f3fffb, #8aefff 28%, #d2b6ff 60%, #ffc2e6 82%, #ffe4a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: #d8fbff;
  -webkit-text-fill-color: transparent;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.stat-grid dd { font-family: Unbounded, Manrope, sans-serif; font-size: 20px; font-weight: 600; }
.bar {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ef0ff, #b9a6ff 46%, #ff9ad6 78%, #ffe2a8);
}
.bar-label { margin-top: 8px; color: var(--muted); font-size: 13px; }
.callsign-form { display: flex; gap: 8px; margin-top: 16px; }
.callsign-form input { flex: 1; border-radius: 12px; }

.tiers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.tier {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(12, 16, 28, 0.72);
  border: 1px solid var(--line);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier b { font-size: 14px; }
.tier .off { color: #9af0d8; font-family: Unbounded, Manrope, sans-serif; font-size: 16px; }
.tier small { color: var(--muted); margin-top: auto; }
.tier.is-now {
  border-color: rgba(160, 240, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(160, 240, 255, 0.25), 0 10px 40px rgba(80, 160, 255, 0.12);
}
.tier.is-future { opacity: 0.5; }

.orders li {
  display: grid;
  grid-template-columns: 120px 90px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.orders li span:first-child, .orders li span:nth-child(2) { color: var(--muted); }

.level-up { margin: 10px 0; color: #b7ffe8; font-weight: 700; }
.receipt-lines { margin: 16px 0; }
.receipt-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 28px 0 calc(36px + env(safe-area-inset-bottom));
  color: #b4c0d8;
}
.foot { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot p { max-width: 46ch; margin-top: 6px; }
#footer-mark { width: 36px; height: 42px; flex: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.foot nav button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}

.toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  background: #edf7ff;
  color: #12141c;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 70;
  transition: 0.25s ease;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #121826;
  color: var(--ink);
  padding: 22px;
  width: min(460px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
dialog::backdrop { background: rgba(5, 7, 14, 0.72); }
dialog h2 { font-size: 24px; margin-bottom: 8px; }
dialog p { color: #c5d0e6; }
.field { display: grid; gap: 6px; margin: 14px 0; font-size: 14px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.support-result { min-height: 1.3em; color: #b7ffe8; }

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

@media (max-width: 980px) {
  .hero, .product-top, .cart-layout, .loyalty-top, .receipt, .featured-grid { grid-template-columns: 1fr; }
  .cat-row, .tiers { grid-template-columns: repeat(3, 1fr); }
  .grid, .how { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
  .loy-strip { grid-template-columns: auto 1fr 1fr; }
  .loy-strip-bar { grid-column: 1 / -1; }
  .hero h1, .dossier h1 { font-size: 40px; }
  .summary { position: static; }
}

@media (max-width: 720px) {
  .wrap, #view { width: min(1180px, calc(100% - 28px)); }
  .top-inner { flex-wrap: wrap; padding: 8px 0 10px; gap: 8px 12px; }
  .nav { order: 5; width: 100%; }
  .nav a { flex: 1; padding: 8px 6px; }
  .tools { margin-left: 0; flex-wrap: wrap; }
  .cat-row { grid-template-columns: 1fr 1fr; }
  .grid, .featured-grid, .how, .reviews, .fineprint, .tiers, .specs, .stat-grid {
    grid-template-columns: 1fr;
  }
  .orders li { grid-template-columns: 1fr; gap: 4px; }
  .page-head, .foot, .result-line, .callsign-form { flex-direction: column; align-items: stretch; }
  .callsign-form .btn { width: 100%; }
  .sort-wrap, .search, .search input, .sort { margin-left: 0; width: 100%; max-width: 100%; }
  .hero { padding-top: 16px; }
  .hero h1, .page-head h1, .receipt h1, .dossier h1 { font-size: 32px; }
  .float-chip { position: static; margin-top: 8px; max-width: 100%; }
  .hero-stage { min-height: 0; }
  .hero-figure { width: min(260px, 72vw); }
  .hero-figure.hero-figure-3d { width: min(260px, 72vw); height: min(320px, 78vw); }
  .stage, .loy-stage { min-height: 280px; }
  .portrait { min-height: 240px; }
  .price-lg b { font-size: 32px; }
  .buybox h1 { font-size: 28px; }
  .loy-strip { grid-template-columns: auto minmax(0, 1fr); }
  .loy-strip-stat, .loy-strip-bar { grid-column: 1 / -1; }
  .cart-line { grid-template-columns: 48px minmax(0, 1fr); }
  .line-price { grid-column: 2; text-align: left; }
  .foot nav a, .foot nav button, .section-head a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .discount-xl strong { font-size: 52px; }
  .dialog-actions { flex-wrap: wrap; }
  .dialog-actions .btn { flex: 1; }
  .promo { grid-template-columns: 1fr; }
  .shop-lead, .auth-form { display: flex; flex-direction: column; }
  .gate { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .shop-lead { align-items: stretch; }
  .session { width: 100%; }
}

body.is-gate {
  overflow: hidden;
  height: 100dvh;
}

body.is-gate .shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.is-gate #view {
  flex: 1;
  min-height: 0;
  display: flex;
  padding-bottom: 0;
}

body.is-gate .site-footer { display: none; }

body[data-surface="shop"] .sky img { display: none; }

body[data-surface="shop"] .sky {
  background:
    radial-gradient(820px 420px at 110% -8%, rgba(255, 168, 74, 0.2), transparent 58%),
    radial-gradient(680px 520px at -10% 110%, rgba(72, 104, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #14110d 0%, #0c1018 46%, #10131a 100%);
}

body[data-surface="shop"] .sky-glow {
  background:
    radial-gradient(420px 280px at 18% 0%, rgba(255, 196, 120, 0.16), transparent 70%),
    radial-gradient(380px 260px at 80% 100%, rgba(90, 140, 255, 0.14), transparent 72%);
}

body[data-surface="shop"] .sky::after {
  background-size: 22px 22px;
  opacity: 0.7;
  mask-image: linear-gradient(#000, transparent 92%);
}

.session { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.session-link { padding: 0 14px; }
.balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.65);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.plus {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #e9fbff;
  color: #121722;
  font-size: 20px;
  line-height: 1;
}

.gate {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
}

.gate-copy { grid-column: 1 / -1; }
.gate-copy h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; }
.gate-copy .lead { margin-top: 6px; color: var(--muted); max-width: 46ch; }

.gate-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 28, 0.78);
  box-shadow: inset 0 2px 0 var(--accent, #9ad7ff);
}
.gate-block strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.04em;
}
.gate-block span:last-child { color: var(--muted); }

.shop-lead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-top: 22px;
}
.shop-lead h1 { font-size: 44px; line-height: 1.05; }
.shop-lead .lead { margin-top: 8px; max-width: 52ch; color: #c5d0e6; }

.promo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  margin-top: 16px;
}
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(22, 18, 14, 0.78);
}
.promo-card small {
  color: #ffd7a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.promo-card strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.promo-card span { color: var(--muted); }

.auth-form { display: grid; gap: 12px; max-width: 460px; margin-top: 16px; padding: 18px; }
.auth-form .field input {
  width: 100%;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 16px;
}
.topup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
#topup .field input {
  width: 100%;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 16px;
}
.receipt-plain { grid-template-columns: minmax(0, 720px); }
.profile-page .loyalty-top { grid-template-columns: minmax(0, 760px); }
.profile-page .dossier { padding: 22px; }
