/* ==========================================================================
   计金6 · Daylight theme
   把原本偏暗的紫金页面改成更明亮的「校园编辑部」配色：
   暖白纸色 + 清华紫 + 珊瑚橙 + 湖水绿 + 浅天蓝。
   本文件在 style.css 之后加载，只负责颜色与少量视觉补充。
   ========================================================================== */

:root {
  --ink: #241a2e;
  --ink-soft: #3a2b49;
  --ink-deep: #2a1538;
  --purple: #5f259f;
  --purple-2: #7c43b6;
  --purple-3: #b892d9;
  --plum: #4f216f;
  --coral: #de6f5b;
  --coral-soft: #f6c5b5;
  --coral-wash: #fdf0e9;
  --coral-text: #a84635;
  --gold-text: #8a621f; /* 5.15:1，用于浅底小字号；--gold 仅作图形与大字号 */
  --teal: #2f7d73;
  --teal-soft: #b9ddd4;
  --sky: #5b86b0;
  --sky-soft: #d6e6f2;
  --gold: #bd9550;
  --gold-2: #ddba7b;
  --gold-3: #f6e6c6;
  --paper: #fbf8f1;
  --paper-2: #f2e9da;
  --cream: #fffdf8;
  --lavender: #eee9f6;
  --peach: #fbece2;
  --mint: #eaf4ee;
  --blue-wash: #eaf2f7;
  --white: #fffefa;
  --muted: #6e6278;
  --muted-2: #6f6478;
  --line: rgba(36, 26, 46, 0.13);
  --line-strong: rgba(36, 26, 46, 0.25);
  --light-line: rgba(36, 26, 46, 0.12);
  --red: #b04e43;
  --green: #2f7d73;
}

body {
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: var(--purple);
  color: var(--white);
}

/* ==========================================================================
   导航
   ========================================================================== */

.site-header {
  color: var(--ink);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 248, 241, 0.92);
  box-shadow: 0 10px 34px rgba(36, 26, 46, 0.07);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.brand img {
  filter: drop-shadow(0 5px 12px rgba(95, 37, 159, 0.18));
}

.cloud-link {
  border-color: rgba(36, 26, 46, 0.24);
  opacity: 1;
  color: var(--ink);
}

.cloud-link:hover {
  color: var(--cream);
  background: var(--purple);
  border-color: var(--purple);
}

.login-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease);
}

.login-entry svg {
  width: 14px;
  height: 14px;
}

.login-entry:hover {
  background: #4b1a7e;
  border-color: #4b1a7e;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(95, 37, 159, 0.22);
}

.mobile-menu {
  background:
    radial-gradient(700px 560px at 80% 18%, rgba(224, 111, 91, 0.34), transparent 62%),
    radial-gradient(620px 520px at 6% 90%, rgba(47, 125, 115, 0.3), transparent 62%),
    linear-gradient(150deg, #4c1b7c, #6a2da2 58%, #803bb5);
}

.mobile-menu a {
  border-bottom-color: rgba(255, 253, 248, 0.18);
}

.mobile-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 28px;
  padding: 13px 0;
  border: none;
  border-top: 1px solid rgba(255, 253, 248, 0.25);
  border-bottom: 1px solid rgba(255, 253, 248, 0.25);
  background: none;
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.mobile-admin b {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-2);
}

.section-rail {
  border-color: rgba(36, 26, 46, 0.12);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 36px rgba(36, 26, 46, 0.1);
}

.section-rail a {
  color: rgba(36, 26, 46, 0.42);
}

.section-rail a:hover,
.section-rail a.is-active {
  color: var(--purple);
}

.section-rail em {
  background: var(--ink);
  color: var(--cream);
}

/* ==========================================================================
   首屏 · 从深色夜景改为暖白晴天
   ========================================================================== */

.hero {
  background:
    radial-gradient(700px 560px at 85% 28%, rgba(224, 111, 91, 0.22), transparent 66%),
    radial-gradient(560px 480px at 96% 82%, rgba(47, 125, 115, 0.14), transparent 68%),
    radial-gradient(820px 640px at 8% 10%, rgba(95, 37, 159, 0.12), transparent 66%),
    linear-gradient(180deg, #fbf8f1 0%, #f7eedf 100%);
  color: var(--ink);
}

.hero::before {
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.92) 0%, rgba(251, 248, 241, 0.3) 58%, transparent 100%);
}

