@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2-variations'), url('/fonts/inter-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;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2-variations'), url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2-variations'), url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2-variations'), url('/fonts/jetbrains-mono-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;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('/fonts/jetbrains-mono-cyrillic.woff2') format('woff2-variations'), url('/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #09090a;
  --bg-1: #0f0f11;
  --bg-2: #151517;
  --bg-3: #1c1c1f;
  --bg-4: #242428;
  --line: rgba(255, 255, 255, 0.065);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.18);
  --text: #ececed;
  --text-2: #a3a3a9;
  --text-3: #6c6c74;
  --fg-strong: #f6f4ef;
  --sand: #d8bc92;
  --sand-dim: rgba(216, 188, 146, 0.14);
  --green: #6fcf97;
  --red: #f07a73;
  --amber: #e8b45a;
  --blue: #8fb3e8;
  --radius-sm: 7px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', 'SF Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }
body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(216, 188, 146, 0.28); color: var(--fg-strong); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg { display: block; }
code, kbd, pre { font-family: var(--mono); }
[hidden] { display: none !important; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.07); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.14); }
::-webkit-scrollbar-track { background: transparent; }

:focus-visible { outline: 2px solid rgba(216, 188, 146, 0.55); outline-offset: 2px; border-radius: 6px; }

.brand {
  display: inline-flex; align-items: center; gap: 9px; justify-self: start;
  font-weight: 650; letter-spacing: -0.03em; font-size: 16.5px; line-height: 1; color: var(--fg-strong);
}
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center; flex: none;
  color: var(--fg-strong); transition: opacity 0.2s;
}
.brand-mark svg { width: 100%; height: 100%; }
a.brand:hover .brand-mark { opacity: 0.7; }

html.booting body { visibility: hidden; animation: boot-reveal 0s 2.5s forwards; }
@keyframes boot-reveal { to { visibility: visible; } }
.brand small { font-family: var(--mono); font-weight: 500; font-size: 10px; color: var(--text-3); border: 1px solid var(--line-2); padding: 1px 5px; border-radius: 5px; letter-spacing: 0.04em; }

