.page-home {
  --home-ink: #0B0F19;
  --home-paper: #F5F1E8;
  --home-gold: #E6B21A;
  --home-green: #00C48C;
  --home-orange: #FF6B35;
  --home-steel: #232A3A;
  --home-silver: #A8B2C1;
  --home-body: #B8C1D1;
  --home-midnight: #14213D;
  overflow-x: hidden;
  position: relative;
  background: var(--home-ink);
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home .home-coordinate {
  display: none;
}

@media (min-width: 1280px) {
  .page-home .home-coordinate {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: block;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid rgba(230, 178, 26, 0.5);
    backdrop-filter: blur(6px);
  }

  .page-home .home-coordinate__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    text-decoration: none;
    color: var(--home-silver);
    font-size: 12px;
    border-left: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }

  .page-home .home-coordinate__item span {
    font-family: "SF Mono", "Roboto Mono", monospace;
    color: var(--home-gold);
    font-size: 11px;
  }

  .page-home .home-coordinate__item em {
    font-style: normal;
    font-weight: 700;
  }

  .page-home .home-coordinate__item:hover {
    color: #fff;
    border-left-color: var(--home-gold);
    background: rgba(230, 178, 26, 0.08);
  }
}

.page-home .home-hero {
  background: var(--home-ink);
  color: #fff;
  padding: 40px 0 48px;
  position: relative;
  border-bottom: 1px solid rgba(230, 178, 26, 0.25);
}

.page-home .home-hero .breadcrumb {
  margin: 0 0 36px;
  padding: 0;
}

.page-home .home-hero .breadcrumb__current {
  color: var(--home-gold);
}

.page-home .home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

.page-home .home-hero__kicker {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--home-gold);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.page-home .home-hero__title {
  margin: 0;
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}

.page-home .home-hero__title-en {
  display: block;
  margin-top: 10px;
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--home-silver);
  text-transform: uppercase;
}

.page-home .home-hero__big {
  font-size: clamp(22px, 4.4vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin: 38px 0 18px;
  color: var(--home-gold);
  max-width: 620px;
}

.page-home .home-hero__lead {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-body);
  max-width: 540px;
}

.page-home .home-hero__lead strong,
.page-home .home-hero__lead b {
  font-weight: 700;
  color: #fff;
}

.page-home .home-hero__tag {
  margin-top: 24px;
  font-size: 13px;
  color: var(--home-silver);
  font-family: "SF Mono", "Roboto Mono", monospace;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__summary {
  margin-top: 48px;
  padding: 18px 22px;
  border: 1px solid rgba(230, 178, 26, 0.45);
  border-left: 4px solid var(--home-gold);
  background: rgba(230, 178, 26, 0.06);
  color: var(--home-silver);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
}

.page-home .home-window {
  position: relative;
  border: 1px solid var(--home-gold);
  background: var(--home-steel);
  box-shadow: 10px 10px 0 0 rgba(230, 178, 26, 0.18);
  max-width: 640px;
}

.page-home .home-window::before,
.page-home .home-window::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-window::before {
  top: -6px;
  left: -6px;
  border-top: 2px solid var(--home-gold);
  border-left: 2px solid var(--home-gold);
}

.page-home .home-window::after {
  bottom: -6px;
  right: -6px;
  border-bottom: 2px solid var(--home-gold);
  border-right: 2px solid var(--home-gold);
}

.page-home .home-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(230, 178, 26, 0.5);
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 11px;
  color: var(--home-body);
}

.page-home .home-window__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-green);
}

.page-home .home-window__code {
  color: var(--home-silver);
  letter-spacing: 0.12em;
}

.page-home .home-window__version {
  color: var(--home-gold);
  font-weight: 700;
}

.page-home .home-window__view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.page-home .home-window__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .home-window__veil {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(230, 178, 26, 0.12) 19px 20px),
    repeating-linear-gradient(90deg, transparent 0 19px, rgba(230, 178, 26, 0.12) 19px 20px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .home-window__metric {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(0deg, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.4) 70%, transparent 100%);
}

.page-home .home-window__metric-label {
  display: block;
  font-size: 11px;
  color: var(--home-silver);
  letter-spacing: 0.06em;
}

.page-home .home-window__metric-value {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 900;
  color: var(--home-gold);
  line-height: 1.1;
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 56px 0 72px;
  }

  .page-home .home-hero__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .home-window {
    margin-left: auto;
  }
}

.page-home .home-section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-gold);
}

.page-home .home-section-head > div {
  min-width: 0;
}

.page-home .home-section-index {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--home-gold);
  white-space: nowrap;
  padding-top: 4px;
}

.page-home .home-section-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.page-home .home-section-sub {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--home-body);
  line-height: 1.6;
}

.page-home .home-library {
  background: var(--home-ink);
  color: #fff;
  padding: 76px 0 64px;
  border-bottom: 1px solid rgba(168, 178, 193, 0.18);
}

