:root{--bg:#0b1221;--panel:rgba(255,255,255,.09);--panel2:rgba(255,255,255,.14);--text:#eef4ff;--muted:#9fadca;--gold:#ffd166;--green:#13c296;--blue:#57a6ff;--red:#ff5c7a;--dark:#111827;--radius:24px;--shadow:0 22px 70px rgba(0,0,0,.36)}*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:radial-gradient(circle at 12% 8%,rgba(87,166,255,.25),transparent 26%),radial-gradient(circle at 80% 10%,rgba(19,194,150,.18),transparent 28%),linear-gradient(135deg,#070b14,#111b33)}button,input{font:inherit}button{border:0;cursor:pointer}a{color:var(--gold);text-decoration:none}.glass{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.065));border:1px solid rgba(255,255,255,.14);box-shadow:var(--shadow);backdrop-filter:blur(18px);border-radius:var(--radius)}.auth-body{display:grid;place-items:center;padding:24px}.auth-shell{width:min(1180px,100%);display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:center}.auth-hero{padding:42px;min-height:560px;overflow:hidden;position:relative}.brand{display:flex;align-items:center;gap:14px;font-weight:900;font-size:28px;letter-spacing:-.04em}.brand.small{font-size:21px}.brand-mark{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#ff9f1c);color:#261400;font-weight:1000;box-shadow:0 14px 34px rgba(255,209,102,.28)}.brand.small .brand-mark{width:42px;height:42px;border-radius:13px}.auth-hero h1{font-size:clamp(38px,5vw,68px);line-height:.95;letter-spacing:-.07em;margin:78px 0 22px}.auth-hero p{font-size:18px;line-height:1.65;color:var(--muted);max-width:680px}.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:32px}.mini-grid div{padding:18px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1)}.mini-grid b{display:block;margin-bottom:6px}.mini-grid small{color:var(--muted);line-height:1.45}.auth-card{padding:30px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:rgba(0,0,0,.22);padding:6px;border-radius:18px;margin-bottom:24px}.tab{padding:13px;border-radius:14px;background:transparent;color:var(--muted);font-weight:800}.tab.active{background:var(--gold);color:#241600}.auth-form{display:none}.auth-form.active{display:block}label{display:block;color:var(--muted);font-size:14px;margin-bottom:16px}input{width:100%;padding:15px 16px;margin-top:8px;border-radius:16px;border:1px solid rgba(255,255,255,.13);background:rgba(0,0,0,.25);outline:none;color:var(--text)}input:focus{border-color:rgba(255,209,102,.78)}.primary,.ghost,.danger{padding:15px 18px;border-radius:16px;font-weight:900}.primary{background:linear-gradient(135deg,var(--gold),#ffaf2e);color:#251400;box-shadow:0 12px 24px rgba(255,209,102,.2)}.ghost{background:rgba(255,255,255,.1);color:var(--text);border:1px solid rgba(255,255,255,.12)}.danger{background:linear-gradient(135deg,var(--red),#ff335f);color:white}.slim{padding:12px 16px}.message{min-height:24px;color:var(--gold)}.topbar{margin:20px auto 0;width:min(1180px,calc(100% - 32px));display:flex;align-items:center;justify-content:space-between;padding:14px 18px}.user-pill{display:flex;align-items:center;gap:10px;color:var(--muted)}.user-pill span{width:18px;height:18px;border-radius:50%;display:inline-block}.lobby-layout{width:min(1180px,calc(100% - 32px));margin:24px auto;display:grid;grid-template-columns:330px 1fr;gap:22px}.panel{padding:24px}.panel h1,.panel h2,.panel h3{margin-top:0;letter-spacing:-.04em}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stats div{background:rgba(255,255,255,.08);border-radius:16px;padding:14px;text-align:center}.stats b{display:block;font-size:24px;color:var(--gold)}.stats small{color:var(--muted)}hr{border:0;border-top:1px solid rgba(255,255,255,.12);margin:24px 0}.rooms{display:grid;gap:14px}.room-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:18px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.11)}.room-card h3{margin:0 0 8px}.room-meta{color:var(--muted);display:flex;flex-wrap:wrap;gap:12px}.game-body{overflow:hidden}.game-shell{height:100vh;padding:14px;display:grid;grid-template-rows:auto 1fr;gap:14px}.game-top{padding:14px 18px;display:flex;align-items:center;justify-content:space-between}.back{font-weight:900}.game-grid{min-height:0;display:grid;grid-template-columns:1fr 330px;gap:14px}.table-panel,.side-panel{min-height:0;padding:14px}#gameCanvas{width:100%;height:calc(100vh - 128px);display:block;border-radius:22px;background:radial-gradient(circle at 50% 40%,#166b55,#08382e 72%);border:1px solid rgba(255,255,255,.12)}.game-actions{position:absolute;left:34px;bottom:28px;display:flex;gap:10px;flex-wrap:wrap}.table-panel{position:relative}.side-panel{display:grid;grid-template-rows:auto auto auto 1fr auto auto;gap:12px}.players{display:grid;gap:10px}.player{display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;background:rgba(255,255,255,.08)}.avatar{width:36px;height:36px;border-radius:13px;display:grid;place-items:center;color:#09101d;font-weight:900}.chat{overflow:auto;background:rgba(0,0,0,.2);border-radius:16px;padding:12px;min-height:180px}.chat-msg{margin-bottom:10px;color:var(--muted);line-height:1.35}.chat-msg b{color:var(--gold)}.chat-form{display:grid;grid-template-columns:1fr auto;gap:8px}.chat-form input{margin:0}.chat-form button{border-radius:14px;background:var(--green);color:#04130f;font-weight:900}.rules-note{color:var(--muted);font-size:13px;line-height:1.45;background:rgba(255,255,255,.07);padding:12px;border-radius:14px}@media(max-width:900px){.auth-shell,.lobby-layout,.game-grid{grid-template-columns:1fr}.auth-hero{min-height:auto}.game-body{overflow:auto}.game-grid{height:auto}.side-panel{min-height:420px}.game-actions{position:static;margin-top:12px}.auth-shell{padding:0}.mini-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.game-shell{height:auto}#gameCanvas{height:560px}}
.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%) translateY(20px);background:rgba(10,15,28,.94);color:#fff;padding:12px 16px;border-radius:999px;box-shadow:0 18px 50px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:.22s ease;z-index:9999;font-weight:700}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.rules-note code{background:rgba(255,255,255,.12);padding:2px 6px;border-radius:6px;color:#fff}.game-actions{flex-wrap:wrap}.game-actions button{white-space:nowrap}

