@charset "UTF-8";
:root {
  color-scheme: light;
  --bg: #f7f8fc; --panel: #fff; --text: #202b40; --muted: #66728a;
  --line: #e9ecf2; --accent: #4368e8; --accent-soft: #edf1ff;
  --hover: #f4f6fc; --shadow: 0 6px 24px #26345805;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131720; --panel: #1b202b; --text: #e3e8f1; --muted: #939eb2;
  --line: #2b3240; --accent: #91a9ff; --accent-soft: #293453;
  --hover: #242b39; --shadow: 0 6px 24px #0000000c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, input, select { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-soft); color: var(--accent); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sidebar { width: 238px; position: fixed; inset: 0 auto 0 0; background: var(--panel); border-right: 1px solid var(--line); padding: 32px 20px 22px; display: flex; flex-direction: column; z-index: 30; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 40px; background: #4368e8; border-radius: 11px; color: white; box-shadow: 0 4px 9px #4368e827; }
.brand-icon .icon { width: 23px; height: 23px; }
.brand small { display: block; font: 8px Consolas, monospace; letter-spacing: 1.2px; color: var(--muted); margin-top: 5px; }
.nav-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; margin: 43px 12px 14px; }
.nav-label span { font: 8px Consolas, monospace; letter-spacing: 1px; opacity: .7; }
.category-nav { display: grid; gap: 6px; }
.category-button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; padding: 12px 14px; background: transparent; border-radius: 8px; color: #6c778d; text-align: left; font-size: 13px; transition: background .15s, color .15s; }
[data-theme="dark"] .category-button { color: var(--muted); }
.category-button .icon { width: 17px; height: 17px; }
.category-button small { margin-left: auto; font: 10px Consolas, monospace; color: #9ba5b6; }
.category-button:hover { background: var(--hover); color: var(--accent); }
.category-button.is-active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.category-button.is-active small { color: var(--accent); }
.nav-divider { height: 1px; background: var(--line); margin: 17px 12px; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.collection-note { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 18px 16px; margin: 0 6px 20px; }
.note-icon { color: var(--accent); font-size: 20px; display: block; margin-bottom: 10px; }
.collection-note strong { font-size: 11px; font-weight: 600; }
.collection-note p { color: var(--muted); font-size: 10px; line-height: 1.9; margin: 8px 0 0; }
.sidebar-bottom>a { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding: 9px 14px; font-size: 11px; }
.sidebar-bottom>a:hover { color: var(--accent); }
.sidebar-bottom>a .icon { width: 13px; height: 13px; }
.main-area { margin-left: 238px; }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; border-bottom: 1px solid var(--line); background: var(--bg); }
.breadcrumb { display: flex; align-items: center; gap: 15px; font-size: 11px; color: var(--muted); }
.breadcrumb-separator { color: #c2c9d5; }
#breadcrumb-current { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 25px; }
.open-source { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.open-source i { width: 5px; height: 5px; border-radius: 50%; background: #55ac8e; }
.icon-button { display: grid; place-items: center; padding: 8px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); }
.icon-button:hover { color: var(--accent); border-color: var(--accent); }
.icon-button .icon { width: 16px; height: 16px; }
.sun, [data-theme="dark"] .moon { display: none; }
[data-theme="dark"] .sun { display: block; }
.mobile-menu { display: none; }
.content { max-width: 1350px; padding: 40px 44px 22px; margin-inline: auto; }
.intro { padding: 5px 0 30px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); margin: 0 0 17px; letter-spacing: .6px; }
.eyebrow>span { width: 5px; height: 5px; background: var(--accent); border-radius: 2px; }
h1 { margin: 0; font-size: clamp(28px, 2.5vw, 38px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.4; }
h1 span { color: var(--accent); }
.intro-description { margin: 12px 0 27px; color: var(--muted); font-size: 13px; }
.search-form { display: flex; align-items: center; gap: 15px; padding: 0 20px; height: 60px; background: var(--panel); border: 1px solid #dfe5f1; border-radius: 11px; box-shadow: var(--shadow); }
[data-theme="dark"] .search-form { border-color: var(--line); }
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-form>.icon { color: #96a4c0; }
.search-form input { min-width: 0; flex: 1; border: 0; outline: none; background: transparent; height: 100%; font-size: 13px; }
.search-form input:focus-visible { outline: none; }
.search-form input::placeholder { color: #9aa3b4; }
kbd { font: 11px Consolas, monospace; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; width: 22px; text-align: center; padding: 2px; }
.search-total { font-size: 10px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 15px; white-space: nowrap; }
.search-hints { display: flex; align-items: center; gap: 12px; margin-top: 13px; color: #99a2b4; font-size: 10px; }
.search-hints button { border: 0; background: var(--line); border-radius: 4px; padding: 3px 9px; color: #7b869b; font-size: 9px; }
[data-theme="dark"] .search-hints button { color: var(--muted); }
.search-hints button:hover { color: var(--accent); background: var(--accent-soft); }
.search-hint-right { margin-left: auto; font-size: 9px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
h2 { font-size: 15px; font-weight: 650; margin: 0; }
.section-heading>span { font-size: 10px; color: var(--muted); }
.quick-section { margin: 0 0 32px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.quick-grid>a { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px 8px; font-size: 10px; transition: border-color .15s, transform .15s; }
.quick-grid>a>.icon:first-child { color: #7286bc; width: 16px; height: 16px; }
.quick-grid>a>.icon:last-child { width: 12px; height: 12px; color: #b0bacb; display: none; }
.quick-grid>a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.catalog-section { border-top: 1px solid var(--line); padding-top: 27px; }
.catalog-toolbar, .catalog-title-wrap, .catalog-controls { display: flex; align-items: center; }
.catalog-toolbar { justify-content: space-between; gap: 15px; }
.catalog-title-wrap { gap: 9px; }
.count-badge { background: var(--accent-soft); color: var(--accent); padding: 2px 7px; border-radius: 5px; font: 10px Consolas, monospace; }
.catalog-controls { gap: 8px; }
select { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 7px 10px; font-size: 10px; color: var(--muted); max-width: 125px; }
.catalog-description { color: var(--muted); font-size: 10px; margin: 9px 0 21px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-card:hover { border-color: #c5d1f5; box-shadow: 0 7px 22px #3d57800a; transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 17px; border-radius: inherit; }
.tool-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; margin-bottom: 15px; }
.tool-icon .icon { width: 19px; height: 19px; }
.category-dev { color: #5e7be0; background: #edf1ff; }
.category-text { color: #9d78bc; background: #f4effb; }
.category-convert { color: #429b91; background: #eaf7f3; }
.category-deploy { color: #6986b0; background: #edf3fa; }
.category-intel { color: #cb9960; background: #fbf3e9; }
.category-creative { color: #be829a; background: #fbf0f5; }
[data-theme="dark"] .tool-icon { background: var(--hover); }
h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .1px; }
.card-link>p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 10px 0 19px; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bottom { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 9px; }
.kind-label { color: #7d8ca9; background: var(--bg); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; }
.category-label { color: #a0a9ba; }
.card-bottom>.icon { margin-left: auto; color: #afb8ca; width: 14px; height: 14px; }
.card-link:hover h3, .card-link:hover .card-bottom>.icon { color: var(--accent); }
.favorite-button { position: absolute; z-index: 1; top: 17px; right: 17px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; color: #bdc5d3; background: transparent; }
.favorite-button .icon { width: 16px; height: 16px; }
.favorite-button:hover { background: var(--bg); color: var(--accent); }
.favorite-button[aria-pressed="true"] { color: #d6a04b; }
.favorite-button[aria-pressed="true"] .icon { fill: #f7e6bb; }
.card-notes:empty { display: none; }
.card-notes { display: flex; align-items: center; gap: 8px; padding: 0 22px 13px; font-size: 9px; color: var(--muted); flex-wrap: wrap; }
.compatibility { color: #aa8850; background: #ad8d3d0c; border-radius: 3px; padding: 2px 5px; }
.reference:hover { color: var(--accent); text-decoration: underline; }
.result-status { text-align: center; color: #9ca6b8; font-size: 10px; margin-top: 24px; }
.empty-state { text-align: center; color: var(--muted); border: 1px dashed var(--line); padding: 54px 20px; border-radius: 10px; }
.empty-state>.icon { width: 30px; height: 30px; margin-bottom: 17px; color: var(--accent); }
.empty-state h3 { font-size: 15px; color: var(--text); }
.empty-state p { font-size: 12px; }
.empty-state button { border: 0; background: var(--accent-soft); color: var(--accent); padding: 9px 15px; border-radius: 6px; margin-top: 10px; font-size: 12px; }
.footer { display: flex; justify-content: space-between; gap: 20px; color: #98a2b4; font-size: 9px; padding: 26px 0 0; margin-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer i { font-style: normal; margin: 0 7px; color: #c3cad7; }
.footer a:hover { color: var(--accent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -80px; background: var(--accent); color: white; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 10px; }
.noscript-note { position: fixed; bottom: 0; left: 0; right: 0; background: var(--panel); border-top: 1px solid var(--line); padding: 10px; text-align: center; font-size: 12px; z-index: 100; }
@media(min-width:1650px) { .tool-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:1250px) { .content { padding-inline: 30px; } .topbar { padding-inline: 30px; } .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .quick-grid>a>.icon:last-child { display: block; margin-left: auto; } .quick-grid>a { padding-inline: 16px; justify-content: flex-start; } .card-link { padding: 20px 18px 16px; } .tool-grid { gap: 12px; } }
@media(max-width:1050px) { .sidebar { width: 214px; padding-inline: 14px; } .main-area { margin-left: 214px; } .brand { font-size: 16px; gap: 10px; } .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .search-hint-right { display: none; } }
@media(max-width:760px) {
  html { scroll-padding-top: 25px; }
  .sidebar { transform: translateX(-100%); width: 238px; transition: transform .2s; }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 20; background: #14203566; border: 0; }
  .main-area { margin-left: 0; }
  .mobile-menu { display: grid; margin-right: 1px; }
  .topbar { padding: 0 20px; height: 65px; }
  .breadcrumb { gap: 10px; font-size: 11px; }
  .open-source { display: none; }
  .content { padding: 27px 20px 22px; }
  .intro { padding: 0 0 28px; }
  .eyebrow { font-size: 9px; margin-bottom: 16px; }
  h1 { font-size: 29px; letter-spacing: -1.1px; }
  .intro-description { font-size: 11px; line-height: 1.9; margin: 12px 0 22px; max-width: 290px; }
  .search-form { height: 54px; padding-inline: 14px; gap: 10px; }
  .search-form input { font-size: 11px; }
  .search-form>.icon { width: 18px; height: 18px; }
  .search-total { display: none; }
  .search-hints { gap: 9px; font-size: 9px; }
  .quick-grid { gap: 8px; }
  .quick-grid>a { padding: 13px 9px; justify-content: center; gap: 7px; font-size: 9px; }
  .quick-grid>a>.icon:first-child { width: 13px; height: 13px; }
  .quick-grid>a>.icon:last-child { display: none; }
  .section-heading>span { font-size: 9px; }
  .quick-section { margin-bottom: 26px; }
  .catalog-section { padding-top: 23px; }
  .catalog-toolbar { align-items: center; gap: 10px; }
  .catalog-controls { gap: 5px; }
  select { font-size: 9px; padding: 7px 5px; max-width: 90px; }
  h2 { font-size: 14px; }
  .catalog-description { font-size: 10px; line-height: 1.8; margin-bottom: 18px; }
  .tool-grid { gap: 11px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-link { padding: 16px 13px 12px; }
  .tool-icon { width: 32px; height: 32px; border-radius: 8px; margin-bottom: 13px; }
  .tool-icon .icon { width: 17px; height: 17px; }
  h3 { font-size: 13px; line-height: 1.7; padding-right: 0; min-height: 44px; }
  .card-link>p { font-size: 11px; margin: 8px 0 13px; -webkit-line-clamp: 3; min-height: 60px; }
  .favorite-button { top: 14px; right: 9px; }
  .favorite-button .icon { width: 15px; height: 15px; }
  .card-bottom { gap: 5px; padding-top: 11px; }
  .kind-label { font-size: 8px; padding: 2px 4px; }
  .category-label { display: none; }
  .card-notes { padding-inline: 13px; font-size: 8px; }
  .footer { line-height: 1.9; gap: 8px; }
}
@media(max-width:350px) { .tool-grid { grid-template-columns: 1fr; } h3 { min-height: 0; } .card-link>p { min-height: 0; } .catalog-toolbar { flex-wrap: wrap; } .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
