@font-face {
  font-family: "Inter";
  src: url("/auth/vendor/inter/Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/auth/vendor/inter/Inter-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/auth/vendor/inter/Inter-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/auth/vendor/inter/Inter-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #f5f5f5;
  --panel: #fff;
  --surface: #f5f5f5;
  --input: #fafafa;
  --ink: #181d27;
  --muted: #535862;
  --line: #e9eaeb;
  --faint: #aaaaaa;
  --accent: #5b89ff;
  --on-accent: #fff;
  --hover: #4879f0;
  --good: #5b89ff;
  --danger: #b4473e;
  --focus: #5b89ff;
  --copied-bg: #e8faf3;
  --copied-ink: #087443;
  --footer-ink: #c0c0c0;
  font-family: "Inter", "Noto Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
/* Suppress page chrome, not scrolling. The language list keeps its own scrollbar. */
html {
  overflow-y: auto;
  scrollbar-width: none;
  scrollbar-gutter: auto;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100svh;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 1.7;
}
:is(button, a, summary, input):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.page {
  width: min(632px, calc(100% - 48px));
  margin: auto;
  padding: 32px 0;
}
.auth-card {
  --card-padding: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 16px 28px #00041a0a, 0 0 36px #00041a14;
}
.support-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  margin-bottom: 12px;
  border: 0;
  border-radius: 24px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 16px 28px #00041a0a, 0 0 36px #00041a14;
}
.support-notice > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); stroke-width: 1.7; }
.notice-body { min-width: 0; }
.notice-title { font-weight: 600; color: var(--ink); }
.notice-body p { margin: 0 0 5px; }
.notice-body p:last-child { margin-bottom: 0; }
.notice-footnote { font-size: 11px; border-top: 1px solid #edb67b; padding-top: 10px; }
:root[data-theme="dark"] .notice-footnote { border-color: #79502b; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .notice-footnote { border-color: #79502b; }
}
.app-header {
  margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 0;
  padding: 18px var(--card-padding);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 40px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  flex-shrink: 0;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  transition: background .15s ease;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle:active { background: var(--line); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-moon { display: block; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: none; }
.language-bar { border-inline-start: 1px solid var(--line); padding-inline-start: 8px; }
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--muted);
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}
.brand-logo {
  display: block;
  width: 195px;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}
:root[data-theme="dark"] .brand-logo { content: url('/auth/vxn-logo-dark.svg?v=20260920-5'); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo { content: url('/auth/vxn-logo-dark.svg?v=20260920-5'); }
}
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  direction: ltr;
}
.brand b {
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
}
.brand-period { color: var(--accent); margin-inline-start: 2px; }
.brand-copy > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.3;
}
.auth-head {
  padding: 24px 0;
}
.auth-head h1 {
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.workspace {
  padding: 0;
}
.entry {
  min-width: 0;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.step-title h2 {
  font-size: 14px;
  font-weight: 600;
}
.secret-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
}
.secret-input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--input);
  color: var(--ink);
  font-size: 16px;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}
