/*!
 * yachiyo.css — Yachiyo storefront design system
 *
 * One token + component layer shared by the landing page, the user-center
 * Yachiyo sections and the auth pages, so all three read as one product.
 *
 * Everything is namespaced `yc-` on purpose: in the user center this file
 * loads alongside Bootstrap, layui and glass.css, and unscoped element or
 * generic class selectors would collide with them.
 *
 * Palette is 5 colors (3 neutrals + accent + danger). Muted text, borders
 * and overlays are alpha derivations of the foreground, not new hues.
 * No gradients. Dark is the default; light follows the user center's
 * <html data-theme="light"> switch.
 */

:root,
:root[data-theme="dark"] {
  --yc-canvas: #0b0d10;
  --yc-surface: #14171c;
  --yc-fg: #f2f4f7;
  --yc-accent: #3b82f6;
  --yc-danger: #e5484d;

  --yc-fg-rgb: 242, 244, 247;
  --yc-accent-rgb: 59, 130, 246;
  --yc-danger-rgb: 229, 72, 77;

  /* derived from --yc-fg so the ramp stays in one hue family */
  --yc-fg-muted: rgba(var(--yc-fg-rgb), 0.62);
  --yc-fg-faint: rgba(var(--yc-fg-rgb), 0.42);
  --yc-line: rgba(var(--yc-fg-rgb), 0.1);
  --yc-line-strong: rgba(var(--yc-fg-rgb), 0.18);
  --yc-hover: rgba(var(--yc-fg-rgb), 0.06);
  --yc-inset: rgba(0, 0, 0, 0.28);
  --yc-scrim: rgba(3, 5, 8, 0.72);
  --yc-accent-soft: rgba(var(--yc-accent-rgb), 0.14);
  --yc-danger-soft: rgba(var(--yc-danger-rgb), 0.14);
  --yc-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --yc-canvas: #f6f7f9;
  --yc-surface: #ffffff;
  --yc-fg: #101318;
  --yc-accent: #1d6ae5;
  --yc-danger: #c62a2f;

  --yc-fg-rgb: 16, 19, 24;
  --yc-accent-rgb: 29, 106, 229;
  --yc-danger-rgb: 198, 42, 47;

  --yc-fg-muted: rgba(var(--yc-fg-rgb), 0.66);
  --yc-fg-faint: rgba(var(--yc-fg-rgb), 0.46);
  --yc-line: rgba(var(--yc-fg-rgb), 0.12);
  --yc-line-strong: rgba(var(--yc-fg-rgb), 0.2);
  --yc-hover: rgba(var(--yc-fg-rgb), 0.05);
  --yc-inset: rgba(var(--yc-fg-rgb), 0.04);
  --yc-scrim: rgba(16, 19, 24, 0.44);
  --yc-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -10px rgba(16, 24, 40, 0.12);

  color-scheme: light;
}

