:root {
  color-scheme: dark;
  --bg: #07101d;
  --panel: #0d1b2f;
  --panel-2: #10243f;
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef6ff;
  --muted: #99aac0;
  --green: #22e37d;
  --red: #ff4d61;
  --amber: #ffc857;
  --blue: #3ba3ff;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button,
.card,
.top-menu,
.bottom-nav,
.floating-actions {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.home-arena .rank-player strong,
.home-arena .rank-player .player-name {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.08;
}

.top-menu .nav button.store-nav-link,
.top-menu .nav button.store-nav-link.active,
.top-menu .nav button.store-nav-link:hover,
.mobile-menu-list button.store-nav-link,
.mobile-menu-list button.store-nav-link.active,
.mobile-menu-list button.store-nav-link:hover {
  border-color: rgba(255, 200, 87, 0.72) !important;
  color: #ffd76a !important;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.22), rgba(78, 47, 4, 0.34)) !important;
  box-shadow: inset 0 0 18px rgba(255, 200, 87, 0.14), 0 0 20px rgba(255, 200, 87, 0.12);
}

.club-bots-panel { display: grid; gap: 14px; }
.club-bots-hero { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; }
.club-bots-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.club-bots-stats article {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 227, 125, .22);
  border-radius: 8px;
  background: rgba(4, 18, 17, .78);
}
.club-bots-stats b { display: block; color: #f4fff9; font-size: 1.05rem; }
.club-bots-stats span,
.club-bot-card small { color: var(--muted); font-size: .76rem; }
.club-bot-pack-btn { min-width: 150px; }
.club-bot-reveal {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(250, 204, 21, .35);
  border-radius: 8px;
  background: rgba(90, 65, 6, .26);
}
.club-bot-reveal span,
.club-bot-reveal small { color: #facc15; }
.club-bot-reveal.animated {
  animation: botRevealPop .55s cubic-bezier(.2, 1.4, .4, 1);
  box-shadow: 0 0 30px rgba(250, 204, 21, .14);
}
.club-bot-reveal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(250, 204, 21, .18), rgba(34, 227, 125, .1));
  border: 1px solid rgba(250, 204, 21, .28);
}
.club-bot-reveal-card strong { font-size: 1.15rem; }
.club-bot-reveal-card small {
  flex-basis: 100%;
  color: #facc15;
}
.club-bot-reveal-list {
  display: grid;
  gap: 8px;
  width: min(100%, 620px);
}
.club-bot-result-line {
  display: grid;
  gap: 6px;
  justify-items: center;
}
.roulette-arrow {
  color: #facc15;
  font-size: 1.1rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(250, 204, 21, .6);
}
.roulette-arrow.fixed {
  margin-bottom: -2px;
}
.club-bot-roulette {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, .28);
  background: linear-gradient(180deg, rgba(6, 20, 22, .94), rgba(37, 28, 8, .76));
  overflow: hidden;
}
.roulette-window {
  width: min(100%, 620px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .24);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .45);
}
.roulette-track {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 10px;
  animation: botNameRoulette 1.35s cubic-bezier(.12, .76, .14, 1) infinite;
}
.roulette-track span {
  min-width: 128px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(34, 227, 125, .25);
  background: rgba(34, 227, 125, .08);
  color: #eafff3;
  font-weight: 800;
  text-align: center;
}
.club-bot-reward-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.club-bot-reward-row span {
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, .26);
  background: rgba(250, 204, 21, .1);
  color: #fff7c2;
  font-size: .78rem;
}
.club-bot-reward-row small {
  margin-left: 4px;
  color: #22e37d;
}
.club-bot-opening {
  grid-column: 1 / -1;
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(34, 227, 125, .25);
  background: radial-gradient(circle at center, rgba(34, 227, 125, .12), rgba(6, 20, 22, .76) 65%);
  overflow: hidden;
  position: relative;
}
.club-bot-opening::before,
.club-bot-opening::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(250, 204, 21, .35);
  animation: botRoulette 1.2s linear infinite;
}
.club-bot-opening::after {
  inset: 28px;
  border-color: rgba(34, 227, 125, .35);
  animation-direction: reverse;
  animation-duration: .85s;
}
.club-bot-opening strong,
.club-bot-opening small {
  position: relative;
  z-index: 1;
}
.bot-pack-box {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #173b32, #0b201d);
  border: 1px solid rgba(34, 227, 125, .58);
  box-shadow: 0 0 24px rgba(34, 227, 125, .28);
  animation: botBoxShake .55s ease-in-out infinite;
}
.bot-pack-box span {
  position: absolute;
  left: 7px;
  right: 7px;
  top: -10px;
  height: 14px;
  border-radius: 7px 7px 3px 3px;
  background: #facc15;
  transform-origin: left bottom;
  animation: botBoxLid .55s ease-in-out infinite;
}
.bot-pack-box i {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #22e37d;
  box-shadow: 0 0 18px #22e37d;
}
@keyframes botRoulette {
  to { transform: rotate(360deg); }
}
@keyframes botBoxShake {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.05); }
}
@keyframes botBoxLid {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(-34deg) translateY(-3px); }
}
@keyframes botRevealPop {
  0% { opacity: 0; transform: scale(.88) translateY(8px); filter: brightness(1.8); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: brightness(1); }
}
@keyframes botNameRoulette {
  0% { transform: translateX(0); }
  70% { transform: translateX(-580px); }
  100% { transform: translateX(-720px); }
}
.club-bot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.club-bot-active-list { display: grid; gap: 10px; }
.club-bot-active-list.compact { gap: 4px; }
.team-bots-public-card { grid-column: 1 / -1; }
.club-bot-active-list.public .club-bot-active-row {
  background: rgba(6, 20, 22, .68);
}
.team-field-bots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}
.team-field-bot-summary {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .045);
  text-align: center;
}
.team-field-bot-summary.has-bots {
  border-color: rgba(34, 227, 125, .38);
  background: rgba(34, 227, 125, .08);
}
.team-field-bot-summary span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
.team-field-bot-summary strong {
  color: #22e37d;
  font-size: .95rem;
}
.team-field-bot-summary small {
  color: var(--muted);
  font-size: .72rem;
}
.club-bot-active-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(360px, 2fr);
  gap: 10px 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(6, 20, 22, .82);
}
.club-bot-active-row.compact {
  grid-template-columns: minmax(110px, 1fr) minmax(170px, 1.05fr) auto;
  gap: 4px 6px;
  padding: 5px 7px;
  min-height: 34px;
}
.club-bot-active-row.avancado { border-color: rgba(59, 130, 246, .34); }
.club-bot-active-row.lendario { border-color: rgba(250, 204, 21, .45); }
.club-bot-active-main { display: grid; gap: 1px; min-width: 0; }
.club-bot-active-main strong { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 1rem; }
.club-bot-active-row.compact .club-bot-active-main strong {
  overflow: hidden;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.club-bot-active-main .bot-tag { width: max-content; }
.club-bot-active-main small { overflow: hidden; color: var(--muted); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.club-bot-active-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 8px;
}
.club-bot-active-row.compact .club-bot-active-stats {
  grid-template-columns: repeat(3, minmax(54px, 1fr));
  gap: 3px;
}
.club-bot-active-stats span {
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
}
.club-bot-active-row.compact .club-bot-active-stats span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  min-height: 22px;
  padding: 2px 4px;
  border-radius: 5px;
}
.club-bot-active-stats b { color: #f4fff9; font-size: .96rem; }
.club-bot-active-stats small { color: var(--muted); font-size: .7rem; }
.club-bot-active-row.compact .club-bot-active-stats b { font-size: .72rem; }
.club-bot-active-row.compact .club-bot-active-stats small { font-size: .52rem; }
.club-bot-progressbar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.club-bot-active-row.compact .club-bot-progressbar { grid-column: 1 / -1; height: 4px; }
.club-bot-progressbar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22e37d, #facc15);
}
.club-bot-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(34, 227, 125, .12), rgba(6, 20, 22, .82));
}
.club-bot-card.medio {
  border-color: rgba(34, 227, 125, .36);
  box-shadow: inset 0 0 22px rgba(34, 227, 125, .08);
}
.club-bot-card.avancado {
  border-color: rgba(59, 130, 246, .42);
  background: linear-gradient(180deg, rgba(59, 130, 246, .16), rgba(6, 20, 32, .84));
  box-shadow: inset 0 0 22px rgba(59, 130, 246, .1);
}
.club-bot-card.lendario {
  border-color: rgba(250, 204, 21, .55);
  background: linear-gradient(180deg, rgba(250, 204, 21, .18), rgba(28, 21, 4, .84));
  box-shadow: inset 0 0 24px rgba(250, 204, 21, .12);
}
.club-bot-field-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 227, 125, .24);
  border-radius: 8px;
  background: #062014;
  box-shadow: inset 0 0 30px rgba(34, 227, 125, .08);
}
.club-bot-field-canvas {
  display: block;
  width: 100%;
  min-height: 210px;
}
.bot-dismiss-small {
  min-height: 22px;
  padding: 2px 6px;
  border-color: rgba(255, 77, 109, .42);
  color: #ffd7df;
  font-size: .6rem;
}
.club-bot-head,
.club-bot-meta,
.club-bot-progress { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.club-bot-meta span {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: .74rem;
}
.bot-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(34, 227, 125, .16);
  border: 1px solid rgba(34, 227, 125, .55);
  color: #22e37d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 0;
}
.club-bot-progress b { color: #22e37d; font-size: 1.2rem; }
.club-bot-shop { display: grid; gap: 12px; }
.club-bot-pay-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.club-bot-pay-status span {
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
  font-size: .78rem;
}
.club-bot-control-card { display: grid; gap: 12px; }
.club-bot-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.club-bot-active-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.club-bot-active-items span {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(34, 227, 125, .32);
  background: rgba(34, 227, 125, .08);
  color: #eafff3;
  font-size: .78rem;
}
.club-bot-active-items small {
  color: var(--muted);
  margin-left: 4px;
}
.club-bot-item {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .045);
}
.club-bot-item span { color: #22e37d; font-weight: 800; }
.club-bot-item small { color: var(--muted); }
.club-bot-item button { margin-top: 5px; }
.club-bot-item.raro { border-color: rgba(59, 130, 246, .42); }
.club-bot-item.epico { border-color: rgba(250, 204, 21, .5); background: rgba(250, 204, 21, .07); }
.club-bot-help { display: grid; gap: 12px; }
.club-bot-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.club-bot-help-grid article {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .045);
}
.club-bot-help-grid strong { color: #f4fff9; }
.club-bot-help-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.club-bot-prize-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.club-bot-prize-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, .035);
}
.club-bot-prize-table th,
.club-bot-prize-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  text-align: left;
}
.club-bot-prize-table th {
  color: #f4fff9;
  background: rgba(34, 227, 125, .08);
}
.club-bot-prize-table td:nth-child(2) {
  color: #22e37d;
  font-weight: 800;
  white-space: nowrap;
}
.club-bot-prize-table td {
  color: var(--muted);
  font-size: .84rem;
}
.club-bot-boost-track { display: grid; grid-template-columns: repeat(4, minmax(80px, 1fr)); gap: 8px; }
.club-bot-boost-track span {
  display: grid;
  gap: 2px;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  text-align: center;
}
.club-bot-boost-track span.active {
  border-color: rgba(34, 227, 125, .45);
  color: #22e37d;
  background: rgba(34, 227, 125, .1);
}

@media (max-width: 760px) {
  .club-bots-hero { grid-template-columns: 1fr; }
  .club-bots-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .club-bots-stats article { min-width: 0; }
  .club-bot-boost-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-bot-active-row { grid-template-columns: 1fr; }
  .club-bot-active-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-bot-active-row.compact { grid-template-columns: minmax(0, 1fr) auto; }
  .club-bot-active-row.compact .club-bot-active-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.top-menu .nav button.store-nav-link,
.top-menu .nav button.store-nav-link.active,
.top-menu .nav button.store-nav-link:hover,
.mobile-menu-list button.store-nav-link,
.mobile-menu-list button.store-nav-link.active,
.mobile-menu-list button.store-nav-link:hover {
  border-color: rgba(255, 200, 87, 0.72) !important;
  color: #ffd76a !important;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.22), rgba(78, 47, 4, 0.34)) !important;
  box-shadow: inset 0 0 18px rgba(255, 200, 87, 0.14), 0 0 20px rgba(255, 200, 87, 0.12);
}

@media (max-width: 720px) {
  .contract-scout-row {
    grid-template-columns: 1fr;
  }

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

  .scout-actions input,
  .scout-actions button {
    flex: 1 1 90px;
  }

  .match-title-row {
    align-items: flex-start;
  }

  .match-mode-switch {
    order: 3;
    width: 100%;
  }

  .match-mode-switch button {
    flex: 1;
    padding-inline: 8px;
  }
}

.vip-store-hero,
.vip-inauguration-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 227, 125, 0.36);
  background:
    linear-gradient(135deg, rgba(2, 28, 18, 0.96), rgba(7, 16, 29, 0.94)),
    radial-gradient(circle at 82% 12%, rgba(34, 227, 125, 0.2), transparent 34%);
}
.vip-store-hero h2,
.vip-inauguration-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--text);
}
.vip-inauguration-card h2 {
  color: var(--green);
  text-shadow: 0 0 18px rgba(34, 227, 125, 0.32);
}
.vip-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.vip-package-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 8px;
  background: rgba(1, 19, 15, 0.78);
}
.vip-package-card button {
  min-width: 0;
}
.vip-package-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vip-package-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(34, 227, 125, 0.52);
  border-radius: 8px;
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(34, 227, 125, 0.1);
}
.vip-package-card strong,
.vip-package-card b {
  display: block;
  color: var(--text);
}
.vip-package-card small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.vip-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}
.pix-code {
  width: 100%;
  min-height: 94px;
  margin: 12px 0;
  resize: vertical;
  color: var(--text);
  background: rgba(4, 14, 24, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.pix-qr {
  width: 190px;
  height: 190px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}
.link-button {
  display: inline-flex;
  text-decoration: none;
  margin-top: 8px;
}

.store-nav-link {
  border-color: rgba(255, 200, 87, 0.58) !important;
  color: #ffd76a !important;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(112, 72, 12, 0.16));
  box-shadow: inset 0 0 18px rgba(255, 200, 87, 0.12), 0 0 22px rgba(255, 200, 87, 0.1);
}

.store-nav-link small {
  color: #ffe8a6;
  text-transform: uppercase;
}

.vip-shop-compact {
  display: grid;
  gap: 12px;
}

.vip-promo-badge {
  display: inline-flex;
  width: fit-content;
  margin-left: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 200, 87, 0.62);
  border-radius: 999px;
  color: #ffd76a;
  background: rgba(255, 200, 87, 0.12);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.global-announcement-modal {
  border-color: rgba(255, 200, 87, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 87, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(13, 20, 34, 0.98), rgba(5, 13, 23, 0.98));
}

.global-announcement-modal .update-notice-icon {
  color: #ffd76a;
  background: rgba(255, 200, 87, 0.14);
}

.global-announcement-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.global-announcement-list li {
  padding: 10px 12px;
  border: 1px solid rgba(34, 227, 125, .25);
  border-radius: 9px;
  color: #eafff2;
  background: rgba(34, 227, 125, .07);
  line-height: 1.4;
}

.global-announcement-list li::before {
  content: "✓";
  margin-right: 8px;
  color: #3af58e;
  font-weight: 900;
}

.commerce-wide-frame .main {
  padding-right: clamp(14px, 3vw, 28px);
}

.commerce-wide-frame .floating-actions {
  display: none !important;
}

.vip-shop-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 16px;
  align-items: center;
  border-color: rgba(34, 227, 125, 0.36);
  background:
    linear-gradient(135deg, rgba(2, 22, 16, 0.98), rgba(7, 16, 29, 0.94)),
    radial-gradient(circle at 82% 10%, rgba(34, 227, 125, 0.22), transparent 38%);
}

.vip-shop-top h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.vip-shop-balance {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.vip-shop-balance span,
.vip-shop-balance small {
  color: var(--muted);
}

.vip-shop-balance strong {
  color: var(--green);
  font-size: 1.5rem;
}

.vip-shop-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-color: rgba(255, 200, 87, 0.45);
  background:
    linear-gradient(135deg, rgba(32, 26, 3, 0.9), rgba(4, 20, 13, 0.94)),
    radial-gradient(circle at 90% 0%, rgba(255, 200, 87, 0.2), transparent 36%);
}

.vip-shop-featured h3 {
  margin: 8px 0;
  color: var(--amber);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.vip-shop-price {
  min-width: 180px;
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.vip-shop-price strong {
  font-size: 1.55rem;
}

.vip-shop-price small {
  color: var(--muted);
}

.vip-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px;
}

.vip-shop-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: 8px;
  background: rgba(2, 17, 14, 0.82);
  box-shadow: inset 0 0 24px rgba(34, 227, 125, 0.045);
}

.vip-shop-card-head,
.vip-shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vip-shop-card-head strong {
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: normal;
}

.vip-shop-card > small,
.vip-shop-card-foot small {
  color: var(--muted);
}

.vip-shop-card-foot span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.vip-shop-card-foot button {
  min-width: 58px;
}

.vip-shop-pay-actions {
  display: flex;
  gap: 6px;
}

.vip-shop-pay-actions button {
  min-width: 0;
  padding-inline: 10px;
}

.vip-shop-help {
  border-color: rgba(34, 227, 125, 0.24);
}
.president-card {
  border-color: rgba(34, 227, 125, 0.32);
}
.club-confrontations .list-item {
  gap: 14px;
}

@media (max-width: 720px) {
  .vip-package-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .vip-package-card > div:nth-of-type(2) {
    grid-column: 1 / -1;
  }
  .vip-checkout-grid {
    grid-template-columns: 1fr;
  }
  .pix-qr {
    width: 160px;
    height: 160px;
  }
  .vip-shop-top,
  .vip-shop-featured {
    grid-template-columns: 1fr;
  }
  .vip-shop-price {
    min-width: 0;
  }
}

.movement-row {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
}

.movement-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(34, 227, 125, 0.3);
  border-radius: 8px;
  color: var(--green);
  background: rgba(34, 227, 125, 0.08);
  font-weight: 950;
}

.movement-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.movement-clubs {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.movement-clubs .crest {
  width: 28px;
  height: 28px;
}

.tutorial-shell {
  display: grid;
  gap: 16px;
}

.tutorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(3, 14, 16, 0.98), rgba(5, 19, 18, 0.94));
}

.tutorial-hero h2 {
  margin: 4px 0 6px;
  color: #f5fbff;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.tutorial-hero p,
.tutorial-step-card small,
.tutorial-mini-list small,
.tutorial-clean-list {
  color: var(--muted);
}

.tutorial-hero-actions,
.tutorial-step-card,
.tutorial-flow,
.tutorial-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tutorial-steps,
.tutorial-grid {
  display: grid;
  gap: 12px;
}

.tutorial-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.tutorial-step-card {
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(34, 227, 125, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.tutorial-step-card b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #06140d;
  background: var(--green);
}

.tutorial-step-card span {
  display: grid;
  gap: 4px;
  min-width: 180px;
  flex: 1 1 180px;
}

.tutorial-step-card strong,
.tutorial-mini-list strong {
  color: #f5fbff;
}

.tutorial-step-card small,
.tutorial-mini-list small {
  display: block;
  margin-top: 3px;
  line-height: 1.35;
}

.tutorial-flow span,
.tutorial-checks span {
  padding: 8px 10px;
  border: 1px solid rgba(34, 227, 125, 0.16);
  border-radius: 999px;
  color: #eafff3;
  background: rgba(34, 227, 125, 0.08);
  font-weight: 900;
}

.tutorial-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tutorial-mini-list div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.tutorial-clean-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 18px;
}

.tutorial-summary {
  grid-column: 1 / -1;
}

@media (max-width: 1080px) {
  .tutorial-steps,
  .tutorial-grid,
  .tutorial-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .tutorial-mini-list {
    grid-template-columns: 1fr;
  }

  .tutorial-step-card button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .movement-row {
    grid-template-columns: auto 1fr;
  }
  .movement-clubs,
  .movement-row > .pill {
    grid-column: 2;
    justify-content: flex-start;
  }
}

.home-arena {
  display: grid;
  gap: 18px;
}

.home-arena .status-card,
.home-command-card,
.home-shortcut,
.home-arena .rank-panel {
  background: linear-gradient(180deg, rgba(3, 14, 16, 0.98), rgba(5, 19, 18, 0.94));
  border-color: rgba(34, 227, 73, 0.22);
  box-shadow: inset 0 0 0 1px rgba(34, 227, 73, 0.04), 0 0 28px rgba(0, 0, 0, 0.35);
}

.home-command {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1.6fr;
  align-items: stretch;
  gap: 0;
  min-height: 118px;
  border: 1px solid rgba(34, 227, 73, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 16, 15, 0.98), rgba(2, 11, 12, 0.98));
  box-shadow: 0 0 24px rgba(34, 227, 73, 0.08);
  overflow: hidden;
}

.home-command-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 20px 26px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.home-season-command .home-command-card {
  gap: 12px;
  padding: 13px 18px;
}

.home-season-command .home-command-card strong {
  font-size: clamp(1rem, 1.32vw, 1.34rem);
}

.home-season-command .home-command-card small {
  margin-top: 3px;
}

.home-command-card:last-child {
  border-right: 0;
}

.home-command-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(34, 227, 73, 0.18);
  border-radius: 8px;
  color: var(--green);
  background: rgba(34, 227, 73, 0.05);
  font-size: 0.75rem;
  font-weight: 950;
}

.home-command-card strong {
  display: block;
  color: #f5fbff;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.home-command-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.home-timer-card {
  display: grid;
  gap: 7px;
}

.home-timer-card .home-progress {
  grid-column: 1 / -1;
}

.home-timer-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 12px;
}

.home-timer-clock {
  display: grid;
  gap: 5px;
  min-width: min(100%, 130px);
  flex: 1 1 130px;
}

.home-timer-clock strong {
  font-size: clamp(1.18rem, 1.85vw, 1.55rem);
  line-height: 0.95;
  white-space: nowrap;
}

.home-timer-card small {
  align-self: center;
  color: #d7e6ef;
}

.home-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.home-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #12c63f, #2ce760);
  box-shadow: 0 0 12px rgba(34, 227, 73, 0.5);
}

.premium-round-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  width: min(100%, 210px);
  flex: 0 1 210px;
}

.premium-round-mini span {
  min-width: 94px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 202, 74, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 196, 67, 0.12), rgba(13, 26, 37, 0.72));
}

.premium-round-mini b {
  color: #ffd76a;
  font-size: 0.46rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-round-mini strong {
  color: #fff7cf;
  font-size: 0.64rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .home-timer-topline {
    align-items: start;
  }

  .premium-round-mini {
    width: 100%;
  }
}

.home-season-command {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.78fr) minmax(0, 1fr);
  min-height: 92px;
}

.home-season-card,
.home-champ-modern {
  align-items: flex-start;
}

.home-command-main {
  display: grid;
  gap: 5px;
  min-width: 0;
  width: 100%;
}

.home-command-main strong {
  overflow-wrap: anywhere;
}

.home-command-icon.season-icon,
.home-command-icon.cup-icon {
  width: 42px;
  height: 42px;
  padding: 6px;
}

.home-command-icon .trophy-icon {
  width: 26px;
  height: 26px;
  margin: 0;
}

.home-command-icon span {
  display: none;
}

.home-round-duel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-round-duel .crest {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
}

.home-round-duel strong {
  overflow: hidden;
  color: #f5fbff;
  font-size: clamp(0.94rem, 1.18vw, 1.18rem);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-meta-grid,
.champ-detail-grid,
.season-compact-row {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.season-meta-grid,
.champ-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.season-compact-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.champ-compact-row {
  grid-template-columns: minmax(0, 1fr);
}

.season-meta-grid span,
.champ-detail-grid span,
.season-compact-row span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(34, 227, 125, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.season-meta-grid b,
.champ-detail-grid b,
.season-compact-row b {
  display: block;
  color: #f6fbff;
  font-size: 0.86rem;
}

.season-meta-grid small,
.champ-detail-grid small,
.season-compact-row small {
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 0.66rem;
  line-height: 1.25;
}

.home-arena-grid {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.62fr);
}

.home-arena-score {
  min-height: 150px;
}

.home-arena-score .section-title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-arena .match-feature {
  grid-column: span 1;
}

.home-arena .mini-score .crest {
  width: 82px;
  height: 82px;
  border-radius: 0;
  background: transparent;
}

.home-arena .mini-score b {
  display: grid;
  gap: 6px;
  min-width: 132px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.home-arena .mini-score b em {
  justify-self: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 92, 92, 0.26);
  border-radius: 999px;
  background: rgba(255, 92, 92, 0.1);
  color: #ff7a7a;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.home-arena .mini-score b small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.home-arena .score-team small,
.home-arena .score-team strong {
  display: none;
}

.match-momentum-bar {
  display: flex;
  height: 7px;
  margin: 10px 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(0, 0, 0, 0.18);
}

.match-momentum-bar span {
  display: block;
  min-width: 8%;
  transition: width 220ms ease, background 220ms ease;
}

.match-momentum-bar span:first-child {
  border-radius: 999px 0 0 999px;
}

.match-momentum-bar span:last-child {
  border-radius: 0 999px 999px 0;
}

.match-momentum-bar .is-winning {
  background: linear-gradient(90deg, rgba(122, 236, 167, 0.95), rgba(34, 227, 125, 0.9));
  box-shadow: 0 0 16px rgba(34, 227, 125, 0.34);
}

.match-momentum-bar .is-losing {
  background: linear-gradient(90deg, rgba(255, 102, 102, 0.86), rgba(255, 73, 73, 0.76));
  box-shadow: 0 0 14px rgba(255, 73, 73, 0.22);
}

.match-momentum-bar .is-draw {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.72), rgba(34, 227, 125, 0.36));
}

.match-round-scorers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 8px;
}

.match-round-scorers span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 8px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(34, 227, 125, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.match-round-scorers .player-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-round-scorers b {
  flex: 0 0 auto;
  color: var(--green);
}

.match-round-scorers small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 850;
}

.match-round-scorers em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-total-goals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
  padding: 7px 10px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(34, 227, 125, 0.12), rgba(2, 11, 11, 0.28));
}

.match-total-metric {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.match-total-metric em {
  min-width: 0;
  color: var(--muted);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: normal;
}

.match-total-metric strong {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 0.95rem;
  line-height: 1;
  text-align: right;
}

@media (max-width: 720px) {
  .match-total-goals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
  }

  .match-total-metric em {
    font-size: 0.56rem;
  }
}

.inspired-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.13), rgba(34, 227, 125, 0.07)),
    rgba(3, 16, 15, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.inspired-card > span {
  color: #ffd35f;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.inspired-card > strong {
  grid-column: 1;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspired-card > small {
  grid-column: 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspired-stats {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.inspired-stats em {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
}

.inspired-stats b {
  color: var(--green);
  font-size: 0.95rem;
}

.inspired-empty {
  grid-template-columns: 1fr;
}

.home-player-overview {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  border-color: rgba(34, 227, 125, 0.34);
  background:
    radial-gradient(circle at 92% 26%, rgba(34, 227, 125, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(34, 227, 125, 0.08), rgba(4, 16, 15, 0.92) 42%, rgba(6, 17, 30, 0.94));
}

.home-player-title {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.home-player-title strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: #f4fff8;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.home-player-title small {
  padding: 3px 8px;
  border: 1px solid rgba(34, 227, 125, 0.3);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
}

.home-player-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-player-stats div {
  display: grid;
  gap: 3px;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid rgba(34, 227, 125, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.home-player-stats span,
.home-level-row span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-player-stats strong {
  color: #f4fff8;
  font-size: 1rem;
}

.home-player-stats .vip-clock {
  display: grid;
  gap: 3px;
}

.home-player-stats .vip-clock strong {
  color: #f4fff8;
  font-size: 1rem;
}

.home-player-stats .vip-clock small {
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.home-level-row {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.home-level-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-level-row strong {
  color: #dfffee;
  font-size: 0.92rem;
}

.home-level-row small {
  color: var(--muted);
  font-weight: 800;
}

.home-level-progress {
  margin-top: 0;
}

.home-evolution-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.home-evolution-summary.empty {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px dashed rgba(34, 227, 125, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.home-evolution-summary.empty span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-evolution-summary.empty small {
  color: var(--muted);
  font-weight: 800;
}

.home-evolution-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 7px;
  min-width: 145px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 227, 125, 0.12), rgba(0, 0, 0, 0.18));
}

.home-evolution-chip b {
  grid-row: span 2;
  font-size: 1.05rem;
}

.home-evolution-chip em {
  color: #f4fff8;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.home-evolution-chip small {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.home-arena .rank-panel {
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.home-arena .top-band {
  height: 48px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.86), rgba(8, 82, 41, 0.98));
  border-bottom: 1px solid rgba(34, 227, 125, 0.22);
}

.home-arena .top-band {
  border-top: 0;
}

.home-arena .top-band strong {
  color: var(--amber);
  font-size: 1.35rem;
  text-shadow: 0 0 14px rgba(255, 200, 87, 0.28);
}

.home-arena .rank-table-head,
.home-arena .rank-row {
  grid-template-columns: 28px minmax(165px, 1fr) 56px 78px;
  padding-left: 18px;
  padding-right: 18px;
}

.home-arena .rank-list {
  gap: 0;
}

.home-arena .rank-row {
  min-height: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.home-arena .rank-player,
.home-arena .rank-player > span {
  min-width: 0;
}

.home-arena .rank-name-line .last-top-badge,
.home-arena .last-top-badge {
  font-size: 0.78rem !important;
  width: 18px;
  height: 18px;
  transform: none;
  filter: drop-shadow(0 0 3px rgba(34, 227, 125, 0.18));
}

.home-arena .last-top-badge.beta {
  width: auto;
  height: auto;
}

.home-arena .rank-player > span,
.home-arena .player-name,
.home-arena .rank-player small {
  max-width: none;
  white-space: nowrap;
}

.home-arena .rank-cta {
  display: none;
}

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

.home-shortcut {
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(34, 227, 73, 0.2);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.home-shortcut span {
  display: block;
  color: #f3f8fb;
  font-weight: 950;
  text-transform: uppercase;
}

.home-shortcut strong {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-shortcut em {
  display: block;
  height: 5px;
  margin-top: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.home-shortcut i {
  display: block;
  height: 100%;
  background: var(--green);
}

.home-empresario-slot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  margin: 4px 0 18px;
}

.home-empresario-card,
.home-contract-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 18px 36px rgba(0, 0, 0, 0.22);
}

.home-empresario-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: stretch;
  gap: 14px;
  padding: 18px 0 0 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 227, 125, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(4, 22, 22, 0.98), rgba(3, 12, 24, 0.96));
}

.home-empresario-card:hover,
.home-contract-card:hover {
  border-color: rgba(34, 227, 125, 0.55);
  transform: translateY(-1px);
}

.home-empresario-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 5px;
  padding-bottom: 16px;
}

.home-empresario-copy small {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-empresario-copy strong {
  color: #ffffff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
}

.home-empresario-copy em {
  max-width: 310px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.home-empresario-copy b {
  width: max-content;
  margin-top: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #06111d;
  background: var(--green);
  font-size: 0.8rem;
}

.home-empresario-card img {
  align-self: end;
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42));
}

.home-contract-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 106, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(3, 20, 21, 0.98), rgba(7, 13, 25, 0.96));
}

.home-contract-head {
  display: grid;
  gap: 4px;
}

.home-contract-head small {
  color: #ffd56a;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-contract-head strong {
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.08;
}

.home-contract-list {
  display: grid;
  gap: 7px;
}

.home-contract-card:not(.home-movement-card) .home-contract-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}

.home-contract-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.home-movement-row {
  grid-template-columns: 30px minmax(0, 1fr);
}

.home-contract-row b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #06111d;
  background: #ffd56a;
  font-size: 0.72rem;
  font-weight: 950;
}

.home-contract-row .crest {
  width: 28px;
  height: 28px;
}

.home-contract-row span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.home-contract-row strong,
.home-contract-row em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-contract-row strong {
  color: #ffffff;
  font-size: 0.84rem;
}

.home-contract-row em,
.home-contract-empty {
  color: var(--muted);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 850;
}

.home-contract-foot {
  width: max-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(34, 227, 125, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
}

@media (max-width: 1080px) {
  .home-command,
  .home-arena-grid,
  .home-shortcuts,
  .home-empresario-slot {
    grid-template-columns: 1fr;
  }

  .home-empresario-card {
    width: 100%;
  }

  .home-season-command {
    grid-template-columns: 1fr;
  }

  .season-meta-grid,
  .champ-detail-grid,
  .season-compact-row {
    grid-template-columns: 1fr;
  }

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

  .home-command-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-command-card:last-child {
    border-bottom: 0;
  }

  .home-rank-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .evolution-hero,
  .calendar-focus-grid {
    grid-template-columns: 1fr;
  }

  .evolution-meta {
    grid-template-columns: 1fr;
  }

  .evolution-modal {
    max-height: 88vh;
    padding: 14px;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(34, 227, 125, 0.12), transparent 34rem),
    linear-gradient(140deg, #07101d 0%, #0b1324 48%, #050910 100%);
  color: var(--text);
}

#grassCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

button, input, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px 1fr;
}

.app-frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.top-menu {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 29, 0.9);
  backdrop-filter: blur(18px);
}

.floating-actions.mobile-action-popup {
  display: none;
}

.brand-online-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.top-menu .brand {
  margin: 0;
}

.online-counter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
}

.online-counter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 6px 9px;
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: 999px;
  background: rgba(34, 227, 125, 0.08);
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

.online-counter::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 227, 125, 0.8);
}

