/* Página de streamers. Usa los tokens de style.css (--ice, --gold, --line, --gutter, --display); todo lo demás es propio. */
.st { overflow-x: clip; }
.st main { display: block; }

/* Barra de arriba, como la de Características */
.st-bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); color: var(--chalk);
  background: #080b0edb; -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.st-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 12.5px/1 Barlow, Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #dbe3e6; transition: color .2s; }
.st-back:hover { color: var(--ice); }

/* Portada */
.st-cover {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch;
  background: var(--grain), radial-gradient(60% 80% at 0% 100%, #8ad8ff14, #0000 70%), var(--panel);
  border-bottom: 1px solid var(--line);
}
.st-cover-copy { padding: clamp(40px, 6.4vw, 104px) clamp(24px, 4vw, 70px) clamp(36px, 5vw, 76px) var(--gutter); }
.st-cover-copy .folio { color: var(--ice); }
.st-cover h1 { margin: .3em 0 .25em; font-size: clamp(52px, 6.6vw, 118px); line-height: .95; }
.st-lead { max-width: 48ch; color: #d5dcde; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; text-wrap: pretty; }
.st-cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(24px, 2.6vw, 36px); }
.st-sublink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 12.5px/1.2 Barlow, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #dbe3e6; border-bottom: 1px solid #8ad8ff59; transition: color .2s, border-color .2s; }
.st-sublink:hover { color: var(--ice); border-color: var(--ice); }
.st-cover-art { position: relative; min-width: 0; min-height: 320px; overflow: hidden; }
.st-cover-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel), #0e131700 30%), linear-gradient(0deg, #0e1317b3, #0e131700 45%); }
.st-cover-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* Palabra del título */
.st-word { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 26px; font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.st-word code { padding: 6px 12px; border: 1px solid #e9d09a66; background: #e9d09a12; color: var(--gold); font: 600 15px/1.2 Barlow, Arial, sans-serif; letter-spacing: .04em; text-transform: none; overflow-wrap: anywhere; }
.st-word-small { margin-top: 14px; }

/* Botón principal: el mismo recorte que Descargas */
.st-cta {
  --cut: 10px; position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 10px 28px;
  background: var(--ice); color: #04121a;
  font: 600 14px/1.2 Barlow, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .25s;
}
.st-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, #fff0 35%, #ffffffb3 50%, #fff0 65%); translate: -120% 0; transition: translate .8s var(--ease); }
.st-cta:hover { background: #b4e7ff; }
.st-cta:hover::after { translate: 120% 0; }
.st-cta:focus-visible { outline: 2px solid #04121a; outline-offset: -6px; }
.st-cta-small { min-height: 46px; padding: 8px 22px; font-size: 12.5px; }
.st-cta-big { min-height: 64px; padding: 12px clamp(28px, 3vw, 44px); font-size: clamp(14px, 1.1vw, 16px); }

/* Secciones */
.st-section, .st-live { padding: clamp(56px, 7vw, 124px) var(--gutter); border-bottom: 1px solid var(--line); }
.st-live { background: radial-gradient(50% 60% at 100% 0%, #8ad8ff10, #0000 70%), var(--void); }
.st-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 20px 64px; margin-bottom: clamp(26px, 3.6vw, 52px); }
.st-head .folio { margin-bottom: 14px; }
.st-section h2, .st-live h2 { font-size: clamp(44px, 5.6vw, 98px); }
.st-deck { max-width: 46ch; color: #d4dde1; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; text-wrap: pretty; }
.st-note { max-width: 70ch; margin-top: 18px; color: #93a3aa; font-size: 14.5px; line-height: 1.5; }

/* En vivo */
.st-live-title { display: flex; align-items: center; gap: .28em; }
.st-dot { flex: none; width: .16em; height: .16em; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 14px #ff4d5e99; }
.st-live-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; color: var(--mist); font-size: 14px; }
.st-count { padding: 6px 12px; border: 1px solid #ff4d5e73; background: #ff4d5e14; color: #ffc2c8; font: 600 12px/1.2 Barlow, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: clamp(12px, 1.3vw, 20px); margin: 0; padding: 0; list-style: none; }

.st-card {
  --pc: var(--ice); --pt: var(--ice);
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 18px clamp(16px, 1.6vw, 22px) 18px;
  background: linear-gradient(180deg, #ffffff0b, #ffffff03), var(--panel);
  border: 1px solid var(--line); border-top: 3px solid var(--pc);
  transition: border-color .3s, translate .4s var(--ease), background .3s;
}
.st-card[data-plataforma="twitch"] { --pc: #9146ff; --pt: #c4a2ff; }
.st-card[data-plataforma="kick"] { --pc: #53fc18; --pt: #7dff52; }
.st-card[data-plataforma="youtube"] { --pc: #ff0033; --pt: #ff8597; }
.st-card[data-plataforma="tiktok"] { --pc: #25f4ee; --pt: #6ff8f4; }
/* TikTok lleva sus dos colores: el borde cian y, encima de la mitad derecha, el rosa. */
.st-card[data-plataforma="tiktok"]::before { content: ""; position: absolute; top: -3px; left: 50%; right: -1px; height: 3px; background: #fe2c55; }
.st-card:hover { border-color: var(--line-strong); border-top-color: var(--pc); translate: 0 -2px; background: linear-gradient(180deg, #ffffff12, #ffffff05), var(--panel); }
.st-card:has(a:focus-visible) { outline: 2px solid var(--ice); outline-offset: 3px; }
.st-card a:focus-visible { outline: none; }
.st-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.st-plat { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent); background: color-mix(in srgb, var(--pc) 14%, transparent); color: var(--pt); font: 600 11px/1.2 Barlow, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.st-plat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pc); }
.st-viewers { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #e6ecee; font: 600 14px/1.2 Barlow, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.st-viewers::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 8px #ff4d5e; }
.st-card h3 { margin: 2px 0 0; font: 600 clamp(26px, 2.1vw, 34px)/1.05 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.st-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.st-card h3 a:hover { color: var(--pt); }
.st-ext { display: inline-block; margin-left: .25em; font: 600 .55em/1 Barlow, Arial, sans-serif; color: var(--mist); vertical-align: .35em; }
.st-card-title { color: #cfd8db; font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--mist); font-size: 13.5px; }
.st-card-meta b { color: var(--gold); font-weight: 600; }
.st-card-ghost { min-height: 196px; border-top-color: var(--line-strong); background: linear-gradient(100deg, #ffffff05 30%, #ffffff0d 50%, #ffffff05 70%) 0 0 / 250% 100%, var(--panel); }
.st-card-ghost:hover { translate: none; }

.st-empty { display: grid; justify-items: start; gap: 12px; max-width: 760px; padding: clamp(24px, 3vw, 40px); border: 1px dashed var(--line-strong); background: #0e1317b3; }
.st-empty h3 { font: 600 clamp(28px, 2.6vw, 42px)/1.05 var(--display); letter-spacing: -.02em; }
.st-empty p { max-width: 54ch; color: #cfd8db; line-height: 1.5; }
.st-empty-mark { display: flex; gap: 6px; }
.st-empty-mark span { width: 38px; height: 3px; background: linear-gradient(90deg, #9146ff, #53fc18 33%, #ff0033 66%, #25f4ee); }
.st-error { border-color: #ff4d5e59; }
.st-retry { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-strong); color: var(--ice); font: 600 12.5px/1.2 Barlow, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.st-retry:hover { background: var(--ice); color: #04121a; }

/* Reglas del programa */
.st-program { background: var(--ink); }
.st-rules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.st-rules > div { min-width: 0; padding: 22px clamp(14px, 1.6vw, 26px) 24px; border-left: 1px solid var(--line); }
.st-rules > div:first-child { border-left: 0; padding-left: 0; }
.st-rules dt { font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.st-rules dd { margin: 10px 0 0; font: 600 clamp(24px, 2vw, 34px)/1.12 var(--display); color: var(--chalk); overflow-wrap: anywhere; }
.st-rules dd small { display: block; margin-top: 6px; font: 400 14px/1.4 Barlow, Arial, sans-serif; color: var(--mist); }
.st-rules dd code { font: inherit; color: var(--gold); }
.st-rules dd.st-rule-soon { font: 400 16px/1.45 Barlow, Arial, sans-serif; color: #e7dcc0; }
.st-rules[aria-busy="true"] dd { color: #5d6b72; }

/* Pasos */
.st-step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.st-step-list li { counter-increment: paso; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 22px 0 0; border-top: 1px solid var(--ice); }
.st-step-list li::before { content: counter(paso, decimal-leading-zero); font: 600 clamp(40px, 3.6vw, 62px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px #8ad8ffb3; }
.st-step-list h3 { font-size: clamp(24px, 2vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.st-step-list p { color: #cfd8db; line-height: 1.5; }
.st-inline { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ice); font: 600 12.5px/1.2 Barlow, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.st-inline span[aria-hidden] { transition: translate .3s var(--ease); }
.st-inline:hover span[aria-hidden] { translate: 4px 0; }
.st-inline:hover { color: #c8ecff; }

/* Guía */
.st-guide { background: radial-gradient(55% 60% at 0% 100%, #e9d09a0b, #0000 70%), var(--void); }
.st-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.st-guide-card { --gc: var(--ice); position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(22px, 2.4vw, 36px); background: linear-gradient(225deg, var(--gc) 7px, #0000 0) 100% 0 / 14px 14px no-repeat, linear-gradient(180deg, #ffffff0a, #ffffff03); border: 1px solid var(--line); }
.st-guide-tiktok { --gc: #25f4ee; }
.st-guide-pc { --gc: var(--ice); }
.st-guide-kick { --gc: #53fc18; }
.st-guide-tips { --gc: var(--gold); }
.st-guide-kicker { font: var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gc); }
.st-guide-card h3 { font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -.025em; }
.st-guide-card p { max-width: 60ch; color: #d0d8db; line-height: 1.55; }
.st-fine { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: #a9b7bd !important; }
.st-tips { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.st-tips li { position: relative; padding-left: 22px; color: #d0d8db; line-height: 1.5; }
.st-tips li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--gold); }
.st-tips strong { color: var(--gold); font-weight: 600; }

/* Normas de las plataformas */
.st-norms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.st-norms li { min-width: 0; padding: 24px clamp(14px, 1.6vw, 28px) 26px; border-left: 1px solid var(--line); }
.st-norms li:first-child { border-left: 0; padding-left: 0; }
.st-norms h3 { font-size: clamp(22px, 1.8vw, 30px); line-height: 1.1; letter-spacing: -.02em; color: var(--chalk); }
.st-norms p { margin-top: 10px; color: #cfd8db; line-height: 1.5; }

/* Referidos */
.st-ref { background: var(--ink); }
.st-ref-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px clamp(32px, 5vw, 96px); padding: clamp(26px, 3.6vw, 60px); border: 1px solid #e9d09a40; background: var(--grain), radial-gradient(70% 90% at 100% 0%, #e9d09a17, #0000 70%), var(--panel); }
.st-ref-box .folio { margin-bottom: 14px; color: #e2cc99; }
.st-ref-box .folio .cue { background: var(--gold); box-shadow: 0 0 10px 1px #e9d09a73; }
.st-ref-copy { display: grid; gap: 12px; justify-items: start; }
.st-ref-copy p { max-width: 52ch; color: #d4dde1; line-height: 1.55; }
.st-ref-copy .st-inline { color: var(--gold); }
/* Las reglas del bono (4-dic-2026): letra chica debajo de la promesa del porcentaje. */
.st-ref-copy .st-ref-reglas { font-size: 14px; line-height: 1.5; color: #a9b7bd; }
.st-ref-copy .st-inline:hover { color: #f6e7ba; }

/* Cierre */
.st-final { display: grid; justify-items: center; gap: 18px; padding: clamp(64px, 9vw, 150px) var(--gutter); text-align: center; background: var(--grain), radial-gradient(50% 70% at 50% 100%, #8ad8ff1c, #0000 70%), var(--void); border-bottom: 1px solid var(--line); }
.st-final h2 { font-size: clamp(48px, 6.4vw, 116px); }
.st-final p { color: #d4dde1; font-size: clamp(16px, 1.3vw, 20px); }
.st-final .st-cta { margin-top: 10px; }

/* Pie */
.st-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; padding: clamp(34px, 4vw, 64px) var(--gutter); background: var(--void); color: var(--chalk); }
.st-foot .brand { font-size: clamp(40px, 5vw, 80px); line-height: 1; color: var(--void); -webkit-text-stroke: 1.5px #cfe9f78c; paint-order: stroke fill; transition: color .7s var(--ease); }
.st-foot .brand:is(:hover, :focus-visible) { color: var(--chalk); }
.st-foot p { margin-top: 10px; color: var(--mist); font: 600 11px/1.3 Barlow, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.st-foot nav { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 40px); }
.st-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: #dbe3e6; text-decoration: underline; text-decoration-color: #8ad8ff59; text-underline-offset: .25em; }
.st-foot nav a:hover { color: var(--ice); }
.st-foot nav a[aria-current="page"] { color: var(--ice); text-decoration-color: var(--ice); }

/* Movimiento: sólo si la persona no pidió menos */
@media (prefers-reduced-motion: no-preference) {
  .st-dot, .st-viewers::before { animation: st-pulse 2s ease-out infinite; }
  .st-card-ghost { animation: st-shimmer 1.6s linear infinite; }
  .st-cover-copy > * { animation: st-in .9s var(--ease) backwards; }
  .st-cover-copy > :nth-child(2) { animation-delay: .08s; }
  .st-cover-copy > :nth-child(3) { animation-delay: .16s; }
  .st-cover-copy > :nth-child(n+4) { animation-delay: .24s; }
  .st-cover-art img { animation: st-cover 2s var(--ease) backwards; }
  .st-cards > .st-card:not(.st-card-ghost) { animation: st-in .6s var(--ease) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-cta::after, .st-inline span[aria-hidden] { transition: none; }
  .st-card:hover { translate: none; }
}
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 #ff4d5eb3; } 70%, 100% { box-shadow: 0 0 0 8px #ff4d5e00; } }
@keyframes st-shimmer { to { background-position: -250% 0, 0 0; } }
@keyframes st-in { from { opacity: 0; translate: 0 16px; } }
@keyframes st-cover { from { scale: 1.08; filter: brightness(.35); } }

/* Responsivo */
@media (max-width: 1180px) {
  .st-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-rules > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .st-rules > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .st-rules > div:nth-child(5) { grid-column: span 2; }
  .st-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .st-norms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-norms li:nth-child(3) { border-left: 0; padding-left: 0; }
  .st-norms li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .st-cover { grid-template-columns: minmax(0, 1fr); }
  .st-cover-art { order: -1; min-height: 0; height: clamp(170px, 38vw, 300px); }
  .st-cover-art::after { background: linear-gradient(0deg, var(--panel), #0e131700 45%); }
  .st-cover-copy { padding: 28px var(--gutter) 40px; }
  .st-head { grid-template-columns: minmax(0, 1fr); }
  .st-live-meta { justify-content: flex-start; }
  .st-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .st-ref-box { grid-template-columns: minmax(0, 1fr); }
  .st-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-rules > div { border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding-left: clamp(14px, 1.6vw, 26px); }
  .st-rules > div:nth-child(-n+2) { border-top: 0; }
  .st-rules > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .st-rules > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .st-bar { gap: 8px; padding-inline: 12px; }
  .st-bar .brand { font-size: 22px; gap: 6px; }
  .st-bar .brand img { width: 22px; height: 26px; }
  .st-cover h1 { font-size: clamp(44px, 12vw, 58px); }
  .st-cover-actions { flex-direction: column; align-items: stretch; }
  .st-cover-actions .st-cta { width: 100%; }
  .st-sublink { justify-content: center; }
  .st-step-list, .st-norms { grid-template-columns: minmax(0, 1fr); }
  .st-norms li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .st-norms li:first-child { border-top: 0; }
  .st-rules { grid-template-columns: minmax(0, 1fr); }
  .st-rules > div, .st-rules > div:nth-child(odd) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .st-rules > div:first-child { border-top: 0; }
  .st-cta-big { width: 100%; }
  .st-foot { display: grid; gap: 18px; }
}
@media (max-width: 560px) {
  /* En el teléfono queda sólo la flecha; el texto sigue para los lectores de pantalla. */
  .st-back span[data-i18n] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .st-back { justify-content: center; min-width: 44px; font-size: 18px; }
}
