:root{
  color-scheme:light;
  --cream:#fff8e9;--paper:#fffdf7;--ink:#17120f;--muted:#6d5b4c;
  --red:#d52b1e;--red-dark:#aa1d14;--yellow:#f4b51d;--green:#12643e;
  --line:rgba(23,18,15,.2);--soft:#f8eed7;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden} button,input{font:inherit} a{color:inherit}

.site-header{height:6.5dvh;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:.4rem 2.7vw;border-bottom:2px solid var(--ink);background:var(--cream);position:relative;z-index:30}
.brand{display:flex;align-items:center;gap:.72rem;text-decoration:none}.brand-mark{width:3.2rem;height:2.7rem;display:grid;place-items:center;border:3px solid var(--ink);border-radius:5px;background:#fff;font:900 1.7rem/1 Impact,"Arial Black",sans-serif;transform:rotate(-4deg);position:relative}.brand-mark:before{content:"";position:absolute;top:-.55rem;width:1.05rem;height:.62rem;background:var(--yellow);clip-path:polygon(0 100%,14% 28%,39% 70%,50% 0,64% 70%,86% 28%,100% 100%)}
.brand-copy{display:grid;text-transform:uppercase;line-height:.9}.brand-copy strong{font:900 clamp(1.35rem,1.9vw,2rem)/.9 Impact,"Arial Black",sans-serif;white-space:nowrap}.brand-copy em{font-style:normal;color:var(--red)}.brand-copy small{font-weight:900;font-size:clamp(.62rem,.76vw,.8rem);white-space:nowrap}
.header-menu{display:flex;align-items:center;gap:clamp(1rem,2.2vw,2.5rem)}.nav{display:flex;gap:clamp(1.1rem,2vw,2.3rem);text-transform:uppercase}.nav a{font:900 clamp(.78rem,.94vw,1rem)/1 Impact,"Arial Black",sans-serif;text-decoration:none;white-space:nowrap}.nav a:hover,.nav a:focus-visible{color:var(--red)}
.dev-button,.button,.rank-actions button,.quick-amounts button,.close-button{border:2px solid var(--ink);background:var(--paper);color:var(--ink);font-weight:900;text-transform:uppercase;cursor:pointer}.dev-button{padding:.58rem 1rem;border-radius:999px;background:var(--ink);color:#fff;font-family:Impact,"Arial Black",sans-serif;letter-spacing:.02em;white-space:nowrap}.menu-toggle,.menu-trigger{display:none}

/* Desktop = poster de una sola pantalla, no una landing larga. */
.poster-shell{height:93.5dvh;display:grid;grid-template-rows:39.5dvh 6dvh 24dvh 24dvh;overflow:hidden;background:var(--cream)}
.hero{position:relative;overflow:hidden;background:#f7edd7;border-bottom:1px solid var(--line)}
.hero-art{width:100%;height:100%;display:block;object-fit:fill;object-position:center top}
.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,248,233,.08),transparent 25%,transparent 78%,rgba(255,248,233,.03))}
.hero-cta{position:absolute;left:12.2%;bottom:9%;display:flex;gap:.65rem;z-index:4}.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.68rem 1.12rem;border-radius:4px;font-size:.78rem}.button.primary{background:var(--red);color:#fff;border-color:var(--red)}.button.primary:hover,.button.primary:focus-visible{background:var(--red-dark)}.button.secondary{background:rgba(255,253,247,.95);border-color:var(--red)}

.competition-bar{margin:-1px 6.5vw 0;height:100%;display:grid;grid-template-columns:1.15fr repeat(4,1fr);align-items:center;border:2px solid #e3a10b;border-radius:10px;background:rgba(255,253,247,.99);z-index:8;overflow:hidden}.competition-bar>*{height:68%;display:flex;align-items:center;justify-content:center;padding:0 .8rem;border-right:1px dashed #d8aa50;text-align:center;text-transform:uppercase;font-size:clamp(.68rem,.78vw,.84rem)}.competition-bar>*:last-child{border-right:0}.live-label{font:900 clamp(.82rem,.96vw,1.02rem)/1 Impact,"Arial Black",sans-serif;gap:.55rem}.live-label i{width:.78rem;height:.78rem;border-radius:50%;background:#39a75b;border:2px solid var(--ink);display:inline-block}
.payment-status{width:min(1400px,88vw);margin:.35rem auto 0;padding:.38rem .75rem;border:1px solid #e3a10b;background:rgba(255,253,247,.96);border-radius:6px;text-align:center;text-transform:uppercase;font-weight:900;font-size:.72rem;color:var(--green)}

.ranking-section{padding:.55rem 3.7vw .4rem;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:.42rem}.ranking-list{display:grid;grid-template-columns:1.02fr .98fr;grid-template-rows:repeat(4,1fr);gap:.48rem;min-height:0}.rank-card{min-width:0;border:1px solid var(--line);border-radius:7px;background:rgba(255,253,247,.98);display:grid;grid-template-columns:3rem 3.1rem minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.28rem .6rem;overflow:hidden}.rank-card.top-one{grid-column:1;grid-row:1/5;background:linear-gradient(135deg,#df331f,#c82418);color:#fff;border:3px solid var(--ink);box-shadow:4px 4px 0 rgba(23,18,15,.8);grid-template-columns:4.2rem 5.1rem minmax(0,1fr) minmax(9.5rem,.62fr);padding:.85rem 1rem;gap:.7rem}.rank-card:not(.top-one){grid-column:2}.rank-card:nth-child(2){grid-row:1}.rank-card:nth-child(3){grid-row:2}.rank-card:nth-child(4){grid-row:3}.rank-card:nth-child(5){grid-row:4}.rank-card:nth-child(n+6){display:none}
.backend-state{grid-column:1/3;min-height:100%;display:grid;place-items:center;border:2px dashed rgba(23,18,15,.3);border-radius:7px;background:rgba(255,253,247,.86);font-weight:900;text-transform:uppercase;color:var(--muted);text-align:center;padding:1rem}.top50-callout{display:flex;align-items:center;justify-content:center;gap:.75rem;margin:0 auto;text-align:center;text-transform:uppercase;font-weight:900;font-size:.72rem;line-height:1.05}.top50-callout p{margin:0}.top50-callout .button{padding:.38rem .82rem;font-size:.66rem;min-height:2rem;white-space:nowrap}.top50-callout button:disabled,.dev-button:disabled,.entry-form button:disabled,.entry-form input:disabled{opacity:.55;cursor:not-allowed}
.position{font:900 clamp(1.12rem,1.5vw,1.55rem)/1 Impact,"Arial Black",sans-serif;color:var(--red)}.top-one .position{width:3.65rem;height:3.65rem;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--yellow);font-size:1.9rem}.avatar{width:2.9rem;height:2.9rem;border:2px solid var(--ink);border-radius:5px;background:linear-gradient(135deg,#4b463f,#181513);color:#fff;display:grid;place-items:center;font-weight:900;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.top-one .avatar{width:4.8rem;height:4.8rem;font-size:1.35rem}
.rank-info{min-width:0}.rank-info button{border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer;max-width:100%}.rank-info h3{margin:.08rem 0;font:900 clamp(.88rem,1vw,1.05rem)/1 Impact,"Arial Black",sans-serif;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-info p{margin:.05rem 0;font-size:clamp(.58rem,.68vw,.74rem);line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-block;background:var(--yellow);color:var(--ink);padding:.22rem .52rem;border-radius:999px;font-weight:950;font-size:.62rem;text-transform:uppercase}.rank-status{display:none}.top-one .rank-info h3{font-size:clamp(2rem,2.8vw,3.1rem);line-height:.92;white-space:normal}.top-one .rank-info p{font-size:clamp(.75rem,.88vw,.95rem);white-space:normal}.top-one .rank-status{display:inline-block;margin-top:.42rem;background:var(--ink);padding:.27rem .5rem;font-weight:900;text-transform:uppercase;font-size:.66rem}
.amount-box{text-align:right;min-width:6.8rem}.amount{font:900 clamp(1.08rem,1.38vw,1.45rem)/1 Impact,"Arial Black",sans-serif;color:var(--red)}.top-one .amount{font-size:clamp(2.5rem,3.6vw,3.9rem);color:#fff}.needed{font-size:.59rem;font-weight:900;text-transform:uppercase;color:var(--yellow);margin:.25rem 0}.rank-card:not(.top-one) .needed{display:none}.visits{font-size:.62rem;margin:.13rem 0}.rank-actions{display:flex;justify-content:flex-end;gap:.3rem}.rank-actions button{padding:.34rem .52rem;border-radius:4px;font-size:.59rem;border-color:var(--red);color:var(--red);background:#fff}.rank-actions button:first-child{display:none}.top-one .rank-actions button:last-child{background:var(--yellow);color:var(--ink);border-color:var(--ink);font-size:.74rem;padding:.5rem .82rem}.top-one .visits{display:none}

.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;padding:.25rem 3.7vw .65rem;min-height:0}.steps,.entry-section{border:1px solid var(--line);border-radius:7px;background:rgba(255,253,247,.98);min-height:0;overflow:hidden}.steps{padding:.48rem .8rem;display:grid;grid-template-rows:auto 1fr auto}.steps h2,.entry-head h2{margin:0;text-align:center;font:900 clamp(1.35rem,1.65vw,1.85rem)/1 Impact,"Arial Black",sans-serif;text-transform:uppercase}.steps-grid{list-style:none;margin:.32rem 0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:.25rem;align-items:center}.steps-grid li{text-align:center;position:relative;padding:.08rem .2rem}.steps-grid li:not(:last-child):after{content:"→";position:absolute;right:-.32rem;top:1.35rem;font-size:1.1rem;font-weight:900}.steps-grid b{width:1.42rem;height:1.42rem;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;margin:0 auto .2rem;font-size:.72rem}.step-icon{width:3.05rem;height:3.05rem;display:grid;place-items:center;margin:.02rem auto .18rem;color:var(--ink)}.step-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.steps-grid strong{display:block;text-transform:uppercase;font:900 .78rem/1 Impact,"Arial Black",sans-serif}.steps-grid span{display:block;font-size:.63rem;line-height:1.13;margin-top:.12rem}.steps-close{margin:.1rem auto 0;padding:.26rem .55rem;background:var(--yellow);font-weight:950;text-transform:uppercase;text-align:center;font-size:.66rem;max-width:88%}
.entry-section{padding:.48rem .72rem;display:grid;grid-template-rows:auto 1fr}.entry-head{display:flex;align-items:baseline;gap:.65rem}.entry-head h2{text-align:left;color:var(--green)}.entry-head p{margin:0;font-size:.65rem}.entry-form{display:grid;grid-template-columns:1fr 1fr .82fr;grid-template-rows:repeat(4,1fr) auto;gap:.22rem .4rem;align-items:end;min-height:0}.entry-form label{display:grid;gap:.07rem;font-size:.57rem;font-weight:900}.entry-form input{height:1.55rem;border:1px solid var(--line);background:#fff;padding:.15rem .38rem;font-size:.66rem}.field-name{grid-column:1/3}.field-desc{grid-column:1/3}.field-url{grid-column:1/3}.field-logo{grid-column:3;grid-row:1/3}.field-amount{grid-column:1;grid-row:4}.quick-amounts{grid-column:2/4;grid-row:4;display:grid;grid-template-columns:repeat(6,1fr);gap:.22rem}.quick-amounts button{height:1.55rem;padding:0 .12rem;font-size:.57rem;border-width:1px;border-radius:4px}.quick-amounts button:nth-child(3){background:var(--green);color:#fff}.estimate{grid-column:1/3;margin:0;font-size:.57rem;color:var(--green);font-weight:900;align-self:center}.form-error{grid-column:1/3;margin:0;color:var(--red);font-size:.55rem}.v2-notice{grid-column:1/4;grid-row:5;margin:0;font-size:.52rem;color:var(--muted);font-weight:900;text-transform:uppercase}.entry-submit{grid-column:3;grid-row:3;height:2rem;background:var(--green);color:#fff;border-color:var(--green);font-size:.66rem;box-shadow:none}
.mobile-footer{display:none}

.modal{width:min(92vw,520px);border:3px solid var(--ink);border-radius:8px;background:var(--cream);color:var(--ink);padding:0;box-shadow:8px 8px 0 rgba(22,17,14,.45)}.modal::backdrop{background:rgba(15,10,7,.62)}.modal-content{padding:1rem}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.modal-head h3{margin:.1rem 0;font:900 1.8rem/1 Impact,"Arial Black",sans-serif;text-transform:uppercase}.close-button{width:2rem;height:2rem;border-radius:50%}.detail-grid{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:center}.modal label{display:grid;gap:.3rem;font-weight:900}.modal input{min-height:2.5rem;border:2px solid var(--ink);background:#fff;padding:.5rem}.modal .wide{width:100%;margin-top:.75rem}.form-error{min-height:.75rem}.top50-modal{width:min(94vw,880px)}.top50-list{max-height:min(68vh,650px);overflow:auto;display:grid;gap:.38rem;padding:.35rem .08rem .1rem}.top50-item{display:grid;grid-template-columns:3.2rem 3rem minmax(0,1fr) 7.2rem auto;align-items:center;gap:.55rem;border:1px solid var(--line);border-radius:7px;background:rgba(255,253,247,.95);padding:.42rem .55rem}.top50-item .position{font-size:1.2rem}.top50-meta{text-align:right}.top50-meta strong{display:block;color:var(--red);font:900 1rem/1 var(--display-font)}.top50-meta span{font-size:.62rem;font-weight:900;text-transform:uppercase}

/* En pantallas de escritorio bajas se conserva la composición sin encoger brutalmente. */
@media (max-height:780px) and (min-width:901px){.site-header{min-height:50px}.poster-shell{grid-template-rows:38dvh 6dvh 25dvh 24.5dvh}.hero-cta{bottom:7%}.steps-grid span{font-size:.58rem}.entry-form input,.quick-amounts button{height:1.4rem}}

@media (max-width:900px){
  body{overflow-y:auto}.site-header{height:auto;min-height:58px;padding:.45rem .8rem;position:sticky;top:0}.brand-copy small{display:none}.brand-copy strong{font-size:1.25rem}.brand-mark{width:2.7rem;height:2.25rem;font-size:1.4rem}.header-menu{gap:.5rem}.menu-trigger{display:block;border:2px solid var(--ink);padding:.4rem .65rem;font-weight:900;text-transform:uppercase}.nav{display:none;position:absolute;right:.8rem;top:100%;background:var(--cream);border:2px solid var(--ink);padding:.8rem;flex-direction:column;gap:.7rem}.menu-toggle:checked~.nav{display:flex}.dev-button{font-size:.65rem;padding:.45rem .65rem}
  .poster-shell{height:auto;display:block;overflow:visible}.hero{height:62vw;min-height:320px}.hero-art{object-fit:cover;object-position:center top}.hero-cta{left:5%;bottom:5%;gap:.4rem}.hero-cta .button{padding:.55rem .72rem;font-size:.66rem}.competition-bar{margin:.5rem .6rem;height:auto;grid-template-columns:1fr 1fr}.competition-bar>*{min-height:2.6rem;border-bottom:1px dashed #d6a84a}.competition-bar>*:nth-child(odd){border-right:1px dashed #d6a84a}.ranking-section{padding:.5rem .6rem}.ranking-list{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:.45rem;overflow:visible}.rank-card,.rank-card.top-one,.rank-card:not(.top-one){grid-column:1;grid-row:auto;display:grid}.rank-card:nth-child(n+6){display:grid}.rank-card.top-one{grid-template-columns:3.3rem 4rem minmax(0,1fr);padding:.75rem}.top-one .amount-box{grid-column:2/4;width:100%;display:grid;grid-template-columns:1fr auto;gap:.3rem;align-items:end}.top-one .amount{font-size:2.2rem}.top-one .needed{grid-column:1/3}.top-one .rank-actions{grid-column:2}.top-one .rank-info h3{font-size:1.8rem}.rank-card:not(.top-one){grid-template-columns:2.5rem 3rem minmax(0,1fr) auto}.top50-callout{display:grid;gap:.45rem}.top50-item{grid-template-columns:2.5rem 2.9rem minmax(0,1fr);align-items:start}.top50-item .top50-meta,.top50-item .rank-actions{grid-column:2/4;text-align:left;justify-content:flex-start}.bottom-grid{grid-template-columns:1fr;padding:.2rem .6rem .8rem}.steps,.entry-section{padding:.7rem}.steps-grid{grid-template-columns:1fr;gap:.35rem}.steps-grid li{text-align:left;display:grid;grid-template-columns:1.8rem 3rem 5.5rem 1fr;align-items:center;gap:.35rem}.step-icon{width:2.55rem;height:2.55rem;margin:0}.steps-grid li:not(:last-child):after{display:none}.steps-grid b{margin:0}.steps-grid strong{font-size:.78rem}.steps-grid span{font-size:.7rem}.entry-head{display:block}.entry-head h2{font-size:1.65rem}.entry-head p{margin:.2rem 0 .45rem}.entry-form{display:grid;grid-template-columns:1fr;grid-template-rows:auto}.entry-form>*{grid-column:1!important;grid-row:auto!important}.entry-form input{height:2.35rem;font-size:.8rem}.entry-form label{font-size:.68rem}.quick-amounts{grid-template-columns:repeat(3,1fr)}.quick-amounts button{height:2.1rem;font-size:.68rem}.entry-submit{height:2.65rem;font-size:.78rem}.estimate{font-size:.68rem}.mobile-footer{display:flex;justify-content:space-between;gap:1rem;padding:.7rem .8rem;border-top:2px solid var(--ink);background:#fff;font-size:.65rem;font-weight:900;text-transform:uppercase}
}

/* V5: composición tipo póster con scroll ligero para conservar el hero completo. */
@media (min-width:901px){
  body{overflow-y:auto}
  .site-header{height:auto;min-height:72px;padding:.65rem 2.7vw;position:relative}
  .poster-shell{height:auto;min-height:0;display:block;overflow:visible}
  .hero{height:auto;min-height:0;overflow:visible}
  .hero-art{width:100%;height:auto;display:block;object-fit:contain;object-position:center top}
  .hero-cta{left:12.2%;bottom:8.2%}
  .competition-bar{height:72px;margin:-1px 6.5vw 0}
  .ranking-section{height:430px;padding:.7rem 3.7vw .55rem}
  .bottom-grid{min-height:350px;padding:.35rem 3.7vw 1rem}
  .steps,.entry-section{min-height:335px}
}

@media (min-width:901px) and (max-height:780px){
  .poster-shell{height:auto;display:block;overflow:visible}
  .hero{height:auto}
  .hero-art{height:auto;object-fit:contain}
  .competition-bar{height:68px}
  .ranking-section{height:410px}
  .bottom-grid{min-height:340px}
}

/* V7: header compacto y centrado para devolver protagonismo al ranking/hero. */
@media (min-width:901px){
  .site-header{
    width:min(1240px,calc(100% - 48px));
    min-height:56px;
    margin:10px auto 8px;
    padding:.38rem .8rem;
    border:1px solid rgba(23,18,15,.22);
    border-radius:12px;
    background:rgba(255,253,247,.96);
    box-shadow:0 3px 12px rgba(23,18,15,.07);
  }
  .brand{gap:.55rem}
  .brand-mark{
    width:2.55rem;
    height:2.2rem;
    border-width:2px;
    font-size:1.35rem;
  }
  .brand-mark:before{top:-.44rem;width:.84rem;height:.5rem}
  .brand-copy strong{font-size:clamp(1.05rem,1.35vw,1.45rem)}
  .brand-copy small{font-size:clamp(.5rem,.58vw,.62rem)}
  .header-menu{gap:clamp(.7rem,1.4vw,1.25rem)}
  .nav{gap:clamp(.8rem,1.3vw,1.35rem)}
  .nav a{font-size:clamp(.66rem,.72vw,.78rem)}
  .dev-button{
    padding:.38rem .7rem;
    font-size:.65rem;
    border-width:1px;
  }
  .hero{border-top:1px solid var(--line)}
}

/* V8: hero contenido + marca legible + iconos ilustrados. */
@media (min-width:901px){
  .site-header{
    width:min(1480px,92vw);
    min-height:62px;
    margin:12px auto 10px;
    padding:.45rem 1rem;
  }
  .brand{min-width:305px;flex:0 0 auto}
  .brand-copy strong{font-size:clamp(1.25rem,1.55vw,1.72rem);letter-spacing:.01em}
  .brand-copy small{font-size:clamp(.54rem,.63vw,.68rem)}
  .brand-mark{width:2.75rem;height:2.35rem;font-size:1.45rem}

  .hero{
    width:min(1520px,95vw);
    margin:0 auto;
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;
    background:#f7edd7;
  }
  .hero-art{width:100%;height:auto;object-fit:contain}
  .competition-bar{margin:10px auto 0;width:min(1400px,88vw)}
  .ranking-section{padding-left:max(3.7vw,calc((100vw - 1520px)/2));padding-right:max(3.7vw,calc((100vw - 1520px)/2))}
  .bottom-grid{padding-left:max(3.7vw,calc((100vw - 1520px)/2));padding-right:max(3.7vw,calc((100vw - 1520px)/2))}

  .step-icon{width:4.15rem;height:4.15rem;margin:.03rem auto .12rem}
  .step-icon svg{filter:drop-shadow(0 2px 0 rgba(23,18,15,.08))}
  .steps-grid li:not(:last-child):after{top:1.95rem}
}

/* V9: lockup de marca más legible; TOP conserva espacio y presencia. */
@media (min-width:901px){
  .brand{min-width:390px;gap:.7rem}
  .brand-copy{min-width:0;line-height:1}
  .brand-copy strong{
    display:flex;
    align-items:baseline;
    gap:.28em;
    font-family:"Arial Black", Impact, sans-serif;
    font-size:clamp(1.28rem,1.62vw,1.82rem);
    line-height:.95;
    letter-spacing:-.025em;
    transform:none;
  }
  .brand-copy em{
    display:inline-block;
    flex:0 0 auto;
    letter-spacing:0;
    margin-left:.02em;
  }
  .brand-copy small{
    margin-top:.12rem;
    letter-spacing:.015em;
    font-size:clamp(.56rem,.64vw,.7rem);
  }
}

/* V10 — legibilidad tipográfica + footer ilustrado */
:root{
  --display-font: "Arial Black", Arial, Helvetica, sans-serif;
  --ui-font: Arial, Helvetica, sans-serif;
}

/* Impact es muy condensada y en tamaños chicos se percibe borrosa. */
.nav a,
.dev-button,
.live-label,
.rank-info h3,
.amount,
.position,
.steps h2,
.entry-head h2,
.steps-grid strong{
  font-family:var(--display-font) !important;
  font-stretch:normal;
  text-rendering:geometricPrecision;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  transform:none;
  text-shadow:none;
}

.nav a{
  font-size:clamp(.74rem,.84vw,.92rem);
  letter-spacing:.01em;
  line-height:1.1;
}

.rank-info h3{
  font-size:clamp(.84rem,.92vw,1rem);
  letter-spacing:-.01em;
  line-height:1.08;
}
.rank-card:not(.top-one) .rank-info h3{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.top-one .rank-info h3{
  font-size:clamp(1.85rem,2.45vw,2.85rem);
  letter-spacing:-.025em;
}

/* Iconos de “Cómo se juega”: más tipo ilustración/cartel. */
.step-icon{
  width:4.55rem;
  height:4.55rem;
  filter:drop-shadow(0 2px 0 rgba(23,18,15,.08));
}
.step-icon svg{
  overflow:visible;
  stroke-width:2.6;
}
.steps-grid li:nth-child(1) .step-icon,
.steps-grid li:nth-child(2) .step-icon,
.steps-grid li:nth-child(3) .step-icon,
.steps-grid li:nth-child(4) .step-icon,
.steps-grid li:nth-child(5) .step-icon{
  transform:rotate(-1deg);
}
.steps-grid li:nth-child(even) .step-icon{transform:rotate(1deg)}

/* Footer tipo póster, igual al lenguaje visual de la referencia. */
.poster-footer{
  width:min(1520px,95vw);
  margin:.25rem auto 1rem;
  min-height:72px;
  display:grid;
  grid-template-columns:1fr 1fr 1.1fr 1.15fr 1.2fr;
  align-items:center;
  border-top:1px solid rgba(23,18,15,.28);
  border-bottom:1px solid rgba(23,18,15,.18);
  background:rgba(255,253,247,.72);
}
.footer-item{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  padding:.35rem .7rem;
  border-right:1px dashed rgba(23,18,15,.28);
  text-align:left;
}
.footer-item:last-child{border-right:0}
.footer-item strong{
  font-family:var(--display-font);
  font-size:clamp(.62rem,.72vw,.78rem);
  line-height:1.18;
  letter-spacing:.005em;
}
.footer-icon{
  width:58px;
  height:46px;
  display:grid;
  place-items:center;
  color:var(--ink);
  flex:0 0 auto;
}
.footer-sketch svg{
  width:100%;
  height:100%;
  display:block;
  overflow:visible;
}
.money-icon{transform:rotate(-4deg)}
.footer-plate{padding:.25rem .7rem}
.plate-mini{
  display:grid;
  place-items:center;
  min-width:134px;
  padding:.3rem .65rem .28rem;
  border:2px solid var(--ink);
  border-radius:6px;
  background:#fffdf7;
  box-shadow:inset 0 0 0 2px rgba(23,18,15,.08);
  transform:rotate(-1deg);
}
.plate-mini b{
  font-family:var(--display-font);
  font-size:1.32rem;
  line-height:1;
  letter-spacing:.04em;
}
.plate-mini small{
  font-family:var(--display-font);
  font-size:.42rem;
  line-height:1.05;
  letter-spacing:.05em;
}

@media (max-width:900px){
  .poster-footer{
    width:92vw;
    grid-template-columns:1fr 1fr;
    margin:.5rem auto 1rem;
  }
  .footer-item{border-bottom:1px dashed rgba(23,18,15,.22)}
  .footer-item:nth-child(even){border-right:0}
  .footer-plate{grid-column:1/3}
  .footer-item:last-child{grid-column:1/3}
  .step-icon{width:4rem;height:4rem}
}
@media (min-width:901px){
  .poster-shell{height:auto;min-height:0;overflow:visible;display:block}
  .hero{min-height:0}
  .competition-bar{height:68px}
  .ranking-section{height:390px}
  .bottom-grid{min-height:310px;padding-bottom:.35rem}
}

/* V12: footer ilustrado integrado al lenguaje visual del póster */
.poster-footer-art {
  display: block;
  padding: 0;
  margin-top: 10px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.poster-footer-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .poster-footer-art {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .poster-footer-art img {
    width: auto;
    min-width: 980px;
    max-width: none;
  }
}


/* V13 — iconografía ilustrada aprobada + respiración del monto #1 */
.steps .step-icon{
  width:4.8rem;
  height:4.45rem;
  margin:.02rem auto .12rem;
  filter:none;
  transform:none !important;
}
.steps .step-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  image-rendering:auto;
}

.rank-card.top-one{
  grid-template-columns:4.2rem 5.1rem minmax(0,1fr) minmax(12.5rem,.68fr);
  column-gap:.85rem;
}
.top-one .amount-box{
  min-width:12.5rem;
  padding-right:.1rem;
}
.top-one .amount{
  font-size:clamp(2.25rem,3.15vw,3.45rem);
  line-height:.92;
  white-space:nowrap;
  letter-spacing:-.035em;
}
.top-one .needed{
  max-width:12.5rem;
  margin-left:auto;
  line-height:1.15;
}
.top-one .rank-actions{
  margin-top:.35rem;
}

@media (max-width:1180px) and (min-width:901px){
  .rank-card.top-one{
    grid-template-columns:3.8rem 4.5rem minmax(0,1fr) minmax(10.5rem,.64fr);
  }
  .top-one .amount-box{min-width:10.5rem}
  .top-one .amount{font-size:clamp(2rem,3vw,3rem)}
}

@media (max-width:900px){
  .steps .step-icon{
    width:4.2rem;
    height:3.9rem;
    margin:0;
  }
  .top-one .amount-box{
    min-width:0;
    padding-right:0;
  }
  .top-one .amount{
    font-size:2.15rem;
  }
}

/* V14 — separación limpia entre número e ilustración */
.steps-grid b{
  position:relative;
  z-index:2;
  margin-bottom:.28rem;
}
.steps .step-icon{
  margin-top:.08rem;
  overflow:visible;
}
.steps .step-icon img{
  object-position:center center;
}

/* V15 — iconos grandes y completos, como la referencia aprobada */
.steps{
  overflow:visible;
}
.steps-grid{
  align-items:start;
}
.steps .step-icon{
  width:6.35rem;
  height:5.7rem;
  margin:.16rem auto .28rem;
  overflow:visible;
}
.steps .step-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  overflow:visible;
}
.steps-grid > div{
  overflow:visible;
}
.steps-grid b{
  margin-bottom:.38rem;
}
@media (min-width:1200px){
  .steps .step-icon{
    width:7.05rem;
    height:6.25rem;
  }
}
@media (max-width:900px){
  .steps .step-icon{
    width:5.2rem;
    height:4.7rem;
  }
}