:root {
  /* Type — two families, both resolved from system faces so nothing 404s
     and Chinese copy never falls back to a serif. */
  --yc-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --yc-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas,
    "Liberation Mono", Menlo, monospace;

  /* Space — 4px rhythm */
  --yc-1: 4px;
  --yc-2: 8px;
  --yc-3: 12px;
  --yc-4: 16px;
  --yc-5: 20px;
  --yc-6: 24px;
  --yc-8: 32px;
  --yc-10: 40px;
  --yc-14: 56px;
  --yc-18: 72px;

  --yc-radius: 12px;
  --yc-radius-lg: 16px;
  --yc-radius-pill: 9999px;
  --yc-shell: 1120px;
  --yc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Canvas lives on <html> so the page has no unpainted gutters and no
   white flash between the root paint and this sheet. */
.yc-bg {
  background-color: var(--yc-canvas);
}

/* ============================================================ *
 *  Base — only applied on pages this system owns (.yc-page),
 *  never globally, so the user-center shell keeps its own reset.
 * ============================================================ */

.yc-page {
  margin: 0;
  background-color: var(--yc-canvas);
  color: var(--yc-fg);
  font-family: var(--yc-font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.yc-page *,
.yc-page *::before,
.yc-page *::after {
  box-sizing: border-box;
}

.yc-page :where(h1, h2, h3, h4) {
  margin: 0;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.yc-page :where(p, ul, ol) {
  margin: 0;
}

.yc-page :where(a) {
  color: inherit;
  text-decoration: none;
}

.yc-page :where(img, svg) {
  display: block;
  max-width: 100%;
}

/* Visible only when keyboard-driven, on every interactive element. */
.yc-page :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.yc-scope :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--yc-accent);
  outline-offset: 2px;
  border-radius: var(--yc-radius);
}

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

/* ============================================================ *
 *  Layout — mobile-first; every wider rule is a min-width step.
 * ============================================================ */

.yc-shell {
  width: 100%;
  max-width: var(--yc-shell);
  margin-inline: auto;
  padding-inline: var(--yc-4);
}

.yc-section {
  padding-block: var(--yc-14);
}

.yc-section--tight {
  padding-block: var(--yc-8);
}

.yc-head {
  display: flex;
  flex-direction: column;
  gap: var(--yc-2);
  margin-bottom: var(--yc-6);
}

.yc-head h2 {
  font-size: 24px;
}

.yc-head p {
  max-width: 62ch;
  color: var(--yc-fg-muted);
  font-size: 14px;
  text-wrap: pretty;
}

/* Auto-fitting card grid: one column on phones, no media query needed. */
.yc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--yc-3);
}

.yc-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--yc-2);
}

.yc-cluster--between {
  justify-content: space-between;
}

.yc-stack {
  display: flex;
  flex-direction: column;
  gap: var(--yc-3);
}

@media (min-width: 640px) {
  .yc-shell {
    padding-inline: var(--yc-6);
  }

  .yc-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--yc-6);
  }

  .yc-head > div {
    display: flex;
    flex-direction: column;
    gap: var(--yc-2);
  }

  .yc-grid {
    gap: var(--yc-4);
  }
}

@media (min-width: 1024px) {
  .yc-section {
    padding-block: var(--yc-18);
  }

  .yc-head h2 {
    font-size: 30px;
  }
}

/* ============================================================ *
 *  Top bar
 * ============================================================ */

.yc-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--yc-line);
  background-color: color-mix(in srgb, var(--yc-canvas) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
}

.yc-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--yc-3);
  min-height: 60px;
  padding-block: var(--yc-2);
}

.yc-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--yc-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.yc-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.yc-navlinks {
  display: flex;
  align-items: center;
  gap: var(--yc-1);
}

.yc-navlink {
  display: none;
  padding: var(--yc-2) var(--yc-3);
  border-radius: var(--yc-radius);
  color: var(--yc-fg-muted);
  font-size: 14px;
  transition: color 0.16s var(--yc-ease), background-color 0.16s var(--yc-ease);
}

.yc-navlink:hover {
  background-color: var(--yc-hover);
  color: var(--yc-fg);
}

@media (min-width: 640px) {
  .yc-navlink {
    display: inline-flex;
  }

  .yc-topbar__inner {
    min-height: 68px;
  }
}

/* Embedded variant: used inside the user-center shell, which already owns
   <body>. Same tokens and components, page-level rules left alone. */
.yc-scope {
  max-width: var(--yc-shell);
  margin-inline: auto;
  padding: var(--yc-6) var(--yc-4) var(--yc-18);
  color: var(--yc-fg);
  font-family: var(--yc-font-sans);
  line-height: 1.55;
}

.yc-scope :where(h1, h2, h3) {
  margin: 0;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.yc-scope :where(p, ul) {
  margin: 0;
}

.yc-scope :where(a) {
  text-decoration: none;
}

.yc-block {
  margin-top: var(--yc-8);
}

@media (min-width: 640px) {
  .yc-scope {
    padding-inline: var(--yc-6);
  }
}

/* ============================================================ *
 *  Buttons — one component, four intents, 44px touch target
 * ============================================================ */

.yc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--yc-2);
  min-height: 44px;
  padding: 0 var(--yc-5);
  border: 1px solid var(--yc-line-strong);
  border-radius: var(--yc-radius);
  background-color: var(--yc-surface);
  color: var(--yc-fg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s var(--yc-ease), border-color 0.16s var(--yc-ease),
    color 0.16s var(--yc-ease);
}

