@font-face {
  font-family: "LocalXingkai";
  src: url("fonts/STXINGKA.TTF") format("truetype");
  font-display: swap;
}

:root {
  --ink: #111826;
  --panel: rgba(17, 24, 38, 0.78);
  --panel-solid: #172132;
  --paper: #f7f2e9;
  --text: #f7f2e9;
  --muted: #c9c1b5;
  --line: rgba(247, 242, 233, 0.2);
  --gold: #d5ad68;
  --red: #b54d4a;
  --green: #6fa27f;
  --blue: #708daf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--text);
  background: #09111d;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

body.modal-scroll-lock {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  right: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(86vw, 1220px);
  min-height: 70px;
  padding: 0 28px;
  color: #f3fbff;
  background: rgba(8, 18, 32, 0.34);
  border: 1px solid rgba(207, 234, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(2, 10, 20, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #eaf8ff;
  background: rgba(193, 229, 255, 0.18);
  font-weight: 800;
  border: 1px solid rgba(222, 244, 255, 0.34);
  border-radius: 999px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: rgba(235, 248, 255, 0.84);
}

.top-nav a,
.admin-link {
  opacity: 0.86;
}

.top-nav a:hover,
.admin-link:hover {
  opacity: 1;
  color: var(--gold);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-link,
.center-link,
.login-button {
  min-width: 56px;
  padding: 10px 18px;
  background: rgba(207, 234, 255, 0.16);
  border: 1px solid rgba(222, 244, 255, 0.28);
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
}

.center-link {
  color: inherit;
  cursor: pointer;
}

.login-button {
  color: inherit;
  cursor: pointer;
}

.login-button.logged-in {
  min-width: 90px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: #09111d url("assets/optimized/hero-poster.jpg") center / cover no-repeat;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.04) saturate(1.08) contrast(1.14);
  opacity: 1;
  z-index: -3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 11, 22, 0.18), transparent 34%, rgba(4, 11, 22, 0.14)),
    linear-gradient(180deg, rgba(5, 12, 24, 0.08), transparent 52%, rgba(4, 10, 20, 0.28));
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 68%, rgba(130, 198, 255, 0.16), transparent 24%),
    linear-gradient(90deg, transparent 48%, rgba(2, 10, 22, 0.18) 76%, rgba(2, 10, 22, 0.34));
  z-index: -1;
}

.second-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #07101b url("assets/optimized/wangqing-poster.jpg") center / cover no-repeat;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.second-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.68) saturate(0.9) contrast(1.08);
  z-index: -3;
}

.second-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.42), rgba(5, 10, 18, 0.2) 38%, rgba(5, 10, 18, 0.62)),
    radial-gradient(circle at 76% 48%, rgba(24, 42, 58, 0.18), transparent 28%);
  z-index: -2;
}

.hero-content {
  position: absolute;
  right: clamp(30px, 6vw, 96px);
  bottom: clamp(92px, 13vh, 138px);
  width: min(600px, 46vw);
  padding: 24px 28px 26px;
  color: #f2fbff;
  background: linear-gradient(135deg, rgba(4, 13, 28, 0.1), rgba(6, 16, 34, 0.32));
  border: 1px solid rgba(215, 240, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 8, 18, 0.2);
  text-align: right;
}

.kicker {
  margin: 0 0 14px;
  color: rgba(198, 234, 255, 0.86);
  font-size: 13px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "LocalXingkai", "STXingkai", "华文行楷", "KaiTi", serif;
  font-size: clamp(68px, 9vw, 142px);
  font-weight: 400;
  line-height: 0.96;
  text-shadow: 0 2px 10px rgba(3, 9, 20, 0.48), 0 0 24px rgba(136, 205, 255, 0.16);
}

