/* 数字人星球 — 轻云协作风格布局组件 */

.planet-shell,
.planet-home {
  background: var(--bg);
  overflow-x: hidden;
}

/* ── Nav ── */
.planet-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.planet-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.planet-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--navy);
}
.planet-nav .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #e6f3fd;
  display: grid;
  place-items: center;
  box-shadow: none;
}
.planet-nav .brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #1f80c4;
  stroke: none;
}
.planet-nav .brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.planet-nav .brand-text strong { font-size: 23px; font-weight: 700; color: var(--navy); letter-spacing: 0; }
.planet-nav .brand-text em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--steel);
}
.planet-nav .nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.planet-nav .nav-links a { text-decoration: none; color: inherit; }
.planet-nav .nav-links a:hover,
.planet-nav .nav-links a.active { color: var(--teal); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.pill::before { content: "↗"; font-size: 13px; line-height: 1; }
.pill:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47, 158, 222, 0.22);
}
.pill.ghost,
.pill.line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.pill.ghost::before,
.pill.line::before { content: "◎"; }
.pill.ghost:hover,
.pill.line:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #fff;
}
.pill.solidw {
  background: #2f9ede;
  color: #fff;
  border: none;
}
.pill.solidw::before { content: "✦"; }
.pill.solidw:hover { background: #1f80c4; }
.pill-lg { padding: 13px 28px; font-size: 15px; }

.btn-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2f9ede;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-claim::before { content: "↗"; font-size: 13px; line-height: 1; }
.btn-claim:hover {
  background: #1f80c4;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47, 158, 222, 0.22);
}
.btn-claim-lg { padding: 13px 28px; font-size: 15px; }

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-lg:hover { border-color: var(--teal); color: var(--teal); }
.btn-on-dark { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.5); }

@media (max-width: 860px) { .planet-nav .nav-links { display: none; } }

/* ── Section heads ── */
.planet-wrap,
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 60px; }
.sec-head .eyebrow-tech,
.sec-head .eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 700;
  margin: 14px 0;
}
.sec-head p { font-size: 17px; color: var(--text); }

/* ── Chat mock ── */
.chat-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(29, 92, 134, 0.16);
  overflow: hidden;
  max-width: 560px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
}
.chat-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.msg { display: flex; gap: 11px; align-items: flex-start; }
.av {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.av.u { background: var(--muted); color: var(--text); }
.av.b { background: var(--teal-soft); color: var(--teal-dark); }
.bub {
  background: var(--muted);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 14px;
  color: var(--ink);
  max-width: 88%;
  line-height: 1.55;
}
.bub.b { background: var(--teal-soft); }
.bub .who { font-size: 11px; color: var(--tmuted); margin-bottom: 3px; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfe4f6; }
.card h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text); line-height: 1.7; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid4, .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid4, .grid3 { grid-template-columns: 1fr; } }

