.page-home {
  --home-rail-w: 360px;
  --home-card-bg: rgba(26, 92, 72, 0.28);
  --home-card-bg-deep: rgba(10, 42, 32, 0.55);
  --home-grid-line: rgba(45, 225, 167, 0.13);
  background: linear-gradient(rgba(11, 61, 46, 0.82), rgba(10, 43, 32, 0.94)),
    repeating-linear-gradient(90deg, var(--home-grid-line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, var(--home-grid-line) 0 1px, transparent 1px 42px);
  color: var(--clr-text);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

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

.page-home .home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
  max-width: var(--container-w);
  margin: 0 auto;
  padding: var(--space-xl) 20px var(--space-lg);
}

.page-home .home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.07);
  color: var(--clr-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .home-hero h1 {
  margin: 6px 0 16px;
  font-family: var(--font-headline);
  font-size: var(--h1);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 0 32px rgba(45, 225, 167, 0.25);
}

.page-home .home-hero__lead {
  max-width: 56ch;
  margin: 0 0 20px;
  color: var(--clr-text-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.page-home .home-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.page-home .home-hero__facts div {
  padding: 10px 12px;
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: var(--radius-sm);
  background: var(--home-card-bg-deep);
}

.page-home .home-hero__facts dt {
  margin-bottom: 4px;
  color: var(--clr-text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.page-home .home-hero__facts dd {
  margin: 0;
  color: var(--clr-neon);
  font-family: var(--font-data);
  font-size: 1.25rem;
  font-weight: 700;
}

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

.page-home .home-hero__linkline {
  margin: 14px 0 0;
  font-size: 0.82rem;
}

.page-home .home-hero__linkline a {
  color: var(--clr-neon);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.page-home .home-hero__linkline a:hover {
  color: var(--clr-gold);
}

.page-home .home-hero__media {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 107, 53, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  background: var(--clr-dark);
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-home .home-hero__media-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 999px;
  background: rgba(10, 42, 32, 0.88);
  backdrop-filter: blur(4px);
  color: var(--clr-gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.page-home .home-hero__media-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-neon);
  box-shadow: 0 0 8px var(--clr-neon);
  animation: pageHomePulse 1.8s ease-in-out infinite;
}

@keyframes pageHomePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.page-home .home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px 72px;
}

.page-home .shot-panel,
.page-home .cards-panel,
.page-home .lineup-panel,
.page-home .venue-score-panel,
.page-home .report-panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(45, 225, 167, 0.3);
  border-radius: var(--radius-lg);
  background: var(--home-card-bg);
  box-shadow: var(--shadow-box);
}

.page-home .shot-panel::before,
.page-home .cards-panel::before,
.page-home .lineup-panel::before,
.page-home .venue-score-panel::before,
.page-home .report-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: var(--clr-neon);
}

.page-home .panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.page-home .panel-head h2 {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-headline);
  font-size: var(--h3);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.page-home .panel-head__index {
  margin-left: auto;
  color: rgba(45, 225, 167, 0.16);
  font-family: var(--font-headline);
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(2px);
}

.page-home .panel-desc {
  margin: 0 0 16px;
  color: var(--clr-text-dim);
  font-size: 0.875rem;
  line-height: 1.55;
}

.page-home .panel-head__more {
  padding-bottom: 2px;
  color: var(--clr-accent);
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}

.page-home .panel-head__more:hover {
  color: var(--clr-gold);
}

.page-home .shot-panel__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--clr-text-dim);
}

.page-home .shot-panel__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-neon);
}

.page-home .shot-panel__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-neon);
  box-shadow: 0 0 6px var(--clr-neon);
  animation: pageHomePulse 1.8s ease-in-out infinite;
}

.page-home .shot-panel__tablewrap {
  overflow-x: auto;
  border: 1px solid rgba(45, 225, 167, 0.28);
  border-radius: var(--radius-md);
  background: rgba(10, 42, 32, 0.35);
}

.page-home .shot-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-family: var(--font-data);
  font-size: 0.82rem;
  line-height: 1.4;
}

.page-home .shot-table thead th {
  padding: 10px 8px;
  background: rgba(10, 42, 32, 0.8);
  color: var(--clr-neon);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

.page-home .shot-table thead th:first-child {
  padding-left: 12px;
  text-align: left;
}

.page-home .shot-table tbody th,
.page-home .shot-table tbody td {
  padding: 10px 8px;
  border-top: 1px solid rgba(45, 225, 167, 0.16);
  white-space: nowrap;
  text-align: right;
}

.page-home .shot-table tbody th {
  padding-left: 12px;
  color: var(--clr-text);
  font-weight: 400;
  text-align: left;
}

.page-home .shot-table tbody td:last-child {
  color: var(--clr-gold);
  font-weight: 700;
}

.page-home .shot-table tbody tr:nth-child(even) {
  background: rgba(26, 92, 72, 0.18);
}

.page-home .shot-table tbody tr:hover {
  background: rgba(45, 225, 167, 0.12);
}

.page-home .shot-chart {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(45, 225, 167, 0.25);
  border-radius: var(--radius-md);
  background: var(--clr-dark);
}

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

.page-home .shot-panel__foot {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(45, 225, 167, 0.18);
  color: var(--clr-text-dim);
  font-size: 0.75rem;
}

.page-home .cards-panel .round-block {
  border-top: 1px solid rgba(45, 225, 167, 0.22);
}

.page-home .round-block__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  cursor: pointer;
  color: var(--clr-text);
  font-weight: 700;
  list-style: none;
  transition: color 0.2s ease;
}

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

