.page-home {
  --home-accent: #C8F560;
  --home-purple: #9B6CFF;
  --home-bg-deep: #0B0F1A;
  --home-bg-dark: #131A2A;
  --home-bg-indigo: #1E2A4A;
  --home-bg-teal: #153D3A;
  --home-line: rgba(255, 255, 255, 0.16);
  --home-line-green: rgba(200, 245, 96, 0.35);
  --home-line-purple: rgba(155, 108, 255, 0.35);
  --home-text: #EAEEF5;
  --home-text-secondary: #B4C0D0;
  font-family: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--home-text);
  background-color: var(--home-bg-deep);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-home ::selection {
  background-color: var(--home-accent);
  color: var(--home-bg-deep);
}

.page-home .container {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-home .mono {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.02em;
}

.page-home .text-link {
  color: var(--home-purple);
  text-decoration: none;
  border-bottom: 1px solid var(--home-line-purple);
  padding-bottom: 2px;
  transition: border-color var(--ease-fast, 0.15s ease), color var(--ease-fast, 0.15s ease);
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--home-accent);
  border-bottom-color: var(--home-line-green);
  outline: none;
}

.page-home .index-label {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--home-purple);
  border: 1px solid var(--home-line-purple);
  padding: 3px 10px;
  display: inline-block;
  line-height: 1.4;
}

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

.page-home .section-head__title {
  font-family: "Space Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-home .section-head__desc {
  margin: 0 0 0 auto;
  font-size: 13px;
  color: var(--home-text-secondary);
}

.page-home .section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-home .section--indigo {
  background-color: var(--home-bg-indigo);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .section--teal {
  background-color: var(--home-bg-teal);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .hero-window {
  position: relative;
  min-height: min(92vh, 860px);
  padding-top: 48px;
  padding-bottom: 48px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 40%, rgba(155, 108, 255, 0.12), transparent 55%),
    var(--home-bg-deep);
  background-size: 48px 48px, 48px 48px, auto, auto;
  border-bottom: 1px solid var(--home-line);
}

.page-home .hero-window::before {
  content: "";
  position: absolute;
  inset: 24px 16px;
  border: 1px solid var(--home-line);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-window__inner {
  position: relative;
  z-index: 3;
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-home .hero-frame {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.page-home .hero-frame--top {
  top: 24px;
  left: 16px;
  right: 16px;
  height: 12px;
  border-bottom: 1px solid var(--home-line);
  background: repeating-linear-gradient(90deg, transparent 0, transparent 15px, var(--home-line) 15px, var(--home-line) 17px);
}

.page-home .hero-frame--bottom {
  bottom: 24px;
  left: 16px;
  right: 16px;
  height: 12px;
  border-top: 1px solid var(--home-line);
  background: repeating-linear-gradient(90deg, transparent 0, transparent 15px, var(--home-line) 15px, var(--home-line) 17px);
}

.page-home .hero-frame--left {
  top: 24px;
  bottom: 24px;
  left: 16px;
  width: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-right: 1px solid var(--home-line);
  background: repeating-linear-gradient(0deg, transparent 0, transparent 15px, var(--home-line) 15px, var(--home-line) 17px);
  padding: 8px 0;
}

.page-home .hero-frame--right {
  top: 24px;
  bottom: 24px;
  right: 16px;
  width: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-left: 1px solid var(--home-line);
  background: repeating-linear-gradient(0deg, transparent 0, transparent 15px, var(--home-line) 15px, var(--home-line) 17px);
  padding: 8px 0;
}

.page-home .hero-frame--left span,
.page-home .hero-frame--right span {
  writing-mode: vertical-rl;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.2em;
}

.page-home .hero-corner {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.page-home .hero-corner span {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--home-accent);
  padding: 4px 8px;
  border: 1px solid var(--home-line-green);
  background-color: var(--home-bg-deep);
}

.page-home .hero-corner--tl {
  top: 24px;
  left: 40px;
}

.page-home .hero-corner--br {
  bottom: 24px;
  right: 40px;
}

.page-home .hero-scale {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}

.page-home .hero-scale--x {
  bottom: 18px;
  left: 48px;
  right: 48px;
}

.page-home .hero-scale--y {
  top: 40px;
  bottom: 40px;
  left: 18px;
  flex-direction: column;
}

.page-home .hero-scale i {
  display: block;
  width: 1px;
  height: 5px;
  background: var(--home-line);
}

.page-home .hero-scale--x i {
  width: 5px;
  height: 1px;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 48px;
  padding-top: 24px;
}

.page-home .hero-grid__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .hero-kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--home-accent);
  margin: 0 0 12px;
  border: 1px solid var(--home-line-green);
  display: inline-block;
  padding: 4px 12px;
  width: fit-content;
}

.page-home .hero-title {
  font-family: "Space Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: clamp(36px, 6.4vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.page-home .hero-title__line {
  display: block;
  color: var(--home-purple);
}

.page-home .hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--home-text-secondary);
  max-width: 540px;
  margin: 0 0 28px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.page-home .hero-status-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 480px;
}

