:root {
  color-scheme: light;
  --paper: #faf9fb;
  --ink: #251c25;
  --wine: #762b4b;
  --blush: #f1dee7;
  --muted: #6f626d;
  --line: #dad0d8;
  --body-font: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --display-font: "Songti SC", STSong, "Noto Serif SC", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body-font); line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: #d8a7bd; color: #251c25; }
:focus-visible { outline: 3px solid #9e5575; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 18px; background: var(--wine); color: white; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.top-rule { height: 6px; background: linear-gradient(90deg, var(--wine) 0 21%, var(--blush) 21% 100%); }

.site-header { min-height: 90px; display: flex; align-items: center; gap: 34px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; }
.brand-icon { position: relative; width: 26px; height: 32px; background: var(--wine); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 77%, 0 100%); }
.brand-icon span { position: absolute; width: 6px; height: 6px; top: 10px; left: 10px; border-radius: 50%; background: var(--paper); }
.brand-name { font-family: var(--display-font); font-size: 23px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.top-nav { display: flex; gap: clamp(17px, 2.5vw, 35px); margin-left: auto; align-items: center; }
.top-nav a { font-size: 14px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.top-nav a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 6px; }
.header-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--wine); color: white; padding: 11px 17px; text-decoration: none; border: 1px solid var(--wine); border-radius: 3px; white-space: nowrap; font-weight: 600; font-size: 14px; }
.header-primary:hover { background: #5c1f39; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(35px, 6vw, 95px); align-items: center; min-height: 610px; padding-block: 70px 78px; }
.hero-copy { padding-bottom: 5px; }
.hero-intro { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 24px; color: var(--wine); font-size: 14px; font-weight: 700; }
.tiny-bookmark { width: 12px; height: 17px; background: var(--wine); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%); }
h1, h2, p { margin-top: 0; }
.hero h1 { margin-bottom: 28px; max-width: 650px; font-family: var(--display-font); font-weight: 700; font-size: clamp(49px, 5.5vw, 78px); letter-spacing: -.05em; line-height: 1.18; }
.hero-description { max-width: 545px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.9; color: #554751; margin-bottom: 30px; }
.hero-text-link { display: inline-flex; gap: 18px; font-size: 15px; font-weight: 700; color: var(--wine); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.hero-text-link:hover { gap: 24px; }
.hero-feature { display: flex; flex-direction: column; align-items: center; padding: 12px 0; }
.feature-paper { position: relative; isolation: isolate; width: min(100%, 425px); min-height: 435px; display: flex; flex-direction: column; padding: 37px 41px 40px 58px; background: var(--blush); color: var(--wine); text-decoration: none; transform: rotate(3deg); border-radius: 2px 2px 25px 2px; box-shadow: -18px 18px 0 #e1d8df, 0 19px 35px rgba(37,28,37,.11); overflow: hidden; }
.feature-paper:hover { transform: rotate(1deg); }
.feature-paper::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 1px; background: #d9afc0; }
.feature-paper::after { content: ""; position: absolute; width: 255px; height: 255px; border: 1px solid rgba(118,43,75,.14); border-radius: 50%; right: -85px; bottom: -72px; z-index: -1; }
.feature-page-index { font-size: 13px; font-weight: 700; }
.feature-star { align-self: flex-end; margin-top: 4px; font-size: 35px; line-height: 1; }
.feature-cover-title { font-family: var(--display-font); font-size: clamp(73px, 7.9vw, 120px); font-weight: 700; line-height: 1.08; letter-spacing: -.08em; margin-top: 2px; }
.feature-cover-line { margin-top: auto; padding-top: 19px; font-size: 15px; font-weight: 700; letter-spacing: .14em; }
.feature-fold { position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-left: 44px solid #d7aabc; border-top: 44px solid transparent; }
.feature-caption { width: min(100%, 425px); display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; font-size: 13px; color: var(--muted); }
.feature-caption a { color: var(--wine); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.feature-caption a:hover { color: #49192e; }

.quick { padding-block: 31px 58px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 25px; margin-bottom: 22px; }
.section-heading h2 { font-family: var(--display-font); font-size: 27px; line-height: 1.25; margin: 0; }
.section-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.quick-list { display: flex; gap: 10px; overflow-x: auto; padding: 3px 3px 15px; scrollbar-color: #c7b6c0 transparent; }
.quick-link { flex: 0 0 179px; min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 4px; background: #fff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.quick-link:hover { border-color: var(--wine); transform: translateY(-2px); }
.quick-link.first { border-color: var(--wine); background: var(--wine); color: white; }
.quick-link.first:hover { background: #5c1f39; }
.quick-mark { display: inline-grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 50%; background: var(--blush); color: var(--wine); font-family: var(--display-font); font-weight: 700; font-size: 17px; }
.first .quick-mark { background: rgba(255,255,255,.2); color: white; }
.quick-arrow { margin-left: auto; font-size: 18px; font-weight: 400; }

.directory { padding-block: 56px 86px; border-top: 1px solid var(--line); }
.directory-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.directory-kicker { color: var(--wine); font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.directory h2 { font-family: var(--display-font); font-size: clamp(31px, 3vw, 42px); line-height: 1.3; margin: 0; }
.directory-note { font-size: 14px; color: var(--muted); margin-bottom: 5px; text-align: right; }
.directory-tools { display: flex; align-items: center; gap: 22px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.search-box { flex: 0 0 315px; min-width: 0; display: flex; align-items: center; gap: 10px; border: 1px solid #b7a9b3; background: #fff; padding: 0 14px; border-radius: 4px; }
.search-box:focus-within { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(118,43,75,.13); }
.search-box svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--wine); }
.search-box input { width: 100%; height: 48px; padding: 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 14px; }
.search-box input::placeholder { color: #746a72; opacity: 1; }
.filters { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.filter { border: 0; border-radius: 3px; padding: 10px 11px; color: var(--muted); background: transparent; white-space: nowrap; font-size: 14px; font-weight: 600; }
.filter:hover { color: var(--wine); background: #f3e8ed; }
.filter.is-active { color: white; background: var(--wine); }
.result-line { margin: 18px 0 15px; color: var(--muted); font-size: 13px; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 22px; }
.site-card { position: relative; display: flex; align-items: flex-start; gap: 15px; min-width: 0; min-height: 138px; padding: 21px 15px 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.site-card[hidden] { display: none; }
.site-card:hover { color: var(--wine); background: #fff; padding-left: 10px; }
.site-card-primary { border-top: 0; background: var(--blush); padding-left: 18px; border-radius: 4px; }
.site-card-primary:hover { background: #eed4e0; padding-left: 18px; }
.card-icon { display: inline-grid; place-items: center; flex: 0 0 41px; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); font-family: var(--display-font); font-size: 20px; font-weight: 700; background: #fff; }
.card-icon-primary { color: white; background: var(--wine); border-color: var(--wine); }
.card-content { display: flex; flex-direction: column; min-width: 0; }
.card-title { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.site-card-primary .card-title { color: var(--wine); }
.card-description { margin-top: 8px; color: #5b5259; font-size: 13px; line-height: 1.55; }
.card-domain { margin-top: 9px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.card-arrow { color: var(--wine); margin-left: auto; font-size: 19px; line-height: 1.2; }
.empty-state { margin-top: 22px; padding: 32px; background: var(--blush); text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state p { font-family: var(--display-font); font-size: 22px; margin-bottom: 10px; }
.empty-state button { border: 0; background: var(--wine); color: white; border-radius: 3px; padding: 9px 15px; }

.closing { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 36px 44px; background: #eee6eb; border-left: 5px solid var(--wine); }
.closing-mark { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--wine); border-radius: 50%; color: var(--wine); font-size: 33px; }
.closing h2 { font-family: var(--display-font); font-size: clamp(25px, 2.3vw, 32px); margin-bottom: 7px; }
.closing p { max-width: 660px; font-size: 14px; line-height: 1.8; color: #5c5159; margin: 0; }
.closing a { display: inline-flex; gap: 20px; align-items: center; padding: 12px 17px; border: 1px solid var(--wine); border-radius: 3px; color: var(--wine); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.closing a:hover { color: #fff; background: var(--wine); }
.footer { display: flex; justify-content: space-between; gap: 18px; padding-block: 27px 33px; color: var(--muted); font-size: 13px; }
.footer span:first-child { color: var(--ink); font-weight: 700; }
.footer a { color: var(--wine); text-decoration: none; }

@media (max-width: 1070px) {
  .site-header { gap: 18px; }
  .top-nav { gap: 13px; }
  .hero { gap: 50px; }
  .directory-tools { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; }
  .filters { width: 100%; }
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 36px, 600px); }
  .site-header { min-height: 70px; }
  .brand-name { font-size: 20px; }
  .top-nav { display: none; }
  .header-primary { margin-left: auto; padding: 9px 12px; font-size: 12px; gap: 6px; }
  .hero { display: block; min-height: auto; padding-block: 48px 58px; }
  .hero h1 { font-size: clamp(43px, 9vw, 64px); margin-bottom: 20px; }
  .hero-description { margin-bottom: 23px; }
  .hero-feature { margin-top: 52px; }
  .feature-paper { width: min(78%, 370px); min-height: 350px; padding: 27px 31px 30px 43px; }
  .feature-paper::before { left: 21px; }
  .feature-cover-title { font-size: clamp(69px, 13vw, 95px); }
  .feature-caption { width: min(85%, 390px); }
  .quick { padding-block: 28px 47px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 5px; }
  .quick-link { flex-basis: 160px; }
  .directory { padding-block: 44px 62px; }
  .directory-header { display: block; }
  .directory-note { text-align: left; margin-top: 9px; }
  .site-grid { grid-template-columns: 1fr; gap: 0; }
  .site-card { min-height: 117px; }
  .closing { display: block; padding: 28px 27px; }
  .closing-mark { margin-bottom: 14px; }
  .closing a { margin-top: 19px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 30px); }
  .brand-name { font-size: 18px; }
  .brand-icon { width: 20px; height: 26px; }
  .brand-icon span { left: 7px; top: 8px; }
  .header-primary { font-size: 11px; padding: 7px 9px; }
  .hero h1 { font-size: 35px; }
  .feature-paper { width: 86%; min-height: 320px; }
  .feature-cover-title { font-size: 67px; }
  .feature-caption { display: block; }
  .feature-caption a { display: block; width: max-content; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .quick-link:hover, .site-card:hover { transform: none; } }
