/* Ortak temel. Koyu renk değişkenleri oyun masası içindir; site tarafı site.css içindeki .site kapsamını kullanır. */
:root {
  --bg: #17181c; --bg2: #24262c; --panel: #2a2c33; --line: #3d4049; --text: #f2f0ea; --muted: #a6a8b0;
  --gold: #e9b54a; --gold-d: #b9831f; --ok: #5fdc8f; --wood: #5a2c12; --danger: #e2685e;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body { background: #f6f1e7; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body.playing { overflow: hidden; overscroll-behavior: none; position: fixed; inset: 0; background: #000; user-select: none; -webkit-user-select: none; }
body.playing #lobby { display: none; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 0; }
button:active { transform: scale(.98); }
.spin { width: 18px; height: 18px; border: 3px solid #0002; border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Avatar: boyutu bulunduğu yerin yazı boyutuna göre ölçeklenir (site ve masa ortak) */
.av { width: 1.7em; height: 1.7em; border-radius: 50%; display: inline-grid; place-items: center; flex: none; box-shadow: inset 0 0 0 .08em #0004; line-height: 1; }
.av > span { font-size: 1em; }
.vipname1 { color: #8a96a8; } .vipname2 { color: #b8862a; } .vipname3 { color: #2a8fc0; }
body.playing .vipname1 { color: #e3e8f0; } body.playing .vipname2 { color: #ffd67a; } body.playing .vipname3 { color: #a8e6ff; }