.s-mark { position: relative; display: inline-block; vertical-align: middle; width: 20px; height: 20px; flex: none; line-height: 0; }
.s-mark svg { width: 100%; height: 100%; overflow: visible; }
.s-mark .s-base { stroke: var(--line-3); }
.s-mark .s-trace { stroke: url(#sGrad); stroke-dasharray: 26 74; stroke-dashoffset: 100; opacity: 0; }
.s-mark.is-live .s-trace { opacity: 1; animation: s-trace 1.5s var(--ease) infinite; }
.s-mark.is-live .s-base { stroke: rgba(255, 255, 255, 0.14); }
.s-mark.is-live svg { filter: drop-shadow(0 0 4px rgba(246, 244, 239, 0.16)); }
.s-mark.is-done .s-base { stroke: var(--fg-strong); opacity: 0.85; }
@keyframes s-trace {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

.effort-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; }
.effort-bars i { width: 3px; border-radius: 1.5px; background: var(--line-3); transition: background 0.3s var(--ease), box-shadow 0.3s; }
.effort-bars i:nth-child(1) { height: 5px; }
.effort-bars i:nth-child(2) { height: 8px; }
.effort-bars i:nth-child(3) { height: 12px; }
[data-level='1'] .effort-bars i:nth-child(-n + 1),
[data-level='2'] .effort-bars i:nth-child(-n + 2),
[data-level='3'] .effort-bars i:nth-child(-n + 3),
.effort-bars[data-level='1'] i:nth-child(-n + 1),
.effort-bars[data-level='2'] i:nth-child(-n + 2),
.effort-bars[data-level='3'] i:nth-child(-n + 3) { background: var(--sand); box-shadow: 0 0 6px rgba(216, 188, 146, 0.35); }

.btn {
  --h: 36px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 14px; border-radius: var(--radius-sm);
  font-family: var(--font); font-weight: 500; font-size: 13.5px; line-height: 1.3; text-align: center; white-space: nowrap; letter-spacing: -0.005em;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s var(--ease), opacity 0.18s;
  user-select: none;
}
.btn:hover { background: var(--bg-3); border-color: var(--line-3); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn > [data-icon], .btn > .spinner { flex: none; }
.btn-primary { background: var(--fg-strong); color: #111; border-color: transparent; }
.btn-primary:hover { background: #fff; border-color: transparent; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: transparent; }
.btn-danger { color: var(--red); }
.btn-danger:hover { background: rgba(240, 122, 115, 0.1); border-color: rgba(240, 122, 115, 0.3); }
.btn-danger-solid { background: #d9534f; color: #fff; border-color: transparent; }
.btn-danger-solid:hover { background: #e25f5b; border-color: transparent; }
.btn-lg { --h: 44px; padding: 0 20px; font-size: 14.5px; border-radius: var(--radius); }
.btn-sm { --h: 30px; padding: 0 10px; font-size: 12.5px; }
.btn-icon { --h: 32px; width: var(--h); padding: 0; flex: none; }
.btn-block { width: 100%; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(9, 9, 10, 0.72); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 62px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 6px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 13.5px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.nav-actions .avatar { width: 22px; height: 22px; border-radius: 6px; margin-left: -4px; }
.nav-toggle, .nav-mobile-only { display: none; }
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto auto; gap: 8px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-menu-open { background: var(--bg-1); border-bottom-color: var(--line); }
  .nav.is-menu-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    padding: 12px 24px 16px; background: var(--bg-1); border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow);
    max-height: calc(100dvh - 62px); overflow-y: auto;
  }
  .nav-links a { padding: 12px; }
  .nav-mobile-only { display: block; }
  .nav-actions .btn-ghost { display: none; }
}

.input, .textarea, .select {
  width: 100%; min-width: 0; height: 38px; padding: 0 12px; border-radius: var(--radius-sm); line-height: 1.4;
  background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s; outline: none;
}
.textarea { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-3); }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(216, 188, 146, 0.5); box-shadow: 0 0 0 3px rgba(216, 188, 146, 0.1); background: var(--bg); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span:not(.hint), .label { font-size: 12.5px; line-height: 1.4; color: var(--text-2); font-weight: 500; }
.hint { font-size: 12px; line-height: 1.5; color: var(--text-3); font-weight: 400; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { width: 34px; height: 20px; border-radius: 20px; background: var(--bg-4); border: 1px solid var(--line-2); position: relative; transition: background 0.2s, border-color 0.2s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--text-2); transition: transform 0.25s var(--ease), background 0.2s; }
.switch input:checked + i { background: var(--sand); border-color: transparent; }
.switch input:checked + i::after { transform: translateX(14px); background: #1a1712; }
.switch input:focus-visible + i { outline: 2px solid rgba(216, 188, 146, 0.55); outline-offset: 2px; }

/* Метка: тонкая рамка, моноширинный текст нейтрального цвета. Смысл передаёт точка-индикатор,
   а не цветная заливка — так метки не спорят с контентом. */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 19px; padding: 0 6px; border-radius: 4px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; line-height: 1; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--text-2); background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--line-2);
}
.badge-green, .badge-red, .badge-amber, .badge-idle { color: var(--text); }
.badge-green::before, .badge-red::before, .badge-amber::before, .badge-idle::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; flex: none; background: var(--tone);
}
.badge-green { --tone: var(--green); }
.badge-red { --tone: var(--red); }
.badge-amber { --tone: var(--amber); }
.badge-idle { --tone: var(--text-3); color: var(--text-2); }
.badge-sand { color: var(--sand); background: rgba(216, 188, 146, 0.04); box-shadow: inset 0 0 0 1px rgba(216, 188, 146, 0.24); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(111, 207, 151, 0.15); }
.kbd { font-family: var(--mono); font-size: 11px; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--text-3); background: var(--bg-2); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mono { font-family: var(--mono); }
.avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-3) center/cover; border: 1px solid var(--line); flex: none; }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-3); border-top-color: var(--fg-strong); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 1000; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; min-width: 240px; max-width: 460px;
  padding: 10px 14px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line-2);
  box-shadow: var(--shadow); font-size: 13px; animation: toast-in 0.35s var(--ease);
}
.toast.out { animation: toast-out 0.25s ease forwards; }
.toast .dot { width: 7px; height: 7px; }
.toast.error .dot { background: var(--red); }
.toast.success .dot { background: var(--green); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

.modal-root { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); animation: fade-in 0.25s ease; }
.modal {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow: auto;
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); animation: modal-in 0.35s var(--ease);
}
.modal-wide { max-width: 980px; }
.modal.is-celebrating {
  max-width: 500px; transition: max-width 0.5s var(--ease);
  background: radial-gradient(90% 55% at 50% 0%, rgba(216, 188, 146, 0.065), transparent 70%), var(--bg-1);
}
.modal-md { max-width: 560px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.modal-head h3 { min-width: 0; margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.modal-body { padding: 14px 20px 20px; }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 20px 18px; }
.modal-root.closing .modal { animation: modal-out 0.2s ease forwards; }
.modal-root.closing .modal-backdrop { animation: fade-out 0.2s ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(4px) scale(0.99); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* Тарифы — одна стеклянная панель с колонками, как сетка «Возможности»; Pro подсвечен тёплым светом сверху. */
.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto;
  border-radius: var(--radius-xl); border: 1px solid var(--line-2); overflow: hidden;
  background: rgba(11, 11, 13, 0.62); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 30px 32px 30px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease);
  background: radial-gradient(420px 220px at 30% -10%, rgba(255, 255, 255, 0.035), transparent 70%);
}
.plan:hover::before { opacity: 1; }
.plan.is-highlight { background: linear-gradient(180deg, rgba(216, 188, 146, 0.045), transparent 42%); }
.plan.is-highlight::before { opacity: 1; background: radial-gradient(480px 240px at 50% -14%, rgba(216, 188, 146, 0.11), transparent 70%); }
.plan.is-highlight::after {
  content: ''; position: absolute; top: 0; left: 14%; right: 14%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(236, 210, 166, 0.75), transparent);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; margin-bottom: 18px; }
