/* =========================================================
   厦门硕窄网络科技有限公司 · 音乐网文
   设计风格：绿白田园 · 清新自然
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #f7fbf4;
  --bg-soft: #eef6ea;
  --surface: #ffffff;
  --ink: #1c3527;
  --ink-2: #3f5849;
  --muted: #728879;
  --green: #2f7a4f;
  --green-dark: #1f5c3b;
  --green-deep: #143d2a;
  --green-soft: #dcecdf;
  --green-tint: #eef7ec;
  --leaf: #6cae7f;
  --gold: #d9a441;
  --line: #dfeadf;
  --line-soft: #edf4eb;
  --shadow-sm: 0 6px 18px rgba(28, 53, 39, 0.06);
  --shadow: 0 18px 40px rgba(28, 53, 39, 0.09);
  --shadow-lg: 0 30px 70px rgba(20, 61, 42, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 78px;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background-color: var(--bg);
  background-image:
    radial-gradient(760px 420px at 92% -4%, rgba(160, 205, 168, 0.22), transparent 68%),
    radial-gradient(660px 380px at -6% 22%, rgba(206, 230, 199, 0.4), transparent 66%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: #cfe6d2;
  color: var(--green-deep);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 122, 79, 0.24);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: #cde0d0;
  color: var(--green-dark);
}

.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-tint);
}

.btn-soft {
  background: var(--green-tint);
  border-color: #d6e8d8;
  color: var(--green-dark);
}

.btn-soft:hover {
  background: #e2f1e2;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(28, 53, 39, 0.06);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
}

.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, #3f9163, #1f5c3b);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 92, 59, 0.22);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 2.2px;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1px;
}

.main-nav a {
  position: relative;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}

.main-nav a:hover {
  background: var(--green-tint);
  color: var(--green-dark);
}

.main-nav a.is-active {
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 600;
}

.nav-cta {
  display: none;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 68px) 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 16c10 7 10 21 0 28-10-7-10-21 0-28z' fill='none' stroke='%232f7a4f' stroke-opacity='.13'/%3E%3Cpath d='M36 19v23' stroke='%232f7a4f' stroke-opacity='.1'/%3E%3C/svg%3E");
  opacity: 0.75;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146, 196, 154, 0.3), rgba(146, 196, 154, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid #d3e7d5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: var(--green-dark);
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(108, 174, 127, 0.16);
}

.hero h1 {
  margin: 20px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.hero h1 .hl {
  position: relative;
  color: var(--green-dark);
  white-space: nowrap;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 12px;
  border-radius: 6px;
  background: #d6ecd4;
  z-index: -1;
}

.hero-lead {
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed #cfe2d1;
  max-width: 520px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-dark);
}

.hero-stats span {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-art {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  transform: rotate(1.2deg);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 61, 42, 0) 55%, rgba(20, 61, 42, 0.28));
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(223, 234, 223, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.floating-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.floating-card small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.floating-card.top {
  top: 22px;
  left: -24px;
  animation: floatY 6s ease-in-out infinite;
}

.floating-card.bottom {
  right: -18px;
  bottom: -22px;
  animation: floatY 7s ease-in-out 0.6s infinite;
}

.fc-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--green-tint);
  color: var(--green);
}

.fc-icon svg {
  width: 19px;
  height: 19px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 82px 0;
}

.section.tight {
  padding: 64px 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.kicker {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--leaf);
}

.sec-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sec-title p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-dark);
  border-bottom: 1px solid #bfd8c2;
  white-space: nowrap;
}

.sec-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.sec-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.sec-link:hover svg {
  transform: translateX(3px);
}

/* ---------- 曲目列表 ---------- */
.track-list {
  min-width: 0;
}

.home-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
}

.track-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px 16px minmax(0, 1fr) auto 56px 36px;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.track-row:hover {
  background: #f5faf3;
}

.track-row.is-playing {
  background: var(--green-tint);
}

.track-row.is-playing .track-name {
  color: var(--green-dark);
}

