:root {
  --bg: #f3f5f2;
  --paper: #ffffff;
  --paper-soft: #f8faf8;
  --ink: #141813;
  --muted: #667064;
  --line: #dfe6dc;
  --line-strong: #c5d0c2;
  --green: #176b4d;
  --green-2: #0f8a63;
  --green-soft: #e7f3ed;
  --blue: #245b9c;
  --blue-soft: #e8f0fa;
  --gold: #af7a1d;
  --gold-soft: #fff4dc;
  --red: #a9433e;
  --red-soft: #fae9e7;
  --graphite: #202820;
  --shadow: 0 18px 40px rgba(30, 41, 34, 0.08);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 107, 77, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #e9eee7 0, var(--bg) 360px);
  background-size: 28px 28px, auto;
}

body.modal-open {
  overflow: hidden;
}

.app-shell {
  width: min(1540px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin: 18px clamp(12px, 2.4vw, 34px) 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 44px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 98, 67, 0.97), rgba(32, 40, 32, 0.98)),
    var(--graphite);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-width: 0;
}

.kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .kicker {
  color: rgba(255, 255, 255, 0.72);
}

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

h1 {
  margin-top: 10px;
  max-width: 880px;
  font-size: clamp(36px, 6.2vw, 84px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.45;
}

.hero-status {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
  justify-content: end;
}

.status-chip,
.subtle-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.status-chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.status-chip.secondary {
  color: #e5f3ec;
  background: rgba(0, 0, 0, 0.18);
}

.status-chip.online {
  background: rgba(17, 161, 105, 0.32);
}

.live-indicator {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.live-indicator.online::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border-radius: 999px;
  background: #ff3434;
  box-shadow: 0 0 0 0 rgba(255, 52, 52, 0.72);
  animation: live-pulse 1.35s ease-out infinite;
}

.status-chip.offline {
  background: rgba(169, 67, 62, 0.32);
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 52, 52, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 52, 52, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 52, 52, 0);
  }
}

main {
  padding: 18px clamp(12px, 2.4vw, 34px) 42px;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.35fr);
  gap: 14px;
  margin-bottom: 18px;
}

.leader-feature,
.stat-strip,
.podium-panel,
.live-board,
.ranking-panel,
.fixtures-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.leader-feature {
  display: grid;
  grid-row: span 2;
  align-content: space-between;
  min-height: 268px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(23, 107, 77, 0.96), rgba(15, 138, 99, 0.88)),
    var(--green);
}

.leader-feature .kicker {
  color: rgba(255, 255, 255, 0.76);
}

.leader-name {
  overflow-wrap: anywhere;
  margin-top: 18px;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 950;
  line-height: 1;
}

.leader-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 24px;
}

.leader-score strong {
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.85;
  letter-spacing: 0;
}

.leader-score span,
.leader-meta {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 780;
}

.leader-meta {
  margin-top: 14px;
  font-size: 14px;
}

.stat-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.72fr) minmax(260px, 1.56fr);
  gap: 1px;
  overflow: hidden;
  min-height: 112px;
  background: var(--line);
}

.stat-strip div {
  min-width: 0;
  padding: 18px;
  background: var(--paper);
}

.stat-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stat-strip strong {
  display: block;
  overflow: hidden;
  margin-top: 12px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-match-stat strong {
  font-size: clamp(19px, 2.25vw, 28px);
  line-height: 1.14;
  white-space: normal;
}

.next-match-stat small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.podium-panel {
  grid-column: 2;
  padding: 18px;
}

.section-title {
  margin-bottom: 14px;
}

.section-title.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.section-title h2 {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.1;
}

.subtle-chip {
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.inline-live-chip {
  gap: 8px;
  color: #a62828;
  border-color: rgba(255, 52, 52, 0.22);
  background: #fff1f1;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.inline-live-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ff3434;
  box-shadow: 0 0 0 0 rgba(255, 52, 52, 0.72);
  animation: live-pulse 1.35s ease-out infinite;
}

.podium-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.podium-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--paper-soft);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.podium-card:hover {
  border-color: rgba(23, 107, 77, 0.28);
  box-shadow: 0 10px 22px rgba(30, 41, 34, 0.09);
}

.podium-card:active {
  transform: translateY(1px);
}

.podium-card:focus-visible {
  outline: 3px solid rgba(23, 107, 77, 0.22);
  outline-offset: 3px;
}

.place-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 950;
}

