/* SIQPUEDES V17.5.399 — Presentación móvil legible, 4 portadas y Top 10.
   Solo visual, excepto el estado de login que es tratado por JS.
   Reglas finales intencionadamente más específicas que los CSS históricos. */
.siq-login-feedback[hidden]{display:none!important}
.siq-login-feedback{display:block;margin:8px 0 12px;padding:11px 13px;border-radius:11px;border:1px solid rgba(255,126,145,.65);background:rgba(107,22,43,.28);color:#ffe0e7;font-size:13px;line-height:1.5;overflow-wrap:break-word}
@media (max-width:820px){
  html,body{max-width:100%;overflow-x:clip}
  body{font-size:14px;line-height:1.5;-webkit-text-size-adjust:100%}
  .page-shell{overflow-x:clip!important}
  /* Top 10: markup has exactly THREE grid children: number, avatar+name, votes. */
  .ranking-section .ranking-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;gap:17px!important}
  .ranking-section .ranking-list{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;display:flex!important;flex-direction:column!important;padding:7px!important;overflow:visible!important;background:rgba(5,12,28,.60)!important;border:1px solid rgba(85,135,202,.20);border-radius:16px!important}
  .ranking-section .ranking-row,
  .ranking-section .ranking-row.live-ranking-row{
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:26px minmax(0,1fr) minmax(30px,auto)!important;
    align-items:center!important;column-gap:10px!important;
    width:100%!important;max-width:100%!important;min-height:61px!important;
    padding:9px 10px!important;margin:0!important;
    text-align:left!important;word-break:normal!important;overflow:visible!important;
    border-radius:10px!important;
  }
  .ranking-section .ranking-row>span{grid-column:1!important;text-align:center!important;font-size:13px!important}
  .ranking-section .ranking-row>div{grid-column:2!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;min-width:0!important;width:100%!important;gap:11px!important}
  .ranking-section .ranking-row>div>img{flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;object-fit:cover!important;border-radius:50%!important}
  .ranking-section .ranking-row>div>b{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;width:auto!important;font-size:13px!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important;letter-spacing:0!important}
  .ranking-section .ranking-row>strong{grid-column:3!important;justify-self:end!important;min-width:22px!important;font-size:13px!important;white-space:nowrap!important}
  .ranking-section .podium{display:flex!important;justify-content:center!important;align-items:flex-end!important;gap:7px!important;padding:18px 1px 0!important}
  .ranking-section .podium-item{flex:1 1 0!important;min-width:0!important;max-width:33%!important;text-align:center}
  .ranking-section .podium-item h3{max-width:100%!important;line-height:1.22!important;min-height:32px!important;max-height:2.6em!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .ranking-section .podium-item strong{display:inline-block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

  /* Inicio: ilustración completa arriba, copy en panel sólido debajo. */
  .page-shell .hero{width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#070e23!important}
  .page-shell .hero .hero-content{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;position:relative!important;overflow:visible!important}
  .page-shell .hero .hero-visual{position:relative!important;order:0!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;overflow:hidden!important;background:linear-gradient(130deg,#0b1030,#101042)!important;z-index:1!important}
  .page-shell .hero .hero-art-wrap{position:absolute!important;inset:0!important;overflow:hidden!important}
  .page-shell .hero .hero-art{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important}
  .page-shell .hero .hero-visual::before,.page-shell .hero .hero-visual::after,.page-shell .hero .hero-art-wrap::before,.page-shell .hero .hero-art-wrap::after{display:none!important}
  .page-shell .hero .hero-floating-layer{display:none!important}
  .page-shell .hero .hero-copy{position:relative!important;order:1!important;z-index:3!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;padding:19px 17px 22px!important;margin:0!important;background:linear-gradient(180deg,#081429 0%,#080d20 100%)!important;text-shadow:none!important;overflow:visible!important}
  .page-shell .hero .hero-copy::before,.page-shell .hero .hero-content::after{display:none!important}
  .page-shell .hero .hero-brand-title{font-size:clamp(27px,7vw,36px)!important;line-height:1.1!important;letter-spacing:-.035em!important}
  .page-shell .hero .hero-question{font-size:clamp(17px,4.3vw,21px)!important;color:#eef6ff!important;line-height:1.3!important}
  .page-shell .hero .hero-demuestralo{font-size:clamp(27px,7vw,37px)!important;line-height:1.15!important}
  .page-shell .hero .hero-description{font-size:13px!important;line-height:1.55!important;color:#d7e6f7!important;max-width:none!important;margin:12px 0 15px!important}
  .page-shell .hero .hero-trust{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:14px!important}
  .page-shell .hero .trust-item{min-width:0!important;font-size:11px!important;line-height:1.25!important;color:#f4f7ff!important}
  .page-shell .hero .btn-hero{width:100%!important;max-width:100%!important;min-height:49px!important}

  /* Creaciones: imagen completa en franja superior, luego texto sobre fondo oscuro. */
  .voting-page .voting-hero{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:stretch!important;grid-template-columns:none!important;height:auto!important;min-height:0!important;width:100%!important;padding:clamp(180px,59vw,290px) 14px 16px!important;gap:12px!important;background-image:url('assets/voting-hero-v17-5-229.webp')!important;background-size:100% auto!important;background-position:top center!important;background-repeat:no-repeat!important;background-color:#080e21!important;border-radius:18px!important;overflow:hidden!important}
  .voting-page .voting-hero::before{content:""!important;position:absolute!important;inset:0!important;z-index:0!important;background:linear-gradient(180deg,transparent 0%,transparent 18%,rgba(5,10,27,.54) 34%,#081228 43%,#081228 100%)!important}
  .voting-page .voting-hero::after{display:none!important}
  .voting-page .voting-hero-copy{position:relative!important;z-index:2!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;padding:16px 14px!important;margin:0!important;background:rgba(6,13,34,.94)!important;border:1px solid rgba(92,148,221,.24)!important;border-radius:16px!important}
  .voting-page .voting-hero-copy::before,.voting-page .voting-hero-copy::after{display:none!important}
  .voting-page .voting-hero-copy .voting-kicker{font-size:10px!important;letter-spacing:.11em!important}
  .voting-page .voting-hero h1{font-size:clamp(27px,7vw,39px)!important;line-height:1.06!important;letter-spacing:-.045em!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance!important;text-shadow:0 2px 10px rgba(0,0,0,.4)!important}
  .voting-page .voting-hero p{font-size:13px!important;line-height:1.55!important;color:#dae7f7!important;margin:12px 0!important}
  .voting-page .voting-hero-features{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:13px!important}
  .voting-page .voting-hero-features>div{min-width:0!important;gap:6px!important;font-size:11px!important;color:#eff6ff!important}
  .voting-page .voting-hero-stats{position:relative!important;z-index:2!important;align-self:stretch!important;justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
  .voting-page .voting-hero-stats>div{min-width:0!important;min-height:86px!important;padding:11px!important;grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;border-radius:14px!important}
  .voting-page .voting-hero-stats b{font-size:clamp(13px,3.4vw,17px)!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
  .voting-page .voting-hero-stats small{font-size:10px!important;line-height:1.3!important;white-space:normal!important}

  /* Ganadores: artwork on top, readable information and period in separate panel. */
  body .gw-hero{height:auto!important;min-height:0!important;display:block!important;padding-top:clamp(195px,61vw,300px)!important;background:#091226!important;overflow:hidden!important}
  body .gw-hero-bg{inset:0 0 auto!important;width:100%!important;height:clamp(195px,61vw,300px)!important;background-size:contain!important;background-position:top center!important;background-repeat:no-repeat!important;background-color:#091226!important;transform:none!important}
  body .gw-hero-shade{background:linear-gradient(180deg,transparent 0%,transparent 23%,rgba(5,10,27,.4) 30%,#071125 44%,#071125 100%)!important}
  body .gw-hero-content{box-sizing:border-box!important;position:relative!important;z-index:3!important;display:block!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;padding:17px 17px 21px!important;margin:0!important;background:linear-gradient(180deg,#0b1730,#080d20)!important}
  body .gw-hero-content h1{font-size:clamp(29px,8vw,44px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:10px 0 0!important;overflow-wrap:normal!important}
  body .gw-hero-content h2{font-size:clamp(23px,6.4vw,34px)!important;line-height:1.16!important}
  body .gw-hero-content p{font-size:13px!important;line-height:1.55!important;color:#e0e9f7!important;margin:11px 0!important}
  body .gw-hero-content .gw-kicker{font-size:10px!important;line-height:1.45!important;letter-spacing:.07em!important;max-width:100%!important}
  body .gw-hero-content .gw-hero-tagline{font-size:11px!important;letter-spacing:.1em!important;line-height:1.4!important}
  body .gw-hero-content .gw-period{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:12px!important;margin-top:13px!important}
  body .gw-hero-content .gw-period strong{font-size:12px!important;line-height:1.45!important;overflow-wrap:normal!important;word-break:normal!important}

  /* Cómo funciona: cover artwork stays intact in a separate illustration zone. */
  body .cw-hero{display:block!important;box-sizing:border-box!important;height:auto!important;min-height:0!important;padding-top:clamp(185px,58vw,290px)!important;overflow:hidden!important;background:#091328!important}
  body .cw-hero-art{inset:0 0 auto!important;height:clamp(185px,58vw,290px)!important;background-size:contain!important;background-position:top center!important;background-repeat:no-repeat!important;background-color:#091328!important;transform:none!important;filter:none!important}
  body .cw-hero-overlay{background:linear-gradient(180deg,transparent,transparent 19%,rgba(5,11,28,.35) 29%,#091328 44%,#091328 100%)!important;pointer-events:none!important}
  body .cw-hero-content{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;gap:12px!important;position:relative!important;height:auto!important;min-height:0!important;width:100%!important;max-width:100%!important;padding:18px 17px 22px!important;margin:0!important;background:#091328!important}
  body .cw-hero-title{position:relative!important;inset:auto!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important;order:0!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
  body .cw-hero-title h1{font-size:clamp(28px,7vw,42px)!important;line-height:1.03!important;letter-spacing:-.04em!important;max-width:100%!important;word-break:normal!important;overflow-wrap:normal!important;text-wrap:balance!important}
  body .cw-hero-title h1 span{max-width:100%!important;display:inline!important;width:auto!important;overflow-wrap:normal!important}
  body .cw-hero-title p{font-size:15px!important;line-height:1.4!important;margin-top:10px!important;color:#fff!important}
  body .cw-hero-title::after{font-size:9px!important;line-height:1.35!important;letter-spacing:.08em!important;max-width:100%!important;white-space:normal!important}
  body .cw-hero-intro{position:relative!important;inset:auto!important;left:auto!important;top:auto!important;transform:none!important;order:1!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:13px 15px!important;background:rgba(17,29,55,.88)!important;border:1px solid rgba(105,165,245,.22)!important;border-radius:14px!important}
  body .cw-hero-intro p{font-size:12px!important;line-height:1.5!important;color:#dfe9f8!important}

  /* Avoid zoom in on-screen keyboard, and keep modal information readable. */
  .modal-dialog input,.modal-dialog select,.modal-dialog textarea,.account-form input,.account-form select,.account-form textarea{font-size:16px!important;line-height:1.35!important}
  .modal-dialog .form-hero,.modal-dialog .form-hero span{line-height:1.35!important}
}
@media(max-width:380px){
  .ranking-section .ranking-row,.ranking-section .ranking-row.live-ranking-row{grid-template-columns:22px minmax(0,1fr) minmax(20px,auto)!important;column-gap:6px!important;padding:9px 6px!important}
  .ranking-section .ranking-row>div>img{flex-basis:32px!important;width:32px!important;height:32px!important;min-width:32px!important}
  .ranking-section .ranking-row>div{gap:7px!important}
  .voting-page .voting-hero-stats{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.ranking-section .ranking-row,.page-shell .hero .hero-art{animation:none!important;transition:none!important}}
@media(max-width:480px){
  /* Los dos indicadores se muestran completos, sin cortar palabras. */
  .voting-page .voting-hero-stats{grid-template-columns:minmax(0,1fr)!important}
  .voting-page .voting-hero-stats>div{min-height:62px!important;padding:11px 14px!important}
  .voting-page .voting-hero-stats b{font-size:16px!important;line-height:1.24!important}
}
