:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --card: rgba(255, 255, 255, 0.78);
  --green: #123d2d;
  --team: #17466a;
  --green-soft: #dcebe3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 52% 0%, rgba(18, 61, 45, 0.12), transparent 30rem),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 42%, #eeeeef 100%);
}

button {
  font: inherit;
}

.app-shell {
  width: min(100%, 440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 32px;
  overflow: hidden;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
  animation: screenEnter 360ms cubic-bezier(0.2, 0, 0, 1) both;
}

.screen.is-leaving {
  display: block;
  animation: screenLeave 220ms cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes screenEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes screenLeave {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.992);
    filter: blur(4px);
  }
}

.topbar,
.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 2px 22px;
}

.topbar {
  position: relative;
  justify-content: center;
  text-align: center;
}

.topbar > div {
  min-width: 0;
  padding: 0 48px;
}

.topbar .ghost-icon {
  position: absolute;
  right: 2px;
  top: 10px;
}

.detail-topbar {
  justify-content: flex-start;
  padding-bottom: 14px;
}

.detail-topbar h1 {
  font-size: 25px;
  line-height: 1.1;
}

.kicker {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 32px;
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: 0;
}

.ghost-icon,
.back-button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.ghost-icon span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 16px auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: -9px 0 0 rgba(18, 61, 45, 0.35), 9px 0 0 rgba(18, 61, 45, 0.35);
}

.back-button {
  position: relative;
}

.back-button::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 17px;
  top: 15px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.fixture-board {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, rgba(18, 61, 45, 0.12), transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.fixture-board-head {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px 14px 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.fixture-board-head strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
}

.fixture-board-head span,
.closed-toggle,
.fixture-meta,
.row-status {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 520;
}

.fixture-board-head span {
  margin-top: 6px;
}

.date-arrow {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.date-arrow::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: 13px;
  top: 11px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

.closed-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.closed-toggle em {
  font-style: normal;
  font-weight: 520;
}

.closed-toggle span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.wang-brief {
  padding: 16px 18px 17px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.065);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(232, 239, 236, 0.42));
}

.wang-brief-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wang-brief-head img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(18, 61, 45, 0.14);
}

.wang-brief span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 620;
}

.wang-brief strong {
  display: block;
  margin-top: 4px;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 680;
  line-height: 1.1;
}

.wang-brief p {
  margin-top: 11px;
  color: #3d4643;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.58;
}

#fixtureList {
  display: grid;
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(235, 239, 237, 0.42));
}

.fixture-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 16px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 5px;
  min-height: 64px;
  padding: 12px 24px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 249, 0.72)),
    linear-gradient(145deg, rgba(18, 61, 45, 0.08), rgba(36, 93, 141, 0.04));
  box-shadow:
    0 14px 30px rgba(29, 29, 31, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  cursor: pointer;
  outline: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.94);
  transform-origin: center;
  transition:
    opacity 560ms ease,
    transform 640ms cubic-bezier(0.16, 1, 0.3, 1),
    background 210ms ease,
    border-color 210ms ease,
    box-shadow 210ms ease,
    filter 210ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  will-change: transform, opacity;
}

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

.fixture-row::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 17px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(90deg, rgba(18, 61, 45, 0.08), transparent 42%);
  opacity: 0.7;
  transition: opacity 210ms ease, transform 210ms ease;
}

.fixture-row::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.8px solid rgba(18, 61, 45, 0.42);
  border-right: 1.8px solid rgba(18, 61, 45, 0.42);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 210ms cubic-bezier(0.2, 0, 0, 1), opacity 210ms ease;
}

.fixture-row.is-pressing,
.fixture-row:active {
  z-index: 1;
  border-color: rgba(18, 61, 45, 0.12);
  background:
    linear-gradient(145deg, rgba(235, 243, 239, 0.96), rgba(248, 250, 249, 0.82)),
    linear-gradient(145deg, rgba(18, 61, 45, 0.12), rgba(36, 93, 141, 0.05));
  box-shadow:
    0 5px 14px rgba(29, 29, 31, 0.05),
    inset 0 3px 12px rgba(18, 61, 45, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.72);
  filter: saturate(0.98);
  transform: translateY(3px) scale(0.976);
}