.hero-copy {
  margin: 20px 0 0 auto;
  max-width: 520px;
  color: rgba(234, 248, 255, 0.94);
  font-family: "LocalXingkai", "STXingkai", "华文行楷", "KaiTi", serif;
  font-size: clamp(25px, 2.45vw, 42px);
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(3, 9, 20, 0.48);
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-width: 138px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: #edfaff;
  background: rgba(179, 223, 255, 0.14);
  border: 1px solid rgba(216, 241, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.ghost {
  border-color: rgba(216, 241, 255, 0.32);
}

.button.light {
  color: #07111f;
  background: rgba(228, 247, 255, 0.86);
}

.notice-bar {
  position: absolute;
  right: clamp(26px, 7vw, 112px);
  bottom: 34px;
  max-width: min(560px, 84vw);
  padding: 12px 18px;
  color: rgba(234, 248, 255, 0.9);
  background: rgba(5, 14, 28, 0.28);
  border: 1px solid rgba(216, 241, 255, 0.22);
  border-radius: 999px;
  text-align: right;
}

.auth-locked.locked {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 76px 0;
}

.auth-lock-panel {
  width: min(560px, 88vw);
  padding: 34px;
  color: #172132;
  background: rgba(247, 250, 252, 0.94);
  border: 1px solid rgba(112, 141, 175, 0.24);
  border-radius: 8px;
  text-align: center;
}

.auth-lock-panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
}

.auth-lock-panel p {
  margin: 0 0 18px;
  color: #536275;
}

.auth-lock-panel button,
.auth-submit {
  margin: 0 5px;
  min-height: 42px;
  padding: 10px 22px;
  color: #07111f;
  background: #e4f7ff;
  border: 1px solid rgba(112, 141, 175, 0.3);
  border-radius: 999px;
  cursor: pointer;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 10, 20, 0.56);
}

.auth-modal.open {
  display: flex;
}

.auth-panel {
  position: relative;
  width: min(560px, 92vw);
  padding: 34px 36px 30px;
  color: #172132;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: #536275;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.auth-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  background: #eef4f8;
  border-radius: 999px;
}

.auth-tab {
  min-width: 86px;
  padding: 8px 16px;
  color: #536275;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.auth-tab.active {
  color: #07111f;
  background: #ffffff;
}

.auth-panel h2 {
  margin: 24px 0 18px;
  font-size: 30px;
  font-weight: 500;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form.hidden {
  display: none;
}

.forgot-link {
  justify-self: center;
  color: #536275;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.auth-form label {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 10px;
  color: #111826;
  text-align: right;
  font-size: 24px;
}

.auth-form input {
  min-height: 42px;
  padding: 8px 12px;
  color: #111826;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font-size: 18px;
}

.register-note {
  margin: 2px 0 4px;
  color: #f00;
  font-size: 22px;
}

.auth-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #b54d4a;
}

.auth-message.ok {
  color: #287a55;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  overflow-y: auto;
  background: #eef0f3;
}

.profile-modal.open {
  display: block;
}

.dashboard-shell {
  min-height: 100%;
  color: #242424;
  background:
    radial-gradient(circle at 18% 8%, rgba(33, 64, 110, 0.12), transparent 22%),
    linear-gradient(180deg, #f5f6f8 0%, #ebedf0 100%);
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px clamp(18px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #dde0e5;
  box-shadow: 0 10px 28px rgba(30, 34, 42, 0.08);
}

.dashboard-topbar div {
  flex: 1;
  display: grid;
  gap: 2px;
}

.dashboard-topbar strong {
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 34px;
  font-weight: 400;
}

.dashboard-topbar strong span {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.dashboard-topbar span,
.dashboard-topbar p {
  color: #667085;
}

.dashboard-topbar p {
  margin: 0;
  font-size: 13px;
}

.dashboard-topbar button,
.career-upload {
  min-height: 38px;
  padding: 8px 16px;
  color: #34312d;
  background: #fff;
  border: 1px solid #d9d4ca;
  border-radius: 999px;
  cursor: pointer;
}

.dashboard-topbar > .profile-message {
  min-width: 180px;
  color: #287a55;
  margin: 0;
  text-align: right;
}

.career-upload {
  background: #8f3439;
  color: #fff;
  border-color: #8f3439;
}

.career-upload input {
  display: none;
}

#closeProfile {
  width: 38px;
  padding: 0;
  font-size: 24px;
}

.dashboard-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px clamp(18px, 3vw, 38px) 58px;
}

.news-dashboard {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  max-width: 1380px;
}

.news-hero-card,
.news-feed-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(188, 188, 180, 0.48);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 39, 42, 0.08);
}

