:root {
  --bg: #070a08;
  --panel: rgba(14, 18, 17, 0.88);
  --panel-strong: #101614;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #f7a928;
  --red: #ef3340;
  --green: #45c073;
  --cyan: #5dc8ff;
  --text: #f7f2e8;
  --muted: #a7afa9;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(247, 169, 40, 0.14), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(69, 192, 115, 0.12), transparent 24rem),
    linear-gradient(150deg, #040605, #111512 48%, #050807);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

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

img {
  max-width: 100%;
  display: block;
}

.app-shell {
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 12px 92px;
}

.topbar,
.status-strip,
.tabs-row,
.score-board,
.goal-list,
.section-heading,
.fixture-main,
.league,
.bottom-nav,
.brand,
.top-actions,
.info-card,
.timeline-item,
.table-team,
.mini-team {
  display: flex;
  align-items: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  justify-content: space-between;
  padding: 10px 0 14px;
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
}

.brand-logo,
.crest,
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(247, 169, 40, 0.45);
  background: linear-gradient(145deg, rgba(247, 169, 40, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 24px rgba(247, 169, 40, 0.1), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: var(--gold);
  font-size: 25px;
}

.brand-logo img,
.crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  max-width: 190px;
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand small,
.section-heading span,
.score-core small,
.team-lockup small,
.timeline small,
.record-card small,
.performer small,
.performer span {
  color: var(--muted);
  font-size: 12px;
}

.top-actions {
  gap: 7px;
}

.top-actions a,
.pill,
.tab,
.bottom-nav a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.top-actions a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.top-actions span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 26, 23, 0.92), rgba(9, 12, 11, 0.92));
  box-shadow: var(--shadow);
}

.status-strip {
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.pill,
.tab {
  flex: 0 0 auto;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill.active,
.tab.active {
  color: #171004;
  border-color: rgba(247, 169, 40, 0.8);
  background: linear-gradient(135deg, var(--gold), #ffcd6d);
}

.pill.hot {
  color: #fff;
  border-color: rgba(239, 51, 64, 0.6);
}

.score-hero {
  position: relative;
  overflow: hidden;
  padding: 14px;
  animation: rise-in 650ms ease both;
}

.score-hero::before {
  position: absolute;
  inset: -40% -20%;
  content: "";
  background: conic-gradient(from 120deg, transparent, rgba(247, 169, 40, 0.18), transparent, rgba(69, 192, 115, 0.12), transparent);
  animation: spin-slow 12s linear infinite;
}

.score-hero > * {
  position: relative;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d9ded9;
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-right: 7px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.badge.danger {
  color: #fff;
  background: var(--red);
}

.badge.muted {
  color: var(--gold);
  background: rgba(247, 169, 40, 0.12);
}

.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

.match-clock {
  color: var(--gold);
  font-size: 14px;
}

.score-board {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 22px 0 16px;
}

.score-board > * {
  min-width: 0;
}

.team-lockup {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-self: stretch;
  gap: 7px;
  text-align: center;
}

.team-lockup strong,
.mini-team strong {
  display: block;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.team-lockup strong {
  min-height: 30px;
  width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
  overflow: hidden;
}

.team-lockup .crest {
  flex: 0 0 auto;
  margin-inline: auto;
}

.crest {
  width: 58px;
  height: 58px;
  border-color: color-mix(in srgb, var(--team), white 18%);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--team), white 20%), #151915 70%);
}

.crest.mini {
  width: 48px;
  height: 48px;
  font-size: 12px;
}

.crest.dot {
  width: 27px;
  height: 27px;
  font-size: 9px;
  box-shadow: none;
}

.score-core {
  flex: 0 0 78px;
  display: grid;
  place-items: center;
  gap: 5px;
  min-width: 0;
  justify-self: center;
  width: 78px;
}

.scoreline {
  color: var(--gold);
  font-size: clamp(34px, 10vw, 48px);
  font-weight: 950;
  line-height: 0.95;
  text-shadow: 0 0 28px rgba(247, 169, 40, 0.28);
  white-space: nowrap;
}

.live-chip {
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.live-duration {
  color: var(--gold);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.goal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: #dbe3dc;
  font-size: 12px;
}

.goal-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.goal-list i,
.league i,
.info-card i,
.section-heading span,
.admin-sidebar i {
  color: var(--gold);
}

.tabs-row {
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
}

.section-block {
  margin-top: 16px;
  scroll-margin-top: 90px;
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 9px;
}

.section-heading h2 {
  margin: 0;
  color: var(--gold);
  font-size: 15px;
  text-transform: uppercase;
}

.info-grid {
  display: grid;
  gap: 9px;
}

.info-card {
  gap: 10px;
  padding: 13px;
}

.pitch {
  position: relative;
  height: 315px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.09), rgba(255,255,255,0.09)) center/1px 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(31, 113, 48, 0.72) 0 52px, rgba(24, 96, 43, 0.72) 52px 104px),
    linear-gradient(#144d24, #0f391d);
}

.pitch::before,
.pitch::after {
  position: absolute;
  inset: 12px;
  content: "";
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 8px;
}

.pitch::after {
  inset: 34% 38%;
  border-radius: 50%;
}

.player-pin {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 78px;
  text-align: center;
}

.player-pin b {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #15100a;
  box-shadow: 0 0 18px rgba(247, 169, 40, 0.28);
}

.player-pin span {
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 2px 7px #000;
}

.timeline {
  padding: 8px 12px;
}

.timeline-item {
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item time {
  width: 34px;
  color: #dfe5df;
  font-weight: 900;
}

.timeline-item > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.09);
}

.timeline-item div {
  flex: 1;
}

.timeline-item strong,
.timeline-item small {
  display: block;
}

.timeline-item b {
  padding: 5px 9px;
  border-radius: 6px;
  color: #130d03;
  background: var(--gold);
  font-size: 13px;
}

.fixture-list,
.record-grid,
.performer-grid {
  display: grid;
  gap: 10px;
}

.fixture-card {
  padding: 12px;
}

.league {
  justify-content: space-between;
  gap: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.league time {
  color: var(--cyan);
  margin-left: auto;
}

.fixture-main {
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
}

.fixture-main > b {
  color: #fff;
  font-size: 18px;
}

.mini-team {
  gap: 9px;
  width: 42%;
}

.mini-team:last-child {
  justify-content: flex-end;
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

th,
td {
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
}

th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.table-team {
  gap: 9px;
  min-width: 165px;
  font-weight: 800;
}

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

.performer {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 172px;
  padding: 12px 8px;
  text-align: center;
}

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--gold);
  font-size: 25px;
}

.performer strong,
.record-card strong {
  font-size: 13px;
}

.performer b {
  color: var(--gold);
  font-size: 24px;
}

.record-card {
  padding: 14px;
}

.record-card span,
.record-card strong,
.record-card small {
  display: block;
}

.record-card span {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 7px;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 8, 0.92);
  backdrop-filter: blur(18px);
}

