:root {
  color-scheme: dark;
  --bg: #041019;
  --bg-soft: rgba(11, 24, 36, 0.82);
  --panel: rgba(8, 18, 30, 0.8);
  --panel-strong: rgba(8, 18, 29, 0.95);
  --line: rgba(129, 171, 203, 0.18);
  --surface-edge: rgba(122, 182, 255, 0.18);
  --text: #eef6fb;
  --muted: #9fb3c3;
  --accent: #79d8cb;
  --accent-blue: #7ab6ff;
  --accent-strong: #cbff75;
  --accent-warm: #ffc56b;
  --danger: #ff8f7c;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(121, 216, 203, 0.22), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(122, 182, 255, 0.18), transparent 26%),
    radial-gradient(circle at 72% 82%, rgba(255, 197, 107, 0.14), transparent 20%),
    linear-gradient(160deg, #041019 0%, #071827 40%, #030910 100%);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.orb,
.grid-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.orb {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.28;
}

.orb-a {
  top: 8%;
  right: 6%;
  background: radial-gradient(circle, rgba(124, 224, 195, 0.72), transparent 68%);
}

.orb-b {
  bottom: 12%;
  left: 4%;
  background: radial-gradient(circle, rgba(255, 179, 107, 0.56), transparent 68%);
}

.grid-glow {
  inset: 0;
  background: radial-gradient(circle at center, rgba(198, 255, 99, 0.08), transparent 36%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.site-header,
.hero,
.glass-card,
.console-shell,
.faq-card,
.plan-card {
  backdrop-filter: blur(22px);
}

.site-header,
.hero,
.glass-card,
.console-shell,
.faq-card,
.plan-card,
.hero-sidecard,
.support-card,
.download-card,
.payment-card,
.summary-card,
.link-card,
.step-card,
.dashboard-card,
.accordion-item,
.note-card,
.mini-card,
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-header::before,
.hero::before,
.glass-card::before,
.console-shell::before,
.plan-card::before,
.hero-sidecard::before,
.support-card::before,
.download-card::before,
.payment-card::before,
.summary-card::before,
.link-card::before,
.step-card::before,
.dashboard-card::before,
.accordion-item::before,
.note-card::before,
.mini-card::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  position: sticky;
  top: 12px;
  z-index: 8;
  border: 1px solid var(--surface-edge);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 19, 30, 0.92), rgba(5, 12, 20, 0.84)),
    radial-gradient(circle at top right, rgba(122, 182, 255, 0.12), transparent 32%);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
.site-nav a,
.plan-card h3,
.journey-card h3,
.console-card h3,
.faq-card h3,
.hero h1,
.section-heading h2 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

.brand small {
  display: block;
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 55%, var(--accent-strong) 100%);
  color: #051017;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(71, 157, 240, 0.28);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.86;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  opacity: 1;
}

.site-nav a.is-current {
  color: var(--text);
  opacity: 1;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-chip,
.eyebrow,
.card-kicker,
.plan-badge,
.console-kicker,
.guide-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.header-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 197, 107, 0.24);
  background: rgba(255, 197, 107, 0.1);
  color: #ffe2a8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 22px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--surface-edge);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 12%, rgba(122, 182, 255, 0.2), transparent 24%),
    radial-gradient(circle at 12% 90%, rgba(121, 216, 203, 0.14), transparent 20%),
    linear-gradient(160deg, rgba(8, 20, 31, 0.96), rgba(4, 10, 17, 0.96));
  box-shadow: var(--shadow);
}

.page-hero {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--surface-edge);
  background:
    radial-gradient(circle at 86% 14%, rgba(122, 182, 255, 0.16), transparent 24%),
    linear-gradient(160deg, rgba(8, 20, 31, 0.92), rgba(5, 12, 20, 0.9));
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow,
.card-kicker,
.plan-badge,
.console-kicker,
.guide-label {
  margin: 0 0 10px;
  color: var(--accent-strong);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
  max-width: 10ch;
}

.hero-text,
.section-heading p,
.journey-card p,
.signal-card p,
.guide-note,
.plan-copy,
.faq-card p,
.console-note p,
.task-list li,
.region-list article span,
.member-row span,
.price-unit,
.signal-list li,
.plan-list li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 64ch;
  margin: 18px 0 0;
}

.hero-actions,
.metric-strip,
.panel-topline,
.pricing-grid,
.faq-grid,
.console-stats,
.hero-panel-grid,
.journey-grid,
.platform-switch,
.billing-toggle,
.region-list,
.member-table,
.console-grid {
  display: grid;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible,
.billing-option:hover,
.billing-option:focus-visible,
.platform-pill:hover,
.platform-pill:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent) 48%, var(--accent-blue));
  color: #061117;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(73, 141, 232, 0.22);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(122, 182, 255, 0.14);
  color: var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
  border-color: rgba(122, 182, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn.is-disabled {
  opacity: 0.52;
  pointer-events: none;
  box-shadow: none;
}

.metric-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric-strip article,
.signal-card,
.journey-card,
.glass-card,
.plan-card,
.faq-card,
.console-card,
.console-stats article {
  border: 1px solid rgba(122, 182, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028)),
    radial-gradient(circle at top right, rgba(122, 182, 255, 0.05), transparent 28%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.metric-strip article {
  padding: 16px;
  border-radius: 20px;
}

.metric-strip strong {
  display: block;
  font-size: 1.32rem;
  color: var(--text);
}

.metric-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.hero-panel {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(122, 182, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(122, 182, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 14, 21, 0.96), rgba(10, 18, 28, 0.86));
}

.panel-topline {
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6e7ef;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 8px rgba(198, 255, 99, 0.12);
}

.hero-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.signal-card {
  padding: 16px;
  border-radius: 22px;
}

.signal-card-accent {
  background:
    radial-gradient(circle at top right, rgba(124, 224, 195, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(14, 35, 42, 0.94), rgba(10, 19, 29, 0.84));
}

.wide-card {
  grid-column: 1 / -1;
}

.signal-list,
.plan-list,
.task-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.mini-bars {
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
}

.mini-bars span {
  display: block;
  width: var(--bar);
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.section {
  margin-top: 26px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.glass-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--surface-edge);
  background:
    linear-gradient(180deg, rgba(9, 18, 28, 0.86), rgba(6, 12, 20, 0.82)),
    radial-gradient(circle at top right, rgba(121, 216, 203, 0.06), transparent 24%);
  box-shadow: var(--shadow);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 10px 0 0;
  max-width: 62ch;
}

.journey-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.journey-card {
  padding: 18px;
  border-radius: 22px;
}

.journey-card span {
  color: var(--accent-warm);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
}

.journey-card h3,
.guide-panel h3,
.console-card h3,
.faq-card h3 {
  margin: 12px 0 0;
  font-size: 1.16rem;
}

.journey-card p,
.guide-panel ol {
  margin: 10px 0 0;
}

.journey-card-accent {
  background:
    radial-gradient(circle at bottom left, rgba(255, 179, 107, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(39, 25, 17, 0.84), rgba(15, 12, 9, 0.82));
}

.platform-switch {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.platform-pill,
.billing-option {
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.platform-pill.is-active,
.billing-option.is-active {
  background: linear-gradient(135deg, rgba(121, 216, 203, 0.22), rgba(122, 182, 255, 0.24));
  border-color: rgba(122, 182, 255, 0.42);
}

.guide-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-strong);
}

.guide-steps {
  padding-left: 20px;
  line-height: 1.8;
}

.guide-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.billing-toggle {
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin-top: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.plan-card {
  position: relative;
  padding: 22px;
  border-radius: 28px;
  overflow: hidden;
}

.plan-card-featured {
  background:
    radial-gradient(circle at top right, rgba(255, 197, 107, 0.14), transparent 26%),
    radial-gradient(circle at top left, rgba(122, 182, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 28, 36, 0.96), rgba(9, 15, 22, 0.94));
  border-color: rgba(255, 197, 107, 0.18);
  transform: translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 197, 107, 0.14);
  color: #ffe8b4;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.price-row strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  line-height: 0.94;
}

.plan-copy {
  margin: 14px 0 0;
}

.plan-list {
  margin-bottom: 22px;
}

.console-section .section-heading p {
  max-width: 60ch;
}

.console-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--surface-edge);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(122, 182, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(7, 15, 24, 0.9), rgba(4, 9, 15, 0.88));
  box-shadow: var(--shadow);
}

.console-sidebar,
.console-main {
  min-width: 0;
}

.console-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(122, 182, 255, 0.12);
}

.console-sidebar h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
}

.console-nav {
  display: grid;
  gap: 8px;
}

.console-nav a {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.console-nav a.is-current {
  color: var(--text);
  background: linear-gradient(135deg, rgba(121, 216, 203, 0.14), rgba(122, 182, 255, 0.14));
}

.console-note {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.console-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.console-stats article {
  padding: 16px;
  border-radius: 20px;
}

.console-stats span,
.console-card-head span,
.member-row-head,
.region-list em,
.member-row .healthy,
.member-row .warning {
  font-size: 0.84rem;
}

.console-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 1.56rem;
}

.console-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.console-card {
  padding: 18px;
  border-radius: 24px;
}

.console-card-wide {
  grid-column: 1 / -1;
}

.console-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.console-card-head h3 {
  margin: 0;
}

.region-list {
  gap: 10px;
  margin-top: 14px;
}

.region-list article,
.member-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.healthy {
  color: #9cffd9;
}

.warning {
  color: var(--danger);
}

.member-table {
  gap: 8px;
  margin-top: 16px;
}

.member-row {
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
}

.member-row-head {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.faq-card {
  padding: 20px;
  border-radius: 24px;
}

.page-lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 66ch;
}

.page-hero {
  margin-top: 18px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
}

.hero-stack,
.hero-sidecard,
.support-card,
.download-card,
.payment-card,
.summary-card,
.link-card,
.step-card,
.dashboard-card,
.accordion-item,
.note-card,
.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-sidecard,
.support-card,
.download-card,
.payment-card,
.summary-card,
.link-card,
.step-card,
.dashboard-card,
.accordion-item,
.note-card,
.mini-card {
  padding: 20px;
  border-radius: 24px;
}

.hero-sidecard h2,
.summary-card h3,
.payment-card h3,
.support-card h3,
.download-card h3,
.link-card h3,
.step-card h3,
.dashboard-card h3,
.note-card h3,
.mini-card h3,
.site-footer h3,
.auth-panel h2,
.auth-overview h2 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

.chip-row,
.footer-links,
.card-grid,
.support-grid,
.download-grid,
.payment-grid,
.step-strip,
.footer-grid,
.dashboard-split,
.meta-grid,
.link-grid,
.summary-meta,
.summary-stats {
  display: grid;
}

.chip-row {
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 10px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dcecf6;
  font-size: 0.86rem;
}

.chip-accent {
  background: rgba(198, 255, 99, 0.1);
  border-color: rgba(198, 255, 99, 0.22);
  color: #efffca;
}

.page-section {
  margin-top: 26px;
}

.card-grid,
.support-grid,
.download-grid,
.payment-grid,
.step-strip,
.footer-grid,
.meta-grid,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-grid.compact-grid,
.meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card strong,
.summary-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
}