.news-hero-card {
  position: sticky;
  top: 102px;
  min-height: 280px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(10, 22, 36, 0.55), rgba(10, 22, 36, 0.82)),
    url("assets/backgrounds/fengshen.jpg") center / cover;
  color: #fff;
}

.news-hero-card .kicker {
  margin: 0 0 12px;
  color: rgba(219, 238, 255, 0.78);
}

.news-hero-card h2 {
  margin: 0 0 16px;
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: 0;
}

.news-hero-card p:last-child {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}

.news-feed-card {
  min-height: 620px;
  overflow: hidden;
}

.news-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(210, 210, 204, 0.66);
}

.news-feed-head div {
  display: grid;
  gap: 4px;
}

.news-feed-head strong {
  font-size: 22px;
}

.news-feed-head span {
  color: #667085;
  font-size: 13px;
}

.news-feed-head a {
  flex: 0 0 auto;
  padding: 9px 15px;
  color: #fff;
  background: #24384f;
  border-radius: 999px;
  font-size: 14px;
}

.profile-news-list {
  display: grid;
  gap: 0;
}

.profile-news-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  color: #222a35;
  border-bottom: 1px solid rgba(220, 224, 230, 0.88);
}

.profile-news-item:hover {
  background: rgba(233, 240, 248, 0.72);
}

.profile-news-item img {
  width: 168px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #dfe6ef;
}

.profile-news-item div {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.profile-news-label {
  width: max-content;
  padding: 3px 9px;
  color: #7e4b25;
  background: #fff2dc;
  border: 1px solid #e7c58e;
  border-radius: 999px;
  font-size: 12px;
}

.profile-news-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
}

.profile-news-item p {
  margin: 0;
  overflow: hidden;
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-news-item time {
  color: #87909f;
  font-weight: 700;
}

.news-loading {
  padding: 48px 24px;
  color: #667085;
  text-align: center;
}

.news-loading.error {
  color: #b44646;
}

.metric-card,
.analysis-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 246, 243, 0.96)),
    #fff;
  border: 1px solid rgba(188, 188, 180, 0.48);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 39, 42, 0.08);
}

.metric-card {
  min-height: 164px;
  padding: 18px;
}

.card-title {
  margin: -18px -18px 16px;
  padding: 13px 18px;
  color: transparent;
  background: rgba(250, 250, 248, 0.72);
  border-bottom: 1px solid rgba(210, 210, 204, 0.66);
  font-size: 18px;
  font-weight: 700;
  user-select: none;
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-summary img {
  width: 92px;
  height: 104px;
  object-fit: contain;
  object-position: center;
  background: #e7ebf0;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(34, 34, 34, 0.12);
}

.account-summary h2 {
  margin: 0 0 8px;
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 44px;
  font-weight: 400;
}

.account-summary p {
  margin: 0 0 9px;
  color: #667085;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-row span {
  padding: 4px 10px;
  border: 1px solid #c9bba2;
  border-radius: 999px;
  color: #5b5146;
  background: rgba(186, 157, 109, 0.1);
}

.stat-pair {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
}

.stat-pair strong {
  color: #a78955;
  font-size: 34px;
  font-weight: 700;
}

.stat-pair span {
  color: #667085;
}

.analysis-card {
  grid-column: 1 / -1;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 4%, rgba(20, 46, 82, 0.11), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 243, 241, 0.96));
}

.analysis-card .card-title {
  margin: -18px -18px 18px;
}

.attribute-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(330px, 1fr);
  gap: 22px;
}

.radar-panel,
.base-panel,
.judge-panel,
.effect-panel {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 239, 237, 0.86)),
    #f7f7f4;
  border: 1px solid rgba(201, 201, 194, 0.78);
  border-radius: 8px;
}

.radar-panel h3,
.base-panel h3,
.judge-panel h3,
.effect-panel h3 {
  margin: 0 0 14px;
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 34px;
  font-weight: 400;
}

.radar-panel h3 span,
.base-panel h3 span,
.judge-panel h3 span,
.effect-panel h3 span {
  color: #8b8e91;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 24px;
}

.radar-panel {
  display: grid;
  justify-items: center;
}

.radar-panel canvas {
  width: min(100%, 360px);
  height: auto;
}

.base-panel dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 20px;
  margin: 0;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(168, 168, 162, 0.58);
  box-shadow: inset 0 0 0 5px rgba(225, 225, 220, 0.28);
}

