@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --font-body: Inter, system-ui, sans-serif;
  --font-display: Inter, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --text-base: 16px;
  --text-sm: 14px;
  --text-xs: 13px;
  --leading-body: 1.65;
  --bg: #07060d;
  --bg-2: #0e0c16;
  --ink: #f4f1ea;
  --ink-soft: #e8e4dc;
  --muted: #b8b3c8;
  --line: rgba(255, 255, 255, 0.08);
  --mint: #7ef0d0;
  --violet: #8b7cff;
  --mint-dim: rgba(126, 240, 208, 0.14);
  --violet-dim: rgba(139, 124, 255, 0.16);
  --radius: 22px;
  --wrap: 1120px;
  --mx: 55%;
  --my: 20%;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--ink);
  line-height: var(--leading-body);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: var(--mint);
  color: #07110e;
  padding: 8px 12px;
}

.cr-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at var(--mx) var(--my), rgba(139, 124, 255, 0.16), transparent 55%),
    radial-gradient(700px 480px at 85% 10%, rgba(126, 240, 208, 0.08), transparent 50%),
    radial-gradient(600px 400px at 10% 90%, rgba(139, 124, 255, 0.07), transparent 55%),
    var(--bg);
  pointer-events: none;
}
.cr-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 75%);
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 6, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}
.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;
}
.nav-primary {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-credits {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 208, 0.35);
  background: var(--mint-dim);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.header-credits:hover {
  border-color: rgba(126, 240, 208, 0.55);
  background: rgba(126, 240, 208, 0.18);
}
.header-credits-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.header-credits-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}
.header-api {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 208, 0.35);
  background: rgba(126, 240, 208, 0.08);
  color: var(--mint);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-api:hover {
  border-color: rgba(126, 240, 208, 0.6);
  background: rgba(126, 240, 208, 0.16);
}
.nav-primary a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-primary a:hover {
  color: var(--ink);
  border-bottom-color: rgba(126, 240, 208, 0.45);
}
.nav-primary a:focus-visible {
  outline: 2px solid rgba(126, 240, 208, 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-more {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-more-btn:hover,
.nav-more-btn[aria-expanded="true"] {
  color: var(--ink);
}
.nav-more-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}
.nav-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-more-btn:focus-visible {
  outline: 2px solid rgba(126, 240, 208, 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 172px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 14px;
  background: #12101c;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  z-index: 60;
}
.nav-more-menu[hidden] {
  display: none;
}
.nav-more-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  padding: 9px 12px;
  border-radius: 9px;
  border-bottom: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-more-menu a:hover,
.nav-more-menu a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}
@media (hover: hover) {
  .nav-more:hover > .nav-more-menu,
  .nav-more:hover > .nav-more-menu[hidden],
  .nav-more:focus-within > .nav-more-menu,
  .nav-more:focus-within > .nav-more-menu[hidden] {
    display: flex;
  }
}
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: 2px solid rgba(126, 240, 208, 0.75);
  outline-offset: 3px;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { bottom: 16px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 20px 24px;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn:focus-visible {
  outline: 2px solid rgba(126, 240, 208, 0.75);
  outline-offset: 3px;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-primary {
  background: var(--mint);
  color: #07110e;
  box-shadow: 0 0 0 1px rgba(126, 240, 208, 0.3), 0 10px 30px rgba(126, 240, 208, 0.18);
}
.btn-primary.is-copied { background: var(--violet); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  padding: 72px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
}
h1, h2, h3, .footer-brand {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; max-width: 14ch; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 18px 0 28px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hint { color: var(--muted); font-size: var(--text-sm); margin-top: 16px; line-height: 1.6; }
.hero .hint { font-size: var(--text-sm); }

.hero-stage { perspective: 900px; }
.code-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, #161322, #0c0b14 70%);
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  overflow: hidden;
}
.code-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #3a3548;
}
.dot:nth-child(1) { background: #ff6b7a; }
.dot:nth-child(2) { background: #f5c15d; }
.dot:nth-child(3) { background: #62d48e; }
.chrome-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.code-body {
  padding: 28px 24px 32px;
  font-family: var(--font-mono);
}
.prompt { color: var(--muted); margin: 0 0 22px; font-size: 13px; }
.cmd { color: var(--mint); }
.code-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.code-value {
  display: block;
  width: 100%;
  margin: 8px 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}
.code-url {
  margin: 0;
  color: var(--violet);
  font-size: 12px;
  word-break: break-all;
}
.code-shine {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}

.section { padding: 88px 0; }
.section.alt {
  background: linear-gradient(180deg, transparent, rgba(139, 124, 255, 0.06) 40%, transparent);
}
.section-head { margin-bottom: 36px; max-width: min(40rem, 100%); }
.section-head h2 { max-width: none; }
.section-head p { color: var(--muted); }
#faq .section-head { max-width: none; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  min-height: 220px;
}
.step-num {
  display: block;
  color: var(--mint);
  font-size: var(--text-sm);
  margin-bottom: 28px;
}
.step p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.split p { color: var(--muted); }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.facts li {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.facts strong { font-family: var(--font-display); }
.facts span { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  list-style: none;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--mint);
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 70ch;
  margin: 12px 0 0;
}
.center { text-align: center; margin-top: 28px; }
.text-link {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 240, 208, 0.35);
}

.page-shell { padding: 72px 0 96px; }
.prose { max-width: 760px; }
.prose h1 { max-width: 18ch; margin-bottom: 24px; }
.page-body p, .page-body li {
  color: var(--ink-soft);
  line-height: 1.7;
}
.page-body h2 { margin: 36px 0 12px; font-size: 28px; }
.page-body a { color: var(--mint); }
.page-body ul { padding-left: 1.2em; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}
.footer-brand { font-size: 22px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: var(--text-sm);
}
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-legal {
  margin-top: 28px;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}
.muted { color: var(--muted); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  background: #12101c;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 30;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.spark {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--mint);
  pointer-events: none;
  z-index: 40;
  animation: spark 0.65s ease-out forwards;
}
@keyframes spark {
  to {
    transform: translate(var(--dx), var(--dy));
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@media (max-width: 860px) {
  .nav-primary, .header-cta { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .cr-bell__panel { left: auto; right: 0; }
  .nav-toggle { display: block; margin-left: 0; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero { padding-top: 40px; }
  .hero-grid, .steps, .split, .footer-inner { grid-template-columns: 1fr; display: grid; }
  .footer-inner { display: grid; }
  h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .code-shine, .spark { animation: none; transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Secure card (homepage) */
.secure-card .secure-status {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 8px 0 16px;
  color: var(--mint);
}
.secure-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: var(--text-sm);
}
.secure-list li::before {
  content: "✓ ";
  color: var(--mint);
}

/* Checkout flow */
.checkout-flow { padding: 56px 0 96px; }
.checkout-shell { max-width: 860px; }
.checkout-head { margin-bottom: 8px; }
.checkout-head h1 { max-width: none; font-size: clamp(32px, 4.5vw, 52px); }
.checkout-head .lede { max-width: 52ch; margin-bottom: 0; }
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 28px 0 24px;
}
.stepper-dot {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.stepper-dot:focus-visible {
  outline: 2px solid rgba(126, 240, 208, 0.75);
  outline-offset: 3px;
}
.stepper-dot.is-active,
.stepper-dot.is-done {
  background: var(--mint-dim);
  border-color: rgba(126, 240, 208, 0.35);
  color: var(--mint);
}
.stepper-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 24px;
}
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  padding: 32px;
}
.checkout-step h2 {
  font-size: 22px;
  margin-bottom: 16px;
}
.checkout-step { display: none; }
.checkout-step.is-active { display: block; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.plan-card {
  cursor: pointer;
  position: relative;
}
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card-inner {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-height: 168px;
  position: relative;
}
.plan-card input:checked + .plan-card-inner {
  border-color: rgba(126, 240, 208, 0.65);
  box-shadow: 0 0 0 2px rgba(126, 240, 208, 0.25);
  transform: translateY(-2px);
}
.plan-card input:checked + .plan-card-inner::after {
  content: "✓";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--mint);
  color: #07110e;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.plan-card input:focus-visible + .plan-card-inner {
  outline: 2px solid rgba(126, 240, 208, 0.75);
  outline-offset: 3px;
}
.plan-badge {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 600;
}
.plan-badge--promo {
  color: var(--bg);
  background: linear-gradient(135deg, #ffb347, #ff6b6b);
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-block;
  line-height: 1.3;
}
.plan-link-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--mint);
}
.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}
.plan-price { color: var(--ink); font-size: 15px; font-weight: 500; }
.plan-credits {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet);
}
.plan-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.plan-card.is-disabled .plan-card-inner {
  transform: none;
  box-shadow: none;
}
.plan-desc { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }
.btn-wide { width: 100%; justify-content: center; }
.consent-box {
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.consent-box ul { color: var(--muted); font-size: 14px; padding-left: 1.2em; }
.consent-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
}
.consent-check input { margin-top: 4px; accent-color: var(--mint); min-width: 18px; min-height: 18px; }
.checkout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.finish-box {
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.finish-steps { color: var(--muted); font-size: 14px; }
.small { font-size: 12px; }
.field-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 8px;
}
.stripe-copy-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.stripe-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.stripe-input:focus {
  outline: none;
  border-color: rgba(126, 240, 208, 0.45);
  box-shadow: 0 0 0 2px rgba(126, 240, 208, 0.15);
}
.checkout-result .muted {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.checkout-pay-soon {
  text-align: center;
  margin: 0 0 14px;
  font-weight: 600;
}
.btn-with-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4em;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  background: rgba(10, 9, 16, 0.28);
  color: inherit;
}
.btn-primary .btn-countdown {
  background: rgba(7, 20, 15, 0.22);
}
.btn-ghost .btn-countdown {
  background: rgba(255, 201, 138, 0.16);
  color: #ffd9a8;
}
.checkout-actions.is-expired .btn-countdown {
  background: rgba(255, 80, 100, 0.2);
  color: #ff8a98;
}
.checkout-status {
  margin: 16px 0 0;
  font-size: var(--text-sm);
  color: var(--mint);
}
.checkout-help { margin-top: 20px; }
.checkout-help h2 { font-size: 20px; margin-bottom: 10px; }
.consent-box--happy { border-color: rgba(126, 240, 208, 0.2); }
.consent-lead { color: var(--ink); font-size: 15px; margin: 0 0 14px; }
.finish-steps.compact { margin: 0 0 16px; padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.btn-lg { padding: 15px 22px; font-size: 15px; }
.checkout-status.is-error {
  margin: 16px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 92, 110, 0.55);
  background: rgba(255, 50, 80, 0.16);
  color: #ffd0d6;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 80, 100, 0.12), 0 8px 24px rgba(255, 40, 70, 0.12);
}
.ineligible-panel {
  margin-bottom: 24px;
  padding: 28px 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 154, 120, 0.35);
  background: linear-gradient(165deg, rgba(40, 18, 18, 0.55), rgba(14, 12, 22, 0.92));
}
.ineligible-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  margin: 8px 0 14px;
  line-height: 1.2;
}
.ineligible-lede {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 62ch;
}
.ineligible-notice {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 208, 0.28);
  background: rgba(126, 240, 208, 0.08);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
.ineligible-notice strong { color: var(--mint); }
.ineligible-subhead {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 12px;
}
.ineligible-steps {
  margin: 0;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 62ch;
}
.ineligible-steps li + li { margin-top: 8px; }
.ineligible-foot { margin-top: 16px; margin-bottom: 0; }
.fresh-account-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 32, 0.35);
  background: linear-gradient(165deg, rgba(48, 32, 8, 0.45), rgba(14, 12, 22, 0.88));
}
.fresh-account-notice strong {
  display: block;
  color: #ffb020;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 6px;
}
.fresh-account-notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-guide {
  list-style: none;
  counter-reset: guide-step;
  margin: 0 0 20px;
  padding: 0;
}
.cookie-guide li {
  position: relative;
  padding-left: 1.4em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.cookie-guide li::before {
  counter-increment: guide-step;
  content: counter(guide-step) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.cookie-guide a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-guide li + li { margin-top: 8px; }
.hint.warn {
  color: #ffc98a;
  font-size: var(--text-sm);
  margin-bottom: 16px;
  line-height: 1.5;
}
.device-notice {
  padding: 14px 16px;
  border: 1px solid rgba(255, 201, 138, 0.35);
  border-radius: 14px;
  background: rgba(255, 201, 138, 0.08);
  margin-top: 12px;
}
.callout {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.callout p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
}
.callout-warn {
  border-color: rgba(255, 201, 138, 0.35);
  background: rgba(255, 201, 138, 0.08);
}
.callout-warn p { color: #ffd9a8; }
.cookie-json-input {
  width: 100%;
  min-height: 180px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.55;
  resize: vertical;
  margin-bottom: 10px;
}
.cookie-json-input:focus {
  outline: none;
  border-color: rgba(126, 240, 208, 0.45);
  box-shadow: 0 0 0 2px rgba(126, 240, 208, 0.15);
}
.cookie-json-input.is-invalid {
  border-color: rgba(255, 107, 138, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 107, 138, 0.18);
}
[data-cookie-json-error] {
  margin: -4px 0 12px;
}
.stripe-input--full {
  width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 96px;
  resize: none;
  word-break: break-all;
  line-height: 1.45;
  margin-bottom: 0;
}
.checkout-result-linkbox {
  width: 100%;
  margin-bottom: 16px;
}
.checkout-result .btn-wide { width: 100%; justify-content: center; }
.checkout-actions-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.checkout-actions-row .btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
  text-align: center;
}
.checkout-actions--stack {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-top: 0;
  gap: 12px;
}
.checkout-result-reset {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  padding: 13px 18px;
  color: var(--muted);
  transition: color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.checkout-result-reset:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(126, 240, 208, 0.35);
}
.consent-box--happy { margin-top: 8px; }

.guide-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 20px;
}
.guide-shot {
  margin: 0;
  display: grid;
  gap: 10px;
}
.guide-shot-frame {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 2px solid rgba(126, 240, 208, 0.35);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(126, 240, 208, 0.06), rgba(139, 124, 255, 0.08));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body.guide-lightbox-open { overflow: hidden; }
.guide-shot-frame:hover,
.guide-shot-frame:focus-visible {
  border-color: rgba(126, 240, 208, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.guide-shot-frame:focus-visible {
  outline: 2px solid rgba(126, 240, 208, 0.8);
  outline-offset: 3px;
}
.guide-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.guide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.guide-lightbox[hidden] { display: none; }
.guide-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.88);
  backdrop-filter: blur(8px);
}
.guide-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(126, 240, 208, 0.25);
  background: var(--bg-2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.guide-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 16, 0.85);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.guide-lightbox-close:hover,
.guide-lightbox-close:focus-visible {
  border-color: rgba(126, 240, 208, 0.55);
  color: var(--mint);
  outline: none;
}
.guide-lightbox-figure {
  margin: 0;
  padding: 16px;
}
.guide-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.guide-lightbox-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
body.guide-lightbox-open { overflow: hidden; }
.desktop-notice {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px 16px;
}
.desktop-notice[hidden] { display: none; }
.desktop-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 8, 0.78);
  backdrop-filter: blur(10px);
}
.desktop-notice-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(126, 240, 208, 0.32);
  background: var(--bg-2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.desktop-notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--mint);
  border-radius: 999px;
  background: #06110c;
  color: var(--mint);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(57, 255, 156, 0.16);
}
.desktop-notice-close:hover,
.desktop-notice-close:focus-visible {
  background: var(--mint);
  color: #04110c;
  outline: none;
}
.desktop-notice-kicker {
  margin: 0 48px 8px 0;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.desktop-notice-panel h2 {
  margin: 0 48px 10px 0;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}
.desktop-notice-copy {
  margin: 0 0 18px;
  color: var(--ink-soft, var(--muted));
  font-size: 15px;
  line-height: 1.55;
}
.desktop-notice-ok { width: 100%; }
body.desktop-notice-open { overflow: hidden; }
@media (min-width: 1200px) {
  .desktop-notice { display: none !important; }
  body.desktop-notice-open { overflow: auto; }
}
.guide-shot figcaption {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  padding: 0 4px;
}
@media (max-width: 820px) {
  .guide-board { grid-template-columns: 1fr; }
}
.hint.error { color: #ff8a98; }

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; gap: 16px; }
  .stripe-copy-row { flex-direction: column; }
  .checkout-panel { padding: 24px 20px; }
  .btn-wide { min-height: 48px; }
}