.fixture-row.is-opening {
  z-index: 2;
  opacity: 0.84;
  box-shadow:
    0 8px 20px rgba(18, 61, 45, 0.1),
    inset 0 2px 12px rgba(18, 61, 45, 0.08);
  transform: translateY(2px) scale(0.965);
}

.motion-card {
  opacity: 0;
  transform: translateY(24px) scale(0.965);
  transform-origin: center;
  transition:
    opacity 540ms ease,
    transform 660ms cubic-bezier(0.16, 1, 0.3, 1),
    background 210ms ease,
    box-shadow 210ms ease;
  will-change: transform, opacity;
}

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

.fixture-row.is-pressing::before,
.fixture-row:active::before {
  opacity: 0.38;
  transform: scale(0.99);
}

.fixture-row.is-pressing::after,
.fixture-row:active::after {
  opacity: 0.72;
  transform: translate(2px, -50%) rotate(45deg);
}

.fixture-row:last-child {
  border-bottom: 0;
}

.fixture-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.match-no {
  width: 19px;
  color: #8f8f94;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.league-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 25px;
  padding: 0 6px;
  border-radius: 9px;
  color: white;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.league-pink {
  background: #d95f8a;
}

.league-blue {
  background: #245d8d;
}

.league-green {
  background: #2d7a35;
}

.league-purple {
  background: #8c4aa3;
}

.league-mauve {
  background: #aa90a9;
}

.time {
  color: var(--muted);
  display: none;
  font-size: 11px;
  font-weight: 520;
  font-variant-numeric: tabular-nums;
}

.team-button {
  display: block;
  min-width: 0;
  border: 0;
  padding: 0;
  color: #173d36;
  background: transparent;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.16;
  text-align: center;
  overflow: visible;
  word-break: keep-all;
  white-space: normal;
  pointer-events: none;
  user-select: none;
}

.team-button:first-of-type {
  grid-column: 2;
}

.team-button:last-of-type {
  grid-column: 4;
}

.versus {
  display: block;
  grid-column: 3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-align: center;
}

.row-status {
  grid-column: 5;
  text-align: right;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 620;
}

.row-status.ready {
  color: var(--green);
}

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

.screen-detail .bento-grid {
  gap: 10px;
}

.match-card,
.bento-card,
.match-brief {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(22px);
}

.match-card {
  padding: 16px;
  cursor: pointer;
  overflow: hidden;
}

.match-card-head,
.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.match-card-head strong {
  color: var(--green);
  white-space: nowrap;
}

.match-card-head > * {
  min-width: 0;
}

.teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
}

.teams.compact {
  margin: 18px 0 14px;
}

.teams h3 {
  font-size: 25px;
  line-height: 1.04;
  min-width: 0;
  overflow-wrap: anywhere;
}

.teams.compact h3 {
  font-size: 21px;
}

.teams h3:last-child {
  text-align: right;
}

.teams span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-row span {
  border: 1px solid rgba(18, 61, 45, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green);
  background: rgba(220, 235, 227, 0.76);
  font-size: 12px;
  font-weight: 700;
}

.card-note {
  margin-top: 14px;
  color: #424245;
  font-size: 15px;
  line-height: 1.45;
}

.muted-card {
  opacity: 0.78;
}

.match-brief {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  overflow: visible;
  margin-bottom: 14px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border: 0;
}

.brief-tile {
  position: relative;
  --tile-accent: #245d8d;
  min-height: 66px;
  padding: 11px 12px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 10px 24px rgba(29, 29, 31, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brief-tile::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tile-accent) 72%, white);
  opacity: 0.9;
}

.brief-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.match-brief span,
.card-label,
.clean-list span,
.rest-days span,
.contact-row p {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
}

.match-brief span {
  position: relative;
  z-index: 1;
}

.card-label {
  color: rgba(29, 29, 31, 0.48);
  letter-spacing: 0.01em;
}

