/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --background: #f7f4ee;
  --surface: #fff;
  --text: #1f2933;
  --muted: #5f6f7d;
  --primary: #146c63;
  --primary-hover: #0f5952;
  --border: #d9e1e7;
  --danger: #b42318;
  --success: #16703c;
  --focus: #f5b841;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  background: linear-gradient(120deg, #f5b84129, transparent 32%),
    var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

button, input {
  font: inherit;
}

.main-shell {
  max-width: 1040px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-shell {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 32px 16px;
  display: flex;
}

.home-panel, .form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: min(100%, 520px);
  box-shadow: 0 20px 70px #1f29331a;
}

.home-panel {
  padding: 40px;
}

.main-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin: 0 auto 28px;
  display: flex;
}

.main-header .lead {
  max-width: 620px;
  margin-bottom: 0;
}

.header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

.form-panel {
  padding: 32px;
}

.eyebrow {
  color: var(--primary);
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  margin: 18px 0 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.compact-lead {
  margin-bottom: 0;
}

.primary-link, .submit-button {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background .16s, transform .16s;
  display: inline-flex;
}

.primary-link:hover, .submit-button:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.submit-button {
  width: 100%;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.auth-actions {
  gap: 10px;
  display: grid;
}

.secondary-link, .secondary-button {
  border: 1px solid var(--border);
  color: var(--primary);
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.secondary-link:hover, .secondary-button:hover {
  border-color: var(--primary);
}

.back-link {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: .92rem;
  text-decoration: none;
  display: inline-flex;
}

.back-link:hover {
  color: var(--primary);
}

.form-heading {
  margin-bottom: 26px;
}

.register-form {
  gap: 18px;
  display: grid;
}

.field {
  gap: 8px;
  display: grid;
}

.field label {
  font-size: .94rem;
  font-weight: 700;
}

.field input {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  border-radius: 6px;
  outline: none;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #f5b84159;
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.predictions-board {
  gap: 22px;
  display: grid;
}

.session-strip, .game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 48px #1f293314;
}

.session-strip {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 20px;
  display: flex;
}

.session-strip span {
  color: var(--muted);
  font-size: .9rem;
}

.session-user {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.session-user strong {
  overflow-wrap: anywhere;
  font-size: 1.12rem;
}

.session-user small {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: .82rem;
}

.session-name-form {
  align-items: center;
  gap: 8px;
  display: flex;
}

.session-name-form input {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  border-radius: 6px;
  outline: none;
  width: min(320px, 100%);
  min-width: 0;
  height: 38px;
  padding: 0 10px;
}

.session-name-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #f5b84159;
}

.session-edit-button {
  white-space: nowrap;
}

.points-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  display: grid;
  overflow: hidden;
  box-shadow: 0 16px 48px #1f293314;
}

.points-card div {
  background: #fff;
  gap: 6px;
  padding: 18px;
  display: grid;
}

.points-card span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.points-card strong {
  color: var(--primary);
  overflow-wrap: anywhere;
  font-size: 1.9rem;
  line-height: 1;
}

.rules-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 16px 48px #1f293314;
}

.rules-panel h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.rules-panel ul {
  color: var(--muted);
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.45;
  display: grid;
}

.score-fields input {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  border-radius: 6px;
  outline: none;
  min-height: 44px;
  padding: 0 12px;
}

.score-fields input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #f5b84159;
}

.games-list {
  gap: 16px;
  display: grid;
}

.table-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 16px 48px #1f293314;
}

.predictions-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 980px;
}

.predictions-table th, .predictions-table td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  padding: 12px 10px;
}

.predictions-table th {
  color: var(--muted);
  text-transform: uppercase;
  background: #f3f6f8;
  font-size: .78rem;
  font-weight: 700;
}

.predictions-table td {
  font-size: .92rem;
}

.predictions-table tbody tr:hover {
  background: #f9fbfb;
}

