@font-face { font-family: Lunna; src: url('/assets/fonts/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Lunna; src: url('/assets/fonts/manrope-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Lunna; src: url('/assets/fonts/manrope-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark;
  --page: #111114;
  --surface: #1b1b20;
  --input: #16161b;
  --text: #f5f1fc;
  --muted: #b7afc6;
  --line: #3a3544;
  --accent: #e5dcf3;
  --danger: #ffa2b1;
  --success: #8cd9b4;
  font-family: Lunna, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background: var(--page);
  color: var(--text);
}
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-size: 24px; line-height: 1.3; font-weight: 700; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 700; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled, a[aria-disabled='true'] { cursor: default; opacity: .46; }
:focus-visible { outline: 2px solid #c4a6ef; outline-offset: 4px; }
.auth-shell { width: min(100%, 400px); margin: 0 auto; }
.auth-head { margin-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; line-height: 1.4; font-weight: 700; margin-bottom: 28px; }
.brand-moon { font-family: sans-serif; font-size: 30px; width: 36px; height: 40px; display: grid; place-items: center; }
.auth-head .muted { margin-top: 8px; }
.muted, .modal-intro { color: var(--muted); }
.login-form { display: grid; gap: 10px; }
label { display: block; font-size: 14px; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--input); color: var(--text); padding: 12px 14px; font-size: 16px; min-height: 48px; }
input::placeholder, textarea::placeholder { color: #9d96aa; opacity: 1; }
textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
select { text-overflow: ellipsis; padding-right: 28px; }
.auth-input { min-height: 54px; }
.field-note { color: var(--muted); font-size: 12px; line-height: 1.6; font-weight: 400; }
.auth-faq { margin-bottom: 8px; }
summary { cursor: pointer; min-height: 36px; padding: 6px 0; color: var(--muted); font-size: 14px; font-weight: 600; }
summary::marker { color: #bca0e2; }
.faq-inner { padding: 8px 0 4px; color: var(--muted); font-size: 13px; display: grid; gap: 12px; }
.faq-inner b { color: var(--text); font-weight: 600; }
.primary-btn, .ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-width: 0; min-height: 50px; padding: 12px 18px; border-radius: 28px; text-align: center; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.primary-btn { background: var(--accent); border: 1px solid #f4edff; color: #261f31; box-shadow: inset 0 -3px 0 #b7acc7; }
.ghost-btn { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.primary-btn:not(:disabled):hover { background: #f0eafa; }
.ghost-btn:not(:disabled):hover, .close-btn:hover { border-color: #877599; }
.text-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); min-height: 44px; border: 0; padding: 8px 0; background: none; font-size: 13px; font-weight: 600; text-decoration: none; }
.text-btn:hover { color: var(--text); }
.icon { width: 18px; height: 18px; flex: 0 0 18px; }
.registration-entry { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.registration-entry p { color: var(--muted); font-size: 13px; text-align: center; }
.auth-footer { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 32px; margin-top: 16px; }
.auth-error, .error { color: var(--danger); font-size: 13px; overflow-wrap: anywhere; }
.auth-ok { color: var(--success); font-size: 13px; }
.auth-error:empty, .auth-ok:empty, .rescue-status:empty { display: none; }
.captcha-widget { min-height: 76px; width: 100%; font-size: 14px; }
.captcha-reload { margin-top: 4px; }
altcha-widget {
  display: block;
  --altcha-max-width: 100%;
  --altcha-border-radius: 12px;
  --altcha-color-base: #1b1b20;
  --altcha-color-base-content: #f5f1fc;
  --altcha-color-neutral: #55515e;
  --altcha-color-neutral-content: #b7afc6;
  --altcha-color-primary: #e5dcf3;
  --altcha-color-primary-content: #261f31;
  --altcha-color-success: #8cd9b4;
}
.captcha-widget altcha-widget input[type='checkbox'] { width: var(--altcha-checkbox-size,22px); height: var(--altcha-checkbox-size,22px); min-height: 0; padding: 0; margin: 0; }
.auth-modal { width: min(100% - 32px, 480px); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--text); overscroll-behavior: contain; }
.auth-modal::backdrop { background: #08080dbd; }
body:has(.auth-modal[open]) { overflow: hidden; }
.modal-body { padding: 24px; }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; background: var(--surface); }
.modal-head h2 { min-width: 0; overflow-wrap: anywhere; font-size: 22px; }
.close-btn { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--input); color: var(--muted); }
.close-btn img { width: 20px; height: 20px; }
.modal-intro { font-size: 13px; margin: -2px 0 20px; }
.registration-direct { display: grid; gap: 12px; padding: 4px 0 24px; }
.trial-title { color: #e6c687; font-weight: 700; font-size: 20px; }
.registration-direct .primary-btn { margin-top: 8px; }
.registration-rescue { border-top: 1px solid var(--line); padding-top: 12px; }
.rescue-steps { display: grid; gap: 20px; padding-top: 12px; }
.rescue-step { display: grid; gap: 12px; }
.rescue-step .muted { font-size: 13px; }
.rescue-app-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rescue-app-btn[aria-pressed='true'] { border-color: #c4a6ef; background: #2a2236; }
.rescue-status { font-size: 13px; color: var(--muted); }
.rescue-status.error { color: var(--danger); }
.rescue-actions { display: grid; gap: 4px; }
.rescue-manual { display: grid; gap: 8px; font-size: 13px; font-weight: 400; }
.support-layout, .support-main, .support-form, .support-chat { display: grid; gap: 16px; min-width: 0; }
.support-sidebar { display: grid; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.support-sidebar > button { min-height: 44px; font-size: 13px; }
.support-ticket-list { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: -4px; }
.support-ticket-card { flex: 0 0 160px; display: grid; text-align: left; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--input); color: var(--muted); }
.support-ticket-card b { font-size: 12px; }
.support-ticket-card small { font-size: 11px; overflow-wrap: anywhere; }
.support-ticket-card.active { border-color: #bca0e2; color: var(--text); }
.support-field { display: grid; gap: 6px; min-width: 0; }
.support-form-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.support-details > div { display: grid; gap: 14px; padding-top: 12px; }
.support-details summary { min-height: 44px; }
.support-empty { color: var(--muted); font-size: 13px; padding: 12px 0; }
.support-messages { max-height: 320px; overflow: auto; display: grid; gap: 10px; padding: 4px; }
.support-message { padding: 12px; background: var(--input); border-radius: 8px; overflow-wrap: anywhere; }
.support-message--admin { border-left: 2px solid #bca0e2; }
.support-message-meta { color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.support-message-text { font-size: 14px; white-space: pre-wrap; }
.muted.tiny { font-size: 12px; margin-top: 4px; }
.row-btns { display: grid; gap: 8px; }
@media (max-width: 359px) {
  body { padding-left: 16px; padding-right: 16px; }
  .modal-body { padding: 18px; }
  .modal-head { gap: 10px; }
  .modal-head h2 { font-size: 20px; }
  .support-form-row { grid-template-columns: minmax(0,1fr); }
  .auth-modal { width: calc(100% - 20px); }
}
@media (prefers-reduced-motion: no-preference) {
  .primary-btn, .ghost-btn, .close-btn { transition: background-color .15s, border-color .15s; }
}


@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/web-login/v4-20261104/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/web-login/v4-20261104/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family: Onest, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  --page: #0d0e11;
  --surface: #17181c;
  --input: #1a1b1f;
  --text: #f0efed;
  --muted: #aaa7b0;
  --line: #44434b;
  --accent: #ccb071;
  --danger: #ffb0bc;
  --success: #9de0bb;
}
body {
  isolation: isolate;
  position: relative;
  padding: max(32px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: var(--page);
}
body::before {
  content: '';
  position: fixed;
  inset: -48px;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/web-login/v4-20261104/backdrop-lossless.webp') center top / cover no-repeat;
  filter: blur(24px);
}
.auth-shell { width: min(100%, 460px); }
.brand {
  justify-content: center;
  gap: 3px;
  margin-bottom: 24px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.brand-moon { width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; }
.auth-card {
  padding: 28px;
  border: 1px solid #39383f;
  border-radius: 18px;
  background: #17181ced;
  box-shadow: 0 12px 36px #00000014;
}
.auth-head { margin-bottom: 24px; }
.auth-head h1 { font-size: 28px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.auth-head .muted { margin-top: 8px; font-size: 14px; line-height: 1.6; font-weight: 400; }
.login-form { gap: 9px; }
label { font-weight: 500; }
.login-form > label { font-size: 13px; line-height: 1.5; font-weight: 500; }
.auth-input {
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #727079;
  border-radius: 11px;
  background: #1b1c20;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  box-shadow: none;
}
.auth-input::placeholder { color: #a6a2ac; }
.auth-input:hover { border-color: #929099; }
:focus-visible { outline: 2px solid #c8ad73; outline-offset: 3px; }
.auth-input:focus-visible { border-color: #c8ad73; }
.login-form > .field-note { font-size: 12px; line-height: 1.6; }
.auth-faq { margin-top: 0; margin-bottom: 3px; }
.auth-faq > summary { min-height: 36px; padding: 6px 0; font-size: 13px; font-weight: 400; color: #c3bfc9; }
summary::marker { color: #b7a071; }
.faq-inner { font-size: 12px; line-height: 1.6; }
.faq-inner b { font-weight: 500; }
.auth-captcha { margin-top: 0; margin-bottom: 4px; }
.captcha-widget { min-height: 74px; font-size: 14px; }
altcha-widget {
  --altcha-border-color: #62606a;
  --altcha-border-width: 1px;
  --altcha-border-radius: 11px;
  --altcha-checkbox-size: 21px;
  --altcha-checkbox-border-color: #84808b;
  --altcha-padding: 12px 14px;
  --altcha-color-base: #1b1c20;
  --altcha-color-base-content: #eeeaf2;
  --altcha-color-neutral: #76717e;
  --altcha-color-neutral-content: #aba6b1;
  --altcha-color-primary: #ccb071;
  --altcha-color-primary-content: #292319;
  --altcha-color-success: #9de0bb;
}
.auth-captcha altcha-widget { font-size: 14px; }
.primary-btn {
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid #d2b575;
  border-radius: 11px;
  background: #ccb071;
  color: #242018;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
.primary-btn:disabled { opacity: 1; background: #b7a16e; border-color: #bca573; color: #2b261c; }
.primary-btn:not(:disabled):hover { background: #ddc38d; }
.primary-btn:not(:disabled):active { background: #bea46b; }
.ghost-btn {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #6b6772;
  border-radius: 11px;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
}
.ghost-btn:not(:disabled):hover, .close-btn:hover { border-color: #bba16e; background-color: #ffffff04; }
.registration-entry { margin-top: 22px; padding-top: 19px; gap: 12px; border-top-color: #3d3a43; }
.registration-entry p { font-size: 12px; font-weight: 400; color: #aaa6b0; }
.auth-footer { margin-top: 15px; column-gap: 24px; row-gap: 2px; }
.auth-footer .text-btn { gap: 6px; font-size: 12px; font-weight: 400; color: #c0bbc6; }
.auth-footer .icon { width: 16px; height: 16px; flex-basis: 16px; }
.auth-footer .text-btn:hover { color: #dcc38c; }
.auth-error, .auth-ok { font-size: 12px; line-height: 1.5; }
.auth-modal { border-color: #49464f; }
.modal-head h2 { font-size: 21px; font-weight: 500; }
.auth-modal .primary-btn, .auth-modal .ghost-btn { font-size: 14px; }
.auth-modal summary { font-weight: 400; }
@media (max-width: 640px) {
  body { padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .brand { margin-bottom: 21px; font-size: 24px; }
  .brand-moon { width: 40px; height: 40px; flex-basis: 40px; }
  .auth-card { padding: 24px 20px; border-radius: 16px; }
  .auth-head { margin-bottom: 22px; }
  .auth-head h1 { font-size: 26px; }
  .auth-head .muted { font-size: 13px; }
  .auth-footer { column-gap: 20px; }
}
@media (max-width: 359px) {
  body { padding-left: 14px; padding-right: 14px; }
  .auth-card { padding-left: 17px; padding-right: 17px; }
  .auth-head h1 { font-size: 24px; }
  .auth-footer { column-gap: 16px; }
}
@media (min-width: 641px) and (max-height: 720px) {
  body { padding-top: 18px; padding-bottom: 18px; }
  .brand { margin-bottom: 18px; }
  .auth-card { padding-top: 24px; padding-bottom: 24px; }
}

/* Login page surfaces only. Keep the original backdrop and outer shadows. */
.auth-card,
.auth-modal {
  --lunna-glass: #24242af0;
  --lunna-glass-blurred: #24242ad6;
  background: linear-gradient(126deg, #e8d4aa19, #e9e9ff04 48%, #bac6e612), var(--lunna-glass);
  background-clip: padding-box;
  border-color: #ffffff2e;
}

.auth-card {
  --lunna-glass: #202023b3;
  --lunna-glass-blurred: #29292e7d;
  position: relative;
  border-radius: 22px;
  box-shadow: 0 12px 36px #00000014, inset 0 1px 0 #ffffff27, inset 0 -1px 0 #ffffff0d;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(137deg, #f7e5be70, #ffffff23 28%, #ffffff08 52%, #bcc8ec54);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .auth-card,
  .auth-modal {
    background-color: var(--lunna-glass-blurred);
    -webkit-backdrop-filter: blur(26px) saturate(130%);
    backdrop-filter: blur(26px) saturate(130%);
  }
}

.auth-shell { width: min(100%, 480px); }
.brand { letter-spacing: 0; font-weight: 700; }
.auth-head h1 {
  color: #f5f2ee;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}
.auth-head .muted,
.login-form > .field-note,
.registration-entry p { color: #bfbdc2; }
.login-form > label { font-weight: 650; }
.auth-input {
  border-color: #ffffff33;
  border-radius: 12px;
  background: #10111678;
  box-shadow: inset 0 1px 4px #00000030, 0 1px 0 #ffffff0b;
}
.auth-input:focus-visible { border-color: #e4c991ad; }
.auth-faq > summary { color: #ecd29a; font-weight: 600; min-height: 44px; }
.auth-captcha altcha-widget {
  --altcha-color-base: #13141875;
  --altcha-border-color: #ffffff33;
  --altcha-color-base-content: #f5f2ee;
}

.primary-btn {
  border-radius: 13px;
  border-color: #f7dfaa99;
  color: #231b11;
  background: linear-gradient(175deg, #f4dda9, #d6b476);
  font-weight: 700;
  box-shadow: inset 0 1px 0 #fff5db8c, inset 0 -1px 0 #65492342, 0 7px 18px #09070b38;
}
.primary-btn:not(:disabled):hover { background: linear-gradient(175deg, #ffe8b7, #e5c487); }
.primary-btn:not(:disabled):active { background: linear-gradient(175deg, #e6ca93, #cba569); }
.primary-btn:disabled {
  color: #2b261c;
  border-color: #dec18b85;
  background: linear-gradient(175deg, #d8c394, #bba16c);
  box-shadow: inset 0 1px 0 #fff5db45;
}
.ghost-btn {
  min-height: 48px;
  border-color: #ffffff30;
  border-radius: 13px;
  background: linear-gradient(168deg, #ffffff17, #ffffff06), #1d1d235e;
  box-shadow: inset 0 1px 0 #ffffff22, 0 5px 14px #05050724;
  font-weight: 650;
}
.ghost-btn:not(:disabled):hover { border-color: #ffffff59; background-color: #333238; }
.registration-entry { border-top-color: #ffffff17; }
.auth-modal { border-radius: 20px; }
.modal-head { background: #25252a; }
.modal-head h2 { color: #f5f2ee; font-weight: 700; letter-spacing: 0; }
.close-btn { border-color: #ffffff26; background: #ffffff0b; }

@media (max-width: 640px) {
  .auth-head h1 { font-size: 28px; }
}
@media (max-width: 359px) {
  .auth-head h1 { font-size: 25px; }
}
@media (prefers-reduced-transparency: reduce) {
  .auth-card,
  .auth-modal {
    background-color: #222226;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.brand { position: relative; padding-inline: 46px; }
.login-theme-toggle {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: #24242a7d;
  color: #ecd29a;
  box-shadow: inset 0 1px 0 #ffffff22;
}
.login-theme-toggle:hover { border-color: #ffffff66; background: #303036c9; }
.login-theme-toggle svg { display: block; width: 20px; height: 20px; stroke-width: 1.7; }
.login-theme-toggle .theme-moon,
:root[data-theme="light"] .login-theme-toggle .theme-sun { display: none; }
:root[data-theme="light"] .login-theme-toggle .theme-moon { display: block; }

:root[data-theme="light"] {
  color-scheme: light;
  --page: #edf3fb;
  --surface: #f7f9fc;
  --input: #f2f5fa;
  --text: #202838;
  --muted: #46566d;
  --line: #a6b6ca;
  --accent: #826328;
  --danger: #a1283c;
  --success: #1b664c;
}
:root[data-theme="light"] body::before {
  filter: blur(24px) invert(1) saturate(.38);
  mix-blend-mode: multiply;
  opacity: .72;
}
:root[data-theme="light"] .auth-card,
:root[data-theme="light"] .auth-modal {
  --lunna-glass: #f6f9fce8;
  --lunna-glass-blurred: #f9fbffb8;
  background-image: linear-gradient(137deg, #ffffff96, #ffffff09 54%, #dbe8f82b);
  border-color: #8296b35c;
}
:root[data-theme="light"] .auth-card {
  box-shadow: 0 12px 36px #2537541c, inset 0 1px 0 #ffffffeb, inset 0 -1px 0 #778fb024;
}
:root[data-theme="light"] .auth-card::before {
  background: linear-gradient(137deg, #ffffff, #ffffff69 28%, #94aac80a 55%, #7895bd7a);
}
:root[data-theme="light"] .auth-modal::backdrop { background: #26395361; }
:root[data-theme="light"] .modal-head { background: #edf3fb; }
:root[data-theme="light"] .auth-head h1,
:root[data-theme="light"] .modal-head h2 { color: #202838; }
:root[data-theme="light"] .auth-head .muted,
:root[data-theme="light"] .login-form > .field-note,
:root[data-theme="light"] .registration-entry p,
:root[data-theme="light"] .auth-footer .text-btn,
:root[data-theme="light"] .text-btn,
:root[data-theme="light"] .close-btn { color: var(--muted); }
:root[data-theme="light"] .auth-footer .text-btn:hover,
:root[data-theme="light"] .text-btn:hover { color: #203c65; }
:root[data-theme="light"] .auth-footer img.icon,
:root[data-theme="light"] .modal-head img,
:root[data-theme="light"] .support-sidebar img.icon { filter: brightness(.3) saturate(.55); }
:root[data-theme="light"] .auth-input {
  border-color: #8fa3bf;
  background: #ffffffbd;
  box-shadow: inset 0 1px 4px #34496812, 0 1px 0 #ffffffcf;
}
:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder { color: #52637b; }
:root[data-theme="light"] :focus-visible {
  outline-color: #315c9e;
}
:root[data-theme="light"] .auth-input:hover,
:root[data-theme="light"] .auth-input:focus-visible { border-color: #315c9e; }
:root[data-theme="light"] .auth-faq > summary,
:root[data-theme="light"] summary::marker,
:root[data-theme="light"] .trial-title { color: #74531a; }
:root[data-theme="light"] .registration-entry { border-top-color: #8497b453; }

:root[data-theme="light"] .primary-btn {
  border-color: #9f7d3a;
  background: linear-gradient(175deg, #f6dfa9, #e9c681);
  color: #332408;
  box-shadow: inset 0 1px 0 #fff5dbb0, 0 6px 15px #47381416;
}
:root[data-theme="light"] .primary-btn:not(:disabled):hover { background: linear-gradient(175deg, #ffeabb, #efd198); }
:root[data-theme="light"] .primary-btn:not(:disabled):active { background: #e5bf75; }
:root[data-theme="light"] .primary-btn:disabled { color: #60543d; border-color: #b6a582; background: #ecdfc3; box-shadow: none; }
:root[data-theme="light"] .ghost-btn,
:root[data-theme="light"] .close-btn,
:root[data-theme="light"] .login-theme-toggle {
  border-color: #8da2bd;
  background: linear-gradient(168deg, #ffffffdb, #e7eef894);
  box-shadow: inset 0 1px 0 #ffffffb3, 0 3px 10px #2537540e;
}
:root[data-theme="light"] .login-theme-toggle { color: #324e77; }
:root[data-theme="light"] .ghost-btn:not(:disabled):hover,
:root[data-theme="light"] .close-btn:hover,
:root[data-theme="light"] .login-theme-toggle:hover { border-color: #5476a5; background: #e0ebfa; }
:root[data-theme="light"] .rescue-app-btn[aria-pressed="true"] { border-color: #5476a5; background: #dce8f9; }
:root[data-theme="light"] .support-ticket-card.active,
:root[data-theme="light"] .support-message--admin { border-color: #5476a5; }
:root[data-theme="light"] altcha-widget,
:root[data-theme="light"] .auth-captcha altcha-widget {
  --altcha-color-base: #ffffffad;
  --altcha-color-base-content: #202838;
  --altcha-color-neutral: #62748e;
  --altcha-color-neutral-content: #46566d;
  --altcha-color-primary: #e9c681;
  --altcha-color-primary-content: #332408;
  --altcha-color-success: #1b664c;
  --altcha-checkbox-border-color: #607898;
  --altcha-border-color: #8fa3bf;
}
@media (max-width: 359px) {
  .brand { font-size: 22px; }
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-theme="light"] .auth-card,
  :root[data-theme="light"] .auth-modal { background-color: #f7f9fc; }
}
