.page-home {
  --home-rail-w: 72px;
  --home-glow: rgba(255, 75, 30, 0.14);
  --home-sky-glow: rgba(46, 156, 230, 0.1);
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 88% 8%, var(--home-sky-glow), transparent 42%),
    radial-gradient(circle at 12% 30%, var(--home-glow), transparent 46%),
    var(--deepest);
  color: var(--light);
}

.page-home .breadcrumbs {
  max-width: 1200px;
  margin-inline: auto;
  padding: 16px clamp(20px, 4vw, 48px) 0;
}

.page-home .section-heading {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.page-home .section-heading .slanted-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  font-style: italic;
  transform: skewX(-6deg);
  color: var(--light);
  line-height: 1.12;
  margin: 0;
}

.page-home .section-heading .section-note {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
  margin: 0;
}

.page-home .section-tag {
  display: inline-flex;
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.page-home .home-hero {
  position: relative;
  padding: 20px 0 32px;
}

.page-home .hero-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  gap: 22px;
}

.page-home .hero-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--deep-2);
  border: 1px solid rgba(199, 208, 217, 0.16);
  border-radius: var(--radius);
  overflow-x: auto;
}

.page-home .hero-rail .index-label {
  flex-shrink: 0;
  color: var(--silver);
}

.page-home .round-index {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.page-home .round-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--deepest);
  border: 1px solid rgba(199, 208, 217, 0.14);
  color: var(--silver);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .round-link:hover {
  border-color: var(--orange);
  color: var(--light);
}

.page-home .hero-rail .is-current .round-link {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--light);
}

.page-home .round-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.page-home .round-state-text {
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-home .rail-note {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-light);
  margin-left: auto;
  line-height: 1.5;
  text-align: right;
}

.page-home .hero-main {
  padding: 8px 0;
}

.page-home .hero-main h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 7vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-style: italic;
  transform: skewX(-4deg);
  color: var(--light);
}

.page-home .hero-lead {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 0 24px;
}

.page-home .calendar-card {
  position: relative;
  background: linear-gradient(135deg, var(--deep-2) 0%, rgba(16, 42, 67, 0.72) 60%, rgba(16, 42, 67, 0.4) 100%);
  border: 1px solid rgba(199, 208, 217, 0.14);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}

.page-home .calendar-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 6px, 100% 100%, 0 calc(100% - 6px));
}

.page-home .calendar-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px dashed rgba(199, 208, 217, 0.2);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.page-home .calendar-card .status-line {
  font-size: 12px;
  color: var(--silver);
}

.page-home .match-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(199, 208, 217, 0.1);
}

.page-home .match-row:last-of-type {
  border-bottom: none;
}

.page-home .match-league {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--sky);
}

.page-home .match-desc {
  font-size: 14px;
  color: var(--light);
}

.page-home .match-state {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver);
  background: rgba(199, 208, 217, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-home .match-state.is-live {
  color: var(--light);
  background: var(--orange);
}

.page-home .calendar-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .calendar-card__more:hover {
  color: var(--orange-light);
}

.page-home .hero-rule-panel {
  display: grid;
  gap: 20px;
}

.page-home .rule-snippet {
  background: linear-gradient(145deg, rgba(255, 75, 30, 0.18), rgba(11, 28, 52, 0.4));
  border: 1px solid rgba(255, 75, 30, 0.32);
  border-radius: var(--radius);
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-home .rule-snippet__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 6px 0 12px;
  color: var(--light);
  line-height: 1.3;
}

.page-home .rule-snippet__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .rule-snippet__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
}

.page-home .rule-snippet__list li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-home .hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(199, 208, 217, 0.14);
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .chapter-jump {
  max-width: 1200px;
  margin: 8px auto 0;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}

.page-home .chapter-jump a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--silver);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid rgba(199, 208, 217, 0.2);
  border-radius: 6px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .chapter-jump a:hover,
.page-home .chapter-jump a.is-active {
  color: var(--light);
  background: var(--deep-2);
  border-color: var(--orange);
}

