.page-home{
  --home-radius:28px;
  --home-gap:clamp(18px,3.2vw,32px);
  --home-pad:clamp(18px,3vw,34px);
  display:block;
  background-color:var(--paper);
  background-image:radial-gradient(rgba(16,24,32,.05) 1px,transparent 1px);
  background-size:20px 20px;
  color:var(--ink);
  font-family:var(--font-sans);
  padding-block:clamp(14px,2.4vw,22px) clamp(48px,8vw,88px);
  overflow-x:clip;
}

.page-home .home-wrap{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

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

/* ---------- kicker ---------- */
.page-home .home-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 clamp(12px,2vw,18px);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.14em;
  color:var(--slate);
}
.page-home .home-kicker__dot{
  width:8px;height:8px;
  border-radius:50%;
  background:var(--lime);
  box-shadow:0 0 0 4px rgba(200,255,61,.3);
  flex:none;
}

/* ---------- hero ---------- */
.page-home .hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--home-gap);
}

.page-home .hero-copy{
  display:flex;
  flex-direction:column;
  gap:clamp(14px,2.2vw,22px);
  padding:var(--home-pad);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--home-radius);
  box-shadow:var(--shadow-panel);
  min-width:0;
}

.page-home .hero-eyebrow{
  margin:0;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.16em;
  color:var(--blue);
}

.page-home .hero-title{
  margin:0;
  font-size:clamp(27px,6.2vw,52px);
  line-height:1.16;
  font-weight:300;
  letter-spacing:-.01em;
  text-wrap:balance;
}
.page-home .hero-title strong{
  font-weight:800;
  color:var(--blue-deep);
}

.page-home .hero-lede{
  margin:0;
  max-width:34em;
  font-size:clamp(15px,1.7vw,17px);
  line-height:1.8;
  color:var(--slate);
}

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

/* ---------- watch list ---------- */
.page-home .watch{
  margin-top:auto;
  padding-top:clamp(12px,2vw,18px);
  border-top:1px dashed var(--line);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.page-home .watch__head{
  display:flex;
  align-items:center;
  gap:10px;
}
.page-home .watch__title{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.14em;
  color:var(--slate);
}
.page-home .watch__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}
.page-home .watch-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:var(--r-md);
  background:rgba(220,231,245,.6);
  border:1px solid transparent;
  transition:border-color .2s ease,background-color .2s ease;
}
.page-home .watch-item:hover{
  border-color:var(--blue);
  background:var(--mist);
}
.page-home .watch-item__idx{
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:700;
  color:var(--slate);
}
.page-home .watch-item__body{ min-width:0; }
.page-home .watch-item__team{
  display:block;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
}
.page-home .watch-item__meta{
  display:block;
  margin-top:2px;
  font-size:12px;
  line-height:1.5;
  color:var(--slate);
}
.page-home .watch__note{
  margin:0;
  font-size:12px;
  line-height:1.6;
  color:var(--slate);
}
.page-home .watch__note a{
  color:var(--blue-deep);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(11,58,143,.3);
}

/* ---------- status pill ---------- */
.page-home .status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 9px;
  border-radius:var(--r-pill);
  font-size:11px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.01em;
  white-space:nowrap;
  flex:none;
}
.page-home .status-pill--lime{ background:var(--lime); color:var(--ink); }
.page-home .status-pill--orange{ background:var(--orange); color:var(--ink); }
.page-home .status-pill--brick{ background:var(--brick); color:var(--card); }
.page-home .status-pill--mist{ background:var(--mist); color:var(--ink); }
.page-home .status-pill--blue{ background:var(--blue); color:var(--paper); }