.online-counter b {
  color: var(--text);
}

.online-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.online-search-btn:hover {
  border-color: rgba(34, 227, 125, 0.46);
  background: rgba(34, 227, 125, 0.12);
}

.online-list-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 90;
  display: grid;
  gap: 8px;
  width: min(310px, calc(100vw - 22px));
  max-height: min(420px, 70vh);
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.98);
  box-shadow: var(--shadow);
}

.online-list-popover .section-title {
  margin-bottom: 0;
}

.online-list {
  display: grid;
  gap: 6px;
}

.online-player-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
  cursor: pointer;
}

.online-player-row .crest {
  width: 34px;
  height: 34px;
}

.online-player-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.online-player-row small {
  color: var(--muted);
}


.top-menu .nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
}

.top-menu .nav::-webkit-scrollbar {
  display: none;
}

.top-menu .nav button {
  width: auto;
  white-space: nowrap;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.top-menu .nav button.active {
  color: #06111d;
  background: var(--green);
}

.top-menu .nav button:hover:not(.active) {
  border-color: var(--line);
}

.nav-group {
  position: relative;
  flex: 0 0 auto;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 24px;
}

.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 420ms;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.nav-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.top-menu .nav .nav-dropdown button {
  width: 100%;
  justify-content: space-between;
  border-radius: var(--radius);
}

.top-menu .nav button.store-nav-link,
.top-menu .nav button.store-nav-link.active,
.top-menu .nav button.store-nav-link:hover,
.mobile-menu-list button.store-nav-link,
.mobile-menu-list button.store-nav-link.active {
  border-color: rgba(255, 200, 87, 0.72) !important;
  color: #ffd76a !important;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(78, 47, 4, 0.34)) !important;
  box-shadow: inset 0 0 18px rgba(255, 200, 87, 0.14), 0 0 20px rgba(255, 200, 87, 0.12);
}

.top-menu .nav button.store-nav-link span,
.mobile-menu-list button.store-nav-link {
  color: #ffd76a !important;
}

.install-account-card {
  border-color: rgba(34, 227, 125, 0.34);
  background: linear-gradient(135deg, rgba(34, 227, 125, 0.11), rgba(9, 23, 37, 0.92));
}

.install-link-box {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.install-link-box span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.install-link-box strong {
  color: #dfffee;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.install-app-modal {
  width: min(520px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: 14px;
  background: rgba(8, 18, 32, 0.98);
  box-shadow: var(--shadow);
}

.install-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.install-steps article {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.install-steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #06111d;
  background: var(--green);
}

.install-steps span {
  font-weight: 850;
}

.mobile-install-banner {
  display: none;
}

.mobile-top-actions,
.mobile-menu-trigger,
.mobile-logout-trigger,
.mobile-menu-backdrop {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: rgba(7, 16, 29, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.game-brand {
  margin: 0;
  min-width: 168px;
}

.game-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 18px rgba(34, 227, 125, 0.16));
}

.game-brand-login {
  width: min(560px, 100%);
  margin-bottom: 18px;
}

.game-brand-login .game-logo {
  width: min(560px, 100%);
  height: auto;
  max-height: 190px;
  object-position: left center;
}

.game-loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 30%, rgba(34, 227, 125, 0.16), transparent 32%),
    linear-gradient(135deg, #04120c, #08111f 58%, #030813);
}

.loading-panel {
  width: min(620px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.loading-panel .game-brand-login {
  margin: 0;
  justify-content: center;
}

.loading-panel .game-logo {
  object-position: center;
}

.loading-card {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(34, 227, 125, 0.25);
  border-radius: 12px;
  background: rgba(3, 12, 22, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.loading-kicker {
  justify-self: center;
  padding: 5px 10px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(34, 227, 125, 0.08);
  font-size: 0.65rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.loading-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1;
}

.loading-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.loading-progress {
  overflow: hidden;
  height: 12px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.loading-progress span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18b95f, #27e086, #b8ffd7);
  box-shadow: 0 0 22px rgba(34, 227, 125, 0.45);
  animation: loadingProgress 1.25s ease-in-out infinite;
}

.loading-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.loading-steps small {
  padding: 8px;
  border: 1px solid rgba(34, 227, 125, 0.13);
  border-radius: 8px;
  color: #dff8e9;
  background: rgba(34, 227, 125, 0.055);
  font-weight: 850;
}

@keyframes loadingProgress {
  0% { transform: translateX(-115%); }
  55% { transform: translateX(75%); }
  100% { transform: translateX(245%); }
}

.ballmark, .crest {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #06111d;
  font-weight: 950;
  background: conic-gradient(from 210deg, var(--green), #b8ffd7, var(--blue), var(--green));
  box-shadow: 0 0 30px rgba(34, 227, 125, 0.22);
}

.club-logo {
  padding: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.club-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.club-logo[role="button"] {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.club-logo[role="button"]:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: none;
}

.club-logo-large {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  padding: 8px;
}

.club-logo-plain {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.club-logo[role="button"].club-logo-plain:hover {
  box-shadow: none;
}

.logo-fallback {
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.player-name {
  font-weight: 500;
}

.player-name.vip {
  font-weight: 950;
}

.vip-clock {
  display: inline-grid;
  gap: 1px;
  line-height: 1.05;
  vertical-align: middle;
}

.vip-clock strong {
  color: #ffffff;
  font: inherit;
}

.vip-clock small {
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand span, .muted {
  color: var(--muted);
}

.nav {
  display: grid;
  gap: 6px;
}

.nav button, .ghost, .primary, .danger, .tab-btn {
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  color: var(--muted);
  background: transparent;
}

.nav button.active, .nav button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.notification-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: #ff354f;
  box-shadow: 0 0 0 3px rgba(255, 53, 79, 0.16), 0 0 12px rgba(255, 53, 79, 0.7);
}

.main {
  min-width: 0;
  padding: 24px 24px 110px;
}

.ranking-index {
  display: grid;
  gap: 18px;
}

.rank-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 227, 125, 0.11), transparent 42%),
    repeating-linear-gradient(135deg, rgba(34, 227, 125, 0.08) 0 14px, rgba(0, 0, 0, 0) 14px 28px),
    rgba(13, 27, 47, 0.86);
  box-shadow: var(--shadow);
}

.rank-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.rank-hero p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
}

.rank-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.match-feature {
  grid-column: span 2;
}

.status-card {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 36, 63, 0.9), rgba(8, 20, 35, 0.92));
  box-shadow: var(--shadow);
}

.status-card > strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1;
}

.status-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.mini-score > span {
  display: grid;
  place-items: center;
  min-width: 0;
}

.mini-score > span:last-child {
  justify-content: center;
}

.mini-score .crest {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.mini-score strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-score b {
  min-width: 88px;
  text-align: center;
  font-size: 2rem;
}

.stat-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.stat-stack div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.stat-stack div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-stack span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.stat-stack strong {
  font-size: 1.35rem;
}

.rank-panel {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(3, 14, 16, 0.98), rgba(5, 19, 18, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rank-panel.green,
.rank-panel.blue,
.rank-panel.orange {
  border-color: rgba(34, 227, 125, 0.36);
}

.record-band, .top-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 48px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.record-band {
  background: linear-gradient(180deg, #22b862, #147b3e);
}

.rank-panel.blue .record-band {
  background: linear-gradient(180deg, #22b862, #147b3e);
}

.rank-panel.orange .record-band {
  background: linear-gradient(180deg, #22b862, #147b3e);
}

.top-band {
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.86), rgba(8, 82, 41, 0.98));
  border-bottom: 1px solid rgba(34, 227, 125, 0.22);
}

.rank-panel.green .top-band {
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.86), rgba(8, 82, 41, 0.98));
}

.rank-panel.orange .top-band {
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.86), rgba(8, 82, 41, 0.98));
}

.rank-panel.premium-hour-ranking {
  border-color: rgba(255, 205, 76, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 205, 76, 0.2), 0 18px 50px rgba(255, 177, 31, 0.14);
}

.rank-panel.premium-hour-ranking .top-band {
  background: linear-gradient(180deg, #ffd66b, #b87810);
  border-bottom-color: rgba(255, 225, 131, 0.55);
  color: #160d02;
}

.rank-panel.premium-hour-ranking .top-band strong {
  color: #fff7d0;
  text-shadow: 0 0 18px rgba(255, 214, 107, 0.62);
}

.rank-table-head, .rank-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 54px 76px;
  align-items: center;
  gap: 8px;
}

.rank-table-head {
  padding: 10px 16px 6px;
  color: #b8c8db;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.rank-list {
  display: grid;
  gap: 7px;
  min-height: 78px;
}

.rank-row {
  padding: 7px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-pos {
  color: var(--amber);
  font-weight: 950;
}

.rank-goals {
  display: grid;
  grid-template-columns: minmax(34px, 1fr) 26px;
  align-items: center;
  justify-items: end;
  gap: 6px;
  min-width: 0;
}

.rank-goals strong {
  color: #f7fbff;
  font-weight: 950;
}

.rank-score {
  min-width: 34px;
  text-align: right;
}

.rank-action {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
}

.rank-block-icon {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  font-size: 0.88rem;
  line-height: 1;
  opacity: 0.9;
}

.rank-goals .tackle-button {
  width: 23px;
  height: 23px;
}

.rank-goals .tackle-button img {
  width: 23px;
  height: 23px;
}

.rank-row-button,
.ranking-full-row,
.player-open-row {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.rank-row-button {
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.rank-row-button:hover,
.ranking-full-row:hover,
.player-open-row:hover {
  background: rgba(255, 255, 255, 0.065);
}

.ranking-tabs {
  margin-bottom: 14px;
}

.ranking-tabs .tab-btn.active {
  color: #06111d;
  background: var(--green);
}

.ranking-full-list {
  gap: 8px;
}

.ranking-full-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 70px 80px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ranking-full-row > strong {
  text-align: right;
}

.ranking-full-row > small {
  color: var(--muted);
  text-align: right;
}

.reaction-rankings-full {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.team-rankings-full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.team-ranking-card {
  min-width: 0;
}

.team-ranking-row {
  grid-template-columns: 34px minmax(0, 1fr) minmax(72px, auto) 64px;
}

.team-ranking-row .rank-player {
  gap: 10px;
}

.team-ranking-row .club-logo-plain {
  width: 32px;
  height: 32px;
}

.team-ranking-row strong {
  color: #f4fff8;
  font-size: 0.95rem;
}

.reaction-full-row .rank-player {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.reaction-full-row .rank-player .crest {
  width: 30px;
  height: 30px;
}

.rank-player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tackle-button {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  font-size: 0;
  padding: 0;
}

.tackle-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.inline-tackle-icon,
.section-title-icon {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
  display: inline-block;
  vertical-align: -0.18em;
}

.section-title h2 .section-title-icon {
  margin-right: 7px;
}

.tackle-button:hover,
.tackle-button.active {
  background: transparent;
  transform: scale(1.08);
}

.rank-player .crest {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.7rem;
}

.rank-name-line {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.rank-name-line .player-name {
  min-width: 0;
}

.last-top-badge {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1;
  object-fit: contain;
  vertical-align: -3px;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 0 3px rgba(34, 227, 125, 0.18));
}

.last-top-badge.beta {
  width: auto;
  height: auto;
}

.club-role-badge {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  color: #06111d;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 14px rgba(34, 227, 125, 0.16);
}

.club-role-badge.role-presidente {
  background: linear-gradient(180deg, #ffe26d, #c99510);
}

.club-role-badge.role-diretor {
  background: linear-gradient(180deg, #2cf08b, #139b51);
}

.club-role-badge.role-capitao {
  background: linear-gradient(180deg, #59b4ff, #1d68cf);
  color: #f4f8ff;
}

.club-role-badge.role-auxiliar {
  background: linear-gradient(180deg, #caa7ff, #7246d4);
  color: #fff;
}

.club-role-badge.role-representante {
  background: linear-gradient(180deg, #ff9a57, #c75518);
  color: #fff8f0;
}

.rank-name-line .club-role-badge {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 4px;
  font-size: 0.37rem;
  box-shadow: 0 0 7px rgba(34, 227, 125, 0.12);
}

.rank-player span {
  min-width: 0;
}

.rank-player strong, .rank-player small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-player .player-name {
  color: inherit;
}

.admin-rank-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 77, 97, 0.52);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff4d61, #b9182c);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 12px rgba(255, 77, 97, 0.22);
}

.medal-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  margin-right: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #09121c;
  background: #ffd166;
}

.medal-badge.gold {
  background: linear-gradient(180deg, #ffe48a, #d99b16);
}

.medal-badge.silver {
  background: linear-gradient(180deg, #f0f6ff, #9aa9b8);
}

.medal-badge.bronze {
  color: #fff7ea;
  background: linear-gradient(180deg, #d79a5b, #8b4e1f);
}

.tackle-alert-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 77, 97, 0.46);
  border-radius: 999px;
  color: #ffdbe0;
  background: rgba(255, 77, 97, 0.16);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.tackle-warning {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 77, 97, 0.38);
  border-radius: var(--radius);
  color: #ffdbe0;
  background: rgba(255, 77, 97, 0.12);
  font-weight: 800;
}

.rank-player small {
  color: #b8c8db;
  font-size: 0.7rem;
}

.rank-pos {
  color: var(--amber);
  font-weight: 900;
}

.level-chip {
  justify-self: start;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #d9f4ff;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
}

.level-chip.medal-chip {
  padding: 0;
  border: 0;
  background: transparent;
}

.level-chip.medal-chip .medal-badge {
  margin: 0;
  padding: 2px 5px;
  font-size: 0.5rem;
}

.rank-medal-chip {
  justify-content: center;
  min-width: 48px;
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-medal-chip .rank-medal-level {
  display: none;
}

.rank-medal-chip:hover .rank-medal-top {
  display: none;
}

.rank-medal-chip:hover .rank-medal-level {
  display: inline;
}

.pending-slot-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px dashed rgba(255, 212, 92, 0.55);
  border-radius: 999px;
  color: #ffd45c;
  background: rgba(255, 212, 92, 0.08);
  font-weight: 950;
}

.levels-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  align-items: start;
}

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

.champ-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.championship-tabs,
.round-tabs,
.admin-actions {
  flex-wrap: wrap;
}

.competition-main-tabs {
  padding: 6px;
  border: 1px solid rgba(34, 227, 125, 0.15);
  border-radius: 10px;
  background: rgba(0, 10, 7, 0.34);
}

.championship-table {
  min-width: 860px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.badge-list small {
  padding: 3px 6px;
  border-radius: 999px;
  color: #d9f4ff;
  background: rgba(59, 163, 255, 0.13);
  border: 1px solid rgba(59, 163, 255, 0.22);
  font-weight: 800;
}

.champ-match {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 10px;
}

.champ-score {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 78px;
  padding: 6px 10px;
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: 8px;
  background: rgba(3, 19, 11, 0.35);
}

.champ-score b {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1;
}

.champ-score small {
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.champ-match > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.champ-match > span:last-of-type {
  justify-content: flex-end;
}

.champ-match > .champ-score {
  display: grid;
}

.match-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.match-history-summary span {
  display: grid;
  gap: 2px;
  padding: 9px;
  border: 1px solid rgba(34, 227, 125, 0.16);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(1, 18, 12, 0.46);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.match-history-summary b {
  color: #ffffff;
  font-size: 1.1rem;
}

.match-history-list {
  max-height: 560px;
  overflow: auto;
}

.action-score-board .score-from {
  color: #7f96a8;
  opacity: 0.72;
  text-decoration: line-through;
}

.action-score-board .score-arrow {
  margin: 0 5px;
  color: var(--accent);
}

.action-score-board .score-updated {
  color: #ffffff;
  animation: scorePulse 0.65s ease-in-out infinite alternate;
}

@keyframes scorePulse {
  from { transform: scale(1); text-shadow: 0 0 0 rgba(34, 227, 125, 0); }
  to { transform: scale(1.08); text-shadow: 0 0 18px rgba(34, 227, 125, 0.55); }
}

.bracket {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.tournament-cup-bracket {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(43, 179, 255, 0.36);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 10%, rgba(52, 198, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(9, 36, 78, 0.96), rgba(4, 16, 34, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 45px rgba(0, 0, 0, 0.28);
}

.tournament-cup-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  color: #e8fbff;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(90deg, transparent, rgba(31, 188, 255, 0.22), transparent);
}

.tournament-cup-head > span {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.55));
}

.tournament-cup-head strong {
  display: block;
  color: #57d7ff;
  font-size: 1.1rem;
  font-weight: 1000;
}

.tournament-cup-head small {
  color: #b9e9ff;
  font-size: 0.68rem;
  font-weight: 900;
}

.tournament-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.22fr);
  gap: 14px;
  padding: 14px;
}

.tournament-lanes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.tournament-lane {
  position: relative;
  display: grid;
  align-content: center;
  gap: 10px;
}

.tournament-phase-title {
  justify-self: center;
  padding: 5px 12px;
  border: 1px solid rgba(96, 218, 255, 0.38);
  border-radius: 999px;
  color: #dff9ff;
  background: linear-gradient(180deg, rgba(35, 174, 255, 0.45), rgba(16, 75, 150, 0.45));
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.tournament-phase-matches {
  display: grid;
  gap: 10px;
}

.tournament-match {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 8px;
  border: 1px solid rgba(82, 194, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 111, 186, 0.82), rgba(8, 43, 91, 0.92));
}

.tournament-match::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 18px;
  height: 1px;
  background: rgba(90, 211, 255, 0.45);
}

.tournament-lane:last-child .tournament-match::after {
  display: none;
}

.tournament-match small {
  color: #aff0ff;
  font-size: 0.56rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.tournament-match span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #eafcff;
}

.tournament-match strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
}

.tournament-match b {
  color: #ffffff;
  font-size: 0.86rem;
}

.tournament-match .winner strong,
.tournament-match .winner b {
  color: #ffe48a;
}

.tournament-match.live {
  border-color: rgba(34, 227, 125, 0.56);
  box-shadow: 0 0 0 1px rgba(34, 227, 125, 0.13);
}

.tournament-winner {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 180px;
  padding: 14px;
  border: 1px solid rgba(255, 209, 102, 0.38);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 209, 102, 0.24), rgba(10, 31, 68, 0.88));
}

.tournament-winner span {
  font-size: 3rem;
  filter: drop-shadow(0 0 16px rgba(255, 209, 102, 0.45));
}

.tournament-winner strong {
  color: #ffe48a;
  font-size: 1rem;
}

.arena-bracket {
  margin-top: 14px;
  --bracket-accent: var(--green);
  --bracket-accent-2: #16a85d;
  --bracket-panel: rgba(5, 34, 23, 0.92);
  --bracket-panel-2: rgba(2, 18, 13, 0.98);
  --bracket-card: rgba(7, 28, 22, 0.96);
  --bracket-card-2: rgba(4, 17, 14, 0.98);
  --bracket-card-border: rgba(34, 227, 125, 0.26);
  --bracket-title-text: #04140c;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--bracket-card-border);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--bracket-accent) 16%, transparent), transparent 28%),
    linear-gradient(180deg, var(--bracket-panel), var(--bracket-panel-2));
}

.arena-bracket-fut-arena {
  --bracket-accent: #22e37d;
  --bracket-accent-2: #0ea755;
  --bracket-panel: rgba(3, 29, 19, 0.96);
  --bracket-panel-2: rgba(1, 12, 9, 0.99);
  --bracket-card: rgba(5, 35, 24, 0.98);
  --bracket-card-2: rgba(2, 18, 13, 0.99);
  --bracket-card-border: rgba(34, 227, 125, 0.35);
}

.arena-bracket-libertadores {
  --bracket-accent: #2fd8ff;
  --bracket-accent-2: #1680ff;
  --bracket-panel: rgba(4, 24, 39, 0.96);
  --bracket-panel-2: rgba(1, 12, 21, 0.99);
  --bracket-card: rgba(7, 37, 51, 0.98);
  --bracket-card-2: rgba(3, 20, 31, 0.99);
  --bracket-card-border: rgba(47, 216, 255, 0.32);
}

.arena-bracket-mundial {
  --bracket-accent: #ffd76a;
  --bracket-accent-2: #c89122;
  --bracket-panel: rgba(40, 28, 5, 0.96);
  --bracket-panel-2: rgba(14, 9, 2, 0.99);
  --bracket-card: rgba(42, 29, 8, 0.98);
  --bracket-card-2: rgba(18, 12, 3, 0.99);
  --bracket-card-border: rgba(255, 215, 106, 0.36);
  --bracket-title-text: #1a1202;
}

.arena-bracket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bracket-card-border);
}

.arena-bracket-head strong {
  color: #ffffff;
  font-size: 1rem;
}

.arena-bracket-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.arena-bracket-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(145px, 0.86fr) minmax(150px, 0.8fr) minmax(145px, 0.86fr) minmax(150px, 1fr);
  grid-template-rows: 38px 110px 92px 112px 112px;
  gap: 14px 16px;
  min-width: 780px;
  min-height: 520px;
  padding: 16px 16px 30px;
}

.arena-bracket-title {
  align-self: start;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--bracket-title-text);
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bracket-accent) 82%, #ffffff), var(--bracket-accent-2));
  font-size: 0.7rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.arena-bracket-title.left { grid-column: 1; grid-row: 1; }
.arena-bracket-title.left-mid { grid-column: 2; grid-row: 1; }
.arena-bracket-title.right-mid { grid-column: 4; grid-row: 1; }
.arena-bracket-title.right { grid-column: 5; grid-row: 1; }
.arena-bracket-title.left-quarter,
.arena-bracket-title.right-quarter {
  display: none;
}

.arena-side {
  display: grid;
  align-content: space-around;
  gap: 18px;
  min-width: 0;
}

.arena-side.left-side { grid-column: 1; grid-row: 2 / 6; }
.arena-side.left-mid-side { grid-column: 2; grid-row: 3 / 4; }
.arena-side.right-mid-side { grid-column: 4; grid-row: 3 / 4; }
.arena-side.right-side { grid-column: 5; grid-row: 2 / 6; }
.arena-side.left-quarter-side,
.arena-side.right-quarter-side {
  display: none;
}

.arena-final-slot {
  grid-column: 3;
  grid-row: 4;
  align-self: center;
}

.arena-winner {
  grid-column: 3;
  grid-row: 2 / 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: var(--bracket-accent);
  text-align: center;
  text-transform: uppercase;
}

.arena-bracket-wide .arena-bracket-board {
  grid-template-columns: minmax(142px, 1fr) minmax(132px, 0.82fr) minmax(126px, 0.75fr) minmax(136px, 0.78fr) minmax(126px, 0.75fr) minmax(132px, 0.82fr) minmax(142px, 1fr);
  min-width: 1080px;
}

.arena-bracket-wide .arena-bracket-title.left { grid-column: 1; }
.arena-bracket-wide .arena-bracket-title.left-quarter { display: block; grid-column: 2; grid-row: 1; }
.arena-bracket-wide .arena-bracket-title.left-mid { grid-column: 3; }
.arena-bracket-wide .arena-bracket-title.right-mid { grid-column: 5; }
.arena-bracket-wide .arena-bracket-title.right-quarter { display: block; grid-column: 6; grid-row: 1; }
.arena-bracket-wide .arena-bracket-title.right { grid-column: 7; }

.arena-bracket-wide .arena-side.left-side { grid-column: 1; grid-row: 2 / 6; }
.arena-bracket-wide .arena-side.left-quarter-side { display: grid; grid-column: 2; grid-row: 2 / 6; }
.arena-bracket-wide .arena-side.left-mid-side { grid-column: 3; grid-row: 3 / 5; }
.arena-bracket-wide .arena-side.right-mid-side { grid-column: 5; grid-row: 3 / 5; }
.arena-bracket-wide .arena-side.right-quarter-side { display: grid; grid-column: 6; grid-row: 2 / 6; }
.arena-bracket-wide .arena-side.right-side { grid-column: 7; grid-row: 2 / 6; }
.arena-bracket-wide .arena-final-slot { grid-column: 4; grid-row: 4; }
.arena-bracket-wide .arena-winner { grid-column: 4; grid-row: 2 / 4; }

.arena-winner span {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--bracket-accent) 45%, transparent));
}

.arena-winner strong {
  padding: 7px 13px;
  border-radius: 8px;
  color: var(--bracket-title-text);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bracket-accent) 82%, #ffffff), var(--bracket-accent-2));
  font-size: 0.72rem;
}

.arena-bracket-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 8px;
  border: 1px solid var(--bracket-card-border);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--bracket-card), var(--bracket-card-2));
  color: #eafff4;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.arena-bracket-card.final {
  border-color: color-mix(in srgb, var(--bracket-accent) 76%, #ffffff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bracket-card) 76%, var(--bracket-accent)), var(--bracket-card-2));
}

.arena-bracket-card.live {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bracket-accent) 32%, transparent), 0 8px 18px rgba(0, 0, 0, 0.24);
}

.arena-bracket-card small,
.arena-bracket-card em {
  color: color-mix(in srgb, var(--bracket-accent) 72%, #ffffff);
  font-size: 0.57rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.arena-bracket-card span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.arena-bracket-card .crest,
.arena-bracket-card i {
  width: 18px;
  height: 18px;
}

.arena-bracket-card i {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--bracket-accent) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bracket-accent) 15%, transparent);
}

.arena-bracket-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
}

.arena-bracket-card b {
  font-size: 0.7rem;
}

.arena-bracket-card em {
  justify-self: end;
  font-style: normal;
}

.knockout-path-preview {
  padding: 0 14px 14px;
}

.knockout-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.knockout-path-card {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(82, 194, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 50, 103, 0.82), rgba(5, 24, 51, 0.9));
}

.knockout-path-card.mine {
  border-color: rgba(34, 227, 125, 0.62);
  box-shadow: inset 0 0 0 1px rgba(34, 227, 125, 0.12), 0 0 18px rgba(34, 227, 125, 0.1);
}

.knockout-path-card small {
  color: #72dcff;
  font-size: 0.58rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.knockout-path-card.mine small {
  color: var(--accent);
}

.knockout-path-card strong,
.knockout-path-card span,
.knockout-path-card em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.knockout-path-card strong {
  color: #ffffff;
  font-size: 0.78rem;
}

.knockout-path-card span {
  color: #cce8ff;
  font-size: 0.72rem;
}

.knockout-path-card em {
  color: #93b7d0;
  font-size: 0.66rem;
  font-style: normal;
}

.achievement-list-card {
  grid-column: 1 / -1;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.achievement-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.achievement-card.unlocked {
  border-color: rgba(34, 227, 125, 0.26);
  background: rgba(34, 227, 125, 0.07);
}

.achievement-card.claimed {
  opacity: 0.72;
}

.achievement-card.vip-bonus {
  border-color: rgba(171, 92, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(126, 58, 242, 0.26), rgba(209, 107, 255, 0.12)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(222, 177, 255, 0.12);
}

.achievement-card.vip-bonus .achievement-emoji,
.profile-achievement.vip-bonus {
  border-color: rgba(203, 148, 255, 0.5);
  background: linear-gradient(135deg, rgba(126, 58, 242, 0.9), rgba(196, 93, 255, 0.65));
  color: #fff;
}

.achievement-card.vip-bonus .achievement-progress span {
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
}

.achievement-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.achievement-emoji {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: 8px;
  background: rgba(34, 227, 125, 0.08);
  color: var(--text);
}

.achievement-card strong,
.achievement-card span,
.achievement-card small {
  display: block;
}

.achievement-card span,
.achievement-card small {
  color: var(--muted);
}

.achievement-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.achievement-progress span {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.achievement-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.achievement-reward button {
  min-height: 32px;
  padding: 7px 10px;
}

.prize-page {
  display: grid;
  gap: 16px;
}

.prize-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(34, 227, 125, 0.12), rgba(255, 196, 55, 0.05)),
    rgba(4, 20, 16, 0.82);
}

.prize-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.prize-hero-badges span,
.prize-card-head em {
  padding: 7px 10px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 999px;
  color: #b9ffd4;
  background: rgba(34, 227, 125, 0.08);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
}

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

.prize-card {
  overflow: hidden;
  border-color: rgba(34, 227, 125, 0.23);
}

.championship-prize-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.championship-prize-grid .prize-card-head {
  grid-template-columns: auto minmax(0, 1fr);
}

.championship-prize-grid .prize-card-head em {
  grid-column: 1 / -1;
  justify-self: start;
}

.prize-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prize-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 10px;
  background: rgba(34, 227, 125, 0.1);
  font-size: 1.45rem;
}

.prize-card-head strong {
  display: block;
  color: #f5fbff;
  font-size: 1.08rem;
}

.prize-card-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.prize-row-head,
.prize-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(88px, 0.9fr) minmax(82px, 0.8fr);
  gap: 10px;
  align-items: center;
}

.prize-row-head {
  padding: 12px 8px 7px;
  color: #9db1c7;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prize-row-list {
  display: grid;
  gap: 8px;
}

