:root {
  --ink: #4a2c3a;
  --muted: #8d6576;
  --pink: #ff5d8f;
  --pink-deep: #e23e73;
  --blush: #fff1f6;
  --peach: #ffe8df;
  --sun: #ffe3a3;
  --mint: #ddf8ee;
  --line: rgba(226, 62, 115, .16);
  --card: #fffdfd;
  --shadow: 0 16px 40px rgba(196, 84, 122, .12);
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 420px at -10% -10%, #ffe1ee 0%, transparent 60%),
    radial-gradient(700px 380px at 110% 0%, #fff0d8 0%, transparent 55%),
    linear-gradient(180deg, #fff8fb 0%, #fff4ef 40%, #fff 100%);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; border-radius: 10px;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 251, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand strong { display: block; font-size: 1.2rem; letter-spacing: .04em; }
.brand small { color: var(--muted); }
.brand-mark { display: grid; place-items: center; }
.nav { display: flex; gap: 8px; }
.nav a {
  color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: #fff; text-decoration: none; }
.search { margin-left: auto; display: flex; gap: 8px; }
.search input, .search-lg input {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; min-width: 180px; color: var(--ink);
}
.search button, .btn, .search-lg button {
  border: 0; background: var(--pink); color: #fff; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  box-shadow: 0 8px 16px rgba(255, 93, 143, .25);
}
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px;
}
.chipbar { padding: 10px 0 0; }
.chipbar .wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.chipbar a {
  background: #fff; border: 1px dashed var(--line); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .88rem;
  text-decoration: none;
}
.hero {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center;
  margin: 22px 0; padding: 28px; border-radius: 32px;
  background: linear-gradient(135deg, #fff 0%, #fff5f8 55%, #fff7ea 100%);
  box-shadow: var(--shadow); border: 1px solid #fff;
}
.hero.slim { grid-template-columns: 1fr; padding: 22px 24px; }
.eyebrow { margin: 0 0 6px; color: var(--pink-deep); letter-spacing: .12em; font-size: .82rem; }
.hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.hero p { margin: 0 0 16px; color: var(--muted); line-height: 1.8; max-width: 40em; }
.hero-art { position: relative; display: grid; place-items: center; }
.bubble {
  position: absolute; right: 0; bottom: 8px; background: #fff; border-radius: 16px 16px 16px 4px;
  padding: 8px 12px; box-shadow: var(--shadow); font-size: .92rem;
}
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; padding-bottom: 40px; }
.section-title { margin: 8px 0 14px; font-size: 1.25rem; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.cover { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--peach), var(--blush)); display: block; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; }
.card-body { padding: 14px 14px 16px; }
.card h3 { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.45; min-height: 2.9em; }
.card h3 a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; line-height: 1.6; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; gap: 12px; color: var(--muted); font-size: .82rem; }
.aside {
  background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 88px;
}
.aside h2 { margin: 0 0 10px; font-size: 1rem; }
.hot { margin: 0; padding: 0; list-style: none; counter-reset: hot; }
.hot li {
  display: grid;
  grid-template-columns: 1.4em minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.hot li:last-child { border-bottom: 0; }
.hot li::before {
  counter-increment: hot;
  content: counter(hot);
  color: var(--pink);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.hot a {
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.hot a:hover { text-decoration: underline; }
.hot span {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  white-space: nowrap;
}
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pager a, .pager span {
  min-width: 40px; text-align: center; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.pager .is-current { background: var(--pink); color: #fff; border-color: transparent; }
.sheet { background: #fff; border-radius: 28px; padding: 22px 22px 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sheet h1 { margin: 8px 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; }
.crumb { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin: 18px 0 12px; }
.crumb a { color: var(--muted); }
.diary-body { font-size: 1.05rem; line-height: 1.95; }
.diary-body p { margin: 0 0 1em; }
.diary-body img { display: block; margin: 12px auto 18px; border-radius: 18px; box-shadow: var(--shadow); }
.diary-body h2, .diary-body h3 { line-height: 1.4; margin: 1.2em 0 .6em; }
.diary-body h2 { border-left: 4px solid var(--pink); padding-left: 10px; }
.diary-body ul, .diary-body ol { padding-left: 1.3em; }
.diary-body details { background: var(--blush); border-radius: 16px; padding: 10px 14px; margin: 12px 0; }
.diary-body summary { cursor: pointer; font-weight: 700; }
.diary-body strong, .diary-body b { color: var(--pink-deep); }
.prevnext { display: grid; gap: 10px; margin-top: 18px; }
.prevnext a { display: block; background: var(--blush); border-radius: 16px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.prevnext small { display: block; color: var(--pink-deep); }
.panel, .pending .panel {
  background: #fff; border-radius: 28px; padding: 36px 24px; text-align: center; box-shadow: var(--shadow); margin: 40px auto; max-width: 640px;
}
.pending { min-height: 50vh; }
.footer { margin-top: 20px; padding: 28px 0 18px; background: #4a2c3a; color: #ffe8f0; }
.footer a { color: #ffe8f0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer p { color: #f3c3d4; line-height: 1.7; max-width: 46em; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; align-content: flex-start; }
.copy { text-align: center; color: #e7b3c6; font-size: .85rem; }
.search-lg { margin-top: 8px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav, .search { display: none; }
  .top.is-open .nav, .top.is-open .search { display: flex; }
  .top.is-open .top-inner { flex-wrap: wrap; padding-bottom: 12px; }
  .top.is-open .nav { order: 3; width: 100%; }
  .top.is-open .search { order: 4; width: 100%; margin-left: 0; }
  .top.is-open .search input { flex: 1; min-width: 0; }
  .hero, .layout, .cards, .footer-inner { grid-template-columns: 1fr; display: grid; }
  .footer-inner { display: grid; }
  .aside { position: static; }
  .hero-art { min-height: 160px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 20px)); }
  .cards { grid-template-columns: 1fr; }
  .sheet { padding: 16px; }
  .card h3, .card p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .top, .chipbar, .footer, .aside, .prevnext, .pager { display: none !important; }
  body { background: #fff; }
  .layout { display: block; }
}