/* ---------- scoreboard ---------- */
.page-home .board{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:clamp(14px,2.4vw,22px);
  padding:var(--home-pad);
  border-radius:var(--home-radius);
  background:linear-gradient(155deg,#101820 0%,#14263A 46%,#0B3A8F 100%);
  color:var(--paper);
  overflow:hidden;
  min-height:320px;
}
.page-home .board::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(90deg,rgba(244,239,230,.07) 0 1px,transparent 1px 72px),
    radial-gradient(circle at 84% 8%,rgba(18,104,243,.55),transparent 62%);
  pointer-events:none;
}
.page-home .board::after{
  content:"";
  position:absolute;
  right:-64px;
  bottom:-76px;
  width:210px;
  height:210px;
  border:1px dashed rgba(200,255,61,.32);
  border-radius:50%;
  pointer-events:none;
}
.page-home .board > *{
  position:relative;
  z-index:1;
}
.page-home .board__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.16em;
  color:rgba(244,239,230,.62);
}
.page-home .board__match{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:clamp(8px,2vw,16px);
  margin-block:auto;
}
.page-home .board__side{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.page-home .board__side--away{
  align-items:flex-end;
  text-align:right;
}
.page-home .board__role{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.14em;
  color:rgba(244,239,230,.55);
}
.page-home .board__name{
  font-size:clamp(15px,2.4vw,19px);
  font-weight:500;
  line-height:1.3;
  word-break:break-word;
}
.page-home .board__score{
  display:flex;
  align-items:baseline;
  gap:8px;
  font-family:var(--font-mono);
  font-weight:800;
  font-size:clamp(32px,8vw,54px);
  line-height:1;
  color:var(--card);
}
.page-home .board__sep{
  color:var(--orange);
  font-size:.62em;
}
.page-home .board__foot{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:10px;
  padding-top:clamp(10px,1.8vw,16px);
  border-top:1px solid rgba(244,239,230,.16);
}
.page-home .board__note{
  margin:0;
  flex:1 1 180px;
  min-width:0;
  font-size:12px;
  line-height:1.7;
  color:rgba(244,239,230,.66);
}

/* ---------- section head ---------- */
.page-home .home-section{
  margin-top:clamp(30px,5.5vw,60px);
}
.page-home .home-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  column-gap:clamp(12px,2vw,20px);
  row-gap:6px;
  align-items:baseline;
  margin-bottom:clamp(14px,2.4vw,22px);
}
.page-home .home-head__index{
  grid-column:1;
  grid-row:1 / span 2;
  font-family:var(--font-mono);
  font-size:clamp(28px,5vw,46px);
  font-weight:800;
  line-height:1;
  color:var(--blue);
  letter-spacing:-.02em;
}
.page-home .home-head__title{
  grid-column:2;
  margin:0;
  font-size:clamp(19px,2.7vw,28px);
  font-weight:500;
  line-height:1.35;
  text-wrap:balance;
}
.page-home .home-head__note{
  grid-column:2;
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:var(--slate);
  max-width:56em;
}

/* ---------- round rail ---------- */
.page-home .round-rail{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:14px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.page-home .round-card{
  flex:0 0 clamp(176px,46vw,222px);
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  border-radius:var(--r-lg);
  border:1px solid var(--line);
  background:var(--card);
  overflow:hidden;
  box-shadow:var(--shadow-panel);
}
.page-home .round-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:9px 12px;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.08em;
  color:var(--slate);
}
.page-home .round-side{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 12px;
  font-size:13px;
  line-height:1.4;
}
.page-home .round-side--home{
  background:var(--ink);
  color:var(--paper);
}
.page-home .round-side--away{
  background:var(--mist);
  color:var(--ink);
}
.page-home .round-side__role{
  font-family:var(--font-mono);
  font-size:11px;
  opacity:.62;
  flex:none;
}
.page-home .round-side__team{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.page-home .round-side__score{
  font-family:var(--font-mono);
  font-weight:800;
  font-size:17px;
  flex:none;
}
.page-home .round-side--home .round-side__score{ color:var(--lime); }

/* ---------- figure ---------- */
.page-home .home-figure{
  position:relative;
  margin:clamp(14px,2.4vw,22px) 0 0;
  border-radius:var(--home-radius);
  overflow:hidden;
  background:var(--ink);
  border:1px solid var(--line);
}
.page-home .home-figure img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;
}
.page-home .home-figure figcaption{
  position:absolute;
  inset-inline:0;
  bottom:0;
  padding:clamp(28px,6vw,52px) clamp(14px,2.6vw,24px) clamp(12px,2vw,18px);
  font-size:12px;
  line-height:1.7;
  color:var(--paper);
  background:linear-gradient(to top,rgba(16,24,32,.9),rgba(16,24,32,.35) 55%,transparent);
}