/* Blog */
.blog-head { margin-bottom: 48px; max-width: 640px; }
.blog-head h1 { max-width: none; margin-top: 8px; }
.blog-lede { font-size: 18px; line-height: 1.65; margin-top: 16px; }
.blog-empty { font-size: 16px; }
.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-card:hover {
  border-color: rgba(126, 240, 208, 0.25);
  transform: translateY(-2px);
}
.post-card-link {
  display: grid;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.post-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card-body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 10px;
}
.post-meta {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.post-meta .dot { color: var(--muted); }
.post-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.post-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.post-card-more {
  color: var(--mint);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: 4px;
}
.post-single { max-width: 760px; margin-bottom: 32px; }
.post-single h1 { max-width: none; margin-top: 12px; }
.post-back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: var(--text-sm);
  margin-bottom: 20px;
  padding: 4px 0;
}
.post-back:hover { color: var(--mint); }
.post-hero {
  margin: 28px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.post-hero img { display: block; width: 100%; height: auto; }
.post-tags {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tags a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: var(--text-xs);
}
.post-tags a:hover { color: var(--mint); border-color: rgba(126, 240, 208, 0.35); }
.post-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 16px;
}
.post-cta p { margin: 0; font-size: 16px; }
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.5;
  padding: 8px 0;
}
.post-nav a:hover { color: var(--mint); }
.post-nav-next { text-align: right; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  color: var(--mint);
  border-color: rgba(126, 240, 208, 0.45);
}
.pagination .page-numbers.current {
  background: var(--mint-dim);
}

