.page-home {
  --home-card-bg: rgba(16, 24, 48, .9);
  --home-gold-line: rgba(230, 184, 0, .38);
  --home-pad: clamp(48px, 8vw, 88px);
  background: var(--color-bg);
  color: var(--color-paper);
  font-family: var(--font-sans);
  line-height: 1.7;
}

.page-home img,
.page-home svg {
  max-width: 100%;
  vertical-align: middle;
}

.page-home .home-section {
  padding: var(--home-pad) 0;
  border-top: 1px solid rgba(230, 184, 0, .16);
}

.page-home .home-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--color-silver);
  letter-spacing: .06em;
}

.page-home .home-overview {
  padding-top: 32px;
  background:
    radial-gradient(circle at 80% 10%, rgba(230, 184, 0, .12), transparent 320px),
    linear-gradient(180deg, var(--color-bg), var(--color-card));
}

.page-home .home-overview-head {
  border-left: 3px solid var(--color-gold);
  padding-left: 18px;
  margin-bottom: 34px;
}

.page-home .home-overview-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-home .section-flag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
}

.page-home .home-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.18;
  font-weight: 900;
  color: var(--color-gold-bright);
}

.page-home .home-title span {
  display: block;
  color: var(--color-red-light);
}

.page-home .home-subtitle {
  margin: 14px 0 0;
  max-width: 68ch;
  font-size: 1.02rem;
  color: var(--color-silver);
}

.page-home .home-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .dash-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--home-card-bg);
  border: 1px solid var(--home-gold-line);
  border-radius: 14px;
  color: var(--color-paper);
  text-decoration: none;
  position: relative;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.page-home .dash-card:hover,
.page-home .dash-card:focus-visible {
  background: rgba(27, 35, 64, .95);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.page-home .dash-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-gold);
  letter-spacing: .1em;
}

.page-home .dash-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-paper);
  line-height: 1.4;
}

.page-home .dash-note {
  font-size: .92rem;
  color: var(--color-silver);
  line-height: 1.6;
}

.page-home .dash-go {
  margin-top: auto;
  font-size: .92rem;
  color: var(--color-gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .dash-featured {
  border-color: rgba(230, 184, 0, .75);
  background:
    linear-gradient(145deg, rgba(230, 184, 0, .14), rgba(198, 40, 40, .10)),
    var(--home-card-bg);
  box-shadow: var(--shadow-panel);
}

.page-home .dash-featured .dash-name {
  font-size: 1.3rem;
  color: var(--color-gold-bright);
}

.page-home .section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .section-number {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-gold);
  opacity: .9;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-paper);
  letter-spacing: .02em;
}

.page-home .title-sep {
  font-weight: 400;
  color: var(--color-silver);
  margin: 0 4px;
}

.page-home .section-divider {
  flex: 1 1 40px;
  min-width: 60px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-gold) 0 8px, transparent 8px 14px);
}

.page-home .featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .featured-figure {
  margin: 0;
  position: relative;
}

.page-home .featured-figure::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  left: -10px;
  top: -10px;
  border: 1px solid rgba(230, 184, 0, .22);
  border-radius: 18px;
  z-index: 0;
}

.page-home .featured-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(230, 184, 0, .45);
  box-shadow: var(--shadow-panel);
  background: var(--color-card);
}

.page-home .featured-panel {
  position: relative;
  background: var(--color-card);
  border: 1px solid rgba(230, 184, 0, .5);
  border-radius: 16px;
  padding: 26px 24px 28px;
  overflow: hidden;
}

.page-home .featured-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 36px solid var(--color-gold-dark);
  border-left: 36px solid transparent;
  border-top-right-radius: 16px;
}

.page-home .featured-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-red-light);
  text-transform: uppercase;
}

.page-home .featured-name {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-paper);
  line-height: 1.3;
}

.page-home .featured-desc {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--color-silver);
}

.page-home .featured-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .featured-points li {
  position: relative;
  padding-left: 18px;
  font-size: .95rem;
  color: var(--color-paper);
}

.page-home .featured-points li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 13px;
}

.page-home .featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-home .btn-gold:active {
  box-shadow: 0 0 0 4px rgba(230, 184, 0, .32), 0 0 24px rgba(230, 184, 0, .7);
  transform: scale(.98);
}

.page-home .season-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-bg), var(--color-card));
  border-top: 0;
  clip-path: polygon(0 0, 100% 3vw, 100% calc(100% - 3vw), 0 100%);
  padding: clamp(64px, 10vw, 120px) 0;
}

.page-home .season-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .season-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .24;
}

.page-home .season-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 14, 26, .9) 0%, rgba(198, 40, 40, .4) 45%, rgba(10, 14, 26, .92) 100%);
}