.base-panel dt {
  color: #34312d;
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 26px;
}

.base-panel dd {
  margin: 0;
  color: #363636;
  font-size: 28px;
  font-style: italic;
}

.judge-panel,
.effect-panel {
  margin-top: 18px;
}

.bar-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 172px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 12px 0;
}

.bar-row span {
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 26px;
}

.bar-row i {
  position: relative;
  height: 20px;
  background: rgba(227, 228, 226, 0.95);
  overflow: hidden;
  font-style: normal;
}

.bar-row b {
  display: block;
  height: 16px;
  margin-top: 2px;
  background: linear-gradient(90deg, #aa936e, #c0ab82);
}

.bar-row em {
  justify-self: end;
  color: #4a4a4a;
  font-style: normal;
  font-weight: 700;
}

.judge-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
  background: #e9e9e7;
}

.judge-split span {
  padding: 18px;
  border: 1px solid #fff;
  text-align: center;
  color: #4d4d4d;
  font-size: 20px;
}

.effect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #fff;
}

.effect-grid span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 13px 20px;
  color: #555;
  background: #e9e9e7;
  font-size: 20px;
}

.effect-grid b {
  color: #4d4d4d;
  font-style: italic;
  font-weight: 600;
}

.profile-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #287a55;
  text-align: center;
}

.section,
.stats-band,
.join-section {
  position: relative;
  padding: 76px 0;
}

.section,
.join-section {
  scroll-snap-align: start;
}

.section-inner {
  width: min(1120px, 88vw);
  margin: 0 auto;
}

.stats-band {
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 19, 0.04), rgba(5, 11, 19, 0.18)),
    transparent;
  color: #eef6fb;
  backdrop-filter: blur(2px);
  padding-top: clamp(94px, 14vh, 150px);
  padding-bottom: clamp(64px, 10vh, 110px);
}

.stats-grid {
  display: grid;
  grid-template-columns: minmax(220px, 420px);
  justify-content: center;
  gap: 16px;
}

.stat-item {
  padding: 20px 0;
  border-bottom: 2px solid rgba(230, 238, 244, 0.36);
  text-align: center;
}

.industries-section {
  padding-top: clamp(48px, 8vh, 90px);
  padding-bottom: clamp(74px, 10vh, 120px);
  color: #f5f7f8;
}

.industries-section .section-heading .kicker {
  color: rgba(194, 224, 250, 0.94);
}

.industries-section .section-heading h2 {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.stat-item strong {
  display: block;
  color: #d5ad68;
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.stat-item span {
  display: block;
  margin-top: 10px;
  color: rgba(238, 246, 251, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.join-layout h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
}

.section-muted {
  background: #f7f2e9;
  color: #172132;
}

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

.industry-card,
.member-card {
  min-height: 210px;
  padding: 22px;
  background: rgba(247, 242, 233, 0.07);
  border: 1px solid rgba(247, 242, 233, 0.14);
  border-radius: 8px;
}

.industry-card h3,
.member-card h3,
.event-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: #172132;
  background: var(--gold);
  border-radius: 6px;
  font-size: 12px;
}

.industry-card p,
.member-card p,
.event-card p,
.join-layout p {
  color: var(--muted);
  line-height: 1.8;
}

.industry-card footer {
  margin-top: 20px;
  color: #ead9b9;
  font-size: 13px;
}

.event-list {
  position: relative;
  min-height: min(70vh, 660px);
}

.liuying-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #f7f2e9;
  background: #05080d url("assets/backgrounds/liuying.jpg") center / cover no-repeat;
}

.liuying-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.86), rgba(2, 5, 10, 0.34) 50%, rgba(2, 5, 10, 0.78)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.62), rgba(2, 5, 10, 0.22) 42%, rgba(2, 5, 10, 0.78));
  z-index: -2;
}

.liuying-section .section-inner {
  position: relative;
  z-index: 1;
  width: min(1480px, 92vw);
  padding: clamp(24px, 3vw, 46px) 0;
}

.liuying-section .section-heading h2 {
  color: #fff8ea;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.54);
}

.liuying-section .kicker {
  color: rgba(234, 217, 185, 0.88);
}