.hero-grid {
  opacity: 0.55;
  background-image: linear-gradient(rgba(95, 37, 159, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 37, 159, 0.11) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle at 64% 48%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 64% 48%, #000 0%, transparent 70%);
}

.hero-glow {
  background: radial-gradient(circle, rgba(224, 111, 91, 0.2), rgba(95, 37, 159, 0.08) 48%, transparent 70%);
  filter: blur(16px);
}

.hero-watermark {
  -webkit-text-stroke: 1px rgba(95, 37, 159, 0.1);
}

.hero h1 {
  color: var(--ink);
}

.hero h1 em {
  color: var(--purple);
}

.hero-eyebrow,
.closing .eyebrow {
  color: var(--coral-text);
}

.eyebrow-line {
  background: currentColor;
}

.hero-subline {
  color: var(--muted);
}

.hero-subline i {
  background: var(--coral);
}

.hero-lede {
  color: var(--muted);
}

.btn-gold {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 12px 28px rgba(95, 37, 159, 0.18);
}

.btn-gold:hover {
  background: #4b1a7e;
  border-color: #4b1a7e;
  box-shadow: 0 16px 36px rgba(95, 37, 159, 0.26);
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(36, 26, 46, 0.26);
}

.btn-ghost:hover {
  border-color: var(--purple);
  background: rgba(95, 37, 159, 0.06);
}

.spark {
  background: var(--coral);
  box-shadow: 0 0 14px 3px rgba(224, 111, 91, 0.3);
}

.spark:nth-child(5) {
  background: var(--teal);
}

.hero-facts > div {
  border-left-color: rgba(36, 26, 46, 0.18);
}

.hero-facts strong {
  color: var(--purple);
}

.hero-facts > div:nth-child(2) strong {
  color: var(--coral);
}

.hero-facts > div:nth-child(3) strong {
  color: var(--teal);
}

.hero-facts span,
.scroll-cue {
  color: var(--muted);
}

.hero-marquee {
  background: var(--purple);
  color: var(--gold-3);
  border-top-color: var(--purple);
}

.hero-marquee b {
  color: var(--gold-2);
}

/* 圆形班徽 */
.hero-art::before {
  background: radial-gradient(circle, rgba(224, 111, 91, 0.18), rgba(95, 37, 159, 0.1) 42%, transparent 70%);
}

.orbit-a {
  border-color: rgba(95, 37, 159, 0.34);
}

.orbit-b {
  border-color: rgba(47, 125, 115, 0.28);
}

.orbit-b::before,
.orbit-b::after {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(224, 111, 91, 0.12);
}

.orbit-c {
  border-color: rgba(95, 37, 159, 0.13);
}

.orbit-c::before,
.orbit-c::after {
  background: rgba(95, 37, 159, 0.14);
}

.orbit-node {
  border-color: rgba(95, 37, 159, 0.3);
  background: rgba(255, 253, 248, 0.9);
  color: var(--purple);
  box-shadow: 0 7px 20px rgba(95, 37, 159, 0.1);
}

.medallion {
  border-color: rgba(189, 149, 80, 0.55);
  background: rgba(255, 253, 248, 0.65);
  box-shadow: 0 30px 70px rgba(95, 37, 159, 0.18), 0 0 70px rgba(224, 111, 91, 0.12),
    inset 0 0 0 7px rgba(255, 253, 248, 0.65);
}

.medallion-ring {
  border-color: rgba(95, 37, 159, 0.15);
}

.art-note,
.art-coord {
  color: rgba(95, 37, 159, 0.54);
}

/* ==========================================================================
   01 班级概况
   ========================================================================== */

.about {
  background:
    radial-gradient(700px 500px at 94% 4%, rgba(224, 111, 91, 0.1), transparent 62%),
    radial-gradient(600px 440px at 0% 100%, rgba(95, 37, 159, 0.08), transparent 64%),
    var(--lavender);
}

.about::before {
  -webkit-text-stroke-color: rgba(95, 37, 159, 0.05);
}

.identity-card {
  background:
    radial-gradient(520px 380px at 94% 8%, rgba(224, 111, 91, 0.4), transparent 62%),
    linear-gradient(145deg, #4d1b7a, #6e2da6 58%, #8b4ebd);
  box-shadow: 0 28px 70px rgba(95, 37, 159, 0.24);
}

.identity-card::after {
  border-color: rgba(255, 253, 248, 0.18);
}

.identity-quote {
  color: #ffe9b8;
}

.identity-tags span {
  border-color: rgba(255, 253, 248, 0.25);
  color: rgba(255, 253, 248, 0.72);
}

.identity-seal {
  border-color: rgba(255, 253, 248, 0.24);
  color: rgba(255, 253, 248, 0.42);
}

.fact-grid {
  background: rgba(36, 26, 46, 0.12);
  border-color: rgba(36, 26, 46, 0.12);
}

.fact-card {
  background: rgba(255, 253, 248, 0.84);
}

.fact-card:hover {
  background: var(--white);
}

.fact-card strong {
  color: var(--purple);
}

.fact-card:nth-child(2) strong {
  color: var(--coral);
}

.fact-card:nth-child(3) strong {
  color: var(--teal);
}

.fact-card:nth-child(4) strong {
  color: var(--gold-text);
}

.track-block:first-child h3 {
  color: var(--teal);
}

.track-block-right h3 {
  color: var(--coral-text);
}

.track-block li {
  border-color: rgba(36, 26, 46, 0.14);
  background: rgba(255, 253, 248, 0.34);
}

.track-cross {
  color: var(--coral-text);
}

/* ==========================================================================
   02 成员 · 从深色卡册改为清爽名册
   ========================================================================== */

.members {
  background:
    radial-gradient(780px 560px at 5% 6%, rgba(95, 37, 159, 0.1), transparent 62%),
    radial-gradient(700px 520px at 100% 92%, rgba(47, 125, 115, 0.1), transparent 62%),
    var(--blue-wash);
  color: var(--ink);
}

.members::before {
  -webkit-text-stroke-color: rgba(95, 37, 159, 0.055);
}

.member-toolbar {
  border-color: rgba(36, 26, 46, 0.12);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 10px 30px rgba(36, 26, 46, 0.045);
}

.member-search {
  border-color: rgba(36, 26, 46, 0.15);
  background: var(--white);
}

.member-search:focus-within {
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(95, 37, 159, 0.08);
}

.member-search svg {
  color: var(--muted-2);
}

.member-search input {
  color: var(--ink);
}

.member-search input::placeholder {
  color: var(--muted-2);
}

.member-search kbd {
  border-color: var(--line);
  color: var(--muted-2);
}

.filter-group button {
  color: var(--muted);
}

.filter-group button:hover {
  color: var(--purple);
  border-color: rgba(95, 37, 159, 0.2);
}

.filter-group button.is-active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.filter-group button.is-active span {
  color: var(--white);
  opacity: 1;
}

.member-status {
  color: var(--muted);
}

.member-status p {
  color: var(--purple);
}

.member-card {
  border-color: rgba(36, 26, 46, 0.11);
  background:
    radial-gradient(120px 110px at 14% 8%, color-mix(in srgb, var(--tone-a) 14%, transparent), transparent 72%),
    var(--white);
  color: var(--ink);
  box-shadow: 0 3px 14px rgba(36, 26, 46, 0.035);
}

.member-card::after {
  border-color: rgba(95, 37, 159, 0.1);
}

.member-card:hover,
.member-card:focus-visible {
  border-color: rgba(95, 37, 159, 0.42);
  background:
    radial-gradient(170px 140px at 14% 8%, color-mix(in srgb, var(--tone-a) 22%, transparent), transparent 72%),
    var(--white);
  box-shadow: 0 18px 38px rgba(95, 37, 159, 0.14);
}

.member-index {
  color: var(--muted-2);
}

.member-index b {
  color: rgba(95, 37, 159, 0.58);
}

.member-name {
  color: var(--ink);
}

.member-role {
  color: var(--purple);
}

.member-role.is-empty {
  color: var(--muted-2);
}

.member-meta {
  border-top-color: rgba(36, 26, 46, 0.08);
  color: var(--muted-2);
}

.member-meta span:last-child {
  color: var(--purple);
}

.member-foot {
  border-top-color: rgba(36, 26, 46, 0.14);
  color: var(--muted);
}

.member-foot p span {
  border-color: rgba(95, 37, 159, 0.3);
  color: var(--purple);
}

.member-foot a {
  color: var(--purple);
}

.member-foot a:hover {
  color: var(--coral-text);
}

.tone-1 {
  --tone-a: #d96b5a;
  --tone-b: #7a2e32;
}
.tone-2 {
  --tone-a: #2f7d73;
  --tone-b: #19463f;
}
.tone-3 {
  --tone-a: #5b86b0;
  --tone-b: #29445f;
}
.tone-4 {
  --tone-a: #b9823f;
  --tone-b: #5f3d1c;
}
.tone-5 {
  --tone-a: #a34c75;
  --tone-b: #551f3d;
}

.member-grid + .empty-state {
  color: var(--muted);
}

/* ==========================================================================
   03 新闻
   ========================================================================== */

.news {
  background:
    radial-gradient(680px 480px at 100% 0%, rgba(224, 111, 91, 0.09), transparent 62%),
    #fffaf3;
}

.feature-story {
  border-color: rgba(36, 26, 46, 0.22);
}

.feature-visual {
  background:
    radial-gradient(440px 380px at 30% 40%, rgba(255, 253, 248, 0.28), transparent 62%),
    linear-gradient(145deg, #5f259f, #8c4bbd 55%, #df7b66);
}

.feature-visual::before {
  border-color: rgba(255, 253, 248, 0.32);
}

.feature-visual::after {
  border-color: rgba(255, 253, 248, 0.3);
  box-shadow: 0 0 0 46px rgba(255, 253, 248, 0.04), 0 0 0 92px rgba(255, 253, 248, 0.03);
}

.feature-visual-top {
  color: rgba(255, 253, 248, 0.7);
}

.feature-number strong {
  color: #fff1c9;
  text-shadow: 0 14px 40px rgba(61, 18, 92, 0.28);
}

.feature-number span {
  color: rgba(255, 253, 248, 0.8);
}

.feature-visual-bottom {
  color: rgba(255, 253, 248, 0.62);
}

.feature-visual-bottom b {
  color: #fff1c9;
}

.feature-body {
  background: var(--white);
}

.story-tag {
  border-color: rgba(95, 37, 159, 0.22);
  color: var(--purple);
  background: rgba(95, 37, 159, 0.04);
}

.story-tag::before {
  background: var(--coral);
}

.feature-body > p,
.news-card-summary {
  color: var(--muted);
}

.news-grid {
  border-top-color: rgba(36, 26, 46, 0.22);
}

.news-card {
  border-bottom-color: rgba(36, 26, 46, 0.12);
}

.news-card:hover {
  background: rgba(238, 233, 246, 0.52);
}

.news-date {
  color: var(--muted-2);
}

.news-card-title {
  color: var(--ink);
}

.news-card:hover .news-card-title {
  color: var(--purple);
}

.news-card-arrow {
  color: var(--muted-2);
}

.news-card-arrow span {
  color: var(--coral-text);
}

.filter-group-light button {
  color: var(--muted);
}

.filter-group-light button:hover {
  color: var(--purple);
  border-color: rgba(95, 37, 159, 0.2);
}

.filter-group-light button.is-active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* 新闻照片 */
.news-card-photo {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  background: var(--paper-2);
}

.news-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-card:hover .news-card-photo img {
  transform: scale(1.045);
}

.feature-visual.has-photo {
  background: #2a1538;
}

.feature-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-visual.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: none;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(23, 13, 29, 0.48) 0%, transparent 36%, rgba(23, 13, 29, 0.76) 100%);
  box-shadow: none;
  transform: none;
}

.feature-visual.has-photo .feature-visual-top,
.feature-visual.has-photo .feature-visual-bottom,
.feature-visual.has-photo .feature-photo-stamp {
  z-index: 2;
}

.feature-visual.has-photo .feature-visual-top,
.feature-visual.has-photo .feature-visual-bottom {
  color: rgba(255, 253, 248, 0.9);
  text-shadow: 0 1px 12px rgba(23, 13, 29, 0.35);
}

.feature-photo-stamp {
  position: absolute;
  right: 28px;
  bottom: 58px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #fff1c9;
}

.feature-photo-stamp strong {
  font-family: var(--display);
  font-size: 66px;
  font-weight: 400;
  line-height: 0.8;
}

.feature-photo-stamp span {
  font-size: 8px;
  letter-spacing: 0.12em;
}

/* 新闻现场照片墙 */
.field-gallery {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.field-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.field-gallery-head .micro-label {
  margin-bottom: 6px;
  color: var(--coral-text);
}

.field-gallery-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.field-gallery-head > p {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.field-gallery-head > p span {
  color: var(--coral-text);
}

.field-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.field-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: none;
  background: var(--paper-2);
  cursor: zoom-in;
}

.field-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.field-photo::after {
  content: "↗";
  position: absolute;
  right: 13px;
  bottom: 11px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  color: var(--purple);
  font-family: var(--display);
  font-size: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease);
}

.field-photo:hover img {
  transform: scale(1.035);
}

.field-photo:hover::after {
  opacity: 1;
  transform: none;
}

.news-dialog-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 22px 0 4px;
}