.page-home .hero-status-list__item {
  border-left: 1px solid var(--home-line);
  padding-left: 12px;
}

.page-home .hero-status-list__item dt {
  font-size: 12px;
  color: var(--home-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.page-home .hero-status-list__item dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.page-home .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-accent);
  box-shadow: 0 0 8px rgba(200, 245, 96, 0.6);
  cursor: help;
}

.page-home .status-dot:focus-visible {
  outline: 2px solid var(--home-purple);
  outline-offset: 4px;
}

.page-home .hero-grid__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .hero-canvas {
  position: relative;
  height: 220px;
  border: 1px solid var(--home-line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(30, 42, 74, 0.35);
  background-size: 24px 24px, 24px 24px, auto;
  overflow: hidden;
}

.page-home .hero-canvas__field {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 60% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(155, 108, 255, 0.08), rgba(200, 245, 96, 0.04));
}

.page-home .hero-canvas__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--home-line-purple), transparent);
}

.page-home .hero-canvas__line--a {
  top: 30%;
  left: 0;
  right: 0;
}

.page-home .hero-canvas__line--b {
  top: 55%;
  left: 0;
  width: 70%;
  background: linear-gradient(90deg, transparent, var(--home-line-green));
}

.page-home .hero-canvas__line--c {
  top: 75%;
  left: 20%;
  width: 50%;
  background: linear-gradient(90deg, var(--home-line-purple), transparent);
}

.page-home .hero-canvas__point {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.page-home .hero-canvas__point--a {
  top: 30%;
  left: 65%;
  background: var(--home-purple);
  box-shadow: 0 0 12px rgba(155, 108, 255, 0.8);
}

.page-home .hero-canvas__point--b {
  top: 55%;
  left: 30%;
  background: var(--home-accent);
  box-shadow: 0 0 12px rgba(200, 245, 96, 0.8);
}

.page-home .hero-canvas__point--c {
  top: 75%;
  left: 60%;
  background: var(--home-accent);
  box-shadow: 0 0 12px rgba(200, 245, 96, 0.6);
}

.page-home .hero-canvas__point--d {
  top: 45%;
  left: 85%;
  background: var(--home-purple);
  box-shadow: 0 0 10px rgba(155, 108, 255, 0.5);
}

.page-home .hero-canvas__label {
  position: absolute;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--home-text-secondary);
}

.page-home .hero-canvas__label--a {
  top: 12px;
  left: 14px;
}

.page-home .hero-canvas__label--b {
  bottom: 14px;
  right: 14px;
}

.page-home .hero-canvas__label--c {
  top: 50%;
  right: 12px;
}

.page-home .hero-canvas__tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  color: var(--home-accent);
  border: 1px solid var(--home-line-green);
  padding: 2px 6px;
}

.page-home .hero-snapshot {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.page-home .hero-snapshot__label {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--home-text-secondary);
  border-left: 1px solid var(--home-line);
  padding-left: 8px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .hero-snapshot__media {
  border: 1px solid var(--home-line);
  overflow: hidden;
  max-height: 160px;
}

.page-home .hero-snapshot__media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) contrast(1.1);
}

.page-home .hero-coordinate {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 64px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.25);
  z-index: 3;
  pointer-events: none;
}

.page-home .pricing-dashboard {
  background-color: var(--home-bg-deep);
  border-bottom: 1px solid var(--home-line);
}

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

.page-home .pricing-chart {
  position: relative;
  padding: 20px 16px 28px;
  border: 1px solid var(--home-line);
  background-color: rgba(19, 26, 42, 0.55);
}

.page-home .pricing-chart::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--home-accent), var(--home-purple));
}

.page-home .frame-panel__label {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--home-accent);
}

.page-home .pricing-chart__canvas {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: 1fr 24px;
  height: 240px;
}

.page-home .pricing-chart__y-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--home-text-secondary);
  padding-right: 8px;
  text-align: right;
  grid-row: 1;
  grid-column: 1;
}

.page-home .pricing-chart__bars {
  grid-row: 1;
  grid-column: 2;
  width: 100%;
  height: 100%;
  fill-rule: evenodd;
}

