:root {
  color-scheme: light;
  --wine: #8d1236;
  --ink: #39252b;
  --muted: #70565e;
  --gold: #d8af91;
  --paper: #fffaf8;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 17px/1.8 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:focus-visible, video:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.bar { background: linear-gradient(105deg,#fbe5ec,#fff4f3 45%,#f8d8e4); border-bottom: 1px solid var(--gold); }
.bar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: 1920px; margin: auto; padding: 8px clamp(22px,4.17vw,80px); gap: 1rem;
}
.brand { display: flex; align-items: center; color: var(--wine); text-decoration: none; gap: .35em; }
.brand img { height: 1.2em; width: auto; }
.brand strong { font: italic 700 1.3em/1.5 var(--serif); }
.topbrand { grid-area: 1/2; font-size: 1.6rem; }
.navlinks { grid-area: 1/1/2/4; display: grid; grid-template-columns: auto auto 1fr auto auto auto; justify-content: space-between; align-items: center; gap: clamp(.75rem,2vw,2rem); pointer-events: none; }
.navlinks a { padding: .4em .25em; text-decoration: none; white-space: nowrap; pointer-events: auto; }
.navlinks a:nth-child(3) { grid-column: 4; }
.navlinks .current { color: var(--wine); text-decoration: underline; }
.navlinks .app { background: var(--wine); color: #fff9f2; border-radius: 2em; padding: .25em 1.1em; }
.hero { position: relative; padding: clamp(32px,6vw,90px) 0 55px; background: linear-gradient(118deg,#fff1f0,#fbe2e9 54%,#ffeedb); overflow: hidden; }
.hero::after { content: ""; position: absolute; bottom: -20px; width: 110%; height: 40px; border-radius: 50% 60% 0 0; border-top: 1px solid var(--gold); background: var(--paper); transform: rotate(-.65deg); }
.content-width { width: min(100% - 44px, 980px); margin: auto; }
.breadcrumb { color: var(--muted); font-size: .9em; }
.breadcrumb a { text-decoration: none; }
h1 { margin: .45em 0 0; font: 700 clamp(2rem,4vw,3.6rem)/1.24 var(--serif); color: var(--wine); text-wrap: balance; }
.layout { padding-block: 1.5rem 4rem; }
article { max-width: 44em; margin: 0 auto; }
article p { margin: 0 0 1.25em; }
.note { color: var(--muted); font-size: .88em; }
.category { font-size: .9em; color: #88405a; }
.action { display: inline-block; padding: .4em 1.3em; border-radius: 2em; color: white; background: var(--wine); text-decoration: none; }
video { display: block; width: 100%; max-height: 75vh; background: #27151d; margin: 1.2em 0; }
.related { max-width: 44em; margin: 2.5em auto 0; padding-top: .75em; border-top: 1px solid var(--gold); }
.related a { display: block; width: fit-content; padding: .35em 0; color: var(--wine); }
.page-footer { background: #fbe6ec; color: var(--wine); }
.footer-links { padding: 1rem 22px; display: flex; flex-wrap: wrap; gap: .5em 1.1em; justify-content: center; }
.actions { display: flex; text-align: center; background: var(--wine); color: #fff6e9; }
.actions a { width: 33.333%; padding: .65em 0 max(.65em,env(safe-area-inset-bottom)); text-decoration: none; }
.actions a:nth-child(2) { background: #b82049; }
@media (max-width: 900px) {
  .bar-inner { display: flex; flex-direction: column; gap: 0; padding: 0; position: relative; }
  .topbrand { font-size: 1.15rem; min-height: 3rem; }
  .navlinks { display: grid; grid-template-columns: repeat(4,1fr); width: 100%; gap: 0; border-top: 1px solid var(--gold); text-align: center; align-items: stretch; }
  .navlinks a:nth-child(3) { grid-column: auto; }
  .navlinks a { padding: .55em .1em; }
  .navlinks .app { position: absolute; top: .5rem; right: max(8px,env(safe-area-inset-right)); font-size: .8em; }
  .content-width { width: auto; margin-inline: max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right)); }
}
@media (max-width: 340px) {
  .topbrand { align-self: flex-start; margin-left: 12px; }
  .navlinks { font-size: .85rem; }
  .content-width { margin-inline: 12px; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  a { transition: color .16s ease, filter .16s ease; }
  a:hover { color: #ad2149; }
  a.action:hover, .actions a:hover, .navlinks .app:hover { color: #fff; filter: brightness(1.12); }
}