@media (max-width: 720px) {
  .post-list { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
}

/* Auth + credits */
.auth-shell { padding: 48px 0 80px; }
.auth-card-wrap { max-width: 480px; margin: 0 auto; }
.auth-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.96), rgba(7, 6, 13, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 36px);
  margin: 8px 0 12px;
}
.auth-lede { margin-bottom: 24px; }
.auth-form { display: grid; gap: 12px; }
.auth-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.auth-input:focus {
  outline: 2px solid rgba(126, 240, 208, 0.45);
  border-color: rgba(126, 240, 208, 0.35);
}
.auth-error {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 96, 96, 0.12);
  border: 1px solid rgba(255, 96, 96, 0.35);
  color: #ffb4b4;
  margin-bottom: 16px;
}
.auth-ok {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(126, 240, 208, 0.1);
  border: 1px solid rgba(126, 240, 208, 0.35);
  color: var(--mint);
  margin-bottom: 16px;
}
.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.auth-label-row .field-label { margin: 0; }
.auth-forgot {
  color: var(--mint);
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
}
.auth-forgot:hover { text-decoration: underline; }
.auth-sent-to {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  word-break: break-all;
}
.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  text-align: center;
}
.auth-switch .btn {
  text-decoration: none;
  background: var(--mint);
  color: #07110e;
  box-shadow: 0 0 0 1px rgba(126, 240, 208, 0.35), 0 8px 22px rgba(126, 240, 208, 0.16);
}
.auth-remember { margin: 4px 0 8px; }
.auth-subhead {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 28px 0 12px;
}
.auth-actions { margin-top: 28px; }
.auth-gate { text-align: center; }
.auth-gate-actions { justify-content: center; margin-top: 24px; }
.credit-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 208, 0.25);
  background: var(--mint-dim);
}
.credit-bar strong {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--mint);
}
.credit-bar a { margin-left: auto; font-size: var(--text-sm); }
.credit-balance-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(126, 240, 208, 0.3);
  background: var(--mint-dim);
  margin: 20px 0 8px;
  text-align: center;
}
.credit-balance-label {
  font-size: var(--text-sm);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.credit-balance-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}
