:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --blush: #f5edf1;
  --cream: #edf5f5;
  --ink: #172b34;
  --heading: #352633;
  --muted: #5a6a72;
  --accent: #825b70;
  --teal: #13717c;
  --line: #e6ecef;
  --cta: #5c3d4f;
  --cta-wash: rgba(130, 91, 112, 0.28);
  --cta-line: #c6acba;
  --radius: 12px;
  --cta-h: 64px;
}

* { box-sizing: border-box; }

html { color-scheme: only light; }

body {
  margin: 0;
  background: #f6f8fa;
  color: #172b34;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  padding-bottom: calc(var(--cta-h) + 36px + env(safe-area-inset-bottom, 0px));
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #825b70; }
button { font: inherit; }

.wp,
#hd .wp {
  width: calc(100% - 48px);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

#hd {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e6ecef;
  margin: 0 0 20px;
}

#hd > .wp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.brand-word {
  display: block;
  line-height: 1.15;
}

.brand-word strong {
  font-family: STZhongsong, "华文中宋", SimSun, serif;
  font-size: 27px;
  letter-spacing: 3px;
  font-weight: 600;
  color: #352633;
}

.brand-word small {
  display: block;
  color: #9b7e90;
  font: 8px/1.6 Arial, sans-serif;
  letter-spacing: 3px;
  margin-top: 3px;
}

#nv {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  min-width: 0;
}

#navul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navul a {
  display: block;
  padding: 10px 14px;
  color: #62727c;
  font-size: 14px;
  font-weight: 500;
  border-radius: 7px;
}

#navul a:hover,
#navul a[aria-current="page"] {
  background: #edf5f5;
  color: #13717c;
}

.nv-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nv-extra a {
  padding: 8px 14px;
  border-radius: 7px;
  border: 1px solid #e6ecef;
  font-size: 13px;
  color: #556a73;
}

.nv-extra a.solid {
  background: #172b34;
  color: #fff;
  border-color: #172b34;
}

.nv-extra a.solid:hover { color: #f5edf1; }

.nav-more { display: none; }

.nav-more > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid #e6ecef;
  border-radius: 7px;
  color: #556a73;
}

.nav-more > summary::-webkit-details-marker { display: none; }

.nav-more[open] > summary { background: #edf5f5; color: #13717c; }

.nav-more-panel {
  position: absolute;
  right: 24px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e6ecef;
  border-radius: 10px;
  padding: 8px;
  min-width: 160px;
  box-shadow: 0 10px 28px rgba(23, 52, 61, 0.1);
  z-index: 20;
}

.nav-more-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0 22px;
}

.kicker {
  color: #5a6a72;
  font-size: 12px;
  letter-spacing: 3px;
}

h1 {
  font-size: 31px;
  line-height: 1.25;
  color: #172b34;
  letter-spacing: -1px;
  margin: 8px 0 10px;
  font-weight: 650;
}

.lede {
  color: #5a6a72;
  margin: 0;
}

.actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.actions a,
.btn {
  padding: 9px 14px;
  border: 1px solid #e6ecef;
  border-radius: 8px;
  background: #fff;
  color: #556a73;
}