.page-home .pricing-chart__x-labels {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px 0 0;
  font-size: 10px;
  color: var(--home-text-secondary);
  grid-row: 2;
  grid-column: 2;
}

.page-home .pricing-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--home-line);
  font-size: 12px;
  color: var(--home-text-secondary);
}

.page-home .pricing-chart__legend b {
  color: var(--home-text);
  font-weight: 600;
}

.page-home .pricing-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .pricing-info__item {
  position: relative;
  padding-left: 48px;
}

.page-home .pricing-info__index {
  position: absolute;
  left: 0;
  top: 2px;
}

.page-home .pricing-info__label {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  letter-spacing: -0.01em;
}

.page-home .pricing-info__desc {
  font-size: 14px;
  color: var(--home-text-secondary);
  margin: 0;
  line-height: 1.8;
}

.page-home .pricing-info__media {
  border: 1px solid var(--home-line);
  overflow: hidden;
}

.page-home .pricing-info__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) contrast(1.05);
  transition: filter var(--ease, 0.25s ease);
}

.page-home .pricing-info__media:hover img {
  filter: saturate(1) contrast(1.08);
}

.page-home .portal-section {
  position: relative;
}

.page-home .portal-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--home-purple), transparent 60%);
  opacity: 0.6;
}

.page-home .portal-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--home-accent), transparent 60%);
  opacity: 0.4;
}

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

.page-home .portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--home-line);
  padding: 36px 28px 28px;
  text-decoration: none;
  color: var(--home-text);
  background-color: var(--home-bg-dark);
  transition: border-color var(--ease, 0.25s ease), box-shadow var(--ease, 0.25s ease), transform var(--ease, 0.25s ease);
}

.page-home .portal-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 3px solid transparent;
  border-right: 3px solid transparent;
  width: 28px;
  height: 28px;
  transition: border-color var(--ease, 0.25s ease);
}

.page-home .portal-card--main::before {
  border-top-color: var(--home-accent);
  border-right-color: var(--home-accent);
}

.page-home .portal-card--side::before {
  border-top-color: var(--home-purple);
  border-right-color: var(--home-purple);
}

.page-home .portal-card:hover,
.page-home .portal-card:focus-visible {
  border-color: var(--home-line-green);
  box-shadow: 0 0 0 1px var(--home-line-green), 0 8px 32px rgba(0, 0, 0, 0.3);
  outline: none;
}

.page-home .portal-card--side:hover,
.page-home .portal-card--side:focus-visible {
  border-color: var(--home-line-purple);
  box-shadow: 0 0 0 1px var(--home-line-purple), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.page-home .portal-card__index {
  position: absolute;
  top: 12px;
  left: 12px;
}

.page-home .portal-card__title {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 10px;
  line-height: 1.35;
  padding-left: 48px;
}

.page-home .portal-card__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-text-secondary);
  margin: 0 0 24px;
}

.page-home .portal-card__stats {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: 14px 0;
}

.page-home .portal-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .portal-card__stats dt {
  font-size: 11px;
  color: var(--home-text-secondary);
}

.page-home .portal-card__stats dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--home-accent);
}

.page-home .portal-card--side .portal-card__stats dd {
  color: var(--home-purple);
}

.page-home .portal-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--home-accent);
  letter-spacing: 0.04em;
}

.page-home .portal-card--side .portal-card__more {
  color: var(--home-purple);
}

.page-home .match-preview {
  background-color: var(--home-bg-deep);
}

.page-home .match-preview__media {
  margin-bottom: 28px;
  border: 1px solid var(--home-line);
  position: relative;
  overflow: hidden;
}

.page-home .match-preview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 245, 96, 0.1);
  pointer-events: none;
}

.page-home .match-preview__media img {
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) contrast(1.08);
}

.page-home .match-preview__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .match-preview__filter-label {
  font-size: 12px;
  color: var(--home-text-secondary);
  margin-right: 6px;
}

.page-home .match-preview__filter-btn {
  font-family: "Noto Sans SC", "Inter", sans-serif;
  font-size: 13px;
  color: var(--home-text-secondary);
  background: transparent;
  border: 1px solid var(--home-line);
  padding: 6px 14px;
  cursor: pointer;
  transition: color var(--ease-fast, 0.15s ease), border-color var(--ease-fast, 0.15s ease), background-color var(--ease-fast, 0.15s ease);
  line-height: 1.4;
}

.page-home .match-preview__filter-btn:hover {
  color: var(--home-text);
  border-color: var(--home-line-green);
}