.credit-cost-list,
.credit-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.credit-cost-list li,
.credit-log-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: var(--text-sm);
}
.credit-log-list .is-debit { color: #ff9a9a; }
.credit-log-list .is-credit { color: var(--mint); }
.account-history-lede { margin: -4px 0 14px; }
.account-history-empty {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: var(--text-sm);
}
.account-history { display: grid; gap: 12px; margin-bottom: 8px; }
.account-history-date {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0 2px;
  border-bottom: 1px solid var(--line);
}
.account-history-item {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.account-history-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.account-history-plan {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.account-history-plan.pro { color: var(--mint); border-color: rgba(126, 240, 208, 0.45); }
.account-history-plan.pro-plus { color: #ffb020; border-color: rgba(255, 176, 32, 0.45); }
.account-history-plan.ultra { color: #ff6b8a; border-color: rgba(255, 107, 138, 0.45); }
.account-history-meta { font-size: var(--text-sm); color: var(--muted); }
.account-history-url {
  width: 100%;
  min-height: 56px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.account-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.account-history-actions .btn-sm { padding: 9px 14px; font-size: 13px; }
.site-header .header-cta + .header-cta { margin-left: 0; }

/* ===== Header cart ===== */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.header-cart:hover { border-color: rgba(126, 240, 208, 0.5); }
.header-cart-icon { font-size: 17px; line-height: 1; filter: grayscale(0.2); }
.header-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mint);
  color: #07110e;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.header-cart-count:empty,
.header-cart-count[data-cart-count="0"] { display: none; }

/* ===== Homepage plans strip ===== */
.plans-section .section-head {
  max-width: none;
}
.plans-section .section-head h2 {
  max-width: none;
}
.plans-section .section-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
  max-width: none;
}
.plans-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 24px;
}
.plan-shop-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.94), rgba(7, 6, 13, 0.97));
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-shop-card:hover {
  border-color: rgba(126, 240, 208, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.plan-shop-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  overflow: hidden;
}
.plan-shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plan-tier-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #07110e;
  background: var(--mint);
}
.plan-tier-badge.tier-proplus { background: var(--violet); color: #fff; }
.plan-tier-badge.tier-ultra { background: linear-gradient(135deg, var(--mint), var(--violet)); color: #07110e; }
.plan-shop-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  flex: 1;
}
.plan-shop-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.4;
  margin: 0;
}
.plan-shop-name a { color: var(--ink); text-decoration: none; }
.plan-shop-name a:hover { color: var(--mint); }
.plan-shop-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--mint);
  margin-top: auto;
}
.plan-shop-price del { color: var(--muted); font-size: 15px; font-weight: 500; margin-right: 6px; }
.plan-shop-price ins { text-decoration: none; }
.plan-shop-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.plan-shop-actions .btn { flex: 1; justify-content: center; }

/* ===== WooCommerce shop / product / cart ===== */
.woo-shell { padding: 40px 0 72px; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { color: var(--muted); }
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 32px !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.94), rgba(7, 6, 13, 0.97));
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce ul.products li.product:hover {
  border-color: rgba(126, 240, 208, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.woocommerce ul.products li.product a img {
  margin: 0 0 12px !important;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 16px !important;
  font-family: var(--font-display);
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--ink);
  line-height: 1.45;
}
.woocommerce ul.products li.product .price {
  display: block;
  padding: 6px 16px 0 !important;
  color: var(--mint) !important;
  font-family: var(--font-display);
  font-size: 20px !important;
  font-weight: 800 !important;
}
.woocommerce ul.products li.product .price del { color: var(--muted) !important; font-weight: 500; font-size: 15px !important; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
  margin: 12px 16px 18px !important;
  display: inline-block;
}

/* Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--mint) !important;
  color: #07110e !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 11px 20px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-shadow: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button.alt:hover {
  box-shadow: 0 8px 24px rgba(126, 240, 208, 0.3);
  transform: translateY(-1px);
}

/* Single product */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  color: var(--ink);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--mint) !important;
  font-family: var(--font-display);
  font-size: 28px !important;
  font-weight: 800;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-soft); }
