html {
  font-size: 14px;
}

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

  :root {
    --bg:           #0e0c09;
    --surface:      #1a1710;
    --surface2:     #242018;
    --border:       rgba(180, 140, 40, 0.15);
    --border-strong:rgba(180, 140, 40, 0.35);
    --text:         #f0e6c8;
    --text-muted:   #9a8f72;
    --gold:         #c9a84c;
    --gold-light:   #e8cc7a;
    --gold-dark:    #8a6a20;
    --radius:       12px;
    --radius-sm:    8px;
  }
      html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: auto;
      }

      .app {
        display: flex;
        flex-direction: column;
          /*min-height: 100vh;*/
          position: stretch;
          /*bottom: auto;*/
          left: 0;
          width: 100%;
          /*Test*/
          justify-content: center;
          min-height: auto;

      }

      html {
        font-size: 0.875em;
    } 

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    /*min-height: 100vh;*/
    padding: 0 1rem 4rem;
    font-size: 1.1875em;
  }

      /* ─── Themed scrollbars — apunta a cada elemento scrolleable ─── */
      .col-form,
      #player-list,
      .autocomplete-list,
      .radar-content,
      body {
        scrollbar-width: thin;
        scrollbar-color: #8a6a20 #242018;
      }

      .col-form::-webkit-scrollbar,
      #player-list::-webkit-scrollbar,
      .autocomplete-list::-webkit-scrollbar,
      .radar-content::-webkit-scrollbar {
        width: 0.375em;
        padding-left: 1.25em;
      }

      .col-form::-webkit-scrollbar-track,
      #player-list::-webkit-scrollbar-track,
      .autocomplete-list::-webkit-scrollbar-track,
      .radar-content::-webkit-scrollbar-track {
        background: #242018;
        border-radius: 0.1875em;
      }

      .col-form::-webkit-scrollbar-thumb,
      #player-list::-webkit-scrollbar-thumb,
      .autocomplete-list::-webkit-scrollbar-thumb,
      .radar-content::-webkit-scrollbar-thumb {
        background: #8a6a20;
        border-radius: 0.1875em;
      }

      .col-form::-webkit-scrollbar-thumb:hover,
      #player-list::-webkit-scrollbar-thumb:hover,
      .autocomplete-list::-webkit-scrollbar-thumb:hover,
      .radar-content::-webkit-scrollbar-thumb:hover {
        background: #c9a84c;
      }



  /* ── Header ── */
  .header {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    position: relative;
    background: url('https://raw.githubusercontent.com/AlexHerbert88/team-balance/main/Empires-Ascendant-2048-Photoroom.png') center / cover no-repeat;
    min-height: 13.75em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14,12,9,0.3) 0%, rgba(14,12,9,0.93) 100%);
  }

  .header-content {
    position: relative;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .header-logo {
    --logo-size: 300px;
    width: var(--logo-size);
    object-fit: contain;
    display: block;
    margin: 0 auto 0.75rem;
    height: auto;
  }

  h1 {
    font-size: 1.4375em;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.03em;
    margin-bottom: 0.25em;
  }
      html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: auto;
      }

      .app {
        display: flex;

        /*height: 100vh;*/

        position: stretch;
        justify-content: center;
        min-height: auto;
      }

      .main {
        display: flex;
        /*flex: 1;*/
        min-height: 0;
        gap: 1.0em;
        padding: 1.0em;
        margin-right: 2.0em;
    
      }

      /* Columna izquierda - formulario */
      /* ↓ Ajusta este valor para cambiar el ancho del formulario */
      .col-form {
        width: 30%;
        flex-shrink: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0;

      }

      /* Columna central - radar */
      .col-radar {
        width: 40%;
        flex-shrink: 0;
        min-width: 0;
        display: inline;
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: stretch;
      }

      /* Clase única para personalizar la columna del radar */
      .radar-column {
        max-height: 25.0em !important;
      }

      .col-radar .card.radar-card {
        flex: 1;
        min-height: 100%;
        display: block;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
      }

      /* Columna derecha - ranking */
      .col-ranking {
        width: 30%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        min-height: 0;
      }

      .col-ranking .list-card {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }

      .col-ranking .list-header {
        flex-shrink: 0;
      }

      #player-list {
        flex: 1;
        max-height: 62.5em;
        overflow-y: auto;
      }

      /* Tournament bar */
      .tournament-bar {
        flex-shrink: 0;
        margin: 0 1rem;
        margin-top: 0.5rem;
      }

  .subtitle {
    font-size: 1.0em;
    color: var(--text-muted);
  }

  /* ── Tournament bar ── */
  .tournament-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    margin: 0 auto 1.25rem;
    max-width: 56.25em;
    width: calc(100% - 2rem);
    gap: 1rem;
    flex-wrap: wrap;
  }

  .tournament-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8125em;
    color: var(--text-muted);
  }

  .tournament-bar-dot {
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
  }

  .tournament-bar-dot.active {
    background: #70d0a0;
    animation: pulse 2s infinite;
  }

  .tournament-bar-dot.inactive {
  background: #e07070;
  animation: none;
}

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
  }

  .tournament-bar-right {
    display: flex;
    gap: 0.5em;
    align-items: center;
  }

  .bar-btn {
    padding: 0.4375em 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125em;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s;
    white-space: nowrap;
  }

  .bar-btn-primary {
    border: 0.5px solid var(--gold);
    background: var(--surface);
    color: var(--gold-light);
  }

  .bar-btn-primary:hover { background: var(--surface2); }

  .bar-btn-secondary {
    border: 0.5px solid var(--border-strong);
    background: var(--surface2);
    color: var(--text);
  }

  .bar-btn-secondary:hover { background: var(--surface); }

  /* ── Radar ── */
  .radar-card {
    flex: 1;
    min-height: 0;
    height: auto;
    display: block;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 0;
  }

  .radar-empty {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    padding: 2.0em 16px;
  }

  .radar-empty p {
    font-size: 1.3em;
    color: var(--text-muted);
    /*line-height: 1.6;*/
    padding-top: 50%;
  }

  #radar-content {
    width: 100%;
    margin-top: 10%;
    margin-bottom: 1.0em;
    flex: 1;
    display: grid !important;
    align-items: center;
    justify-content: center;
    place-items: center;
  }

  .radar-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25em;
    margin-bottom: 6rem;
    text-align: center;
  }

  .radar-nick {
    font-size: 3.125em;
    font-weight: 600;
    color: var(--gold-light);
  }

  .radar-rating {
    font-size: 1.875em;
    font-weight: 700;
    color: var(--text);
  }
  
  .radar-card > *:first-child {
    /*outline: 1px solid gold;*/
    border-radius: 0.625em;
  }

  #radar-chart {
    width: 31.25em;
    max-height: 31.25em;
    margin-bottom: 9.375em;
    padding-bottom: auto;
  }

  /* ── Skill bars ── */
  .skill-bars {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-top: 0.25em;
    width: 100%;


  /*display: flex;*/

  justify-content: center;
  max-height: 12.5em;
  }

  .skill-bar-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375em;
    flex: 1;
    min-width: 4.375em;
    max-width: 6.875em;
    background: var(--surface2);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25em 10px;
  }

  .skill-bar-name {
    font-size: 0.625em;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .skill-bar-track {
    width: 100%;
    height: 0.25em;
    background: var(--border);
    border-radius: 0.125em;
    overflow: hidden;
  }

  .skill-bar-fill {
    height: 0.25em;
    border-radius: 0.125em;
    transition: width 0.4s ease;
  }

  .skill-bar-label {
    font-size: 0.625em;
    font-weight: 500;
    text-align: center;
  }

  /* colores por nivel */
  .level-0 { background: #7a3030; color: #e07070; }
  .level-1 { background: #7a6030; color: #e0b870; }
  .level-2 { background: #2a6a50; color: #70d0a0; }
  .level-3 { background: #2a4a8a; color: #70a0e0; }
  .level-4 { background: #4a2a8a; color: #a070e0; }
  .level-5 { background: #8a6a20; color: #e8cc7a; }

  .skill-bar-label.level-0,
  .skill-bar-label.level-1,
  .skill-bar-label.level-2,
  .skill-bar-label.level-3,
  .skill-bar-label.level-4,
  .skill-bar-label.level-5 {
    background: transparent;
  }

  /* ── Layout ── */
  .container {
    max-width: 100%;
    margin: 0 auto;
  }

  /* ── Cards ── */
  .card {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75em 20px;
    margin-bottom: 0.75em;
    /*Para que las tarjetas se estiren y llenen el espacio disponible en su columna*/
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .card-label {
    font-size: 0.6875em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.625em;
  }

  /* ── Card specifics ── */
  .card-player {
    max-height: 12.5em;
  }

  .card-skills {
    max-height: 37.5em;
  }

  .card-competency {
    max-height: 14.375em;
  }

  /* ── Dropdowns ── */
  .select-row {
    display: flex;
    gap: 0.625em;
    align-items: center;
    margin-bottom: 0.5em;
  }

  .select-row label {
    font-size: 0.9375em;
    color: var(--text-muted);
    min-width: 4.375em;
  }

  .select-row select {
    flex: 1;
    padding: 0.5em 12px;
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.9375em;
    background: var(--surface2);
    color: var(--text);
    outline: none;
    cursor: pointer;
  }

  .select-row select:focus {
    border-color: var(--gold);
  }

  .select-row select option {
    background: #1a1710;
    color: var(--text);
  }

  .divider {
    height: 0.5px;
    background: var(--border);
    margin: 0.625em 0;
  }

  .who-label {
    font-size: 0.75em;
    color: var(--text-muted);
    margin-bottom: 0.5em;
  }

  /* ── Skills ── */
  .skills-header {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 0.75em;
    padding-bottom: 0.5em;
    border-bottom: 0.5px solid var(--border);
    margin-bottom: 0.25em;
  }

  .skills-header span {
    font-size: 0.6875em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .skills-header .right {
    text-align: right;
  }

  .skill-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75em;
    align-items: center;
    padding: 0.5625em 0;
    border-bottom: 0.5px solid var(--border);
  }

  .skill-row:last-child {
    border-bottom: none;
  }

  .skill-name {
    font-size: 1.0625em;
    color: var(--text);
    display: flex;
  }

  .skill-weight {
    font-size: 0.875em;
    color: var(--text-muted);
    margin-top: 0.125em;
    display: flex;
  }

  .btn-group {
    display: flex;
    gap: 0.3125em;
    justify-content: flex-end;
    align-items: center;
  }

  .skill-btn {
    width: 4.375em;
    height: 3.25em;
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface2);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125em;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
  }

  .btn-num {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1;
  }

  .btn-label {
    font-size: 1em;
    line-height: 1;
  }

  .skill-btn:hover { background: var(--surface); color: var(--text); }

  .skill-btn.level-0.active { background: rgba(224,112,112,0.15); border-color: #e07070; color: #e07070; }
  .skill-btn.level-1.active { background: rgba(224,184,112,0.15); border-color: #e0b870; color: #e0b870; }
  .skill-btn.level-2.active { background: rgba(112,208,160,0.15); border-color: #70d0a0; color: #70d0a0; }
  .skill-btn.level-3.active { background: rgba(112,160,224,0.15); border-color: #70a0e0; color: #70a0e0; }
  .skill-btn.level-4.active { background: rgba(160,112,224,0.15); border-color: #a070e0; color: #a070e0; }
  .skill-btn.level-5.active { background: rgba(232,204,122,0.2);  border-color: #e8cc7a; color: #e8cc7a; }

  /* ── Competency ── */
  .comp-row {
    display: flex;
    gap: 0.75em;
    align-items: flex-start;
    padding: 0.3125em 0;
  }

  .comp-num {
    font-size: 0.9375em;
    font-weight: 600;
    color: var(--gold);
    min-width: 1.0em;
  }

  .comp-desc {
    font-size: 1.0em;
    color: var(--text-muted);
  }

  /* ── Actions ── */
  .hint {
    font-size: 1.0em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 0.5em;
  }

  .hint strong {
    color: var(--text);
    font-weight: 500;
  }

  .actions {
    display: flex;
    gap: 0.625em;
    align-items: center;
    margin-bottom: 0.5rem;
  }

  .confirm-row {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9375em;
    color: var(--text-muted);
  }

  .confirm-row input {
    cursor: pointer;
    accent-color: var(--gold);
  }

  .save-btn {
    flex: 1;
    padding: 0.625em 16px;
    border: 0.5px solid var(--gold);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--gold-light);
    font-size: 1.0625em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s;
  }

  .save-btn:hover:not(:disabled) {
    background: var(--surface2);
  }

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

  .warn {
    font-size: 0.75em;
    color: #c0614a;
    margin-top: 0.375em;
    display: none;
  }

  /* ── Result overlay ── */
  .result-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 12, 9, 0.9);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  .result-overlay.visible {
    display: flex;
  }

  .result-box {
    background: var(--surface);
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 23.75em;
    width: 100%;
    animation: popIn 0.25s ease;
  }

  @keyframes popIn {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
  }

  .result-evaluated {
    font-size: 0.875em;
    color: var(--text-muted);
    margin-bottom: 0.25em;
  }

  .result-evaluated strong {
    color: var(--gold-light);
  }

  .result-by {
    font-size: 0.6875em;
    color: var(--text-muted);
    margin-bottom: 0.875em;
  }

  .result-emoji {
    font-size: 3.4375em;
    margin-bottom: 0.5em;
  }

  .result-tier {
    font-size: 1.3125em;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 0.5em;
  }

  .result-rating {
    font-size: 4.5em;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.125em;
  }

  .result-label {
    font-size: 0.75em;
    color: var(--text-muted);
    margin-bottom: 0.375em;
  }

  .result-votes {
    font-size: 0.6875em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
  }

  .result-bar-wrap {
    height: 0.25em;
    background: var(--border);
    border-radius: 0.125em;
    margin-bottom: 0.25em;
  }

  .result-bar-fill {
    height: 0.25em;
    border-radius: 0.125em;
    background: var(--gold);
    transition: width 0.6s ease;
    width: 0%;
  }

  .result-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }

  .result-close {
    width: 100%;
    padding: 0.625em;
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface2);
    color: var(--text);
    font-size: 0.9375em;
    cursor: pointer;
    transition: background 0.12s;
  }

  .result-close:hover {
    background: var(--surface);
  }

  /* ── Leaderboard ── */
  .list-card {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
  }

  .list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625em;
  }

  .list-title {
    font-size: 0.6875em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .list-status {
    font-size: 0.6875em;
    color: var(--text-muted);
  }

  .list-empty {
    font-size: 0.875em;
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem 0;
  }

  .player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625em;
    border-bottom: 0.5px solid var(--border);
  }

  .player-row:hover {
    background: var(--surface2);
  }

  .player-row.selected {
    background: var(--surface2);
    border-left: 0.125em solid var(--gold);
    padding-left: 0.375em;
  }

  .player-row:last-child {
    border-bottom: none;
  }

  .player-rank {
    font-size: 0.75em;
    color: var(--text-muted);
    min-width: 1.5em;
  }

  .player-nick {
    font-size: 1.0625em;
    color: var(--text);
    flex: 1;
    padding: 0 0.625em;
  }

  .player-right {
    text-align: right;
  }

  .player-rating {
    font-size: 1.0625em;
    font-weight: 600;
    color: var(--gold-light);
  }

  .player-meta {
    font-size: 0.875em;
    color: var(--text-muted);
  }

  .player-note {
    font-size: 0.875em;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.125em;
  }

  .loading-row {
    font-size: 0.875em;
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem 0;
  }

  /* ── Autocomplete ── */
  .autocomplete-wrap {
    flex: 1;
    position: relative;
  }

  .autocomplete-wrap input[type="text"] {
    width: 100%;
    padding: 0.5em 12px;
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 1.0625em;
    background: var(--surface2);
    color: var(--text);
    outline: none;
  }

  .autocomplete-wrap input[type="text"]:focus {
    border-color: var(--gold);
  }

  .autocomplete-wrap input[type="text"]::placeholder {
    color: var(--text-muted);
  }

  .autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    margin-top: 0.25em;
    max-height: 12.5em;
    overflow-y: auto;
    z-index: 50;
    list-style: none;
    display: none;
  }

  .autocomplete-list.open {
    display: block;
  }

  .autocomplete-list li {
    padding: 0.5em 12px;
    font-size: 1.0625em;
    color: var(--text);
    cursor: pointer;
    border-bottom: 0.5px solid var(--border);
  }

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

  .autocomplete-list li:hover,
  .autocomplete-list li.active {
    background: var(--surface2);
    color: var(--gold-light);
  }

  /* ── Mobile Warning ── */
  .mobile-warning {
    display: none;
  }

/* ── Desktop: overflow oculto para layout fijo ── */
@media (min-width: 48.0625em) {
  html, body {
    overflow: auto;
  }
}
 
/* ── Móvil ── */
@media (max-width: 48.0em) {
  .mobile-warning {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: black;
    color: gold;
    padding: 1rem;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    z-index: 200;
  }

  html, body {
    overflow: auto;
    height: auto;
  }
 
  .app {
    height: auto;
    min-height: 100vh;
    margin-top: 3.5rem;
  }
 
  .main {
    flex-direction: column;
    padding: 0.75em;
    gap: 0.75em;
    overflow: visible;
  }
 
  .col-form {
    width: 100% !important;
    overflow-y: visible;
    overflow-y: auto;
  }
 
  .col-radar {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
 
  .col-radar .card.radar-card {
    min-height: 25.0em;
  }
 
  .col-ranking {
    width: 100% !important;
    height: auto;
    min-height: 0;
    overflow-y: auto;
  }
 
  .col-ranking .list-card {
    overflow: visible;
  }
 
  #player-list {
    max-height: 60vh;
    overflow-y: auto;
    flex: none;
  }
 
  .header {
    width: 100%;
    margin-left: 0;
  }
 
  .header-logo {
    --logo-size: 140px;
  }
 
  h1 {
    font-size: 1.0em;
    padding: 0 0.5rem;
  }
 
  .tournament-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
    width: 100%;
    margin: 0 0 1rem;
  }
 
  .btn-label {
    display: none;
  }

  
 
  .skill-btn {
    width: 14%;
    min-width: 2.75em;
  }
}

@media (max-width: 768px) {
  .app {
    display: none;
  }

  .mobile-warning {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
  }
}

/* ── Desktop: overflow oculto para layout fijo ── */
/*@media (min-width: 769px) {
  html, body {
    overflow: auto;
  }
}*/


/*@media (max-width: 768px) {
  html {
    font-size: 13px;
  }

  html, body {
    overflow: auto;
    height: auto;
  }

  .app {
    height: auto;
    min-height: 100vh;
  }

  .main {
    flex-direction: column;
    padding: 0.75em;
    gap: 0.75em;
    overflow: visible;
  }

  .col-form {
    width: 100% !important;
    overflow-y: visible;
  }

  .col-radar {
    width: 100% !important;
    display: flex;
    flex-direction: column;
  }

  .col-radar .card.radar-card {
    min-height: 25em;
  }

  .col-ranking {
    width: 100% !important;
    height: auto;
    min-height: 0;
  }

  .col-ranking .list-card {
    overflow: visible;
  }

  #player-list {
    max-height: 60vh;
    overflow-y: auto;
    flex: none;
  }

  .header {
    width: 100%;
    margin-left: 0;
  }

  .header-logo {
    --logo-size: 8em;
  }

  h1 {
    font-size: 1em;
    padding: 0 0.5em;
  }

  .tournament-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
    width: 100%;
    margin: 0 0 1em;
  }

  /* Botones de skill en móvil — se adaptan al ancho */
  /*.skill-row {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 0.75em 0;
  }

  .btn-group {
    display: flex;
    gap: 0.25em;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .skill-btn {
    flex: 1;
    min-width: 0;
    height: 3em;
  }

  .btn-label {
    font-size: 0.55em;
  }

  .skills-header .right {
    display: none;
  }
}*/
