:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: #0a0f19;
  --surface-strong: #111926;
  --panel: #182231;
  --panel-soft: #121b2a;
  --line: #2c3749;
  --text: #f6f7fb;
  --muted: #c1c8d6;
  --muted-soft: #9aa4b5;
  --red: #b30f24;
  --red-hover: #cf1731;
  --blue: #7e9bd4;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-button: 15px;
  --container: 1120px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 2%, rgba(126, 155, 212, 0.23), transparent 23%),
    radial-gradient(circle at 18% 72%, rgba(179, 15, 36, 0.15), transparent 27%),
    radial-gradient(circle at 96% 62%, rgba(84, 111, 159, 0.138), transparent 20%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.48), transparent 35%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Inter Tight", "Aptos", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "liga" 1, "kern" 1, "ss01" 1;
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  opacity: 0.34;
  background:
    radial-gradient(
      ellipse 92% 34% at 37% 72%,
      rgba(3, 6, 12, 0.86) 0%,
      rgba(8, 14, 24, 0.62) 34%,
      rgba(20, 31, 48, 0.28) 61%,
      transparent 82%
    ),
    radial-gradient(
      ellipse 72% 26% at 76% 15%,
      rgba(44, 61, 88, 0.18) 0%,
      rgba(16, 25, 39, 0.12) 42%,
      transparent 76%
    );
  filter: blur(18px);
  transform: rotate(-18deg) scale(1.35);
  transform-origin: 52% 54%;
}

body::after {
  z-index: 1;
  opacity: 0.2;
  background:
    radial-gradient(ellipse 44% 24% at 86% 92%, rgba(179, 15, 36, 0.24), transparent 72%),
    radial-gradient(ellipse 32% 18% at 98% 84%, rgba(207, 23, 49, 0.16), transparent 70%),
    linear-gradient(115deg, rgba(255, 207, 166, 0.045), transparent 38%, rgba(115, 150, 214, 0.05) 72%, transparent);
}

body > * {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

.next-match-banner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(179, 15, 36, 0.12), transparent 44%),
    rgba(7, 10, 17, 0.91);
}

.next-match-banner__inner {
  display: grid;
  width: min(100% - 32px, var(--container));
  align-items: center;
  gap: 11px 18px;
  margin-inline: auto;
  padding-block: 11px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.next-match-banner.is-loading .next-match-banner__inner {
  opacity: 0.72;
  transform: translateY(-2px);
}

.next-match-banner__label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-soft);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.next-match-banner__state {
  display: grid;
  gap: 1px;
}

.next-match-banner__state small {
  color: var(--muted-soft);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.next-match-banner__state strong {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  line-height: 1;
  white-space: nowrap;
}

.next-match-banner.is-live .next-match-banner__state small,
.next-match-banner.is-live .next-match-banner__state strong {
  color: #fff;
}

.next-match-banner.is-live .next-match-banner__fixture strong {
  font-size: 1.08rem;
}

.next-match-banner__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hover);
  box-shadow: 0 0 0 4px rgba(207, 23, 49, 0.12);
}

.next-match-banner__fixture {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.next-match-banner__fixture strong,
.next-match-banner__watch strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 900;
  line-height: 1.12;
}

.next-match-banner__fixture strong {
  font-size: 1rem;
}

.next-match-banner__fixture span,
.next-match-banner__watch span {
  color: var(--muted-soft);
  font-size: 0.68rem;
}

