:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0b1110;
  --panel: #111918;
  --panel-2: #18211f;
  --line: #263433;
  --text: #f4fbf8;
  --muted: #92aaa5;
  --green: #12c997;
  --green-2: #0d8f6f;
  --gold: #554915;
  --page-width: 1094px;
  --page-gutter: clamp(56px, 9vw, 128px);
}


.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(18, 201, 151, 0.08), transparent 38%),
    var(--bg);
}

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

.admin-login-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 25, 24, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  padding: 28px;
}

.admin-login-card,
.admin-login-card label {
  display: grid;
  gap: 14px;
}

.admin-brand {
  margin-bottom: 8px;
}

.admin-brand img {
  width: clamp(150px, 44vw, 230px);
}

.admin-login-card h1,
.admin-section-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.admin-login-card p,
.admin-section-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-login-card label {
  color: var(--text);
  font-weight: 800;
}

.admin-login-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #0a0f0e;
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

.admin-login-card input:focus {
  border-color: rgba(18, 201, 151, 0.72);
  box-shadow: 0 0 0 3px rgba(18, 201, 151, 0.1);
}

.admin-login-card button,
.admin-tabs button,
.admin-exit-button {
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #02130f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 13px 18px;
}

.admin-header-actions { display: grid; gap: 8px; justify-items: stretch; }
.admin-test-toggle { display: flex; align-items: center; gap: 8px; color: #d9f7ed; font-weight: 700; font-size: 13px; cursor: pointer; }
.admin-test-toggle input { accent-color: #11c99a; width: 17px; height: 17px; }
.test-table-page { max-width: 980px; margin: 0 auto; }
.test-table-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 24px; border: 1px solid #1f4038; background: #111d1a; border-radius: 8px; }
.test-table-card h3, .test-table-card p { margin: 0; }
.test-table-card p { margin-top: 5px; color: #8eaaa2; }
.test-table-icon { display: grid; place-items: center; width: 52px; aspect-ratio: 1; border-radius: 50%; background: #050807; color: white; border: 3px solid #14c99a; font-weight: 900; }
@media (max-width: 620px) { .test-table-card { grid-template-columns: auto 1fr; } .test-table-card .primary-button { grid-column: 1 / -1; width: 100%; } }

.admin-login-card button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-panel {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 34px) 48px;
}

.admin-header,
.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.admin-exit-button {
  border: 1px solid var(--line);
  background: #101817;
  color: var(--text);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.admin-tabs button {
  min-width: 118px;
}

.admin-tabs button:not(.active) {
  border: 1px solid var(--line);
  background: #101817;
  color: var(--text);
}

.admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

@media (max-width: 1024px) {
  .admin-panel {
    width: 100%;
    padding-inline: clamp(12px, 3vw, 24px);
  }

  .admin-users-head,
  .admin-user-row {
    grid-template-columns: minmax(140px, 1fr) minmax(180px, 1.1fr) minmax(120px, 0.8fr) minmax(220px, 1.2fr);
  }

  .admin-users-head span:nth-child(5),
  .admin-users-head span:nth-child(6),
  .admin-user-row > span:nth-child(5),
  .admin-user-row > span:nth-child(6) {
    grid-column: span 2;
  }

  .admin-store-item {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .admin-store-item > button {
    grid-column: 1 / -1;
  }

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

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

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

  .admin-bracket-side {
    order: -1;
  }

  .admin-bracket-participants {
    max-height: 260px;
  }
}

.admin-subtabs button {
  min-width: 130px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101817;
  color: var(--text);
  padding: 11px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-subtabs button.active {
  border-color: rgba(18, 201, 151, 0.45);
  background: rgba(18, 201, 151, 0.16);
  color: var(--green);
}

.admin-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-tools label {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-tools input,
.admin-tools select,
.admin-tools button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #0a0f0e;
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
}

.admin-tools button {
  align-self: end;
  background: var(--green);
  color: #02130f;
  cursor: pointer;
  font-weight: 900;
}

.admin-ranking {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.admin-ranking article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(18, 201, 151, 0.24);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(18, 201, 151, 0.12), rgba(12, 18, 17, 0.78));
  padding: 14px;
}

.admin-ranking span {
  color: var(--green);
  font-weight: 900;
}

.admin-ranking strong,
.admin-ranking b {
  color: var(--text);
}

.admin-ranking small {
  color: var(--muted);
}

.admin-users-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111918;
  padding: 22px;
}

.admin-section-title {
  margin-bottom: 22px;
}

#admin-users-count {
  border: 1px solid rgba(18, 201, 151, 0.24);
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  font-weight: 900;
  padding: 8px 12px;
  white-space: nowrap;
}

.admin-users-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-users-head,
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(170px, 1fr) minmax(120px, 0.8fr) minmax(260px, 1.45fr) minmax(170px, 1fr) minmax(180px, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
}

.admin-users-head {
  background: #0b100f;
  color: var(--muted);
  font-weight: 900;
}

.admin-user-row {
  border-top: 1px solid var(--line);
  background: rgba(12, 18, 17, 0.62);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.admin-user-row:hover,
.admin-user-row:focus {
  border-color: rgba(18, 201, 151, 0.5);
  background: rgba(18, 201, 151, 0.08);
  outline: 0;
}

.admin-user-row span:first-child {
  font-weight: 900;
}

.admin-user-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-user-row b,
.admin-user-row small {
  display: block;
}

.admin-user-row small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-empty {
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  margin: 16px 0 0;
  padding: 22px;
  text-align: center;
}

.admin-store-list {
  display: grid;
  gap: 14px;
}

.admin-store-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 140px;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 18, 17, 0.68);
  padding: 14px;
}

.admin-store-preview {
  display: grid;
  min-height: 112px;
  place-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #0a0f0e;
  padding: 10px;
}

.admin-store-preview img {
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
}

.admin-store-item-taco .admin-store-preview img {
  width: 100%;
  max-height: none;
}

.admin-whats-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.admin-whats-card,
.admin-whats-qr-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 18, 17, 0.68);
  padding: 18px;
}

.admin-whats-card h2 {
  margin: 0 0 8px;
}

.admin-whats-card p,
.admin-whats-qr-card p {
  color: var(--muted);
  margin: 0;
}

.admin-whats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-whats-contact-form {
  margin: 16px 0 0;
}

.admin-whats-qr {
  display: grid;
  min-height: 290px;
  place-items: center;
  border: 1px dashed rgba(18, 201, 151, 0.35);
  border-radius: 12px;
  background: #07100e;
  color: var(--muted);
  text-align: center;
}

.admin-whats-qr img {
  width: min(260px, 100%);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

#admin-whats-status {
  border: 1px solid rgba(18, 201, 151, 0.24);
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  font-weight: 900;
  padding: 8px 12px;
  white-space: nowrap;
}

#admin-whats-status[data-type="error"] {
  border-color: rgba(255, 91, 101, 0.35);
  background: rgba(255, 91, 101, 0.12);
  color: #ff6b73;
}

#admin-whats-status[data-type="warning"] {
  border-color: rgba(255, 198, 49, 0.35);
  background: rgba(255, 198, 49, 0.12);
  color: #ffc631;
}

.admin-store-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #101817;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.admin-store-active input {
  accent-color: var(--green);
}

.admin-store-active:has(input:checked) {
  border-color: rgba(18, 201, 151, 0.48);
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
}

.admin-store-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-store-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-store-fields input,
.admin-store-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #0a0f0e;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.admin-store-fields input:disabled {
  opacity: 0.62;
}

.admin-store-description {
  grid-column: 1 / -1;
}

.admin-store-fields textarea {
  min-height: 78px;
  resize: vertical;
}

.admin-store-item button {
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #02130f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 13px 16px;
}

.admin-store-item button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-championship-list {
  display: grid;
  gap: 14px;
}

.admin-championship-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d1413;
  padding: 16px;
}

.admin-championship-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.admin-championship-card h3 {
  margin: 6px 0;
}

.admin-championship-card p {
  margin: 4px 0;
  color: var(--muted);
}

.admin-championship-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-championship-links label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-championship-links input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090e0d;
  color: var(--text);
  padding: 10px;
}

.admin-championship-links button {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--green);
  color: #02130f;
  padding: 10px 14px;
  font-weight: 950;
  cursor: pointer;
}

.admin-championship-links .admin-danger-button {
  grid-column: 1 / -1;
  border-color: rgba(255, 82, 82, 0.42);
  background: rgba(255, 82, 82, 0.12);
  color: #ff6969;
}

.admin-bracket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.admin-bracket-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.admin-bracket-toolbar > button,
.admin-bracket-tab > button {
  min-height: 38px;
  border: 1px solid rgba(18, 201, 151, 0.34);
  border-radius: 7px;
  background: #0c1412;
  color: var(--text);
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.admin-bracket-toolbar > button {
  background: var(--green);
  color: #04110d;
}

.admin-bracket-tabs {
  display: flex;
  gap: 8px;
}

.admin-bracket-tab {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(18, 201, 151, 0.34);
  border-radius: 7px;
  background: #0c1412;
}

.admin-bracket-tab > button {
  border: 0;
  border-radius: 0;
}

.admin-bracket-tab.active {
  border-color: var(--green);
  background: rgba(18, 201, 151, 0.16);
}

.admin-bracket-tab.active > button:first-child {
  color: var(--green);
}

.admin-bracket-tab .admin-bracket-delete {
  min-width: 38px;
  padding: 0 10px;
  border-left: 1px solid rgba(255, 105, 105, 0.25);
  color: #ff6969;
}

.admin-bracket-tab .admin-bracket-delete:hover {
  background: rgba(255, 82, 82, 0.14);
}

.admin-bracket-create-card {
  width: min(620px, calc(100vw - 24px));
}

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

.admin-bracket-rules-field,
.admin-bracket-create-form > button {
  grid-column: 1 / -1;
}

.admin-bracket-create-form textarea {
  width: 100%;
  resize: vertical;
}

.admin-bracket-lower-title {
  margin: 42px 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.admin-bracket-row-losers {
  justify-content: flex-start;
}

.admin-bracket-board {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(18, 201, 151, 0.04), transparent 28%),
    #0b1110;
  padding: 22px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  scrollbar-width: none;
}

.admin-bracket-board::-webkit-scrollbar {
  display: none;
}

.admin-bracket-board.is-dragging {
  cursor: grabbing;
}

.admin-bracket-canvas {
  display: block;
  max-width: none;
  background: transparent;
}

.admin-bracket-zoom {
  position: sticky;
  top: 10px;
  left: calc(100% - 190px);
  z-index: 5;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 -42px auto;
  padding: 6px;
  border: 1px solid rgba(18, 201, 151, 0.34);
  border-radius: 8px;
  background: rgba(7, 15, 13, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.admin-bracket-active-toggle,
.admin-bracket-registration-toggle {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 17, 15, 0.92);
  color: var(--muted);
  font-weight: 800;
}

.admin-bracket-registration-toggle {
  left: 94px;
}

.admin-bracket-active-toggle span,
.admin-bracket-registration-toggle span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64736f;
}

.admin-bracket-active-toggle.is-active,
.admin-bracket-registration-toggle.is-active {
  border-color: rgba(18, 201, 151, 0.58);
  color: var(--green);
}

.admin-bracket-active-toggle.is-active span,
.admin-bracket-registration-toggle.is-active span {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 201, 151, 0.13);
}

.admin-bracket-zoom button {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
}

.admin-bracket-zoom strong {
  min-width: 42px;
  color: var(--green);
  font-size: 12px;
  text-align: center;
}

.admin-bracket-board button,
.admin-bracket-board input,
.admin-bracket-board select {
  user-select: auto;
}

.admin-bracket-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 2px rgba(107, 190, 205, 0.2));
}

.admin-bracket-lines path {
  transition: stroke 140ms ease, stroke-width 140ms ease, filter 140ms ease;
}

.admin-bracket-lines path.is-highlighted {
  stroke: #67d8ff;
  stroke-width: 3.25;
  filter: drop-shadow(0 0 4px rgba(103, 216, 255, 0.72));
}

.admin-bracket-match.is-source-highlighted .admin-bracket-slot {
  border-color: #67d8ff;
  box-shadow: 0 0 0 1px rgba(103, 216, 255, 0.28);
}

.admin-bracket-slot[data-bracket-source] {
  cursor: help;
}

.admin-bracket-title {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
}

.admin-bracket-title span {
  color: var(--muted);
  font-size: 11px;
}

.admin-bracket-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: max-content;
  width: max-content;
  padding: 0 34px 28px;
}

.admin-bracket-row {
  display: flex;
  gap: 58px;
  align-items: center;
}

.admin-bracket-round {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-width: 190px;
  padding-left: 34px;
}

.admin-bracket-round h3 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-bracket-matches {
  display: grid;
  gap: 18px;
}

.admin-bracket-match {
  position: relative;
  display: grid;
  gap: 3px;
}

.admin-bracket-match-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding-left: 6px;
}