.actions a:hover,
.btn:hover { color: #825b70; }

.magazine {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  align-items: stretch;
}

.cover-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5edf1;
  min-width: 0;
  min-height: 360px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.slide.is-on {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide > div {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 20px 54px;
  background: linear-gradient(transparent, rgba(53, 38, 51, 0.55));
  color: #fff;
}

.slide h2 {
  font-size: 23px;
  margin: 6px 0 0;
  line-height: 1.35;
  font-weight: 600;
}

.mag-controls {
  position: absolute;
  bottom: 14px;
  right: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  z-index: 2;
}

.mag-count { margin-right: auto; letter-spacing: 1px; }

.mag-controls button {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 5px;
  min-width: 26px;
  height: 26px;
  cursor: pointer;
}

.cover-row {
  background: #fff;
  border: 1px solid #e6ecef;
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cover-row header,
.wall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.cover-row h2,
.wall-head h2,
h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  color: #172b34;
  margin: 0;
  font-weight: 700;
}

.row-actions button,
.chip {
  border: 1px solid #e6ecef;
  background: #fff;
  color: #657781;
  border-radius: 6px;
  height: 27px;
  min-width: 27px;
  cursor: pointer;
}

.track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.track a {
  flex: 0 0 46%;
  scroll-snap-align: start;
  min-width: 0;
}

.track img,
.card img,
.film img,
.board-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.track h3,
.card h3,
.film h3,
.board-item h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 8px 0 0;
  font-weight: 500;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  margin: 16px 0;
}

.panel {
  background: #fff;
  border: 1px solid #e6ecef;
  border-radius: 12px;
  padding: 18px;
  min-width: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rank {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rank li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f3;
}

.rank li:last-child { border-bottom: 0; }

.num {
  color: #825b70;
  font-size: 13px;
  width: 1.6em;
  flex-shrink: 0;
}

.rank a { color: #41565e; font-size: 14px; line-height: 1.55; }

.cinema {
  padding: 20px;
  border-radius: 12px;
  background: #f5edf1;
  color: #172b34;
  margin-bottom: 16px;
}

.cinema .kicker { color: #825b70; }

.film-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.boards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.board-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #eef2f4;
}

.board-item img {
  width: 82px;
  flex-shrink: 0;
}

.board-item small {
  font-size: 12px;
  color: #8da1aa;
}

.reserve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid #e2e9eb;
  border-radius: 12px;
  background: #edf5f5;
  margin: 16px 0;
}

.reserve span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #65838b;
}

.reserve h2 { margin: 5px 0; }

.reserve p { color: #70868c; margin: 0; }

.reserve a {
  background: #172b34;
  padding: 10px 18px;
  color: #fff;
  border-radius: 7px;
  white-space: nowrap;
}

.reserve a:hover { color: #f5edf1; }

.prose { margin: 28px 0; }
.prose p { margin: 0 0 16px; }
.prose h2 { margin: 28px 0 12px; }

.faq dt {
  font-weight: 700;
  margin: 18px 0 6px;
}

.faq dd { margin: 0 0 8px; color: #41565e; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.filter-bar input {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid #e6ecef;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: #172b34;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips a,
.chips button {
  padding: 7px 12px;
  height: auto;
  border-radius: 8px;
}

.table-wrap { overflow-x: auto; margin: 16px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e6ecef;
  vertical-align: top;
}

th { background: #f5edf1; color: #352633; font-weight: 650; }

.field-list dt {
  font-weight: 700;
  margin: 16px 0 4px;
}

.field-list dd { margin: 0; color: #41565e; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.note {
  background: #fff;
  border: 1px solid #e6ecef;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.stack > * + * { margin-top: 12px; }

.crumbs {
  font-size: 13px;
  color: #8d9aa1;
  margin: 0 0 14px;
}

.crumbs a { color: #6c7b84; }

footer.site-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e4ebee;
  padding: 24px 12px;
  margin-top: 28px;
  color: #91a2aa;
  font-size: 14px;
}

.foot-links,
.foot-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links a { color: #91a2aa; }
.foot-links a:hover { color: #825b70; }

.site-cta {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 36vw);
  min-width: 400px;
  min-height: 56px;
  padding: 14px 28px;
  background: #5c3d4f;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 650;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(53, 38, 51, 0.22);
}

.site-cta:hover,
.site-cta:focus-visible {
  color: #fff;
  background: #4a3140;
}

.site-cta:focus-visible {
  outline: 3px solid #c6acba;
  outline-offset: 3px;
}

.site-cta::before,
.site-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-cta::before {
  inset: 0;
  background: radial-gradient(120% 160% at 28% 50%, var(--cta-wash) 0%, transparent 70%);
  opacity: 0;
  animation: mauve-ink-bloom 2.8s cubic-bezier(.2, .7, .3, 1) infinite;
}

.site-cta::after {
  left: 18%;
  right: 18%;
  top: 18%;
  bottom: 18%;
  border-radius: 8px;
  background: rgba(198, 172, 186, 0.18);
  transform: scale(1);
  animation: sleeve-press 2.8s cubic-bezier(.2, .7, .3, 1) infinite;
}

.site-cta span { position: relative; z-index: 1; }

@keyframes mauve-ink-bloom {
  0%, 55% { opacity: 0; transform: scale(0.96); }
  68% { opacity: 0.28; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes sleeve-press {
  0%, 58% { transform: scale(1); opacity: 0.12; }
  70% { transform: scale(0.97); opacity: 0.28; }
  82%, 100% { transform: scale(1); opacity: 0.12; }
}

@media (max-width: 1100px) {
  .film-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .editorial { grid-template-columns: minmax(0, 1fr) 240px; }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  #hd > .wp { gap: 20px; }
  .brand-word strong { font-size: 22px; }
}

@media (max-width: 768px) {
  .nv-extra { display: none; }
  .nav-more { display: block; position: relative; }
  .split { grid-template-columns: 1fr; }
  .site-cta {
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .wp, #hd .wp { width: calc(100% - 24px); }
  #hd > .wp {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
  }
  .brand img { width: 29px; height: 29px; }
  .brand-word strong { font-size: 22px; letter-spacing: 2px; }
  h1 { font-size: 24px; }
  .intro { display: block; padding: 14px 0; }
  .actions { margin-top: 12px; flex-wrap: wrap; }
  .magazine {
    grid-template-columns: 1fr;
  }
  .slider { min-height: 220px; }
  .slide h2 { font-size: 18px; }
  .editorial, .boards { display: block; }
  .panel, .cover-row { margin-bottom: 12px; }
  .grid-4, .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserve { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  #navul { width: 100%; }
  #nv { flex-wrap: wrap; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::before,
  .site-cta::after { animation: none; }
  .site-cta::before { opacity: 0.2; transform: scale(1); }
  .site-cta::after { opacity: 0.16; transform: scale(1); }
  .slide { transition: none; }
}