.place-1 {
  border-color: rgba(175, 122, 29, 0.32);
  background: var(--gold-soft);
}

.place-1 .place-mark {
  color: var(--gold);
  background: #fff;
}

.podium-card strong,
.podium-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-card strong {
  font-size: 14px;
}

.podium-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.live-board {
  padding: 18px;
  margin-bottom: 18px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 10px;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.55fr);
  gap: 18px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 14px;
  padding: 18px;
}

.ranking-list {
  display: grid;
  gap: 8px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper-soft);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.ranking-row:first-child {
  border-color: rgba(23, 107, 77, 0.24);
  background: var(--green-soft);
}

.ranking-row:hover {
  border-color: rgba(23, 107, 77, 0.28);
  box-shadow: 0 10px 22px rgba(30, 41, 34, 0.09);
}

.ranking-row:active {
  transform: translateY(1px);
}

.ranking-row:focus-visible {
  outline: 3px solid rgba(23, 107, 77, 0.22);
  outline-offset: 3px;
}

.position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-weight: 950;
}

.participant {
  min-width: 0;
}

.participant strong,
.participant span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant strong {
  font-size: 14px;
}

.participant span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.score-bar {
  overflow: hidden;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: #dce6df;
}

.score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-2));
}

.points {
  justify-self: end;
  font-size: 22px;
}

.fixtures-panel {
  padding: 18px;
}

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

.group-board {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.group-board header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.group-board h3 {
  margin-top: 2px;
  font-size: 26px;
  line-height: 1;
}

.group-board header > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.group-match-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.match-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.match-card:hover {
  border-color: rgba(23, 107, 77, 0.28);
  box-shadow: 0 12px 26px rgba(30, 41, 34, 0.1);
}

.match-card:active {
  transform: translateY(1px);
}

.match-card:focus-visible {
  outline: 3px solid rgba(23, 107, 77, 0.22);
  outline-offset: 3px;
}

.match-card.feature {
  min-height: 166px;
}

.match-card.live {
  border-left-color: #ff3434;
  background:
    linear-gradient(90deg, rgba(255, 52, 52, 0.055), transparent 42%),
    var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 52, 52, 0.08);
}

.match-card.finished {
  border-left-color: var(--blue);
}

.match-card.alert {
  border-left-color: var(--red);
}

.match-meta,
.match-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.match-meta span,
.match-footer span {
  overflow-wrap: anywhere;
}

.teams {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.team {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
}

.crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(20, 52, 35, 0.12);
  color: var(--green);
  background: var(--green-soft);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 5px 14px rgba(23, 43, 31, 0.08);
}

.flag-wrap {
  background: #ffffff;
}

.flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.flag-fallback {
  background: var(--green-soft);
}

.team strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 7px;
  background: #edf2ec;
  font-size: 17px;
}

.match-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 8px;
  text-transform: none;
}

.match-status.live {
  color: #a62828;
  border: 1px solid rgba(255, 52, 52, 0.24);
  background: #fff1f1;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ff3434;
  box-shadow: 0 0 0 0 rgba(255, 52, 52, 0.72);
  animation: live-pulse 1.35s ease-out infinite;
}

.live-broadcast {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.live-broadcast::before,
.live-broadcast::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.live-broadcast::before {
  top: 5px;
  left: 5px;
  width: 4px;
  height: 4px;
  background: currentColor;
}

.live-broadcast::after {
  inset: 1px;
  border: 1.5px solid currentColor;
  opacity: 0.72;
}

.match-status.finished {
  color: var(--blue);
  background: var(--blue-soft);
}

.match-status.alert {
  color: var(--red);
  background: var(--red-soft);
}

.match-status.scheduled {
  color: var(--muted);
  background: #eef2ee;
}

.empty-panel {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  background: var(--paper-soft);
  font-size: 14px;
  font-weight: 780;
}

.prediction-modal-shell[hidden] {
  display: none !important;
}

.prediction-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 19, 0.52);
  backdrop-filter: blur(5px);
}

.prediction-modal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(560px, 100%);
  max-height: min(720px, calc(100dvh - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 26px 74px rgba(10, 20, 14, 0.28);
}

.prediction-modal:focus {
  outline: none;
}

.modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.modal-header .kicker {
  display: block;
  margin-bottom: 6px;
}

.modal-header h2 {
  overflow-wrap: anywhere;
  font-size: 23px;
  line-height: 1.08;
}

.modal-header p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.35;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper-soft);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.modal-close:hover {
  border-color: rgba(23, 107, 77, 0.28);
  background: #eef5f0;
}

