:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667085;
  --line: #d9e2e7;
  --paper: #f8fbfb;
  --surface: #ffffff;
  --green: #098b69;
  --red: #d94841;
  --gold: #c99326;
  --blue: #2365c8;
  --shadow: 0 18px 55px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 5%, rgba(9, 139, 105, 0.14), transparent 28rem),
    linear-gradient(180deg, #edf6f4 0%, #f7fafc 38%, #eef3f6 100%);
}

button {
  font: inherit;
}

.topbar {
  position: static;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(248, 251, 251, 0.9);
  border-bottom: 1px solid rgba(217, 226, 231, 0.9);
  backdrop-filter: blur(16px);
}

.topbar h1,
.section-head h2,
.take-head h2 {
  margin: 0;
}

.topbar h1 {
  font-size: clamp(1.2rem, 1vw + 1rem, 1.8rem);
}

.inline-date {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.12rem 0.45rem;
  color: #0c614f;
  font-size: 0.72em;
  font-weight: 800;
  vertical-align: middle;
  background: #e7f5f0;
  border: 1px solid #b8dfd2;
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  padding: 0 0.8rem;
  color: #0c614f;
  font-size: 0.86rem;
  font-weight: 800;
  background: #e7f5f0;
  border: 1px solid #b8dfd2;
  border-radius: 999px;
  white-space: nowrap;
}

.live-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.35rem rgba(217, 72, 65, 0.12);
}

main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0.25rem clamp(1rem, 4vw, 3rem) 3.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.25rem 0 1rem;
}

.section-head h2,
.take-head h2 {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
}

.legend,
.data-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.data-note span {
  display: inline;
}

.rank {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.rank.auto {
  background: var(--green);
}

.rank.third {
  background: var(--gold);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.group-card,
.match-board,
.team-page,
.admin-page {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 226, 231, 0.95);
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.08);
}

.group-card {
  overflow: hidden;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #123b4a, #0f795e);
}

.group-header h3 {
  margin: 0;
  font-size: 1rem;
}

.group-header span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.standings {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.standings th,
.standings td {
  padding: 0.68rem 0.45rem;
  border-bottom: 1px solid #edf1f3;
  text-align: center;
}

.standings th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.standings tr:last-child td {
  border-bottom: 0;
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-width: 0;
  text-align: left;
}

.team-name {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flag-button,
.mini-flag,
.detail-flag {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: #edf3f6;
  border: 1px solid #ccd7dd;
  border-radius: 50%;
}

.flag-button {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.flag-button:hover,
.flag-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(23, 32, 42, 0.16);
  outline: none;
}

.flag-button img,
.mini-flag img,
.detail-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos {
  width: 0.35rem;
  width: 0.35rem;
  height: 2.6rem;
  padding: 0;
}

.standings th:first-child,
.standings td:first-child {
  width: 3%;
}

.standings th:nth-child(2),
.standings td:nth-child(2) {
  width: 37%;
}

.standings th:nth-child(n + 3),
.standings td:nth-child(n + 3) {
  width: 10%;
}

tr.auto .pos {
  background: var(--green);
}

tr.third .pos {
  background: var(--gold);
}

.points {
  font-weight: 900;
}

.match-board {
  overflow: hidden;
}

.my-take {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 226, 231, 0.95);
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.08);
}

.take-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.save-button {
  min-height: 2.4rem;
  padding: 0 1rem;
  color: #fff;
  font-weight: 900;
  background: var(--green);
  border: 0;
  border-radius: 0.4rem;
  cursor: pointer;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  background: #e7f5f0;
  border: 1px solid #b8dfd2;
  border-radius: 0.4rem;
}

.take-display {
  min-height: 7rem;
  padding: 1rem;
  color: var(--ink);
  line-height: 1.7;
  white-space: pre-wrap;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.take-display.is-empty {
  color: var(--muted);
}

.admin-shell {
  min-height: 100vh;
}

.admin-main {
  display: grid;
  place-items: center;
  width: min(920px, 100%);
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3rem);
}

.admin-login,
.admin-editor {
  width: min(760px, 100%);
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 226, 231, 0.95);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.admin-login h1,
.admin-editor h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.admin-login p:not(.eyebrow) {
  color: var(--muted);
}