.page-home .match-preview__filter-btn:focus-visible {
  outline: 2px solid var(--home-purple);
  outline-offset: 2px;
  color: var(--home-text);
}

.page-home .match-preview__filter-btn.is-active {
  color: var(--home-bg-deep);
  background-color: var(--home-accent);
  border-color: var(--home-accent);
  font-weight: 600;
}

.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--home-line);
  margin-bottom: 12px;
}

.page-home .match-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.page-home .match-table caption {
  caption-side: top;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--home-text-secondary);
  padding: 12px 14px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .match-table th {
  font-family: "Noto Sans SC", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--home-text-secondary);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--home-line);
  white-space: nowrap;
  background-color: rgba(19, 26, 42, 0.5);
}

.page-home .match-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.page-home .match-table tbody tr {
  transition: background-color var(--ease-fast, 0.15s ease);
}

.page-home .match-table tbody tr:hover {
  background-color: rgba(155, 108, 255, 0.06);
}

.page-home .match-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .match-table td:first-child {
  font-family: "JetBrains Mono", Consolas, monospace;
  color: var(--home-purple);
}

.page-home .match-preview__note {
  font-size: 12px;
  margin: 0;
}

.page-home .update-summary {
  position: relative;
}

.page-home .update-summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--home-accent), transparent 70%);
  opacity: 0.5;
}

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

.page-home .update-summary__visual {
  position: relative;
  border: 1px solid var(--home-line);
  overflow: hidden;
  min-height: 240px;
}

.page-home .update-summary__visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  filter: saturate(0.65) contrast(1.1);
}

.page-home .update-summary__overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--home-accent);
  border: 1px solid var(--home-line-green);
  padding: 4px 8px;
  background-color: rgba(11, 15, 26, 0.75);
}

.page-home .update-summary__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .update-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .update-stats__item {
  border: 1px solid var(--home-line);
  padding: 16px;
  background-color: rgba(11, 15, 26, 0.25);
}

.page-home .update-stats__item dt {
  font-size: 12px;
  color: var(--home-text-secondary);
  margin-bottom: 4px;
}

.page-home .update-stats__item dd {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.page-home .update-stats__item dd .mono {
  font-size: 24px;
  color: var(--home-accent);
}

.page-home .update-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.page-home .update-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .update-list__text {
  font-size: 14px;
  color: var(--home-text-secondary);
}

.page-home .update-list__tag {
  flex-shrink: 0;
}

.page-home .league-index {
  background-color: var(--home-bg-deep);
  border-bottom: 1px solid var(--home-line);
}

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

.page-home .league-card {
  display: grid;
  grid-template-columns: 44px 1fr auto 20px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--home-line);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--home-text);
  background-color: rgba(19, 26, 42, 0.4);
  transition: border-color var(--ease-fast, 0.15s ease), background-color var(--ease-fast, 0.15s ease), transform var(--ease-fast, 0.15s ease);
}

.page-home .league-card:hover,
.page-home .league-card:focus-visible {
  border-color: var(--home-line-purple);
  background-color: rgba(30, 42, 74, 0.6);
  transform: translateX(4px);
  outline: none;
}

.page-home .league-card__num {
  font-size: 12px;
  color: var(--home-purple);
}

.page-home .league-card__name {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.page-home .league-card__meta {
  font-size: 11px;
  color: var(--home-text-secondary);
}

.page-home .league-card__arrow {
  color: var(--home-accent);
  font-size: 16px;
  opacity: 0;
  transition: opacity var(--ease-fast, 0.15s ease);
}

.page-home .league-card:hover .league-card__arrow,
.page-home .league-card:focus-visible .league-card__arrow {
  opacity: 1;
}

.page-home .about-teaser {
  position: relative;
}

.page-home .about-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 2px;
  background: var(--home-purple);
}

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

.page-home .about-teaser__title {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  margin: 14px 0 16px;
  max-width: 520px;
  letter-spacing: -0.01em;
}

.page-home .about-teaser__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--home-text-secondary);
  margin: 0 0 24px;
  max-width: 520px;
}

.page-home .about-teaser__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .about-teaser__fact {
  border: 1px solid var(--home-line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-color: rgba(11, 15, 26, 0.3);
}

.page-home .about-teaser__fact-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--home-accent);
  line-height: 1.2;
}

.page-home .about-teaser__fact:nth-child(even) .about-teaser__fact-num {
  color: var(--home-purple);
}

.page-home .about-teaser__fact-label {
  font-size: 12px;
  color: var(--home-text-secondary);
  margin-top: 6px;
}

