@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #fffefa;
  --surface-hover: #ffffff;
  --text: #272b28;
  --secondary: #656a63;
  --muted: #6a7167;
  --line: #e2e3dc;
  --soft: #efefea;
  --accent: #b74e2f;
  --accent-wash: #f2e7df;
  --shadow: 0 12px 30px -18px #383e3752;
  --coral: #b34f34; --coral-bg: #fae9e1;
  --purple: #7958aa; --purple-bg: #eee7f7;
  --blue: #4374b6; --blue-bg: #e5edf9;
  --cyan: #277c97; --cyan-bg: #e1f0f4;
  --slate: #535f61; --slate-bg: #e8edeb;
  --green: #4e7d52; --green-bg: #e8f0e2;
  --amber: #946824; --amber-bg: #f7edda;
  --rose: #ab5870; --rose-bg: #f6e6ec;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191c1a;
  --surface: #212522;
  --surface-hover: #282d29;
  --text: #eceee6;
  --secondary: #abb1a6;
  --muted: #949c8f;
  --line: #353b34;
  --soft: #2b302a;
  --accent: #e3936d;
  --accent-wash: #403129;
  --shadow: 0 12px 30px -16px #0009;
  --coral: #e99e81; --coral-bg: #413027;
  --purple: #bd9ce9; --purple-bg: #362e42;
  --blue: #91b4ed; --blue-bg: #29374b;
  --cyan: #82c6d9; --cyan-bg: #283d43;
  --slate: #b8c9c2; --slate-bg: #343f39;
  --green: #abca95; --green-bg: #343e2c;
  --amber: #e1ba76; --amber-bg: #423926;
  --rose: #e7a4b9; --rose-bg: #452e36;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
::selection { background: var(--accent-wash); color: var(--accent); }
.wrap { width: calc(100% - 112px); max-width: 1248px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 24px; top: -100px; z-index: 5; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 20px; }
.skip-link:focus { top: 12px; }

.site-header { height: 100px; display: flex; align-items: center; border-bottom: 1px solid var(--line); gap: 54px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 33px; height: 33px; }
.brand > span { display: flex; align-items: baseline; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: 2px; }
.brand-en { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 2px; }
.header-nav { display: flex; gap: 30px; font-size: 13px; color: var(--secondary); height: 100%; align-items: center; }
.header-nav a { position: relative; padding-block: 12px; }
.header-nav a:hover { color: var(--text); }
.header-nav .nav-current { color: var(--text); font-weight: 600; }
.nav-current::after { content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; position: absolute; left: 50%; bottom: 0; }
.theme-picker { display: flex; margin-left: auto; gap: 3px; background: var(--soft); border: 1px solid var(--line); padding: 4px; border-radius: 10px; }
.theme-picker button { display: grid; place-items: center; width: 32px; height: 29px; padding: 6px; border: 0; background: transparent; color: var(--muted); border-radius: 6px; transition: color .15s, background .15s; }
.theme-picker button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px #00000012; }
.theme-picker button:hover { color: var(--text); }
.theme-picker svg, .search-box svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; padding: 66px 0 62px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--secondary); font-size: 10px; font-weight: 550; letter-spacing: 2px; }
.tiny-cross { color: var(--accent); font-size: 19px; line-height: 1; }
h1 { margin: 0; font-size: clamp(38px, 3.8vw, 52px); line-height: 1.42; font-weight: 600; letter-spacing: -1.8px; }
.title-accent { color: var(--accent); position: relative; white-space: nowrap; }
.title-accent svg { position: absolute; left: 0; bottom: -7px; width: 100%; height: 10px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; opacity: .46; }
.hero-description { color: var(--secondary); margin: 24px 0 0; font-size: 14px; line-height: 1.95; }
.collection-note { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 23px 24px 21px; transform: rotate(2deg); position: relative; }
.collection-note::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; border-top: 2px solid var(--line); }
.note-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 1.9px; color: var(--muted); }
.note-star { font-size: 20px; color: var(--accent); line-height: 1; }
.note-number { display: flex; align-items: center; gap: 18px; padding-top: 14px; }
.note-number > span:first-child { font-family: "SFMono-Regular", Consolas, monospace; font-size: 60px; line-height: 1.15; font-weight: 400; letter-spacing: -5px; }
.note-number > span:last-child { font-size: 12px; line-height: 1.9; }
.note-muted { color: var(--muted); font-size: 11px; }
.note-line { display: flex; gap: 4px; margin-top: 20px; }
.note-line span { height: 3px; flex: 1; border-radius: 2px; background: var(--coral); opacity: .6; }
.note-line span:nth-child(2) { background: var(--amber); }.note-line span:nth-child(3) { background: var(--purple); }.note-line span:nth-child(4) { background: var(--green); }
.collection-note > p { margin: 19px 0 10px; font-size: 12px; }
.note-path { display: flex; align-items: center; justify-content: space-between; color: var(--secondary); font-size: 10px; }
.note-path i { font-style: normal; color: var(--muted); }

