@font-face {
  font-family: 'Jakarta';
  src: url('/assets/fonts/jakarta.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'JBMono';
  src: url('/assets/fonts/jbmono.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --fr-canvas: #ffffff;
  --fr-dot: rgba(15, 23, 42, 0.055);
  --fr-canvas-wash: linear-gradient(180deg, #ffffff 0%, #fafafb 55%, #f7f7fa 100%);

  --fr-nav-bg: rgba(255, 255, 255, 0.82);
  --fr-nav-border: rgba(15, 23, 42, 0.08);
  --fr-nav-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 12px 32px -8px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --fr-nav-hover: rgba(15, 23, 42, 0.05);

  --fr-tray: #f5f5f8;
  --fr-tray-border: rgba(15, 23, 42, 0.06);
  --fr-card: #ffffff;
  --fr-card-shadow: 0 0 0 1px rgba(15, 23, 42, 0.055), 0 2px 4px rgba(15, 23, 42, 0.03), 0 12px 26px -6px rgba(15, 23, 42, 0.06);
  --fr-tile-shadow: 0 0 0 1px rgba(15, 23, 42, 0.055), 0 1px 2px rgba(15, 23, 42, 0.04);

  --fr-ink: #131316;
  --fr-ink-2: #42434d;
  --fr-muted: #717382;
  --fr-faint: #9ca0af;
  --fr-hair: rgba(15, 23, 42, 0.075);

  --fr-brand: #6c47ff;
  --fr-btn-bg: linear-gradient(180deg, #2b2b33 0%, #15151a 100%);
  --fr-btn-hover: linear-gradient(180deg, #35353f 0%, #1e1e26 100%);
  --fr-btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 6px 16px -4px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --fr-btn-fg: #ffffff;

  --fr-pass-bg: radial-gradient(380px 200px at 90% -15%, rgba(108, 71, 255, 0.18), transparent 60%),
                linear-gradient(165deg, #212128 0%, #141419 52%, #0f0f13 100%);
  --fr-pass-border: rgba(255, 255, 255, 0.12);
  --fr-pass-shadow: 0 24px 50px -14px rgba(15, 23, 42, 0.34), 0 2px 6px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --fr-pass-well: rgba(255, 255, 255, 0.055);
  --fr-pass-well-border: rgba(255, 255, 255, 0.10);
  --fr-pass-ink: #fafafc;
  --fr-pass-muted: rgba(250, 250, 252, 0.58);
  --fr-pass-cta: #ffffff;
  --fr-pass-cta-fg: #131316;

  --fr-copy-bg: rgba(255, 255, 255, 0.08);
  --fr-copy-border: rgba(255, 255, 255, 0.14);
  --fr-copy-hover: rgba(255, 255, 255, 0.15);
  --fr-tip-bg: #ffffff;
  --fr-tip-fg: #131316;
  --fr-tip-shadow: 0 6px 20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.08);

  --fr-red: #dc2626;
  --fr-red-soft: #fef2f2;
  --fr-red-ring: rgba(220, 38, 38, 0.18);
  --fr-green: #16a34a;
  --fr-green-soft: #f0fdf4;
  --fr-green-ring: rgba(22, 163, 74, 0.18);
  --fr-amber: #b45309;
  --fr-amber-soft: #fffbeb;
  --fr-amber-ring: rgba(180, 83, 9, 0.18);

  --fr-overlay: rgba(15, 23, 42, 0.52);
  --fr-sans: 'Jakarta', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --fr-mono: 'JBMono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}

html.dark {
  --fr-canvas: #09090b;
  --fr-dot: rgba(255, 255, 255, 0.055);
  --fr-canvas-wash: linear-gradient(180deg, #0b0b0f 0%, #09090b 100%);

  --fr-nav-bg: rgba(22, 22, 27, 0.80);
  --fr-nav-border: rgba(255, 255, 255, 0.10);
  --fr-nav-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --fr-nav-hover: rgba(255, 255, 255, 0.07);

  --fr-tray: #131317;
  --fr-tray-border: rgba(255, 255, 255, 0.065);
  --fr-card: #18181d;
  --fr-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 14px 32px -10px rgba(0, 0, 0, 0.5);
  --fr-tile-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.07);

  --fr-ink: #f4f4f7;
  --fr-ink-2: #c5c6d0;
  --fr-muted: #8a8c9b;
  --fr-faint: #5e606e;
  --fr-hair: rgba(255, 255, 255, 0.08);

  --fr-brand: #8165ff;
  --fr-btn-bg: linear-gradient(180deg, #fafafc 0%, #e7e7ee 100%);
  --fr-btn-hover: linear-gradient(180deg, #ffffff 0%, #f2f2f7 100%);
  --fr-btn-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --fr-btn-fg: #111115;

  --fr-pass-bg: radial-gradient(380px 200px at 90% -15%, rgba(129, 101, 255, 0.22), transparent 60%),
                linear-gradient(165deg, #22222a 0%, #16161c 52%, #111116 100%);
  --fr-pass-border: rgba(255, 255, 255, 0.13);
  --fr-pass-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --fr-pass-well: rgba(0, 0, 0, 0.32);
  --fr-pass-well-border: rgba(255, 255, 255, 0.09);
  --fr-pass-ink: #fafafc;
  --fr-pass-muted: rgba(250, 250, 252, 0.56);
  --fr-pass-cta: #f4f4f7;
  --fr-pass-cta-fg: #111115;

  --fr-copy-bg: rgba(255, 255, 255, 0.07);
  --fr-copy-border: rgba(255, 255, 255, 0.13);
  --fr-copy-hover: rgba(255, 255, 255, 0.14);
  --fr-tip-bg: #f4f4f7;
  --fr-tip-fg: #111115;
  --fr-tip-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);

  --fr-red: #f87171;
  --fr-red-soft: rgba(239, 68, 68, 0.11);
  --fr-red-ring: rgba(248, 113, 113, 0.24);
  --fr-green: #4ade80;
  --fr-green-soft: rgba(74, 222, 128, 0.11);
  --fr-green-ring: rgba(74, 222, 128, 0.24);
  --fr-amber: #fbbf24;
  --fr-amber-soft: rgba(251, 191, 36, 0.10);
  --fr-amber-ring: rgba(251, 191, 36, 0.22);

  --fr-overlay: rgba(0, 0, 0, 0.68);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--fr-canvas);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body.fr-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--fr-canvas);
  background-image:
    radial-gradient(var(--fr-dot) 1px, transparent 1px),
    var(--fr-canvas-wash);
  background-size: 20px 20px, 100% 100%;
  color: var(--fr-ink);
  font-family: var(--fr-sans);
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, h3, h4, p, ul, ol { margin: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--fr-brand); outline-offset: 2px; border-radius: 8px; }
.fr-hidden { display: none !important; }
.fr-mono { font-family: var(--fr-mono); font-variant-numeric: tabular-nums; }
.fr-ic { width: 16px; height: 16px; flex-shrink: 0; display: block; }
.fr-ic-xs { width: 12px; height: 12px; }

.fr-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 35;
  padding: calc(12px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 8px calc(16px + env(safe-area-inset-left));
}
.fr-nav {
  max-width: 1040px;
  margin: 0 auto;
  height: 52px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: var(--fr-nav-bg);
  border: 1px solid var(--fr-nav-border);
  box-shadow: var(--fr-nav-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.fr-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ffffff;
  background: linear-gradient(160deg, #2d2d36, #121216);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.fr-brand-name {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-brand-date {
  font-family: var(--fr-mono);
  font-size: 11.5px;
  color: var(--fr-muted);
  background: var(--fr-tray);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.fr-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fr-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--fr-ink-2);
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.fr-nav-link:hover {
  background: var(--fr-nav-hover);
  color: var(--fr-ink);
}
.fr-nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.fr-theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--fr-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.fr-theme-btn:hover {
  background: var(--fr-nav-hover);
  color: var(--fr-ink);
}
.fr-theme-btn .fr-ic-sun { display: none; }
html.dark .fr-theme-btn .fr-ic-moon { display: none; }
html.dark .fr-theme-btn .fr-ic-sun { display: block; }

.fr-nav-cta {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--fr-btn-bg);
  color: var(--fr-btn-fg);
  box-shadow: var(--fr-btn-shadow);
  white-space: nowrap;
  transition: filter 0.15s, transform 0.08s;
}
.fr-nav-cta:hover { filter: brightness(1.08); }
.fr-nav-cta:active { transform: scale(0.98); }
.fr-cta-short { display: none; }

.fr-tray {
  background: var(--fr-tray);
  border: 1px solid var(--fr-tray-border);
  border-radius: 20px;
  padding: 5px;
}
.fr-card {
  background: var(--fr-card);
  border-radius: 15px;
  box-shadow: var(--fr-card-shadow);
}
.fr-tile {
  background: var(--fr-card);
  border-radius: 14px;
  box-shadow: var(--fr-tile-shadow);
}

.fr-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--fr-btn-bg);
  color: var(--fr-btn-fg);
  box-shadow: var(--fr-btn-shadow);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, transform 0.08s;
}
.fr-btn-primary:hover { background: var(--fr-btn-hover); }
.fr-btn-primary:active { transform: translateY(0.5px); }
.fr-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.fr-btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--fr-card);
  color: var(--fr-ink);
  box-shadow: var(--fr-tile-shadow);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.14s;
}
.fr-btn-soft:hover { background: var(--fr-tray); }
.fr-btn-soft:disabled { opacity: 0.5; cursor: not-allowed; }

.fr-center-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 48px;
}
.fr-auth-shell {
  width: 100%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fr-auth-card {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fr-auth-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fr-auth-emblem {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(160deg, #2d2d36, #121216);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  margin-bottom: 4px;
}
.fr-auth-emblem .fr-ic { width: 22px; height: 22px; }
.fr-auth-emblem--danger {
  background: var(--fr-red-soft);
  color: var(--fr-red);
  border: 1px solid var(--fr-red-ring);
  box-shadow: none;
}
.fr-auth-head h1 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.fr-auth-sub {
  font-size: 13px;
  color: var(--fr-muted);
  line-height: 1.6;
}
.fr-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fr-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fr-input-well {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: 12px;
  background: var(--fr-tray);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05), 0 0 0 1px var(--fr-hair);
  transition: box-shadow 0.16s, background 0.16s;
}
.fr-input-well:focus-within {
  background: var(--fr-card);
  box-shadow: 0 0 0 1.5px var(--fr-brand), 0 0 0 4px rgba(108, 71, 255, 0.14);
}
.fr-input-well.is-error {
  box-shadow: 0 0 0 1.5px var(--fr-red), 0 0 0 4px var(--fr-red-ring);
}
.fr-input-well input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--fr-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fr-ink);
  padding: 6px 0;
}
.fr-input-well input::placeholder {
  font-family: var(--fr-sans);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--fr-faint);
}
.fr-error-text {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--fr-red-soft);
  border: 1px solid var(--fr-red-ring);
  color: var(--fr-red);
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.3s;
}
.fr-tray-foot {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--fr-muted);
}
.fr-tray-foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--fr-ink);
}
.fr-tray-foot a:hover { color: var(--fr-brand); }