.admin-bracket-match-config {
  width: 24px;
  height: 22px;
  border: 1px solid rgba(157, 178, 174, 0.34);
  border-radius: 6px;
  background: #0a0f0e;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.admin-bracket-match-watch {
  width: 24px;
  height: 22px;
  border: 1px solid rgba(18, 201, 151, 0.62);
  border-radius: 6px;
  background: rgba(18, 201, 151, 0.14);
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.admin-bracket-match-watch:disabled {
  border-color: rgba(157, 178, 174, 0.18);
  background: #0a0f0e;
  color: rgba(157, 178, 174, 0.35);
  cursor: not-allowed;
}

.admin-bracket-match-config:hover,
.admin-bracket-match-config:focus {
  border-color: rgba(18, 201, 151, 0.72);
  color: var(--green);
  outline: 0;
}

.admin-bracket-match.is-configured .admin-bracket-match-config {
  border-color: rgba(18, 201, 151, 0.62);
  background: rgba(18, 201, 151, 0.14);
  color: var(--green);
}

.admin-bracket-slot {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(18, 201, 151, 0.24);
  border-radius: 6px;
  background: #173f4d;
  color: var(--text);
  padding: 0 9px;
}

.admin-bracket-slot.is-empty {
  border-color: rgba(157, 178, 174, 0.16);
  background: #17201f;
  color: #6f8580;
}

.admin-bracket-slot.is-placeholder {
  border-color: rgba(157, 178, 174, 0.14);
  background: #1a2423;
  color: #6f8580;
}

.admin-bracket-slot span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 950;
}

.admin-bracket-slot strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.admin-bracket-side {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d1413;
  padding: 16px;
}

.admin-bracket-side h2 {
  margin: 0;
  font-size: 18px;
}

.admin-bracket-side label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-bracket-side select,
.admin-bracket-side button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0f0e;
  color: var(--text);
  padding: 12px;
  font: inherit;
}

.admin-bracket-side > button {
  background: var(--green);
  color: #02130f;
  font-weight: 950;
  cursor: pointer;
}

.admin-bracket-participants {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}

.admin-bracket-participants article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111918;
  padding: 9px;
}

.admin-bracket-participants span {
  color: var(--green);
  font-weight: 950;
}

.admin-bracket-participants strong,
.admin-bracket-participants small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bracket-participants small {
  grid-column: 2 / 3;
  color: var(--muted);
  font-size: 11px;
}

.admin-bracket-participants button {
  grid-row: span 2;
  border-color: rgba(255, 82, 82, 0.34);
  background: rgba(255, 82, 82, 0.12);
  color: #ff6969;
  padding: 8px;
  font-size: 12px;
}

.hidden {
  display: none !important;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  padding: 18px;
}

.admin-modal-card {
  position: relative;
  width: min(100%, 980px);
  max-height: min(88vh, 780px);
  overflow: auto;
  border: 1px solid rgba(18, 201, 151, 0.36);
  border-radius: 14px;
  background:
    radial-gradient(circle at top left, rgba(18, 201, 151, 0.12), transparent 42%),
    #101817;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  padding: 24px;
}

.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0f0e;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 46px 18px 0;
}

.admin-modal-head span {
  color: var(--green);
  font-weight: 900;
}

.admin-modal-head h2 {
  margin: 6px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.admin-modal-head p,
.admin-modal-head strong {
  color: var(--muted);
}

.admin-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-modal-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 15, 14, 0.74);
  padding: 16px;
}

.admin-modal-grid h3 {
  margin: 0 0 12px;
  color: var(--green);
}

.admin-modal-grid div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(38, 52, 51, 0.72);
  padding: 10px 0;
}

.admin-modal-grid div:first-of-type {
  border-top: 0;
}

.admin-modal-grid span {
  color: var(--muted);
}

.admin-modal-grid strong {
  max-width: 62%;
  text-align: right;
  overflow-wrap: anywhere;
}

.admin-bracket-match-modal-card {
  width: min(100%, 760px);
}

.admin-bracket-match-form {
  margin: 18px 0;
}

.admin-bracket-match-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.admin-bracket-match-links label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-bracket-match-links input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090e0d;
  color: var(--text);
  padding: 10px;
}

.admin-bracket-match-links button,
.admin-danger-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--green);
  color: #02130f;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  padding: 10px 14px;
}

.admin-bracket-match-links button {
  align-self: end;
}

.admin-danger-button {
  border-color: rgba(255, 82, 82, 0.42);
  background: rgba(255, 82, 82, 0.12);
  color: #ff6969;
}

.admin-bracket-match-delete {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 720px) {
  .admin-panel {
    padding: 16px 12px 34px;
  }

  .admin-login {
    padding: 14px;
  }

  .admin-header,
  .admin-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header .brand img {
    max-width: min(72vw, 220px);
  }

  .admin-exit-button,
  .admin-tabs button {
    width: 100%;
  }

  .admin-tabs,
  .admin-subtabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -12px;
    overflow-x: auto;
    padding-inline: 12px;
    scrollbar-width: thin;
  }

  .admin-tabs button,
  .admin-subtabs button {
    flex: 0 0 auto;
    min-width: 116px;
    width: auto;
    white-space: nowrap;
  }

  .admin-tools,
  .admin-ranking {
    grid-template-columns: 1fr;
  }

  .admin-users-card,
  .admin-login-card {
    padding: 18px;
  }

  .admin-users-head {
    display: none;
  }

  .admin-users-table {
    display: grid;
    gap: 10px;
    border: 0;
    overflow: visible;
  }

  .admin-user-row {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .admin-user-row span {
    display: grid;
    gap: 4px;
  }

  .admin-user-row span::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .admin-store-item,
  .admin-store-fields,
  .admin-championship-card,
  .admin-championship-links,
  .admin-bracket-match-links {
    grid-template-columns: 1fr;
  }

  .admin-store-item button,
  .admin-championship-links button,
  .admin-bracket-match-links button {
    width: 100%;
  }

  .admin-championship-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-bracket-board {
    justify-content: start;
    min-height: 430px;
    margin-inline: -6px;
    padding: 16px 14px;
  }

  .admin-bracket-row {
    gap: 34px;
  }

  .admin-bracket-round {
    min-width: 176px;
    padding-left: 30px;
  }

  .admin-bracket-match-config {
    left: -30px;
  }

  .admin-bracket-slot {
    min-height: 32px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding-inline: 7px;
  }

  .admin-bracket-participants article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-bracket-participants button {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  .admin-modal-card {
    width: 100%;
    max-height: 92vh;
    padding: 18px;
  }

  .admin-modal {
    align-items: start;
    padding: 10px;
    overflow: auto;
  }

  .admin-modal-head,
  .admin-modal-grid div {
    flex-direction: column;
    padding-right: 42px;
  }

  .admin-modal-head h2 {
    font-size: clamp(24px, 9vw, 34px);
  }

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

  .admin-modal-grid strong {
    max-width: 100%;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .admin-login-card,
  .admin-users-card,
  .admin-modal-card {
    border-radius: 10px;
    padding: 14px;
  }

  .admin-section-title h1,
  .admin-login-card h1 {
    font-size: 26px;
  }

  .admin-tools input,
  .admin-tools select,
  .admin-tools button,
  .admin-bracket-side select,
  .admin-bracket-side button {
    padding: 11px;
  }

  .admin-bracket-board {
    min-height: 390px;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.system-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
}

.system-dialog.hidden { display: none; }
.system-dialog-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 6, 0.78); backdrop-filter: blur(7px); }
.system-dialog-card {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border: 1px solid #29413b;
  border-radius: 12px;
  background: #111a18;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
  padding: 22px;
}
.system-dialog-badge { color: var(--green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.system-dialog-title { font-size: 22px; margin: 9px 0 0; }
.system-dialog-message { color: #b8cbc7; line-height: 1.55; margin: 10px 0 0; white-space: pre-line; }
.system-dialog-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 22px; }
.system-dialog-actions.is-alert { grid-template-columns: 1fr; }
.system-dialog-actions button { min-height: 42px; width: 100%; }
.system-dialog-confirm.is-danger { border-color: #9f3333; background: #d94747; color: #fff; }

@media (max-width: 520px) {
  .system-dialog { align-items: start; padding: 10px; padding-top: max(10px, env(safe-area-inset-top)); }
  .system-dialog-card { max-height: calc(100dvh - 20px); padding: 18px; }
  .system-dialog-actions { grid-template-columns: 1fr; }
}

body.app-loading {
  overflow: hidden;
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(18, 201, 151, 0.14), transparent 34%),
    #07100e;
  color: var(--text);
}

.app-loader div {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.app-loader img,
.loader-logo {
  display: block;
  width: clamp(170px, 34vw, 300px);
  height: auto;
}

.app-loader span {
  color: var(--muted);
  font-size: 14px;
}

.app-loader div::after {
  content: "";
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: loader-pulse 0.9s ease-in-out infinite;
}

.app-loading [data-app-shell] {
  opacity: 0;
  pointer-events: none;
}

body:not(.app-loading) .app-loader {
  display: none;
}

@keyframes loader-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

button,
input {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

button {
  border: 0;
}

.marketing-page {
  min-height: 100vh;
  background: #0a0f0e;
  color: var(--text);
}

.marketing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px 1fr 120px;
  align-items: center;
  height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 14, 0.95);
  padding: 0 24px;
}

.marketing-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.marketing-nav a,
.marketing-play,
.marketing-primary,
.marketing-secondary,
.marketing-footer a {
  text-decoration: none;
}

.marketing-nav a {
  color: #8da09c;
  font-size: 14px;
  font-weight: 900;
}

.marketing-nav a:hover {
  color: var(--green);
}

.marketing-play {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 38px;
  border-radius: 11px;
  background: var(--green);
  color: #03120e;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(18, 201, 151, 0.25);
}

.marketing-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  overflow: hidden;
  background: url("./assets/hero-pool.png") center / cover no-repeat;
  padding: 110px 18px 72px;
  text-align: center;
}

.marketing-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 10, 0.54), rgba(7, 12, 11, 0.88)),
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.marketing-hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}

.marketing-hero h1 {
  font-size: 68px;
  line-height: 1.04;
  margin: 0 auto;
}

.marketing-hero h1 span,
.faq-section h2 span {
  color: var(--green);
}

.marketing-hero p {
  color: #a1b3af;
  font-size: 19px;
  font-weight: 800;
  margin-top: 24px;
}

.marketing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.marketing-primary,
.marketing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 192px;
  height: 60px;
  border-radius: 12px;
  font-weight: 900;
}

.marketing-primary {
  background: var(--green);
  color: #03120e;
}

.marketing-primary span {
  font-size: 25px;
  line-height: 1;
  margin-left: 12px;
}

.marketing-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 12, 11, 0.28);
  color: var(--text);
}

.marketing-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  color: #98aaa6;
  margin-top: 62px;
}

.marketing-highlights span {
  font-size: 14px;
}

.marketing-section {
  padding: 160px max(20px, calc((100vw - 1216px) / 2));
}

.steps-section,
.faq-section {
  background: #141c1a;
}

.modes-section,
.benefits-section {
  background: #0b100f;
}

.section-intro {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(18, 201, 151, 0.28);
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.09);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  padding: 0 16px;
}

.section-intro h2 {
  font-size: 36px;
  line-height: 1.1;
  margin-top: 20px;
}

.section-intro p {
  max-width: 690px;
  color: #8fa19d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  margin-top: 16px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 44px;
  width: min(940px, 100%);
  margin: 66px auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 60px;
  left: 50%;
  width: 1px;
  background: #263433;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 42px;
}

.timeline-item.left div {
  grid-column: 1;
  text-align: right;
}

.timeline-item.left span {
  grid-column: 2;
}

.timeline-item.right span {
  grid-column: 2;
}

.timeline-item.right div {
  grid-column: 3;
}

.timeline-item span,
.timeline-finish {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #141c1a;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
  justify-self: center;
}

.timeline-finish {
  border-color: #f5bd18;
  color: #f5bd18;
  margin: 4px auto 0;
}

.timeline h3 {
  font-size: 21px;
}

.timeline p {
  color: #8fa19d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 14px;
}

.mode-grid,
.benefit-grid {
  display: grid;
  gap: 24px;
  margin-top: 68px;
}

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

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

.mode-grid article,
.benefit-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #141c1a;
  padding: 34px 32px;
}

.mode-grid article:nth-child(2),
.benefit-grid article:first-child {
  border-color: rgba(18, 201, 151, 0.45);
}

.mode-grid article > span {
  display: inline-flex;
  border-radius: 999px;
  background: #22302e;
  color: #91a39f;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
}

.mode-grid h3,
.benefit-grid h3 {
  font-size: 24px;
  margin-top: 22px;
}

.mode-grid strong {
  display: block;
  color: var(--green);
  margin-top: 8px;
}

.mode-grid p,
.benefit-grid p {
  color: #93a6a2;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
  margin-top: 16px;
}

.benefit-grid article > span,
.cta-cards span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(18, 201, 151, 0.11);
  color: var(--green);
  font-size: 25px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 16px;
  width: min(704px, 100%);
  margin: 50px auto 0;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111918;
  color: var(--text);
  padding: 0 24px;
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
}

.faq-list summary::after {
  content: "⌄";
  color: #95aaa5;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list p {
  color: #96aaa5;
  line-height: 1.5;
  margin: 0 0 18px;
}

.marketing-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 48% 20%, rgba(18, 201, 151, 0.18), transparent 34%),
    linear-gradient(90deg, #141c1a, #151d19);
  margin: 128px auto;
  padding: 82px 64px;
  width: min(1216px, calc(100vw - 40px));
}

.marketing-cta h2 {
  font-size: 36px;
  line-height: 1.1;
  margin-top: 18px;
}

.marketing-cta p {
  color: #99aaa6;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 22px;
}

.marketing-cta .marketing-hero-actions {
  justify-content: flex-start;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cta-cards article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1211;
  padding: 20px;
}