.match-brief strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 5px;
  color: color-mix(in srgb, var(--tile-accent) 62%, #1d1d1f);
  font-size: 15.5px;
  font-weight: 680;
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-home {
  --tile-accent: #2467a8;
  background:
    linear-gradient(145deg, rgba(215, 235, 255, 0.66), rgba(255, 255, 255, 0.5)),
    url("./assets/ui/home-team-badge.svg") right -10px center / 84px 84px no-repeat,
    linear-gradient(145deg, rgba(188, 221, 250, 0.98), rgba(255, 255, 255, 0.7)) !important;
}

.tile-away {
  --tile-accent: #23754b;
  background:
    linear-gradient(145deg, rgba(218, 241, 225, 0.66), rgba(255, 255, 255, 0.5)),
    url("./assets/ui/away-team-badge.svg") right -10px center / 84px 84px no-repeat,
    linear-gradient(145deg, rgba(190, 231, 202, 0.98), rgba(255, 255, 255, 0.7)) !important;
}

.tile-venue {
  --tile-accent: #b7791f;
  background:
    linear-gradient(145deg, rgba(255, 236, 194, 0.56), rgba(255, 255, 255, 0.48)),
    url("./assets/ui/field-top-view.svg") right -14px center / 122px 82px no-repeat,
    linear-gradient(145deg, rgba(245, 211, 143, 0.98), rgba(255, 255, 255, 0.68)) !important;
}

.tile-time {
  --tile-accent: #7258a6;
  background:
    linear-gradient(145deg, rgba(232, 226, 255, 0.56), rgba(255, 255, 255, 0.48)),
    url("./assets/ui/clock-face.svg") right -10px center / 92px 92px no-repeat,
    linear-gradient(145deg, rgba(209, 199, 247, 0.98), rgba(255, 255, 255, 0.68)) !important;
}

.tile-home::after,
.tile-away::after,
.tile-venue::after,
.tile-time::after {
  content: none;
}

.bento-card {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 249, 250, 0.66));
  box-shadow:
    0 14px 42px rgba(29, 29, 31, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.bento-card.wide {
  min-height: 0;
}

.bento-card h2 {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: 0;
}

.brief-text {
  margin-top: 12px;
  color: #555b58;
  font-size: 13.5px;
  font-weight: 430;
  line-height: 1.56;
}

.focus-card {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 94% 0%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(20, 84, 62, 0.96), rgba(10, 32, 27, 0.97));
  box-shadow:
    0 18px 46px rgba(18, 61, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.focus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 12% 18%, rgba(220, 235, 227, 0.16), transparent 28%);
  pointer-events: none;
}

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

.focus-card .card-label,
.focus-card .brief-text {
  color: rgba(255, 255, 255, 0.68);
}

.weather-card {
  position: relative;
  overflow: hidden;
  --weather-image: url("./assets/weather/clear-cloudy.jpg");
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(118, 185, 232, 0.28), rgba(255, 255, 255, 0.58)),
    var(--weather-image),
    linear-gradient(145deg, rgba(126, 192, 238, 0.68), rgba(238, 249, 255, 0.7));
  background-position: center top;
  background-size: cover;
}

.weather-clear-cloudy {
  --weather-image: url("./assets/weather/clear-cloudy.jpg");
}

.weather-light-rain {
  --weather-image: url("./assets/weather/light-rain.jpg");
}

.weather-heavy-rain {
  --weather-image: url("./assets/weather/heavy-rain.jpg");
}

.weather-snow {
  --weather-image: url("./assets/weather/snow.jpg");
}

.weather-sunny {
  --weather-image: url("./assets/weather/sunny.jpg");
}

.weather-card::before {
  content: none;
}

.weather-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -34px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(86, 164, 222, 0.26);
  filter: blur(9px);
  pointer-events: none;
}

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