.fab-action {
  position: fixed;
  right: calc(50% - min(230px, 50vw) + 18px);
  bottom: 86px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(247, 169, 40, 0.8);
  border-radius: 50%;
  color: #171004;
  background: linear-gradient(135deg, var(--gold), #ffcd6d);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), 0 0 0 8px rgba(247, 169, 40, 0.09);
}

.fab-action i {
  font-size: 22px;
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(12px);
}

.site-popup.is-hidden {
  display: none;
}

.site-popup-card {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  animation: rise-in 380ms ease both;
}

.site-popup-card h2 {
  margin: 14px 0 9px;
  color: #fff;
  font-size: 26px;
  line-height: 1.05;
}

.site-popup-card p {
  margin: 0 0 16px;
  color: #d9ded9;
  line-height: 1.55;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 4px;
  width: min(84px, 19vw);
  padding: 8px 2px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--gold);
}

.bottom-nav i {
  font-size: 20px;
}

.admin-body {
  background:
    radial-gradient(circle at 16% 12%, rgba(93, 200, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 90% 10%, rgba(247, 169, 40, 0.13), transparent 26rem),
    #070a08;
}

.admin-shell {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(8, 11, 10, 0.8);
  backdrop-filter: blur(18px);
}

.admin-sidebar .brand {
  margin-bottom: 24px;
}

.admin-sidebar > a:not(.brand) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d9e2dc;
}

.admin-sidebar > a:not(.brand):hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.admin-main {
  width: min(1180px, 100%);
  padding: 24px;
}

.admin-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
}

.admin-hero p {
  margin: 0;
  color: var(--muted);
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(69, 192, 115, 0.4);
  border-radius: 8px;
  color: #dfffe8;
  background: rgba(69, 192, 115, 0.12);
}

.notice.error {
  border-color: rgba(239, 51, 64, 0.45);
  color: #ffd7db;
  background: rgba(239, 51, 64, 0.13);
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 22px;
}

.login-card {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  padding: 24px;
}

.login-card .brand-logo {
  margin: 0 auto;
}

.login-card h1,
.login-card p {
  margin: 0;
  text-align: center;
}

.login-card h1 {
  font-size: 34px;
}

.login-card p {
  color: var(--muted);
}

.admin-panel {
  scroll-margin-top: 18px;
  margin-bottom: 18px;
  padding: 18px;
}

.admin-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 18px;
}

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