.predictions-table tbody tr:last-child td {
  border-bottom: 0;
}

.predictions-table .is-locked {
  background: #fbfbfb;
}

.match-number {
  color: var(--muted);
  width: 42px;
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

.venue-cell {
  color: var(--muted);
  max-width: 190px;
}

.table-prediction-form {
  align-items: center;
  gap: 7px;
  display: flex;
}

.table-prediction-form input {
  border: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  background: #fff;
  border-radius: 6px;
  outline: none;
  width: 58px;
  height: 38px;
  padding: 0 8px;
}

.table-prediction-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #f5b84159;
}

.table-prediction-form input:disabled {
  color: var(--muted);
  background: #f3f6f8;
}

.prediction-label {
  color: var(--primary);
  background: #eef7f5;
  border: 1px solid #c9e4df;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-width: 86px;
  min-height: 38px;
  padding: 0 12px;
  font-weight: 800;
  display: inline-flex;
}

.saved-label {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.table-save-button {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  height: 38px;
  padding: 0 10px;
  font-size: .84rem;
  font-weight: 700;
}

.table-save-button:hover:not(:disabled) {
  background: var(--primary-hover);
}

.table-save-button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.table-edit-button {
  border: 1px solid var(--border);
  color: var(--primary);
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  height: 38px;
  padding: 0 10px;
  font-size: .84rem;
  font-weight: 700;
}

.table-edit-button:hover {
  border-color: var(--primary);
}

.table-danger-button, .danger-button {
  background: var(--danger);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  height: 38px;
  padding: 0 10px;
  font-size: .84rem;
  font-weight: 700;
}

.table-danger-button:hover, .danger-button:hover {
  background: #8f1d14;
}

.modal-backdrop {
  z-index: 50;
  background: #1f29336b;
  justify-content: center;
  align-items: center;
  padding: 18px;
  display: flex;
  position: fixed;
  inset: 0;
}

.target-modal {
  display: none;
}

.target-modal:target {
  display: flex;
}

.confirm-modal {
  background: var(--surface);
  border-radius: 8px;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  padding: 22px;
  display: grid;
  box-shadow: 0 24px 80px #1f293347;
}

.confirm-modal h2 {
  margin: 0;
  font-size: 1.22rem;
}

.confirm-modal p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.admin-warning-page {
  max-width: 520px;
}

.admin-warning-page h1 {
  font-size: 1.6rem;
}

.modal-actions {
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

.modal-actions form {
  display: flex;
}

.table-error, .table-success {
  margin: 6px 0 0;
  font-size: .8rem;
  line-height: 1.3;
}

.table-error {
  color: var(--danger);
}

.table-success {
  color: var(--success);
  font-weight: 700;
}

.empty-table-cell {
  color: var(--muted);
  text-align: center;
  padding: 28px;
}

.ranking-shell {
  overflow-x: auto;
}

.ranking-table {
  min-width: 760px;
}

.ranking-table td {
  font-size: .96rem;
}

.ranking-leader {
  background: #fff8e7;
}

.rank-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  font-weight: 900;
  display: inline-flex;
}

.coupon-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  display: grid;
}

.coupon-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px #1f293314;
}

.coupon-day h2 {
  color: #fff;
  text-align: center;
  background: #16324f;
  margin: 0;
  padding: 10px 12px;
  font-size: .98rem;
}

.coupon-day-games {
  display: grid;
}

.coupon-row {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 30px 52px minmax(120px, 1fr) auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 8px;
  display: grid;
}

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

.coupon-row.is-locked {
  background: #fbfbfb;
}

.coupon-group {
  color: #274690;
  background: #edf2ff;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  height: 24px;
  font-size: .78rem;
  font-weight: 900;
  display: inline-flex;
}

.coupon-time {
  color: var(--muted);
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
}

