.transfer-suggestions { position:absolute; z-index:20; top:100%; left:0; right:0; background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden; box-shadow:0 14px 40px rgba(0,0,0,.35); }
.plus-transfer-form { position:relative; }
.transfer-suggestions:empty { display:none; }
.transfer-suggestions button { width:100%; display:flex; align-items:center; gap:10px; padding:10px 12px; border:0; border-bottom:1px solid var(--border); background:transparent; color:var(--text); text-align:left; cursor:pointer; }
.suggestion-avatar,.leaderboard-avatar { width:34px; height:34px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--surface2); overflow:hidden; flex:none; }
.suggestion-avatar img,.leaderboard-avatar img { width:100%; height:100%; object-fit:cover; }
.leaderboard-table { min-width:760px; border:1px solid var(--border); border-radius:18px; overflow:hidden; }
#leaderboardRoot { overflow-x:auto; }
.leaderboard-row { display:grid; grid-template-columns:44px minmax(180px,1.5fr) repeat(4,minmax(110px,1fr)); align-items:center; gap:12px; padding:13px 16px; border-bottom:1px solid var(--border); }
.leaderboard-head { background:var(--surface2); color:var(--muted); font-size:12px; font-weight:700; }
.leaderboard-user { display:flex; align-items:center; gap:10px; font-weight:600; }
.asteroid-toolbar .btn-secondary { flex:none; }
.asteroid-shell:fullscreen { width:100vw; height:100vh; border-radius:0; display:flex; flex-direction:column; background:#050914; }
.asteroid-shell:fullscreen .asteroid-stage-wrap { flex:1; aspect-ratio:auto; }
.tetris-shell { max-width:420px; margin:auto; background:var(--surface); border:1px solid var(--border); border-radius:22px; overflow:hidden; }
.tetris-toolbar { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; background:var(--surface2); }
.tetris-toolbar>div { display:flex; flex-direction:column; gap:3px; }
.tetris-toolbar span { color:var(--muted); font-size:12px; }
.tetris-area { position:relative; width:100%; max-width:300px; margin:auto; background:#050914; }
#tetrisCanvas { width:100%; display:block; }
.tetris-overlay { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; background:rgba(2,5,12,.78); padding:20px; }
.tetris-overlay.hidden { display:none; }
.tetris-controls { display:none; grid-template-columns:repeat(4,1fr); gap:8px; padding:12px; background:var(--surface2); }
.tetris-controls button { min-height:54px; border:1px solid var(--border); border-radius:14px; background:var(--surface); color:var(--text); font-size:22px; touch-action:none; }
.asteroid-joystick { width:104px; height:104px; border-radius:50%; border:2px solid var(--border); background:rgba(255,255,255,.06); position:relative; touch-action:none; }
.asteroid-joystick-knob { position:absolute; width:44px; height:44px; border-radius:50%; background:var(--accent); left:28px; top:28px; }
@media (max-width:768px) {
  .sidebar { height:84px; padding:6px 12px; overflow-x:auto; justify-content:flex-start; }
  .sidebar nav { width:max-content; min-width:100%; gap:10px; justify-content:flex-start; }
  .nav-btn { flex:0 0 78px; min-width:78px; padding:8px 6px; gap:6px; }
  .nav-btn span { white-space:nowrap; line-height:1.15; }
  .tetris-controls { display:grid; }
}
@media (max-width:768px) {
  .asteroid-mobile-controls { grid-template-columns:104px 78px; align-items:center; justify-content:space-between; padding:14px 22px; }
  .asteroid-mobile-controls .shoot { width:78px; height:78px; border-radius:50%; }
}

.game-status { display:inline-flex; align-items:center; width:max-content; margin-top:8px; padding:5px 10px; border-radius:999px; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.game-status-fixing { color:#ffcf66; background:rgba(255,174,0,.12); border:1px solid rgba(255,174,0,.35); }
.game-play-disabled { opacity:.55; cursor:not-allowed; filter:saturate(.3); }
.language-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.language-option { display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:18px; color:var(--text); background:var(--surface2); border:1px solid var(--border); border-radius:16px; cursor:pointer; text-align:left; }
.language-option span { color:var(--muted); font-size:13px; }
.language-option.active { border-color:var(--accent); box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent); }
.settings-description { color:var(--muted); margin-top:6px; }
@media (max-width:600px) { .language-options { grid-template-columns:1fr; } }
