.page-home {
  --home-accent-bg: #FFF1DC;
}

.page-home .home-strip {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--c-navy);
  border-bottom: 4px solid var(--c-accent);
}

.page-home .home-strip__img {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) saturate(0.86);
}

.page-home .home-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 29, 58, 0.82) 0%, rgba(11, 29, 58, 0.26) 52%, rgba(242, 140, 40, 0.18) 100%);
  pointer-events: none;
}

.page-home .home-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  z-index: 2;
  background: var(--c-bg);
  clip-path: polygon(0 100%, 16% 0, 100% 100%);
  pointer-events: none;
}

.page-home .home-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 4px;
}

.page-home .home-status-bar .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.page-home .home-status-bar .breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
}

.page-home .home-status-bar .breadcrumb a:hover {
  color: var(--c-accent-2);
}

.page-home .home-status-bar__stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c-line);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted);
  background: var(--c-white);
}

.page-home .home-status-bar__stamp-time {
  color: var(--c-accent-2);
  font-weight: 700;
}

.page-home .page-intro {
  border-left: 6px solid var(--c-accent);
  padding: 14px 4px 16px 20px;
  margin-top: 8px;
}

.page-home .page-intro__index {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--c-accent-2);
  font-weight: 700;
}

.page-home .page-intro__title {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.16;
  color: var(--c-navy);
}

.page-home .page-intro__desc {
  max-width: 960px;
  color: var(--c-ink);
}

.page-home .bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 28px 0 40px;
}

.page-home .panel {
  position: relative;
}

.page-home .panel::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 22px;
  width: 34px;
  height: 4px;
  background: var(--c-accent);
  transform: skewX(-20deg);
}

.page-home .panel__label {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 13px;
  color: var(--c-accent-2);
  text-transform: uppercase;
}

.page-home .panel--dark {
  background: var(--c-navy);
  border-color: var(--c-navy);
}

.page-home .panel--dark .panel__label {
  color: var(--c-accent);
}

.page-home .panel--dark .panel__title,
.page-home .panel--dark .panel__desc,
.page-home .panel--dark .panel__text {
  color: var(--c-white);
}

.page-home .filter-panel__desc {
  margin: 10px 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

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

.page-home .filter-tags__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: var(--c-navy-2);
  color: var(--c-white);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 15px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.page-home .filter-tags__link:hover,
.page-home .filter-tags__link:focus-visible {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateX(4px);
  outline: none;
}

.page-home .filter-tags__code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  min-width: 34px;
}

.page-home .filter-tags__link:hover .filter-tags__code,
.page-home .filter-tags__link:focus-visible .filter-tags__code {
  color: var(--c-navy);
}

.page-home .filter-tags__name {
  flex: 1;
}

.page-home .filter-tags__arrow {
  font-size: 16px;
}

.page-home .filter-panel__foot {
  margin-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.page-home .filter-panel__more {
  color: var(--c-accent);
  text-decoration: none;
  font-size: 14px;
}

.page-home .filter-panel__more:hover {
  color: var(--c-white);
}

.page-home .matchup-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.page-home .matchup-panel .panel__title {
  color: var(--c-navy);
  margin: 4px 0 8px;
}

.page-home .matchup-panel__chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 14px 0;
  border: 1px solid var(--c-line);
  box-shadow: 2px 2px 0 var(--c-line);
}

.page-home .table-wrap {
  overflow-x: auto;
  margin: 12px 0 10px;
}