.page-home .round-focus {
  padding: 48px clamp(20px, 4vw, 48px) 8px;
  position: relative;
}

.page-home .focus-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .focus-card {
  position: relative;
  background: var(--deep-2);
  border: 1px solid rgba(199, 208, 217, 0.14);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 148px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .focus-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 75, 30, 0.5);
}

.page-home .focus-card--lead {
  background: linear-gradient(135deg, rgba(255, 75, 30, 0.9), rgba(255, 75, 30, 0.5)), var(--deep-2);
  border-color: transparent;
}

.page-home .focus-no {
  position: absolute;
  inset-inline-end: 14px;
  top: 10px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  color: rgba(246, 248, 252, 0.18);
}

.page-home .focus-card--lead .focus-no {
  color: rgba(6, 16, 32, 0.25);
}

.page-home .focus-league {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.page-home .focus-card--lead .focus-league {
  color: rgba(6, 16, 32, 0.75);
}

.page-home .focus-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--light);
}

.page-home .focus-meta {
  font-size: 13px;
  color: var(--silver);
  margin: 0;
  line-height: 1.6;
}

.page-home .calendar-overview {
  padding: 48px clamp(0, 0, 0) 8px;
  background: linear-gradient(180deg, transparent, rgba(16, 42, 67, 0.55), transparent);
}

.page-home .calendar-overview .section-heading {
  padding-inline: clamp(20px, 4vw, 48px);
}

.page-home .calendar-banner {
  margin: 0 auto 28px;
  max-width: 1200px;
  padding-inline: clamp(20px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .calendar-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .round-strip {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 86%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.page-home .round-card {
  scroll-snap-align: start;
  background: var(--deep-2);
  border: 1px solid rgba(199, 208, 217, 0.14);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}

.page-home .round-card--current {
  border-color: rgba(255, 75, 30, 0.6);
  background: linear-gradient(145deg, rgba(255, 75, 30, 0.1), var(--deep-2) 55%);
}

.page-home .round-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .round-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver);
  padding: 4px 8px;
  border: 1px solid rgba(199, 208, 217, 0.22);
  border-radius: 999px;
  white-space: nowrap;
}

.page-home .round-tag--done {
  color: var(--acid);
  border-color: rgba(230, 255, 63, 0.4);
}

.page-home .round-tag--live {
  color: var(--light);
  background: var(--orange);
  border-color: var(--orange);
}

.page-home .round-card__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--light);
}

.page-home .round-card__note {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
  margin: 0 0 16px;
}

.page-home .round-card__stats {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(199, 208, 217, 0.18);
}

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

.page-home .round-card__stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey);
}

.page-home .round-card__stats dd {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--light);
  margin: 0;
}

.page-home .round-expand {
  margin-top: 14px;
  border-top: 1px dashed rgba(199, 208, 217, 0.18);
  padding-top: 12px;
}

.page-home .round-expand summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  list-style: none;
}

.page-home .round-expand summary::-webkit-details-marker {
  display: none;
}

.page-home .round-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .round-list li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  font-size: 13px;
  color: var(--light);
  padding: 6px 2px;
  border-bottom: 1px dashed rgba(199, 208, 217, 0.1);
}

.page-home .round-list li span:first-child {
  font-family: var(--font-mono);
  color: var(--sky);
}

.page-home .round-list li span:last-child {
  color: var(--silver);
}

.page-home .calendar-overview__more {
  display: inline-flex;
  margin: 22px clamp(20px, 4vw, 48px) 0;
}

.page-home .rule-library {
  padding: 48px clamp(20px, 4vw, 48px) 8px;
}

.page-home .rules-layout {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  gap: 22px;
}

.page-home .rules-main {
  display: grid;
  gap: 16px;
}

.page-home .rule-entry {
  padding: 20px;
  background: var(--deep-2);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-home .rule-entry h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  margin: 8px 0 8px;
  color: var(--light);
  line-height: 1.4;
}

.page-home .rule-entry p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
  margin: 0 0 12px;
}