.fr-safe-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fr-muted);
  text-align: center;
}
.fr-safe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fr-red);
  flex-shrink: 0;
}

@keyframes fr-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}
.fr-shake { animation: fr-shake 0.3s ease-in-out; }

.fr-wizard-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 60;
  background: var(--fr-overlay);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.fr-wizard-shell {
  width: 100%;
  max-width: 440px;
  margin: auto;
}
.fr-wizard-box {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 86vh;
  max-height: 86dvh;
}
.fr-wizard-track {
  height: 4px;
  background: var(--fr-tray);
  flex-shrink: 0;
}
.fr-wizard-bar {
  height: 100%;
  background: var(--fr-brand);
  transition: width 0.28s ease, background-color 0.25s ease;
}
.fr-wizard-box.is-danger .fr-wizard-bar {
  background: var(--fr-red);
}
.fr-wizard-content {
  padding: 24px 24px 18px;
  overflow-y: auto;
}
.fr-wizard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.fr-wizard-step {
  font-family: var(--fr-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fr-tray);
  color: var(--fr-ink-2);
}
.fr-wizard-box.is-danger .fr-wizard-step {
  background: var(--fr-red-soft);
  color: var(--fr-red);
  border: 1px solid var(--fr-red-ring);
}
.fr-wizard-hint {
  font-size: 11.5px;
  color: var(--fr-muted);
}
.fr-wizard-title {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.fr-wizard-box.is-danger .fr-wizard-title {
  color: var(--fr-red);
}
.fr-wizard-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fr-ink-2);
  min-height: 76px;
}
.fr-wizard-danger-text {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--fr-red-soft);
  border: 1px solid var(--fr-red-ring);
  color: var(--fr-red);
  font-weight: 600;
}
.fr-wizard-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.fr-wizard-vitem {
  padding: 12px 10px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.fr-wizard-vitem--no {
  background: var(--fr-red-soft);
  border: 1px solid var(--fr-red-ring);
}
.fr-wizard-vitem--yes {
  background: var(--fr-green-soft);
  border: 1px solid var(--fr-green-ring);
}
.fr-wizard-vitem b { font-size: 12.5px; }
.fr-wizard-vitem--no b { color: var(--fr-red); }
.fr-wizard-vitem--yes b { color: var(--fr-green); }
.fr-wizard-vitem span { font-size: 11.5px; color: var(--fr-ink-2); }

.fr-wizard-actions {
  display: flex;
  padding: 0 24px 22px;
  flex-shrink: 0;
}
.fr-wizard-actions > button { flex: 1; }
.fr-wizard-actions > button + button { margin-left: 10px; }
.fr-wizard-actions .is-final {
  flex: 1.5;
  background: linear-gradient(180deg, #1ea853, #15803d);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.fr-wizard-actions .is-final:hover { filter: brightness(1.06); }

.fr-info-main {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px calc(16px + env(safe-area-inset-right)) 44px calc(16px + env(safe-area-inset-left));
  flex: 1;
}
.fr-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 22px 28px;
  align-items: start;
}
.fr-col-notice { grid-column: 1; grid-row: 1; min-width: 0; }
.fr-col-guide  { grid-column: 1; grid-row: 2; min-width: 0; }
.fr-col-pass   { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 82px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.fr-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.fr-metric {
  padding: 11px 14px;
}
.fr-metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--fr-muted);
  margin-bottom: 4px;
}
.fr-metric-val {
  font-family: var(--fr-mono);
  font-size: 14.5px;
  font-weight: 650;
  color: var(--fr-ink);
  letter-spacing: -0.01em;
}
.fr-metric-val.is-warn { color: var(--fr-amber); }
.fr-metric-val.is-danger { color: var(--fr-red); }
.fr-quota-segs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.fr-quota-segs > span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--fr-tray);
  transition: background-color 0.25s ease;
}
.fr-quota-segs > span.is-used {
  background: var(--fr-brand);
}
.fr-quota-segs.is-warn > span.is-used {
  background: var(--fr-amber);
}
.fr-quota-segs.is-danger > span.is-used {
  background: var(--fr-red);
}
.fr-quota-segs.is-unlimited > span {
  background: var(--fr-brand);
  opacity: 0.28;
}