.cta-cards strong {
  display: block;
  font-size: 30px;
  margin-top: 14px;
}

.cta-cards small {
  color: #91a39f;
  font-weight: 800;
}

.marketing-footer {
  border-top: 1px solid var(--line);
  background: #131b19;
  padding: 48px max(18px, calc((100vw - 1216px) / 2)) 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 64px;
}

.marketing-footer p,
.marketing-footer a {
  color: #9bb0ac;
  line-height: 1.45;
}

.marketing-footer p {
  max-width: 280px;
  margin-top: 22px;
}

.marketing-footer h3 {
  font-size: 14px;
  margin-bottom: 20px;
}

.marketing-footer a {
  display: block;
  margin-top: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 34px;
}

.footer-bottom p {
  max-width: 440px;
  margin: 0;
}

.age-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #f5bd18;
  border-radius: 50%;
  color: #f5bd18;
  font-weight: 900;
}

.marketing-footer > strong {
  display: block;
  margin-top: 24px;
  text-align: center;
}

.split-auth-page {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
  min-height: 100vh;
  background: #0b100f;
  color: var(--text);
}

.split-auth-form {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 48px clamp(24px, 7vw, 104px);
}

.back-link {
  color: #91a6a1;
  font-weight: 800;
  text-decoration: none;
}

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

.auth-logo {
  display: inline-flex;
  width: fit-content;
  margin-top: 32px;
}

.auth-logo img {
  width: clamp(160px, 34vw, 250px);
}

.split-form {
  width: min(448px, 100%);
  margin-top: 34px;
}

.split-form h1 {
  font-size: 31px;
  line-height: 1.1;
}

.split-form > p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

.split-form label {
  display: grid;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  margin-top: 22px;
}

.input-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a0f0e;
  color: #8fa39f;
  padding: 0 13px;
}

.input-shell input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.input-shell input::placeholder {
  color: #b7c7c3;
}

.nickname-availability {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.nickname-availability[data-type="success"] {
  color: var(--green);
}

.nickname-availability[data-type="error"] {
  color: #ff6975;
}

.nickname-availability[data-type="checking"] {
  color: #e7bd3f;
}

.input-shell b,
.input-shell em {
  color: #93aaa5;
  font-style: normal;
  font-weight: 800;
}

.split-terms {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #a4b9b4 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45;
}

.split-terms input {
  width: auto;
  margin-top: 3px;
}

.split-terms a,
.split-terms strong {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.split-terms strong {
  color: var(--text);
}

.create-account-button,
.already-account,
.offline-training-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  border-radius: 11px;
  font-weight: 900;
  text-decoration: none;
}

.create-account-button {
  border: 0;
  background: var(--green);
  color: #03120e;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 14px 28px rgba(18, 201, 151, 0.2);
}

.create-account-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 18px;
  color: #ff6b72;
  font-size: 13px;
  font-weight: 800;
  margin: 10px 0 0;
  text-align: center;
}

.form-message[data-type="success"] {
  color: var(--green);
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #91a6a1;
  font-size: 13px;
  margin: 28px 0;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.already-account {
  border: 1px solid var(--line);
  color: var(--text);
}

.already-account:hover {
  border-color: rgba(18, 201, 151, 0.6);
  color: var(--green);
}

.offline-training-button {
  margin-top: 12px;
  border: 1px solid rgba(18, 201, 151, 0.56);
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
}

.offline-training-button:hover {
  background: rgba(18, 201, 151, 0.18);
  border-color: rgba(18, 201, 151, 0.82);
}

.split-auth-side {
  display: grid;
  place-items: center;
  min-width: 0;
  background: #202b27;
  padding: 48px clamp(24px, 7vw, 86px);
}

.side-content {
  width: min(448px, 100%);
  text-align: center;
}

.side-content h2 {
  font-size: 31px;
  line-height: 1.15;
}

.side-content > p {
  color: #a1b7b1;
  font-size: 16px;
  line-height: 1.45;
  margin-top: 18px;
}

.side-benefits {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  text-align: left;
}

.side-benefits article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 10px;
  background: #0b100f;
  padding: 16px;
}

.side-benefits span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
  font-size: 23px;
  font-weight: 900;
}

.side-benefits article:last-child span {
  background: rgba(236, 76, 152, 0.13);
  color: #f276b4;
}

.side-benefits h3 {
  font-size: 16px;
}

.side-benefits p {
  color: #9fb5b0;
  margin-top: 4px;
}

.game-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  background: #050807;
  color: var(--text);
}

.game-matchbar {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #0b100f;
  padding: 12px 18px;
}

.game-matchbar-simple {
  grid-template-columns: auto 1fr auto;
}

.game-match-spacer {
  width: 72px;
}

.game-back {
  color: #9bb0ac;
  font-weight: 900;
  text-decoration: none;
}

.game-back:hover {
  color: var(--green);
}

.game-match-info {
  display: grid;
  justify-items: center;
  text-align: center;
}

.game-match-info strong {
  font-size: 17px;
}

.game-match-info span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
}

.game-players {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-players article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111918;
  padding: 8px 10px;
}

.game-players b {
  color: var(--green);
  font-size: 12px;
}

.game-players small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.game-players strong {
  display: block;
  font-size: 13px;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff 0 5%, transparent 6%),
    conic-gradient(from 40deg, #16d89f, #2f6cff, #f0c433, #16d89f);
}

.player-two {
  background:
    radial-gradient(circle at 35% 28%, #fff 0 5%, transparent 6%),
    conic-gradient(from 40deg, #f05c41, #ffd338, #13c486, #f05c41);
}

.game-frame-wrap {
  position: relative;
  min-height: 0;
  background: #000;
}

.game-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 75px);
  border: 0;
  background: #000;
}

.turn-gaté {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: 18px;
  pointer-events: none;
}

.turn-gaté > div {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(18, 201, 151, 0.32);
  border-radius: 12px;
  background: rgba(10, 16, 15, 0.88);
  padding: 10px 12px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

.turn-gaté span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.turn-gaté strong {
  color: var(--text);
  font-size: 13px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.turn-gaté button {
  display: none;
}

.turn-gaté.is-blocking {
  align-items: center;
  padding-top: 0;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.58);
}

.turn-gaté.is-blocking > div {
  display: grid;
  justify-items: center;
  min-width: min(360px, calc(100% - 32px));
  padding: 22px;
}

.turn-gaté.is-blocking button,
.turn-gaté.is-waiting button {
  display: none;
}

.turn-gaté.is-my-turn {
  pointer-events: none;
}

.pool2-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  background: #050807;
  color: var(--text);
}

.pool2-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
  background: #0b100f;
  padding: 12px 18px;
}

.pool2-topbar a {
  color: #9bb0ac;
  font-weight: 900;
  text-decoration: none;
}

.pool2-topbar div {
  display: grid;
  justify-items: center;
}

.pool2-topbar strong {
  font-size: 16px;
}

.pool2-topbar span,
.pool2-topbar p {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  margin: 0;
}

.pool2-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
}

#pool2-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050807;
}

.pool2-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
}

.pool2-overlay strong,
.pool2-overlay span {
  display: block;
  text-align: center;
}

.pool2-overlay strong {
  border: 1px solid rgba(18, 201, 151, 0.3);
  border-radius: 12px;
  background: rgba(10, 16, 15, 0.9);
  padding: 16px 22px 38px;
  min-width: min(360px, 100%);
}

.pool2-overlay span {
  align-self: center;
  justify-self: center;
  color: var(--muted);
  margin-top: 38px;
  padding: 0 20px;
  z-index: 3;
}

.pool2-overlay.is-hidden {
  display: none;
}

.pool2-overlay.is-blocking {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.45);
}


.matchmaking-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(18, 201, 151, 0.14), transparent 34%),
    #0b100f;
  color: var(--text);
}

.matchmaking-back {
  position: fixed;
  left: 24px;
  top: 22px;
  color: #9bb0ac;
  font-weight: 900;
  text-decoration: none;
}

.matchmaking-card {
  width: min(720px, 100%);
  border: 1px solid rgba(18, 201, 151, 0.34);
  border-radius: 12px;
  background: #121a18;
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
}

.matchmaking-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(18, 201, 151, 0.34);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.matchmaking-card h1 {
  margin: 18px 0 8px;
  font-size: clamp(28px, 6vw, 46px);
}

.matchmaking-card p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
}

.matchmaking-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  margin: 34px 0;
}

.matchmaking-player {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f1514;
  padding: 24px 14px;
}

.matchmaking-player.is-found {
  border-color: rgba(18, 201, 151, 0.72);
  box-shadow: 0 0 0 1px rgba(18, 201, 151, 0.12), 0 0 28px rgba(18, 201, 151, 0.12);
}

.matchmaking-avatar {
  display: block;
  width: clamp(78px, 16vw, 112px);
  height: clamp(78px, 16vw, 112px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, #fff888 0 8%, transparent 9%),
    conic-gradient(from 120deg, #ef2d1e, #ffd21a, #0dc97d, #1d55ff, #ef2d1e);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.2), 0 0 0 5px rgba(18, 201, 151, 0.1);
}

.matchmaking-avatar.blank {
  position: relative;
  background: #202a27;
  box-shadow: inset 0 0 0 2px rgba(157, 178, 174, 0.18);
}

.matchmaking-avatar.blank::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 3px solid rgba(18, 201, 151, 0.35);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: matchmaking-spin 1s linear infinite;
}

.matchmaking-player small {
  color: var(--muted);
  font-weight: 800;
}

.matchmaking-player strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matchmaking-vs {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
  font-weight: 950;
}

.matchmaking-room {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-radius: 10px;
  background: #0d1312;
  padding: 14px;
}

.matchmaking-room > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.matchmaking-room span,
.matchmaking-room small {
  color: var(--muted);
  font-weight: 800;
}

.matchmaking-room strong {
  color: var(--green);
}

@keyframes matchmaking-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .admin-championship-card,
  .admin-championship-links {
    grid-template-columns: 1fr;
  }

  .admin-championship-links button {
    width: 100%;
  }

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

  .admin-bracket-board {
    min-height: 420px;
  }
}

.result-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(18, 201, 151, 0.18), transparent 34%),
    #0b100f;
  color: var(--text);
}

.result-card {
  width: min(520px, 100%);
  border: 1px solid rgba(18, 201, 151, 0.32);
  border-radius: 12px;
  background: #121a18;
  padding: clamp(26px, 6vw, 48px);
  text-align: center;
}

.result-logo {
  display: block;
  width: min(240px, 72vw);
  height: auto;
  margin: 0 auto 20px;
}

.result-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.result-loss .result-kicker {
  background: rgba(255, 94, 101, 0.12);
  color: #ff6b6f;
}

.result-card h1 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 8vw, 58px);
}

.result-card p {
  margin: 0 auto 24px;
  max-width: 380px;
  color: var(--muted);
}

.result-status {
  min-height: 20px;
  margin-bottom: 18px !important;
  color: var(--green) !important;
  font-weight: 800;
}

.result-action {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  text-decoration: none;
}

.result-action[disabled] {
  cursor: wait;
  opacity: 0.68;
  pointer-events: none;
}

.store-section {
  margin-top: 24px;
}

.store-my-items-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101817;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  padding: 12px 18px;
}

.store-my-items-button.is-active {
  border-color: rgba(18, 201, 151, 0.44);
  background: var(--green);
  color: #02130f;
}

.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 10px;
  background: #151d1b;
  padding: 8px;
}

.store-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  padding: 0 14px;
}

.store-tabs button.is-active {
  background: #0f1514;
  color: var(--text);
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.store-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(150px, auto);
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
  padding: 12px;
}

.store-preview {
  display: grid;
  place-items: center;
  width: 96px;
  height: 72px;
  border-radius: 8px;
  background: #0d1312;
  overflow: hidden;
}

.store-preview img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.store-info {
  min-width: 0;
}

.store-info span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.store-info h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.store-info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.store-card button {
  min-width: 150px;
}

.store-card-taco {
  grid-template-columns: 1fr;
}

.store-card-taco .store-preview {
  width: 100%;
  height: auto;
  min-height: 96px;
}

.store-card-taco .store-preview img {
  width: 100%;
  max-height: none;
}

.store-card-taco button {
  width: 100%;
}
.store-grid-mesas,
.store-grid-fundos,
.store-grid-bolas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.store-grid-molduras {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.store-card-mesa,
.store-card-fundo,
.store-card-moldura,
.store-card-bola {
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 0;
}

.store-card-mesa .store-info,
.store-card-fundo .store-info,
.store-card-moldura .store-info,
.store-card-bola .store-info {
  align-self: start;
}

.store-card-mesa button,
.store-card-fundo button,
.store-card-moldura button,
.store-card-bola button {
  width: 100%;
}

.store-card-mesa .store-preview,
.store-card-fundo .store-preview {
  width: 100%;
  height: 164px;
}

.store-card-mesa .store-preview {
  height: auto;
  aspect-ratio: 1591 / 902;
}

.store-card-mesa .store-preview img,
.store-card-fundo .store-preview img {
  width: 100%;
  height: 100%;
  max-height: none;
}

.store-card-mesa .store-preview img {
  object-fit: contain;
}

.store-card-fundo .store-preview {
  height: auto;
  aspect-ratio: 16 / 9;
}

.store-card-fundo .store-preview img {
  object-fit: contain;
}

.store-card-moldura .store-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.store-card-moldura .store-preview img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.store-card-bola .store-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.store-card-bola .store-preview img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.my-items-page .store-grid-bolas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.my-items-page .store-card-bola {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.my-items-page .store-card-bola .store-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.my-items-page .store-card-bola .store-preview img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.my-items-page .store-card-bola .store-info,
.my-items-page .store-card-bola button {
  width: 100%;
}

.my-items-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
  position: relative;
}

.my-items-showcase.is-sliding .my-table-preview,
.my-items-showcase.is-sliding .my-items-hud,
.my-items-showcase.is-sliding .my-power-preview {
  animation: myItemsSlide 220ms ease;
}

@keyframes myItemsSlide {
  0% {
    opacity: 0.35;
    transform: translatéX(18px);
  }
  100% {
    opacity: 1;
    transform: translatéX(0);
  }
}

.my-items-stage {
  grid-column: 1;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: #261811;
  background-image: url("/assets/loja/fundos/padrao/background.png");
  background-position: center;
  background-size: cover;
  overflow: hidden;
  padding: 18px 24px 26px 82px;
}

.my-items-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.22));
}