.page-home .data-table--matchup {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .data-table--matchup th {
  background: var(--c-navy);
  color: var(--c-white);
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  padding: 10px 12px;
  white-space: nowrap;
}

.page-home .data-table--matchup td {
  border-bottom: 1px solid var(--c-line);
  padding: 12px;
  white-space: nowrap;
}

.page-home .data-table--matchup tbody tr {
  transition: background 0.2s;
}

.page-home .data-table--matchup tbody tr:hover {
  background: var(--home-accent-bg);
}

.page-home .league-pill {
  display: inline-block;
  padding: 3px 8px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 12px;
  font-family: var(--font-mono);
}

.page-home .team-name {
  color: var(--c-ink);
  font-weight: 700;
}

.page-home .vs-mark {
  display: inline-block;
  margin: 0 6px;
  padding: 2px 6px;
  background: var(--c-accent);
  color: var(--c-navy);
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-home .stat-strong {
  color: var(--c-green);
  font-family: var(--font-mono);
}

.page-home .form-chip {
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
}

.page-home .form-chip--up {
  border-color: rgba(0, 166, 118, 0.4);
  color: var(--c-green);
}

.page-home .matchup-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.page-home .injury-panel .panel__title {
  color: var(--c-navy);
  margin: 4px 0 8px;
}

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

.page-home .injury-list__item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  box-shadow: 2px 2px 0 var(--c-line);
}

.page-home .injury-list__badge {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--c-white);
}

.page-home .injury-list__badge--red {
  background: var(--c-red);
}

.page-home .injury-list__badge--green {
  background: var(--c-green);
}

.page-home .injury-list__body {
  display: grid;
  gap: 2px;
}

.page-home .injury-list__team {
  font-size: 14px;
  color: var(--c-ink);
}

.page-home .injury-list__detail {
  font-size: 12px;
  color: var(--c-muted);
}

.page-home .injury-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px dashed var(--c-line);
  padding-top: 12px;
}

.page-home .channel-panel .panel__title {
  color: var(--c-navy);
  margin: 4px 0 8px;
}

.page-home .channel-panel__text {
  font-size: 14px;
}

.page-home .channel-panel__map {
  width: 100%;
  height: auto;
  display: block;
  margin: 14px 0;
  border: 1px solid var(--c-line);
}

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

.page-home .channel-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink);
}

.page-home .member-panel .panel__title {
  margin: 4px 0 8px;
}

.page-home .member-panel__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.page-home .member-panel__media {
  display: block;
  max-width: 180px;
  margin: 16px auto;
  padding: 10px 8px 8px;
  border: 6px solid var(--c-navy-2);
  background: var(--c-white);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.page-home .member-panel__media:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.22);
}

.page-home .member-panel__img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-home .feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  background: var(--c-accent);
  transform: skewX(-12deg);
}

.page-home .trust-strip {
  position: relative;
  background: var(--c-navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 30px 26px;
  margin-bottom: 30px;
  display: grid;
  gap: 10px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .trust-strip__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-accent);
  letter-spacing: 0.16em;
}

.page-home .trust-strip__text {
  font-size: 14px;
  line-height: 1.7;
  max-width: 780px;
}

.page-home .trust-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .trust-strip .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--c-white);
}

.page-home .trust-strip .btn--ghost:hover,
.page-home .trust-strip .btn--ghost:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent);
  outline: none;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .bento-cell {
    animation: homeCellIn 0.45s ease both;
  }
  .page-home .bento-cell--matchup {
    animation-delay: 0.06s;
  }
  .page-home .bento-cell--injury {
    animation-delay: 0.12s;
  }
  .page-home .bento-cell--channel {
    animation-delay: 0.18s;
  }
  .page-home .bento-cell--member {
    animation-delay: 0.24s;
  }
}

@keyframes homeCellIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .page-home .home-strip {
    height: 320px;
  }

  .page-home .bento-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .bento-cell--filter {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
  }

  .page-home .bento-cell--matchup {
    grid-column: 5 / 13;
    grid-row: 1 / 2;
  }

  .page-home .bento-cell--channel {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
  }

  .page-home .bento-cell--member {
    grid-column: 9 / 13;
    grid-row: 2 / 3;
  }

  .page-home .bento-cell--injury {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
  }

  .page-home .trust-strip {
    grid-template-columns: 180px 1fr auto;
    align-items: center;
  }
}