.liuying-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: rgba(247, 242, 233, 0.72);
  border: 1px dashed rgba(234, 217, 185, 0.24);
  border-radius: 8px;
  background: rgba(3, 7, 12, 0.72);
}

.liuying-stage {
  position: relative;
  min-height: min(70vh, 660px);
  overflow: visible;
  perspective: 1600px;
}

.liuying-card {
  position: absolute;
  inset: 0;
  width: min(980px, 66vw);
  aspect-ratio: 16 / 9;
  margin: auto;
  overflow: hidden;
  padding: 0;
  background: #111826;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transform: translate3d(0, 26px, -140px) scale(0.72);
  transition:
    transform 0.72s cubic-bezier(0.2, 0.84, 0.24, 1),
    opacity 0.5s ease,
    filter 0.5s ease,
    box-shadow 0.5s ease;
}

.liuying-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.liuying-card.next::after,
.liuying-card.prev::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.liuying-card.next::after {
  background: linear-gradient(90deg, rgba(5, 8, 13, 0.04), rgba(5, 8, 13, 0.2) 48%, rgba(5, 8, 13, 0.68));
}

.liuying-card.prev::after {
  background: linear-gradient(90deg, rgba(5, 8, 13, 0.68), rgba(5, 8, 13, 0.22) 52%, rgba(5, 8, 13, 0.04));
}

.liuying-card.active {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  filter: brightness(1);
  transform: translate3d(0, -18px, 0) scale(1);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.54);
}

.liuying-card.next {
  z-index: 3;
  opacity: 0.76;
  pointer-events: auto;
  filter: brightness(0.72) saturate(0.86) blur(3px);
  transform: translate3d(58%, 86px, -90px) scale(0.84);
}

.liuying-card.prev {
  z-index: 2;
  opacity: 0.7;
  pointer-events: auto;
  filter: brightness(0.68) saturate(0.82) blur(4px);
  transform: translate3d(-58%, 96px, -120px) scale(0.78);
}

.liuying-card.hidden {
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 120px, -220px) scale(0.56);
}

.liuying-counter {
  position: absolute;
  right: clamp(12px, 4vw, 56px);
  bottom: 18px;
  color: rgba(247, 242, 233, 0.46);
  font-size: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: 160px 1fr 96px;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  background: #fffaf2;
  border: 1px solid rgba(17, 24, 38, 0.1);
  border-radius: 8px;
}

.event-date {
  color: #a66c2e;
  font-weight: 700;
}

.event-status {
  justify-self: end;
  min-width: 78px;
  padding: 7px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
}

.member-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-card {
  min-height: 180px;
}

.fengshen-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #f7f2e9;
  overflow: hidden;
  isolation: isolate;
  background: #050a11 url("assets/backgrounds/fengshen.jpg") center / cover no-repeat;
}

.fengshen-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.44)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 34%, rgba(0, 0, 0, 0.58));
  z-index: -2;
}

.fengshen-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 44px);
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 100vh;
}

.fengshen-list-panel {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 4;
  width: min(456px, 84vw);
  max-height: min(74vh, 760px);
  overflow-y: auto;
  padding: 22px 20px 24px;
  background: rgba(5, 9, 14, 0.78);
  border: 1px solid rgba(234, 217, 185, 0.18);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 28px 0 64px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
  transform: translate(calc(-100% + 24px), -50%);
  transition: transform 0.34s cubic-bezier(0.2, 0.78, 0.26, 1);
}

.fengshen-list-panel:hover,
.fengshen-list-panel:focus-within,
.fengshen-list-panel.open {
  transform: translate(0, -50%);
}

.fengshen-list-panel.open .fengshen-drawer-tab {
  color: #fff8ea;
  background: rgba(28, 20, 12, 0.94);
  border-color: rgba(213, 173, 104, 0.46);
}

.fengshen-drawer-tab {
  position: absolute;
  top: 50%;
  right: -54px;
  display: grid;
  place-items: center;
  width: 54px;
  min-height: 164px;
  padding: 14px 8px;
  color: #ead9b9;
  background: rgba(5, 9, 14, 0.86);
  border: 1px solid rgba(234, 217, 185, 0.2);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1.2;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
}

.fengshen-list-panel .section-heading {
  margin-bottom: 16px;
}

.fengshen-list-panel .section-heading h2 {
  color: #fff;
}