.coupon-team {
  align-items: center;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.coupon-team span {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 800;
  overflow: hidden;
}

.coupon-team strong {
  flex: none;
  font-size: 1rem;
}

.coupon-team-home {
  text-align: right;
  justify-content: flex-end;
}

.coupon-team-away {
  justify-content: flex-start;
}

.coupon-score {
  justify-content: center;
  display: flex;
}

.coupon-score-form {
  align-items: center;
  gap: 4px;
  display: flex;
}

.coupon-score-form input {
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 4px;
  width: 34px;
  height: 28px;
  padding: 0;
  font-size: .9rem;
  font-weight: 800;
}

.coupon-score-form span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  line-height: 28px;
}

.coupon-score-label {
  color: var(--primary);
  text-align: center;
  background: #eef7f5;
  border: 1px solid #c9e4df;
  border-radius: 4px;
  min-width: 58px;
  font-size: .88rem;
  font-weight: 900;
  line-height: 28px;
}

.coupon-action {
  justify-content: flex-end;
  min-width: 70px;
  display: flex;
}

.coupon-save-button, .coupon-edit-button {
  cursor: pointer;
  white-space: nowrap;
  border-radius: 4px;
  height: 28px;
  padding: 0 10px;
  font-size: .72rem;
  font-weight: 800;
}

.coupon-save-button {
  background: var(--primary);
  color: #fff;
  border: 0;
}

.coupon-edit-button {
  border: 1px solid var(--border);
  color: var(--primary);
  background: #fff;
}

.coupon-save-button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.coupon-error, .coupon-success {
  grid-column: 3 / -1;
  margin: 0;
  font-size: .76rem;
}

.coupon-error {
  color: var(--danger);
}

.coupon-success {
  color: var(--success);
  font-weight: 800;
}

.admin-shell {
  max-width: 1280px;
}

.admin-games {
  gap: 22px;
  display: grid;
}

.admin-tabs {
  gap: 10px;
  margin: -8px 0 22px;
  display: flex;
}

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 16px 48px #1f293314;
}

.admin-panel h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.admin-create-form {
  grid-template-columns: 80px 120px minmax(140px, 1fr) minmax(140px, 1fr) minmax(160px, 1fr) 190px 86px 86px auto;
  gap: 10px;
  display: grid;
}

.admin-create-form input, .admin-table input, .team-create-form input, .teams-table input {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  border-radius: 6px;
  outline: none;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 8px;
}

.admin-create-form input:focus, .admin-table input:focus, .team-create-form input:focus, .teams-table input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #f5b84159;
}

.admin-table {
  min-width: 1220px;
}

.admin-table td {
  padding: 9px 8px;
}

.admin-number-input {
  max-width: 70px;
}

.admin-score-fields {
  align-items: center;
  gap: 6px;
  display: flex;
}

.admin-score-fields input {
  text-align: center;
  width: 54px;
}

.participants-summary {
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  display: grid;
}

.entry-fee-form, .summary-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 16px 48px #1f293314;
}

.entry-fee-form {
  gap: 10px;
  display: grid;
}

.entry-fee-form label, .summary-metric span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.entry-fee-form div {
  gap: 8px;
  display: flex;
}

.entry-fee-form input {
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
}

.summary-metric {
  gap: 8px;
  display: grid;
}

.summary-metric strong {
  color: var(--primary);
  font-size: 1.55rem;
  line-height: 1;
}

.participants-table {
  min-width: 760px;
}

.team-create-form {
  grid-template-columns: minmax(160px, 1fr) 90px minmax(220px, 2fr) auto;
  gap: 10px;
  display: grid;
}

.team-create-form .table-error, .team-create-form .table-success {
  grid-column: 1 / -1;
}

.teams-table {
  min-width: 760px;
}

.teams-table td {
  padding: 9px 8px;
}

.team-flag-input {
  text-align: center;
  max-width: 80px;
}

.game-card {
  gap: 18px;
  padding: 20px;
  display: grid;
}

.game-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.match-line {
  align-items: center;
  gap: 14px;
  display: flex;
}

