:root {
  --bg: #FBFAF8;
  --bg-2: #F3F0EB;
  --ink: #1C1B19;
  --ink-2: #6B6862;
  --ink-3: #99948A;
  --line: #E4DFD7;
  --accent: #8A6A45;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  background: rgba(251, 250, 248, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .04em;
}

.brand em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}

.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  padding: 120px 40px 100px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-kicker {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 400;
  letter-spacing: .12em;
}

.hero-sub {
  margin: 0 0 36px;
  color: var(--ink-2);
  font-size: 15px;
  letter-spacing: .06em;
}

.hero-cta {
  display: inline-block;
  padding: 12px 34px;
  border: 1px solid var(--ink);
  font-size: 14px;
  letter-spacing: .1em;
  transition: background .25s, color .25s;
}

.hero-cta:hover { background: var(--ink); color: var(--bg); }

/* ---------- sections ---------- */
main { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

section { padding: 90px 0; }

.section-head { margin-bottom: 40px; }

.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .1em;
}

.section-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------- filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter {
  padding: 7px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all .22s;
}

.filter:hover { border-color: var(--ink-3); color: var(--ink); }

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* ---------- gallery ---------- */
.gallery { column-count: 3; column-gap: 24px; }

.card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 24px;
  cursor: zoom-in;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28, 27, 25, .12); }

.card img {
  width: 100%;
  height: auto;
  background: #EDE9E2;
}

.card-info { padding: 14px 18px 16px; }

.card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .05em;
}

.card-meta {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 17, 16, .6);
  color: #fff;
  pointer-events: none;
}

.card-badge .tri {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.card-badge.is-link {
  width: auto;
  height: auto;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 2;
}

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

.about-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.about-list span {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* ---------- contact ---------- */
.contact {
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-line { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }

.contact-mail {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .25s, color .25s;
}

.contact-mail:hover { color: var(--accent); border-color: var(--accent); }

.wechat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 36px auto 0;
}

.wechat-qr {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 8px 24px rgba(0, 0, 0, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wechat-qr:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 14px 32px rgba(0, 0, 0, .10);
}

.wechat-qr img {
  display: block;
  width: 180px;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.wechat-tip {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .wechat { margin-top: 28px; }
  .wechat-qr img { width: 150px; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

.site-footer p { margin: 0; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  background: rgba(18, 17, 16, .96);
}

.lightbox[hidden] { display: none; }

.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.lb-stage img,
.lb-stage video {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #111;
}

.lb-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 100%;
}

.lb-thumbs img {
  width: 60px;
  height: 44px;
  object-fit: cover;
  cursor: pointer;
  opacity: .4;
  border: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}

.lb-thumbs img:hover { opacity: .8; }

.lb-thumbs img.is-on { opacity: 1; border-color: #EDEAE4; }

.lb-figure figcaption { text-align: center; color: #EDEAE4; }

.lb-figure h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .08em;
}

.lb-figure p { margin: 0; font-size: 13px; color: #A29C93; letter-spacing: .04em; }

.lb-count { margin-top: 6px !important; font-size: 12px !important; color: #7C766D !important; }

.lb-btn {
  position: absolute;
  background: transparent;
  border: none;
  color: #9C968C;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0 12px;
  transition: color .2s;
}

.lb-btn:hover { color: #fff; }

.lb-close { top: 18px; right: 28px; font-size: 38px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 52px; }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 52px; }

body.lb-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .gallery { column-count: 2; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 700px) {
  .site-header { padding: 14px 20px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .brand em { display: none; }
  .hero { padding: 72px 20px 60px; }
  main { padding: 0 20px; }
  section { padding: 60px 0; }
  .gallery { column-count: 1; }
  .lightbox { padding: 24px 16px 32px; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
  .lb-stage img,
  .lb-stage video { max-height: 58vh; }
  .lb-thumbs img { width: 48px; height: 36px; }
  .site-footer { padding: 28px 20px; }
}


/* ============================================================
   互动功能：浏览 / 点赞 / 评分 / 留言
   ============================================================ */
.card-stat {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

.social {
  margin: 16px auto 0;
  width: 100%;
  max-width: 520px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 14px;
}
.social[hidden] { display: none; }

.so-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
  color: #A8A29A;
  letter-spacing: .04em;
}
.so-stats b { color: #EDEAE4; font-weight: 500; }

.so-like {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #EDEAE4;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: .06em;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.so-like:hover { border-color: rgba(255, 255, 255, .5); }
.so-like.is-on { color: #E4615B; border-color: #E4615B; }

.so-cmts {
  margin-top: 12px;
  max-height: 168px;
  overflow-y: auto;
  padding-right: 6px;
}
.so-cmts::-webkit-scrollbar { width: 4px; }
.so-cmts::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .2); border-radius: 4px; }

.so-empty { margin: 8px 0; font-size: 12.5px; color: #7C766D; }

.so-item { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.so-item:last-child { border-bottom: none; }
.so-item-top { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; }
.so-item-top b { color: #EDEAE4; font-weight: 500; }
.so-item-star { color: #D9A441; letter-spacing: .1em; }
.so-item-time { margin-left: auto; color: #7C766D; font-size: 11.5px; }
.so-item-text { margin: 4px 0 0; font-size: 13px; line-height: 1.7; color: #D6D2CB; word-break: break-word; }

.so-form { margin-top: 14px; }
.so-row { display: flex; align-items: center; gap: 12px; }
.so-form input,
.so-form textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #EDEAE4;
  font-family: inherit;
  font-size: 13px;
  border-radius: 6px;
  padding: 8px 10px;
  outline: none;
}
.so-form input { width: 150px; }
.so-form input::placeholder,
.so-form textarea::placeholder { color: #7C766D; }
.so-form input:focus,
.so-form textarea:focus { border-color: rgba(255, 255, 255, .35); }
.so-form textarea {
  width: 100%;
  margin-top: 10px;
  min-height: 62px;
  resize: vertical;
  box-sizing: border-box;
  line-height: 1.6;
}
.so-stars { display: inline-flex; gap: 4px; }
.so-star {
  font-size: 16px;
  color: #55504A;
  cursor: pointer;
  transition: color .15s, transform .15s;
  user-select: none;
}
.so-star:hover { transform: translateY(-1px); }
.so-star.is-on { color: #D9A441; }

.so-actions { margin-top: 10px; }
.so-hint { font-size: 12px; color: #8E887F; }
.so-actions button {
  margin-left: auto;
  background: #EDEAE4;
  border: none;
  color: #1C1B19;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: .06em;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .2s;
}
.so-actions button:hover { opacity: .85; }
.so-actions button:disabled { opacity: .5; cursor: default; }

@media (max-width: 640px) {
  .so-stats { gap: 12px; font-size: 12px; }
  .so-like { padding: 5px 12px; }
  .so-form input { width: 120px; }
  .so-cmts { max-height: 130px; }
}

.so-demo {
  margin: 0 0 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #9A948A;
  background: rgba(255, 255, 255, .05);
  border-left: 2px solid #D9A441;
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
}
