/* Overlays, perfil y pestañas */
  /* ==================== OVERLAYS ESTÉTICA CARTEL TAURINO ==================== */
  .overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(16, 8, 4, 0.58);
    overflow-y: auto;
    touch-action: pan-y;
  }

  .overlay.hidden { display: none; pointer-events: none; }

  .cartel {
    width: 100%;
    max-width: 510px;
    max-height: 95dvh;
    overflow-y: auto;
    background: linear-gradient(180deg, #fdf6e4 0%, #efe0b9 100%);
    color: #2c1810;
    border: 4px solid #8b0000;
    border-radius: 18px;
    box-shadow: 0 0 0 3px #d4af37, 0 24px 60px rgba(0, 0, 0, 0.82);
    text-align: center;
  }

  .cartel-band {
    height: 8px;
    background: repeating-linear-gradient(90deg, #8b0000 0px, #8b0000 12px, #d4af37 12px, #d4af37 24px);
  }

  .cartel-body { padding: 11px 13px 14px 13px; }

  .kicker {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b0000;
  }

  .title-main {
    margin: 2px 0 2px 0;
    font-size: 21px;
    font-weight: 900;
    color: #7f1d1d;
    line-height: 1.08;
  }

  .subtitle {
    margin: 0 0 8px 0;
    font-size: 10.5px;
    font-weight: 700;
    color: #5c3a21;
  }

  /* Barra de perfil */
  .profile-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: rgba(127, 29, 29, 0.08);
    border: 1.5px solid #d4af37;
    border-radius: 10px;
    padding: 5px 4px;
    margin-bottom: 8px;
  }

  .prof-item { display: flex; flex-direction: column; align-items: center; }
  .prof-lbl { font-size: 8px; font-weight: 800; text-transform: uppercase; color: #785a46; }
  .prof-val { font-size: 11.5px; font-weight: 900; color: #7f1d1d; }

  /* Pestañas */
  .tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-bottom: 9px;
  }

  .tab-btn {
    padding: 6px 2px;
    border-radius: 8px;
    border: 1.5px solid #c9ae74;
    background: rgba(255, 250, 236, 0.78);
    color: #5c3a21;
    font-size: 9.5px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
  }

  .tab-btn.active {
    background: #8b0000;
    border-color: #d4af37;
    color: #fef3c7;
  }

  .tab-dot {
    position: absolute;
    top: -3px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    border: 1px solid #fff;
    display: none;
  }

  .tab-dot.show { display: block; }

  .tab-panel { display: none; text-align: left; }
  .tab-panel.active { display: block; }

  .sec-lbl {
    font-size: 9.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7f1d1d;
    margin: 7px 0 4px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

