/* 皖派校园门户 · 全局样式（唯一样式源，勿在页面内再散写） */
@import url("/fonts.css");

:root {
  --bg: #f3f5e6;
  --nav-bg: #fbfcf3;
  --nav-line: #e2e6c4;
  --ink: #1b2a12;
  --muted: #5d6b4a;
  --line: #dce3c2;
  --card: #fffcf4;
  --primary: #6a9a1e;
  --primary-deep: #4a7014;
  --primary-soft: #e8f2b8;
  --accent: #c6d94a;
  --accent-ink: #2f4510;
  --shadow: 0 18px 40px rgba(47, 69, 16, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1080px;
  --font: var(--font-sans, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif);
  --font-display: var(--font-serif, "LXGW Neo ZhiSong", "Songti SC", SimSun, serif);
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }

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

button, input, select, textarea { font: inherit; }

/* ——— 顶栏 ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, var(--primary), var(--accent-ink));
  flex-shrink: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand.has-logo .brand-mark { display: none; }

.footer-sep { color: var(--muted); }

#footerIcp {
  color: var(--muted);
}

#footerIcp:hover { color: var(--primary); }

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 2px 4px;
  font-size: 13px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color .15s ease, font-size .15s ease, font-weight .15s ease;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a.is-active {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

/* ——— 按钮 ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

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

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

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

.btn-ghost {
  background: var(--primary-soft);
  color: var(--accent-ink);
}

.btn-ghost:hover {
  background: #dce8a8;
  color: var(--accent-ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  min-width: 200px;
  justify-content: space-between;
}

.btn-dark:hover {
  background: #1b2a12;
  color: #fff;
}

.btn-arrow::after {
  content: "→";
  font-weight: 500;
  opacity: .85;
}

/* ——— WebGL 滚动球（VIIO 风格锚点） ——— */
/* Ball sits above page chrome, below readable/interactive blocks */
sy-gl {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

sy-gl canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 球锚点：中间模块绝对定位，不撑开模块间距；仅开放区占流式高度 */
.gl-place {
  --s: 16rem;
  width: var(--s);
  height: var(--s);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.gl-place--hero {
  --s: 22rem;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.gl-place--md {
  --s: 15rem;
  right: 0;
  top: 0;
}

.gl-place--roles {
  --s: 14rem;
  right: 0;
  top: 2.5rem;
}

.gl-place--sm {
  --s: 13rem;
  right: 8%;
  bottom: 0;
  transform: translateY(20%);
}

.gl-place--open {
  --s: 14rem;
  position: relative;
  display: block;
  margin: 0 auto 4px;
  transform: none;
}

/* ——— 布局 ——— */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 22px 0;
  /* no z-index: keep children free to layer above/below the fixed ball */
}

.hero-copy,
.section-head,
.capability-list,
.role-grid,
.solution-grid,
.portal-stage,
.invite-strip,
.join-banner,
.benefit-grid,
.breadcrumb-bar,
.site-footer,
.subject-wall,
.track-grid,
.case-block,
.price-grid,
.faq-list,
.contact-band {
  position: relative;
  z-index: 3;
}

.section {
  padding: 48px 0 8px;
  position: relative;
}

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

/* 「光看介绍不够」：给球留落点，但不拉出大片空白 */
.section--open {
  padding-top: 56px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ——— 1 产品介绍 ——— */
.hero {
  padding: 64px 0 40px;
  min-height: min(52vh, 480px);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: min(44rem, 58%);
  padding-right: 0;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 16em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 42em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding: 48px 0 56px;
    display: block;
  }

  .hero-copy {
    max-width: 100%;
    padding-bottom: 14rem;
  }

  .gl-place--hero {
    --s: 14rem;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 1.5rem;
    transform: translateX(-50%);
  }

  .gl-place--md,
  .gl-place--roles,
  .gl-place--sm {
    --s: 12rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .section--open {
    padding-top: 40px;
    padding-bottom: 32px;
  }
}

/* ——— 2 业务能力（条列） ——— */
.capability-list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 35, 28, 0.04);
}

.capability-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 88px;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.22s ease;
}

.capability-item:last-child {
  border-bottom: none;
}

.capability-item:hover {
  background: color-mix(in srgb, var(--primary-soft) 70%, #fff);
}

.capability-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.04em;
  padding-top: 0;
}

.capability-body {
  min-width: 0;
}

.capability-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
}