.next-match-banner__watch {
  display: none;
  gap: 2px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.next-match-banner__watch strong {
  font-size: 0.78rem;
}

.next-match-banner.is-loading .next-match-banner__fixture strong,
.next-match-banner.is-loading .next-match-banner__fixture span,
.next-match-banner.is-loading .next-match-banner__watch strong {
  width: fit-content;
  color: transparent;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  animation: match-loading 1.4s ease-in-out infinite alternate;
}

@keyframes match-loading {
  to {
    background: rgba(255, 255, 255, 0.15);
  }
}

.site-header,
.section-shell {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-login {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-button);
  background: rgba(17, 25, 38, 0.82);
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.header-login:hover,
.header-login:focus-visible {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--panel);
  transform: translateY(-1px);
}

.header-cta,
.card-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-button);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.header-cta::after,
.header-cta {
  padding-inline: 15px;
  font-size: 0.83rem;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible,
.lineup-tool-card:hover .card-action,
.lineup-tool-card:focus-visible .card-action {
  background: var(--red-hover);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 38px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.intro {
  padding-block: 22px 12px;
}

.gate-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.gate-card {
  display: grid;
  width: min(100%, 520px);
  justify-items: start;
  gap: 18px;
  padding: clamp(24px, 6vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 25, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.gate-brand img {
  display: block;
  width: auto;
  height: 48px;
}

.gate-avatar {
  width: 92px;
  height: 92px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  object-fit: cover;
}

.gate-card h1 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1;
}

.gate-card p {
  margin: 0;
  color: var(--muted);
}

.gate-card form {
  margin: 0;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.gate-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-button);
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gate-button:hover,
.gate-button:focus-visible {
  background: var(--red-hover);
}

.gate-link {
  color: var(--muted);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
  }

  .brand img {
    height: 40px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-login,
  .header-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .header-login {
    padding-inline: 13px;
    white-space: nowrap;
  }

  .intro {
    padding-block: 18px 10px;
  }

  .intro h1 {
    margin-top: 4px;
    font-size: clamp(2.3rem, 11.5vw, 3.05rem);
    line-height: 0.94;
  }

  .intro p {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .bento {
    padding-block-start: 14px;
  }
}

.eyebrow,
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--red-hover);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.intro h1 {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(2.35rem, 10.4vw, 4.45rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
}

.intro p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-block: 10px 52px;
}

.bento::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(58vw, 620px);
  height: min(34vw, 360px);
  background:
    radial-gradient(ellipse at 42% 56%, rgba(179, 15, 36, 0.21), transparent 62%),
    radial-gradient(ellipse at 76% 34%, rgba(207, 23, 49, 0.13), transparent 58%),
    linear-gradient(135deg, transparent 8%, rgba(179, 15, 36, 0.08) 42%, transparent 76%);
  filter: blur(34px);
  opacity: 0.39;
  pointer-events: none;
}

.bento-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 25, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.bento .bento-card:hover,
.bento .bento-card:focus-visible {
  border-color: rgba(94, 122, 170, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(190, 207, 236, 0.07),
    0 0 16px rgba(52, 76, 116, 0.13),
    0 12px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.lineup-tool-card {
  display: block;
  grid-column: 1 / -1;
  aspect-ratio: 1;
  padding: 22px;
  background:
    linear-gradient(150deg, rgba(36, 51, 74, 0.88), rgba(10, 15, 25, 0.84) 46%, rgba(6, 9, 16, 0.98) 100%),
    linear-gradient(24deg, rgba(179, 15, 36, 0.12) 0%, transparent 34%),
    var(--surface);
}

.lineup-tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 42%, rgba(246, 247, 251, 0.07), transparent 34%),
    radial-gradient(circle at 15% 78%, rgba(179, 15, 36, 0.13), transparent 24%),
    linear-gradient(116deg, rgba(126, 155, 212, 0.12), transparent 28%),
    radial-gradient(ellipse at 76% 34%, rgba(126, 155, 212, 0.16), transparent 48%),
    linear-gradient(rgba(255, 255, 255, 0.058) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.044) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    42px 42px,
    42px 42px,
    13px 13px;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    repeat,
    repeat,
    repeat;
  opacity: 0.9;
  mask-image:
    linear-gradient(90deg, black 0%, black 48%, rgba(0, 0, 0, 0.36) 76%, transparent 100%),
    linear-gradient(180deg, black, black 78%, transparent);
  mask-composite: intersect;
}

.lineup-tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 56%, rgba(126, 155, 212, 0.18) 0%, rgba(126, 155, 212, 0.075) 24%, transparent 48%),
    radial-gradient(ellipse at 22% 86%, rgba(179, 15, 36, 0.18) 0%, rgba(179, 15, 36, 0.07) 28%, transparent 54%),
    linear-gradient(132deg, rgba(246, 247, 251, 0.055) 0 1px, transparent 1px 18px),
    linear-gradient(42deg, rgba(126, 155, 212, 0.05) 0 1px, transparent 1px 22px),
    linear-gradient(
      90deg,
      rgba(7, 10, 15, 0.82) 0%,
      rgba(7, 10, 15, 0.78) 38%,
      rgba(7, 10, 15, 0.34) 54%,
      rgba(7, 10, 15, 0.02) 72%,
      rgba(7, 10, 15, 0) 100%
    ),
    linear-gradient(0deg, rgba(7, 10, 15, 0.8) 0%, rgba(7, 10, 15, 0.34) 42%, transparent 74%);
}

.lineup-tool-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 72%;
}

.lineup-tool-card__preview {
  position: absolute;
  top: -6%;
  right: -10%;
  z-index: 1;
  width: 58%;
  height: 108%;
  overflow: visible;
  opacity: 0.92;
  pointer-events: none;
  transform: rotate(-4deg);
  transform-origin: center;
}

.lineup-tool-card__field {
  position: absolute;
  top: -18%;
  right: -20%;
  width: 130%;
  height: 142%;
  overflow: visible;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.lineup-board-shadow {
  fill: rgba(0, 0, 0, 0.42);
  filter: blur(1.2px);
}

.lineup-board-base {
  fill: #3b414b;
}

.lineup-board-lip {
  fill: #242a33;
}

.lineup-board-rail {
  fill: #303640;
}

.lineup-board-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.62;
}

.lineup-board-inner {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.34;
}

.lineup-pitch-fill,
.lineup-stripe-dark {
  fill: #303743;
}

.lineup-stripe-light {
  fill: #3a414d;
}

.lineup-field-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.38;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lineup-boundary-line {
  stroke: rgba(255, 255, 255, 0.96);
}

.lineup-field-arc,
.lineup-center-circle,
.lineup-corner-arc {
  stroke: rgba(255, 255, 255, 0.68);
}

.lineup-field-dot {
  fill: rgba(255, 255, 255, 0.84);
}

.lineup-goal-shadow {
  fill: rgba(0, 0, 0, 0.28);
}

.lineup-goal-frame {
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 0.72;
  vector-effect: non-scaling-stroke;
}

.lineup-goal-net {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 0.17;
  vector-effect: non-scaling-stroke;
}

.lineup-tool-card__player {
  position: absolute;
  left: 48%;
  top: 48%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  transform: translate(-50%, -50%) rotate(4deg);
}

.lineup-tool-card__player-card {
  display: grid;
  width: clamp(84px, 22.8vw, 110px);
  height: clamp(108px, 28.8vw, 142px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: #3a3a3a;
  box-shadow:
    0 9px 14px rgba(0, 0, 0, 0.34),
    inset 0 6px 10px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lineup-tool-card__player-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lineup-tool-card__player-name {
  max-width: 148px;
  margin-top: 2px;
  padding: 7px 12px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.84);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.26);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 340ms ease 120ms,
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms;
}

