/* Guiones de reels del club. Lo genera y copia _generador/generar.py */
:root {
    --ground: #eaf0f3;
    --surface: #ffffff;
    --surface-2: #f4f8fa;
    --ink: #002032;
    --ink-soft: #4c6373;
    --blue: #004165;
    --blue-deep: #00304b;
    --blue-light: #6fa1bc;
    --maroon: #772432;
    --gold: #f2df74;
    --line: #cfe0e9;
    --line-soft: #e3edf2;
    --shadow: 0 1px 2px rgba(0,32,50,.06), 0 8px 24px -12px rgba(0,32,50,.18);
    --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ground: #001622;
      --surface: #002032;
      --surface-2: #002b42;
      --ink: #e7eff4;
      --ink-soft: #9fc0d2;
      --blue: #9fc0d2;
      --blue-deep: #cfe0e9;
      --blue-light: #6fa1bc;
      --maroon: #e0a9b2;
      --gold: #f2df74;
      --line: #0d3a54;
      --line-soft: #093048;
      --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
    }
  }
  :root[data-theme="dark"] {
    --ground: #001622;
    --surface: #002032;
    --surface-2: #002b42;
    --ink: #e7eff4;
    --ink-soft: #9fc0d2;
    --blue: #9fc0d2;
    --blue-deep: #cfe0e9;
    --blue-light: #6fa1bc;
    --maroon: #e0a9b2;
    --gold: #f2df74;
    --line: #0d3a54;
    --line-soft: #093048;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap {
    max-width: 44rem;
    margin: 0 auto;
    padding: 20px 18px 64px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; margin: 0; }
  p { margin: 0; }
  a { color: var(--blue); }

  .eyebrow {
    font-family: var(--display);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
  }

  header {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 22px 22px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 22px;
  }
  header img { width: 92px; height: auto; flex: none; }
  .head-text { display: flex; flex-direction: column; gap: 5px; min-width: 12rem; flex: 1 1 16rem; }
  h1 { font-size: 1.65rem; line-height: 1.15; color: var(--ink); }
  .head-sub { color: var(--ink-soft); font-size: .95rem; }
  .rule-gold { height: 3px; background: var(--gold); border-radius: 2px; width: 100%; }

  .intro {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .intro p { color: var(--ink-soft); }
  .intro strong { color: var(--ink); font-weight: 600; }

  .guion {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .guion-head {
    padding: 20px 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-bottom: 1px solid var(--line-soft);
  }
  .num {
    font-family: var(--display);
    font-weight: 700;
    font-size: .79rem;
    letter-spacing: .12em;
    color: var(--maroon);
  }
  .guion h2 { font-size: 1.28rem; line-height: 1.2; }
  .porque { color: var(--ink-soft); font-size: .92rem; font-style: italic; }
  .metas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
  .chip {
    font-family: var(--display);
    font-weight: 600;
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 10px;
    font-variant-numeric: tabular-nums;
  }

  .texto {
    padding: 20px 22px 20px 19px;
    border-left: 4px solid var(--gold);
    background: var(--surface);
  }
  .parrafos { display: flex; flex-direction: column; gap: 13px; font-size: 1.06rem; line-height: 1.72; }
  .renglones { display: flex; flex-direction: column; gap: 2px; font-size: 1.22rem; line-height: 1.42; }
  .renglones .blank { height: .7em; }

  .acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 22px 20px;
  }
  button {
    font-family: var(--display);
    font-weight: 600;
    font-size: .81rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 15px;
    min-height: 44px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
  }
  button:hover { background: var(--surface); border-color: var(--blue-light); }
  button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

  .notas {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .notas h3 { font-size: 1.05rem; }
  .lista { display: flex; flex-direction: column; gap: 13px; }
  .item { display: grid; grid-template-columns: 5px 1fr; gap: 13px; align-items: stretch; }
  .item .barra { border-radius: 3px; background: var(--line); }
  .item.si .barra { background: var(--blue-light); }
  .item.no .barra { background: var(--maroon); }
  .item p { font-size: .96rem; color: var(--ink-soft); }
  .item b { color: var(--ink); font-weight: 600; }

  footer {
    border-top: 3px solid var(--gold);
    background: var(--surface);
    border-radius: 10px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .datos { display: flex; flex-wrap: wrap; gap: 8px 10px; }
  .dato {
    font-family: var(--display);
    font-weight: 600;
    font-size: .79rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--blue-deep);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 7px 11px;
  }
  .legal { font-size: .82rem; color: var(--ink-soft); }
  .sitio {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--blue);
    font-family: var(--display);
    font-weight: 600;
    font-size: .82rem;
    text-decoration: none;
  }
  .sitio:hover { border-color: var(--blue-light); }
  .sitio:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

  @media (max-width: 420px) {
    body { font-size: 16px; }
    h1 { font-size: 1.4rem; }
    header, .intro, .notas, footer, .guion-head { padding-left: 17px; padding-right: 17px; }
    .texto { padding-left: 14px; padding-right: 17px; }
    .acciones { padding-left: 17px; padding-right: 17px; }
    .renglones { font-size: 1.12rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
  }
*,*::before,*::after{box-sizing:border-box}img{max-width:100%}[hidden]{display:none!important}

/* --- Indice: la lista de socios con su liga --- */
.socios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 620px) {
  .socios { grid-template-columns: 1fr 1fr; }
}
.socio {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--surface-2);
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.socio:hover { background: var(--surface); border-color: var(--blue-light); border-left-color: var(--gold); }
.socio:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.socio-nombre {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}
.socio-temas { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.aviso-tuyo {
  border-left: 4px solid var(--maroon);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .95rem;
  color: var(--ink-soft);
}
.aviso-tuyo b { color: var(--ink); font-weight: 600; }