.capability-title {
  position: relative;
  display: inline-block;
  color: var(--ink);
  transition: color 0.22s ease;
}

.capability-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.capability-item:hover .capability-title {
  color: var(--primary);
}

.capability-item:hover .capability-title::after {
  transform: scaleX(1);
}

.capability-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 46em;
}

.capability-visual {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--primary);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.capability-visual svg {
  width: 38px;
  height: 38px;
}

.capability-icon {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.capability-item:hover .capability-visual {
  opacity: 1;
  transform: translateX(0);
}

/* ——— 3 谁在用 ——— */
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 1px 0 rgba(20, 35, 28, 0.03);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.role-card:hover {
  transform: translate(-1px, -1px);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--primary);
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    #fff;
}

.role-card .role-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.role-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ——— 4 租户入口（卡片切换） ——— */
.portal-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 8px 0 12px;
}

.portal-card-wrap {
  position: relative;
}

.portal-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 240px;
  padding: 22px 24px 20px;
  color: #f7f8ec;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 55%),
    linear-gradient(145deg, #2f4510 0%, #3d5c16 45%, #1b2a12 100%);
  box-shadow: 10px 14px 0 color-mix(in srgb, var(--primary) 28%, transparent), var(--shadow);
}

.portal-card::before {
  content: attr(data-mark);
  position: absolute;
  right: -8px;
  bottom: -28px;
  font-size: 160px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.portal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.portal-card-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.portal-card-pass {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.portal-chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4af6a, #b8924a 40%, #f0d9a0 70%, #c9a35c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.portal-card-mid {
  margin: 18px 0 28px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.portal-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-size: 12px;
}

.portal-card-meta span {
  display: block;
  opacity: 0.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 4px;
}

.portal-card-meta strong {
  font-weight: 600;
  color: #eef6c8;
}

/* 基座/量子/协会：非 SIM 卡形的门禁通行卡 */
.portal-card--gate {
  border-radius: 14px;
  min-height: 220px;
  padding: 24px 24px 22px;
  color: #f8fafc;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 88%, #1b2a12) 0%, var(--accent-ink) 55%, #1b2a12 100%);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--primary) 22%, transparent), var(--shadow);
}

.portal-card--gate::before {
  font-size: 120px;
  right: 8px;
  bottom: -18px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.06);
}

.portal-card--gate .portal-chip {
  display: none;
}

.portal-card--gate .portal-card-top {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-card--gate .portal-card-pass {
  font-size: 18px;
  letter-spacing: 0.06em;
}

.portal-card--gate .portal-card-mid {
  margin: 12px 0 22px;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

.portal-card--gate .portal-card-meta strong {
  color: #e2e8f0;
}

.portal-card--gate .portal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: color-mix(in srgb, var(--accent) 70%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.portal-side .eyebrow { margin-bottom: 8px; }

.portal-side-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.portal-side-desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.portal-demo {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.portal-nav button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
}

.portal-nav button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.portal-dots {
  display: flex;
  gap: 6px;
  margin-left: 4px;
}

.portal-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c3b8;
  display: block;
}

.portal-dots i.on {
  background: var(--primary);
  width: 18px;
  border-radius: 999px;
}

/* ——— 5 申请开通条 ——— */
.invite-strip {
  margin-top: 24px;
  padding: 28px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.invite-strip h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-family: var(--font-display);
}

.invite-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ——— 6 合规与信创 ——— */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 160px;
  box-shadow: 0 1px 0 rgba(20, 35, 28, 0.03);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.benefit-card:hover {
  transform: translate(-1px, -1px);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--primary);
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    #fff;
}

.benefit-card .no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ——— 7 开放平台 CTA ——— */
.join-banner {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 40px 32px;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(6px) saturate(1.05);
}

.join-banner .eyebrow { justify-content: center; }

.join-banner h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
}