.lineup-tool-card:hover .lineup-tool-card__player-card,
.lineup-tool-card:focus-visible .lineup-tool-card__player-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lineup-tool-card:hover .lineup-tool-card__player-name,
.lineup-tool-card:focus-visible .lineup-tool-card__player-name {
  opacity: 1;
  transform: translateY(0);
}

.status-pill.muted {
  color: var(--muted-soft);
}

.status-pill.muted::before {
  content: none;
}

.lineup-tool-card h2,
.future-card h2 {
  color: var(--text);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
}

.lineup-tool-card h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(1.62rem, 6.5vw, 2.85rem);
}

.future-card h2 {
  margin: 14px 0 0;
  font-size: 1.35rem;
}

.lineup-tool-card p,
.future-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.lineup-tool-card p {
  max-width: 22rem;
  font-size: 1rem;
}

.lineup-tool-card .card-action {
  margin-top: 20px;
}

.card-action {
  width: 100%;
  min-height: 50px;
  padding-inline: 18px;
  line-height: 1.08;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.future-card {
  display: grid;
  grid-column: 1 / -1;
  min-height: 210px;
  align-content: space-between;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 155, 212, 0.12), transparent 46%),
    var(--surface);
}

.discord-transfer-card {
  align-content: end;
}

.tactic-card {
  cursor: pointer;
}

.tactic-card__preview {
  position: absolute;
  inset: 0 0 0 20%;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 15, 25, 0.76) 0%, rgba(10, 15, 25, 0.28) 38%, rgba(10, 15, 25, 0.02) 100%),
    url("assets/tactic-board-preview.png") right -28px center / auto 112% no-repeat;
  opacity: 0.68;
  filter: brightness(1.22) saturate(1.12);
  pointer-events: none;
  transform: scale(1.02);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 32%, black 100%);
}

.tactic-card__content {
  position: relative;
  z-index: 3;
  align-self: end;
  transition:
    opacity 340ms ease,
    transform 340ms ease;
}

.tactic-card__content p {
  max-width: 13rem;
}

.tactic-card__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.68) 34%, rgba(7, 10, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 320ms ease 160ms,
    transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1) 160ms;
}

.tactic-card:hover .tactic-card__fade,
.tactic-card:focus-visible .tactic-card__fade {
  opacity: 1;
  transform: translateY(0);
}

.tactic-card__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-button);
  padding-inline: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.tactic-card:hover .tactic-card__cta,
.tactic-card:focus-visible .tactic-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.discord-card__content {
  position: relative;
  z-index: 3;
  align-self: end;
  transition:
    opacity 340ms ease,
    transform 340ms ease;
}

.discord-card__content h2 {
  margin-top: 0;
}

.discord-card__content p {
  max-width: 12rem;
}

.discord-transfer-card.is-chatting .discord-card__content {
  opacity: 0;
  transform: translateY(-6px);
}

.discord-card__idle-bubbles,
.discord-card__chat {
  position: absolute;
  inset: 18px;
  z-index: 1;
  pointer-events: none;
}

.discord-card__idle-bubbles {
  opacity: 1;
  transition: opacity 300ms ease;
}

.discord-transfer-card.is-chatting .discord-card__idle-bubbles {
  opacity: 0;
}

.discord-card__bubble {
  position: absolute;
  max-width: 76%;
  border: 1px solid rgba(246, 247, 251, 0.07);
  border-radius: 16px;
  padding: 9px 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(28, 38, 55, 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  color: rgba(246, 247, 251, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.discord-card__bubble--left {
  left: 0;
  top: 32%;
}

.discord-card__bubble--right {
  right: 0;
  top: 6%;
}

.discord-card__chat {
  inset-block-end: 54px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  opacity: 0;
  mask-image: linear-gradient(180deg, black 0%, black 76%, transparent 100%);
  transition: opacity 300ms ease 160ms;
}

.discord-transfer-card.is-chatting .discord-card__chat {
  opacity: 1;
}

.discord-card__message {
  max-width: 78%;
  border: 1px solid rgba(246, 247, 251, 0.1);
  border-radius: 16px;
  padding: 9px 11px;
  background: rgba(18, 27, 42, 0.78);
  color: rgba(246, 247, 251, 0.84);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 520ms ease,
    transform 560ms cubic-bezier(0.18, 0.9, 0.22, 1);
  will-change: opacity, transform;
}

.discord-card__message.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.discord-card__message.is-exiting {
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
}

.discord-card__message--left {
  align-self: flex-start;
  border-bottom-left-radius: 7px;
}

.discord-card__message--right {
  align-self: flex-end;
  border-bottom-right-radius: 7px;
  background: rgba(42, 56, 78, 0.76);
}

.discord-card__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.68) 34%, rgba(7, 10, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 320ms ease 160ms,
    transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1) 160ms;
}

.discord-transfer-card.is-chatting .discord-card__fade {
  opacity: 1;
  transform: translateY(0);
}

.discord-card__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-button);
  padding-inline: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.discord-transfer-card:hover .discord-card__cta,
.discord-transfer-card:focus-visible .discord-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.content-card {
  display: grid;
  grid-column: 1 / -1;
  min-height: 210px;
  align-content: space-between;
  padding: 22px;
  background:
    radial-gradient(circle at 86% 6%, rgba(126, 155, 212, 0.22), transparent 34%),
    linear-gradient(145deg, var(--panel), var(--surface) 62%);
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

.content-card > * {
  position: relative;
  z-index: 1;
}

.youtube-card {
  display: flex;
  overflow: hidden;
}

.youtube-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 20% 72%,
      rgba(105, 134, 184, 0.38) 0%,
      rgba(48, 69, 101, 0.28) 28%,
      rgba(8, 12, 18, 0) 58%
    ),
    radial-gradient(
      ellipse at 82% 42%,
      rgba(179, 15, 36, 0.22) 0%,
      rgba(91, 119, 172, 0.14) 28%,
      rgba(8, 12, 18, 0) 62%
    ),
    linear-gradient(135deg, rgba(52, 72, 106, 0.24), rgba(8, 12, 18, 0) 48%);
}