.weather-card .metric-strip div {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.records-card h2 {
  max-width: 620px;
  font-size: 20px;
}

.fold-hint {
  margin-top: 9px;
  color: #707774;
  font-size: 12.5px;
  font-weight: 560;
  line-height: 1.45;
}

.record-fold {
  margin-top: 10px;
  border: 1px solid rgba(18, 61, 45, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.record-fold summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 13px 38px 13px 13px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

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

.record-fold summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(18, 61, 45, 0.45);
  border-bottom: 2px solid rgba(18, 61, 45, 0.45);
  transform: translateY(-62%) rotate(45deg);
  transition: transform 180ms ease;
}

.record-fold[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.record-fold summary span {
  color: #173d36;
  font-size: 15px;
  font-weight: 700;
}

.record-fold summary em {
  color: #7b8380;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}

.record-list {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px;
}

.record-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(9, 36, 50, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.62);
}

.record-row > span {
  color: #8a9196;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.record-row strong {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.record-row .result-win {
  color: #d94b43;
}

.record-row .result-loss {
  color: #2467a8;
}

.record-row .result-draw {
  color: #1d1d1f;
}

.source-note {
  margin: 14px 0 0;
  color: #818986;
  font-size: 12px;
  font-weight: 650;
}

.odds-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 244, 239, 0.64));
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.odds-grid div {
  min-height: 64px;
  padding: 11px 9px;
  border: 1px solid rgba(18, 61, 45, 0.06);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.64);
  text-align: center;
}

.odds-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

.odds-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
}

.odds-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 520;
  line-height: 1.52;
}

.metric-strip,
.rest-days,
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.metric-strip div,
.rest-days div {
  min-height: 64px;
  padding: 11px 9px;
  border: 1px solid rgba(29, 29, 31, 0.045);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.metric-strip strong,
.rest-days strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.metric-strip span,
.rest-days span {
  display: block;
  margin-top: 8px;
}

.clean-list {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
}

.clean-list strong {
  font-size: 14px;
  font-weight: 620;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.compare-grid > div {
  padding: 13px;
  border: 1px solid rgba(18, 61, 45, 0.055);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.compare-grid strong {
  display: block;
  color: var(--green);
  font-size: 15px;
  font-weight: 650;
}

.compare-grid ul {
  display: grid;
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.compare-grid li {
  color: #555b58;
  font-size: 13px;
  font-weight: 430;
  line-height: 1.42;
}

.motivation-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 84, 62, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 244, 0.72));
}

.motivation-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 61, 45, 0.18), transparent);
  pointer-events: none;
}

.motivation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 15px;
}

.motivation-grid > div {
  position: relative;
  overflow: hidden;
  padding: 14px 14px 15px;
  border: 1px solid rgba(18, 61, 45, 0.07);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 248, 0.64));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 26px rgba(18, 61, 45, 0.045);
}

.motivation-grid > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #17466a, #123d2d);
}

.motivation-grid span {
  display: block;
  color: #6f7774;
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
}

.motivation-grid strong {
  display: block;
  margin-top: 8px;
  color: #163f35;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.15;
}

.motivation-grid p {
  margin-top: 9px;
  color: #4f5754;
  font-size: 13.2px;
  font-weight: 430;
  line-height: 1.55;
}

.dark {
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(25, 29, 31, 0.96), rgba(14, 56, 43, 0.94));
  box-shadow:
    0 16px 42px rgba(18, 61, 45, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dark .card-label,
.dark .rest-days span {
  color: rgba(255, 255, 255, 0.62);
}

.dark .rest-days {
  grid-template-columns: repeat(2, 1fr);
}

.dark .rest-days div {
  background: rgba(255, 255, 255, 0.08);
}

.stat-row {
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.stat-row:last-child {
  border-bottom: 0;
}

.stat-row strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 650;
}

.hook-card {
  color: white;
  background:
    linear-gradient(140deg, rgba(18, 61, 45, 0.98), rgba(8, 13, 12, 0.96));
}

.hook-card .card-label,
.hook-card .contact-row p {
  color: rgba(255, 255, 255, 0.62);
}

.contact-row {
  grid-template-columns: 88px 1fr;
  align-items: center;
}

.contact-row strong {
  display: block;
  font-size: 16px;
}

.contact-row p {
  margin-top: 7px;
}

.copy-contact {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 13px;
  color: #123d2d;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.copy-contact.is-copied {
  background: rgba(220, 235, 227, 0.95);
}

.contact-badge {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.contact-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .screen.is-active,
  .screen.is-leaving,
  .fixture-row,
  .motion-card {
    animation: none;
    transition: none;
  }

  .fixture-row,
  .motion-card {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  .app-shell {
    width: min(100%, 920px);
    padding: 28px 28px 48px;
  }

  .match-waterfall,
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .match-card.is-featured,
  .bento-card.wide {
    grid-column: span 2;
  }
}
