.tetris-layout{display:flex;justify-content:center;align-items:stretch;gap:14px}
.tetris-layout #game{width:min(100%,320px);max-height:72vh;object-fit:contain;background:#0d1526;border:1px solid rgba(255,255,255,.06)}
.side{width:145px;flex-shrink:0;display:flex;flex-direction:column;gap:10px}
.tstat{background:#15223a;border:1px solid #293954;border-radius:10px;padding:7px 11px}
.tstat small{display:block;font-size:11px;color:#92a3c1}
.tstat b{font-size:19px}
.side p{font-size:12px;color:#9cacc8;margin:0}
.side #next{width:100%;height:auto;border-radius:8px;background:#0d1526}
.side .g-btn{padding:8px 10px;font-size:12px}
.touch-controls{display:none;justify-content:center;gap:10px;padding-top:12px}
.touch-controls button{border:1px solid #334766;color:#edf4ff;background:#192943;border-radius:12px;width:54px;height:46px;font-size:20px;touch-action:manipulation}
@media(max-width:620px){
  .tetris-layout{gap:8px}
  .tetris-layout #game{max-height:62vh;width:auto;max-width:70%;height:auto}
  .side{width:105px;gap:7px}
  .tstat{padding:5px 7px}
  .tstat b{font-size:16px}
  .side #next{width:100%}
  .side .g-btn{font-size:11px;padding:7px 5px}
  .touch-controls{display:flex}
}
