/* Homepage architecture only. Scoped under .home-page so other routes stay untouched. */

.home-page .home-hero { margin-bottom: 16px; }
.home-page .hero-actions a.play::before {
  content: "▶";
  display: inline-block;
  font-size: 11px;
  margin-right: 6px;
  transform: translateY(-0.5px);
}
.home-page .poster-score {
  color: var(--acc);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: .02em;
}
.home-page .poster-score::before {
  content: "◆";
  margin-right: 4px;
  font-size: 10px;
}

.home-page .floor-hd,
.home-page .home-week .sec-hd,
.home-page .home-sponsors .floor-hd {
  align-items: flex-start;
}
.home-page .floor-hd-txt { min-width: 0; }
.home-page .floor-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.home-page .home-week .sec-hd { margin-bottom: 10px; }

.home-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 28px;
}
.home-promo-slot {
  min-height: 92px;
  border-radius: 12px;
  border: 1px dashed #ffffff22;
  background:
    linear-gradient(120deg, rgba(248,207,3,.06), transparent 48%),
    linear-gradient(90deg, #242730, #1c1e26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .18em;
}
@media (max-width: 799px) {
  .home-promo { grid-template-columns: 1fr; }
}

.home-page .home-split { margin-bottom: 28px; }
.home-page .home-rank-list .rank-item:nth-child(-n+3) .rank-no {
  background: var(--acc);
  color: var(--acc-text);
}
.home-page .home-rank-list .rank-item:nth-child(1) .rank-no { background: var(--hot); color: #fff; }
.home-page .home-rank-list .rank-item:nth-child(2) .rank-no { background: #ff8a3d; color: #1a1208; }
.home-page .home-rank-list .rank-item:nth-child(n+4) .rank-no {
  background: transparent;
  color: var(--muted);
}

.home-sponsors { margin: 0 0 32px; }
.home-sponsors .sponsor-kicker {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}
.home-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.home-sponsor-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  padding: 12px 12px 12px 10px;
}
.home-sponsor-card:first-child { border-color: rgba(248,207,3,.35); }
.home-sponsor-no {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #ffffff14;
  color: var(--muted);
}
.home-sponsor-card:first-child .home-sponsor-no,
.home-sponsor-card:nth-child(2) .home-sponsor-no,
.home-sponsor-card:nth-child(3) .home-sponsor-no {
  background: var(--acc);
  color: var(--acc-text);
}
.home-sponsor-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffffaa;
  background: linear-gradient(160deg, #3a3340, #24222a);
}
.home-sponsor-meta { min-width: 0; }
.home-sponsor-name {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-sponsor-note {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1024px) {
  .home-sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-sponsor-grid { grid-template-columns: 1fr 1fr; }
}

.home-chans { margin: 4px 0 28px; }
.home-chan {
  position: relative;
  min-height: 168px;
  padding: 16px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.home-chan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,16,.2) 0%, rgba(8,10,16,.82) 100%);
}
.home-chan > * { position: relative; z-index: 1; }
.home-chan .chan-kicker {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 12px;
  color: #d0d2d6;
  letter-spacing: .04em;
}
.home-chan h3 { margin: 0 0 4px; font-size: 22px; color: #fff; }
.home-chan p { margin: 0; color: #d8dadd; font-size: 13px; }
.home-chan:hover h3 { color: #fff; }

.home-ad-lease {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 28px;
}
.home-ad-lease-slot {
  min-height: 96px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f3c000, var(--acc) 55%, #ffe36a);
  color: #3a2b00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 16px 12px;
}
.home-ad-lease-slot strong {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .12em;
  font-weight: 800;
  line-height: 1.2;
}
.home-ad-lease-slot span {
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .8;
}
@media (max-width: 799px) {
  .home-ad-lease { grid-template-columns: 1fr; }
}

.home-friends { margin: 0 0 12px; }
.home-friends h2 {
  margin: 0 0 10px;
  font-size: 16px;
}
.home-friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
}
.home-friend-links a { color: var(--muted); }
.home-friend-links a:hover { color: var(--acc); }

.home-notice {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 8, 14, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.home-notice-card {
  width: min(520px, 100%);
  background: #1c212b;
  border: 1px solid #ffffff12;
  border-radius: 14px;
  padding: 22px 24px 20px;
  box-shadow: var(--shadow);
}
.home-notice-card h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
}
.home-notice-lead {
  margin: 0 0 12px;
  text-align: center;
  font-size: 14px;
  color: #d8dadd;
}
.home-notice-lead em {
  font-style: normal;
  color: #ff5a4a;
  font-weight: 700;
}
.home-notice-card ul {
  margin: 0 0 8px;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: #d0d2d6;
}
.home-notice-card li { margin: 0 0 6px; }
.home-notice-card a { color: #7eb6ff; }
.home-notice-card a:hover { color: #fff; }
.home-notice-hl {
  background: var(--acc);
  color: var(--acc-text);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 14px 0 16px;
  font-size: 13px;
  line-height: 1.55;
}
.home-notice-ok {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  background: #ff8a00;
  color: #1a1208;
  font-weight: 800;
  font-size: 15px;
}
.home-notice-ok:hover { filter: brightness(1.05); }