.prize-row {
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.prize-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #f3f8fb;
  font-weight: 900;
}

.prize-row span b {
  font-size: 1.25rem;
  line-height: 1;
}

.prize-row strong {
  color: #26f78a;
  font-size: 0.9rem;
  text-align: right;
}

.prize-row strong:last-child {
  color: #ffd45c;
}

.rules-page {
  display: grid;
  gap: 16px;
}

.rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: center;
  gap: 18px;
  border-color: rgba(34, 227, 125, 0.26);
  background:
    linear-gradient(135deg, rgba(34, 227, 125, 0.12), rgba(255, 77, 97, 0.06)),
    rgba(4, 20, 16, 0.84);
}

.rules-hero h2 {
  margin: 8px 0;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

.rules-warning {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 77, 97, 0.42);
  border-radius: 8px;
  background: rgba(255, 77, 97, 0.1);
}

.rules-warning strong {
  color: #ffd7dc;
  font-size: 1.05rem;
}

.rules-warning span {
  color: #ffdfe4;
  line-height: 1.45;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rules-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  min-height: 148px;
}

.rules-card.danger-rule {
  border-color: rgba(255, 77, 97, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 77, 97, 0.1), rgba(255, 212, 92, 0.04)),
    rgba(8, 18, 32, 0.82);
}

.rules-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 227, 125, 0.3);
  border-radius: 10px;
  background: rgba(34, 227, 125, 0.08);
  font-size: 1.45rem;
}

.danger-rule .rules-icon {
  border-color: rgba(255, 77, 97, 0.42);
  background: rgba(255, 77, 97, 0.12);
}

.rules-card h3 {
  margin: 0 0 7px;
  color: #f5fbff;
}

.rules-card p {
  margin: 0;
  color: #bfd0e4;
  line-height: 1.55;
}

.rules-footer {
  border-color: rgba(255, 212, 92, 0.22);
}

.rules-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rules-summary span {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #ecf8ff;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 850;
}

.grass-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 9px;
}

.grass-theme-option {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.grass-theme-option.active,
.grass-theme-option:has(input:checked) {
  border-color: rgba(34, 227, 125, 0.55);
  background: rgba(34, 227, 125, 0.1);
}

.grass-theme-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.grass-theme-option strong {
  font-size: 0.78rem;
}

.grass-theme-preview {
  height: 54px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(115deg, rgba(34, 227, 125, 0.1) 0 16%, transparent 16% 32%, rgba(34, 227, 125, 0.08) 32% 48%, transparent 48% 64%),
    linear-gradient(180deg, #030b0f, #071708);
}

.grass-stripes {
  background:
    repeating-linear-gradient(115deg, rgba(34, 227, 125, 0.16) 0 18px, rgba(5, 22, 12, 0.1) 18px 46px),
    linear-gradient(180deg, #030b0f, #061c0b);
}

.grass-alive {
  background:
    radial-gradient(circle at 20% 30%, rgba(66, 255, 144, 0.25), transparent 18px),
    repeating-linear-gradient(175deg, rgba(66, 255, 144, 0.16) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #03100a, #062014);
}

.grass-arena-night {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 227, 125, 0.25), transparent 44px),
    repeating-linear-gradient(90deg, rgba(34, 227, 125, 0.08) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, #010608, #071708);
}

.calendar-list {
  max-height: 460px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.calendar-wide {
  grid-column: 1 / -1;
}

.calendar-timeline,
.projected-brackets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.calendar-competition-tabs {
  flex-wrap: wrap;
}

.calendar-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 12px;
}

.calendar-focus-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.calendar-focus-card h4 {
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.86rem;
}

.calendar-day,
.projected-bracket-card,
.bracket-pair {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.calendar-day {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.calendar-day.active,
.calendar-day.live {
  border-color: rgba(34, 227, 125, 0.34);
  background: rgba(34, 227, 125, 0.08);
}

.calendar-day.done {
  opacity: 0.76;
}

.calendar-day strong,
.calendar-day span,
.calendar-day small {
  display: block;
}

.calendar-day small,
.bracket-pair em {
  color: var(--muted);
}

.projected-bracket-card {
  padding: 12px;
}

.bracket-lanes {
  display: grid;
  gap: 8px;
}

.bracket-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
}

.bracket-pair.single {
  margin-top: 0;
}

.bracket-pair small {
  grid-column: 1 / -1;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.bracket-pair span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.bracket-pair span:last-child {
  justify-content: flex-end;
}

.bracket-pair b {
  color: var(--green);
}

.bracket-pair em {
  font-style: normal;
  font-size: 0.7rem;
}

.admin-control-panel {
  grid-column: 1 / -1;
}

.admin-player-list {
  max-height: 620px;
  overflow: auto;
}

.admin-player-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(320px, 0.9fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.admin-player-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-player-main span,
.admin-player-main strong,
.admin-player-main small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-player-flags,
.admin-player-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-player-actions button,
.admin-player-actions select {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 0.75rem;
}

.auto-test-list {
  max-height: 520px;
}

.auto-test-row {
  grid-template-columns: auto minmax(240px, 1fr) auto;
  cursor: pointer;
}

.auto-test-row > input,
.toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  margin: 8px 0 14px;
}

.player-search-page {
  align-items: start;
}

.player-search-filters {
  align-items: end;
}

.player-search-tabs {
  flex-wrap: wrap;
  margin-top: 12px;
}

.player-search-list {
  display: grid;
  gap: 8px;
}

.player-search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.player-search-row:hover {
  border-color: rgba(34, 227, 125, 0.38);
  background: rgba(34, 227, 125, 0.08);
}

.player-search-row .crest {
  width: 38px;
  height: 38px;
}

.player-search-row > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.player-search-row strong,
.player-search-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-search-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

.player-search-row em {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.player-search-row em.online {
  border-color: rgba(34, 227, 125, 0.38);
  background: rgba(34, 227, 125, 0.1);
  color: var(--green);
}

.danger-pill {
  color: #ffd6dc;
  border-color: rgba(255, 77, 97, 0.4);
  background: rgba(255, 77, 97, 0.13);
}

.profile-status {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.profile-status.online {
  color: #c9ffe1;
  border-color: rgba(34, 227, 125, 0.42);
  background: rgba(34, 227, 125, 0.12);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.level-tile {
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.level-tile:hover, .level-tile.active {
  border-color: rgba(34, 227, 125, 0.55);
  background: rgba(34, 227, 125, 0.12);
}

.level-tile span, .level-tile small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.level-tile strong {
  display: block;
  margin: 4px 0 2px;
  font-size: 1.05rem;
}

.proposal-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  flex-wrap: wrap;
}

.proposal-actions .primary,
.proposal-actions .ghost {
  min-height: 34px;
  padding: 8px 10px;
}

.contract-scout-card {
  border-color: rgba(34, 227, 125, 0.28);
  background: linear-gradient(135deg, rgba(6, 18, 31, 0.94), rgba(3, 33, 22, 0.72));
}

.contract-scout-list {
  gap: 8px;
}

.contract-scout-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.scout-player {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.scout-player .crest {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.scout-player span {
  min-width: 0;
}

.scout-player strong,
.scout-player small {
  display: block;
}

.scout-player small {
  color: var(--muted);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scout-rank {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border-radius: 7px;
  color: #06111d;
  background: linear-gradient(180deg, #2cf08b, #18b461);
  font-size: 0.75rem;
  font-weight: 1000;
}

.scout-actions input {
  width: 94px;
  min-height: 34px;
}

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

.admin-hero {
  border-color: rgba(34, 227, 125, 0.28);
  background: linear-gradient(135deg, rgba(7, 16, 29, 0.96), rgba(5, 36, 25, 0.76));
}

.admin-panel-tabs {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 14, 25, 0.72);
  overflow-x: auto;
}

.admin-panel-tabs .tab-btn {
  flex: 0 0 auto;
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-panel-tabs .tab-btn.active {
  color: #06111d;
  border-color: rgba(34, 227, 125, 0.55);
  background: linear-gradient(180deg, #2cf08b, #17b862);
}

.mod-shell .admin-hero {
  border-color: rgba(59, 163, 255, 0.32);
  background: linear-gradient(135deg, rgba(7, 16, 29, 0.96), rgba(7, 35, 58, 0.78));
}

.match-title-row {
  gap: 10px;
}

.match-title-row h2 {
  min-width: 0;
}

.match-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(5, 14, 25, 0.72);
}

.match-mode-switch button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.match-mode-switch button.active {
  color: #06111d;
  background: linear-gradient(180deg, #2cf08b, #17b862);
  box-shadow: 0 0 14px rgba(34, 227, 125, 0.16);
}

.training-card {
  display: grid;
  gap: 12px;
}

.training-card .primary {
  min-height: 46px;
  white-space: normal;
  line-height: 1.15;
}

.evolution-page {
  display: grid;
  gap: 16px;
}

.evolution-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.evolution-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(34, 227, 125, 0.35);
  border-radius: 8px;
  color: #06111d;
  background: linear-gradient(180deg, #2cf08b, #139b51);
  font-size: 1.7rem;
  font-weight: 1000;
}

.evolution-rules {
  border-color: rgba(34, 227, 125, 0.34);
  background: linear-gradient(135deg, rgba(34, 227, 125, 0.12), rgba(7, 16, 29, 0.72));
}

.evolution-tree-grid,
.evolution-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.evolution-tree-card,
.evolution-skill-card,
.evolution-profile-card {
  display: grid;
  gap: 12px;
}

.evolution-skill-list {
  display: grid;
  gap: 12px;
}

.evolution-skill-card,
.evolution-profile-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.evolution-skill-card.chosen {
  border-color: rgba(34, 227, 125, 0.42);
  background: rgba(34, 227, 125, 0.08);
}

.evolution-skill-card.blocked {
  border-color: rgba(255, 84, 112, 0.22);
  opacity: 0.62;
}

.evolution-skill-card.maxed {
  box-shadow: inset 0 0 0 1px rgba(255, 200, 87, 0.28);
}

.evolution-skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.evolution-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(34, 227, 125, 0.12);
  border: 1px solid rgba(34, 227, 125, 0.25);
  font-size: 1.35rem;
}

.evolution-skill-head strong,
.evolution-profile-card strong {
  display: block;
  color: var(--text);
}

.evolution-skill-head small,
.evolution-profile-card p {
  color: var(--muted);
}

.evolution-choice-tag {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: 999px;
  color: #b8ffd5;
  background: rgba(34, 227, 125, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evolution-choice-tag.blocked {
  border-color: rgba(255, 84, 112, 0.42);
  color: #ffb9c5;
  background: rgba(255, 84, 112, 0.1);
}

.evolution-choice-tag.neutral {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.evolution-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.evolution-progress.small {
  height: 8px;
}

.evolution-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22e37d, #b5ffd1);
  box-shadow: 0 0 14px rgba(34, 227, 125, 0.4);
}

.evolution-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.evolution-meta span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
  font-size: 0.78rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
}

.modal-backdrop.show {
  display: grid;
}

.evolution-modal {
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.98);
  box-shadow: var(--shadow);
}

.tackle-payment-modal {
  width: min(520px, 100%);
}

.evolution-confirm-modal {
  width: min(560px, 100%);
}

.news-arena-modal {
  position: relative;
  width: min(720px, 100%);
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(4, 31, 24, 0.98), rgba(7, 16, 29, 0.98)),
    rgba(7, 16, 29, 0.98);
}

.update-notice-modal {
  width: min(500px, 100%);
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 227, 125, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(4, 31, 24, 0.98), rgba(7, 16, 29, 0.98));
}

.update-notice-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: 50%;
  background: rgba(34, 227, 125, 0.1);
  font-size: 1.8rem;
}

.update-notice-copy {
  display: grid;
  gap: 8px;
}

.update-notice-copy h2,
.update-notice-copy p {
  margin: 0;
}

.update-notice-copy h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.08;
}

.update-notice-copy p {
  color: #d8e5f5;
  line-height: 1.5;
}

.proposal-popup-modal {
  width: min(560px, 100%);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 106, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(4, 31, 24, 0.98), rgba(7, 16, 29, 0.98));
}

.proposal-popup-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.proposal-popup-head .crest {
  width: 58px;
  height: 58px;
}

.proposal-popup-head small {
  color: #ffd56a;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.proposal-popup-head h2 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.08;
}

.proposal-popup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.proposal-popup-grid article {
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.proposal-popup-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proposal-popup-grid strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 1rem;
}

.news-arena-head {
  display: grid;
  gap: 8px;
  padding-right: 42px;
}

.news-arena-head h2,
.news-arena-head p {
  margin: 0;
}

.news-arena-head h2 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.news-arena-head p {
  color: var(--muted);
  line-height: 1.45;
}

.news-arena-list {
  display: grid;
  gap: 10px;
  max-height: min(58vh, 520px);
  overflow: auto;
  padding: 2px 6px 2px 0;
  scrollbar-color: rgba(34, 227, 125, 0.55) rgba(255, 255, 255, 0.06);
}

.news-arena-list::-webkit-scrollbar {
  width: 8px;
}

.news-arena-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.news-arena-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.9), rgba(23, 138, 84, 0.9));
}

.news-arena-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.news-arena-item time {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.news-arena-item strong {
  color: var(--text);
  line-height: 1.25;
}

.news-arena-item small {
  color: var(--green);
  font-weight: 850;
}

.email-code-backdrop {
  z-index: 180;
  backdrop-filter: blur(8px);
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 227, 125, 0.2), transparent 24rem),
    rgba(0, 0, 0, 0.74);
}

.email-code-modal {
  position: relative;
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(34, 227, 125, 0.38);
  border-radius: 18px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(9, 27, 29, 0.98), rgba(7, 13, 27, 0.98)),
    rgba(7, 16, 29, 0.98);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.email-code-page {
  padding: 0;
  overflow: hidden;
}

.email-code-panel {
  width: 100%;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.email-code-modal h2,
.email-code-modal p {
  margin: 0;
}

.email-code-modal h2 {
  font-size: 1.6rem;
  line-height: 1.05;
}

.email-code-modal p {
  color: var(--muted);
  line-height: 1.5;
}

.email-code-badge {
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: 999px;
  color: var(--green);
  background: rgba(34, 227, 125, 0.09);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

.email-code-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 1.3rem;
}

.email-code-destination {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.2);
  border-radius: 12px;
  background: rgba(34, 227, 125, 0.07);
}

.email-code-destination span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-code-destination strong {
  color: #ffffff;
  word-break: break-word;
}

.email-code-modal .field {
  margin: 0;
}

.email-code-modal input {
  min-height: 58px;
  border-color: rgba(34, 227, 125, 0.34);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
}

.email-code-modal input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 227, 125, 0.14);
}

.email-code-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
}

.evolution-confirm-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 227, 125, 0.22), transparent 12rem),
    rgba(34, 227, 125, 0.07);
}

.evolution-confirm-hero .evolution-icon {
  width: 52px;
  height: 52px;
  font-size: 1.55rem;
}

.evolution-confirm-hero strong,
.evolution-confirm-hero small {
  display: block;
}

.evolution-confirm-hero strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.evolution-confirm-grid,
.evolution-compare {
  display: grid;
  gap: 8px;
}

.evolution-confirm-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.evolution-confirm-grid article,
.evolution-compare div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.evolution-confirm-grid span,
.evolution-compare span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evolution-confirm-grid strong,
.evolution-compare strong {
  color: #ffffff;
  font-size: 1rem;
}

.evolution-confirm-grid .danger {
  color: var(--danger);
}

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

.evolution-compare div:last-child {
  border-color: rgba(34, 227, 125, 0.32);
  background: rgba(34, 227, 125, 0.08);
}

.tackle-target-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.2);
  border-radius: var(--radius);
  background: rgba(34, 227, 125, 0.07);
}

.tackle-target-card .crest {
  width: 44px;
  height: 44px;
}

.tackle-target-card strong,
.tackle-target-card small {
  display: block;
}

.tackle-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tackle-pay-grid button {
  min-height: 66px;
  display: grid;
  gap: 4px;
  align-content: center;
}

.tackle-pay-grid small {
  color: inherit;
  opacity: 0.78;
}

.evolution-table {
  min-width: 420px;
}

.training-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.training-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.rank-cta {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  color: #06111d;
  font-weight: 950;
  cursor: pointer;
  background: linear-gradient(180deg, #28de7c, #16934d);
}

.rank-panel.blue .rank-cta {
  background: linear-gradient(180deg, #28de7c, #16934d);
  color: #06111d;
}

.rank-panel.orange .rank-cta {
  background: linear-gradient(180deg, #28de7c, #16934d);
  color: #06111d;
}

.records-section {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 27, 47, 0.72);
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

@media (min-width: 1180px) {
  .records-section .record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .records-section {
    padding: 12px;
  }

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

.record-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.compact-record-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label toggle"
    "value value"
    "holder holder";
  align-items: start;
  gap: 6px;
  min-height: 138px;
  padding: 12px;
}

.record-card span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.record-card strong {
  display: block;
  margin: 8px 0;
  font-size: 2rem;
}

.compact-record-card > span {
  grid-area: label;
  min-width: 0;
  overflow: hidden;
  min-height: 28px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-record-card > strong {
  grid-area: value;
  margin: 0;
  color: var(--amber);
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 200, 87, 0.26);
  align-self: end;
}

.premium-record-card {
  border-color: rgba(255, 200, 87, 0.46);
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.14), rgba(88, 37, 173, 0.18)), rgba(255, 255, 255, 0.055);
}

.premium-record-card > span {
  color: #ffd66b;
}

.compact-record-card.hour-record-card {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label toggle"
    "value value"
    "holder holder";
  min-height: 138px;
  gap: 6px 8px;
}

.compact-record-card.hour-record-card.showing-premium-record {
  border-color: rgba(255, 200, 87, 0.46);
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.12), rgba(88, 37, 173, 0.14)), rgba(255, 255, 255, 0.055);
}

.compact-record-card.hour-record-card.showing-premium-record > span {
  color: #ffd66b;
}

.record-toggle-button {
  grid-area: toggle;
  min-height: 24px;
  max-width: 92px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 200, 87, 0.34);
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.1);
  color: #ffd66b;
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-toggle-button:hover {
  background: rgba(255, 200, 87, 0.18);
}

.dry-record-card {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label toggle"
    "value value"
    "holder holder";
  min-height: 138px;
  gap: 6px 8px;
}

.record-premium-inline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  margin-top: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 200, 87, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.13), rgba(88, 37, 173, 0.14));
}

.record-premium-inline > span {
  color: #ffd66b;
  font-size: 0.68rem;
  font-weight: 900;
}

.record-premium-inline > strong {
  margin: 0;
  color: #ffd66b;
  font-size: 1.18rem;
  line-height: 1;
}

.record-premium-inline > div {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.record-premium-inline .crest {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.record-premium-inline em,
.record-premium-inline small {
  display: block;
  min-width: 0;
  font-style: normal;
}

.record-premium-inline em {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-premium-inline small {
  color: var(--muted);
  font-size: 0.68rem;
}

.profile-premium-inline {
  margin-top: 10px;
}

.record-card p {
  margin: 0;
  color: var(--muted);
}

.record-holder {
  grid-area: holder;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
  min-width: 0;
}

.compact-record-card .record-holder {
  margin: 0;
  align-self: end;
}

.record-holder .crest {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.record-holder span,
.record-holder small {
  display: block;
  min-width: 0;
}

.record-card .record-holder span {
  color: var(--text);
  overflow: hidden;
  font-size: 0.82rem;
  text-transform: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-holder small {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ticker {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  min-width: 0;
  flex-wrap: wrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid rgba(34, 227, 125, 0.14);
  border-radius: 999px;
  background: rgba(1, 12, 9, 0.58);
}

.ticker-item-button {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ticker-item-button:hover,
.ticker-item-button:focus-visible {
  border-color: rgba(34, 227, 125, 0.42);
  background: rgba(34, 227, 125, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.ticker-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker b,
.ticker-item b {
  color: var(--green);
}

.sync-pill {
  padding: 8px 10px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  background: rgba(34, 227, 125, 0.08);
}

.top-user-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.whatsapp-group-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(37, 211, 102, 0.34);
  border-radius: 16px;
  background: rgba(37, 211, 102, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.whatsapp-group-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, 0.68);
  background: rgba(37, 211, 102, 0.18);
}

.whatsapp-group-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
}

.clear-cache-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.68);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.clear-cache-btn:hover {
  color: var(--green);
  border-color: rgba(34, 227, 125, 0.48);
  background: rgba(34, 227, 125, 0.1);
  transform: translateY(-1px);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 270px;
  max-width: 360px;
  min-height: 42px;
  padding: 4px 10px 4px 6px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(3, 18, 15, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 20px rgba(0, 0, 0, 0.14);
}

.user-pill .crest {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 12px;
  background: rgba(1, 12, 9, 0.42);
  box-shadow: none;
}

.user-pill .crest img {
  max-width: 29px;
  max-height: 29px;
}

.user-pill-info {
  display: grid;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.user-pill-info strong,
.user-pill-info span,
.user-pill-wallet,
.user-pill-wallet b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill-info strong {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  line-height: 1.05;
}

.user-pill-info strong > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill-role {
  flex: 0 0 auto;
  width: auto;
  min-width: 17px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.58rem;
  line-height: 16px;
}

.user-pill-info span {
  font-size: 0.72rem;
  line-height: 1.05;
}

.user-pill-wallet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 0 0 auto;
  min-width: 72px;
  max-width: 120px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-align: right;
}

.user-pill-wallet b {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  color: var(--green);
}

.profile-button {
  color: var(--text);
  cursor: pointer;
}

.profile-button:hover {
  border-color: rgba(34, 227, 125, 0.5);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  color: var(--green);
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 16px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.dashboard-player {
  display: grid;
  gap: 16px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 36, 63, 0.88), rgba(10, 23, 40, 0.92));
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 18px;
}

.profile-page .card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--profile-card-color) 74%, #10243f), color-mix(in srgb, var(--profile-card-color) 56%, #071323));
}

.profile-hero-card {
  position: relative;
  min-height: 206px;
  overflow: hidden;
  padding-right: 184px;
}

.profile-player-avatar {
  position: absolute;
  right: 18px;
  bottom: -5px;
  width: 134px;
  max-height: 209px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.36));
}

.profile-status-badge {
  position: absolute;
  right: 16px;
  top: 56px;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 9px 11px;
  border: 1px solid rgba(34, 227, 125, 0.35);
  border-radius: 10px;
  background: rgba(3, 14, 16, 0.88);
  box-shadow: 0 0 22px rgba(34, 227, 125, 0.13);
}

.profile-status-badge strong {
  color: #f4fff8;
  font-size: 0.92rem;
}

.profile-status-badge span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.profile-status-badge.online {
  border-color: rgba(34, 227, 125, 0.55);
}

.profile-status-badge.shooting {
  border-color: rgba(255, 200, 87, 0.58);
  box-shadow: 0 0 22px rgba(255, 200, 87, 0.14);
}

.profile-status-badge.auto {
  border-color: rgba(59, 163, 255, 0.58);
  box-shadow: 0 0 22px rgba(59, 163, 255, 0.14);
}

.profile-status-badge.offline {
  border-color: rgba(255, 255, 255, 0.16);
  opacity: 0.82;
}

.profile-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--profile-message-color);
  border: 1px solid color-mix(in srgb, var(--profile-message-color) 28%, transparent);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 800;
}

.profile-goal-chart-card {
  grid-column: 1 / -1;
}

.profile-chart-tabs {
  margin-bottom: 10px;
}

.profile-goal-chart {
  overflow-x: auto;
  padding: 6px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 24%, rgba(34, 227, 125, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(0, 8, 8, 0.92), rgba(1, 15, 14, 0.96));
}

.profile-goal-chart svg {
  display: block;
  width: 100%;
  min-width: 520px;
  height: auto;
}

.chart-title {
  fill: #f4fff8;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
}

.chart-title tspan,
.chart-y-label,
.chart-x-label,
.chart-value {
  fill: var(--green);
}

.chart-grid line {
  stroke: rgba(180, 255, 205, 0.18);
  stroke-dasharray: 4 8;
}

.chart-grid text {
  fill: #f4fff8;
  font-size: 13px;
  font-weight: 900;
}

.chart-axis {
  stroke: var(--green);
  stroke-width: 2;
}

.chart-y-label,
.chart-x-label {
  font-size: 13px;
  font-weight: 950;
}

.chart-line-glow {
  fill: none;
  stroke: rgba(34, 227, 73, 0.42);
  stroke-width: 8;
  filter: url(#goalGlow);
}

.chart-line {
  fill: none;
  stroke: #55ff4e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-point line {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-dasharray: 3 6;
}

.chart-point circle {
  fill: #f4fff8;
  stroke: #55ff4e;
  stroke-width: 3;
  filter: url(#goalGlow);
}

.chart-value {
  font-size: 12px;
  font-weight: 950;
}

.chart-label {
  fill: #f4fff8;
  font-size: 12px;
  font-weight: 900;
}

.achievement-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.profile-achievement {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
}

.profile-achievement small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.trophy-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.34));
}

.tab-btn .trophy-icon,
.section-title h3 .trophy-icon,
.arena-bracket-head .trophy-icon {
  margin-right: 7px;
}

.trophy-final-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(255, 218, 102, 0.22));
}

.profile-page-pro {
  display: grid;
  gap: 16px;
}

.profile-page-pro .card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--profile-card-color) 72%, #16263e), color-mix(in srgb, var(--profile-card-color) 46%, #06111e));
}

.profile-hero-pro {
  min-height: 0;
  padding-right: 18px;
}

.profile-identity {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.profile-player-avatar-pro {
  width: 150px;
  height: 260px;
  object-fit: contain;
  object-position: center bottom;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.38));
}

.profile-identity-copy h2 {
  margin: 8px 0 6px;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.05;
}

.profile-name-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-contract-button {
  min-height: 34px;
  padding: 7px 13px;
  color: #071a12;
  border-color: #3af58e;
  background: linear-gradient(135deg, #55ff9f, #21c96e);
  font-weight: 950;
}

.profile-contract-button:disabled {
  color: var(--muted);
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
}

.profile-contract-modal[hidden] {
  display: none !important;
}

.profile-contract-dialog {
  width: min(560px, 100%);
}

.profile-contract-wallet {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(58, 245, 142, .25);
  border-radius: 8px;
  background: rgba(58, 245, 142, .07);
}

.profile-contract-wallet strong {
  color: #3af58e;
}

.profile-identity-copy > p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.profile-quick-stats,
.profile-stat-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.profile-quick-stats article,
.profile-stat-list > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.profile-quick-stats span,
.profile-stat-list span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-quick-stats strong,
.profile-stat-list strong {
  display: block;
  margin-top: 5px;
  color: #f8fbff;
  font-size: 1.25rem;
}

.profile-quick-stats small {
  color: var(--muted);
  font-weight: 800;
}

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

.profile-panel {
  min-width: 0;
}

.profile-titles-panel,
.profile-panel:has(.evolution-profile-grid),
.profile-panel:has(.achievement-showcase) {
  grid-column: 1 / -1;
}

.player-title-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.player-title-trophy {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 164px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.18));
  text-align: center;
}

.player-title-trophy-img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.35));
}

.player-title-trophy strong {
  min-width: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f5d365;
  color: #161007;
  font-size: 1.15rem;
}

.player-title-trophy span {
  font-weight: 950;
}

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

.title-row > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.title-row-trophy {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.32));
}

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

.recados-title {
  align-items: end;
}

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

.recado-compose-card {
  position: sticky;
  top: 88px;
}

.recado-form {
  display: grid;
  gap: 12px;
}

.recado-form textarea {
  min-height: 150px;
}

.recado-compose-hints {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.recados-list-card {
  min-width: 0;
}

.recados-list {
  display: grid;
  gap: 12px;
}

.recado-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.recado-card.message-unread {
  border-color: rgba(34, 227, 125, 0.34);
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.11), rgba(255, 255, 255, 0.045));
}

.recado-card-head,
.recado-card-head > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.recado-card-head {
  justify-content: space-between;
}

.recado-card-head strong,
.recado-card-head small {
  display: block;
}

.recado-card-head small {
  color: var(--muted);
  font-weight: 800;
}

.recado-card p {
  margin: 0;
  color: #eef7ff;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.recado-thread-preview {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-left: 3px solid rgba(34, 227, 125, 0.72);
  border-radius: 8px;
  background: rgba(34, 227, 125, 0.08);
}

.recado-thread-preview span,
.recado-thread summary,
.recado-thread small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.recado-thread-preview strong {
  color: var(--green);
}

.recado-thread-preview p {
  color: #cfe0ed;
  font-size: 0.9rem;
}

.recado-thread {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
}

.recado-thread summary {
  cursor: pointer;
  color: #d7e6f2;
}

.recado-thread > div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.recado-thread > div > span {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.recado-thread strong {
  color: #ffffff;
}

.recado-thread p {
  color: #dce9f3;
  font-size: 0.9rem;
}

.recado-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recado-reply-form input {
  min-height: 42px;
}

.recado-actions {
  margin-top: 14px;
}

.level-progress-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.level-progress-card strong {
  color: #f4fff8;
}

.level-progress-meta {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--text);
  font-weight: 900;
}

.level-progress-meta small {
  color: var(--muted);
  font-weight: 800;
}

.level-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.level-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18df6b, #68ff9d);
  box-shadow: 0 0 18px rgba(34, 227, 125, 0.3);
}

.top-achievements-card {
  grid-column: 1 / -1;
}

.top-achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.top-achievement-panel {
  position: relative;
  overflow: hidden;
  padding: 0 14px 13px;
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(34, 227, 125, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(5, 24, 18, 0.94), rgba(3, 13, 17, 0.96));
  box-shadow: inset 0 1px 0 rgba(181, 255, 209, 0.08), 0 0 24px rgba(34, 227, 125, 0.08);
}

.top-achievement-panel > span {
  display: block;
  margin: 0 -14px 10px;
  padding: 11px 14px;
  text-align: center;
  color: #06111d;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #2cf08b, #13a856);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.top-achievement-panel > strong {
  display: block;
  margin: 7px 0 12px;
  text-align: center;
  color: #f4fff8;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1;
  text-shadow: 0 0 18px rgba(34, 227, 125, 0.28);
}

.top-position-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(34, 227, 125, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.top-position-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 29px;
  padding: 0 9px;
  border-top: 1px solid rgba(34, 227, 125, 0.13);
  color: #d8f7e5;
  font-size: 0.82rem;
}

.top-position-list div:first-child {
  border-top: 0;
}

.top-position-list div:nth-child(odd) {
  background: rgba(34, 227, 125, 0.035);
}

.top-position-list b {
  min-width: 34px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #06111d;
  text-align: center;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34, 227, 125, 0.18);
}

.message-unread {
  border-color: rgba(255, 53, 79, 0.32);
  background: rgba(255, 53, 79, 0.08);
}

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

.team-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 199, 74, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(4, 18, 16, 0.96), rgba(1, 10, 10, 0.98));
}

.team-stadium-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(250px, 330px);
  align-items: center;
  gap: 16px;
  margin: -18px -18px -8px;
}

.team-representatives-panel,
.team-supporter-panel {
  align-self: stretch;
}

.team-representatives-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 14px;
  border: 1px solid rgba(34, 227, 125, 0.22);
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.74);
}

.team-representatives-panel .section-title {
  margin-bottom: 0;
}