.my-items-hud {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 170px) 62px 116px 62px minmax(120px, 170px);
  align-items: center;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 18px;
}

.my-rack {
  height: 38px;
  background: url("/game/assets/img/rackBG.png") center / 100% 100% no-repeat;
}

.my-rack-left {
  transform: scaleX(-1);
}

.my-avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.my-avatar-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.72), transparent 0 9%, transparent 10%),
    linear-gradient(135deg, #18c997, #2756ff 48%, #ffba08);
  background-position: center;
  background-size: cover;
}

.my-avatar-frame {
  position: absolute;
  inset: -9px;
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  object-fit: contain;
  pointer-events: none;
}

.my-timer {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(240, 187, 132, 0.36);
  border-radius: 18px;
  background: rgba(12, 8, 7, 0.86);
  color: #fff7d7;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.38);
}

.my-power-preview {
  position: absolute;
  left: 18px;
  top: 114px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.my-spin-ball {
  width: 38px;
  height: 38px;
  border: 5px solid #070707;
  border-radius: 50%;
  background:
    radial-gradient(circle at 58% 48%, #ff1d1d 0 8%, transparent 9%),
    radial-gradient(circle at 40% 30%, #fff 0 16%, #d7d7d7 17% 55%, #727272 75%, #111 100%);
}

.my-power-bar {
  width: 24px;
  height: 250px;
  object-fit: fill;
}

.my-table-preview {
  position: relative;
  width: min(100%, 960px);
  aspect-ratio: 1611 / 917;
  margin: 0 auto;
}

.my-table-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.my-pockets-layer {
  z-index: auto;
}

.my-cloth-layer {
  z-index: auto;
}

.my-tabletop-layer {
  z-index: auto;
}

.my-tabela-layer {
  z-index: auto;
}

.my-cue-shadow,
.my-cue {
  position: absolute;
  left: 27.5%;
  top: 47.5%;
  width: 58%;
  height: auto;
  transform: rotate(17deg);
  transform-origin: 88% 50%;
  pointer-events: none;
}

.my-cue-shadow {
  opacity: 0.5;
  filter: blur(1.5px) brightness(0);
  transform: translatéY(11px) rotate(17deg);
}

.my-cue {
  z-index: auto;
}

.my-cue-ball {
  position: absolute;
  left: 30.8%;
  top: 48%;
  width: 3.7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 26%, #fff 0 15%, #cfcfcf 35%, #5e5e5e 75%, #101010 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.45);
}

.my-ball-rack {
  position: absolute;
  right: 18.5%;
  top: 37.5%;
  display: grid;
  grid-template-columns: repeat(5, clamp(16px, 2.3vw, 23px));
  gap: 0;
  transform: rotate(-8deg);
}

.my-ball-rack img {
  width: clamp(18px, 2.55vw, 25px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55));
}

.my-calibration-panel {
  grid-column: 1 / -1;
  border: 1px solid rgba(18, 201, 151, 0.36);
  border-radius: 10px;
  background: rgba(8, 13, 12, 0.94);
  padding: 14px;
}

.my-calibration-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.my-calibration-panel header > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.my-calibration-panel header strong {
  color: var(--green);
  font-size: 14px;
}

.my-calibration-panel header button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111918;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
}

.my-calibration-panel label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.my-calibration-panel select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1211;
  color: var(--text);
  padding: 0 10px;
}

.my-calibration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.my-calibration-grid strong {
  color: var(--green);
  font-size: 12px;
  justify-self: end;
}

.my-calibration-grid input {
  width: 100%;
  accent-color: var(--green);
}

.my-items-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.my-items-controls article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15, 23, 21, 0.86);
  backdrop-filter: blur(4px);
  padding: 9px;
}

.my-items-controls span {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.my-items-controls article > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 6px;
}

.my-items-controls button:not(.primary-button) {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1312;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.my-items-controls strong {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-items-controls .primary-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 38px;
}

.is-hidden {
  display: none !important;
}

.login-form {
  margin-top: 38px;
}

.forgot-link {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  margin-top: 18px;
  text-align: right;
  text-decoration: none;
}

.forgot-link:hover {
  color: #36e4b5;
}

.app-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #0d1211 0, #08100f 100%);
  padding-top: 62px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, var(--page-width));
  justify-content: center;
  align-content: center;
  height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 17, 16, 0.96);
  padding: 0 var(--page-gutter);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: clamp(138px, 14vw, 190px);
  max-width: 100%;
  height: auto;
}

.brand-text {
  color: #f5f8f6;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  flex: 0 0 auto;
  min-width: 56px;
  height: 36px;
  border-radius: 11px;
  background: transparent;
  color: #829793;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 11px;
  white-space: nowrap;
}

.tab.has-unread::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px #06100e;
}

.tab:hover,
.tab.is-active {
  background: #083b30;
  color: var(--green);
}

.account {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  min-width: 100px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #121b1a;
  padding: 0 12px;
}

.wallet-icon,
.green {
  color: var(--green);
}

.balance small {
  display: block;
  color: #80928e;
  font-size: 10px;
  line-height: 1;
  text-align: right;
}

.balance strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.friend-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #121b1a;
  color: var(--green);
  padding: 0;
}

.friend-bell:hover {
  border-color: rgba(22, 201, 153, .7);
  background: #0b2b24;
}

.friend-bell span {
  font-size: 17px;
  line-height: 1;
}

.friend-bell i {
  position: absolute;
  top: 6px;
  right: 7px;
  display: none;
  width: 9px;
  height: 9px;
  border: 2px solid #121b1a;
  border-radius: 50%;
  background: #20f5a7;
  box-shadow: 0 0 14px rgba(32, 245, 167, .7);
}

.friend-bell i.is-visible {
  display: block;
}

.profile-avatar,
.player-avatar {
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff36e 0 5%, transparent 6%),
    conic-gradient(from 40deg, #f13f31, #f6d548, #0cd189, #1b6cff, #f13f31);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.profile-avatar {
  width: 38px;
  height: 38px;
}

.profile-avatar.has-image,
.profile-photo span.has-image {
  background-position: center;
  background-size: cover;
}

.profile-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.profile-button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  display: none;
  width: 158px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #141d1a;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.36);
}

.account.is-menu-open .profile-menu {
  display: grid;
}

.profile-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #dbe7e4;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 15px;
  text-align: left;
}

.profile-menu button:hover {
  background: #1b2724;
}

.profile-menu button:last-child {
  border-bottom: 0;
}

.profile-menu .danger {
  color: #ff6067;
}

.content {
  width: min(var(--page-width), calc(100vw - (var(--page-gutter) * 2)));
  margin: 20px auto 0;
  padding-bottom: 40px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.player-championship-page {
  display: grid;
  gap: 22px;
}

.player-championship-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.player-championship-list:empty {
  display: none;
}

.player-championship-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.player-championship-card-top,
.player-championship-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.player-championship-format,
.player-championship-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.player-championship-format {
  padding: 6px 9px;
  border: 1px solid rgba(18, 201, 151, 0.3);
  border-radius: 999px;
  color: var(--green);
}

.player-championship-status.is-enrolled {
  color: var(--green);
}

.player-championship-card h3,
.player-championship-card p {
  margin: 0;
}

.player-championship-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.player-championship-participants {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.player-championship-participants h4 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.player-championship-participants > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.player-championship-participant {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.player-championship-participant img,
.player-championship-participant-avatar {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(18, 201, 151, 0.15);
  color: var(--green);
}

.player-championship-no-participants {
  color: var(--muted);
  font-size: 13px;
}

.player-championship-card p,
.player-championship-card footer {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.player-championship-card footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.player-championship-card footer strong {
  color: var(--text);
}

.player-championship-enroll {
  width: 100%;
  min-height: 42px;
}

.player-championship-enroll:disabled {
  cursor: default;
  border: 1px solid rgba(18, 201, 151, 0.28);
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  box-shadow: none;
}

.player-championship-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 32px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.player-championship-empty h3,
.player-championship-empty p {
  margin: 0;
}

.player-championship-empty h3 {
  color: var(--text);
}

.player-championship-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(18, 201, 151, 0.34);
  border-radius: 50%;
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  font-size: 24px;
}

.affiliate-subtabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.affiliate-subtabs button {
  min-height: 38px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.affiliate-subtabs button.is-active {
  border-color: rgba(18, 201, 151, 0.45);
  background: rgba(18, 201, 151, 0.14);
  color: var(--green);
}

.affiliate-subpanel {
  display: none;
}

.affiliate-subpanel.is-active {
  display: contents;
}

.affiliate-championships { padding-top: 18px; }

.affiliate-championship-list {
  display: grid;
  gap: 14px;
}

.affiliate-championship-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.affiliate-championship-card header,
.affiliate-championship-progress > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.affiliate-championship-card header div { display: grid; gap: 4px; }
.affiliate-championship-card header span,
.affiliate-championship-card p,
.affiliate-championship-progress { color: var(--muted); }
.affiliate-championship-card h3 { margin: 0; }
.affiliate-championship-card header > strong { color: var(--green); white-space: nowrap; }
.affiliate-championship-card p { margin: 0; }

.affiliate-championship-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.affiliate-championship-link input { width: 100%; }
.affiliate-championship-link button { min-width: 92px; }

.affiliate-championship-progress {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.affiliate-championship-progress > div {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--line);
}

.affiliate-championship-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.affiliate-championship-empty {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  text-align: center;
}

.affiliate-championship-empty strong { color: var(--text); }

@media (max-width: 620px) {
  .affiliate-championship-card header,
  .affiliate-championship-progress > span { align-items: flex-start; flex-direction: column; gap: 5px; }
  .affiliate-championship-link { grid-template-columns: 1fr; }
  .affiliate-championship-link button { width: 100%; }
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 118px);
  padding: 34px 0 24px;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(18, 201, 151, 0.24);
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  padding: 0 12px;
}

.hero-copy h1 {
  font-size: 56px;
  line-height: 0.98;
  margin-top: 18px;
}

.hero-copy p {
  max-width: 560px;
  color: #a7bbb7;
  font-size: 17px;
  line-height: 1.55;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-actions .primary-button,
.hero-actions .outline-button {
  height: 44px;
  min-width: 140px;
}

.auth-shortcut {
  height: 38px;
  min-width: 96px;
  padding: 0 12px;
}

.hero-table {
  min-width: 0;
  border: 1px solid rgba(18, 201, 151, 0.22);
  border-radius: 16px;
  background: #111917;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.table-rail {
  position: relative;
  aspect-ratio: 1.75;
  overflow: hidden;
  border: 16px solid #6f3c16;
  border-radius: 22px;
  background:
    radial-gradient(circle at 62% 34%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #1e7446, #356f2e);
  box-shadow: inset 0 0 0 7px #1dcc68, inset 0 0 45px rgba(0, 0, 0, 0.45);
}

.pocket {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #060807;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.top-left {
  top: -18px;
  left: -18px;
}

.top-right {
  top: -18px;
  right: -18px;
}

.bottom-left {
  bottom: -18px;
  left: -18px;
}

.bottom-right {
  right: -18px;
  bottom: -18px;
}

.cue-ball,
.ball {
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset -6px -7px 10px rgba(0, 0, 0, 0.35), 0 6px 10px rgba(0, 0, 0, 0.3);
}

.cue-ball {
  left: 26%;
  top: 48%;
  background: #f5f0d2;
}

.ball-1 {
  right: 28%;
  top: 40%;
  background: #f5c22a;
}

.ball-2 {
  right: 22%;
  top: 48%;
  background: #2442e8;
}

.ball-3 {
  right: 16%;
  top: 56%;
  background: #e63d35;
}

.ball-4 {
  right: 22%;
  top: 64%;
  background: #0f0f10;
}

.aim-line {
  position: absolute;
  left: 31%;
  top: 52%;
  width: 40%;
  height: 1px;
  background: rgba(255, 255, 255, 0.56);
  transform: rotate(-8deg);
  transform-origin: left center;
}

.landing-stats,
.landing-grid {
  display: grid;
  gap: 14px;
}

.landing-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: -18px;
}

.landing-stats article,
.landing-grid article,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #121b19;
  min-width: 0;
}

.landing-stats article {
  padding: 18px;
}

.landing-stats span,
.landing-grid p {
  color: var(--muted);
}

.landing-stats strong {
  display: block;
  color: var(--text);
  font-size: 26px;
  margin-top: 4px;
}

.landing-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.landing-grid article {
  padding: 20px;
}

.landing-grid span {
  color: var(--green);
  font-weight: 900;
}

.landing-grid h2 {
  font-size: 18px;
  margin-top: 14px;
}

.landing-grid p {
  line-height: 1.45;
  margin-top: 8px;
}

.auth-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 102px);
  padding: 28px 0;
}

.auth-card {
  width: min(440px, 100%);
  padding: 26px;
}

.auth-card h1 {
  font-size: 28px;
  margin-top: 14px;
}

.auth-card p {
  color: var(--muted);
  margin-top: 8px;
}

.auth-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  margin-top: 16px;
}

