/* AI Vault — zero-dependency stylesheet. No web fonts, no external assets. */
:root {
  --bg: #080a12;
  --surface: #101521;
  --surface-2: #171d2e;
  --surface-3: #1e2538;
  --border: rgba(255, 255, 255, .085);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f2f4fb;
  --muted: #8d95ad;
  --faint: #606982;
  --primary: #8172ff;
  --primary-2: #4d8dff;
  --cyan: #3ddad7;
  --grad: linear-gradient(100deg, #9a86ff 0%, #6b7bff 42%, #3ddad7 100%);
  --grad-soft: linear-gradient(135deg, rgba(129, 114, 255, .18), rgba(61, 218, 215, .10));
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, .28);
  --radius: 18px;
  --header-h: 72px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="light"] {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #f0f2f9;
  --surface-3: #e8ecf6;
  --border: rgba(20, 28, 60, .09);
  --border-strong: rgba(20, 28, 60, .18);
  --text: #121728;
  --muted: #5e6780;
  --faint: #9aa2b6;
  --grad: linear-gradient(100deg, #6d52e8 0%, #3b6ff0 45%, #0e9d9b 100%);
  --grad-soft: linear-gradient(135deg, rgba(109, 82, 232, .12), rgba(14, 157, 155, .08));
  --shadow: 0 24px 60px rgba(35, 45, 95, .14);
  --shadow-sm: 0 10px 28px rgba(35, 45, 95, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgba(129, 114, 255, .35); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(110, 105, 255, .35);
}
.brand-mark .ic { width: 21px; height: 21px; stroke-width: 1.6; }
.brand-mark.small { width: 26px; height: 26px; border-radius: 8px; }
.brand-mark.small .ic { width: 15px; height: 15px; }
.brand-name { font-size: 18px; font-weight: 750; letter-spacing: -.03em; }
.brand-name span { color: var(--primary); }
.brand-tag {
  font-size: 9px; font-weight: 750; letter-spacing: .14em; color: var(--muted);
  border: 1px solid var(--border-strong); border-radius: 5px; padding: 2px 5px; margin-left: 2px;
}
.nav { display: flex; align-items: center; gap: 30px; margin-left: 14px; }
.nav a { font-size: 13.5px; font-weight: 550; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn .ic { width: 17px; height: 17px; }

/* ---------- Auth ---------- */
.auth-area { position: relative; display: flex; align-items: center; }
.signin-btn {
  height: 38px; display: inline-flex; align-items: center; gap: 9px; padding: 0 15px;
  border-radius: 11px; border: 1px solid var(--border-strong); background: var(--surface-2);
  color: var(--text); font-size: 13px; font-weight: 650; white-space: nowrap;
  transition: border-color .2s, transform .2s, background .2s;
}
.signin-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.g-mini { width: 17px; height: 17px; }
.account-btn {
  height: 40px; display: inline-flex; align-items: center; gap: 9px; padding: 0 10px 0 6px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  transition: border-color .2s;
}
.account-btn:hover { border-color: var(--border-strong); }
.account-btn .ic { width: 14px; height: 14px; color: var(--muted); }
.account-name { font-size: 13px; font-weight: 650; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .02em; flex: none;
}
.account-menu {
  position: fixed; z-index: 80; width: 248px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: var(--shadow); animation: pop .16s ease;
}
.menu-head { display: flex; align-items: center; gap: 11px; padding: 10px 10px 14px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.menu-head .avatar { width: 36px; height: 36px; font-size: 13px; }
.menu-name { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.menu-mail { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 175px; }
.menu-item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px;
  border: 0; border-radius: 10px; background: transparent; color: var(--text);
  font-size: 13px; text-align: left; transition: background .15s;
}
.menu-item:hover { background: var(--surface-2); }
.menu-item .ic { width: 16px; height: 16px; color: var(--muted); }
.menu-item .pill { margin-left: auto; font-size: 11px; background: var(--surface-3); border-radius: 20px; padding: 1px 8px; color: var(--muted); }
.menu-sep { height: 1px; background: var(--border); margin: 6px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 76px; isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -2; inset: -30% -10% auto -10%; height: 780px; pointer-events: none;
  background:
    radial-gradient(46% 52% at 28% 30%, rgba(129, 114, 255, .28), transparent 70%),
    radial-gradient(40% 48% at 76% 22%, rgba(61, 218, 215, .16), transparent 70%),
    radial-gradient(38% 40% at 52% 78%, rgba(77, 141, 255, .13), transparent 72%);
  filter: blur(18px);
}
.hero-grid {
  position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .4;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 92%);
}
.hero-inner { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  font-size: 10.5px; font-weight: 750; letter-spacing: .18em; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding: 7px 14px; border-radius: 100px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(61, 218, 215, .14); animation: pulse 2.4s infinite; }
.dot-sep { opacity: .45; }
h1 { margin: 0; font-size: clamp(38px, 6.1vw, 70px); line-height: 1.07; font-weight: 780; letter-spacing: -.045em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 640px; margin: 24px auto 0; font-size: 16px; line-height: 1.75; color: var(--muted); }
.search-shell {
  position: relative; max-width: 620px; margin: 38px auto 0; display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.search-shell:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(129, 114, 255, .13), var(--shadow-sm); transform: translateY(-1px); }
.search-icon { width: 20px; height: 20px; margin-left: 20px; color: var(--faint); }
#search {
  flex: 1; min-width: 0; height: 60px; padding: 0 14px; border: 0; outline: 0;
  background: transparent; color: var(--text); font-size: 15px;
}
#search::placeholder { color: var(--faint); }
#search::-webkit-search-cancel-button { display: none; }
.clear-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.clear-btn:hover { color: var(--text); }
.clear-btn .ic { width: 14px; height: 14px; }
.shortcut { margin: 0 16px 0 6px; font-size: 11px; color: var(--faint); font-family: var(--font); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; }
.hot-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hot-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hot-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hot-tag { border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); font-size: 12px; padding: 5px 12px; border-radius: 100px; transition: all .18s; }
.hot-tag:hover { color: var(--text); border-color: var(--primary); transform: translateY(-1px); }
.stats { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 54px; }
.stat { padding: 0 34px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: 26px; font-weight: 760; letter-spacing: -.04em; }
.stat-label { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 62px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.kicker { margin: 0 0 10px; font-size: 10.5px; font-weight: 750; letter-spacing: .18em; color: var(--primary); }
.section-head h2, .about-copy h2 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); font-weight: 740; letter-spacing: -.035em; line-height: 1.15; }
.result-line { margin: 0; font-size: 13px; color: var(--muted); }
.result-line strong { color: var(--text); font-size: 16px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: all .18s;
}
.chip .ic { width: 15px; height: 15px; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 8px 22px rgba(110, 105, 255, .28); }
.chip .chip-n { font-size: 11px; opacity: .7; }
.fav-filter {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.fav-filter .ic { width: 14px; height: 14px; }
.fav-filter:hover, .fav-filter.active { color: var(--text); border-color: var(--primary); }
.fav-filter.active { background: var(--grad-soft); }
#favCount { background: var(--surface-3); border-radius: 20px; padding: 0 6px; font-size: 11px; }

/* ---------- Tool cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; min-height: 214px; padding: 20px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  animation: rise .45s both; transition: transform .22s, border-color .22s, box-shadow .22s, background .22s;
}
.tool-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); background: var(--surface-2); }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card-top { display: flex; align-items: center; gap: 13px; }
.tool-icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none;
  color: #fff; font-size: 17px; font-weight: 760; letter-spacing: -.04em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.tool-meta { min-width: 0; }
.tool-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.tool-name .ic { width: 13px; height: 13px; color: var(--faint); transition: transform .2s, color .2s; }
.tool-card:hover .tool-name .ic { color: var(--primary); transform: translate(2px, -2px); }
.tool-url { display: block; font-size: 11px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.badge { font-size: 9px; font-weight: 750; letter-spacing: .08em; padding: 2px 6px; border-radius: 5px; background: var(--grad-soft); color: var(--primary); border: 1px solid var(--border); }
.tool-desc { margin: 15px 0 16px; font-size: 12.8px; line-height: 1.62; color: var(--muted); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 10.5px; color: var(--faint); background: var(--surface-3); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); }
.cat-label { font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.star-btn {
  position: relative; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 9px; border: 1px solid var(--border); background: var(--surface-2); color: var(--faint);
  transition: all .18s;
}
.star-btn .ic { width: 15px; height: 15px; }
.star-btn:hover { color: #f5b942; border-color: rgba(245, 185, 66, .5); transform: scale(1.08); }
.star-btn.saved { color: #f5b942; background: rgba(245, 185, 66, .12); border-color: rgba(245, 185, 66, .4); }
.star-btn.saved .ic { fill: rgba(245, 185, 66, .28); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-icon { width: 56px; height: 56px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); color: var(--muted); }
.empty-icon .ic { width: 24px; height: 24px; }
.empty h3 { margin: 0 0 6px; font-size: 19px; }
.empty p { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 680; transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 26px rgba(110, 105, 255, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(110, 105, 255, .38); }

/* ---------- About ---------- */
.about-section { border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-copy > p:not(.kicker) { color: var(--muted); font-size: 14.5px; line-height: 1.8; max-width: 500px; margin: 20px 0 0; }
.about-points { display: grid; gap: 11px; margin-top: 26px; }
.about-points > div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.about-points .ic { width: 16px; height: 16px; color: var(--cyan); }
.about-card {
  padding: 30px; border-radius: 22px; border: 1px solid var(--border);
  background: var(--grad-soft), var(--surface); box-shadow: var(--shadow-sm);
}
.about-card-head { display: flex; align-items: center; gap: 11px; }
.about-card-head .ic { color: var(--primary); width: 20px; height: 20px; }
.about-card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.about-card > p { color: var(--muted); font-size: 13.5px; line-height: 1.75; margin: 14px 0 22px; }
.credit { font-size: 11px !important; color: var(--faint) !important; line-height: 1.6 !important; margin: 22px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--border); }
.credit a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 30px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.footer-domain { font-size: 11.5px; color: var(--faint); margin-left: 4px; }
.footer-copy, .footer-credit { margin: 0; font-size: 11.5px; color: var(--faint); }
.footer-credit { display: flex; align-items: center; gap: 6px; }
.footer-credit .ic { width: 13px; height: 13px; }
.footer-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 12, .74); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.modal-card {
  position: relative; width: min(420px, 100%); padding: 34px 32px 26px; text-align: center;
  border-radius: 24px; border: 1px solid var(--border-strong); background: var(--surface);
  box-shadow: var(--shadow); animation: pop .22s ease;
}
.modal-x { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--surface-2); color: var(--muted); }
.modal-x:hover { color: var(--text); }
.modal-x .ic { width: 15px; height: 15px; }
.modal-badge { width: 52px; height: 52px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(110, 105, 255, .35); }
.modal-badge .ic { width: 27px; height: 27px; stroke-width: 1.5; }
.modal-card h2 { margin: 0; font-size: 23px; font-weight: 740; letter-spacing: -.03em; }
.modal-sub { margin: 10px auto 24px; max-width: 310px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.google-host { display: flex; justify-content: center; min-height: 0; margin-bottom: 12px; }
.google-btn {
  width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 11px;
  background: #fff; color: #1f2430; border: 1px solid #dadce0; border-radius: 12px;
  font-size: 14px; font-weight: 650; transition: box-shadow .2s, transform .2s;
}
.google-btn:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transform: translateY(-1px); }
.g-logo { width: 19px; height: 19px; }
.demo-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.demo-title::before, .demo-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.demo-accounts { display: grid; gap: 8px; }
.demo-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2);
  color: var(--text); text-align: left; transition: border-color .18s, transform .18s;
}
.demo-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.demo-btn .avatar { width: 34px; height: 34px; font-size: 12px; }
.demo-name { font-size: 13px; font-weight: 650; line-height: 1.3; }
.demo-mail { font-size: 11px; color: var(--faint); }
.demo-arrow { margin-left: auto; color: var(--faint); }
.demo-arrow .ic { width: 15px; height: 15px; }
.modal-note { margin: 16px 0 0; font-size: 11px; line-height: 1.55; color: var(--primary); }
.modal-legal { margin: 14px 0 0; font-size: 10.5px; line-height: 1.55; color: var(--faint); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 120; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 9px; max-width: calc(100% - 40px);
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 13px; font-weight: 550;
  box-shadow: var(--shadow); animation: toastIn .25s ease;
}
.toast .ic { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 76px 0 60px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .header-inner { gap: 12px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 16px; }
  .account-name, .account-btn .ic { display: none; }
  .account-btn { padding: 0 6px; }
  .hero { padding: 58px 0 48px; }
  .hero-sub { font-size: 14.5px; }
  #search { height: 54px; font-size: 14px; }
  .search-icon { margin-left: 16px; }
  .shortcut { display: none; }
  .stat { padding: 0 18px; }
  .stat-num { font-size: 22px; }
  .stats { margin-top: 40px; }
  .section { padding: 46px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .fav-filter { align-self: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .modal-card { padding: 30px 22px 22px; }
}