.youtube-card__preview {
  position: absolute;
  top: -210px;
  right: -310px;
  z-index: 0;
  width: 124%;
  min-width: 470px;
  max-width: none;
  opacity: 0.78;
  filter: brightness(1.14) contrast(1.1) saturate(1.08);
  mix-blend-mode: normal;
  pointer-events: none;
  transform: rotate(-8deg) translateY(var(--youtube-preview-y, 0px));
  transform-origin: center;
  will-change: transform;
}

.youtube-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 13, 0.78) 0%,
    rgba(5, 8, 13, 0.68) 30%,
    rgba(5, 8, 13, 0.36) 45%,
    rgba(5, 8, 13, 0.12) 58%,
    rgba(5, 8, 13, 0.02) 74%,
    rgba(5, 8, 13, 0) 100%
  );
}

.youtube-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
}

.youtube-card__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid rgba(246, 247, 251, 0.22);
  border-radius: var(--radius-button);
  padding-inline: 28px;
  background: rgba(5, 8, 13, 0.54);
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
  opacity: 1;
  transform: none;
  transition:
    opacity 250ms ease,
    transform 250ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.youtube-card:hover .youtube-card__button,
.youtube-card__button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 759px) {
  .bento > .lineup-tool-card {
    order: 1;
  }

  .bento > .social-row {
    order: 2;
  }

  .bento > .youtube-card {
    order: 3;
  }

  .bento > .substack-card {
    order: 4;
  }

  .bento > .contracts-hub-card {
    order: 5;
  }

  .bento > .program-hub-card {
    order: 6;
  }

  .social-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .social-row .social-card {
    min-height: 128px;
  }

  .lineup-tool-card {
    aspect-ratio: auto;
    min-height: 420px;
    padding: 24px 18px;
  }

  .lineup-tool-card__preview {
    top: -12%;
    right: -18%;
    width: 68%;
    height: 100%;
    opacity: 0.72;
  }

  .lineup-tool-card__player {
    top: 38%;
    left: 44%;
  }

  .lineup-tool-card__content {
    max-width: min(100%, 22rem);
  }

  .lineup-tool-card h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.6vw, 2.16rem);
    line-height: 0.98;
  }

  .lineup-tool-card p {
    max-width: 18rem;
    font-size: clamp(1rem, 4.7vw, 1.16rem);
    line-height: 1.24;
  }

  .lineup-tool-card .card-action {
    margin-top: 18px;
    font-size: clamp(0.94rem, 4.6vw, 1.08rem);
    white-space: normal;
  }

  .future-card h2 {
    font-size: clamp(1.05rem, 5vw, 1.24rem);
    line-height: 1;
  }

  .future-card p {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .discord-card__bubble--left {
    top: 58px;
  }

  .youtube-card__preview {
    right: -285px;
    width: 142%;
    opacity: 0.72;
    transform: rotate(-8deg) translateY(120px);
  }

  .lineup-tool-card__player-card,
  .lineup-tool-card__player-name {
    opacity: 1;
    transform: none;
  }

  .lineup-tool-card__player-name {
    display: none;
  }

  .tactic-card__fade,
  .discord-card__fade,
  .tool-card__fade {
    opacity: 1;
    transform: none;
  }
}

.content-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 2.1rem;
  font-weight: 950;
  line-height: 0.95;
}

.content-card p {
  max-width: 24rem;
  margin: 10px 0 0;
  color: var(--muted);
}

.youtube-card {
  background:
    radial-gradient(circle at 84% 0%, rgba(179, 15, 36, 0.16), transparent 32%),
    linear-gradient(145deg, var(--panel), var(--surface) 62%);
}

.substack-card {
  align-content: space-between;
  gap: 28px;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(126, 155, 212, 0.08), transparent 34%),
    linear-gradient(145deg, #17202c, rgba(10, 15, 25, 0.98) 64%);
}

.substack-card::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -26px;
  z-index: 0;
  width: min(68%, 282px);
  aspect-ratio: 653 / 625;
  background: url("assets/substack-newspaper.png") center / cover no-repeat;
  filter: blur(0.3px) brightness(1.02) saturate(0.72) contrast(0.9);
  opacity: 0.24;
  pointer-events: none;
  transform: rotate(-2deg);
  mask-image:
    radial-gradient(ellipse at 50% 52%, black 0%, rgba(0, 0, 0, 0.58) 46%, transparent 80%),
    linear-gradient(90deg, transparent 0%, black 32%, black 100%);
  mask-composite: intersect;
}

.substack-card__header,
.substack-card__cta {
  position: relative;
  z-index: 1;
}

.substack-card__header h2 {
  max-width: 13ch;
  font-size: clamp(1.55rem, 6vw, 2.1rem);
}

.substack-card__header p {
  max-width: 21rem;
  color: rgba(224, 229, 238, 0.88);
  font-size: 0.95rem;
}

.substack-card__cta {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(246, 247, 251, 0.2);
  border-radius: var(--radius-button);
  padding-inline: 20px;
  color: var(--text);
  font-weight: 900;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.substack-card:hover .substack-card__cta,
.substack-card:focus-visible .substack-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

.lower-feature-card {
  display: grid;
  grid-column: 1 / -1;
  min-height: 168px;
  align-content: space-between;
  padding: 22px;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(126, 155, 212, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.96), rgba(10, 15, 25, 0.98) 64%);
}