.woocommerce #reviews, .woocommerce .related.products { border-top: 1px solid var(--line); padding-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--bg-2);
  border-color: var(--line);
  border-radius: 10px 10px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mint); }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--ink-soft); }
.woocommerce .quantity input.qty {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}

/* Compact cart / checkout — less empty space */
.woo-compact { padding: 20px 0 36px; }
.woo-compact__title {
  font-size: 22px;
  margin: 0 0 12px;
  max-width: none;
}
.woocommerce-cart .woo-shell,
.woocommerce-checkout .woo-shell { padding: 16px 0 32px; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
  max-width: none;
}
.woocommerce-checkout .col2-set {
  width: 100%;
  max-width: none;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  margin-bottom: 14px;
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 16px;
  margin: 0 0 8px;
}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  max-width: none !important;
  width: 100% !important;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row input.input-text {
  width: 100% !important;
  box-sizing: border-box;
}
@media (max-width: 560px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}
.woocommerce form .form-row { margin: 0 0 10px !important; padding: 0 !important; }
.woocommerce form .form-row label { margin-bottom: 4px !important; font-size: 13px !important; }
.woocommerce table.shop_table { margin: 0 0 12px !important; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 8px 10px !important; }
.cr-checkout-product {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}
.cr-checkout-thumb {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.cr-checkout-product-name { line-height: 1.35; }
.woocommerce .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-payment { padding: 12px !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 8px 0 !important; margin: 0 !important; }
.woocommerce-checkout #payment .payment_box { padding: 8px 10px !important; margin: 6px 0 0 !important; }
.woocommerce-checkout #payment div.form-row { margin: 8px 0 0 !important; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 8px 0 !important; }
.woocommerce-checkout #place_order { margin-top: 8px !important; width: 100%; }
.woocommerce .cross-sells,
.woocommerce .cart-collaterals .cross-sells,
.checkout_coupon,
.woocommerce-form-coupon-toggle { display: none !important; }

/* Classic checkout — readable on the dark theme */
.woocommerce-checkout .woocommerce {
  color: var(--ink);
}
.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-additional-fields {
  max-width: none;
}
.woocommerce-checkout h3 {
  color: var(--ink);
  font-size: 20px;
  margin: 0 0 14px;
}
.woocommerce form .form-row {
  margin-bottom: 16px;
}
.woocommerce form .form-row label {
  display: block;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 1 !important;
}
.woocommerce form .form-row label .optional,
.woocommerce form .form-row label .required {
  color: var(--muted) !important;
  font-weight: 500;
}
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce form .form-row select {
  background: #16141f !important;
  color: #f4f1ea !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  caret-color: #f4f1ea;
}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
  color: #9b96ab !important;
  opacity: 1 !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: rgba(126, 240, 208, 0.55) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(126, 240, 208, 0.15);
}
.woocommerce form .form-row.cr-hidden-country {
  display: none !important;
}
.woocommerce-checkout #payment .payment_box {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--ink-soft) !important;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment .input-radio { accent-color: var(--mint); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: var(--muted);
  font-size: 13px;
}