/* ---------- clubs ---------- */
.page-home .clubs-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
}
.page-home .club-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:clamp(16px,2.4vw,22px);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-panel);
  min-width:0;
}
.page-home .club-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.page-home .club-card__name{
  margin:0;
  font-size:clamp(17px,2.2vw,20px);
  font-weight:600;
  line-height:1.35;
}
.page-home .club-card__meta{
  margin:0;
  font-size:13px;
  line-height:1.7;
  color:var(--slate);
}
.page-home .club-card__form{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.page-home .form-dot{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:9px;
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:700;
}
.page-home .form-dot--win{ background:var(--lime); color:var(--ink); }
.page-home .form-dot--draw{ background:var(--mist); color:var(--slate); }
.page-home .form-dot--loss{ background:var(--brick); color:var(--card); }
.page-home .club-card__link{
  margin-top:auto;
  padding-top:8px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:600;
  color:var(--blue-deep);
  text-decoration:none;
}
.page-home .club-card__link::after{
  content:"→";
  transition:transform .2s ease;
}
.page-home .club-card__link:hover::after{ transform:translateX(4px); }

.page-home .club-media{
  position:relative;
  margin:0;
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--ink);
  border:1px solid var(--line);
  min-height:200px;
}
.page-home .club-media img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
.page-home .club-media figcaption{
  position:absolute;
  inset-inline:0;
  bottom:0;
  padding:clamp(26px,5vw,42px) 16px 14px;
  font-size:12px;
  line-height:1.65;
  color:var(--paper);
  background:linear-gradient(to top,rgba(16,24,32,.9),transparent);
}

/* ---------- standings ---------- */
.page-home .standings-stage{
  position:relative;
  padding-bottom:24px;
}
.page-home .standings-sheet--back,
.page-home .standings-sheet--mid{
  position:absolute;
  inset:0;
  border-radius:var(--home-radius);
  pointer-events:none;
}
.page-home .standings-sheet--back{
  background:var(--mist);
  transform:translateY(16px) scale(.972);
  opacity:.9;
}
.page-home .standings-sheet--mid{
  background:var(--blue-deep);
  transform:translateY(8px) scale(.986);
  opacity:.3;
}
.page-home .standings-sheet--front{
  position:relative;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--home-radius);
  box-shadow:var(--shadow-panel);
  overflow:hidden;
}
.page-home .standings-bg{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.1;
  pointer-events:none;
}
.page-home .standings-bg img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.page-home .standings-body{
  position:relative;
  z-index:1;
}
.page-home .standings-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  padding:clamp(13px,2.2vw,18px) clamp(14px,2.2vw,20px);
  border-bottom:1px solid var(--line);
  background:rgba(244,239,230,.86);
}
.page-home .standings-bar__note{
  font-size:12px;
  line-height:1.6;
  color:var(--slate);
}
.page-home .standings-scroll{
  overflow-x:auto;
}
.page-home .standings-table{
  width:100%;
  min-width:540px;
  border-collapse:collapse;
  font-size:14px;
}
.page-home .standings-table th,
.page-home .standings-table td{
  padding:11px 12px;
  text-align:center;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.page-home .standings-table thead th{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.08em;
  font-weight:600;
  color:var(--slate);
  background:rgba(220,231,245,.4);
}
.page-home .standings-table tbody th{
  text-align:left;
  font-weight:600;
  font-size:14px;
}
.page-home .standings-table tbody tr:nth-child(even) td,
.page-home .standings-table tbody tr:nth-child(even) th{
  background:rgba(220,231,245,.36);
}
.page-home .standings-table tbody tr:last-child td,
.page-home .standings-table tbody tr:last-child th{
  border-bottom:0;
}
.page-home .standings-table .cell-points{
  font-family:var(--font-mono);
  font-weight:800;
  font-size:15px;
  color:var(--blue-deep);
}
.page-home .rank-badge{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:8px;
  background:var(--mist);
  color:var(--ink);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:800;
}
.page-home .rank-badge--lead{
  background:var(--lime);
  color:var(--ink);
}

/* ---------- downloads ---------- */
.page-home .dl-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}
.page-home .dl-card{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:clamp(16px,2.2vw,20px);
  border-radius:var(--r-lg);
  background:var(--mist);
  border:1px solid transparent;
  color:var(--ink);
  text-decoration:none;
  transition:transform .2s ease,background-color .2s ease,border-color .2s ease;
}
.page-home .dl-card:hover{
  background:var(--card);
  border-color:var(--blue);
  transform:translateY(-3px);
}
.page-home .dl-card__icon{
  position:relative;
  width:32px;
  height:32px;
  border-radius:10px;
  background:var(--blue);
  flex:none;
}
.page-home .dl-card__icon::before{
  content:"";
  position:absolute;
  inset:9px;
  border-radius:4px;
  background:var(--lime);
}
.page-home .dl-card:nth-child(2) .dl-card__icon{ background:var(--blue-deep); }
.page-home .dl-card:nth-child(3) .dl-card__icon{ background:var(--orange); }
.page-home .dl-card:nth-child(3) .dl-card__icon::before{ background:var(--card); }
.page-home .dl-card:nth-child(4) .dl-card__icon{ background:var(--ink); }
.page-home .dl-card__name{
  font-size:15px;
  font-weight:600;
  line-height:1.4;
}
.page-home .dl-card__desc{
  font-size:13px;
  line-height:1.7;
  color:var(--slate);
}
.page-home .dl-foot{
  margin:clamp(12px,2vw,18px) 0 0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  font-size:13px;
  line-height:1.7;
  color:var(--slate);
}
.page-home .dl-foot a{
  color:var(--blue-deep);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(11,58,143,.3);
}