.yc-btn:hover {
  border-color: var(--yc-fg-faint);
  background-color: var(--yc-hover);
}

.yc-btn--primary {
  border-color: transparent;
  background-color: var(--yc-accent);
  color: #ffffff;
}

.yc-btn--primary:hover {
  border-color: transparent;
  background-color: color-mix(in srgb, var(--yc-accent) 84%, #000000);
}

.yc-btn--ghost {
  border-color: transparent;
  background-color: transparent;
  color: var(--yc-fg-muted);
}

.yc-btn--ghost:hover {
  background-color: var(--yc-hover);
  color: var(--yc-fg);
}

.yc-btn--block {
  width: 100%;
}

.yc-btn[disabled],
.yc-btn[aria-disabled="true"] {
  border-color: var(--yc-line);
  background-color: transparent;
  color: var(--yc-fg-faint);
  cursor: not-allowed;
}

.yc-btn .material-icons-outlined {
  font-size: 18px;
}

/* ============================================================ *
 *  Surfaces
 * ============================================================ */

.yc-card {
  display: flex;
  flex-direction: column;
  gap: var(--yc-2);
  padding: var(--yc-5);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
}

.yc-card__icon {
  color: var(--yc-accent);
  font-size: 24px;
}

.yc-card h3 {
  font-size: 16px;
}

.yc-card p {
  color: var(--yc-fg-muted);
  font-size: 14px;
  text-wrap: pretty;
}

.yc-card .yc-btn {
  margin-top: var(--yc-3);
  align-self: flex-start;
}

.yc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--yc-2);
  padding: var(--yc-1) var(--yc-3);
  border: 1px solid var(--yc-line-strong);
  border-radius: var(--yc-radius-pill);
  color: var(--yc-fg-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--yc-accent);
}

/* ============================================================ *
 *  Hero
 * ============================================================ */

.yc-hero {
  display: grid;
  gap: var(--yc-10);
  padding-block: var(--yc-14);
}

.yc-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--yc-5);
}

.yc-hero h1 {
  font-size: clamp(34px, 8vw, 52px);
  letter-spacing: -0.04em;
}

.yc-hero__lead {
  max-width: 54ch;
  color: var(--yc-fg-muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.yc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--yc-2) var(--yc-5);
  color: var(--yc-fg-faint);
  font-size: 13px;
}

/* Framed product shot: flat frame, hairline border, no tilt or glow. */
.yc-shot {
  padding: var(--yc-2);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
  box-shadow: var(--yc-shadow);
}

.yc-shot img {
  display: block;
  width: 100%;
  height: auto;
  /* The source image is already cropped to its useful content bounds. Let
     the intrinsic ratio determine the height instead of stretching the
     original HTML height attribute across the hero card. */
  aspect-ratio: auto;
  border-radius: var(--yc-radius);
  background-color: var(--yc-inset);
}

@media (min-width: 1024px) {
  .yc-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    padding-block: var(--yc-18);
  }
}

/* ============================================================ *
 *  Plans
 * ============================================================ */

.yc-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--yc-3);
  padding: var(--yc-5);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
}

.yc-plan--featured {
  border-color: var(--yc-accent);
}

.yc-plan__badge {
  position: absolute;
  top: var(--yc-4);
  right: var(--yc-4);
  padding: var(--yc-1) var(--yc-2);
  border-radius: var(--yc-radius-pill);
  background-color: var(--yc-accent-soft);
  color: var(--yc-accent);
  font-size: 11px;
  font-weight: 700;
}

.yc-plan__name {
  color: var(--yc-fg-muted);
  font-size: 14px;
  font-weight: 600;
}