/* Cart + checkout tables/forms */
.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--ink);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--line) !important; }
.woocommerce .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-payment {
  background: var(--bg-2) !important;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.woocommerce-checkout #payment { background: transparent; }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--line); }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: var(--bg-2) !important;
  color: var(--ink) !important;
  border-top-color: var(--mint) !important;
  border-radius: 10px;
}
.woocommerce-message { border-top-color: var(--mint) !important; }
.woocommerce-error { border-top-color: #ff8a98 !important; }
.woocommerce a { color: var(--mint); }

@media (max-width: 900px) {
  .plans-shop-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .plans-shop-grid,
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

/* ===== Binance manual payment box ===== */
.cr-binance-pay {
  margin: 24px 0;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(240, 185, 11, 0.35);
  background: linear-gradient(165deg, rgba(240, 185, 11, 0.08), rgba(14, 12, 22, 0.9));
}
.cr-binance-pay__title { margin: 0 0 6px; font-size: 20px; }
.cr-binance-pay__lede { color: var(--muted); font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
.cr-binance-pay__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.cr-binance-pay__qr {
  width: 100%;
  display: flex;
  justify-content: center;
}
.cr-binance-pay__qr img {
  width: min(300px, 100%);
  height: auto;
  aspect-ratio: 1;
  min-width: min(260px, 100%);
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}
.cr-binance-pay__id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  width: 100%;
}
.cr-binance-pay__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cr-binance-pay__value { font-size: 22px; font-weight: 700; word-break: break-all; }
.cr-binance-pay__note { color: var(--muted); font-size: 13px; }

/* ===== Credit top-up ===== */
.cr-topup { margin-top: 28px; }
.cr-topup__hint { font-size: 14px; margin: 0 0 12px; }
.cr-topup__hint {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.cr-topup__form { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.cr-topup__row {
  display: grid;
  grid-template-columns: minmax(110px, 140px) 1fr;
  gap: 10px;
  align-items: end;
}
.cr-topup__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cr-topup__field .cr-topup__label { margin-top: 0; }
.cr-topup__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.cr-topup__form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
}
.cr-topup__form input:focus {
  outline: none;
  border-color: rgba(126, 240, 208, 0.5);
}
.cr-topup__actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}
.cr-topup__submit {
  flex: 1.7 1 0;
  justify-content: center;
  margin-top: 0;
  min-width: 0;
}
.cr-topup__checkout {
  flex: 0.9 1 0;
  justify-content: center;
  min-width: 0;
  text-align: center;
}
.cr-topup__msg { font-size: 13px; margin: 10px 0 0; min-height: 1em; }
.cr-topup__result {
  margin-top: 16px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.cr-topup__result[hidden] { display: none; }
.cr-topup__result-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}
.cr-topup__result-title { font-size: 18px; line-height: 1.3; }
.cr-topup__result-body { margin: 0; color: var(--muted); font-size: 14px; }
.cr-topup__result.is-ok {
  border-color: rgba(126, 240, 208, 0.45);
  background: rgba(126, 240, 208, 0.1);
}
.cr-topup__result.is-ok .cr-topup__result-icon { background: var(--mint); color: #07140f; }
.cr-topup__result.is-ok .cr-topup__result-title { color: var(--mint); }
.cr-topup__result.is-wait {
  border-color: rgba(240, 185, 11, 0.4);
  background: rgba(240, 185, 11, 0.08);
}
.cr-topup__result.is-wait .cr-topup__result-icon {
  border: 3px solid rgba(240, 185, 11, 0.25);
  border-top-color: #f0b90b;
  animation: cr-spin .7s linear infinite;
}
.cr-topup__result.is-wait .cr-topup__result-title { color: #f0b90b; }
.cr-topup__result.is-err {
  border-color: rgba(255, 138, 152, 0.45);
  background: rgba(255, 138, 152, 0.08);
}
.cr-topup__result.is-err .cr-topup__result-icon { background: #ff8a98; color: #1a0a0d; }
.cr-topup__result.is-err .cr-topup__result-title { color: #ff8a98; }
@keyframes cr-spin { to { transform: rotate(360deg); } }
.credit-balance-value.is-flash,
[data-credit-balance].is-flash {
  animation: cr-bal-flash .8s ease;
}
.credit-balance-card.is-flash {
  box-shadow: 0 0 0 3px rgba(126, 240, 208, 0.35);
}
@keyframes cr-bal-flash {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); color: #fff; }
  100% { transform: scale(1); }
}

/* Amount-to-pay card shown under the Binance QR box */
.cr-topup__pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(240, 185, 11, 0.35);
  background: linear-gradient(165deg, rgba(240, 185, 11, 0.1), rgba(14, 12, 22, 0.85));
}
.cr-topup__pay-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cr-topup__pay-amount {
  font-size: 26px;
  font-weight: 800;
  color: #f0b90b;
  line-height: 1.1;
}
.cr-topup__msg.is-ok { color: var(--mint); }
.cr-topup__msg.is-err { color: #ff8a98; }

/* Compact account / credits page */
.account-compact { padding: 28px 0 48px; }
.account-compact .auth-card-wrap { max-width: 560px; }
.account-compact .auth-card { padding: 22px 22px 24px; }
.account-compact .account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.account-compact .account-head-copy { min-width: 0; }
.account-compact .account-head .kicker { margin: 0 0 4px; }
.account-compact .auth-card h1 {
  font-size: clamp(22px, 4vw, 26px);
  margin: 0 0 2px;
}
.account-compact .auth-lede {
  margin: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-compact .credit-balance-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 8px 14px;
  margin: 0;
  border-radius: 12px;
  min-width: 88px;
  text-align: right;
  flex-shrink: 0;
}
.account-compact .credit-balance-label { font-size: 10px; }
.account-compact .credit-balance-value { font-size: 28px; }
.account-compact .auth-subhead {
  font-size: 16px;
  margin: 0 0 8px;
}
.account-compact .credit-cost-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.account-compact .credit-cost-list li {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
}
.account-compact .credit-log-list li {
  padding: 9px 12px;
  border-radius: 10px;
}
.account-compact .cr-topup { margin-top: 0; }
.account-compact .cr-topup__hint { margin: 0 0 12px; font-size: 13px; }
.account-compact .cr-binance-pay {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
}
.account-compact .cr-binance-pay__title { font-size: 16px; margin-bottom: 4px; }
.account-compact .cr-binance-pay__lede { margin: 0 0 10px; font-size: 13px; }
.account-compact .cr-binance-pay__grid { gap: 14px; }
.account-compact .cr-binance-pay__qr img {
  width: min(300px, 100%);
  height: auto;
  min-width: min(260px, 100%);
  padding: 12px;
  border-radius: 16px;
}
.account-compact .cr-binance-pay__value { font-size: 18px; }
.account-compact .cr-topup__pay {
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
}
.account-compact .cr-topup__pay-amount { font-size: 18px; }
.account-compact .cr-topup__form { margin-top: 0; gap: 4px; }
.account-compact .cr-topup__row { margin-bottom: 6px; }
.account-compact .cr-topup__label { margin-top: 6px; }
.account-compact .cr-topup__form input { padding: 10px 12px; }
.account-compact .cr-topup__submit { margin-top: 0; }
.account-compact .cr-topup__actions { margin-top: 10px; }
.account-compact .account-history-empty { padding: 12px 14px; margin: 0 0 12px; }

/* Home FAQ accordion (visible content backing the FAQPage schema) */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(126, 240, 208, 0.32);
}
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--mint);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-a p { margin: 0; }

.cr-bell { position: relative; flex-shrink: 0; margin-left: 4px; }
.cr-bell__btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.cr-bell__btn:hover,
.cr-bell__btn[aria-expanded="true"] {
  border-color: rgba(126, 240, 208, 0.45);
  color: var(--mint);
}
.cr-bell__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff2e6d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.cr-bell__badge[hidden] { display: none; }
.cr-bell__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(380px, calc(100vw - 24px));
  max-height: min(70vh, 480px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0c0b14;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  z-index: 30;
  overflow: hidden;
}
.cr-bell__panel[hidden] { display: none; }
.cr-bell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.cr-bell__head strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}
.cr-bell__readall {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.cr-bell__readall:hover { color: var(--ink); }
.cr-bell__readall[hidden] { display: none; }
.cr-bell__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  overflow: auto;
  display: grid;
  gap: 6px;
}
.cr-bell__empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.cr-bell__item { margin: 0; }
.cr-bell__item-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}
.cr-bell__item.is-ok .cr-bell__item-btn { border-color: rgba(126, 240, 208, 0.35); }
.cr-bell__item.is-info .cr-bell__item-btn { border-color: rgba(240, 185, 11, 0.35); }
.cr-bell__item.is-warn .cr-bell__item-btn { border-color: rgba(255, 138, 152, 0.35); }
.cr-bell__item.is-unread .cr-bell__item-btn { background: rgba(126, 240, 208, 0.08); }
.cr-bell__item.is-read .cr-bell__item-btn { opacity: 0.62; }
.cr-bell__item-btn:hover { box-shadow: inset 0 0 0 1px rgba(126, 240, 208, 0.2); }
.cr-bell__dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex: 0 0 auto;
}
.cr-bell__item.is-read .cr-bell__dot { background: var(--muted); }
.cr-bell__copy { min-width: 0; display: grid; gap: 3px; }
.cr-bell__copy strong { font-size: 14px; line-height: 1.3; }
.cr-bell__copy span { color: var(--ink-soft, var(--muted)); font-size: 13px; line-height: 1.45; }
.cr-bell__copy time { color: var(--muted); font-size: 11px; }

