:root {
  color-scheme: light;
  --bg: #eef3ea;
  --surface: rgba(255, 253, 247, 0.94);
  --surface-strong: #ffffff;
  --text: #193229;
  --muted: #5e6f66;
  --line: #d8e2d5;
  --brand: #1d6b4f;
  --brand-strong: #124d39;
  --warm: #d67c2c;
  --danger-bg: #fde9e2;
  --danger-text: #8a2d11;
  --shadow: 0 22px 60px rgba(25, 50, 41, 0.12);
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(214, 124, 44, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #f8faf5 100%);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 245, 0.84);
  border-bottom: 1px solid rgba(216, 226, 213, 0.9);
}

.header-inner,
.header-main,
.nav-links,
.account-controls,
.button-row,
.inline-form,
.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-inner {
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.header-main {
  flex: 1;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links,
.account-controls {
  flex-wrap: wrap;
}

.brand,
.nav-links a,
.account-controls a,
.admin-card-link {
  text-decoration: none;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link-active {
  background: rgba(29, 107, 79, 0.1);
  color: var(--brand-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-strong);
}

.button-secondary {
  background: #e6efe8;
  color: var(--text);
  box-shadow: none;
}

.hero,
.page-hero {
  padding: 60px 0 24px;
}

.section {
  padding: 24px 0 56px;
}

.hero-grid,
.dashboard-grid,
.admin-home-grid,
.stack-grid {
  display: grid;
  gap: 24px;
}

.hero-grid,
.dashboard-grid,
.stack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-home-grid {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}

.hero-panel,
.panel,
.auth-card,
.tournament-card {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 213, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-panel,
.panel,
.auth-card,
.tournament-card {
  padding: 22px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.auth-card h1,
.panel h1,
.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.public-hero-meta,
.public-page-shell,
.public-content-stack {
  display: grid;
  gap: 18px;
}

.public-hero-meta {
  margin-top: 18px;
}

.public-page-shell {
  align-items: start;
}

.public-state-panel {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--warm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 20px;
}

.card-grid,
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.admin-card-link {
  display: block;
}

.admin-tournament-card {
  min-height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.admin-card-link:hover .admin-tournament-card,
.admin-card-link:focus-visible .admin-tournament-card {
  transform: translateY(-3px);
  border-color: rgba(29, 107, 79, 0.55);
  box-shadow: 0 24px 50px rgba(25, 50, 41, 0.18);
}

.card-title-row {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(29, 107, 79, 0.14);
  color: var(--brand-strong);
  font-size: 0.92rem;
  white-space: nowrap;
}

.card-meta-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card-meta-row dt {
  color: var(--muted);
}

.card-meta-row dd {
  margin: 0;
  text-align: right;
}

.auth-page {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(100%, 560px);
}

.form-stack {
  display: grid;
  gap: 14px;
}

.form-stack label {
  display: grid;
  gap: 6px;
}

.form-stack input,
.form-stack select {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font: inherit;
}

.form-error {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--danger-bg);
  color: var(--danger-text);
}

.form-success {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(29, 107, 79, 0.12);
  color: var(--brand-strong);
}

.muted,
.helper-text,
.session-label {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.empty-table,
.empty-state {
  color: var(--muted);
}

.account-summary {
  display: grid;
  gap: 14px;
}

.account-row {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.account-row strong {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
}

.team-grid,
.team-detail-list,
.team-player-grid {
  display: grid;
  gap: 18px;
}

.team-card {
  width: 100%;
}

.team-card-button {
  border: 1px solid rgba(29, 107, 79, 0.14);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.team-card-button:hover {
  border-color: rgba(29, 107, 79, 0.45);
}

.team-detail-row {
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(0, 1fr) minmax(170px, 220px);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.team-detail-row:first-child {
  border-top: none;
  padding-top: 0;
}

.team-detail-row strong {
  color: var(--warm);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-contact-stack {
  display: grid;
  gap: 3px;
  justify-items: start;
}

.field-marker {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-marker-required {
  background: rgba(214, 124, 44, 0.14);
  color: var(--warm);
}

.field-marker-optional {
  background: rgba(29, 107, 79, 0.1);
  color: var(--brand-strong);
}

.team-player-line {
  display: grid;
  grid-template-columns: 90px repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.team-player-label {
  color: var(--warm);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-modal {
  width: min(760px, calc(100% - 24px));
  border: none;
  padding: 0;
  background: transparent;
}

.team-modal::backdrop {
  background: rgba(25, 50, 41, 0.38);
  backdrop-filter: blur(4px);
}

.team-modal-shell,
.team-modal-body {
  background: var(--surface-strong);
}

.team-modal-shell {
  margin: 0;
  padding: 20px 22px 0;
  border-radius: 24px 24px 0 0;
}

.team-modal-body {
  padding: 0 22px 22px;
  border-radius: 0 0 24px 24px;
}

.team-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-team-header,
.admin-team-row {
  display: grid;
  grid-template-columns: 72px minmax(170px, 1.05fr) minmax(200px, 1.35fr) 88px 88px 150px;
  gap: 12px;
  align-items: center;
}

.admin-team-search {
  display: grid;
  gap: 6px;
  margin: 18px 0 14px;
}

.admin-team-list {
  display: grid;
  gap: 10px;
}

.admin-team-header {
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-team-row {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-team-row[hidden] {
  display: none;
}

.admin-team-main {
  display: grid;
  grid-column: 1 / span 5;
  grid-template-columns: 72px minmax(170px, 1.05fr) minmax(200px, 1.35fr) 88px 88px;
  gap: 12px;
  align-items: center;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  min-width: 0;
}

.admin-team-number {
  font-weight: 700;
  color: var(--warm);
}

.admin-team-name {
  font-weight: 700;
}

.admin-team-players {
  color: var(--muted);
}

.admin-team-score,
.admin-team-points {
  font-weight: 700;
}

.admin-team-action {
  display: flex;
  justify-content: flex-end;
}

.admin-team-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.admin-team-checkbox input {
  width: 18px;
  height: 18px;
}

.admin-team-footer {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.management-page {
  min-height: 100vh;
}

.management-shell {
  min-height: calc(100vh - 90px);
}

.management-layout,
.management-content,
.management-stat-grid,
.management-detail-grid,
.timetable-list {
  display: grid;
  gap: 24px;
}

.management-heading-row,
.management-tabs,
.management-summary,
.checkbox-row,
.timetable-row-card,
.state-flow-actions,
.series-palette-heading {
  display: flex;
  gap: 12px;
}

.management-summary,
.checkbox-row {
  align-items: center;
  flex-wrap: wrap;
}

.management-tabs {
  flex-wrap: wrap;
}

.management-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.management-tab-active {
  background: rgba(29, 107, 79, 0.12);
  color: var(--brand-strong);
  border-color: rgba(29, 107, 79, 0.34);
}

.management-hero-panel {
  padding-bottom: 22px;
}

.management-heading-row {
  justify-content: space-between;
  align-items: flex-start;
}

.container.management-layout-matches {
  width: min(1520px, calc(100% - 24px));
}

.management-stat-grid,
.management-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.management-stat-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.management-stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.state-flow-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.state-flow-actions {
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(214, 124, 44, 0.16);
  color: #8b4d19;
  font-size: 0.92rem;
  white-space: nowrap;
}

.status-pill-muted {
  background: rgba(94, 111, 102, 0.12);
  color: var(--muted);
}

.inset-panel {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.checkbox-row {
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.timetable-list {
  gap: 10px;
}

.timetable-row-card {
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.timetable-row-main {
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.timetable-row-active {
  border-color: rgba(29, 107, 79, 0.45);
  box-shadow: inset 0 0 0 1px rgba(29, 107, 79, 0.18);
}

.timetable-row-card p,
.timetable-row-card strong {
  margin-bottom: 4px;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.timetable-builder,
.series-palette {
  display: grid;
  gap: 16px;
}

.series-palette-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  cursor: grab;
}

.series-palette-item-dragging {
  opacity: 0.55;
}

.series-palette-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.series-palette-item label {
  display: grid;
  gap: 6px;
}

.series-palette-item input {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.timeline-drop-form {
  display: none;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.timeline-labels,
.timeline-dropzone {
  position: relative;
}

.timeline-labels {
  color: var(--muted);
}

.timeline-hour-line {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  font-size: 0.86rem;
}

.timeline-hour-line-start {
  transform: none;
}

.timeline-hour-line-end {
  transform: translateY(-100%);
}

.timeline-hour-line span {
  display: inline-block;
  padding-right: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.timeline-dropzone {
  border: 1px solid rgba(29, 107, 79, 0.24);
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(29, 107, 79, 0.08),
      rgba(29, 107, 79, 0.08) 1px,
      transparent 1px,
      transparent 44px
    ),
    rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.timeline-dropzone-active {
  border-color: rgba(29, 107, 79, 0.7);
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(29, 107, 79, 0.12),
      rgba(29, 107, 79, 0.12) 1px,
      transparent 1px,
      transparent 60px
    ),
    rgba(240, 248, 242, 0.96);
}

.timeline-empty {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.timeline-block {
  position: absolute;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  padding: 1px 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(29, 107, 79, 0.92), rgba(18, 77, 57, 0.92));
  color: white;
  box-shadow: 0 10px 18px rgba(18, 77, 57, 0.14);
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
  font-size: 0.7rem;
  line-height: 1;
}

.timeline-block-active {
  outline: 2px solid rgba(214, 124, 44, 0.75);
  outline-offset: -2px;
}

.timeline-block-label {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
}

.timeline-remove-button {
  min-height: 30px;
  align-self: flex-start;
}

.timetable-forms-column {
  display: grid;
  gap: 14px;
  align-self: start;
}

.matches-board-panel {
  display: grid;
  gap: 14px;
}

.matches-board-layout {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.match-board-toolbar,
.match-board-controls,
.match-board-summary,
.match-series-header,
.match-series-meta {
  display: flex;
  gap: 12px;
}

.match-board-toolbar,
.match-board-controls,
.match-series-header {
  justify-content: space-between;
  align-items: center;
}

.match-board-summary,
.match-series-meta {
  flex-wrap: wrap;
  align-items: center;
}

.match-series-rail {
  position: sticky;
  top: 96px;
  align-self: start;
}

.match-series-rail-list {
  display: grid;
  gap: 6px;
}

.match-rail-link {
  width: 58px;
  min-height: 34px;
  border: 1px solid rgba(29, 107, 79, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.match-rail-link:hover,
.match-rail-link:focus-visible {
  border-color: rgba(29, 107, 79, 0.48);
  background: rgba(232, 245, 240, 0.96);
  outline: none;
}

.match-rail-link-active {
  border-color: var(--brand-strong);
  background: rgba(29, 107, 79, 0.14);
  color: var(--brand-strong);
}

.match-board-controls {
  justify-content: center;
}

.match-board-counter {
  min-width: 82px;
  text-align: center;
  font-weight: 700;
  color: var(--brand-strong);
  font-size: 0.92rem;
}

.match-series-viewport {
  border: 1px solid rgba(29, 107, 79, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  overflow: visible;
}

.match-series-page {
  min-height: calc(100vh - 280px);
  padding: 16px 18px 18px;
  display: grid;
  gap: 14px;
  scroll-margin-top: 96px;
}

.match-series-page + .match-series-page {
  border-top: 1px solid var(--line);
}

.match-series-header {
  align-items: flex-start;
}

.match-series-intro h2 {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.match-terrain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.match-terrain-card {
  display: grid;
  gap: 8px;
  min-height: 98px;
  padding: 10px 11px;
  border: 1px solid rgba(29, 107, 79, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.match-terrain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.match-terrain-card-empty,
.match-terrain-card-reserved {
  background: rgba(248, 250, 245, 0.96);
}

.match-terrain-label {
  margin: 0;
}

.match-terrain-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.match-teams-card,
.match-empty-copy {
  display: grid;
  gap: 4px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(29, 107, 79, 0.08);
}

.match-team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
}

.match-team-identity {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.match-team-number {
  color: var(--warm);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.match-team-name {
  font-size: 0.9rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-score-form {
  display: grid;
  gap: 8px;
}

.match-score-status {
  min-height: 16px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.match-score-status-pending,
.match-score-status-saving {
  color: var(--brand-strong);
}

.match-score-status-error {
  color: var(--danger-text);
}

.match-score-form-saving .match-points-input {
  opacity: 0.76;
}

.match-points-input {
  width: 48px;
  min-height: 32px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font: inherit;
  font-size: 0.86rem;
}

.match-team-points-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 48px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.match-points-input:disabled {
  background: rgba(94, 111, 102, 0.08);
  color: var(--muted);
}

.match-empty-copy strong {
  font-size: 0.9rem;
}

.match-empty-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.timeline-layout-compact .timeline-hour-line {
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .hero-grid,
  .dashboard-grid,
  .admin-home-grid,
  .stack-grid,
  .management-stat-grid,
  .management-detail-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .management-heading-row,
  .timetable-row-card,
  .timeline-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-layout {
    display: block;
  }

  .timeline-labels {
    display: none;
  }

  .team-detail-row {
    grid-template-columns: 1fr;
  }

  .team-player-line {
    grid-template-columns: 1fr;
  }

  .match-board-toolbar,
  .match-board-controls,
  .match-series-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .matches-board-layout {
    grid-template-columns: 1fr;
  }

  .match-series-rail {
    position: static;
  }

  .match-series-rail-list {
    grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  }

  .match-series-viewport,
  .match-series-page {
    min-height: auto;
    height: auto;
  }

  .match-terrain-grid {
    grid-template-columns: 1fr;
  }

  .admin-team-header {
    display: none;
  }

  .admin-team-row,
  .admin-team-main {
    grid-template-columns: 1fr;
  }

  .admin-team-main {
    grid-column: auto;
  }

  .admin-team-action {
    justify-content: flex-start;
  }

  .team-modal {
    width: calc(100% - 16px);
  }
}