.news-dialog-photos button {
  overflow: hidden;
  padding: 0;
  border: none;
  background: var(--paper-2);
  cursor: zoom-in;
}

.news-dialog-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.news-dialog-photos.is-single {
  grid-template-columns: 1fr;
}

.news-dialog-photos.is-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.news-dialog-photos.is-single img {
  max-height: 380px;
}

.news-dialog-photos button:hover img {
  transform: scale(1.03);
}

/* 大图 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: rgba(23, 13, 29, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox figure {
  max-width: min(1120px, 92vw);
  max-height: 88svh;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  margin-top: 13px;
  color: rgba(255, 253, 248, 0.66);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s var(--ease);
}

.lightbox-close:hover {
  background: var(--white);
  color: var(--purple);
}

/* ==========================================================================
   04 公告
   ========================================================================== */

.notices {
  background:
    radial-gradient(800px 560px at 4% 12%, rgba(224, 111, 91, 0.14), transparent 60%),
    radial-gradient(600px 480px at 100% 96%, rgba(189, 149, 80, 0.12), transparent 60%),
    var(--peach);
  color: var(--ink);
}

.notices::before {
  -webkit-text-stroke-color: rgba(224, 111, 91, 0.06);
}

.notice-board-wrap {
  border-color: rgba(224, 111, 91, 0.24);
  background: rgba(255, 253, 248, 0.52);
}