.team-representatives-list {
  gap: 8px;
}

.team-representatives-list .list-item {
  min-height: 48px;
  padding: 8px;
}

.team-representatives-list .crest {
  width: 30px;
  height: 30px;
}

.representative-self-toggle {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 999px;
  background: rgba(34, 227, 125, 0.08);
}

.team-stadium-stage {
  position: relative;
  min-height: clamp(240px, 42vw, 520px);
  display: grid;
  place-items: center;
  margin: 0;
}

.team-stadium-img {
  width: min(100%, 1180px);
  max-height: clamp(250px, 44vw, 560px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.5));
}

.team-stadium-logo {
  position: absolute;
  top: 25.8%;
  left: 50%;
  width: clamp(68px, 11.5vw, 145px);
  height: clamp(68px, 11.5vw, 145px);
  transform: translate(-50%, calc(-50% + 8px));
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.team-stadium-logo .club-logo-large,
.team-stadium-logo .crest {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.team-stadium-logo img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.team-supporter-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 280px;
  margin-right: 18px;
  padding: 18px;
  border: 1px solid rgba(34, 227, 125, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 227, 125, 0.16), transparent 38%),
    rgba(4, 16, 19, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 18px 36px rgba(0, 0, 0, 0.24);
}

.team-supporter-panel h3,
.team-supporter-panel p {
  margin: 0;
}

.team-supporter-panel h3 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.team-supporter-panel p,
.team-supporter-panel small {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.4;
}

.supporter-money-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.supporter-money-grid article {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.supporter-money-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.supporter-money-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 1rem;
}

.treasury-log-list {
  margin-top: 12px;
}

.team-shop-panel {
  grid-column: 1 / -1;
}

.team-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 12px;
}

.team-shop-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 33, 56, 0.9), rgba(4, 17, 26, 0.92));
}

.team-shop-card.epic {
  border-color: rgba(142, 92, 247, 0.45);
}

.team-shop-card.legendary {
  border-color: rgba(255, 198, 87, 0.55);
}

.team-shop-card.rare {
  border-color: rgba(59, 163, 255, 0.45);
}

.team-shop-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
}

.team-shop-body {
  min-width: 0;
}

.team-shop-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-shop-title strong {
  color: var(--text);
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.team-shop-title span {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(142, 92, 247, 0.18);
  color: #cdb8ff;
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.team-shop-card.legendary .team-shop-title span {
  background: rgba(255, 198, 87, 0.16);
  color: #ffd56c;
}

.team-shop-card.rare .team-shop-title span {
  background: rgba(59, 163, 255, 0.16);
  color: #7dccff;
}

.team-shop-body p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.team-shop-levels,
.team-shop-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.team-shop-levels em {
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(34, 227, 125, 0.1);
  color: var(--green);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 950;
}

.team-shop-levels em.active {
  background: rgba(255, 198, 87, 0.18);
  color: #ffd56c;
}

.team-shop-buy-row {
  margin-top: 10px;
}

.team-shop-buy-row small {
  margin-right: auto;
  color: var(--muted);
  font-weight: 850;
}

.team-shop-buy-row button {
  min-height: 32px;
  padding: 7px 10px;
}

.club-modern-page {
  display: grid;
  gap: 16px;
}

.club-manager-page {
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
}

.club-manager-page-wide {
  grid-template-columns: minmax(0, 1fr);
}

.club-manager-sidebar {
  position: sticky;
  top: 84px;
  padding: 16px;
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 198, 87, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 24, 43, 0.96), rgba(4, 15, 25, 0.98));
}

.club-sidebar-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.club-sidebar-head strong,
.club-manager-title h2,
.club-manager-top h2 {
  margin: 0;
  color: var(--text);
}

.club-sidebar-head small {
  color: var(--muted);
  font-weight: 850;
}

.club-manager-tabs {
  display: grid;
  gap: 8px;
}

.club-manager-inline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 200, 87, 0.22);
  border-radius: 8px;
  background: rgba(3, 16, 22, 0.76);
}

.club-manager-inline-tabs button {
  flex: 1 1 130px;
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.club-manager-inline-tabs button.active {
  border-color: rgba(255, 200, 87, 0.62);
  color: #ffe28a;
  background: linear-gradient(90deg, rgba(255, 200, 87, 0.22), rgba(34, 227, 125, 0.08));
}

.club-manager-tabs button {
  width: 100%;
  justify-content: flex-start;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.club-manager-tabs button.active {
  border-color: rgba(255, 198, 87, 0.65);
  background: linear-gradient(90deg, rgba(255, 198, 87, 0.26), rgba(34, 227, 125, 0.08));
  color: #ffe28a;
}

.club-leave-btn {
  margin-top: 8px;
}

.club-manager-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.club-manager-top,
.club-manager-card-main,
.club-transfer-hero,
.club-transfer-card,
.club-custom-item {
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 29, 48, 0.9), rgba(4, 17, 25, 0.94));
}

.club-manager-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.club-top-wallet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.club-top-wallet span {
  padding: 9px 12px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: 8px;
  color: var(--green);
  font-weight: 950;
  background: rgba(34, 227, 125, 0.08);
}

.club-manager-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 16px;
}

.club-manager-card-main {
  padding: 18px;
}

.club-manager-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.club-manager-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.club-manager-stats article {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.club-manager-stats b {
  display: block;
  color: var(--green);
  font-size: 1.1rem;
}

.club-manager-stats span,
.club-custom-item small,
.club-custom-item span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.club-custom-panel {
  grid-column: 1 / -1;
}

.club-phrase-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto;
  gap: 10px;
  align-items: end;
}

.compact-color input {
  min-height: 42px;
  padding: 4px;
}

.club-phrase-preview,
.team-phrase-banner {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--club-phrase-color) 70%, transparent);
  border-radius: 8px;
  color: var(--club-phrase-color);
  font-weight: 950;
  text-align: center;
  background: color-mix(in srgb, var(--club-phrase-color) 10%, rgba(3, 14, 19, 0.86));
}

.club-phrase-preview.compact {
  text-align: left;
}

.club-phrase-preview.compact small,
.club-phrase-preview.compact strong {
  display: block;
}

.club-phrase-preview.compact small {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.club-custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.club-custom-item {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.club-custom-item strong,
.club-custom-item small,
.club-custom-item span {
  display: block;
  line-height: 1.25;
  white-space: normal;
}

.club-custom-item .club-custom-icon {
  display: inline-block;
  margin-right: 6px;
}

.club-custom-item.active {
  border-color: rgba(255, 198, 87, 0.6);
}

.club-transfer-modern {
  display: grid;
  gap: 14px;
}

.club-transfer-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.club-transfer-hero h2 {
  margin: 4px 0;
}

.club-transfer-status {
  min-width: 180px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.club-transfer-status strong,
.club-transfer-status small {
  display: block;
  text-align: right;
}

.club-transfer-status strong {
  color: var(--green);
  font-size: 1.05rem;
}

.club-transfer-status small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.club-transfer-alert {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 900;
}

.club-transfer-alert.ok {
  color: var(--green);
  background: rgba(34, 227, 125, 0.1);
}

.club-transfer-alert.warn {
  color: #ffd56c;
  background: rgba(255, 198, 87, 0.1);
}

.club-transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.club-transfer-card {
  padding: 12px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.club-transfer-card button {
  grid-column: 1 / -1;
}

.club-transfer-card.current {
  border-color: rgba(255, 198, 87, 0.55);
}

.team-phrase-banner {
  max-width: 960px;
  margin: 12px auto 0;
}

@media (max-width: 760px) {
  .team-shop-grid {
    grid-template-columns: 1fr;
  }
  .club-manager-page,
  .club-manager-overview {
    grid-template-columns: 1fr;
  }
  .club-manager-sidebar {
    position: static;
  }
  .club-manager-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .club-manager-top,
  .club-transfer-hero {
    align-items: stretch;
    flex-direction: column;
  }
  .club-phrase-form,
  .club-custom-grid,
  .club-manager-stats {
    grid-template-columns: 1fr;
  }
  .club-transfer-status {
    width: 100%;
  }
}

.team-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.team-hero-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.team-hero h2 {
  margin: 6px 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.94;
}

.team-reactions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.team-reactions button {
  display: grid;
  gap: 2px;
  min-width: 112px;
}

.team-reactions button.active-reaction {
  border-color: rgba(34, 227, 125, 0.75);
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.22), rgba(34, 227, 125, 0.08));
  box-shadow: 0 0 0 1px rgba(34, 227, 125, 0.18), 0 0 18px rgba(34, 227, 125, 0.12);
}

.team-reactions small {
  color: var(--muted);
  font-size: 0.68rem;
}

.team-live-wide {
  grid-column: 1 / -1;
}

.team-field-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.18) calc(50% - 1px), rgba(255, 255, 255, 0.18) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(circle at 50% 55%, transparent 0 70px, rgba(255, 255, 255, 0.15) 71px 73px, transparent 74px),
    repeating-linear-gradient(90deg, rgba(34, 227, 125, 0.09) 0 72px, rgba(34, 227, 125, 0.025) 72px 144px),
    linear-gradient(135deg, rgba(3, 42, 24, 0.96), rgba(1, 19, 14, 0.98));
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.24);
}

.team-field-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.team-field-head h3 {
  margin: 7px 0 0;
  color: #ffffff;
  font-size: 1.45rem;
}

.team-field-head strong {
  padding: 7px 11px;
  border: 1px solid rgba(34, 227, 125, 0.24);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.65rem;
}

.team-field-head strong.live {
  color: var(--green);
  box-shadow: 0 0 18px rgba(34, 227, 125, 0.16);
}

.team-field-score {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 2px;
}

.team-field-brgol-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px) minmax(0, 1fr);
  grid-template-areas: "home score away";
  align-items: stretch;
  gap: 14px;
  min-height: 450px;
}

.team-field-brgol-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.14) calc(50% - 1px), rgba(255,255,255,.14) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(circle at 50% 55%, transparent 0 68px, rgba(255,255,255,.12) 69px 71px, transparent 72px);
}

.team-field-brgol-club {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  min-width: 0;
}

.team-field-brgol-club.home {
  grid-area: home;
  justify-items: start;
}

.team-field-brgol-club.away {
  grid-area: away;
  justify-items: end;
  text-align: right;
}

.team-field-brgol-club > .club-logo-plain {
  width: clamp(58px, 8vw, 86px);
  height: clamp(58px, 8vw, 86px);
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.42));
}

.team-field-brgol-club > strong {
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

.team-field-brgol-top {
  width: 100%;
  margin-top: 20px;
}

.team-field-center {
  position: relative;
  z-index: 1;
  grid-area: score;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  min-height: 240px;
  margin: 42px auto 0;
  align-self: start;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 36px rgba(34, 227, 125, 0.12);
}

.team-field-center span,
.team-field-center small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-field-center b {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: start;
  column-gap: 12px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: .9;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(34, 227, 125, 0.2);
}

.team-field-center b em {
  min-width: 92px;
  font-style: normal;
  text-align: right;
}

.team-field-center b i {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #ffffff;
  font-style: normal;
}

.team-field-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.team-active-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
}

.scoreboard .team .team-active-items {
  margin-top: 6px;
}

.team-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 999px;
  color: #ddfff0;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 14px rgba(34, 227, 125, 0.08);
  font-size: 0.66rem;
  font-weight: 950;
  white-space: nowrap;
}

.team-item-badge b {
  color: var(--green);
  font-size: 0.86rem;
  line-height: 1;
}

.team-item-badge em {
  color: #ffffff;
  font-style: normal;
}

.team-item-badge.legendary {
  border-color: rgba(255, 194, 71, 0.48);
  box-shadow: inset 0 0 16px rgba(255, 194, 71, 0.12);
}

.team-item-badge.legendary b {
  color: #ffc247;
}

.team-item-badge.rare {
  border-color: rgba(74, 180, 255, 0.42);
}

.team-item-badge.rare b {
  color: #4ab4ff;
}

.team-field-side {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.team-field-club {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 0;
}

.team-field-club .club-logo-plain {
  width: 58px;
  height: 58px;
}

.team-field-club strong {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-field-side.away .team-field-club {
  grid-template-columns: auto minmax(0, 1fr);
  direction: rtl;
  text-align: right;
}

.team-field-side.away .team-field-club > * {
  direction: ltr;
}

.team-field-top10 {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(34, 227, 125, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.team-field-top10 button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  min-height: 26px;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  color: #dff8e9;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  font-size: 0.68rem;
  font-weight: 850;
}

.team-field-top10 button:hover {
  color: #06111d;
  background: var(--green);
}

.team-field-top10 span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-field-top10 b {
  color: var(--green);
}

.team-field-top10 p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 820px) {
  .team-field-card {
    min-height: 0;
  }

  .team-field-brgol-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "score"
      "home"
      "away";
    min-height: 0;
  }

  .team-field-center {
    margin-top: 4px;
    min-height: 170px;
  }

  .team-field-brgol-club,
  .team-field-brgol-club.away {
    justify-items: stretch;
    text-align: left;
  }

  .team-field-brgol-club > .club-logo-plain {
    width: 54px;
    height: 54px;
  }
}

.reaction-ranks-card {
  grid-column: 1 / -1;
}

.reaction-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reaction-rank-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.08), rgba(2, 18, 14, 0.72));
}

.reaction-rank-box > strong {
  color: #eafff2;
  letter-spacing: 0;
}

.reaction-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.reaction-rank-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.reaction-rank-row .crest {
  width: 24px;
  height: 24px;
}

.reaction-rank-row b {
  color: var(--green);
}

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

.current-round-page .dashboard-grid {
  align-items: start;
}

.logged-out-page {
  min-height: 100vh;
  padding: 24px clamp(16px, 4vw, 54px) 54px;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 227, 125, 0.18), transparent 32rem),
    radial-gradient(circle at 78% 8%, rgba(59, 163, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #020806 0%, #06110d 48%, #050910 100%);
}

.logged-out-nav {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  backdrop-filter: blur(16px);
}

.logged-out-nav nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.logged-out-hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.62fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  padding: 42px 0 34px;
}

.login-stage h1 {
  margin: 14px 0 18px;
  max-width: 880px;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0;
}

.login-stage p {
  max-width: 680px;
  color: #b9c9bd;
  font-size: 1.08rem;
  line-height: 1.7;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 227, 125, 0.26);
  border-radius: 999px;
  color: var(--green);
  background: rgba(34, 227, 125, 0.08);
  font-weight: 900;
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.landing-metrics div,
.landing-grid article,
.landing-timeline div {
  padding: 16px;
  border: 1px solid rgba(34, 227, 125, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 14, 16, 0.72);
}

.landing-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.6rem;
}

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

.login-panel {
  padding: 20px;
  border-color: rgba(34, 227, 125, 0.22);
  background: rgba(8, 18, 32, 0.88);
}

.auth-stack {
  display: grid;
  gap: 16px;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.forgot-password-link {
  min-height: 44px;
  padding: 10px 2px;
  border: 0;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  text-align: right;
}

.forgot-password-link:hover {
  color: #ffffff;
}

.recover-panel {
  border-color: rgba(34, 227, 125, 0.34);
  background:
    radial-gradient(circle at 15% 12%, rgba(34, 227, 125, 0.15), transparent 12rem),
    rgba(8, 18, 32, 0.92);
}

.landing-section {
  display: grid;
  gap: 18px;
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 34px 0;
  border-top: 1px solid rgba(34, 227, 125, 0.12);
}

.landing-section h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 4.2rem);
  line-height: 0.98;
}

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

.landing-grid article {
  display: grid;
  gap: 10px;
}

.landing-grid b {
  color: var(--green);
}

.landing-grid strong,
.landing-timeline strong {
  display: block;
  font-size: 1.15rem;
}

.landing-duel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: center;
}

.landing-duel p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.landing-action-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(34, 227, 125, 0.2);
  border-radius: var(--radius);
  background: rgba(3, 14, 16, 0.72);
}

.landing-action-preview button {
  display: grid;
  gap: 4px;
  min-height: 72px;
}

.landing-action-preview span {
  color: var(--muted);
  font-weight: 950;
}

.landing-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

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

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: rgba(0, 0, 0, 0.22);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  font: inherit;
}

.primary, .danger, .ghost {
  min-height: 44px;
  padding: 12px 16px;
  font-weight: 850;
  color: #03130b;
  background: var(--green);
}

.danger {
  color: #fff;
  background: var(--red);
}

.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.primary:disabled, .danger:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.1);
}

.primary.premium-shot-button {
  color: #2b1700;
  border: 1px solid rgba(255, 213, 106, 0.72);
  background: linear-gradient(135deg, #fff0a8, #ffc847 46%, #d89413);
  box-shadow: 0 0 0 1px rgba(255, 213, 106, 0.18), 0 0 22px rgba(255, 200, 87, 0.28);
}

.primary.premium-shot-button small {
  color: #4b2b00;
}

.primary.premium-shot-button:disabled {
  color: rgba(43, 23, 0, 0.68);
  background: linear-gradient(135deg, rgba(255, 240, 168, 0.62), rgba(255, 200, 71, 0.48), rgba(216, 148, 19, 0.42));
  box-shadow: 0 0 14px rgba(255, 200, 87, 0.16);
}

.score-card {
  overflow: hidden;
}

.dashboard-main-match {
  border-color: rgba(34, 227, 125, 0.28);
}

.dashboard-duel-card {
  border-color: rgba(34, 227, 125, 0.26);
}

.duel-leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.duel-column {
  min-width: 0;
}

.duel-column-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.duel-list {
  display: grid;
  gap: 4px;
}

.duel-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-align: left;
  background: transparent;
}

.duel-row:hover {
  background: rgba(34, 227, 125, 0.08);
}

.duel-row > span:first-child {
  color: var(--gold);
  font-weight: 1000;
}

.duel-row small {
  display: block;
  color: var(--muted);
}

.security-verify-backdrop {
  z-index: 1200;
  background: rgba(0, 7, 6, 0.84);
  backdrop-filter: blur(9px);
}

.security-verify-modal {
  position: relative;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 1px solid rgba(29, 212, 103, 0.5);
  border-radius: 10px;
  color: #eefbf3;
  background: #06130f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(230, 188, 69, 0.18), 0 0 34px rgba(29, 212, 103, 0.15);
}

.security-verify-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  color: rgba(238, 251, 243, 0.68);
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.security-verify-hero {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px 28px 22px;
  text-align: center;
  border-bottom: 1px solid rgba(29, 212, 103, 0.24);
  background:
    linear-gradient(135deg, rgba(11, 69, 45, 0.94), rgba(7, 23, 20, 0.98)),
    radial-gradient(circle at 50% 0, rgba(230, 188, 69, 0.18), transparent 56%);
}

.security-verify-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(230, 188, 69, 0.55);
  border-radius: 16px;
  color: #f8d564;
  background: rgba(0, 0, 0, 0.22);
  font-size: 2.1rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 0 18px rgba(29, 212, 103, 0.18);
}

.security-verify-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
}

.security-verify-hero p {
  max-width: 330px;
  margin: 0;
  color: rgba(238, 251, 243, 0.74);
  line-height: 1.55;
}

.security-verify-body {
  display: grid;
  gap: 16px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(4, 22, 17, 0.98), rgba(4, 13, 12, 0.98)),
    radial-gradient(circle at 0 100%, rgba(29, 212, 103, 0.14), transparent 44%);
}

.security-support-link {
  display: inline-flex;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(34, 227, 125, 0.42);
  border-radius: 999px;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
  background: rgba(34, 227, 125, 0.08);
}

.security-verify-instruction {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 188, 69, 0.28);
  border-radius: 8px;
  text-align: center;
  background: rgba(4, 28, 20, 0.72);
}

.security-verify-instruction small {
  color: #f8d564;
  font-weight: 800;
  text-transform: uppercase;
}

.security-verify-instruction strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(29, 212, 103, 0.28);
  border-radius: 8px;
  background: #020b09;
}

.security-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 82px;
  border: 1px solid rgba(238, 251, 243, 0.2);
  border-radius: 6px;
  color: hsl(var(--captcha-letter-hue, 140), var(--captcha-letter-sat, 46%), var(--captcha-letter-light, 52%));
  background:
    radial-gradient(circle at var(--captcha-dot-x, 18px) var(--captcha-dot-y, 22px), rgba(116, 90, 190, 0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 75% 24%, rgba(48, 161, 121, 0.58) 0 8px, transparent 9px),
    radial-gradient(circle at 34% 76%, rgba(215, 86, 150, 0.5) 0 7px, transparent 8px),
    radial-gradient(circle at 62% 68%, rgba(219, 185, 66, 0.5) 0 5px, transparent 6px),
    linear-gradient(27deg, transparent 0 34%, rgba(76, 168, 116, 0.58) 35% 45%, transparent 46%),
    linear-gradient(154deg, transparent 0 var(--captcha-noise, 50%), rgba(126, 112, 185, 0.52) calc(var(--captcha-noise, 50%) + 1%) calc(var(--captcha-noise, 50%) + 10%), transparent calc(var(--captcha-noise, 50%) + 11%)),
    repeating-linear-gradient(8deg, rgba(15, 23, 42, 0.16) 0 3px, transparent 3px 8px),
    repeating-linear-gradient(94deg, rgba(37, 99, 235, 0.14) 0 2px, transparent 2px 12px),
    #e8f0eb;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-weight: 800;
  font-size: 2.05rem;
  text-shadow:
    1px 0 rgba(255, 255, 255, 0.18),
    -1px 1px rgba(15, 23, 42, 0.12);
}

.security-cell::before,
.security-cell::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
}

.security-cell::before {
  background:
    linear-gradient(18deg, transparent 0 23%, rgba(54, 145, 94, 0.68) 24% 36%, transparent 37%),
    linear-gradient(102deg, transparent 0 47%, rgba(178, 86, 166, 0.5) 48% 60%, transparent 61%),
    linear-gradient(146deg, transparent 0 62%, rgba(37, 99, 235, 0.42) 63% 73%, transparent 74%),
    repeating-linear-gradient(118deg, rgba(15, 23, 42, 0.16) 0 2px, transparent 2px 11px);
  mix-blend-mode: multiply;
}

.security-cell::after {
  opacity: 1;
  background-image:
    radial-gradient(circle, rgba(120, 127, 153, 0.56) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(68, 181, 129, 0.48) 0 3px, transparent 4px),
    linear-gradient(72deg, transparent 0 38%, rgba(15, 23, 42, 0.28) 39% 44%, transparent 45%),
    linear-gradient(12deg, transparent 0 56%, rgba(236, 72, 153, 0.24) 57% 63%, transparent 64%);
  background-position: 0 0, 17px 19px;
  background-size: 31px 29px, 37px 41px;
}

.security-cell:hover {
  border-color: #f8d564;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(248, 213, 100, 0.25), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.security-cell:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.security-cell span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: rotate(var(--captcha-rot, 0deg)) skewX(-3deg);
  font-family: "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif;
  opacity: 0.73;
  filter: blur(0.22px) contrast(0.98) saturate(1);
  mix-blend-mode: multiply;
}

.security-new-sequence {
  justify-self: center;
  border-radius: 999px;
}

.security-verify-backdrop.is-submitting .security-grid {
  opacity: 0.72;
  pointer-events: none;
}

.security-ban-note {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 77, 109, 0.42);
  border-radius: var(--radius);
  color: #ffd4dc;
  background: rgba(255, 77, 109, 0.12);
}

.security-ban-note strong {
  color: #ffffff;
}

@media (max-width: 520px) {
  .security-verify-body {
    padding: 20px;
  }

  .security-cell {
    min-height: 74px;
  }
}

.goal-history {
  display: grid;
  gap: 12px;
}

.goal-history > div {
  display: grid;
  grid-template-columns: 90px 70px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.goal-history strong {
  text-align: right;
}

.goal-history em {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.goal-history i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #b5ffd1);
}

.highlight-row {
  background: rgba(34, 227, 125, 0.1);
}

.match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.live {
  color: var(--green);
  font-weight: 900;
}

.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 24px 18px;
}

.team {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.team .crest {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.score {
  min-width: 142px;
  text-align: center;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 1000;
  line-height: 1;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric {
  padding: 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metric:last-child { border-right: 0; }
.metric b { display: block; font-size: 1.3rem; }
.metric span { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; }

.action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.action-note {
  margin: -6px 18px 18px;
}

.beep-controls {
  display: grid;
  grid-template-columns: auto minmax(110px, 1fr) auto minmax(110px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 0 18px 16px;
}

.beep-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.beep-controls select {
  min-width: 0;
  padding: 9px 10px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.action-row button {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 1rem;
}

.action-row small {
  font-weight: 700;
  opacity: 0.85;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
}

.section-title h2, .section-title h3 {
  margin: 0;
}

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

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

.table th, .table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.club-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.club-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.club-card .crest {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tab-btn {
  color: var(--muted);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  color: #06111d;
  background: var(--green);
}

.player-select-list {
  max-height: 280px;
  overflow: auto;
}

.player-select {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  text-align: left;
}

.player-select.active {
  border-color: rgba(34, 227, 125, 0.7);
  background: rgba(34, 227, 125, 0.13);
}

.player-select span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.player-select small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item select,
.card input[type="number"] {
  min-height: 36px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  padding: 7px 10px;
}

.bottom-nav {
  display: none;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 16;
  display: grid;
  grid-template-columns: minmax(185px, auto) auto auto auto;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 28px);
  padding: 10px;
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-actions.ready {
  border-color: rgba(34, 227, 125, 0.58);
  box-shadow: 0 18px 70px rgba(34, 227, 125, 0.14), var(--shadow);
}

.floating-actions > div {
  display: grid;
  gap: 2px;
  padding: 0 6px;
}

.quick-actions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.floating-actions > div span {
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-actions button {
  min-width: 104px;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 1px;
}

.quick-actions-toggle {
  display: grid;
}

.floating-actions:not(.open) {
  grid-template-columns: auto;
}

.floating-actions.open {
  grid-template-columns: auto minmax(185px, auto) auto auto auto;
}

.floating-actions:not(.open) > div,
.floating-actions:not(.open) .quick-chat-button,
.floating-actions:not(.open) [data-action="shoot"],
.floating-actions:not(.open) [data-action="dry"],
.floating-actions:not(.open) [data-action="field-mode"],
.floating-actions:not(.open) .quick-chat-popover {
  display: none;
}

.floating-actions.open .quick-actions-toggle {
  grid-column: auto;
}

.auto-goal-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid rgba(59, 163, 255, 0.35);
  border-radius: var(--radius);
  color: #bfe4ff;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(59, 163, 255, 0.08);
}

.auto-goal-mini strong {
  color: var(--green);
}

.auto-goal-mini.premium-active {
  border-color: rgba(255, 200, 87, 0.62);
  color: #ffe6a3;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(118, 76, 18, 0.16));
  box-shadow: 0 0 16px rgba(255, 200, 87, 0.16);
}

.auto-goal-mini.premium-active strong {
  color: #ffd66b;
}

.floating-actions button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.1);
}

.quick-chat-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  overflow: hidden;
  width: min(610px, calc(100vw - 28px));
  max-height: min(540px, 76vh);
  border: 1px solid rgba(34, 227, 125, 0.34);
  border-radius: var(--radius);
  background: rgba(9, 14, 27, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), var(--shadow);
}

.quick-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-chat-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-chat-head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 0.88rem;
}

.quick-chat-head strong span,
.quick-chat-head small {
  color: var(--green);
}

.quick-chat-head nav {
  display: flex;
  gap: 5px;
}

.quick-chat-head nav button {
  min-width: 28px;
  min-height: 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.quick-chat-head nav button.active,
.quick-chat-head nav button:hover {
  color: var(--green);
  border-color: rgba(34, 227, 125, 0.28);
  background: rgba(34, 227, 125, 0.1);
}

.quick-chat-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-chat-tabs button {
  min-width: 0;
  min-height: 36px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
}

.quick-chat-tabs button.active {
  color: var(--green);
  background: rgba(34, 227, 125, 0.08);
  box-shadow: inset 0 -2px 0 var(--green);
}

.quick-chat-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  min-height: 0;
}

.quick-chat-list {
  display: grid;
  align-content: start;
  gap: 6px;
  max-height: min(345px, 48vh);
  overflow: auto;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(174, 185, 202, 0.55) rgba(255, 255, 255, 0.04);
}

.quick-chat-message {
  display: grid;
  grid-template-columns: 22px 26px minmax(0, 1fr);
  align-items: start;
  gap: 5px;
}

.quick-chat-number {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 3px;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #7b2cff);
  font-size: 0.7rem;
  font-weight: 900;
}

.quick-chat-crest .crest,
.quick-chat-crest img {
  width: 24px;
  height: 24px;
}

.quick-chat-content {
  min-width: 0;
}

.quick-chat-meta {
  display: grid;
  grid-template-columns: minmax(0, auto) auto 1fr;
  align-items: center;
  gap: 5px;
}

.quick-chat-meta strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.quick-chat-meta em {
  padding: 1px 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  color: #aeb9ca;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 900;
}

.quick-chat-meta small {
  justify-self: end;
  color: rgba(174, 185, 202, 0.5);
  font-size: 0.58rem;
}

.quick-chat-message p {
  margin: 3px 0 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.3;
  font-size: 0.8rem;
}

.quick-chat-online {
  min-height: 0;
  max-height: min(345px, 48vh);
  overflow: hidden;
  padding: 8px 8px;
}

.quick-chat-online > strong {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.quick-chat-online > div {
  display: grid;
  gap: 5px;
  max-height: calc(min(345px, 48vh) - 24px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(174, 185, 202, 0.55) rgba(255, 255, 255, 0.04);
}

.quick-chat-online button {
  display: grid;
  grid-template-columns: 20px 22px minmax(72px, 1fr);
  grid-template-areas:
    "num crest name"
    "num crest tag";
  align-items: center;
  column-gap: 5px;
  row-gap: 1px;
  min-width: 0;
  min-height: 33px;
  width: 100%;
  padding: 3px 4px;
  border: 0;
  border-radius: 5px;
  color: var(--text);
  background: transparent;
}

.quick-chat-online button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.quick-chat-online button > span:first-child {
  grid-area: num;
  display: inline-grid;
  place-items: center;
  height: 18px;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #21c875);
  font-size: 0.58rem;
  font-weight: 900;
}

.quick-chat-online .crest,
.quick-chat-online img {
  grid-area: crest;
  width: 20px;
  height: 20px;
}

.quick-chat-online b {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--green);
  font-size: 0.72rem;
  line-height: 1.05;
}

.quick-chat-online small {
  grid-area: tag;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  padding: 1px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  color: #c4cfdd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.43rem;
  line-height: 1.1;
  font-weight: 900;
}

.quick-chat-list::-webkit-scrollbar,
.quick-chat-online > div::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.quick-chat-list::-webkit-scrollbar-track,
.quick-chat-online > div::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.quick-chat-list::-webkit-scrollbar-thumb,
.quick-chat-online > div::-webkit-scrollbar-thumb {
  border: 2px solid rgba(9, 14, 27, 0.98);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 227, 125, 0.68), rgba(174, 185, 202, 0.55));
}

.quick-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-chat-form input {
  min-height: 36px;
  color: var(--text);
  border: 1px solid rgba(34, 227, 125, 0.28);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.24);
  padding: 8px 10px;
}

.quick-chat-form button {
  min-width: 38px;
  min-height: 36px;
}

.quick-chat-private-link,
.quick-chat-empty {
  margin: 8px;
}

.quick-chat-private-link {
  min-height: 36px;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  z-index: 20;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(10, 23, 40, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.goal-pop {
  animation: pop 460ms ease;
}

@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); color: var(--green); }
  100% { transform: scale(1); }
}

