:root {
  --pink: #f47aa4;
  --pink-strong: #e85f93;
  --pink-soft: #fff0f6;
  --purple: #7b5ac8;
  --purple-deep: #2e2544;
  --purple-soft: #f3efff;
  --ink: #201d27;
  --ink-soft: #3a3445;
  --muted: #746d7f;
  --subtle: #9891a5;
  --white: #ffffff;
  --surface: #fffafc;
  --surface-2: #f8f5fb;
  --border: rgba(32, 29, 39, .11);
  --border-pink: rgba(244, 122, 164, .22);
  --line: #06c755;
  --shadow-sm: 0 10px 24px rgba(32, 29, 39, .055);
  --shadow-md: 0 22px 54px rgba(32, 29, 39, .095);
  --shadow-pink: 0 18px 38px rgba(232, 95, 147, .22);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-nav: 1000;
  --z-cookie: 1200;
  --z-fab: 1300;
  --scroll-progress: 0;
  --nav-h: calc(76px - (var(--scroll-progress) * 10px));
  --nav-bg: rgba(255, 255, 255, calc(.78 + (var(--scroll-progress) * .18)));
  --nav-border: rgba(32, 29, 39, calc(var(--scroll-progress) * .12));
  --nav-shadow: 0 12px 34px rgba(32, 29, 39, calc(var(--scroll-progress) * .08));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { min-width: 320px; font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.lock-scroll, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { appearance: none; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(244, 122, 164, .45); outline-offset: 4px; border-radius: 10px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow-container { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.section-block { padding: clamp(76px, 9vw, 112px) 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border-radius: 999px; padding: 11px 20px; font-weight: 850; letter-spacing: .01em; transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.02rem; }
.btn-full { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--pink-strong), #ef79c6); box-shadow: var(--shadow-pink); }
.btn-primary:hover { box-shadow: 0 22px 46px rgba(232, 95, 147, .3); }
.btn-outline { color: var(--pink-strong); background: rgba(255, 255, 255, .86); border: 1px solid rgba(244, 122, 164, .34); }
.btn-outline:hover { border-color: rgba(244, 122, 164, .58); background: #fff; box-shadow: var(--shadow-sm); }
.btn-dark { color: #fff; background: #1f1b26; box-shadow: 0 16px 34px rgba(31, 27, 38, .18); }
.btn-line { color: #fff; background: var(--line); box-shadow: 0 14px 28px rgba(6, 199, 85, .2); }
.text-link { width: fit-content; color: var(--pink-strong); font-weight: 850; text-align: left; cursor: pointer; }
.text-link[aria-disabled="true"] { cursor: default; opacity: .48; }

.navbar { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: var(--z-nav); background: var(--nav-bg); border-bottom: 1px solid var(--nav-border); box-shadow: var(--nav-shadow); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: fit-content; }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, #211c28, #3a2b56); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 24px rgba(32, 29, 39, .14); }
.brand-mark span { transform: translateY(-1px); }
.brand-name { font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); font-weight: 850; font-size: .96rem; }
.nav-link.active, .nav-link:hover { color: var(--pink-strong); }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--purple)); }
.nav-dropdown { position: relative; }
.dropdown-toggle i { font-size: .78rem; transition: transform .25s var(--ease); }
.dropdown-wrapper { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s var(--ease), visibility .24s var(--ease); }
.nav-dropdown:hover .dropdown-wrapper, .nav-dropdown:focus-within .dropdown-wrapper { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown:hover .dropdown-toggle i, .nav-dropdown:focus-within .dropdown-toggle i { transform: rotate(180deg); }
.dropdown-menu { min-width: 190px; padding: 8px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,.97); box-shadow: var(--shadow-md); }
.dropdown-menu a, .dropdown-disabled { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 12px; color: var(--muted); font-weight: 750; }
.dropdown-menu a:hover { color: var(--ink); background: var(--pink-soft); }
.dropdown-disabled { opacity: .58; cursor: not-allowed; }
.planning-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 2px 8px; border-radius: 999px; color: var(--purple); background: var(--purple-soft); font-size: .74rem; font-weight: 900; white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-menu-cta { display: none; }
.hamburger { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.82); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { width: 18px; height: 2px; border-radius: 999px; background: var(--ink); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.footer { color: var(--ink); background: #fff; border-top: 1px solid rgba(32,29,39,.08); }
.footer-inner.footer-classic { padding: clamp(52px, 6vw, 78px) 0 34px; }
.footer-main { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(130px, 1fr)); gap: clamp(28px, 4.8vw, 72px); align-items: start; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(32,29,39,.1); }
.footer-identity { display: grid; gap: 18px; align-content: start; }
.footer-logo { width: 44px; height: 44px; border-radius: 12px; }
.footer-identity h3 { color: var(--ink); font-size: clamp(1.32rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -.03em; }
.footer-identity p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.footer-col h4 { margin: 6px 0 20px; color: var(--ink); font-size: 1.02rem; font-weight: 900; }
.footer-col a, .footer-col button, .footer-col span { display: block; width: fit-content; margin: 13px 0; color: var(--muted); font-size: 1rem; line-height: 1.45; font-weight: 650; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--pink-strong); }
.footer-col span[aria-disabled="true"] { color: rgba(116,110,128,.52); }
.footer-bottom.classic-bottom { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.82fr); gap: 28px; align-items: start; padding-top: 28px; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.footer-bottom.classic-bottom div { display: grid; gap: 8px; color: var(--ink); }
.footer-bottom.classic-bottom p { margin: 0; color: var(--subtle); }

.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: var(--z-cookie); display: none; width: min(720px, calc(100vw - 40px)); grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--border-pink); border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-md); backdrop-filter: blur(18px); }
.cookie-bar.show { display: grid; }
.privacy-copy { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.privacy-copy strong { display: block; color: var(--ink); margin-bottom: 2px; }
.privacy-copy a { color: var(--pink-strong); font-weight: 850; }
.privacy-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.fab-container { position: fixed; right: max(26px, env(safe-area-inset-right)); bottom: max(26px, env(safe-area-inset-bottom)); z-index: var(--z-fab); width: 64px; height: 64px; }
body.cookie-visible .fab-container { bottom: calc(max(26px, env(safe-area-inset-bottom)) + 96px); }
.fab-btn { position: absolute; right: 0; bottom: 0; z-index: 3; width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #17131d; box-shadow: 0 18px 38px rgba(32,29,39,.28); border: 1px solid rgba(255,255,255,.12); transition: transform .28s var(--ease), box-shadow .28s var(--ease); overflow: hidden; }
.fab-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(32,29,39,.34); }
.fab-btn-avatar { width: 100%; height: 100%; border-radius: inherit; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fab-btn-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fab-btn-avatar b { display: none; color: #fff; font-size: 1.3rem; }
.fab-tooltip { position: absolute; right: 76px; bottom: 12px; z-index: 2; width: max-content; max-width: 280px; padding: 10px 13px; border-radius: 14px; color: #fff; background: rgba(23,19,27,.95); font-size: .84rem; line-height: 1.55; font-weight: 800; box-shadow: 0 14px 34px rgba(32,29,39,.2); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease); }
.fab-tooltip::after { content: ''; position: absolute; right: -5px; bottom: 16px; width: 10px; height: 10px; background: rgba(23,19,27,.95); transform: rotate(45deg); }
.fab-btn:hover + .fab-tooltip, .fab-btn:focus-visible + .fab-tooltip { opacity: 1; transform: translateY(0); }
.fab-card { position: absolute; right: 0; bottom: 78px; width: min(360px, calc(100vw - 36px)); padding: 18px; border-radius: 24px; border: 1px solid rgba(244,122,164,.18); background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); transform: translateY(12px) scale(.98); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s; }
.fab-container.active .fab-card { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.fab-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fab-avatar-wrap { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; overflow: hidden; background: #17131d; }
.fab-avatar { width: 100%; height: 100%; object-fit: cover; }
.fab-avatar-fallback { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; color: #fff; font-weight: 900; }
.fab-card strong { display: block; font-size: 1rem; }
.fab-card small { color: var(--pink-strong); font-weight: 850; }
.fab-card p { color: var(--muted); font-size: .92rem; line-height: 1.75; margin: 10px 0 14px; }
.fab-qr { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: center; margin: 14px 0; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(32,29,39,.08); }
.fab-qr img { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; }
.fab-qr span { display: block; color: var(--ink); font-size: .9rem; font-weight: 900; }
.fab-qr small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.system-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1500; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 36px); padding: 12px 16px; border-radius: 999px; color: #fff; background: #17131d; box-shadow: 0 18px 40px rgba(32,29,39,.2); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.system-toast.show { opacity: 1; transform: translate(-50%, 0); }
.system-toast.error { background: #b92e4f; }
.toast-icon { color: var(--pink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }
.smart-img { opacity: 0; transition: opacity .36s var(--ease); }
.smart-img.loaded { opacity: 1; }

@media (max-width: 980px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 48px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom.classic-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-menu-cta { display: inline-flex; }
  .nav-menu { position: fixed; top: var(--nav-h); left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; border-radius: 24px; border: 1px solid var(--border); background: rgba(255,255,255,.97); box-shadow: var(--shadow-md); }
  .nav-menu.active { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { justify-content: space-between; width: 100%; }
  .nav-link.active::after { left: 0; right: auto; width: 32px; bottom: 0; }
  .dropdown-wrapper { position: static; transform: none; padding-top: 0; display: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-dropdown.open .dropdown-wrapper { display: block; }
  .dropdown-menu { margin-top: 6px; min-width: 100%; box-shadow: none; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 680px) {
  .container, .narrow-container { width: min(100% - 28px, 1120px); }
  .brand-name { font-size: .96rem; }
  .footer-inner.footer-classic { padding: 42px 0 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; padding-bottom: 32px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col a, .footer-col button, .footer-col span { margin: 9px 0; font-size: .94rem; }
  .footer-bottom.classic-bottom { padding-top: 22px; font-size: .86rem; }
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; width: auto; grid-template-columns: 1fr; padding: 14px; border-radius: 18px; }
  .privacy-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .fab-container { width: 58px; height: 58px; right: 18px; bottom: 18px; }
  body.cookie-visible .fab-container { bottom: calc(18px + 124px); }
  .fab-btn { width: 58px; height: 58px; }
  .fab-tooltip, .fab-qr { display: none; }
  .fab-card { right: 0; bottom: 70px; width: calc(100vw - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.nav-cta, .nav-menu-cta { display: none !important; }
@media (max-width: 680px) {
  body.cookie-visible .fab-container { bottom: max(18px, env(safe-area-inset-bottom)); }
}
.version-modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px; }
.version-modal.show { display: flex; }
.version-backdrop { position: absolute; inset: 0; background: rgba(21,18,26,.44); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.version-panel { position: relative; z-index: 1; width: min(1040px, 100%); max-height: min(92dvh, 860px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(32,29,39,.12); border-radius: 32px; background: #fff; box-shadow: 0 30px 90px rgba(32,29,39,.28); outline: none; }
.version-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); background: rgba(255,255,255,.92); border: 1px solid rgba(32,29,39,.1); }
.version-hero { flex: 0 0 auto; min-height: 300px; display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 26px; align-items: center; padding: 44px 50px; border-bottom: 1px solid rgba(32,29,39,.08); background: radial-gradient(circle at 82% 18%, rgba(244,122,164,.19), transparent 32%), linear-gradient(135deg, #fff 0%, #f9fbff 100%); }
.version-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; color: #60708a; font-weight: 900; }
.version-badges .update-dot, .version-badges strong { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border-radius: 10px; background: var(--pink-soft); color: var(--pink-strong); }
.version-badges strong { background: #edf2f8; color: #53647c; }
.version-copy h2 { color: #171a25; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.07em; }
.version-copy p { margin-top: 14px; max-width: 720px; color: #53647c; font-size: 1rem; line-height: 1.8; font-weight: 750; }
.update-visual { position: relative; width: 240px; min-height: 240px; display: grid; place-items: center; justify-self: center; border-radius: 52px; background: radial-gradient(circle at 52% 54%, rgba(244,122,164,.22), transparent 36%), radial-gradient(circle at 45% 34%, rgba(123,90,200,.13), transparent 34%); }
.update-art { position: relative; width: min(260px, 100%); aspect-ratio: 1; }
.update-tile { position: absolute; display: block; border: 1px solid rgba(255,255,255,.78); background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,232,242,.68)); box-shadow: 0 20px 44px rgba(244,122,164,.15); }
.update-tile-main { z-index: 3; left: 50%; top: 45%; width: 122px; height: 122px; display: grid; place-items: center; border-radius: 34px; transform: translate(-50%, -50%) rotate(8deg); }
.update-tile-main i { font-size: 36px; color: var(--pink-strong); }
.update-tile-left { left: 5%; top: 50%; width: 84px; height: 84px; border-radius: 28px; transform: rotate(-24deg); opacity: .82; }
.update-tile-right { right: 6%; top: 42%; width: 74px; height: 74px; border-radius: 24px; transform: rotate(23deg); opacity: .78; }
.update-orb { position: absolute; z-index: 4; display: block; border-radius: 999px; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(255,196,220,.58)); }
.update-orb-a { width: 28px; height: 28px; left: 18%; top: 16%; }
.update-orb-b { width: 38px; height: 38px; left: 27%; top: 9%; opacity: .82; }
.update-orb-c { width: 24px; height: 24px; right: 20%; bottom: 22%; }
.version-body { flex: 1 1 auto; overflow-y: auto; padding: 34px 44px 18px; background: #fff; }
.version-body h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 1.35rem; font-weight: 900; color: #171a25; }
.version-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.version-list article { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 14px; padding: 18px; border-radius: 22px; border: 1px solid rgba(32,29,39,.08); background: linear-gradient(180deg, #fff, #fffafb); }
.version-list article i { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 17px; color: var(--pink-strong); background: rgba(244,122,164,.1); }
.version-list article h4 { margin: 0 0 5px; font-size: 1.02rem; font-weight: 900; color: #171a25; }
.version-list article p { margin: 0; color: #5e6a7f; font-size: .94rem; line-height: 1.75; }
.pwa-guide { margin-top: 16px; padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(123,90,200,.14); background: linear-gradient(135deg, rgba(246,239,255,.72), rgba(255,246,250,.86)); }
.pwa-guide h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 900; }
.pwa-guide p { margin: 0; color: #5e6a7f; line-height: 1.75; font-weight: 650; }
.version-actions { flex: 0 0 auto; display: flex; justify-content: flex-end; gap: 12px; padding: 18px 44px 30px; background: #fff; }
.version-actions .btn { min-width: 160px; }
@media (max-width: 760px) {
  .version-modal { padding: 10px; align-items: stretch; }
  .version-panel { width: 100%; max-height: calc(100dvh - 20px); border-radius: 24px; }
  .version-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .version-hero { min-height: auto; grid-template-columns: 1fr; padding: 22px 18px 16px; gap: 10px; }
  .update-visual { display: none; }
  .version-badges { padding-right: 42px; margin-bottom: 12px; gap: 8px; }
  .version-badges strong, .version-badges .update-dot, .version-badges time { font-size: .82rem; }
  .version-copy h2 { font-size: clamp(1.9rem, 9vw, 2.45rem); }
  .version-copy p { margin-top: 10px; line-height: 1.65; font-size: .92rem; }
  .version-body { padding: 18px 14px 10px; }
  .version-body h3 { font-size: 1.15rem; margin-bottom: 12px; }
  .version-list { grid-template-columns: 1fr; gap: 10px; }
  .version-list article { grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 14px; }
  .version-list article i { width: 42px; height: 42px; border-radius: 14px; }
  .version-actions { padding: 14px; flex-direction: column-reverse; }
  .version-actions .btn { width: 100%; }
}

[hidden] { display: none !important; }
:root { --primary: var(--pink); --primary-dark: var(--pink-strong); --primary-soft: var(--pink-soft); --micro-rise: cubic-bezier(.16, 1, .3, 1); }
@media (max-width: 900px) {
  .nav-menu { display: flex; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s var(--ease); }
  .nav-menu.active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
  .hamburger { position: relative; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(32,29,39,.08); }
  .hamburger::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, rgba(244,122,164,.16), transparent 62%); opacity: 0; transition: opacity .25s var(--ease); }
  .hamburger.active::before { opacity: 1; }
  .hamburger span { position: relative; width: 19px; }
  .dropdown-menu { border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,247,251,.96)); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .fan-panel, .quick-card, .workspace-card, .result-card, .error-btn { will-change: transform; }
}

.container,
.narrow-container,
.nav-inner,
.nav-menu,
.footer-main,
.footer-bottom,
.cookie-bar,
.fab-card,
.version-panel,
.version-hero,
.version-body,
.version-list article {
  min-width: 0;
}

@media (max-width: 520px) {
  .container,
  .narrow-container {
    width: min(100% - 24px, 1120px);
  }
  .section-block {
    padding: 54px 0;
  }
  .nav-inner {
    gap: 12px;
  }
  .brand {
    min-width: 0;
  }
  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-menu {
    left: 12px;
    right: 12px;
  }
  .footer-main,
  .footer-bottom.classic-bottom {
    gap: 20px;
  }
  .privacy-actions {
    grid-template-columns: 1fr;
  }
  .version-badges {
    min-width: 0;
  }
  .version-list article {
    grid-template-columns: 1fr;
  }
  .version-list article i {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .container,
  .narrow-container {
    width: min(100% - 18px, 1120px);
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .brand-name {
    font-size: 0.9rem;
  }
  .hamburger {
    width: 42px;
    height: 42px;
  }
  .btn-lg {
    min-height: 52px;
    padding-inline: 20px;
  }
}

@media (max-width: 680px) {
  .cookie-bar {
    width: calc(100vw - 32px);
    max-width: 400px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    padding: 14px 18px;
    box-shadow: var(--shadow-pink);
  }
  .privacy-actions { grid-template-columns: 1fr 1fr; }
}

[data-open-version-modal].has-update-badge { position: relative; }
[data-open-version-modal].has-update-badge::after {
  content: '';
  position: absolute;
  top: -2px; right: -8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink-strong);
  box-shadow: 0 0 0 3px #fff;
}
.fab-helper-icon { background: rgba(255,255,255,.8); color: var(--ink); }
.fab-helper-icon i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 24px; }
.fab-question-icon i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; font-size: 1.6rem; }
@media (max-width: 680px) {
  .cookie-bar { width: calc(100vw - 32px); max-width: 400px; }
}
.fab-helper-icon img,.fab-btn-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.fab-helper-icon b,.fab-btn-avatar b{display:none}.fab-helper-icon{overflow:hidden;background:#11131a}.fab-btn-avatar{overflow:hidden;background:#11131a;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.48)}.fab-card{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,250,252,.94));border:1px solid rgba(34,26,35,.1);box-shadow:0 28px 70px rgba(34,26,35,.18)}.fab-card-head strong{letter-spacing:-.02em}.maintenance-gate{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:max(22px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:radial-gradient(circle at 20% 12%,rgba(244,122,164,.2),transparent 34rem),linear-gradient(135deg,#fff9fb 0%,#f4f6fb 100%);color:#1c1820}.system-locked{overflow:hidden}.system-locked>body,.system-locked main{pointer-events:none}.maintenance-card{width:min(680px,100%);padding:clamp(28px,6vw,54px);border-radius:34px;border:1px solid rgba(28,24,32,.12);background:rgba(255,255,255,.88);box-shadow:0 32px 90px rgba(28,24,32,.18);backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px);text-align:left;animation:maintenanceRise .45s var(--ease-apple)}.maintenance-brand{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;overflow:hidden;margin-bottom:20px;background:#12131a;box-shadow:0 16px 36px rgba(18,19,26,.2)}.maintenance-brand img{width:100%;height:100%;object-fit:cover}.maintenance-card h1{margin:10px 0 12px;font-size:clamp(2rem,7vw,4.4rem);line-height:1;letter-spacing:-.07em}.maintenance-card p{max-width:540px;color:#615866;font-weight:750;line-height:1.85}.maintenance-eta{display:inline-flex;margin-top:14px;padding:10px 14px;border:1px solid rgba(244,122,164,.18);border-radius:999px;background:rgba(244,122,164,.09);color:#bd4772!important}.maintenance-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}@keyframes maintenanceRise{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}@media(max-width:680px){.maintenance-gate{align-items:end}.maintenance-card{border-radius:28px;padding:28px 22px}.maintenance-actions{display:grid}.maintenance-actions .btn{width:100%}.fab-container{right:max(14px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}.fab-card{width:min(360px,calc(100vw - 28px));right:0}.fab-btn{width:62px;height:62px}.fab-btn-avatar{width:52px;height:52px}}

.brand-icon,
.footer-logo,
.drawer-logo {
  overflow: hidden;
  background: #f67c90;
}
.brand-icon img,
.footer-logo img,
.drawer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.navbar {
  isolation: isolate;
}
.nav-inner {
  gap: 18px;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-menu .nav-link {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(32, 29, 39, .72);
  white-space: nowrap;
}
.nav-menu .nav-link::after {
  display: none;
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--pink-strong);
  background: rgba(244, 122, 164, .1);
}
.nav-quick-action {
  white-space: nowrap;
}
.hamburger {
  position: relative;
  display: none;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(32,29,39,.08);
}
.hamburger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(244,122,164,.16), transparent 62%);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.hamburger.active::before {
  opacity: 1;
}
.hamburger span {
  position: relative;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) + 1);
  background: rgba(24, 20, 30, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-overlay[hidden] {
  display: none !important;
}
.nav-drawer {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: calc(var(--z-nav) + 2);
  width: min(420px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,251,.95));
  box-shadow: 0 34px 92px rgba(32,29,39,.28);
  transform: translateX(calc(100% + 28px)) scale(.985);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .34s var(--ease), opacity .28s var(--ease), visibility .28s var(--ease);
  outline: none;
}
body.nav-open .nav-drawer {
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(32,29,39,.08);
}
.drawer-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}
.drawer-head strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: -.03em;
}
.drawer-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
  font-size: .82rem;
}
.drawer-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(32,29,39,.055);
}
.drawer-list {
  display: grid;
  gap: 10px;
}
.drawer-link {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 4px 12px;
  min-height: 66px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(32,29,39,.07);
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 28px rgba(32,29,39,.045);
}
.drawer-link::after {
  content: '→';
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  color: rgba(232,95,147,.72);
  font-weight: 900;
}
.drawer-link span {
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -.02em;
}
.drawer-link small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.drawer-link.active,
.drawer-link:hover {
  border-color: rgba(244,122,164,.24);
  background: linear-gradient(135deg, rgba(255,240,246,.96), rgba(255,255,255,.88));
}
.drawer-feature {
  margin-top: auto;
  padding: 16px;
  border-radius: 22px;
  color: #fff;
  background: radial-gradient(circle at 90% 0%, rgba(244,122,164,.42), transparent 38%), linear-gradient(135deg, #211c28, #3a2b56);
  box-shadow: 0 18px 42px rgba(32,29,39,.18);
}
.drawer-feature span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffdbe9;
  background: rgba(255,255,255,.11);
  font-size: .78rem;
  font-weight: 950;
}
.drawer-feature p {
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  line-height: 1.75;
  font-weight: 700;
}
.drawer-privacy {
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  color: var(--pink-strong);
  background: rgba(244,122,164,.1);
  font-weight: 900;
}
@media (max-width: 1040px) {
  .nav-menu .nav-link {
    padding-inline: 10px;
    font-size: .91rem;
  }
}
@media (max-width: 900px) {
  .nav-menu {
    display: none !important;
  }
  .hamburger {
    display: inline-flex !important;
  }
  .nav-quick-action {
    display: inline-flex !important;
  }
}
@media (max-width: 520px) {
  .nav-quick-action {
    display: none !important;
  }
  .nav-drawer {
    border-radius: 26px;
    padding: 14px;
  }
  .drawer-link {
    min-height: 62px;
    padding: 13px 14px;
  }
}
@media (max-width: 360px) {
  .drawer-head {
    grid-template-columns: 44px minmax(0,1fr) 40px;
  }
  .drawer-logo,
  .drawer-close {
    width: 40px;
    height: 40px;
  }
}

:root {
  --pink: #d98aa0;
  --pink-strong: #b65f7a;
  --pink-soft: #f8edf1;
  --purple: #6f617b;
  --purple-deep: #26212c;
  --purple-soft: #f1edf4;
  --ink: #1f1a22;
  --ink-soft: #38313d;
  --muted: #6a6271;
  --subtle: #8b8291;
  --surface: #faf8f7;
  --surface-2: #f4f1ef;
  --border: rgba(31, 26, 34, .11);
  --border-pink: rgba(182, 95, 122, .20);
  --shadow-sm: 0 10px 28px rgba(31, 26, 34, .06);
  --shadow-md: 0 24px 54px rgba(31, 26, 34, .10);
  --shadow-pink: 0 16px 36px rgba(182, 95, 122, .18);
  --nav-bg: rgba(255,255,255, calc(.88 + (var(--scroll-progress) * .08)));
  --nav-border: rgba(31, 26, 34, calc(.06 + (var(--scroll-progress) * .08)));
  --nav-shadow: 0 16px 38px rgba(31, 26, 34, calc(.05 + (var(--scroll-progress) * .07)));
}

body {
  background: linear-gradient(180deg, #fcfbfb 0%, #f8f6f5 100%);
}

.btn-primary {
  background: linear-gradient(135deg, #b86a80, #a45b76);
}
.btn-outline {
  color: var(--ink);
  border-color: rgba(31, 26, 34, .12);
}
.btn-dark {
  background: #1f1a22;
}

.navbar-pro {
  border-bottom-color: rgba(31, 26, 34, .08);
}
.nav-pro-inner {
  gap: 20px;
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-copy small {
  color: var(--subtle);
  font-size: .76rem;
  font-weight: 800;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.nav-menu-desktop {
  margin-left: auto;
  gap: 8px;
}
.nav-link {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
}
.nav-link:hover,
.dropdown-toggle:hover,
.nav-dropdown.active .dropdown-toggle,
.nav-link.active {
  color: var(--ink);
  background: rgba(31, 26, 34, .04);
}
.nav-link.active::after,
.dropdown-toggle.active::after {
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: #b86a80;
}
.dropdown-toggle.active::after {
  content: '';
  position: absolute;
}
.dropdown-wrapper {
  top: calc(100% + 2px);
}
.dropdown-card {
  min-width: 250px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(31, 26, 34, .08);
  background: rgba(255,255,255,.97);
  box-shadow: 0 26px 54px rgba(31,26,34,.12);
}
.dropdown-card a {
  display: grid;
  gap: 2px;
  justify-content: start;
  padding: 12px 14px;
}
.dropdown-card a span {
  color: var(--ink);
  font-weight: 850;
}
.dropdown-card a small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.dropdown-card a:hover {
  background: #f7f3f5;
}
.nav-actions-pro {
  flex: 0 0 auto;
}
.nav-install-btn {
  color: var(--ink);
}
.nav-quick-action {
  min-width: 132px;
}

.drawer-sections {
  display: grid;
  gap: 18px;
}
.drawer-section {
  display: grid;
  gap: 10px;
}
.drawer-section-title {
  color: var(--subtle);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.drawer-link {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31,26,34,.08);
  box-shadow: 0 6px 18px rgba(31,26,34,.04);
}
.drawer-link.active {
  border-color: rgba(182,95,122,.22);
  background: #fbf4f7;
}
.drawer-feature {
  margin-top: 8px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2b2432 0%, #4c3658 100%);
}
.drawer-feature span {
  color: #f2d7df;
  font-weight: 900;
}
.drawer-feature p {
  color: rgba(255,255,255,.84);
  margin: 8px 0 14px;
}

.footer {
  background: #fff;
}
.footer-inner.footer-classic {
  padding-top: 72px;
}
.footer-main {
  gap: clamp(28px, 4vw, 48px);
}
.footer-col h4 {
  margin-bottom: 14px;
}
.footer-col a,
.footer-col button,
.footer-col span {
  margin: 10px 0;
  font-size: .95rem;
}

.cookie-bar {
  border: 1px solid rgba(31,26,34,.08);
  background: rgba(255,255,255,.96);
}

.pwa-shortcut {
  position: fixed;
  right: max(26px, env(safe-area-inset-right));
  bottom: calc(max(26px, env(safe-area-inset-bottom)) + 84px);
  z-index: calc(var(--z-fab) - 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: #2c2531;
  box-shadow: 0 16px 34px rgba(31,26,34,.18);
}
.pwa-shortcut:hover {
  transform: translateY(-2px);
}
.pwa-shortcut.is-installed,
[data-pwa-install].is-installed {
  opacity: .7;
}

.fab-container {
  width: 66px;
  height: 66px;
}
.fab-btn {
  width: 66px;
  height: 66px;
  background: #151218;
}
.fab-btn-avatar img {
  object-fit: cover;
}
.fab-avatar-wrap {
  background: #151218;
}
.fab-card {
  width: min(372px, calc(100vw - 36px));
  border: 1px solid rgba(31,26,34,.08);
}
.fab-card small {
  color: var(--pink-strong);
}
.fab-support-actions {
  display: grid;
  gap: 10px;
}

.maintenance-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(247,243,245,.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.maintenance-card {
  width: min(640px, 100%);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 32px;
  border: 1px solid rgba(31,26,34,.08);
  background: #fff;
  box-shadow: 0 30px 90px rgba(31,26,34,.18);
  text-align: center;
}
.maintenance-brand {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.maintenance-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.maintenance-card .section-label {
  margin-inline: auto;
}
.maintenance-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.05em;
}
.maintenance-card p {
  color: var(--muted);
  line-height: 1.8;
}
.maintenance-eta {
  margin-top: 14px;
  color: var(--ink);
  font-weight: 850;
}
.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.version-hero {
  min-height: 250px;
  display: block;
  padding: 44px 50px;
  background: linear-gradient(180deg, #fff 0%, #f8f4f5 100%);
}
.version-badges {
  gap: 10px;
}
.version-badges .update-dot,
.version-badges strong,
.version-badges time {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #f5eef1;
  color: #785262;
  font-weight: 900;
}
.version-copy h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.07em;
}
.version-copy p {
  max-width: 760px;
  color: #5d5862;
}
.version-body h3 i {
  color: var(--pink-strong);
}
.version-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.version-list article {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(31,26,34,.08);
  background: #fff;
}
.version-list i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f6eff2;
  color: #a05d74;
}
.version-list h4 {
  font-size: 1.08rem;
  line-height: 1.3;
}
.version-list p {
  margin-top: 6px;
  color: #66606c;
  font-size: .92rem;
  line-height: 1.75;
}
.pwa-guide {
  margin-top: 26px;
  padding: 22px;
  border-radius: 24px;
  background: #f8f5f5;
  border: 1px solid rgba(31,26,34,.06);
}
.pwa-guide h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.pwa-guide p {
  margin-bottom: 14px;
  color: #66606c;
}
.version-actions {
  border-top: 1px solid rgba(31,26,34,.08);
}

@media (max-width: 1080px) {
  .nav-install-btn {
    display: none;
  }
  .footer-main {
    grid-template-columns: 1fr repeat(2, minmax(150px,1fr));
  }
}

@media (max-width: 980px) {
  .nav-menu-desktop,
  .nav-actions-pro .nav-quick-action {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  .container,
  .narrow-container {
    width: min(100% - 28px, 1120px);
  }
  .brand-copy small {
    display: none;
  }
  .brand-name {
    font-size: .98rem;
  }
  .pwa-shortcut {
    right: 18px;
    bottom: 88px;
    min-height: 44px;
    padding: 0 14px;
    font-size: .88rem;
  }
  body.cookie-visible .pwa-shortcut {
    bottom: 160px;
  }
  .version-list {
    grid-template-columns: 1fr;
  }
  .version-hero {
    padding: 30px 20px 24px;
  }
  .version-body {
    padding: 26px 18px 12px !important;
  }
  .version-actions {
    padding: 18px;
    flex-direction: column-reverse;
  }
  .version-actions .btn,
  .pwa-guide .btn {
    width: 100%;
  }
  .maintenance-card {
    padding: 26px 20px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .footer-main,
  .footer-bottom.classic-bottom {
    grid-template-columns: 1fr;
  }
   .cookie-bar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    transform: none;
  }
  .pwa-shortcut span {
    display: none;
  }
  .pwa-shortcut {
    width: 48px;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
  }
}

.navbar-pro {
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(32,29,39,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-pro-inner {
  min-height: 74px;
  gap: 20px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy small {
  color: var(--subtle);
  font-size: .76rem;
  font-weight: 700;
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-link,
.dropdown-toggle {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #5f5665;
  font-weight: 850;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.nav-link::after,
.dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #f67c90, #aa93eb);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle:hover,
.dropdown-toggle.active,
.nav-dropdown:hover > .dropdown-toggle {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after,
.dropdown-toggle:hover::after,
.dropdown-toggle.active::after,
.nav-dropdown:hover > .dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-actions-pro {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-install-btn {
  border-radius: 999px;
}

.hamburger {
  width: 46px;
  height: 46px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 16px;
  border: 1px solid rgba(32,29,39,.08);
  background: rgba(255,255,255,.92);
}

.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dropdown-wrapper {
  padding-top: 12px;
}

.dropdown-card {
  min-width: 260px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(32,29,39,.08);
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(32,29,39,.12);
}

.dropdown-card a {
  border-radius: 16px;
}

.nav-drawer {
  width: min(420px, calc(100vw - 18px));
  padding: 22px 18px 20px;
  border-left: 1px solid rgba(32,29,39,.08);
  background: rgba(255,255,255,.98);
  box-shadow: -22px 0 56px rgba(32,29,39,.14);
}

.drawer-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.drawer-head small {
  color: var(--subtle);
  font-size: .78rem;
}

.drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(32,29,39,.06);
}

.drawer-sections {
  display: grid;
  gap: 18px;
}

.drawer-section {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(32,29,39,.06);
  background: rgba(250,248,251,.8);
}

.drawer-section-title {
  display: block;
  margin-bottom: 14px;
  color: var(--subtle);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}

.drawer-list {
  display: grid;
  gap: 10px;
}

.drawer-link {
  min-height: 72px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(32,29,39,.06);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  text-align: left;
}

.drawer-link small {
  color: var(--muted);
  font-size: .82rem;
}

.drawer-link.active {
  border-color: rgba(246,124,144,.2);
  box-shadow: 0 12px 30px rgba(246,124,144,.08);
}

.drawer-action {
  appearance: none;
  cursor: pointer;
}

.drawer-feature {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(246,124,144,.09), rgba(170,147,235,.09));
}

.drawer-feature span {
  display: inline-flex;
  padding: 0 12px;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #d55f84;
  font-weight: 900;
  font-size: .78rem;
  margin-bottom: 10px;
}

.drawer-feature p {
  color: var(--muted);
  line-height: 1.8;
}

.footer-classic {
  display: grid;
  gap: 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-identity p {
  max-width: 320px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h4 {
  font-size: .95rem;
}

.text-link,
.dev-report-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.82);
  font: inherit;
  text-align: left;
}

.text-link:hover,
.footer-col a:hover,
.dev-report-trigger:hover {
  color: #fff;
}

.classic-bottom {
  display: grid;
  gap: 10px;
  align-items: start;
}

.classic-bottom > div {
  display: grid;
  gap: 6px;
}

.dev-report-trigger {
  font-weight: 800;
}

.diagnostic-body {
  display: grid;
  gap: 14px;
}

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

.diagnostic-output {
  width: 100%;
  min-height: 320px;
  max-height: 52vh;
  overflow: auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(32,29,39,.08);
  background: #17131d;
  color: #f7f3fb;
  font-size: .82rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.pwa-shortcut {
  display: none !important;
}

@media (max-width: 1080px) {
  .nav-menu-desktop,
  .nav-install-btn {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

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

@media (max-width: 720px) {
  .nav-pro-inner {
    min-height: 70px;
  }

  .brand-copy small {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .drawer-section,
  .drawer-feature {
    border-radius: 20px;
  }

  .diagnostic-actions {
    display: grid;
  }

  .diagnostic-actions .btn {
    width: 100%;
  }
}

.nav-menu-desktop .nav-link,
.nav-menu-desktop .dropdown-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #5f5665 !important;
}

.nav-menu-desktop .nav-link:hover,
.nav-menu-desktop .nav-link.active,
.nav-menu-desktop .dropdown-toggle:hover,
.nav-menu-desktop .dropdown-toggle.active,
.nav-menu-desktop .nav-dropdown:hover > .dropdown-toggle {
  color: var(--ink) !important;
}

.footer {
  color: var(--ink) !important;
  background: #fff !important;
}

.footer-identity h3,
.footer-col h4,
.footer-bottom.classic-bottom div,
.classic-bottom > div {
  color: var(--ink) !important;
}

.footer-identity p,
.footer-bottom.classic-bottom p,
.classic-bottom p {
  color: var(--muted) !important;
}

.footer-col a,
.footer-col button,
.footer-col span,
.footer .text-link,
.footer .dev-report-trigger,
.footer-bottom.classic-bottom span,
.classic-bottom span {
  color: var(--muted) !important;
}

.footer-col a:hover,
.footer-col button:hover,
.footer .text-link:hover,
.footer .dev-report-trigger:hover {
  color: var(--pink-strong) !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.navbar-pro {
  width: 100%;
}

.nav-pro-inner {
  min-width: 0;
}

.brand {
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden;
}

.brand-icon {
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
  max-width: min(260px, 44vw);
  overflow: hidden;
}

.brand-name {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions-pro {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

.hamburger,
.nav-install-btn {
  flex: 0 0 auto;
}

.nav-drawer {
  box-sizing: border-box;
  max-width: calc(100vw - 20px);
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.drawer-sections,
.drawer-section,
.drawer-list,
.drawer-link,
.drawer-feature {
  min-width: 0;
}

.drawer-link span,
.drawer-link small,
.drawer-feature p,
.drawer-head strong,
.drawer-head small {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .nav-pro-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .nav-menu-desktop {
    display: none !important;
  }

  .nav-actions-pro {
    display: inline-flex !important;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav-install-btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: inline-flex !important;
    padding: 0 !important;
    border-radius: 16px;
  }

  .nav-install-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hamburger {
    width: 46px;
    min-width: 46px;
    height: 46px;
    display: inline-flex !important;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 66px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .container,
  .narrow-container {
    width: min(100% - 24px, 1120px) !important;
  }

  .nav-pro-inner {
    width: min(100% - 24px, 1120px) !important;
    min-height: 66px !important;
    gap: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark,
  .brand-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
  }

  .brand-copy {
    max-width: calc(100vw - 166px);
  }

  .brand-name {
    font-size: .95rem !important;
    letter-spacing: -.04em;
  }

  .brand-copy small {
    display: none !important;
  }

  .nav-actions-pro {
    gap: 7px;
  }

  .nav-install-btn,
  .hamburger {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .nav-drawer {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(390px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px);
    padding: 14px !important;
    border-radius: 24px !important;
  }

  .drawer-head {
    grid-template-columns: 42px minmax(0, 1fr) 40px !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .drawer-logo,
  .drawer-close {
    width: 40px !important;
    height: 40px !important;
  }

  .drawer-sections {
    gap: 12px !important;
  }

  .drawer-section {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .drawer-link {
    min-height: 58px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  .drawer-feature {
    margin-top: 12px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 380px) {
  .nav-pro-inner {
    width: min(100% - 18px, 1120px) !important;
    gap: 6px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark,
  .brand-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-copy {
    max-width: calc(100vw - 148px);
  }

  .brand-name {
    font-size: .88rem !important;
  }

  .nav-install-btn,
  .hamburger {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 330px) {
  .brand-copy {
    display: none !important;
  }
}

.seo-text-section{padding:clamp(38px,7vw,86px) 0}.seo-text-shell{width:min(1040px,calc(100% - 40px));margin:0 auto;padding:clamp(26px,5vw,44px);border:1px solid rgba(33,28,40,.08);border-radius:32px;background:rgba(255,255,255,.76);box-shadow:0 24px 72px rgba(33,28,40,.06);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.seo-eyebrow{margin:0 0 10px;color:#b84f78;font-size:.78rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.seo-text-shell h2{margin:0;color:#211c28;font-size:clamp(1.65rem,4vw,2.65rem);line-height:1.18;letter-spacing:-.055em;font-weight:950}.seo-text-shell p:not(.seo-eyebrow){max-width:850px;margin:16px 0 0;color:#675f70;font-size:1rem;line-height:1.9;font-weight:600}.seo-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.seo-mini-grid article{padding:18px;border:1px solid rgba(184,106,128,.16);border-radius:22px;background:rgba(255,247,250,.72)}.seo-mini-grid h3{margin:0 0 8px;color:#211c28;font-size:1rem;font-weight:900}.seo-mini-grid p{margin:0!important;font-size:.92rem!important;line-height:1.7!important}@media(max-width:760px){.seo-text-shell{width:min(100% - 28px,1040px);border-radius:26px}.seo-mini-grid{grid-template-columns:1fr}}