.mini-card span,
.summary-stat span,
.link-card p,
.step-card p,
.support-card p,
.download-card p,
.dashboard-card p,
.note-card p,
.auth-overview li,
.auth-panel li,
.summary-meta span,
.footer-links a,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.link-card {
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover,
.link-card:focus-visible,
.download-card:hover,
.support-card:hover,
.payment-card:hover,
.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 182, 255, 0.26);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.link-card-muted {
  opacity: 0.92;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 197, 107, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 197, 107, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(122, 182, 255, 0.14), transparent 24%),
    linear-gradient(160deg, rgba(16, 26, 34, 0.94), rgba(7, 13, 19, 0.94));
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--surface-edge);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6, 14, 21, 0.84), rgba(4, 10, 17, 0.82)),
    radial-gradient(circle at top left, rgba(121, 216, 203, 0.06), transparent 26%);
  box-shadow: var(--shadow);
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.footer-links {
  gap: 8px;
}

.footer-links a {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.auth-shell,
.checkout-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.auth-overview,
.auth-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.auth-feature-list,
.list-check,
.inline-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.auth-feature-list li + li,
.list-check li + li,
.inline-list li + li {
  margin-top: 8px;
}

.tab-row {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-tab {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.auth-tab.is-active {
  background: linear-gradient(135deg, rgba(124, 224, 195, 0.22), rgba(58, 148, 255, 0.2));
  border-color: rgba(124, 224, 195, 0.42);
}

.auth-form-panel {
  display: grid;
  gap: 16px;
}

.is-hidden {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-size: 0.9rem;
  color: #dfeaf3;
}

.input-shell,
.select-shell,
.textarea-shell {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 9, 14, 0.84);
  color: var(--text);
}

.textarea-shell {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-actions,
.inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.inline-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.step-strip {
  margin-top: 18px;
}

.step-card span,
.summary-kicker,
.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #def2ff;
}

.step-card h3,
.link-card h3,
.support-card h3,
.download-card h3,
.dashboard-card h3 {
  margin-top: 12px;
  font-size: 1.16rem;
}

.summary-card {
  display: grid;
  gap: 16px;
}

.summary-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.summary-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  line-height: 0.94;
}

.summary-meta,
.summary-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(124, 224, 195, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(12, 30, 37, 0.9), rgba(8, 16, 23, 0.92));
}