.secret-input::placeholder {
  color: var(--muted);
}
.secret-input:hover {
  border-color: var(--faint);
}
.secret-input:focus {
  border-color: var(--focus);
  background: var(--panel);
}
.secret-input[aria-invalid="true"] {
  border-color: var(--danger);
}
.generate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-radius: 40px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.generate:hover:not(:disabled) {
  background: var(--hover);
}
.generate:disabled {
  background: var(--surface);
  color: var(--muted);
}
.generate svg {
  width: 17px;
  height: 17px;
}
.error {
  color: var(--danger);
  font-size: 14px;
}
.error:not(:empty) {
  margin: 10px 0 0;
}
.result {
  position: relative;
  margin-top: 28px;
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.result .step-title {
  margin-bottom: 18px;
  color: var(--muted);
}
.code-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
}
.code-row {
  direction: ltr;
  unicode-bidi: isolate;
  min-width: 0;
}
.code {
  display: none;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  gap: 5px;
}
.code-digit {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 56px;
  border-radius: 7px;
  background: transparent;
}
.code-digit:nth-child(3) {
  margin-inline-end: 7px;
}
.code-skeleton {
  display: flex;
  gap: 5px;
  user-select: none;
}
.code-skeleton > span {
  width: 36px;
  height: 56px;
  border-radius: 7px;
  background: var(--line);
  animation: skeleton-breathe 2.4s ease-in-out infinite;
}
.code-skeleton > span:nth-child(3) {
  margin-inline-end: 7px;
}
@keyframes skeleton-breathe {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}
.result.active .code {
  display: flex;
}
.result.active .code-skeleton {
  display: none;
}
.meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
}
.result.active .meta {
  display: none;
}
.result-actions {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.result:not(.active) .result-actions {
  display: none;
}
.copy-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
}
.copy-code:hover:not(:disabled):not(.copied) {
  background: var(--line);
}
.copy-code svg {
  width: 24px;
  height: 24px;
}
.copy-code .check-icon {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: var(--copied-bg);
  color: var(--copied-ink);
  opacity: 0;
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .15s ease;
}
.copy-code.copied {
  background: transparent;
  color: var(--copied-ink);
  box-shadow: none;
}
.copy-code.copied .copy-icon {
  opacity: 0;
  transform: scale(0);
}
.copy-code.copied .check-icon {
  transform: scale(1);
  opacity: 1;
}
.copy-code .copy-icon { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .12s ease; }
.copy-code:active .copy-icon { transform: scale(.9); }
.copy-toast {
  position: fixed;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 40px);
  min-height: 64px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 8px 24px #5966841f, 0 0 4px #5966840f;
  font-size: 14px;
  animation: toast-arrive .2s ease-out;
}
.copy-toast svg { color: var(--copied-ink); }
@keyframes toast-arrive { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.refresh {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  direction: ltr;
  flex-shrink: 0;
}
.refresh svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.refresh circle {
  fill: none;
  stroke-width: 2;
}
.refresh-track {
  stroke: var(--line);
}
.refresh-progress {
  stroke: var(--good);
  stroke-dasharray: 100.53;
  stroke-dashoffset: calc(100.53 * (1 - var(--progress, 0)));
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s linear;
}
.refresh strong {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.refresh.is-expiring .refresh-progress {
  stroke: #b58a38;
}
.inline-help {
  display: inline-flex;
  position: relative;
}
.help-trigger {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}
.help-trigger svg {
  width: 16px;
  height: 16px;
}
.help-trigger:hover,
.help-trigger[aria-expanded="true"] {
  background: var(--surface);
  color: var(--ink);
}
.help-popover {
  position: absolute;
  z-index: 15;
  top: calc(100% + 9px);
  inset-inline-start: -100px;
  width: min(320px, calc(100vw - 80px));
  padding: 16px;
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 10px 40px #0002;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.code-help-popover {
  inset-inline-start: auto;
  inset-inline-end: -40px;
}
.help-popover img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 6px;
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.faq {
  margin-top: 24px;
}
.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.faq-head:hover {
  color: var(--ink);
}
.faq-head:hover svg { color: var(--ink); }
.faq[open] > .faq-head { padding-bottom: 18px; }
[dir="rtl"] .generate svg { rotate: 180deg; }
.faq-head svg,
.faq-item summary svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.16s ease;
}
.faq-list {
  padding: 0 18px;
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  border: 0;
}
.faq-item {
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.faq-item[open] { background: transparent; border-radius: 0; }
.faq-item:first-child {
  border-top: 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  transition:
    color 0.16s ease,
    background-color 0.16s ease;
}
.faq-item summary:hover {
  background: transparent;
}
.faq-item summary:hover svg { color: var(--ink); }
.faq-item summary:hover,
.faq-item[open] > summary {
  color: var(--ink);
}
.faq-item summary:focus-visible,
.faq-head:focus-visible {
  outline-offset: -2px;
  border-radius: 6px;
}
.faq-answer {
  max-width: 65ch;
  width: 100%;
  padding: 0 36px 20px 0;
  padding-inline: 0 36px;
  margin-inline: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.faq-answer p + p {
  margin-top: 12px;
}
.faq-callout {
  padding-inline-start: 0;
  border: 0;
  color: var(--ink);
}
.faq-answer a:hover {
  color: var(--ink);
}
.faq-note {
  font-size: 12px;
  padding-top: 12px;
  border: 0;
}
.faq-answer a,
.footer a {
  color: inherit;
  text-underline-offset: 3px;
}
.faq-steps {
  margin: 0 0 12px;
  padding-inline-start: 24px;
}
.faq-steps li {
  padding-inline-start: 6px;
}
.faq-steps li + li {
  margin-top: 8px;
}
.faq-steps li::marker {
  color: var(--ink);
  font-weight: 600;
}
details[open] > summary > svg:last-child {
  transform: rotate(180deg);
}
/* Native details semantics remain intact; unsupported browsers keep instant disclosure. */
@supports (interpolate-size: allow-keywords) and
  selector(details::details-content) {
  .faq,
  .faq-item {
    interpolate-size: allow-keywords;
  }
  .faq::details-content,
  .faq-item::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition:
      block-size 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      content-visibility 0.28s allow-discrete;
  }
  .faq[open]::details-content,
  .faq-item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin-top: 26px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand {
  display: block;
  line-height: 0;
  margin-top: 4px;
}
.footer-brand img {
  display: block;
  width: 197px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: darken;
  border-radius: 8px;
}
.footer #shopFooter {
  max-width: 390px;
  text-align: end;
}
.language-select-native {
  display: none;
}
.language-picker {
  position: relative;
  z-index: 20;
}
.language-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}
.language-toggle svg {
  width: 16px;
  height: 16px;
}
.language-toggle:hover,
.language-picker.open .language-toggle {
  color: var(--ink);
}
.language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1), visibility 0s;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(480px, calc(100vw - 48px));
  padding: 8px;
  border-radius: 12px;
  background: var(--panel);
  box-shadow:
    0 20px 60px #0004,
    0 5px 16px #0002,
    inset 0 0 0 1px var(--line);
}
.language-menu[hidden] {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(.985);
  transition: opacity 150ms ease, transform 180ms ease, visibility 0s 180ms;
}
[dir="rtl"] .language-menu { transform-origin: top left; }
.language-toggle > svg { transition: transform 200ms ease; }
.language-picker.open .language-toggle > svg { transform: rotate(180deg); }
.language-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 7px;
  background: var(--input);
  color: var(--muted);
}
.language-search svg {
  width: 16px;
  height: 16px;
}
.language-search input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.language-search:focus-within {
  outline: 2px solid var(--focus);
}
.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  max-height: min(330px, 55dvh);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--faint) transparent;
}
.language-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: start;
}
.language-options button:hover {
  background: var(--surface);
}
.language-options button[aria-selected="true"] {
  background: var(--line);
  color: var(--ink);
  font-weight: 600;
}
.language-options button[aria-selected="true"]::after {
  content: "";
  width: 6px;
  height: 10px;
  margin-inline-start: auto;
  margin-inline-end: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}