.join-banner p {
  margin: 0 auto 22px;
  max-width: 36em;
  color: var(--muted);
  font-size: 14px;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.open-consult {
  margin: 28px auto 0;
  max-width: 40rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  border: 1px solid #dce8a8;
  text-align: left;
}

.open-consult-title {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary) !important;
  font-weight: 700;
  max-width: none !important;
}

.open-consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.open-consult-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.open-consult-item span {
  font-size: 11px;
  color: var(--muted);
}

.open-consult-item strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.open-consult-hint {
  grid-column: 1 / -1;
  margin: 0 !important;
  max-width: none !important;
  font-size: 12.5px !important;
  line-height: 1.55;
  color: var(--muted) !important;
}

@media (max-width: 720px) {
  .open-consult-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— 底部 ——— */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--nav-line);
  background: var(--nav-bg);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--primary); }

/* 页底联系带：对照废才俱乐部首页 JOIN 区，居中大标题 + 单按钮 */
.contact-band {
  text-align: center;
  padding: 72px 28px 64px;
  border-radius: 24px;
  background:
    radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 62%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-band .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
  letter-spacing: 0.22em;
}

.contact-band h2 {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.contact-band .btn {
  min-width: 168px;
}

/* ——— 弹窗 ——— */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 35, 28, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal {
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.modal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.modal-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal .lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.field { margin-top: 10px; }

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.field textarea { min-height: 84px; resize: vertical; }

.modal-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.msg { font-size: 13px; color: var(--primary); }
.msg.err { color: #b42318; }

/* ——— 品牌导航扩展 ——— */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 22px 12px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb-bar {
  border-bottom: 1px solid var(--nav-line);
  background: color-mix(in srgb, var(--nav-bg) 88%, var(--bg));
}

.breadcrumb-bar .breadcrumb {
  padding-top: 10px;
  padding-bottom: 10px;
}

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

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

.breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.nav-drop {
  position: relative;
  display: inline-flex;
}

.nav-drop-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.nav-drop-btn:hover,
.nav-drop-btn.is-active {
  color: var(--primary);
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 168px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: none;
  z-index: 60;
}

.nav-drop.is-open .nav-drop-menu {
  display: block;
}

.nav-drop-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.nav-drop-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-drop-menu a.is-current {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.nav-drop-item {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.nav-drop-item.is-disabled,
.nav-drop-menu a.is-disabled,
.site-footer .is-disabled {
  color: var(--muted);
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-soon {
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— 行业包卡片 ——— */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-grid--quad {
  grid-template-columns: repeat(2, 1fr);
}

.solution-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.solution-card:hover {
  transform: translate(-1px, -1px);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--primary);
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    #fff;
}

.solution-card--flat {
  box-shadow: none;
}

.solution-card--flat:hover {
  box-shadow: 5px 5px 0 0 var(--primary);
}

.solution-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.solution-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
}

.solution-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.solution-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.solution-list li + li {
  margin-top: 4px;
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solution-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}

.capability-list--compact .capability-item {
  grid-template-columns: 48px 1fr;
}

.capability-list--compact .capability-visual {
  display: none;
}

.role-grid--quad {
  grid-template-columns: repeat(2, 1fr);
}

.invite-strip--assoc {
  border-color: #e8dcc8;
  background: linear-gradient(135deg, #fffaf3, #fffdf8);
}

/* ——— 协会页主题 ——— */
body.page-assoc {
  --primary: #b45309;
  --primary-deep: #92400e;
  --primary-soft: #fef3c7;
  --accent: #d97706;
  --accent-ink: #78350f;
}

body.page-assoc .brand-mark {
  background: linear-gradient(145deg, var(--primary), var(--accent-ink));
}

body.page-assoc .portal-card--assoc,
body.page-assoc .portal-card--gate {
  background: linear-gradient(145deg, #78350f, #b45309 55%, #92400e);
}

/* ——— 基座总首页：嫩叶绿，贴合滚动球 ——— */
body.page-home {
  --bg: #f3f5e6;
  --nav-bg: #fbfcf3;
  --nav-line: #e2e6c4;
  --ink: #1b2a12;
  --muted: #5d6b4a;
  --line: #dce3c2;
  --card: #fffcf4;
  --primary: #6a9a1e;
  --primary-deep: #4a7014;
  --primary-soft: #e8f2b8;
  --accent: #c6d94a;
  --accent-ink: #2f4510;
}

body.page-home {
  background:
    radial-gradient(90% 50% at 78% 12%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 58%),
    radial-gradient(70% 40% at 8% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 50%),
    var(--bg);
}

body.page-home .brand-mark {
  background: linear-gradient(145deg, var(--accent), var(--primary-deep));
}

body.page-home .portal-card--gate {
  background: linear-gradient(160deg, #2f4510 0%, #6a9a1e 48%, #1b2a12 100%);
}

/* ——— 学科动画落地页：主色蓝 #3277ff ——— */
body.page-studio {
  --bg: #f4f7ff;
  --nav-bg: #f8faff;
  --nav-line: #d6e3ff;
  --ink: #0f1f3d;
  --muted: #4a6080;
  --line: #c9dbff;
  --card: #ffffff;
  --primary: #3277ff;
  --primary-deep: #1d4ed8;
  --primary-soft: #e8f0ff;
  --accent: #5b93ff;
  --accent-ink: #163a8a;
}

body.page-studio {
  background:
    radial-gradient(90% 50% at 78% 12%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 58%),
    radial-gradient(70% 40% at 8% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 50%),
    var(--bg);
}

body.page-studio .brand-mark {
  background: linear-gradient(145deg, var(--accent), var(--primary-deep));
}

body.page-studio .btn-ghost:hover {
  background: #d6e3ff;
  color: var(--accent-ink);
}

body.page-studio .btn-dark:hover {
  background: #163a8a;
}

body.page-studio .portal-card {
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 55%),
    linear-gradient(145deg, #163a8a 0%, #3277ff 48%, #0f1f3d 100%);
  box-shadow: 10px 14px 0 color-mix(in srgb, var(--primary) 28%, transparent), var(--shadow);
}

body.page-studio .portal-card-meta strong {
  color: #dbeafe;
}

.member-price {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.subject-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.subject-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.subject-card:hover {
  transform: translate(-1px, -1px);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--primary);
}

.subject-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.subject-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.subject-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.track-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
}

.track-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.track-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.track-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.case-block {
  margin-top: 28px;
}

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.case-head h3 {
  margin: 0;
  font-size: 18px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

.case-chip.is-on,
.case-chip:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.case-row {
  position: relative;
}

.case-arrow {
  position: absolute;
  top: calc((100% - 96px) / 2);
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: color-mix(in srgb, #fff 78%, transparent);
  box-shadow: 0 10px 28px rgba(15, 31, 61, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.case-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

.case-arrow--prev { left: 12px; }
.case-arrow--next { right: 12px; }

.case-row:hover .case-arrow:not(:disabled),
.case-arrow:focus-visible {
  opacity: 1;
}

.case-arrow--prev:hover:not(:disabled) { transform: translate(-2px, -50%); }
.case-arrow--next:hover:not(:disabled) { transform: translate(2px, -50%); }

.case-arrow:hover:not(:disabled) {
  background: #fff;
  color: var(--primary);
}

.case-arrow:disabled {
  display: none;
}

@media (hover: none) {
  .case-arrow:not(:disabled) {
    opacity: 0.92;
  }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
  min-width: 0;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.case-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1c0a00;
  display: block;
}

.case-meta {
  padding: 14px 16px 16px;
}

.case-meta h4 {
  margin: 8px 0 4px;
  font-size: 16px;
}

.case-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.case-empty {
  margin: 0;
  padding: 18px 4px;
  color: var(--muted);
  font-size: 14px;
  grid-column: 1 / -1;
}

.pain-bridge {
  margin: 14px 0 0 !important;
  color: var(--primary-deep) !important;
  font-weight: 700;
  font-size: 13px !important;
}

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

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: 6px 8px 0 0 color-mix(in srgb, var(--primary) 35%, transparent);
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    #fff;
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.price-amount {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-period {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.price-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  flex: 1;
}

.price-card .btn {
  width: 100%;
}

.faq-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 650;
  font-size: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 52em;
}

/* ——— 量子商密页：slate + cyan ——— */
body.page-quantum {
  --bg: #eef2f6;
  --nav-bg: #f8fafc;
  --nav-line: #d8dee6;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d5dde6;
  --card: #fbfcfe;
  --primary: #334155;
  --primary-deep: #1e293b;
  --primary-soft: #e2e8f0;
  --accent: #0ea5e9;
  --accent-ink: #0c4a6e;
}

body.page-quantum .brand-mark {
  background: linear-gradient(145deg, #0ea5e9, #1e293b);
}

body.page-quantum .portal-card--gate {
  background: linear-gradient(160deg, #0f172a 0%, #334155 48%, #0c4a6e 100%);
}

/* ——— 演示路径：立项 → 联调 → 出卷 ——— */
.demo-path {
  display: grid;
  gap: 28px;
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--card) 88%, white), var(--card)),
    radial-gradient(ellipse 80% 60% at 10% 0%, color-mix(in srgb, var(--primary-soft) 70%, transparent), transparent 60%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.demo-path::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary-deep));
  opacity: 0.85;
}

.demo-path-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}

.demo-path-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  z-index: 0;
}

.demo-path-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.demo-path-dot {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: inherit;
}

.demo-path-dot .n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--card);
  border: 2px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.demo-path-dot .l {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.demo-path-step.is-on .demo-path-dot .n {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--accent), var(--primary-deep));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent);
  transform: scale(1.08);
}

.demo-path-step.is-on .demo-path-dot .l,
.demo-path-step.is-done .demo-path-dot .l {
  color: var(--ink);
}

.demo-path-step.is-done .demo-path-dot .n {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  color: var(--primary-deep);
  background: color-mix(in srgb, var(--primary-soft) 80%, white);
}

.demo-path-panel {
  min-height: 148px;
  padding: 22px 24px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--card) 70%, white);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  position: relative;
}

.demo-path-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 700;
}

.demo-path-panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}