.page-home .season-container {
  position: relative;
  z-index: 2;
}

.page-home .season-head .section-number {
  color: var(--color-gold-bright);
}

.page-home .season-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.page-home .season-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(10, 14, 26, .5);
  color: var(--color-paper);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.page-home .season-tag-active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

.page-home .season-tag:hover,
.page-home .season-tag:focus-visible,
.page-home .season-tag:active {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  background: rgba(10, 14, 26, .8);
}

.page-home .season-tag-active:hover,
.page-home .season-tag-active:focus-visible,
.page-home .season-tag-active:active {
  background: var(--color-red-light);
  border-color: var(--color-red-light);
  color: #fff;
}

.page-home .season-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}

.page-home .season-stat {
  background: rgba(16, 24, 48, .82);
  border: 1px solid rgba(230, 184, 0, .28);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gold-bright);
}

.page-home .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-silver);
}

.page-home .season-note {
  margin: 0;
  max-width: 72ch;
  color: var(--color-silver);
  font-size: .98rem;
}

.page-home .update-section {
  background:
    radial-gradient(circle at 12% 30%, rgba(30, 58, 95, .42), transparent 320px),
    var(--color-bg);
}

.page-home .update-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-home .update-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), rgba(230, 184, 0, .35), transparent);
}

.page-home .timeline-item {
  position: relative;
  padding-left: 52px;
  margin-bottom: 28px;
}

.page-home .timeline-item:last-child {
  margin-bottom: 0;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 4px rgba(230, 184, 0, .18);
}

.page-home .timeline-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--color-card);
  border: 1px solid rgba(230, 184, 0, .24);
  border-radius: 14px;
  transition: border-color .2s ease, background .2s ease;
}

.page-home .timeline-card:hover,
.page-home .timeline-card:focus-within {
  border-color: var(--color-gold);
  background: rgba(27, 35, 64, .9);
}

.page-home .timeline-icon {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(230, 184, 0, .35);
}

.page-home .timeline-body {
  min-width: 0;
}

.page-home .timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.page-home .timeline-flag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-red);
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.page-home .timeline-cat {
  color: var(--color-gold);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 500;
}

.page-home .timeline-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--color-paper);
  line-height: 1.4;
}

.page-home .timeline-excerpt {
  margin: 0 0 8px;
  color: var(--color-silver);
  font-size: .94rem;
}

.page-home .timeline-link {
  color: var(--color-gold-bright);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

.page-home .timeline-link:hover,
.page-home .timeline-link:focus-visible {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .network-section {
  background:
    linear-gradient(180deg, var(--color-bg), var(--color-blue) 160%, var(--color-bg));
}

.page-home .network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .network-map {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(230, 184, 0, .42);
  background: var(--color-card);
}

.page-home .network-bg {
  width: 100%;
  height: auto;
  display: block;
  opacity: .32;
}

.page-home .network-nodes {
  position: absolute;
  inset: 0;
  display: block;
}

.page-home .nodes-svg {
  width: 100%;
  height: 100%;
}

.page-home .nodes-svg circle {
  fill: var(--color-red-light);
  fill-opacity: .95;
  stroke: var(--color-gold-bright);
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(230, 184, 0, .55));
}

.page-home .network-info {
  background: var(--color-card);
  border: 1px solid rgba(230, 184, 0, .3);
  border-radius: 16px;
  padding: 26px 24px;
}

.page-home .network-info h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-paper);
}

.page-home .network-info p {
  margin: 0 0 18px;
  color: var(--color-silver);
  font-size: 1rem;
  line-height: 1.75;
}

.page-home .network-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .network-features li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  color: var(--color-paper);
}

.page-home .network-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red-light));
}

@media (min-width: 768px) {
  .page-home .home-dashboard-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .page-home .dash-featured {
    grid-column: span 6;
  }

  .page-home .dash-card:nth-child(2) {
    grid-column: span 3;
  }

  .page-home .dash-card:nth-child(3) {
    grid-column: span 3;
  }

  .page-home .dash-card:nth-child(4) {
    grid-column: span 4;
  }

  .page-home .dash-card:nth-child(5) {
    grid-column: span 8;
  }

  .page-home .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .featured-panel {
    padding: 36px 34px 38px;
  }

  .page-home .season-panels {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-home .timeline-icon {
    width: 100px;
    height: 100px;
  }

  .page-home .network-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
  }

  .page-home .network-bg {
    opacity: .5;
  }
}

@media (min-width: 1024px) {
  .page-home .home-section {
    padding: clamp(72px, 8vw, 104px) 0;
  }
}
