.tmg-tetris-wrapper{max-width:420px;margin:1rem auto;text-align:center;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
.tmg-hud{display:flex;gap:.75rem;align-items:center;justify-content:center;flex-wrap:wrap;margin-bottom:.5rem;}
.tmg-play-area{display:flex;justify-content:center;align-items:flex-start;gap:1rem;}
.tmg-next-wrapper{font-size:.85rem;color:#333;text-align:center;}
#tmg-tetris{background:#000;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.3);}
#tmg-next{background:#111;border-radius:4px;margin-top:.3rem;}
.tmg-help{font-size:.85rem;color:#666;margin-top:.5rem;}
.tmg-message{opacity:0;transition:opacity .25s ease;margin-top:.35rem;font-weight:600;}
.tmg-message.show{opacity:1;}
.tmg-leaderboard{margin:.8rem auto;border-collapse:collapse;width:100%;font-size:.9rem;}
.tmg-leaderboard th,.tmg-leaderboard td{border:1px solid #ccc;padding:.3rem;}
.tmg-leaderboard tr:nth-child(odd){background:#f9f9f9;}
