
/* BSC Poker X v15.3.3 — English Keno Bot / fixed 2.5s cadence / premium responsive */
.keno-live-page{
  --k-cyan:#6cecff;
  --k-green:#61f5bb;
  --k-gold:#ffd44f;
  --k-panel:rgba(4,25,38,.80);
}
.keno-arena-hero{
  border-color:color-mix(in srgb,var(--keno-accent) 58%,#2a6178);
  box-shadow:0 26px 80px rgba(0,0,0,.34),0 0 55px rgba(86,231,255,.06);
}
.keno-arena-hero h2{
  max-width:820px;
  text-shadow:0 10px 34px rgba(0,0,0,.36);
}
.keno-stage{
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.keno-stage-head{
  background:linear-gradient(90deg,rgba(8,48,67,.86),rgba(3,27,39,.62));
}
.keno-live-toolbar{
  grid-template-columns:minmax(190px,1fr) minmax(210px,.95fr) auto;
  align-items:stretch;
}
.keno-fixed-cadence{
  min-height:46px;
  display:flex;flex-direction:column;justify-content:center;
  padding:9px 13px;border-radius:12px;
  background:linear-gradient(135deg,rgba(6,37,53,.92),rgba(10,57,72,.72));
  border:1px solid #2d6578;
}
.keno-fixed-cadence span{
  color:#9ab8c6;font-size:10px;font-weight:900;letter-spacing:.12em;
}
.keno-fixed-cadence strong{font-size:15px;color:#ecfbff;margin-top:1px}
.keno-fixed-cadence small{font-size:10px;color:#75dceb;margin-top:1px}
.keno-bot-host{
  width:min(100%,330px);
  display:grid;grid-template-columns:62px minmax(0,1fr);gap:11px;align-items:center;
  padding:10px 12px;border-radius:18px;
  background:linear-gradient(135deg,rgba(8,47,66,.90),rgba(3,25,38,.94));
  border:1px solid rgba(108,236,255,.28);
  box-shadow:0 13px 34px rgba(0,0,0,.22),inset 0 0 28px rgba(87,230,255,.025);
}
.keno-bot-avatar{
  width:62px;height:62px;border-radius:50%;object-fit:cover;
  border:2px solid var(--keno-accent);
  box-shadow:0 0 0 4px rgba(255,255,255,.035),0 0 26px var(--keno-glow);
}
.keno-bot-name{
  display:block;color:var(--keno-accent);font-size:11px;font-weight:1000;letter-spacing:.14em;margin-bottom:3px;
}
.keno-bot-line{
  min-height:auto;max-width:none;font-size:13px;line-height:1.42;color:#d9eef7;
}
.keno-current-wrap{gap:9px}
.keno-rng-badge{
  max-width:320px;text-align:center;
  background:rgba(8,66,78,.16);
}
.keno-machine{
  filter:drop-shadow(0 22px 28px rgba(0,0,0,.30));
}
.keno-current-ball{
  font-variant-numeric:tabular-nums;
}
.keno-ball-cloud{
  perspective:900px;
}
.keno-drawn-ball{
  font-variant-numeric:tabular-nums;
  position:relative;overflow:hidden;
}
.keno-drawn-ball.revealed::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.18) 48%,transparent 72%);
  transform:translateX(-120%);
  animation:kenoShine .65s ease forwards;
}
@keyframes kenoShine{to{transform:translateX(120%)}}
.keno-scoreboard{
  background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.24));
}
.keno-score{
  min-width:0;
  box-shadow:inset 0 0 28px rgba(255,255,255,.015);
}
.keno-score strong{
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.keno-pick-board{
  container-type:inline-size;
}
.keno-pick-board .keno-num{
  font-size:15px;
  font-variant-numeric:tabular-nums;
}
.keno-help-card{
  box-shadow:0 26px 70px rgba(0,0,0,.24);
}
.keno-help-card .hd{
  background:linear-gradient(90deg,rgba(11,55,74,.86),rgba(4,28,41,.75));
}
.keno-answer{
  min-height:50px;
}
body.keno-drawing #voiceToggle{
  border-color:rgba(97,245,187,.40);
  box-shadow:0 0 20px rgba(97,245,187,.08);
}

