:root {
  --night: #131927;
  --plum: #3a253d;
  --rose: #d98fa4;
  --paper: #f6f1ec;
  --mist: #bdb9c3;
  --ink: #202b3b;
  --line: #d9d2d2;
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--rose); color: var(--night); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); color: var(--night); background: var(--paper); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-frame { max-width: 1800px; margin: 0 auto; min-height: 100vh; display: grid; grid-template-columns: 242px minmax(0, 1fr); background: var(--paper); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 31px 23px 25px; background: var(--night); color: var(--paper); border-right: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; line-height: 1; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; flex: none; border: 1px solid var(--rose); border-radius: 50%; color: var(--rose); font-family: var(--display); font-size: 26px; }
.brand strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: .05em; }
.brand small { display: block; margin-top: 7px; color: var(--mist); font-size: 11px; letter-spacing: .27em; }
.sidebar-label { margin-top: 88px; margin-bottom: 20px; color: var(--mist); font-size: 12px; letter-spacing: .1em; }
.category-nav { display: grid; gap: 3px; }
.category-nav a { position: relative; display: flex; align-items: center; gap: 13px; padding: 14px 13px; border-radius: 4px; color: #dcd7dc; text-decoration: none; font-size: 15px; }
.category-nav a:hover, .category-nav a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.category-nav a.current { background: var(--plum); color: #fff; }
.nav-dot { width: 6px; height: 6px; flex: none; background: #747986; border-radius: 50%; }
.category-nav a.current .nav-dot { background: var(--rose); box-shadow: 0 0 0 4px rgba(217,143,164,.15); }
.sidebar-note { margin: auto 11px 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: #c7c5cb; font-size: 12px; line-height: 1.8; }
.sidebar-foot { margin: 26px 11px 0; color: #8f929d; font-size: 11px; }
.page { min-width: 0; }
.mobile-header, .mobile-categories { display: none; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(240px, .8fr); gap: 16px; align-items: center; min-height: 526px; padding: 63px clamp(32px, 5.4vw, 100px) 61px; overflow: hidden; background: var(--night); color: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 50%, rgba(88,49,86,.48), transparent 37%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.hero-kicker { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: #e5b6c3; font-size: 13px; letter-spacing: .08em; }
.hero-kicker::before { content: ""; display: block; width: 28px; height: 1px; background: var(--rose); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(43px, 4.45vw, 75px); font-weight: 600; line-height: 1.17; letter-spacing: -.035em; }
.hero h1 em { color: var(--rose); font-style: normal; }
.hero-text { max-width: 32em; margin: 22px 0 28px; color: #d6d3d9; font-size: 15px; line-height: 1.9; }
.search { max-width: 570px; }
.search label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.search-control { display: flex; align-items: center; gap: 11px; height: 54px; padding: 0 15px; background: rgba(246,241,236,.98); border: 1px solid rgba(255,255,255,.5); border-radius: 5px; color: var(--ink); }
.search-control svg { width: 20px; height: 20px; flex: none; stroke: #5d5d6a; stroke-width: 1.7; }
.search-control input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.search-control input::placeholder { color: #77717d; opacity: 1; }
.search-control:focus-within { outline: 3px solid var(--rose); outline-offset: 3px; }
.search-control button { flex: none; padding: 5px 7px; border: 0; background: transparent; color: #5a4051; font-size: 12px; font-weight: 700; cursor: pointer; }
.search-control button:hover { text-decoration: underline; }
.search p:last-child { margin: 10px 0 0; color: #a8aab5; font-size: 11px; line-height: 1.6; }

.compass-wrap { position: relative; z-index: 1; display: grid; place-items: center; }
.compass { position: relative; width: min(28vw, 355px); aspect-ratio: 1; border: 1px solid rgba(217,143,164,.32); border-radius: 50%; box-shadow: 0 0 0 29px rgba(58,37,61,.14), 0 0 0 58px rgba(58,37,61,.08); }
.compass-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(217,143,164,.2); }
.ring-one { inset: 10%; }.ring-two { inset: 22%; border-style: dashed; }
.compass-cross { position: absolute; background: rgba(217,143,164,.2); }
.compass-cross-h { top: 50%; left: 4%; width: 92%; height: 1px; }
.compass-cross-v { top: 4%; left: 50%; width: 1px; height: 92%; }
.compass > span { position: absolute; font-family: Georgia, serif; color: #be9cae; font-size: 13px; }
.compass-north { top: 5%; left: 50%; transform: translateX(-50%); }
.compass-south { bottom: 5%; left: 50%; transform: translateX(-50%); }
.compass-east { right: 5%; top: 50%; transform: translateY(-50%); }
.compass-west { left: 5%; top: 50%; transform: translateY(-50%); }
.compass-needle { position: absolute; inset: 0; transform: rotate(37deg); }
.compass-needle span { position: absolute; top: 15%; left: calc(50% - 9px); width: 18px; height: 35%; clip-path: polygon(50% 0, 100% 100%, 50% 86%, 0 100%); background: var(--rose); }
.compass-needle span + span { top: 50%; transform: rotate(180deg); background: #9ba3b3; }
.compass-core { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px; transform: translate(-50%,-50%); border: 1px solid var(--rose); border-radius: 50%; background: var(--night); color: var(--paper); font-family: var(--display); font-size: 13px; line-height: 1.12; text-align: center; box-shadow: 0 0 0 8px rgba(19,25,39,.75); }

.featured, .directory-head, .directory-section, .closing, .footer { padding-left: clamp(32px, 5.4vw, 100px); padding-right: clamp(32px, 5.4vw, 100px); }
.featured { padding-top: 46px; padding-bottom: 45px; }
.section-top { display: flex; align-items: baseline; gap: 11px; margin-bottom: 20px; }
.section-symbol { color: #a25771; font-size: 23px; line-height: 0; }
.section-top h2 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 600; }
.section-meta { margin-left: auto; color: #7b6a78; font-size: 12px; }
.feature-link { position: relative; display: block; min-height: 255px; padding: 31px 34px; overflow: hidden; border-radius: 4px; background: var(--plum); color: var(--paper); text-decoration: none; }
.feature-link::after { content: "✳"; position: absolute; right: 25%; bottom: -120px; color: rgba(217,143,164,.1); font-family: var(--display); font-size: 460px; line-height: 1; pointer-events: none; }
.feature-link:hover { background: #472d49; }
.feature-inner { position: relative; z-index: 1; display: grid; align-content: space-between; height: 100%; min-height: 193px; max-width: 580px; }
.feature-count { color: #edbbca; font-size: 12px; }
.feature-inner strong { display: block; font-family: var(--display); font-size: clamp(39px, 4vw, 62px); font-weight: 600; line-height: 1; letter-spacing: .08em; }
.feature-desc { color: #e6d9e4; font-size: 14px; line-height: 1.7; }
.feature-url { color: #eeb9c9; font-family: Georgia, serif; font-size: 13px; letter-spacing: .03em; }
.feature-arrow { position: absolute; z-index: 1; right: 30px; top: 29px; width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-size: 24px; }
.quick-wrap { display: flex; gap: 30px; align-items: flex-start; margin-top: 24px; }
.quick-label { flex: none; padding-top: 9px; color: #766c76; font-size: 12px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.quick-links a { display: inline-block; padding: 6px 0; color: #394352; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.quick-links a:hover { border-color: currentColor; }
.quick-links a.quick-primary { color: #9a4f6a; }

.directory-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 8px; padding-top: 31px; padding-bottom: 21px; border-top: 1px solid var(--line); }
.directory-head span { font-family: var(--display); font-size: 31px; font-weight: 600; }
.directory-head p { margin: 6px 0 0; color: #676d77; font-size: 13px; }
#result-status { margin-bottom: 4px; white-space: nowrap; font-size: 12px; }
.empty-message { margin: 0 clamp(32px, 5.4vw, 100px) 20px; padding: 19px; border: 1px solid #cba7b3; background: #f2e9ec; color: var(--ink); font-size: 14px; line-height: 1.7; }
.directory-section { padding-top: 29px; padding-bottom: 20px; scroll-margin-top: 30px; }
.category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid #bdb4bb; }
.category-heading h2 { margin: 0; font-family: var(--display); font-size: 27px; font-weight: 600; }
.category-heading p { margin: 0; color: #69707a; font-size: 12px; text-align: right; }
.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.site-link { display: flex; min-width: 0; min-height: 88px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.site-link:hover { background: rgba(255,255,255,.58); }
.site-monogram { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 10px; color: #fff; background: #495e73; font-family: var(--display); font-size: 22px; font-weight: 700; }
.site-monogram.baidu { background: #395baa; }.site-monogram.bing { background: #237868; font-family: Georgia, serif; }.site-monogram.zhihu { background: #2e72b1; }.site-monogram.baike { background: #75649c; font-size: 13px; }.site-monogram.wiki { background: #48535c; font-family: Georgia, serif; }.site-monogram.bili { background: #bd7291; font-family: Georgia, serif; }.site-monogram.douban { background: #66816f; }.site-monogram.qq { background: #547a9e; }.site-monogram.youtube { background: #c86061; font-family: Arial, sans-serif; font-size: 16px; }.site-monogram.canva { background: #6c5c9a; font-family: Georgia, serif; }.site-monogram.deepl { background: #3e698c; font-family: Georgia, serif; }.site-monogram.weather { background: #cb9c4c; }.site-monogram.github { background: #3a4050; font-family: Georgia, serif; }.site-monogram.adult { background: var(--plum); color: var(--rose); }
.site-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 5px; }
.site-copy strong { overflow: hidden; color: #263141; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.site-copy span { color: #777b82; font-size: 12px; }
.site-domain { margin-left: auto; color: #777b82; font-family: Georgia, serif; font-size: 11px; white-space: nowrap; }
.site-go { margin-left: 1px; color: #9d5873; font-size: 20px; }
.adult-section { padding-top: 12px; }
.adult-section .link-list { grid-template-columns: minmax(0, 1fr); }
.adult-link { max-width: 680px; }
.adult-link .site-copy strong { color: #984d69; }

.closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 50px; padding-top: 43px; padding-bottom: 49px; background: var(--plum); color: var(--paper); }
.closing-star { color: var(--rose); font-size: 23px; }
.closing h2 { margin: 11px 0 8px; font-family: var(--display); font-size: clamp(26px, 3vw, 39px); font-weight: 600; }
.closing p { margin: 0; color: #e0d7e0; font-size: 14px; line-height: 1.6; }
.closing a { display: inline-flex; align-items: center; gap: 25px; flex: none; padding: 15px 20px; border: 1px solid var(--rose); border-radius: 4px; background: var(--rose); color: var(--night); font-size: 14px; font-weight: 700; text-decoration: none; }
.closing a:hover { background: #efafc0; }
.closing a span { font-size: 20px; line-height: 1; }
.footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; min-height: 105px; padding-top: 31px; padding-bottom: 30px; background: var(--night); color: #bdbec6; font-size: 11px; line-height: 1.7; }
.footer p { margin: 0; }.footer p:first-child { color: var(--paper); font-weight: 700; }.footer a { margin-left: auto; color: var(--paper); text-decoration: none; white-space: nowrap; }.footer a:hover { text-decoration: underline; }

@media (max-width: 1150px) {
  .hero { grid-template-columns: minmax(0, 1fr) 230px; }
  .compass { width: 225px; }
  .site-domain { display: none; }
}
@media (max-width: 900px) {
  .site-frame { display: block; }
  .sidebar { display: none; }
  .mobile-header { display: block; padding: 18px 28px; background: var(--night); color: var(--paper); }
  .mobile-categories { display: flex; gap: 25px; padding: 0 28px; overflow-x: auto; background: var(--night); color: #d8d5dc; border-top: 1px solid rgba(255,255,255,.1); scrollbar-width: thin; }
  .mobile-categories a { display: block; flex: none; padding: 13px 0; border-bottom: 2px solid transparent; color: inherit; font-size: 13px; text-decoration: none; white-space: nowrap; }
  .mobile-categories a:hover, .mobile-categories a:focus-visible { border-bottom-color: var(--rose); color: #fff; }
  .hero { min-height: 460px; }
}
@media (max-width: 680px) {
  .mobile-header { padding: 16px 20px; }
  .mobile-categories { padding: 0 20px; gap: 20px; }
  .hero { display: block; min-height: auto; padding: 50px 22px 43px; }
  .hero::before { background: radial-gradient(circle at 85% 18%, rgba(88,49,86,.45), transparent 38%); }
  .hero-kicker { margin-bottom: 19px; font-size: 12px; }
  .hero h1 { font-size: clamp(40px, 10vw, 56px); }
  .hero-text { font-size: 14px; }
  .compass-wrap { display: none; }
  .search-control { height: 53px; }
  .featured, .directory-head, .directory-section, .closing, .footer { padding-left: 22px; padding-right: 22px; }
  .featured { padding-top: 33px; padding-bottom: 27px; }
  .section-top h2 { font-size: 22px; }
  .feature-link { min-height: 242px; padding: 24px; }
  .feature-link::after { right: 8%; bottom: -65px; font-size: 310px; }
  .feature-arrow { right: 21px; top: 19px; width: 39px; height: 39px; font-size: 20px; }
  .feature-inner { min-height: 194px; padding-right: 30px; }
  .feature-inner strong { font-size: 42px; }
  .feature-desc { font-size: 13px; }
  .quick-wrap { display: block; margin-top: 20px; }
  .quick-label { display: block; margin-bottom: 5px; }
  .quick-links { gap: 3px 16px; }
  .directory-head { padding-top: 25px; padding-bottom: 14px; }
  .directory-head span { font-size: 27px; }
  .directory-head p { font-size: 12px; }
  .empty-message { margin-left: 22px; margin-right: 22px; }
  .category-heading { display: block; }
  .category-heading h2 { font-size: 25px; }
  .category-heading p { margin-top: 5px; text-align: left; }
  .link-list { display: block; }
  .site-link { min-height: 75px; gap: 11px; }
  .site-monogram { width: 40px; height: 40px; border-radius: 8px; font-size: 19px; }
  .site-domain { display: none; }
  .closing { display: block; margin-top: 32px; padding-top: 33px; padding-bottom: 34px; }
  .closing h2 { font-size: 29px; }
  .closing a { width: fit-content; margin-top: 23px; }
  .footer { display: block; }
  .footer p + p { margin-top: 9px; }.footer a { display: inline-block; margin-top: 13px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .feature-inner strong { font-size: 36px; }
  .feature-url { font-size: 12px; }
  #result-status { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
