/* One pixel-art game language, within the established personal-site frame. */
.section-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.section-tabs button[aria-pressed='true'] {
  background: #dfc082;
  color: #172b38;
}
#navigation {
  overflow-x: auto;
  justify-content: flex-start;
}
#navigation .game-button {
  flex: 1;
  min-width: 76px;
  padding-inline: 8px;
}
.team-badge,
.club-badge {
  flex-shrink: 0;
  vertical-align: middle;
}
.team-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
}
.team-name > span {
  white-space: normal;
}
.team-stamp {
  background: none !important;
  border: 0 !important;
  overflow: visible;
}
.team-mumbai {
  color: #8ab8ef;
}
.team-chennai {
  color: #f0d778;
}
.team-kolkata {
  color: #cca6f0;
}
.team-rajasthan {
  color: #f0a4c3;
}
.team-bengaluru {
  color: #f0a7a3;
}
.team-punjab {
  color: #f2a6a8;
}
.team-hyderabad {
  color: #efb583;
}
.team-gujarat {
  color: #acd6d8;
}
.team-delhi {
  color: #9cb9ee;
}
.team-lucknow {
  color: #a9d2df;
}
.league-table th .team-name {
  font-size: var(--type-body);
}
.league-fixture strong {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
/* The gold Q1 path bypasses both the Eliminator and Qualifier 2. */
.playoff-section {
  margin: 24px auto 0;
  min-width: 0;
  max-width: 600px;
}
.playoff-bracket {
  --bracket-lane: 24px;
  display: grid;
  grid-template-columns: var(--bracket-lane) minmax(0, 1fr) var(--bracket-lane);
  grid-template-rows: auto 34px auto 40px auto 40px auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-width: 0;
}
.bracket-game {
  grid-column: 2;
  position: relative;
  min-width: 0;
  background: var(--panel, #203847);
  border: 1px solid var(--edge, #5a7480);
  border-top: 3px solid #92aaa4;
  padding: 12px;
  box-sizing: border-box;
  box-shadow: 3px 3px 0 #0d1d27;
}
.bracket-qualifier1 {
  grid-row: 1;
}
.bracket-eliminator {
  grid-row: 3;
}
.bracket-qualifier2 {
  grid-row: 5;
}
.bracket-final {
  grid-row: 7;
  border-top-color: var(--gold, #dfc082);
}
.bracket-game h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--type-name);
  font-weight: 800;
  color: var(--cream, #f4eee0);
  margin: 0 0 10px;
  line-height: 1.3;
}
.bracket-match-state {
  margin-left: auto;
  font-size: var(--type-caption);
  font-weight: 500;
  color: var(--dim, #bfd0c7);
}
.bracket-trophy {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--gold, #dfc082);
}
.bracket-final h4 {
  font-size: var(--type-title);
  color: var(--gold, #dfc082);
}
.bracket-team {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px 0;
  font-size: var(--type-body);
  line-height: 1.35;
  border-top: 1px solid var(--edge, #3b5460);
}
.bracket-team .team-name {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  min-width: 0;
  font-size: var(--type-body);
  font-weight: 700;
}
.bracket-team .team-name > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.bracket-team .team-badge,
.bracket-team .club-badge {
  width: 28px;
  height: 32px;
}
.bracket-team > strong {
  font-size: var(--type-name);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: none;
  color: var(--cream, #f4eee0);
}
.bracket-placeholder {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--dim, #bfd0c7);
  font-size: var(--type-body);
}
.bracket-seed {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  flex: none;
  border: 1px solid #71858e;
  color: #bfd0d3;
  font-size: var(--type-body);
  font-weight: 700;
}
.bracket-winner {
  background: #27483e;
  box-shadow: inset 3px 0 #e5c474;
  margin-inline: -5px;
  padding-inline: 5px;
}
.bracket-winner > strong,
.bracket-win-mark {
  color: var(--gold, #f4d78d);
}
.bracket-win-mark {
  font-size: var(--type-section);
  font-weight: 800;
  flex: none;
}
.bracket-outcomes {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--edge, #3b5460);
  padding-top: 8px;
  margin-top: 7px;
}
.bracket-outcomes p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.45;
}
.bracket-direct-note {
  color: var(--gold, #dfc082);
}
.bracket-second-note {
  color: #a8d0e1;
}
.bracket-outcomes strong {
  font-weight: 700;
}
.bracket-next {
  border-top: 1px solid var(--edge, #3b5460);
  padding-top: 8px;
  margin: 7px 0 0;
  color: var(--mint, #bfd39b);
  font-size: var(--type-body);
  line-height: 1.45;
}
.bracket-champion {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0;
  border-top: 1px solid var(--edge, #3b5460);
  padding-top: 12px;
  color: var(--gold, #dfc082);
  font-size: var(--type-name);
  line-height: 1.35;
}
.bracket-champion strong {
  font-weight: 800;
}
.bracket-wire {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.bracket-wire path,
.bracket-down path {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: miter;
}
.bracket-direct-source,
.bracket-direct-destination {
  left: calc(100% + 1px);
  top: -3px;
  width: var(--bracket-lane);
  height: calc(100% + 4px);
  color: var(--gold, #dfc082);
}
.bracket-second-source,
.bracket-second-destination {
  left: auto;
  right: calc(100% + 1px);
  top: -3px;
  width: var(--bracket-lane);
  height: calc(100% + 4px);
  color: #a8d0e1;
}
.bracket-long-route {
  position: relative;
  min-height: 0;
}
.bracket-direct-route {
  grid-column: 3;
  grid-row: 2/7;
  color: var(--gold, #dfc082);
}
.bracket-second-route {
  grid-column: 1;
  grid-row: 2/5;
  color: #a8d0e1;
}
.bracket-down {
  grid-column: 2;
  min-height: 0;
  color: var(--mint, #bfd39b);
}
.bracket-down svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bracket-eliminator-route {
  grid-row: 4;
}
.bracket-q2-route {
  grid-row: 6;
}
@container game (max-width:450px) {
  .playoff-bracket {
    --bracket-lane: 18px;
    grid-template-rows: auto 28px auto 34px auto 34px auto;
  }
  .bracket-game {
    padding: 10px 9px;
  }
  .bracket-game h4 {
    font-size: var(--type-name);
  }
  .bracket-team {
    gap: 6px;
    min-height: 45px;
  }
  .bracket-team .team-name {
    gap: 7px;
    font-size: var(--type-body);
  }
  .bracket-team > strong {
    font-size: var(--type-name);
  }
  .bracket-placeholder {
    font-size: var(--type-body);
    gap: 7px;
  }
  .bracket-outcomes p,
  .bracket-next {
    font-size: var(--type-caption);
  }
  .bracket-final h4 {
    font-size: var(--type-title);
  }
  .bracket-champion {
    font-size: var(--type-section);
  }
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.facility-card {
  border: 2px solid #47616b;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ui-raised, #1e3542);
  color: #f3e9cf;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.facility-card:hover,
.facility-card:focus-visible {
  border-color: #e4c780;
  outline-offset: 3px;
}
.facility-card-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.facility-card-copy strong {
  font-size: var(--type-name);
}
.facility-card-copy span {
  font-size: var(--type-body);
  color: #ebcb83;
}
.facility-card-copy small {
  font-size: var(--type-body);
  color: #c0d3d4;
}
.facility-art {
  aspect-ratio: 1;
  background-image: url('./assets/facilities-pixel-five-tiers.png');
  background-size: 500% 700%;
  image-rendering: pixelated;
  background-color: #315943;
  width: 100%;
}
.art-tier-1 {
  background-position-x: 0%;
}
.art-tier-2 {
  background-position-x: 25%;
}
.art-tier-3 {
  background-position-x: 50%;
}
.art-tier-4 {
  background-position-x: 75%;
}
.art-tier-5 {
  background-position-x: 100%;
}
.art-row-0 {
  background-position-y: 0%;
}
.art-row-1 {
  background-position-y: 16.6667%;
}
.art-row-2 {
  background-position-y: 33.3333%;
}
.art-row-3 {
  background-position-y: 50%;
}
.art-row-4 {
  background-position-y: 66.6667%;
}
.art-row-5 {
  background-position-y: 83.3333%;
}
.art-row-6 {
  background-position-y: 100%;
}
.facility-detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr);
  gap: 28px;
  margin-top: 18px;
}
.facility-detail-grid .facility-art {
  border: 2px solid #a4b48a;
  border-radius: 4px;
}
.facility-detail-grid section > h3 {
  font-size: var(--type-number);
  color: #f0d193;
}
.facility-upgrade {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #58727a;
  border-radius: 4px;
}
.facility-upgrade .game-button {
  margin: 4px 8px 4px 0;
}
.breadcrumbs {
  display: flex;
  gap: 14px;
  align-items: center;
}
.facility-event {
  border-top: 1px solid #44616d;
  padding: 14px 0;
}
.facility-event p {
  font-size: var(--type-body);
}
.current-coaches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.coach-tile {
  display: flex;
  text-align: left;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 2px solid #4e6974;
  background: var(--ui-raised, #203847);
  color: #f2e8cf;
  border-radius: 4px;
  cursor: pointer;
}
.coach-tile > span {
  display: grid;
  gap: 5px;
}
.coach-tile small {
  font-size: var(--type-body);
  color: #b9d1d7;
}
.coach-tile strong {
  font-size: var(--type-section);
}
.coach-tile svg {
  image-rendering: pixelated;
  flex-shrink: 0;
}
.reputation-panel {
  background: var(--ui-surface, #1b303d);
  border: 1px solid #6f7d66;
  padding: 18px;
  margin: 0 0 22px;
  border-radius: 4px;
}
.reputation-panel h3 {
  margin: 7px 0;
  color: #efd394;
}
.reputation-panel p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 8px 0;
}
.reputation-panel progress,
.player-progression progress {
  height: 12px;
  width: 100%;
  accent-color: #deb976;
}
.training-sessions > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.training-sessions article {
  padding: 16px;
  border: 1px solid #48646d;
  background: var(--ui-raised, #1d3441);
  border-radius: 4px;
}
.training-sessions p {
  font-size: var(--type-body);
  line-height: 1.55;
}
.training-plan {
  max-width: none;
}
.training-office {
  display: block;
}
.xi-order ol {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.xi-order li {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(190px, 2fr) minmax(100px, 1fr) minmax(105px, 1fr) 90px 144px;
  gap: 12px;
  padding: 12px 0;
}
.xi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  min-height: 52px;
  cursor: pointer;
  padding: 0;
  min-width: 0;
}
.xi-person > span {
  display: block;
  min-width: 0;
}
.xi-person strong {
  font-size: var(--type-section);
  display: block;
  overflow-wrap: anywhere;
}
.xi-person small {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--type-caption);
  margin-top: 5px;
  color: #bfd2d8;
}
.xi-person svg {
  flex-shrink: 0;
}
.xi-form,
.xi-career,
.xi-condition {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: var(--type-body);
}
.xi-form small,
.xi-career small,
.xi-condition small {
  color: #b9ccd2;
  font-size: var(--type-caption);
}
.xi-form > span {
  font-size: var(--type-section);
  word-spacing: 4px;
  font-weight: 700;
  color: #efce89;
}
.xi-move {
  justify-content: end;
}
.bench-swap {
  min-width: 0;
  font-size: var(--type-caption);
}
.bench-swap select {
  width: 100%;
  min-height: 44px;
  font-size: var(--type-caption);
  display: block;
  margin-top: 5px;
}
.xi-order header {
  gap: 15px;
}
.xi-order ol:empty:after {
  content: 'No players here.';
  padding: 18px;
}
.stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stats-summary > div {
  border-bottom: 1px solid #49616e;
  padding: 10px 0;
}
.stats-summary dt {
  font-size: var(--type-caption);
  color: #b4cbd3;
}
.stats-summary dd {
  margin: 5px 0;
  font-size: var(--type-title);
  font-weight: 700;
  color: #f1d18d;
}
.form-scores {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.form-scores > span {
  background: var(--ui-raised, #2b4554);
  border: 1px solid #76948d;
  min-width: 46px;
  padding: 8px;
  text-align: center;
  border-radius: 3px;
  font-weight: 700;
}
.player-numbers,
.player-progression {
  border-bottom: 1px solid #49616e;
  padding: 0 0 24px;
  margin: 0 0 24px;
}
.player-numbers p,
.player-progression p {
  font-size: var(--type-body);
  line-height: 1.55;
}
.equipment-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.equipment-slot {
  display: grid;
  gap: 10px;
  border: 2px solid #5f747b;
  padding: 14px;
  background: var(--ui-raised, #203746);
}
.equipment-slot select {
  width: 100%;
  min-height: 44px;
  font-size: var(--type-body);
}
.equipment-slot small {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: #bfd1d4;
}
.level-reward {
  padding: 14px;
  border: 1px solid #d2b474;
  margin: 16px 0;
}
.level-reward button {
  margin-right: 10px;
}
.recent-balls {
  display: flex;
  flex-direction: column;
  gap: 7px !important;
  flex-shrink: 0;
}
.over-feed-row {
  display: grid;
  grid-template-columns: 48px auto 64px;
  align-items: center;
  gap: 8px;
  font-size: var(--type-caption);
}
.over-feed-row > div {
  display: flex;
  gap: 4px;
}
.over-feed-row > span {
  font-size: var(--type-caption);
}
.over-feed-row .delivery-chip {
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-size: var(--type-caption);
}
.delivery-chip.four {
  background: #5baac9;
  color: #102e42;
  border-color: #a8dce9;
  font-weight: 800;
}
.delivery-chip.six {
  background: #e9bd65;
  color: #2a2415;
  border-color: #f5d996;
  font-weight: 800;
}
.delivery-chip.dot {
  background: var(--ui-raised, #25424a);
  color: #b5cdd1;
}
.delivery-chip.unplayed {
  background: none;
  color: #789098;
  border-style: dashed;
}
.delivery-banner.four {
  color: #a3e3ff;
}
.delivery-banner.six {
  color: #ffda82;
}
.delivery-text.four {
  color: #9bdbf5;
}
.delivery-text.six {
  color: #f4cf79;
}
.delivery-text.wicket {
  color: #ff9eac;
}
.over-transition {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 80%);
  padding: 18px;
  background: var(--ui-surface, #152d3c);
  border: 2px solid #e8ca87;
  border-radius: 4px;
  z-index: 4;
  text-align: center;
  box-shadow: 4px 4px 0 #11242c80;
  pointer-events: none;
}
.over-transition[hidden] {
  display: none;
}
.over-transition strong {
  display: block;
  font-size: var(--type-name);
}
.over-transition b {
  display: block;
  font-size: var(--type-score);
  color: #efcb7b;
  margin: 8px 0;
}
.over-transition p,
.over-transition small {
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 7px 0;
}
.scorecard-over {
  border-top: 1px solid #48616d;
  padding: 10px 0;
}
.scorecard-over p {
  font-size: var(--type-body);
  line-height: 1.6;
}
.scorecard-over strong {
  margin-right: 8px;
}
.title-players {
  position: absolute;
  right: 3%;
  bottom: 9%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  width: 58%;
  pointer-events: none;
  z-index: 2;
}
.title-star {
  position: relative;
  text-align: center;
  filter: drop-shadow(5px 6px 0 #10212b80);
  width: 20%;
  max-width: 160px;
  transform: translateY(0);
  animation: star-bob 4s ease-in-out infinite;
}
.title-star:nth-child(2n) {
  animation-delay: -2s;
  margin-bottom: 25px;
}
.title-star > svg:first-child {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.title-star > span {
  display: block;
  background: var(--ui-surface, #152b39);
  padding: 7px 4px;
  color: #f1d194;
  font-size: var(--type-caption);
  font-weight: 700;
  min-height: 36px;
}
.title-star > .team-badge {
  position: absolute;
  right: -3px;
  top: -4px;
}
.title-heading h1 {
  text-shadow: 3px 3px 0 #6e5e39;
}
.title-scene:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #0e253388, transparent 60%);
  z-index: 1;
}
.title-content {
  z-index: 3;
}
.title-content {
  position: relative;
}
.title-scene canvas,
.stadium-wrap canvas {
  image-rendering: pixelated;
}
.title-tagline {
  max-width: 30ch;
}
@keyframes star-bob {
  50% {
    transform: translateY(-5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .title-star {
    animation: none;
  }
}
@container game (max-width:1000px) {
  .xi-order li {
    grid-template-columns: 22px minmax(160px, 2fr) 100px 110px 144px;
  }
  .xi-condition {
    display: none;
  }
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container game (max-width:700px) {
  #navigation .game-button {
    min-width: 50px;
    font-size: var(--type-caption);
    padding-inline: 3px;
  }
  #navigation {
    padding-inline: 2px;
    gap: 0;
    justify-content: space-between;
  }
  .facility-grid {
    gap: 12px;
  }
  .facility-card-copy {
    padding: 12px;
  }
  .facility-card-copy strong {
    font-size: var(--type-section);
  }
  .facility-card-copy small {
    display: none;
  }
  .facility-detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .facility-detail-grid > .facility-art {
    max-width: 460px;
  }
  .current-coaches {
    grid-template-columns: 1fr;
  }
  .coach-tile {
    padding: 12px;
  }
  .xi-order li {
    grid-template-columns: 20px minmax(0, 1fr) 94px;
    gap: 8px;
  }
  .xi-person {
    gap: 8px;
  }
  .xi-person strong {
    font-size: var(--type-body);
  }
  .xi-person small {
    font-size: var(--type-caption);
  }
  .xi-person > svg {
    width: 40px;
  }
  .xi-form {
    grid-column: 2;
    grid-row: auto;
  }
  .xi-career {
    grid-column: 2;
    font-size: var(--type-caption);
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
  }
  .xi-career > small {
    width: 100%;
  }
  .xi-move {
    grid-column: 3;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: repeat(2, 44px);
    align-self: center;
  }
  .xi-move button:last-child {
    grid-column: 1 / -1;
    width: 100%;
  }
  .bench-swap {
    grid-column: 2 / -1;
  }
  .xi-order header {
    display: block;
  }
  .training-sessions > div,
  .equipment-slots {
    grid-template-columns: 1fr;
  }
  .over-feed-row {
    grid-template-columns: 43px auto 55px;
    gap: 5px;
  }
  .over-feed-row .delivery-chip {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
  .over-feed-row > div {
    gap: 3px;
  }
  .match-commentary {
    display: block;
  }
  .match-commentary > p {
    margin: 10px 0 0;
  }
  .title-players {
    width: 90%;
    left: 5%;
    right: auto;
    top: 30%;
    bottom: auto;
    max-height: 130px;
  }
  .title-star {
    max-width: 90px;
  }
  .title-star:nth-child(2n) {
    margin-bottom: 14px;
  }
  .title-star > span {
    font-size: var(--type-caption);
    min-height: 28px;
    padding: 4px 1px;
  }
  .title-star > .team-badge {
    width: 20px;
    height: 24px;
  }
  .title-scene canvas {
    opacity: 0.82;
  }
  .title-heading h1 {
    font-size: var(--type-score);
  }
  .title-tagline {
    max-width: 28ch;
  }
  .field-actions {
    flex-wrap: wrap;
  }
  .stats-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.facility-art {
  display: block;
  height: auto;
  background-image: none;
  overflow: hidden;
}
.over-end-note {
  margin: 2px 0 0;
  font-size: var(--type-caption);
  line-height: 1.5;
  color: #f0d28e;
  max-width: 42ch;
}
.over-end-note:not(:empty) {
  border-top: 1px solid #526c73;
  padding-top: 6px;
}
@container game (max-width:700px) {
  .xi-form {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
  }
  .xi-form > span {
    font-size: var(--type-body);
  }
  .xi-career > small {
    width: auto;
  }
  .xi-career strong,
  .xi-career > span {
    font-size: var(--type-caption);
  }
}
@container game (max-width:700px) {
  .field-toolbar {
    display: block;
    min-width: 0;
  }
  .field-summary {
    display: block;
    width: 100%;
    min-width: 0;
    margin-bottom: 10px;
  }
  .field-summary strong {
    display: block;
    overflow-wrap: normal;
  }
  .field-summary p {
    margin: 5px 0;
    font-size: var(--type-caption);
  }
  .field-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    min-width: 0;
  }
  .field-actions .game-button {
    width: 100%;
    max-width: none;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 9px 7px;
    font-size: var(--type-caption);
  }
  .pitch-label {
    max-width: 85%;
    font-size: var(--type-caption);
  }
  .pitch-label span {
    font-size: var(--type-caption);
  }
}
@container game (max-width:700px) {
  .field-toolbar .field-actions .game-button {
    min-height: 44px;
    font-size: var(--type-caption);
    padding: 9px 7px;
  }
}
@container game (max-width:700px) {
  .stop-over:not([hidden]) {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    left: 22px;
    right: 22px;
    z-index: 20;
    min-height: 46px;
    background: #68453d;
    color: #fff1df;
  }
}
.player-report-body > .player-numbers,
.player-report-body > .player-progression {
  grid-column: 1 / -1;
}
@container game (max-width:700px) {
  .match-screen .match-arena {
    display: block;
    flex: none;
    min-height: 0;
  }
  .match-screen .stadium-column {
    flex: none;
    min-height: 0;
  }
  .match-screen .stadium-wrap {
    display: flex;
    flex-direction: column;
    flex: none;
    min-height: 0;
    background: #344b48;
  }
  .match-screen .stadium-wrap canvas {
    position: relative;
    inset: auto;
    flex: none;
    width: 100%;
    height: clamp(260px, 80cqw, 320px);
  }
  .match-screen .pitch-label {
    position: static;
    order: -1;
    max-width: none;
    margin: 0;
    border-radius: 0;
    padding: 7px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    font-size: var(--type-caption);
    gap: 3px 10px;
    background: var(--ui-raised, #203944);
  }
}