.lower-feature-card h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(1.42rem, 5.4vw, 2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.lower-feature-card p {
  max-width: 24rem;
  margin: 10px 0 0;
  color: rgba(224, 229, 238, 0.88);
  font-size: 0.95rem;
}

.prediction-card {
  display: inline-flex;
  order: 10;
  align-self: start;
  width: 100%;
  min-height: 86px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 28px;
  appearance: none;
  background:
    radial-gradient(ellipse at 92% 12%, rgba(126, 155, 212, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 60%),
    rgba(18, 27, 42, 0.94);
  border-color: rgba(246, 247, 251, 0.2);
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.08;
  text-align: left;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px rgba(0, 0, 0, 0.18);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.prediction-card::after {
  content: "↗";
  margin-left: 10px;
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.86em;
}

.prediction-card:hover,
.prediction-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(ellipse at 92% 12%, rgba(126, 155, 212, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 60%),
    rgba(24, 34, 49, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 38px rgba(126, 155, 212, 0.12);
  transform: translateY(-1px);
}

.bingo-card {
  order: 12;
  min-height: 142px;
  cursor: pointer;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(126, 155, 212, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.96), rgba(10, 15, 25, 0.98) 64%);
}

.bingo-card h2 {
  position: relative;
  z-index: 2;
  max-width: none;
}

.bingo-card > .status-pill {
  position: relative;
  z-index: 2;
}

.bingo-card__preview {
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 1;
  display: grid;
  width: auto;
  height: min(72%, 240px);
  aspect-ratio: 0.82;
  grid-template-columns: repeat(5, 1fr);
  align-content: start;
  border: 1px solid rgba(246, 247, 251, 0.22);
  border-radius: 10px;
  padding: 13px 10px 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(246, 247, 251, 0.16) 28px 29px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(246, 247, 251, 0.16) 28px 29px),
    rgba(31, 42, 59, 0.82);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  opacity: 0.24;
  pointer-events: none;
  transform: translateY(-50%) rotate(5deg);
  transition: opacity 180ms ease, transform 180ms ease;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 26%, black 62%);
}

.bingo-card__preview span {
  color: rgba(246, 247, 251, 0.9);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.bingo-card:hover .bingo-card__preview,
.bingo-card:focus-visible .bingo-card__preview {
  opacity: 0.36;
  transform: translateY(-52%) rotate(3deg);
}

.screenshot-editor-card {
  order: 13;
  min-height: 142px;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(126, 155, 212, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.94), rgba(10, 15, 25, 0.98) 66%);
}

.screenshot-editor-card h2 {
  max-width: 16ch;
}

.bingo-card,
.screenshot-editor-card {
  align-content: start;
}

.tool-card__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.68) 34%, rgba(7, 10, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 320ms ease 160ms,
    transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1) 160ms;
}

.bingo-card:hover .tool-card__fade,
.bingo-card:focus-visible .tool-card__fade,
.screenshot-editor-card:hover .tool-card__fade,
.screenshot-editor-card:focus-visible .tool-card__fade {
  opacity: 1;
  transform: translateY(0);
}

.tool-card__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-button);
  padding-inline: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.bingo-card:hover .tool-card__cta,
.bingo-card:focus-visible .tool-card__cta,
.screenshot-editor-card:hover .tool-card__cta,
.screenshot-editor-card:focus-visible .tool-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.social-row {
  display: grid;
  position: relative;
  z-index: 1;
  order: 11;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 12px;
}

.social-card {
  display: grid;
  min-height: 104px;
  align-content: space-between;
  padding: 14px 15px 15px;
  background:
    radial-gradient(circle at 10% 0%, rgba(126, 155, 212, 0.13), transparent 48%),
    rgba(18, 27, 42, 0.92);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.social-card::before {
  position: absolute;
  right: -12px;
  bottom: -20px;
  z-index: 0;
  color: rgba(246, 247, 251, 0.055);
  font-weight: 950;
  line-height: 0.8;
  pointer-events: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 42%);
  pointer-events: none;
}

.social-card--x::before {
  content: "X";
  font-size: 4.7rem;
}

.social-card--instagram::before {
  content: "IG";
  right: -18px;
  bottom: -14px;
  font-size: 3.7rem;
}

.social-card--spotify::before {
  content: "SP";
  right: -22px;
  bottom: -14px;
  font-size: 3.8rem;
}

.social-card--tiktok::before {
  content: "TT";
  right: -18px;
  bottom: -14px;
  font-size: 3.8rem;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: rgba(126, 155, 212, 0.52);
  background: rgba(24, 34, 49, 0.98);
  transform: translateY(-1px);
}

.social-card--instagram:hover,
.social-card--instagram:focus-visible {
  border-color: rgba(214, 91, 151, 0.58);
}

.social-card--spotify:hover,
.social-card--spotify:focus-visible {
  border-color: rgba(61, 208, 121, 0.55);
}

.social-card--tiktok:hover,
.social-card--tiktok:focus-visible {
  border-color: rgba(37, 244, 238, 0.56);
}

.social-card:hover::before,
.social-card:focus-visible::before {
  color: rgba(246, 247, 251, 0.082);
  transform: translateY(-2px);
}