.fr-account-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fr-pass {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  background: var(--fr-pass-bg);
  border: 1px solid var(--fr-pass-border);
  box-shadow: var(--fr-pass-shadow);
  color: var(--fr-pass-ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fr-pass-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.fr-pass-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.065) 0%, transparent 38%, transparent 68%, rgba(255, 255, 255, 0.025) 100%);
}
.fr-pass > *:not(.fr-pass-sheen) { position: relative; z-index: 1; }

.fr-pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fr-pass-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.fr-pass-badge-ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.fr-pass-title {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.fr-pass-sub {
  font-size: 11.5px;
  color: var(--fr-pass-muted);
  margin-top: 2px;
}
.fr-pass-region {
  font-size: 11.5px;
  font-weight: 550;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.fr-pass-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fr-pass-well {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px 9px 14px;
  border-radius: 12px;
  background: var(--fr-pass-well);
  border: 1px solid var(--fr-pass-well-border);
  transition: border-color 0.2s, background-color 0.2s;
}
.fr-pass-well.is-flash {
  border-color: rgba(74, 222, 128, 0.48);
  background: rgba(74, 222, 128, 0.09);
}
.fr-pass-field-main {
  flex: 1;
  min-width: 0;
}
.fr-pass-field-label {
  display: block;
  font-size: 10.5px;
  color: var(--fr-pass-muted);
  line-height: 1.2;
}
.fr-pass-input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--fr-mono);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--fr-pass-ink);
  margin-top: 3px;
  padding: 0;
  text-overflow: ellipsis;
}
.fr-pass-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.fr-eye-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--fr-pass-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.fr-eye-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--fr-pass-ink);
}
.fr-eye-btn .eye-on { display: none; }
.fr-eye-btn.is-visible .eye-off { display: none; }
.fr-eye-btn.is-visible .eye-on { display: block; }

