:root {
  --rose-950: #4c0519;
  --rose-900: #881337;
  --rose-700: #be123c;
  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --pink-400: #fb7185;
  --orange: #f97316;
  --amber: #f59e0b;
  --teal: #14b8a6;
  --purple: #a855f7;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #f1d6dc;
  --bg: #fff7f8;
  --surface: #ffffff;
  --shadow: 0 18px 48px rgba(136, 19, 55, .12);
  --radius: 18px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff1f2 0, #fff 280px, #fff 100%);
  font-family: var(--font);
  line-height: 1.68;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 32px, 1240px); margin: 0 auto; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--rose-700);
  color: #fff;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 90;
  color: #fff;
  transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}
.site-header.is-scrolled,
.type-article .site-header,
.type-page .site-header,
.type-category .site-header,
.type-tag .site-header,
.type-search .site-header {
  background: rgba(136, 19, 55, .94);
  box-shadow: 0 12px 32px rgba(76, 5, 25, .18);
  backdrop-filter: blur(14px);
}
.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}
.brand span {
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  min-width: 0;
}
.nav-links li { list-style: none; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links .on a {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-search {
  display: flex;
  width: 230px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}
.nav-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 12px;
  background: transparent;
  color: #fff;
}
.nav-search input::placeholder { color: rgba(255, 255, 255, .72); }
.nav-search button,
.tip-button,
.big-search button,
.comment-form button,
.primary-link {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-400));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.nav-search button { padding: 8px 12px; }
.tip-button { padding: 9px 16px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 96px 0 36px;
  overflow: hidden;
  background: var(--rose-900);
}
.hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
}
.hero-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(76, 5, 25, .94), rgba(136, 19, 55, .74) 46%, rgba(255, 241, 242, .98));
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}
.hero-wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}
.lead-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  box-shadow: var(--shadow);
}
.lead-image,
.lead-image img {
  width: 100%;
  height: 100%;
}
.lead-image img { object-fit: cover; }
.lead-card:after,
.card-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, .04), rgba(17, 24, 39, .78));
  pointer-events: none;
}
.lead-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px;
  color: #fff;
}
.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.badge-row span,
.card-cover span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rose-500);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.badge-row em {
  color: rgba(255, 255, 255, .78);
  font-style: normal;
  font-size: 13px;
}
.lead-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: 30px;
  line-height: 1.22;
}
.lead-copy p {
  margin: 10px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, .78);
}
.hero-side {
  display: grid;
  gap: 12px;
}
.side-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 4px 12px;
  min-height: 146px;
  padding: 10px;
  border: 1px solid #ffe4e8;
  border-radius: 18px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease;
}
.side-card:hover {
  transform: translateX(-4px);
  border-color: #fda4af;
}
.side-card img {
  grid-row: 1 / 4;
  width: 110px;
  height: 126px;
  border-radius: 14px;
  object-fit: cover;
}
.side-card span {
  color: var(--rose-600);
  font-size: 12px;
  font-weight: 800;
}
.side-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.side-card em {
  color: #9ca3af;
  font-style: normal;
  font-size: 12px;
}