.page-home .help-note {
  background-color: var(--home-bg-deep);
  padding-top: 32px;
  padding-bottom: 64px;
}

.page-home .info-note {
  border: 1px solid var(--home-line);
  padding: 20px 24px;
  background-color: rgba(74, 31, 45, 0.35);
  border-left: 3px solid var(--home-accent);
}

.page-home .info-note__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

.page-home .info-note__body {
  font-size: 14px;
  color: var(--home-text-secondary);
  margin: 0;
  line-height: 1.8;
}

.page-home .info-note__body a {
  color: var(--home-purple);
  text-decoration: none;
  border-bottom: 1px solid var(--home-line-purple);
  transition: color var(--ease-fast, 0.15s ease), border-color var(--ease-fast, 0.15s ease);
}

.page-home .info-note__body a:hover,
.page-home .info-note__body a:focus-visible {
  color: var(--home-accent);
  border-color: var(--home-line-green);
  outline: none;
}

.page-home .tag {
  display: inline-block;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-home .tag--green {
  color: var(--home-accent);
  border: 1px solid var(--home-line-green);
}

.page-home .tag--purple {
  color: var(--home-purple);
  border: 1px solid var(--home-line-purple);
}

.page-home .tag--wine {
  color: #E8A0B5;
  border: 1px solid rgba(232, 160, 181, 0.35);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Noto Sans SC", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--ease-fast, 0.15s ease), border-color var(--ease-fast, 0.15s ease), color var(--ease-fast, 0.15s ease), box-shadow var(--ease-fast, 0.15s ease);
  line-height: 1.4;
  min-height: 44px;
}

.page-home .btn:focus-visible {
  outline: 2px solid var(--home-purple);
  outline-offset: 3px;
}

.page-home .btn--primary {
  background-color: var(--home-accent);
  color: var(--home-bg-deep);
  border-color: var(--home-accent);
}

.page-home .btn--primary:hover {
  background-color: transparent;
  color: var(--home-accent);
  box-shadow: inset 0 0 0 1px var(--home-accent);
}

.page-home .btn--ghost {
  background-color: transparent;
  color: var(--home-text);
  border-color: rgba(155, 108, 255, 0.5);
}

.page-home .btn--ghost:hover {
  background-color: rgba(155, 108, 255, 0.1);
  border-color: var(--home-purple);
}

.page-home .breadcrumb {
  margin-bottom: 20px;
}

.page-home .breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.page-home .breadcrumb__item::after {
  content: "/";
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

.page-home .breadcrumb__item:last-child::after {
  content: "";
}

.page-home .breadcrumb__link {
  font-size: 12px;
  color: var(--home-text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--ease-fast, 0.15s ease);
}

.page-home .breadcrumb__link:hover,
.page-home .breadcrumb__link:focus-visible {
  color: var(--home-accent);
  outline: none;
}

@media (min-width: 640px) {
  .page-home .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-home .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-home .hero-window::before {
    inset: 24px 28px;
  }

  .page-home .hero-frame--top,
  .page-home .hero-frame--bottom {
    left: 28px;
    right: 28px;
  }

  .page-home .hero-frame--left {
    left: 28px;
  }

  .page-home .hero-frame--right {
    right: 28px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .page-home .hero-canvas {
    height: 240px;
  }

  .page-home .pricing-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .pricing-chart {
    padding: 28px 24px 32px;
  }

  .page-home .update-summary__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-home .about-teaser__layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-home .about-teaser__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .league-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .portal-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .update-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .container {
    padding-left: 48px;
    padding-right: 48px;
  }

  .page-home .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .page-home .hero-window {
    min-height: 680px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-home .hero-window::before {
    inset: 32px 48px;
  }

  .page-home .hero-frame--top,
  .page-home .hero-frame--bottom {
    left: 48px;
    right: 48px;
  }

  .page-home .hero-frame--left {
    left: 48px;
  }

  .page-home .hero-frame--right {
    right: 48px;
  }

  .page-home .hero-grid {
    gap: 64px;
    padding-top: 32px;
  }

  .page-home .hero-title {
    font-size: clamp(48px, 7vw, 84px);
  }

  .page-home .hero-canvas {
    height: 260px;
  }

  .page-home .hero-coordinate {
    bottom: 16px;
    padding: 0 96px;
  }

  .page-home .section-head {
    margin-bottom: 48px;
  }

  .page-home .pricing-chart__canvas {
    height: 260px;
  }

  .page-home .league-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .page-home .about-teaser__facts {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