.cr-site-popup {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px 16px;
}
.cr-site-popup[hidden] { display: none; }
.cr-site-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 8, 0.78);
  backdrop-filter: blur(10px);
}
.cr-site-popup.is-maintenance .cr-site-popup__backdrop {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(126, 240, 208, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(255, 176, 32, 0.08), transparent 50%),
    rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
}
.cr-site-popup__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 28px 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 176, 32, 0.4);
  background: var(--bg-2, #0e0c16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.cr-site-popup.is-maintenance .cr-site-popup__panel {
  width: min(480px, 100%);
  padding: 36px 32px 28px;
  border-radius: 24px;
  border: 1px solid rgba(126, 240, 208, 0.28);
  background:
    linear-gradient(165deg, rgba(18, 16, 28, 0.98) 0%, rgba(8, 7, 14, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(126, 240, 208, 0.06) inset,
    0 32px 100px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(126, 240, 208, 0.06);
  text-align: center;
}
.cr-site-popup__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(126, 240, 208, 0.14) 0%, transparent 70%);
  pointer-events: none;
  animation: cr-maint-glow 4s ease-in-out infinite;
}
@keyframes cr-maint-glow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}
.cr-site-popup__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  border: 1px solid rgba(126, 240, 208, 0.35);
  background: linear-gradient(145deg, rgba(126, 240, 208, 0.14), rgba(126, 240, 208, 0.04));
  color: var(--mint);
  box-shadow: 0 12px 40px rgba(126, 240, 208, 0.12);
  animation: cr-maint-icon 3s ease-in-out infinite;
}
.cr-site-popup__icon svg {
  width: 36px;
  height: 36px;
  animation: cr-maint-spin 8s linear infinite;
}
@keyframes cr-maint-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes cr-maint-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.cr-site-popup.is-maintenance .cr-site-popup__kicker {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.cr-site-popup.is-maintenance .cr-site-popup__panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cr-site-popup.is-maintenance .cr-site-popup__copy {
  margin: 0 auto 20px;
  max-width: 36ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.cr-site-popup__alert {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 32, 0.28);
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.1), rgba(255, 176, 32, 0.04));
  text-align: left;
}
.cr-site-popup__alert p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}
.cr-site-popup__pulse {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--warn, #ffb020);
  box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.5);
  animation: cr-maint-pulse 2s ease-out infinite;
}
@keyframes cr-maint-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 176, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); }
}
.cr-site-popup.is-ok .cr-site-popup__panel { border-color: rgba(126, 240, 208, 0.4); }
.cr-site-popup.is-info .cr-site-popup__panel { border-color: rgba(126, 240, 208, 0.32); }
.cr-site-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #04110c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cr-site-popup__close:hover,
.cr-site-popup__close:focus-visible {
  filter: brightness(1.08);
  outline: none;
}
.cr-site-popup__kicker {
  margin: 0 52px 8px 0;
  color: var(--warn, #ffb020);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cr-site-popup.is-ok .cr-site-popup__kicker,
.cr-site-popup.is-info .cr-site-popup__kicker { color: var(--mint); }
.cr-site-popup__panel h2 {
  margin: 0 52px 10px 0;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--ink);
}
.cr-site-popup__copy {
  margin: 0 0 14px;
  color: var(--ink-soft, var(--muted));
  font-size: 15px;
  line-height: 1.55;
}
.cr-site-popup__subscribe-line {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.cr-site-popup__subscribe,
.cr-site-popup__ok { width: 100%; }
.cr-site-popup__ok { margin-top: 8px; }
.cr-site-popup__subscribe.is-done { opacity: 0.85; pointer-events: none; }
.cr-site-popup.is-locked .cr-site-popup__close,
.cr-site-popup.is-locked .cr-site-popup__ok { display: none; }
body.cr-site-popup-open { overflow: hidden; }

.cr-notify-bell {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 1100;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ef0d0, #39ff9c);
  color: #04110c;
  box-shadow: 0 10px 28px rgba(57, 255, 156, 0.35);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.cr-notify-bell.is-on {
  display: inline-flex;
  animation: cr-bell-ring 1.6s ease-in-out infinite;
}
.cr-notify-bell svg { width: 26px; height: 26px; }
.cr-notify-bell:hover { transform: translateY(-2px) scale(1.04); }
@keyframes cr-bell-ring {
  0%, 100% { transform: rotate(0deg); box-shadow: 0 10px 28px rgba(57, 255, 156, 0.35); }
  12% { transform: rotate(14deg); }
  24% { transform: rotate(-12deg); }
  36% { transform: rotate(8deg); }
  48% { transform: rotate(-6deg); }
  60% { transform: rotate(0deg); box-shadow: 0 0 0 10px rgba(57, 255, 156, 0); }
}
@media (max-width: 520px) {
  .cr-notify-bell { right: 16px; bottom: 88px; width: 50px; height: 50px; }
}

.cr-notif-prompt {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 96px;
  z-index: 99990;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 208, 0.35);
  background: #0e0c16;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  max-width: 420px;
  margin: 0 auto;
}
.cr-notif-prompt__copy strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cr-notif-prompt__copy p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cr-notif-prompt__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.cr-topup__order-wrap { position: relative; }
.cr-order-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 8;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 208, 0.35);
  background: #12101a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  max-height: 220px;
  overflow: auto;
}
.cr-order-suggest[hidden] { display: none; }
.cr-order-suggest button {
  display: grid;
  gap: 3px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
  cursor: pointer;
}
.cr-order-suggest__id {
  font-family: var(--font-mono);
  font-size: 13px;
  word-break: break-all;
}
.cr-order-suggest__when {
  font-size: 12px;
  color: var(--muted);
}
.cr-order-suggest button:hover,
.cr-order-suggest button.is-active {
  background: rgba(126, 240, 208, 0.12);
  color: var(--mint);
}

