:root {
  --bg: #fff7f5;
  --card: #ffffff;
  --text: #2b1d22;
  --muted: #8a7479;
  --line: #f1dfe1;
  --accent: #ff5d73;
  --accent-2: #ff8a5b;
  --accent-soft: #ffe8eb;
  --ok: #1f9d63;
  --danger: #d6455d;
  --shadow: 0 6px 24px rgba(180, 60, 80, 0.08);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17111a;
    --card: #221a25;
    --text: #f6eef1;
    --muted: #a8949c;
    --line: #362a39;
    --accent-soft: #3a2230;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
#app {
  max-width: 520px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) 16px calc(env(safe-area-inset-bottom) + 32px);
}

h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 28px 4px 10px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Giriş ---------- */
.auth { min-height: calc(100dvh - 80px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.brand { text-align: center; }
.brand .logo { width: 76px; height: 76px; border-radius: 22px; box-shadow: var(--shadow); }
.brand h1 { font-size: 30px; margin-top: 14px; letter-spacing: -0.02em; }
.brand p { margin-top: 6px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--accent-soft); border-radius: 14px; padding: 4px; }
.tabs button { border: 0; background: transparent; padding: 10px; border-radius: 11px; font: inherit; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input {
  font: inherit; font-size: 17px; /* 16px altı iOS'ta yakınlaştırma yapar */
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); width: 100%;
}
input:focus { outline: none; border-color: var(--accent); }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }

.btn {
  border: 0; font: inherit; font-weight: 700; cursor: pointer;
  padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff;
  transition: transform .1s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; }
.btn.ghost { background: var(--accent-soft); color: var(--accent); }
.btn.small { padding: 8px 12px; font-size: 14px; border-radius: 10px; }
.btn.plain { background: transparent; color: var(--muted); padding: 8px; font-weight: 600; }
.error { color: var(--danger); font-size: 14px; min-height: 1em; }

/* ---------- Ana sayfa ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top h1 { font-size: 26px; letter-spacing: -0.02em; }
.top .handle { font-size: 14px; color: var(--muted); }

.install { margin-top: 16px; display: flex; gap: 12px; align-items: center; background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.install b { color: var(--accent); }

.games { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.game { position: relative; border-radius: var(--radius); padding: 16px; min-height: 130px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; box-shadow: var(--shadow); }
.game .emoji { position: absolute; top: 12px; right: 12px; font-size: 34px; }
.game h3 { font-size: 18px; }
.game p { font-size: 13px; opacity: .9; }
.game .soon { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.25); padding: 3px 8px; border-radius: 99px; }
.g1 { background: linear-gradient(135deg, #ff8a5b, #ff4d80); }
.g2 { background: linear-gradient(135deg, #7b6cff, #b55cff); }

.list { display: grid; gap: 10px; }
.person { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.person .who { flex: 1; min-width: 0; }
.person .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .who span { font-size: 13px; color: var(--muted); }
.person .actions { display: flex; gap: 6px; }
.badge { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; text-align: center; margin-left: 6px; vertical-align: 2px; }
.empty { text-align: center; padding: 18px; color: var(--muted); font-size: 14px; border: 1.5px dashed var(--line); border-radius: 16px; }

.add { display: flex; gap: 8px; }
.add input { flex: 1; }
.myname { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }

#toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 20px);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600;
  transition: .25s; max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
body.in-game #toast { bottom: calc(env(safe-area-inset-bottom) + 80px); }

/* ---------- Sayfa iskeleti ve alt menü ---------- */
.page { padding-bottom: 96px; }
body.in-game #app { padding: 0; max-width: none; }
a { color: inherit; text-decoration: none; }
.center { text-align: center; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 6px 8px calc(env(safe-area-inset-bottom) + 6px);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--muted); }
.tabbar a .ic { font-size: 22px; filter: grayscale(1); opacity: .7; transition: .2s; }
.tabbar a.on { color: var(--accent); }
.tabbar a.on .ic { filter: none; opacity: 1; transform: translateY(-1px); }
.tabbar .dot { position: absolute; top: 2px; left: calc(50% + 8px); background: var(--accent); color: #fff; font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; border-radius: 9px; text-align: center; padding: 0 4px; }

.avatar.big { width: 48px; height: 48px; font-size: 20px; }
.top .back, .g-top .back { font-size: 34px; line-height: 1; width: 40px; color: var(--accent); }
.top h1 { flex: 1; }

/* Oyun kartları */
.game { transition: transform .12s; }
a.game:active { transform: scale(.97); }
.game.locked { filter: saturate(.55); opacity: .75; }
.g3 { background: linear-gradient(135deg, #22b8a6, #2f80ed); }
.g4 { background: linear-gradient(135deg, #ff6fa5, #c850c0); }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 4px; }
.mini-stats b { display: block; font-size: 20px; }
.mini-stats span { font-size: 12px; color: var(--muted); }

/* Davetler */
.invite { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); border: 1.5px solid var(--accent-soft); }
.invite .who { flex: 1; min-width: 0; }
.invite .who b { display: block; }
.invite .who span { font-size: 13px; color: var(--muted); }
.invite .actions { display: flex; gap: 6px; }
.pulse { border-color: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,93,115,.35); } 50% { box-shadow: 0 0 0 8px rgba(255,93,115,0); } }

.banner {
  position: fixed; z-index: 40; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 10px);
  max-width: 500px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--card); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); border: 1.5px solid var(--accent);
  transform: translateY(-160%); transition: transform .3s;
}
.banner.show { transform: none; }
.banner .who { flex: 1; min-width: 0; font-size: 14px; }
.banner .who b { display: block; }
.banner .who span { color: var(--muted); font-size: 13px; }

