/* Noticias del Club (campana y panel) y Administrar → Inscritos / Noticias (1-oct-2026). Usa los colores de /app/. */

/* Campana en la barra de arriba, junto a Salir */
.band .top-acc { display: flex; align-items: center; gap: 8px; }
.band .top .campana { position: relative; display: inline-grid; place-items: center; width: 40px; height: 36px; padding: 0; color: #fff; }
.band .top .campana svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; }
.band .top .campana:hover, .band .top .campana[aria-expanded="true"] { border-color: var(--sage); color: var(--sage); }
.campana .punto { position: absolute; top: 5px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: #E0483A; box-shadow: 0 0 0 2px var(--band); }

/* Panel */
.noti-velo { position: fixed; inset: 0; z-index: 44; background: rgba(0, 0, 0, .35); }
.noti-panel { position: fixed; z-index: 45; top: 16px; right: max(16px, calc((100vw - 1120px) / 2 + 20px)); width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.noti-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--band); color: var(--band-ink); }
.noti-cab h2 { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.noti-x { background: none; border: 1px solid #3A3D36; color: #D6D8D1; padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer; min-height: 36px; }
.noti-x:hover { border-color: var(--sage); color: var(--sage); }
.noti-lista { overflow-y: auto; overscroll-behavior: contain; padding: 6px 0; }
.noti { display: grid; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.noti:last-child { border-bottom: 0; }
.noti.sin-leer { border-left-color: var(--sage); background: var(--sage-soft); }
.noti img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--smoke); }
.noti-c { display: grid; gap: 6px; min-width: 0; }
.noti-f { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.noti-f b { background: var(--sage); color: #121212; padding: 2px 6px; letter-spacing: .14em; }
.noti h3 { font-size: 16px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.noti p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.noti-ir { justify-self: start; margin-top: 4px; background: var(--ink); color: var(--paper); border: 0; padding: 10px 14px; font-family: inherit; font-size: 12px;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; min-height: 40px; }
.noti-ir:hover { background: var(--sage); color: #121212; }
.noti-vacio { margin: 0; padding: 28px 18px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .noti-panel { inset: 0; width: auto; max-height: none; border: 0; padding-top: env(safe-area-inset-top, 0px); }
  .noti-velo { display: none; }
}

/* Administrar: partes */
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.adm-tabs button { background: none; border: 1px solid var(--line); color: var(--ink); padding: 10px 14px; font-family: inherit; font-weight: 800; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.adm-tabs button[aria-selected="true"] { background: var(--sage); border-color: var(--sage); color: #121212; }
.secc p.ins-intro { margin: 0 0 16px; }

/* Inscritos */
.ins-tot { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); margin-bottom: 18px; }
.ins-tot .kpi small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.ins-filtros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.ins-filtros .caja { min-width: 0; }
.ins-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.ins { border: 1px solid var(--line); padding: 16px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.ins-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ins-cab b { font-size: 16px; overflow-wrap: anywhere; }
.ins-mail { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.ins-datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; color: var(--ink); }
.ctag.est-cancelado, .ctag.est-sin_acceso { color: var(--muted); }
.ctag.est-pausado { border-color: var(--ink); }

/* Noticias (administración) */
.noti-form .noti-l { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.noti-form .noti-l small { justify-self: end; font-size: 11px; }
.noti-a .de { font-size: 12px; }