.admin-login label,
.admin-editor label {
  display: block;
  margin: 1rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-login input,
.admin-editor textarea {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font: inherit;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  outline: none;
}

.admin-login input:focus,
.admin-editor textarea:focus {
  border-color: #77c8b5;
  box-shadow: 0 0 0 3px rgba(9, 139, 105, 0.12);
}

.admin-login .save-button {
  width: 100%;
  margin-top: 1rem;
}

.admin-page {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
}

.admin-hero {
  padding: clamp(1.25rem, 4vw, 2rem);
  color: #fff;
  background: linear-gradient(135deg, #102c36, #0f795e);
}

.admin-hero .eyebrow {
  color: #89e0c2;
}

.admin-hero h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.admin-body {
  padding: 1rem;
}

.admin-body label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-body textarea {
  display: block;
  width: 100%;
  min-height: 9rem;
  resize: vertical;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  outline: none;
}

.admin-body textarea:focus {
  border-color: #77c8b5;
  box-shadow: 0 0 0 3px rgba(9, 139, 105, 0.12);
}

.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
}

.take-status {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.match-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #e9f0f2;
  border-bottom: 1px solid var(--line);
}

.match-tab {
  min-height: 4.8rem;
  padding: 0.75rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.match-tab span {
  min-width: 0;
}

.match-tab:last-child {
  border-right: 0;
}

.match-tab[aria-selected="true"] {
  background: #fff;
  box-shadow: inset 0 -3px 0 var(--green);
}

.tab-teams {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 900;
}

.tab-meta {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-flag {
  width: 1.55rem;
  height: 1.55rem;
}

.match-panel {
  padding: clamp(1rem, 3vw, 2rem);
}

.match-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
}

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 14rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  background: #f3f8f8;
  border: 1px solid #d8e5e4;
  border-radius: 0.5rem;
}

.versus-team {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}

.versus-team strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.detail-link {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.vs-mark {
  color: var(--red);
  font-size: 1rem;
  font-weight: 900;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.data-box {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  text-align: left;
}

.data-box span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.data-box strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.45;
}

.match-info {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
  background: #17202a;
  border-radius: 0.5rem;
  color: #fff;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.info-row span {
  color: rgba(255, 255, 255, 0.68);
}

.info-row strong {
  text-align: right;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(9, 20, 26, 0.62);
  backdrop-filter: blur(8px);
}

.overlay.is-open {
  display: flex;
}

.team-page {
  position: relative;
  width: min(1050px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
}

.close-button {
  position: sticky;
  top: 0.8rem;
  float: right;
  margin: 0.8rem 0.8rem 0 0;
}

.icon-button {
  width: 2.45rem;
  height: 2.45rem;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.team-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.2rem);
  color: #fff;
  background: linear-gradient(135deg, #102c36, #0f795e);
}

.detail-flag {
  width: clamp(5rem, 12vw, 8rem);
  height: clamp(5rem, 12vw, 8rem);
}

.team-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0;
}

.team-hero p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  padding: 1rem;
}

.detail-block {
  padding: 1rem;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.detail-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.person-list,
.schedule-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person-list li,
.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.8rem;
  background: #fff;
  border: 1px solid #e6edf0;
  border-radius: 0.42rem;
}

.person-list span,
.schedule-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.coach-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #fff;
  border: 1px solid #e6edf0;
  border-radius: 0.45rem;
}

.coach-card img,
.player-card img {
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #dce7e9;
  border: 1px solid #c8d6dc;
}

.coach-card strong,
.player-card strong {
  display: block;
  line-height: 1.25;
}

.coach-card span,
.player-card span,
.roster-title span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.roster-block {
  margin: 0 1rem 1rem;
}

.roster-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.roster-title h3 {
  margin: 0;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.player-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #e6edf0;
  border-radius: 0.45rem;
}

.player-card.is-featured {
  border-color: #98d8c8;
  background: #f1fbf8;
}

.player-card div {
  min-width: 0;
}

