:root {
      --rosa-fondo: #fff5f8;
      --rosa-primario: #d63384;
      --rosa-oscuro: #ad1457;
      --rosa-suave: #fce4ec;
      --rosa-borde: #f8bbd0;
      --dorado: #e6b800;
      --dorado-fondo: #fff9e6;
      --texto: #2b2b2b;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

    body {
      background-color: var(--rosa-fondo);
      color: var(--texto);
      display: flex;
      justify-content: center;
      min-height: 100vh;
      padding: 16px 12px 40px;
    }

    .app-card-container {
      width: 100%;
      max-width: 440px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .club-header {
      text-align: center;
      padding: 10px 0 4px;
    }
    .club-header img {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #fff;
      box-shadow: 0 4px 10px rgba(214, 51, 132, 0.2);
    }
    .club-header h1 {
      font-size: 1.45rem;
      color: var(--rosa-oscuro);
      margin-top: 6px;
      font-weight: 800;
    }
    .club-header p {
      font-size: 0.8rem;
      color: #666;
    }

    .tarjeta-digital {
      background: linear-gradient(135deg, #ffffff 0%, #fff0f5 100%);
      border: 1.5px solid var(--rosa-borde);
      border-radius: 22px;
      padding: 20px 16px;
      box-shadow: 0 8px 24px rgba(214, 51, 132, 0.15);
      position: relative;
    }

    .titular-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      border-bottom: 1px dashed var(--rosa-borde);
      padding-bottom: 12px;
      margin-bottom: 14px;
    }
    .tag-socio {
      font-size: 0.65rem;
      font-weight: 800;
      color: var(--rosa-primario);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .nombre-socio {
      font-size: 1.25rem;
      color: var(--rosa-oscuro);
      font-weight: 800;
      margin-top: 2px;
    }
    .celular-socio {
      font-size: 0.82rem;
      color: #555;
      font-weight: 600;
    }

    .grid-sellos {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 8px;
      margin: 16px 0;
    }
    .sello-slot {
      aspect-ratio: 1;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 0.95rem;
      border: 2px dashed var(--rosa-borde);
      background: #ffffff;
      color: #bbb;
      transition: all 0.3s ease;
    }
    .sello-slot.marcado {
      background: var(--rosa-primario);
      color: #ffffff;
      border: 2px solid var(--rosa-oscuro);
      box-shadow: 0 4px 10px rgba(214, 51, 132, 0.35);
      transform: scale(1.05);
    }
    .sello-slot.premio-slot {
      border-color: var(--dorado);
      font-size: 1.25rem;
    }
    .sello-slot.premio-slot.marcado {
      background: var(--dorado);
      border-color: #b38600;
      box-shadow: 0 4px 12px rgba(230, 184, 0, 0.45);
    }

    .estado-resumen {
      font-size: 0.85rem;
      text-align: center;
      padding: 10px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid var(--rosa-borde);
      color: var(--rosa-oscuro);
      font-weight: 700;
      margin-bottom: 12px;
    }

    .btn-accion-club {
      width: 100%;
      padding: 12px;
      border-radius: 18px;
      font-weight: 800;
      font-size: 0.88rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .btn-accion-club:active { transform: scale(0.98); }
    .btn-accion-club:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
    }

    .btn-actualizar {
      background: #ffffff;
      border: 2px solid var(--rosa-primario);
      color: var(--rosa-primario);
      margin-bottom: 8px;
    }

    .btn-buscar-otro {
      background: #fff5f8;
      border: 1.5px solid var(--rosa-borde);
      color: var(--rosa-oscuro);
    }

    .btn-volver-menu {
      width: 100%;
      background: var(--rosa-primario);
      color: #fff;
      text-decoration: none;
      font-weight: 800;
      padding: 13px;
      border-radius: 22px;
      text-align: center;
      display: block;
      font-size: 0.9rem;
      box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3);
      margin-top: 10px;
    }

    .panel-busqueda {
      background: #fff;
      border: 2px dashed var(--rosa-borde);
      border-radius: 22px;
      padding: 22px 18px;
      text-align: center;
      box-shadow: 0 4px 14px rgba(214, 51, 132, 0.08);
    }
    .input-app {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px solid var(--rosa-borde);
      border-radius: 14px;
      font-size: 0.92rem;
      outline: none;
      margin-bottom: 10px;
    }
    .input-app:focus { border-color: var(--rosa-primario); }