.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section-title { display: flex; align-items: center; gap: 10px; }
h2 { font-size: 18px; letter-spacing: .3px; margin: 0; font-weight: 600; }
.count-badge { color: var(--secondary); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; background: var(--soft); padding: 4px 6px; border-radius: 5px; }
.section-heading > p { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); margin: 0; letter-spacing: .6px; }
.heading-line { width: 32px; height: 1px; background: var(--line); }
.toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 25px; }
.filters { display: flex; gap: 6px; }
.filters button { border: 1px solid transparent; background: transparent; padding: 9px 13px; border-radius: 7px; color: var(--secondary); display: flex; align-items: center; gap: 9px; font-size: 12px; white-space: nowrap; transition: background .15s, color .15s; }
.filters button:hover { background: var(--soft); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-count { font-size: 10px; font-family: "SFMono-Regular", Consolas, monospace; }
.search-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); padding: 9px 11px; border-radius: 8px; width: 260px; }
.search-box:focus-within { border-color: var(--accent); }
.search-box svg { color: var(--muted); flex-shrink: 0; }
.search-box input { color: var(--text); border: 0; padding: 0; outline: 0; background: transparent; font-size: 12px; min-width: 0; width: 100%; }
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus-visible { outline: none; }
kbd { color: var(--muted); font: 10px "SFMono-Regular", Consolas, monospace; border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; }

.site-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.site-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 22px 20px 0; min-width: 0; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; }
.site-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tone); background: var(--surface-hover); }
.tone-coral { --tone: var(--coral); --tone-bg: var(--coral-bg); }.tone-purple { --tone: var(--purple); --tone-bg: var(--purple-bg); }.tone-blue { --tone: var(--blue); --tone-bg: var(--blue-bg); }.tone-cyan { --tone: var(--cyan); --tone-bg: var(--cyan-bg); }.tone-slate { --tone: var(--slate); --tone-bg: var(--slate-bg); }.tone-green { --tone: var(--green); --tone-bg: var(--green-bg); }.tone-amber { --tone: var(--amber); --tone-bg: var(--amber-bg); }.tone-rose { --tone: var(--rose); --tone-bg: var(--rose-bg); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.site-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 11px; color: var(--tone); background: var(--tone-bg); }
.site-icon svg { width: 27px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.card-index { color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; padding-top: 3px; }
.card-eyebrow { color: var(--tone); font-size: 8px; letter-spacing: 1.05px; font-weight: 600; margin: 0 0 8px; }
.card-title { font-size: 16px; font-weight: 600; letter-spacing: -.25px; line-height: 1.6; margin: 0 0 8px; }
.card-description { color: var(--secondary); font-size: 12px; line-height: 1.9; margin: 0; }
.card-content { flex: 1; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 17px; padding-bottom: 19px; }
.tag { color: var(--secondary); background: var(--soft); font-size: 10px; border-radius: 4px; padding: 4px 7px; line-height: 1.3; }
.card-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 6px; justify-content: space-between; min-height: 44px; color: var(--muted); }
.card-hostname { font-size: 9px; font-family: "SFMono-Regular", Consolas, monospace; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-arrow { font-size: 18px; color: var(--secondary); transition: transform .2s, color .2s; }
.site-card:hover .card-arrow { color: var(--tone); transform: translate(2px, -2px); }
.empty-state { text-align: center; padding: 45px 20px 55px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface); }
.empty-symbol { font-size: 38px; color: var(--accent); }.empty-state h3 { font-size: 18px; font-weight: 550; }.empty-state p { color: var(--secondary); font-size: 13px; }
.empty-state button { color: var(--text); padding: 9px 14px; border: 1px solid var(--line); background: var(--soft); border-radius: 6px; margin-top: 10px; }
.empty-state button span { margin-left: 12px; }.noscript-note { color: var(--accent); padding: 24px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 46px; padding-block: 26px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer > div { display: flex; align-items: center; gap: 13px; }.footer-name { color: var(--text); font-size: 13px; font-weight: 600; }.footer-divider { color: var(--line); }.footer-note { display: flex; align-items: center; gap: 7px; font-size: 10px; }.status-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }

/* 本站面向桌面浏览器，仅调整较窄桌面窗口的密度。 */
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 32px; grid-template-columns: minmax(0, 1fr) 270px; }
  .site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { gap: 2px; }.filters button { padding-inline: 10px; }.search-box { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