.page-home .round-block__summary::after {
  content: "+";
  color: var(--clr-accent);
  font-family: var(--font-data);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.page-home .round-block[open] .round-block__summary::after {
  content: "–";
  color: var(--clr-gold);
}

.page-home .round-block__summary:hover {
  color: var(--clr-gold);
}

.page-home .round-block__meta {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  color: var(--clr-gold);
  font-family: var(--font-data);
  font-size: 0.76rem;
}

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

.page-home .round-block__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-left: 2px solid rgba(45, 225, 167, 0.5);
  border-radius: var(--radius-sm);
  background: rgba(10, 42, 32, 0.5);
  font-size: 0.82rem;
}

.page-home .round-block__list li span:last-child {
  color: var(--clr-warm-border);
  font-family: var(--font-data);
  font-size: 0.75rem;
  white-space: nowrap;
}

.page-home .rail-help {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-md);
  background: rgba(10, 42, 32, 0.4);
}

.page-home .rail-help p {
  margin: 0 0 12px;
  color: var(--clr-text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.page-home .rail-help a {
  color: var(--clr-neon);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .rail-help a:hover {
  color: var(--clr-gold);
}

.page-home .lineup-wrap {
  display: grid;
  gap: 20px;
  margin: 16px 0;
}

.page-home .lineup-list {
  padding: 14px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--radius-md);
  background: rgba(10, 42, 32, 0.4);
}

.page-home .lineup-list h3 {
  margin: 10px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(45, 225, 167, 0.25);
  color: var(--clr-neon);
  font-family: var(--font-headline);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home .lineup-list h3:first-child {
  margin-top: 0;
}

.page-home .lineup-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .lineup-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px;
  border-bottom: 1px dashed rgba(45, 225, 167, 0.15);
}

.page-home .lineup-list li:last-child {
  border-bottom: 0;
}

.page-home .lineup-pos {
  width: 28px;
  color: var(--clr-neon);
  font-family: var(--font-data);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .lineup-num {
  width: 24px;
  color: var(--clr-gold);
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 700;
}

.page-home .lineup-player__tip {
  margin-left: auto;
  color: var(--clr-text-dim);
  font-family: var(--font-data);
  font-size: 0.72rem;
}

.page-home .lineup-media {
  overflow: hidden;
  border: 1px solid rgba(45, 225, 167, 0.25);
  border-radius: var(--radius-md);
  background: var(--clr-dark);
}

.page-home .lineup-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .img-note {
  margin: 0;
  padding: 8px 12px;
  background: rgba(10, 42, 32, 0.5);
  color: var(--clr-text-dim);
  font-size: 0.78rem;
}

.page-home .score-list {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.page-home .score-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 107, 53, 0.5);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(10, 42, 32, 0.75) 0%, rgba(26, 92, 72, 0.35) 100%);
}

.page-home .score-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(45, 225, 167, 0.2), transparent 70%);
  pointer-events: none;
}

.page-home .score-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.page-home .score-card__teams span:first-child {
  text-align: right;
}

.page-home .score-card__num {
  min-width: 74px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(10, 42, 32, 0.6);
  color: var(--clr-gold);
  font-family: var(--font-headline);
  font-size: 1.7rem;
  text-align: center;
}

.page-home .score-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed rgba(45, 225, 167, 0.25);
}

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

.page-home .score-card__meta dt {
  color: var(--clr-text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .score-card__meta dd {
  margin: 0;
  color: var(--clr-text);
  font-family: var(--font-data);
  font-size: 0.82rem;
}

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

.page-home .report-list > li {
  padding: 14px 16px;
  border-left: 4px solid var(--clr-accent);
  border-radius: var(--radius-md);
  background: rgba(10, 42, 32, 0.5);
  transition: border-left-color 0.2s ease;
}

.page-home .report-list > li:hover {
  border-left-color: var(--clr-gold);
}

.page-home .report-list__tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--clr-neon);
  color: var(--clr-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-home .report-list h3 {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.page-home .report-list h3 a {
  color: inherit;
  text-decoration: none;
}

.page-home .report-list h3 a:hover {
  color: var(--clr-gold);
}

.page-home .report-list p {
  margin: 0 0 8px;
  color: var(--clr-text-dim);
  font-size: 0.85rem;
  line-height: 1.55;
}

.page-home .report-list__time {
  display: block;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 215, 0, 0.2);
  color: var(--clr-gold);
  font-family: var(--font-data);
  font-size: 0.74rem;
}

.page-home .venue-banner {
  position: relative;
  margin-top: 4px;
  overflow: hidden;
  border: 2px solid rgba(255, 107, 53, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
}

.page-home .venue-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .venue-banner__note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 520px;
  margin: 0;
  padding: 10px 14px;
  border-left: 4px solid var(--clr-gold);
  border-radius: var(--radius-sm);
  background: rgba(10, 42, 32, 0.88);
  color: var(--clr-text);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .page-home .lineup-player__tip {
    position: absolute;
    right: 6px;
    bottom: calc(100% + 6px);
    z-index: 5;
    display: none;
    margin-left: 0;
    padding: 6px 10px;
    border: 1px solid var(--clr-neon);
    border-radius: var(--radius-sm);
    background: rgba(10, 42, 32, 0.95);
    box-shadow: var(--shadow-float);
    color: var(--clr-text);
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .page-home .lineup-player:hover .lineup-player__tip {
    display: block;
  }
}

@media (min-width: 760px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .lineup-wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .home-layout {
    grid-template-columns: minmax(300px, var(--home-rail-w)) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px);
    padding-right: 6px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-neon) rgba(10, 42, 32, 0.4);
  }
}