.fr-pass-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--fr-pass-muted);
}
.fr-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 550;
}
.fr-status-pill.is-ok { color: #86efac; }
.fr-status-pill.is-bad { color: #fca5a5; }
.fr-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.fr-pass-foot {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fr-pass-cta {
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--fr-pass-cta);
  color: var(--fr-pass-cta-fg);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.08s;
}
.fr-pass-cta:hover { opacity: 0.92; }
.fr-pass-cta:active { transform: scale(0.99); }
.fr-pass-cta:disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
.fr-pass-hint {
  font-size: 11.5px;
  color: var(--fr-pass-muted);
  text-align: center;
  line-height: 1.5;
}
.fr-pass-error {
  font-size: 12px;
  color: #fca5a5;
  text-align: center;
}

.fr-skeleton {
  min-height: 310px;
  gap: 18px;
}
.fr-skel-bar {
  height: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  animation: fr-pulse 1.5s ease-in-out infinite;
}
.fr-skel-well {
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  animation: fr-pulse 1.5s ease-in-out infinite;
}
@keyframes fr-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.clerk-copy {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--fr-copy-bg);
  border: 1px solid var(--fr-copy-border);
  color: var(--fr-pass-ink);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.16s, border-color 0.2s, color 0.2s, transform 0.1s;
}
.clerk-copy:hover {
  background: var(--fr-copy-hover);
  border-color: rgba(255, 255, 255, 0.24);
}
.clerk-copy:active { transform: scale(0.95); }
.clerk-copy:disabled { opacity: 0.65; cursor: wait; }
.clerk-copy.is-copied {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.45);
  color: #86efac;
}
.clerk-copy--light {
  background: var(--fr-card);
  border: 1px solid rgba(15, 23, 42, 0.11);
  color: var(--fr-ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
html.dark .clerk-copy--light { border-color: rgba(255, 255, 255, 0.13); }
.clerk-copy--light:hover { background: var(--fr-tray); border-color: rgba(15, 23, 42, 0.2); }
.clerk-copy--light.is-copied {
  background: var(--fr-green-soft);
  border-color: var(--fr-green-ring);
  color: var(--fr-green);
}

.clerk-copy-stage {
  position: relative;
  width: 34px;
  height: 20px;
  display: grid;
  place-items: center;
}
.clerk-copy-txt,
.clerk-copy-stage .ic-copy,
.clerk-copy-stage .ic-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: auto;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.16s ease, filter 0.16s ease;
}
.clerk-copy-stage svg {
  width: 15px;
  height: 15px;
}
.clerk-copy-txt { opacity: 1; transform: scale(1); filter: blur(0); }
.clerk-copy-stage .ic-copy { opacity: 0; transform: scale(0.55) rotate(-10deg); filter: blur(2px); }
.clerk-copy-stage .ic-check { opacity: 0; transform: scale(0.45) rotate(-18deg); filter: blur(2px); }

@media (hover: hover) {
  .clerk-copy:not(.is-copied):hover .clerk-copy-txt {
    opacity: 0;
    transform: scale(0.75);
    filter: blur(2px);
  }
  .clerk-copy:not(.is-copied):hover .ic-copy {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}
.clerk-copy.is-copied .clerk-copy-txt,
.clerk-copy.is-copied .ic-copy {
  opacity: 0;
  transform: scale(0.5);
  filter: blur(2px);
}
.clerk-copy.is-copied .ic-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: blur(0);
}

.clerk-copy-tip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.92);
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--fr-tip-bg);
  color: var(--fr-tip-fg);
  box-shadow: var(--fr-tip-shadow);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 40;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
}
.clerk-copy-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4.5px solid transparent;
  border-top-color: var(--fr-tip-bg);
}
.clerk-copy.is-copied .clerk-copy-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.fr-notice-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fr-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px;
  margin-bottom: 10px;
}
.fr-section-head h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.fr-badge-danger {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fr-red-soft);
  color: var(--fr-red);
  border: 1px solid var(--fr-red-ring);
  white-space: nowrap;
}
.fr-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.fr-compare-tile {
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fr-app-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.fr-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.fr-app-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22), 0 0 0 2px var(--fr-card);
}
.fr-app-badge--no { background: #dc2626; }
.fr-app-badge--yes { background: #16a34a; }
.fr-app-badge svg { width: 11px; height: 11px; stroke-width: 2.8; }

.fr-compare-body { min-width: 0; }
.fr-compare-body h3 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}
.fr-compare-verdict {
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}
.fr-compare-verdict--no { color: var(--fr-red); }
.fr-compare-verdict--yes { color: var(--fr-green); }
.fr-compare-list {
  margin-top: 7px;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--fr-muted);
}
.fr-compare-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--fr-muted);
}