.notice-board {
  background: var(--white);
  color: var(--ink);
}

.notice-board-head {
  border-bottom-color: var(--line);
  color: var(--muted);
}

.notice-board-head p {
  color: var(--ink);
}

.live-dot {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(224, 111, 91, 0.14);
}

.notice-item {
  border-bottom-color: var(--line);
}

.notice-item summary:hover {
  background: rgba(224, 111, 91, 0.055);
}

.notice-item.is-pinned summary {
  background: linear-gradient(90deg, rgba(224, 111, 91, 0.14), rgba(189, 149, 80, 0.045));
  box-shadow: inset 3px 0 0 var(--coral);
}

.notice-date {
  color: var(--muted);
}

.notice-tag {
  color: var(--purple);
}

.notice-pin {
  border-color: rgba(189, 149, 80, 0.45);
  color: #8a692d;
}

.notice-title {
  color: var(--ink);
}

.notice-toggle {
  border-color: var(--line);
}

.notice-item[open] .notice-toggle {
  background: var(--purple);
  border-color: var(--purple);
}

.notice-item[open] .notice-toggle::before,
.notice-item[open] .notice-toggle::after {
  background: var(--white);
}

.notice-body {
  color: var(--muted);
}

.notice-body-inner {
  border-top-color: var(--line);
}