.plan-emblem { width: 40px; height: 40px; margin-left: -3px; flex: none; display: grid; place-items: center; color: var(--text-2); }
.plan-emblem svg { width: 40px; height: 40px; overflow: visible; }
.plan.is-highlight .plan-emblem { color: var(--sand); filter: drop-shadow(0 0 9px rgba(216, 188, 146, 0.35)); }
.plan-flag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--sand); }
.plan.is-current .plan-flag { color: var(--text-2); }
.plan.is-current .plan-flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(111, 207, 151, 0.55); }
.plan-name { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; color: var(--fg-strong); }
.plan-tagline { margin: 4px 0 0; font-size: 14px; color: var(--text-3); }
.plan-price { display: flex; align-items: baseline; margin: 28px 0 24px; font-variant-numeric: tabular-nums; }
.plan-price b { font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--fg-strong); }
.plan-cur { margin-left: 7px; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; color: var(--text-3); }
.plan-per { margin-left: 10px; font-size: 13.5px; color: var(--text-3); }
.plan .btn { height: 42px; justify-content: center; }
.plan .btn:disabled { opacity: 1; color: var(--text-3); background: rgba(255, 255, 255, 0.02); border-color: var(--line-2); }
.plan .plan-btn-current:disabled { color: var(--text-2); }
.plan-btn-current svg { width: 14px; height: 14px; color: var(--green); }
.plan-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.plan-list li:last-child { padding-bottom: 0; }
.plan-list b { font-weight: 600; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.plan-list svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--text-3); }
.plan.is-highlight .plan-list svg { color: var(--sand); }
.modal-wide .plans { max-width: none; background: rgba(255, 255, 255, 0.008); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan { padding: 26px 22px 26px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}

.maint {
  position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(600px 300px at 50% 35%, rgba(216, 188, 146, 0.06), transparent 70%), var(--bg);
  animation: fade-in 0.4s ease;
}
.maint-card { max-width: 440px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.maint-card .s-mark { width: 44px; height: 44px; margin-bottom: 8px; }
.maint-status {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2);
}
.maint-status i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.maint-status i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--amber); opacity: 0; animation: maint-ping 2.4s var(--ease) infinite; }
@keyframes maint-ping { 0% { transform: scale(0.4); opacity: 0.7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.maint-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.maint-card p { margin: 0; color: var(--text-2); }
.maint-card .maint-until { font-size: 12px; color: var(--text-3); }
.maint-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.maint.out { animation: fade-out 0.25s ease forwards; }

.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 40px; position: relative;
  font-size: 13px; color: var(--text); background: var(--bg-2); border-bottom: 1px solid var(--line);
  animation: slide-down 0.4s var(--ease);
}
.announce[data-tone='success'] { background: rgba(111, 207, 151, 0.08); }
.announce[data-tone='warning'] { background: rgba(232, 180, 90, 0.09); }
.announce[data-tone='danger'] { background: rgba(240, 122, 115, 0.09); }
.announce .dot { background: var(--blue); }
.announce[data-tone='success'] .dot { background: var(--green); }
.announce[data-tone='warning'] .dot { background: var(--amber); }
.announce[data-tone='danger'] .dot { background: var(--red); }
.announce button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); padding: 4px; border-radius: 5px; }
.announce button:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.announce button svg { width: 14px; height: 14px; }
@keyframes slide-down { from { opacity: 0; transform: translateY(-100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
}