.track-index {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #9db1a2;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 16px;
  height: 15px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.eq i {
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: var(--green);
}

.track-row.is-playing .eq {
  opacity: 1;
}

.track-row.is-playing .eq i {
  animation: eqBar 0.9s ease-in-out infinite;
}

.track-row.is-playing .eq i:nth-child(2) {
  animation-delay: 0.18s;
}

.track-row.is-playing .eq i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes eqBar {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

.track-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.track-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-sub {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 11.5px;
  line-height: 1.4;
  white-space: nowrap;
}

.track-dur {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.track-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d5e7d7;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.track-play svg {
  width: 14px;
  height: 14px;
}

.track-play:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.home-list .track-row {
  grid-template-columns: 34px 14px minmax(0, 1fr) auto 64px;
}

.home-list .track-play {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  gap: 3px;
}

.home-list .track-play:hover {
  background: transparent;
  color: var(--green-dark);
}

.home-list .track-play svg {
  width: 13px;
  height: 13px;
}

/* ---------- 平台保障 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c8e0cb;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 16.5px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-dark);
}

.more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.more:hover svg {
  transform: translateX(3px);
}

/* ---------- 制度卡片 ---------- */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.policy-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.policy-card:hover {
  transform: translateY(-4px);
  border-color: #c1dcc5;
  box-shadow: var(--shadow);
}

.policy-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #c0dbc4;
  letter-spacing: 1px;
}

.policy-card h3 {
  font-size: 17px;
  line-height: 1.55;
}

.policy-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.policy-card .more {
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- 合规监督 ---------- */
.compliance {
  position: relative;
  margin: 20px 0 0;
  padding: 64px 0;
  background: var(--green-deep);
  overflow: hidden;
}

.compliance::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M45 20c12 9 12 26 0 35-12-9-12-26 0-35z' fill='none' stroke='%23ffffff' stroke-opacity='.09'/%3E%3Cpath d='M45 24v28' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.compliance::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 174, 127, 0.28), transparent 68%);
}

.compliance-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compliance-intro {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.compliance-intro h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #fff;
}

.compliance-intro p {
  margin-top: 8px;
  font-size: 14px;
  color: #b9d2c1;
}

.report-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.report-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.report-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #dcefdc;
}

.report-icon svg {
  width: 22px;
  height: 22px;
}

.report-card strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
}

.report-card span span,
.report-card > span > span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: #a9c6b2;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 60px 0 26px;
  background: #113422;
  color: #c6d9cb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 1.15fr 1.35fr;
  gap: 34px;
  padding-bottom: 38px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand .brand-mark {
  background: linear-gradient(140deg, #4d9c6d, #2f7a4f);
  box-shadow: none;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text em {
  color: #8fac97;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: #a7c0b0;
  max-width: 330px;
}

.footer-brand .addr {
  margin-top: 10px;
  color: #8fac97;
  font-size: 12.5px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  font-size: 12.8px;
  line-height: 1.6;
  color: #a9c2b1;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #8fac97;
  flex-wrap: wrap;
}

.legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal a {
  color: #bcd3c4;
}

.legal a:hover {
  color: #fff;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cfe3d1;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.to-top svg {
  width: 19px;
  height: 19px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 内页顶部 ---------- */
.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  position: relative;
  padding: 58px 0 56px;
  overflow: hidden;
  background: var(--bg-soft);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(250, 253, 247, 0.97) 0%, rgba(250, 253, 247, 0.86) 42%, rgba(250, 253, 247, 0.25) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--green-dark);
}

.breadcrumb a:hover {
  color: var(--green);
}

.page-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #cfe3d1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--green-dark);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.7vw, 44px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.page-hero .lead {
  max-width: 660px;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
}

.page-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.page-hero-stats i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

/* ---------- 网络音乐页 ---------- */
.music-section {
  padding: 34px 0 84px;
}

.music-layout {
  display: grid;
  grid-template-columns: minmax(0, 372px) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

.player-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.player-top {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cover-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--green-tint);
  box-shadow: var(--shadow-sm);
}

.cover-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cover-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  color: var(--green-dark);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cover-box.is-playing .cover-badge {
  opacity: 1;
  transform: translateY(0);
}

.cover-eq {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  opacity: 0;
}

.cover-box.is-playing .cover-eq {
  opacity: 1;
}

.cover-eq i {
  display: block;
  width: 3px;
  height: 35%;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  animation: eqBar 0.9s ease-in-out infinite;
}

.cover-eq i:nth-child(2) { animation-delay: 0.18s; }
.cover-eq i:nth-child(3) { animation-delay: 0.36s; }

.player-info {
  min-width: 0;
}