.compact-form,
.match-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.password-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.match-form {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  outline: 0;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.check-label input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

textarea {
  min-height: 94px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(247, 169, 40, 0.7);
  box-shadow: 0 0 0 3px rgba(247, 169, 40, 0.12);
}

.btn,
.icon-btn,
.event-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  cursor: pointer;
  font-weight: 900;
}

.btn.primary {
  color: #171004;
  border-color: rgba(247, 169, 40, 0.75);
  background: linear-gradient(135deg, var(--gold), #ffcc68);
}

.btn.danger {
  border-color: rgba(239, 51, 64, 0.45);
  color: #ffd7db;
  background: rgba(239, 51, 64, 0.13);
}

.icon-btn {
  width: 42px;
  padding: 0;
  color: var(--gold);
}

.admin-list,
.match-admin-list {
  display: grid;
  gap: 10px;
}

.edit-row,
.event-form,
.event-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.5fr 74px 42px;
  gap: 8px;
  align-items: center;
}

.team-row {
  grid-template-columns: 1.2fr 0.8fr 1.3fr 1.2fr 74px 42px;
}

.player-row {
  grid-template-columns: 120px 1.2fr 86px 100px 42px;
}

.delete-form {
  margin: 0 0 10px;
}

.match-editor {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.match-form.inline {
  margin-bottom: 12px;
}

.event-form {
  grid-template-columns: 82px 110px 110px 1.2fr 1.5fr 90px 120px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.event-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.event-row {
  grid-template-columns: minmax(0, 1fr) 38px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.event-row button {
  min-height: 34px;
  padding: 0;
  color: #ffd7db;
  background: rgba(239, 51, 64, 0.12);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 51, 64, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(239, 51, 64, 0.16); }
}

@keyframes spin-slow {
  to { transform: rotate(1turn); }
}

@keyframes rise-in {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 760px) {
  .app-shell {
    width: min(1120px, 100%);
    padding-bottom: 34px;
  }

  .crest {
    width: 72px;
    height: 72px;
  }

  .score-core {
    flex-basis: 104px;
    width: 104px;
  }

  .scoreline {
    font-size: clamp(44px, 7vw, 68px);
  }

  main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 16px;
  }

  .status-strip,
  .score-hero,
  .tabs-row,
  .info-grid,
  #lineups,
  #timeline {
    grid-column: 1;
  }

  #fixtures,
  #table,
  .section-block:nth-of-type(n + 7) {
    grid-column: 2;
  }

  .bottom-nav {
    display: none;
  }

  .fab-action {
    right: 32px;
    bottom: 32px;
  }
}

@media (max-width: 900px) {
  .app-shell {
    max-width: 100vw;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-sidebar .brand {
    min-width: 230px;
    margin-bottom: 0;
  }

  .admin-sidebar > a:not(.brand) {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .admin-main {
    padding: 16px 12px;
  }

  .admin-hero {
    display: grid;
  }

  .form-grid,
  .compact-form,
  .match-form,
  .match-form.inline,
  .edit-row,
  .player-row,
  .event-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .app-shell {
    padding: 10px 8px 88px;
  }

  .topbar {
    gap: 8px;
  }

  .brand strong {
    max-width: 150px;
    font-size: 14px;
  }

  .brand small {
    display: block;
    max-width: 150px;
    overflow-wrap: anywhere;
  }

  .top-actions a {
    width: 32px;
    height: 32px;
  }

  .score-hero {
    padding: 10px;
  }

  .crest {
    width: 52px;
    height: 52px;
    font-size: 11px;
  }

  .score-board {
    gap: 7px;
    padding: 16px 0 12px;
  }

  .score-core {
    flex-basis: 76px;
    width: 76px;
  }

  .team-lockup strong {
    min-height: 26px;
    font-size: 10px;
  }

  .team-lockup small,
  .score-core small {
    font-size: 10px;
  }

  .scoreline {
    font-size: 38px;
  }

  .live-chip {
    padding: 4px 8px;
    font-size: 9px;
  }

  .goal-list {
    grid-template-columns: 1fr;
  }

  .goal-list span {
    justify-content: flex-start;
    text-align: left;
  }

  .fab-action {
    display: none;
  }

  .pitch {
    height: 270px;
  }

  .player-pin {
    min-width: 62px;
  }

  .player-pin b {
    width: 31px;
    height: 31px;
    font-size: 11px;
  }

  .player-pin span {
    font-size: 9px;
  }

  .performer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand strong,
  .brand small {
    max-width: 128px;
  }

  .score-board {
    gap: 6px;
  }

  .score-core {
    flex-basis: 66px;
    width: 66px;
  }

  .crest {
    width: 46px;
    height: 46px;
  }

  .scoreline {
    font-size: 30px;
  }

  .team-lockup strong {
    font-size: 9px;
  }
}