.auth-card input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b100f;
  color: var(--text);
  padding: 0 12px;
}

.auth-row,
.terms-line,
.auth-switch {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-row label,
.terms-line {
  color: #a8bab6;
  font-size: 12px;
  margin-top: 0;
}

.auth-row input,
.terms-line input {
  width: auto;
  height: auto;
}

.auth-row button,
.auth-switch button {
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.auth-card .full {
  height: 42px;
  margin-top: 18px;
}

.auth-switch {
  justify-content: center;
  font-size: 13px;
  text-align: center;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 90px;
  border: 1px solid #344034;
  border-radius: 11px;
  background: linear-gradient(90deg, #18395f, #121a20);
  padding: 18px 22px;
  transition: background 240ms ease, border-color 240ms ease;
}

.promo-card[data-slide="0"] {
  border-color: #263f51;
  background: linear-gradient(90deg, #1b3b62, #131b22);
}

.promo-card[data-slide="1"] {
  border-color: #174a3b;
  background: linear-gradient(90deg, #0d4734, #101a16);
}

.promo-card[data-slide="2"] {
  border-color: #3e3b1d;
  background: linear-gradient(90deg, #504610, #141914);
}

.admin-advertising-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.admin-advertising-item {
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111a18;
  padding: 16px;
}

.admin-advertising-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  border: 1px solid var(--ad-border);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--ad-start), var(--ad-end));
  padding: 14px 18px;
}

.admin-advertising-preview > span { font-size: 34px; }
.admin-advertising-preview div { display: grid; gap: 4px; min-width: 0; }
.admin-advertising-preview strong { font-size: 17px; }
.admin-advertising-preview small { color: var(--muted); }
.admin-advertising-preview b { border-radius: 7px; background: var(--green); color: #05120e; padding: 10px 14px; font-size: 12px; }

.admin-advertising-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-advertising-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-advertising-fields label:has(textarea) { grid-column: span 2; }
.admin-advertising-fields input,
.admin-advertising-fields select,
.admin-advertising-fields textarea { width: 100%; }
.admin-advertising-fields textarea { min-height: 74px; resize: vertical; }
.admin-advertising-fields .admin-toggle { display: flex; align-items: center; align-self: end; min-height: 42px; }
.admin-advertising-fields .admin-toggle input { width: auto; }

.admin-referral-settings {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.admin-referral-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-referral-option span {
  display: grid;
  gap: 5px;
}

.admin-referral-option small { color: var(--muted); }
.admin-referral-option input { width: 22px; height: 22px; flex: 0 0 auto; }

@media (max-width: 800px) {
  .admin-advertising-fields { grid-template-columns: 1fr 1fr; }
  .admin-advertising-preview { grid-template-columns: auto 1fr; }
  .admin-advertising-preview b { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 520px) {
  .admin-advertising-fields { grid-template-columns: 1fr; }
  .admin-advertising-fields label:has(textarea) { grid-column: auto; }
}

.promo-icon {
  font-size: 35px;
  line-height: 1;
  margin-right: 20px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.promo-copy h1,
.section-heading h2,
.empty-staté h2 {
  font-size: 23px;
  line-height: 1.15;
}

.promo-copy h1 {
  font-size: 16px;
}

.promo-copy p,
.section-heading p,
.empty-staté p {
  color: var(--muted);
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.promo-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 6px;
  transform: translatéX(-50%);
}

.promo-dots button {
  width: 6px;
  height: 6px;
  min-width: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
}

.promo-dots button.is-active {
  width: 16px;
  background: var(--green);
}

.primary-button,
.outline-button,
.icon-button,
.chip,
.join-button {
  cursor: pointer;
  font-weight: 900;
}

.primary-button {
  height: 36px;
  min-width: 112px;
  border-radius: 11px;
  background: var(--green);
  color: #02110d;
  padding: 0 18px;
}

.primary-button:hover {
  background: #21ddaa;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.public-shell {
  padding-top: 72px;
}

.public-topbar-inner {
  grid-template-columns: 1fr auto;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 10px;
  color: #9bb0ac;
  font-size: 13px;
  font-weight: 900;
  padding: 0 12px;
  text-decoration: none;
}

.public-nav a:hover {
  color: var(--green);
  background: rgba(18, 201, 151, 0.08);
}

.public-nav .public-nav-cta {
  background: var(--green);
  color: #03120e;
}

.public-content {
  margin-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.room-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.outline-button {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0e1413;
  color: var(--text);
}

.icon-button {
  width: 42px;
  font-size: 18px;
}

.outline-button {
  min-width: 95px;
  padding: 0 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 41px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 24px;
  padding: 0 12px;
}

.search-box span {
  color: var(--muted);
  font-size: 19px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box input::placeholder {
  color: #9bb0ac;
}

.filters {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
  color: var(--muted);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  white-space: nowrap;
}

.chip {
  min-height: 29px;
  border-radius: 999px;
  background: #1d2a28;
  color: #9bb0ac;
  padding: 0 13px;
  font-size: 12px;
}

.chip.is-active {
  background: var(--green);
  color: #03120e;
}

.divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.rooms {
  margin-top: 24px;
}

.rooms-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b6cbc7;
  margin-bottom: 18px;
}

.rooms-title h3 {
  color: var(--text);
  font-size: 18px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 396px));
  gap: 16px;
}

.room-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #121c1a;
  padding: 16px;
}

.room-owner {
  display: grid;
  grid-template-columns: auto minmax(112px, 1fr) auto auto auto;
  align-items: center;
  gap: 9px;
}

.player-avatar {
  width: 32px;
  height: 32px;
}

.avatar-purple {
  background:
    radial-gradient(circle at 35% 28%, #e8e0ff 0 8%, transparent 9%),
    conic-gradient(from 90deg, #d43b69, #7857ff, #13c184, #d43b69);
}

.avatar-fire {
  background:
    radial-gradient(circle at 40% 35%, #fff888 0 8%, transparent 9%),
    conic-gradient(from 120deg, #ef2d1e, #ffd21a, #0dc97d, #ef2d1e);
}

.room-owner strong {
  display: block;
  font-size: 14px;
}

.room-owner span {
  display: block;
}

.room-owner div span {
  color: var(--muted);
  font-size: 12px;
}

.room-code,
.tag {
  border-radius: 999px;
  background: #22302e;
  color: #a7bbb7;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.tag {
  background: rgba(18, 201, 151, 0.13);
  color: var(--green);
}

.tag.muted {
  background: rgba(18, 201, 151, 0.08);
  font-size: 10px;
}

.room-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-radius: 9px;
  background: var(--panel-2);
  margin-top: 17px;
  padding: 11px 12px;
}

.room-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.room-stats strong {
  display: block;
  margin-top: 2px;
}

.join-button {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  background: #147d5d;
  color: #04120e;
  margin-top: 12px;
}

.fixed-rooms {
  margin-top: 26px;
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 190px));
  gap: 10px;
  margin: 14px 0 18px;
}

.mode-switch button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #121c1a;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.mode-switch button:hover,
.mode-switch button.is-active {
  border-color: rgba(18, 201, 151, 0.7);
  background: rgba(18, 201, 151, 0.16);
  color: var(--green);
}

.fixed-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 16px;
}

.fixed-room-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(18, 201, 151, 0.11), transparent 44%),
    #121c1a;
  padding: 18px;
  min-width: 0;
}

.fixed-room-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 10px solid rgba(18, 201, 151, 0.08);
  border-radius: 50%;
}

.fixed-room-label {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.fixed-room-card > strong {
  display: block;
  font-size: 31px;
  line-height: 1;
  margin-top: 12px;
}

.fixed-room-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9px;
  background: #18221f;
  color: var(--muted);
  margin-top: 18px;
  padding: 11px 12px;
}

.fixed-room-card b {
  color: var(--green);
}

.online-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.1);
  color: #bde5dd;
  font-size: 12px;
  font-weight: 900;
  margin-top: 12px;
  padding: 7px 10px;
}

.online-count span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22e28a;
  box-shadow: 0 0 0 4px rgba(34, 226, 138, 0.1);
}

.fixed-room-card button {
  width: 100%;
  height: 38px;
  border-radius: 9px;
  background: var(--green);
  color: #03120e;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  margin-top: 12px;
}

.fixed-room-card button:hover {
  background: #22dfad;
}

.room-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.room-modal.is-open {
  display: grid;
}

.pix-deposit-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.pix-deposit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.pix-deposit-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid rgba(18, 201, 151, 0.35);
  border-radius: 16px;
  background: #101916;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  padding: 24px;
  color: #fff;
}

.pix-deposit-card h2 {
  margin: 10px 0 8px;
}

.pix-deposit-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.pix-deposit-qr {
  display: block;
  width: min(260px, 100%);
  margin: 0 auto 18px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.pix-copy-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pix-copy-label textarea {
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(167, 194, 187, 0.22);
  border-radius: 10px;
  background: #07100e;
  color: #d7fff3;
  padding: 12px;
  font: inherit;
}

.pix-deposit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.pix-deposit-status {
  display: block;
  color: var(--accent);
  text-align: center;
}

.room-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 7, 0.72);
  backdrop-filter: blur(8px);
}

.room-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #29413b;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(18, 201, 151, 0.14), transparent 36%),
    #111a18;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  padding: 22px;
}

.room-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d1413;
  color: #d7e8e4;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.room-modal-close:hover {
  border-color: rgba(18, 201, 151, 0.6);
  color: var(--green);
}

.room-modal-header {
  padding-right: 42px;
}

.room-modal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  padding: 0 10px;
}

.room-modal-header h2 {
  font-size: 24px;
  margin-top: 12px;
}

.room-modal-header p {
  color: var(--muted);
  margin-top: 5px;
}

.room-modal-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.room-modal-values article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151f1d;
  padding: 13px;
}

.room-modal-values span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.room-modal-values strong {
  display: block;
  color: var(--text);
  font-size: 19px;
  margin-top: 5px;
}

.room-modal-values article:nth-child(2) strong {
  color: var(--green);
}

.room-rules {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 14, 13, 0.58);
  margin-top: 16px;
  padding: 15px;
}

.room-rules h3 {
  font-size: 16px;
}

.room-rules ul {
  display: grid;
  gap: 9px;
  color: #b8cbc7;
  font-size: 13px;
  line-height: 1.35;
  margin: 12px 0 0;
  padding-left: 18px;
}

.room-rules li::marker {
  color: var(--green);
}

.room-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: 16px;
}

.room-modal-actions.single {
  grid-template-columns: 1fr;
}

.room-modal-actions .outline-button,
.room-modal-actions .primary-button {
  width: 100%;
  height: 42px;
}

.championship-whatsapp-card { width: min(560px, 100%); }
.championship-whatsapp-field { display: grid; gap: 8px; margin-top: 20px; }
.championship-whatsapp-field span { color: var(--text); font-size: 13px; font-weight: 800; }
.championship-whatsapp-field input {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 9px;
  background: #0b1110; color: var(--text); font: inherit; outline: none; padding: 0 14px;
}
.championship-whatsapp-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 201, 151, 0.12); }
.championship-whatsapp-note { color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 9px; }

.empty-staté {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(100vh - 120px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101817;
  text-align: center;
}

.compact-empty {
  min-height: 280px;
  margin-top: 24px;
}

.compact-empty > div {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  font-size: 24px;
}

.wallet-page {
  padding-top: 18px;
}

.wallet-page .page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.friends-page {
  display: grid;
  gap: 18px;
}

.friend-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: #bde5dd;
  font-size: 12px;
  font-weight: 900;
}

.friend-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.friend-status.is-online {
  color: #22e28a;
}

.friend-status.is-searching {
  color: #f6c52f;
}

.friend-status.is-playing {
  color: #59c7ff;
}

.friend-status.is-offline {
  color: #7e918b;
}

.friends-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 16px;
  height: 620px;
  max-height: calc(100vh - 210px);
  min-height: 440px;
}

.friends-sidebar,
.friends-chat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  min-width: 0;
}

.friends-sidebar {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  overflow: hidden;
}

.friends-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.friends-tab {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0a100e;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
}

.friends-tab.is-active,
.friends-tab:hover {
  border-color: rgba(18, 201, 151, 0.72);
  color: var(--green);
  background: rgba(18, 201, 151, 0.1);
}

.friend-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
}

.friend-search[hidden],
.friend-search-results[hidden],
.friend-search-message[hidden],
.friends-list[hidden] {
  display: none;
}

.friend-search input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0a100e;
  color: #fff;
  font: inherit;
  padding: 0 11px;
}

.friend-search .primary-button {
  min-width: 58px;
  height: 38px;
  padding: 0 10px;
}

.friend-search-results {
  display: grid;
  gap: 7px;
  max-height: 178px;
  overflow-y: auto;
}