.confetti {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 19;
}

.confetti span {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 14px;
  background: var(--green);
  animation: fall 900ms linear forwards;
}

.shot-celebration {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background: rgba(2, 8, 16, 0.34);
  animation: celebrationFade 1.7s ease forwards;
}

.shot-card {
  display: grid;
  gap: 8px;
  min-width: min(520px, calc(100vw - 36px));
  padding: 28px;
  border: 1px solid rgba(34, 227, 125, 0.44);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(7, 16, 29, 0.92);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  animation: celebrationPop 820ms cubic-bezier(.2, 1.4, .35, 1) both;
}

.shot-celebration.goal .shot-card {
  border-color: rgba(34, 227, 125, 0.7);
}

.shot-celebration.miss .shot-card {
  border-color: rgba(255, 77, 97, 0.75);
}

.action-score-card {
  display: grid;
  gap: 14px;
  width: min(620px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid rgba(34, 227, 125, 0.62);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0, rgba(34, 227, 125, 0.24), transparent 17rem),
    linear-gradient(135deg, rgba(2, 20, 15, 0.98), rgba(6, 17, 30, 0.96));
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.58), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: center;
  animation: celebrationPop 820ms cubic-bezier(.2, 1.4, .35, 1) both;
}

.action-score-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--green);
  text-shadow: 0 0 28px rgba(34, 227, 125, 0.44);
}

.action-score-label span {
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 1;
  animation: ballPulse 760ms ease-in-out infinite alternate;
}

.action-score-label strong {
  font-size: clamp(2.4rem, 9vw, 6rem);
  line-height: 0.9;
}

.action-score-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.action-score-board > span {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
}

.action-score-board .club-logo-plain {
  width: 74px;
  height: 74px;
}

.action-score-board small {
  overflow: hidden;
  max-width: 140px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-score-board b {
  color: #fff;
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1;
}

.action-score-card p {
  margin: 0;
  color: #f4fff8;
  font-size: 1rem;
  font-weight: 900;
}

.action-score-card em {
  justify-self: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 200, 87, 0.26);
  border-radius: 999px;
  color: #ffd56a;
  background: rgba(255, 200, 87, 0.08);
  font-style: normal;
  font-weight: 900;
}

.action-score-card > small {
  color: var(--muted);
  font-weight: 850;
}

.shot-card strong {
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.9;
  color: var(--green);
  text-shadow: 0 0 34px rgba(34, 227, 125, 0.45);
}

.shot-celebration.miss .shot-card strong {
  color: var(--red);
  text-shadow: 0 0 34px rgba(255, 77, 97, 0.42);
}

.shot-card span {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 850;
}

.shot-celebration i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: particleBurst 900ms ease-out forwards;
}

.shot-celebration.miss i {
  background: var(--red);
}

@keyframes celebrationPop {
  0% { transform: translateY(28px) scale(0.72) rotate(-2deg); opacity: 0; }
  60% { transform: translateY(0) scale(1.04) rotate(0); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes celebrationFade {
  0%, 78% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes ballPulse {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-5px) scale(1.08); }
}

@keyframes particleBurst {
  to {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}

@keyframes fall {
  to { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}

@media (max-width: 920px) {
  .shell { grid-template-columns: 1fr; }
  .top-menu {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .top-menu .nav { display: none; }
  .top-menu .top-user-actions {
    display: none;
  }
  .brand-online-wrap {
    gap: 7px;
  }
  .online-counter {
    padding: 5px 7px;
    font-size: 0.68rem;
  }
  .team-hero-content,
  .team-hero-main {
    align-items: flex-start;
    flex-direction: column;
  }
  .team-stadium-layout {
    grid-template-columns: 1fr;
    margin: -12px -12px -4px;
  }
  .team-stadium-stage {
    min-height: 210px;
    margin: 0;
  }
  .team-stadium-img {
    max-height: 260px;
    width: 120%;
  }
  .team-stadium-logo {
    width: 62px;
    height: 62px;
  }
  .team-representatives-panel,
  .team-supporter-panel {
    min-height: 0;
    margin: 0 12px 8px;
  }
  .supporter-money-grid {
    grid-template-columns: 1fr;
  }
  .team-field-card {
    min-height: 0;
    padding: 12px;
  }
  .team-field-head {
    flex-direction: column;
  }
  .team-field-score {
    grid-template-columns: 1fr;
  }
  .team-field-center {
    width: 100%;
    min-height: 120px;
    margin: 0;
  }
  .team-field-side.away .team-field-club {
    direction: ltr;
    text-align: left;
  }
  .team-field-club .club-logo-plain {
    width: 46px;
    height: 46px;
  }
  .team-reactions {
    width: 100%;
    justify-content: stretch;
  }
  .team-reactions button {
    flex: 1 1 120px;
  }
  .top-achievement-grid {
    grid-template-columns: 1fr;
  }
  .profile-status-badge {
    position: static;
    width: fit-content;
    min-width: 0;
    margin: 10px 0 6px;
  }
  .mobile-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(34, 227, 125, 0.45);
    border-radius: var(--radius);
    color: #06111d;
    font-weight: 950;
    background: var(--green);
  }
  .top-user-actions .clear-cache-btn {
    display: none;
  }
  .mobile-cache-btn {
    grid-column: 1 / -1;
    min-height: 46px;
  }
  .mobile-install-btn {
    grid-column: 1 / -1;
    min-height: 46px;
    border-color: rgba(34, 227, 125, 0.42);
    color: #dfffee;
    background: rgba(34, 227, 125, 0.12);
  }
  .mobile-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-logout-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 77, 97, 0.42);
    border-radius: var(--radius);
    color: #ffe7eb;
    font-weight: 950;
    background: rgba(255, 77, 97, 0.16);
  }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    align-items: end;
    padding: 14px;
    background: rgba(0, 0, 0, 0.55);
  }
  .mobile-menu-backdrop.show {
    display: flex;
  }
  .mobile-menu-panel {
    width: 100%;
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px 16px 10px 10px;
    background: rgba(8, 18, 32, 0.98);
    box-shadow: var(--shadow);
  }
  .mobile-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
  }
  .mobile-user-card span,
  .mobile-user-card small {
    display: block;
  }
  .mobile-user-card small {
    color: var(--muted);
  }
  .mobile-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
  }
  .mobile-action-grid button {
    width: 100%;
  }
  .mobile-menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-menu-list button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    font-weight: 850;
  }
  .mobile-menu-list button.active {
    color: #06111d;
    background: var(--green);
  }
  .sidebar { display: none; }
  .main { padding: 14px 12px 214px; }
  .mobile-install-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: stretch;
    gap: 8px;
    margin: 8px 0 12px;
    padding: 8px;
    border: 1px solid rgba(34, 227, 125, 0.34);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(34, 227, 125, 0.16), rgba(5, 18, 24, 0.94));
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
  }
  .mobile-install-main {
    display: grid;
    justify-items: start;
    gap: 2px;
    min-width: 0;
    min-height: 46px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius);
    color: #06111d;
    background: var(--green);
    font-weight: 950;
    text-align: left;
  }
  .mobile-install-main small {
    max-width: 100%;
    overflow: hidden;
    color: rgba(6, 17, 29, 0.78);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-install-close {
    min-width: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.35rem;
    font-weight: 950;
  }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid-wide,
  .duel-leaders {
    grid-template-columns: 1fr;
  }
  .evolution-confirm-grid,
  .evolution-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .goal-history > div {
    grid-template-columns: 72px 52px minmax(0, 1fr);
  }
  .rank-hero {
    display: grid;
    align-items: start;
  }
  .rank-panels, .record-grid, .home-status-grid {
    grid-template-columns: 1fr;
  }
  .prize-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .prize-hero-badges {
    justify-content: flex-start;
  }
  .prize-grid {
    grid-template-columns: 1fr;
  }
  .prize-card-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .prize-card-head em {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .prize-row-head,
  .prize-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(72px, 0.8fr) minmax(74px, 0.8fr);
    gap: 7px;
  }
  .prize-row {
    padding: 9px 8px;
  }
  .prize-row span b {
    font-size: 1rem;
  }
  .prize-row strong {
    font-size: 0.76rem;
  }
  .rules-hero,
  .rules-grid,
  .rules-summary {
    grid-template-columns: 1fr;
  }
  .rules-card {
    min-height: 0;
  }
  .rules-icon {
    width: 36px;
    height: 36px;
    font-size: 1.18rem;
  }
  .levels-layout {
    grid-template-columns: 1fr;
  }
  .levels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mini-score {
    grid-template-columns: 1fr;
  }
  .match-feature {
    grid-column: span 1;
  }
  .mini-score > span:last-child {
    justify-content: start;
  }
  .mini-score b {
    text-align: left;
  }
  .home-arena-score .mini-score {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }
  .home-arena-score .mini-score > b {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    margin-top: -2px;
    font-size: 0;
    order: 3;
  }
  .home-arena-score .mini-score > b span {
    display: none;
  }
  .home-arena-score .mini-score > b em {
    display: none;
  }
  .home-arena-score .mini-score > b small {
    justify-self: center;
    font-size: 0.7rem;
    white-space: normal;
  }
  .home-arena-score .score-team {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 6px;
    min-width: 0;
    text-align: center;
  }
  .home-arena-score .score-team .crest {
    width: 78px;
    height: 78px;
  }
  .home-arena-score .score-team small {
    display: block;
    width: 100%;
    max-width: 132px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-arena-score .score-team strong {
    display: block;
    color: #ffffff;
    font-size: 2.15rem;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 0 16px rgba(34, 227, 125, 0.22);
  }
  .match-momentum-bar {
    height: 6px;
    margin: 8px 0 10px;
  }
  .home-player-stats {
    grid-template-columns: 1fr;
  }
  .match-round-scorers {
    grid-template-columns: 1fr;
  }
  .inspired-card {
    grid-template-columns: 1fr;
  }
  .inspired-card > strong,
  .inspired-card > small,
  .inspired-stats {
    grid-column: 1;
    grid-row: auto;
  }
  .inspired-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 6px;
  }
  .home-level-row > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }
  .logged-out-page {
    padding: 12px 14px 36px;
  }
  .logged-out-nav {
    grid-template-columns: 1fr auto;
  }
  .logged-out-nav nav {
    display: none;
  }
  .logged-out-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 24px 0;
  }
  .login-stage h1 {
    font-size: clamp(2.45rem, 14vw, 4.6rem);
  }
  .landing-metrics,
  .landing-grid,
  .landing-timeline,
  .landing-duel {
    grid-template-columns: 1fr;
  }
  .landing-action-preview {
    grid-template-columns: 1fr;
  }
  .landing-action-preview > span {
    text-align: center;
  }
  .login-actions {
    grid-template-columns: 1fr;
  }
  .forgot-password-link {
    text-align: center;
  }
  .topbar { align-items: flex-start; }
  .ticker { display: none; }
  .rank-table-head,
  .rank-row {
    grid-template-columns: 24px minmax(0, 1fr) 46px 66px;
    gap: 5px;
  }
  .rank-row {
    min-height: 74px;
    padding: 6px 4px;
  }
  .rank-player {
    gap: 5px;
  }
  .rank-player .crest {
    width: 26px;
    height: 26px;
  }
  .tackle-button {
    width: 26px;
    height: 26px;
    border-radius: 0;
    font-size: 0;
  }
  .tackle-button img {
    width: 26px;
    height: 26px;
  }
  .rank-goals {
    grid-template-columns: minmax(30px, 1fr) 24px;
    gap: 5px;
  }
  .rank-score {
    min-width: 30px;
  }
  .rank-action {
    width: 24px;
    height: 24px;
  }
  .rank-goals .tackle-button,
  .rank-goals .tackle-button img,
  .rank-block-icon {
    width: 22px;
    height: 22px;
  }
  .rank-name-line {
    flex-wrap: wrap;
    gap: 3px;
    line-height: 1.05;
  }
  .rank-name-line .player-name {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
  }
  .club-role-badge {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    border-radius: 5px;
    font-size: 0.54rem;
  }
  .rank-name-line .club-role-badge {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
    border-radius: 3px;
    font-size: 0.32rem;
  }
  .last-top-badge {
    font-size: 0.44rem;
    filter: drop-shadow(0 0 2px rgba(34, 227, 125, 0.14));
  }
  .medal-badge {
    padding: 2px 5px;
    font-size: 0.52rem;
  }
  .rank-goals strong,
  .rank-panel .level-pill {
    font-size: 0.78rem;
  }
  .reaction-rank-grid { grid-template-columns: 1fr; }
  .reaction-rankings-full { grid-template-columns: 1fr; }
  .team-rankings-full { grid-template-columns: 1fr; }
  .team-ranking-row {
    grid-template-columns: 26px minmax(0, 1fr) minmax(62px, auto);
  }
  .team-ranking-row > small {
    display: none;
  }
  .team-ranking-row .club-logo-plain {
    width: 28px;
    height: 28px;
  }
  .tackle-pay-grid { grid-template-columns: 1fr; }
  .game-brand {
    min-width: 118px;
  }
  .game-logo {
    width: 142px;
    height: 42px;
  }
  .game-brand-login .game-logo {
    width: min(340px, 100%);
    max-height: 130px;
  }
  .game-loading-screen {
    padding: 16px;
  }
  .loading-card {
    padding: 18px;
  }
  .loading-steps {
    grid-template-columns: 1fr;
  }
  .scoreboard {
    grid-template-columns: 1fr;
  }
  .champ-overview,
  .calendar-focus-grid,
  .metric-row,
  .match-history-summary {
    grid-template-columns: 1fr;
  }
  .championship-tabs,
  .round-tabs,
  .calendar-competition-tabs,
  .competition-main-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 6px;
  }
  .championship-tabs .tab-btn,
  .round-tabs .tab-btn,
  .calendar-competition-tabs .tab-btn,
  .competition-main-tabs .tab-btn {
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
  }
  .championship-page .card-pad {
    padding: 10px;
  }
  .championship-table {
    min-width: 720px;
    font-size: 0.68rem;
  }
  .championship-page .card:has(.championship-table) {
    overflow-x: auto;
  }
  .champ-match {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .champ-match > span {
    gap: 6px;
  }
  .champ-match > span:first-child,
  .champ-match > span:last-of-type {
    justify-content: start;
  }
  .champ-match > span:last-of-type {
    grid-column: 1;
    grid-row: 2;
  }
  .champ-match > .champ-score {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 64px;
    padding: 6px;
  }
  .champ-match > small {
    grid-column: 1 / -1;
    font-size: 0.58rem;
  }
  .champ-match strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .arena-bracket {
    border-radius: 8px;
  }
  .arena-bracket-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .arena-bracket-board {
    min-width: 720px;
    grid-template-columns: 142px 132px 132px 132px 142px;
    grid-template-rows: 36px 104px 88px 106px 106px;
    gap: 10px;
    min-height: 500px;
    padding: 12px 12px 28px;
    overflow: visible;
  }
  .arena-bracket-wide .arena-bracket-board {
    min-width: 1040px;
    grid-template-columns: 132px 124px 118px 126px 118px 124px 132px;
  }
  .arena-bracket {
    overflow-x: auto;
  }
  .arena-bracket-card {
    min-height: 78px;
    padding: 7px;
  }
  .arena-bracket-card strong {
    font-size: 0.62rem;
  }
  .arena-winner span {
    font-size: 1.8rem;
  }
  .knockout-path-grid {
    grid-template-columns: 1fr;
  }
  .match-history-list {
    max-height: none;
  }
  .score { min-width: 0; }
  .action-score-card {
    width: min(360px, calc(100vw - 24px));
    padding: 18px 14px;
    gap: 11px;
  }
  .action-score-board {
    gap: 10px;
  }
  .action-score-board .club-logo-plain {
    width: 52px;
    height: 52px;
  }
  .action-score-board small {
    max-width: 88px;
    font-size: 0.62rem;
  }
  .action-score-card p {
    font-size: 0.86rem;
  }
  .profile-hero-card {
    min-height: 0;
    padding-right: 18px;
  }
  .profile-identity,
  .profile-main-grid {
    grid-template-columns: 1fr;
  }
  .recados-layout,
  .recado-reply-form {
    grid-template-columns: 1fr;
  }
  .recado-compose-card {
    position: static;
  }
  .profile-quick-stats,
  .profile-stat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-player-avatar {
    position: static;
    display: block;
    width: 98px;
    max-height: 166px;
    margin: 8px auto -2px;
  }
  .profile-player-avatar-pro {
    width: 126px;
    height: 220px;
  }
  .home-empresario-card {
    grid-template-columns: minmax(0, 1fr) 104px;
    min-height: 126px;
    padding: 14px 0 0 16px;
  }
  .home-empresario-card img {
    width: 104px;
    height: 126px;
  }
  .home-empresario-copy em {
    max-width: 220px;
    font-size: 0.82rem;
  }
  .home-contract-card {
    min-height: 126px;
    padding: 14px 16px;
  }
  .home-contract-card:not(.home-movement-card) .home-contract-list {
    grid-template-columns: 1fr;
  }
  .proposal-popup-grid {
    grid-template-columns: 1fr;
  }
  .action-row { grid-template-columns: 1fr; }
  .beep-controls { grid-template-columns: 1fr; }
  .bottom-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(7, 16, 29, 0.94);
    backdrop-filter: blur(18px);
  }
  .floating-actions.mobile-action-popup {
    display: grid !important;
  }

  .floating-actions {
    left: 8px;
    right: 8px;
    bottom: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
    border-radius: 12px 12px 8px 8px;
  }

  .floating-actions.mobile-action-popup:not(.open) {
    left: auto;
    right: 10px;
    width: min(132px, calc(100vw - 20px));
    grid-template-columns: 1fr;
  }

  .floating-actions.mobile-action-popup:not(.open) .quick-actions-toggle {
    width: 100%;
  }
  .floating-actions.open {
    left: 8px;
    right: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .floating-actions.open .quick-actions-toggle {
    grid-column: auto;
  }
  .floating-actions > div {
    grid-column: 1 / -1;
  }
  .quick-chat-button {
    grid-column: auto;
  }
  .quick-field-mode-button {
    grid-column: span 2;
  }
  .quick-chat-popover {
    left: 0;
    right: 0;
    width: 100%;
    max-height: 62vh;
  }
  .quick-chat-body {
    grid-template-columns: 1fr;
  }
  .quick-chat-online {
    display: none;
  }
  .quick-chat-list {
    border-right: 0;
  }
  .floating-actions button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 7px 6px;
    font-size: 0.8rem;
  }
  .floating-actions button small {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .floating-actions .quick-actions-head {
    display: none;
  }
  .floating-actions > div {
    display: none;
  }
  .admin-player-row {
    grid-template-columns: 1fr;
  }
  .admin-player-flags,
  .admin-player-actions {
    justify-content: flex-start;
  }
  .admin-player-actions select {
    width: 100%;
  }
  .bottom-nav button {
    border: 0;
    color: var(--muted);
    background: transparent;
    padding: 8px 4px;
    font-size: 0.76rem;
  }
  .bottom-nav button.active { color: var(--green); }
}

.home-arena .rank-player strong,
.home-arena .rank-player .player-name {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.08;
}

.top-menu .nav button.store-nav-link,
.top-menu .nav button.store-nav-link.active,
.top-menu .nav button.store-nav-link:hover,
.mobile-menu-list button.store-nav-link,
.mobile-menu-list button.store-nav-link.active,
.mobile-menu-list button.store-nav-link:hover {
  border-color: rgba(255, 200, 87, 0.72) !important;
  color: #ffd76a !important;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.22), rgba(78, 47, 4, 0.34)) !important;
  box-shadow: inset 0 0 18px rgba(255, 200, 87, 0.14), 0 0 20px rgba(255, 200, 87, 0.12);
}

.auto-schedule-row {
  align-items: start;
  gap: 10px;
}
.auto-schedule-editor {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(120px, 180px) auto auto;
  gap: 6px;
  align-items: center;
  width: min(100%, 760px);
}
.auto-schedule-days {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: .7rem;
  color: var(--muted);
}
.auto-schedule-days label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.auto-schedule-hours {
  min-height: 30px;
  padding: 5px 7px;
  font-size: .78rem;
}
@media (max-width: 900px) {
  .auto-schedule-editor { grid-template-columns: 1fr; }
}
/* Clean home/navigation refresh - backup: backups/ui-clean-20260816-143905 */
.top-menu .nav button {
  min-height: 36px;
  padding: 9px 11px;
  font-size: 0.78rem;
  font-weight: 900;
}

.nav-dropdown {
  min-width: 210px;
}

.top-menu .nav .nav-dropdown button {
  min-height: 34px;
  padding: 9px 10px;
}

.home-clean-shortcuts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-clean-shortcuts .home-shortcut {
  min-height: 72px;
  padding: 12px 13px;
}

.home-clean-shortcuts .home-shortcut span {
  font-size: 0.72rem;
  letter-spacing: 0;
}

.home-clean-shortcuts .home-shortcut strong {
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-rank-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-arena .rank-panel {
  min-height: 0;
}

.home-arena .record-grid {
  gap: 10px;
}

@media (max-width: 1180px) {
  .home-clean-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-clean-shortcuts,
  .home-rank-panels {
    grid-template-columns: 1fr;
  }

  .home-clean-shortcuts .home-shortcut {
    min-height: 62px;
  }
}
/* Arena Manager layout refresh - backup: arenafc_backup_layout_20260819_024925 */
:root {
  --arena-green: #19d957;
  --arena-green-2: #0a8f38;
  --arena-dark: #03120c;
  --arena-panel: rgba(4, 20, 17, .94);
  --arena-panel-2: rgba(8, 30, 28, .96);
  --arena-line: rgba(31, 230, 94, .58);
  --arena-gold: #ffd84c;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(20, 210, 83, .16), transparent 34%),
    repeating-linear-gradient(135deg, rgba(25, 217, 87, .055) 0 8px, transparent 8px 22px),
    linear-gradient(180deg, #04150d 0%, #020806 100%);
}

.app-frame {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 18px;
}

.arena-top-menu {
  position: sticky;
  top: 0;
  z-index: 80;
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--arena-line);
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(135deg, rgba(6, 72, 30, .97), rgba(3, 20, 15, .98)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 8px, transparent 8px 18px);
  box-shadow: 0 10px 35px rgba(0,0,0,.38), inset 0 0 0 1px rgba(77,255,128,.1);
}

.arena-score-strip {
  display: grid;
  grid-template-columns: 190px 120px 170px minmax(380px, 1fr) 170px 230px;
  gap: 12px;
  align-items: stretch;
}

.arena-brand-card,
.arena-season-card,
.arena-live-board,
.arena-user-card {
  border: 1px solid rgba(66, 255, 118, .32);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 34, 36, .96), rgba(4, 12, 13, .98));
  box-shadow: inset 0 0 18px rgba(26, 255, 95, .08), 0 8px 20px rgba(0,0,0,.25);
}

.arena-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 102px;
}

.arena-brand-card .brand-logo,
.arena-brand-card img {
  max-width: 132px;
  max-height: 78px;
}

.arena-brand-card small {
  color: var(--arena-green);
  font-weight: 1000;
  letter-spacing: .28em;
}

.arena-season-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
  color: #dfffea;
}

.arena-season-card span,
.arena-live-board small {
  color: #8dff9d;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.arena-season-card strong {
  color: var(--arena-gold);
  font-size: 2.25rem;
  line-height: .95;
  text-shadow: 0 2px 0 #4b3200;
}

.arena-season-card strong em {
  color: #e8fff0;
  font-size: 1rem;
  font-style: normal;
}

.arena-season-card small,
.arena-user-card small {
  color: #b8c8c5;
  font-size: .74rem;
}

.arena-season-card .online-counter-wrap {
  margin-top: 4px;
}

.arena-season-card .online-counter,
.arena-season-card .online-search-btn {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
}

.arena-live-board {
  position: relative;
  min-height: 102px;
  padding: 12px 16px;
  text-align: center;
}

.arena-live-flag {
  position: absolute;
  top: 10px;
  left: 14px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #42ff5e;
  font-size: .75rem;
  font-weight: 1000;
}

.arena-live-flag i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2fff40;
  box-shadow: 0 0 14px #2fff40;
}

.arena-live-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
}

.arena-live-score > strong {
  color: #f2f4ef;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  letter-spacing: .05em;
  text-shadow: 0 3px 0 #000;
}

.arena-live-score span {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: #fff;
  font-weight: 1000;
  text-transform: uppercase;
}

.arena-live-score .crest,
.arena-live-score img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.arena-user-card,
.arena-account-card {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  color: #eaffef;
  text-align: left;
}

.arena-user-card .crest,
.arena-user-card img {
  width: 44px;
  height: 44px;
}

.arena-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr) 320px;
  gap: 10px;
  align-items: start;
  padding: 10px 0 0;
}

.arena-layout-side {
  position: sticky;
  top: 132px;
  min-height: calc(100vh - 145px);
  padding: 10px;
  border: 1px solid var(--arena-line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(4, 39, 18, .96), rgba(1, 14, 11, .98)),
    repeating-linear-gradient(135deg, rgba(36, 255, 96, .05) 0 7px, transparent 7px 18px);
  box-shadow: inset 0 0 0 1px rgba(38, 255, 105, .12), 0 10px 28px rgba(0,0,0,.35);
}

.arena-layout-side h3 {
  margin: 2px 6px 10px;
  color: #f4fff8;
  font-size: .86rem;
  font-weight: 1000;
  letter-spacing: .14em;
  text-align: center;
}

.arena-layout-side nav {
  display: grid;
  gap: 2px;
}

.arena-side-link {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 43px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 34, 43, .92), rgba(9, 18, 27, .95));
  color: #effff3;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.arena-side-link:hover,
.arena-side-link.active {
  border-color: rgba(92,255,126,.72);
  background: linear-gradient(180deg, #18b942, #056b26);
  color: #fff;
  transform: translateX(2px);
}

.arena-side-link b {
  font-size: .88rem;
  font-weight: 1000;
}

.arena-side-link em {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ef334b;
  color: #fff;
  font-size: .72rem;
  font-style: normal;
  text-align: center;
}

.arena-side-icon {
  font-size: 1.15rem;
  text-align: center;
}

.arena-main {
  min-width: 0;
  padding: 0 0 72px;
}

.arena-main .topbar.arena-mobile-ticker {
  display: none;
}

.arena-main .card,
.arena-main .home-arena > section,
.arena-main .panel,
.arena-main .score-card {
  border-color: rgba(39, 255, 98, .42);
  box-shadow: 0 0 0 1px rgba(32, 255, 93, .08), 0 10px 28px rgba(0,0,0,.22);
}

.arena-vip-box,
.arena-whatsapp-button {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 76, .42);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(105, 77, 0, .9), rgba(36, 26, 2, .9));
  color: #ffe889;
  text-align: center;
}

.arena-vip-box button {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff5b7;
  font-weight: 1000;
}

.arena-account-card {
  margin-bottom: 10px;
  border: 1px solid rgba(66, 255, 118, .45);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(6, 41, 22, .95), rgba(4, 18, 15, .95));
}

.arena-account-card img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
}

.arena-account-card strong {
  color: var(--arena-gold);
}

.arena-shoot-button {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  width: 100%;
  margin: 8px 0 12px;
  padding: 12px;
  border: 1px solid rgba(160,255,128,.82);
  border-radius: 13px;
  background: linear-gradient(180deg, #71ff41, #07951f 65%, #046017);
  color: #fff;
  text-align: left;
  box-shadow: 0 0 24px rgba(63,255,73,.34), inset 0 2px 0 rgba(255,255,255,.35);
}

.arena-shoot-button span {
  grid-row: 1 / 3;
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.35));
}

.arena-shoot-button b {
  font-size: 1.8rem;
  font-weight: 1000;
  font-style: italic;
  line-height: .95;
  text-shadow: 0 2px 0 #06420e;
}

.arena-shoot-button small {
  color: #fff176;
  font-size: .72rem;
  font-weight: 1000;
}

.arena-whatsapp-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: rgba(69, 211, 99, .55);
  background: linear-gradient(180deg, #156dca, #06417a);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 1000;
  text-decoration: none;
}

.arena-whatsapp-button img {
  width: 30px;
  height: 30px;
}

@media (max-width: 1500px) {
  .arena-score-strip { grid-template-columns: 150px 105px 145px minmax(320px, 1fr) 145px 200px; }
  .arena-layout { grid-template-columns: 250px minmax(0, 1fr) 285px; }
  .arena-live-score { gap: 14px; }
}

@media (max-width: 1180px) {
  .arena-score-strip { grid-template-columns: 1fr; }
  .arena-brand-card,
  .arena-season-card,
  .arena-user-card { display: none; }
  .arena-layout { display: block; padding: 10px; }
  .arena-layout-side { display: none; }
  .arena-main .topbar.arena-mobile-ticker { display: flex; }
  .arena-live-board { min-height: 116px; }
}

@media (max-width: 720px) {
  .arena-top-menu { padding: 8px; }
  .arena-live-score { grid-template-columns: 1fr; gap: 6px; }
  .arena-live-score > strong { font-size: 2.3rem; }
  .arena-live-score span { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .arena-live-score .crest,
  .arena-live-score img { width: 36px; height: 36px; }
}



/* Top strip unified season card */
.arena-score-strip {
  grid-template-columns: minmax(360px, 470px) minmax(380px, 1fr) 170px 230px;
}

.arena-season-unified-card {
  display: grid;
  grid-template-columns: minmax(130px, 1.15fr) minmax(88px, .72fr) minmax(128px, 1fr);
  gap: 10px;
  align-items: stretch;
  min-height: 102px;
  padding: 10px;
  border: 1px solid rgba(66, 255, 118, .34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 12%, rgba(45, 255, 114, .18), transparent 36%),
    linear-gradient(135deg, rgba(8, 54, 31, .96), rgba(4, 17, 17, .98));
  box-shadow: inset 0 0 0 1px rgba(91,255,134,.1), 0 10px 26px rgba(0,0,0,.28);
}

.arena-season-brand,
.arena-season-unified-card article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(5, 26, 28, .72), rgba(1, 11, 11, .72));
}

.arena-season-brand {
  align-items: center;
  padding: 8px;
  text-align: center;
}

.arena-season-brand .brand-logo,
.arena-season-brand img {
  max-width: 118px;
  max-height: 54px;
  object-fit: contain;
}

.arena-season-brand small {
  margin-top: 5px;
  color: var(--arena-green);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .34em;
}

.arena-season-unified-card article {
  padding: 10px 12px;
}