/* Large desktop / ultrawide */
@media(min-width:1280px){
  .gamehub-shell{width:min(1440px,calc(100% - 34px))}
  .keno-live-cloud{grid-template-columns:minmax(240px,.46fr) minmax(0,1.54fr);padding:28px 32px}
  .keno-ball-cloud{gap:11px}
  .keno-drawn-ball{font-size:16px}
}

/* Normal laptop/tablet */
@media(max-width:1050px){
  .keno-live-toolbar{grid-template-columns:1fr 1fr}
  .keno-live-toolbar .voice-toggle{grid-column:1/-1}
  .keno-live-cloud{grid-template-columns:1fr}
  .keno-current-wrap{padding-bottom:4px}
  .keno-bot-host{width:min(100%,390px)}
  .keno-ball-cloud{grid-template-columns:repeat(10,minmax(34px,1fr))}
}

/* Tablet portrait */
@media(max-width:780px){
  .gamehub-shell{width:calc(100% - 14px);padding-top:10px}
  .gamehub-top{align-items:flex-start}
  .gamehub-brand img{width:50px;height:50px}
  .gamehub-brand h1{font-size:20px}
  .gamehub-nav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .gamehub-nav .gamehub-btn{width:100%;text-align:center}
  .gamehub-hero{padding:19px;border-radius:22px}
  .gamehub-hero h2{font-size:clamp(36px,9vw,58px)}
  .gamehub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .keno-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .keno-live-toolbar{grid-template-columns:1fr}
  .keno-live-toolbar .voice-toggle{grid-column:auto}
  .keno-ball-cloud{grid-template-columns:repeat(5,minmax(46px,1fr))}
  .keno-scoreboard{grid-template-columns:repeat(3,minmax(0,1fr))}
  .keno-help-grid{grid-template-columns:1fr 1fr}
}

/* Phones */
@media(max-width:560px){
  .gamehub-shell{width:calc(100% - 8px)}
  .gamehub-top{padding:4px 2px}
  .gamehub-brand{width:100%}
  .gamehub-brand small{display:block;max-width:260px}
  .gamehub-nav{gap:6px}
  .gamehub-nav .gamehub-btn{padding:10px 8px;font-size:13px}
  .gamehub-hero{grid-template-columns:1fr;padding:16px}
  .gamehub-hero h2{font-size:clamp(34px,11vw,50px)}
  .gamehub-hero p{font-size:14px;line-height:1.5}
  .gamehub-stats{gap:7px}
  .gamehub-stat{padding:11px}
  .gamehub-stat strong{font-size:19px}
  .gamehub-card{border-radius:18px}
  .gamehub-card .hd,.gamehub-card .bd{padding:14px}
  .keno-controls{grid-template-columns:1fr}
  .keno-pick-board{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
  .keno-pick-board .keno-num{min-height:44px;border-radius:10px;padding:0;font-size:12px}
  .keno-stage{border-radius:19px}
  .keno-stage-head{padding:12px}
  .keno-live-cloud{padding:14px 10px;gap:14px}
  .keno-machine{width:175px}
  .keno-machine .keno-current-ball{width:112px}
  .keno-bot-host{grid-template-columns:50px 1fr;padding:8px}
  .keno-bot-avatar{width:50px;height:50px}
  .keno-bot-name{font-size:10px}
  .keno-bot-line{font-size:12px}
  .keno-rng-badge{font-size:9px;padding:6px 8px}
  .keno-ball-cloud{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
  .keno-drawn-ball{min-width:0;font-size:12px}
  .keno-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
  .keno-score{padding:9px}
  .keno-score span{font-size:9px}
  .keno-score strong{font-size:18px}
  .keno-progress-track{margin:0 8px 10px}
  .keno-help-grid{grid-template-columns:1fr}
  .keno-ask{padding:12px}
  .keno-ask-row{grid-template-columns:1fr}
}

/* Very narrow devices */
@media(max-width:380px){
  .gamehub-nav{grid-template-columns:1fr}
  .keno-pick-board{grid-template-columns:repeat(5,minmax(0,1fr))}
  .keno-ball-cloud{grid-template-columns:repeat(4,minmax(0,1fr))}
  .keno-scoreboard{grid-template-columns:1fr 1fr}
  .keno-machine{width:158px}
}
