/*!
 * RadyoSever Games — Okey CSS
 * Mevcut tema degiskenlerini kullanir (--rs-primary, --rs-bg, --rs-surface, vb.)
 * Bu dosya SADECE /oyunlar/ ve /oyunlar/okey/ sayfalarinda yuklenir.
 */

/* KRITIK: display:flex/block tanimlanan elementlerde, tarayicinin varsayilan
   [hidden]{display:none} kurali bazi durumlarda ezilebiliyor. Bu genel kural,
   "hidden" ozelligi eklenen HER elementin (JS ile gizlense de) kesin olarak
   gorunmemesini garanti eder. */
[hidden] { display: none !important; }

.rsg-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════════ OYUNLAR ARŞİV SAYFASI ═══════════════════ */
.rsg-archive-hero { text-align: center; padding: 40px 0 24px; }
.rsg-archive-hero .rs-page-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.rsg-archive-sub { color: var(--rs-text-2); font-size: 16px; max-width: 640px; margin: 0 auto; }

.rsg-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px 0 60px;
}

.rsg-game-card {
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rsg-game-card--active:hover {
  transform: translateY(-4px);
  box-shadow: var(--rs-shadow-lg);
  border-color: var(--rs-primary);
}
.rsg-card-media {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rs-primary) 0%, var(--rs-accent-2) 100%);
}
.rsg-okey-preview { display: flex; gap: 8px; }
.rsg-preview-tile {
  width: 34px; height: 46px; border-radius: 6px; background: #fdfaf3;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; box-shadow: 0 4px 10px rgba(0,0,0,.35);
  transform: translateY(0); transition: transform .3s ease;
}
.rsg-game-card--active:hover .rsg-preview-tile:nth-child(1) { transform: translateY(-6px); }
.rsg-game-card--active:hover .rsg-preview-tile:nth-child(2) { transform: translateY(-10px); }
.rsg-game-card--active:hover .rsg-preview-tile:nth-child(3) { transform: translateY(-6px); }
.rsg-t-red { color: #c81d25; } .rsg-t-blue { color: #1554b0; } .rsg-t-black { color: #1a1a1a; }

.rsg-soon-icon { font-size: 40px; opacity: .6; }
.rsg-game-card--soon { opacity: .72; }
.rsg-game-card--soon .rsg-card-media { background: var(--rs-surface); }

.rsg-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rsg-card-tags { display: flex; gap: 6px; }
.rsg-tag {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--rs-surface-2); color: var(--rs-text-2); letter-spacing: .02em;
}
.rsg-tag-free { background: rgba(16,185,129,.15); color: var(--rs-green); }
.rsg-tag-soon { background: rgba(124,58,237,.15); color: var(--rs-primary); }
.rsg-card-title { font-size: 19px; font-weight: 700; margin: 0; }
.rsg-card-desc { color: var(--rs-text-2); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }
.rsg-card-meta { font-size: 13px; color: var(--rs-text-3); }
.rsg-play-btn { margin-top: 4px; text-align: center; }
.rsg-play-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ═══════════════════ OKEY OYUN SAYFASI — GENEL ═══════════════════ */
.rsg-okey-page { padding-bottom: 40px; }
.rsg-okey-app { position: relative; display: flex; flex-direction: column; gap: 14px; }