.page-home .home-library__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .home-library-card {
  position: relative;
  background: var(--home-paper);
  color: var(--home-ink);
  padding: 24px 20px 22px;
  border: 1px solid var(--home-gold);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-home .home-library-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 0 rgba(230, 178, 26, 0.28);
  background: #fff;
}

.page-home .home-library-card__index {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 11px;
  color: var(--home-gold);
  letter-spacing: 0.12em;
}

.page-home .home-library-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-home .home-library-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(11, 15, 25, 0.74);
}

.page-home .home-library__path {
  margin-top: 28px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--home-steel);
  border-left: 3px solid var(--home-gold);
}

.page-home .home-path__step {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.page-home .home-path__arrow {
  color: var(--home-gold);
  font-weight: 900;
}

.page-home .home-path__link {
  margin-left: auto;
  color: var(--home-gold);
  font-weight: 700;
  font-size: 14px;
  text-underline-offset: 4px;
}

.page-home .home-library__badge {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 14px;
  background: rgba(0, 196, 140, 0.1);
  border: 1px solid rgba(0, 196, 140, 0.45);
  color: var(--home-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .page-home .home-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-home .home-library__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .home-version {
  background: var(--home-midnight);
  color: #fff;
  padding: 76px 0;
  border-bottom: 1px solid rgba(168, 178, 193, 0.18);
}

.page-home .home-version__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-home .home-version__track::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--home-gold), rgba(230, 178, 26, 0.2));
}

.page-home .home-version__node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0 16px 36px;
}

.page-home .home-version__node::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--home-gold);
  border: 2px solid var(--home-midnight);
}

.page-home .home-version__year {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-weight: 700;
  color: var(--home-gold);
  min-width: 44px;
  font-size: 15px;
}

.page-home .home-version__label {
  color: var(--home-body);
  font-size: 14px;
  font-weight: 300;
}

.page-home .home-version__node--current .home-version__year,
.page-home .home-version__node--current .home-version__label {
  color: #fff;
  font-weight: 900;
}

.page-home .home-version__node--current::after {
  content: "当前";
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--home-ink);
  background: var(--home-gold);
  padding: 4px 8px;
}

.page-home .home-version__more {
  display: inline-block;
  margin-top: 32px;
  margin-left: 36px;
  color: var(--home-gold);
  font-weight: 700;
  font-size: 14px;
  text-underline-offset: 4px;
}

@media (min-width: 960px) {
  .page-home .home-version__track {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding-top: 28px;
  }

  .page-home .home-version__track::before {
    top: 0;
    left: 24px;
    right: 24px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--home-gold), rgba(230, 178, 26, 0.2));
  }

  .page-home .home-version__node {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0 8px 20px;
    flex: 1 1 0;
  }

  .page-home .home-version__node::before {
    top: -6px;
    left: 16px;
    width: 10px;
    height: 10px;
  }

  .page-home .home-version__node--current::after {
    margin-left: 0;
  }

  .page-home .home-version__more {
    margin-left: 0;
  }
}

.page-home .home-switch {
  background: var(--home-ink);
  color: #fff;
  padding: 76px 0;
  border-bottom: 1px solid rgba(168, 178, 193, 0.18);
}

.page-home .home-switch__console {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(168, 178, 193, 0.35);
  background: linear-gradient(180deg, rgba(35, 42, 58, 0.5), rgba(11, 15, 25, 0.7));
  padding: 22px;
  position: relative;
}

.page-home .home-switch__console::before {
  content: "CONSOLE / 切换站点";
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 0 8px;
  background: var(--home-ink);
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--home-gold);
}

.page-home .home-switch__stage {
  flex: 1 1 0;
  padding: 18px 16px;
  background: rgba(11, 15, 25, 0.8);
  border: 1px dashed rgba(168, 178, 193, 0.55);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-home .home-stage__label {
  display: block;
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--home-silver);
  text-transform: uppercase;
}

.page-home .home-stage__value {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.page-home .home-stage__hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 300;
  color: var(--home-body);
}

.page-home .home-switch__button {
  background: var(--home-gold);
  border: 0;
  padding: 18px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  color: var(--home-ink);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.02em;
}

.page-home .home-switch__button:hover {
  background: #f7c942;
}

.page-home .home-switch__button:active {
  transform: scale(0.96);
  background: #d9a30f;
}

.page-home .home-switch__note {
  margin: 24px 0 8px;
  font-size: 14px;
  font-weight: 300;
  color: var(--home-body);
  line-height: 1.75;
  max-width: 680px;
}

.page-home .home-switch__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--home-gold);
  font-weight: 700;
  font-size: 14px;
  text-underline-offset: 4px;
}

