.page-home {
  --home-corn-cut: 12px;
  --home-gap-sm: 12px;
  --home-gap-lg: 20px;
  --home-panel-bg: rgba(20, 58, 107, 0.42);
  --home-line-indent: 22px;
  color: var(--s-text);
}

.page-home .home-alert {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: linear-gradient(100deg, rgba(255, 107, 53, 0.96) 0%, rgba(216, 74, 31, 0.96) 100%);
  border-left: 4px solid var(--s-accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.page-home .home-alert__sign {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0B1D3A;
  color: #FF6B35;
  font: 700 14px/1 var(--s-font-mono);
  flex-shrink: 0;
}

.page-home .home-alert__link {
  flex: 1;
  color: #0B1D3A;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.page-home .home-alert__close {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(11, 29, 58, 0.4);
  background: transparent;
  color: #0B1D3A;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  flex-shrink: 0;
}

.page-home .home-alert__close:hover,
.page-home .home-alert__close:focus {
  background: rgba(11, 29, 58, 0.16);
}

.page-home .home-hero {
  margin-bottom: 24px;
}

.page-home .home-hero__frame {
  position: relative;
  min-height: 380px;
  padding: 18px;
  display: flex;
  align-items: center;
  border: 1px solid var(--s-border);
  background: linear-gradient(145deg, rgba(20, 58, 107, 0.6), rgba(11, 29, 58, 0.92));
  overflow: hidden;
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(0, 255, 136, 0.32);
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.18) 0%, rgba(11, 29, 58, 0.86) 100%);
}

.page-home .home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--s-accent);
  font: 700 13px/1.4 var(--s-font-mono);
  letter-spacing: 0.16em;
}

.page-home .home-hero h1 {
  margin: 0;
  font-family: var(--s-font-display);
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--s-paper);
  transform: skewX(-3deg);
}

.page-home .home-hero__slogan {
  margin: 10px 0 6px;
  color: var(--s-accent);
  font-weight: 700;
  font-size: 1.3rem;
}

.page-home .home-hero__desc {
  margin: 0 0 18px;
  max-width: 42em;
  color: var(--s-text);
  font-size: 15px;
  line-height: 1.6;
}

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

.page-home .home-hero .s-btn--primary {
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.28);
}

.page-home .home-hero__next {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  width: 100%;
  max-width: 230px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: rgba(11, 29, 58, 0.8);
  border: 1px solid var(--s-accent);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-home .home-hero__next-league {
  color: var(--s-text-dim);
  font-size: 13px;
}

.page-home .home-hero__next-teams {
  color: var(--s-paper);
  font-size: 16px;
  line-height: 1.3;
}

.page-home .home-hero__next-time {
  color: var(--s-accent);
  font: 700 14px/1.2 var(--s-font-mono);
}

.page-home .home-hero__ticks {
  display: none;
}

.page-home .home-hero__clock {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(11, 29, 58, 0.75);
  border: 1px solid var(--s-border);
  color: var(--s-text-dim);
  font: 700 13px/1 var(--s-font-mono);
}

.page-home .s-breadcrumb {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--s-text-dim);
}

.page-home .s-breadcrumb a {
  color: var(--s-accent);
  text-decoration: none;
}

.page-home .s-breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .home-schedule {
  margin-bottom: 24px;
}

.page-home .home-schedule__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.page-home .home-schedule__note {
  max-width: 48em;
  color: var(--s-text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.page-home .home-schedule__feature {
  margin: 12px 0;
  border: 1px solid var(--s-border);
  background: var(--home-panel-bg);
  overflow: hidden;
}

.page-home .home-schedule__feature img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-schedule__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

.page-home .home-league {
  padding: 14px;
  background: rgba(11, 29, 58, 0.74);
  border: 1px solid var(--s-border);
  border-top: 3px solid var(--s-accent);
}

.page-home .home-league__title {
  margin: 0 0 10px;
  font: 700 15px/1.3 var(--s-font-body);
  letter-spacing: 0.08em;
  color: var(--s-paper);
}

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

.page-home .home-league__item {
  padding: 9px 12px;
  font-weight: 600;
  color: var(--s-text-dim);
  border-left: 3px solid transparent;
  cursor: default;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-league__item.is-active {
  background: var(--s-accent-soft);
  border-left-color: var(--s-accent);
  color: var(--s-accent);
}

.page-home .home-league__item:hover {
  background: rgba(0, 255, 136, 0.08);
  color: var(--s-text);
}

.page-home .home-league__tip {
  margin: 0;
  color: var(--s-text-dim);
  font-size: 12px;
  line-height: 1.5;
}

.page-home .home-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: var(--home-line-indent);
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--s-accent) 0%, var(--s-border) 55%, transparent 100%);
}

.page-home .home-match {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--home-panel-bg);
  border: 1px solid var(--s-border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-match::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--s-accent);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.18);
}

.page-home .home-match:hover {
  background: rgba(20, 58, 107, 0.72);
  border-color: var(--s-accent);
}

.page-home .home-match:focus-within {
  border-color: var(--s-accent);
}

.page-home .home-match__time {
  min-width: 74px;
  color: var(--s-text-dim);
  font: 700 13px/1.3 var(--s-font-mono);
}

.page-home .home-match__body {
  flex: 1;
  display: grid;
  gap: 2px;
}

.page-home .home-match__teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--s-text);
}