.demo-path-panel p[data-path-desc] {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}

.demo-path-panel .btn {
  margin-right: 10px;
}

.demo-path-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: color-mix(in srgb, var(--line) 70%, transparent);
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.demo-path-progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform-origin: left center;
}

.demo-path.is-playing .demo-path-progress > i {
  animation: demo-path-bar 3.2s linear forwards;
}

@keyframes demo-path-bar {
  from { width: 0; }
  to { width: 100%; }
}

.demo-path-panel.is-swap {
  animation: demo-path-fade 0.45s ease;
}

@keyframes demo-path-fade {
  from { opacity: 0.45; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .subject-wall,
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-path.is-playing .demo-path-progress > i,
  .demo-path-panel.is-swap,
  .demo-path-dot .n {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .demo-path {
    padding: 20px 16px 24px;
  }
  .demo-path-track {
    grid-template-columns: repeat(5, minmax(56px, 1fr));
    gap: 4px;
    overflow-x: auto;
  }
  .demo-path-track::before {
    top: 18px;
  }
  .demo-path-dot .n {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }
  .demo-path-dot .l {
    font-size: 11px;
  }
  .demo-path-panel h3 {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right { gap: 0; }
  .role-grid,
  .benefit-grid,
  .solution-grid,
  .solution-grid--quad,
  .role-grid--quad { grid-template-columns: 1fr; }
  .subject-wall,
  .track-grid,
  .price-grid { grid-template-columns: 1fr; }
  .portal-stage,
  .invite-strip { grid-template-columns: 1fr; }
  .capability-item { grid-template-columns: 56px 1fr; }
  .capability-visual { display: none; }
  .portal-card { box-shadow: 6px 10px 0 rgba(106, 154, 30, 0.28), var(--shadow); }
}

.shelf-page { padding-top: 96px; padding-bottom: 48px; }
.shelf-page--browse {
  max-width: none;
  padding: 0 0 48px;
}
.shelf-hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
  background: var(--shelf-hero-bg, #e4eeb8);
  margin-bottom: 0;
}
.shelf-hero-stage,
.shelf-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.shelf-hero-canvas--symbols { z-index: 1; }
.shelf-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}
.shelf-hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto 0;
  padding: 64px 22px 48px;
}
.shelf-hero-copy.section-head { margin-bottom: 0; }
.shelf-hero-copy .section-title,
.shelf-hero-copy .section-lead,
.shelf-hero-copy .eyebrow {
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.92);
}
.shelf-page--browse .shelf-layout {
  position: relative;
  z-index: 6;
  max-width: var(--max);
  margin: -168px auto 0;
  padding: 0 22px;
}
.shelf-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.shelf-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.shelf-nav h3 { margin: 0 0 8px; font-size: 14px; }
.shelf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.shelf-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}
.shelf-chip.is-on, .shelf-nav .shelf-chip.is-on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.shelf-list { display: grid; gap: 14px; }
.shelf-player video {
  width: 100%;
  max-height: 70vh;
  background: #161f10;
  border-radius: var(--radius);
}
.shelf-empty {
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.shelf-activate {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.shelf-activate input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 140px;
}
@media (max-width: 900px) {
  .shelf-layout { grid-template-columns: 1fr; }
  .shelf-hero { min-height: 280px; }
  .shelf-hero-copy { padding: 56px 22px 32px; }
  .shelf-page--browse .shelf-layout { margin-top: -96px; }
}

.play-page {
  padding-top: 108px;
  padding-bottom: 56px;
  max-width: 1120px;
}

.play-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}