/* ── Team marquee ── */
.team-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.team-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: teamScroll 46s linear infinite;
}
.team-marquee:hover .team-track { animation-play-state: paused; }
@keyframes teamScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tm {
  flex: 0 0 240px;
  width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.tm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.tm .av {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgb(29 92 134 / 0.16);
  border: 3px solid #fff;
  outline: 1px solid var(--border);
  display: block;
}
.tm .av img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tm .name { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.tm .role { font-size: 13px; color: var(--teal-dark); margin: 4px 0 8px; font-weight: 600; }
.tm .bio { font-size: 13px; color: var(--text); line-height: 1.55; }

/* ── Band ── */
.band {
  position: relative;
  color: #fff;
  padding: 66px 0;
  text-align: center;
}
.band .q {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
  font-weight: 700;
}
.band .a { margin-top: 20px; font-size: 15px; color: #d7eefb; }

/* ── Section: 单角水印 + 隔行底色 ── */
.muted-sec {
  background: #e3f1fd;
  position: relative;
  overflow: hidden;
}
.muted-sec > .wrap { position: relative; z-index: 1; }
.sec-wm {
  position: relative;
  overflow: hidden;
}
.sec-wm > .wrap { position: relative; z-index: 1; }
.sec-watermark {
  position: absolute;
  width: min(44%, 500px);
  height: min(44%, 500px);
  max-width: 500px;
  max-height: 500px;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
  color: #1f80c4;
}
.sec-watermark.br { bottom: -30px; right: -30px; }
.sec-watermark.bl { bottom: -30px; left: -45px; }
.sec-watermark.tr { top: 56px; right: 56px; }
.sec-watermark.tl { top: 56px; left: 56px; }
.sec-watermark svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 0.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.band .sec-watermark { color: #fff; opacity: 0.12; }
@media (max-width: 900px) { .sec-watermark { opacity: 0.06; width: min(52%, 360px); height: min(52%, 360px); } }

/* ── Market / inner pages ── */
.page-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--ink);
}
.page-hero p { font-size: 16px; color: var(--text); margin-top: 10px; max-width: 560px; }
.eyebrow-tech {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.search-input {
  flex: 1;
  min-width: 200px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.search-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.filter-select {
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0 12px;
  font-size: 13px;
  background: var(--surface);
  font-family: inherit;
}
.result-meta { font-size: 13px; color: var(--tmuted); margin-bottom: 20px; }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .market-grid { grid-template-columns: 1fr; } }
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe4f6; }
.market-card.hidden { display: none; }
.market-card .av-wrap {
  aspect-ratio: 1;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  padding: 24px;
}
.market-card .av-wrap img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
}
.market-card .body { padding: 18px 20px 20px; }
.market-card .name { font-size: 17px; font-weight: 700; color: var(--ink); }
.market-card .nick { font-size: 13px; color: var(--tmuted); margin-top: 2px; }
.market-card .tagline { font-size: 14px; margin-top: 10px; line-height: 1.5; min-height: 42px; color: var(--text); }
.market-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.market-card .chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.market-card .actions { display: flex; gap: 8px; margin-top: 16px; }
.market-card .actions .btn { flex: 1; }

.planet-footer {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E") repeat,
    var(--footer-bg);
  color: #aeb6bb;
  padding: 34px 0;
  text-align: center;
  font-size: 13px;
}
.planet-footer .brandf {
  font-family: var(--serif);
  color: #e6eaec;
  font-size: 16px;
  margin-bottom: 6px;
}
.planet-footer .icp {
  display: inline;
  margin-left: 12px;
  font-size: 12px;
  color: #8a9297;
}
.planet-footer .icp a { color: #8a9297; text-decoration: none; }
.planet-footer .icp a:hover { color: #e6eaec; }

/* ── Profile / 档案页 ── */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.avatar-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.avatar-panel .hero-img {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--teal-soft);
}
.avatar-panel .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.voice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
}
.play-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--teal-soft);
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 11px;
  flex-shrink: 0;
  font-family: inherit;
}
.play-btn:hover { background: var(--teal); color: #fff; }

.info-panel h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.info-panel .meta {
  font-size: 14px;
  color: var(--tmuted);
  margin-bottom: 14px;
}
.info-panel .tagline {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 22px;
}
.info-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.block h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.channel-row { display: flex; flex-wrap: wrap; gap: 8px; }
.channel-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.channel-pill.on { background: var(--teal-soft); color: var(--teal-dark); }
.channel-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tmuted);
}
.channel-pill.on .dot { background: #22c55e; }

.timeline { display: flex; flex-direction: column; gap: 12px; }
.tl-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  font-size: 13px;
}
.tl-time { color: var(--tmuted); font-size: 12px; }
.tl-body { color: var(--text); line-height: 1.5; }

.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 14px;
}
.profile-top a { color: var(--teal); font-weight: 600; text-decoration: none; }
.profile-top a:hover { color: var(--teal-dark); }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: none;
  justify-content: center;
  z-index: 40;
}
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-page .sticky-cta { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .team-track { animation: none !important; }
}
