.page-home {
  --home-chip-border: rgba(0, 212, 255, 0.35);
  --home-rail-card-w: 240px;
  overflow-x: clip;
}

.page-home .hero-strip {
  position: relative;
  padding: 26px 0 46px;
  background:
    repeating-linear-gradient(115deg, rgba(0, 212, 255, 0.055) 0 2px, transparent 2px 28px),
    linear-gradient(120deg, #0B0E14 0%, #1A1233 58%, #241B4E 100%);
}

.page-home .hero-strip::before {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  margin-bottom: 18px;
}

.page-home .home-titleband {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.22);
}

.page-home .home-titleband h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(22px, 4.6vw, 32px);
  line-height: 1.24;
  font-weight: 700;
  color: var(--text-strong);
}

.page-home .eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-titleband-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-quicknav a {
  padding: 5px 12px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 99px;
  background: rgba(0, 212, 255, 0.04);
  color: var(--cyan);
  font-size: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .home-quicknav a:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.6);
}

.page-home .home-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .batch-chip {
  padding: 6px 10px;
  border: 1px solid var(--home-chip-border);
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.1);
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-strong);
  white-space: nowrap;
}

.page-home .batch-chip b {
  color: var(--cyan);
  font-weight: 500;
}

.page-home .hero-asym {
  display: grid;
  gap: 30px;
  align-items: start;
}

.page-home .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.page-home .section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-strong);
}

.page-home .section-sub {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-weak);
}

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

.page-home .home-new-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-new-card:hover {
  border-color: rgba(0, 212, 255, 0.6);
  background: var(--card-highlight);
}

.page-home .home-new-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.page-home .home-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.page-home .home-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.page-home .home-new-card:hover .home-frame img {
  transform: scale(1.03);
}

.page-home .home-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.14), rgba(11, 14, 20, 0.66) 72%);
}

.page-home .home-new-card:nth-child(3n + 2) .home-frame::after {
  background: linear-gradient(160deg, rgba(255, 215, 0, 0.16), rgba(11, 14, 20, 0.66) 72%);
}

.page-home .home-new-card:nth-child(3n) .home-frame::after {
  background: linear-gradient(160deg, rgba(57, 255, 20, 0.14), rgba(11, 14, 20, 0.66) 72%);
}

.page-home .quality-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 2px 7px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 4px;
  background: rgba(11, 14, 20, 0.78);
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 10px 12px;
}

.page-home .card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
}

.page-home .card-meta {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-weak);
}

.page-home .home-new-card .tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}

.page-home .hero-side-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.page-home .rank-head {
  margin-bottom: 0;
}

.page-home .rank-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .rank-switch-item {
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-weak);
  font-size: 12px;
  text-decoration: none;
}

.page-home .rank-switch-item.is-current,
.page-home .rank-switch-item[aria-current="true"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #0B0E14;
  font-weight: 700;
}

.page-home .home-rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .rank-row {
  position: relative;
  padding: 10px 44px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 27, 34, 0.92);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .rank-row:hover {
  border-color: rgba(255, 215, 0, 0.55);
  background: var(--card-highlight);
}

.page-home .rank-index {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1.3;
}

.page-home .rank-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.page-home .rank-meta {
  margin: 3px 0 6px;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-weak);
}

.page-home .rank-row .metric-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-home .rank-row .metric-track {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #0B0E14;
}

.page-home .rank-row .metric-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.page-home .rank-row .metric-value {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--yellow);
  white-space: nowrap;
}

.page-home .rank-league-tag {
  position: absolute;
  top: 8px;
  right: 8px;
}

.page-home .rank-decor {
  display: block;
  width: 100%;
  max-height: 110px;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0.6;
  margin-top: 4px;
}

.page-home .league-zone {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 104px;
  overflow: hidden;
  padding: 16px 14px;
}

.page-home .home-tile .tile-name {
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-tile .tile-count {
  margin-top: 6px;
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 500;
}

.page-home .tile-state {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

.page-home .tile-corner {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-strong);
  opacity: 0.35;
}

.page-home .watch-zone {
  position: relative;
  overflow: hidden;
}

.page-home .home-watch-rail {
  margin: 0 -16px;
  padding: 0 16px 4px;
}

.page-home .rail-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-watch-card {
  flex: 0 0 var(--home-rail-card-w);
  scroll-snap-align: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-watch-card:hover {
  border-color: rgba(0, 255, 127, 0.5);
  background: var(--card-highlight);
}

.page-home .watch-card-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.page-home .watch-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.page-home .watch-team {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
}

.page-home .watch-league {
  margin: 2px 0 8px;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-weak);
}

.page-home .home-watch-card .metric-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-watch-card .metric-track {
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-watch-card .metric-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.page-home .home-watch-card .metric-value {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
}

.page-home .watch-record {
  margin: 8px 0 0;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-weak);
}

.page-home .watch-banner {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 20px;
  opacity: 0.55;
}

.page-home .stats-zone {
  border-top: 1px solid var(--line);
}

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

.page-home .stat-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-bg);
}

.page-home .stat-label {
  margin: 0;
  font-size: 12px;
  color: var(--text-weak);
}

.page-home .stat-num {
  margin: 8px 0 4px;
  font-family: var(--font-data);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-strong);
}

.page-home .stat-sub {
  margin: 0;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--green);
}

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

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

  .page-home .stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 1080px) {
  .page-home .hero-asym {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }
}

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

  .page-home .home-watch-rail {
    margin: 0;
    padding: 0;
  }
}

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