/* Epartakus — Canva mock layout (navy header/footer, cards, kit red CTA) */
:root {
  --navy: #1a2332;
  --navy-2: #243044;
  --footer-blue: #2a5f9e;
  --red: #e31c23;
  --red-dark: #b01018;
  --red-soft: rgba(227, 28, 35, 0.12);
  --white: #ffffff;
  --bg: #eef1f5;
  --ink: #1a2332;
  --ink-soft: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-soft: rgba(34, 197, 94, 0.14);
  --warn: #c47a00;
  --warn-soft: rgba(196, 122, 0, 0.15);
  --info: #e8f0fe;
  --info-ink: #1e40af;
  --pitch: #2d9b4f;
  --pitch-dark: #228a42;
  --gold: #c9a227;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 18px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 10px 32px rgba(26, 35, 50, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--red);
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

.app-header {
  background: #1a1c23;
  color: var(--white);
  padding: 0;
}

.page-inscricao .app-tabs a.is-active {
  border-bottom-color: var(--green);
  color: var(--white);
}

.app-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.app-header__shield {
  width: 42px;
  height: 48px;
  flex-shrink: 0;
}

.app-header h1 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--white);
}

.app-header p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.mode-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: none;
  color: #1a1c23;
  background: #d4b483;
  white-space: nowrap;
  flex-shrink: 0;
}

.app-tabs {
  display: flex;
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 3px solid transparent;
  background: transparent;
}

.app-tabs a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.app-tabs a.is-active {
  color: var(--white);
  border-bottom-color: var(--red);
}

.page-inscricao .app-tabs a.is-active {
  border-bottom-color: var(--green);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.15rem 2rem;
  width: 100%;
  flex: 1;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(26, 35, 50, 0.04);
}

.card--dark {
  background: var(--navy);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
}

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.card--dark h2 {
  color: var(--white);
}

.card__lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card--dark .card__lead {
  color: rgba(255, 255, 255, 0.7);
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.card--dark .muted {
  color: rgba(255, 255, 255, 0.65);
}

.signup-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .signup-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .signup-grid > .card {
    margin-bottom: 0;
    min-height: 100%;
  }
}

.share-promo {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.share-promo__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #fff;
}

.share-promo__hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

.share-promo .status-dot {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
  color: var(--ink-soft);
}

.card--dark .label {
  color: rgba(255, 255, 255, 0.85);
}

.req {
  color: var(--red);
}

.input,
.select {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.input:focus,
.select:focus {
  border-color: var(--red);
}

.card--dark .input,
.card--dark .select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.9rem 0;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--red);
  width: 1.1rem;
  height: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.15rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s, background 0.12s, opacity 0.12s;
  text-align: center;
  width: 100%;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  margin-top: 1rem;
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.9rem 1.15rem;
}

.btn--green:hover {
  background: var(--green-dark);
}

.btn__check {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  font-weight: 800;
}

.card-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.card-title h2 {
  margin: 0;
}

.card-title .card__lead {
  margin: 0.25rem 0 0;
}

.card-title__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #e8f0fe;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.pos-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .pos-row {
    grid-template-columns: 1fr 1fr;
  }
}

.alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.alert--success strong {
  color: var(--green-dark);
  font-size: 0.95rem;
}

.alert--success span {
  font-size: 0.82rem;
  color: var(--muted);
}

.share-hub__url--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  margin-top: 0.6rem;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
  margin-top: 0.6rem;
}

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  margin-top: 0.5rem;
}

.btn--soft {
  background: var(--red-soft);
  color: var(--red-dark);
  margin-top: 0.5rem;
}