.language-empty {
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.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;
}

.language-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  flex: 0 0 22px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #8882;
}
.language-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.generate,
.copy-code {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.generate:hover:not(:disabled),
.copy-code:hover:not(:disabled):not(.copied) {
  box-shadow: none;
}
.generate:active:not(:disabled),
.copy-code:active:not(:disabled) {
  box-shadow: inset 0 2px 4px #0003;
  transition-duration: 0.06s;
}
.generate:disabled {
  box-shadow: none;
}
.copy-code {
  min-inline-size: 40px;
  flex-shrink: 0;
  overflow: visible;
}
[dir="rtl"] .code,
[dir="rtl"] .code-skeleton { justify-content: flex-end; }
@media (max-width: 400px) {
  .app-header { gap: 8px; flex-wrap: wrap; }
  .header-tools { margin-inline-start: auto; }
  .brand-copy > span { font-size: 12px; }
  .header-tools .language-toggle { gap: 6px; padding-inline: 6px; }
}

@media (max-width: 600px) {
  .code-content {
    grid-template-columns: 1fr;
  }
  .result-actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: space-between;
  }
}
@media (max-width: 560px) {
  .faq-list {
    padding: 0 16px;
  }
  .faq-item summary {
    gap: 14px;
    padding-inline: 0;
  }
  .faq-answer {
    padding-inline: 0;
    width: 100%;
    margin-inline: 0;
  }
  .language-options {
    grid-template-columns: 1fr;
  }
  .language-menu {
    width: min(320px, calc(100vw - 32px));
  }
  .page {
    width: calc(100% - 32px);
    padding-top: 20px;
  }
  .auth-head {
    padding-top: 24px;
  }
  .workspace {
    padding: 0;
  }
  .auth-card {
    --card-padding: 20px;
    padding: 20px;
    border-radius: 20px;
  }
  .secret-row {
    grid-template-columns: 1fr;
  }
  .result {
    margin-top: 22px;
    padding: 18px;
  }
  .code-row {
    width: 100%;
  }
  .code,
  .code-skeleton {
    width: 100%;
    gap: 5px;
    font-size: 30px;
  }
  .code-digit,
  .code-skeleton > span {
    width: auto;
    flex: 1 1 0;
    height: 48px;
    min-width: 0;
  }
  .code-digit:nth-child(3),
  .code-skeleton > span:nth-child(3) {
    margin-inline-end: 4px;
  }
  .step-title {
    position: relative;
  }
  .inline-help {
    position: static;
  }
  .help-popover,
  .code-help-popover {
    inset-inline: 0;
    width: 100%;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }
  .footer #shopFooter {
    text-align: start;
  }
}