@media (min-width: 720px) {
  .page-home .home-switch__console {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .home-switch__button {
    flex-shrink: 0;
    align-self: center;
  }
}

.page-home .home-sync {
  position: relative;
  background: var(--home-midnight);
  color: #fff;
  padding: 76px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(168, 178, 193, 0.18);
}

.page-home .home-sync__bg {
  position: absolute;
  inset: 0;
}

.page-home .home-sync__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

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

.page-home .home-sync__tabs {
  margin-top: 8px;
}

.page-home .home-sync__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-home .home-sync__nav {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-home .home-sync__btn {
  display: inline-block;
  padding: 13px 20px;
  color: var(--home-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-sync__btn:hover {
  color: #fff;
}

.page-home .home-sync__input--match:checked ~ .home-sync__nav .home-sync__btn--match,
.page-home .home-sync__input--injury:checked ~ .home-sync__nav .home-sync__btn--injury {
  color: var(--home-gold);
  border-bottom-color: var(--home-gold);
}

.page-home .home-sync__panel {
  display: none;
}

.page-home .home-sync__input--match:checked ~ .home-sync__panel--match,
.page-home .home-sync__input--injury:checked ~ .home-sync__panel--injury {
  display: block;
}

.page-home .home-sync-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: rgba(35, 42, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .home-sync-card__media {
  overflow: hidden;
  background: var(--home-steel);
}

.page-home .home-sync-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.page-home .home-sync-card__body {
  padding: 24px;
}

.page-home .home-sync-card__body h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}

.page-home .home-sync-card__body p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--home-body);
  line-height: 1.7;
}

.page-home .home-sync-card__body a {
  display: inline-block;
  margin-top: 16px;
  color: var(--home-gold);
  font-weight: 700;
  font-size: 14px;
  text-underline-offset: 4px;
}

.page-home .home-injury-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(35, 42, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 0;
}

.page-home .home-injury-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .home-injury-item:last-child {
  border-bottom: 0;
}

.page-home .home-injury-club {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--home-gold);
  min-width: 40px;
}

.page-home .home-injury-name {
  flex: 1 1 140px;
  font-weight: 700;
  font-size: 15px;
}

.page-home .home-injury-note {
  color: var(--home-body);
  font-size: 13px;
  font-weight: 300;
}

@media (min-width: 640px) {
  .page-home .home-sync-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.page-home .home-membership {
  background: var(--home-paper);
  color: var(--home-ink);
  padding: 76px 0;
}

.page-home .home-membership .home-section-head {
  border-bottom-color: var(--home-ink);
}

.page-home .home-membership .home-section-title {
  color: var(--home-ink);
}

.page-home .home-membership .home-section-sub {
  color: rgba(11, 15, 25, 0.7);
}

.page-home .home-membership__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .home-membership__plan {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11, 15, 25, 0.18);
  padding: 30px 26px;
}

.page-home .home-membership__plan::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 44px;
  height: 44px;
  border-top: 3px solid var(--home-gold);
  border-left: 3px solid var(--home-gold);
}

.page-home .home-membership__plan-icon {
  font-size: 20px;
  color: var(--home-gold);
}

.page-home .home-membership__plan h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.page-home .home-membership__plan p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(11, 15, 25, 0.78);
}

.page-home .home-membership__link {
  display: inline-block;
  margin-top: 20px;
  color: var(--home-ink);
  font-weight: 900;
  font-size: 14px;
  text-underline-offset: 4px;
  border-bottom: 2px solid var(--home-gold);
  padding-bottom: 2px;
}

.page-home .home-membership__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 15, 25, 0.18);
  background: var(--home-ink);
}

.page-home .home-membership__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-membership__media-note {
  margin: 0;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 300;
  color: var(--home-silver);
  background: rgba(11, 15, 25, 0.95);
  text-align: center;
}

.page-home .home-membership__record {
  background: var(--home-ink);
  color: #fff;
  padding: 30px 26px;
  border: 1px solid var(--home-gold);
  position: relative;
}

.page-home .home-membership__record-label {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--home-silver);
  text-transform: uppercase;
}

.page-home .home-membership__record-num {
  display: block;
  margin-top: 14px;
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 900;
  color: var(--home-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-home .home-membership__record-num span {
  font-size: 0.4em;
  margin-left: 4px;
  letter-spacing: 0;
}

.page-home .home-membership__record-desc {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--home-body);
  line-height: 1.7;
  max-width: 300px;
}

@media (min-width: 960px) {
  .page-home .home-membership__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "plan media"
      "record media";
    align-items: stretch;
  }

  .page-home .home-membership__plan {
    grid-area: plan;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-membership__record {
    grid-area: record;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-membership__media {
    grid-area: media;
    display: flex;
    flex-direction: column;
  }

  .page-home .home-membership__media img {
    flex: 1 1 auto;
  }
}

.page-home .home-hero .btn--ghost {
  color: var(--home-paper);
  border-color: rgba(245, 241, 232, 0.6);
}