/* Bot + online güncellemesi */
select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,.10);
  color: #fff;
  outline: none;
}
select option { color:#111827; }
.mode-badge {
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  padding:4px 9px;
  border-radius:999px;
  font-size:12px;
  font-style:normal;
  color:#111827;
  background:linear-gradient(135deg,#ffd166,#fef3c7);
}
.full-table-shell { max-width: 1660px; }
.improved-game-grid {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
}
.immersive-table {
  position: relative;
  min-height: calc(100vh - 132px);
  overflow: hidden;
}
.immersive-table canvas {
  height: calc(100vh - 138px);
  min-height: 700px;
  border-radius: 24px;
}
.floating-actions {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  backdrop-filter: blur(14px);
  background: rgba(5, 18, 31, .42);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 10px;
  justify-content: center;
}
.score-hint {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:94px;
  z-index:5;
  padding:9px 16px;
  border-radius:999px;
  color:#fff;
  background:rgba(0,0,0,.42);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}
.compact-side-panel { max-height: calc(100vh - 112px); overflow:auto; }
button:disabled { opacity:.48; cursor:not-allowed; }
@media (max-width: 1100px){
  .improved-game-grid { grid-template-columns: 1fr; }
  .compact-side-panel { max-height:none; }
  .immersive-table canvas { min-height: 620px; }
  .score-hint { bottom: 112px; font-size: 12px; max-width: calc(100% - 24px); overflow:hidden; text-overflow:ellipsis; }
}

/* Görseldeki yatay 101 Okey masa tasarımı - 2026 güncellemesi */
.okey-table-body {
  margin: 0;
  overflow: hidden;
  background: #062337;
  touch-action: none;
}
.okey-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(19,148,178,.35), transparent 36%),
    linear-gradient(145deg, #0b3d52 0%, #062332 52%, #03131f 100%);
}
#gameCanvas {
  position: absolute;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.okey-hud {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}
.okey-hud-top {
  top: 10px;
  left: 10px;
  right: 10px;
  justify-content: space-between;
  pointer-events: none;
}
.okey-hud-top > * { pointer-events: auto; }
.okey-menu {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffe7a4;
  font-size: 28px;
  font-weight: 1000;
  background: rgba(5,22,35,.52);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.okey-room-title {
  min-width: min(520px, 54vw);
  text-align: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(107,66,24,.92), rgba(72,40,16,.88));
  border: 1px solid rgba(255,228,169,.28);
  box-shadow: 0 16px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.14);
  color: #fff8e5;
}
.okey-room-title strong { display: block; font-size: 14px; letter-spacing: .01em; }
.okey-room-title span { display: block; color: #ffd166; font-size: 12px; font-weight: 800; margin-top: 1px; }
.okey-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 1000;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}
.primary-chip { background: linear-gradient(135deg, #ffd166, #ff9f1c); color: #351900; }
.okey-hand-score {
  position: absolute;
  left: 50%;
  bottom: 206px;
  transform: translateX(-50%);
  z-index: 18;
  max-width: calc(100vw - 220px);
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff8df;
  background: rgba(4,19,31,.54);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 32px rgba(0,0,0,.25);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.okey-quick-actions {
  position: absolute;
  right: 16px;
  bottom: 112px;
  z-index: 21;
  display: grid;
  gap: 10px;
}
.okey-side-btn {
  width: 76px;
  min-height: 78px;
  padding: 8px 6px;
  border-radius: 14px;
  color: #fff8e5;
  font-weight: 1000;
  line-height: 1.05;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 26px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.18);
}
.series-btn { background: linear-gradient(180deg, #c9612a, #7b3718); }
.pair-btn { background: linear-gradient(180deg, #7a53c8, #42287d); }
.open-series-btn { background: linear-gradient(180deg, #1cb98a, #087258); }
.open-pair-btn { background: linear-gradient(180deg, #3d91df, #18528d); }
.okey-bottom-actions {
  position: absolute;
  left: 50%;
  bottom: 122px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7,25,38,.38);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}
.okey-round-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3b210b;
  background: linear-gradient(135deg, #ffe6a8, #f0a733);
  font-size: 21px;
  font-weight: 1000;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 10px 20px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.38);
}
.danger-round { background: linear-gradient(135deg, #ff7b7b, #e63946); color: #fff; }
.finish-round { background: linear-gradient(135deg, #84f4c6, #13c296); color: #04261e; }
.okey-chat-panel {
  position: absolute;
  top: 64px;
  right: 102px;
  bottom: 20px;
  z-index: 40;
  width: 330px;
  padding: 14px;
  display: none;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 10px;
  border-radius: 22px;
  background: rgba(5, 18, 31, .88);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}
.okey-chat-panel.open { display: grid; }
.chat-head { display: flex; align-items: center; justify-content: space-between; }
.chat-head button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
}
.compact-players { max-height: 210px; overflow: auto; }
.compact-chat { min-height: 140px; }
.compact-info { font-size: 12px; }
.compact-chat-form input { padding: 12px; }
@media(max-width: 920px) {
  .okey-room-title { min-width: 0; width: 52vw; padding: 8px 12px; }
  .okey-chip { font-size: 12px; padding: 0 10px; }
  .okey-quick-actions { right: 8px; gap: 7px; }
  .okey-side-btn { width: 64px; min-height: 64px; font-size: 12px; }
  .okey-hand-score { bottom: 170px; max-width: calc(100vw - 150px); }
  .okey-bottom-actions { bottom: 108px; gap: 8px; }
  .okey-round-btn { width: 40px; height: 40px; font-size: 18px; }
  .okey-chat-panel { right: 8px; left: 8px; width: auto; }
}

/* Kullanıcının verdiği özel masa arkaplanı ve serbest ıstaka güncellemesi */
.okey-stage {
  background-image: url('okey-table-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.okey-table-body #gameCanvas { cursor: default; }
.okey-table-body #gameCanvas:active { cursor: grabbing; }
.okey-quick-actions {
  top: auto !important;
  bottom: 64px !important;
  right: 22px !important;
  transform: none !important;
  gap: 9px !important;
}
.okey-side-btn {
  width: 86px !important;
  min-height: 56px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}
.series-btn, .pair-btn {
  min-height: 74px !important;
  font-size: 15px !important;
}
.open-series-btn, .open-pair-btn {
  min-height: 42px !important;
  font-size: 12px !important;
  opacity: .92;
}
.okey-bottom-actions {
  bottom: 118px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.okey-round-btn {
  background: linear-gradient(180deg, #f9d67a, #b77a2e) !important;
  color: #0a2837 !important;
  border: 1px solid rgba(255,235,170,.55) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.45) !important;
}
.okey-hand-score {
  bottom: 186px !important;
}
@media(max-width:900px){
  .okey-quick-actions { right: 8px !important; bottom: 54px !important; }
  .okey-side-btn { width: 68px !important; font-size: 11px !important; }
  .series-btn, .pair-btn { min-height: 58px !important; }
  .open-series-btn, .open-pair-btn { min-height: 36px !important; }
}

/* 2026-05-31 yeni boş masa arkaplanı + ıstaka kullanım alanı düzeltmeleri */
.okey-stage {
  background-image: url('okey-table-bg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Butonlar artık alt ıstakanın üstünü kapatmaz. */
.okey-quick-actions {
  top: 82px !important;
  right: 16px !important;
  bottom: auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, 78px) !important;
  gap: 8px !important;
  z-index: 32 !important;
}
.okey-side-btn {
  width: 78px !important;
  min-height: 46px !important;
  padding: 7px 6px !important;
  font-size: 12px !important;
  border-radius: 13px !important;
}
.series-btn, .pair-btn {
  min-height: 50px !important;
  font-size: 12px !important;
}
.open-series-btn, .open-pair-btn {
  min-height: 38px !important;
  font-size: 11px !important;
}

/* Alt yuvarlak butonlar da ıstakadan kaldırıldı. */
.okey-bottom-actions {
  top: 82px !important;
  left: 16px !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 31 !important;
  background: rgba(7,25,38,.42) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(10px) !important;
}

.okey-hand-score {
  bottom: auto !important;
  top: 142px !important;
  max-width: min(720px, calc(100vw - 390px)) !important;
  z-index: 26 !important;
}

.okey-chat-panel {
  right: 16px !important;
}

@media(max-width: 920px) {
  .okey-quick-actions {
    top: 70px !important;
    right: 8px !important;
    grid-template-columns: repeat(2, 62px) !important;
    gap: 6px !important;
  }
  .okey-side-btn {
    width: 62px !important;
    min-height: 38px !important;
    font-size: 10px !important;
  }
  .okey-bottom-actions {
    top: 70px !important;
    left: 8px !important;
    gap: 6px !important;
    padding: 6px !important;
  }
  .okey-round-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  .okey-hand-score {
    top: 124px !important;
    max-width: calc(100vw - 24px) !important;
    font-size: 11px !important;
  }
}

/* 2026-05-31 büyük masa görseli hizalama + sağ alt işlem butonları */
.okey-stage {
  background-image: url('okey-table-bg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Seri Diz / Çift Diz / Seri Aç / Çift Aç tekrar sağ alt tarafa alındı. */
.okey-quick-actions {
  top: auto !important;
  right: 18px !important;
  bottom: 42px !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 88px !important;
  gap: 8px !important;
  z-index: 35 !important;
}
.okey-side-btn {
  width: 88px !important;
  min-height: 48px !important;
  padding: 8px 6px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
}
.series-btn,
.pair-btn {
  min-height: 58px !important;
  font-size: 13px !important;
}
.open-series-btn,
.open-pair-btn {
  min-height: 42px !important;
  font-size: 12px !important;
}

/* Alt yuvarlak butonlar ıstakayı kapatmasın diye üst-sol bölgede kalır. */
.okey-bottom-actions {
  top: 82px !important;
  left: 16px !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 31 !important;
}

.okey-hand-score {
  top: 142px !important;
  bottom: auto !important;
  max-width: min(760px, calc(100vw - 430px)) !important;
}

@media(max-width: 920px) {
  .okey-quick-actions {
    right: 8px !important;
    bottom: 28px !important;
    grid-template-columns: 68px !important;
    gap: 6px !important;
  }
  .okey-side-btn {
    width: 68px !important;
    min-height: 38px !important;
    font-size: 10px !important;
  }
  .series-btn,
  .pair-btn { min-height: 48px !important; }
}


/* 2026-05-31 istaka aşağı hizalama + taşma önleme + oyun bitti popup */
.game-over-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(circle at 50% 35%, rgba(255,209,102,.16), transparent 38%), rgba(1, 8, 15, .78);
  backdrop-filter: blur(12px);
}
.game-over-modal.show { display: flex; }
.game-over-card {
  width: min(860px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 28px;
  padding: 22px;
  color: #fff8e5;
  background: linear-gradient(180deg, rgba(22,38,54,.96), rgba(5,18,31,.96));
  border: 1px solid rgba(255,209,102,.28);
  box-shadow: 0 38px 110px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
}
.game-over-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.game-over-head h2 { margin: 4px 0 6px; font-size: clamp(26px, 4vw, 42px); line-height:1; letter-spacing:-.04em; }
.game-over-head p { margin:0; color:rgba(255,248,229,.72); font-weight:700; }
.modal-kicker { color:#ffd166; font-weight:1000; font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
#closeGameOver { width:42px; height:42px; border-radius:50%; color:#fff; background:rgba(255,255,255,.10); font-size:28px; }
.score-table-wrap { margin-top:18px; overflow:auto; border-radius:18px; border:1px solid rgba(255,255,255,.12); }
.score-table { width:100%; border-collapse:collapse; min-width:720px; background:rgba(255,255,255,.045); }
.score-table th, .score-table td { padding:12px 12px; text-align:left; border-bottom:1px solid rgba(255,255,255,.09); }
.score-table th { color:#ffd166; font-size:12px; text-transform:uppercase; letter-spacing:.06em; background:rgba(255,255,255,.06); }
.score-delta { font-weight:1000; font-size:18px; }
.score-delta.good { color:#67e8a7; }
.score-delta.bad { color:#ff8fa3; }
.win-badge, .draw-badge { display:inline-flex; margin-left:7px; padding:3px 7px; border-radius:999px; font-size:11px; font-weight:1000; }
.win-badge { background:#13c296; color:#04261e; }
.draw-badge { background:#ffd166; color:#3b210b; }
.score-rules, .islek-log { margin-top:14px; padding:14px; border-radius:18px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.10); }
.score-rules b, .islek-log b { display:block; color:#ffd166; margin-bottom:6px; }
.score-rules span { color:rgba(255,248,229,.78); line-height:1.45; }
.islek-log ul { margin:8px 0 0; padding-left:20px; color:rgba(255,248,229,.78); }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:16px; }
.modal-btn { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border-radius:14px; background:linear-gradient(135deg,#ffd166,#ff9f1c); color:#351900; font-weight:1000; }
.modal-btn.secondary { background:rgba(255,255,255,.10); color:#fff8e5; }

.okey-quick-actions {
  right: 18px !important;
  bottom: 42px !important;
}
