:root {
  color-scheme: light;
  --page: #f7fbff;
  --panel: #ffffff;
  --ink: #14213d;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e4eaf2;
  --line-soft: #edf1f6;
  --blue: #2563eb;
  --blue-dark: #17336d;
  --green: #16804b;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scrollbar-gutter: stable; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(circle at 6% -10%, rgba(219, 244, 255, .78), transparent 38%), radial-gradient(circle at 94% 4%, rgba(224, 238, 255, .72), transparent 34%), var(--page); color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; text-decoration: none; }
svg { display: block; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
[hidden], button[hidden] { display: none !important; }
main { min-height: 100vh; }
.hero { padding: 42px 20px 28px; }
.hero-content { width: min(100%, 1056px); margin: 0 auto; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 9px; margin: 0 auto 26px; text-align: center; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; }
.brand-mark img { display: block; width: 172px; height: auto; }
.brand-lockup h1 { margin: 0; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: .03em; }
.search-form { position: relative; z-index: 5; display: flex; align-items: center; width: 100%; min-height: 62px; gap: 10px; padding: 7px 8px 7px 0; border: 1px solid #b8d4f4; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 28px rgba(37, 99, 235, .09); transition: border-color .16s ease, box-shadow .16s ease; }
.search-form:focus-within { border-color: #73a6ec; box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), 0 12px 32px rgba(37, 99, 235, .12); }
.platform-picker { position: relative; display: flex; align-items: center; flex: 0 0 auto; min-height: 40px; padding: 0 13px 0 16px; border-right: 1px solid var(--line); }
.platform-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 112px; padding: 8px 0; border: 0; background: transparent; color: #344054; font-size: 12px; font-weight: 650; white-space: nowrap; }
.platform-trigger:hover, .platform-trigger[aria-expanded="true"] { color: var(--blue); }
.platform-trigger svg { width: 13px; height: 13px; color: #64748b; transition: transform .16s ease, color .16s ease; }
.platform-trigger[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--blue); }
.platform-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: 154px; max-height: min(62vh, 420px); overflow-y: auto; padding: 6px; border: 1px solid #cdd9e8; border-radius: 13px; background: rgba(255, 255, 255, .98); box-shadow: 0 16px 32px rgba(15, 23, 42, .14); animation: platform-pop .14s ease; transform-origin: top left; }
@keyframes platform-pop { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.platform-option { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: #344054; font-size: 12px; text-align: left; white-space: nowrap; }
.platform-option:hover { background: #eff6ff; color: #1d4ed8; }
.platform-option.is-active { background: #e9f2ff; color: #1d4ed8; font-weight: 700; }
.platform-select-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-icon { width: 18px; height: 18px; flex: 0 0 auto; margin-left: 2px; color: #667085; }
.search-form input { min-width: 0; flex: 1; padding: 9px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; line-height: 1.4; }
.search-form input::placeholder { color: #98a2b3; }
.search-form input::-webkit-search-cancel-button { cursor: pointer; }
.search-submit { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 82px; min-height: 46px; gap: 8px; padding: 0 15px; border: 1px solid var(--blue-dark); border-radius: 11px; background: var(--blue-dark); color: #fff; font-size: 12px; font-weight: 650; transition: background .16s ease, transform .16s ease; }
.search-submit:hover { background: #234984; }
.search-submit:active { transform: translateY(1px); }
.search-submit svg { width: 15px; height: 15px; }
.home-content { display: grid; gap: 16px; margin-top: 18px; }
.hot-keywords { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; min-height: 34px; }
.hot-chip { min-height: 30px; padding: 4px 13px; border: 1px solid #e5eaf1; border-radius: 999px; background: rgba(255, 255, 255, .8); color: #475467; font-size: 12px; transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease; }
.hot-chip:hover { border-color: #8db8ec; background: #eff6ff; color: #1d4ed8; transform: translateY(-1px); }
.curated-panel { padding: 18px 20px 14px; border: 1px solid rgba(218, 227, 239, .94); border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 24px rgba(15, 23, 42, .045); }
.curated-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section-kicker { display: block; margin-bottom: 4px; color: #3787d4; font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.curated-head h2 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.section-note { color: var(--faint); font-size: 11px; white-space: nowrap; }
.curated-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.curated-item { display: flex; align-items: center; min-width: 0; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.curated-item:hover .curated-item-title { color: var(--blue); }
.curated-item-icon { width: 21px; height: 21px; flex: 0 0 auto; border-radius: 6px; background: #eaf3ff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.curated-item-body { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.curated-item-title { overflow: hidden; color: #344054; font-size: 12px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; transition: color .16s ease; }
.curated-item-note { overflow: hidden; color: var(--faint); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.curated-item-arrow { margin-left: auto; color: #98a2b3; font-size: 14px; transition: color .16s ease, transform .16s ease; }
.curated-item:hover .curated-item-arrow { color: var(--blue); transform: translateX(2px); }
body.has-search .home-content { display: none; }
body.has-search .hero { padding-bottom: 14px; }
body.has-search .brand-lockup { margin-bottom: 18px; }
.results-section { width: min(100%, 1056px); margin: 0 auto; padding: 0 16px 42px; }
.results-heading { display: flex; align-items: center; min-height: 32px; padding: 7px 2px 5px; border-top: 1px solid var(--line); }
.result-count { color: var(--muted); font-size: 12px; }
.provider-tabs { display: flex; align-items: center; gap: 20px; width: 100%; min-height: 34px; padding: 0 2px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; }
.provider-tabs::-webkit-scrollbar { display: none; }
.provider-tab { position: relative; flex: 0 0 auto; min-height: 34px; padding: 8px 0 7px; border: 0; background: transparent; color: var(--muted); font-size: 12px; line-height: 1; white-space: nowrap; }
.provider-tab:hover { color: var(--ink); }
.provider-tab.is-active { color: var(--ink); font-weight: 600; }
.provider-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--blue); content: ''; }
.search-progress { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 6px 2px 4px; color: var(--muted); font-size: 11px; }
.search-progress p { margin: 0; min-height: 1.4em; }
.progress-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #cbd5e1; opacity: 0; transition: opacity .16s ease, background .16s ease; }
.progress-dot.is-loading { opacity: 1; background: var(--blue); animation: progress-pulse 1.1s ease-in-out infinite; }
.progress-dot.is-warning { opacity: 1; background: #d97706; animation: none; }
@keyframes progress-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .16); } 50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, .08); } }
.results-list { display: flex; flex-direction: column; gap: 12px; }
.result-group { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); box-shadow: 0 2px 8px rgba(15, 23, 42, .045); }
.result-group-heading { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 11px 15px; border-bottom: 1px solid var(--line-soft); background: var(--panel); }
.result-group-heading h3 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 650; }
.result-group-count { margin-left: auto; color: var(--muted); font-size: 11px; }
.result-group-list { display: block; }
.result-card { display: grid; grid-template-columns: minmax(0, 1fr) 58px; align-items: start; gap: 14px; padding: 13px 15px; border-bottom: 1px solid var(--line-soft); background: var(--panel); }
.result-group-list .result-card:last-child { border-bottom: 0; }
.result-body { min-width: 0; }
.result-title, .result-title-link { display: block; margin: 0; overflow-wrap: anywhere; color: var(--blue); font-size: 14px; font-weight: 550; line-height: 1.5; }
.result-title-link:hover { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.result-description { display: none !important; }
.result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 18px; margin-top: 6px; }
.result-meta .updated-time { padding: 3px 7px; border: 1px solid #e0e7ef; border-radius: 999px; background: #f8fafc; color: var(--muted); font-size: 10px; line-height: 1.2; white-space: nowrap; }
.result-meta .password-button { padding: 3px 7px; border: 1px solid #bbf7d0; border-radius: 999px; background: #f0fdf4; color: var(--green); font-size: 10px; line-height: 1.2; white-space: nowrap; }
.result-meta .password-button:hover { background: #dcfce7; color: #166534; }
.result-actions { display: flex; align-items: flex-start; justify-content: flex-end; width: 58px; min-width: 58px; padding: 0; }
.copy-button { display: inline-flex; align-items: center; justify-content: flex-end; width: 58px; min-height: 28px; gap: 4px; padding: 5px 0; border: 0; border-radius: 6px; background: transparent; color: var(--blue); font-size: 11px; white-space: nowrap; }
.copy-button:hover { background: #eff6ff; color: #1d4ed8; }
.copy-button svg { width: 12px; height: 12px; }
.unavailable-link { color: var(--faint); font-size: 11px; text-align: right; }
.group-toggle { display: block; width: 100%; margin: 0; padding: 10px 14px; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; background: var(--panel); color: var(--blue); font-size: 11px; text-align: center; }
.group-toggle:hover { background: #f8fafc; color: #1d4ed8; }
.more-wrap { min-height: 52px; padding-top: 15px; text-align: center; }
.load-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 17px; border: 1px solid #dce3eb; border-radius: 8px; background: var(--panel); color: #475569; font-size: 12px; }
.load-more:hover { border-color: #9aa8b8; background: #f8fafc; color: var(--ink); }
.load-more svg { width: 14px; height: 14px; }
.end-note { margin: 8px 0; color: var(--faint); font-size: 11px; }
.empty-state { padding: 54px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: var(--muted); text-align: center; }
.empty-state svg { width: 38px; height: 38px; margin: 0 auto 14px; color: #94a3b8; }
.empty-state h3 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 550; }
.empty-state p { margin: 0; font-size: 12px; line-height: 1.7; }
.toast { position: fixed; z-index: 30; bottom: 24px; left: 50%; max-width: calc(100vw - 32px); padding: 10px 16px; transform: translateX(-50%); border: 1px solid #334155; border-radius: 8px; background: #172033; box-shadow: 0 8px 24px rgba(15, 23, 42, .16); color: #fff; font-size: 12px; line-height: 1.5; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .hero { padding: 30px 12px 22px; }
  .brand-lockup { margin-bottom: 20px; }
  .brand-mark img { width: 154px; }
  .brand-lockup h1 { font-size: 12px; }
  .curated-panel { padding: 16px; }
  .curated-list { grid-template-columns: 1fr; }
  .results-section { padding: 0 12px 32px; }
  .result-card { grid-template-columns: minmax(0, 1fr) 58px; gap: 10px; padding: 13px 13px; }
  .result-title, .result-title-link { font-size: 14px; }
  .result-actions { width: 58px; min-width: 58px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 22px; }
  .search-form { min-height: 54px; gap: 7px; padding-right: 6px; }
  .platform-picker { padding: 0 10px; }
  .platform-trigger { min-width: 82px; gap: 5px; font-size: 11px; }
  .platform-menu { width: 142px; }
  .search-icon { width: 16px; height: 16px; }
  .search-submit { min-width: 46px; min-height: 40px; padding: 0 10px; }
  .search-submit span { display: none; }
  .search-submit svg { width: 16px; height: 16px; }
  .search-form input { font-size: 14px; }
  .curated-head { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 8px; }
  .section-note { font-size: 10px; }
  .hot-keywords { gap: 7px; }
  .hot-chip { min-height: 28px; padding: 3px 10px; font-size: 11px; }
  .results-heading { min-height: 30px; padding: 6px 1px 4px; }
  .result-count { font-size: 11px; }
  .provider-tabs { gap: 18px; min-height: 32px; }
  .provider-tab { min-height: 32px; padding: 8px 0 6px; font-size: 11px; }
  .results-list { gap: 10px; }
  .result-group-heading { min-height: 40px; padding: 10px 13px; }
  .result-group-heading h3 { font-size: 12px; }
  .result-group-count { font-size: 10px; }
  .result-card { grid-template-columns: minmax(0, 1fr) 52px; gap: 8px; padding: 12px 13px; }
  .result-title, .result-title-link { font-size: 13px; line-height: 1.48; }
  .result-meta { gap: 6px; margin-top: 5px; }
  .result-meta .updated-time, .result-meta .password-button { padding: 3px 6px; font-size: 9px; }
  .result-actions, .copy-button { width: 52px; min-width: 52px; }
  .copy-button { justify-content: flex-end; font-size: 10px; }
  .group-toggle { padding: 10px 12px; font-size: 10px; }
  .more-wrap { min-height: 48px; padding-top: 13px; }
  .load-more { padding: 8px 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