.arena-season-unified-card article span {
  color: #93ffa7;
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.arena-season-unified-card article strong {
  color: var(--arena-gold);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: .95;
  text-shadow: 0 2px 0 #4b3200;
}

.arena-season-unified-card article strong em {
  color: #effff4;
  font-size: .95rem;
  font-style: normal;
}

.arena-season-unified-card article small {
  color: #b8c8c5;
  font-size: .72rem;
}

.arena-season-unified-card .online-counter-wrap {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}

.arena-season-unified-card .online-counter,
.arena-season-unified-card .online-search-btn {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
}

@media (max-width: 1500px) {
  .arena-score-strip {
    grid-template-columns: minmax(330px, 430px) minmax(320px, 1fr) 145px 200px;
  }
  .arena-season-unified-card {
    grid-template-columns: minmax(112px, 1fr) minmax(76px, .65fr) minmax(118px, 1fr);
  }
}

@media (max-width: 1180px) {
  .arena-score-strip { grid-template-columns: 1fr; }
  .arena-season-unified-card { display: none; }
}

/* Top strip next match + user card cleanup */
.arena-next-match-card {
  display: grid;
  gap: 8px;
  align-content: center;
  width: 100%;
  min-height: 102px;
  padding: 12px 14px;
  border: 1px solid rgba(66, 255, 118, .34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 10%, rgba(43,255,105,.16), transparent 48%),
    linear-gradient(180deg, rgba(8, 35, 31, .96), rgba(3, 16, 15, .98));
  color: #eafff1;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(91,255,134,.08), 0 10px 24px rgba(0,0,0,.24);
}

.arena-next-match-card > span {
  color: #93ffa7;
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.arena-next-match-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.arena-next-match-card .crest,
.arena-next-match-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.arena-next-match-card strong {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 1000;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
}

.arena-next-match-card small {
  overflow: hidden;
  color: #b7c9c3;
  font-size: .68rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.arena-user-card-clean {
  min-height: 102px;
  padding: 12px 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 26%, rgba(47,255,112,.16), transparent 42%),
    linear-gradient(135deg, rgba(8, 42, 31, .96), rgba(4, 18, 20, .98));
}

.arena-user-card-clean .arena-user-crest {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(67,255,118,.22);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  flex: 0 0 auto;
}

.arena-user-card-clean .arena-user-crest .crest,
.arena-user-card-clean .arena-user-crest img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.arena-user-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.arena-user-info b {
  overflow: hidden;
  color: #ffffff;
  font-size: .98rem;
  font-weight: 1000;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-user-info strong {
  overflow: hidden;
  color: var(--arena-gold);
  font-size: .9rem;
  font-weight: 1000;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-user-info small {
  overflow: hidden;
  color: #c7d5d0;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-user-info em {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
  font-style: normal;
}

.arena-user-info em i {
  padding: 3px 7px;
  border: 1px solid rgba(66,255,118,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #9effa8;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1500px) {
  .arena-next-match-card .crest,
  .arena-next-match-card img { width: 30px; height: 30px; }
  .arena-user-card-clean .arena-user-crest { width: 50px; height: 50px; }
  .arena-user-card-clean .arena-user-crest .crest,
  .arena-user-card-clean .arena-user-crest img { width: 38px; height: 38px; }
}

/* Top counter v5 - old counter inspired */
.arena-score-strip {
  grid-template-columns: minmax(480px, 620px) minmax(360px, 1fr) 170px 230px;
}

.arena-season-unified-card {
  grid-template-columns: minmax(118px, 1.05fr) minmax(86px, .72fr) minmax(118px, 1fr) minmax(132px, 1.05fr);
  gap: 8px;
  min-height: 104px;
  padding: 8px;
  border-color: rgba(43, 255, 108, .42);
  background:
    linear-gradient(135deg, rgba(5, 61, 27, .92), rgba(2, 19, 15, .98)),
    repeating-linear-gradient(135deg, rgba(75,255,112,.045) 0 7px, transparent 7px 18px);
}

.arena-season-brand,
.arena-season-unified-card article {
  min-height: 86px;
  border-color: rgba(86,255,134,.14);
  background: linear-gradient(180deg, rgba(5, 30, 28, .9), rgba(1, 12, 11, .94));
}

.arena-season-brand {
  gap: 5px;
}

.arena-season-brand .brand-logo,
.arena-season-brand img {
  max-width: 102px;
  max-height: 42px;
}

.arena-season-brand > small {
  display: block;
  margin-top: 3px;
  letter-spacing: 0;
}

.arena-season-brand .online-counter-wrap {
  justify-content: center;
}

.arena-season-brand .online-counter,
.arena-season-brand .online-search-btn {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
}

.arena-season-unified-card article {
  align-items: flex-start;
  padding: 11px 12px;
  text-align: left;
}

.arena-season-unified-card article span {
  color: #92ffa5;
  font-size: .69rem;
  line-height: 1;
}

.arena-season-unified-card article strong {
  margin-top: 4px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  letter-spacing: .02em;
}

.arena-season-unified-card article strong em {
  margin-left: 4px;
  font-size: .9rem;
  vertical-align: middle;
}

.arena-season-unified-card article small {
  margin-top: 5px;
  color: #d5e6df;
  font-size: .69rem;
  line-height: 1.2;
}

.arena-round-clock strong {
  color: #ffffff !important;
  font-size: clamp(1.35rem, 2.1vw, 2.1rem) !important;
  text-shadow: 0 2px 0 #001b0a !important;
}

.arena-round-clock i {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.arena-round-clock i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ee84d, #d3ff3f);
  box-shadow: 0 0 12px rgba(68,255,81,.5);
}

@media (max-width: 1500px) {
  .arena-score-strip {
    grid-template-columns: minmax(450px, 570px) minmax(320px, 1fr) 145px 200px;
  }
  .arena-season-unified-card {
    grid-template-columns: minmax(104px, .95fr) minmax(78px, .65fr) minmax(110px, .98fr) minmax(120px, 1fr);
  }
  .arena-season-unified-card article { padding: 10px; }
}

/* Minha conta compact account card */
.arena-account-card {
  grid-template-columns: 74px 1fr;
  min-height: 88px;
  padding: 10px 12px;
  overflow: hidden;
}

.arena-account-avatar {
  display: block;
  width: 64px;
  height: 78px;
  overflow: hidden;
  border: 1px solid rgba(70,255,123,.26);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 18%, rgba(45,255,105,.16), rgba(0,0,0,.18) 58%);
}

.arena-account-avatar img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  transform: translateY(0) scale(1.08);
}

.arena-account-info {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.arena-account-info strong {
  overflow: hidden;
  color: var(--arena-gold);
  font-size: 1rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Top counter v7 - single card, corrected season/round */
.arena-season-unified-card {
  gap: 0;
  overflow: hidden;
  padding: 8px;
}

.arena-season-brand,
.arena-season-unified-card article {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.arena-season-brand,
.arena-season-unified-card article:not(:last-child) {
  border-right: 1px solid rgba(95, 255, 137, .16);
}

.arena-season-brand {
  border-radius: 12px 0 0 12px;
}

.arena-season-unified-card article:last-child {
  border-radius: 0 12px 12px 0;
}

.arena-season-unified-card article strong {
  margin-top: 3px;
}

.arena-season-unified-card article small {
  max-width: 100%;
}

@media (max-width: 1500px) {
  .arena-season-unified-card {
    grid-template-columns: minmax(104px, .95fr) minmax(78px, .62fr) minmax(132px, 1.12fr) minmax(118px, 1fr);
  }
}

/* Top club card v8 - club only */
.arena-club-top-card {
  justify-content: center;
  gap: 14px;
  min-height: 104px;
  padding: 12px 14px;
  border-color: rgba(69, 255, 123, .38);
  background:
    radial-gradient(circle at 26% 48%, rgba(65,255,119,.2), transparent 42%),
    linear-gradient(135deg, rgba(4, 51, 27, .96), rgba(2, 17, 17, .98));
  box-shadow: inset 0 0 0 1px rgba(119,255,156,.08), 0 14px 28px rgba(0,0,0,.24);
}

.arena-club-top-card .arena-user-crest {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(68,255,123,.2), transparent 56%),
    rgba(0,0,0,.22);
}

.arena-club-top-card .arena-user-crest .crest,
.arena-club-top-card .arena-user-crest img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.arena-club-top-card .arena-user-info {
  gap: 4px;
  text-align: left;
}

.arena-club-top-card .arena-user-info small {
  color: #81ff9a;
  font-size: .66rem;
  font-weight: 1000;
  letter-spacing: .08em;
}

.arena-club-top-card .arena-user-info b {
  max-width: 138px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.05;
}

.arena-club-top-card .arena-user-info strong {
  justify-self: start;
  padding: 4px 10px;
  border: 1px solid rgba(255, 216, 74, .32);
  border-radius: 999px;
  background: rgba(255, 204, 45, .1);
  color: var(--arena-gold);
  font-size: .78rem;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1500px) {
  .arena-club-top-card { gap: 10px; padding: 10px; }
  .arena-club-top-card .arena-user-crest { width: 58px; height: 58px; }
  .arena-club-top-card .arena-user-crest .crest,
  .arena-club-top-card .arena-user-crest img { width: 46px; height: 46px; }
  .arena-club-top-card .arena-user-info b { max-width: 118px; font-size: .9rem; }
}

/* Top club card v9.1 - keep division badge inside card */
.arena-club-top-card {
  overflow: hidden;
}

.arena-club-top-card .arena-user-info {
  min-width: 0;
  max-width: calc(100% - 82px);
}

.arena-club-top-card .arena-user-info strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Top season card v11 - premium counters moved from home content */
.arena-premium-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.arena-premium-mini em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid rgba(255, 213, 74, .28);
  border-radius: 999px;
  background: rgba(255, 204, 45, .08);
  color: #ffe881;
  font-size: .56rem;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.arena-premium-mini b {
  color: #ffffff;
  font-size: .78rem;
}

@media (max-width: 1500px) {
  .arena-premium-mini { gap: 4px; }
  .arena-premium-mini em { padding: 3px 6px; font-size: .52rem; }
  .arena-premium-mini b { font-size: .68rem; }
}

/* Layout v12 - compact side menus */
@media (min-width: 1101px) {
  .arena-layout {
    grid-template-columns: 200px minmax(0, 1fr) 224px;
    gap: 8px;
  }

  .arena-layout-side {
    padding: 7px;
    border-radius: 12px;
  }

  .arena-layout-side h3 {
    margin: 1px 4px 7px;
    font-size: .72rem;
    letter-spacing: .1em;
  }

  .arena-layout-side nav {
    gap: 1px;
  }

  .arena-side-link {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 32px;
    padding: 5px 7px;
    border-radius: 7px;
  }

  .arena-side-link b {
    overflow: hidden;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .arena-side-icon {
    font-size: .9rem;
  }

  .arena-side-link em {
    min-width: 18px;
    padding: 1px 5px;
    font-size: .62rem;
  }

  .arena-whatsapp-button,
  .arena-help-button {
    min-height: 40px;
    padding: 7px 9px;
    font-size: .76rem;
  }
}

@media (max-width: 1500px) and (min-width: 1101px) {
  .arena-layout {
    grid-template-columns: 175px minmax(0, 1fr) 200px;
  }
}

/* Layout v13 - reduced full menu scale */
@media (min-width: 1101px) {
  .arena-layout-side {
    transform-origin: top center;
    font-size: .82rem;
  }

  .arena-layout-side h3 {
    margin-bottom: 5px;
    font-size: .66rem;
  }

  .arena-side-link {
    grid-template-columns: 21px minmax(0, 1fr) auto;
    gap: 5px;
    min-height: 28px;
    padding: 4px 6px;
    border-radius: 6px;
  }

  .arena-side-link b {
    font-size: .66rem;
    line-height: 1;
  }

  .arena-side-icon {
    font-size: .78rem;
    line-height: 1;
  }

  .arena-side-link em {
    min-width: 16px;
    padding: 1px 4px;
    font-size: .56rem;
    line-height: 1.1;
  }

  .arena-account-card {
    grid-template-columns: 50px 1fr;
    min-height: 64px;
    padding: 7px 8px;
    gap: 8px;
  }

  .arena-account-avatar {
    width: 46px;
    height: 58px;
    border-radius: 11px;
  }

  .arena-account-info strong {
    font-size: .82rem;
  }

  .arena-account-mini-stats {
    gap: 3px;
  }

  .arena-account-mini-stats em {
    min-height: 15px;
    padding: 1px 4px;
    font-size: .48rem;
  }

  .arena-account-mini-stats .level-badge-img {
    width: 13px;
    height: 13px;
  }

  .arena-whatsapp-button,
  .arena-help-button {
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: .68rem;
    line-height: 1.1;
  }
}

/* Layout v14 - compact shoot button text */
@media (min-width: 1101px) {
  .arena-shoot-button {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 8px;
    min-height: 72px;
    padding: 8px 9px;
    overflow: hidden;
  }

  .arena-shoot-button span {
    font-size: 2rem;
  }

  .arena-shoot-button b {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(1.15rem, 1.4vw, 1.55rem);
    line-height: .95;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .arena-shoot-button small {
    max-width: 100%;
    overflow: hidden;
    font-size: .62rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Layout v15 - WhatsApp button */
.arena-whatsapp-button {
  gap: 7px;
  border: 1px solid rgba(173, 255, 194, .72);
  background: linear-gradient(180deg, #31e56d, #14b84d 58%, #087d34);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(37, 211, 102, .32), inset 0 1px 0 rgba(255,255,255,.28);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}

.arena-whatsapp-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.arena-whatsapp-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

/* Layout v17 - bot VIP callout */
.arena-bot-vip-box {
  border-color: rgba(69, 255, 123, .46);
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 211, 102, .22), transparent 58%),
    linear-gradient(135deg, rgba(5, 88, 39, .92), rgba(2, 37, 22, .94));
  color: #dfffe7;
}

.arena-bot-vip-box strong {
  color: #fff176;
  font-size: .9rem;
}

.arena-bot-vip-box small {
  color: #dcffe5;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.25;
}

.arena-bot-vip-box button {
  border-color: rgba(173, 255, 194, .36);
  background: linear-gradient(180deg, #34e875, #0b983e);
  color: #fff;
}

/* Layout v18 - highlighted menu actions */
.arena-side-link.arena-route-treinamento,
.arena-side-link.arena-route-evolucao {
  border-color: rgba(255, 163, 52, .58);
  background: linear-gradient(180deg, rgba(153, 74, 14, .96), rgba(70, 31, 5, .96));
  color: #fff4df;
}

.arena-side-link.arena-route-treinamento .arena-side-icon,
.arena-side-link.arena-route-evolucao .arena-side-icon,
.arena-side-link.arena-route-treinamento b,
.arena-side-link.arena-route-evolucao b {
  color: #ffb13b;
}

.arena-side-link.arena-route-regras {
  border-color: rgba(99, 214, 255, .6);
  background: linear-gradient(180deg, rgba(18, 89, 131, .96), rgba(5, 38, 67, .96));
  color: #e7faff;
}

.arena-side-link.arena-route-regras .arena-side-icon,
.arena-side-link.arena-route-regras b {
  color: #79dcff;
}

/* Layout v19 - recados actions on top */
.recado-actions-top {
  justify-content: flex-end;
  margin: 0 0 12px;
}

/* Layout v22 - club/directoria and logout menu colors */
.arena-side-link.arena-route-clube {
  border-color: rgba(255, 163, 52, .62);
  background: linear-gradient(180deg, rgba(168, 78, 12, .98), rgba(82, 36, 5, .98));
  color: #fff4df;
}

.arena-side-link.arena-route-clube .arena-side-icon,
.arena-side-link.arena-route-clube b {
  color: #ffb13b;
}

.arena-side-link.arena-logout-link {
  border-color: rgba(255, 88, 102, .68);
  background: linear-gradient(180deg, rgba(171, 32, 45, .98), rgba(82, 9, 18, .98));
  color: #ffe9ec;
}

.arena-side-link.arena-logout-link .arena-side-icon,
.arena-side-link.arena-logout-link b {
  color: #ff6675;
}

/* Layout v23 - compact top season timer */
.arena-score-strip {
  grid-template-columns: minmax(380px, 520px) minmax(360px, 1fr) 160px 224px;
}

.arena-season-unified-card {
  grid-template-columns: minmax(92px, .75fr) minmax(70px, .5fr) minmax(104px, .72fr) minmax(128px, .9fr);
  min-height: 82px;
  padding: 6px;
}

.arena-season-brand,
.arena-season-unified-card article {
  min-height: 68px;
}

.arena-season-unified-card article {
  padding: 8px 9px;
}

.arena-season-brand .brand-logo,
.arena-season-brand img {
  max-width: 86px;
  max-height: 34px;
}

.arena-season-unified-card article span {
  font-size: .62rem;
}

.arena-season-unified-card article strong {
  margin-top: 2px;
  font-size: clamp(1.55rem, 2.1vw, 2.35rem);
}

.arena-season-unified-card article strong em {
  font-size: .72rem;
}

.arena-season-unified-card article small {
  margin-top: 2px;
  font-size: .58rem;
}

.arena-round-clock strong {
  font-size: clamp(1.35rem, 1.65vw, 1.85rem) !important;
}

.arena-round-clock i {
  display: none;
}

.arena-premium-mini {
  gap: 4px;
  margin-top: 4px;
}

.arena-premium-mini em {
  padding: 3px 6px;
  font-size: .5rem;
}

.arena-premium-mini b {
  font-size: .62rem;
}

@media (max-width: 1500px) {
  .arena-score-strip {
    grid-template-columns: minmax(350px, 480px) minmax(320px, 1fr) 145px 200px;
  }
  .arena-season-unified-card {
    grid-template-columns: minmax(82px, .7fr) minmax(62px, .48fr) minmax(96px, .72fr) minmax(120px, .9fr);
  }
}

/* Layout v25 - top Fut Arena logo fit */
.arena-season-brand {
  justify-content: center;
  align-items: center;
  padding: 7px 8px;
}

.arena-season-brand .brand,
.arena-season-brand .game-brand {
  width: 100%;
  max-width: 122px;
  margin: 0 auto;
}

.arena-season-brand .game-logo,
.arena-season-brand img {
  display: block;
  width: 100%;
  max-width: 118px;
  max-height: 48px;
  object-fit: contain;
}

.arena-season-brand > small {
  width: 100%;
  text-align: center;
}

/* Layout v26 - admin menu shortcut */
.arena-side-link.arena-route-admin {
  border-color: rgba(196, 126, 255, .65);
  background: linear-gradient(180deg, rgba(99, 45, 159, .98), rgba(43, 17, 82, .98));
  color: #f4e9ff;
}

.arena-side-link.arena-route-admin .arena-side-icon,
.arena-side-link.arena-route-admin b {
  color: #d8a8ff;
}

/* Layout v27 - gold admin and VIP shop */
.arena-side-link.arena-route-admin,
.arena-side-link.arena-route-loja-vip {
  border-color: rgba(255, 216, 76, .72);
  background: linear-gradient(180deg, rgba(153, 107, 11, .98), rgba(80, 48, 5, .98));
  color: #fff8d8;
}

.arena-side-link.arena-route-admin .arena-side-icon,
.arena-side-link.arena-route-admin b,
.arena-side-link.arena-route-loja-vip .arena-side-icon,
.arena-side-link.arena-route-loja-vip b {
  color: #ffd84c;
}

/* Layout v29 - level names and images */
.level-tile {
  align-content: start;
  justify-items: center;
  gap: 5px;
  min-height: 126px;
  text-align: center;
}

.level-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.32));
}

.level-tile em {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.2em;
  color: #f7fff9;
  font-size: .68rem;
  font-style: normal;
  font-weight: 1000;
  line-height: 1.1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.level-selected-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255,216,76,.32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(80,48,5,.7), rgba(4,30,20,.86));
}

.level-selected-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.level-selected-card strong {
  display: block;
  color: #ffd84c;
  font-size: 1.05rem;
}

.level-selected-card small {
  color: #d9f5df;
  font-weight: 900;
}

/* Layout v30 - level images in top rankings */
.home-arena .rank-table-head,
.home-arena .rank-row {
  grid-template-columns: 28px 42px minmax(165px, 1fr) 78px;
}

.level-image-chip {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.level-badge-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.42));
}

.rank-table-head span:nth-child(2) {
  text-align: center;
}

@media (max-width: 980px) {
  .home-arena .rank-table-head,
  .home-arena .rank-row {
    grid-template-columns: 24px 36px minmax(0, 1fr) 66px;
  }
  .level-badge-img { width: 30px; height: 30px; }
}

/* Layout v31 - top ranking level glow */
.level-rank-glow {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
}

.level-rank-glow::before {
  content: none;
}

.level-rank-glow .level-badge-img {
  position: relative;
  z-index: 1;
}

.general-rank-ball {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: none;
}

.general-rank-ball.compact {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  border: 0;
  box-shadow: none;
  transition: opacity .15s ease;
}

.level-image-chip:has(.general-rank-ball.compact) .level-badge-img {
  opacity: 0;
  transition: opacity .15s ease;
}

.level-image-chip:has(.general-rank-ball.compact):hover .general-rank-ball.compact {
  opacity: 0;
}

.level-image-chip:has(.general-rank-ball.compact):hover .level-badge-img {
  opacity: 1;
}

.rank-pos-with-general {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ranking-full-row:has(.rank-pos-with-general) {
  grid-template-columns: 70px minmax(0, 1fr) 70px 80px;
}

@media (max-width: 620px) {
  .general-rank-ball { width: 25px; height: 25px; }
  .general-rank-ball.compact { width: 26px; height: 26px; }
  .ranking-full-row:has(.rank-pos-with-general) { grid-template-columns: 58px minmax(0, 1fr) 58px; }
}

.level-rank-glow.gold::before {
  background: none;
  box-shadow: none;
}

.level-rank-glow.silver::before {
  background: none;
  box-shadow: none;
}

.level-rank-glow.bronze::before {
  background: none;
  box-shadow: none;
}

.level-rank-glow.gold .level-badge-img {
  filter: none;
}

.level-rank-glow.silver .level-badge-img {
  filter: none;
}

.level-rank-glow.bronze .level-badge-img {
  filter: none;
}

/* Layout v34 - mobile refresh for manager layout */
@media (max-width: 1180px) {
  .app-frame {
    width: 100%;
    max-width: 100%;
    padding-bottom: 78px;
  }

  .arena-top-menu {
    position: sticky;
    top: 0;
    padding: 8px;
    border-radius: 0 0 14px 14px;
  }

  .arena-score-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
    gap: 8px;
  }

  .arena-season-unified-card {
    display: grid;
    grid-template-columns: 92px minmax(62px, .45fr) minmax(108px, .72fr) minmax(122px, .82fr);
    min-height: 76px;
    padding: 6px;
  }

  .arena-season-brand,
  .arena-season-unified-card article {
    min-height: 60px;
  }

  .arena-season-brand .brand,
  .arena-season-brand .game-brand,
  .arena-season-brand .game-logo,
  .arena-season-brand img {
    max-width: 76px;
    max-height: 30px;
  }

  .arena-season-brand .online-counter-wrap {
    margin-top: 3px;
  }

  .arena-season-unified-card article {
    padding: 7px 8px;
  }

  .arena-season-unified-card article span {
    font-size: .56rem;
  }

  .arena-season-unified-card article strong {
    font-size: 1.5rem;
  }

  .arena-season-unified-card article strong em {
    font-size: .62rem;
  }

  .arena-season-unified-card article small {
    font-size: .54rem;
    line-height: 1.12;
  }

  .arena-round-clock strong {
    font-size: 1.45rem !important;
  }

  .arena-premium-mini em {
    padding: 2px 5px;
    font-size: .46rem;
  }

  .arena-premium-mini b {
    font-size: .56rem;
  }

  .arena-live-board {
    min-height: 76px;
    padding: 8px 10px;
  }

  .arena-live-board small {
    display: block;
    max-width: calc(100% - 78px);
    margin: 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .arena-live-flag {
    top: 8px;
    left: 10px;
    font-size: .62rem;
  }

  .arena-live-score {
    gap: 8px;
    margin-top: 10px;
  }

  .arena-live-score > strong {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .arena-live-score span {
    gap: 3px;
    font-size: .64rem;
  }

  .arena-live-score .crest,
  .arena-live-score img {
    width: 34px;
    height: 34px;
  }

  .arena-next-match-card,
  .arena-club-top-card {
    display: none;
  }

  .arena-layout {
    display: block;
    padding: 8px;
  }

  .arena-layout-side {
    display: none;
  }

  .arena-main {
    width: 100%;
    padding-bottom: 80px;
  }

  .arena-main .topbar.arena-mobile-ticker {
    display: none;
  }

  .mobile-top-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }

  .mobile-top-actions button {
    min-height: 38px;
    border-radius: 10px;
    font-size: .82rem;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .arena-top-menu {
    padding: 6px;
  }

  .arena-score-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .arena-season-unified-card {
    grid-template-columns: 78px minmax(56px, .6fr) minmax(96px, 1fr) minmax(108px, 1fr);
    min-height: 66px;
    border-radius: 13px;
  }

  .arena-season-brand,
  .arena-season-unified-card article {
    min-height: 52px;
  }

  .arena-season-brand {
    padding: 4px;
  }

  .arena-season-brand .brand,
  .arena-season-brand .game-brand,
  .arena-season-brand .game-logo,
  .arena-season-brand img {
    max-width: 62px;
    max-height: 24px;
  }

  .arena-season-brand .online-counter {
    min-height: 20px;
    padding: 2px 6px;
    font-size: .58rem;
  }

  .arena-season-brand .online-search-btn {
    display: none;
  }

  .arena-season-unified-card article {
    padding: 6px;
  }

  .arena-season-unified-card article span {
    font-size: .5rem;
  }

  .arena-season-unified-card article strong {
    font-size: 1.25rem;
  }

  .arena-season-unified-card article strong em {
    display: inline;
    margin-left: 1px;
    font-size: .52rem;
  }

  .arena-season-unified-card article small {
    font-size: .48rem;
  }

  .arena-round-clock strong {
    font-size: 1.25rem !important;
  }

  .arena-premium-mini {
    margin-top: 2px;
  }

  .arena-premium-mini em {
    max-width: 100%;
    padding: 2px 4px;
    font-size: .4rem;
  }

  .arena-premium-mini b {
    font-size: .48rem;
  }

  .arena-live-board {
    min-height: auto;
    padding: 8px;
    border-radius: 13px;
  }

  .arena-live-board small {
    max-width: 100%;
    padding-left: 58px;
    font-size: .58rem;
    text-align: left;
  }

  .arena-live-flag {
    top: 9px;
    left: 9px;
    font-size: .54rem;
  }

  .arena-live-flag i {
    width: 7px;
    height: 7px;
  }

  .arena-live-score {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
    margin-top: 8px;
  }

  .arena-live-score span {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px;
    justify-items: start;
    min-width: 0;
    text-align: left;
  }

  .arena-live-score span b {
    overflow: hidden;
    max-width: 100%;
    font-size: .58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .arena-live-score > strong {
    font-size: 1.65rem;
    letter-spacing: 0;
  }

  .arena-live-score .crest,
  .arena-live-score img {
    width: 28px;
    height: 28px;
  }

  .arena-layout {
    padding: 6px;
  }

  .home-arena,
  .home-clean-shortcuts,
  .home-rank-panels,
  .home-records-grid,
  .dashboard-grid,
  .two-col,
  .grid-2,
  .grid-3,
  .recados-layout {
    grid-template-columns: 1fr !important;
  }

  .home-arena .rank-table-head,
  .home-arena .rank-row {
    grid-template-columns: 22px 32px minmax(0, 1fr) 56px;
    gap: 5px;
  }

  .level-badge-img {
    width: 26px;
    height: 26px;
  }

  .rank-player,
  .rank-score {
    min-width: 0;
    font-size: .72rem;
  }

  .mobile-menu-panel {
    width: min(92vw, 340px);
  }
}

@media (max-width: 420px) {
  .arena-season-unified-card {
    grid-template-columns: 64px 48px minmax(76px, 1fr) minmax(88px, 1fr);
  }

  .arena-season-brand .brand,
  .arena-season-brand .game-brand,
  .arena-season-brand .game-logo,
  .arena-season-brand img {
    max-width: 52px;
    max-height: 21px;
  }

  .arena-season-unified-card article {
    padding: 5px 4px;
  }

  .arena-season-unified-card article strong {
    font-size: 1.08rem;
  }

  .arena-round-clock strong {
    font-size: 1.08rem !important;
  }

  .arena-premium-mini em {
    font-size: .36rem;
  }

  .arena-live-score > strong {
    font-size: 1.42rem;
  }
}

/* Layout v36 - official season calendar look */
.calendar-main-title {
  padding: 12px 14px;
  border: 1px solid rgba(69, 255, 123, .3);
  border-radius: 16px 16px 0 0;
  background:
    linear-gradient(135deg, rgba(5, 72, 32, .88), rgba(3, 18, 18, .94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 8px, transparent 8px 18px);
}

.calendar-main-title h3 {
  letter-spacing: .02em;
}

.calendar-timeline {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(69, 255, 123, .28);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background:
    linear-gradient(180deg, rgba(4, 24, 17, .82), rgba(1, 10, 9, .92));
}

.calendar-day {
  position: relative;
  gap: 8px;
  min-height: 146px;
  padding: 13px;
  border: 0;
  border-right: 1px solid rgba(69, 255, 123, .16);
  border-bottom: 1px solid rgba(69, 255, 123, .16);
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(44,255,105,.1), transparent 42%),
    rgba(2, 17, 13, .56);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
}

.calendar-day strong {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
}

.calendar-day strong em {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  background: rgba(0,0,0,.22);
  font-style: normal;
}

.calendar-day strong span {
  color: #ffffff;
  font-size: .92rem;
  font-weight: 1000;
  line-height: 1;
}

.calendar-day strong small {
  overflow: hidden;
  color: #85ff9a;
  font-size: .58rem;
  font-weight: 1000;
  letter-spacing: .04em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.calendar-day > span {
  color: #ecfff2;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.2;
}

.calendar-day > small {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,.1);
  color: #a7bbb3;
  font-size: .66rem;
  line-height: 1.2;
}

.calendar-day.live,
.calendar-day.active {
  background:
    radial-gradient(circle at 50% 0%, rgba(47,255,101,.26), transparent 52%),
    linear-gradient(180deg, rgba(8, 64, 29, .74), rgba(2, 22, 13, .86));
  box-shadow: inset 0 0 0 1px rgba(59,255,111,.44), 0 0 22px rgba(32,255,89,.18);
}

.calendar-day.live::after,
.calendar-day.active::after {
  content: "AO VIVO";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #17e956;
  color: #04200c;
  font-size: .52rem;
  font-weight: 1000;
}

.calendar-day.done {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(18, 31, 28, .7), rgba(4, 12, 11, .82));
}

.calendar-day.done strong em {
  filter: grayscale(.4);
  opacity: .78;
}

@media (max-width: 1500px) {
  .calendar-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .calendar-day {
    min-height: 128px;
  }
}

@media (max-width: 560px) {
  .calendar-timeline {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 112px;
  }
}

/* Layout v37 - foreign teams competition */
.foreign-teams-page .champ-overview article {
  border-color: rgba(255, 216, 76, .28);
}

.foreign-teams-table tr.foreign-qualified {
  background: linear-gradient(90deg, rgba(255, 216, 76, .12), rgba(32, 255, 93, .04));
}

.foreign-teams-table tr.foreign-qualified td:first-child {
  color: #ffd84c;
  font-weight: 1000;
}

.foreign-friendly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.foreign-friendly-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(69, 255, 123, .24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,216,76,.12), transparent 52%),
    linear-gradient(180deg, rgba(7, 34, 28, .82), rgba(2, 13, 13, .92));
}

.foreign-friendly-card strong {
  overflow: hidden;
  color: #f3fff5;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-account-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.arena-account-mini-stats em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  min-height: 18px;
  padding: 2px 5px;
  border: 1px solid rgba(69, 255, 123, .24);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #dcffe5;
  font-size: .58rem;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.arena-account-mini-stats .level-badge-img {
  width: 16px;
  height: 16px;
}

.foreign-friendly-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,216,76,.32);
  border-radius: 999px;
  background: rgba(255,216,76,.09);
  color: #ffd84c;
  font-weight: 1000;
}

/* Layout v38 - left menu chat preview */
.arena-chat-preview {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(69, 255, 123, .38);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(35, 220, 96, .14), transparent 55%),
    linear-gradient(180deg, rgba(4, 41, 23, .92), rgba(1, 18, 13, .96));
  color: #eaffef;
}

.arena-chat-preview-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.arena-chat-preview-head strong {
  overflow: hidden;
  color: #ffffff;
  font-size: .66rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-chat-preview-head button {
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(70,255,123,.48);
  border-radius: 999px;
  background: linear-gradient(180deg, #31e56d, #0c8c39);
  color: #fff;
  font-size: .58rem;
  font-weight: 1000;
  white-space: nowrap;
}

.arena-chat-preview-list {
  display: grid;
  gap: 6px;
}

.arena-chat-preview-list article {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.arena-chat-preview-avatar,
.arena-chat-preview-avatar .crest,
.arena-chat-preview-avatar img {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  object-fit: contain;
  border-radius: 8px;
  font-size: .58rem;
  font-weight: 1000;
}

.arena-chat-preview-list p {
  min-width: 0;
  margin: 0;
}

.arena-chat-preview-list b,
.arena-chat-preview-list small {
  display: block;
  overflow: hidden;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-chat-preview-list b {
  font-size: .66rem;
}

.arena-chat-preview-list small {
  color: #cbe9d5;
  font-size: .6rem;
}

/* Layout v40 - arena themed chat popup */
.quick-chat-popover {
  border: 1px solid rgba(49, 255, 107, .62);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 230, 94, .2), transparent 42%),
    repeating-linear-gradient(135deg, rgba(64,255,118,.035) 0 8px, transparent 8px 18px),
    linear-gradient(180deg, rgba(2, 27, 18, .98), rgba(1, 8, 9, .99));
  box-shadow: 0 0 0 1px rgba(49,255,107,.12), 0 24px 80px rgba(0,0,0,.6), 0 0 28px rgba(19, 217, 77, .2);
}

.quick-chat-head {
  min-height: 50px;
  border-bottom-color: rgba(49,255,107,.22);
  background:
    linear-gradient(135deg, rgba(5, 79, 33, .82), rgba(2, 18, 16, .92));
}

.quick-chat-head strong {
  color: #ffffff;
  font-weight: 1000;
  letter-spacing: .02em;
}

.quick-chat-head strong span,
.quick-chat-head small {
  color: #68ff82;
  text-shadow: 0 0 10px rgba(70,255,123,.45);
}

.quick-chat-head nav button {
  border-color: rgba(74,255,126,.22);
  background: rgba(0,0,0,.22);
  color: #bdf7c7;
}

.quick-chat-head nav button.active,
.quick-chat-head nav button:hover {
  border-color: rgba(255,216,76,.48);
  background: linear-gradient(180deg, rgba(255,216,76,.16), rgba(49,255,107,.08));
  color: #ffd84c;
}

.quick-chat-tabs {
  border-bottom-color: rgba(49,255,107,.2);
  background: rgba(0,0,0,.18);
}

.quick-chat-tabs button {
  color: #b8d7c0;
  background: linear-gradient(180deg, rgba(5, 28, 22, .65), rgba(2, 12, 12, .65));
  font-weight: 900;
}

.quick-chat-tabs button.active {
  color: #05150b;
  background: linear-gradient(180deg, #35f075, #12a943);
  box-shadow: inset 0 -2px 0 #ffd84c, 0 0 16px rgba(49,255,107,.22);
}

.quick-chat-list {
  gap: 8px;
  border-right-color: rgba(49,255,107,.18);
  background:
    linear-gradient(180deg, rgba(2, 16, 16, .46), rgba(0, 7, 6, .58));
  scrollbar-color: rgba(49,255,107,.75) rgba(0,0,0,.24);
}

.quick-chat-message {
  grid-template-columns: 24px 30px minmax(0, 1fr);
  gap: 6px;
}

.quick-chat-number,
.quick-chat-online button > span:first-child {
  border: 1px solid rgba(255,216,76,.22);
  background: linear-gradient(135deg, #15c856, #078832);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(49,255,107,.2);
}

.quick-chat-crest .crest,
.quick-chat-crest img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.4));
}

.quick-chat-meta strong {
  font-weight: 1000;
  text-shadow: 0 0 10px rgba(49,255,107,.18);
}

.quick-chat-meta em,
.quick-chat-online small {
  border-color: rgba(255,216,76,.32);
  background: rgba(255,216,76,.08);
  color: #e7f8df;
}

.quick-chat-meta small {
  color: rgba(190, 236, 200, .66);
}

.quick-chat-message p {
  border-color: rgba(49,255,107,.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 31, 29, .94), rgba(4, 17, 18, .96));
  color: #f3fff7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.quick-chat-online {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,216,76,.08), transparent 48%),
    rgba(1, 12, 11, .5);
}

.quick-chat-online > strong {
  color: #dfffe6;
  font-weight: 1000;
  text-transform: uppercase;
}

.quick-chat-online button {
  border: 1px solid transparent;
  border-radius: 9px;
}

.quick-chat-online button:hover {
  border-color: rgba(49,255,107,.24);
  background: rgba(49,255,107,.08);
}

.quick-chat-online b {
  color: #42e9ff;
  font-weight: 1000;
}

.quick-chat-list::-webkit-scrollbar-track,
.quick-chat-online > div::-webkit-scrollbar-track {
  background: rgba(0,0,0,.28);
}

.quick-chat-list::-webkit-scrollbar-thumb,
.quick-chat-online > div::-webkit-scrollbar-thumb {
  border-color: rgba(1, 10, 9, .95);
  background: linear-gradient(180deg, #36f075, #ffd84c);
}

.quick-chat-form {
  border-top-color: rgba(49,255,107,.24);
  background:
    linear-gradient(180deg, rgba(1, 15, 13, .95), rgba(0, 7, 6, .98));
}

.quick-chat-form input {
  min-height: 42px;
  border-color: rgba(49,255,107,.38);
  border-radius: 10px;
  background: rgba(0,0,0,.34);
  color: #f2fff5;
}

.quick-chat-form input:focus {
  border-color: rgba(255,216,76,.74);
  box-shadow: 0 0 0 3px rgba(49,255,107,.12);
}

.quick-chat-form button {
  min-width: 48px;
  min-height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #35f075, #0d9d3c);
  color: #04150b;
  font-weight: 1000;
}

/* Layout v41 - home live event strip */
.home-event-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(49, 255, 107, .36);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(49,255,107,.18), transparent 38%),
    linear-gradient(135deg, rgba(4, 46, 24, .92), rgba(2, 15, 15, .96));
  box-shadow: inset 0 0 0 1px rgba(91,255,134,.07), 0 10px 25px rgba(0,0,0,.2);
}

.home-event-title {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px 10px;
  border-right: 1px solid rgba(91,255,134,.14);
}

.home-event-title strong {
  color: #ffffff;
  font-size: .94rem;
  font-weight: 1000;
}

.home-event-title span {
  color: #93ffa7;
  font-size: .66rem;
  font-weight: 900;
  line-height: 1.2;
}

.home-event-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-event-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  padding: 9px;
  border: 1px solid rgba(91,255,134,.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(7, 31, 29, .9), rgba(2, 13, 13, .94));
}

