/* ==========================================================================
   乐动赛场 · shared site kit  (/assets/site.css)
   ========================================================================== */

/* 1. Reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

/* 2. Variables
   ========================================================================== */
:root {
  --pl-void: #050D1A;
  --pl-deep: #0B1B33;
  --pl-slate: #13273F;
  --pl-cyan: #3FE3C6;
  --pl-orange: #FF7B45;
  --pl-paper: #F3EFE7;
  --pl-rock: #6B7987;
  --pl-moss: #5E7F68;
  --pl-clay: #C07452;

  --pl-line: rgba(243, 239, 231, .14);
  --pl-line-strong: rgba(243, 239, 231, .30);
  --pl-muted: rgba(243, 239, 231, .68);

  --pl-wrap: 1240px;
  --pl-gap: clamp(16px, 2.2vw, 32px);

  --pl-font-display: "Archivo Black", "Arial Black", "Helvetica Neue", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pl-font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --pl-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

/* 3. 基础中文排版
   ========================================================================== */
body {
  min-height: 100vh;
  background: var(--pl-deep);
  color: var(--pl-paper);
  font-family: var(--pl-font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
}

h1, .pl-h1 {
  font-family: var(--pl-font-display);
  font-weight: 900;
  font-size: clamp(36px, 6.2vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
  text-align: left;
}

h2, .pl-h2 {
  font-family: var(--pl-font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.015em;
}

h3, .pl-h3 {
  font-family: var(--pl-font-display);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.25;
  letter-spacing: -.01em;
}

.pl-lede {
  max-width: 64ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--pl-muted);
}

.pl-kicker {
  display: block;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pl-cyan);
}

.pl-index {
  font-family: var(--pl-font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pl-rock);
}

.pl-mono {
  font-family: var(--pl-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.pl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--pl-cyan); color: var(--pl-void); }

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

.pl-paper :focus-visible { outline-color: #0B1B33; }

/* 4. 容器与网格
   ========================================================================== */
.pl-wrap {
  width: 100%;
  max-width: var(--pl-wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

.pl-section { padding-block: clamp(40px, 6vw, 88px); }

.pl-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pl-line);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.pl-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--pl-gap);
}

.pl-span-3 { grid-column: span 3; }
.pl-span-4 { grid-column: span 4; }
.pl-span-5 { grid-column: span 5; }
.pl-span-6 { grid-column: span 6; }
.pl-span-7 { grid-column: span 7; }
.pl-span-8 { grid-column: span 8; }
.pl-span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .pl-span-3, .pl-span-4, .pl-span-5 { grid-column: span 6; }
  .pl-span-6, .pl-span-7, .pl-span-8 { grid-column: span 12; }
}

@media (max-width: 620px) {
  .pl-span-3, .pl-span-4, .pl-span-5,
  .pl-span-6, .pl-span-7, .pl-span-8 { grid-column: span 12; }
}

/* 5. 通用装饰与基底
   ========================================================================== */
.pl-rule {
  position: relative;
  height: 1px;
  background: var(--pl-line-strong);
}

.pl-rule::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 68px;
  background: var(--pl-cyan);
}

.pl-paper {
  background: var(--pl-paper);
  color: #101A26;
}