.player-info h2 {
  margin: 8px 0 4px;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.player-id {
  font-size: 11.5px;
  color: var(--muted);
}

.player-progress {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.player-progress span:last-child {
  text-align: right;
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green) calc(var(--p, 0) * 1%), #e4eee2 0);
  outline: none;
  cursor: pointer;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(31, 92, 59, 0.22);
}

.range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ctrl-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d9e9db;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ctrl-btn svg {
  width: 17px;
  height: 17px;
}

.ctrl-btn:hover {
  background: var(--green-tint);
  border-color: #bcd8c1;
}

.play-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 122, 79, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.play-btn:hover {
  background: var(--green-dark);
  transform: scale(1.04);
}

.play-btn svg {
  width: 22px;
  height: 22px;
}

.volume {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
}

.volume svg {
  width: 17px;
  height: 17px;
}

.volume .range {
  width: 66px;
  height: 5px;
}

.play-state {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.play-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

.lyrics-panel {
  margin-top: 18px;
}

.lyrics-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lyrics-head h3 {
  font-size: 14px;
}

.lyrics-head span {
  font-size: 10.5px;
  color: var(--muted);
}

.lyrics-box {
  height: 168px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid #e2eee0;
  border-radius: 14px;
  background: #f5faf2;
  font-size: 12.8px;
  line-height: 2;
  color: #4b6354;
  white-space: pre-line;
  scrollbar-width: thin;
  scrollbar-color: #c3dbc6 transparent;
}

.lyrics-box::-webkit-scrollbar {
  width: 5px;
}

.lyrics-box::-webkit-scrollbar-thumb {
  background: #c3dbc6;
  border-radius: 999px;
}

/* 曲库 */
.library {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-width: 0;
}

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

.library-head h2 {
  font-family: var(--font-serif);
  font-size: 26px;
}

.library-head .kicker {
  margin-bottom: 4px;
}

.track-count {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.library-tools {
  display: flex;
  gap: 10px;
  margin: 18px 0 14px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbf4;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-box input::placeholder {
  color: #9bae9f;
}

.search-box input:focus {
  border-color: #a9cbb0;
  background: #fff;
}

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

.chip {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: #bcd8c1;
  color: var(--green-dark);
}

.chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
}

#trackList .track-row {
  grid-template-columns: 34px 16px minmax(0, 1fr) auto 52px 34px;
}

.empty-state {
  padding: 48px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- 制度页面 ---------- */
.policy-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-top: 38px;
  padding-bottom: 84px;
}

.policy-nav {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.policy-nav h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--green-dark);
}

.policy-nav nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.policy-nav nav a {
  position: relative;
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

.policy-nav nav a:hover {
  background: var(--green-tint);
  color: var(--green-dark);
}

.policy-nav nav a.is-active {
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--green);
}

.policy-nav-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--muted);
}

.policy-nav .btn {
  width: 100%;
  margin-top: 14px;
}

.policy-doc {
  min-width: 0;
  padding: 42px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-doc > h2:first-child {
  margin-top: 0;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}

.policy-meta span {
  padding: 5px 11px;
  border: 1px solid #e0eee0;
  border-radius: 999px;
  background: #f6fbf3;
  font-size: 11.5px;
  color: var(--ink-2);
}

.policy-doc h2 {
  margin: 34px 0 12px;
  padding-left: 13px;
  border-left: 3px solid var(--leaf);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--green-dark);
}

.policy-doc h3 {
  margin: 24px 0 9px;
  font-size: 16px;
  color: var(--ink);
}

.policy-doc p {
  margin: 10px 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: #405849;
}

.policy-doc strong {
  color: var(--ink);
  font-weight: 600;
}

.policy-doc ul,
.policy-doc ol {
  margin: 10px 0;
  padding-left: 22px;
}

.policy-doc li {
  margin: 7px 0;
  font-size: 14.2px;
  line-height: 1.9;
  color: #405849;
}

.policy-doc li::marker {
  color: var(--green);
}

.policy-doc ul.plain {
  padding-left: 0;
  list-style: none;
}

.policy-doc ul.plain li {
  position: relative;
  padding-left: 19px;
}

.policy-doc ul.plain li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px 6px 2px 6px;
  background: var(--leaf);
}

.callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: #f2f9ef;
  font-size: 13.8px;
  line-height: 1.9;
  color: #38543f;
}

.policy-foot {
  margin-top: 28px !important;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px !important;
  color: var(--muted) !important;
}

.table-wrap {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
}