.friend-search-message {
  min-height: 16px;
  color: var(--muted);
  font-size: 11px;
}

.friend-search-result {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(11, 18, 16, 0.86);
  padding: 8px;
}

.friend-search-result .friend-avatar {
  width: 38px;
  height: 38px;
}

.friend-search-result strong,
.friend-search-result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-search-result small,
.friend-search-status {
  color: var(--muted);
  font-size: 11px;
}

.friend-search-result .outline-button {
  min-width: 46px;
  height: 32px;
  padding: 0 9px;
}

.friends-list {
  display: grid;
  gap: 8px;
  align-content: start;
  grid-auto-rows: max-content;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

.friends-requests {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

.friends-requests[hidden] {
  display: none;
}

.friend-request-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101a17;
  padding: 10px;
}

.friend-request-card .friend-avatar {
  width: 38px;
  height: 38px;
}

.friend-request-card strong,
.friend-request-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-request-card small {
  color: var(--muted);
  margin-top: 3px;
}

.friend-request-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.friend-request-actions .outline-button,
.friend-request-actions .primary-button {
  min-width: 0;
  height: 32px;
  padding: 0 8px;
}

.friend-card {
  width: 100%;
  appearance: none;
  text-align: left;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101a17;
  color: #fff;
  cursor: pointer;
  min-height: 66px;
  padding: 10px;
}

.friend-card.is-active,
.friend-card:hover {
  border-color: rgba(18, 201, 151, 0.75);
  background:
    linear-gradient(120deg, rgba(18, 201, 151, 0.16), transparent 58%),
    #101a17;
}

.friend-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 201, 151, 0.15);
  color: var(--green);
  font-weight: 900;
  background-size: cover;
  background-position: center;
}

.friend-card strong,
.friend-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-card small {
  color: var(--muted);
  margin-top: 3px;
}

.friend-invites-card {
  width: min(480px, calc(100vw - 28px));
}

.friend-invites-list {
  display: grid;
  gap: 10px;
}

.friend-invite-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101a17;
  padding: 11px;
}

.friend-invite-card strong,
.friend-invite-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-invite-card small {
  color: var(--muted);
  margin-top: 3px;
}

.friend-invite-card button {
  min-width: 82px;
  height: 38px;
}

.notification-card {
  grid-template-columns: 44px minmax(0, 1fr);
}


.notification-card strong,
.notification-card small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.notification-card strong {
  line-height: 1.3;
}
.notification-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 201, 151, 0.16);
  color: var(--green);
  font-size: 21px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(18, 201, 151, 0.28);
}

.friends-chat {
  display: grid;
  height: 100%;
  overflow: hidden;
}

.friends-chat-empty,
.friends-chat-body {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 280px;
  color: var(--muted);
  text-align: center;
}

.friends-chat-empty strong,
.friends-chat-body strong {
  color: #fff;
  font-size: 18px;
}

.friends-chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  height: 100%;
  min-height: 0;
}

.friends-chat-panel header {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.friends-chat-back {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.friends-chat-back:hover {
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
}

.friends-chat-panel header strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
}

.friends-chat-panel .friends-chat-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  text-align: left;
}

.chat-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 300px;
  color: var(--muted);
  text-align: center;
}

.chat-empty strong {
  color: #fff;
  font-size: 18px;
}

.chat-message {
  width: fit-content;
  max-width: min(68%, 520px);
  padding: 10px 12px 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #101a17;
  color: #fff;
}

.chat-message.is-mine {
  align-self: flex-end;
  border-color: rgba(18, 201, 151, .45);
  background: linear-gradient(135deg, rgba(18, 201, 151, .22), rgba(18, 201, 151, .08)), #0b1713;
}

.chat-message.is-friend {
  align-self: flex-start;
}

.chat-message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.chat-message time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.friends-chat-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px;
  position: relative;
}

.chat-action-button {
  width: 21px;
  min-width: 21px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0d1513;
  color: var(--green);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.chat-action-button:hover {
  border-color: rgba(18, 201, 151, 0.7);
}

.chat-action-menu {
  position: absolute;
  left: 12px;
  bottom: calc(100% + 8px);
  display: none;
  min-width: 132px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 18, 16, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  padding: 8px;
  z-index: 8;
}

.chat-action-menu.is-open {
  display: grid;
}

.chat-action-menu button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 12px;
  text-align: left;
}

.chat-action-menu button:hover {
  background: rgba(18, 201, 151, 0.15);
  color: var(--green);
}

.friends-chat-form input {
  width: 100%;
}

.friends-chat-form button {
  min-width: 96px;
}

.friends-chat-form .chat-action-button {
  width: 21px;
  min-width: 21px;
  max-width: 21px;
}

.friends-chat-message {
  min-height: 18px;
  padding: 0 14px 12px;
  color: var(--green);
  text-align: center;
}

.chat-game-invite {
  display: grid;
  gap: 5px;
  min-width: min(260px, 82%);
}

.chat-game-invite strong {
  color: #fff;
}

.chat-game-invite span,
.chat-game-invite small {
  color: var(--muted);
}

.chat-game-invite.is-pendente small {
  color: #ffd25f;
}

.chat-game-invite.is-aceito small {
  color: var(--green);
}

.chat-game-invite.is-recusado small,
.chat-game-invite.is-expirado small,
.chat-game-invite.is-cancelado small {
  color: #ff6969;
}

.chat-game-invite-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 7px;
}

.chat-game-invite-actions button {
  min-width: 0;
  height: 36px;
  padding: 0 10px;
}

.chat-invite-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.chat-invite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.chat-invite-card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 28px));
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 20, 18, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  padding: 24px;
}

.chat-invite-card h2 {
  margin: 0;
  color: #fff;
}

.chat-invite-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.chat-invite-card select,
.chat-invite-card input {
  width: 100%;
}

.chat-invite-card p,
.chat-invite-card small {
  color: var(--muted);
}

.page-title h2 {
  font-size: 25px;
  line-height: 1.15;
}

.page-title p {
  color: var(--muted);
  margin-top: 6px;
}

.wallet-summary {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(10, 75, 53, 0.68), rgba(17, 24, 22, 0.72) 62%),
    #111a18;
  margin-top: 22px;
  min-height: 170px;
  padding: 24px 22px;
}

.wallet-summary > span {
  color: var(--muted);
  display: block;
}

.wallet-summary > strong {
  display: block;
  font-size: 34px;
  line-height: 1.2;
  margin-top: 4px;
}

.summary-cards {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.summary-card {
  min-width: 104px;
  border-radius: 10px;
  background: #0b1714;
  padding: 11px 14px;
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.summary-card strong {
  display: block;
  color: var(--green);
  margin-top: 2px;
}

.red {
  color: #ff5e65 !important;
}

.yellow {
  color: #f6c52f !important;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.wallet-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
  padding: 22px;
}

.wallet-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.wallet-card h3,
.transaction-section h3 {
  font-size: 18px;
  margin: 0;
}

.pix-badge {
  border-radius: 999px;
  background: rgba(18, 201, 151, 0.15);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
}

.pix-badge.red-bg {
  background: rgba(255, 94, 101, 0.13);
  color: #ff6b6f;
}

.wallet-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  margin-top: 16px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.label-row b {
  border-radius: 5px;
  background: #24302e;
  color: var(--muted);
  font-size: 10px;
  margin-left: 6px;
  padding: 3px 6px;
}

.label-row b:last-child {
  color: var(--green);
}

.money-input,
.wallet-card select {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b100f;
  color: var(--text);
  padding: 0 12px;
}

.money-input input,
.wallet-card select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  width: 100%;
}

.wallet-card select {
  appearance: auto;
  color-scheme: dark;
}

.wallet-card select option {
  background: #0b100f;
  color: var(--text);
}

.quick-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 14px;
}

.quick-values button {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1211;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.full {
  width: 100%;
}

.transaction-section {
  margin-top: 30px;
}

.transaction-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  border-radius: 9px;
  background: #171f1d;
  margin-top: 16px;
  min-height: 36px;
  padding: 4px 9px;
}

.transaction-tabs button {
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  height: 28px;
  padding: 0 7px;
}

.transaction-tabs button.is-active {
  background: #0b100f;
  color: var(--text);
}

.transaction-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.transaction-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
  padding: 12px 14px;
}

.transaction-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #10392f;
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.transaction-icon.trophy {
  color: #4eff95;
}

.transaction-row small {
  color: #718883;
  font-weight: 700;
  margin-left: 5px;
}

.transaction-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.transaction-value {
  text-align: right;
}

.transaction-value strong {
  display: block;
}

.transaction-qr-button {
  margin-top: 8px;
  border: 1px solid rgba(18, 201, 151, 0.45);
  border-radius: 8px;
  background: rgba(18, 201, 151, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  cursor: pointer;
}

.transaction-qr-button:hover {
  background: rgba(18, 201, 151, 0.2);
}

.raffle-page {
  padding-top: 18px;
}

.raffle-card {
  border: 1px solid rgba(18, 201, 151, 0.45);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(8, 43, 33, 0.72), rgba(11, 17, 16, 0.96)),
    #111918;
  margin-top: 24px;
  padding: 20px 18px 24px;
}

.raffle-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.raffle-header span {
  color: var(--green);
  display: block;
  font-size: 11px;
  font-weight: 900;
}

.raffle-header h3 {
  font-size: 17px;
  margin: 8px 0 0;
}

.raffle-prize {
  text-align: right;
}

.raffle-prize span {
  color: var(--muted);
  font-weight: 700;
}

.raffle-prize strong {
  color: #77d65b;
  display: block;
  font-size: 24px;
  margin-top: 2px;
}

.raffle-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 18px;
}

.raffle-metrics div {
  display: grid;
  place-items: center;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: #151d1b;
}

.raffle-metrics strong {
  font-size: 17px;
}

.raffle-metrics span {
  color: var(--muted);
  font-size: 10px;
}

.raffle-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 197, 47, 0.62);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(62, 58, 10, 0.25), rgba(69, 52, 8, 0.55));
  margin-top: 14px;
  min-height: 56px;
  padding: 10px 12px;
}

.raffle-callout strong,
.raffle-callout span {
  display: block;
}

.raffle-callout strong {
  font-size: 12px;
}

.raffle-callout span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.raffle-callout button {
  min-width: 112px;
  height: 34px;
  border-radius: 10px;
  background: #ffc52f;
  color: #110d00;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
}

.raffle-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
  text-align: center;
}

.results-section {
  margin-top: 24px;
}

.results-section h3 {
  font-size: 19px;
  margin: 0 0 14px;
}

.results-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #121a18;
}