.yc-plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--yc-1);
  font-family: var(--yc-font-mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.yc-plan__price span {
  color: var(--yc-fg-faint);
  font-family: var(--yc-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.yc-plan__list {
  display: flex;
  flex-direction: column;
  gap: var(--yc-2);
  padding: 0;
  list-style: none;
  color: var(--yc-fg-muted);
  font-size: 14px;
}

.yc-plan__list li {
  display: flex;
  align-items: center;
  gap: var(--yc-2);
}

/* Real icon, not a "✓" text glyph. */
.yc-plan__list .material-icons-outlined {
  color: var(--yc-accent);
  font-size: 18px;
}

.yc-plan .yc-btn {
  margin-top: auto;
}

/* ============================================================ *
 *  License status
 * ============================================================ */

.yc-status {
  display: grid;
  gap: var(--yc-5);
  padding: var(--yc-6);
  border: 1px solid var(--yc-accent);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
}

.yc-status--off {
  border-color: var(--yc-danger);
}

.yc-status__state {
  display: inline-flex;
  align-items: center;
  gap: var(--yc-2);
  color: var(--yc-accent);
  font-size: 14px;
  font-weight: 650;
}

.yc-status--off .yc-status__state {
  color: var(--yc-danger);
}

.yc-status--off .yc-dot {
  background-color: var(--yc-danger);
}

.yc-status__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--yc-4) var(--yc-8);
}

.yc-fact {
  display: flex;
  flex-direction: column;
  gap: var(--yc-1);
  color: var(--yc-fg-faint);
  font-size: 12px;
}

.yc-fact strong {
  color: var(--yc-fg);
  font-size: 15px;
  font-weight: 600;
}

.yc-status__days {
  display: flex;
  flex-direction: column;
  gap: var(--yc-1);
}

.yc-status__days strong {
  font-family: var(--yc-font-mono);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.yc-status__days span {
  color: var(--yc-fg-faint);
  font-size: 12px;
}

@media (min-width: 640px) {
  .yc-status {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .yc-status__days {
    text-align: right;
  }
}

/* ============================================================ *
 *  Notice / empty state / code
 * ============================================================ */

.yc-notice {
  display: flex;
  gap: var(--yc-4);
  padding: var(--yc-5);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
}

.yc-notice__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--yc-radius);
  background-color: var(--yc-accent-soft);
  color: var(--yc-accent);
  font-size: 22px;
}

.yc-notice h3 {
  margin-bottom: var(--yc-1);
  font-size: 16px;
}

.yc-notice p {
  color: var(--yc-fg-muted);
  font-size: 14px;
  white-space: pre-line;
  text-wrap: pretty;
}

.yc-empty {
  display: flex;
  align-items: center;
  gap: var(--yc-2);
  padding: var(--yc-3) var(--yc-4);
  border: 1px dashed var(--yc-line-strong);
  border-radius: var(--yc-radius);
  color: var(--yc-fg-faint);
  font-size: 13px;
}

.yc-empty .material-icons-outlined {
  font-size: 18px;
}

/* ============================================================ *
 *  Purchase dialog — native <dialog>, so focus trapping, ESC to
 *  close and inert background come from the platform.
 * ============================================================ */

.yc-modal {
  width: min(460px, calc(100vw - var(--yc-8)));
  padding: 0;
  border: 1px solid var(--yc-line-strong);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
  color: var(--yc-fg);
  box-shadow: var(--yc-shadow);
}

.yc-modal::backdrop {
  background-color: var(--yc-scrim);
  backdrop-filter: blur(6px);
}

.yc-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--yc-4);
  padding: var(--yc-5);
  font-family: var(--yc-font-sans);
}

.yc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--yc-3);
}

.yc-modal__head h2 {
  font-size: 18px;
}

.yc-iconbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--yc-radius);
  background-color: transparent;
  color: var(--yc-fg-muted);
  cursor: pointer;
}

.yc-iconbtn:hover {
  background-color: var(--yc-hover);
  color: var(--yc-fg);
}

/* Payment picker — real radios, so arrow keys and labels work natively. */
.yc-pay {
  display: flex;
  flex-direction: column;
  gap: var(--yc-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.yc-pay__option {
  display: flex;
  align-items: center;
  gap: var(--yc-3);
  padding: var(--yc-3);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius);
  cursor: pointer;
  transition: border-color 0.16s var(--yc-ease), background-color 0.16s var(--yc-ease);
}

.yc-pay__option:hover {
  background-color: var(--yc-hover);
}

.yc-pay__option input {
  accent-color: var(--yc-accent);
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
}

.yc-pay__option:has(input:checked) {
  border-color: var(--yc-accent);
  background-color: var(--yc-accent-soft);
}

.yc-pay__option:has(input:focus-visible) {
  outline: 2px solid var(--yc-accent);
  outline-offset: 2px;
}

.yc-pay__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--yc-2);
  object-fit: cover;
}