.btn--sm {
  width: auto;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.status-dot--closed::before {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.status-dot--pub::before {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.wa-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.88rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0.75rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin: 0.75rem 0;
}

.alert--ok {
  background: #f1f5f9;
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.alert--err {
  background: var(--red-soft);
  color: var(--red-dark);
}

.alert--info {
  background: var(--info);
  color: var(--info-ink);
  border: 1px solid #c7d7f5;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.list li:last-child {
  border-bottom: none;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar--staff {
  background: var(--navy-2);
}

.list__meta {
  min-width: 0;
  flex: 1;
}

.list__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.list__pos {
  font-size: 0.78rem;
  color: var(--muted);
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
}

.badge--warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge--ok {
  background: var(--green-soft);
  color: var(--green);
}

.coach-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.coach-top__title h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.coach-top__title p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.coach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.coach-actions .btn {
  width: auto;
  margin-top: 0;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

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

.kpi {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 0.65rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 35, 50, 0.04);
}

.kpi__n {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.kpi__l {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.coach-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .coach-grid {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.toolbar .input,
.toolbar .select {
  flex: 1;
  min-width: 120px;
}

.link-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0.65rem;
}

.link-clear:hover {
  color: var(--red);
}

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

.section-title h2,
.section-title h3 {
  margin: 0;
  font-size: 1rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.tag--navy {
  background: var(--navy);
}

.pitch {
  width: 100%;
  user-select: none;
  touch-action: none;
}

.pitch__field {
  position: relative;
  width: 100%;
  aspect-ratio: 68 / 105;
  max-height: 520px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.1) 50%, transparent 50.5%),
    repeating-linear-gradient(
      0deg,
      var(--pitch) 0 12.5%,
      var(--pitch-dark) 12.5% 25%
    );
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.18);
}

.pitch__mark {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.pitch__halfway {
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  border-width: 1px 0 0;
}

.pitch__circle {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pitch__box {
  width: 46%;
  height: 16%;
  left: 50%;
  transform: translateX(-50%);
}

.pitch__box--top {
  top: 0;
  border-top: none;
}

.pitch__box--bottom {
  bottom: 0;
  border-bottom: none;
}

.pitch__slots,
.pitch__chips {
  position: absolute;
  inset: 0;
}

.pitch__slot {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pitch__chip {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(26, 35, 50, 0.12);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.55rem 0.22rem 0.22rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: grab;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
  min-width: 0;
  max-width: 100px;
  touch-action: none;
}

.pitch__chip.is-dragging {
  cursor: grabbing;
  z-index: 5;
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 0.95;
}

.pitch__chip--warn {
  background: #fff7e6;
  border-color: var(--warn);
}

.pitch__chip-ini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pitch__chip--warn .pitch__chip-ini {
  background: var(--warn);
}

.pitch__chip-name {
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.15rem;
  color: var(--ink);
}

.pitch--readonly .pitch__chip {
  cursor: default;
}

.roster-2 {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (min-width: 700px) {
  .roster-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.lineup-cols {
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .lineup-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .lineup-cols .col-block {
    border-right: 1px solid var(--border);
  }

  .lineup-cols .col-block:last-child {
    border-right: none;
  }
}

.col-block {
  background: var(--white);
  padding: 1.1rem 1.15rem 1.25rem;
  min-height: 120px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lineup-cols .col-block {
  border-radius: 0;
  box-shadow: none;
}

.col-block h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
}

.col-block .col-sub {
  margin: -0.5rem 0 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.lineup-cols .col-block .list li {
  border-bottom: none;
  padding: 0.45rem 0;
  align-items: flex-start;
}

.lineup-cols .col-block .avatar {
  display: none;
}

.public-panel {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.public-panel__head {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.public-panel__head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--white);
}

.public-panel__head p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.public-panel__body {
  background: #f7f8fa;
  padding: 0;
}

.public-panel__body .lineup-cols {
  box-shadow: none;
  border-radius: 0;
}

.public-panel__foot {
  background: var(--footer-blue);
  color: var(--white);
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
}

.athlete {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 0.4rem;
  background: #fafbfc;
  cursor: grab;
  touch-action: manipulation;
}

.athlete:active {
  cursor: grabbing;
}

.athlete__actions {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-left: auto;
}

.athlete__actions button {
  border: none;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.pin-gate {
  max-width: 380px;
  margin: 2rem auto;
  text-align: center;
}

.pin-gate .input {
  text-align: center;
  letter-spacing: 0.3em;
  font-size: 1.25rem;
  font-weight: 700;
}

.link-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem;
  background: #f8f9fb;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.link-row code {
  font-size: 0.75rem;
  word-break: break-all;
  color: var(--navy-2);
}

.app-footer {
  text-align: center;
  padding: 0.95rem 1.15rem;
  background: #1a1c23;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  margin-top: auto;
}

.page-inscricao .app-footer {
  background: #1e3a5f;
}

.app-footer strong {
  color: var(--white);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.stack-2 {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .stack-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.empty {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.5rem 0;
  font-style: italic;
}

.share-hub {
  border: 1px solid var(--border);
  scroll-margin-top: 1rem;
}

.share-hub--flash {
  animation: shareFlash 1.4s ease;
  box-shadow: 0 0 0 4px var(--red-soft), var(--shadow);
}

@keyframes shareFlash {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent, var(--shadow);
  }
  30% {
    box-shadow: 0 0 0 6px rgba(227, 28, 35, 0.35), var(--shadow);
  }
}

.share-hub__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.share-hub__url {
  display: block;
  font-size: 0.8rem;
  word-break: break-all;
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin: 0.5rem 0 0.85rem;
  color: var(--navy-2);
  font-family: ui-monospace, Consolas, monospace;
}

.share-actions {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 480px) {
  .share-actions {
    grid-template-columns: 1fr 1fr;
  }

  .share-actions .btn {
    margin-top: 0;
  }
}

.share-hub details {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.share-hub details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-2);
}

.share-hub details .link-row {
  margin-top: 0.5rem;
}

.btn-row {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .btn-row {
    grid-template-columns: 1fr 1fr;
  }

  .btn-row .btn {
    margin-top: 0;
  }
}

.staff-save {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.staff-save .btn {
  width: auto;
  margin-top: 0;
  min-width: 160px;
}

@media (max-width: 480px) {
  .app-header__inner {
    flex-wrap: wrap;
  }

  .app-tabs a {
    flex: 1;
    justify-content: center;
    padding: 0.75rem 0.4rem;
    font-size: 0.8rem;
  }

  .pitch__chip {
    max-width: 72px;
    padding: 0.15rem 0.3rem 0.15rem 0.15rem;
  }

  .pitch__chip-name {
    font-size: 0.6rem;
  }

  .pitch__chip-ini {
    width: 22px;
    height: 22px;
    font-size: 0.58rem;
  }

  .pitch__field {
    max-height: 420px;
  }

  .athlete {
    flex-wrap: wrap;
  }

  .athlete__actions {
    flex-direction: row;
    width: 100%;
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .athlete__actions button {
    flex: 1;
    padding: 0.4rem;
    font-size: 0.75rem;
  }

  .staff-save .btn {
    width: 100%;
  }
}