.admin-raffle-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-section-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.admin-visibility-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid #285046; border-radius: 7px; color: #a8beb8; background: #0c1714; cursor: pointer; }
.admin-visibility-toggle input { width: 18px; height: 18px; accent-color: #13d69c; }
.admin-raffle-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid #263b36; background: #111b18; border-radius: 8px; }
.admin-raffle-item h3 { margin: 5px 0; }
.admin-raffle-item span { color: #14d6a0; font-size: 12px; font-weight: 800; }
.admin-raffle-item p, .admin-raffle-item small { color: #91aaa3; }
.admin-raffle-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-raffle-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-raffle-form > button, .admin-raffle-form .admin-referral-option { grid-column: 1 / -1; }
.raffle-results-empty { padding: 22px; color: #89a39c; text-align: center; }
.raffle-quota-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.raffle-quota-summary span, .raffle-quota-total { padding: 14px; border: 1px solid #294039; background: #0c1512; border-radius: 7px; color: #8da59f; }
.raffle-quota-summary strong { display: block; margin-top: 5px; color: #fff; font-size: 18px; }
.raffle-quota-field { display: grid; gap: 7px; color: #fff; font-weight: 700; }
.raffle-quota-field input { width: 100%; }
.raffle-quota-field small { color: #8da59f; }
.raffle-quota-total { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.raffle-quota-total strong { color: #13d69c; font-size: 22px; }

@media (max-width: 700px) {
  .admin-section-actions { width: 100%; justify-content: stretch; }
  .admin-section-actions > * { flex: 1; }
  .admin-visibility-toggle { justify-content: center; }
  .admin-raffle-item { align-items: stretch; flex-direction: column; }
  .admin-raffle-actions button { flex: 1; }
  .admin-raffle-form { grid-template-columns: 1fr; }
  .raffle-quota-summary { grid-template-columns: 1fr; }
}

.results-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.2fr 0.6fr 1fr;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 14px;
}

.results-row:first-child {
  border-top: 0;
}

.results-row span,
.results-row strong {
  font-size: 13px;
}

.results-row span {
  color: var(--muted);
}

.results-head {
  min-height: 38px;
}

.results-head span {
  color: #8db7b1;
  font-size: 11px;
  font-weight: 800;
}

.affiliate-page {
  padding-top: 18px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.affiliate-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
  padding: 22px;
}

.affiliate-card h3 {
  font-size: 18px;
  margin: 0 0 20px;
}

.affiliate-card > span,
.affiliate-card small,
.affiliate-stats small,
.performance-list span {
  color: var(--muted);
}

.affiliate-balance {
  display: block;
  font-size: 34px;
  line-height: 1.2;
  margin-top: 4px;
}

.affiliate-wallet {
  background:
    linear-gradient(110deg, rgba(11, 70, 49, 0.72), rgba(16, 24, 22, 0.86)),
    #151d1b;
}

.affiliate-transfer {
  display: grid;
  place-items: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0c1211;
  color: #c5d4d1;
  font-size: 18px;
  font-weight: 900;
  margin-top: 14px;
}

.affiliate-wallet button {
  width: 100%;
  height: 36px;
  border-radius: 9px;
  background: #8f7c1b;
  color: #151000;
  cursor: pointer;
  font-weight: 900;
  margin-top: 12px;
}

.affiliate-wallet small {
  display: block;
  font-size: 10px;
  margin-top: 12px;
  text-align: center;
}

.referral-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.referral-link input {
  min-width: 0;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #17211f;
  color: #9db3af;
  outline: 0;
  padding: 0 12px;
}

.referral-link button {
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d1211;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  padding: 0 12px;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.affiliate-stats div {
  border-radius: 9px;
  background: #1a2321;
  min-height: 78px;
  padding: 13px;
}

.affiliate-stats span,
.affiliate-stats small,
.affiliate-stats strong {
  display: block;
}

.affiliate-stats span {
  color: #a8beba;
  font-size: 12px;
}

.affiliate-stats small {
  font-size: 10px;
}

.affiliate-stats strong {
  font-size: 21px;
  margin-top: 6px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #103f34;
  color: var(--green);
  font-weight: 900;
}

.steps div:nth-child(2) span {
  background: #5b4a12;
  color: #ffc52f;
}

.steps p {
  color: var(--muted);
  font-size: 12px;
}

.steps strong {
  color: var(--text);
  display: block;
  font-size: 13px;
}

.how-card > small {
  display: block;
  border-radius: 999px;
  background: #1a2321;
  font-size: 10px;
  margin-top: 16px;
  padding: 8px;
  text-align: center;
}

.performance-list {
  display: grid;
  gap: 14px;
}

.performance-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9px;
  background: #1a2321;
  min-height: 60px;
  padding: 0 14px;
}

.performance-list strong,
.performance-list span {
  display: block;
}

.performance-list strong {
  color: var(--text);
  font-size: 13px;
}

.performance-list span {
  font-size: 11px;
}

.performance-list b {
  font-size: 20px;
}

.affiliate-history {
  margin-top: 24px;
}

.affiliate-history h3 {
  font-size: 18px;
  margin: 0 0 14px;
}

.affiliate-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 146px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
  color: var(--muted);
  margin-top: 22px;
  text-align: center;
}

.affiliate-empty div {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #263331;
  color: #a6bbb7;
  font-size: 24px;
  margin-bottom: 10px;
}

.affiliate-empty strong {
  color: #c6d4d1;
}

.affiliate-empty span {
  font-size: 11px;
}

.history-page {
  padding-top: 30px;
}

.match-summary,
.profit-card,
.match-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
}

.match-summary {
  margin-top: 30px;
  overflow: hidden;
}

.match-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.match-numbers div {
  display: grid;
  place-items: center;
  min-height: 80px;
  border-left: 1px solid var(--line);
}

.match-numbers div:first-child {
  border-left: 0;
}

.match-numbers strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.match-numbers span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  margin-top: 8px;
}

.match-numbers div:first-child span,
.match-numbers div:first-child strong {
  color: #36ea86;
}

.match-numbers div:last-child span,
.match-numbers div:last-child strong {
  color: #ff6268;
}

.win-raté {
  padding: 15px 14px 12px;
}

.win-raté > div:first-child,
.profit-head,
.profit-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.win-raté span,
.profit-head span,
.profit-scale,
.money-overview span,
.match-row p,
.match-row small,
.match-money span,
.match-meta {
  color: var(--muted);
}

.win-raté strong,
.profit-head strong {
  font-size: 17px;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: #24302d;
  margin-top: 10px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2ecb72;
}

.progress-track.loss span {
  background: #ff6972;
}

.money-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px 14px;
}

.money-overview div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #263331;
  color: var(--muted);
}

.mini-icon.green-bg {
  border-radius: 50%;
  background: #10392f;
  color: var(--green);
}

.money-overview p {
  display: grid;
  gap: 3px;
}

.money-overview strong {
  font-size: 15px;
}

.profit-card {
  margin-top: 22px;
  padding: 17px 14px;
}

.profit-head strong {
  font-size: 20px;
}

.profit-scale {
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
}

.match-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 106px;
  padding: 14px;
}

.match-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 7px;
}

.result-badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
}

.result-badge.loss {
  background: rgba(255, 94, 101, 0.13);
  color: #ff6268;
}

.result-badge.win {
  background: rgba(18, 201, 151, 0.13);
  color: var(--green);
}

.match-row strong span {
  border-radius: 5px;
  background: #263331;
  color: #b8c8c5;
  font-size: 11px;
  margin-right: 6px;
  padding: 2px 5px;
}

.match-row p {
  font-size: 12px;
  margin-top: 7px;
}

.match-row small {
  display: block;
  margin-top: 6px;
}

.match-money {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 136px;
  text-align: right;
}

.match-money strong {
  font-size: 20px;
}

.match-money button {
  height: 31px;
  border: 1px solid rgba(18, 201, 151, 0.42);
  border-radius: 9px;
  background: rgba(18, 201, 151, 0.1);
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
  margin-top: 5px;
  padding: 0 12px;
}

.profile-page {
  padding-top: 26px;
}

.profile-hero,
.profile-info-grid article,
.profile-stats-grid article,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 132px;
  padding: 22px;
}

.profile-photo {
  position: relative;
  width: 86px;
  height: 86px;
}

.profile-photo span {
  display: block;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, #fff888 0 8%, transparent 9%),
    conic-gradient(from 120deg, #ef2d1e, #ffd21a, #0dc97d, #1d55ff, #ef2d1e);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.2), 0 0 0 3px rgba(0, 0, 0, 0.35);
}

.profile-photo button {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--green);
  color: #03110d;
  cursor: pointer;
  font-weight: 900;
}

.profile-info h2 {
  font-size: 23px;
  margin: 0 0 6px;
}

.profile-info strong,
.profile-info span,
.profile-info small {
  display: block;
}

.profile-info strong {
  color: var(--green);
  font-size: 13px;
}

.profile-info strong button {
  background: transparent;
  color: #9fb6b1;
  cursor: pointer;
  margin-left: 4px;
}

.profile-info span,
.profile-info small {
  color: var(--muted);
  margin-top: 6px;
}

.profile-info-grid,
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.profile-info-grid article,
.profile-stats-grid article {
  min-height: 64px;
  padding: 16px;
}

.profile-info-grid span,
.profile-stats-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
}

.profile-info-grid strong,
.profile-stats-grid strong {
  display: block;
  margin-top: 6px;
}

.profile-stats-grid strong {
  font-size: 23px;
}

.profile-columns {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 22px;
  margin-top: 22px;
}

.profile-card {
  padding: 22px;
}

.profile-card h3 {
  font-size: 17px;
  margin: 0 0 20px;
}

.streak-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.streak-grid div {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151d1b;
}

.streak-grid span,
.streak-grid small {
  color: var(--muted);
  font-size: 11px;
}

.streak-grid strong {
  font-size: 24px;
}

.recent-card {
  grid-row: span 2;
}

.recent-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-card header button {
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.recent-list {
  display: grid;
  gap: 10px;
}

.recent-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: #131b19;
  padding: 0 12px;
}

.recent-list span:first-child {
  color: #ff6268;
}

.recent-list span.win {
  color: var(--green);
}

.recent-list strong {
  font-size: 13px;
}

.recent-list small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.finance-card {
  display: grid;
  gap: 0;
}

.finance-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 40px;
}

.finance-card div:last-child {
  border-bottom: 0;
}

.finance-card span {
  color: var(--muted);
}

.account-card {
  grid-column: 2;
}

.account-card button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #151d1b;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  margin-top: 12px;
  padding: 0 16px;
}