.player-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .groups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-feature,
  .player-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #f3f7f8;
  }

  .topbar,
  .section-head,
  .take-head {
    align-items: start;
  }

  .topbar,
  .section-head,
  .team-hero,
  .detail-grid,
  .take-head {
    grid-template-columns: 1fr;
  }

  .topbar,
  .section-head,
  .take-head {
    flex-direction: column;
  }

  .topbar {
    display: block;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    padding: 0.55rem 0.65rem;
    overflow: hidden;
  }

  .topbar h1 {
    overflow: hidden;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .inline-date {
    margin-left: 0.35rem;
    padding: 0.08rem 0.32rem;
    font-size: 0.66em;
  }

  .topbar > div:first-child {
    min-width: 0;
    max-width: 100%;
  }

  .topbar .eyebrow {
    display: none;
  }

  .status-pill {
    flex: 0 0 auto;
    max-width: 7.2rem;
    min-height: 1.55rem;
    padding: 0 0.42rem;
    font-size: 0.64rem;
  }

  .live-dot {
    width: 0.45rem;
    height: 0.45rem;
    box-shadow: 0 0 0 0.25rem rgba(217, 72, 65, 0.12);
  }

  .eyebrow {
    font-size: 0.66rem;
  }

  main {
    padding-top: 0;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    padding-bottom: 1.5rem;
    overflow: hidden;
  }

  .section-head {
    width: 100%;
    max-width: calc(100vw - 1.1rem);
    gap: 0.35rem;
    margin: 1rem 0 0.55rem;
  }

  .matches-title {
    margin-top: 0.65rem;
    margin-bottom: 0.42rem;
  }

  .section-head > * {
    min-width: 0;
    max-width: 100%;
  }

  .section-head h2,
  .take-head h2 {
    font-size: 1.28rem;
  }

  .data-note,
  .legend {
    gap: 0.45rem;
    font-size: 0.76rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .data-note {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
  }

  .data-note span {
    display: block;
  }

  .groups-grid,
  .match-tabs,
  .detail-grid,
  .player-grid {
    grid-template-columns: 1fr;
  }

  .match-board,
  .my-take,
  .groups-grid,
  .group-card,
  .match-panel,
  .match-feature,
  .versus {
    width: 100%;
    max-width: calc(100vw - 1.1rem);
    min-width: 0;
  }

  .match-board,
  .versus {
    overflow: hidden;
  }

  .match-panel {
    padding: 0.55rem;
  }

  .match-tab {
    min-height: 3rem;
    padding: 0.52rem 0.65rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab-teams {
    min-width: 0;
    gap: 0.3rem;
    font-size: 0.86rem;
    max-width: 100%;
  }

  .tab-teams span:not(.mini-flag) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tab-meta {
    margin-top: 0.18rem;
    font-size: 0.7rem;
  }

  .mini-flag {
    width: 1.25rem;
    height: 1.25rem;
  }

  .match-feature {
    gap: 0.6rem;
  }

  .versus {
    position: relative;
    display: block;
    height: 7.25rem;
    min-height: auto;
    padding: 0.75rem 0.5rem;
  }

  .versus-team {
    position: absolute;
    top: 50%;
    width: 38%;
    max-width: 38%;
    gap: 0.32rem;
    min-width: 0;
    transform: translate(-50%, -50%);
  }

  .versus-team:first-child {
    left: 25%;
  }

  .versus-team:last-child {
    left: 75%;
  }

  .versus-team strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .versus-team .detail-flag {
    width: 2.6rem;
    height: 2.6rem;
  }

  .detail-link {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vs-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #f0c6c4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .data-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.5rem;
  }

  .data-box {
    padding: 0.62rem 0.7rem;
  }

  .data-box span {
    font-size: 0.7rem;
  }

  .data-box strong {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .match-info {
    gap: 0.35rem;
    padding: 0.72rem;
  }

  .info-row {
    padding-bottom: 0.42rem;
    font-size: 0.78rem;
  }

  .info-row strong {
    max-width: 62%;
  }

  .standings th,
  .standings td {
    padding: 0.54rem 0.08rem;
    font-size: 0.78rem;
  }

  .group-header span {
    display: none;
  }

  .standings th:nth-child(6),
  .standings td:nth-child(6),
  .standings th:nth-child(7),
  .standings td:nth-child(7) {
    display: none;
  }

  .standings th:nth-child(2),
  .standings td:nth-child(2) {
    width: 43%;
  }

  .standings th:nth-child(n + 3),
  .standings td:nth-child(n + 3) {
    width: 13.5%;
  }

  .team-cell {
    gap: 0.35rem;
  }

  .team-name {
    font-size: 0.8rem;
  }

  .flag-button {
    width: 1.9rem;
    height: 1.9rem;
  }

  .group-header {
    min-height: 2.65rem;
    padding: 0.65rem 0.75rem;
  }

  .group-header h3 {
    font-size: 0.92rem;
  }

  .match-board,
  .group-card,
  .my-take {
    border-radius: 0.38rem;
  }

  .my-take {
    margin-top: 0.75rem;
    padding: 0.75rem;
  }

  .take-head {
    margin-bottom: 0.55rem;
  }

  .take-display {
    min-height: 4rem;
    padding: 0.72rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .overlay {
    align-items: stretch;
    padding: 0;
  }

  .team-page,
  .admin-page {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .team-hero {
    padding-top: 3.4rem;
  }

  .roster-block {
    margin: 0 0.75rem 0.75rem;
  }

  .player-card {
    padding: 0.68rem;
  }

  .save-button {
    width: 100%;
  }

  .back-link {
    justify-content: center;
    width: 100%;
  }

  .admin-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
}