.social-card__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.social-card .social-card__label {
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-card .social-card__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.social-card--instagram .social-card__icon {
  background: linear-gradient(145deg, rgba(112, 72, 187, 0.55), rgba(201, 55, 112, 0.48) 58%, rgba(232, 128, 45, 0.44));
}

.social-card--spotify .social-card__icon {
  background: rgba(30, 215, 96, 0.16);
  color: #4bdf81;
}

.social-card--tiktok .social-card__icon {
  background:
    linear-gradient(145deg, rgba(37, 244, 238, 0.17), rgba(254, 44, 85, 0.17));
  color: #f6f7fb;
}

.social-card__icon svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.social-card__icon .social-card__icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-card .social-card__arrow {
  color: rgba(246, 247, 251, 0.42);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: color 160ms ease, transform 160ms ease;
}

.social-card:hover .social-card__arrow,
.social-card:focus-visible .social-card__arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

.social-card strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.1;
}

.support-strip {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 52px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(105deg, rgba(179, 15, 36, 0.13), transparent 46%),
    rgba(10, 15, 25, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.support-strip__copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.support-strip__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(179, 15, 36, 0.18);
  color: #f0445b;
  font-size: 1.05rem;
}

.support-strip h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

.support-strip p {
  max-width: 650px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.support-strip__action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 20px;
  border-radius: var(--radius-button);
  background: var(--red);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.support-strip__action:hover,
.support-strip__action:focus-visible {
  background: var(--red-hover);
  transform: translateY(-1px);
}

@media (max-width: 759px) {
  .next-match-banner__inner {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 24px, var(--container));
    gap: 5px;
    padding-block: 9px;
  }

  .next-match-banner__label {
    grid-row: auto;
    min-width: 0;
    gap: 6px;
  }

  .next-match-banner__state {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 7px;
  }

  .next-match-banner__state small {
    font-size: clamp(0.5rem, 1.8vw, 0.58rem);
  }

  .next-match-banner__state strong {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    letter-spacing: 0.025em;
  }

  .next-match-banner__fixture {
    gap: 1px;
  }

  .next-match-banner__fixture strong,
  .next-match-banner.is-live .next-match-banner__fixture strong {
    overflow-wrap: normal;
    font-size: clamp(1rem, 5vw, 1.18rem);
    line-height: 1.05;
  }

  .next-match-banner__fixture span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .next-match-banner__watch {
    display: none;
  }
}

@media (min-width: 760px) {
  .next-match-banner__inner {
    grid-template-columns: auto minmax(280px, 1fr) minmax(160px, auto);
    width: min(100% - 64px, var(--container));
    min-height: 56px;
    align-items: center;
    padding-block: 6px;
  }

  .next-match-banner__label {
    margin-top: 0;
  }

  .next-match-banner__watch {
    display: grid;
    padding: 0 0 0 18px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header,
  .section-shell {
    width: min(100% - 64px, var(--container));
  }

  .site-header {
    min-height: 76px;
  }

  .support-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 24px 26px;
  }

  .brand img {
    height: 52px;
  }

  .header-cta {
    padding-inline: 22px;
    font-size: 0.95rem;
  }

  .intro {
    padding-block: 28px 14px;
  }

  .intro h1 {
    max-width: 760px;
    font-size: clamp(2.6rem, 4.9vw, 4.05rem);
  }

  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "lineup lineup socials socials"
      "lineup lineup youtube youtube"
      "substack substack program program"
      "contracts contracts contracts contracts";
    grid-template-rows:
      minmax(194px, auto)
      minmax(220px, auto)
      minmax(194px, auto)
      minmax(156px, auto);
    gap: 16px;
  }

  .lineup-tool-card {
    grid-area: lineup;
    padding: 32px;
  }

  .lineup-tool-card__content {
    max-width: 62%;
  }

  .lineup-tool-card__preview {
    top: -6%;
    right: -10%;
    width: 58%;
    height: 108%;
    transform: rotate(-4deg);
  }

  .lineup-tool-card__player {
    left: 48%;
    top: 48%;
  }

  .lineup-tool-card__player-card {
    width: clamp(91px, 8.2vw, 113px);
    height: clamp(118px, 10.3vw, 144px);
  }

  .future-card {
    grid-column: span 1;
    min-height: auto;
    padding: 22px;
  }

  .content-card {
    grid-column: span 2;
    min-height: 220px;
    padding: 26px;
  }

  .youtube-card {
    grid-area: youtube;
  }

  .substack-card {
    grid-area: substack;
    min-height: auto;
  }

  .contracts-hub-card {
    grid-area: contracts;
  }

  .program-hub-card {
    grid-area: program;
  }

  .lower-feature-card {
    grid-column: span 2;
    min-height: 150px;
    padding: 22px;
  }

  .lower-feature-card h2 {
    font-size: 1.75rem;
  }

  .prediction-card {
    grid-area: prediction;
    min-height: 86px;
    padding-inline: 28px;
  }

  .screenshot-editor-card {
    grid-area: screenshot;
    min-height: 150px;
  }

  .screenshot-editor-card h2 {
    font-size: 1.35rem;
    line-height: 0.92;
  }

  .social-row {
    grid-area: socials;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-self: stretch;
    margin-top: 0;
  }

  .social-card {
    min-height: 100%;
    padding: 14px;
  }

  .social-row .social-card {
    min-height: 92px;
    height: auto;
  }

  .social-card strong {
    font-size: 0.95rem;
  }

  .card-action {
    width: fit-content;
    min-width: 160px;
    padding-inline: 28px;
  }

}