.pl-paper .pl-h2,
.pl-paper .pl-h3,
.pl-paper h2,
.pl-paper h3 { color: #0B1B33; }

.pl-paper .pl-lede { color: #3C4A58; }

.pl-paper .pl-kicker { color: #1F6F60; }

.pl-paper__inner { padding-block: clamp(32px, 5vw, 72px); }

.pl-panel {
  background: var(--pl-slate);
  border: 1px solid var(--pl-line);
  padding: clamp(18px, 2.4vw, 32px);
}

.pl-card {
  display: block;
  background: var(--pl-slate);
  border: 1px solid var(--pl-line);
  padding: clamp(16px, 2vw, 24px);
  transition: border-color .18s ease, background-color .18s ease;
}

.pl-card:hover,
.pl-card:focus-visible { border-color: rgba(63, 227, 198, .48); }

.pl-card__title {
  font-family: var(--pl-font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.pl-card__meta {
  margin-top: 8px;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--pl-muted);
}

/* 标签 */
.pl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--pl-line-strong);
  font-family: var(--pl-font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--pl-paper);
}

.pl-tag--cyan { border-color: rgba(63, 227, 198, .55); color: var(--pl-cyan); }
.pl-tag--orange { border-color: rgba(255, 123, 69, .55); color: var(--pl-orange); }
.pl-tag--moss { background: var(--pl-moss); border-color: var(--pl-moss); color: #F3EFE7; }
.pl-tag--clay { border-color: rgba(192, 116, 82, .6); color: #E0A184; }

/* 按钮 */
.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--pl-line-strong);
  background: transparent;
  color: var(--pl-paper);
  font-family: var(--pl-font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.2;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.pl-btn:hover,
.pl-btn:focus-visible { border-color: var(--pl-cyan); color: var(--pl-cyan); }

.pl-btn--solid {
  background: var(--pl-cyan);
  border-color: var(--pl-cyan);
  color: var(--pl-void);
  font-weight: 700;
}

.pl-btn--solid:hover,
.pl-btn--solid:focus-visible { background: transparent; color: var(--pl-cyan); }

.pl-btn--orange {
  background: var(--pl-orange);
  border-color: var(--pl-orange);
  color: var(--pl-void);
  font-weight: 700;
}

.pl-btn--orange:hover,
.pl-btn--orange:focus-visible { background: transparent; color: var(--pl-orange); }

.pl-btn--ghost { border-color: transparent; padding-inline: 0; }

.pl-btn--ghost:hover,
.pl-btn--ghost:focus-visible { color: var(--pl-cyan); }

/* 面包屑 */
.pl-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--pl-rock);
}

.pl-crumb a { border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease; }
.pl-crumb a:hover { color: var(--pl-cyan); border-bottom-color: var(--pl-cyan); }
.pl-crumb span[aria-current="page"] { color: var(--pl-paper); }
.pl-crumb li::after { content: "/"; margin-left: 10px; color: var(--pl-rock); }
.pl-crumb li:last-child::after { content: ""; margin: 0; }

/* 图片容器（页面阶段放 img，img 自动填充） */
.pl-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--pl-slate);
  border: 1px solid var(--pl-line);
}

.pl-media::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(63, 227, 198, .16);
  pointer-events: none;
}

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

.pl-media--16x9 { aspect-ratio: 16 / 9; }
.pl-media--4x3 { aspect-ratio: 4 / 3; }
.pl-media--1x1 { aspect-ratio: 1 / 1; }
.pl-media--wide { aspect-ratio: 21 / 9; }

.pl-media__caption {
  margin-top: 10px;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--pl-rock);
}

/* 时间轴 */
.pl-timeline {
  position: relative;
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--pl-line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.pl-timeline__item {
  position: relative;
  flex: 1 0 auto;
  min-width: 96px;
  padding-right: 8px;
}

.pl-timeline__node {
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 12px;
  background: var(--pl-rock);
  transform: rotate(45deg);
}

.pl-timeline__item--now .pl-timeline__node {
  background: var(--pl-cyan);
  box-shadow: 0 0 0 4px rgba(63, 227, 198, .16);
}

.pl-timeline__date {
  display: block;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--pl-paper);
}

.pl-timeline__label {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--pl-muted);
}

/* 分段切换（标签页） */
.pl-tabs { width: 100%; }

.pl-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--pl-line);
}

.pl-tabs__btn {
  position: relative;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-bottom: 0;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--pl-muted);
  transition: color .18s ease, background-color .18s ease;
}

.pl-tabs__btn:hover { color: var(--pl-paper); }

.pl-tabs__btn[aria-selected="true"] {
  color: var(--pl-cyan);
  background: var(--pl-slate);
  border-color: var(--pl-line);
}

.pl-tabs__btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--pl-cyan);
}

.pl-tabs__panel { padding-top: clamp(16px, 2.4vw, 28px); }
.pl-tabs__panel[hidden] { display: none; }

/* 显现动效 */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 6. Header
   ========================================================================== */
.pl-skip {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--pl-cyan);
  color: var(--pl-void);
  font-family: var(--pl-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transform: translateY(-220%);
  transition: transform .2s ease;
}

.pl-skip:focus { transform: translateY(0); }

.pl-header {
  position: relative;
  z-index: 80;
  background: var(--pl-deep);
  color: var(--pl-paper);
  border-bottom: 1px solid var(--pl-line);
}

.pl-header__top {
  background: var(--pl-deep);
  border-bottom: 1px solid var(--pl-line);
}

.pl-header__top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-block: 14px;
}

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

.pl-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--pl-cyan);
}

.pl-brand__mark::before,
.pl-brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 3px;
}

.pl-brand__mark::before { top: 6px; background: var(--pl-cyan); }
.pl-brand__mark::after { bottom: 6px; background: var(--pl-orange); }

.pl-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pl-brand__name {
  font-family: var(--pl-font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.pl-brand__line {
  font-family: var(--pl-font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .16em;
  color: var(--pl-rock);
}

.pl-utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(10px, 1.6vw, 22px);
}

.pl-utility__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--pl-paper);
  transition: color .18s ease, border-color .18s ease;
}