.search-strip {
  padding: 26px 0 14px;
  background: #fff;
}
.big-search {
  position: relative;
  display: flex;
  max-width: 680px;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid #ffe4e8;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(225, 29, 72, .1);
}
.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  background: transparent;
}
.big-search button {
  min-width: 96px;
  padding: 10px 18px;
}
.hot-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  color: #9ca3af;
  font-size: 13px;
}
.hot-tags a,
.tag-cloud a,
.mini-tags span,
.tags a,
.tags strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 700;
}
.hot-tags a:nth-child(3n),
.tag-cloud a:nth-child(3n) { color: #9333ea; background: #faf5ff; }
.hot-tags a:nth-child(3n+1),
.tag-cloud a:nth-child(3n+1) { color: #ea580c; background: #fff7ed; }
.hot-tags a:nth-child(3n+2),
.tag-cloud a:nth-child(3n+2) { color: #0f766e; background: #f0fdfa; }

.section { padding: 34px 0; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}
.section-head > a {
  color: var(--rose-600);
  font-size: 14px;
  font-weight: 800;
}
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f3f4f6;
}
.segmented span {
  padding: 6px 13px;
  border-radius: 999px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}
.segmented span:first-child {
  background: #fff;
  color: var(--rose-600);
  box-shadow: 0 4px 12px rgba(17, 24, 39, .08);
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.news-card {
  overflow: hidden;
  border: 1px solid #fce7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: #fecdd3;
  box-shadow: var(--shadow);
}
.news-card.is-top { border-color: #fb7185; }
.card-cover {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
  background: var(--rose-900);
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-card:hover .card-cover img { transform: scale(1.05); }
.card-cover span {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
}
.card-cover em {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .46);
  color: #fff;
  font-style: normal;
  font-size: 12px;
}
.card-body { padding: 16px; }
.card-body h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-body h3 a:hover { color: var(--rose-600); }
.card-body p {
  margin: 0 0 12px;
  min-height: 44px;
  color: #9ca3af;
  font-size: 13px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.card-meta,
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9ca3af;
  font-size: 12px;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}
.single-layout { grid-template-columns: minmax(0, 860px) 310px; justify-content: center; }
.list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sidebar {
  display: grid;
  gap: 16px;
}
.sidebox {
  padding: 18px;
  border: 1px solid #fce7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .04);
}
.sidebox h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
}
.sidebox ul,
.sidebox ol,
.sidebox-content ul,
.sidebox-content ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebox li {
  padding: 8px 0;
  border-bottom: 1px dashed #ffe4e8;
}
.sidebox li:last-child { border-bottom: 0; }
.sidebox a:hover { color: var(--rose-600); }

.page-hero {
  padding: 112px 0 50px;
  background: linear-gradient(135deg, var(--rose-900), var(--rose-600) 55%, var(--pink-400));
  color: #fff;
}
.page-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}
.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}
.single-main { padding-top: 70px; }
.single-article {
  padding: 28px;
  border: 1px solid #fce7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(17, 24, 39, .05);
}
.article-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.25;
}
.article-meta {
  justify-content: flex-start;
  margin-top: 14px;
}
.article-cover {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--rose-900);
}
.article-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.article-content {
  margin-top: 24px;
  color: #374151;
  font-size: 16px;
}
.article-content img {
  height: auto;
  border-radius: 14px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.article-nav div {
  padding: 14px;
  border: 1px solid #ffe4e8;
  border-radius: 14px;
  background: #fff7f8;
}
.article-nav span {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 800;
}
.article-nav a {
  color: var(--ink);
  font-weight: 800;
}
.comments {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ffe4e8;
}
.comment-item {
  padding: 12px 0;
  border-bottom: 1px dashed #ffe4e8;
}
.comment-item time {
  margin-left: 8px;
  color: #9ca3af;
  font-size: 12px;
}
.comment-form {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #fff7f8;
}
.comment-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #fecdd3;
  border-radius: 14px;
  padding: 12px;
  outline: none;
}
.comment-form button {
  margin-top: 10px;
  padding: 10px 18px;
}
.pagebar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.pagebar a,
.pagebar span {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #ffe4e8;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-600);
  font-weight: 800;
}
.pagebar .current {
  background: var(--rose-600);
  color: #fff;
  border-color: var(--rose-600);
}
.primary-link {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 18px;
}

.site-footer {
  margin-top: 24px;
  padding: 46px 0 0;
  background: linear-gradient(135deg, var(--rose-950), var(--rose-900));
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr 1fr;
  gap: 28px;
}
.site-footer .brand img { filter: brightness(0) invert(1); }
.footer-brand p,
.site-footer a,
.site-footer span,
.site-footer li {
  color: rgba(255, 255, 255, .76);
}
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}
.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
  font-size: 14px;
}
.site-footer .sidebox {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-footer .sidebox h3 { display: none; }
.site-footer .sidebox li {
  border-color: rgba(255, 255, 255, .12);
}
.fansite-eeat-footer {
  color: rgba(255, 255, 255, .76) !important;
}
.fansite-eeat-footer a { color: #fff !important; }

@media (max-width: 1080px) {
  .nav-search { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: grid;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(136, 19, 55, .96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-links a { width: 100%; justify-content: center; }
  .hero-grid,
  .content-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }
  .hero-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side-card { grid-template-columns: 1fr; }
  .side-card img { grid-row: auto; width: 100%; height: 140px; }
  .card-grid,
  .list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1240px); }
  .hero { min-height: auto; padding-top: 86px; }
  .lead-card { min-height: 370px; }
  .lead-copy { padding: 22px; }
  .lead-copy h1,
  .article-head h1,
  .page-hero h1 { font-size: 24px; }
  .hero-side,
  .card-grid,
  .list-grid,
  .sidebar,
  .footer-grid,
  .article-nav {
    grid-template-columns: 1fr;
  }
  .section-head { align-items: flex-start; flex-direction: column; }
  .segmented { width: 100%; overflow-x: auto; }
  .single-article { padding: 20px; }
  .tip-button { display: none; }
}