/* ===== WooCommerce My account ===== */
.woo-account-shell { padding: 40px 0 80px; }
.woo-account-shell h1 {
  max-width: none;
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 0 0 8px;
}
.woo-account-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.woo-account-lede {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.woo-account-hero-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.94), rgba(7, 6, 13, 0.98));
  flex-shrink: 0;
}
.woo-account-hero-user strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.woo-account-hero-user span:last-child {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.woo-dash-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-dim);
  color: var(--mint);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.woo-account-body { max-width: none; }
.woo-account-body .woocommerce { color: var(--ink); }
.woo-account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.woo-account-nav {
  position: sticky;
  top: 88px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.96), rgba(7, 6, 13, 0.98));
}
.woo-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.woo-account-nav li { margin: 0; padding: 0; }
.woocommerce-account .woo-account-nav a,
.woo-account-body .woo-account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}
.woo-account-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}
.woo-account-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}
.woo-account-nav .is-active a,
.woocommerce-MyAccount-navigation-link.is-active a {
  background: var(--mint-dim);
  color: var(--mint);
}
.woo-account-nav .is-active a svg { opacity: 1; }
.woo-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #ffb4b4;
}
.woo-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: rgba(255, 96, 96, 0.1);
}
.woo-account-panel {
  min-width: 0;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.96), rgba(7, 6, 13, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.woocommerce-account .woo-account-panel p {
  color: var(--ink-soft);
  line-height: 1.65;
}
.woocommerce-account .woo-account-panel a {
  color: var(--mint);
  text-decoration: none;
}
.woocommerce-account .woo-account-panel a:hover { text-decoration: underline; }
.woocommerce-account .woo-account-panel a.btn,
.woocommerce-account .woo-account-panel a.button {
  text-decoration: none !important;
}
.woocommerce-account .woo-account-panel a.btn-primary,
.woocommerce-account .woo-account-panel .btn-primary {
  color: #07110e !important;
}
.woocommerce-account .woo-account-panel a.btn-ghost,
.woocommerce-account .woo-account-panel .btn-ghost {
  color: var(--ink) !important;
}
.woo-dash { display: grid; gap: 20px; }
.woo-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.woo-links .account-history { margin-bottom: 18px; }
.woo-links .account-history-empty { margin: 0 0 18px; }
.woo-links .account-history-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.woocommerce-account .woocommerce-noreviews,
.woocommerce-account .woocommerce-verify-email,
.woocommerce-account .woocommerce-info.woocommerce-verify-email { display: none !important; }
.woo-dash-stat {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(126, 240, 208, 0.22);
  background: var(--mint-dim);
}
.woo-dash-stat span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.woo-dash-stat strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}
.woo-dash-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.woo-dash-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(7, 6, 13, 0.55);
  text-decoration: none !important;
  color: var(--ink) !important;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.woo-dash-card:hover {
  border-color: rgba(126, 240, 208, 0.4);
  transform: translateY(-2px);
  background: rgba(126, 240, 208, 0.06);
  text-decoration: none !important;
}
.woo-dash-card strong {
  font-size: 16px;
  font-weight: 700;
}
.woo-dash-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.woo-dash-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  float: none !important;
  width: 100% !important;
}
.woocommerce-account .woocommerce-Address,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  width: 100% !important;
  float: none !important;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(7, 6, 13, 0.45);
}
.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 16px;
  margin: 0;
}
.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.6;
}
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}
.woocommerce-account table.shop_table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.woocommerce-account .woo-order-type {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.woocommerce-account .woo-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.woocommerce-account .woocommerce-orders-table .button,
.woocommerce-account .woocommerce-MyAccount-content .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.woocommerce-account .woocommerce-pagination {
  margin-top: 16px;
}
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error {
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  list-style: none;
}
.woocommerce-account mark {
  background: transparent;
  color: var(--mint);
  font-weight: 700;
}
.woocommerce-account .order-again { margin-top: 16px; }

@media (max-width: 860px) {
  .woo-account-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .woo-account-layout { grid-template-columns: 1fr; }
  .woo-account-nav { position: static; }
  .woo-account-nav ul {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .woo-account-nav li { flex: 0 0 auto; }
  .woo-account-nav a { white-space: nowrap; }
  .woo-dash-cards,
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .u-columns { grid-template-columns: 1fr; }
  .woo-account-panel { padding: 18px; }
}
@media (max-width: 720px) {
  .woo-dash-stats { grid-template-columns: 1fr; }
  .woo-account-hero-user { width: 100%; }
}

.account-api .auth-card-wrap { max-width: 760px; }
.api-portal { display: grid; gap: 12px; }
.api-portal-status { color: var(--muted); font-size: 13px; }
.api-cred-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.api-key-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.api-meta-line {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.api-meta-line code {
  font-size: 12px;
  word-break: break-all;
}
.api-code {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0a12;
  color: #d9f6ea;
  font-size: 12px;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.api-notify {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(240, 185, 11, 0.28);
  background: rgba(240, 185, 11, 0.08);
}
.api-notify p { margin: 0 0 10px; }
.api-account-card {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 208, 0.28);
  background: rgba(126, 240, 208, 0.07);
  text-decoration: none;
  color: inherit;
}
.api-account-card strong { color: var(--mint); }
.api-account-card span { color: var(--muted); font-size: 13px; }
.api-account-card:hover { border-color: rgba(126, 240, 208, 0.5); }


