.bqa-wrap{--bg:#060b14;--panel:#0b1423;--panel2:#111d31;--line:#24344d;--accent:#ff7118;--gold:#ffd25d;--cyan:#52dcff;--text:#f7faff;--muted:#9cabbd;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);width:100%;max-width:1500px;margin:0 auto;box-sizing:border-box}.bqa-wrap *{box-sizing:border-box}.bqa-shell{position:relative;background:linear-gradient(180deg,#0b1424,#060b13);border:1px solid rgba(94,151,205,.22);border-radius:26px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04)}.bqa-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(82,220,255,.04),transparent 30%,transparent 70%,rgba(255,113,24,.05));z-index:5}.bqa-topbar{position:relative;z-index:6;min-height:82px;padding:13px 17px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;background:linear-gradient(180deg,rgba(18,31,52,.98),rgba(8,17,31,.98));border-bottom:1px solid rgba(118,172,224,.2)}.bqa-brand{display:flex;align-items:center;gap:12px;min-width:0}.bqa-brand strong,.bqa-brand small{display:block}.bqa-brand strong{font-size:18px;letter-spacing:-.02em}.bqa-brand small{font-size:11px;color:var(--muted);margin-top:2px;letter-spacing:.08em;text-transform:uppercase}.bqa-ball{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:radial-gradient(circle at 35% 28%,#ffb250,#ff6d16 65%,#9b330c);font-size:25px;box-shadow:0 8px 25px rgba(255,113,24,.28),inset 0 1px 0 rgba(255,255,255,.25)}.bqa-stats{display:flex;gap:8px}.bqa-stats>div{min-width:82px;padding:7px 13px;text-align:center;background:linear-gradient(180deg,#0c1728,#07101d);border:1px solid rgba(102,154,203,.22);border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.bqa-stats span,.bqa-best span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.14em;font-weight:800}.bqa-stats strong{font-size:22px;line-height:1.12}.bqa-stats .bqa-combo strong{color:var(--gold)}.bqa-icon-btn{justify-self:end;width:46px;height:46px;border-radius:14px;border:1px solid rgba(114,167,219,.28);background:linear-gradient(180deg,#15243a,#0c1727);color:white;font-size:20px;font-weight:900;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.2)}.bqa-stage-wrap{position:relative;background:#050a11;overflow:hidden;touch-action:none}.bqa-canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#08111e;touch-action:none;cursor:none;user-select:none;-webkit-user-select:none}.bqa-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:18px;background:rgba(3,8,16,.62);backdrop-filter:blur(7px);transition:.22s;z-index:4}.bqa-overlay.is-hidden{opacity:0;pointer-events:none}.bqa-card{width:min(580px,92%);padding:31px;border-radius:24px;text-align:center;background:linear-gradient(180deg,rgba(18,31,51,.97),rgba(6,12,22,.97));border:1px solid rgba(110,168,220,.28);box-shadow:0 28px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05)}.bqa-kicker{font-size:10px;letter-spacing:.19em;font-weight:1000;color:var(--gold)}.bqa-card h2{font-size:clamp(30px,5vw,50px);margin:9px 0 11px;line-height:.98;letter-spacing:-.04em}.bqa-card p{color:#c0ccdb;line-height:1.58;margin:0 auto 21px;max-width:500px}.bqa-primary{border:0;border-radius:15px;padding:14px 24px;background:linear-gradient(135deg,#ff6811,#ff9d30);color:#fff;font-weight:1000;font-size:16px;cursor:pointer;box-shadow:0 12px 34px rgba(255,104,17,.3),inset 0 1px 0 rgba(255,255,255,.25)}.bqa-toast{position:absolute;left:50%;top:16%;transform:translate(-50%,-8px);opacity:0;pointer-events:none;background:rgba(5,12,24,.9);border:1px solid rgba(113,175,232,.28);border-radius:999px;padding:9px 16px;font-weight:1000;letter-spacing:.03em;transition:.18s;z-index:3;box-shadow:0 12px 35px rgba(0,0,0,.26)}.bqa-toast.show{opacity:1;transform:translate(-50%,0)}.bqa-controls{position:relative;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;background:linear-gradient(180deg,#0c1627,#07101c);border-top:1px solid rgba(110,168,220,.19)}.bqa-move-controls,.bqa-action-controls{display:flex;gap:9px}.bqa-controls button{user-select:none;-webkit-user-select:none;touch-action:none;border:1px solid rgba(105,159,210,.27);color:#fff;background:linear-gradient(180deg,#18283f,#101c2e);border-radius:15px;min-height:54px;padding:0 21px;font-weight:1000;font-size:14px;cursor:pointer;box-shadow:0 9px 22px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04)}.bqa-move-controls button{width:70px;font-size:26px}.bqa-action-controls button{min-width:145px}.bqa-action-controls span{font-size:17px;margin-right:5px}.bqa-shoot{background:linear-gradient(180deg,#1676b8,#0b4d7e)!important;border-color:rgba(96,213,255,.4)!important}.bqa-dunk{background:linear-gradient(180deg,#f17b18,#ae4308)!important;border-color:rgba(255,179,83,.4)!important}.bqa-controls button:active{transform:translateY(1px) scale(.99)}.bqa-footer-grid{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 18px 17px;background:#060d18}.bqa-howto{display:flex;gap:13px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px}.bqa-howto strong{color:#fff}.bqa-best{text-align:right}.bqa-best strong{font-size:21px}.bqa-leaderboard{margin-top:18px;padding:20px;background:linear-gradient(180deg,#0d1829,#07101c);border:1px solid rgba(103,159,211,.22);border-radius:22px;box-shadow:0 18px 55px rgba(0,0,0,.16)}.bqa-lb-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:14px}.bqa-lb-head h3{margin:3px 0 0;font-size:25px}.bqa-lb-head button{border:1px solid rgba(113,169,219,.28);background:#13233a;color:#fff;border-radius:11px;padding:9px 12px;font-weight:900;cursor:pointer}.bqa-lb-list{display:grid;gap:8px}.bqa-row{display:grid;grid-template-columns:50px 1fr auto auto;gap:12px;align-items:center;padding:12px 14px;border-radius:13px;background:#081220;border:1px solid rgba(92,147,198,.19)}.bqa-row.is-me{border-color:#ff8b2a;box-shadow:inset 0 0 0 1px rgba(255,139,42,.18)}.bqa-rank{font-weight:1000;color:var(--gold)}.bqa-name{font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bqa-level{font-size:11px;color:var(--muted);font-weight:800}.bqa-points{font-weight:1000;font-variant-numeric:tabular-nums}.bqa-login-note,.bqa-loading{color:var(--muted);font-size:13px;padding:12px 2px 0}.bqa-login-note{margin-top:10px;border-top:1px solid rgba(100,155,205,.18)}.bqa-wrap.bqa-playing{overscroll-behavior:contain}
@media(max-width:760px){.bqa-wrap{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.bqa-shell{border-radius:0;border-left:0;border-right:0}.bqa-topbar{grid-template-columns:1fr auto;min-height:65px;padding:7px 9px}.bqa-brand small{display:none}.bqa-brand strong{font-size:14px}.bqa-ball{width:38px;height:38px;border-radius:12px;font-size:20px}.bqa-stats{grid-row:2;grid-column:1/-1;width:100%;justify-content:center}.bqa-stats>div{flex:1;min-width:0;padding:5px 6px}.bqa-stats strong{font-size:17px}.bqa-icon-btn{width:38px;height:38px}.bqa-controls{padding:9px;gap:8px}.bqa-move-controls,.bqa-action-controls{flex:1;gap:6px}.bqa-controls button{min-height:49px;padding:0 9px;border-radius:13px}.bqa-move-controls button{width:50%;font-size:23px}.bqa-action-controls button{min-width:0;flex:1;font-size:12px}.bqa-footer-grid{padding:9px 11px}.bqa-howto{display:none}.bqa-best{margin-left:auto}.bqa-leaderboard{border-radius:0;border-left:0;border-right:0;margin-top:12px;padding:14px 10px}.bqa-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:10px}.bqa-level{display:none}.bqa-card{padding:22px 17px}.bqa-card p{font-size:13px}.bqa-canvas{cursor:default}}
@media(max-width:430px){.bqa-action-controls span{display:none}.bqa-row{font-size:13px}.bqa-stats>div{padding-inline:4px}.bqa-stats span{font-size:8px}}

/* v4 final-product polish */
.bqa-brand-logo{width:62px;height:48px;object-fit:contain;display:block;filter:drop-shadow(0 5px 14px rgba(0,0,0,.35))}
.bqa-action-controls{margin-left:auto}.bqa-action-main{min-width:220px!important;background:linear-gradient(135deg,#0878bd,#ef6f17)!important;border-color:rgba(255,184,89,.5)!important;box-shadow:0 10px 28px rgba(17,116,178,.18),0 8px 25px rgba(238,103,21,.13),inset 0 1px 0 rgba(255,255,255,.16)!important}
.bqa-topbar:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,transparent,#54dcff 24%,#ff8b27 76%,transparent);opacity:.5}
.bqa-stage-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 70px rgba(0,0,0,.38);z-index:2}
.bqa-primary{transition:transform .15s ease,filter .15s ease}.bqa-primary:hover{transform:translateY(-1px);filter:brightness(1.08)}
@media(max-width:760px){.bqa-brand-logo{width:48px;height:38px}.bqa-action-controls{flex:1.1}.bqa-action-main{width:100%;min-width:0!important}.bqa-controls{justify-content:stretch}.bqa-move-controls{flex:.9}}


/* v4.1 στοχευμένη τελική βελτίωση */
.bqa-shell{max-width:min(1500px,calc((100svh - 190px)*1.7777778));margin-inline:auto}
.bqa-stage-brand{position:absolute;right:18px;top:18px;z-index:3;display:flex;align-items:center;gap:9px;padding:7px 11px 7px 8px;border-radius:14px;background:rgba(4,11,21,.82);border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 28px rgba(0,0,0,.28);backdrop-filter:blur(8px);pointer-events:none}
.bqa-stage-brand img{display:block;width:72px;height:42px;object-fit:contain}.bqa-stage-brand span{font-weight:1000;font-size:13px;letter-spacing:.04em;color:#fff}
.bqa-topbar{min-height:70px;padding-block:8px}.bqa-controls{padding-block:9px}.bqa-footer-grid{padding-block:8px 10px}.bqa-canvas{aspect-ratio:16/9}
@media(max-height:820px) and (min-width:761px){.bqa-topbar{min-height:62px;padding:6px 12px}.bqa-ball{width:40px;height:40px}.bqa-brand-logo{width:54px;height:40px}.bqa-stats>div{padding:5px 10px}.bqa-stats strong{font-size:18px}.bqa-controls button{min-height:46px}.bqa-footer-grid{padding:6px 14px}.bqa-howto{font-size:11px}.bqa-shell{max-width:min(1500px,calc((100svh - 158px)*1.7777778))}}
@media(max-width:760px){.bqa-wrap{width:100%;margin:0}.bqa-shell{width:100%;max-width:none;height:auto;display:block}.bqa-topbar{grid-template-columns:minmax(0,1fr) auto;min-height:54px;padding:5px 8px}.bqa-brand-logo{width:42px;height:32px}.bqa-brand strong{font-size:12px}.bqa-stats{gap:4px}.bqa-stats>div{padding:3px 4px;border-radius:9px}.bqa-stats span{font-size:7px}.bqa-stats strong{font-size:15px}.bqa-icon-btn{width:34px;height:34px;border-radius:10px;font-size:16px}.bqa-stage-brand{right:7px;top:7px;padding:4px 7px;gap:5px;border-radius:9px}.bqa-stage-brand img{width:48px;height:28px}.bqa-stage-brand span{font-size:9px}.bqa-controls{padding:6px 7px}.bqa-controls button{min-height:42px}.bqa-footer-grid{padding:5px 8px}.bqa-best span{font-size:8px}.bqa-best strong{font-size:16px}.bqa-canvas{width:100%;height:auto;aspect-ratio:16/9}.bqa-card{max-height:92%;overflow:auto;padding:14px 13px}.bqa-card h2{font-size:26px;margin:5px 0 7px}.bqa-card p{font-size:11px;line-height:1.38;margin-bottom:12px}.bqa-primary{padding:10px 18px;font-size:14px}.bqa-toast{top:12%;font-size:11px;padding:6px 10px;max-width:88%;text-align:center}.bqa-leaderboard{margin-top:8px}}
@media(max-width:430px){.bqa-stage-brand span{display:none}.bqa-action-main{font-size:11px!important}.bqa-controls button{min-height:40px}.bqa-move-controls button{font-size:20px}.bqa-footer-grid{min-height:30px}}

/* v4.2 — Κάρφωσε! / πραγματικό viewport-fit */
.bqa-wrap{--bqa-fit-width:1500px;overflow:visible}
.bqa-shell{width:min(100%,var(--bqa-fit-width));max-width:none!important;margin-inline:auto;transition:width .12s ease-out}
.bqa-brand strong{font-size:20px;letter-spacing:-.035em}
.bqa-brand small{text-transform:none;letter-spacing:.04em}
.bqa-stage-wrap{width:100%}
.bqa-canvas{width:100%;height:auto!important;max-height:none;object-fit:contain}
.bqa-controls,.bqa-topbar,.bqa-footer-grid{flex-shrink:0}

/* Compact mode ενεργοποιείται αυτόματα από JS όταν το διαθέσιμο ύψος είναι μικρό. */
.bqa-shell.bqa-compact .bqa-topbar{min-height:54px;padding:5px 9px}
.bqa-shell.bqa-compact .bqa-brand-logo{width:46px;height:34px}
.bqa-shell.bqa-compact .bqa-brand strong{font-size:15px}
.bqa-shell.bqa-compact .bqa-brand small{font-size:8px}
.bqa-shell.bqa-compact .bqa-stats>div{min-width:66px;padding:4px 8px;border-radius:10px}
.bqa-shell.bqa-compact .bqa-stats span{font-size:7px}
.bqa-shell.bqa-compact .bqa-stats strong{font-size:16px}
.bqa-shell.bqa-compact .bqa-icon-btn{width:35px;height:35px;border-radius:10px;font-size:16px}
.bqa-shell.bqa-compact .bqa-controls{padding:5px 8px}
.bqa-shell.bqa-compact .bqa-controls button{min-height:40px;border-radius:11px;padding-inline:12px}
.bqa-shell.bqa-compact .bqa-move-controls button{width:58px;font-size:21px}
.bqa-shell.bqa-compact .bqa-action-main{min-width:170px!important;font-size:12px}
.bqa-shell.bqa-compact .bqa-footer-grid{padding:4px 9px 5px}
.bqa-shell.bqa-compact .bqa-howto{font-size:9px;gap:7px}
.bqa-shell.bqa-compact .bqa-best span{font-size:7px}
.bqa-shell.bqa-compact .bqa-best strong{font-size:15px}
.bqa-shell.bqa-compact .bqa-stage-brand{top:8px;right:8px;padding:4px 7px}
.bqa-shell.bqa-compact .bqa-stage-brand img{width:50px;height:29px}
.bqa-shell.bqa-compact .bqa-stage-brand span{font-size:9px}

@media(max-width:760px){
  .bqa-wrap{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .bqa-shell{width:min(100%,var(--bqa-fit-width))!important;border-radius:16px;border-left:1px solid rgba(94,151,205,.22);border-right:1px solid rgba(94,151,205,.22)}
  .bqa-topbar{grid-template-columns:minmax(0,1fr) auto;gap:5px}
  .bqa-brand{gap:6px}.bqa-brand strong{font-size:14px}.bqa-brand small{display:block;font-size:7px;white-space:nowrap}
  .bqa-stats{grid-row:2;grid-column:1/-1;gap:3px}
  .bqa-controls{display:grid;grid-template-columns:.78fr 1.22fr;gap:5px}
  .bqa-move-controls,.bqa-action-controls{width:100%;margin:0}
  .bqa-move-controls button,.bqa-action-main{width:100%!important;min-width:0!important}
  .bqa-footer-grid{min-height:27px}
}

@media(max-width:520px){
  .bqa-shell{border-radius:12px}
  .bqa-brand-logo{width:38px;height:29px}
  .bqa-brand strong{font-size:13px}
  .bqa-stats strong{font-size:14px}
  .bqa-controls button{min-height:38px}
  .bqa-action-main{font-size:10px!important;letter-spacing:-.01em}
  .bqa-footer-grid{padding:4px 7px}
}