/* ── Araç çubuğu ── */
.rsg-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--rs-card-bg); border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius); padding: 10px 14px;
  position: sticky; top: 8px; z-index: 20; backdrop-filter: blur(10px);
}
.rsg-toolbar-title { font-weight: 700; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rsg-toolbar-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.rsg-tbtn {
  display: flex; align-items: center; gap: 6px; padding: 7px 11px;
  background: var(--rs-surface); border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-sm); color: var(--rs-text); font-size: 13px;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.rsg-tbtn:hover { background: var(--rs-surface-2); border-color: var(--rs-primary); }
.rsg-tbtn[aria-pressed="false"] { opacity: .55; }
.rsg-toolbar-mobile-toggle {
  display: none; width: 36px; height: 36px; border-radius: 8px;
  background: var(--rs-surface); border: 1px solid var(--rs-border);
  flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer;
}
.rsg-toolbar-mobile-toggle span { width: 16px; height: 2px; background: var(--rs-text); border-radius: 2px; }

/* ── Masa: ahşap çerçeve + mavi çuha ── */
.rsg-table-wrap {
  border-radius: 22px;
  padding: 12px;
  background:
    repeating-linear-gradient(98deg, #a9702f 0 5px, #8f5a24 5px 8px, #b07d3c 8px 14px),
    linear-gradient(160deg, #c08a48, #7a4d1f);
  box-shadow: 0 12px 34px rgba(0,0,0,.5), inset 0 0 0 3px rgba(0,0,0,.25);
}
.rsg-table {
  position: relative;
  border-radius: 16px;
  min-height: 420px;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255,255,255,.10), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 6px),
    radial-gradient(ellipse at 50% 50%, #1c7bb0 0%, #135f8e 50%, #0a3f63 100%);
  box-shadow: inset 0 0 70px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  grid-template-rows: 120px 1fr 40px;
  grid-template-areas:
    ".      north  ."
    "west   center east"
    ".      south  .";
  gap: 10px;
  padding: 18px;
}
[data-theme="light"] .rsg-table {
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(ellipse at 50% 50%, #2688bc 0%, #1a6a97 50%, #0f4a70 100%);
}

.rsg-bot {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.rsg-bot-north { grid-area: north; align-self: start; }
.rsg-bot-west  { grid-area: west; justify-self: start; align-self: center; position: relative; }
.rsg-bot-east  { grid-area: east; justify-self: end; align-self: center; position: relative; }

.rsg-bot-avatar {
  font-size: 26px; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #4b5170, #262a3d);
  border: 3px solid #dfb24e;
  box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.5);
}
.rsg-bot-name { font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
.rsg-bot-tiles { display: flex; gap: 2px; margin-top: 2px; }
.rsg-bot-tile-back {
  width: 13px; height: 19px; border-radius: 2px;
  background: linear-gradient(160deg, #fdf9ec, #e8dbb8);
  border: 1px solid rgba(0,0,0,.3);
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.rsg-bot-count { font-size: 10.5px; opacity: .9; }
.rsg-bot.rsg-active-turn .rsg-bot-avatar { box-shadow: 0 0 0 3px var(--rs-accent), 0 0 16px var(--rs-accent); }

/* Dekoratif çay bardağı — sadece yan oyuncularda, sıcak bir dokunuş */
.rsg-bot-west::before, .rsg-bot-east::before {
  content: "🍵"; position: absolute; top: 4px; font-size: 20px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
}
.rsg-bot-west::before  { left: -30px; }
.rsg-bot-east::before  { right: -30px; }

.rsg-center {
  grid-area: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff;
}
.rsg-indicator-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rsg-indicator-label { font-size: 11px; opacity: .85; }
.rsg-indicator { display: flex; }
.rsg-indicator .rsg-tile { transform: rotate(-8deg); }
.rsg-bag {
  display: flex; align-items: center; gap: 6px; font-size: 12px;
  background: rgba(0,0,0,.32); padding: 6px 12px; border-radius: 999px;
  cursor: pointer; border: 1px solid rgba(255,255,255,.18); transition: transform .15s ease;
}
.rsg-bag:hover { transform: scale(1.04); }
.rsg-bag:active { transform: scale(.97); }
.rsg-bag-stack {
  width: 26px; height: 34px; border-radius: 4px; flex-shrink: 0;
  background: linear-gradient(160deg, #fdf9ec, #e8dbb8);
  border: 1px solid rgba(0,0,0,.3);
  box-shadow: 2px 2px 0 -1px #e4d7ae, 4px 4px 0 -1px #d5c692, 0 2px 4px rgba(0,0,0,.35);
}
#rsgBagCount { font-weight: 800; font-size: 15px; }
.rsg-okey-badge {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #1a1200; font-weight: 800;
  box-shadow: 0 0 14px rgba(245,158,11,.5);
}
.rsg-okey-badge:empty { display: none; }
.rsg-turn-indicator { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.rsg-turn-indicator.rsg-your-turn { background: var(--rs-green); color: #04120b; }

/* Atılan taşlar — yığın hissi veren gölge katmanları */
.rsg-discard-you, .rsg-discard-north, .rsg-discard-east, .rsg-discard-west {
  position: absolute; width: 32px; height: 44px;
}
.rsg-discard-north { top: 84px; left: 50%; transform: translateX(-50%); }
.rsg-discard-you   { bottom: 4px; left: 50%; transform: translateX(-50%); }
.rsg-discard-east  { right: 104px; top: 50%; transform: translateY(-50%); }
.rsg-discard-west  { left: 104px; top: 50%; transform: translateY(-50%); }
.rsg-discard-you .rsg-tile,
.rsg-discard-north .rsg-tile,
.rsg-discard-east .rsg-tile,
.rsg-discard-west .rsg-tile {
  transform: rotate(-6deg);
  box-shadow:
    3px 3px 0 -1px #eee2c9, 6px 6px 0 -1px #ddd0ae,
    0 2px 0 rgba(0,0,0,.2), 0 3px 7px rgba(0,0,0,.35);
}

/* ── Taş görünümü ── */
.rsg-tile {
  --tc: #1a1a1a;
  width: 40px; height: 56px; border-radius: 8px;
  background: linear-gradient(160deg, #fffdf8 0%, #f2ecd8 100%);
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 2px 0 rgba(0,0,0,.2), 0 4px 8px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--tc);
  position: relative; user-select: none; -webkit-user-select: none; touch-action: none;
  cursor: grab; flex-shrink: 0;
  transition: transform .16s ease, box-shadow .16s ease;
}
.rsg-tile-number { font-weight: 800; font-size: 19px; line-height: 1; }
.rsg-tile-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .85; }
.rsg-tile.rsg-tile-red    { --tc: #c81d25; }
.rsg-tile.rsg-tile-black  { --tc: #1a1a1a; }
.rsg-tile.rsg-tile-blue   { --tc: #1a6fc4; }
.rsg-tile.rsg-tile-yellow { --tc: #d68a0c; }
.rsg-tile.rsg-tile-joker  {
  background: linear-gradient(160deg, #fff6da 0%, #f3d98a 100%);
  color: #6b4a00;
}
.rsg-tile.rsg-tile-joker .rsg-tile-number { font-size: 12px; text-align: center; line-height: 1.1; }
.rsg-tile.rsg-tile-selected { transform: translateY(-10px); box-shadow: 0 0 0 2px var(--rs-accent), 0 10px 18px rgba(0,0,0,.45); }
.rsg-tile.rsg-tile-okey { box-shadow: 0 0 0 2px #f59e0b, 0 0 14px rgba(245,158,11,.6); }
.rsg-tile.rsg-tile-dragging { opacity: .35; }
.rsg-tile:active { cursor: grabbing; }
.rsg-tile-back {
  background: linear-gradient(160deg, var(--rs-primary), var(--rs-primary-2));
  color: transparent;
}

/* Küçük gösterge / bag taşı boyutu */
.rsg-indicator .rsg-tile { width: 34px; height: 48px; }
.rsg-indicator .rsg-tile-number { font-size: 16px; }

@keyframes rsg-deal-in {
  from { opacity: 0; transform: translateY(-30px) scale(.7); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rsg-draw-in {
  from { opacity: 0; transform: scale(.6) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes rsg-discard-slide {
  from { opacity: 0; transform: translateY(-16px) scale(.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.rsg-anim-deal     { animation: rsg-deal-in .35s ease both; }
.rsg-anim-draw     { animation: rsg-draw-in .25s ease both; }
.rsg-anim-discard  { animation: rsg-discard-slide .25s ease both; }

/* ── "Sen" etiketi (ıstakanın üstünde, diğer avatarlarla tutarlı) ── */
.rsg-you-strip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--rs-text-2); margin: -2px 0 2px;
}
.rsg-you-strip .rsg-bot-avatar { width: 34px; height: 34px; font-size: 18px; border-width: 2px; }
.rsg-you-strip .rsg-bot-name { color: var(--rs-text); }

/* ── Istaka (oyuncu eli) — ahşap tepsi ── */
.rsg-rack-wrap {
  background: linear-gradient(180deg, #c08a48, #96602c);
  border: 1px solid rgba(0,0,0,.25);
  border-radius: var(--rs-radius-lg); padding: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.15);
}
.rsg-rack-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rsg-sbtn {
  font-size: 12px; padding: 6px 10px; border-radius: var(--rs-radius-sm);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff;
  cursor: pointer;
}
.rsg-sbtn:hover { background: rgba(255,255,255,.22); }
.rsg-rack {
  display: flex; flex-wrap: wrap; gap: 6px; min-height: 64px;
  padding: 10px 16px; border-radius: 8px;
  background: linear-gradient(180deg, #b47a3e, #8c5a2c);
  border-left: 8px solid #191919; border-right: 8px solid #191919;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.35);
}
.rsg-rack-slot-ghost {
  width: 40px; height: 56px; border-radius: 7px; background: rgba(255,255,255,.08); flex-shrink: 0;
}
.rsg-hand-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.rsg-hand-msg { font-size: 13px; color: rgba(255,255,255,.85); }
.rsg-hand-msg.rsg-msg-error { color: #ffb4b4; }
.rsg-hand-msg.rsg-msg-success { color: #baf0c6; }
.rsg-tile.rsg-tile-invalid { box-shadow: 0 0 0 2px #ef4444; }

/* ── Radyo mini panel ── */
.rsg-radio-panel {
  position: fixed; right: 16px; bottom: calc(var(--rs-player-h, 72px) + 16px);
  display: flex; align-items: center; gap: 10px;
  background: var(--rs-player-bg, rgba(10,10,15,.95)); border: 1px solid var(--rs-border);
  border-radius: 999px; padding: 8px 12px; box-shadow: var(--rs-shadow-lg); z-index: 40;
  max-width: 320px;
}
.rsg-radio-logo { border-radius: 50%; object-fit: cover; }
.rsg-radio-info { min-width: 0; }
.rsg-radio-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.rsg-radio-status { font-size: 11px; color: var(--rs-text-2); }
.rsg-radio-playpause, .rsg-radio-minimize {
  width: 28px; height: 28px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--rs-primary); color: #fff; display: flex; align-items: center; justify-content: center;
}
.rsg-radio-minimize { background: var(--rs-surface); color: var(--rs-text); width: 22px; height: 22px; font-size: 12px; }
.rsg-radio-volume { width: 60px; }
.rsg-radio-fab {
  position: fixed; right: 16px; bottom: calc(var(--rs-player-h, 72px) + 16px);
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--rs-primary); color: #fff; font-size: 18px; z-index: 40; box-shadow: var(--rs-shadow-lg);
}

/* ── Devam banner ── */
.rsg-resume-banner {
  position: fixed; left: 50%; top: 90px; transform: translateX(-50%);
  background: var(--rs-card-bg); border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius); padding: 14px 18px; z-index: 60; box-shadow: var(--rs-shadow-lg);
  text-align: center; max-width: 90vw;
}
.rsg-resume-banner p { margin: 0 0 10px; font-size: 14px; }
.rsg-resume-actions { display: flex; gap: 10px; justify-content: center; }

/* ── Kazanma overlay + konfeti ── */
.rsg-win-overlay {
  position: fixed; inset: 0; background: rgba(5,5,10,.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 80;
}
.rsg-win-card {
  position: relative;
  background: var(--rs-card-bg); border: 1px solid var(--rs-border); border-radius: var(--rs-radius-lg);
  padding: 32px 40px; text-align: center; box-shadow: 0 0 60px rgba(124,58,237,.4);
}
.rsg-win-emoji { font-size: 48px; }
@keyframes rsg-confetti-fall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(600deg); opacity: .9; }
}
.rsg-confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.rsg-confetti-piece {
  position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 2px;
  animation: rsg-confetti-fall linear forwards;
}

/* ── Kurallar modalı ── */
.rsg-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.rsg-modal {
  background: var(--rs-card-bg); border: 1px solid var(--rs-border); border-radius: var(--rs-radius-lg);
  padding: 26px; max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative;
}
.rsg-modal-close { position: absolute; top: 14px; right: 14px; background: var(--rs-surface); border: none; border-radius: 50%; width: 30px; height: 30px; cursor: pointer; color: var(--rs-text); }
.rsg-rules-body h4 { margin: 14px 0 4px; color: var(--rs-primary); }
.rsg-rules-body p { margin: 0 0 6px; font-size: 14px; color: var(--rs-text-2); }

/* ── Toast ── */
.rsg-toast {
  position: fixed; left: 50%; bottom: calc(var(--rs-player-h, 72px) + 16px); transform: translateX(-50%);
  background: var(--rs-card-bg); border: 1px solid var(--rs-border); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; z-index: 90; box-shadow: var(--rs-shadow-lg);
}

/* ── Tam ekran ── */
.rsg-fullscreen-exit {
  position: fixed; top: 14px; right: 14px; z-index: 110;
  background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 13px;
}
.rsg-is-fullscreen .rs-sidebar,
.rsg-is-fullscreen .rs-header,
.rsg-is-fullscreen .rs-mobile-nav { display: none !important; }
.rsg-is-fullscreen .rs-main-wrapper { margin-left: 0 !important; }
.rsg-is-fullscreen .rsg-table-wrap { min-height: 70vh; }

/* ── SEO içerik bloğu ── */
.rsg-content-block { margin-top: 30px; background: var(--rs-card-bg); border: 1px solid var(--rs-border); border-radius: var(--rs-radius-lg); padding: 26px 28px; }
.rsg-content-block h2 { margin-top: 0; }
.rsg-content-block h3 { color: var(--rs-primary); margin: 20px 0 6px; font-size: 16px; }
.rsg-content-block p, .rsg-content-block li { color: var(--rs-text-2); font-size: 14.5px; line-height: 1.7; }
.rsg-faq details { border: 1px solid var(--rs-border); border-radius: var(--rs-radius-sm); padding: 10px 14px; margin-bottom: 8px; }
.rsg-faq summary { cursor: pointer; font-weight: 600; }

/* ═══════════════════ HAREKET AZALTMA TERCİHİ ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rsg-anim-deal, .rsg-anim-draw, .rsg-anim-discard, .rsg-confetti-piece { animation: none !important; }
  .rsg-tile, .rsg-game-card, .rsg-bag { transition: none !important; }
}
.rsg-effects-off .rsg-anim-deal, .rsg-effects-off .rsg-anim-draw, .rsg-effects-off .rsg-anim-discard { animation: none !important; }
.rsg-effects-off .rsg-confetti-layer { display: none !important; }

/* ═══════════════════ MOBİL / RESPONSIVE ═══════════════════ */
@media (max-width: 900px) {
  .rsg-toolbar-actions {
    display: none; position: absolute; top: 52px; right: 10px; z-index: 30;
    flex-direction: column; background: var(--rs-card-bg); border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius); padding: 8px; box-shadow: var(--rs-shadow-lg); min-width: 180px;
  }
  .rsg-toolbar-actions.rsg-open { display: flex; }
  .rsg-toolbar-mobile-toggle { display: flex; }
  .rsg-table { grid-template-columns: 90px 1fr 90px; grid-template-rows: 90px 1fr 50px; padding: 10px; gap: 6px; min-height: 340px; }
  .rsg-tile { width: 32px; height: 46px; }
  .rsg-tile-number { font-size: 15px; }
  .rsg-tile-dot { width: 4px; height: 4px; }
  .rsg-bot-avatar { width: 32px; height: 32px; font-size: 18px; }
  .rsg-discard-east { right: 60px; }
  .rsg-discard-west { left: 60px; }
  .rsg-radio-panel { left: 10px; right: 10px; max-width: none; }
}
@media (max-width: 480px) {
  .rsg-table { grid-template-columns: 60px 1fr 60px; min-height: 300px; }
  .rsg-tile { width: 28px; height: 40px; }
  .rsg-tile-number { font-size: 13px; }
  .rsg-tile-dot { width: 3px; height: 3px; }
  .rsg-bot-name, .rsg-bot-count { font-size: 10px; }
  .rsg-rack-toolbar { gap: 5px; }
  .rsg-sbtn { flex: 1 1 auto; text-align: center; }
}
@media (orientation: landscape) and (max-height: 480px) {
  .rsg-table { min-height: 220px; grid-template-rows: 70px 1fr 40px; }
  .rsg-toolbar { position: static; }
}

/* Mobil alt menü ile çakışmayı önle */
body.rsg-okey-active-page .rs-content { padding-bottom: calc(var(--rs-player-h, 72px) + 74px); }