.home-event-card[role="button"] {
  cursor: pointer;
}

.home-event-card:hover {
  border-color: rgba(255,216,76,.38);
  filter: brightness(1.05);
}

.home-event-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  background: rgba(0,0,0,.2);
  font-size: 1.08rem;
}

.home-event-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-event-card p {
  min-width: 0;
  margin: 0;
}

.home-event-card b,
.home-event-card small,
.home-event-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-event-card b {
  color: #ffd84c;
  font-size: .68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-event-card small {
  color: #f3fff7;
  font-size: .72rem;
  font-weight: 900;
}

.home-event-card em {
  grid-column: 2;
  color: #99bfa4;
  font-size: .58rem;
  font-style: normal;
}

.home-event-news {
  border-color: rgba(255,216,76,.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,216,76,.14), transparent 42%),
    linear-gradient(180deg, rgba(34, 28, 8, .82), rgba(4, 18, 15, .94));
}

@media (max-width: 980px) {
  .home-event-strip {
    grid-template-columns: 1fr;
  }

  .home-event-title {
    border-right: 0;
    border-bottom: 1px solid rgba(91,255,134,.14);
  }

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

@media (max-width: 560px) {
  .home-event-list {
    grid-template-columns: 1fr;
  }
}

/* Layout v42 - fix home cards after event strip */
.home-status-grid.home-arena-grid {
  grid-template-columns: minmax(520px, 1.15fr) minmax(420px, .85fr);
  align-items: stretch;
}

.home-status-grid.home-arena-grid .home-event-strip {
  grid-column: 1 / -1;
}

.home-status-grid.home-arena-grid .home-arena-score,
.home-status-grid.home-arena-grid .home-player-overview {
  min-width: 0;
}

.home-status-grid.home-arena-grid .match-feature {
  grid-column: auto;
}

@media (max-width: 1280px) {
  .home-status-grid.home-arena-grid {
    grid-template-columns: minmax(430px, 1.08fr) minmax(340px, .92fr);
  }
}

@media (max-width: 980px) {
  .home-status-grid.home-arena-grid {
    grid-template-columns: 1fr;
  }
}

/* Layout v47 - FutArena moderno inspirado na organizacao classica do BRGol */
:root {
  --arena-surface: rgba(5, 20, 20, .97);
  --arena-surface-soft: rgba(9, 31, 29, .96);
  --arena-green: #24e56f;
  --arena-green-dark: #087f35;
  --arena-green-line: rgba(60, 244, 119, .46);
  --arena-gold: #ffd84c;
  --arena-border: rgba(85, 224, 126, .34);
  --arena-text: #f3fff6;
  --arena-muted: #9bc9aa;
}

body {
  color: var(--arena-text);
  background: #04110d;
}

.app-frame {
  width: min(1380px, calc(100% - 20px));
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 0 34px;
}

.arena-top-menu {
  position: relative;
  z-index: 20;
  margin: 0 0 10px;
  border: 1px solid rgba(59, 238, 115, .42);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 34, 27, .98), rgba(3, 18, 17, .98));
  box-shadow: 0 8px 24px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.05);
}

.arena-score-strip {
  display: grid;
  grid-template-columns: minmax(430px, 1.45fr) minmax(270px, .9fr) minmax(190px, .62fr) minmax(180px, .55fr);
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #061d19 0%, #031311 100%);
}

.arena-season-unified-card,
.arena-live-board,
.arena-next-match-card,
.arena-club-top-card {
  min-height: 82px;
  border: 1px solid var(--arena-border) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(11, 42, 34, .98), rgba(4, 22, 20, .98)) !important;
  box-shadow: none !important;
}

.arena-season-unified-card {
  overflow: hidden;
}

.arena-season-brand,
.arena-season-unified-card article {
  padding: 8px 10px;
  border-color: rgba(70, 221, 116, .16) !important;
  background: transparent !important;
}

.arena-season-brand img,
.arena-season-brand .brand-logo {
  max-height: 48px;
}

.arena-season-unified-card article span,
.arena-next-match-card > span,
.arena-user-info > small {
  color: #74f29b !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .55px;
}

.arena-season-unified-card article strong,
.arena-live-score > strong,
.arena-user-info b {
  color: #fff !important;
  text-shadow: none !important;
}

.arena-live-board {
  padding: 8px 10px !important;
}

.arena-live-flag {
  color: #06180d !important;
  background: var(--arena-green) !important;
  border-radius: 999px;
  box-shadow: none !important;
}

.arena-live-score img,
.arena-next-match-card img,
.arena-user-crest img {
  filter: none !important;
}

.arena-layout {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr) 218px;
  align-items: start;
  gap: 10px;
  width: 100%;
}

.arena-layout-side {
  position: sticky;
  top: 8px;
  width: auto;
  min-width: 0;
  padding: 0 0 8px;
  overflow: hidden;
  border: 1px solid rgba(43, 211, 95, .36);
  border-radius: 8px;
  background: rgba(4, 17, 17, .97);
  box-shadow: 0 7px 20px rgba(0,0,0,.28);
}

.arena-layout-side h3,
.arena-main .section-title,
.arena-main .card > .section-title:first-child {
  min-height: 34px;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(2, 69, 23, .9) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(38, 229, 103, .18), transparent 42%),
    linear-gradient(180deg, #123f32 0%, #08271f 100%) !important;
  color: #fff !important;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0,0,0,.75) !important;
  box-sizing: border-box;
}

.arena-layout-side nav {
  display: grid;
  gap: 0;
  padding: 4px 8px;
}

.arena-side-link {
  min-height: 34px;
  padding: 5px 6px;
  border: 0 !important;
  border-bottom: 1px solid rgba(116, 190, 137, .17) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #dff8e6 !important;
  box-shadow: none !important;
  transform: none !important;
}

.arena-side-link:hover,
.arena-side-link.active {
  background: linear-gradient(90deg, rgba(35, 224, 104, .2), rgba(35, 224, 104, .04)) !important;
  color: #fff !important;
}

.arena-side-link.active {
  box-shadow: inset 3px 0 0 var(--arena-green) !important;
}

.arena-side-link b {
  font-size: 10px !important;
  letter-spacing: .15px;
}

.arena-side-icon {
  width: 22px !important;
  font-size: 14px !important;
}

.arena-account-card {
  width: calc(100% - 12px);
  margin: 0 6px 6px;
  padding: 9px;
  border: 1px solid rgba(61, 232, 112, .3) !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(42, 231, 102, .14), transparent 45%),
    linear-gradient(180deg, rgba(12, 42, 34, .98), rgba(4, 20, 19, .98)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.04) !important;
}

.arena-account-avatar {
  border-color: rgba(56, 235, 112, .5) !important;
  background: rgba(0,0,0,.24) !important;
}

.arena-account-info strong {
  color: #fff !important;
}

.arena-account-mini-stats em {
  border-color: rgba(57, 223, 108, .2) !important;
  background: rgba(13, 74, 43, .26) !important;
  color: #c9f7d5 !important;
}

.arena-shoot-button,
.arena-vip-box button,
.arena-whatsapp-button {
  border-radius: 7px !important;
  box-shadow: none !important;
}

.arena-shoot-button {
  margin: 6px 8px 8px !important;
  width: calc(100% - 16px) !important;
  border: 1px solid #48ee82 !important;
  background: linear-gradient(180deg, #25da61, #0a9137) !important;
  color: #04170c !important;
}

.arena-vip-box,
.arena-chat-preview {
  margin: 8px;
  border-radius: 7px !important;
  box-shadow: none !important;
}

.arena-main {
  min-width: 0;
  padding: 0 !important;
}

.arena-main .topbar.arena-mobile-ticker {
  margin: 0 0 8px;
  border: 1px solid rgba(50, 225, 105, .34);
  border-radius: 7px;
  background: rgba(3, 20, 18, .96);
  box-shadow: none;
}

.arena-main .card,
.arena-main .panel,
.arena-main .score-card,
.arena-main .home-arena > section,
.arena-main section.card {
  border: 1px solid var(--arena-border) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(9, 29, 28, .98), rgba(4, 17, 18, .98)) !important;
  box-shadow: 0 7px 18px rgba(0,0,0,.22) !important;
}

.arena-main table {
  border-collapse: collapse;
}

.arena-main table thead th {
  border-color: rgba(71, 221, 113, .3) !important;
  background: #103d2b !important;
  color: #dfffe8 !important;
}

.arena-main table tbody tr:nth-child(even) {
  background: rgba(39, 128, 73, .08);
}

.arena-main input,
.arena-main select,
.arena-main textarea {
  border-color: rgba(63, 221, 110, .34) !important;
  border-radius: 6px !important;
  background: rgba(0, 10, 10, .58) !important;
  color: #effff4 !important;
  box-shadow: none !important;
}

.arena-main button:not(.danger):not(.ghost),
.arena-main .primary {
  box-shadow: none !important;
}

.home-event-strip {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.home-event-card {
  border-radius: 7px !important;
  box-shadow: none !important;
}

.modal-backdrop > section,
.modal-backdrop > div,
.mobile-menu-panel {
  border: 1px solid rgba(53, 232, 109, .48) !important;
  border-radius: 9px !important;
  background: #071b19 !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.55) !important;
}

@media (max-width: 1180px) {
  .app-frame { width: min(100% - 12px, 1120px); }
  .arena-layout { grid-template-columns: 176px minmax(0, 1fr) 202px; gap: 7px; }
  .arena-score-strip { grid-template-columns: minmax(360px, 1.35fr) minmax(240px, .9fr) minmax(170px, .62fr); }
  .arena-club-top-card { display: none !important; }
}

@media (max-width: 900px) {
  .app-frame { width: 100%; padding: 0 0 76px; }
  .arena-top-menu { margin: 0; border-radius: 0; }
  .arena-score-strip { grid-template-columns: 1fr 1fr; }
  .arena-season-unified-card { grid-column: 1 / -1; }
  .arena-layout { display: block; }
  .arena-layout-side { display: none !important; }
  .arena-main { width: 100%; padding: 7px !important; box-sizing: border-box; }
  .arena-main .card, .arena-main .panel, .arena-main .score-card, .arena-main .home-arena > section { border-radius: 7px !important; }
}

@media (max-width: 560px) {
  .arena-score-strip { grid-template-columns: 1fr; }
  .arena-season-unified-card,
  .arena-live-board,
  .arena-next-match-card { grid-column: 1; }
}

/* Layout v49 - topo reorganizado e compacto */
.arena-score-strip {
  grid-template-columns: minmax(470px, 1.05fr) minmax(390px, 1fr) 220px;
  grid-template-rows: 61px 61px;
  grid-template-areas:
    "season live next"
    "season live club";
  gap: 7px;
  align-items: stretch;
}

.arena-season-unified-card {
  grid-area: season;
  grid-template-columns: minmax(120px, 1.1fr) minmax(82px, .7fr) minmax(118px, .95fr) minmax(142px, 1.12fr) !important;
  min-height: 129px !important;
  padding: 7px !important;
}

.arena-season-brand,
.arena-season-unified-card article {
  min-height: 0 !important;
  height: 100%;
  align-content: center !important;
  justify-content: center;
  padding: 7px 9px !important;
  box-sizing: border-box;
}

.arena-season-brand .brand-logo,
.arena-season-brand img {
  max-width: 94px !important;
  max-height: 38px !important;
}

.arena-season-unified-card article strong {
  margin-top: 4px !important;
  font-size: clamp(1.65rem, 2.1vw, 2.25rem) !important;
  line-height: 1 !important;
}

.arena-round-clock strong {
  font-size: clamp(1.28rem, 1.75vw, 1.75rem) !important;
  white-space: nowrap;
}

.arena-season-unified-card article small {
  margin-top: 5px !important;
  font-size: .62rem !important;
}

.arena-live-board {
  grid-area: live;
  min-height: 129px !important;
  padding: 9px 12px !important;
  overflow: hidden;
}

.arena-live-board > small {
  display: block;
  max-width: calc(100% - 90px);
  margin: 0 auto;
  overflow: hidden;
  color: #a9cfb5 !important;
  font-size: .62rem !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-live-score {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  gap: 10px !important;
  margin-top: 13px !important;
}

.arena-live-score > strong {
  min-width: 102px;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.arena-live-score span {
  display: flex !important;
  flex-direction: row;
  gap: 7px !important;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.arena-live-score span:last-child {
  flex-direction: row-reverse;
  justify-content: flex-start;
  text-align: right;
}

.arena-live-score span:last-child .crest,
.arena-live-score span:last-child img {
  flex: 0 0 38px;
}

.arena-live-score span:last-child b {
  text-align: right;
}

.arena-live-score span b {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: .76rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-live-score .crest,
.arena-live-score img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  flex: 0 0 38px;
}

.arena-next-match-card {
  grid-area: next;
}

.arena-club-top-card {
  grid-area: club;
}

.arena-next-match-card,
.arena-club-top-card {
  min-height: 61px !important;
  height: 61px;
  padding: 6px 8px !important;
  overflow: hidden;
}

.arena-next-match-card {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 6px !important;
  align-content: center;
  text-align: left;
}

.arena-next-match-card > span {
  align-self: end;
}

.arena-next-match-card div {
  grid-column: 2;
  grid-row: 1 / 3;
  gap: 5px !important;
}

.arena-next-match-card small {
  grid-column: 1;
  grid-row: 2;
  white-space: nowrap;
}

.arena-next-match-card .crest,
.arena-next-match-card img {
  width: 25px !important;
  height: 25px !important;
}

.arena-next-match-card strong {
  font-size: .9rem !important;
}

.arena-club-top-card {
  justify-content: flex-start !important;
  gap: 8px !important;
  text-align: left;
}

.arena-club-top-card .arena-user-crest {
  width: 43px !important;
  height: 43px !important;
  border-radius: 10px !important;
  flex: 0 0 43px;
}

.arena-club-top-card .arena-user-crest .crest,
.arena-club-top-card .arena-user-crest img {
  width: 34px !important;
  height: 34px !important;
}

.arena-club-top-card .arena-user-info {
  gap: 1px !important;
  max-width: calc(100% - 51px) !important;
}

.arena-club-top-card .arena-user-info b {
  max-width: 100% !important;
  font-size: .78rem !important;
}

.arena-club-top-card .arena-user-info strong {
  padding: 2px 7px !important;
  font-size: .62rem !important;
}

@media (max-width: 1180px) {
  .arena-score-strip {
    grid-template-columns: minmax(420px, 1.05fr) minmax(350px, 1fr) 190px;
  }
  .arena-season-unified-card { display: grid !important; }
  .arena-club-top-card { display: flex !important; }
}

@media (max-width: 980px) {
  .arena-score-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "season season"
      "live live"
      "next club";
  }
  .arena-season-unified-card,
  .arena-live-board { min-height: 116px !important; }
}

@media (max-width: 620px) {
  .arena-score-strip {
    grid-template-columns: 1fr;
    grid-template-areas: "season" "live" "next" "club";
  }
  .arena-season-unified-card {
    grid-template-columns: 1fr 1fr !important;
    height: auto;
  }
  .arena-season-brand,
  .arena-season-unified-card article { min-height: 70px !important; }
  .arena-season-brand,
  .arena-season-unified-card article:not(:last-child) { border-right: 0 !important; }
  .arena-live-score > strong { min-width: 78px; font-size: 2rem !important; }
}

/* Layout v51 - conteudo compacto e paginas adaptadas ao novo shell */
.arena-main,
.arena-main * {
  box-sizing: border-box;
}

.arena-main {
  overflow: hidden;
  font-size: .91rem;
}

.arena-main > *,
.arena-main section,
.arena-main article,
.arena-main form,
.arena-main .grid {
  min-width: 0;
  max-width: 100%;
}

.arena-main [class*="-page"],
.arena-main .grid,
.arena-main .dashboard-player,
.arena-main .dashboard-grid-wide {
  gap: 10px !important;
}

.arena-main .dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}

.arena-main .card-pad {
  padding: 12px !important;
}

.arena-main .section-title {
  min-height: 31px;
  padding: 6px 9px !important;
}

.arena-main .section-title h2,
.arena-main .section-title h3 {
  min-width: 0;
  overflow: hidden;
  font-size: .88rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-main .list {
  gap: 5px;
}

.arena-main .list-item {
  min-width: 0;
  min-height: 38px;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 6px;
}

.arena-main .list-item > * {
  min-width: 0;
}

.arena-main .table,
.arena-main table {
  width: 100%;
  max-width: 100%;
}

.arena-main .table th,
.arena-main .table td,
.arena-main table th,
.arena-main table td {
  padding: 7px 8px;
}

.arena-main .tabs {
  gap: 5px;
  margin-bottom: 9px;
}

.arena-main .tab-btn,
.arena-main .tabs button {
  min-height: 32px;
  padding: 6px 9px;
}

.arena-main img {
  max-width: 100%;
}

.arena-main input,
.arena-main select,
.arena-main textarea {
  max-width: 100%;
}

/* Pagina do time: estadio em destaque primeiro, informacoes compactas abaixo. */
.team-page {
  gap: 10px !important;
}

.team-hero {
  gap: 10px !important;
}

.team-stadium-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "stadium stadium"
    "titles titles"
    "representatives supporters";
  gap: 8px !important;
  margin: -12px -12px 0 !important;
  align-items: stretch !important;
}

.team-stadium-stage {
  grid-area: stadium;
  min-height: 285px !important;
  max-height: 340px;
  margin: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(42, 231, 102, .13), transparent 48%),
    linear-gradient(180deg, rgba(4, 28, 24, .88), rgba(2, 14, 14, .94));
}

.team-stadium-img {
  width: min(82%, 780px) !important;
  max-height: 326px !important;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.42)) !important;
}

.team-stadium-logo {
  top: 26% !important;
  width: clamp(74px, 10vw, 118px) !important;
  height: clamp(74px, 10vw, 118px) !important;
}

.team-representatives-panel {
  grid-area: representatives;
}

.team-supporter-panel {
  grid-area: supporters;
}

.team-top-titles {
  grid-area: titles;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 227, 125, .24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 42, 34, .96), rgba(3, 23, 20, .98));
}

.team-top-titles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #eafff2;
  text-transform: uppercase;
}

.team-top-titles-head strong { font-size: .78rem; }
.team-top-titles-head span { color: #78eaa8; font-size: .68rem; font-weight: 850; }

.team-top-titles-list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.team-top-titles-list article {
  display: flex;
  min-width: 145px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 210, 77, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.team-top-trophy {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45));
}