@media (max-width: 759px) {
  .bento > .social-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* iPad portrait and other narrow tablets need roomier cards than the desktop grid. */
@media (min-width: 760px) and (max-width: 1039px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "lineup socials"
      "lineup socials"
      "youtube youtube"
      "substack substack";
    grid-template-rows:
      minmax(170px, 1fr)
      minmax(170px, 1fr)
      minmax(220px, auto)
      minmax(210px, auto);
  }

  .lineup-tool-card {
    grid-area: lineup;
    aspect-ratio: auto;
    min-width: 0;
  }

  .lineup-tool-card__content {
    max-width: 100%;
  }

  .lineup-tool-card h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 4vw, 2.05rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .future-card,
  .content-card,
  .substack-card,
  .social-row,
  .social-card {
    min-width: 0;
  }

  .future-card h2,
  .content-card h2,
  .lower-feature-card h2,
  .social-card strong {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .future-card h2 {
    font-size: clamp(1.25rem, 3.2vw, 1.65rem);
    line-height: 0.98;
  }

  .content-card h2 {
    font-size: clamp(1.75rem, 4.5vw, 2.1rem);
  }
}

@media (min-width: 1040px) {
  .intro {
    padding-block-start: 20px;
  }

  .lineup-tool-card h2 {
    font-size: clamp(2.35rem, 3.15vw, 2.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .youtube-card:hover .youtube-card__preview,
  .youtube-card:focus-within .youtube-card__preview,
  .youtube-card.is-preview-active .youtube-card__preview {
    transform: rotate(-8deg) translateY(var(--youtube-preview-y, 0px));
  }

  .lineup-tool-card__player-card,
  .lineup-tool-card__player-name {
    transition: none;
  }

  .lineup-tool-card:hover .lineup-tool-card__player-card,
  .lineup-tool-card:focus-visible .lineup-tool-card__player-card,
  .lineup-tool-card:hover .lineup-tool-card__player-name,
  .lineup-tool-card:focus-visible .lineup-tool-card__player-name {
    opacity: 1;
    transform: none;
  }
}

.about {
  display: grid;
  gap: 28px;
  padding-block: 8px 64px;
}

.about__intro,
.faq {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.about h2 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 6vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1;
}

.about__intro > p:last-child {
  max-width: 680px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.faq h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 32px;
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--red-hover);
  transform: translateY(-50%);
  transform-origin: center;
  transition:
    opacity 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.faq summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq details[open] summary::before {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.faq details.is-keyboard-toggle summary::before,
.faq details.is-keyboard-toggle summary::after {
  transition-duration: 0ms;
}

.faq details p {
  max-width: 680px;
  margin: -2px 0 20px;
  color: var(--muted);
}

.faq details a {
  color: var(--text);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  border-top: 1px solid var(--line);
  padding-block: 22px 36px;
  color: var(--muted-soft);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 750;
}

.contracts-hub-card {
  display: flex;
  grid-column: 1 / -1;
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(10, 15, 25, 0.9);
  cursor: pointer;
}

.program-hub-card {
  display: flex;
  grid-column: 1 / -1;
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(10, 15, 25, 0.9);
}

.program-hub-card h2 {
  margin: 0;
  font-size: clamp(1.65rem, 7vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1;
}

.program-hub-card p {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.program-hub-card__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 15px;
  border: 1px solid rgba(246, 247, 251, 0.2);
  border-radius: var(--radius-button);
  padding-inline: 20px;
  color: var(--text);
  font-weight: 900;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.program-hub-card:hover,
.program-hub-card:focus-visible {
  border-color: rgba(207, 23, 49, 0.62);
}

.program-hub-card:hover .program-hub-card__action,
.program-hub-card:focus-visible .program-hub-card__action,
.contracts-hub-card:hover .contracts-hub-card__action,
.contracts-hub-card:focus-visible .contracts-hub-card__action {
  background: var(--red-hover);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 38px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.program-page {
  background:
    radial-gradient(circle at 76% 4%, rgba(179, 15, 36, 0.15), transparent 25%),
    var(--bg);
}

.program-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.program-back {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.program-hero {
  padding-block: 52px 34px;
}

.program-hero h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(3.1rem, 15vw, 7.7rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.program-hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.program-content {
  padding-bottom: 72px;
}

.program-status {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.program-list {
  display: grid;
  gap: 10px;
}

.program-fixture {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.8fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(10, 15, 25, 0.86);
}

.program-fixture__date,
.program-fixture__teams {
  display: grid;
  gap: 5px;
}

.program-fixture__date strong,
.program-fixture__teams strong {
  color: var(--text);
}

.program-fixture__date span,
.program-fixture__teams span {
  color: var(--muted);
  font-size: 0.82rem;
}

.program-fixture__teams strong {
  font-size: 1.08rem;
}

.program-fixture__teams strong span {
  color: var(--red-hover);
  font-size: inherit;
  font-weight: inherit;
}

.program-fixture__score {
  color: #67c7a0;
  font-size: 1.18rem;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .program-fixture {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .program-fixture__teams {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .program-fixture__date {
    grid-column: 1;
    grid-row: 2;
  }

  .program-fixture__score {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (min-width: 760px) {
  .contracts-hub-card,
  .program-hub-card {
    grid-column: span 2;
  }
}

.contracts-hub-card h2 {
  margin: 0;
  font-size: clamp(1.65rem, 7vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1;
}

.contracts-hub-card p {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contracts-hub-card__copy,
.program-hub-card__copy {
  width: 100%;
}

.contracts-hub-card__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 15px;
  border: 1px solid rgba(246, 247, 251, 0.2);
  border-radius: var(--radius-button);
  padding-inline: 20px;
  color: var(--text);
  font-weight: 900;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contracts-hub-card:hover,
.contracts-hub-card:focus-visible {
  border-color: rgba(207, 23, 49, 0.62);
}

.bento .bento-card:active,
.contracts-hub-card:active {
  transform: scale(0.985);
  transition-duration: 120ms;
}

.header-login:active,
.header-cta:active,
.support-strip__action:active {
  transform: scale(0.97);
  transition-duration: 120ms;
}

@media (prefers-reduced-motion: reduce) {
  .next-match-banner__inner {
    transform: none;
    transition: opacity 100ms cubic-bezier(0.23, 1, 0.32, 1) !important;
  }

  .bento .bento-card:active,
  .contracts-hub-card:active,
  .header-login:active,
  .header-cta:active,
  .support-strip__action:active {
    transform: scale(0.995);
    transition-duration: 80ms !important;
  }
}

.contracts-page {
  background:
    radial-gradient(circle at 76% 4%, rgba(179, 15, 36, 0.19), transparent 25%),
    radial-gradient(circle at 18% 48%, rgba(126, 155, 212, 0.12), transparent 28%),
    var(--bg);
}

.contracts-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contracts-back {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  transition: color 160ms ease;
}

.contracts-back:hover,
.contracts-back:focus-visible {
  color: var(--text);
}

.contracts-hero {
  padding-block: 52px 42px;
}

.contracts-hero h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(3.1rem, 15vw, 7.7rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.contracts-hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.7vw, 1.18rem);
}

.contracts-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 36px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.contracts-summary div {
  min-width: 0;
  padding: 15px;
  background: rgba(10, 15, 25, 0.96);
}

.contracts-summary div:first-child {
  grid-column: 1 / -1;
}

.contracts-summary dt {
  color: var(--muted-soft);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contracts-summary dd {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
  color: var(--text);
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 900;
}

.contracts-content {
  padding-bottom: 72px;
}

.contracts-status-nav {
  position: sticky;
  top: 12px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 48px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(5, 7, 13, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.contracts-status-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.contracts-status-nav a:first-child {
  background: var(--surface-strong);
  color: var(--text);
}

.contracts-status-nav span {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.68rem;
}

.contracts-section-heading {
  max-width: 680px;
  margin-bottom: 28px;
  scroll-margin-top: 90px;
}

.contracts-section-heading h2 {
  margin: 9px 0 0;
  color: var(--text);
  font-size: clamp(2rem, 9vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.contracts-section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.contract-year {
  padding-block: 26px 42px;
  border-top: 1px solid var(--line);
}

.contract-year__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.contract-year__heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.2rem, 10vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.contract-year__heading span {
  color: var(--muted-soft);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contracts-grid {
  display: grid;
  gap: 12px;
}

.contract-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  min-height: 92px;
  align-items: start;
  gap: 10px 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(24, 34, 49, 0.9), rgba(8, 13, 22, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.contract-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -54px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(179, 15, 36, 0.1);
  filter: blur(18px);
  pointer-events: none;
}

.contract-card__identity {
  display: block;
  min-width: 0;
}

.contract-card h3 {
  display: grid;
  gap: 2px;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.player-last-name {
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.player-first-name {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.contract-card__identity p {
  margin: 8px 0 0;
  color: var(--muted-soft);
  font-size: 0.68rem;
}

.contract-card__date {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.contracts-note {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid rgba(179, 15, 36, 0.34);
  border-radius: 22px;
  background: rgba(179, 15, 36, 0.075);
}

.contracts-note h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.contracts-note p {
  max-width: 820px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contracts-note a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loan-section {
  margin-top: 30px;
  padding-block: 54px 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.contract-card--loan {
  border-color: rgba(126, 155, 212, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 155, 212, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.94), rgba(8, 13, 22, 0.98));
}

.loan-route {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.loan-route i {
  color: var(--blue);
  font-style: normal;
}

.loan-route strong {
  overflow-wrap: anywhere;
  color: var(--text);
}

.loan-until {
  grid-column: 1 / -1;
  margin: 9px 0 0;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
}

.contract-card--loan .contract-card__date {
  margin-top: 0;
  color: var(--muted);
}

.loan-deal {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loan-deal summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  list-style: none;
}

.loan-deal summary::-webkit-details-marker {
  display: none;
}

.loan-deal summary:focus-visible {
  border-radius: 8px;
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.loan-deal__chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms ease;
}

.loan-deal[open] .loan-deal__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.loan-deal__body {
  padding: 2px 0 8px;
}

.loan-deal__status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.loan-deal__status--confirmed {
  background: rgba(92, 155, 255, 0.14);
  color: #a9c9ff;
}

.loan-deal__status--reported {
  background: rgba(234, 179, 78, 0.14);
  color: #f1ca7b;
}

.loan-deal__terms {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.75rem;
}

.loan-deal__terms li + li {
  margin-top: 6px;
}

.loan-deal__terms li::marker {
  color: var(--blue);
}

.loan-deal__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.loan-deal__sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  font-size: 0.68rem;
}

.loan-deal__sources span {
  color: var(--muted-soft);
  font-weight: 800;
}

.loan-deal__sources a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(126, 155, 212, 0.65);
  text-underline-offset: 3px;
}

.loan-deal__sources a:hover {
  color: #a9c9ff;
}

.loan-deal__sources a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .loan-deal__chevron {
    transition: none;
  }
}

@media (min-width: 760px) {
  .about {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    padding-block-end: 84px;
  }

  .contracts-hub-card {
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 28px;
  }

  .contracts-hero {
    padding-block: 78px 58px;
  }

  .contracts-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contracts-summary div:first-child {
    grid-column: auto;
  }

  .contracts-summary div {
    padding: 20px;
  }

  .contracts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .contract-card {
    min-height: 98px;
    padding: 20px;
  }

  .contracts-status-nav {
    width: fit-content;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
}