.page-home .home-match__score {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 255, 136, 0.12);
  color: var(--s-accent);
  font: 700 20px/1.2 var(--s-font-mono);
}

.page-home .home-match__status {
  margin: 0;
  color: var(--s-text-dim);
  font-size: 12px;
}

.page-home .home-fav {
  padding: 14px;
  background: rgba(11, 29, 58, 0.74);
  border: 1px solid var(--s-border);
  border-top: 3px solid var(--s-hot);
}

.page-home .home-fav__title {
  margin: 0;
  font: 700 17px/1.3 var(--s-font-body);
  color: var(--s-paper);
}

.page-home .home-fav__tip {
  margin: 6px 0 12px;
  color: var(--s-text-dim);
  font-size: 13px;
}

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

.page-home .home-fav__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(20, 58, 107, 0.45);
  border-left: 2px solid var(--s-hot);
  color: var(--s-text);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  transition: background-color 0.2s ease;
}

.page-home .home-fav__item:hover {
  background: rgba(20, 58, 107, 0.72);
}

.page-home .home-fav__drag {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--s-text-dim);
  cursor: grab;
  flex-shrink: 0;
}

.page-home .home-fav__pic {
  margin: 0;
  border: 1px solid var(--s-border);
  overflow: hidden;
}

.page-home .home-fav__pic img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-stats {
  margin: 26px 0;
  padding: 22px 14px;
  border-top: 1px solid var(--s-border);
  border-bottom: 1px solid var(--s-border);
  background-image: linear-gradient(rgba(0, 255, 136, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-home .home-stats__strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.page-home .home-stats__item {
  display: grid;
  gap: 4px;
}

.page-home .home-stats__num {
  font: 700 26px/1 var(--s-font-mono);
  color: var(--s-accent);
}

.page-home .home-stats__label {
  color: var(--s-text-dim);
  font-size: 13px;
}

.page-home .home-reports__head {
  margin-bottom: 16px;
}

.page-home .home-reports__head p:last-child {
  color: var(--s-text-dim);
  font-size: 14px;
}

.page-home .home-reports__layout {
  display: grid;
  gap: 18px;
}

.page-home .home-reports__grid {
  display: grid;
  gap: 12px;
}

.page-home .home-report-card {
  padding: 16px;
  background: var(--s-paper);
  color: #1E293B;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-home .home-report-card h3 {
  margin: 0 0 6px;
  font: 700 18px/1.25 var(--s-font-display);
  transform: skewX(-3deg);
}

.page-home .home-report-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
}

.page-home .home-report-card .s-btn--ghost {
  color: #1E293B;
  border-color: #1E293B;
  background: transparent;
}

.page-home .home-report-card .s-btn--ghost:hover,
.page-home .home-report-card .s-btn--ghost:focus {
  background: rgba(11, 29, 58, 0.08);
}

.page-home .home-reports__figure {
  margin: 0;
  border: 1px solid var(--s-border);
  overflow: hidden;
}

.page-home .home-reports__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-fix {
  margin: 28px 0;
  padding: 20px;
  border: 1px dashed var(--s-hot);
  background: rgba(255, 107, 53, 0.1);
}

.page-home .home-fix__inner {
  max-width: 820px;
}

.page-home .home-fix h2 {
  margin: 0 0 8px;
  font: 700 1.6rem/1.2 var(--s-font-display);
  color: var(--s-paper);
  transform: skewX(-3deg);
}

.page-home .home-fix p:not(.s-eyebrow) {
  max-width: 36em;
  margin: 0 0 18px;
  color: var(--s-text);
  line-height: 1.6;
}

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

.page-home .home-fix .s-btn--primary {
  box-shadow: 0 0 14px rgba(255, 107, 53, 0.2);
}

.page-home .home-links {
  display: grid;
  gap: 14px;
  margin: 24px 0 12px;
}

.page-home .home-link-card {
  padding: 16px;
  border: 1px solid var(--s-border);
  background: rgba(20, 58, 107, 0.35);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .home-link-card:hover {
  border-color: var(--s-accent);
  background: rgba(20, 58, 107, 0.55);
}

.page-home .home-link-card h3 {
  margin: 0 0 6px;
  font: 700 18px/1.3 var(--s-font-display);
  color: var(--s-paper);
  transform: skewX(-3deg);
}

.page-home .home-link-card p {
  margin: 0 0 10px;
  color: var(--s-text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.page-home .home-link-card a {
  color: var(--s-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.page-home .home-link-card a:hover,
.page-home .home-link-card a:focus {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .page-home .home-stats__strip {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .home-stats__num {
    font-size: 30px;
  }

  .page-home .home-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__frame {
    min-height: 460px;
    padding: 32px;
  }

  .page-home .home-hero__next {
    position: absolute;
    right: 38px;
    bottom: 34px;
    width: 230px;
    margin-top: 0;
  }

  .page-home .home-hero__ticks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--s-accent);
    font: 700 11px/1 var(--s-font-mono);
    opacity: 0.55;
    text-align: right;
    z-index: 2;
  }

  .page-home .home-schedule__grid {
    grid-template-columns: 200px minmax(0, 1fr) 260px;
    align-items: start;
  }

  .page-home .home-league,
  .page-home .home-fav {
    position: sticky;
    top: 16px;
  }

  .page-home .home-reports__layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}