/* Keep the support line centered in both preview themes. */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  margin-top: 18px;
}
.footer #shopFooter {
  max-width: 100%;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--footer-ink);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-brand img { filter: contrast(1.2) invert(1) hue-rotate(180deg); mix-blend-mode: screen; border-radius: 0; }
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #262626;
    --footer-ink: rgba(235, 235, 245, .3);
    --panel: #191919;
    --surface: #242425;
    --input: #1e1e1e;
    --ink: #e2e2e5;
    --muted: #8c8c8c;
    --line: #2a2a2a;
    --faint: #666666;
    --accent: #5b89ff;
    --on-accent: #ffffff;
    --hover: #7098ff;
    --good: #5b89ff;
    --danger: #f5897e;
    --focus: #5b89ff;
    --copied-bg: #1c3c2a;
    --copied-ink: #30d158;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #262626;
  --footer-ink: rgba(235, 235, 245, .3);
  --panel: #191919;
  --surface: #242425;
  --input: #1e1e1e;
  --ink: #e2e2e5;
  --muted: #8c8c8c;
  --line: #2a2a2a;
  --faint: #666666;
  --accent: #5b89ff;
  --on-accent: #ffffff;
  --hover: #7098ff;
  --good: #5b89ff;
  --danger: #f5897e;
  --focus: #5b89ff;
  --copied-bg: #1c3c2a;
  --copied-ink: #30d158;
}
:root[data-theme="dark"] .footer-brand img { filter: contrast(1.2) invert(1) hue-rotate(180deg); mix-blend-mode: screen; border-radius: 0; }
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .faq::details-content,
  .faq-item::details-content {
    transition: none !important;
  }
}
