@font-face{font-family:Clarika;src:url('/portal/assets/landing/clarika-regular.otf') format('opentype');font-display:swap}
@font-face{font-family:Clarika;src:url('/portal/assets/landing/clarika-black.otf') format('opentype');font-weight:800 900;font-display:swap}
:root{color-scheme:dark;--ink:#101e35;--panel:#192d45;--sky:#8ddaff;--paper:#fff7df;--yellow:#ffcf53;--muted:#c0d2df;font:18px/1.35 Clarika,Arial,sans-serif;background:var(--ink);color:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-height:100svh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-weight:800;color:inherit;background:var(--panel);border:1px solid #526a80;border-radius:.45rem;padding:.6rem .9rem;min-height:44px;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}button:active{background:#36516a}button.primary,.pad{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}[hidden]{display:none!important}
header,main{max-width:1150px;margin:auto}header{padding:.85rem clamp(1rem,4vw,2.8rem);display:flex;align-items:center;justify-content:space-between;gap:.7rem;border-bottom:1px solid #34485c}header button{font-size:.85rem}.club{display:flex;align-items:center;gap:.55rem;font-weight:800;color:var(--paper);text-decoration:none}.club img{width:29px;height:35px;object-fit:contain}
main{padding:clamp(1rem,3vw,2.6rem)}#lobby,#result{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);align-items:center;gap:clamp(1.25rem,4vw,3rem)}h1,h2,p{margin:0}h1,h2,dd{line-height:.97;font-weight:900}h2{font-size:clamp(1.8rem,4vw,2.6rem)}
.poster{position:relative;isolation:isolate;overflow:hidden;border-radius:.6rem;min-height:420px;align-self:stretch;background:#244465}.art{width:100%;height:100%;object-fit:cover;object-position:62% center;position:absolute;z-index:-2}.poster:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(6,19,35,.89));z-index:-1}.poster h1{position:absolute;bottom:6%;left:5%;font-size:clamp(3.2rem,7vw,6rem);letter-spacing:-.045em;text-transform:uppercase}.poster em{color:var(--yellow);font-style:normal}
.intro{font-size:1.18rem;color:var(--paper);max-width:34ch;margin-bottom:1.8rem}.duration,.kicker,#feedback{color:var(--muted)}.duration{margin:.5rem 0 1rem}#rounds{display:grid;gap:.5rem}.round{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;width:100%;padding:.65rem .85rem}.round strong{font-size:1.08rem}.round span{font-size:1.3rem;color:var(--sky)}.round small{font-size:.77rem;color:var(--muted);font-weight:400}.round span{grid-row:1/3;grid-column:2}
#stage{max-width:650px;margin:auto}.stage-top,.scoreline,.terrace{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.stage-top{margin-bottom:.7rem}.stage-top h2{color:var(--yellow);font-size:clamp(1.8rem,5vw,3rem)}.kicker{font-size:.8rem;margin:0 0 .3rem}.performance{border-radius:.5rem;overflow:hidden;position:relative;background:#244465}.performance #stage-picture{height:clamp(110px,24svh,205px);background:url('arte/fierita-bombo.webp') 67% 36%/cover}.terrace{background:#213c57;padding:.45rem .7rem;font-weight:800;font-size:.85rem}.terrace i{display:inline-block;width:13px;height:13px;transform:skew(-12deg);border:1px solid #9db2bf;margin-left:5px}.terrace i.on{background:var(--yellow);border-color:var(--yellow)}.scoreline{color:var(--muted);margin:.7rem 0;font-size:.88rem}.scoreline b{color:var(--paper);font-size:1.2rem;font-variant-numeric:tabular-nums}
#steps{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;align-items:center;padding:.85rem .5rem;background:var(--panel);border-radius:.45rem}.step{border:2px solid transparent;border-bottom:2px solid #55728b;height:37px;display:grid;place-items:center;color:var(--sky);font-size:1rem}.step.note:before{content:"●"}.step:not(.note):before{content:"·"}.step.current{border-color:var(--paper);border-radius:.3rem;background:#244d68}.step.current.note{background:var(--sky);color:var(--ink)}.step.hit{border-bottom-color:var(--yellow)}.pad{display:flex;align-items:center;justify-content:center;width:100%;min-height:76px;font-size:1.3rem;gap:.6rem;margin-top:.65rem;user-select:none}.pad span{font-size:1.8rem}.pad:active,.pad.struck{background:#fff0ae}.pad.listening{background:#233a4e;color:var(--sky);border-color:#567186}#feedback{min-height:1.5em;text-align:center;margin-top:.45rem}
.result-art{width:100%;height:clamp(200px,43vw,500px);object-fit:cover;border-radius:.6rem}.result-copy>p{margin:.8rem 0}.result-copy dl{display:flex;gap:1.5rem;flex-wrap:wrap}.result-copy dt{color:var(--muted);font-size:.82rem}.result-copy dd{margin:.3rem 0;font-size:1.8rem}.actions{display:flex;flex-wrap:wrap;gap:.4rem}dialog{color:var(--paper);background:var(--ink);border:1px solid #637b8f;border-radius:.7rem;width:min(90vw,370px);padding:1.4rem}dialog::backdrop{background:#06111ed9}dialog h2{margin-bottom:1rem}dialog button{display:block;width:100%;margin:.5rem 0}
@media(max-width:720px){#lobby,#result{grid-template-columns:1fr;gap:1rem}.poster{min-height:0;aspect-ratio:1.75}.poster h1{font-size:clamp(2.4rem,9.6vw,3.7rem);left:4%;bottom:7%}.art{object-position:70% 30%}.intro{font-size:1.02rem;margin-bottom:.9rem}.duration{margin:.3rem 0 .65rem}.result-art{height:150px}.setlist h2{font-size:1.65rem}}
@media(max-height:620px) and (orientation:landscape){#stage{max-width:880px;display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1rem}.stage-top{grid-column:1/-1}.performance{grid-column:1;grid-row:2/5}.performance #stage-picture{height:115px}.scoreline,#steps,.pad{grid-column:2;margin:0}.pad{min-height:52px}#feedback{grid-column:1/-1}}