.policy-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13.2px;
}

.policy-table th {
  padding: 11px 14px;
  background: var(--green-tint);
  text-align: left;
  font-weight: 600;
  color: var(--green-dark);
  border-bottom: 1px solid var(--line);
}

.policy-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: #455c4d;
  line-height: 1.75;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-table td.nowrap {
  white-space: nowrap;
}

.policy-pager {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.policy-pager a {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafdf8;
  color: var(--ink-2);
}

.policy-pager a:hover {
  border-color: #bcd8c1;
  background: var(--green-tint);
}

.policy-pager a.next {
  text-align: right;
}

.policy-pager small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.policy-pager strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
}

/* 制度总览 */
.overview-section {
  padding: 42px 0 84px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.overview-grid .policy-card {
  padding: 30px 28px;
}

.overview-note {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px dashed #cfe3d1;
  border-radius: 14px;
  background: #f6fbf3;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .main-nav a {
    padding: 8px 7px;
    font-size: 13.5px;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100vh - 66px);
    padding: 12px 24px 24px;
    background: #fbfdf9;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 61, 42, 0.12);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px dashed var(--line);
    border-radius: 0;
    font-size: 15px;
  }

  .main-nav a.is-active {
    background: transparent;
    color: var(--green);
  }

  .main-nav a.is-active::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--green);
    vertical-align: 2px;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 16px;
    justify-content: center;
    border: 1px solid #cfe3d1;
    border-radius: 999px;
    background: var(--green-tint);
    color: var(--green-dark) !important;
    font-weight: 600;
  }

  .main-nav a.nav-cta {
    border: 1px solid #cfe3d1;
    border-radius: 999px;
  }

  .header-actions > .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    height: 66px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-lead {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .music-layout {
    grid-template-columns: 1fr;
  }

  .player-card {
    position: static;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .policy-nav {
    position: static;
  }

  .policy-nav nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .policy-nav nav a {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
  }

  .policy-nav nav a.is-active {
    box-shadow: none;
    border-color: var(--green);
  }

  .policy-nav-note {
    display: none;
  }

  .policy-nav .btn {
    width: auto;
    margin-top: 12px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .section.tight {
    padding: 52px 0;
  }

  .home-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

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

  .compliance-inner {
    grid-template-columns: 1fr;
  }

  .compliance-intro {
    margin-bottom: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 22px;
  }

  .hero {
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: clamp(32px, 7.4vw, 42px);
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats strong {
    font-size: 25px;
  }

  .floating-card {
    display: none;
  }

  .hero-art {
    transform: none;
    border-width: 6px;
    border-radius: 26px;
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
  }

  .page-hero {
    padding: 42px 0 44px;
  }

  .page-hero::after {
    background: linear-gradient(95deg, rgba(250, 253, 247, 0.97) 0%, rgba(250, 253, 247, 0.9) 62%, rgba(250, 253, 247, 0.42) 100%);
  }

  .music-section {
    padding: 24px 0 64px;
  }

  .player-card,
  .library {
    padding: 20px;
    border-radius: var(--radius);
  }

  .policy-doc {
    padding: 26px 22px;
    border-radius: var(--radius);
  }

  .policy-layout {
    padding-top: 26px;
    padding-bottom: 64px;
  }

  .policy-pager {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand-mark svg {
    width: 20px;
    height: 20px;
  }

  .brand-text strong {
    font-size: 13.5px;
  }

  .brand-text em {
    font-size: 9.5px;
    letter-spacing: 1.6px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 13.5px;
  }

  .hero-stats {
    gap: 18px;
    margin-top: 28px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .hero-stats span {
    font-size: 11.5px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .player-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cover-box {
    max-width: 220px;
    margin: 0 auto;
  }

  .player-info {
    text-align: center;
  }

  .player-info .tag {
    margin: 0 auto;
  }

  .player-controls {
    justify-content: center;
    flex-wrap: wrap;
  }

  .play-state {
    justify-content: center;
  }

  .volume {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 4px;
  }

  .lyrics-box {
    height: 150px;
  }

  .library-tools {
    flex-direction: column;
  }

  .library-tools .btn {
    width: 100%;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    padding: 6px 13px;
    font-size: 12px;
  }

  #trackList .track-row,
  .home-list .track-row {
    grid-template-columns: 28px minmax(0, 1fr) 46px 32px;
    gap: 8px;
    padding: 11px 6px;
  }

  .home-list .track-row {
    grid-template-columns: 28px minmax(0, 1fr) 32px;
  }

  #trackList .track-row .eq,
  .home-list .track-row .eq,
  #trackList .track-row .tag,
  .home-list .track-row .tag {
    display: none;
  }

  .track-name {
    font-size: 13.8px;
  }

  .track-sub {
    font-size: 10.5px;
  }

  .track-dur {
    font-size: 11px;
  }

  .track-play {
    width: 30px;
    height: 30px;
  }

  .home-list .track-play {
    font-size: 0;
    gap: 0;
  }

  .home-list .track-play svg {
    width: 14px;
    height: 14px;
  }

  .policy-doc {
    padding: 22px 16px;
  }

  .policy-doc h2 {
    font-size: 18.5px;
  }

  .policy-doc p,
  .policy-doc li {
    font-size: 13.8px;
  }

  .policy-table {
    min-width: 0;
    font-size: 12.3px;
  }

  .policy-table th,
  .policy-table td {
    padding: 9px 10px;
  }

  .policy-nav {
    padding: 16px;
  }

  .policy-nav nav a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .compliance {
    padding: 48px 0;
  }

  .compliance-intro h3 {
    font-size: 23px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 登录 / 注册 ---------- */
.auth-section {
  padding: 48px 0 88px;
}

.auth-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 38px 34px;
  color: #fff;
  overflow: hidden;
}

.auth-aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.92);
}

.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20, 61, 42, 0.9) 0%, rgba(24, 70, 46, 0.78) 48%, rgba(20, 61, 42, 0.86) 100%);
}

.auth-aside > * {
  position: relative;
  z-index: 1;
}

.auth-aside .eyebrow {
  align-self: flex-start;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #e7f4e6;
}

.auth-aside h2 {
  font-family: var(--font-serif);
  font-size: 27px;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 1px 8px rgba(8, 28, 18, 0.45);
}

.auth-aside p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: #e4f1e4;
  text-shadow: 0 1px 6px rgba(8, 28, 18, 0.45);
}

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

.auth-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0;
  font-size: 12.5px;
  color: #eef7ec;
  text-shadow: 0 1px 6px rgba(8, 28, 18, 0.4);
}