.page-home .rule-entry a {
  color: var(--sky);
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.page-home .rule-entry a:hover {
  color: var(--orange-light);
}

.page-home .rules-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(199, 208, 217, 0.14);
}

.page-home .rules-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .workbench {
  padding: 48px clamp(20px, 4vw, 48px) 16px;
  background: linear-gradient(180deg, transparent, rgba(46, 156, 230, 0.06), transparent);
}

.page-home .workbench-panel {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  gap: 0;
  background: var(--deep-2);
  border: 1px solid rgba(199, 208, 217, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .workbench-col {
  padding: 22px 20px;
}

.page-home .workbench-col--a {
  background: linear-gradient(145deg, rgba(255, 75, 30, 0.14), transparent 60%);
  border-bottom: 1px dashed rgba(199, 208, 217, 0.2);
}

.page-home .workbench-col__head {
  margin-bottom: 16px;
}

.page-home .workbench-col__head h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 6px 0 0;
  color: var(--light);
}

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

.page-home .workbench-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--silver);
  padding: 8px 10px;
  background: rgba(6, 16, 32, 0.4);
  border-radius: 6px;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .workbench-list li:hover {
  border-color: rgba(46, 156, 230, 0.5);
  background: rgba(16, 42, 67, 0.7);
}

.page-home .workbench-list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sky);
}

.page-home .workbench-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
  background: var(--deepest);
  padding: 8px 0;
  letter-spacing: 0.2em;
}

.page-home .workbench-stats {
  list-style: none;
  margin: 22px auto 0;
  padding: 18px 0 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border-top: 1px dashed rgba(199, 208, 217, 0.2);
}

.page-home .workbench-stats li {
  background: rgba(16, 42, 67, 0.55);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .workbench-stats__num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.page-home .workbench-stats__label {
  font-size: 12px;
  color: var(--silver);
}

.page-home .workbench-actions {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .latest-news {
  padding: 48px clamp(20px, 4vw, 48px) 32px;
}

.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .news-item {
  position: relative;
  background: var(--deep-2);
  border: 1px solid rgba(199, 208, 217, 0.14);
  border-radius: var(--radius);
  padding: 20px 20px 20px 26px;
}

.page-home .news-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--sky);
  border-radius: 99px;
}

.page-home .news-item:nth-child(2)::before {
  background: var(--acid);
}

.page-home .news-item:nth-child(3)::before {
  background: var(--orange);
}

.page-home .news-item__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--orange);
  background: rgba(255, 75, 30, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.page-home .news-item__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--light);
  line-height: 1.4;
}

.page-home .news-item__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
  margin: 0 0 12px;
}

.page-home .news-item__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
}

.page-home .news-item__link:hover {
  color: var(--orange-light);
}

.page-home .home-atmosphere {
  margin: 0;
  padding: 24px clamp(20px, 4vw, 48px) 48px;
}

.page-home .home-atmosphere img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .page-home .hero-wrap {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr) minmax(260px, 310px);
    align-items: start;
    gap: 28px;
  }

  .page-home .hero-rail {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 12px;
    border-radius: var(--radius);
    position: sticky;
    top: 24px;
    overflow: visible;
  }

  .page-home .hero-rail .index-label {
    align-self: center;
  }

  .page-home .round-index {
    flex-direction: column;
    gap: 10px;
  }

  .page-home .round-link {
    min-width: 56px;
  }

  .page-home .rail-note {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  .page-home .hero-main h1 {
    font-size: clamp(40px, 5vw, 58px);
  }

  .page-home .round-focus {
    padding-top: 56px;
  }

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

  .page-home .round-strip {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .rules-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }

  .page-home .workbench-panel {
    grid-template-columns: 1fr 44px 1fr;
  }

  .page-home .workbench-col--a {
    border-bottom: none;
    border-right: 1px dashed rgba(199, 208, 217, 0.18);
  }

  .page-home .workbench-divider {
    padding: 0;
  }

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

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

  .page-home .home-atmosphere img {
    aspect-ratio: 4 / 1;
  }
}