.plan-card.is-selected {
  border-color: rgba(124, 224, 195, 0.32);
  box-shadow: 0 0 0 1px rgba(124, 224, 195, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-split {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.feed-list,
.status-list,
.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed-list li,
.status-list li,
.download-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.feed-list li:last-child,
.status-list li:last-child,
.download-list li:last-child {
  border-bottom: 0;
}

.admin-form-shell {
  display: grid;
  gap: 16px;
}

.admin-message,
.table-caption {
  color: var(--muted);
  line-height: 1.75;
}

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 182, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mini-action-btn:hover,
.mini-action-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(122, 182, 255, 0.32);
  background: rgba(122, 182, 255, 0.08);
}

.table-cols-members {
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.9fr 0.8fr 1.1fr;
}

.table-cols-orders {
  grid-template-columns: 1.15fr 1.15fr 1.35fr 0.8fr 0.8fr 1.1fr;
}

.table-cols-devices {
  grid-template-columns: 1.45fr 1fr 0.85fr 0.85fr 0.85fr 1.1fr;
}

.table-cols-personal-devices {
  grid-template-columns: 1.4fr 1fr 0.9fr 0.8fr 1fr;
}

.table-empty {
  grid-column: 1 / -1;
  padding: 18px 0;
  color: var(--muted);
}

.table-muted {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.notice-banner {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.notice-banner p {
  margin: 0;
  line-height: 1.75;
}

.notice-banner.is-info {
  border-color: rgba(122, 182, 255, 0.2);
  background: rgba(122, 182, 255, 0.08);
}

.notice-banner.is-success {
  border-color: rgba(124, 224, 195, 0.24);
  background: rgba(124, 224, 195, 0.08);
}

.notice-banner.is-warning,
.notice-banner.is-danger {
  border-color: rgba(255, 153, 122, 0.22);
  background: rgba(255, 122, 89, 0.08);
}

.key-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.subscription-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.subscription-panel__heading,
.subscription-stack,
.subscription-card {
  display: grid;
  gap: 10px;
}

.subscription-panel__heading h3,
.subscription-card__meta strong {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

.subscription-panel__heading p:last-child,
.subscription-card__meta span {
  margin: 0;
  color: var(--muted);
}

.subscription-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
}

.subscription-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.subscription-url {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(122, 182, 255, 0.12);
  background: rgba(4, 16, 25, 0.68);
  color: var(--accent);
  font-size: 0.88rem;
  line-height: 1.6;
  word-break: break-all;
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kv-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.kv-item span,
.member-row small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 4px;
}

.status-pill.is-online {
  color: #9cffd9;
  border-color: rgba(124, 224, 195, 0.24);
  background: rgba(124, 224, 195, 0.08);
}

.status-pill.is-removed {
  color: #ffb29c;
  border-color: rgba(255, 122, 89, 0.22);
  background: rgba(255, 122, 89, 0.08);
}

.usage-stack {
  display: grid;
  gap: 12px;
}

.usage-bar span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.usage-bar i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.usage-bar i::after {
  content: "";
  display: block;
  width: var(--usage, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.download-card .badge {
  margin-bottom: 12px;
}

.terminal-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(4, 9, 14, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dceef7;
  font-family: "Space Grotesk", monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.accordion-trigger strong {
  text-align: left;
  font-size: 1rem;
}

.accordion-trigger span {
  color: var(--muted);
}

.accordion-panel {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.8;
}

.accordion-panel[hidden] {
  display: none;
}

@media (max-width: 1080px) {
  .page-hero__grid,
  .auth-shell,
  .checkout-shell,
  .dashboard-split,
  .footer-grid,
  .support-grid,
  .download-grid,
  .card-grid,
  .link-grid,
  .step-strip,
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__grid,
  .auth-shell,
  .checkout-shell,
  .dashboard-split,
  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-hero__grid,
  .card-grid,
  .meta-grid,
  .footer-grid,
  .support-grid,
  .download-grid,
  .link-grid,
  .payment-grid,
  .step-strip,
  .summary-meta,
  .summary-stats,
  .form-grid,
  .key-value-grid,
  .chip-row,
  .tab-row {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .hero-sidecard,
  .support-card,
  .download-card,
  .payment-card,
  .summary-card,
  .link-card,
  .step-card,
  .dashboard-card,
  .accordion-item,
  .note-card,
  .mini-card,
  .cta-band {
    border-radius: 22px;
  }

  .form-actions,
  .inline-meta {
    display: grid;
  }

  .summary-price strong {
    font-size: 2.4rem;
  }

  .feed-list li,
  .status-list li,
  .download-list li {
    display: grid;
  }

  .table-toolbar,
  .table-actions {
    display: grid;
  }
}

.reveal {
  animation: rise 0.6s ease both;
}

.reveal-delay-1 {
  animation-delay: 0.08s;
}

.reveal-delay-2 {
  animation-delay: 0.16s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .two-column,
  .pricing-grid,
  .faq-grid,
  .console-grid,
  .console-stats,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .console-shell {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .console-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 14px;
  }

  .site-header,
  .site-nav,
  .header-actions,
  .hero-actions,
  .platform-switch,
  .pricing-grid,
  .faq-grid,
  .console-stats,
  .metric-strip,
  .two-column,
  .journey-grid,
  .hero-panel-grid,
  .console-sidebar,
  .console-grid,
  .billing-toggle {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 14px;
  }

  .site-header,
  .site-nav,
  .header-actions {
    display: grid;
    justify-content: stretch;
  }

  .site-nav {
    gap: 10px;
  }

  .header-actions,
  .hero-actions {
    display: grid;
  }

  .btn,
  .platform-pill,
  .billing-option {
    width: 100%;
  }

  .hero,
  .glass-card,
  .console-shell,
  .plan-card,
  .faq-card {
    border-radius: 24px;
  }

  .hero {
    padding: 18px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .price-row strong {
    font-size: 2.4rem;
  }

  .region-list article,
  .member-row,
  .member-row-head {
    grid-template-columns: 1fr;
  }
}

  body.yf-auth-page {
    color-scheme: light;
    background:
      radial-gradient(circle at 10% 12%, rgba(57, 137, 255, 0.16), transparent 24%),
      radial-gradient(circle at 86% 18%, rgba(27, 209, 163, 0.14), transparent 20%),
      linear-gradient(180deg, #f7f9fc 0%, #eef5ff 46%, #f6f8fc 100%);
    color: #1e293b;
  }

  body.yf-auth-page::before,
  body.yf-auth-page::after {
    content: none;
  }

  body.yf-auth-page .reveal {
    animation-duration: 0.5s;
  }

  .yf-auth-bg,
  .yf-auth-halo,
  .yf-auth-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
  }

  .yf-auth-halo {
    filter: blur(48px);
  }

  .yf-auth-halo.halo-a {
    inset: auto auto 20% -6%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.18);
  }

  .yf-auth-halo.halo-b {
    inset: 8% -4% auto auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
  }

  .yf-auth-grid {
    background-image:
      linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  }

  .yf-auth-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 68px;
  }

  .yf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  }

  .yf-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }

  .yf-brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6 52%, #38bdf8);
    color: #fff;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  }

  .yf-brand-mark-image {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .yf-brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.14));
  }

  .yf-brand-copy strong {
    display: block;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: 1.18rem;
    color: #0f172a;
  }

  .yf-brand-copy small {
    display: block;
    margin-top: 4px;
    color: #64748b;
  }

  .yf-domain-note {
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #475569;
    font-size: 0.95rem;
  }

  .yf-domain-note a,
  .yf-help-link,
  .yf-form-meta a,
  .yf-card-links a {
    color: #2563eb;
    text-decoration: none;
  }

  .yf-domain-note a:hover,
  .yf-help-link:hover,
  .yf-form-meta a:hover,
  .yf-card-links a:hover {
    text-decoration: underline;
  }

  .yf-auth-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 436px);
    gap: 32px;
    align-items: center;
    min-height: calc(100vh - 156px);
  }

  .yf-auth-hero {
    display: grid;
    gap: 20px;
    padding: 18px 8px 18px 2px;
  }

  .yf-kicker,
  .yf-mini-label {
    margin: 0;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .yf-auth-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 4.7rem);
    line-height: 0.98;
    color: #0f172a;
  }

  .yf-hero-lead {
    margin: 0;
    max-width: 620px;
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.9;
  }

  .yf-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .yf-pill-row span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(191, 219, 254, 0.9);
    color: #1e3a8a;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  }

  .yf-runtime-card {
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(191, 219, 254, 0.76);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.08);
  }

  .yf-runtime-card strong,
  .yf-feature-card strong,
  .yf-notice-item h3,
  .yf-card-head h2 {
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  }

  .yf-runtime-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
  }

  .yf-runtime-card p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
  }

  .yf-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .yf-feature-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(203, 213, 225, 0.82);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  }

  .yf-feature-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-weight: 700;
  }

  .yf-feature-card strong {
    display: block;
    margin-top: 14px;
    color: #0f172a;
    font-size: 1.05rem;
  }

  .yf-feature-card p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.75;
  }

  .yf-login-card {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 32px 72px rgba(15, 23, 42, 0.14);
  }

  .yf-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .yf-card-head h2 {
    margin: 8px 0 0;
    font-size: 2rem;
    color: #0f172a;
  }

  .yf-help-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-weight: 600;
  }

  .yf-tab-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 6px;
    border-radius: 18px;
    background: #eff6ff;
  }

  .yf-tab-row button {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #475569;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  .yf-tab-row button.is-active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
  }

  .yf-auth-panel {
    display: grid;
    gap: 16px;
  }

  .yf-auth-panel.is-hidden,
  .yf-notice-overlay.is-hidden {
    display: none;
  }

  body.yf-auth-page .yf-form-field {
    gap: 10px;
  }

  body.yf-auth-page .yf-form-field span {
    color: #334155;
    font-weight: 600;
  }

  body.yf-auth-page .input-shell,
  body.yf-auth-page .select-shell {
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid #dbe3ef;
    background: #f8fbff;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  body.yf-auth-page .input-shell::placeholder {
    color: #94a3b8;
  }

  body.yf-auth-page .input-shell:focus,
  body.yf-auth-page .select-shell:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
    outline: none;
  }

  .yf-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #64748b;
  }

  .yf-check-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }

  .yf-check-row input {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
  }

  .yf-hidden-device-fields {
    display: none;
  }

  .yf-form-actions {
    display: grid;
    gap: 10px;
  }

  .yf-primary-btn,
  .yf-secondary-btn {
    width: 100%;
  }

  body.yf-auth-page .yf-primary-btn {
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.22);
  }

  body.yf-auth-page .yf-secondary-btn {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
  }

  body.yf-auth-page #auth-flash {
    margin: 0;
    border-radius: 18px;
    border-color: #bfdbfe;
    background: #eff6ff;
  }

  body.yf-auth-page #auth-flash p {
    color: #1d4ed8;
  }

  .yf-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 2px;
  }

  .yf-card-links a {
    font-weight: 600;
  }

  .yf-support-pill {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 0 22px 0 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8 60%, #10b981 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24);
  }

  .yf-support-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
  }

  .yf-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 12;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(7px);
  }

  .yf-notice-modal {
    width: min(460px, calc(100% - 8px));
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  }

  .yf-notice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fb7185, #ef4444);
    color: #fff;
  }

  .yf-notice-head strong {
    font-size: 1.7rem;
    font-weight: 800;
  }

  .yf-notice-head button {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  .yf-notice-body {
    display: grid;
    gap: 22px;
    padding: 26px 24px 24px;
  }

  .yf-notice-item h3 {
    margin: 0 0 10px;
    color: #dc2626;
    font-size: 1.55rem;
  }

  .yf-notice-item p {
    margin: 0;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .yf-notice-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-height: 62px;
    width: 100%;
    padding: 0 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.18);
  }

  .yf-domain-code {
    margin-top: 10px !important;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-family: "Space Grotesk", monospace;
  }

  @media (max-width: 1080px) {
    .yf-auth-main,
    .yf-feature-grid {
      grid-template-columns: 1fr;
    }

    .yf-auth-hero h1 {
      max-width: none;
    }
  }

  @media (max-width: 760px) {
    .yf-auth-shell {
      width: min(100% - 18px, 1180px);
      padding-top: 14px;
    }

    .yf-topbar,
    .yf-card-head,
    .yf-form-meta {
      display: grid;
      justify-content: stretch;
    }

    .yf-topbar,
    .yf-login-card,
    .yf-runtime-card,
    .yf-feature-card,
    .yf-notice-modal {
      border-radius: 24px;
    }

    .yf-auth-main {
      gap: 22px;
      min-height: auto;
      padding-top: 18px;
    }

    .yf-login-card {
      padding: 22px 18px;
    }

    .yf-auth-hero {
      padding: 12px 0 0;
    }

    .yf-auth-hero h1 {
      font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .yf-support-pill {
      right: 14px;
      left: 14px;
      bottom: 14px;
      justify-content: center;
    }

    .yf-notice-head strong {
      font-size: 1.45rem;
    }

    .yf-notice-item h3 {
      font-size: 1.28rem;
    }

    .yf-notice-cta {
      font-size: 1.14rem;
    }
  }

  body.yf-login-direct-page {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
  }

  body.yf-login-direct-page .orb,
  body.yf-login-direct-page .grid-glow,
  body.yf-login-direct-page .yf-auth-bg,
  body.yf-login-direct-page::before,
  body.yf-login-direct-page::after {
    display: none;
  }

  .yf-login-direct-shell {
    width: min(460px, calc(100% - 20px));
    padding: 32px 0 140px;
  }

  body.yf-register-direct-page .yf-login-direct-shell {
    width: min(560px, calc(100% - 20px));
  }

  .yf-login-stage {
    display: block;
    min-height: auto;
  }

  .yf-login-direct-card {
    display: grid;
    gap: 24px;
    padding: 0;
  }

  body.yf-register-direct-page .yf-login-direct-card {
    gap: 18px;
  }

  .yf-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
  }

  .yf-login-brand-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    min-width: 0;
  }

  .yf-login-brand .yf-brand-mark {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: linear-gradient(180deg, #2990ff 0%, #2468d9 100%);
    box-shadow: none;
    font-size: 1.4rem;
  }

  .yf-login-brand-copy strong {
    display: inline;
    color: #111827;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: 2rem;
    line-height: 1.05;
  }

  .yf-login-brand-copy small {
    display: inline;
    margin-top: 0;
    color: #6b7280;
    font-size: 0.96rem;
  }

  body.yf-register-direct-page .yf-login-brand .yf-brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    font-size: 1.18rem;
  }

  .yf-login-domain-banner {
    display: grid;
    gap: 8px;
    padding: 20px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
  }

  .yf-login-domain-banner p {
    margin: 0;
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .yf-login-domain-banner a {
    color: #2b6cb0;
    font-weight: 700;
    text-decoration: none;
  }

  .yf-login-domain-banner a:hover {
    text-decoration: underline;
  }

  body.yf-register-direct-page .yf-login-domain-banner {
    gap: 4px;
    padding: 14px 16px;
  }

  body.yf-register-direct-page .yf-login-domain-banner p {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .yf-login-runtime {
    display: none;
  }

  .yf-login-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .yf-login-heading-row button {
    flex: 0 0 auto;
    border: 1px solid transparent;
    background: transparent;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .yf-heading-link,
  .yf-secondary-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid #3b82f6;
    border-radius: 14px;
    background: #fff;
    color: #2b6cb0;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
  }

  .yf-secondary-entry {
    width: 100%;
  }

  .yf-heading-link:hover,
  .yf-secondary-entry:hover {
    background: #f8fbff;
  }

  .yf-login-heading-row button.is-active {
    color: #111827;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: clamp(2.2rem, 7vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .yf-login-heading-row button:not(.is-active) {
    min-height: 54px;
    padding: 0 28px;
    border-color: #3b82f6;
    border-radius: 14px;
    background: #fff;
    color: #2b6cb0;
    font-size: 1.05rem;
    font-weight: 500;
  }

  .yf-login-panel {
    gap: 18px;
  }

  .yf-register-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.yf-register-direct-page .yf-login-panel {
    gap: 14px;
  }

  body.yf-register-direct-page .yf-form-field {
    gap: 8px;
  }

  body.yf-login-direct-page .yf-form-field span {
    color: #4b5563;
    font-size: 0.98rem;
    font-weight: 500;
  }

  body.yf-login-direct-page .input-shell,
  body.yf-login-direct-page .select-shell {
    min-height: 62px;
    border: 1px solid #cfd8dc;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #111827;
    font-size: 1.04rem;
  }

  body.yf-login-direct-page .input-shell:focus,
  body.yf-login-direct-page .select-shell:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  }

  body.yf-register-direct-page .input-shell {
    min-height: 56px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .yf-login-meta {
    color: #374151;
  }

  .yf-login-meta a {
    color: #111827;
    font-weight: 500;
  }

  body.yf-login-direct-page .yf-check-row input {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
  }

  .yf-login-actions {
    display: grid;
    gap: 12px;
  }

  .yf-register-helper {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  body.yf-register-direct-page .yf-register-helper {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  body.yf-login-direct-page .yf-primary-btn {
    min-height: 58px;
    border-radius: 16px;
    background: linear-gradient(180deg, #2b82f6 0%, #1d67d8 100%);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
    font-size: 1.1rem;
    font-weight: 700;
  }

  .yf-inline-text-btn {
    justify-self: start;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.92rem;
    padding: 0;
    cursor: pointer;
  }

  .yf-inline-text-btn:hover {
    color: #111827;
  }

  body.yf-login-direct-page #auth-flash {
    margin: 0;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #f8fbff;
  }

  body.yf-register-direct-page #auth-flash {
    padding: 12px 14px;
  }

  body.yf-login-direct-page #auth-flash p {
    color: #2b6cb0;
    line-height: 1.7;
  }

  .yf-login-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 4px;
  }

  body.yf-register-direct-page .yf-login-links {
    gap: 10px 14px;
    padding-top: 0;
  }

  .yf-login-links a {
    color: #6b7280;
    font-size: 0.94rem;
    text-decoration: none;
  }

  .yf-login-links a:hover {
    color: #111827;
  }

  body.yf-console-page .yf-support-pill,
  body.yf-login-direct-page .yf-support-pill {
    left: auto;
    right: 22px;
    bottom: 22px;
    transform: none;
    min-width: 0;
    justify-content: center;
    padding: 0 18px 0 14px;
    border-radius: 18px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8 62%, #2563eb 100%);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
  }

  body.yf-login-direct-page .yf-support-pill::after {
    content: none;
  }

  body.yf-login-direct-page .yf-support-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
  }

  body.yf-login-direct-page .yf-notice-modal {
    width: min(430px, calc(100% - 12px));
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  }

  body.yf-login-direct-page .yf-notice-head {
    padding: 20px 22px;
    background: linear-gradient(180deg, #ff6f78 0%, #ff5b65 100%);
  }

  body.yf-login-direct-page .yf-notice-head strong {
    font-size: 1.85rem;
  }

  body.yf-login-direct-page .yf-notice-body {
    gap: 18px;
    padding: 22px;
  }

  body.yf-login-direct-page .yf-notice-item {
    display: grid;
    gap: 10px;
  }

  body.yf-login-direct-page .yf-notice-item h3 {
    margin: 0;
    color: #d92d20;
    font-size: 1.4rem;
  }

  body.yf-login-direct-page .yf-notice-cta {
    min-height: 64px;
    border-radius: 18px;
    background: linear-gradient(180deg, #df1f26 0%, #c61d22 100%);
    box-shadow: 0 14px 28px rgba(198, 29, 34, 0.2);
    font-size: 1.22rem;
  }

  @media (max-width: 760px) {
    .yf-login-direct-shell {
      width: min(100% - 12px, 460px);
      padding-top: 20px;
    }

    body.yf-register-direct-page .yf-login-direct-shell {
      width: min(100% - 12px, 560px);
    }

    .yf-register-field-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .yf-login-heading-row {
      gap: 10px;
    }

    .yf-login-heading-row button.is-active {
      font-size: 2.1rem;
    }

    .yf-login-heading-row button:not(.is-active) {
      min-height: 50px;
      padding: 0 18px;
      font-size: 0.98rem;
    }

    .yf-heading-link {
      min-height: 50px;
      padding: 0 18px;
      font-size: 0.98rem;
    }

    body.yf-console-page .yf-support-pill,
    body.yf-login-direct-page .yf-support-pill {
      left: auto;
      right: 12px;
      bottom: 12px;
      min-width: 0;
      max-width: calc(100% - 24px);
      padding: 0 14px 0 12px;
      justify-content: center;
    }
  }

  .yf-pricing-shell {
    padding-bottom: 96px;
  }

  .yf-pricing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .yf-pricing-nav a {
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
  }

  .yf-pricing-nav a.is-current {
    color: #0f172a;
  }

  .yf-pricing-main {
    display: grid;
    gap: 28px;
    padding-top: 26px;
  }

  .yf-pricing-hero,
  .yf-pricing-stage {
    display: grid;
    gap: 20px;
  }

  .yf-billing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
  }

  .yf-billing-header h2,
  .yf-pricing-footer-grid .section-heading h2 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
  }

  .yf-pricing-page .billing-toggle {
    grid-template-columns: repeat(2, minmax(0, 180px));
    margin-top: 0;
  }

  .yf-pricing-page .billing-option {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.9);
    color: #475569;
    font-weight: 700;
  }

  .yf-pricing-page .billing-option.is-active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
  }

  .yf-pricing-grid {
    margin-top: 0;
  }

  .yf-pricing-page .plan-card,
  .yf-pricing-page .summary-card,
  .yf-pricing-page .glass-card,
  .yf-pricing-page .payment-card,
  .yf-pricing-page .note-card,
  .yf-pricing-page .summary-stat,
  .yf-pricing-page .yf-info-card {
    border-color: rgba(203, 213, 225, 0.88);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  }

  .yf-pricing-page .plan-card {
    padding: 24px;
    border-radius: 28px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .yf-pricing-page .plan-card:hover,
  .yf-pricing-page .plan-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 28px 54px rgba(15, 23, 42, 0.1);
  }

  .yf-pricing-page .plan-card.is-selected {
    border-color: rgba(37, 99, 235, 0.58);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12), 0 28px 54px rgba(37, 99, 235, 0.12);
  }

  .yf-plan-card-featured {
    background:
      radial-gradient(circle at top right, rgba(251, 113, 133, 0.12), transparent 28%),
      radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.1), transparent 26%),
      rgba(255, 255, 255, 0.94) !important;
  }

  .yf-plan-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .yf-plan-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .yf-pricing-page .plan-badge,
  .yf-pricing-page .summary-kicker,
  .yf-pricing-page .badge {
    color: #2563eb;
  }

  .yf-pricing-page .featured-ribbon {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
  }

  .yf-pricing-page .plan-card h3,
  .yf-pricing-page .payment-card h3,
  .yf-pricing-page .note-card h3,
  .yf-pricing-page .summary-card h3,
  .yf-pricing-page .summary-price strong,
  .yf-pricing-page .price-row strong {
    color: #0f172a;
  }

  .yf-pricing-page .plan-copy,
  .yf-pricing-page .plan-list li,
  .yf-pricing-page .price-unit,
  .yf-pricing-page .payment-card p,
  .yf-pricing-page .summary-card p,
  .yf-pricing-page .note-card p,
  .yf-pricing-page .summary-stat span,
  .yf-pricing-page .section-heading p,
  .yf-pricing-page .list-check li {
    color: #64748b;
  }

  .yf-pricing-page .btn-primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.18);
  }

  .yf-pricing-page .btn-secondary,
  .yf-pricing-page .btn-ghost {
    background: #fff;
    border-color: #dbe3ef;
    color: #334155;
  }

  .yf-pricing-page .btn-secondary:hover,
  .yf-pricing-page .btn-ghost:hover,
  .yf-pricing-page .btn-secondary:focus-visible,
  .yf-pricing-page .btn-ghost:focus-visible {
    border-color: #93c5fd;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
  }

  .yf-checkout-grid,
  .yf-pricing-footer-grid {
    display: grid;
    gap: 18px;
  }

  .yf-checkout-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  }

  .yf-payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yf-demo-note {
    margin-top: 18px;
  }

  .yf-crypto-panel {
    display: grid;
    gap: 18px;
    margin-top: 18px;
    padding: 24px;
    border-radius: 28px;
    background:
      radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 30%),
      radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.08), transparent 28%),
      rgba(255, 255, 255, 0.94);
  }

  .yf-crypto-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  .yf-crypto-header p {
    max-width: 720px;
  }

  .yf-crypto-currency-row,
  .yf-payment-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .yf-currency-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
  }

  .yf-currency-chip:hover,
  .yf-currency-chip:focus-visible {
    border-color: #93c5fd;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
  }

  .yf-currency-chip.is-active {
    border-color: rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.06));
    color: #1d4ed8;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
  }

  .yf-crypto-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .yf-crypto-card {
    min-height: 100%;
    padding: 22px;
  }

  .yf-crypto-card p {
    margin-bottom: 12px;
  }

  .yf-crypto-card p:last-child {
    margin-bottom: 0;
  }

  #northstar-payment-address {
    color: #0f172a;
    font-weight: 700;
    word-break: break-all;
  }

  #northstar-payment-amount,
  #northstar-payment-status {
    color: #334155;
    font-weight: 600;
  }

  .yf-payment-action-row {
    margin-top: 16px;
  }

  .yf-payment-action-row .btn {
    flex: 1 1 220px;
  }

  .yf-payment-action-row .btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    box-shadow: none;
  }

  .yf-pricing-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yf-pricing-page .notice-banner {
    margin: 0;
    border-radius: 20px;
    border-color: #bfdbfe;
    background: #eff6ff;
  }

  .yf-pricing-page .notice-banner p {
    color: #1d4ed8;
  }

  @media (max-width: 1080px) {
    .yf-pricing-nav,
    .yf-billing-header,
    .yf-checkout-grid,
    .yf-pricing-footer-grid {
      grid-template-columns: 1fr;
    }

    .yf-billing-header {
      display: grid;
      justify-content: stretch;
    }

    .yf-checkout-grid,
    .yf-pricing-footer-grid {
      grid-template-columns: 1fr;
    }

    .yf-crypto-header,
    .yf-crypto-grid {
      grid-template-columns: 1fr;
      display: grid;
    }
  }

  @media (max-width: 760px) {
    .yf-pricing-nav,
    .yf-payment-grid,
    .yf-pricing-grid,
    .yf-pricing-footer-grid {
      grid-template-columns: 1fr;
    }

    .yf-pricing-nav {
      display: grid;
      justify-content: stretch;
      gap: 10px;
    }

    .yf-pricing-page .billing-toggle {
      grid-template-columns: 1fr;
    }

    .yf-crypto-panel,
    .yf-crypto-card {
      padding: 20px;
    }

    .yf-crypto-currency-row,
    .yf-payment-action-row {
      flex-direction: column;
    }

    .yf-currency-chip,
    .yf-payment-action-row .btn {
      width: 100%;
    }
  }

  .yf-dashboard-shell,
  .yf-help-shell {
    padding-bottom: 96px;
  }

  .yf-console-layout {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 96px;
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 22px;
  }

  .yf-console-sidebar,
  .yf-console-main,
  .yf-console-stack,
  .yf-console-metrics,
  .yf-console-primary-grid,
  .yf-console-bottom-grid,
  .yf-console-overview-grid,
  .yf-console-node-grid,
  .yf-console-quick-links {
    display: grid;
    gap: 18px;
  }

  .yf-console-sidebar {
    align-content: start;
    position: sticky;
    top: 20px;
  }

  .yf-console-brand {
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  }

  .yf-console-domain,
  .yf-console-nav,
  .yf-console-sidecard,
  .yf-console-header,
  .yf-console-link-card {
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  }

  .yf-console-domain {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .yf-console-domain p {
    margin: 0;
    color: #4b5563;
    line-height: 1.75;
  }

  .yf-console-domain a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
  }

  .yf-console-nav {
    padding: 10px;
    border-radius: 20px;
  }

  .yf-console-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
  }

  .yf-console-nav a.is-current {
    background: linear-gradient(180deg, #2990ff 0%, #2468d9 100%);
    color: #fff;
  }

  .yf-console-sidecard {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .yf-console-sidecard h2,
  .yf-console-header h1,
  .yf-console-plan-meta strong,
  .yf-console-link-card strong {
    color: #111827;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  }

  .yf-console-sidecard h2 {
    margin: 8px 0 0;
    font-size: 1.7rem;
  }

  .yf-console-main {
    align-content: start;
  }

  .yf-console-plan-shell,
  .yf-console-secondary-grid {
    display: grid;
    gap: 18px;
  }

  .yf-console-plan-shell {
    grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.72fr);
  }

  .yf-console-plan-hero {
    gap: 22px;
    padding: 28px;
    border-radius: 24px;
  }

  .yf-console-plan-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  .yf-console-owner-copy {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
  }

  .yf-console-owner-copy strong {
    color: #111827;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: 1.04rem;
  }

  .yf-console-plan-core {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: start;
  }

  .yf-console-plan-copy {
    display: grid;
    gap: 14px;
  }

  .yf-console-plan-copy h1 {
    margin: 0;
    color: #111827;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.96;
  }

  .yf-console-plan-status {
    margin: 0;
    color: #2563eb;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .yf-console-plan-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }

  .yf-console-plan-price-row strong {
    color: #111827;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1;
  }

  .yf-console-plan-price-row span {
    color: #64748b;
    font-size: 0.98rem;
  }

  .yf-console-plan-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .yf-console-plan-nodebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .yf-console-inline-stat {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    background: #f8fbff;
  }

  .yf-console-inline-stat span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .yf-console-inline-stat strong {
    color: #111827;
    font-size: 1.02rem;
    word-break: break-word;
  }

  .yf-console-secondary-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .yf-console-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 24px;
  }

  .yf-console-heading {
    display: grid;
    gap: 12px;
  }

  .yf-console-header h1 {
    margin: 0;
    font-size: clamp(2.7rem, 4.4vw, 4.2rem);
    line-height: 0.98;
  }

  .yf-console-header .page-lead,
  .yf-console-sidecard p,
  .yf-console-link-card span,
  .yf-console-plan-meta span,
  .yf-console-plan-meta small {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
  }

  .yf-console-header-meta {
    display: grid;
    justify-items: end;
    gap: 10px;
  }

  .yf-console-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .yf-console-primary-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.74fr);
  }

  .yf-console-wide {
    align-content: start;
  }

  .yf-console-overview-grid {
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  }

  .yf-console-plan-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
  }

  .yf-console-plan-card h3 {
    margin: 0;
  }

  .yf-console-plan-meta {
    display: grid;
    gap: 6px;
  }

  .yf-console-plan-meta strong {
    font-size: 1.25rem;
  }

  .yf-console-node-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yf-console-subscriptions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yf-console-bottom-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .yf-console-quick-links {
    grid-template-columns: 1fr;
  }

  .yf-console-link-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    text-decoration: none;
  }

  .yf-console-link-card:hover {
    border-color: #93c5fd;
  }

  .yf-console-page .yf-panel,
  .yf-console-page .yf-metric-card,
  .yf-console-page .kv-item,
  .yf-console-page .subscription-card,
  .yf-console-page .feed-list li,
  .yf-console-page .note-card {
    border-radius: 20px;
  }

  .yf-console-page .notice-banner {
    border-radius: 18px;
  }

  @media (max-width: 1180px) {
    .yf-console-layout,
    .yf-console-plan-shell,
    .yf-console-secondary-grid,
    .yf-console-primary-grid,
    .yf-console-bottom-grid,
    .yf-console-overview-grid,
    .yf-console-metrics,
    .yf-console-subscriptions {
      grid-template-columns: 1fr;
    }

    .yf-console-sidebar {
      position: static;
    }
  }

  @media (max-width: 760px) {
    .yf-console-layout {
      width: min(100% - 14px, 1320px);
      padding-top: 14px;
    }

    .yf-console-plan-hero {
      padding: 22px 18px;
      border-radius: 20px;
    }

    .yf-console-plan-topline,
    .yf-console-plan-price-row {
      display: grid;
      justify-content: stretch;
    }

    .yf-console-plan-core,
    .yf-console-plan-summary-grid,
    .yf-console-plan-nodebar,
    .yf-console-secondary-grid,
    .yf-console-node-grid,
    .yf-console-page .key-value-grid {
      grid-template-columns: 1fr;
    }

    .yf-console-header {
      display: grid;
      padding: 20px 18px;
      border-radius: 20px;
    }

    .yf-console-header-meta {
      justify-items: stretch;
    }

    .yf-console-header-meta .btn,
    .yf-console-link-card {
      width: 100%;
    }

    .yf-console-node-grid,
    .yf-console-page .key-value-grid,
    .yf-console-page .subscription-actions {
      grid-template-columns: 1fr;
      flex-direction: column;
    }

    .yf-console-page .subscription-actions .btn,
    .yf-console-page .footer-links a,
    .yf-console-nav a {
      width: 100%;
    }
  }

  .yf-dashboard-main,
  .yf-help-main {
    display: grid;
    gap: 28px;
    padding-top: 26px;
  }

  .yf-dashboard-hero,
  .yf-help-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 22px;
  }

  .yf-dashboard-copy,
  .yf-help-copy {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 10px 0 0;
  }

  .yf-dashboard-copy h1,
  .yf-help-copy h1 {
    margin: 0;
    max-width: 12ch;
    color: #0f172a;
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    line-height: 1.02;
  }

  .yf-dashboard-page .page-lead,
  .yf-help-page .page-lead {
    max-width: 760px;
    color: #64748b;
    line-height: 1.8;
  }

  .yf-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .yf-metric-card,
  .yf-help-entry,
  .yf-dashboard-page .glass-card,
  .yf-help-page .glass-card {
    border: 1px solid rgba(203, 213, 225, 0.88);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  }

  .yf-metric-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 24px;
  }

  .yf-metric-card span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .yf-metric-card strong {
    color: #0f172a;
    font-size: 1.3rem;
  }

  .yf-metric-card p {
    margin: 0;
    color: #64748b;
  }

  .yf-dashboard-grid,
  .yf-help-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .yf-help-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .yf-panel,
  .yf-help-faq,
  .yf-help-entry {
    display: grid;
    gap: 20px;
    padding: 26px;
    border-radius: 28px;
  }

  .yf-dashboard-page .section-heading h2,
  .yf-help-page .section-heading h2,
  .yf-help-entry h3,
  .yf-dashboard-page .subscription-panel__heading h3 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  }

  .yf-dashboard-page .section-heading p,
  .yf-help-page .section-heading p,
  .yf-dashboard-page .subscription-panel__heading p,
  .yf-help-entry p {
    color: #64748b;
  }

  .yf-dashboard-page .key-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .yf-dashboard-page .kv-item {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid #dbe7f5;
    background: #f8fbff;
  }

  .yf-dashboard-page .kv-item span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .yf-dashboard-page .kv-item strong {
    color: #0f172a;
    font-size: 1.02rem;
    word-break: break-word;
  }

  .yf-dashboard-page .subscription-panel,
  .yf-dashboard-page .subscription-stack {
    display: grid;
    gap: 14px;
  }

  .yf-dashboard-page .subscription-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid #dbe7f5;
    background: #f8fbff;
  }

  .yf-dashboard-page .subscription-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .yf-dashboard-page .subscription-card__meta span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .yf-dashboard-page .subscription-card__meta strong {
    color: #0f172a;
  }

  .yf-dashboard-page .subscription-url {
    margin: 0;
    color: #1d4ed8;
    font-family: "Space Grotesk", monospace;
    word-break: break-all;
  }

  .yf-dashboard-page .subscription-actions,
  .yf-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .yf-dashboard-page .btn,
  .yf-help-page .btn {
    min-height: 48px;
    border-radius: 16px;
  }

  .yf-dashboard-page .btn-primary,
  .yf-help-page .btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
  }

  .yf-dashboard-page .btn-secondary,
  .yf-help-page .btn-secondary,
  .yf-dashboard-page .btn-ghost,
  .yf-help-page .btn-ghost {
    background: #fff;
    border-color: #dbe3ef;
    color: #334155;
  }

  .yf-dashboard-page .notice-banner,
  .yf-help-page .notice-banner {
    margin: 0;
    border-radius: 20px;
    border-color: #bfdbfe;
    background: #eff6ff;
  }

  .yf-dashboard-page .notice-banner p,
  .yf-help-page .notice-banner p {
    color: #1d4ed8;
  }

  .yf-dashboard-page .feed-list,
  .yf-help-page .footer-links {
    margin: 0;
  }

  .yf-dashboard-page .feed-list li {
    border-radius: 20px;
    border: 1px solid #dbe7f5;
    background: #f8fbff;
  }

  .yf-dashboard-links {
    gap: 16px;
  }

  .yf-help-entry .card-kicker,
  .yf-help-page .accordion-trigger span {
    color: #2563eb;
  }

  .yf-help-entry h3 {
    font-size: 1.32rem;
  }

  .yf-help-page .accordion-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }

  .yf-help-accordion {
    display: grid;
    gap: 14px;
  }

  .yf-help-item {
    overflow: hidden;
    border: 1px solid #dbe7f5;
    border-radius: 22px;
    background: #f8fbff;
  }

  .yf-help-page .accordion-trigger strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.6;
  }

  .yf-help-page .accordion-trigger span {
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .yf-help-page .accordion-panel {
    padding: 0 20px 20px;
    color: #475569;
    line-height: 1.8;
  }

  @media (max-width: 1080px) {
    .yf-dashboard-hero,
    .yf-help-hero,
    .yf-help-entry-grid,
    .yf-dashboard-grid,
    .yf-help-bottom-grid {
      grid-template-columns: 1fr;
    }

    .yf-dashboard-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 760px) {
    .yf-dashboard-copy h1,
    .yf-help-copy h1 {
      max-width: none;
      font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .yf-dashboard-metrics,
    .yf-dashboard-page .key-value-grid {
      grid-template-columns: 1fr;
    }

    .yf-panel,
    .yf-help-faq,
    .yf-help-entry {
      padding: 22px 18px;
    }

    .yf-dashboard-page .subscription-actions,
    .yf-action-row,
    .yf-help-page .footer-links {
      flex-direction: column;
    }

    .yf-dashboard-page .subscription-actions .btn,
    .yf-action-row .btn {
      width: 100%;
    }

    .yf-help-page .accordion-trigger {
      display: grid;
      justify-content: stretch;
    }
  }

  .yf-admin-shell {
    padding-bottom: 96px;
  }

  .yf-admin-main {
    display: grid;
    gap: 28px;
    padding-top: 26px;
  }

  .yf-admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 360px);
    gap: 24px;
    align-items: stretch;
  }

  .yf-admin-copy {
    display: grid;
    gap: 18px;
    padding: 10px 4px 10px 2px;
  }

  .yf-admin-copy h1 {
    margin: 0;
    max-width: 11ch;
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    font-size: clamp(2.8rem, 4.9vw, 4.6rem);
    line-height: 0.98;
    color: #0f172a;
  }

  .yf-admin-page .page-lead,
  .yf-admin-page .table-caption,
  .yf-admin-page .admin-message,
  .yf-admin-page .signal-list,
  .yf-admin-page .list-check,
  .yf-admin-page .footer-links,
  .yf-admin-page .form-field span,
  .yf-admin-page .member-row small,
  .yf-admin-page .table-empty {
    color: #475569;
  }

  .yf-admin-page .page-lead {
    margin: 0;
    max-width: 62ch;
    line-height: 1.9;
    font-size: 1.03rem;
  }

  .yf-admin-page .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .yf-admin-page .chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.9);
    background: rgba(255, 255, 255, 0.8);
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  }

  .yf-admin-page .chip.chip-accent {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: transparent;
    color: #fff;
  }

  .yf-admin-page .glass-card,
  .yf-admin-page .notice-banner {
    border: 1px solid rgba(203, 213, 225, 0.82);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
  }

  .yf-panel {
    padding: 26px;
    border-radius: 30px;
  }

  .yf-admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .yf-admin-metrics-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yf-metric-card {
    padding: 22px 20px;
    border-radius: 26px;
    border: 1px solid rgba(203, 213, 225, 0.84);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  }

  .yf-metric-card span,
  .yf-admin-page .section-heading .eyebrow,
  .yf-admin-page .card-kicker {
    display: block;
    margin: 0;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .yf-metric-card strong,
  .yf-admin-page .section-heading h2,
  .yf-admin-page .yf-runtime-card h2,
  .yf-admin-page .member-row strong {
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  }

  .yf-metric-card strong {
    display: block;
    margin-top: 14px;
    color: #0f172a;
    font-size: 1.2rem;
  }

  .yf-metric-card p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.75;
  }

  .yf-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 20px;
  }

  .yf-admin-page .section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
  }

  .yf-admin-page .section-heading h2,
  .yf-admin-page .yf-runtime-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.8rem;
  }

  .yf-admin-page .yf-runtime-card {
    display: grid;
    align-content: start;
    gap: 14px;
  }

  .yf-admin-page .yf-runtime-card ul,
  .yf-admin-page .list-check {
    margin: 0;
    padding-left: 18px;
  }

  .yf-admin-page .yf-runtime-card li,
  .yf-admin-page .list-check li {
    margin: 0;
    line-height: 1.8;
  }

  .yf-admin-page .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .yf-admin-page .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
  }

  .yf-admin-page .footer-links a:hover {
    background: rgba(37, 99, 235, 0.14);
  }

  .yf-admin-page .admin-form-shell {
    display: grid;
    gap: 16px;
  }

  .yf-admin-page .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .yf-admin-page .form-field {
    display: grid;
    gap: 10px;
  }

  .yf-admin-page .form-field span {
    font-weight: 600;
  }

  .yf-admin-page .yf-action-row,
  .yf-admin-page .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .yf-admin-page .btn-primary,
  .yf-admin-page .mini-action-btn {
    border: 0;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.18);
  }

  .yf-admin-page .btn-secondary {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
  }

  .yf-admin-page .btn-primary,
  .yf-admin-page .btn-secondary,
  .yf-admin-page .mini-action-btn {
    min-height: 48px;
    border-radius: 16px;
    padding: 0 18px;
    font-weight: 700;
  }

  .yf-admin-page .mini-action-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    cursor: pointer;
  }

  .yf-admin-page .admin-message {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    line-height: 1.75;
  }

  .yf-admin-page .table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
  }

  .yf-admin-table {
    display: grid;
    gap: 12px;
  }

  .yf-admin-page .member-row {
    align-items: center;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    color: #0f172a;
  }

  .yf-admin-page .member-row-head {
    border-style: dashed;
    background: rgba(241, 245, 249, 0.9);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: none;
  }

  .yf-admin-page .member-row strong {
    color: #0f172a;
  }

  .yf-admin-page .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .yf-admin-page .status-pill.is-online,
  .yf-admin-page .status-pill.is-active {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
  }

  .yf-admin-page .status-pill.is-pending,
  .yf-admin-page .status-pill.is-limit {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
  }

  .yf-admin-page .status-pill.is-frozen,
  .yf-admin-page .status-pill.is-removed {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
  }

  .yf-admin-page .notice-banner {
    margin: 0;
    border-radius: 24px;
  }

  .yf-dashboard-links {
    display: grid;
    gap: 16px;
  }

  @media (max-width: 1080px) {
    .yf-admin-hero,
    .yf-admin-grid,
    .yf-admin-metrics,
    .yf-admin-metrics-compact {
      grid-template-columns: 1fr;
    }

    .yf-admin-copy h1 {
      max-width: none;
    }
  }

  @media (max-width: 760px) {
    .yf-admin-copy h1 {
      font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .yf-panel,
    .yf-metric-card {
      padding: 22px 18px;
      border-radius: 24px;
    }

    .yf-admin-page .table-toolbar,
    .yf-admin-page .footer-links,
    .yf-admin-page .yf-action-row,
    .yf-admin-page .table-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .yf-admin-page .footer-links a,
    .yf-admin-page .btn-primary,
    .yf-admin-page .btn-secondary,
    .yf-admin-page .mini-action-btn {
      width: 100%;
      justify-content: center;
    }

    .yf-admin-page .form-grid {
      grid-template-columns: 1fr;
    }

    .yf-admin-page .table-cols-members,
    .yf-admin-page .table-cols-orders,
    .yf-admin-page .table-cols-personal-devices,
    .yf-admin-page .member-row,
    .yf-admin-page .member-row-head {
      grid-template-columns: 1fr;
    }
  }

  body.yf-auth-page:not(.yf-login-direct-page) {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-auth-halo,
  body.yf-auth-page:not(.yf-login-direct-page) .orb {
    opacity: 0.45;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-auth-grid,
  body.yf-auth-page:not(.yf-login-direct-page) .grid-glow {
    opacity: 0.32;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-topbar {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    backdrop-filter: none;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-brand-mark {
    border-radius: 18px;
    background: linear-gradient(180deg, #2990ff 0%, #2468d9 100%);
    box-shadow: none;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-domain-note {
    color: #4b5563;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .glass-card,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-runtime-card,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-feature-card,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-metric-card,
  body.yf-auth-page:not(.yf-login-direct-page) .summary-card,
  body.yf-auth-page:not(.yf-login-direct-page) .payment-card,
  body.yf-auth-page:not(.yf-login-direct-page) .plan-card,
  body.yf-auth-page:not(.yf-login-direct-page) .note-card,
  body.yf-auth-page:not(.yf-login-direct-page) .kv-item,
  body.yf-auth-page:not(.yf-login-direct-page) .subscription-card,
  body.yf-auth-page:not(.yf-login-direct-page) .member-row,
  body.yf-auth-page:not(.yf-login-direct-page) .notice-banner {
    border-color: #e5e7eb;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    backdrop-filter: none;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-panel,
  body.yf-auth-page:not(.yf-login-direct-page) .plan-card,
  body.yf-auth-page:not(.yf-login-direct-page) .summary-card,
  body.yf-auth-page:not(.yf-login-direct-page) .payment-card,
  body.yf-auth-page:not(.yf-login-direct-page) .note-card,
  body.yf-auth-page:not(.yf-login-direct-page) .subscription-card,
  body.yf-auth-page:not(.yf-login-direct-page) .kv-item,
  body.yf-auth-page:not(.yf-login-direct-page) .member-row,
  body.yf-auth-page:not(.yf-login-direct-page) .member-row-head {
    border-radius: 18px;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-runtime-card,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-feature-card,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-metric-card,
  body.yf-auth-page:not(.yf-login-direct-page) .plan-card,
  body.yf-auth-page:not(.yf-login-direct-page) .summary-card,
  body.yf-auth-page:not(.yf-login-direct-page) .payment-card,
  body.yf-auth-page:not(.yf-login-direct-page) .subscription-card,
  body.yf-auth-page:not(.yf-login-direct-page) .kv-item,
  body.yf-auth-page:not(.yf-login-direct-page) .note-card {
    border-width: 1px;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .chip,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-pill-row span,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-plan-chip,
  body.yf-auth-page:not(.yf-login-direct-page) .badge,
  body.yf-auth-page:not(.yf-login-direct-page) .plan-badge,
  body.yf-auth-page:not(.yf-login-direct-page) .summary-kicker {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    color: #2b6cb0;
    box-shadow: none;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .chip.chip-accent,
  body.yf-auth-page:not(.yf-login-direct-page) .billing-option.is-active,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-tab-row button.is-active,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-plan-card-featured .btn,
  body.yf-auth-page:not(.yf-login-direct-page) .featured-ribbon {
    background: linear-gradient(180deg, #2990ff 0%, #2468d9 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
  }

  body.yf-auth-page:not(.yf-login-direct-page) .btn-primary,
  body.yf-auth-page:not(.yf-login-direct-page) .mini-action-btn,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-admin-page .btn-primary {
    border: 0;
    background: linear-gradient(180deg, #2990ff 0%, #2468d9 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
  }

  body.yf-auth-page:not(.yf-login-direct-page) .btn-secondary,
  body.yf-auth-page:not(.yf-login-direct-page) .yf-help-link,
  body.yf-auth-page:not(.yf-login-direct-page) .footer-links a,
  body.yf-auth-page:not(.yf-login-direct-page) .billing-option,
  body.yf-auth-page:not(.yf-login-direct-page) .table-actions .mini-action-btn:last-child {
    border: 1px solid #93c5fd;
    background: #fff;
    color: #2b6cb0;
    box-shadow: none;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .input-shell,
  body.yf-auth-page:not(.yf-login-direct-page) .select-shell {
    border: 1px solid #cfd8dc;
    background: #fff;
    box-shadow: none;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .input-shell:focus,
  body.yf-auth-page:not(.yf-login-direct-page) .select-shell:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  }

  body.yf-auth-page:not(.yf-login-direct-page) .status-pill.is-online,
  body.yf-auth-page:not(.yf-login-direct-page) .status-pill.is-active {
    background: #eefaf3;
    color: #15803d;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .status-pill.is-pending,
  body.yf-auth-page:not(.yf-login-direct-page) .status-pill.is-limit {
    background: #fff7ed;
    color: #c2410c;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .status-pill.is-frozen,
  body.yf-auth-page:not(.yf-login-direct-page) .status-pill.is-removed {
    background: #fef2f2;
    color: #b91c1c;
  }

  body.yf-auth-page:not(.yf-login-direct-page) .yf-support-pill {
    background: linear-gradient(90deg, #2563eb, #1d4ed8 65%, #2563eb 100%);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.18);
  }

  @media (max-width: 760px) {
    body.yf-auth-page:not(.yf-login-direct-page) .yf-topbar {
      border-radius: 16px;
    }

    body.yf-auth-page:not(.yf-login-direct-page) .glass-card,
    body.yf-auth-page:not(.yf-login-direct-page) .yf-runtime-card,
    body.yf-auth-page:not(.yf-login-direct-page) .yf-feature-card,
    body.yf-auth-page:not(.yf-login-direct-page) .yf-metric-card,
    body.yf-auth-page:not(.yf-login-direct-page) .plan-card,
    body.yf-auth-page:not(.yf-login-direct-page) .summary-card,
    body.yf-auth-page:not(.yf-login-direct-page) .payment-card,
    body.yf-auth-page:not(.yf-login-direct-page) .note-card,
    body.yf-auth-page:not(.yf-login-direct-page) .member-row,
    body.yf-auth-page:not(.yf-login-direct-page) .member-row-head {
      border-radius: 16px;
    }
  }

  body.yf-login-direct-page:not(.yf-register-direct-page),
  body.yf-console-page {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: #1f2937;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) {
    background:
      radial-gradient(circle at left bottom, rgba(250, 214, 214, 0.35), transparent 28%),
      radial-gradient(circle at right center, rgba(254, 235, 200, 0.42), transparent 26%),
      linear-gradient(180deg, #f9fbfd 0%, #f5f7fb 100%);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-direct-shell {
    width: min(1180px, calc(100% - 48px));
    padding: 20px 0 110px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-stage {
    display: grid;
    grid-template-columns: minmax(420px, 450px) minmax(280px, 320px);
    justify-content: center;
    align-items: start;
    gap: 104px;
    min-height: calc(100vh - 44px);
    padding-top: 62px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-card {
    gap: 18px;
    padding: 38px 38px 22px;
    border: 1px solid #e6ebf2;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand {
    justify-content: center;
    gap: 20px;
    padding-top: 4px;
  }

  .yf-brand-mark-sail {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .yf-brand-mark-sail svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.16));
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand .yf-brand-mark {
    width: 86px;
    height: 86px;
    border-radius: 28px;
    font-size: 1.65rem;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand .yf-login-brand-copy {
    display: grid;
    gap: 6px;
    align-content: center;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand .yf-login-brand-copy strong {
    display: block;
    font-family: "Kaiti SC", "STKaiti", "Noto Serif SC", serif;
    font-size: 3.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand .yf-login-brand-copy small {
    display: block;
    color: #7c8ba1;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-domain-banner {
    display: flex;
    justify-content: center;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: #f3f4f6;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-domain-banner p {
    font-size: 0.96rem;
    line-height: 1.5;
    color: #6b7280;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-heading-row {
    align-items: flex-end;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-heading-row button.is-active {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 2.05rem;
    font-weight: 700;
    letter-spacing: 0;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-heading-link {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    border-color: #8fb9ea;
    font-size: 0.98rem;
    font-weight: 600;
    color: #2f7ac8;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-panel {
    gap: 16px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-form-field {
    gap: 8px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-form-field span,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-meta,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-meta a {
    font-size: 0.96rem;
    color: #6b7280;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-input-shell,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-select-shell {
    font-family: inherit;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .input-shell,
  body.yf-login-direct-page:not(.yf-register-direct-page) .select-shell {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #d2d9e2;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: none;
  }

  .yf-password-field {
    position: relative;
  }

  .yf-password-field::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 15px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background:
      radial-gradient(circle at center, rgba(47, 124, 201, 0.16) 0 36%, transparent 38%),
      linear-gradient(135deg, transparent 42%, #7aa5d4 44%, #7aa5d4 56%, transparent 58%);
    opacity: 0.92;
    pointer-events: none;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-actions {
    gap: 10px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-primary-btn,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-secondary-entry {
    min-height: 44px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: none;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-primary-btn {
    background: linear-gradient(180deg, #2f7cc9 0%, #2b6fb7 100%);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-secondary-entry {
    border: 0;
    background: linear-gradient(180deg, #337fca 0%, #2b72bc 100%);
    color: #fff;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-secondary-entry:hover {
    background: linear-gradient(180deg, #2f7cc9 0%, #2b6fb7 100%);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-auth-flash {
    border: 0;
    background: transparent;
    padding: 0;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-auth-flash p {
    color: #a1aab8;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-inline-text-btn {
    justify-self: center;
    font-size: 0.82rem;
    color: #94a3b8;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-links,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-runtime {
    display: none;
  }

  .yf-login-side-notice {
    display: grid;
    width: 100%;
    border: 1px solid #f4c8ce;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(248, 113, 113, 0.12);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice {
    align-self: start;
    margin-top: 150px;
  }

  .yf-login-side-notice.is-hidden {
    display: none;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-head {
    padding: 14px 18px;
    background: linear-gradient(180deg, #ff6f73 0%, #ff6166 100%);
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-head strong {
    font-size: 1.1rem;
    font-weight: 700;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-body {
    gap: 14px;
    padding: 16px 18px 18px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-item {
    gap: 8px;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-item h3 {
    color: #ef4444;
    font-size: 0.98rem;
    font-weight: 700;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-item p,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-domain-code {
    color: #7b8798;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-notice-cta {
    min-height: 42px;
    border-radius: 10px;
    font-size: 0.96rem;
  }

  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice .yf-domain-code {
    min-height: auto;
    padding: 0;
    background: transparent;
    font-family: inherit;
  }

  .yf-help-fab {
    position: fixed;
    left: 26px;
    bottom: 22px;
    z-index: 18;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #3b82f6;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
  }

  body.yf-console-page .yf-support-pill,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-support-pill {
    right: 22px;
    bottom: 22px;
    left: auto;
    min-height: 40px;
    padding: 0 54px 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2373d1 0%, #1f6ac4 100%);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
    font-size: 0.92rem;
    font-weight: 600;
  }

  body.yf-console-page .yf-support-pill::after,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-support-pill::after {
    content: "?";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #21c172 0%, #15a34a 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(21, 163, 74, 0.22);
  }

  body.yf-console-page .yf-support-icon,
  body.yf-login-direct-page:not(.yf-register-direct-page) .yf-support-icon {
    width: 22px;
    height: 22px;
    background: transparent;
  }

  body.yf-console-page {
    background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  }

  body.yf-console-page .orb,
  body.yf-console-page .grid-glow {
    display: none;
  }

  .yf-merchant-layout {
    width: min(1360px, calc(100% - 8px));
    min-height: 100vh;
    padding: 0;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 0;
  }

  .yf-merchant-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 18px 14px 22px 12px;
    gap: 18px;
    border-right: 1px dashed #d8dfea;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
  }

  .yf-merchant-brand {
    padding: 12px 18px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .yf-merchant-brand .yf-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.2rem;
  }

  .yf-merchant-brand .yf-brand-copy strong {
    display: block;
    font-family: "Kaiti SC", "STKaiti", "Noto Serif SC", serif;
    font-size: 2.26rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .yf-merchant-brand .yf-brand-copy small {
    display: block;
    margin-top: 3px;
    color: #8b95a7;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .yf-merchant-nav {
    display: grid;
    gap: 6px;
  }

  .yf-merchant-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    color: #6b7280;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
  }

  .yf-merchant-nav a:hover {
    background: #f4f7fb;
    color: #2f7ac8;
  }

  .yf-merchant-nav a.is-current {
    background: #eaf2fd;
    color: #2f7ac8;
  }

  .yf-merchant-nav-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #edf3fc;
    color: #63a0df;
    font-size: 0.78rem;
    font-weight: 700;
    flex: 0 0 auto;
  }

  .yf-merchant-sidecard {
    display: grid;
    gap: 8px;
    padding: 16px 14px;
    border: 1px solid #e6ecf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  }

  .yf-merchant-sidecard-title {
    margin: 0;
    color: #9aa4b2;
    font-size: 0.86rem;
  }

  .yf-merchant-sidecard h2 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 700;
  }

  .yf-merchant-sidecard p {
    margin: 0;
    color: #7b8798;
    line-height: 1.55;
  }

  .yf-merchant-side-illustration {
    position: relative;
    min-height: 110px;
    border: 1px solid #e6ecf4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
  }

  .yf-merchant-side-illustration span {
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.16);
  }

  .yf-merchant-side-illustration span:nth-child(1) {
    width: 72px;
    height: 72px;
    left: 22px;
    bottom: 16px;
  }

  .yf-merchant-side-illustration span:nth-child(2) {
    width: 24px;
    height: 24px;
    left: 102px;
    top: 24px;
    background: rgba(248, 113, 113, 0.22);
  }

  .yf-merchant-side-illustration span:nth-child(3) {
    width: 48px;
    height: 48px;
    right: 20px;
    bottom: 18px;
    background: rgba(129, 140, 248, 0.14);
  }

  .yf-merchant-main {
    display: grid;
    gap: 20px;
    padding: 18px 22px 110px;
    align-content: start;
  }

  .yf-merchant-topbar {
    display: grid;
    grid-template-columns: auto minmax(210px, 260px) 1fr auto;
    align-items: center;
    gap: 16px;
  }

  .yf-merchant-menu {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #deebfa;
    border-radius: 10px;
    background: #ecf4ff;
  }

  .yf-merchant-menu span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #4b88d0;
  }

  .yf-merchant-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #d7e1ee;
    border-radius: 10px;
    background: #fff;
    color: #9aa4b2;
  }

  .yf-merchant-search input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font: inherit;
    outline: none;
  }

  .yf-merchant-search-icon {
    color: #94a3b8;
  }

  .yf-merchant-spacer {
    min-width: 0;
  }

  .yf-merchant-user {
    position: relative;
    justify-self: end;
  }

  .yf-merchant-user summary {
    list-style: none;
    cursor: pointer;
  }

  .yf-merchant-user summary::-webkit-details-marker {
    display: none;
  }

  .yf-merchant-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #eef5ff 0%, #d9ecff 100%);
    color: #2f7ac8;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.12);
  }

  .yf-merchant-avatar.is-large {
    width: 48px;
    height: 48px;
  }

  .yf-merchant-user-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    border: 1px solid #e6ecf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    z-index: 8;
  }

  .yf-merchant-user-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 12px;
  }

  .yf-merchant-user-head strong {
    display: block;
    font-size: 1rem;
  }

  .yf-merchant-user-head p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 0.9rem;
  }

  .yf-merchant-user-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
  }

  .yf-merchant-user-tabs a {
    display: grid;
    place-items: center;
    min-height: 44px;
    color: #7b8798;
    font-weight: 600;
    text-decoration: none;
  }

  .yf-merchant-user-tabs a.is-current {
    color: #2f7ac8;
    box-shadow: inset 0 -2px 0 #2f7ac8;
  }

  .yf-merchant-user-links {
    display: grid;
    gap: 2px;
    padding: 10px 10px 12px;
  }

  .yf-merchant-user-links a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
  }

  .yf-merchant-user-links a.is-current {
    background: #dbeafe;
    color: #2f7ac8;
  }

  .yf-merchant-user-links a:last-child {
    color: #ef4444;
  }

  .yf-merchant-flash {
    margin: 0;
    border: 1px solid #e6ecf4;
    border-radius: 12px;
    background: #fff;
  }

  .yf-merchant-flash p {
    color: #7b8798;
    font-size: 0.92rem;
  }

  .yf-merchant-overview-grid,
  .yf-merchant-content-grid {
    display: grid;
    gap: 18px;
  }

  .yf-merchant-overview-grid {
    grid-template-columns: minmax(0, 1.28fr) 320px;
  }

  .yf-merchant-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yf-merchant-card,
  .yf-merchant-stat-card,
  .yf-merchant-table-card {
    border: 1px solid #e6ecf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  }

  .yf-merchant-card,
  .yf-merchant-table-card {
    padding: 20px;
  }

  .yf-merchant-table-card {
    position: relative;
  }

  .yf-merchant-card-head,
  .yf-merchant-section-head,
  .yf-merchant-table-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .yf-merchant-card-label {
    margin: 0;
    color: #9aa4b2;
    font-size: 0.86rem;
    font-weight: 600;
  }

  .yf-merchant-card-head h2,
  .yf-merchant-section-head h2,
  .yf-merchant-table-toolbar h2 {
    margin: 6px 0 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: #111827;
  }

  .yf-merchant-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1f7ff;
    color: #2f7ac8;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .yf-merchant-hero-card {
    display: grid;
    gap: 18px;
  }

  .yf-merchant-hero-amount {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 18px 10px;
    text-align: center;
  }

  .yf-merchant-hero-amount span {
    color: #6b7280;
    font-size: 0.98rem;
  }

  .yf-merchant-hero-amount strong {
    color: #1f2937;
    font-size: 1.28rem;
    font-weight: 700;
  }

  .yf-merchant-hero-amount em {
    color: #111827;
    font-style: normal;
    font-size: 3.05rem;
    font-weight: 700;
    letter-spacing: -0.05em;
  }

  .yf-merchant-refund-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e6ecf4;
    border-radius: 14px;
    background: #fff;
  }

  .yf-merchant-refund-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
    color: #2f7ac8;
    font-weight: 700;
  }

  .yf-merchant-refund-copy strong {
    display: block;
    color: #374151;
    font-size: 1rem;
  }

  .yf-merchant-refund-copy p {
    margin: 6px 0 0;
    color: #ef4444;
    line-height: 1.55;
  }

  .yf-merchant-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .yf-merchant-button-row .btn {
    min-height: 42px;
    border-radius: 10px;
    box-shadow: none;
  }

  .yf-merchant-summary-stack {
    display: grid;
    gap: 18px;
  }

  .yf-merchant-stat-card {
    padding: 18px 20px;
  }

  .yf-merchant-stat-card span {
    display: block;
    color: #7b8798;
    font-size: 0.94rem;
  }

  .yf-merchant-stat-card strong {
    display: block;
    margin-top: 10px;
    color: #111827;
    font-size: 1.86rem;
    font-weight: 700;
  }

  .yf-merchant-stat-card p {
    margin: 8px 0 0;
    color: #ef4444;
    line-height: 1.6;
  }

  .yf-merchant-info-grid,
  .yf-merchant-mini-stats {
    display: grid;
    gap: 12px;
  }

  .yf-merchant-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 16px 0 18px;
  }

  .yf-merchant-info-grid article,
  .yf-merchant-mini-stats article {
    padding: 14px 16px;
    border: 1px solid #e8eef6;
    border-radius: 14px;
    background: #fbfdff;
  }

  .yf-merchant-info-grid span,
  .yf-merchant-mini-stats span,
  .yf-merchant-subscription-meta span {
    display: block;
    color: #94a3b8;
    font-size: 0.86rem;
  }

  .yf-merchant-info-grid strong,
  .yf-merchant-mini-stats strong,
  .yf-merchant-subscription-meta strong {
    display: block;
    margin-top: 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
  }

  .yf-merchant-subscription-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
  }

  .yf-merchant-subscription-item {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e6ecf4;
    border-radius: 14px;
    background: #fbfdff;
  }

  .yf-merchant-subscription-item .subscription-url {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    word-break: break-all;
  }

  .yf-merchant-table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7b8798;
    font-size: 0.94rem;
  }

  .yf-merchant-mini-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
  }

  .yf-merchant-buy-fab {
    position: absolute;
    top: 28px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f7cc9 0%, #2b6fb7 100%);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
  }

  .yf-merchant-buy-fab span:first-child {
    font-size: 1.08rem;
    line-height: 1;
  }

  .yf-merchant-hidden-bindings {
    display: none;
  }

  .yf-merchant-list-table {
    margin-top: 18px;
    border: 1px solid #e6ecf4;
    border-radius: 14px;
    overflow: hidden;
  }

  .yf-merchant-list-head,
  .yf-merchant-device-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
  }

  .yf-merchant-list-head {
    padding: 14px 16px;
    background: #f9fbfe;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .yf-merchant-device-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .yf-merchant-device-list li {
    padding: 16px;
    border-top: 1px solid #eef2f7;
    background: #fff;
  }

  .yf-merchant-device-list li:first-child {
    border-top: 0;
  }

  .yf-merchant-device-list li span {
    color: #475569;
    line-height: 1.5;
  }

  .yf-merchant-device-list .status-pill {
    justify-self: end;
  }

  @media (max-width: 1180px) {
    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-stage,
    .yf-merchant-overview-grid,
    .yf-merchant-content-grid,
    .yf-merchant-mini-stats,
    .yf-merchant-layout {
      grid-template-columns: 1fr;
    }

    .yf-merchant-layout {
      gap: 16px;
    }

    .yf-merchant-sidebar {
      position: static;
      min-height: auto;
      border-right: 0;
      border-bottom: 1px dashed #d8dfea;
    }

    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-stage {
      gap: 24px;
      min-height: auto;
      padding-top: 24px;
    }
  }

  @media (max-width: 760px) {
    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-direct-shell {
      width: min(100% - 16px, 1180px);
      padding: 16px 0 148px;
    }

    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-card {
      padding: 24px 20px 18px;
    }

    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand {
      gap: 14px;
    }

    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand .yf-brand-mark {
      width: 64px;
      height: 64px;
      border-radius: 20px;
    }

    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-match-login-brand .yf-login-brand-copy strong {
      font-size: 2rem;
    }

    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-login-side-notice {
      width: 100%;
      margin-top: 0;
    }

    .yf-help-fab {
      display: none;
    }

    body.yf-console-page .yf-support-pill,
    body.yf-login-direct-page:not(.yf-register-direct-page) .yf-support-pill {
      right: 12px;
      bottom: 12px;
      padding-right: 50px;
    }

    .yf-merchant-main {
      padding: 14px 12px 118px;
    }

    .yf-merchant-topbar {
      grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .yf-merchant-spacer {
      display: none;
    }

    .yf-merchant-user-panel {
      width: min(280px, calc(100vw - 28px));
    }

    .yf-merchant-info-grid,
    .yf-merchant-mini-stats {
      grid-template-columns: 1fr;
    }

    .yf-merchant-button-row,
    .yf-merchant-table-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .yf-merchant-buy-fab {
      position: static;
      justify-content: center;
      margin-top: 14px;
    }

    .yf-merchant-button-row .btn {
      width: 100%;
    }
  }