.fengshen-open {
  width: 100%;
  min-height: 42px;
  margin-bottom: 16px;
  color: #ead9b9;
  background: rgba(213, 173, 104, 0.12);
  border: 1px solid rgba(213, 173, 104, 0.44);
  border-radius: 999px;
  cursor: pointer;
}

.fengshen-list-panel .member-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fengshen-card {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 100%;
  min-height: 126px;
  padding: 14px 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.fengshen-card:hover,
.fengshen-card.active {
  background: rgba(213, 173, 104, 0.16);
  border-color: rgba(213, 173, 104, 0.64);
  transform: translateY(-2px);
}

.fengshen-card img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 2px rgba(234, 217, 185, 0.2);
}

.fengshen-card strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 248, 235, 0.96);
  font-size: 17px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengshen-detail {
  position: absolute;
  top: 50%;
  right: clamp(24px, 5vw, 92px);
  z-index: 3;
  width: min(820px, 54vw);
  min-height: min(68vh, 620px);
  overflow: hidden;
  background: rgba(5, 9, 14, 0.62);
  border: 1px solid rgba(234, 217, 185, 0.18);
  border-radius: 8px;
  opacity: 0;
  box-shadow: -28px 28px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  transform: translate(46px, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.34s cubic-bezier(0.2, 0.78, 0.26, 1);
}

.fengshen-detail.revealed {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}

.fengshen-empty {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.fengshen-empty strong {
  font-size: 42px;
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-weight: 400;
}

.fengshen-cover {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #050a11 url("assets/backgrounds/fengshen.jpg") center / cover no-repeat;
}

.fengshen-cover video,
.fengshen-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fengshen-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 52%, rgba(0, 0, 0, 0.6));
}

.fengshen-person {
  position: absolute;
  right: 40px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translateY(-50%);
}

.fengshen-person img {
  width: 118px;
  height: 118px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  object-fit: cover;
}

.fengshen-person strong,
.fengshen-person span {
  display: block;
  text-align: right;
}

.fengshen-person strong {
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
}

.fengshen-person span {
  margin-top: 12px;
  color: #ead9b9;
  font-size: 26px;
}

.fengshen-info {
  padding: 28px 34px 34px;
}

.fengshen-info h3 {
  margin: 0 0 20px;
  font-family: "LocalXingkai", "STXingkai", "KaiTi", serif;
  font-size: 42px;
  font-weight: 400;
}

.fengshen-info dl {
  display: grid;
  grid-template-columns: 80px 1fr 80px 1fr;
  gap: 10px 18px;
  margin: 0 0 20px;
}

.fengshen-info dt {
  color: rgba(255, 255, 255, 0.58);
}

.fengshen-info dd {
  margin: 0;
  color: #ead9b9;
}

.fengshen-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.fengshen-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.64);
}

.fengshen-modal.open {
  display: flex;
}

.fengshen-form-panel {
  position: relative;
  width: min(720px, 94vw);
  max-height: 92vh;
  overflow: auto;
  padding: 32px;
  color: #172132;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
}

.fengshen-form-panel h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.fengshen-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fengshen-form label {
  display: grid;
  gap: 6px;
  color: #28313d;
}

.fengshen-form label.locked-field {
  color: #7b8490;
}

.fengshen-form label.locked-field input {
  color: #7b8490;
  background: #eef1f4;
  cursor: not-allowed;
}

.fengshen-form textarea,
.fengshen-form input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font: inherit;
}

.fengshen-form textarea {
  min-height: 92px;
  resize: vertical;
}

.fengshen-form label:nth-child(6),
.fengshen-form .avatar-field,
.fengshen-form .auth-submit {
  grid-column: 1 / -1;
}

.avatar-field {
  display: grid;
  gap: 8px;
  color: #28313d;
}

.avatar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.avatar-actions img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #eef1f4;
}

.avatar-actions button,
.avatar-upload {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  color: #172132;
  background: #f7fbff;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  cursor: pointer;
}

.avatar-upload input {
  display: none;
}

.avatar-field small {
  color: #7b8490;
}

.avatar-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.62);
}

.avatar-picker-modal.open {
  display: flex;
}

