:root {
  font-family:Inter,"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;
  color:#2e2c33;
  background:#faf9f8;
  font-synthesis:none;
  --accent:#882e47;
  --line:#e7dfe0;
  --muted:#70666c;
  --sakura:#edbdcd;
  --soft:#f8edf0
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button,select {
  cursor:pointer
}
button:disabled {
  cursor:default;
  opacity:.4
}
button {
  color:inherit
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #b35b77;
  outline-offset:4px
}
[hidden] {
  display:none!important
}
.site-header {
  min-height:86px;
  max-width:1280px;
  padding:0 48px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:19px;
  font-weight:650
}
.brand-mark {
  width:66px;
  height:48px;
  object-fit:contain;
  flex-shrink:0
}
.brand small {
  display:block;
  font-size:13px;
  letter-spacing:1px;
  color:var(--muted);
  font-weight:400;
  margin-top:5px
}
.site-header nav {
  display:flex;
  gap:32px;
  font-size:14px
}
.site-header nav a {
  padding:13px 0
}
.site-header nav a[aria-current=page] {
  color:var(--accent);
  border-bottom:2px solid var(--accent)
}
main {
  max-width:1280px;
  padding:0 48px;
  margin:auto;
  min-height:70vh
}
.intro {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:154px;
  padding:25px 0;
  gap:24px
}
.intro-copy {
  min-width:0;
  padding-left:18px;
  border-left:3px solid var(--sakura)
}
.floral-emblem {
  position:relative;
  width:244px;
  height:128px;
  display:grid;
  place-items:center;
  flex-shrink:0
}
.floral-emblem::before {
  content:"";
  position:absolute;
  inset:15px 20px;
  border:1px solid var(--line);
  border-radius:50%
}
.floral-emblem img {
  position:relative;
  width:210px;
  height:140px
}
.eyebrow {
  font-size:12px;
  letter-spacing:2px;
  color:var(--accent);
  font-weight:650;
  margin:0 0 14px
}
h1 {
  font-size:30px;
  font-family:"Noto Serif SC","Songti SC",SimSun,serif;
  line-height:1.45;
  letter-spacing:.03em;
  margin:0;
  font-weight:650
}
.intro-note {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin:8px 0 0
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:17px 0;
  margin-bottom:24px
}
.stats>div {
  display:flex;
  gap:14px;
  align-items:baseline;
  padding-left:24px;
  border-left:1px solid var(--line)
}
.stats>div:first-child {
  padding-left:0;
  border-left:0
}
.stats strong {
  font-size:26px;
  font-weight:550;
  font-variant-numeric:tabular-nums
}
.stats span {
  color:var(--muted);
  font-size:13px
}
#filters {
  padding:24px;
  background:white;
  border:1px solid var(--line);
  border-radius:8px
}
.search-wrap {
  position:relative
}
.search-wrap>label {
  position:absolute;
  clip-path:inset(50%);
  width:1px;
  height:1px;
  overflow:hidden
}
.search-wrap input {
  width:100%;
  border:1px solid #ddd2d6;
  background:#fcfafb;
  border-radius:7px;
  padding:14px 16px 14px 45px;
  font-size:16px
}
.search-wrap>span {
  position:absolute;
  left:16px;
  top:5px;
  font-size:29px;
  color:var(--muted)
}
.filter-row {
  display:flex;
  gap:18px;
  margin-top:18px;
  align-items:end
}
.filter-row label {
  font-size:14px;
  color:var(--muted);
  flex:1;
  min-width:0
}
.filter-row select {
  display:block;
  width:100%;
  margin-top:7px
}
select {
  border:1px solid var(--line);
  border-radius:6px;
  background:white;
  color:#413b46;
  padding:10px 28px 10px 12px;
  min-height:43px;
  font-size:14px;
  max-width:100%
}
.reset {
  background:none;
  border:0;
  color:var(--accent);
  font-size:14px;
  padding:12px;
  min-height:44px
}
.results-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:30px 0 18px;
  gap:16px;
  scroll-margin-top:16px
}
h2 {
  font-size:18px;
  margin:0;
  font-weight:650
}
.results-bar h2 span {
  font-size:13px;
  color:var(--muted);
  font-weight:400;
  margin-left:12px
}
.sort-label {
  font-size:13px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:12px
}
.sort-label select {
  background:transparent
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.card {
  min-width:0;
  background:white;
  border:1px solid var(--line);
  border-radius:7px;
  padding:21px 21px 0;
  display:flex;
  flex-direction:column
}
.card-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:var(--muted)
}
.card-meta>span {
  color:var(--accent);
  font-weight:650;
  letter-spacing:.5px
}
.card h3 {
  margin:17px 0 10px;
  font-size:18px;
  line-height:1.55;
  overflow-wrap:anywhere
}
.title-button {
  background:none;
  border:0;
  padding:0;
  text-align:left;
  font:inherit;
  font-weight:650
}
.title-button:hover {
  color:var(--accent)
}
.author {
  font-size:14px;
  margin:0 0 16px;
  overflow-wrap:anywhere
}
.author span {
  display:block;
  font-size:12px;
  margin-top:4px;
  color:var(--muted)
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px
}
.tag {
  background:#f3f1f2;
  color:#635e65;
  border-radius:4px;
  padding:4px 7px;
  font-size:12px
}
.tag.adult {
  color:#63376d;
  background:#f0e8f4;
  font-weight:700
}
.tag.sensitive {
  background:#faf0db;
  color:#795915
}
.description {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  margin:16px 0 20px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  overflow-wrap:anywhere
}
.card-bottom {
  border-top:1px solid var(--line);
  padding:13px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
  font-size:13px;
  min-height:63px
}
.detail-button {
  border:0;
  background:none;
  padding:9px 0;
  color:var(--muted);
  font-size:14px
}
.source-link {
  color:var(--accent);
  font-weight:550;
  padding:8px 12px;
  border-radius:5px;
  background:var(--soft);
  display:inline-flex;
  gap:12px
}
.source-link:hover {
  background:#f0dee4;
  text-decoration:underline
}
.missing {
  color:#827d89;
  font-size:13px;
  background:#f4f3f5;
  border-radius:4px;
  padding:7px 10px
}
.pagination {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin:34px 0 50px;
  font-size:14px
}
.pagination button {
  background:white;
  border:1px solid var(--line);
  border-radius:6px;
  padding:11px 18px
}
#feedback {
  padding:60px 20px;
  text-align:center;
  color:var(--muted);
  border:1px dashed var(--line);
  line-height:1.8
}
footer {
  max-width:1184px;
  margin:0 auto;
  padding:26px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted)
}
.about {
  max-width:740px;
  padding:55px 0 70px;
  margin:auto
}
.about .lead {
  font-size:19px;
  color:var(--accent);
  margin:20px 0 40px
}
.about h2 {
  margin-top:32px
}
.about p {
  line-height:1.95;
  color:#5c5663
}
.text-link {
  display:inline-block;
  color:var(--accent);
  margin-top:24px
}
dialog {
  width:min(660px,calc(100% - 32px));
  max-height:88dvh;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0;
  color:inherit;
  overflow:auto
}
dialog::backdrop {
  background:#25203188
}
.dialog-top {
  position:sticky;
  top:0;
  background:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 26px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  color:var(--muted)
}
.dialog-top button {
  padding:10px;
  border:0;
  background:#f3f1f5;
  border-radius:5px
}
#detail-content {
  padding:28px;
  overflow-wrap:anywhere
}
#detail-title {
  font-size:25px;
  line-height:1.5;
  margin-bottom:18px
}
.full-description {
  white-space:pre-wrap;
  line-height:1.9;
  color:#5d5864
}
dl {
  border-top:1px solid var(--line);
  margin-top:24px
}
dl>div {
  display:grid;
  grid-template-columns:130px 1fr;
  gap:12px;
  border-bottom:1px solid var(--line);
  padding:11px 0;
  font-size:14px;
  line-height:1.7
}
dt {
  color:var(--muted)
}
dd {
  margin:0
}
.dialog-source {
  margin-top:24px
}
.dialog-source p {
  font-size:13px;
  line-height:1.7;
  color:var(--muted)
}
.skip {
  position:fixed;
  top:-100px;
  background:white;
  padding:12px;
  z-index:10
}
.skip:focus {
  top:8px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
@media(min-width:1600px) {
  .cards {
  gap:22px
}

}
@media(max-width:1000px) {
  .cards {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.stats>div {
  display:block
}
.stats span {
  display:block;
  margin-top:5px
}
footer {
  margin:0 32px
}

}
@media(max-width:600px) {
  .site-header {
  min-height:78px;
  padding:10px 20px;
  gap:14px
}
.brand {
  font-size:16px;
  gap:9px
}
.brand-mark {
  width:43px;
  height:36px
}
.brand small {
  font-size:11px
}
.site-header nav {
  gap:16px;
  font-size:13px;
  flex-shrink:0
}
main {
  padding:0 20px
}
.intro {
  min-height:0;
  padding:24px 0
}
h1 {
  font-size:25px
}
.floral-emblem {
  display:none
}
.intro-copy {
  padding-left:13px
}
.intro-note {
  font-size:14px
}
.stats {
  padding:15px 0;
  margin-bottom:20px
}
.stats>div {
  padding-left:10px
}
.stats strong {
  font-size:24px
}
.stats span {
  font-size:12px
}
#filters {
  padding:16px
}
.filter-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 12px
}
.reset {
  justify-self:end;
  align-self:end
}
.results-bar {
  flex-wrap:wrap;
  margin-top:25px
}
.results-bar h2 {
  font-size:17px
}
.sort-label {
  margin-left:auto
}
.sort-label select {
  font-size:13px
}
.cards {
  grid-template-columns:1fr;
  gap:14px
}
.card {
  padding:20px 20px 0
}
.card h3 {
  font-size:18px
}
.card-meta,.tag {
  font-size:12px
}
.description {
  margin-top:14px
}
footer {
  margin:0 20px;
  flex-wrap:wrap;
  font-size:12px;
  gap:12px
}
footer span:nth-child(2) {
  display:none
}
.about {
  padding-top:30px
}
#detail-content {
  padding:22px
}
dl>div {
  grid-template-columns:105px 1fr
}
.pagination {
  gap:18px
}

}
@media(max-width:360px) {
  .site-header { flex-wrap:wrap; gap:4px; }
  .site-header nav { width:100%; justify-content:flex-end; }
  .site-header nav a { padding:8px 0; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 0; }
  .stats>div:nth-child(3) { border-left:0; padding-left:0; }
  select { padding-left:8px; padding-right:18px; }
}
@media(prefers-reduced-motion:no-preference) {
  a,button {
  transition:color .15s ease
}

}