.modal-close:focus-visible {
  outline: 3px solid rgba(23, 107, 77, 0.22);
  outline-offset: 2px;
}

.modal-matchline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.participant-modal-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.participant-modal-summary > div {
  min-width: 0;
  padding: 13px 12px;
  background: var(--paper-soft);
}

.participant-modal-summary span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.participant-modal-summary strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
  line-height: 1;
}

.modal-team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.modal-team.away {
  justify-content: end;
  text-align: right;
}

.modal-team strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-score {
  display: inline-grid;
  grid-template-columns: 32px 12px 32px;
  align-items: center;
  justify-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 8px;
  color: var(--ink);
  background: #edf2ec;
  font-weight: 950;
}

.modal-score small {
  color: var(--muted);
  font-size: 11px;
}

.prediction-list {
  display: grid;
  gap: 8px;
  min-height: 120px;
  overflow: auto;
  padding: 14px 18px 18px;
}

.prediction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 74px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--paper-soft);
}

.prediction-row.exact {
  border-left-color: var(--gold);
  background: var(--gold-soft);
}

.prediction-row.result {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.prediction-row.miss {
  border-left-color: #c9d1c6;
}

.participant-prediction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 126px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: var(--paper-soft);
}

.participant-prediction-row.exact {
  border-left-color: var(--gold);
  background: var(--gold-soft);
}

.participant-prediction-row.result {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.participant-prediction-row.miss {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.participant-prediction-row.pending {
  border-left-color: var(--line-strong);
}

.participant-prediction-match,
.participant-prediction-score {
  min-width: 0;
}

.participant-prediction-match strong,
.participant-prediction-match span,
.participant-prediction-score strong,
.participant-prediction-score span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-prediction-match strong {
  font-size: 14px;
}

.participant-prediction-match span,
.participant-prediction-score span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.participant-prediction-score {
  text-align: right;
}

.participant-prediction-score strong {
  font-size: 17px;
}

.participant-prediction-row.miss .prediction-points {
  color: var(--red);
  background: #fff;
}

.participant-prediction-row.pending .prediction-points {
  color: var(--muted);
  background: #eef2ee;
}

.prediction-person {
  min-width: 0;
}

.prediction-person strong,
.prediction-person span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prediction-person strong {
  font-size: 14px;
}

.prediction-person span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.prediction-score {
  justify-self: end;
  font-size: 16px;
  white-space: nowrap;
}

.prediction-points {
  justify-self: end;
  min-width: 58px;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: #eef2ee;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.prediction-row.exact .prediction-points {
  color: var(--gold);
  background: #fff;
}

.prediction-row.result .prediction-points {
  color: var(--green);
  background: #fff;
}

.modal-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  background: var(--paper-soft);
  font-size: 14px;
  font-weight: 780;
  text-align: center;
}

.modal-state.error {
  color: var(--red);
  border-color: rgba(169, 67, 62, 0.32);
  background: var(--red-soft);
}

@media (max-width: 1220px) {
  .hero,
  .command-grid,
  .main-grid {
    grid-template-columns: 1fr;
  }

  .hero-status {
    justify-content: start;
  }

  .podium-panel {
    grid-column: auto;
  }

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 880px) {
  .stat-strip,
  .podium-cards,
  .group-boards {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    gap: 0;
  }

  .section-title.inline {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    margin-top: 8px;
    padding: 20px;
  }

  .hero-status {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .status-chip {
    justify-content: center;
  }

  main {
    padding-inline: 8px;
  }

  .ranking-row {
    grid-template-columns: 36px minmax(0, 1fr) 44px;
    gap: 9px;
    padding: 10px;
  }

  .position {
    width: 32px;
    height: 32px;
  }

  .points {
    font-size: 19px;
  }

  .prediction-modal-shell {
    align-items: end;
    padding: 8px;
  }

  .prediction-modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
  }

  .modal-header,
  .modal-matchline,
  .prediction-list {
    padding-inline: 14px;
  }

  .modal-matchline {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .participant-modal-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-score {
    justify-self: center;
    order: 2;
  }

  .modal-team.away {
    justify-content: start;
    text-align: left;
  }

  .modal-team.away .crest {
    order: -1;
  }

  .prediction-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .prediction-score {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .prediction-points {
    justify-self: start;
  }

  .participant-prediction-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .participant-prediction-score {
    text-align: left;
  }
}