.date-chip {
  background: #eef7f5;
  border: 1px solid #c9e4df;
  border-radius: 8px;
  flex: 0 0 74px;
  place-items: center;
  min-height: 74px;
  padding: 8px;
  display: grid;
}

.date-chip strong {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
}

.date-chip span, .date-chip small {
  color: var(--muted);
  text-transform: capitalize;
  font-size: .78rem;
  line-height: 1.1;
}

.game-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.game-card p {
  color: var(--muted);
  margin: 6px 0 0;
}

.status-open, .status-closed {
  border-radius: 999px;
  flex: none;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 700;
}

.status-open {
  color: var(--success);
  background: #e8f5ee;
}

.status-closed {
  color: var(--danger);
  background: #fff1ef;
}

.prediction-form {
  gap: 14px;
  display: grid;
}

.score-fields {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  display: grid;
}

.score-fields label {
  gap: 8px;
  display: grid;
}

.score-fields span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.score-fields strong {
  margin-bottom: 12px;
}

.score-fields input {
  text-align: center;
  width: 100%;
}

.score-fields input:disabled {
  color: var(--muted);
  background: #f3f6f8;
}

.small-button {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.small-button:hover:not(:disabled) {
  background: var(--primary-hover);
}

.small-button:disabled {
  cursor: not-allowed;
  opacity: .68;
}

.inline-error, .inline-success, .lock-note {
  font-size: .9rem;
  line-height: 1.4;
}

.inline-error {
  color: var(--danger);
}

.inline-success {
  color: var(--success);
  font-weight: 700;
}

.lock-note {
  color: var(--muted);
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--border);
  text-align: center;
  border-radius: 8px;
  padding: 28px;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.empty-state p {
  color: var(--muted);
  margin: 0;
}

.field-error, .form-error, .form-success {
  font-size: .9rem;
  line-height: 1.4;
}

.field-error, .form-error {
  color: var(--danger);
}

.form-error, .form-success {
  margin: 0;
}

.form-success {
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 520px) {
  .main-shell {
    padding: 24px 14px;
  }

  .main-header, .game-card-header, .session-strip {
    display: grid;
  }

  .header-actions {
    justify-content: stretch;
  }

  .header-actions > * {
    width: 100%;
  }

  .admin-create-form, .team-create-form {
    grid-template-columns: 1fr;
  }

  .match-line {
    align-items: flex-start;
  }

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

  .home-panel, .form-panel {
    padding: 24px;
  }

  h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 760px) {
  .main-shell {
    padding: 24px 12px;
  }

  .main-header {
    gap: 18px;
    display: grid;
  }

  .header-actions {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    display: grid;
  }

  .header-actions > *, .header-actions .secondary-link, .header-actions .secondary-button {
    width: 100%;
  }

  .session-strip {
    align-items: start;
    gap: 6px;
    display: grid;
  }

  .session-name-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .session-name-form .table-save-button, .session-edit-button {
    width: 100%;
  }

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

  .admin-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
  }

  .participants-summary {
    grid-template-columns: 1fr;
  }

  .entry-fee-form div {
    display: grid;
  }

  .points-card div {
    padding: 14px;
  }

  .points-card strong {
    font-size: 1.45rem;
  }

  .admin-shell .table-shell {
    overflow-x: auto;
  }

  .admin-shell .predictions-table {
    border-collapse: separate;
    border-spacing: 0 12px;
    min-width: 0;
  }

  .admin-shell .predictions-table thead {
    display: none;
  }

  .admin-shell .predictions-table, .admin-shell .predictions-table tbody, .admin-shell .predictions-table tr, .admin-shell .predictions-table td {
    width: 100%;
    display: block;
  }

  .participants-table td:first-child:before {
    content: "Nome";
  }

  .participants-table td:nth-child(2):before {
    content: "Email";
  }

  .participants-table td:nth-child(3):before {
    content: "Cadastro";
  }

  .participants-table td:nth-child(4):before {
    content: "Status";
  }

  .participants-table td:nth-child(5):before {
    content: "Pagamento";
  }

  .participants-table td:nth-child(6):before {
    content: "Excluir";
  }

  .teams-table td:first-child:before {
    content: "Nome";
  }

  .teams-table td:nth-child(2):before {
    content: "Bandeira";
  }

  .teams-table td:nth-child(3):before {
    content: "Aliases";
  }

  .teams-table td:nth-child(4):before {
    content: "Salvar";
  }

  .admin-shell .predictions-table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 0;
    overflow: hidden;
    box-shadow: 0 12px 32px #1f293314;
  }

  .admin-shell .predictions-table td {
    border-bottom: 1px solid var(--border);
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    display: grid;
  }

  .admin-shell .predictions-table td:last-child {
    border-bottom: 0;
  }

  .admin-shell .predictions-table td:before {
    color: var(--muted);
    content: attr(data-label);
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 800;
  }

  .ranking-shell {
    overflow-x: visible;
  }

  .ranking-table {
    border-collapse: separate;
    border-spacing: 0 12px;
    min-width: 0;
  }

  .ranking-table thead {
    display: none;
  }

  .ranking-table, .ranking-table tbody, .ranking-table tr {
    width: 100%;
    display: block;
  }

  .ranking-table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    grid-template-columns: 34px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    display: grid;
    overflow: hidden;
    box-shadow: 0 12px 32px #1f293314;
  }

  .ranking-table td {
    border-bottom: 0;
    align-items: center;
    min-height: 0;
    padding: 0;
  }

  .ranking-rank-cell {
    grid-column: 1;
    justify-content: center;
    display: flex;
  }

  .ranking-participant-cell {
    grid-column: 2;
    min-width: 0;
    display: block;
  }

  .ranking-participant-cell strong {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .86rem;
    display: block;
    overflow: hidden;
  }

  .ranking-points-cell {
    grid-column: 3;
    justify-content: flex-end;
    display: flex;
  }

  .ranking-points-cell strong {
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1;
  }

  .ranking-extra-cell {
    display: none;
  }

  .rank-badge {
    min-width: 28px;
    height: 28px;
  }

  .match-number {
    width: auto;
  }

  .venue-cell {
    max-width: none;
  }

  .table-prediction-form {
    justify-content: flex-start;
    width: 100%;
  }

  .table-prediction-form input {
    width: 64px;
    height: 42px;
  }

  .prediction-label {
    min-width: 96px;
    min-height: 42px;
  }

  .table-save-button, .table-edit-button, .table-danger-button {
    min-width: 112px;
    height: 42px;
  }

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

  .coupon-row {
    grid-template-columns: 24px 38px minmax(66px, 1fr) auto minmax(66px, 1fr) auto;
    gap: 6px;
    padding: 8px 6px;
  }

  .coupon-team span {
    font-size: .8rem;
  }

  .coupon-action {
    min-width: 52px;
  }

  .coupon-save-button, .coupon-edit-button {
    width: 38px;
    min-width: 38px;
    padding: 0;
    font-size: 0;
    position: relative;
  }

  .coupon-save-button:after {
    content: "✓";
    font-size: 1rem;
  }

  .coupon-edit-button:after {
    content: "✎";
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .coupon-row {
    grid-template-columns: 24px 38px minmax(64px, 1fr) auto minmax(64px, 1fr);
  }

  .coupon-action {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .coupon-save-button, .coupon-edit-button {
    width: 100%;
    font-size: .82rem;
  }

  .coupon-save-button:after, .coupon-edit-button:after {
    content: "";
  }
}

@media (max-width: 420px) {
  .header-actions, .points-card {
    grid-template-columns: 1fr;
  }

  .predictions-table td {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .modal-actions {
    display: grid;
  }

  .modal-actions form, .modal-actions button {
    width: 100%;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/