.fr-notice-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fr-steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fr-step-pill {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fr-tray);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 550;
}
.fr-step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--fr-mono);
  font-size: 11.5px;
  font-weight: 650;
  background: var(--fr-card);
  box-shadow: var(--fr-tile-shadow);
}
.fr-rules-block {
  padding-top: 14px;
  border-top: 1px solid var(--fr-hair);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fr-rule-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fr-ink-2);
}
.fr-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--fr-tray);
  color: var(--fr-ink);
}
.fr-tag--warn {
  background: var(--fr-amber-soft);
  color: var(--fr-amber);
  border: 1px solid var(--fr-amber-ring);
}
.fr-tag--danger {
  background: var(--fr-red-soft);
  color: var(--fr-red);
  border: 1px solid var(--fr-red-ring);
}
.fr-rule-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fr-rule-sub b { color: var(--fr-ink); font-weight: 600; }
.fr-rule-alert { color: var(--fr-red); font-weight: 600; }

.fr-guide-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fr-tutorial-card {
  padding: 20px;
}
.fr-tutorial-card h2 {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.fr-tutorial-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fr-ink-2);
}
.fr-tutorial-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fr-tutorial-idx {
  font-family: var(--fr-mono);
  font-size: 12px;
  font-weight: 650;
  color: var(--fr-faint);
  margin-top: 2px;
  flex-shrink: 0;
}
.fr-tutorial-shot {
  margin-top: 12px;
}
.fr-tutorial-shot-inner {
  padding: 10px;
  text-align: center;
}
.fr-tutorial-shot img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--fr-hair);
  cursor: zoom-in;
  transition: transform 0.22s ease;
}
.fr-tutorial-shot img:hover { transform: scale(1.01); }
.fr-tutorial-shot-cap {
  margin-top: 8px;
  font-size: 12px;
  color: var(--fr-muted);
}