.auth-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px 6px 2px 6px;
  background: #9ed0a8;
}

.auth-form {
  padding: 40px 44px;
}

.auth-head h1 {
  font-family: var(--font-serif);
  font-size: 27px;
  letter-spacing: 0.5px;
}

.auth-head p {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.auth-form form {
  margin-top: 24px;
}

.field {
  display: block;
  margin-bottom: 15px;
}

.field > span,
.field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fbf6;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: #a3b5a7;
}

.field input:focus {
  border-color: #9cc8a5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 174, 127, 0.14);
}

.pw-wrap {
  position: relative;
}

.pw-wrap input {
  padding-right: 58px;
}

.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  color: var(--green-dark);
}

.pw-toggle:hover {
  background: var(--green-tint);
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  align-items: end;
}

.code-btn {
  height: 46px;
  padding: 0 10px;
  border: 1px solid #cfe3d1;
  border-radius: 11px;
  background: var(--green-tint);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-dark);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.code-btn:hover:not(:disabled) {
  background: #e1f0e2;
}

.code-btn:disabled {
  cursor: default;
  color: #9ab09f;
  background: #f2f7f0;
  border-color: var(--line);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.check a {
  color: var(--green-dark);
  font-weight: 600;
}

.auth-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
}

.form-msg {
  display: none;
  margin-top: 13px;
  padding: 10px 13px;
  border-radius: 10px;
  background: var(--green-tint);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--green-dark);
}

.form-msg.is-show {
  display: block;
}

.form-msg.is-error {
  background: #fdf1eb;
  color: #a95730;
}

.auth-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auth-switch a {
  font-weight: 600;
  color: var(--green-dark);
}

.auth-switch a:hover {
  color: var(--green);
}

.auth-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 900px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: 190px;
    padding: 28px;
  }

  .auth-aside h2 {
    font-size: 22px;
  }

  .auth-points {
    display: none;
  }
}

@media (max-width: 560px) {
  .auth-section {
    padding: 28px 0 64px;
  }

  .auth-form {
    padding: 26px 20px;
  }

  .auth-aside {
    padding: 24px 20px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr) 102px;
  }
}