.pl-utility__link:hover,
.pl-utility__link:focus-visible {
  color: var(--pl-cyan);
  border-bottom-color: var(--pl-cyan);
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--pl-cyan);
  color: var(--pl-void);
  font-family: var(--pl-font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.pl-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--pl-orange);
  border: 1px solid var(--pl-orange);
  color: var(--pl-void);
  font-family: var(--pl-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.pl-cta:hover,
.pl-cta:focus-visible {
  background: var(--pl-paper);
  border-color: var(--pl-paper);
  color: var(--pl-void);
}

.pl-header__bar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(11, 27, 51, .97);
  border-bottom: 1px solid var(--pl-line);
}

.pl-header__bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.pl-nav { flex: 1 1 auto; min-width: 0; }

.pl-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 2vw, 30px);
}

.pl-nav__link {
  position: relative;
  display: inline-block;
  padding: 18px 2px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--pl-paper);
  white-space: nowrap;
  transition: color .18s ease;
}

.pl-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: var(--pl-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.pl-nav__link:hover,
.pl-nav__link:focus-visible { color: var(--pl-cyan); }

.pl-nav__link:hover::after,
.pl-nav__link:focus-visible::after { transform: scaleX(1); }

.pl-nav__link[aria-current="page"] { color: var(--pl-cyan); }
.pl-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.pl-nav__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 12px 4px;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--pl-cyan);
}

.pl-nav__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 12px;
}

.pl-nav__bars::before,
.pl-nav__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}

.pl-nav__bars::before { top: 0; }
.pl-nav__bars::after { bottom: 0; }

.pl-nav__toggle[aria-expanded="true"] .pl-nav__bars::before { transform: translateY(5px) rotate(45deg); }
.pl-nav__toggle[aria-expanded="true"] .pl-nav__bars::after { transform: translateY(-5px) rotate(-45deg); }

.pl-nav__toggle-text { line-height: 1; }

.pl-progress {
  position: relative;
  height: 2px;
  background: rgba(107, 121, 135, .32);
}

.pl-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pl-cyan);
  transition: width .12s linear;
}

/* 移动导航 */
@media (max-width: 900px) {
  .pl-header__top-inner { padding-block: 10px; gap: 10px 14px; }
  .pl-brand__line { display: none; }
  .pl-header__bar-inner { flex-wrap: wrap; padding-block: 0; }
  .pl-nav__toggle { display: inline-flex; }
  .pl-nav { flex: 1 1 100%; order: 3; }

  .pl-nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 14px;
    border-top: 1px solid var(--pl-line);
  }

  .pl-nav[data-open] .pl-nav__list {
    display: flex;
    animation: pl-nav-in .2s ease both;
  }

  .pl-nav__link {
    display: block;
    padding: 13px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(243, 239, 231, .06);
  }

  .pl-nav__link::after { display: none; }

  .pl-nav__link[aria-current="page"] {
    padding-left: 12px;
    border-left: 2px solid var(--pl-cyan);
  }
}

@keyframes pl-nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* 7. Footer
   ========================================================================== */
.pl-footer {
  background: var(--pl-void);
  color: var(--pl-paper);
  border-top: 1px solid var(--pl-line);
  padding-top: clamp(40px, 6vw, 72px);
}

.pl-footer__top {
  display: grid;
  grid-template-columns: 1.5fr .8fr .7fr 1.2fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--pl-line);
}

.pl-footer__sig {
  font-family: var(--pl-font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.pl-footer__desc {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--pl-muted);
}

.pl-footer__meta {
  margin-top: 14px;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--pl-rock);
}

.pl-footer__meta .pl-mono { color: var(--pl-orange); }

.pl-footer__title {
  margin-bottom: 14px;
  font-family: var(--pl-font-mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pl-cyan);
}

.pl-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.7;
}

.pl-footer__list a {
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.pl-footer__list a:hover,
.pl-footer__list a:focus-visible {
  color: var(--pl-cyan);
  border-bottom-color: var(--pl-cyan);
}

.pl-footer__list--contact { gap: 12px; }

.pl-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--pl-font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--pl-muted);
  word-break: break-word;
}

.pl-footer__label {
  font-family: var(--pl-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pl-rock);
}

.pl-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px 24px;
  font-family: var(--pl-font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--pl-rock);
}

.pl-footer__filing { color: var(--pl-muted); }
.pl-footer__copy { color: var(--pl-rock); }

@media (max-width: 900px) {
  .pl-footer__top { grid-template-columns: 1fr 1fr; }
  .pl-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .pl-footer__top { grid-template-columns: 1fr; }
  .pl-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* 8. 动效降级
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .pl-nav[data-open] .pl-nav__list { animation: none; }
}