.fr-faq-card { overflow: hidden; }
.fr-faq-head {
  padding: 15px 20px;
  border-bottom: 1px solid var(--fr-hair);
}
.fr-faq-head h2 {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.fr-faq-item + .fr-faq-item {
  border-top: 1px solid var(--fr-hair);
}
.fr-faq-toggle {
  width: 100%;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--fr-ink);
  cursor: pointer;
  transition: background 0.14s;
}
.fr-faq-toggle:hover { background: var(--fr-tray); }
.fr-faq-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--fr-muted);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.fr-faq-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.fr-faq-content {
  padding: 0 20px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fr-muted);
}

.fr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(9, 9, 11, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fr-lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.fr-lightbox img {
  max-width: 100%;
  max-height: 84vh;
  max-height: 84dvh;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.fr-lightbox-close {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: calc(16px + env(safe-area-inset-right));
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s;
}
.fr-lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

.fr-toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: #18181d;
  color: #fafafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s ease;
}
.fr-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.fr-toast.is-error { background: #991b1b; }
.fr-toast.is-warning { background: #92400e; }

.fr-footer {
  text-align: center;
  font-size: 12px;
  color: var(--fr-faint);
  padding: 16px 16px 28px;
}

@media (max-width: 900px) {
  .fr-info-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .fr-col-pass {
    position: static;
  }
}

@media (max-width: 640px) {
  .fr-nav-wrap {
    padding: calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 6px calc(12px + env(safe-area-inset-left));
  }
  .fr-nav {
    height: 48px;
    padding: 0 6px 0 10px;
  }
  .fr-brand-mark { width: 28px; height: 28px; }
  .fr-brand-name { font-size: 13.5px; }
  .fr-brand-date, .fr-hide-sm { display: none; }
  .fr-nav-link { padding: 6px 9px; font-size: 12.5px; }
  .fr-cta-full { display: none; }
  .fr-cta-short { display: inline; }
  .fr-nav-cta { height: 32px; padding: 0 11px; font-size: 12px; }
  .fr-theme-btn { width: 32px; height: 32px; }

  .fr-compare-grid,
  .fr-steps-3 {
    grid-template-columns: 1fr;
  }
  .fr-auth-card { padding: 24px 20px 22px; }
  .fr-pass { padding: 18px 16px; }
  .fr-notice-card, .fr-tutorial-card { padding: 16px; }
  .fr-faq-head, .fr-faq-toggle { padding: 14px 16px; }
  .fr-faq-content { padding: 0 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