.account-card button.danger {
  color: #ff6268;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1dda73;
  color: white;
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.whatsapp.is-disabled {
  cursor: default;
  opacity: 0.55;
}

@media (max-width: 980px) {
  .marketing-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 68px;
    gap: 10px;
    padding: 12px 18px;
  }

  .marketing-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .marketing-nav::-webkit-scrollbar {
    display: none;
  }

  .marketing-hero {
    min-height: 620px;
    padding-top: 140px;
  }

  .marketing-hero h1 {
    font-size: 48px;
  }

  .marketing-section {
    padding: 96px 24px;
  }

  .timeline {
    width: min(680px, 100%);
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 22px;
  }

  .timeline-item.left div,
  .timeline-item.right div {
    grid-column: 2;
    text-align: left;
  }

  .timeline-item.left span,
  .timeline-item.right span {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-finish {
    margin-left: 0;
  }

  .mode-grid,
  .benefit-grid,
  .marketing-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .marketing-cta {
    padding: 42px 28px;
    margin: 80px auto;
  }

  .split-auth-page {
    grid-template-columns: 1fr;
  }

  .split-auth-form {
    justify-items: center;
    padding: 34px 24px 42px;
  }

  .back-link,
  .auth-logo {
    justify-self: start;
  }

  .split-auth-side {
    padding: 56px 24px;
  }

  .game-matchbar {
    grid-template-columns: 1fr auto;
  }

  .game-matchbar-simple {
    grid-template-columns: auto 1fr auto;
  }

  .game-match-info {
    grid-column: 1 / -1;
    order: 3;
  }

  .game-matchbar-simple .game-match-info {
    grid-column: auto;
    order: initial;
  }

  .game-players {
    justify-self: end;
  }

  .game-frame {
    height: calc(100vh - 130px);
  }

  .app-shell {
    padding-top: 114px;
  }

  .topbar {
    height: auto;
    min-height: 62px;
    padding: 10px 24px;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .tabs {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .content {
    width: min(100vw - 48px, var(--page-width));
    margin-top: 12px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-table {
    order: -1;
  }

  .promo-card,
  .section-heading {
    grid-template-columns: auto 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .room-actions {
    flex-wrap: wrap;
  }

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

  .fixed-room-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }

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

  .wallet-actions {
    grid-template-columns: 1fr;
  }

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

  .raffle-metrics {
    grid-template-columns: 1fr;
  }

  .results-table {
    display: grid;
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .results-head {
    display: none;
  }

  .results-row {
    grid-template-columns: 1fr;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #121a18;
    padding: 12px;
  }

  .match-row {
    align-items: stretch;
    flex-direction: column;
  }

  .match-money {
    justify-items: start;
    text-align: left;
  }

  .profile-info-grid,
  .profile-stats-grid,
  .profile-columns {
    grid-template-columns: 1fr;
  }

  .account-card {
    grid-column: auto;
  }

  .wallet-summary,
  .profile-hero,
  .profile-info-grid article,
  .profile-stats-grid article,
  .profile-card,
  .wallet-card,
  .raffle-card,
  .affiliate-panel,
  .history-summary,
  .profit-card {
    padding: 18px;
  }

  .landing-stats,
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .my-items-stage {
    padding-left: 58px;
  }

  .my-table-preview {
    width: min(54vw, 460px);
  }

  .my-items-hud {
    grid-template-columns: minmax(90px, 140px) 48px 90px 48px minmax(90px, 140px);
    gap: 8px;
    max-width: 620px;
  }

  .my-rack {
    height: 31px;
  }

  .my-avatar-wrap {
    width: 48px;
    height: 48px;
  }

  .my-timer {
    min-height: 38px;
    font-size: 15px;
  }

  .my-power-preview {
    left: 12px;
    top: 100px;
  }

  .my-power-bar {
    width: 20px;
    height: 190px;
  }

  .my-calibration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .my-items-showcase {
    grid-template-columns: 1fr;
  }

  .my-items-stage,
  .my-items-controls {
    grid-column: 1;
    grid-row: auto;
  }

  .my-items-controls {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .matchmaking-shell {
    align-items: start;
    padding: 72px 14px 18px;
  }

  .matchmaking-back {
    left: 16px;
    top: 16px;
  }

  .matchmaking-card {
    padding: 22px 14px;
  }

  .matchmaking-table {
    grid-template-columns: 1fr;
  }

  .matchmaking-vs {
    justify-self: center;
  }

  .matchmaking-player {
    min-height: 158px;
  }

  .matchmaking-room {
    grid-template-columns: 1fr;
  }

  .marketing-header {
    padding: 10px 14px;
  }

  .marketing-play {
    min-width: 62px;
    height: 36px;
  }

  .marketing-nav a {
    font-size: 13px;
  }

  .marketing-hero {
    min-height: 590px;
    padding: 132px 16px 54px;
  }

  .marketing-hero h1 {
    font-size: 38px;
  }

  .marketing-hero p {
    font-size: 16px;
  }

  .marketing-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .marketing-primary,
  .marketing-secondary {
    width: 100%;
    min-width: 0;
    height: 54px;
  }

  .marketing-highlights {
    gap: 14px;
    margin-top: 36px;
  }

  .marketing-section {
    padding: 72px 16px;
  }

  .section-intro h2,
  .marketing-cta h2 {
    font-size: 29px;
  }

  .section-intro p,
  .marketing-cta p {
    font-size: 15px;
  }

  .timeline {
    gap: 36px;
    margin-top: 44px;
  }

  .timeline p,
  .mode-grid p,
  .benefit-grid p {
    font-size: 14px;
  }

  .mode-grid,
  .benefit-grid {
    gap: 16px;
    margin-top: 42px;
  }

  .mode-grid article,
  .benefit-grid article {
    padding: 24px 22px;
  }

  .faq-list details {
    padding: 0 16px;
  }

  .marketing-cta {
    width: calc(100vw - 28px);
    padding: 28px 20px;
  }

  .cta-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-auth-form {
    padding: 28px 18px 34px;
  }

  .auth-logo {
    margin-top: 26px;
  }

  .split-form {
    margin-top: 28px;
  }

  .split-form h1,
  .side-content h2 {
    font-size: 28px;
  }

  .split-form > p,
  .side-content > p {
    font-size: 14px;
  }

  .split-form label {
    margin-top: 18px;
  }

  .input-shell {
    min-height: 45px;
  }

  .split-auth-side {
    padding: 42px 18px;
  }

  .side-benefits article {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .game-matchbar {
    gap: 10px;
    padding: 10px;
  }

  .game-matchbar-simple {
    grid-template-columns: auto 1fr;
  }

  .game-matchbar-simple .game-match-info {
    grid-column: auto;
    order: initial;
  }

  .game-match-spacer {
    display: none;
  }

  .game-back {
    font-size: 13px;
  }

  .game-players {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
  }

  .game-players article {
    min-width: 0;
  }

  .game-players strong {
    max-width: 94px;
  }

  .game-frame {
    height: calc(100vh - 160px);
  }

  .turn-gaté {
    padding: 8px;
  }

  .turn-gaté > div {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: min(360px, 100%);
    padding: 10px;
    text-align: center;
  }

  .turn-gaté strong {
    max-width: 100%;
    white-space: normal;
  }

  .app-shell {
    padding-top: 0;
  }

  .topbar {
    position: static;
    padding: 10px 14px;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
  }

  .content {
    width: min(100vw - 28px, var(--page-width));
    margin-top: 14px;
  }

  .auth-shortcut {
    display: none;
  }

  .tab {
    height: 32px;
    min-width: auto;
    border-radius: 9px;
    font-size: 13px;
    padding: 0 11px;
  }

  .account {
    gap: 7px;
  }

  .balance {
    height: 38px;
    min-width: 92px;
    padding: 0 9px;
  }

  .profile-button {
    width: 38px;
    height: 38px;
  }

  .profile-avatar {
    width: 34px;
    height: 34px;
  }

  .promo-card {
    grid-template-columns: auto 1fr;
    gap: 10px;
    min-height: 112px;
    padding: 16px;
  }

  .landing-hero {
    gap: 18px;
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-table {
    padding: 10px;
  }

  .table-rail {
    border-width: 11px;
    border-radius: 16px;
  }

  .landing-stats article,
  .landing-grid article,
  .auth-card {
    padding: 18px;
  }

  .auth-row,
  .auth-switch {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-icon {
    font-size: 31px;
    margin-right: 4px;
  }

  .promo-copy h1,
  .section-heading h2,
  .empty-staté h2,
  .page-title h2 {
    font-size: 21px;
  }

  .wallet-page .page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-my-items-button {
    width: 100%;
  }

  .promo-card .primary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .divider {
    display: none;
  }

  .room-actions {
    display: grid;
    grid-template-columns: 42px 1fr;
    width: 100%;
  }

  .room-actions .primary-button {
    grid-column: 1 / -1;
    flex: 1;
  }

  .fixed-room-grid {
    grid-template-columns: 1fr;
  }

  .mode-switch {
    grid-template-columns: 1fr;
  }

  .fixed-room-card {
    padding: 16px;
  }

  .fixed-room-card > strong {
    font-size: 29px;
  }

  .friends-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .friends-layout .friends-chat {
    display: none;
  }

  .friends-layout.is-chat-open .friends-sidebar {
    display: none;
  }

  .friends-layout.is-chat-open .friends-chat {
    display: grid;
  }

  .friends-chat-back {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .friend-avatar {
    width: 42px;
    height: 42px;
  }

  .friends-chat,
  .friends-sidebar {
    min-height: 260px;
  }

  .store-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .store-preview {
    width: 72px;
    height: 58px;
  }

  .store-preview img {
    max-height: 58px;
  }

  .store-card-taco {
    grid-template-columns: 1fr;
  }

  .store-card-taco .store-preview {
    width: 100%;
    height: auto;
    min-height: 86px;
  }

  .store-card-taco .store-preview img {
    width: 100%;
    max-height: none;
  }
  .store-card-mesa,
  .store-card-fundo {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .store-grid-mesas,
  .store-grid-fundos,
  .store-grid-molduras,
  .store-grid-bolas {
    grid-template-columns: 1fr;
  }

  .store-card-mesa .store-preview,
  .store-card-fundo .store-preview {
    width: 100%;
    height: 132px;
  }

  .store-card-mesa .store-preview {
    height: auto;
    aspect-ratio: 1591 / 902;
  }

  .store-card-fundo .store-preview {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .store-card-moldura .store-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .my-items-page .store-grid-bolas {
    grid-template-columns: 1fr;
  }
  .store-card button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .my-items-stage {
    min-height: auto;
    padding: 10px 8px 14px 42px;
  }

  .my-table-preview {
    width: 100%;
  }

  .my-items-hud {
    grid-template-columns: minmax(42px, 1fr) 34px 56px 34px minmax(42px, 1fr);
    gap: 6px;
    margin-bottom: 10px;
  }

  .my-rack {
    height: 24px;
  }

  .my-avatar-wrap {
    width: 38px;
    height: 38px;
  }

  .my-avatar-frame {
    inset: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
  }

  .my-timer {
    min-height: 32px;
    border-radius: 13px;
    font-size: 13px;
  }

  .my-power-preview {
    left: 9px;
    top: 72px;
    gap: 9px;
  }

  .my-spin-ball {
    width: 26px;
    height: 26px;
    border-width: 4px;
  }

  .my-power-bar {
    width: 16px;
    height: 126px;
  }

  .my-cue,
  .my-cue-shadow {
    width: 58%;
  }

  .my-ball-rack {
    grid-template-columns: repeat(5, 9px);
  }

  .my-ball-rack img {
    width: 10px;
    height: 10px;
  }

  .my-items-controls {
    grid-template-columns: 1fr;
  }

  .my-calibration-panel header {
    align-items: stretch;
    flex-direction: column;
  }

  .my-calibration-panel header > div {
    justify-content: stretch;
  }

  .my-calibration-panel header button {
    flex: 1;
  }

  .my-calibration-grid {
    grid-template-columns: 1fr;
  }

  .room-owner {
    grid-template-columns: auto 1fr auto;
  }

  .tag.muted {
    display: none;
  }

  .quick-values {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .transaction-row {
    grid-template-columns: auto 1fr;
  }

  .transaction-value {
    grid-column: 2;
    text-align: left;
  }

  .raffle-header,
  .raffle-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .raffle-prize {
    text-align: left;
  }

  .raffle-callout button {
    width: 100%;
  }

  .affiliate-stats,
  .referral-link {
    grid-template-columns: 1fr;
  }

  .match-numbers,
  .money-overview {
    grid-template-columns: 1fr;
  }

  .match-numbers div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .match-numbers div:first-child {
    border-top: 0;
  }

  .profile-hero {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .room-modal {
    align-items: start;
    padding: 10px;
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .room-modal-card {
    max-height: calc(100dvh - 20px);
    padding: 16px;
  }

  .room-modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .room-modal-header {
    padding-right: 34px;
  }

  .room-modal-header h2 {
    font-size: 21px;
  }

  .room-rules {
    padding: 13px;
  }

  .room-rules ul {
    gap: 7px;
  }

  .room-modal-values,
  .room-modal-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 980px) and (max-height: 560px) {
  .app-shell {
    padding-top: 0;
  }

  .topbar {
    position: static;
    padding: 10px 14px;
  }

  .content {
    margin-top: 14px;
  }

  .my-ball-rack {
    width: 13.2%;
    grid-template-columns: repeat(5, 20%);
  }

  .my-ball-rack img {
    width: 100%;
  }

  .my-items-showcase {
    padding-left: 0;
  }

  .my-items-stage {
    padding-left: 214px;
  }

  .my-items-controls {
    position: absolute;
    z-index: 8;
    left: 12px;
    top: 12px;
    width: 190px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .my-items-controls article {
    padding: 7px;
  }

  .my-items-controls span {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .my-items-controls article > div {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 4px;
  }

  .my-items-controls button:not(.primary-button) {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 11px;
  }

  .my-items-controls strong {
    font-size: 11px;
  }

  .my-items-controls .primary-button {
    min-height: 30px;
    border-radius: 8px;
    font-size: 11px;
    padding: 0 8px;
  }
}

/* Admin responsive final layer */
.admin-page,
.admin-panel,
.admin-users-card,
.admin-store-list,
.admin-championship-list,
.admin-bracket-layout,
.admin-modal-card {
  min-width: 0;
}

.admin-header .brand,
.admin-header .brand img {
  max-width: 100%;
}

.admin-tabs,
.admin-subtabs {
  max-width: 100%;
}

.admin-tools > *,
.admin-store-item > *,
.admin-championship-card > *,
.admin-bracket-side > *,
.admin-modal-card > * {
  min-width: 0;
}

.admin-tools input,
.admin-tools select,
.admin-tools button,
.admin-store-fields input,
.admin-store-fields textarea,
.admin-championship-links input,
.admin-bracket-match-links input,
.admin-bracket-side select,
.admin-bracket-side button {
  min-width: 0;
}

.admin-section-title span,
.admin-championship-card p,
.admin-championship-links input,
.admin-bracket-match-links input {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .admin-panel {
    width: 100%;
    padding-inline: clamp(12px, 3vw, 24px);
  }

  .admin-users-head,
  .admin-user-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-users-head span:nth-child(n + 4),
  .admin-user-row > span:nth-child(n + 4) {
    grid-column: span 1;
  }

  .admin-store-item {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .admin-store-item > button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

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

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

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

  .admin-bracket-side {
    order: -1;
  }

  .admin-bracket-participants {
    max-height: 300px;
  }
}

@media (max-width: 820px) {
  .admin-page {
    overflow-x: hidden;
  }

  .admin-panel {
    padding: 14px 10px 32px;
  }

  .admin-header,
  .admin-section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header .brand img {
    width: min(260px, 72vw);
  }

  .admin-exit-button {
    width: 100%;
  }

  .admin-tabs,
  .admin-subtabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -10px;
    overflow-x: auto;
    padding: 0 10px 4px;
    scrollbar-width: thin;
  }

  .admin-tabs button,
  .admin-subtabs button {
    flex: 0 0 auto;
    min-width: 118px;
    width: auto;
    white-space: nowrap;
  }

  .admin-users-card {
    border-radius: 10px;
    padding: 16px;
  }

  .admin-section-title h1 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .admin-tools,
  .admin-ranking,
  .admin-store-item,
  .admin-store-fields,
  .admin-championship-form,
  .admin-championship-card,
  .admin-championship-links,
  .admin-bracket-match-form,
  .admin-bracket-match-links {
    grid-template-columns: 1fr;
  }

  .admin-users-head {
    display: none;
  }

  .admin-users-table {
    display: grid;
    gap: 10px;
    border: 0;
    overflow: visible;
  }

  .admin-user-row {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
  }

  .admin-user-row span {
    display: grid;
    gap: 4px;
  }

  .admin-user-row span::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .admin-store-preview {
    min-height: 96px;
  }

  .admin-store-item button,
  .admin-championship-links button,
  .admin-bracket-match-links button {
    width: 100%;
  }

  .admin-bracket-board {
    justify-content: start;
    min-height: 420px;
    margin-inline: -4px;
    padding: 14px;
  }

  .admin-bracket-row {
    gap: 34px;
  }

  .admin-bracket-round {
    min-width: 176px;
    padding-left: 30px;
  }

  .admin-bracket-match-config {
    left: -30px;
  }

  .admin-bracket-slot {
    min-height: 32px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding-inline: 7px;
  }

  .admin-bracket-participants article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-bracket-participants button {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  .admin-modal {
    align-items: start;
    overflow: auto;
    padding: 10px;
  }

  .admin-modal-card {
    width: 100%;
    max-height: none;
    min-height: auto;
    border-radius: 12px;
    padding: 18px;
  }

  .admin-modal-head {
    flex-direction: column;
    padding: 0 42px 16px 0;
  }

  .admin-modal-head h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

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

  .admin-modal-grid div {
    flex-direction: column;
    gap: 4px;
  }

  .admin-modal-grid strong {
    max-width: 100%;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .admin-login {
    padding: 12px;
  }

  .admin-login-card,
  .admin-users-card,
  .admin-modal-card {
    padding: 14px;
  }

  .admin-login-card h1,
  .admin-section-title h1 {
    font-size: 25px;
  }

  .admin-login-card input,
  .admin-login-card button,
  .admin-tools input,
  .admin-tools select,
  .admin-tools button,
  .admin-store-fields input,
  .admin-store-fields textarea,
  .admin-store-item button,
  .admin-bracket-side select,
  .admin-bracket-side button {
    padding: 11px;
  }

  .admin-ranking article,
  .admin-store-item,
  .admin-championship-card,
  .admin-bracket-side,
  .admin-modal-grid article {
    padding: 12px;
  }

  .admin-bracket-board {
    min-height: 380px;
    padding: 12px;
  }

  .admin-bracket-row {
    gap: 26px;
  }

  .admin-bracket-round {
    min-width: 164px;
  }

  .admin-bracket-slot strong {
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .admin-whats-layout {
    grid-template-columns: 1fr;
  }

  .admin-whats-actions button {
    width: 100%;
  }
}