.yc-pay__name {
  font-size: 14px;
  font-weight: 600;
}

/* Live region for dialog feedback — reserves height so nothing jumps. */
.yc-formmsg {
  min-height: 20px;
  color: var(--yc-fg-muted);
  font-size: 13px;
}

.yc-formmsg[data-tone="error"] {
  color: var(--yc-danger);
}

/* ============================================================ *
 *  Forms
 * ============================================================ */

.yc-field {
  display: flex;
  flex-direction: column;
  gap: var(--yc-2);
}

.yc-label {
  color: var(--yc-fg-muted);
  font-size: 13px;
  font-weight: 600;
}

.yc-input {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--yc-3);
  border: 1px solid var(--yc-line-strong);
  border-radius: var(--yc-radius);
  background-color: var(--yc-inset);
  color: var(--yc-fg);
  font-family: inherit;
  font-size: 15px;
}

.yc-input::placeholder {
  color: var(--yc-fg-faint);
}

.yc-input:focus {
  border-color: var(--yc-accent);
  outline: none;
}

/* Input paired with a captcha image or a "send code" button. */
.yc-inline {
  display: flex;
  align-items: flex-end;
  gap: var(--yc-2);
}

.yc-inline > .yc-field {
  flex: 1 1 auto;
  min-width: 0;
}

.yc-inline > .yc-btn {
  flex: none;
}

.yc-captcha {
  height: 44px;
  border: 1px solid var(--yc-line-strong);
  border-radius: var(--yc-radius);
  cursor: pointer;
}

.yc-check {
  display: flex;
  align-items: center;
  gap: var(--yc-2);
  color: var(--yc-fg-muted);
  font-size: 13px;
}

.yc-check input {
  accent-color: var(--yc-accent);
  width: 16px;
  height: 16px;
  margin: 0;
}

.yc-link {
  color: var(--yc-accent);
  font-size: 13px;
}

.yc-link:hover {
  text-decoration: underline;
}

.yc-divider {
  display: flex;
  align-items: center;
  gap: var(--yc-3);
  color: var(--yc-fg-faint);
  font-size: 12px;
}

.yc-divider::before,
.yc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--yc-line);
}

/* ============================================================ *
 *  Auth pages
 * ============================================================ */

.yc-authpage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--yc-6) var(--yc-4);
  background-color: var(--yc-canvas);
  background-image: var(--yc-authbg, none);
  background-position: center;
  background-size: cover;
}

/* Flat scrim (not a gradient) so an admin background image never fights
   the card text. */
.yc-authpage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(6, 8, 11, 0.72);
}

.yc-authcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--yc-4);
  width: min(408px, 100%);
  padding: var(--yc-8) var(--yc-6);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius-lg);
  background-color: var(--yc-surface);
  box-shadow: var(--yc-shadow);
}

.yc-authcard__brand {
  display: flex;
  align-items: center;
  gap: var(--yc-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.yc-authcard__brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.yc-authcard h1 {
  font-size: 22px;
}

.yc-authcard__sub {
  color: var(--yc-fg-muted);
  font-size: 14px;
}

.yc-authcard form {
  display: flex;
  flex-direction: column;
  gap: var(--yc-4);
}

.yc-authcard__foot {
  color: var(--yc-fg-muted);
  font-size: 13px;
  text-align: center;
}

/* ============================================================ *
 *  Footer
 * ============================================================ */

.yc-footer {
  border-top: 1px solid var(--yc-line);
}

.yc-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--yc-2);
  padding-block: var(--yc-8);
  color: var(--yc-fg-faint);
  font-size: 13px;
}

@media (min-width: 640px) {
  .yc-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--yc-5);
  }
}

/* ============================================================ *
 *  Motion preference
 * ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .yc-page *,
  .yc-scope * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}