.calendar-card {
  border-color: rgba(224, 111, 91, 0.22);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(120, 63, 42, 0.06);
}

.calendar-card-head .micro-label {
  color: var(--coral-text);
}

.calendar-card-head h3 {
  color: var(--ink);
}

.calendar-list::before {
  background: rgba(224, 111, 91, 0.24);
}

.calendar-list li::before {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(224, 111, 91, 0.12);
}

.calendar-date {
  color: var(--coral-text);
}

.calendar-info strong {
  color: var(--ink);
}

.calendar-info span {
  color: var(--muted);
}

.calendar-foot {
  border-top-color: var(--line);
}

.calendar-foot p {
  color: var(--muted);
}

.calendar-foot b {
  color: var(--purple);
}

/* ==========================================================================
   05 财务
   ========================================================================== */

.finance {
  background:
    radial-gradient(800px 560px at 100% 0%, rgba(47, 125, 115, 0.11), transparent 60%),
    radial-gradient(600px 480px at 0% 100%, rgba(91, 134, 176, 0.1), transparent 60%),
    var(--mint);
}

.balance-card {
  background:
    radial-gradient(520px 360px at 98% 0%, rgba(224, 111, 91, 0.44), transparent 62%),
    linear-gradient(145deg, #4c1a79, #672a9e 58%, #8341b5);
}

.balance-card::after {
  border-color: rgba(255, 253, 248, 0.2);
}

.balance-head .micro-label {
  color: rgba(255, 253, 248, 0.58);
}

.stamp {
  border-color: rgba(255, 253, 248, 0.38);
  color: var(--gold-3);
}

.balance-label {
  color: rgba(255, 253, 248, 0.65);
}

.balance-value {
  color: #fff1c9;
}

.balance-value small {
  color: rgba(255, 241, 201, 0.7);
}

.balance-foot {
  border-top-color: rgba(255, 253, 248, 0.2);
  color: rgba(255, 253, 248, 0.54);
}

.balance-orbit {
  border-color: rgba(255, 253, 248, 0.16);
  box-shadow: 0 0 0 42px rgba(255, 253, 248, 0.035), 0 0 0 86px rgba(255, 253, 248, 0.02);
}

.finance-kpis {
  border-color: var(--line);
  background: var(--line);
}

.finance-kpi {
  background: var(--white);
}

.finance-kpi > small {
  color: var(--muted-2);
}

.finance-kpi p {
  color: var(--muted);
}

.finance-kpi strong {
  color: var(--ink);
}

.kpi-icon {
  border-color: var(--line);
}

.kpi-icon-in {
  color: var(--teal);
}

.kpi-icon-out {
  color: var(--coral-text);
}

.category-track {
  background: rgba(36, 26, 46, 0.09);
}

.category-track i {
  background: linear-gradient(90deg, var(--purple), var(--coral));
}

.category-row:nth-child(2) .category-track i {
  background: linear-gradient(90deg, var(--coral), var(--gold-2));
}

.category-row:nth-child(3) .category-track i {
  background: linear-gradient(90deg, var(--teal), var(--sky));
}

.ledger {
  border-color: var(--line);
  background: var(--white);
}

.ledger-head {
  border-bottom-color: var(--line);
}

.ledger-table th {
  border-bottom-color: var(--line);
  color: var(--muted-2);
}

.ledger-table td {
  border-bottom-color: rgba(36, 26, 46, 0.08);
}

.ledger-table tbody tr:hover {
  background: rgba(47, 125, 115, 0.055);
}

.ledger-date {
  color: var(--muted);
}

.ledger-title span {
  color: var(--muted-2);
}

.category-pill {
  border-color: var(--line);
  color: var(--muted);
}

.amount-in {
  color: var(--teal);
}

.amount-out {
  color: var(--coral-text);
}

.balance-cell {
  color: var(--ink);
}

.ledger-foot {
  border-top-color: var(--line);
  color: var(--muted);
}

.ledger-dot {
  background: var(--teal);
}

.ledger-foot b {
  color: var(--ink);
}

/* ==========================================================================
   结尾 · 用珊瑚色收束，避免第二个深色大块
   ========================================================================== */

.closing {
  background:
    radial-gradient(720px 560px at 82% 20%, rgba(255, 253, 248, 0.54), transparent 62%),
    radial-gradient(600px 500px at 4% 92%, rgba(224, 111, 91, 0.2), transparent 62%),
    linear-gradient(135deg, #f8d9c9 0%, #f4c3ae 52%, #efa78f 100%);
  color: var(--ink);
}

.closing::before {
  background-image: linear-gradient(rgba(95, 37, 159, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 37, 159, 0.07) 1px, transparent 1px);
}

.closing-orbit {
  border-color: rgba(95, 37, 159, 0.2);
  box-shadow: 0 0 0 80px rgba(95, 37, 159, 0.035), 0 0 0 160px rgba(95, 37, 159, 0.022);
}

.closing-inner h2 {
  color: var(--ink);
}

.closing-inner h2 em {
  color: var(--purple);
}

.closing-inner > p:not(.eyebrow) {
  color: rgba(36, 26, 46, 0.66);
}

.closing .btn-gold {
  background: var(--purple);
  color: var(--white);
}

.text-link-light {
  color: rgba(36, 26, 46, 0.66);
}

.text-link-light:hover {
  color: var(--purple);
}

.closing-year {
  -webkit-text-stroke-color: rgba(95, 37, 159, 0.18);
}

/* ==========================================================================
   页脚 / 弹窗 / 细节
   ========================================================================== */

.site-footer {
  background:
    radial-gradient(680px 440px at 90% 10%, rgba(224, 111, 91, 0.2), transparent 60%),
    linear-gradient(150deg, #38134f, #4b1a6b 58%, #5b237f);
  color: rgba(255, 253, 248, 0.54);
  border-top-color: rgba(255, 253, 248, 0.12);
}

.footer-admin {
  display: block;
  padding: 4px 0;
  border: none;
  background: none;
  color: rgba(255, 253, 248, 0.42);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: left;
  transition: color 0.3s ease;
}

.footer-admin:hover {
  color: var(--gold-2);
}

dialog::backdrop {
  background: rgba(36, 26, 46, 0.5);
}

.dialog-panel {
  background:
    radial-gradient(480px 300px at 100% 0%, rgba(224, 111, 91, 0.1), transparent 60%),
    var(--cream);
  border-color: var(--line);
}

.profile-role,
.profile-footer b {
  color: var(--purple);
}

.profile-note::before {
  background: var(--coral);
}

.news-dialog-tag .story-tag {
  color: var(--purple);
}

.news-dialog-body {
  color: var(--ink-soft);
}

.empty-state-light {
  color: var(--muted);
}

/* 小屏幕下照片墙降为两列 */
@media (max-width: 680px) {
  .field-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-gallery-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .feature-photo-stamp {
    right: 20px;
    bottom: 50px;
  }

  .feature-photo-stamp strong {
    font-size: 48px;
  }

  .news-dialog-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .login-entry {
    width: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .login-entry span {
    display: none;
  }
}

@media (max-width: 960px) {
  .cloud-link {
    display: none;
  }
}

body.lightbox-open {
  overflow: hidden;
}

.login-entry.is-auth {
  background: var(--white);
  color: var(--purple);
  border-color: rgba(95, 37, 159, 0.3);
}

.login-entry.is-auth:hover {
  background: var(--lavender);
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(95, 37, 159, 0.12);
}

body.menu-open .login-entry {
  background: var(--white);
  color: var(--purple);
  border-color: rgba(255, 253, 248, 0.5);
}

.feature-body h3 {
  max-width: 100%;
  font-size: clamp(28px, 2.6vw, 36px);
}

/* 比赛视频 */
.field-video {
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.field-video-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.field-video-head .micro-label {
  margin-bottom: 6px;
  color: var(--coral-text);
}

.field-video-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.field-video-head > p {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.field-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.55fr);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0a10;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d0a10;
}

.video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 28px;
  background:
    radial-gradient(280px 220px at 100% 0%, rgba(224, 111, 91, 0.28), transparent 70%),
    #24152f;
}

.video-copy .micro-label {
  color: rgba(255, 253, 248, 0.48);
}

.video-copy h4 {
  margin: 15px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

.video-copy > p:not(.micro-label) {
  font-size: 9px;
  line-height: 1.8;
  color: rgba(255, 253, 248, 0.48);
}

.video-copy .video-note {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 248, 0.35);
}

.news-dialog-videos {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.news-dialog-videos figure {
  margin: 0;
}

.news-dialog-videos video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0a10;
}

.news-dialog-videos figcaption {
  margin-top: 8px;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

@media (max-width: 960px) {
  .field-video-grid,
  .video-card {
    grid-template-columns: 1fr;
  }

  .video-copy {
    padding: 22px 20px;
  }

  .video-copy .video-note {
    margin-top: 4px;
    padding-top: 14px;
  }
}

@media (max-width: 680px) {
  .field-video {
    margin-top: 42px;
  }

  .field-video-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .video-copy h4 {
    font-size: 22px;
  }
}

/* PPT 摘录卡片 */
.news-highlights {
  margin-top: 27px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.news-highlights-head {
  margin-bottom: 14px;
}

.news-highlights-head .micro-label {
  margin-bottom: 5px;
  color: var(--coral-text);
}

.news-highlights-head h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}

.news-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  padding: 18px 17px 16px;
  background:
    radial-gradient(220px 180px at 100% 0%, rgba(224, 111, 91, 0.32), transparent 66%),
    linear-gradient(145deg, #2b153b, #4b1a6e);
  color: var(--cream);
}

.highlight-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.highlight-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.highlight-team {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.highlight-meta {
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 248, 0.48);
  text-align: right;
}

.highlight-metric {
  position: relative;
  z-index: 2;
  margin: 17px 0 1px;
  font-family: var(--display);
  font-size: 48px;
  line-height: 0.9;
  color: #ffe3a7;
}

.highlight-metric-label {
  position: relative;
  z-index: 2;
  font-size: 8px;
  line-height: 1.6;
  color: rgba(255, 253, 248, 0.65);
}

.highlight-card ul {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 14px 0 0;
}

.highlight-card li {
  position: relative;
  padding-left: 9px;
  font-size: 8px;
  line-height: 1.5;
  color: rgba(255, 253, 248, 0.72);
}

.highlight-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--coral-soft);
}

.highlight-takeaway {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  font-family: var(--serif);
  font-size: 10.5px;
  line-height: 1.65;
  color: rgba(255, 253, 248, 0.82);
}

@media (max-width: 680px) {
  .news-highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-metric {
    font-size: 42px;
  }
}

/* Full-bleed editorial interlude */
.interlude {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 68vh;
  min-height: 500px;
  max-height: 720px;
  background: #1c1025;
  color: var(--cream);
}

.interlude-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.04);
}