.play-crumb a { color: var(--primary); }
.play-crumb span::before {
  content: "/";
  margin-right: 10px;
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.play-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.play-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #161f10;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.play-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #161f10;
}

.play-player .shelf-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  border: 0;
  background: color-mix(in srgb, var(--card) 88%, var(--primary-soft));
}

.play-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2f4510;
  background: color-mix(in srgb, var(--accent) 88%, #fff);
}

.play-kinds,
.play-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.play-kind,
.play-tab {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
}

.play-kind.is-on,
.play-tab.is-on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.play-tab-body {
  margin-top: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  line-height: 1.7;
}

.play-tab-body p { margin: 0 0 10px; }
.play-tab-body p:last-child { margin-bottom: 0; }
.play-note { color: var(--muted); font-size: 14px; }

.play-related {
  margin: 12px 0 0;
  padding-left: 18px;
}

.play-related a { color: var(--primary); }

.play-side {
  padding: 22px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.play-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.3;
  color: var(--ink);
}

.play-meta,
.play-duration {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.play-license {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.play-license h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.play-license p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.play-license #actMsg {
  font-size: 13px;
  color: var(--primary);
}

@media (max-width: 900px) {
  .play-page { padding-top: 92px; }
  .play-grid { grid-template-columns: 1fr; }
  .play-title { font-size: 24px; }
}