.avatar-picker-panel {
  position: relative;
  width: min(860px, 94vw);
  max-height: 86vh;
  overflow: auto;
  padding: 30px;
  color: #172132;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
}

.avatar-picker-panel h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 12px;
}

.avatar-choice {
  display: grid;
  place-items: center;
  padding: 6px;
  background: #f4f7fa;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.avatar-choice.active,
.avatar-choice:hover {
  border-color: #d5ad68;
  background: #fff8ea;
}

.avatar-choice img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.member-role {
  margin: 12px 0;
  color: var(--gold);
}

.join-section {
  color: #172132;
  background: linear-gradient(135deg, #ead9b9, #f7f2e9);
}

.join-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.join-layout p {
  max-width: 620px;
  color: #4c5260;
}

.join-panel {
  padding: 24px;
  background: #172132;
  color: #f7f2e9;
  border-radius: 8px;
}

.join-panel strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 20px;
}

.join-panel ul {
  margin: 0;
  padding-left: 20px;
  color: #eee8de;
  line-height: 1.9;
}

.empty {
  padding: 24px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    top: 14px;
    width: min(92vw, 680px);
    min-height: 62px;
    padding: 10px 5vw;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 28px;
  }

  .top-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-link {
    display: none;
  }

  .header-actions {
    position: absolute;
    right: 5vw;
    top: 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    right: 6vw;
    bottom: 112px;
    width: min(560px, 88vw);
    padding: 20px 22px 22px;
  }

  .hero h1 {
    font-size: clamp(58px, 15vw, 112px);
  }

  .hero-copy {
    font-size: clamp(24px, 6vw, 36px);
  }

  .stats-grid,
  .card-grid,
  .member-grid,
  .join-layout,
  .event-card,
  .fengshen-layout,
  .fengshen-form {
    grid-template-columns: 1fr;
  }

  .event-status {
    justify-self: start;
  }

  .fengshen-person {
    left: 24px;
    right: 24px;
    justify-content: center;
  }

  .fengshen-person strong {
    font-size: 48px;
  }

  .fengshen-info dl {
    grid-template-columns: 72px 1fr;
  }

  .liuying-section .section-inner {
    width: 100vw;
    padding: 22px 0;
  }

  .liuying-stage {
    min-height: 520px;
    overflow: hidden;
  }

  .liuying-card {
    width: min(86vw, 620px);
  }

  .liuying-card.next {
    transform: translate3d(52%, 62px, -90px) scale(0.78);
  }

  .liuying-card.prev {
    transform: translate3d(-52%, 72px, -120px) scale(0.72);
  }

  .fengshen-list-panel {
    width: min(390px, 88vw);
    transform: translate(calc(-100% + 54px), -50%);
  }

  .fengshen-list-panel.open,
  .fengshen-list-panel:hover,
  .fengshen-list-panel:focus-within {
    transform: translate(0, -50%);
  }

  .fengshen-drawer-tab {
    right: -58px;
    width: 58px;
    min-height: 172px;
    font-size: 17px;
  }

  .dashboard-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-topbar p {
    flex-basis: 100%;
    order: 2;
  }

  .dashboard-main,
  .attribute-grid,
  .effect-grid {
    grid-template-columns: 1fr;
  }

  .news-hero-card {
    position: static;
    min-height: 220px;
  }

  .profile-news-item {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .profile-news-item img {
    width: 128px;
  }

  .profile-news-item time {
    grid-column: 2;
  }

  .analysis-card {
    grid-column: auto;
    grid-row: auto;
  }

  .bar-row {
    grid-template-columns: 72px 1fr;
  }

  .bar-row em {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .news-feed-head,
  .profile-news-item {
    padding-inline: 16px;
  }

  .profile-news-item {
    grid-template-columns: 1fr;
  }

  .profile-news-item img {
    width: 100%;
  }

  .profile-news-item time {
    grid-column: auto;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    right: 5vw;
    bottom: 116px;
    width: 90vw;
    padding: 18px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-copy {
    font-size: 25px;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .auth-form label {
    grid-template-columns: 1fr;
    text-align: left;
    font-size: 20px;
  }

  .register-note {
    font-size: 18px;
  }

  .notice-bar {
    right: 5vw;
    left: 5vw;
    bottom: 26px;
    max-width: none;
    border-radius: 18px;
  }
}