/* ---------- scenes ---------- */
.page-home .scene-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
}
.page-home .scene-card{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:clamp(18px,2.6vw,24px);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-panel);
  min-width:0;
}
.page-home .scene-card__step{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.16em;
  color:var(--orange);
}
.page-home .scene-card__title{
  margin:0;
  font-size:clamp(16px,2vw,18px);
  font-weight:600;
  line-height:1.4;
}
.page-home .scene-card__text{
  margin:0;
  font-size:13px;
  line-height:1.8;
  color:var(--slate);
}
.page-home .scene-media{
  position:relative;
  margin:0;
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--ink);
  border:1px solid var(--line);
  min-height:180px;
}
.page-home .scene-media img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
.page-home .scene-help{
  margin-top:clamp(14px,2.2vw,20px);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 16px;
  padding:14px clamp(16px,2.2vw,22px);
  border-radius:var(--r-pill);
  background:var(--ink);
  color:rgba(244,239,230,.82);
  font-size:13px;
  line-height:1.7;
}
.page-home .scene-help span{
  flex:1 1 240px;
  min-width:0;
}
.page-home .scene-help a{
  color:var(--lime);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(200,255,61,.5);
  white-space:nowrap;
}

/* ---------- closing ---------- */
.page-home .home-close__inner{
  display:flex;
  flex-direction:column;
  gap:clamp(10px,1.8vw,16px);
  padding:clamp(22px,4vw,40px);
  border-radius:var(--home-radius);
  border:1px solid var(--line);
  background:linear-gradient(135deg,var(--mist) 0%,var(--card) 62%);
  box-shadow:var(--shadow-panel);
}
.page-home .home-close__title{
  margin:0;
  font-size:clamp(21px,3.2vw,32px);
  font-weight:300;
  line-height:1.3;
}
.page-home .home-close__text{
  margin:0;
  max-width:38em;
  font-size:14px;
  line-height:1.8;
  color:var(--slate);
}
.page-home .home-close__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px;
}

/* ---------- responsive ---------- */
@media (min-width:700px){
  .page-home .clubs-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-home .dl-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-home .scene-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (min-width:900px){
  .page-home .hero{
    grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
    align-items:stretch;
  }
}

@media (min-width:1040px){
  .page-home .clubs-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }
  .page-home .club-card:nth-child(2),
  .page-home .club-card:nth-child(5){ margin-top:30px; }
  .page-home .dl-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
  .page-home .scene-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .page-home .scene-card{ grid-column:span 1; }
  .page-home .round-card{ flex-basis:236px; }
  .page-home .standings-table{ min-width:0; }
}

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

@media (prefers-reduced-motion:reduce){
  .page-home .dl-card,
  .page-home .watch-item,
  .page-home .club-card__link::after{ transition:none; }
  .page-home .dl-card:hover{ transform:none; }
}