.interlude-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 13, 30, 0.9) 0%, rgba(24, 13, 30, 0.58) 46%, rgba(24, 13, 30, 0.14) 100%),
    linear-gradient(0deg, rgba(24, 13, 30, 0.54), transparent 46%);
}

.interlude-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.interlude .eyebrow {
  color: var(--gold-2);
}

.interlude h2 {
  max-width: 900px;
  margin: 23px 0 18px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--white);
}

.interlude h2 em {
  color: var(--gold-2);
  font-style: normal;
}

.interlude-inner > p:not(.eyebrow) {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.02em;
  color: rgba(255, 253, 248, 0.72);
}

.interlude-caption {
  position: absolute;
  right: 48px;
  bottom: 29px;
  z-index: 2;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(255, 253, 248, 0.46);
}

@supports (animation-timeline: view()) {
  .interlude-bg {
    animation: interludeZoom linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

@keyframes interludeZoom {
  from {
    transform: scale(1.12) translateY(-2.5%);
  }
  to {
    transform: scale(1.02) translateY(2.5%);
  }
}

@media (max-width: 960px) {
  .hero-art {
    display: none;
  }

  .interlude {
    height: 64vh;
    min-height: 440px;
  }

  .interlude-caption {
    right: 24px;
    bottom: 20px;
  }
}

@media (max-width: 680px) {
  .interlude {
    height: 58vh;
    min-height: 390px;
  }

  .interlude-inner h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .interlude-inner > p:not(.eyebrow) {
    font-size: 17px;
  }

  .interlude-scrim {
    background:
      linear-gradient(90deg, rgba(24, 13, 30, 0.82), rgba(24, 13, 30, 0.22)),
      linear-gradient(0deg, rgba(24, 13, 30, 0.64), transparent 58%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .interlude-bg {
    transition: none;
    animation: none;
  }
}

/* News comments */
.news-comments {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.comments-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.comments-head h4 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.comments-head h4 span {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--coral-text);
  vertical-align: middle;
}

.comments-head > p {
  margin-bottom: 4px;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-align: right;
}

.comment-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 8px;
  color: var(--muted-2);
}

.comment-meta strong {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}

.comment-meta time {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.comment-badge {
  padding: 2px 6px;
  border: 1px solid rgba(168, 70, 53, 0.18);
  border-radius: 999px;
  color: var(--coral-text);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.comment-item p {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
}

.comment-empty {
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted-2);
}

.comment-form {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid rgba(95, 37, 159, 0.14);
  background: rgba(95, 37, 159, 0.035);
}

.comment-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.comment-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--purple), var(--coral));
  color: var(--white);
  font-family: var(--serif);
  font-size: 11px;
}

.comment-identity strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.comment-identity small {
  display: block;
  margin-top: 2px;
  font-size: 7px;
  color: var(--muted-2);
}

.comment-anon {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 8px;
  color: var(--muted);
  cursor: pointer;
}

.comment-anon input {
  accent-color: var(--purple);
}

.comment-login {
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--purple);
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comment-field {
  display: block;
}

.comment-field > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.comment-field > span small {
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.comment-field textarea {
  width: 100%;
  min-height: 84px;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.7;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.comment-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(95, 37, 159, 0.08);
  outline: none;
}

.comment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.comment-actions > span {
  font-size: 7px;
  color: var(--muted-2);
}

.comment-submit {
  flex: none;
  min-height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-size: 8px;
  letter-spacing: 0.06em;
  transition: background 0.25s ease;
}

.comment-submit:hover {
  background: #4b1a7e;
}

.comment-error {
  margin-top: 9px;
  color: var(--coral-text);
  font-size: 8px;
}

@media (max-width: 680px) {
  .comments-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .comments-head > p {
    text-align: left;
  }

  .comment-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-submit {
    width: 100%;
  }
}

.news-comment-count {
  margin-left: auto;
  padding-left: 10px;
  color: var(--coral-text);
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* Top-page dino entry */
.dino-top-entry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(189, 149, 80, 0.42);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.5);
  color: var(--purple);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.25s var(--ease);
}

.dino-top-entry svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.dino-top-entry:hover {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
}

.mobile-game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 22px;
  padding: 12px 0;
  border: none;
  border-top: 1px solid rgba(255, 253, 248, 0.25);
  background: none;
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.mobile-game b {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-2);
}

@media (max-width: 680px) {
  .dino-top-entry {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .dino-top-entry span {
    display: none;
  }
}