/* Yeni oyun */
.rules { display: grid; gap: 8px; margin-top: 16px; font-size: 15px; }
.pick { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; }
.pick-item { position: relative; flex: none; display: grid; justify-items: center; gap: 6px; padding: 12px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); border: 2px solid transparent; font-weight: 600; cursor: pointer; }
.pick-item input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.pick-item:has(input:checked) { border-color: var(--accent); }
.seg { display: flex; background: var(--accent-soft); border-radius: 14px; padding: 4px; }
.seg label { position: relative; flex: 1; display: block; font-weight: 600; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 11px; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.btn.wide { width: 100%; margin-top: 24px; font-size: 17px; padding: 16px; }
a.empty { display: block; }

/* ---------- Oyun ekranı ---------- */
.game-screen {
  position: relative; display: flex; flex-direction: column;
  height: 100dvh; max-width: 560px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 8px) 16px calc(env(safe-area-inset-bottom) + 10px);
}
.g-top { display: flex; align-items: center; gap: 8px; }
.score { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.score .side { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 14px; transition: .2s; min-width: 0; }
.score .side:last-child { flex-direction: row-reverse; text-align: right; }
.score .side.active { background: var(--accent-soft); }
.score .side b { font-size: 14px; display: block; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score .avatar { position: relative; width: 36px; height: 36px; font-size: 15px; }
.score .avatar i { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #bbb; border: 2px solid var(--bg); }
.score .avatar i.on { background: var(--ok); }
.pips { display: flex; gap: 4px; margin-top: 3px; }
.side:last-child .pips { justify-content: flex-end; }
.pips span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.pips span.won { background: var(--accent); }
.vs { font-weight: 800; font-size: 18px; color: var(--muted); flex: none; }

.g-cat { text-align: center; margin: 14px 0 10px; }
.g-round { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.g-cat h2 { font-size: 24px; text-transform: none; letter-spacing: -0.01em; color: var(--text); margin: 4px 0 12px; }
.timer { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.timer div { height: 100%; width: 0; background: var(--muted); border-radius: 8px; }
.timer div.mine { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.timer div.low { background: var(--danger); }
.g-status { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 22px; }
.g-status .you { color: var(--accent); font-size: 17px; }

.g-words { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 8px 2px; -webkit-overflow-scrolling: touch; }
.bubble { max-width: 75%; padding: 9px 13px; border-radius: 18px; display: flex; flex-direction: column; animation: pop .2s ease-out; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.bubble .w { font-weight: 700; font-size: 17px; word-break: break-word; }
.bubble .meta { font-size: 11px; opacity: .75; }
.bubble.mine { align-self: flex-end; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-bottom-right-radius: 6px; }
.bubble.theirs { align-self: flex-start; background: var(--card); box-shadow: var(--shadow); border-bottom-left-radius: 6px; }
.bubble.objected { opacity: .55; }
.bubble.objected .w { text-decoration: line-through; }
.bubble .obj { margin-top: 6px; border: 0; background: var(--accent-soft); color: var(--danger); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 10px; }

.g-input { display: flex; gap: 8px; padding-top: 8px; }
.g-input input { flex: 1; min-width: 0; }
.g-input .btn { opacity: .5; }
.g-input.myturn input { border-color: var(--accent); }
.g-input.myturn .btn { opacity: 1; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.overlay { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.overlay[hidden] { display: none; }
.ov-card { width: 100%; max-width: 380px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 26px 22px; text-align: center; display: grid; gap: 10px; animation: pop .25s ease-out; }
.ov-card h2 { font-size: 24px; color: var(--text); text-transform: none; letter-spacing: -0.01em; margin: 0; }
.ov-card .ov-cat { font-size: 26px; }
.ov-emoji { font-size: 56px; line-height: 1; }
.ov-emoji.wait { animation: spin 2s linear infinite; display: inline-block; justify-self: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.count { font-size: 72px; font-weight: 900; color: var(--accent); line-height: 1; }
.big-score { font-size: 40px; font-weight: 900; }
.ov-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.ov-actions .btn { text-align: center; }
.ov-actions:has(> :only-child) { grid-template-columns: 1fr; }
.duel { width: 100%; border-collapse: collapse; font-size: 15px; }
.duel td, .duel th { padding: 6px 4px; border-top: 1px solid var(--line); }
.duel tr:first-child td { border-top: 0; }
.duel th { font-weight: 500; color: var(--muted); font-size: 13px; }
.duel td { width: 38%; font-weight: 700; }
.duel td.best { color: var(--ok); }

/* ---------- İstatistik ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiles.four { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
.tile { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 12px; display: grid; gap: 2px; align-content: start; }
.tile b { font-size: 20px; letter-spacing: -0.02em; }
.tiles.four .tile b { font-size: 28px; }
.tile span { font-size: 12px; color: var(--muted); font-weight: 600; }
.tile small { font-size: 11px; color: var(--muted); }
.h2h { display: grid; gap: 10px; }
.h2h-top { display: flex; align-items: center; gap: 12px; }
.h2h-top .who { flex: 1; min-width: 0; }
.h2h-top .who b { display: block; }
.h2h-top .who span { font-size: 13px; color: var(--muted); }
.h2h-score { font-size: 22px; font-weight: 800; }
.split { height: 10px; border-radius: 10px; background: #7b6cff; overflow: hidden; }
.split span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.h2h-foot { display: flex; justify-content: space-between; }
.fact { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; padding: 14px 16px; }
.fact span { color: var(--muted); font-size: 14px; flex: none; }
.fact b { flex: 1; text-align: right; overflow-wrap: anywhere; }
.fact small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); box-shadow: var(--shadow); border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 14px; }
.chip i { font-style: normal; color: var(--accent); margin-left: 6px; font-size: 12px; }
.rank { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.rank span:nth-child(2) { flex: 1; }
.medal { font-size: 22px; }
.recent { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.recent .who { flex: 1; min-width: 0; }
.recent .who b { display: block; }
.recent .who span { font-size: 13px; color: var(--muted); }
.res { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.res.w { background: var(--ok); }
.res.l { background: var(--muted); }
.rs { font-size: 18px; }

/* ---------- Yapay zeka ---------- */
.pick-item.bot .avatar { background: linear-gradient(135deg, #7b6cff, #22b8a6); font-size: 22px; }
.theme-input { margin-top: 10px; }
.g-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -4px 0 10px; }
.g-tags:empty { display: none; }
.g-tags span { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--muted); }
.bubble .why { font-size: 12px; margin-top: 3px; font-style: italic; }
.commentary { text-align: left; background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.commentary b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 4px; }
.commentary.loading b { margin: 0; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .4; } }

/* ---------- Ok mu Nok mu ---------- */
.g5 { background: linear-gradient(135deg, #f7b733, #fc4a1a); }
.okv { display: inline-block; font-weight: 900; font-size: 13px; padding: 2px 8px; border-radius: 8px; color: #fff; letter-spacing: .03em; }
.okv.ok { background: var(--ok); }
.okv.nok { background: var(--danger); }
.chips.pickable .chip { border: 2px solid transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.chips.pickable .chip.on { border-color: var(--accent); color: var(--text); }

.ok-progress { height: 4px; background: var(--line); border-radius: 4px; margin: 10px 0 0; overflow: hidden; }
.ok-progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .4s; }
.ok-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 0 4px; }
.oknok .score .side small { display: block; font-size: 11px; }
.ok-card { position: relative; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 30px 20px 26px; text-align: center; animation: pop .25s ease-out; }
.ok-cat { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.ok-q { font-size: 23px; font-weight: 800; line-height: 1.3; margin: 14px 0 6px; letter-spacing: -0.01em; }
.ok-num { font-size: 12px; color: var(--muted); }
.ok-step, .ok-wait { text-align: center; font-size: 17px; line-height: 1.6; }
.ok-wait { margin-top: 10px; font-weight: 700; color: var(--ok); }
.ok-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.ok-btn { border: 0; border-radius: 22px; padding: 22px 10px; font: inherit; font-size: 30px; font-weight: 900; color: #fff; display: grid; gap: 2px; cursor: pointer; transition: transform .1s; }
.ok-btn small { font-size: 13px; font-weight: 600; opacity: .9; }
.ok-btn:active { transform: scale(.95); }
.ok-btn.ok { background: linear-gradient(135deg, #2fd38a, #1f9d63); }
.ok-btn.nok { background: linear-gradient(135deg, #ff6b81, #d6455d); }
.ok-verdict { text-align: center; font-size: 20px; font-weight: 800; padding: 10px; border-radius: 16px; }
.ok-verdict.same { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.ok-verdict.diff { background: color-mix(in srgb, var(--danger) 15%, transparent); color: var(--danger); }
.ok-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ok-col { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.ok-col .okv { font-size: 22px; padding: 6px 16px; border-radius: 12px; }
.ok-col small { font-size: 12px; font-weight: 600; }
.ok-col small.good { color: var(--ok); }
.ok-col small.bad { color: var(--muted); }
.ok-col .big { font-size: 26px; font-weight: 900; }
.ok-final { max-height: calc(100dvh - 40px); overflow-y: auto; }
.ring { --p: 50; width: 120px; height: 120px; border-radius: 50%; justify-self: center; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--card) 78%, transparent 80%), conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0); }
.ring b { font-size: 30px; line-height: 1; }
.ring span { font-size: 12px; color: var(--muted); }
.splits { text-align: left; font-size: 14px; }
.splits summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.splits div { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); }
.splits div span:first-child { flex: 1; }
.catbar { display: grid; grid-template-columns: 1fr 80px 44px; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; }
.split-row { display: grid; gap: 4px; padding: 12px 14px; font-size: 14px; }
.split-row small { color: var(--muted); }
.res.d { background: #f7b733; }
.catbar .split { background: var(--line); }

/* ---------- Ortak oyun ekranı ---------- */
.g6 { background: linear-gradient(135deg, #ff7eb3, #ff758c); }
.g7 { background: linear-gradient(135deg, #1e88e5, #0d47a1); }
.g8 { background: linear-gradient(135deg, #8e2de2, #4a00e0); }
.g9 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.game .soon { font-size: 10px; }
.gs-timer { margin-top: 10px; }
.gs-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 14px 0 6px; -webkit-overflow-scrolling: touch; }
.center-msg { margin: auto; text-align: center; display: grid; gap: 8px; justify-items: center; }
.center-msg h2 { font-size: 22px; color: var(--text); text-transform: none; letter-spacing: 0; margin: 0; }
.tp-title { text-align: center; font-weight: 800; font-size: 17px; }
.tp-title.you { color: var(--accent); }
.tp-last { text-align: center; font-weight: 700; min-height: 22px; }
.am-row { display: flex; gap: 10px; justify-content: space-between; }
.am-row .btn { flex: 1; }
.seg.wrap { flex-wrap: wrap; }
.seg.wrap label { flex: 1 1 45%; }
.h2-sub { text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.res.c { background: var(--accent); }
.gs-final { max-height: calc(100dvh - 40px); overflow-y: auto; }
.is-rounds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.is-rounds span { background: var(--accent-soft); border-radius: 99px; padding: 4px 10px; font-size: 13px; }

/* Ask Me More */
.am-form { display: grid; gap: 10px; }
.am-form textarea { font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); resize: none; }
.am-form textarea:focus { outline: none; border-color: var(--accent); }
.am-answer { position: relative; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 12px 14px; }
.am-answer b { font-size: 13px; color: var(--accent); }
.am-answer p { margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.am-answer.mine { border-left: 4px solid var(--accent); }
.am-answer.theirs { border-left: 4px solid #7b6cff; padding-right: 52px; }
.heart { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 28px; cursor: pointer; transition: transform .15s; }
.heart.on { transform: translateY(-50%) scale(1.15); }
.am-hist { display: grid !important; gap: 4px; }
.am-hist i { color: var(--muted); font-style: normal; }

/* İsim Şehir */
.is-head { display: flex; align-items: center; gap: 14px; }
.is-letter { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 36px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: var(--shadow); flex: none; }
.is-form { display: grid; gap: 10px; }
.is-form label { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 10px; font-size: 14px; }
.is-form input { padding: 11px 12px; }
.is-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14px; }
.is-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 0 6px; }
.is-table td { background: var(--card); padding: 8px 10px; border-radius: 10px; vertical-align: top; }
.is-table td span { display: block; font-weight: 700; overflow-wrap: anywhere; }
.is-table td small { font-size: 11px; }
.is-table td.ok small { color: var(--ok); font-weight: 700; }
.is-table td.bad span { text-decoration: line-through; opacity: .6; }
.is-table td.bad small { color: var(--danger); }
.is-table td.empty { opacity: .5; }

/* Torpido */
.tp-board { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; width: 100%; max-width: 380px; margin: 0 auto; }
.tp-board.small { max-width: 220px; gap: 2px; }
.tp-board .cell { aspect-ratio: 1; border: 0; border-radius: 5px; background: color-mix(in srgb, #1e88e5 22%, var(--card)); display: grid; place-items: center; font-size: 13px; padding: 0; color: var(--text); }
.tp-board.small .cell { border-radius: 3px; font-size: 9px; }
.tp-board button.cell { cursor: pointer; background: color-mix(in srgb, #1e88e5 35%, var(--card)); }
.tp-board button.cell:active { transform: scale(.9); }
.tp-board .cell.ship { background: #607d8b; }
.tp-board .cell.hit { background: #ff7043; }
.tp-board .cell.sunk { background: #b71c1c; }
.tp-board .cell.miss { color: var(--muted); }

/* Bilgi Yarışması / Gerçek mi Yalan mı */
.qz-card .ok-q { font-size: 21px; }
.qz-options { display: grid; gap: 10px; }
.qz-options.tf { grid-template-columns: 1fr 1fr; }
.qz-opt { position: relative; border: 2px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 700; font-size: 16px; padding: 15px 14px; border-radius: 16px; text-align: left; cursor: pointer; box-shadow: var(--shadow); }
.qz-options.tf .qz-opt { text-align: center; font-size: 22px; padding: 26px 10px; }
.qz-options.tf .qz-opt.true, .qz-options.tf .qz-opt.false { color: #fff; border: 0; }
.qz-opt.true { background: linear-gradient(135deg, #2fd38a, #1f9d63); }
.qz-opt.false { background: linear-gradient(135deg, #ff6b81, #d6455d); }
.qz-opt.picked { outline: 3px solid var(--accent); outline-offset: 2px; }
.qz-opt:disabled { cursor: default; }
.qz-opt.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 18%, var(--card)); color: var(--text); }
.qz-opt.wrong { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 15%, var(--card)); color: var(--text); }
.qz-opt.dim { opacity: .5; }
.qz-who { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; background: var(--accent); color: #fff; border-radius: 99px; padding: 2px 8px; }
.qz-who.opp { right: 52px; background: #7b6cff; }
.qz-points { display: flex; justify-content: space-between; font-weight: 700; }
.qz-points .good { color: var(--ok); }
.qz-points .bad { color: var(--muted); }
.qz-explain { background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; font-size: 15px; }

/* Adam Asmaca */
.ad-gallows { width: 170px; height: 150px; margin: 0 auto; display: block; stroke: var(--text); stroke-width: 5; stroke-linecap: round; fill: none; }
.ad-gallows .frame { stroke: var(--muted); }
.ad-gallows.dead .man { stroke: var(--danger); }
.ad-word { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ad-word span { width: 30px; height: 40px; border-bottom: 3px solid var(--text); display: grid; place-items: center; font-size: 24px; font-weight: 900; }
.ad-word span.hidden-letter { color: var(--muted); opacity: .45; }
.ad-word span.gap { border: 0; width: 14px; }
.ad-word.reveal span { color: var(--accent); }
.ad-hint { text-align: center; font-size: 14px; color: var(--muted); }
.ad-keys { display: grid; gap: 6px; }
.ad-keys div { display: flex; justify-content: center; gap: 4px; }
.ad-keys button { flex: 1; max-width: 34px; height: 44px; border: 0; border-radius: 8px; background: var(--card); box-shadow: var(--shadow); color: var(--text); font: inherit; font-weight: 800; font-size: 16px; padding: 0; cursor: pointer; }
.ad-keys button.hit { background: var(--ok); color: #fff; }
.ad-keys button.miss { background: var(--line); color: var(--muted); }
.ad-choose { display: grid; gap: 12px; }

/* Tabu */
.tb-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 16px; text-align: center; border-top: 6px solid #8e2de2; }
.tb-card.guess { padding: 18px; }
.tb-word { display: block; font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.tb-card ul { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tb-card li { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); border-radius: 99px; padding: 3px 10px; font-weight: 700; font-size: 13px; }
.tb-bar { display: flex; justify-content: space-between; align-items: center; }
.tb-log { flex: 1; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.tb-sys { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.tb-sys.ok { color: var(--ok); }
.tb-sys.tabu { color: var(--danger); }
.chip.tb-ok { color: var(--ok); }
.chip.tb-tabu { color: var(--danger); }

/* Skor çubuğu: uzun isimler skorun üstüne taşmasın */
.score .side { flex: 1 1 0; }
.score .side > div:last-child { min-width: 0; }
.score .side b { max-width: 100%; }
.score .vs { padding: 0 6px; }
.score .side, .score .side:last-child { flex-direction: column; gap: 2px; text-align: center; padding: 4px 6px; }
.score .side b { font-size: 12px; }
.score .side .pips, .side:last-child .pips { justify-content: center; }
.tp-board { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }

/* ---------- Sohbet ---------- */
.chat-fab {
  position: fixed; z-index: 30; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 84px);
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-size: 24px;
  box-shadow: 0 8px 22px rgba(255, 77, 128, .35); display: grid; place-items: center;
}
.chat-fab[hidden] { display: none; }
.chat-fab .dot { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; line-height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--accent); font-size: 12px; font-weight: 800; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.chat-fab.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }
/* Oyun ekranında yazı kutularını kapatmasın: üstte, süre çubuğunun altında küçük */
body.in-game .chat-fab { top: calc(env(safe-area-inset-top) + 74px); bottom: auto; right: 10px; width: 42px; height: 42px; font-size: 19px; opacity: .92; }
body.chat-open .chat-fab { display: none; }

.chat-panel { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.chat-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .25s; }
.chat-sheet {
  position: absolute; left: 0; right: 0; bottom: var(--kb, 0px); margin: 0 auto; max-width: 560px;
  height: min(78dvh, calc(var(--vh, 100dvh) - 40px));
  background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25);
  display: flex; flex-direction: column; padding: 10px 14px calc(env(safe-area-inset-bottom) + 10px);
  transform: translateY(105%); transition: transform .28s ease;
}
.chat-panel.open { pointer-events: auto; }
.chat-panel.open .chat-backdrop { opacity: 1; }
.chat-panel.open .chat-sheet { transform: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.chat-who { flex: 1; display: flex; align-items: center; gap: 8px; overflow-x: auto; min-width: 0; }
.chat-who .avatar { width: 34px; height: 34px; font-size: 14px; flex: none; }
.chat-tab { position: relative; display: flex; align-items: center; gap: 6px; border: 0; background: var(--card); color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 4px 10px 4px 4px; border-radius: 99px; cursor: pointer; flex: none; }
.chat-tab.on { color: var(--text); outline: 2px solid var(--accent); }
.chat-tab .dot { background: var(--accent); color: #fff; border-radius: 9px; font-size: 11px; padding: 0 6px; }
.chat-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px 2px; -webkit-overflow-scrolling: touch; }
.chat-list .bubble { max-width: 80%; }
.chat-list .bubble .w { font-weight: 500; font-size: 16px; white-space: pre-wrap; }
.chat-note, .chat-day { text-align: center; font-size: 11px; color: var(--muted); margin: 4px 0; }
.chat-day { font-weight: 700; }
.chat-typing { font-size: 12px; color: var(--muted); min-height: 16px; padding: 0 4px; }
.chat-form { display: flex; gap: 8px; padding-top: 6px; }
.chat-form input { flex: 1; min-width: 0; border-radius: 22px; }
.chat-form .btn { border-radius: 50%; width: 50px; height: 50px; padding: 0; font-size: 18px; flex: none; }
.chat-list .bubble { animation: none; }
.chat-list .bubble.fresh { animation: pop .2s ease-out; }
.push-card { display: grid; gap: 10px; font-size: 15px; }
.push-card .btn.wide { margin-top: 0; }
#push-hint .install { margin-top: 16px; }
#push-hint .install span { flex: 1; }

/* Düzenlenebilir liste (ör. İsim Şehir kategorileri) */
.list-editor { display: grid; gap: 10px; }
.chips.editable .chip { display: inline-flex; align-items: center; gap: 6px; padding-right: 6px; }
.chips.editable .chip button { border: 0; background: var(--accent-soft); color: var(--accent); width: 22px; height: 22px; border-radius: 50%; font-size: 11px; cursor: pointer; padding: 0; }
.list-add input { padding: 10px 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Yeni oyunlar ---------- */
.g10 { background: linear-gradient(135deg, #00b4db, #0083b0); }
.g11 { background: linear-gradient(135deg, #f953c6, #b91d73); }
.g12 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.g13 { background: linear-gradient(135deg, #43cea2, #185a9d); }

/* XOX */
.xox-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 330px); margin: 10px auto; }
.xox-cell { aspect-ratio: 1; border: 0; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font: inherit; font-size: 54px; font-weight: 900; color: var(--text); cursor: pointer; padding: 0; }
.xox-board.live .xox-cell:not(:disabled) { outline: 2px dashed var(--accent-soft); }
.xox-cell:disabled { cursor: default; }
.xox-cell.m-X { color: var(--accent); }
.xox-cell.m-O { color: #1e88e5; }
.xox-cell.win { background: color-mix(in srgb, var(--ok) 25%, var(--card)); }

/* Hangimiz Daha Çok */
.lk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lk-btn { border: 2px solid transparent; background: var(--card); box-shadow: var(--shadow); border-radius: 22px; padding: 22px 10px; display: grid; justify-items: center; gap: 10px; font: inherit; font-size: 17px; color: var(--text); cursor: pointer; }
.lk-btn .avatar { width: 64px; height: 64px; font-size: 26px; }
.lk-btn.picked { border-color: var(--accent); }
.lk-btn:disabled { cursor: default; }
.qz-opt.center { text-align: center; font-size: 19px; }

/* Çiz Anlat */
.dr-word { text-align: center; font-size: 16px; }
.dr-mask { font-size: 22px; font-weight: 900; letter-spacing: .12em; }
.dr-wrap { width: min(100%, 420px); margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.dr-wrap.small { width: min(70%, 260px); }
.dr-wrap canvas { display: block; width: 100%; aspect-ratio: 1; touch-action: none; }
.dr-wrap canvas.drawing { cursor: crosshair; }
.dr-tools { display: grid; gap: 8px; }
.dr-colors { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.dr-color { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--c); cursor: pointer; padding: 0; }
.dr-color.on { outline: 3px solid var(--accent); outline-offset: 2px; }
.dr-row { display: flex; justify-content: center; align-items: center; gap: 8px; }
.dr-width { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.dr-width.on { outline: 2px solid var(--accent); }
.dr-width i { width: var(--s); height: var(--s); border-radius: 50%; background: var(--text); }
.dr-log { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 26px; }
.dr-log span { background: var(--card); border-radius: 99px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.dr-log span.close { color: #fb8c00; }
.dr-log span.ok { color: var(--ok); }

/* ---------- Ne Yapsak? ---------- */
.tabbar { grid-template-columns: repeat(4, 1fr); }
.fortune { display: grid; gap: 10px; margin-top: 16px; background: linear-gradient(135deg, color-mix(in srgb, #7b6cff 18%, var(--card)), color-mix(in srgb, #ff4d80 14%, var(--card))); }
.fortune-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fortune p { line-height: 1.5; }
.plan-form, .wheel-card { display: grid; gap: 10px; }
.plan-form textarea { font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); resize: none; }
.plan-form textarea:focus { outline: none; border-color: var(--accent); }
.chips.quick .chip { border: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.plan-intro { margin: 14px 4px 10px; font-weight: 600; }
.plan-card { display: grid; gap: 8px; }
.plan-top { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.plan-emoji { font-size: 28px; }
.plan-tip { font-size: 14px; color: var(--muted); }
.plan-meta { display: flex; gap: 12px; font-size: 13px; font-weight: 700; color: var(--accent); }
.wheel-box { position: relative; width: min(100%, 320px); margin: 6px auto 0; }
.wheel-box svg { display: block; width: 100%; height: auto; color: var(--text); filter: drop-shadow(0 6px 16px rgba(0,0,0,.18)); }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 28px; color: var(--text); text-shadow: 0 2px 4px rgba(0,0,0,.25); }
.dot-c { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.wheel-win { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 16px; background: var(--accent-soft); text-align: center; animation: pop .3s ease-out; }
.wheel-win b { font-size: 24px; }

.g14 { background: linear-gradient(135deg, #3a7bd5, #00d2ff); }
.g15 { background: linear-gradient(135deg, #ee0979, #ff6a00); }
.g16 { background: linear-gradient(135deg, #56ab2f, #a8e063); }
.g17 { background: linear-gradient(135deg, #614385, #516395); }

/* İşlem Bulmaca */
.mt-problem { text-align: center; font-size: 44px; font-weight: 900; letter-spacing: -0.01em; padding: 26px 10px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.mt-problem.done b { color: var(--ok); }
.mt-form { display: flex; gap: 10px; }
.mt-form input { flex: 1; min-width: 0; font-size: 28px; font-weight: 800; text-align: center; padding: 12px; letter-spacing: .08em; }
.mt-form .btn { font-size: 22px; min-width: 70px; }

/* Refleks */
.rx-pad { flex: 1; min-height: 60vh; width: 100%; border: 0; border-radius: 28px; display: grid; place-content: center; gap: 10px; color: #fff; font: inherit; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: background .08s; }
.rx-pad.wait { background: linear-gradient(135deg, #e53935, #b71c1c); }
.rx-pad.go { background: linear-gradient(135deg, #43a047, #1b5e20); }
.rx-pad b { font-size: 46px; font-weight: 900; }
.rx-pad span { font-size: 15px; opacity: .9; }
.rx-result { margin: auto 0; display: grid; gap: 14px; }

/* Sayı Bulmaca */
.cd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cd-cols h3 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.cd-row { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 12px; padding: 8px 10px; margin-bottom: 6px; box-shadow: var(--shadow); }
.cd-code { flex: 1; font-weight: 800; font-size: 18px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.cd-plus { color: var(--ok); font-weight: 800; }
.cd-minus { color: var(--danger); font-weight: 800; }

/* Doğruluk mu Cesaret mi */
.tr-emoji { font-size: 44px; }
.lk-btn.tr-truth { background: linear-gradient(135deg, #2f80ed, #56ccf2); color: #fff; }
.lk-btn.tr-dare { background: linear-gradient(135deg, #ff4d80, #ff8a5b); color: #fff; }
.tr-card.truth { border-top: 6px solid #2f80ed; }
.tr-card.dare { border-top: 6px solid #ff4d80; }
.tr-result { text-align: center; font-size: 18px; font-weight: 700; }
.tr-result .am-answer { text-align: left; font-weight: 500; }
.tr-reacts { display: flex; justify-content: center; gap: 10px; }
.tr-reacts button { font-size: 30px; border: 0; background: var(--card); border-radius: 16px; width: 58px; height: 58px; box-shadow: var(--shadow); cursor: pointer; }
.tr-reacts button.on { outline: 3px solid var(--accent); }

/* Taş Kağıt Makas */
.g18 { background: linear-gradient(135deg, #ff9966, #ff5e62); }
.rps-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rps-btn { border: 2px solid transparent; background: var(--card); box-shadow: var(--shadow); border-radius: 22px; padding: 18px 6px; display: grid; justify-items: center; gap: 6px; font: inherit; color: var(--text); cursor: pointer; }
.rps-btn span { font-size: 52px; line-height: 1; }
.rps-btn.picked { border-color: var(--accent); transform: scale(1.04); }
.rps-btn:disabled:not(.picked) { opacity: .45; }
.rps-duel { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0; }
.rps-hand { display: grid; justify-items: center; gap: 4px; animation: pop .35s ease-out; }
.rps-hand span { font-size: 84px; line-height: 1; }
.rps-hand.mine span { transform: scaleX(-1); display: inline-block; }
.rps-hand small { font-size: 11px; color: var(--muted); }
.rps-vs { font-weight: 900; color: var(--muted); }

/* Zaman Bulmaca */
.g19 { background: linear-gradient(135deg, #0f2027, #2c5364); }
.tz-clock { text-align: center; font-size: 72px; font-weight: 900; font-variant-numeric: tabular-nums; padding: 20px 0; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); display: grid; }
.tz-clock small { font-size: 15px; font-weight: 600; color: var(--muted); }
.tz-clock.idle { color: var(--muted); }
.tz-clock.running { color: var(--accent); }
.tz-clock.stopped { color: var(--ok); animation: pop .3s ease-out; }
.ok-col.win { outline: 3px solid var(--ok); }

/* Açık Artırma */
.g20 { background: linear-gradient(135deg, #f7971e, #d4145a); }
.au-lot { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 18px; display: grid; justify-items: center; gap: 4px; text-align: center; animation: pop .25s ease-out; }
.au-lot.sold { border: 2px solid var(--ok); }
.au-emoji { font-size: 64px; line-height: 1.1; }
.au-lot > b { font-size: 21px; }
.au-price { font-size: 30px; font-weight: 900; color: var(--accent); }
.au-leader { font-weight: 700; font-size: 14px; }
.au-bids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.au-bids .btn { padding: 12px 4px; font-size: 18px; display: grid; }
.au-bids .btn small { font-size: 11px; opacity: .85; }
.au-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-wallets div { background: var(--card); border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; box-shadow: var(--shadow); }
.au-wallets span { font-weight: 900; color: var(--ok); }
.au-h { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.au-items { display: flex; flex-wrap: wrap; gap: 6px; }
.au-item { display: grid; justify-items: center; background: var(--card); border-radius: 12px; padding: 6px 8px; font-size: 26px; box-shadow: var(--shadow); max-width: 110px; text-align: center; }
.au-item small { font-size: 10px; color: var(--muted); line-height: 1.2; }
.au-final { text-align: left; background: var(--accent-soft); border-radius: 16px; padding: 10px 12px; display: grid; gap: 6px; }
.au-final.win { outline: 3px solid var(--ok); }
.au-final-head { display: flex; justify-content: space-between; }
.au-final-head span { font-weight: 900; color: var(--accent); }
.au-lot { animation: none; }
.au-lot.sold { animation: pop .25s ease-out; }

.tz-light { flex: 1; min-height: 46vh; border-radius: 28px; display: grid; place-content: center; text-align: center; gap: 10px; color: #fff; padding: 20px; }
.tz-light b { font-size: 44px; font-weight: 900; }
.tz-light span { font-size: 15px; opacity: .9; }
.tz-light.ready { background: linear-gradient(135deg, #616161, #303030); }
.tz-light.go { background: radial-gradient(circle, #66bb6a, #1b5e20); animation: tzpulse 1.6s ease-in-out infinite; }
.tz-light.stop { background: linear-gradient(135deg, #e53935, #b71c1c); min-height: 22vh; animation: pop .3s ease-out; }
@keyframes tzpulse { 50% { filter: brightness(1.25); } }

/* Ortak Hikaye */
.g21 { background: linear-gradient(135deg, #a770ef, #fdb99b); }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.st-legend { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.st-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.st-legend i.mine, .st-line.mine { --who: var(--accent); }
.st-legend i.theirs, .st-line.theirs { --who: #7b6cff; }
.st-legend i { background: var(--who); }
.st-book { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 16px 18px; max-height: 52vh; overflow-y: auto; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.7; }
.st-book.done { max-height: 42vh; text-align: left; font-size: 16px; }
.st-line { display: inline; margin: 0; }
.st-line.mine, .st-line.theirs { box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--who) 45%, transparent); }
.st-line.ai { font-style: italic; color: var(--muted); }
.st-line.twist { color: var(--accent); }
.st-line:last-child { animation: pop .3s ease-out; }
.st-final { display: grid; gap: 10px; justify-items: center; }
.st-final h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }

/* Kart oyunları: ortak */
.g22 { background: linear-gradient(135deg, #0b8457, #10316b); }
.g23 { background: linear-gradient(135deg, #e53935, #fbc02d 50%, #1e88e5); }
.g24 { background: linear-gradient(135deg, #232526, #8e0e00); }
.g25 { background: linear-gradient(135deg, #4776e6, #8e54e9); }
.pc { --w: 58px; width: var(--w); height: calc(var(--w) * 1.42); flex: none; position: relative; border-radius: 8px; border: 1px solid #d9d4d6; background: #fff; color: #1d1d1f; box-shadow: 0 2px 6px rgba(0,0,0,.18); font: 700 15px/1 system-ui, sans-serif; padding: 0; }
.pc.red { color: #d32f2f; }
.pc-c { position: absolute; top: 4px; left: 5px; display: grid; justify-items: center; font-size: 14px; }
.pc-c b { font-size: 12px; }
.pc-r { top: auto; left: auto; bottom: 4px; right: 5px; transform: rotate(180deg); }
.pc-m { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(var(--w) * .48); }
.pc.back { background: repeating-linear-gradient(45deg, var(--accent) 0 6px, var(--accent-2) 6px 12px); border: 3px solid #fff; }
.pc.empty { background: transparent; border: 2px dashed var(--line); box-shadow: none; }
button.pc:disabled { cursor: default; }
.pc.play { cursor: pointer; transition: transform .12s; }
.pc.play:hover, .pc.play:focus-visible { transform: translateY(-10px); }
.pc.thrown { transform: translateY(-40px) scale(.9); opacity: .4; transition: .2s; }
.hand { display: flex; justify-content: center; padding-top: 12px; min-height: 92px; }
.hand > * + * { margin-left: -14px; }
.hand.tight > * + * { margin-left: -30px; }
.hand.opp { min-height: 0; padding-top: 0; }
.hand.opp .pc { --w: 34px; }
.hand.opp > * + * { margin-left: -18px; }
.hand.small { padding-top: 0; min-height: 0; align-items: center; }
.hand.small .pc { --w: 44px; font-size: 13px; }
.hand.small > * + * { margin-left: -10px; }
.ct-opp { display: grid; justify-items: center; gap: 6px; }
.ct-table { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 18px 0 6px; }
.deck-pile { position: relative; display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 0; }
.deck-pile .pc { --w: 50px; box-shadow: 3px 3px 0 #fff, 4px 4px 0 var(--accent-soft), 6px 6px 0 #fff; }
.deck-pile.empty::before { content: ""; width: 50px; height: 71px; border: 2px dashed var(--line); border-radius: 8px; }
.ct-last { text-align: center; font-size: 14px; color: var(--muted); min-height: 20px; }
.ct-last.big { animation: pop .4s ease-out; }
.ct-last .pisti { color: var(--accent); font-size: 20px; }

/* Pişti */
.pi-pile { position: relative; width: 96px; height: 100px; display: grid; place-items: center; }
.pi-pile .pc { position: absolute; --w: 64px; }
.pi-pile .under { transform: rotate(-12deg) translate(-12px, 2px); filter: brightness(.94); }
.pi-pile .top { transform: rotate(4deg); animation: pop .25s ease-out; }
.pi-pile .gone { animation: gone .9s ease-in forwards; }
@keyframes gone { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px) scale(.8); } }
.pi-count { position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 2px 7px; z-index: 2; }
.pi-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.pi-table th, .pi-table td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.pi-table td:first-child { text-align: left; color: var(--muted); }

/* Renk Savaşı */
.uc { --w: 58px; width: var(--w); height: calc(var(--w) * 1.45); flex: none; position: relative; border-radius: 10px; border: 3px solid #fff; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); font: 900 15px/1 system-ui, sans-serif; padding: 0; }
.uc.c-red { background: #e53935; } .uc.c-yellow { background: #f9a825; } .uc.c-green { background: #43a047; } .uc.c-blue { background: #1e88e5; }
.uc.c-wild { background: conic-gradient(#e53935 0 25%, #f9a825 0 50%, #43a047 0 75%, #1e88e5 0); }
.uc.back { background: #222; --w: 50px; }
.uc.back .uc-m { font-size: 13px; color: #f9a825; transform: rotate(-20deg); }
.uc-c { position: absolute; top: 4px; left: 5px; font-size: 12px; }
.uc-m { position: absolute; inset: 22% 12%; display: grid; place-items: center; background: rgba(255,255,255,.92); border-radius: 50%; color: #222; font-size: calc(var(--w) * .36); }
.uc.c-wild .uc-m { background: #222; color: #fff; }
.uc:disabled { cursor: default; }
.uc.play { cursor: pointer; transition: transform .12s; }
.hand.mine .uc:not(.play) { filter: brightness(.6) saturate(.7); }
.uc.play:hover, .uc.play:focus-visible { transform: translateY(-10px); }
.uno-deck { cursor: pointer; }
.uno-deck:disabled { cursor: default; opacity: .8; }
.uno-top { border-radius: 14px; padding: 5px; animation: pop .25s ease-out; }
.uno-top .uc { --w: 70px; }
.uno-top.ring-red { box-shadow: 0 0 0 4px #e53935; } .uno-top.ring-yellow { box-shadow: 0 0 0 4px #f9a825; }
.uno-top.ring-green { box-shadow: 0 0 0 4px #43a047; } .uno-top.ring-blue { box-shadow: 0 0 0 4px #1e88e5; }
.uno-hand { flex-wrap: wrap; row-gap: 8px; }
.uno-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.uno-actions:empty { display: none; }
.uno-btn { animation: pulse 1.2s infinite; }
.uno-btn.catch { background: linear-gradient(135deg, #f9a825, #e53935); }
.uno-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.uno-colors .tp-title { grid-column: 1 / -1; }
.uno-colors .uc.pick { width: auto; height: 54px; font-size: 16px; cursor: pointer; }

/* Blackjack */
.bj-dealer, .bj-seat { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 10px 12px; display: grid; gap: 8px; }
.bj-dealer { background: linear-gradient(135deg, #0b6b45, #0b4f36); color: #fff; }
.bj-seat.mine { outline: 2px solid var(--accent); }
.bj-info { display: flex; justify-content: space-between; font-size: 14px; }
.bj-total { align-self: center; margin-left: 12px !important; font-weight: 900; font-size: 18px; min-width: 34px; text-align: center; background: rgba(0,0,0,.08); border-radius: 99px; padding: 4px 8px; }
.bj-dealer .bj-total { background: rgba(255,255,255,.18); }
.bj-dealer .hand, .bj-seat .hand { justify-content: flex-start; }
.bj-status { font-size: 13px; color: var(--muted); }
.bj-status .plus { color: var(--ok); } .bj-status .minus { color: var(--danger); }
.bj-bets, .bj-actions { display: flex; gap: 8px; }
.bj-bets .btn, .bj-actions .btn { flex: 1; }

/* Hafıza */
.mem-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 8px; }
.mem { aspect-ratio: 3 / 4; border: 0; border-radius: 12px; background: repeating-linear-gradient(45deg, var(--accent) 0 6px, var(--accent-2) 6px 12px); box-shadow: var(--shadow); font-size: clamp(26px, 9vw, 42px); padding: 0; cursor: pointer; transition: transform .2s; }
.mem:disabled { cursor: default; }
.mem.open, .mem.done, .mem.opening { background: var(--card); transform: rotateY(0); animation: pop .25s ease-out; }
.mem.miss { outline: 3px solid var(--danger); }
.mem.done.mine { outline: 3px solid var(--accent); opacity: .75; }
.mem.done.theirs { outline: 3px solid #7b6cff; opacity: .75; }

/* Çiz Anlat: Paint araçları */
.dr-toolrow { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.dr-tool { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--card); box-shadow: var(--shadow); font-size: 19px; color: var(--text); cursor: pointer; padding: 0; }
.dr-tool.on { outline: 2px solid var(--accent); background: var(--accent-soft); }
.dr-palette { display: grid; grid-template-columns: 44px repeat(16, 1fr); grid-template-rows: 1fr 1fr; gap: 3px; align-items: stretch; }
.dr-palette .dr-color { width: auto; height: auto; aspect-ratio: 1; border-radius: 6px; border: 1px solid rgba(0,0,0,.15); }
.dr-palette .dr-color.on { outline: 2px solid var(--accent); outline-offset: 1px; z-index: 1; }
.dr-current { grid-row: 1 / 3; position: relative; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; background: conic-gradient(#e53935, #fdd835, #43a047, #1e88e5, #8e24aa, #e53935); }
.dr-current span { position: absolute; inset: 7px; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.dr-current input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.dr-row input[type=range] { flex: 1; min-width: 60px; accent-color: var(--accent); }
.dr-dot-box { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.dr-dot-box i { border-radius: 50%; border: 1px solid rgba(0,0,0,.2); max-width: 36px; max-height: 36px; }
.dr-row .btn.small { padding: 8px 10px; }

/* Emlak Türkiye */
.g26 { background: linear-gradient(135deg, #c62828, #1565c0); }
.em-board { --own-mine: var(--accent); --own-theirs: #7b6cff; display: grid; grid-template: 1.5fr repeat(9, 1fr) 1.5fr / 1.5fr repeat(9, 1fr) 1.5fr; width: min(100%, 600px); aspect-ratio: 1; margin: 0 auto; background: #cfe8d0; border: 2px solid #2e4a32; border-radius: 10px; overflow: hidden; color: #1d1d1f; }
.em-tile { position: relative; border: .5px solid #2e4a32; background: #f4f1e6; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; font: 600 clamp(6px, 1.7vw, 10px)/1.05 system-ui, sans-serif; color: inherit; cursor: pointer; text-align: center; min-width: 0; min-height: 0; }
.em-tile.corner { background: #e8e2cc; }
.em-tile.sel { outline: 3px solid #111; outline-offset: -3px; z-index: 2; }
.em-tile.pending { animation: pulse 1.2s infinite; z-index: 2; }
.em-tile.own-mine { background: color-mix(in srgb, var(--own-mine) 22%, #f4f1e6); }
.em-tile.own-theirs { background: color-mix(in srgb, var(--own-theirs) 22%, #f4f1e6); }
.em-tile.mortgaged { background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(0,0,0,.12) 4px 6px); }
.em-band { position: absolute; background: var(--g); font-style: normal; font-size: .9em; display: grid; place-items: center; line-height: 1; overflow: hidden; }
.em-tile.bottom .em-band { top: 0; left: 0; right: 0; height: 24%; }
.em-tile.top .em-band { bottom: 0; left: 0; right: 0; height: 24%; }
.em-tile.left .em-band { right: 0; top: 0; bottom: 0; width: 24%; writing-mode: vertical-rl; }
.em-tile.right .em-band { left: 0; top: 0; bottom: 0; width: 24%; writing-mode: vertical-rl; }
.em-tile.bottom { padding: 26% 1px 0; }
.em-tile.top { padding: 0 1px 26%; }
.em-tile.left { padding: 0 26% 0 1px; }
.em-tile.right { padding: 0 1px 0 26%; }
.em-icon { font-size: 1.6em; line-height: 1.1; }
.em-tile.corner .em-icon { font-size: 2.4em; }
.em-name { white-space: nowrap; max-width: 100%; overflow: hidden; letter-spacing: -.02em; }
.em-price { font-weight: 500; opacity: .7; font-size: .9em; }
.em-tokens { position: absolute; inset: auto 1px 1px auto; display: flex; gap: 1px; }
.em-token { display: inline-grid; place-items: center; width: clamp(12px, 3.6vw, 20px); aspect-ratio: 1; border-radius: 50%; color: #fff; font-size: clamp(7px, 2vw, 11px); font-weight: 900; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.em-token.mine { background: var(--accent); }
.em-token.theirs { background: #7b6cff; }
.em-token.jailed { outline: 2px dashed #111; }
.em-center { grid-area: 2 / 2 / 11 / 11; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px; overflow: hidden; text-align: center; font-size: clamp(9px, 2.4vw, 14px); }
.em-logo { font-weight: 900; color: #c62828; letter-spacing: .1em; transform: rotate(-12deg); font-size: clamp(10px, 3vw, 18px); line-height: 1; opacity: .35; }
.em-logo b { color: #1565c0; }
.em-turn { font-weight: 800; }
.em-dice { font-size: clamp(30px, 10vw, 56px); line-height: 1; letter-spacing: 4px; }
.em-dice.roll { animation: roll .6s ease-out; }
.em-dice.idle { opacity: .4; }
@keyframes roll { 0% { transform: rotate(-200deg) scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.em-card { background: #fff; border-radius: 10px; padding: 6px 8px; box-shadow: 0 3px 10px rgba(0,0,0,.2); max-width: 92%; animation: pop .3s ease-out; }
.em-card.chance { border: 2px solid #fb8c00; }
.em-card.chest { border: 2px solid #1e88e5; }
.em-card small { display: block; font-weight: 800; }
.em-info { background: #fff; border-radius: 10px; padding: 6px 8px; box-shadow: 0 3px 10px rgba(0,0,0,.2); max-width: 96%; display: grid; gap: 2px; text-align: left; }
.em-info .muted { color: #666; }
.em-rent { border-collapse: collapse; font-size: .9em; }
.em-rent td { padding: 0 6px; }
.em-rent td:last-child { text-align: right; }
.em-rent tr.on { font-weight: 900; background: #fff3c4; }
.em-last { display: grid; gap: 2px; color: #333; }
.em-last span:not(:first-child) { opacity: .6; font-size: .9em; }
.em-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--g); margin-right: 4px; vertical-align: -1px; }
.em-players { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.em-player { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 8px 10px; box-shadow: var(--shadow); min-width: 0; }
.em-player.turn { outline: 2px solid var(--accent); }
.em-player span { flex: 1; min-width: 0; display: grid; font-size: 13px; }
.em-player small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-player strong { font-size: 15px; color: var(--ok); }
.em-player strong.neg { color: var(--danger); }
.em-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.em-btns .btn { flex: 1; min-width: 120px; }
.em-debt { color: var(--danger); font-weight: 700; text-align: center; }
.em-offer { background: var(--accent-soft); border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; font-size: 14px; }
.em-props, .em-log { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; }
.em-props summary, .em-log summary { cursor: pointer; font-weight: 800; }
.em-prop { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.em-prop span { flex: 1; min-width: 120px; display: grid; }
.em-prop small { color: var(--muted); }
.em-prop.mortgaged { opacity: .65; }
.em-prop .btn.small { padding: 6px 8px; font-size: 12px; }
.em-log span { display: block; font-size: 13px; padding: 4px 0; border-top: 1px solid var(--line); }
.em-trade { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; display: grid; gap: 8px; }
.em-trade-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.em-trade-cols > div { display: grid; gap: 4px; align-content: start; font-size: 13px; }
.em-trade-cols small { color: var(--muted); font-weight: 700; }
.em-trade-cols input[type=number] { font: inherit; padding: 8px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); width: 100%; }
.em-trade-cols label { display: flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; }
.em-trade-cols input[type=checkbox] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }

/* Aşk mı Gurur mu? */
.g27 { background: linear-gradient(135deg, #ff416c, #6a3093); }
.ag-card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 8px; animation: pop .25s ease-out; }
.ag-card h3 { font-size: 20px; margin: 0; }
.ag-card p { line-height: 1.5; }
.ag-step { font-weight: 800; text-align: center; margin-top: 4px; }
.ag-opt { display: grid; gap: 4px; text-align: left; width: 100%; border: 2px solid var(--line); background: var(--card); color: var(--text); border-radius: 16px; padding: 12px 14px; font: inherit; cursor: pointer; transition: transform .12s; }
.ag-opt b { font-size: 16px; }
.ag-opt span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.ag-opt.ask b { color: #e53950; }
.ag-opt.gurur b { color: #7b6cff; }
.ag-opt.chosen.ask { border-color: #e53950; background: color-mix(in srgb, #e53950 12%, var(--card)); }
.ag-opt.chosen.gurur { border-color: #7b6cff; background: color-mix(in srgb, #7b6cff 12%, var(--card)); }
.ag-opt.chosen span { color: var(--text); }
.ag-guess { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ag-g { border: 2px solid var(--line); background: var(--card); color: var(--text); border-radius: 14px; padding: 12px; font: inherit; font-weight: 800; cursor: pointer; }
.ag-g.chosen.ask { border-color: #e53950; }
.ag-g.chosen.gurur { border-color: #7b6cff; }
.ag-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ag-col { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px; display: grid; justify-items: center; gap: 2px; border-top: 4px solid; }
.ag-col.ask { border-color: #e53950; }
.ag-col.gurur { border-color: #7b6cff; }
.ag-col .big { font-size: 34px; }
.ag-col small { color: var(--muted); }
.ag-talk { text-align: center; font-weight: 700; color: var(--accent); }

/* Cümle Tamamla */
.g28 { background: linear-gradient(135deg, #f093fb, #f5576c); }

/* Yeni oyun kartları */
.g29 { background: linear-gradient(135deg, #fc466b, #3f5efb); }
.g30 { background: linear-gradient(135deg, #8e2de2, #f7971e); }
.g31 { background: linear-gradient(135deg, #5b247a, #1bcedf); }
.g32 { background: linear-gradient(135deg, #232526, #b31217); }
.g33 { background: linear-gradient(135deg, #3e2723, #a1887f); }
.g34 { background: linear-gradient(135deg, #0f2027, #2c7744); }
.g35 { background: linear-gradient(135deg, #b71c1c, #e65100 60%, #ffb300); }

/* Kim Daha Yaratıcı? */
.yr-entry { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 4px; border-left: 4px solid var(--line); }
.yr-entry.mine { border-left-color: var(--accent); }
.yr-entry.theirs { border-left-color: #7b6cff; }
.yr-entry.win { outline: 2px solid var(--ok); }
.yr-head { display: flex; justify-content: space-between; align-items: center; }
.yr-score { font-size: 26px; font-weight: 900; color: var(--accent); }
.yr-score small { font-size: 13px; color: var(--muted); }
.yr-entry p { white-space: pre-wrap; overflow-wrap: anywhere; }
.yr-comment { color: var(--muted); font-style: italic; }
.yr-rate { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }

/* Blöf */
.bl-word { font-size: 32px; font-weight: 900; letter-spacing: .06em; margin-top: 10px; }
.bl-options { display: grid; gap: 8px; }
.bl-opt { text-align: left; border: 2px solid var(--line); background: var(--card); color: var(--text); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; cursor: pointer; display: grid; gap: 4px; }
.bl-opt.mine { opacity: .55; }
.bl-opt.chosen { border-color: var(--accent); }
.bl-opt.reveal { cursor: default; }
.bl-opt.real { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
.bl-opt small { font-weight: 800; color: var(--muted); }
.bl-who { font-size: 13px; font-weight: 700; color: var(--accent); }

/* Seçimli Macera */
.mc-head { display: flex; justify-content: center; }
.mc-book { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 16px; max-height: 50vh; overflow-y: auto; display: grid; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.6; }
.mc-book.done { max-height: 40vh; font-size: 15px; text-align: left; }
.mc-chapter small { font-family: system-ui, sans-serif; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.mc-chapter:last-child { animation: pop .3s ease-out; }
.mc-chosen { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; margin-top: 4px; }
.mc-chosen.same { color: var(--ok); }
.mc-chosen.split { color: #fb8c00; }
.mc-chosen small { font-weight: 500; color: var(--muted); }
.mc-choices { display: grid; gap: 8px; }
.mc-choice { border: 2px solid var(--line); background: var(--card); color: var(--text); border-radius: 14px; padding: 12px 14px; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.mc-choice.chosen { border-color: var(--accent); background: var(--accent-soft); }

/* Gizemli Cinayet */
.cz-file { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 10px 14px; }
.cz-file summary { cursor: pointer; font-weight: 800; }
.cz-file p { margin-top: 6px; line-height: 1.5; }
.cz-suspects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cz-sus { display: grid; gap: 2px; text-align: left; border: 2px solid var(--line); background: var(--card); color: var(--text); border-radius: 14px; padding: 10px; font: inherit; cursor: pointer; }
.cz-sus.on { border-color: var(--accent); background: var(--accent-soft); }
.cz-emoji { font-size: 26px; }
.cz-sus small { color: var(--muted); font-size: 12px; }
.cz-sus em { font-size: 12px; color: var(--muted); }
.cz-clues { background: color-mix(in srgb, #fdd835 14%, var(--card)); border-radius: 16px; padding: 10px 14px; }
.cz-clues summary { cursor: pointer; font-weight: 800; }
.cz-clue { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cz-form { display: grid; gap: 6px; }
.cz-log { display: grid; gap: 8px; max-height: 42vh; overflow-y: auto; }
.cz-q { background: var(--card); border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow); }
.cz-q small { color: var(--muted); font-weight: 700; }
.cz-ask { font-weight: 700; margin: 2px 0; }
.cz-ans { font-style: italic; }
.cz-shared { background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.cz-solution { display: grid; gap: 8px; text-align: left; }
.cz-killer { font-size: 20px; text-align: center; }

/* Dama */
.dm-board { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; border: 4px solid #5d4037; border-radius: 8px; overflow: hidden; }
.dm-cell { border: 0; padding: 0; min-width: 0; min-height: 0; display: grid; place-items: center; cursor: default; position: relative; }
.dm-cell.light { background: #f0d9b5; }
.dm-cell.dark { background: #d7b48a; }
.dm-cell.last { box-shadow: inset 0 0 0 3px rgba(255, 193, 7, .7); }
.dm-cell.taken::after { content: "✕"; color: rgba(183, 28, 28, .55); font-weight: 900; font-size: 20px; position: absolute; }
.dm-cell.can { cursor: pointer; }
.dm-cell.can .dm-piece { box-shadow: 0 0 0 3px var(--ok), 0 3px 4px rgba(0,0,0,.4); }
.dm-cell.picked { background: #aed581; }
.dm-cell.target { cursor: pointer; }
.dm-cell.target::before { content: ""; width: 34%; aspect-ratio: 1; border-radius: 50%; background: rgba(46, 125, 50, .6); position: absolute; }
.dm-piece { width: 78%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: clamp(12px, 4vw, 22px); box-shadow: 0 3px 4px rgba(0,0,0,.4), inset 0 -3px 0 rgba(0,0,0,.15); }
.dm-piece.w { background: radial-gradient(circle at 35% 30%, #fff, #ddd); }
.dm-piece.b { background: radial-gradient(circle at 35% 30%, #555, #111); }

/* Batak */
.bt-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.bt-info b { color: var(--text); }
.bt-info .red { color: #d32f2f; }
.bt-table { display: flex; justify-content: center; gap: 24px; margin: 8px 0; }
.bt-slot { display: grid; justify-items: center; gap: 4px; }
.bt-slot .pc { --w: 64px; }
.bt-slot.win .pc { box-shadow: 0 0 0 3px var(--ok); }
.bt-slot small { color: var(--muted); font-weight: 700; }
.bt-bids { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bt-bids .btn { padding: 10px 0; }
.bt-suits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bt-suits .red { color: #d32f2f; }
.bt-hand { flex-wrap: wrap; row-gap: 8px; }
.bt-hand .pc { --w: 48px; }

/* Fetih */
.fx-scroll { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.fx-map { --fx-me: var(--accent); --fx-opp: #7b6cff; --fx-neutral: #9e9e9e; display: block; width: 100%; min-width: 680px; height: auto; }
.fx-land { fill: color-mix(in srgb, #a5d6a7 40%, var(--card)); stroke: #6d8b6f; stroke-width: 2; }
.fx-lines line { stroke: rgba(0,0,0,.25); stroke-width: 2; stroke-dasharray: 4 4; }
.fx-lines line.hot { stroke: var(--accent); stroke-width: 4; stroke-dasharray: none; }
.fx-city { cursor: pointer; }
.fx-city circle { stroke-width: 4; transition: r .15s; }
.fx-city .n { text-anchor: middle; font: 900 17px system-ui, sans-serif; fill: #fff; pointer-events: none; }
.fx-city .l { text-anchor: middle; font: 700 13px system-ui, sans-serif; fill: var(--text); pointer-events: none; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
.fx-city.sel circle { r: 22; stroke: #111; }
.fx-city.target circle { stroke: #ffeb3b; stroke-width: 6; }
.fx-city.fight circle { filter: drop-shadow(0 0 6px #ff5722); }
.fx-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.fx-key.me { background: var(--accent); }
.fx-key.opp { background: #7b6cff; }
.fx-key.neu { background: #9e9e9e; }
.fx-seg { max-width: 300px; margin: 0 auto; }
.fx-blitz { display: flex; justify-content: center; gap: 6px; font-weight: 700; font-size: 14px; }
.fx-battle { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow); font-size: 14px; }
.fx-battle.won { outline: 2px solid var(--ok); }
.fx-dice { font-size: 22px; letter-spacing: 2px; }
.fx-news { background: #fffdf5; color: #222; border-radius: 12px; padding: 10px 14px; display: grid; gap: 2px; border: 1px solid #e0d7c0; font-family: Georgia, "Times New Roman", serif; box-shadow: var(--shadow); }
.fx-news small { font-family: system-ui, sans-serif; color: #8a6d3b; font-weight: 800; }
.fx-news b { font-size: 18px; }
.fx-region { display: inline-block; margin: 3px 4px 0 0; padding: 2px 8px; border-radius: 99px; font-size: 12px; background: color-mix(in srgb, var(--r) 25%, var(--card)); }
.fx-seg { display: flex; gap: 4px; background: var(--accent-soft); border-radius: 12px; padding: 4px; }
.fx-seg button { flex: 1; border: 0; background: none; color: var(--text); padding: 8px; border-radius: 9px; font: inherit; font-weight: 800; cursor: pointer; }
.fx-seg button.on { background: var(--card); color: var(--accent); box-shadow: var(--shadow); }

/* Son görülme */
#partner-seen { display: grid; gap: 8px; margin-top: 10px; }
#partner-seen:empty { display: none; }
.seen-chip { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow); font-size: 14px; color: var(--muted); }
.seen-chip .avatar { width: 30px; height: 30px; font-size: 13px; }
.seen-chip b { color: var(--text); }
.seen-chip.here { outline: 2px solid var(--ok); color: var(--ok); }
.seen-chip > small { margin-left: auto; }
.seen-chip > small.off { color: var(--danger); font-weight: 700; }