.team-top-titles-list article div { display: grid; min-width: 0; }
.team-top-titles-list article strong { color: #ffd84f; font-size: 1.15rem; line-height: 1; }
.team-top-titles-list article span { overflow: hidden; color: #eafff2; font-size: .68rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.team-top-titles-list > p { margin: 0; color: #9bc6af; font-size: .75rem; }

.team-representatives-panel,
.team-supporter-panel {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

.team-representatives-panel {
  align-content: start;
}

.team-representatives-panel > p,
.team-supporter-panel > p {
  margin: 5px 0 !important;
}

.team-representatives-list {
  max-height: none;
  overflow: visible;
}

.team-representatives-list .list-item {
  min-height: 38px;
  padding: 6px 8px;
}

.team-representatives-list .representative-name-only {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: #effff6;
  background: rgba(255, 255, 255, .045);
  text-align: left;
}

.team-representatives-list .representative-name-only strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: .78rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-supporter-panel {
  gap: 7px !important;
  align-content: start !important;
}

.team-supporter-panel h3 {
  font-size: 1.42rem !important;
}

.supporter-money-grid {
  gap: 6px !important;
}

.supporter-money-grid article,
.supporter-money-grid > div {
  min-height: 0 !important;
  padding: 8px !important;
}

.team-hero-content {
  gap: 10px !important;
}

.team-hero-main {
  gap: 11px !important;
}

.team-hero-main > .crest,
.team-hero-main > img {
  width: 58px !important;
  height: 58px !important;
}

.team-hero h2 {
  margin: 3px 0 !important;
  font-size: clamp(1.65rem, 3vw, 2.65rem) !important;
  line-height: 1 !important;
}

.team-reactions {
  gap: 5px !important;
}

.team-reactions button {
  min-width: 94px !important;
  min-height: 34px;
  padding: 5px 8px !important;
}

.team-field-card {
  min-height: 290px !important;
}

@media (max-width: 900px) {
  .arena-main { overflow: visible; }
  .arena-main .dashboard-grid { grid-template-columns: 1fr; }
  .team-stadium-stage { min-height: 245px !important; }
  .team-stadium-img { width: min(104%, 680px) !important; max-height: 278px !important; }
}

@media (max-width: 620px) {
  .arena-main { font-size: .87rem; }
  .arena-main .card-pad { padding: 9px !important; }
  .team-stadium-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "stadium" "titles" "representatives" "supporters";
    margin: -9px -9px 0 !important;
  }
  .team-stadium-stage { min-height: 215px !important; }
  .team-stadium-img { width: 118% !important; max-height: 245px !important; }
  .team-top-titles-list article { min-width: 128px; }
  .team-hero-content,
  .team-hero-main { align-items: flex-start; }
  .team-reactions { justify-content: flex-start; }
}

/* Layout v52 - Meu Clube completo e preparado para o shell compacto */
.club-manager-page {
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 10px;
}

.club-manager-page-wide {
  grid-template-columns: minmax(0, 1fr);
}

.club-manager-sidebar {
  top: 68px;
  padding: 10px;
  gap: 10px;
}

.club-sidebar-head {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.club-sidebar-head .crest,
.club-sidebar-head img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.club-manager-tabs {
  gap: 5px;
}

.club-manager-tabs button,
.club-manager-inline-tabs button {
  min-height: 33px;
  padding: 6px 9px;
  font-size: .76rem;
}

.club-manager-inline-tabs {
  gap: 6px;
  padding: 7px;
}

.club-manager-inline-tabs button {
  flex-basis: 105px;
}

.club-manager-main {
  gap: 10px;
}

.club-manager-top {
  padding: 10px 12px;
  gap: 10px;
}

.club-manager-top h2 {
  font-size: 1.12rem;
}

.club-manager-top p {
  margin: 2px 0 0;
  font-size: .72rem;
}

.club-top-wallet span {
  padding: 6px 9px;
  font-size: .74rem;
}

.club-manager-overview {
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: 10px;
}

.club-manager-card-main,
.club-manager-overview > .card,
.club-manager-main > .card {
  padding: 11px;
}

.club-manager-title {
  gap: 10px;
}

.club-manager-title .crest,
.club-manager-title img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.club-manager-title h2 {
  font-size: 1.35rem;
}

.club-manager-stats {
  gap: 6px;
  margin-top: 10px;
}

.club-manager-stats article,
.president-card .metric {
  min-height: 0;
  padding: 8px;
}

.club-manager-stats b,
.president-card .metric b {
  font-size: .92rem;
}

.club-manager-page .list-item {
  min-height: 38px;
  padding: 7px 9px;
}

.club-manager-page .field {
  gap: 4px;
}

.club-manager-page input,
.club-manager-page select {
  min-height: 36px;
}

@media (max-width: 900px) {
  .club-manager-page,
  .club-manager-overview {
    grid-template-columns: 1fr;
  }

  .club-manager-sidebar {
    position: static;
  }

  .club-manager-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Layout v66 - nomes completos e trofeus em segunda linha nos tops */
.home-rank-panels .rank-row {
  min-height: 49px !important;
}

.home-rank-panels .rank-player {
  align-items: center;
}

.home-rank-panels .rank-player > span {
  display: block;
  overflow: hidden;
}

.home-arena .home-rank-panels .rank-name-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1px 3px !important;
  align-items: center;
  align-content: center;
  overflow: visible !important;
  white-space: normal !important;
}

.home-arena .home-rank-panels .rank-name-line .player-name {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  font-size: .85rem !important;
  line-height: 1.05;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.home-rank-panels .rank-name-line .last-top-badge,
.home-rank-panels .rank-name-line .club-role-badge {
  margin-top: 1px;
}

/* Layout v63 - classificacao em largura total e jogos abaixo */
.arena-main .competition-content-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: start;
}

.competition-standings-card,
.competition-rounds-card,
.competition-history-card {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.competition-standings-card {
  overflow-x: auto;
}

.competition-standings-card .championship-table {
  width: 100%;
  min-width: 760px;
  table-layout: auto;
}

.competition-standings-card .championship-table th,
.competition-standings-card .championship-table td {
  height: 36px;
  padding: 5px 6px !important;
  font-size: .65rem;
  text-align: center;
  white-space: nowrap;
}

.competition-standings-card .championship-table th:nth-child(2),
.competition-standings-card .championship-table td:nth-child(2) {
  min-width: 170px;
  text-align: left;
}

.competition-standings-card .championship-table td:nth-child(2) .crest,
.competition-standings-card .championship-table td:nth-child(2) img {
  display: inline-grid;
  width: 24px !important;
  height: 24px !important;
  margin-right: 5px;
  object-fit: contain;
  vertical-align: middle;
}

.competition-standings-card .badge-list {
  flex-wrap: nowrap;
  justify-content: center;
}

.competition-standings-card .badge-list small {
  padding: 2px 4px;
  font-size: .5rem;
}

.competition-rounds-card .round-tabs {
  margin-bottom: 7px;
}

.competition-rounds-card .list,
.competition-history-card .match-history-list {
  gap: 5px !important;
}

.competition-rounds-card .champ-match,
.competition-history-card .champ-match {
  width: 100%;
  min-height: 38px;
  padding: 5px 7px !important;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .arena-main .competition-content-flow {
    grid-template-columns: 1fr !important;
  }

  .competition-standings-card,
  .competition-rounds-card,
  .competition-history-card,
  .competition-content-flow > section {
    grid-column: 1 !important;
  }
}

/* Layout v60 - compactacao geral das paginas internas */
.arena-main {
  font-size: .79rem !important;
}

.arena-main > section,
.arena-main > article,
.arena-main [class$="-page"],
.arena-main [class*="-layout"],
.arena-main [class*="-grid"] {
  min-width: 0;
}

.arena-main > section,
.arena-main .grid,
.arena-main .grid-2,
.arena-main .grid-3,
.arena-main .two-col,
.arena-main .dashboard-grid,
.arena-main .rank-panels,
.arena-main .record-grid,
.arena-main .list,
.arena-main .tabs {
  gap: 7px !important;
}

.arena-main .grid,
.arena-main .grid-2,
.arena-main .grid-3,
.arena-main .two-col,
.arena-main .dashboard-grid,
.arena-main .rank-panels,
.arena-main .record-grid {
  align-items: start;
}

.arena-main .card,
.arena-main .panel,
.arena-main .status-card,
.arena-main .score-card {
  border-radius: 7px !important;
}

.arena-main .card-pad,
.arena-main .panel-pad,
.arena-main .status-card {
  padding: 9px !important;
}

.arena-main .status-card {
  min-height: 88px;
}

.arena-main .section-title {
  gap: 7px;
  margin-bottom: 6px !important;
}

.arena-main h1 {
  margin-top: 0;
  margin-bottom: 7px;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem) !important;
  line-height: 1.05;
}

.arena-main h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: clamp(1.02rem, 1.65vw, 1.38rem) !important;
  line-height: 1.08;
}

.arena-main h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: .92rem !important;
  line-height: 1.12;
}

.arena-main p {
  margin-top: 4px;
  margin-bottom: 6px;
  line-height: 1.32;
}

.arena-main .muted,
.arena-main small {
  font-size: .67rem;
  line-height: 1.25;
}

.arena-main button,
.arena-main .button,
.arena-main input,
.arena-main select,
.arena-main textarea {
  font-size: .72rem;
}

.arena-main button,
.arena-main .button,
.arena-main input,
.arena-main select {
  min-height: 31px;
}

.arena-main button,
.arena-main .button {
  padding: 5px 9px;
}

.arena-main input,
.arena-main select,
.arena-main textarea {
  padding: 6px 8px;
  border-radius: 6px;
}

.arena-main .field {
  gap: 3px;
  margin-bottom: 5px;
}

.arena-main .field label {
  font-size: .64rem;
}

.arena-main .pill,
.arena-main .tag,
.arena-main .badge,
.arena-main .status-label {
  padding: 3px 7px;
  font-size: .59rem;
}

.arena-main .list {
  display: grid;
}

.arena-main .list-item {
  min-height: 34px;
  padding: 6px 8px;
  gap: 7px;
}

.arena-main table th,
.arena-main table td {
  padding: 6px 7px !important;
  font-size: .68rem;
}

.arena-main .metric-row,
.arena-main .stats-grid,
.arena-main .summary-grid {
  gap: 6px !important;
}

.arena-main .metric,
.arena-main [class*="stat-card"],
.arena-main [class*="summary-card"] {
  min-height: 0 !important;
  padding: 8px !important;
}

.arena-main .metric b,
.arena-main [class*="stat-card"] strong,
.arena-main [class*="summary-card"] strong {
  font-size: .88rem !important;
}

.arena-main [class*="hero"] {
  min-height: 0;
}

.arena-main [class*="hero"]:not(.team-hero):not(.rank-hero) {
  padding: 11px !important;
}

.arena-main .rank-hero {
  min-height: 0;
  padding: 12px !important;
}

.arena-main .rank-hero h1 {
  font-size: clamp(1.45rem, 3vw, 2.3rem) !important;
}

.arena-main .club-transfer-hero,
.arena-main .club-manager-top,
.arena-main .club-manager-card-main,
.arena-main .club-custom-item,
.arena-main .team-shop-card {
  padding: 8px !important;
}

.arena-main .club-transfer-grid,
.arena-main .club-custom-grid,
.arena-main .team-shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)) !important;
  gap: 7px !important;
}

.arena-main .home-clean-shortcuts .home-shortcut {
  min-height: 52px !important;
  padding: 8px 9px !important;
}

.arena-main .home-shortcut span,
.arena-main .home-shortcut strong {
  font-size: .67rem !important;
}

.arena-main .home-status-grid.home-arena-grid,
.arena-main .home-arena,
.arena-main .club-modern-page,
.arena-main .club-manager-main,
.arena-main .club-transfer-modern {
  gap: 8px !important;
}

.arena-main .home-event-strip,
.arena-main .home-arena-score {
  padding: 9px !important;
}

.arena-main .competition-card,
.arena-main .calendar-card,
.arena-main .achievement-card,
.arena-main .reward-card,
.arena-main .profile-card {
  min-height: 0 !important;
  padding: 8px !important;
}

@media (min-width: 1100px) {
  .arena-main .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .arena-main .grid-2,
  .arena-main .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .arena-main {
    font-size: .82rem !important;
  }

  .arena-main .card-pad,
  .arena-main .panel-pad,
  .arena-main .status-card {
    padding: 8px !important;
  }
}

/* Layout v61 - acoes diretas e compactas em Minha Conta */
.arena-side-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 7px 8px 8px;
}

.arena-action-button {
  --action-progress: 100%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1px 5px;
  align-items: center;
  min-width: 0;
  min-height: 61px;
  padding: 8px 6px;
  overflow: hidden;
  border: 1px solid rgba(58, 235, 113, .55);
  border-radius: 8px;
  color: #effff4;
  text-align: left;
  background: #061c16;
  box-shadow: none;
}

.arena-action-button > i {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: var(--action-progress);
  border-radius: 7px;
  opacity: .88;
  transition: width 1s linear;
}

.arena-action-shoot > i {
  background: linear-gradient(90deg, #087e35, #16bd55);
}

.arena-action-dry {
  border-color: rgba(255, 179, 59, .58);
}

.arena-action-dry > i {
  background: linear-gradient(90deg, #80420a, #cf7816);
}

.arena-action-field {
  grid-column: 1 / -1;
  min-height: 50px;
  border-color: rgba(60, 195, 255, .65);
}

.arena-action-field > i {
  width: 100%;
  background: linear-gradient(90deg, #075b89, #079d78);
}

.arena-action-button > span {
  grid-row: 1 / 3;
  font-size: 1.28rem;
  line-height: 1;
  text-align: center;
}

.arena-action-button > b {
  overflow: hidden;
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-action-button > small {
  overflow: hidden;
  color: #d4f5df;
  font-size: .48rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-action-button:disabled {
  cursor: not-allowed;
  opacity: .72;
  filter: saturate(.72);
}

.arena-action-button.action-ready {
  border-color: rgba(99, 255, 150, .9);
}

.arena-action-dry.action-ready {
  border-color: rgba(255, 196, 87, .92);
}

.quick-chat-standalone {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
}

.quick-chat-standalone .quick-chat-popover {
  position: relative;
  right: auto;
  bottom: auto;
}

.chat-page {
  min-height: min(720px, calc(100vh - 210px));
}

.chat-page-shell .quick-chat-popover {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  min-height: min(680px, calc(100vh - 260px));
  display: flex;
  flex-direction: column;
}

.chat-page-shell .quick-chat-body {
  flex: 1;
  min-height: 420px;
}

.chat-page-shell .quick-chat-list {
  max-height: none;
}

.chat-page-shell .quick-chat-head nav [data-toggle-quick-chat] {
  display: none;
}

@media (max-width: 720px) {
  .quick-chat-standalone {
    right: 7px;
    bottom: 74px;
    left: 7px;
  }

  .quick-chat-standalone .quick-chat-popover {
    width: 100%;
    max-width: none;
  }

  .chat-page-shell .quick-chat-body {
    min-height: 0;
  }
}

/* Layout v55 - parceiros no menu da conta */
.arena-partners {
  width: calc(100% - 16px);
  margin: 5px 8px 8px;
  padding: 7px;
  border: 1px solid rgba(50, 225, 105, .28);
  border-radius: 7px;
  box-sizing: border-box;
  background: rgba(3, 24, 19, .72);
}

.arena-partners > strong {
  display: block;
  margin-bottom: 6px;
  color: #9bb4aa;
  font-size: .56rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-align: center;
}

.arena-partners > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.arena-partners a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 43px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.arena-partners a:hover {
  border-color: rgba(50, 225, 105, .58);
  background: rgba(50, 225, 105, .09);
  transform: translateY(-1px);
}

.arena-partners img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Layout v56 - rankings do inicio contidos na coluna central */
.home-rank-panels,
.home-rank-panels .rank-panel,
.home-rank-panels .rank-list,
.home-rank-panels .rank-row,
.home-rank-panels .rank-player,
.home-rank-panels .rank-player > span,
.home-rank-panels .rank-name-line {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.home-rank-panels {
  width: 100%;
  gap: 10px !important;
}

.home-rank-panels .rank-panel {
  overflow: hidden !important;
}

.home-rank-panels .top-band {
  min-height: 42px !important;
  height: 42px !important;
  padding: 9px 12px !important;
}

.home-rank-panels .top-band span {
  overflow: hidden;
  min-width: 0;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-rank-panels .top-band strong {
  flex: 0 0 auto;
  font-size: .86rem !important;
}

.home-arena .home-rank-panels .rank-table-head,
.home-arena .home-rank-panels .rank-row {
  grid-template-columns: 22px 30px minmax(0, 1fr) 54px !important;
  gap: 4px !important;
  width: 100%;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.home-rank-panels .rank-table-head {
  padding-top: 8px !important;
  padding-bottom: 5px !important;
  font-size: .59rem !important;
}

.home-rank-panels .rank-row {
  min-height: 43px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  overflow: hidden;
}

.home-rank-panels .level-badge-img {
  width: 27px !important;
  height: 27px !important;
}

.home-rank-panels .rank-player {
  gap: 5px !important;
  overflow: hidden !important;
  font-size: .73rem !important;
}

.home-rank-panels .rank-player .crest,
.home-rank-panels .rank-player img.crest {
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px !important;
}

.home-arena .home-rank-panels .rank-player strong,
.home-arena .home-rank-panels .rank-player .player-name,
.home-rank-panels .rank-name-line {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-rank-panels .rank-name-line {
  gap: 2px !important;
}

.home-rank-panels .rank-name-line .last-top-badge,
.home-rank-panels .rank-name-line .club-role-badge {
  flex-shrink: 0 !important;
}

.home-rank-panels .rank-goals {
  grid-template-columns: minmax(24px, 1fr) 18px !important;
  gap: 2px !important;
  overflow: hidden;
}

.home-rank-panels .rank-score {
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden;
  font-size: .72rem !important;
  text-overflow: ellipsis;
}

.home-rank-panels .rank-action,
.home-rank-panels .tackle-button,
.home-rank-panels .tackle-button img,
.home-rank-panels .rank-block-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
}

@media (max-width: 1050px) {
  .home-rank-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .home-rank-panels {
    grid-template-columns: 1fr !important;
  }
}

/* Layout v53 - previa do chat contida no menu lateral */
.arena-chat-preview {
  width: calc(100% - 16px) !important;
  min-width: 0 !important;
  max-width: calc(100% - 16px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  padding: 8px !important;
}

.arena-chat-preview-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 5px !important;
  min-width: 0 !important;
}

.arena-chat-preview-head strong {
  min-width: 0 !important;
  font-size: .61rem !important;
}

.arena-chat-preview-head button {
  width: auto !important;
  max-width: 62px !important;
  min-width: 0 !important;
  min-height: 22px !important;
  padding: 3px 6px !important;
  font-size: .52rem !important;
  box-sizing: border-box !important;
}

.arena-chat-preview-list,
.arena-chat-preview-list article,
.arena-chat-preview-list p {
  min-width: 0 !important;
  max-width: 100% !important;
}

.arena-chat-preview-list article {
  grid-template-columns: 23px minmax(0, 1fr) !important;
  gap: 5px !important;
}

.arena-chat-preview-avatar,
.arena-chat-preview-avatar .crest,
.arena-chat-preview-avatar img {
  width: 23px !important;
  height: 23px !important;
}

/* Layout v54 - Meu Clube usa navegacao horizontal em todas as secoes */
.club-manager-top-navigation {
  display: block !important;
}

.club-manager-top-navigation .club-manager-main {
  width: 100%;
}

.club-manager-top-navigation .club-manager-inline-tabs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  width: 100%;
  box-sizing: border-box;
}

.club-manager-top-navigation .club-manager-inline-tabs button {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

.club-manager-top-navigation .club-leave-btn {
  min-height: 30px;
  margin: 0;
  padding: 5px 9px;
  font-size: .68rem;
}

.club-vip-players-card {
  display: grid;
  gap: 12px;
}

.club-vip-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.club-vip-filters,
.club-vip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.club-vip-filters button.active {
  color: #071a12;
  border-color: #3af58e;
  background: #3af58e;
}

.club-vip-balance {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(58, 245, 142, .25);
  border-radius: 8px;
  background: rgba(58, 245, 142, .07);
}

.club-vip-balance strong {
  color: #3af58e;
}

.club-vip-player-list {
  display: grid;
  gap: 7px;
}

.club-vip-player-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(130px, auto) minmax(220px, auto);
  gap: 12px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: rgba(2, 18, 22, .72);
}

.club-vip-player-row[hidden],
.club-vip-empty[hidden] {
  display: none !important;
}

.club-vip-player-info {
  display: grid;
  gap: 2px;
}

.club-vip-player-info small {
  color: var(--muted);
}

.club-vip-actions {
  justify-content: flex-end;
}

.club-vip-actions select {
  min-width: 105px;
}

.club-dry-order-card {
  display: grid;
  gap: 14px;
}

.club-dry-order-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 12px;
  padding: 14px;
  border: 1px solid rgba(58, 245, 142, .35);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(58, 245, 142, .13), rgba(2, 18, 22, .82));
}

.club-dry-order-current > span {
  grid-row: 1 / span 2;
  font-size: 1.35rem;
}

.club-dry-order-current strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3af58e;
}

.club-dry-order-current .crest,
.club-dry-order-current img {
  width: 28px;
  height: 28px;
}

.club-dry-order-current small {
  color: var(--muted);
}

.club-dry-order-actions button {
  min-width: 190px;
}

@media (max-width: 900px) {
  .club-manager-top-navigation .club-manager-inline-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .club-vip-toolbar,
  .club-vip-player-row {
    grid-template-columns: 1fr;
  }

  .club-vip-actions {
    justify-content: stretch;
  }

  .club-vip-actions select,
  .club-vip-actions button {
    flex: 1;
  }

  .club-dry-order-actions button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .club-manager-top-navigation .club-manager-inline-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .club-manager-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-manager-top {
    align-items: stretch;
  }

  .club-top-wallet {
    justify-content: flex-start;
  }
}

/* Layout v62 - jogos atual/proximo e emblema unidos no topo */
.arena-score-strip {
  grid-template-areas:
    "season player games"
    "season player games" !important;
}

.arena-top-games-card {
  grid-area: games;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  min-height: 129px;
  overflow: hidden;
  border: 1px solid var(--arena-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11, 42, 34, .98), rgba(4, 22, 20, .98));
}

.arena-top-game-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 1px 5px;
  align-content: center;
  min-width: 0;
  min-height: 0;
  padding: 6px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #effff4;
  text-align: left;
  background: transparent;
  box-shadow: none;
}

.arena-current-game-row {
  border-bottom: 1px solid rgba(67, 221, 116, .17);
}

.arena-top-game-row > span {
  overflow: hidden;
  color: #6df59a;
  font-size: .53rem;
  font-weight: 1000;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-top-game-row > div {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: flex-end;
}

.arena-top-game-row > div .crest,
.arena-top-game-row > div img {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px;
  object-fit: contain;
}

.arena-top-game-row > div strong {
  min-width: 25px;
  color: #fff;
  font-size: .67rem;
  text-align: center;
  white-space: nowrap;
}

.arena-top-game-row > small {
  grid-column: 1;
  overflow: hidden;
  color: #a7c7b3;
  font-size: .5rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-top-club-crest {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 5px;
  border: 0;
  border-left: 1px solid rgba(67, 221, 116, .17);
  border-radius: 0;
  background: rgba(2, 18, 16, .52);
  box-shadow: none;
}

.arena-top-club-crest .crest,
.arena-top-club-crest img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
}

.arena-top-game-row:hover,
.arena-top-club-crest:hover {
  background: rgba(36, 229, 111, .08);
}

@media (max-width: 980px) {
  .arena-score-strip {
    grid-template-areas:
      "season season"
      "player player"
      "games games" !important;
  }

  .arena-top-games-card {
    min-height: 104px;
  }
}

@media (max-width: 620px) {
  .arena-score-strip {
    grid-template-areas: "season" "player" "games" !important;
  }
}

/* v66 final cascade */
.home-rank-panels .rank-row {
  min-height: 49px !important;
}

.home-rank-panels .rank-player > span {
  display: block;
  min-width: 0;
  overflow: hidden;
}

.home-arena .home-rank-panels .rank-name-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1px 3px !important;
  overflow: visible !important;
  white-space: normal !important;
}

.home-arena .home-rank-panels .rank-name-line .player-name {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  font-size: .85rem !important;
  line-height: 1.05;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.home-rank-panels .rank-name-line .last-top-badge {
  width: 15px !important;
  height: 15px !important;
  font-size: .66rem !important;
}

.home-rank-panels .rank-name-line .club-role-badge {
  width: 9px !important;
  height: 9px !important;
  flex-basis: 9px !important;
  font-size: .31rem !important;
}

/* Layout v58 - Meu Jogador no topo no lugar do placar */
.arena-score-strip {
  grid-template-areas:
    "season player next"
    "season player club" !important;
}

.arena-top-player-card {
  grid-area: player;
  display: grid;
  grid-template-columns: minmax(118px, .72fr) minmax(220px, 1.28fr);
  grid-template-rows: 1fr auto;
  gap: 7px 10px;
  min-width: 0;
  min-height: 129px;
  padding: 10px 12px;
  border: 1px solid var(--arena-border);
  border-radius: 8px;
  color: var(--arena-text);
  text-align: left;
  background: linear-gradient(180deg, rgba(11, 42, 34, .98), rgba(4, 22, 20, .98));
  box-shadow: none;
  overflow: hidden;
}

.arena-top-player-title {
  display: grid;
  align-content: center;
  min-width: 0;
}

.arena-top-player-title span,
.arena-top-player-stats small {
  color: #92b6a2;
  font-size: .55rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.arena-top-player-title strong {
  overflow: hidden;
  margin: 3px 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-top-player-identity {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.arena-top-player-identity > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-style: normal;
}

.arena-top-player-identity > i img,
.arena-top-player-identity .level-badge-img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
}

.arena-top-player-identity > div {
  display: grid;
  min-width: 0;
}

.arena-top-player-title em {
  width: fit-content;
  padding: 2px 7px;
  border: 1px solid rgba(36, 229, 111, .42);
  border-radius: 999px;
  color: #3ff48a;
  font-size: .58rem;
  font-style: normal;
  font-weight: 950;
}

.arena-top-player-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.arena-top-player-stats > span {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 5px 6px;
  border: 1px solid rgba(67, 221, 116, .17);
  border-radius: 6px;
  background: rgba(2, 18, 16, .66);
}

.arena-top-player-stats b {
  overflow: hidden;
  margin-top: 2px;
  color: #fff;
  font-size: .69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-top-player-progress {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.arena-top-player-progress > span {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.arena-top-player-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18b956, #38ef7d);
}

.arena-top-player-progress small {
  overflow: hidden;
  max-width: 205px;
  color: #a7c7b3;
  font-size: .54rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-status-grid.home-arena-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.home-status-grid.home-arena-grid .home-arena-score {
  grid-column: 1 !important;
}

@media (max-width: 980px) {
  .arena-score-strip {
    grid-template-areas:
      "season season"
      "player player"
      "next club" !important;
  }

  .arena-top-player-card {
    min-height: 112px;
  }
}

@media (max-width: 620px) {
  .arena-score-strip {
    grid-template-areas: "season" "player" "next" "club" !important;
  }

  .arena-top-player-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .arena-top-player-progress {
    grid-column: 1;
  }
}

/* v63 final cascade: preserve the latest competition and header layouts */
.arena-main .dashboard-grid.competition-content-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.arena-score-strip {
  grid-template-areas:
    "season player games"
    "season player games" !important;
}

@media (max-width: 980px) {
  .arena-main .dashboard-grid.competition-content-flow {
    grid-template-columns: 1fr !important;
  }

  .arena-score-strip {
    grid-template-areas:
      "season season"
      "player player"
      "games games" !important;
  }
}

@media (max-width: 620px) {
  .arena-score-strip {
    grid-template-areas: "season" "player" "games" !important;
  }
}

.field-mode-button {
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(34, 227, 125, .65);
  border-radius: 10px;
  background: linear-gradient(135deg, #0d6b3d, #083a27);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.field-mode-button small { color: #baf8d4; }
.field-mode-modal { max-width: 480px; }
.field-mode-offer { margin: 18px 0; padding: 18px; border-radius: 12px; background: rgba(34, 227, 125, .1); border: 1px solid rgba(34, 227, 125, .35); display: flex; justify-content: space-between; align-items: center; }
.field-mode-offer strong { color: #45f598; font-size: 1.7rem; }
.success-text { color: #45f598; }
.field-mode-ranking-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  border: 1px solid #35f58c;
  border-radius: 50%;
  background: #073d25;
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 0 6px rgba(55, 255, 145, .85);
}
.shoot-nerf-syringe {
  display: inline-flex;
  margin-left: 3px;
  padding: 2px;
  border-radius: 4px;
  background: #7d1025;
  font-style: normal;
  cursor: pointer;
  animation: nerfPulse 1s ease-in-out infinite alternate;
}

@keyframes nerfPulse { to { filter: brightness(1.5); transform: scale(1.12); } }
/* Modern current match card */
.team-field-card.team-match-modern {
  min-height: 0;
  display: block;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(34, 227, 125, .34);
  border-radius: 22px;
  color: #eafff2;
  background: linear-gradient(160deg, #071d1a, #041411 62%, #071b18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34), inset 0 0 36px rgba(34, 227, 125, .035);
}
.team-match-header {
  margin: 0 -20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #173e3c, #06372c);
}
.team-match-header h3 { margin: 0; padding: 20px 15px 4px; font-size: clamp(1.15rem, 3vw, 1.65rem); letter-spacing: .08em; text-transform: uppercase; }
.team-match-header span { display: block; padding-bottom: 8px; color: #5eff70; font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.team-match-header strong { display: block; padding: 7px; border-block: 1px solid #21db72; color: #dffff0; background: #07983d; font-size: .76rem; letter-spacing: .08em; }
.team-match-header strong:not(.live) { border-color: #829c95; background: #49635d; }
.team-match-scoreboard { display: grid; grid-template-columns: minmax(105px, 1fr) minmax(210px, 2fr) minmax(105px, 1fr); align-items: center; gap: 12px; margin: 0 -8px; padding: 24px 20px 14px; border-radius: 0 0 16px 16px; background: linear-gradient(160deg, #063b2d, #042c26); color: #fff; }
.team-match-club { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; text-align: center; text-transform: uppercase; }
.team-match-club .club-logo-plain { width: clamp(64px, 10vw, 105px); height: clamp(64px, 10vw, 105px); filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.team-match-club b { max-width: 100%; overflow: hidden; font-size: .76rem; text-overflow: ellipsis; }
.team-match-club small { color: #f2d45c; font-size: .66rem; font-weight: 900; }
.team-match-club small.winning { color: #52ff8a; }
.team-match-club small.losing { color: #ff7181; }
.team-match-score { min-width: 0; }
.team-match-balance { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .64rem; font-weight: 900; }
.team-match-balance span:first-child { color: #ff7181; }
.team-match-balance span:last-child { color: #52ff8a; }
.team-match-balance b { font-size: .62rem; }
.team-match-progress { height: 10px; margin: 5px auto 13px; overflow: hidden; border-radius: 10px; background: #26c766; }
.team-match-progress i { display: block; height: 100%; border-right: 3px solid #fff; border-radius: 10px 0 0 10px; background: #ef5264; }
.team-match-numbers { display: flex; align-items: center; justify-content: center; gap: 15px; white-space: nowrap; }
.team-match-numbers strong { color: #48ff83; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1; }
.team-match-numbers strong:first-child { color: #ff6073; }
.team-match-numbers em { color: #75ff7f; font-size: clamp(2rem, 5vw, 3.2rem); font-style: normal; font-weight: 900; }
.team-match-items { grid-column: 1 / -1; display: flex; justify-content: center; min-height: 5px; }
.team-match-dry { grid-column: 1 / -1; padding: 7px; border: 1px solid #20bc75; border-radius: 20px; color: #55ff8a; background: #092a2c; text-align: center; font-size: .72rem; font-weight: 900; letter-spacing: .06em; }
.team-match-dry.has-target { display: grid; gap: 5px; padding: 6px 12px; }
.team-match-dry-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px 12px; color: #dffff0; }
.team-match-dry-row em { color: #dffff0; font-style: normal; }
.team-match-dry-row strong { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; color: #55ff8a; font-size: .78rem; }
.team-match-dry-row.incoming { padding-top: 5px; border-top: 1px solid rgba(255, 113, 129, .28); }
.team-match-dry-row.incoming em,.team-match-dry-row.incoming strong { color: #ff9aa6; }
.team-match-dry-separator { color: #dffff0; font-style: normal; }
.team-match-dry.has-target .crest,.team-match-dry.has-target .crest img { width: 25px; height: 25px; }
.team-match-drying-clubs { display: flex !important; gap: 6px !important; }
.team-match-drying-club { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid rgba(255, 113, 129, .32); border-radius: 8px; color: #fff; background: rgba(255, 113, 129, .08); text-align: left; }
.team-match-drying-club > span { display: grid; gap: 1px; color: #fff; line-height: 1.05; }
.team-match-drying-club small { color: #ffb5bd; font-size: .62rem; font-weight: 800; white-space: nowrap; }
.team-match-pitch { position: relative; grid-column: 1 / -1; height: 190px; margin-top: 0; overflow: hidden; border: 10px solid #245d47; border-radius: 12px; background: repeating-linear-gradient(90deg,#286b4c 0 12.5%,#215f43 12.5% 25%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.team-match-pitch::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.55); background: linear-gradient(90deg,transparent calc(50% - .5px),rgba(255,255,255,.55) 50%,transparent calc(50% + .5px)); }
.team-match-pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transform: translate(-50%,-50%); }
.team-match-pitch i { position: absolute; z-index: 2; left: var(--left); top: var(--top); width: 12px; height: 12px; border: 1px solid #fff; border-radius: 50%; background: linear-gradient(90deg,#e52847 50%,#fff 50%); transform: translate(-50%,-50%); }
.team-match-pitch i.away { background: linear-gradient(90deg,#555 50%,#ddd 50%); }
.team-match-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 0 2px; }
.team-match-pills span { padding: 5px 13px; border: 1px solid rgba(34, 227, 125, .25); border-radius: 20px; color: #bdebd0; background: #0a2821; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.team-match-modern .team-field-bots { margin: 10px 0; }
.team-match-modern .team-field-bot-summary { border-color: rgba(34, 227, 125, .25); color: #eafff2; background: #0a2821; }
.team-match-modern .team-field-bot-summary span,.team-match-modern .team-field-bot-summary small { color: #a9d8bf; }
.team-match-leaders-title { margin: 10px 0 7px; padding: 10px; border-radius: 12px; color: #fff; background: #18394e; text-align: center; font-size: .8rem; font-weight: 900; letter-spacing: .04em; }
.team-match-leaders { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 10px; border: 1px solid rgba(34, 227, 125, .25); border-radius: 14px; background: #071f1a; }
.team-match-leaders .team-field-side { min-width: 0; padding: 0; border: 0; background: transparent; color: #eafff2; direction: ltr; text-align: left; }
.team-match-leaders .team-field-representatives-label { display: block; padding: 7px; border: 1px solid rgba(34, 227, 125, .3); border-radius: 10px; color: #8af0b3; background: #0a2a22; text-align: center; font-size: .74rem; font-weight: 900; }
.team-match-leaders .team-field-top10 { gap: 3px; margin-top: 6px; padding: 4px; border-color: rgba(34, 227, 125, .2); background: #041612; }
.team-match-leaders .team-field-top10 button { min-height: 34px; padding: 7px 9px; color: #eafff2; background: #0a2821; border-bottom: 1px solid rgba(34, 227, 125, .12); font-size: .78rem; font-weight: 900; }
.team-match-leaders .team-field-top10 button span { color: inherit; }
.team-match-leaders .team-field-top10 button b { color: #22e37d; font-size: .84rem; }
.team-match-leaders .team-field-top10 button:hover { color: #fff; background: #104534; }
@media (max-width: 620px) {
  .team-field-card.team-match-modern { padding-inline: 8px; border-radius: 14px; }
  .team-match-header { margin-inline: -8px; }
  .team-match-scoreboard { grid-template-columns: 82px minmax(130px,1fr) 82px; gap: 5px; padding: 18px 7px 10px; }
  .team-match-club .club-logo-plain { width: 58px; height: 58px; }
  .team-match-numbers { gap: 7px; }
  .team-match-pitch { height: 150px; border-width: 7px; }
  .team-match-leaders { grid-template-columns: 1fr; }
}
