/* ---- fonts.css ---- */
/* Yazı tipleri kendi sunucumuzdan (Google Fonts yerine: daha hızlı ilk açılış, gizlilik, çevrimdışı).
   Archivo ve JetBrains Mono, SIL Open Font License. Değişken yazı tipi: tüm kalınlıklar tek dosyada.
   latin-ext: Türkçe harfler (ğ, ş, ı, İ...). Kaynak: fonts.gstatic.com, 1 Aralık 2026. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; src: url('/fonts/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; src: url('/fonts/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- alaz.css ---- */
/* alaz.fun — renk token'ları + animasyonlar. Tema: :root[data-theme='dark'|'light'] (önizlemede herhangi bir kapsayıcıda data-theme de çalışır) */
:root[data-theme='dark'],[data-theme='dark']{
  --bg:#0b0907;--bg-2:#120e0b;--surface:#15110e;--surface-2:#1d1814;--surface-3:#2a221c;--border:#2a211b;--border-2:#3a2e26;
  --text:#f7efe6;--text-2:#d9cdc0;--muted:#a3978b;
  --accent:#ff5a1f;--accent-2:#ffb020;--accent-ink:#160700;--accent-soft:#3a1a0c;--accent-text:#ff8a4b;--accent-deep:#a8300a;
  --ice:#7fe3ff;--ice-soft:#0e2a33;
  --good:#3ad07a;--good-soft:#12301f;--good-text:#9ff0bf;--warn:#ffc53d;--warn-soft:#3a2c0c;--bad:#ff4d4d;--bad-soft:#3a1414;--bad-text:#ff9a9a;
  --shadow:0 8px 24px #00000080;--shadow-lg:0 30px 80px #000000aa;
  --topbar-bg:#0b0907b3;--overlay:#000000b3;--focus:0 0 0 2px #0b0907,0 0 0 4px #ff8a4b;
  --tile-empty:#15110e;--tile-border:#3a2e26;--tile-gray:#4a4039;--tile-good:#2f9e5b;--tile-near:#d99a1c;
  --key:#2a221c;--key-dead:#17120f;--key-dead-ink:#6b5f55;
  --sea:#08202e;--sea-line:#17384d;--sq-light:#e8d6bf;--sq-dark:#a9714b;--c4-board:#2443a8;
  --snow-ice:#5cc8f0;--snow-pine:#3fae74;--snow-berry:#e8506a;--snow-amber:#f2b632;
  color-scheme:dark;
}
:root[data-theme='light'],[data-theme='light']{
  --bg:#f5efe6;--bg-2:#efe7db;--surface:#fbf7f1;--surface-2:#f1e9de;--surface-3:#e6dccf;--border:#e2d6c6;--border-2:#d3c4b0;
  --text:#1c1511;--text-2:#4a3d33;--muted:#73655a;
  --accent:#f0541a;--accent-2:#e8900a;--accent-ink:#1a0a03;--accent-soft:#fde3d3;--accent-text:#b8390a;--accent-deep:#9a2e08;
  --ice:#1b8fb0;--ice-soft:#d9eef4;
  --good:#1f8a4c;--good-soft:#dcf1e3;--good-text:#17693a;--warn:#a86a10;--warn-soft:#fbecd0;--bad:#d23a3a;--bad-soft:#fbe1df;--bad-text:#a82a2a;
  --shadow:0 8px 24px #5a3a2014;--shadow-lg:0 30px 70px #5a3a2026;
  --topbar-bg:#f5efe6cc;--overlay:#1c151166;--focus:0 0 0 2px #f5efe6,0 0 0 4px #b8390a;
  --tile-empty:#fbf7f1;--tile-border:#d3c4b0;--tile-gray:#8b7d70;--tile-good:#2a8a52;--tile-near:#c98a0f;
  --key:#e6dccf;--key-dead:#d6cabb;--key-dead-ink:#9a8b7c;
  --sea:#d7ebf2;--sea-line:#a9cfdd;--sq-light:#f0dfc6;--sq-dark:#b57d52;--c4-board:#2f55c9;
  --snow-ice:#2f9fd0;--snow-pine:#2a8f5c;--snow-berry:#d23a58;--snow-amber:#d99a1c;
  color-scheme:light;
}
:root{--radius:16px;--radius-sm:10px;--font:'Archivo',system-ui,sans-serif;--mono:'JetBrains Mono',ui-monospace,monospace}
/* ---- Tasarım sistemi (sayfa /#/tasarim): yeni kod sabit değer yerine bunları kullanır ---- */
:root{
  /* yazı ölçeği: 8 basamak; büyük vitrin başlıkları clamp() ile ayrı */
  --fs-2xs:11px;--fs-xs:12px;--fs-sm:13px;--fs-md:14px;--fs-lg:16px;--fs-xl:18px;--fs-2xl:22px;--fs-3xl:28px;
  --lh-tight:1.15;--lh:1.45;
  --fw-reg:500;--fw-bold:700;--fw-heavy:800;--fw-black:900;
  /* boşluk: 4'ün katları */
  --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:32px;--sp-10:40px;--sp-12:48px;
  /* köşe */
  --r-xs:6px;--r-sm:10px;--r-md:14px;--r-lg:18px;--r-xl:24px;--r-pill:999px;
  /* hareket */
  --ease:cubic-bezier(.2,.8,.2,1);--ease-pop:cubic-bezier(.2,.9,.3,1.2);--dur-1:.15s;--dur-2:.25s;--dur-3:.45s;
  /* dokunma hedefi */
  --tap:44px;
}
[data-theme='dark'],:root[data-theme='dark']{--e1:0 1px 2px #0006,0 2px 8px #0004;--e2:0 8px 24px #00000080;--e3:0 30px 80px #000000aa}
[data-theme='light'],:root[data-theme='light']{--e1:0 1px 2px #5a3a201a,0 2px 8px #5a3a2010;--e2:0 8px 24px #5a3a2018;--e3:0 30px 70px #5a3a2026}
@media (prefers-reduced-motion: reduce){:root{--dur-1:0s;--dur-2:0s;--dur-3:0s}}
/* Renk körü modu: doğru = turuncu, yanlış yer = mavi */
[data-cb='on']{--tile-good:#f07a1a;--tile-near:#3a9ad9}

body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:var(--accent-text,#ff8a4b);text-decoration:none}a:hover{color:var(--accent-2,#ffb020)}
:focus-visible{outline:none;box-shadow:var(--focus)}

@keyframes bIn{0%{transform:translateX(0);opacity:0}6%{opacity:1}50%{transform:translateX(var(--run,620px));opacity:1}51%,100%{transform:translateX(var(--run,620px));opacity:0}}
@keyframes sUp{0%,49%{transform:translate(0,0) rotate(-14deg);opacity:0}50%{opacity:1}100%{transform:translate(420px,-105px) rotate(-14deg);opacity:0}}
@keyframes sDn{0%,49%{transform:translate(0,0) rotate(14deg);opacity:0}50%{opacity:1}100%{transform:translate(420px,105px) rotate(14deg);opacity:0}}
@keyframes ring{0%,48%{transform:scale(.2);opacity:0}50%{opacity:1}75%,100%{transform:scale(2.6);opacity:0}}
@keyframes mirror{0%,100%{opacity:.75;box-shadow:0 0 14px #7fe3ff,0 0 40px #7fe3ff88}50%{opacity:1;box-shadow:0 0 24px #7fe3ff,0 0 90px #7fe3ffaa}}
@keyframes ember{0%{transform:translate(0,0) scale(1);opacity:0}10%{opacity:1}100%{transform:translate(40px,-640px) scale(.3);opacity:0}}
@keyframes bob{0%,100%{transform:translateY(-14px) rotate(45deg)}50%{transform:translateY(14px) rotate(45deg)}}
@keyframes gridMove{to{background-position:0 64px}}
@keyframes marquee{to{transform:translateX(-50%)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes floaty{0%,100%{transform:translateY(-6px)}50%{transform:translateY(6px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes flame{0%,100%{transform:scale(1) rotate(0)}30%{transform:scale(1.06,.95) rotate(2deg)}60%{transform:scale(.95,1.06) rotate(-2deg)}}
@keyframes pulse{0%{box-shadow:0 0 0 0 #ff3b3b99}100%{box-shadow:0 0 0 10px #ff3b3b00}}
@keyframes pulseG{0%{box-shadow:0 0 0 0 #3ad07a99}100%{box-shadow:0 0 0 10px #3ad07a00}}
@keyframes hp{0%,100%{width:78%}40%{width:52%}70%{width:64%}}
@keyframes hp2{0%,100%{width:44%}50%{width:70%}}
@keyframes eq{0%,100%{transform:scaleY(.25)}50%{transform:scaleY(1)}}
@keyframes shrink{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes sweep{0%{transform:translateX(-120%) skewX(-20deg)}60%,100%{transform:translateX(420%) skewX(-20deg)}}
@keyframes grow{from{transform:scaleX(0)}}
@keyframes borderFlow{to{background-position:200% 0}}
@keyframes grain{0%,100%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}}
@keyframes flipIn{from{transform:perspective(800px) rotateX(-95deg);opacity:0}to{transform:perspective(800px) rotateX(0);opacity:1}}
@keyframes glassSheen{0%,100%{background-position:0 -200px}50%{background-position:0 400px}}
@keyframes cardIn3d{from{opacity:0;transform:perspective(900px) rotateX(35deg) translateY(40px)}to{opacity:1;transform:none}}
@keyframes hover3d{0%,100%{transform:translateY(-8px)}50%{transform:translateY(8px)}}
@keyframes tileFlip{0%{transform:rotateX(0)}50%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}
@keyframes tilePop{0%{transform:scale(1)}50%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
@keyframes drop{from{transform:translateY(var(--from,-400px))}70%{transform:translateY(0)}85%{transform:translateY(-14px)}to{transform:translateY(0)}}
@keyframes confetti{0%{transform:translate3d(0,-40px,0) rotateX(0) rotateZ(0);opacity:1}100%{transform:translate3d(var(--dx,40px),720px,0) rotateX(720deg) rotateZ(360deg);opacity:.9}}
@keyframes crownIn{from{transform:translateY(-30px) rotate(-20deg) scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes rise3d{from{transform:perspective(900px) rotateX(60deg) translateY(60px);opacity:0}to{transform:none;opacity:1}}
@keyframes orbit3d{from{transform:rotateY(0) translateZ(var(--r,220px)) rotateY(0)}to{transform:rotateY(360deg) translateZ(var(--r,220px)) rotateY(-360deg)}}
@keyframes cube{from{transform:rotateX(-20deg) rotateY(0)}to{transform:rotateX(-20deg) rotateY(360deg)}}
@keyframes splash{0%{transform:scale(.3);opacity:1}100%{transform:scale(2.2);opacity:0}}
@keyframes reveal{0%{transform:rotateY(180deg)}100%{transform:rotateY(0)}}
@keyframes blink{50%{opacity:.35}}
@keyframes tileReveal{0%{transform:rotateX(0);background:var(--tile-empty);border-color:var(--tile-border);color:var(--text)}49%{transform:rotateX(90deg);background:var(--tile-empty);border-color:var(--tile-border);color:var(--text)}50%{transform:rotateX(90deg);background:var(--c);border-color:var(--c);color:#fff}100%{transform:rotateX(0);background:var(--c);border-color:var(--c);color:#fff}}
@keyframes bounceWin{0%,100%{transform:translateY(0)}40%{transform:translateY(-22px)}60%{transform:translateY(4px)}}
@keyframes sink{0%{transform:translateY(0) rotate(0);opacity:1}100%{transform:translateY(30%) rotate(-12deg);opacity:.55}}
@keyframes skel{0%{background-position:-200% 0}100%{background-position:200% 0}}
@keyframes rays{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes burst{0%{transform:translate(-50%,-50%) scale(.2);opacity:1}100%{transform:translate(-50%,-50%) scale(3);opacity:0}}
@keyframes slowmo{0%{transform:scale(1.35);filter:blur(10px);opacity:0}60%{transform:scale(.98);filter:blur(0);opacity:1}100%{transform:scale(1)}}
@keyframes xpFill{from{width:var(--from,0%)}to{width:var(--to,100%)}}
@keyframes levelPop{0%{transform:scale(0) rotate(-30deg)}70%{transform:scale(1.2) rotate(6deg)}100%{transform:scale(1) rotate(0)}}
@keyframes shineSweep{0%{transform:translateX(-150%) rotate(20deg)}100%{transform:translateX(250%) rotate(20deg)}}
@keyframes frost{0%,100%{opacity:.35}50%{opacity:.6}}
@keyframes reactFly{0%{transform:translate(0,0) scale(.3);opacity:0}12%{transform:translate(0,-30px) scale(1.2);opacity:1}100%{transform:translate(var(--dx,0),-460px) scale(.9);opacity:0}}
@keyframes ignite{0%{filter:brightness(.1);transform:translateY(20px) scale(.8);opacity:0}40%{opacity:1}60%{filter:brightness(1.8) drop-shadow(0 0 24px #ff5a1f);transform:translateY(-4px)}100%{filter:drop-shadow(0 0 14px #ff5a1f66);transform:none;opacity:1}}
@keyframes sparkGrow{0%{transform:scale(0);opacity:0}30%{transform:scale(.3);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes introOut{to{opacity:0;visibility:hidden}}
@keyframes snowFall{from{transform:translate3d(0,-20px,0)}to{transform:translate3d(var(--dx,20px),700px,0)}}
@keyframes boardSpin{from{transform:rotateX(58deg) rotateZ(0)}to{transform:rotateX(58deg) rotateZ(360deg)}}
@keyframes counterSpin{from{transform:rotateZ(0) rotateX(-58deg)}to{transform:rotateZ(-360deg) rotateX(-58deg)}}
@keyframes progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes lineup{from{transform:translateY(40px) scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes countBig{0%{transform:scale(2.4);opacity:0;filter:blur(8px)}30%{transform:scale(1);opacity:1;filter:blur(0)}80%{transform:scale(.9);opacity:1}100%{transform:scale(.6);opacity:0}}
@keyframes cardFlipIn{from{transform:perspective(1000px) rotateY(-90deg) scale(.8);opacity:0}to{transform:perspective(1000px) rotateY(0) scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Duyarlı yardımcılar (inline stilleri ezmek için !important) */
.show-sm{display:none!important}
@media (max-width:1080px){.hide-md{display:none!important}}
@media (max-width:720px){.hide-sm{display:none!important}.show-sm{display:flex!important}}

/* Sayfa geçiş perdesi */
#alaz-veil{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:var(--bg,#0b0907);pointer-events:none;opacity:1;transition:opacity .32s ease}
#alaz-veil.out{opacity:0}
#alaz-veil.in{opacity:1;pointer-events:auto}
#alaz-veil .alaz-veil-in{display:flex;flex-direction:column;align-items:center;gap:14px;transition:transform .32s cubic-bezier(.2,.9,.3,1.2)}
#alaz-veil.out .alaz-veil-in{transform:scale(1.4)}
#alaz-veil img{width:64px;height:64px;filter:drop-shadow(0 0 24px #ff5a1f);animation:flame 1s ease-in-out infinite}
#alaz-veil span{width:90px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,#ff5a1f,#ffd84a,transparent);background-size:200% 100%;animation:skel 1s linear infinite}
@keyframes diceA{0%{transform:translate(-60px,-30px) rotate(-280deg) scale(.5);opacity:0}65%{transform:translate(4px,2px) rotate(18deg) scale(1.08);opacity:1}100%{transform:none}}
@keyframes diceB{0%{transform:translate(60px,-30px) rotate(280deg) scale(.5);opacity:0}65%{transform:translate(-4px,2px) rotate(-18deg) scale(1.08);opacity:1}100%{transform:none}}
@keyframes cardDeal{from{transform:translate(var(--dx,0px),var(--dy,-160px)) rotate(var(--dr,-25deg)) scale(.8);opacity:0}to{transform:translate(0,0) rotate(var(--r,0deg));opacity:1}}
@keyframes turnA{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes turnB{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes tileUp{from{transform:translateY(-26px) rotate(-6deg);opacity:0}to{transform:none;opacity:1}}

/* ---- style.css ---- */
/* ============ alaz.fun bileşenleri (tokenlar: alaz.css) ============ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-lg);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 0.8em;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Oyunlar ---------- */
/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .stage {
    padding: 12px;
  }
}

/* ---- site.css ---- */
/* ============ alaz.fun · yeni tasarım: ortak parçalar ============ */
html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}
body {
  font-size: var(--fs-lg);
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  color: var(--accent-text);
  text-decoration: none;
}
a:hover {
  color: var(--accent-2);
  text-decoration: none;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
h1,
h2,
h3 {
  font-stretch: 125%;
  letter-spacing: -0.03em;
}
.mono,
.code {
  font-family: var(--mono);
}
.label {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.b {
  font-weight: 800;
}
.muted {
  color: var(--muted);
}
.page-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px clamp(16px, 3.5vw, 48px) 110px;
}

/* ---- Butonlar ---- */
.btn {
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font);
  font-weight: 800;
  font-size: var(--fs-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.12s, box-shadow 0.12s, color 0.2s;
}
.btn:hover {
  background: var(--surface-3);
  color: var(--text);
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  background: var(--surface-3);
  color: var(--muted);
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-primary {
  border: none;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  box-shadow: 0 4px 0 var(--accent-deep);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-ink);
  filter: brightness(1.06);
}
.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--accent-deep);
}
.btn-ghost {
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-danger {
  border: 1px solid var(--bad);
  background: var(--bad-soft);
  color: var(--bad-text);
}
.btn-danger:hover {
  background: var(--bad-soft);
  color: var(--bad-text);
  filter: brightness(1.1);
}
.btn-sm {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}
.btn-lg {
  height: 56px;
  padding: 0 28px;
  border-radius: var(--r-md);
  font-size: var(--fs-lg);
}
.btn-xl {
  height: 60px;
  padding: 0 32px;
  border-radius: var(--r-lg);
  font-size: var(--fs-lg);
  font-stretch: 115%;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 0 var(--accent-deep);
}
.btn-block {
  width: 100%;
}
.chip-btn {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.chip-btn:hover {
  background: var(--surface-2);
}

/* ---- Girdiler ---- */
.input,
.select,
textarea.input {
  height: 50px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  font-size: var(--fs-lg);
  font-family: var(--font);
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus,
.select:focus {
  border-color: var(--accent);
}
.input.bad {
  border-color: var(--bad);
}
.select {
  background: var(--surface-2);
  padding: 0 12px;
  font-size: var(--fs-lg);
  cursor: pointer;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-2);
}
.field .err {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--bad-text);
}

/* ---- Kart, hap, avatar ---- */
.card {
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: none;
}
.card h3,
.card-title {
  margin: 0;
  font-weight: 800;
  font-size: var(--fs-lg);
  font-stretch: 100%;
  letter-spacing: 0;
}
.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.card-title-row a {
  font-size: var(--fs-md);
  font-weight: 700;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-2);
}
.pill.accent {
  color: var(--accent-text);
  background: var(--accent-soft);
}
.pill.good {
  color: var(--good-text);
  background: var(--good-soft);
}
.pill.bad {
  color: var(--bad-text);
  background: var(--bad-soft);
}
.tag {
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0b0907;
  background: #ffd84a;
  padding: 4px 8px;
  border-radius: 4px;
}
.avatar {
  width: var(--size, 36px);
  height: var(--size, 36px);
  flex: none;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: calc(var(--size, 36px) * 0.52);
  line-height: 1;
  position: relative;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  animation: pulseG 1.6s infinite;
  flex: none;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: pulse 1.2s infinite;
  flex: none;
}
.on-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--good);
}
.empty {
  color: var(--muted);
  font-size: var(--fs-md);
  text-align: center;
  padding: 18px 8px;
}

/* ---- Üst menü ---- */
#topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  padding: 0;
  background: none;
  border: none;
  backdrop-filter: none;
}
body.bare #topbar:empty {
  display: none;
}
.tb {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(14px, 3vw, 32px);
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.tb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-height: 44px;
  font-size: var(--fs-2xl);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.02em;
}
.tb-logo:hover {
  color: var(--text);
}
.tb-logo img {
  animation: flame 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px #ff5a1f88);
}
.tb-logo .tld {
  color: var(--accent-text);
}
.tb-nav {
  display: flex;
  gap: 4px;
}
.tb-nav a {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--text-2);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tb-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.tb-nav a.on {
  background: var(--surface-3);
  color: var(--text);
}
.tb-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--fs-xs);
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}
.tb-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.tb-online {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--good-soft);
  background: var(--good-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--good-text);
}
.tb-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-size: var(--fs-xl);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--font);
}
.tb-btn:hover {
  background: var(--surface-2);
}
.tb-btn.off {
  color: var(--muted);
}
.tb-btn .strike {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--bad);
  transform: rotate(-45deg);
  border-radius: 2px;
}
.tb-bell {
  font-size: var(--fs-sm);
  font-weight: 800;
}
.tb-bell .ping {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s infinite;
}
.tb-user {
  height: 44px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--fs-md);
}
.tb-user > span:last-child {
  padding-right: 8px;
}
.tb-pop {
  position: absolute;
  right: 0;
  top: 54px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform-origin: top right;
  animation: flipIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  z-index: 70;
}
.tb-pop.menu {
  width: 220px;
}
.tb-pop.menu a,
.tb-pop.menu button {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  font-size: var(--fs-lg);
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
}
.tb-pop.menu a:hover,
.tb-pop.menu button:hover {
  background: var(--surface-2);
}
.tb-pop.menu .danger {
  color: var(--bad-text);
}
.tb-pop.menu .danger:hover {
  background: var(--bad-soft);
}
.tb-pop.notif {
  width: min(360px, calc(100vw - 28px));
  padding: 10px;
  gap: 6px;
}
.tb-pop-title {
  padding: 8px 10px;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.notif-item {
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notif-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--fs-md);
  line-height: 1.35;
}
.notif-row .acc {
  color: var(--accent-text);
}
.notif-acts {
  display: flex;
  gap: 6px;
}
.notif-acts .btn {
  flex: 1;
  border-radius: var(--r-sm);
}
.notif-empty {
  padding: 14px 10px;
  color: var(--muted);
  font-size: var(--fs-md);
}

/* Telefonda alt sekme çubuğu */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  z-index: 55;
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}
.tabbar a {
  flex: 1;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text-2);
}
.tabbar a img {
  opacity: 0.35;
  filter: grayscale(1);
  transform: scale(0.85);
  transition: all 0.3s;
}
.tabbar a.on {
  color: var(--text);
}
.tabbar a.on img {
  opacity: 1;
  filter: drop-shadow(0 0 8px #ff5a1f);
  transform: scale(1.1);
  animation: flame 1.4s ease-in-out infinite;
}
@media (max-width: 720px) {
  body:not(.bare) #app {
    padding-bottom: 68px;
  }
}

/* ---- Bildirim (toast) ---- */
#toasts {
  position: fixed;
  right: 16px;
  top: 80px;
  left: auto;
  bottom: auto;
  transform: none;
  width: min(360px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 400;
  pointer-events: none;
  align-items: stretch;
}
.toast {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
  transform-origin: top;
  animation: flipIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 1;
  max-width: none;
  min-width: 0;
}
.toast.hide {
  opacity: 0;
  transform: translateY(-8px);
}
.toast-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.toast-ico {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.toast-text {
  font-size: var(--fs-md);
  line-height: 1.4;
  flex: 1;
}
.toast-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: var(--fs-lg);
  position: static;
}
.toast-actions {
  display: flex;
  gap: 6px;
  margin: 0;
}
.toast-actions .btn {
  flex: 1;
  border-radius: var(--r-sm);
}
.toast-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform-origin: left;
  animation: shrink linear both;
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.modal-overlay.show {
  opacity: 1;
}
.modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: rise3d 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
.modal.wide {
  width: min(760px, 100%);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal-head h3 {
  margin: 0;
  font-size: var(--fs-2xl);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
}
.modal-head .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-size: var(--fs-xl);
  cursor: pointer;
}
.modal-body {
  color: var(--text-2);
  font-size: var(--fs-lg);
}
.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ---- Alt bilgi ---- */
#footer:empty {
  display: none;
}
#footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  padding: clamp(28px, 5vw, 56px) clamp(16px, 3.5vw, 48px) clamp(96px, 10vw, 48px);
}
.ft {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ft-top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
}
.ft-brand {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
}
.ft-brand .tb-logo img {
  animation: none;
  filter: none;
}
.ft-brand p {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-2);
}
.ft-brand p.muted {
  color: var(--muted);
}
.ft-col {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ft-col .label {
  margin-bottom: 6px;
}
.ft-col a {
  min-height: 36px;
  display: flex;
  align-items: center;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-2);
}
.ft-col a:hover {
  color: var(--accent-text);
}
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Çerez şeridi */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 84px;
  margin: 0 auto;
  max-width: 620px;
  z-index: 80;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-origin: bottom;
  animation: rise3d 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
.cookie-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-2);
}
.cookie-row b {
  color: var(--text);
}
.cookie-row img {
  flex: none;
}
.cookie-acts {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ---- Küçük yardımcılar ---- */
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.hidden { display: none !important; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; }
.dot.on { background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.user-link { color: var(--text); font-weight: 800; }
.user-link:hover { color: var(--accent-text); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: transparent; color: var(--text-2); font-size: var(--fs-xl); cursor: pointer; display: inline-grid; place-items: center; font-family: var(--font); }
.icon-btn:hover { background: var(--surface-2); }
.tb-logo { flex: none; }
#app { min-height: calc(100vh - 68px); }
p { margin: 0 0 0.8em; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.15; font-weight: 900; }

.tb-lang { font-size: var(--fs-sm); font-weight: 900; letter-spacing: .04em; }

/* Oda botları */
.pl-ava { position: relative; }
.pl-bot { position: absolute; right: -6px; bottom: -6px; font-size: var(--fs-lg); filter: drop-shadow(0 1px 2px #0008); }

/* Bağlantı şeridi: soket kopunca üstte */
.net-strip { position: fixed; left: 50%; top: var(--sp-3); z-index: 450; transform: translate(-50%, -160%); padding: var(--sp-2) var(--sp-4); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: var(--fw-heavy); box-shadow: var(--e2); transition: transform var(--dur-3) var(--ease-pop); pointer-events: none; white-space: nowrap; }
.net-strip.on { transform: translate(-50%, 0); }
.net-strip.down { background: var(--bad-soft); color: var(--bad-text); border: 1px solid var(--bad); }
.net-strip.up { background: var(--good-soft); color: var(--good-text); border: 1px solid var(--good); }

/* Dokunmatikte küçük metin linklerinin dokunma alanı genişler (görünüm aynı kalır) */
@media (pointer: coarse) {
  .card a:not(.btn), .ptail-row a, .flist a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  #footer a, .chip-btn { min-height: var(--tap); display: inline-flex; align-items: center; }
}

/* ---- pages.css ---- */
/* ============ alaz.fun · sayfalar ============ */
.fill-abs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -40px;
  height: 300px;
  background-image: linear-gradient(#ff5a1f2a 1px, transparent 1px), linear-gradient(90deg, #ff5a1f2a 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  animation: gridMove 1.6s linear infinite;
  pointer-events: none;
}
.sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40px;
  background: #ffffff77;
  animation: sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}
.h-page {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.92;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.04em;
}
.h-sec {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
}

/* ---------- Giriş ---------- */
.auth {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  background: var(--bg);
}
.auth-hero {
  flex: 1 1 560px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #3a1608 0%, #0b0907 65%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 48px);
}
.auth-logo {
  position: relative;
  z-index: 2;
  color: #f7efe6;
}
.auth-logo img {
  animation: none;
  filter: none;
}
.auth-logo .tld {
  color: #ff8a4b;
}
.auth-orbit-wrap {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 0;
  height: 0;
  perspective: 900px;
}
.auth-orbit {
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateX(-14deg);
}
.auth-flame {
  position: absolute;
  left: -70px;
  top: -80px;
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 0 40px #ff5a1f);
  animation: flame 1.6s ease-in-out infinite;
}
.orb {
  position: absolute;
  left: -28px;
  top: -28px;
  width: 56px;
  height: 56px;
  transform-style: preserve-3d;
}
.orb > div {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--fs-3xl);
  box-shadow: 0 10px 30px #0008, 0 0 0 3px #0b0907;
}
.auth-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}
.auth-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.9;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.04em;
  color: #f7efe6;
  text-shadow: 1px 1px 0 #f2601f, 2px 2px 0 #d04515, 3px 3px 0 #b83a10, 4px 4px 0 #80270a, 6px 10px 24px #000;
}
.auth-copy p {
  margin: 0;
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: #d9cdc0;
}
.auth-copy b {
  color: #f7efe6;
}
.auth-side {
  flex: 1 1 420px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px) clamp(16px, 4vw, 48px);
}
.auth-box {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: rise3d 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.auth-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-h {
  font-size: var(--fs-3xl);
  font-weight: 900;
  font-stretch: 120%;
  letter-spacing: -0.03em;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.seg button {
  height: 44px;
  border-radius: var(--r-sm);
  border: none;
  font-family: var(--font);
  font-weight: 800;
  font-size: var(--fs-lg);
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  transition: background 0.2s;
}
.seg button.on {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form .input {
  height: 52px;
}
.auth-err {
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--bad-soft);
  color: var(--bad-text);
  font-size: var(--fs-md);
  font-weight: 700;
}
.auth-cta {
  position: relative;
  overflow: hidden;
  height: 56px;
  border-radius: var(--r-md);
  font-size: var(--fs-lg);
  letter-spacing: 0.03em;
}
.auth-note {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .auth-hero {
    min-height: 420px;
  }
}

/* Açılış sahnesi */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: radial-gradient(ellipse at 50% 55%, #2a1006, #050302 70%);
  display: grid;
  place-items: center;
  cursor: pointer;
  animation: introOut 0.6s 3.4s both;
}
.intro-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.intro-flame {
  position: relative;
  width: 140px;
  height: 140px;
}
.intro-flame .glow {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff5a1f66, transparent 65%);
  animation: sparkGrow 1.4s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.intro-flame img {
  position: absolute;
  inset: 0;
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 0 40px #ff5a1f);
  animation: sparkGrow 1.1s 0.3s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}
.intro-word {
  display: flex;
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.04em;
  line-height: 1;
}
.intro-word span {
  display: inline-block;
  animation: ignite 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.intro-sub {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #a3978b;
  letter-spacing: 0.2em;
  animation: fadeUp 0.6s 2.3s both;
  text-align: center;
}
.intro-skip {
  font-size: var(--fs-xs);
  color: #6b5f55;
  animation: fadeUp 0.6s 2.6s both;
}

/* ---------- Yardımcılar ---------- */
.row-sb { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.row-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wrap-gap { flex-wrap: wrap; align-items: baseline; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.small { font-size: var(--fs-sm); }
.h-sec.big { font-size: clamp(26px, 3vw, 34px); }

/* ---------- Ana Sayfa: vitrin ---------- */
.hero { position: relative; height: clamp(540px, 72vh, 660px); overflow: hidden; background: #0b0907; color: var(--text); perspective: 1200px; perspective-origin: 60% 40%; }
.hero-scene { position: absolute; inset: 0; opacity: 0; filter: blur(8px); transition: opacity 1s ease, filter 1s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.hero-scene.on { opacity: 1; filter: none; pointer-events: auto; }
.hero-tilt { position: absolute; inset: -40px; transform-style: preserve-3d; transition: transform .3s ease-out; }
.hero-floor { left: -10%; right: -10%; bottom: -20px; height: 360px; }
.hero-arena { position: absolute; left: 50%; top: 40px; width: 1280px; height: 100%; margin-left: -600px; }
.hero-glass { position: absolute; left: 730px; top: 20px; width: 110px; height: 560px; transform: translateZ(40px) rotateY(-38deg); transform-origin: left; border-radius: var(--r-xs); border: 1px solid #bff4ff55; background: linear-gradient(180deg,#7fe3ff00 0%,#7fe3ff30 40%,#ffffff40 50%,#7fe3ff30 60%,#7fe3ff00 100%),linear-gradient(90deg,#7fe3ff18,#7fe3ff05); background-size: 100% 400px,100% 100%; animation: glassSheen 5s ease-in-out infinite; box-shadow: 0 0 60px #7fe3ff33, inset 0 0 30px #7fe3ff22; }
.hero-hud { position: absolute; right: clamp(60px,6vw,100px); top: 110px; width: 300px; transform: rotateY(-20deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .3s ease-out; }
.hud-box { padding: 18px; border-radius: var(--r-lg); background: #0b0907b8; backdrop-filter: blur(10px); border: 1px solid #ffffff1c; display: flex; flex-direction: column; gap: 12px; box-shadow: -30px 30px 60px #000a; animation: fadeUp .8s .6s both; color: #f7efe6; }
.hud-live { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; color: #ff9a9a; }
.hud-clock { font-family: var(--mono); font-size: var(--fs-3xl); font-weight: 700; text-shadow: 0 0 18px #ff5a1f; }
.hud-box .b { font-weight: 800; font-size: var(--fs-lg); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-bars { display: flex; gap: 10px; }
.hud-bars > div { flex: 1; height: 6px; border-radius: var(--r-xs); background: #2a211b; overflow: hidden; display: flex; }
.hud-bars > div.r { justify-content: flex-end; }
.hud-bars i { height: 100%; border-radius: var(--r-xs); display: block; }
.hud-bars i.a { background: #ff6a2b; animation: hp 4s ease-in-out infinite; }
.hud-bars i.b { background: #7fe3ff; animation: hp2 3.4s ease-in-out infinite; }
.hud-btn { height: 44px; border-radius: var(--r-sm); border: 1px solid #ffffff22; display: grid; place-items: center; font-size: var(--fs-md); font-weight: 700; color: #f7efe6; transform: translateZ(20px); }
.hud-btn:hover { background: #ffffff12; color: #fff; }
.hero-cards { position: absolute; right: 16%; top: 48%; width: 0; height: 0; perspective: 900px; }
.hero-cards-in { position: absolute; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-18deg); animation: hover3d 5s ease-in-out infinite; }
.hero-card { position: absolute; left: -85px; top: -150px; width: 170px; height: 238px; border-radius: var(--r-lg); border: 4px solid #f4fbff; background: linear-gradient(160deg,color-mix(in oklab,var(--c) 70%,#fff),var(--c) 45%,color-mix(in oklab,var(--c) 65%,#000)); box-shadow: 0 30px 50px -16px #000c, inset 0 0 24px #ffffff55; overflow: hidden; display: grid; place-items: center; color: #fff; }
.hero-card .shine { position: absolute; inset: 0; background: linear-gradient(115deg,#ffffff77,#ffffff00 30%,#ffffff00 62%,#ffffff33 70%,#ffffff00 78%); }
.hero-card .diamond { position: absolute; width: 56%; aspect-ratio: 1; transform: rotate(45deg); border-radius: var(--r-lg); background: #ffffff26; border: 2px solid #ffffff88; }
.hero-card .face { position: relative; font-size: 84px; font-weight: 900; font-stretch: 125%; text-shadow: 0 4px 0 #0004; }
.hero-board { position: absolute; right: 9%; top: 50%; width: 400px; height: 400px; margin-top: -200px; perspective: 1100px; }
.hero-board-spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: boardSpin 40s linear infinite; }
.hero-board-spin .frame { position: absolute; inset: -14px; border-radius: var(--r-md); background: repeating-linear-gradient(91deg,#ffffff0a 0 2px,transparent 2px 9px),linear-gradient(145deg,#7a4e2c,#3a2412); box-shadow: 0 30px 60px #000c; }
.sq6 { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6,1fr); }
.hero-board .pc { position: absolute; width: 16.66%; height: 16.66%; transform-style: preserve-3d; }
.hero-board .pc > span { position: absolute; left: 0; right: 0; bottom: 30%; text-align: center; font-size: 60px; line-height: 1; transform-origin: 50% 100%; animation: counterSpin 40s linear infinite; }
.hero-board .pc.w > span { color: #fbf3e6; text-shadow: 0 1px 0 #8a6a4a,0 -1px 0 #8a6a4a,1px 0 0 #8a6a4a,-1px 0 0 #8a6a4a,0 10px 12px #0009; }
.hero-board .pc.b > span { color: #1a1410; text-shadow: 0 1px 0 #d9c3a8,0 -1px 0 #d9c3a8,1px 0 0 #d9c3a8,-1px 0 0 #d9c3a8,0 10px 12px #0009; }
.hero-words { position: absolute; right: 8%; top: 50%; transform: translateY(-50%) perspective(900px) rotateY(-16deg) rotateX(8deg); display: flex; flex-direction: column; gap: 10px; }
.hero-words > div { display: flex; gap: 10px; }
.hero-words span { width: 76px; height: 76px; border-radius: var(--r-md); color: #fff; display: grid; place-items: center; font-size: 40px; font-weight: 900; box-shadow: inset 0 -5px 0 #0003, 0 14px 24px -10px #000c; animation: tileFlip 3.6s ease-in-out infinite; }
.hero-vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 62% 40%,transparent 30%,#0b0907 92%),linear-gradient(90deg,#0b0907dd 0%,#0b090700 60%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none; background: linear-gradient(#0b090700,#0b0907); }
.hero-grain { position: absolute; inset: -20%; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .8s steps(4) infinite; }
.hero-copy { position: absolute; left: clamp(20px,4vw,56px); right: 20px; bottom: clamp(36px,6vh,72px); max-width: 640px; display: flex; flex-direction: column; gap: 18px; z-index: 2; opacity: 0; transform: translateY(24px); filter: blur(6px); pointer-events: none; transition: opacity .8s ease, transform 1s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
.hero-copy.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tags span { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; padding: 6px 10px; border-radius: 4px; }
.hero-tags .fill { color: #0b0907; background: var(--acc); }
.hero-tags .line { color: var(--acc); border: 1px solid var(--acc); padding: 5px 10px; }
.hero-title-wrap { transform: rotateY(10deg); transform-origin: left center; transition: transform .3s ease-out; }
.hero-title { font-size: clamp(64px,11vw,128px); line-height: .86; font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; color: #f7efe6; }
.hero-copy p { margin: 0; font-size: clamp(16px,1.6vw,19px); line-height: 1.45; color: #d9cdc0; max-width: 460px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-cta { position: relative; overflow: hidden; height: 56px; padding: 0 30px; border-radius: var(--r-pill); border: none; background: var(--acc); color: var(--ink); font-family: var(--font); font-weight: 900; font-stretch: 115%; font-size: var(--fs-lg); letter-spacing: .04em; display: grid; place-items: center; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta:active { transform: translateY(5px); box-shadow: 0 1px 0 #0006 !important; }
.hero-ghost { height: 56px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid #ffffff33; background: #ffffff0a; font-weight: 700; font-size: var(--fs-lg); display: grid; place-items: center; color: #f7efe6; }
.hero-ghost:hover { background: #ffffff18; color: #fff; }
.hero-tabs { position: absolute; right: clamp(20px,4vw,56px); bottom: clamp(36px,6vh,72px); z-index: 3; display: flex; gap: 8px; }
.hero-tab { width: 118px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid #ffffff22; background: #0b090780; backdrop-filter: blur(8px); color: #f7efe6; text-align: left; display: flex; flex-direction: column; gap: 8px; font-family: var(--font); cursor: pointer; transition: background .3s, border-color .3s; }
.hero-tab.on { background: #ffffff1f; border-color: var(--acc); }
.hero-tab .n { font-size: var(--fs-sm); font-weight: 800; }
.hero-tab .bar { height: 3px; border-radius: 3px; background: #ffffff22; overflow: hidden; display: block; }
.hero-tab .bar i { display: none; height: 100%; background: var(--acc); transform-origin: left; animation: progress 7s linear both; }
.hero-tab.on .bar i { display: block; }

/* Kayan şerit */
.ticker { height: 80px; perspective: 600px; display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.ticker-band { width: 110%; margin-left: -5%; height: 54px; background: var(--accent); color: var(--accent-ink); transform: rotateX(18deg) rotateZ(-1.2deg); box-shadow: 0 14px 30px #0006; overflow: hidden; display: flex; align-items: center; }
.ticker-row { display: flex; gap: 40px; white-space: nowrap; animation: marquee 40s linear infinite; padding-left: 40px; }
.ticker-item { display: flex; align-items: center; gap: 40px; font-size: var(--fs-lg); font-weight: 800; font-stretch: 110%; }
.ticker-item .dia { width: 8px; height: 8px; background: var(--accent-ink); transform: rotate(45deg); }

/* Canlı maçlar */
.live-sec { max-width: 1360px; margin: 0 auto; padding: 18px clamp(16px,3.5vw,48px) 0; display: flex; flex-direction: column; gap: 14px; }
.live-count { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 800; color: var(--bad-text); }
.live-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.live-card { flex: 0 0 min(320px,84vw); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .3s cubic-bezier(.2,.9,.3,1.2), border-color .3s; animation: cardIn3d .6s both; }
.live-card:hover { transform: translateY(-5px); border-color: var(--bad); color: var(--text); }
.live-card:active { transform: scale(.97); }
.live-cover { position: relative; aspect-ratio: 16/8; background-size: cover; background-position: center; }
.live-badge { position: absolute; left: 10px; top: 10px; font-size: var(--fs-2xs); font-weight: 900; letter-spacing: .12em; color: #fff; background: #e8263b; padding: 4px 8px; border-radius: 4px; display: flex; align-items: center; gap: 6px; }
.live-badge .blink { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.live-view { position: absolute; right: 10px; top: 10px; font-size: var(--fs-xs); font-weight: 700; color: #f7efe6; background: #0b0907bb; padding: 4px 8px; border-radius: var(--r-pill); }
.live-game { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; background: linear-gradient(#0000,#000c); color: #f7efe6; font-weight: 800; font-size: var(--fs-md); }
.live-players { padding: 12px; display: flex; align-items: center; gap: 8px; }
.live-players .nm { font-weight: 700; font-size: var(--fs-md); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-players .nm.r { text-align: right; }
.live-players .vs { font-family: var(--mono); font-weight: 700; font-size: var(--fs-md); padding: 2px 6px; border-radius: var(--r-xs); background: var(--surface-2); flex: none; }
.live-prog { height: 3px; background: var(--surface-3); }
.live-prog > div { height: 100%; background: var(--bad); transition: width 1s; }
.live-empty { flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 1px dashed var(--border-2); color: var(--text-2); font-size: var(--fs-md); }
.live-empty img { width: 36px; height: 36px; animation: flame 1.6s infinite; }

/* Oyun ızgarası */
.home-main { max-width: 1360px; margin: 0 auto; padding: 32px clamp(16px,3.5vw,48px) 110px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.home-games { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.gc { display: block; color: var(--text); perspective: 800px; animation: cardIn3d .8s cubic-bezier(.2,.8,.2,1) both; }
.gc:hover { color: var(--text); }
.gc:active { transform: scale(.97); }
.gc-in { position: relative; transform-style: preserve-3d; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .45s cubic-bezier(.2,.9,.3,1.2), border-color .3s, box-shadow .3s; }
.gc:hover .gc-in { transform: rotateX(10deg) rotateY(-12deg) translateZ(14px); border-color: var(--accent); box-shadow: -20px 30px 50px #0000004d; }
.gc-glow { position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none; z-index: 3; background: radial-gradient(260px circle at var(--mx,-300px) var(--my,-300px),#ffffff26,transparent 60%); mix-blend-mode: overlay; }
.gc-cover { position: relative; aspect-ratio: 16/10; border-radius: 17px 17px 0 0; overflow: hidden; background: #100c0a; }
.gc-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gc-cone { position: absolute; inset: -60%; opacity: .18; mix-blend-mode: screen; animation: spin 9s linear infinite; }
.gc-rooms { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: #f7efe6; background: #0b0907bb; padding: 5px 9px; border-radius: var(--r-pill); z-index: 3; }
.gc-rooms .g { width: 6px; height: 6px; border-radius: 50%; background: #3ad07a; }
.gc-tag { position: absolute; left: 10px; top: 10px; transform: translateZ(40px); z-index: 4; }
.gc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; transform: translateZ(22px); }
.gc-name { font-size: var(--fs-xl); font-weight: 800; font-stretch: 110%; }
.gc-pl { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); white-space: nowrap; }
.gc-desc { font-size: var(--fs-md); color: var(--muted); line-height: 1.4; }

/* Yan sütun */
.home-aside { flex: 1 1 300px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.online-big { font-size: 56px; font-weight: 900; font-stretch: 125%; line-height: 1; font-variant-numeric: tabular-nums; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 44px; }
.eq > div { width: 5px; border-radius: 3px; background: linear-gradient(var(--accent-2),var(--accent)); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.flow-border { padding: 2px; border-radius: var(--r-lg); background: linear-gradient(90deg,#ff5a1f,#ffd84a,#7fe3ff,#ff5a1f); background-size: 200% 100%; animation: borderFlow 4s linear infinite; }
.flow-border > .card { border: none; border-radius: var(--r-lg); }
.invite-row { display: flex; gap: 6px; }
.invite-row .input { height: 44px; border-radius: var(--r-sm); background: var(--bg); border-color: var(--border); font-size: var(--fs-md); }
.invite-url { flex: 1; min-width: 0; height: 44px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--border); padding: 0 12px; display: flex; align-items: center; font-family: var(--mono); font-size: var(--fs-sm); color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.flist { display: flex; flex-direction: column; gap: 4px; }
.frow { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.ava-btn { position: relative; padding: 0; border: none; background: none; cursor: pointer; display: grid; flex: none; }
.fname { font-weight: 700; font-size: var(--fs-lg); }
.fstat { font-size: var(--fs-sm); color: var(--muted); }
.gchat-log { height: 220px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; -webkit-mask-image: linear-gradient(transparent,#000 30%); mask-image: linear-gradient(transparent,#000 30%); }
.gchat-msg { display: flex; gap: 10px; align-items: flex-start; flex: none; animation: fadeUp .45s both; font-size: var(--fs-md); line-height: 1.4; }
.gchat-msg .b { font-weight: 800; }
.gchat-msg .t { color: var(--text-2); overflow-wrap: anywhere; }
.gchat-empty { margin: auto; text-align: center; color: var(--muted); font-size: var(--fs-md); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.gchat-empty img { width: 32px; opacity: .6; animation: flame 1.6s infinite; }
.podium { min-height: 270px; padding-top: 12px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; perspective: 700px; perspective-origin: 50% -40%; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pod-ava { cursor: pointer; width: 42px; height: 42px; border-radius: 50%; border: none; display: grid; place-items: center; font-size: var(--fs-xl); animation: hover3d 3s ease-in-out infinite; }
.pod-name { font-size: var(--fs-xs); font-weight: 800; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-col { position: relative; width: 72px; transform-style: preserve-3d; transform: rotateX(-12deg); }
.pod-top { position: absolute; left: 0; right: 0; top: 0; height: 40px; transform-origin: top; transform: translateZ(-20px) rotateX(90deg); }
.pod-front { position: absolute; inset: 0; transform: translateZ(20px); background: linear-gradient(var(--surface-3),var(--surface-2)); border: 1px solid var(--border-2); display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.pod-rank { font-size: var(--fs-2xl); font-weight: 900; font-stretch: 125%; }
.pod-wins { font-family: var(--mono); font-size: var(--fs-xs); color: var(--text-2); }
.ptail-row { display: flex; align-items: center; gap: 12px; min-height: 36px; padding-top: 6px; border-top: 1px solid var(--border); font-size: var(--fs-md); }
.ptail-row .rk { width: 18px; font-weight: 900; color: var(--muted); }
.ptail-row a { color: var(--text); }

/* Oyuncu kartı */
.pc-overlay { position: fixed; inset: 0; z-index: 90; background: var(--overlay); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: fadeUp .25s both; }
.pc-persp { perspective: 1200px; animation: cardFlipIn .6s cubic-bezier(.2,.9,.3,1.2) both; }
.pc-card { position: relative; width: min(320px,86vw); height: 460px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.pc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-xl); padding: 3px; background-size: 200% 200%; animation: borderFlow 3s linear infinite; }
.pc-face.back { transform: rotateY(180deg); box-shadow: 0 40px 80px -20px #000d; }
.pc-in { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; color: #f7efe6; display: flex; flex-direction: column; align-items: center; padding: 24px 20px; gap: 12px; text-align: center; }
.pc-gloss { position: absolute; inset: 0; background: linear-gradient(115deg,#ffffff1f,transparent 35%); pointer-events: none; }
.pc-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); font-weight: 900; letter-spacing: .16em; }
.pc-lv { font-size: var(--fs-sm); padding: 4px 10px; border-radius: var(--r-pill); background: #ffffff14; letter-spacing: 0; }
.pc-ava { position: relative; width: 132px; height: 132px; margin-top: 8px; }
.pc-ava .ring { position: absolute; inset: -8px; border-radius: 50%; animation: spin 4s linear infinite; }
.pc-ava .hole { position: absolute; inset: -2px; border-radius: 50%; background: #0b0907; }
.pc-ava .face { position: absolute; inset: 4px; border-radius: 50%; display: grid; place-items: center; font-size: 66px; animation: hover3d 4s ease-in-out infinite; }
.pc-name { font-size: var(--fs-3xl); font-weight: 900; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; }
.pc-title { font-size: var(--fs-md); color: #d9cdc0; font-weight: 700; }
.pc-stats { align-self: stretch; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: auto; }
.pc-stats > div { padding: 10px 4px; border-radius: var(--r-md); background: #ffffff0f; }
.pc-stats .v { font-size: var(--fs-xl); font-weight: 900; }
.pc-stats .k { font-size: var(--fs-2xs); color: #a3978b; font-weight: 800; }
.pc-hint { font-size: var(--fs-xs); color: #8a7f73; }
.pc-in2 { height: 100%; border-radius: var(--r-xl); background: #0f0c0a; color: #f7efe6; display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.pc-bt { font-size: var(--fs-xl); font-weight: 900; }
.pc-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.pc-badges > div { aspect-ratio: 1; border-radius: var(--r-md); display: grid; place-items: center; font-size: var(--fs-2xl); font-weight: 900; color: #fff; box-shadow: inset 0 2px 0 #ffffff55; }
.pc-fav { font-size: var(--fs-md); color: #d9cdc0; line-height: 1.5; }
.pc-fav b { color: #f7efe6; }
.pc-go { margin-top: auto; height: 48px; border-radius: var(--r-md); background: #ff5a1f; color: #160700; font-weight: 900; display: grid; place-items: center; }
.pc-go:hover { color: #160700; filter: brightness(1.08); }

/* ---------- Lobi ---------- */
.col { display: flex; flex-direction: column; }
.lobby { position: relative; min-height: calc(100vh - 68px); overflow-x: hidden; }
.lobby-glow { position: absolute; left: 0; right: 0; top: 0; height: 420px; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 30% 0%, var(--accent-soft), transparent 70%); -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.lobby-in { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(24px,4vw,48px) clamp(16px,3.5vw,48px) 120px; display: flex; flex-direction: column; gap: 28px; }
.lobby-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.lobby .h-page { font-size: clamp(40px,6vw,72px); line-height: .95; }
.code-wrap { display: flex; gap: 6px; padding: 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.code-label { position: relative; display: flex; gap: 6px; cursor: text; }
.code-box { width: clamp(38px,9vw,44px); height: 52px; border-radius: var(--r-sm); background: var(--surface-2); border: 2px solid var(--border); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: var(--fs-2xl); color: var(--text); transition: border-color .2s; }
.code-input { position: absolute; inset: 0; opacity: 0; font-size: var(--fs-2xl); width: 100%; cursor: text; }
.code-join { height: 52px; padding: 0 18px; border-radius: var(--r-sm); border: none; background: var(--surface-3); color: var(--muted); font-family: var(--font); font-weight: 800; font-size: var(--fs-lg); cursor: pointer; transition: background .2s; }
.code-join.ready { background: var(--accent); color: var(--accent-ink); }
.lobby-create { height: 64px; padding: 0 26px; border-radius: var(--r-lg); font-stretch: 115%; font-size: var(--fs-lg); box-shadow: 0 6px 0 var(--accent-deep); }
.lobby-create:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--accent-deep); }
.fchips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.fchip { flex: none; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--border-2); background: transparent; color: var(--text-2); font-family: var(--font); font-weight: 700; font-size: var(--fs-md); cursor: pointer; }
.fchip:hover { background: var(--surface-2); }
.fchip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.room-list { display: flex; flex-direction: column; gap: 12px; }
.skel-row { height: 86px; border-radius: var(--r-lg); border: 1px solid var(--border); background: linear-gradient(90deg,var(--surface) 25%,var(--surface-2) 50%,var(--surface) 75%); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
.room-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .3s cubic-bezier(.2,.9,.3,1.2), border-color .2s, box-shadow .3s; animation: cardIn3d .6s both; }
.room-row:hover { transform: perspective(900px) rotateX(4deg) translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow); }
.room-cover { width: 96px; height: 60px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.room-info { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.room-game { font-size: var(--fs-lg); font-weight: 800; }
.room-code { font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); border: 1px solid var(--border-2); padding: 2px 6px; border-radius: var(--r-xs); }
.room-owner { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); color: var(--muted); }
.room-count { display: flex; align-items: center; gap: 10px; }
.stack { display: flex; padding-left: 8px; }
.stack .avatar { margin-left: -8px; border: 2px solid var(--surface); box-sizing: content-box; }
.room-st { font-size: var(--fs-xs); font-weight: 800; padding: 5px 10px; border-radius: var(--r-pill); }
.room-go { min-width: 92px; height: 44px; border-radius: var(--r-md); }
.room-empty { padding: 48px; text-align: center; border-radius: var(--r-lg); border: 1px dashed var(--border-2); color: var(--muted); font-size: var(--fs-lg); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.pick { padding: 6px; border-radius: var(--r-md); border: 2px solid transparent; background: var(--surface-2); cursor: pointer; display: flex; flex-direction: column; gap: 6px; font-family: var(--font); color: var(--text); transition: transform .2s, border-color .2s; text-align: left; }
.pick img { width: 100%; aspect-ratio: 16/10; border-radius: var(--r-sm); object-fit: cover; }
.pick span { font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; }
.pick.on { border-color: var(--accent); transform: translateY(-3px); }
.switch-row { height: 48px; border-radius: var(--r-md); border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); padding: 0 12px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font); font-size: var(--fs-lg); font-weight: 600; cursor: pointer; }
.switch { width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--surface-3); position: relative; transition: background .2s; flex: none; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 2px 4px #0004; }
.switch.on { background: var(--accent); }
.switch.on i { left: 21px; }
.modal .field { color: var(--text-2); }
.modal .select { height: 48px; }

/* ---------- Oda ---------- */
.rm { max-width: 1400px; margin: 0 auto; padding: clamp(16px,3vw,32px) clamp(12px,3vw,32px) 110px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.rm-main { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rm-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rm-back { height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--text-2); font-weight: 700; font-size: var(--fs-md); }
.rm-back:hover { background: var(--surface-2); color: var(--text); }
.rm-title { margin: 0; font-size: clamp(22px,3vw,30px); font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; }
.rm-code { font-family: var(--mono); font-size: var(--fs-sm); color: var(--muted); border: 1px solid var(--border-2); padding: 3px 8px; border-radius: var(--r-xs); }
.rm-phases { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); }
.rm-phases span { height: 36px; padding: 0 14px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: var(--fs-sm); }
.rm-phases span.on { background: var(--surface-3); color: var(--text); }
.rm-stage-wrap { position: relative; }
.rm-stage { position: relative; min-height: clamp(460px,64vh,640px); border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(ellipse at 50% 30%,var(--surface-2),var(--bg-2) 75%); border: 1px solid var(--border); padding: clamp(14px,3vw,32px); }
.rm-stage.center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rm-overlay-host { position: absolute; inset: 0; pointer-events: none; border-radius: var(--r-xl); overflow: hidden; }
.rm-overlay-host > * { pointer-events: auto; }
.rm-wait { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; max-width: 560px; width: 100%; }
.rm-cover-wrap { perspective: 900px; }
.rm-cover { width: min(380px,80vw); aspect-ratio: 16/10; border-radius: var(--r-lg); object-fit: cover; box-shadow: 0 40px 60px -20px #000c, 0 0 0 1px #ffffff14; transform: rotateX(18deg) rotateY(-10deg); animation: hover3d 4s ease-in-out infinite; }
.rm-wait-title { font-size: clamp(26px,4vw,40px); font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; line-height: 1.05; }
.rm-share { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }
.rm-codebox { display: flex; gap: 6px; align-items: center; padding: 6px 6px 6px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.rm-bigcode { font-family: var(--mono); font-size: var(--fs-2xl); font-weight: 700; letter-spacing: .18em; padding: 0 6px; }
.rm-tall { height: 56px; border-radius: var(--r-md); font-weight: 700; }
.rm-start { box-shadow: 0 6px 0 var(--accent-deep), 0 16px 40px #ff5a1f55; }
.rm-start:disabled { box-shadow: none; }
.rm-rules { width: 100%; text-align: left; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); padding: 12px 16px; font-size: var(--fs-md); color: var(--text-2); }
.rm-rules summary { cursor: pointer; font-weight: 800; color: var(--text); }
.rm-rules ul { margin: 10px 0 0; padding-left: 20px; line-height: 1.6; }
.rm-side { flex: 1 1 320px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.pl-row { display: flex; align-items: center; gap: 12px; min-height: 52px; animation: fadeUp .4s both; }
.pl-row.off { opacity: .55; }
.pl-ava { position: relative; display: grid; flex: none; }
.pl-ava .crown { position: absolute; top: -12px; left: 50%; margin-left: -9px; font-size: var(--fs-lg); }
.pl-lv { font-size: var(--fs-2xs); font-weight: 900; padding: 3px 7px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); }
.pl-kick { height: 36px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: transparent; color: var(--bad-text); font-family: var(--font); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.pl-kick:hover { background: var(--bad-soft); }
.pl-spec { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--fs-md); font-weight: 600; color: var(--text-2); }
.set-row .select { width: auto; max-width: 60%; height: 44px; border-radius: var(--r-sm); font-size: var(--fs-md); padding: 0 10px; }

/* Oda sohbeti */
.rchat { display: flex; flex-direction: column; gap: 10px; }
.rchat-log { height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.rchat-msg { display: flex; gap: 8px; align-items: flex-end; flex: none; animation: fadeUp .35s both; }
.rchat-msg.mine { flex-direction: row-reverse; }
.rchat-msg .bubble { max-width: 80%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); color: var(--text); font-size: var(--fs-md); line-height: 1.35; overflow-wrap: anywhere; }
.rchat-msg.mine .bubble { border-radius: 14px 14px 4px 14px; background: var(--accent); color: var(--accent-ink); }
.rchat-msg .who { font-size: var(--fs-xs); font-weight: 800; color: var(--muted); margin-bottom: 2px; }
.rchat-sys { align-self: center; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 4px 10px; border-radius: var(--r-pill); text-align: center; max-width: 95%; }
.rchat-empty { margin: auto; color: var(--muted); font-size: var(--fs-md); }
.rchat-quick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.rchat-quick button { flex: none; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-2); font-family: var(--font); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.rchat-quick button:hover { border-color: var(--accent); color: var(--text); }
.rchat .input { height: 44px; border-radius: var(--r-sm); background: var(--bg); border-color: var(--border); font-size: var(--fs-md); }

/* Tepkiler */
.react-bar { position: fixed; left: 16px; bottom: 84px; z-index: 58; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.react-pill { display: flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); }
.react-pill button { width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; font-size: var(--fs-2xl); font-weight: 900; font-family: var(--font); color: var(--text); cursor: pointer; transition: transform .15s; }
.react-pill button.gg { font-size: var(--fs-lg); }
.react-pill button:hover { transform: scale(1.25) translateY(-3px); background: var(--surface-2); }
.react-pill button:active { transform: scale(.9); }
.react-fly { position: fixed; inset: 0; pointer-events: none; z-index: 57; overflow: hidden; }
.react-item { position: absolute; bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: reactFly 2.6s cubic-bezier(.2,.7,.4,1) both; }
.react-item .v { line-height: 1; filter: drop-shadow(0 6px 10px #0006); font-weight: 900; color: var(--accent-text); }
.react-item .who { font-size: var(--fs-xs); font-weight: 800; padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface); color: var(--text); border: 1px solid var(--border-2); }
@media (min-width: 721px) { .react-bar { bottom: 24px; } }

/* Ritüel */
.ritual { position: absolute; inset: 0; z-index: 20; background: radial-gradient(ellipse at 50% 50%,#2a1006ee,#050302f5 70%); display: grid; place-items: center; color: #f7efe6; animation: fadeUp .3s both; }
.ritual-lineup { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.ritual-q { font-size: clamp(20px,3vw,28px); font-weight: 900; font-stretch: 125%; letter-spacing: .06em; animation: fadeUp .4s both; }
.ritual-row { display: flex; gap: clamp(14px,4vw,36px); perspective: 800px; flex-wrap: wrap; justify-content: center; }
.ritual-p { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: lineup .6s cubic-bezier(.2,.9,.3,1.3) both; }
.ritual-ava { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; box-shadow: 0 0 0 4px #0b0907, 0 0 0 7px #ffd84a, 0 0 40px #ff5a1f; }
.ritual-ava .ok { position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%; background: #3ad07a; color: #04140a; display: grid; place-items: center; font-size: var(--fs-xl); font-weight: 900; border: 3px solid #0b0907; animation: levelPop .4s both; }
.ritual-n { font-size: clamp(120px,22vw,240px); font-weight: 900; font-stretch: 125%; line-height: 1; color: #f7efe6; text-shadow: 2px 2px 0 #f2601f, 4px 4px 0 #d04515, 6px 6px 0 #a8300a, 8px 8px 0 #631d07, 0 0 80px #ff5a1f; animation: countBig .8s cubic-bezier(.2,.8,.2,1) both; }
.ritual-n.go { font-size: clamp(64px,13vw,150px); }

/* Sonuç */
.result { position: absolute; inset: 0; z-index: 15; display: grid; place-items: center; overflow: hidden; padding: 20px; background: color-mix(in srgb, var(--bg-2) 88%, transparent); backdrop-filter: blur(4px); }
.result-rays { position: absolute; left: 50%; top: 42%; width: 1400px; height: 1400px; -webkit-mask-image: radial-gradient(circle,#000 0%,transparent 45%); mask-image: radial-gradient(circle,#000 0%,transparent 45%); animation: rays 24s linear infinite; pointer-events: none; opacity: .55; transform: translate(-50%,-50%); }
.result-burst { position: absolute; left: 50%; top: 42%; width: 300px; height: 300px; border-radius: 50%; animation: burst 1.1s cubic-bezier(.2,.8,.2,1) both; pointer-events: none; }
.result-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; animation: slowmo 1.4s cubic-bezier(.2,.8,.2,1) both; max-width: 100%; }
.result-crown { font-size: 64px; line-height: 1; animation: crownIn .8s cubic-bezier(.2,.9,.3,1.4) both; }
.result-ava { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 60px; box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 9px var(--accent-2), 0 0 60px var(--accent); animation: rise3d .8s .1s both; }
.result-title { font-size: clamp(36px,6vw,64px); font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; animation: fadeUp .6s .3s both; }
.result-sub { font-size: var(--fs-lg); color: var(--text-2); animation: fadeUp .6s .4s both; }
.xp-card { width: min(420px,84vw); display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-2); animation: rise3d .7s .7s both; text-align: left; }
.xp-lv { width: 34px; height: 34px; border-radius: var(--r-sm); background: linear-gradient(135deg,var(--accent-2),var(--accent)); color: var(--accent-ink); display: grid; place-items: center; font-weight: 900; animation: levelPop .5s 2.1s both; }
.xp-track { height: 12px; border-radius: var(--r-md); background: var(--surface-3); overflow: hidden; }
.xp-fill { height: 100%; border-radius: var(--r-md); background: linear-gradient(90deg,var(--accent),var(--accent-2)); box-shadow: 0 0 16px var(--accent); animation: xpFill 1.4s .9s cubic-bezier(.2,.8,.2,1) both; }
.xp-note { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }

/* ---------- Oyun ortak: sıra göstergesi ---------- */
.game-host { width: 100%; }
.turn-banner { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 8px 18px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-weight: 800; font-size: var(--fs-lg); text-align: center; flex-wrap: wrap; }
.turn-banner::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.turn-banner.mine { border-color: var(--accent); color: var(--text); }
.turn-banner.mine::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* ---------- Profil ---------- */
.prof { max-width: 1200px; margin: 0 auto; padding: clamp(20px,4vw,40px) clamp(16px,3.5vw,48px) 120px; display: flex; flex-direction: column; gap: 24px; }
.prof-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--border); padding: clamp(22px,4vw,40px); display: flex; flex-wrap: wrap; gap: clamp(20px,4vw,40px); align-items: center; }
.prof-ava { position: relative; width: 160px; height: 160px; flex: none; perspective: 600px; }
.prof-ava .ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed; opacity: .6; animation: spin 18s linear infinite; }
.prof-ava .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-size: 82px; box-shadow: 0 30px 50px -18px #000c; animation: hover3d 4s ease-in-out infinite; }
.prof-ava .st { position: absolute; right: 10px; bottom: 10px; width: 24px; height: 24px; border-radius: 50%; border: 4px solid var(--surface); }
.prof-id { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.prof-name { margin: 0; font-size: clamp(34px,5vw,56px); font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; overflow-wrap: anywhere; }
.prof-sub { font-size: var(--fs-lg); color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.prof-bio { font-size: var(--fs-lg); color: var(--text-2); }
.prof-totals { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.prof-totals > div { display: flex; flex-direction: column; }
.prof-totals .v { font-size: var(--fs-3xl); font-weight: 900; font-stretch: 120%; }
.prof-totals .k { font-size: var(--fs-sm); color: var(--muted); font-weight: 700; }
.prof-lv { flex: 1 1 300px; flex-direction: row; align-items: center; gap: 20px; padding: 20px; border-radius: var(--r-xl); }
.lv-ring { position: relative; width: 110px; height: 110px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 30px var(--accent-soft); }
.lv-ring > div { width: 86px; height: 86px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lv-ring .k { font-size: var(--fs-xs); font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.lv-ring .v { font-size: 34px; font-weight: 900; font-stretch: 125%; line-height: 1; }
.prof-badges { flex: 2 1 460px; padding: 20px; border-radius: var(--r-xl); }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.badge { perspective: 600px; height: 112px; outline: none; }
.badge-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.9,.3,1.1); }
.badge:hover .badge-in, .badge:focus .badge-in { transform: rotateY(180deg); }
.badge-front, .badge-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.badge-front { background: var(--surface-2); border: 1px solid var(--border); gap: 8px; }
.badge-front.locked { filter: grayscale(1); opacity: .5; }
.badge-front .gem { position: relative; width: 54px; height: 54px; transform: rotate(45deg); border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; }
.badge-front .gem span { transform: rotate(-45deg); font-size: var(--fs-2xl); font-weight: 900; color: #fff; text-shadow: 0 2px 0 #0004; }
.badge-front .gem i { position: absolute; inset: 0; background: linear-gradient(90deg,transparent,#ffffff66,transparent); animation: shineSweep 3s ease-in-out infinite; }
.badge-front .nm { font-size: var(--fs-xs); font-weight: 800; text-align: center; line-height: 1.2; padding: 0 4px; }
.badge-back { transform: rotateY(180deg); color: #fff; gap: 4px; padding: 8px; text-align: center; }
.badge-back .d { font-size: var(--fs-xs); font-weight: 800; line-height: 1.3; text-shadow: 0 1px 0 #0004; }
.badge-back .s { font-size: var(--fs-2xs); font-weight: 700; opacity: .9; }
.prof-edit { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--accent); padding: clamp(18px,3vw,28px); display: flex; flex-direction: column; gap: 18px; transform-origin: top; animation: flipIn .45s cubic-bezier(.2,.9,.3,1.1) both; }
.emo { width: 52px; height: 52px; border-radius: var(--r-md); border: 2px solid transparent; background: var(--surface-2); font-size: var(--fs-3xl); cursor: pointer; transition: transform .15s; }
.emo.on { border-color: var(--accent); transform: scale(1.1); }
.clr { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; }
.prof-h2 { font-size: var(--fs-2xl); font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; }
.stat-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,250px),1fr)); gap: 12px; }
.stat-card { padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; animation: cardIn3d .6s both; }
.stat-cover { width: 52px; height: 34px; border-radius: var(--r-xs); object-fit: cover; }
.stat-bar { height: 6px; border-radius: var(--r-xs); background: var(--surface-3); display: flex; overflow: hidden; }
.stat-nums { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; text-align: center; }
.stat-nums .v { font-weight: 900; font-size: var(--fs-lg); }
.stat-nums .k { font-size: var(--fs-2xs); color: var(--muted); font-weight: 700; }
.match-list { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); padding: 6px; }
.match-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 10px; border-radius: var(--r-md); }
.match-row:hover { background: var(--surface-2); }
.match-row .res { width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 900; font-size: var(--fs-md); }

/* ---------- Arkadaşlar ---------- */
.fr { max-width: 1100px; margin: 0 auto; padding: clamp(24px,4vw,48px) clamp(16px,3.5vw,48px) 120px; display: flex; flex-direction: column; gap: 26px; }
.fr-searchwrap { position: relative; }
.fr-search { width: 100%; height: 60px; border-radius: var(--r-lg); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); padding: 0 20px; font-size: var(--fs-lg); font-family: var(--font); outline: none; }
.fr-search:focus { border-color: var(--accent); }
.fr-results { position: absolute; left: 0; right: 0; top: 68px; z-index: 5; padding: 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); transform-origin: top; animation: flipIn .3s both; max-height: 420px; overflow: auto; }
.fr-row { display: flex; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; animation: fadeUp .3s both; }
.fr-empty { padding: 16px 0; color: var(--muted); font-size: var(--fs-md); }
.fr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr)); gap: 12px; }
.fr-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.fr-card:hover { transform: perspective(800px) rotateX(6deg) translateY(-3px); box-shadow: var(--shadow); }
.fr-card.off { opacity: .6; }
.fr-ava { position: relative; display: grid; flex: none; }
.fr-ava .st { position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--surface); }
.fr-x { width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .2s; }
.fr-card:hover .fr-x, .fr-x:focus { opacity: 1; }
.fr-x:hover { background: var(--bad-soft); color: var(--bad-text); }

/* ---------- Yasal ---------- */
.lg { max-width: 880px; margin: 0 auto; padding: clamp(24px,4vw,48px) clamp(16px,3.5vw,32px) 64px; display: flex; flex-direction: column; gap: 22px; }
.lg-h1 { margin: 0; font-size: clamp(34px,5vw,56px); line-height: 1; font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; }
.lg-warn { padding: 14px 16px; border-radius: var(--r-md); background: var(--warn-soft); color: var(--warn); font-size: var(--fs-md); line-height: 1.55; font-weight: 600; }
.lg-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); position: sticky; top: 76px; z-index: 5; }
.lg-tabs button { flex: none; height: 44px; padding: 0 16px; border-radius: var(--r-md); border: none; background: transparent; color: var(--muted); font-family: var(--font); font-weight: 800; font-size: var(--fs-md); cursor: pointer; }
.lg-tabs button.on { background: var(--surface-3); color: var(--text); }
.lg-article { display: flex; flex-direction: column; gap: 16px; font-size: var(--fs-lg); line-height: 1.7; color: var(--text-2); animation: fadeUp .4s both; }
.lg-article h2 { margin: 0; font-size: var(--fs-3xl); font-weight: 900; color: var(--text); font-stretch: 110%; }
.lg-article h3 { margin: 8px 0 0; font-size: var(--fs-xl); color: var(--text); font-stretch: 100%; letter-spacing: 0; }
.lg-article p { margin: 0; }
.lg-article ul, .lg-article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.lg-article b { color: var(--text); }
.lg-table { border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; }
.lg-table > div { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.lg-table > div:last-child { border-bottom: none; }
.lg-table .n { font-family: var(--mono); font-weight: 700; color: var(--text); min-width: 150px; }
.lg-table .w { flex: 1 1 220px; }
.lg-table .k { font-size: var(--fs-sm); font-weight: 800; color: var(--good-text); }

/* ---------- Hakkında ---------- */
.ab-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 30%,#3a1608,#0b0907 65%); color: #f7efe6; }
.ab-hero-in { position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(36px,7vw,96px) clamp(16px,3.5vw,48px); display: flex; flex-wrap: wrap; gap: clamp(24px,5vw,64px); align-items: center; }
.ab-photo { position: relative; width: clamp(180px,26vw,260px); aspect-ratio: 1; flex: none; }
.ab-photo .ring { position: absolute; inset: -16px; border-radius: 50%; background: conic-gradient(from 0deg,#ff5a1f,#ffd84a,#ff5a1f00 40%,#ff5a1f); animation: spin 6s linear infinite; filter: blur(2px); }
.ab-photo .hole { position: absolute; inset: -6px; border-radius: 50%; background: #0b0907; }
.ab-photo img, .ab-photo .emo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ab-photo .emo { display: grid; place-items: center; font-size: clamp(80px,12vw,120px); background: radial-gradient(circle at 35% 30%,#ffffff33,#5b4bd6 45%,#00000066); animation: hover3d 4s ease-in-out infinite; }
.ab-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; animation: fadeUp .7s both; }
.ab-kicker { font-size: var(--fs-sm); font-weight: 800; letter-spacing: .16em; color: #ff8a4b; }
.ab-copy h1 { margin: 0; font-size: clamp(48px,8vw,96px); line-height: .9; font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; color: #f7efe6; text-shadow: 1px 1px 0 #ff7a3a, 2px 2px 0 #e4521a, 3px 3px 0 #b83a10, 4px 4px 0 #80270a, 8px 12px 28px #000; }
.ab-chip { font-size: var(--fs-md); font-weight: 800; padding: 6px 12px; border-radius: var(--r-pill); background: #ffffff14; }
.ab-chip.hot { background: #ff5a1f; color: #160700; }
.ab-body { max-width: 900px; margin: 0 auto; padding: clamp(28px,5vw,56px) clamp(16px,3.5vw,32px) 64px; display: flex; flex-direction: column; gap: 18px; }
.ab-note { padding: 12px 16px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-text); font-size: var(--fs-md); font-weight: 700; line-height: 1.5; }
.ab-card { padding: clamp(18px,3vw,28px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; animation: cardIn3d .6s both; }
.ab-card h2 { margin: 0; font-size: var(--fs-2xl); font-weight: 900; font-stretch: 115%; letter-spacing: -.01em; }
.ab-card p { margin: 0; font-size: var(--fs-lg); line-height: 1.65; color: var(--text-2); white-space: pre-line; }
.ab-card p.todo { padding: 14px 16px; border-radius: var(--r-md); border: 2px dashed var(--border-2); }
.ab-contact { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ab-mail { font-family: var(--mono); font-size: var(--fs-lg); font-weight: 700; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface-2); color: var(--text); }
.ab-mail.todo { border: 2px dashed var(--border-2); }

.react-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); box-shadow: var(--shadow-lg); font-size: var(--fs-2xl); cursor: pointer; }
@media (max-width: 720px) {
  .react-toggle { display: grid; place-items: center; }
  .react-bar { flex-direction: column-reverse; }
  .react-bar:not(.open) .react-pill { display: none; }
  .react-pill { flex-direction: column; }
  .rm-phases { margin-left: 0; }
}

.home { overflow-x: hidden; }

/* ---- Tasarım sistemi: ana sayfa kategori çipleri ---- */
.cat-chips { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; margin: calc(-1 * var(--sp-1)) 0 var(--sp-1); padding: var(--sp-1) 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: var(--sp-2); height: 40px; padding: 0 var(--sp-4); border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); font-family: var(--font); font-size: var(--fs-md); font-weight: var(--fw-bold); cursor: pointer; transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), transform var(--dur-1) var(--ease); }
.cat-chip:hover { color: var(--text); border-color: var(--accent); }
.cat-chip:active { transform: scale(.96); }
.cat-chip .n { font-size: var(--fs-xs); font-weight: var(--fw-heavy); min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--surface-3); color: var(--muted); }
.cat-chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cat-chip.on .n { background: #0003; color: var(--accent-ink); }
.home-games { display: flex; flex-direction: column; gap: var(--sp-4); }

/* ---- Telefon: kompakt iki sütunlu oyun ızgarası, okunur vitrin ---- */
@media (max-width: 720px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .gc-in { border-radius: var(--r-md); }
  .gc:hover .gc-in { transform: none; box-shadow: var(--e2); }
  .gc-cover { border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0; }
  .gc-cone, .gc-glow { display: none; }
  .gc-body { padding: var(--sp-2) var(--sp-3) var(--sp-3); gap: 2px; transform: none; }
  .gc-body .row-sb { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gc-name { font-size: var(--fs-md); line-height: var(--lh-tight); }
  .gc-pl { font-size: var(--fs-xs); }
  .gc-desc, .gc-body .pill { display: none; }
  .gc-rooms { top: 6px; right: 6px; font-size: var(--fs-2xs); padding: 3px 7px; }
  .gc-tag { left: 6px; top: 6px; transform: scale(.85); transform-origin: left top; }
  .hero-fade { height: 70%; background: linear-gradient(#0b090700, #0b0907d9 45%, #0b0907); }
  .hero-copy { gap: var(--sp-3); }
  .hero-title { font-size: clamp(52px, 16vw, 76px); }
  .hero-copy p { font-size: var(--fs-md); max-width: 34ch; }
}
.gc { height: 100%; }
.gc-in { height: 100%; display: flex; flex-direction: column; }
.gc-body { flex: 1; }

/* ---- Telefonda tam ekran oyun modu (oyun sürerken) ---- */
@media (max-width: 720px), (max-height: 520px) and (pointer: coarse) {
  body.in-game .topbar, body.in-game .tabbar { display: none !important; }
  body.in-game:not(.bare) #app { padding-bottom: 0; }
  body.in-game .rm { padding-top: var(--sp-2); padding-bottom: var(--sp-6); gap: var(--sp-3); }
  body.in-game .rm-main { gap: var(--sp-2); }
  body.in-game .rm-head { gap: var(--sp-2); flex-wrap: nowrap; }
  body.in-game .rm-phases, body.in-game .rm-code { display: none; }
  body.in-game .rm-title { font-size: var(--fs-xl); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.in-game .rm-back { height: 36px; padding: 0 var(--sp-3); }
  body.in-game .rm-stage { padding: var(--sp-2); border-radius: var(--r-lg); min-height: 0; }
  body.in-game .react-bar { bottom: var(--sp-3); }
}

/* ---- Tasarım sistemi vitrini (#/tasarim) ---- */
.ds { max-width: 1320px; margin: 0 auto; padding: var(--sp-8) clamp(12px, 3vw, 32px) 120px; display: flex; flex-direction: column; gap: var(--sp-8); }
.ds-top h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); font-weight: var(--fw-black); font-stretch: 120%; letter-spacing: -.03em; }
.ds-top p { margin: var(--sp-2) 0 0; font-size: var(--fs-lg); max-width: 70ch; }
.ds-sec { display: flex; flex-direction: column; gap: var(--sp-3); }
.ds-sec-h h2 { margin: 0; font-size: var(--fs-xl); font-weight: var(--fw-heavy); }
.ds-sec-h p { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.ds code { font-family: var(--mono); font-size: var(--fs-2xs); color: var(--muted); }
.ds-row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.ds-typebox { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.ds-type { display: grid; grid-template-columns: 90px 1fr auto; align-items: baseline; gap: var(--sp-3); font-weight: var(--fw-heavy); }
.ds-space { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); }
.ds-space i { display: block; background: var(--accent); border-radius: 2px; }
.ds-radius, .ds-elev { width: 92px; height: 64px; display: grid; place-items: end start; padding: var(--sp-2); background: var(--surface-2); border: 1px solid var(--border-2); }
.ds-elev { background: var(--surface); border-radius: var(--r-md); border: none; }
.ds-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: var(--sp-5); }
.ds-panel { display: flex; flex-direction: column; gap: var(--sp-6); padding: var(--sp-6); border-radius: var(--r-xl); background: var(--bg); color: var(--text); border: 1px solid var(--border-2); }
.ds-panel-h { font-size: var(--fs-xs); font-weight: var(--fw-black); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.ds-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.ds-label { font-size: var(--fs-xs); font-weight: var(--fw-heavy); color: var(--text-2); }
.ds-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--sp-2); }
.ds-sw { display: flex; flex-direction: column; gap: var(--sp-1); }
.ds-sw i { display: block; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--border-2); }
.ds-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-3); }
.ds-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.ds-card p { margin: 0; }
.ds-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.ds-gc { animation: none; }

/* ---- Kapak seti: her kapakta aynı ışık (üstten) ve kenar gölgesi ---- */
.gc-cover::after, .live-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; background: linear-gradient(180deg, #ffffff14, #ffffff00 34%), radial-gradient(ellipse 85% 80% at 50% 42%, #0000 58%, #0000006b); }
.live-cover { position: relative; }

/* ---- Ana sayfa: Yeni çıkanlar vitrini ---- */
.feat-sec { max-width: 1400px; margin: 0 auto; padding: var(--sp-8) clamp(12px, 3vw, 32px) 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.feat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: var(--sp-2); }
.feat-row::-webkit-scrollbar { display: none; }
.feat-card { position: relative; display: block; aspect-ratio: 16/11; min-height: 220px; border-radius: var(--r-xl); overflow: hidden; scroll-snap-align: start; color: #f7efe6; background: #100c0a; box-shadow: var(--e2), inset 0 0 0 1px #ffffff14; animation: fadeUp .6s var(--ease) both; transition: transform var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease); }
.feat-card:hover { color: #f7efe6; transform: translateY(-4px); box-shadow: 0 22px 50px -18px color-mix(in srgb, var(--hue) 55%, #000), inset 0 0 0 1px color-mix(in srgb, var(--hue) 60%, transparent); }
.feat-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.feat-card:hover .feat-img { transform: scale(1.06); }
.feat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0b090700 30%, #0b0907b3 62%, #0b0907f2), linear-gradient(180deg, #ffffff12, #ffffff00 30%); }
.feat-tag { position: absolute; left: var(--sp-3); top: var(--sp-3); }
.feat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-1); }
.feat-name { font-size: var(--fs-3xl); font-weight: var(--fw-black); font-stretch: 115%; letter-spacing: -.02em; line-height: var(--lh-tight); text-shadow: 0 2px 0 color-mix(in srgb, var(--hue) 70%, #000), 0 6px 18px #000; }
.feat-desc { font-size: var(--fs-md); color: #d9cdc0; max-width: 40ch; }
.feat-meta { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-heavy); color: #a3978b; }
.feat-go { margin-left: auto; height: 34px; padding: 0 var(--sp-4); border-radius: var(--r-pill); display: grid; place-items: center; background: var(--hue); color: #160700; font-size: var(--fs-sm); font-weight: var(--fw-black); transition: transform var(--dur-1) var(--ease); }
.feat-card:hover .feat-go { transform: translateX(3px); }
@media (max-width: 720px) {
  .feat-sec { padding-top: var(--sp-6); }
  .feat-row { grid-auto-columns: 84%; margin: 0 calc(-1 * clamp(12px, 3vw, 32px)); padding: 0 clamp(12px, 3vw, 32px) var(--sp-2); scroll-padding: 0 clamp(12px, 3vw, 32px); }
  .feat-name { font-size: var(--fs-2xl); }
}

/* ---- Ortak oyun katmanı: sahne üstünde süre çizgisi, sıra sana geçince ışıma ---- */
.gm-turnbar { position: absolute; left: var(--sp-4); right: var(--sp-4); top: 0; height: 3px; border-radius: 0 0 var(--r-pill) var(--r-pill); overflow: hidden; pointer-events: none; opacity: 0; transition: opacity var(--dur-2) var(--ease); z-index: 5; }
.gm-turnbar.on { opacity: 1; }
.gm-turnbar i { display: block; height: 100%; width: 100%; transform-origin: left center; background: var(--muted); }
.gm-turnbar.mine i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.gm-turnbar.low i { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.rm-stage.my-turn { animation: myTurnGlow 1.6s var(--ease) 1; }
@keyframes myTurnGlow { 0% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 0 #ff5a1f66; } 40% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 34px 4px #ff5a1f55; } 100% { box-shadow: inset 0 0 0 0 transparent, 0 0 0 0 transparent; } }

/* ---- Nasıl oynanır: numaralı, simgeli adım kartları ---- */
.rm-rules { padding: 0; overflow: hidden; }
.rm-rules summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); list-style: none; font-size: var(--fs-lg); }
.rm-rules summary::-webkit-details-marker { display: none; }
.rm-rules summary::after { content: '▾'; color: var(--muted); transition: transform var(--dur-2) var(--ease); }
.rm-rules[open] summary::after { transform: rotate(180deg); }
.rs-count { margin-left: auto; font-size: var(--fs-xs); font-weight: var(--fw-heavy); color: var(--muted); padding: 2px var(--sp-2); border-radius: var(--r-pill); background: var(--surface-2); }
.rs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--sp-2); padding: 0 var(--sp-3) var(--sp-3); }
.rs-step { position: relative; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; column-gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); animation: fadeUp .4s var(--ease) both; }
.rs-num { position: absolute; right: var(--sp-2); top: var(--sp-2); font-family: var(--mono); font-size: var(--fs-2xs); font-weight: var(--fw-heavy); color: var(--muted); }
.rs-ic { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 18px; background: var(--surface-3); }
.rs-txt { grid-column: 2; font-size: var(--fs-sm); line-height: var(--lh); color: var(--text-2); padding-right: var(--sp-3); }
.rs-txt b { color: var(--text); }

/* ---- İlk ziyaret tanıtımı ---- */
.intro { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: var(--sp-4); background: var(--overlay); backdrop-filter: blur(6px); animation: fadeIn var(--dur-2) var(--ease) both; }
.intro.out { opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.intro-card { width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; padding: var(--sp-8) var(--sp-6) var(--sp-6); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--e3); animation: introIn .45s var(--ease-pop) both; }
.intro-k { font-size: var(--fs-xs); font-weight: var(--fw-black); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.intro-ic { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; font-size: 54px; background: radial-gradient(circle at 50% 35%, var(--accent-soft), var(--surface-2)); box-shadow: inset 0 0 0 1px var(--border-2); animation: introPop .5s var(--ease-pop) both; }
.intro-t { font-size: var(--fs-2xl); font-weight: var(--fw-black); font-stretch: 112%; }
.intro-d { margin: 0; font-size: var(--fs-lg); line-height: var(--lh); color: var(--text-2); min-height: 3em; }
.intro-dots { display: flex; gap: var(--sp-2); margin: var(--sp-1) 0 var(--sp-2); }
.intro-dots i { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--border-2); transition: width var(--dur-2) var(--ease), background var(--dur-2); }
.intro-dots i.on { width: 26px; background: var(--accent); }
.intro-btns { display: flex; gap: var(--sp-3); width: 100%; }
.intro-btns .btn { flex: 1; }
@keyframes introIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes introPop { from { transform: scale(.6) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- Oyun açılırken yükleme ekranı ---- */
.gm-loading { min-height: clamp(320px, 50vh, 520px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-4); animation: fadeIn var(--dur-3) var(--ease) both; }
.gm-loading-cover { width: min(300px, 70%); aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--e3); animation: floaty 3s ease-in-out infinite; }
.gm-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.gm-loading-t { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--muted); }
/* ---- Geçersiz hamle: kısa sallanma ---- */
.rm-stage.nope { animation: nope .42s var(--ease) 1; }
@keyframes nope { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
/* ---- Klavye odağı: kartlarda ve çiplerde görünür çerçeve ---- */
.gc:focus-visible { box-shadow: none; outline: none; }
.gc:focus-visible .gc-in, .feat-card:focus-visible, .live-card:focus-visible { box-shadow: var(--focus), var(--e2); outline: none; }
.cat-chip:focus-visible, .hero-tab:focus-visible, .rm-rules summary:focus-visible { box-shadow: var(--focus); outline: none; }

/* ---- games.css ---- */
/* ============ alaz.fun · oyun ekranları ============ */
.game-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.vs-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; width: 100%; }
.vs-bar > b { font-size: 14px; font-weight: 900; color: var(--muted); }
.vs-player { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-weight: 800; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.vs-player:last-child { padding: 6px 6px 6px 14px; }
.vs-player.turn { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.vs-player .nm { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.turn-banner { margin: 0 auto; }
.turn-pill { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; justify-content: center; }
.tp-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.tp-score { font-family: var(--mono); font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: 99px; background: var(--surface-2); }
.disc-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; box-shadow: inset 0 -2px 3px #0005; }

/* ---- Dörtle ---- */
.c4-persp { perspective: 1100px; width: min(560px, 100%); }
.c4b { transform: rotateX(14deg); transform-origin: 50% 100%; padding: clamp(8px,2vw,16px); border-radius: 22px; background: linear-gradient(170deg,color-mix(in oklab,var(--c4-board) 80%,#fff),var(--c4-board) 40%,color-mix(in oklab,var(--c4-board) 70%,#000)); box-shadow: 0 30px 60px -20px #000c, inset 0 2px 0 #ffffff40, 0 14px 0 color-mix(in oklab,var(--c4-board) 55%,#000); display: grid; grid-template-columns: repeat(7,1fr); gap: clamp(4px,1.2vw,10px); }
.c4h { aspect-ratio: 1; border-radius: 50%; border: none; padding: 0; background: #00000055; box-shadow: inset 0 4px 8px #0009; position: relative; overflow: visible; cursor: default; }
.c4b.my .c4h:not(:disabled) { cursor: pointer; }
.c4b.my .c4h:not(:disabled):hover { background: #ffffff22; }
.c4h.win { box-shadow: inset 0 4px 8px #0009, 0 0 0 3px #fff; }
.c4d { position: absolute; inset: 6%; border-radius: 50%; }
.c4d.drop { animation: drop .55s cubic-bezier(.4,0,.6,1) both; }

/* ---- XOX ---- */
.xox3-persp { perspective: 900px; }
.xox3 { transform: rotateX(22deg); display: grid; grid-template-columns: repeat(3, clamp(84px,18vw,130px)); gap: 10px; }
.xox3-cell { aspect-ratio: 1; border-radius: 18px; border: 1px solid var(--border-2); background: var(--surface); box-shadow: 0 8px 0 var(--surface-3), 0 20px 30px -10px #0008; cursor: pointer; font-family: var(--font); font-size: clamp(44px,9vw,70px); font-weight: 900; line-height: 1; padding: 0; display: grid; place-items: center; transition: transform .12s, background .15s; }
.xox3-cell:disabled { cursor: default; }
.xox3-cell:not(:disabled):hover { background: var(--surface-2); transform: translateY(-3px); }
.xox3-cell.win { background: var(--accent-soft); border-color: var(--accent); }
.xox3-cell span { display: inline-block; }

/* ---- Taş Kağıt Makas+ ---- */
.tkm-timer { font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: var(--surface-2); }
.tkm-timer.hot { background: var(--bad-soft); color: var(--bad-text); }
.tkm-arena { display: flex; gap: clamp(16px,5vw,48px); align-items: center; perspective: 900px; }
.tkm-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tkm-card { width: clamp(110px,22vw,150px); aspect-ratio: 3/4; border-radius: 20px; background: linear-gradient(160deg,var(--surface-3),var(--surface)); border: 1px solid var(--border-2); display: grid; place-items: center; font-size: clamp(48px,9vw,72px); font-weight: 900; box-shadow: var(--shadow-lg); color: var(--muted); }
.tkm-card.win { border-color: var(--good); box-shadow: var(--shadow-lg), 0 0 30px var(--good-soft); }
.tkm-card.lose { opacity: .6; }
.tkm-vs { font-size: 28px; font-weight: 900; color: var(--muted); }
.tkm-bombs { font-size: 14px; }
.tkm-msg { font-size: 18px; font-weight: 800; min-height: 26px; text-align: center; }
.tkm-moves { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,120px),1fr)); gap: 12px; width: min(640px,100%); }
.tkm-btn { height: 120px; border-radius: 20px; border: 2px solid var(--border-2); background: var(--surface); color: var(--text); font-family: var(--font); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 6px 0 var(--border-2); transition: transform .12s; }
.tkm-btn:not(:disabled):hover { transform: translateY(-4px); }
.tkm-btn:not(:disabled):active { transform: translateY(4px); box-shadow: 0 2px 0 var(--border-2); }
.tkm-btn:disabled { opacity: .45; cursor: default; }
.tkm-btn.sel { opacity: 1; border-color: var(--accent); box-shadow: 0 6px 0 var(--accent-deep); }
.tkm-btn.bomb { border-color: var(--accent); }
.tkm-btn .e { font-size: 40px; line-height: 1; }
.tkm-btn .l { font-weight: 800; font-size: 15px; }
.tkm-btn .n { font-size: 12px; color: var(--muted); }
.tkm-hist { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* ---- Satranç ---- */
.cb { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.cb-head { display: flex; justify-content: flex-end; }
.seg-pill { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); }
.seg-pill button { height: 36px; padding: 0 16px; border-radius: 99px; border: none; background: transparent; color: var(--muted); font-family: var(--font); font-weight: 800; font-size: 13px; cursor: pointer; }
.seg-pill button.on { background: var(--surface-3); color: var(--text); }
.cb-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.cb-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cb-main > div { width: 100%; max-width: 640px; }
.cb-player { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-caps { font-family: 'Segoe UI Symbol','Noto Sans Symbols 2','DejaVu Sans',serif; margin-left: 6px; letter-spacing: -2px; }
.cb-clock { font-family: var(--mono); font-size: 24px; font-weight: 700; padding: 6px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); flex: none; }
.cb-clock.me { background: var(--accent); color: var(--accent-ink); }
.cb-clock.op { background: var(--text); color: var(--bg); }
.cb-clock.low { background: var(--bad); color: #fff; animation: blink 1s infinite; }
.cb-persp { perspective: 1200px; perspective-origin: 50% 0%; }
.cb-frame { transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 60%; padding: clamp(10px,1.8vw,18px); border-radius: 16px; background: repeating-linear-gradient(91deg,#ffffff0a 0 2px,transparent 2px 9px), repeating-linear-gradient(87deg,#0000001f 0 1px,transparent 1px 13px), radial-gradient(ellipse at 30% 20%,#9a6a3e,transparent 60%), linear-gradient(145deg,#7a4e2c,#3a2412); box-shadow: 0 40px 70px -24px #000c, inset 0 2px 0 #ffffff33, inset 0 -3px 0 #00000055, 0 12px 0 #24160b, 0 14px 0 #1a1008; }
.cb-frame.is3d { transform: rotateX(48deg) translateY(-4%); }
.cb-wrap { position: relative; transform-style: preserve-3d; border-radius: 6px; box-shadow: 0 0 0 2px #2a1a0c, 0 0 0 4px #c9a56a55; }
.cb-gloss { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 6px; background: linear-gradient(125deg,#ffffff30 0%,transparent 35%,transparent 70%,#ffffff12 100%); }
.cb-grid { display: grid; grid-template-columns: repeat(8,1fr); transform-style: preserve-3d; }
.cb-sq { position: relative; aspect-ratio: 1; border: none; padding: 0; cursor: pointer; transform-style: preserve-3d; font-family: var(--font); }
.cb-sq .ov { position: absolute; inset: 0; pointer-events: none; }
.cb-sq .dot { position: absolute; left: 36%; top: 36%; width: 28%; height: 28%; border-radius: 50%; background: #1c151155; pointer-events: none; }
.cb-sq .ring { position: absolute; inset: 6%; border-radius: 50%; border: 4px solid #1c151155; pointer-events: none; }
.cb-sq .co { position: absolute; left: 4px; top: 2px; font-size: 10px; font-weight: 800; pointer-events: none; }
.cb-sq .co.f { top: auto; left: auto; right: 4px; bottom: 2px; }
.cb-sq .pc { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-size: clamp(26px,5.6vw,52px); line-height: 1; transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.2,.8,.2,1); pointer-events: none; font-family: 'Segoe UI Symbol','Noto Sans Symbols 2','DejaVu Sans',serif; }
.cb-side { flex: 1 1 280px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.cb-status { padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--text-2); }
.cb-status .bl { width: 10px; height: 10px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; flex: none; }
.cb-status.acc { background: var(--accent-soft); color: var(--accent-text); }
.cb-status.bad { background: var(--bad-soft); color: var(--bad-text); }
.cb-moves { max-height: 300px; overflow: auto; display: grid; grid-template-columns: 36px 1fr 1fr; gap: 2px 8px; font-family: var(--mono); font-size: 14px; }
.cb-moves .n { color: var(--muted); padding: 3px 0; }
.cb-moves .m { font-weight: 700; padding: 3px 6px; border-radius: 6px; }
.cb-moves .m.on { background: var(--accent-soft); }
.cb-act { flex: 1 1 140px; height: 50px; border-radius: 14px; }
.promo-picker { display: flex; gap: 8px; justify-content: center; }
.promo-picker button { width: 74px; height: 74px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--sq-light); cursor: pointer; font-family: 'Segoe UI Symbol','Noto Sans Symbols 2',serif; }
.promo-picker button:hover { border-color: var(--accent); }

/* ---- 4 Kişilik Satranç ---- */
.c4x-persp { width: 100%; max-width: 720px; perspective: 1400px; perspective-origin: 50% 0%; }
.c4x-frame { transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 60%; padding: clamp(6px,1.2vw,12px); border-radius: 18px; background: radial-gradient(ellipse at 50% 50%,#3a2a40,#1a1020); box-shadow: 0 40px 70px -24px #000c; }
.c4x-frame.is3d { transform: rotateX(45deg) translateY(-3%); }
.c4x-grid { display: grid; grid-template-columns: repeat(14,1fr); transform-style: preserve-3d; }
.c4x-void { aspect-ratio: 1; }
.c4x-sq { position: relative; aspect-ratio: 1; border: none; padding: 0; cursor: pointer; transform-style: preserve-3d; }
.c4x-sq .ov { position: absolute; inset: 0; pointer-events: none; }
.c4x-sq .dot { position: absolute; inset: 36%; border-radius: 50%; background: #1c151166; pointer-events: none; }
.c4x-sq .ring { position: absolute; inset: 6%; border-radius: 50%; border: 3px solid #1c151166; pointer-events: none; }
.c4x-sq .pc { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; font-size: clamp(16px,3.4vw,34px); line-height: 1; text-shadow: 0 1px 0 #000,0 -1px 0 #000,1px 0 0 #000,-1px 0 0 #000,0 4px 6px #0008; transform-origin: 50% 100%; transition: transform .9s; pointer-events: none; font-family: 'Segoe UI Symbol','Noto Sans Symbols 2','DejaVu Sans',serif; }
.c4x-pl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 2px solid var(--border); transition: border-color .3s; }
.c4x-pl .sw { width: 14px; height: 40px; border-radius: 6px; flex: none; }

/* ---- Amiral Battı ---- */
.sea-status { padding: 8px 16px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); font-weight: 800; font-size: 14px; }
.sea-status.hot { background: var(--accent-soft); color: var(--accent-text); }
.fleet-bar { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.fleet-chip { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; border: 2px solid var(--border-2); background: transparent; color: var(--text); font-family: var(--font); font-weight: 700; font-size: 13px; cursor: pointer; }
.fleet-chip.on { border-color: var(--accent); }
.fleet-chip.done { opacity: .45; }
.fleet-chip .blk { letter-spacing: 1px; font-size: 11px; color: var(--muted); }
.fleet-acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.fleet-acts .btn-primary { box-shadow: none; }
.sea-row { display: flex; flex-wrap: wrap; gap: clamp(16px,3vw,32px); justify-content: center; width: 100%; }
.sea-col { flex: 1 1 300px; max-width: 580px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.sea-title { font-weight: 900; font-size: 18px; }
.sea-persp { width: 100%; perspective: 1100px; perspective-origin: 50% -20%; }
.sea-board { transform: rotateX(28deg); transform-origin: 50% 100%; transform-style: preserve-3d; padding: 10px; border-radius: 18px; background: linear-gradient(160deg,var(--sea-line),var(--sea) 60%); box-shadow: 0 30px 50px -20px #000a, inset 0 1px 0 #ffffff22; outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .3s; }
.sea-grid { position: relative; display: grid; grid-template-columns: repeat(10,1fr); gap: 3px; transform-style: preserve-3d; }
.sea-cell { position: relative; aspect-ratio: 1; border: none; padding: 0; border-radius: 5px; background: color-mix(in oklab, var(--sea) 70%, var(--sea-line)); transform-style: preserve-3d; transition: background .2s, filter .2s; }
.sea-cell:hover { filter: brightness(1.25); }
.sea-cell.pv-ok { background: #3ad07a88; }
.sea-cell.pv-bad { background: #ff4d4d88; }
.sea-cell.last { box-shadow: 0 0 0 2px #ffd84a; }
.sea-ship { position: absolute; inset: 8%; border-radius: 4px; background: linear-gradient(180deg,#c9d6df,#6f8796); box-shadow: 0 3px 0 #6f8796, 0 6px 10px #0007; transform: translateZ(6px); }
.sea-ship.sunk { background: linear-gradient(180deg,#5a3a3a,#2a1a1a); box-shadow: 0 3px 0 #2a1a1a, 0 6px 10px #0007; animation: sink 1.2s both; }
.sea-miss { position: absolute; inset: 32%; border-radius: 50%; background: #e8f6ff; opacity: .85; }
.sea-hit { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle,#ffd84a,#ff5a1f 60%,#a8300a); box-shadow: 0 0 14px #ff5a1f; transform: translateZ(10px); animation: flame .5s ease-in-out infinite; }
.sea-splash { position: absolute; inset: 10%; border-radius: 50%; border: 2px solid #e8f6ff; animation: splash .8s both; pointer-events: none; }
.sea-splash.hot { inset: 0; border-color: #ff8a4b; animation-duration: .7s; }
.sea-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--text-2); }
.sea-legend > div { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.sea-legend span { display: inline-block; }

/* ---- Kelime oyunları ---- */
.word-game { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.word-head { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.word-head .sea-status { margin-right: auto; }
.cb-toggle { height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--border-2); background: transparent; color: var(--text); font-family: var(--font); font-weight: 700; font-size: 13px; cursor: pointer; }
.cb-toggle.on { background: var(--accent-soft); }
.word-layout2 { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: flex-start; }
.word-col { flex: 1 1 360px; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.word-msg { font-size: 15px; font-weight: 700; color: var(--text-2); min-height: 22px; text-align: center; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.word-aside { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.word-main { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.word-grid { display: flex; flex-direction: column; gap: 7px; perspective: 800px; }
.word-row { display: flex; gap: 7px; }
.word-row.shake { animation: shake .4s both; }
.tile { position: relative; width: clamp(48px,13vw,66px); height: clamp(48px,13vw,66px); border-radius: 12px; border: 2px solid var(--tile-border); background: var(--tile-empty); color: var(--text); display: grid; place-items: center; font-size: clamp(24px,6.5vw,34px); font-weight: 900; font-stretch: 110%; }
.tile.filled { border-color: var(--text-2); }
.tile.pop { animation: tilePop .12s both; }
.tile.s2 { --c: var(--tile-good); }
.tile.s1 { --c: var(--tile-near); }
.tile.s0 { --c: var(--tile-gray); }
.tile.s0, .tile.s1, .tile.s2 { background: var(--c); border-color: var(--c); color: #fff; box-shadow: inset 0 -4px 0 #0003, 0 6px 14px -6px #0008; }
.tile .mark { position: absolute; right: 5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .85; animation: fadeUp .2s both; }
.keyboard { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.kb-row { display: flex; gap: 4px; justify-content: center; }
.key { flex: 1; min-width: 0; max-width: 48px; height: 54px; border-radius: 9px; border: none; background: var(--key); color: var(--text); font-family: var(--font); font-weight: 800; font-size: 17px; cursor: pointer; box-shadow: 0 3px 0 #0000004d; transition: background .3s; padding: 0; }
.key.wide { flex: 1.6; max-width: 76px; font-size: 12px; background: var(--surface-3); }
.key:active { transform: translateY(2px); box-shadow: 0 1px 0 #0000004d; }
.key.s2 { background: var(--tile-good); color: #fff; }
.key.s1 { background: var(--tile-near); color: #fff; }
.key.s0 { background: var(--key-dead); color: var(--key-dead-ink); }
.opp-card2 { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.opp-mini { display: grid; gap: 3px; flex: none; }
.opp-mini span { width: 12px; height: 12px; border-radius: 3px; transition: background .4s; }
.word-legend { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); line-height: 1.6; display: flex; flex-direction: column; gap: 6px; }
.word-legend > div { display: flex; align-items: center; gap: 8px; }
.word-legend span { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.word-legend i { position: absolute; right: 2px; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.ok-hero { position: relative; overflow: hidden; border-radius: 28px; background: radial-gradient(ellipse at 50% 0%,#3a2c0a,var(--surface) 70%); border: 1px solid var(--border); padding: clamp(22px,5vw,56px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ok-cover { width: min(300px,70vw); border-radius: 18px; transform: perspective(800px) rotateX(16deg); box-shadow: 0 30px 50px -20px #000c; }
.ok-title { font-size: clamp(28px,4vw,42px); font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; line-height: 1.05; }
.ok-slots { position: relative; display: flex; gap: 8px; cursor: text; }
.ok-slot { width: clamp(42px,10vw,60px); height: clamp(50px,12vw,68px); border-radius: 12px; border: 2px solid var(--tile-border); background: var(--tile-empty); display: grid; place-items: center; font-size: clamp(24px,6vw,32px); font-weight: 900; }
.ok-hint { font-size: 14px; font-weight: 700; min-height: 20px; }

/* ---- Kartopu ---- */
.kt-color { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); }
.kt-color .sw { width: 30px; height: 30px; border-radius: 50%; transition: background .3s; }
.kt { position: relative; min-height: clamp(600px,78vh,760px); border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 50% 45%,#12324a 0%,#0a1a28 55%,#060d14 100%); border: 1px solid #1d3d55; color: #f7efe6; --snow-ice: #5cc8f0; --snow-pine: #3fae74; --snow-berry: #e8506a; --snow-amber: #f2b632; }
.kt-bg1 { position: absolute; inset: 0; background: repeating-linear-gradient(32deg,transparent 0 120px,#bff4ff14 120px 121px,transparent 121px 260px), repeating-linear-gradient(-58deg,transparent 0 90px,#bff4ff10 90px 91px,transparent 91px 210px), radial-gradient(ellipse at 50% 46%,#bff4ff22,transparent 45%); }
.kt-bg2 { position: absolute; inset: 0; background-image: radial-gradient(#ffffff22 1.5px,transparent 1.5px); background-size: 46px 46px; opacity: .5; animation: gridMove 6s linear infinite; }
.kt-ring { position: absolute; left: 50%; top: 46%; width: min(560px,90%); aspect-ratio: 2/1; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(ellipse,#bff4ff1c,transparent 70%); box-shadow: inset 0 0 60px #bff4ff22; animation: frost 5s ease-in-out infinite; }
.kt-opps { position: absolute; left: 0; right: 0; top: 18px; display: flex; justify-content: center; gap: clamp(12px,4vw,48px); flex-wrap: wrap; padding: 0 12px; z-index: 2; }
.kt-opp { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 18px; background: #ffffff08; border: 1px solid #ffffff14; transition: all .3s; }
.kt-opp.on { background: #ffffff18; border-color: #ffd84a; }
.kt-cnt { font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #ffffff14; }
.kt-backs { display: flex; height: 40px; perspective: 300px; padding-left: 14px; }
.kt-backs span { width: 26px; height: 38px; margin-left: -14px; border-radius: 5px; background: linear-gradient(150deg,#1f4a6e,#0c2235); border: 1.5px solid #7fe3ff66; box-shadow: 0 3px 6px #0008; }
.kt-last { font-size: 11px; font-weight: 900; letter-spacing: .08em; padding: 3px 8px; border-radius: 99px; background: #ffd84a; color: #1a1205; }
.kt-mid { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: clamp(20px,6vw,64px); z-index: 2; }
.kt-deck { position: relative; width: clamp(90px,14vw,120px); aspect-ratio: 5/7; border: none; background: none; padding: 0; cursor: default; perspective: 600px; }
.kt-deck.on { cursor: pointer; }
.kt-deck .lay { position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(150deg,#1f4a6e,#0c2235); border: 2px solid #7fe3ff55; box-shadow: 0 2px 4px #0006; }
.kt-deck .top { position: absolute; inset: 0; border-radius: 14px; background: repeating-linear-gradient(45deg,#ffffff08 0 6px,transparent 6px 12px), linear-gradient(150deg,#23577f,#0c2235); border: 2px solid #7fe3ff99; display: grid; place-items: center; transform: translate(-8px,-8px); box-shadow: 0 10px 20px #0008; transition: box-shadow .3s; }
.kt-deck.on .top { box-shadow: 0 0 0 3px #7fe3ff, 0 0 30px #7fe3ff88; }
.kt-deck .lbl { font-size: 13px; font-weight: 900; font-stretch: 125%; color: #bff4ff; }
.kt-deck .cnt { font-family: var(--mono); font-size: 11px; color: #bff4ffaa; }
.kt-pile { position: relative; width: clamp(100px,15vw,130px); aspect-ratio: 5/7; }
.kt-pc { position: absolute; inset: 0; }
.kc { position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(160deg,color-mix(in oklab,var(--kc) 75%,#fff),var(--kc) 45%,color-mix(in oklab,var(--kc) 70%,#000)); border: 3px solid #f4fbff; box-shadow: 0 18px 30px -10px #000c; overflow: hidden; color: #fff; display: block; font-family: var(--font); }
.kc-dots { position: absolute; inset: 0; background: radial-gradient(#ffffff30 1.2px,transparent 1.3px); background-size: 12px 12px; }
.kc-shine { position: absolute; inset: 0; background: linear-gradient(115deg,#ffffff66 0%,#ffffff00 28%,#ffffff00 62%,#ffffff2a 70%,#ffffff00 78%); box-shadow: inset 0 0 0 2px #ffffff44, inset 0 0 18px #ffffff55; }
.kc-c { position: absolute; font-size: 16px; font-weight: 900; line-height: 1; }
.kc-c.tl { left: 8px; top: 6px; }
.kc-c.br { right: 8px; bottom: 6px; transform: rotate(180deg); }
.kc-dia { position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(45deg); border-radius: 14px; background: #ffffff26; border: 2px solid #ffffff88; }
.kc-face { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-stretch: 125%; text-shadow: 0 3px 0 #0004; line-height: 1; }
.kt-turn { position: absolute; left: 50%; top: calc(46% + clamp(90px,13vw,120px)); transform: translateX(-50%); padding: 8px 8px 8px 16px; border-radius: 99px; background: #0f2436; color: #bff4ff; font-weight: 800; font-size: 15px; white-space: nowrap; box-shadow: 0 8px 20px #0006; display: flex; align-items: center; gap: 8px; z-index: 3; }
.kt-turn.mine { background: #ffd84a; color: #1a1205; }
.kt-turn .btn-sm { height: 32px; }
.kt-timer { font-family: var(--mono); font-size: 12px; padding: 4px 8px; border-radius: 99px; background: #00000026; }
.kt-timer.hot { background: #ff4d4d; color: #fff; }
.kt-log { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); max-width: 200px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: #bff4ffcc; z-index: 1; }
.kt-log div { padding: 6px 10px; border-radius: 10px; background: #00000033; }
.kt-hand { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(200px,28vh,250px); display: flex; justify-content: center; perspective: 900px; z-index: 4; }
.kt-fan { position: relative; width: min(900px,100%); height: 100%; transform: rotateX(18deg); transform-origin: 50% 100%; transform-style: preserve-3d; }
.kt-slot { position: absolute; bottom: -30px; width: clamp(82px,11vw,112px); aspect-ratio: 5/7; margin-left: calc(clamp(82px,11vw,112px) / -2); transform-origin: 50% 120%; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), left .35s; --ks: .85; }
.kt-card { position: absolute; inset: 0; border: none; padding: 0; background: none; cursor: default; transition: transform .2s; animation: fadeUp .35s both; }
.kt-card .kc { box-shadow: 0 14px 24px -10px #000c; }
.kt-card.ok { cursor: pointer; }
.kt-card.ok .kc { box-shadow: 0 0 0 3px #ffd84a, 0 18px 30px -10px #000c, 0 0 30px #ffd84a66; }
.kt-card.no { opacity: .55; cursor: not-allowed; }
.kt-card:hover { transform: translateY(-34px) scale(1.06); }
.kt-card.drawn .kc { box-shadow: 0 0 0 3px #7fe3ff, 0 0 30px #7fe3ff88; }
.kt-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; --snow-ice: #5cc8f0; --snow-pine: #3fae74; --snow-berry: #e8506a; --snow-amber: #f2b632; }
.kt-pick button { height: 70px; border-radius: 16px; border: 3px solid #f4fbff; color: #fff; font-family: var(--font); font-weight: 900; font-size: 16px; cursor: pointer; text-shadow: 0 2px 0 #0004; box-shadow: 0 8px 16px -6px #000a; }
.kt-pick button:hover { transform: translateY(-2px); }
@media (max-width: 720px) { .kt-log { display: none; } .kt-turn { white-space: normal; text-align: center; max-width: 90%; } }

/* ---- Ayna Atışı ---- */
.mirror-wrap { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.mirror-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; font-size: 14px; color: var(--muted); }
.mirror-live { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #ff9a9a; display: flex; align-items: center; gap: 8px; }
.mirror-mobile { display: none; padding: 14px 16px; border-radius: 14px; background: var(--warn-soft); color: var(--warn); font-weight: 700; font-size: 14px; line-height: 1.4; }
@media (max-width: 720px) { .mirror-mobile { display: block; } .mirror-top > div { display: none; } }
.mirror-box { position: relative; border-radius: 24px; overflow: hidden; background: #06050a; border: 1px solid #2a211b; color: #f7efe6; }
.mirror-canvas { display: block; width: 100%; height: auto; aspect-ratio: 16/9; cursor: crosshair; touch-action: none; background: #06050a; outline: none; }
.mirror-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: clamp(10px,3vw,28px); padding: 16px clamp(14px,3vw,28px); background: linear-gradient(#06050aee,#06050a00); pointer-events: none; }
.mh-side { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mh-name { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 14px; }
.mh-bar { height: 10px; border-radius: 10px; background: #2a211b; overflow: hidden; box-shadow: inset 0 2px 4px #0008; display: flex; }
.mh-bar.r { justify-content: flex-end; }
.mh-fill { height: 100%; transition: width .2s; border-radius: 10px; }
.mh-fill.p0 { background: linear-gradient(90deg,#ff5a1f,#ffb020); box-shadow: 0 0 14px #ff5a1f; }
.mh-fill.p1 { background: linear-gradient(270deg,#7fe3ff,#bff4ff); box-shadow: 0 0 14px #7fe3ff; }
.mh-score { font-family: var(--mono); font-size: clamp(26px,4vw,40px); font-weight: 700; text-shadow: 0 0 18px #ff5a1f, 0 0 30px #7fe3ff; white-space: nowrap; text-align: center; line-height: 1; }
.mh-sub { font-family: var(--font); font-size: 11px; font-weight: 700; color: #a3978b; text-shadow: none; margin-top: 4px; }
.mirror-info { display: flex; flex-wrap: wrap; gap: 12px; }
.mirror-info > div { flex: 1 1 240px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); line-height: 1.5; }
.mirror-info b { color: var(--text); }
.kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--border-2); border-bottom-width: 3px; background: var(--surface-2); font-size: 12px; font-weight: 900; color: var(--text); }

/* ---- Golf Ufku ---- */
.golf { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; width: 100%; }
.golf-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.golf-box { position: relative; border-radius: 22px; overflow: hidden; background: #06050a; border: 1px solid #2a2450; color: #f7efe6; box-shadow: 0 30px 60px -24px #000c; }
.golf-canvas { display: block; width: 100%; height: auto; aspect-ratio: 960/600; touch-action: none; cursor: crosshair; }
.golf-stage { position: relative; }
.fx-host { position: relative; }
.fx-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.fx-layer canvas { display: block; width: 100% !important; height: 100% !important; }
.golf-hud { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.golf-chip { padding: 6px 12px; border-radius: 99px; background: #06050acc; border: 1px solid #ffffff1c; font-size: 13px; font-weight: 800; backdrop-filter: blur(6px); }
.golf-chip.hot { background: #ff4d4d; border-color: #ff4d4d; color: #fff; }
.golf-event { position: absolute; left: 50%; top: 12px; transform: translate(-50%, -80px); padding: 8px 16px; border-radius: 99px; background: linear-gradient(90deg,#ff5a1f,#ffb020); color: #160700; font-weight: 900; display: flex; gap: 8px; align-items: center; z-index: 2; transition: transform .5s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 8px 30px #ff5a1f66; pointer-events: none; white-space: nowrap; }
.golf-event.on { transform: translate(-50%, 44px); }
.golf-event .ico { font-size: 18px; }
.golf-msg { font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; }
.golf-side { flex: 1 1 280px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.golf-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid transparent; }
.golf-row.on { border-color: var(--accent); background: var(--accent-soft); }
.golf-row.out { opacity: .45; }
.golf-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.golf-tot { font-family: var(--mono); font-weight: 800; font-size: 18px; }
.golf-legend { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; line-height: 1.4; }
.golf-legend > div { display: flex; align-items: center; gap: 8px; }
.golf-legend span:not(.small) { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.lg-black { background: radial-gradient(circle,#000 40%,#ff5a1f 60%,#ff5a1f00 72%); }
.lg-white { background: radial-gradient(circle,#fff 25%,#bff4ff 50%,#7fe3ff00 72%); }
.lg-cup { background: #0a1a10; border: 3px solid #3ad07a; }

/* ---- Sahte Sanat ---- */
.sa { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.sa-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sa-role { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-radius: 18px; background: linear-gradient(120deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--border); }
.sa-role .k { font-size: 12px; font-weight: 900; letter-spacing: .16em; color: var(--accent-text); }
.sa-role .w { font-size: clamp(24px,3.6vw,36px); font-weight: 900; font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; }
.sa-role .small { color: var(--muted); font-weight: 600; flex-basis: 100%; }
.sa-role.fake { background: linear-gradient(120deg, var(--bad-soft), var(--surface) 70%); border-color: var(--bad); }
.sa-role.fake .k { color: var(--bad-text); }
.sa-phase { padding: 8px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-weight: 800; font-size: 14px; }
.sa-timer { font-family: var(--mono); font-weight: 800; padding: 8px 12px; border-radius: 99px; background: var(--surface-2); }
.sa-timer.hot { background: var(--bad); color: #fff; }
.sa-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.sa-main { flex: 1 1 360px; min-width: 0; max-width: 500px; display: flex; flex-direction: column; gap: 10px; }
.sa-frame { padding: 12px; border-radius: 18px; background: repeating-linear-gradient(91deg,#ffffff0a 0 2px,transparent 2px 9px), linear-gradient(145deg,#7a4e2c,#3a2412); box-shadow: 0 30px 50px -20px #000c, inset 0 2px 0 #ffffff33; }
.sa-board { display: block; width: 100%; aspect-ratio: 1; border-radius: 6px; background: #fbf7f1; touch-action: none; cursor: not-allowed; }
.sa-board.live { cursor: crosshair; }
.sa-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.sa-tools.off { opacity: .5; pointer-events: none; }
.sa-colors, .sa-widths { display: flex; gap: 6px; flex-wrap: wrap; }
.sa-color { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border-2); cursor: pointer; }
.sa-color.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.sa-width { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface-2); display: grid; place-items: center; cursor: pointer; }
.sa-width span { border-radius: 50%; display: block; max-width: 24px; max-height: 24px; }
.sa-width.on { border-color: var(--accent); }
.sa-side { flex: 1 1 240px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.sa-vote { padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent); display: flex; flex-direction: column; gap: 6px; }
.sa-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sa-card { padding: 8px; border-radius: 14px; background: var(--surface); border: 2px solid var(--border); display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.sa-card.voted { border-color: var(--accent); }
.sa-card.fake { border-color: var(--bad); box-shadow: 0 0 24px var(--bad-soft); transform: rotate(-1.5deg); }
.sa-card.gone { opacity: .45; }
.sa-thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; background: #fbf7f1; display: block; }
.sa-name { display: flex; align-items: center; gap: 6px; font-size: 13px; }

/* ---- Zincirleme Reaksiyon ---- */
.zr { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; width: 100%; }
.zr-main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.zr-head { width: 100%; max-width: 620px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.zr-clock { font-family: var(--mono); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); }
.zr-mode button:disabled { opacity: .4; cursor: not-allowed; }
.zr-board { position: relative; width: 100%; max-width: 620px; padding: 10px; border-radius: 20px; background: radial-gradient(ellipse at 50% 40%, #123a24, #06050a 80%); border: 1px solid #1d4a30; box-shadow: 0 30px 60px -24px #000c; }
.zr-grid { display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; }
.zr-cell { position: relative; aspect-ratio: 1; border: none; padding: 0; border-radius: 5px; background: #ffffff0d; cursor: pointer; transition: background .15s; overflow: visible; }
.zr-cell:hover { background: #ffffff22; }
.zr-grid.placing .zr-cell:hover { background: #3ad07a44; }
.zr-atom { position: absolute; inset: 8%; border-radius: 50%; display: grid; place-items: center; animation: floaty 2.4s ease-in-out infinite; }
.zr-atom::before { content: ''; width: 34%; height: 34%; border-radius: 50%; background: #f7efe6; box-shadow: 0 0 10px var(--c); z-index: 1; }
.zr-atom i { position: absolute; inset: 22% 0; border-radius: 50%; border: 2px solid var(--c); }
.zr-atom i:nth-child(2) { transform: rotate(60deg); }
.zr-atom i:nth-child(3) { transform: rotate(-60deg); }
.zr-fuse { position: absolute; inset: 10%; border-radius: 6px; background: color-mix(in oklab, var(--c) 35%, #06050a); border: 2px solid var(--c); display: grid; place-items: center; --p: 0; }
.zr-cell.armed .zr-fuse { background: conic-gradient(var(--c) calc(var(--p) * 360deg), color-mix(in oklab, var(--c) 25%, #06050a) 0); box-shadow: 0 0 calc(4px + var(--p) * 18px) var(--c); animation: tilePop .5s ease-in-out infinite; }
.zr-fuse b { font-family: var(--mono); font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.zr-boom { position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #ffd84a 30%, #ff5a1f 60%, transparent 72%); animation: burstC .6s ease-out both; pointer-events: none; z-index: 3; }
.zr-boom.core { inset: -60%; }
@keyframes burstC { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.zr-flash { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(0); font-size: clamp(22px,4.2vw,44px); font-weight: 900; font-stretch: 125%; color: #f7efe6; text-shadow: 2px 2px 0 #f2601f, 4px 4px 0 #a8300a, 0 0 40px #ff5a1f; pointer-events: none; white-space: nowrap; z-index: 5; opacity: 0; }
.zr-flash.on { animation: countBig 1.2s cubic-bezier(.2,.8,.2,1) both; }
.zr-lg { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.zr-lg.atom { background: radial-gradient(circle, #f7efe6 30%, #ff5a1f 34%, transparent 60%); border: 2px solid #ff5a1f; }
.zr-lg.cell { border-radius: 4px; background: #3ad07a; }

/* ---- Ayna Atışı (PixiJS): ortada yazı, dokunmatik kontroller ---- */
.mirror-stage { position: relative; width: 100%; aspect-ratio: 16/9; touch-action: none; cursor: crosshair; }
.mirror-stage canvas { display: block; }
.mirror-box { touch-action: none; user-select: none; -webkit-user-select: none; }
.mirror-center { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity var(--dur-2) var(--ease); text-align: center; padding: var(--sp-6); font-weight: var(--fw-black); color: #f7efe6; }
.mirror-center.on { opacity: 1; background: #06050a99; }
.mirror-center.count { font-size: clamp(64px, 14vw, 130px); text-shadow: 4px 4px 0 #b83a10, 8px 8px 0 #80270a; }
.mirror-center.end { font-size: clamp(26px, 5vw, 48px); text-shadow: 3px 3px 0 #b83a10, 6px 6px 0 #80270a; }
.mirror-center.msg { font-size: var(--fs-xl); font-weight: var(--fw-heavy); }
.mirror-touchhelp { display: none; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: 1.4; }
.mirror-stick { position: absolute; z-index: 5; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; border: 2px solid #ffffff40; background: #ffffff0d; pointer-events: none; opacity: 0; transition: opacity var(--dur-1); display: grid; place-items: center; }
.mirror-stick.on { opacity: 1; }
.mirror-stick i { width: 44px; height: 44px; border-radius: 50%; background: #ff5a1fcc; box-shadow: 0 0 18px #ff5a1f; }
.mirror-dash { display: none; position: absolute; z-index: 5; right: var(--sp-3); bottom: var(--sp-3); width: 56px; height: 56px; border-radius: 50%; border: 2px solid #7fe3ffaa; background: #0e2a33cc; color: #e8fbff; font-size: 24px; box-shadow: 0 0 18px #7fe3ff66; cursor: pointer; }
.mirror-dash.cd { opacity: .4; box-shadow: none; }
@media (hover: none), (pointer: coarse) {
  .mirror-touchhelp, .mirror-dash { display: grid; place-items: center; }
  .mirror-touchhelp { display: block; }
  .mirror-help { display: none; }
}
/* Golf Ufku: yatay telefonda alan ekran yüksekliğine sığsın (960x600) */
@media (pointer: coarse) and (orientation: landscape) { .golf-box { max-width: calc((100vh - 24px) * 1.6); margin-inline: auto; } }
/* Dörtle: renk körleri için ikinci oyuncunun pullarında iç halka (renk olmadan da ayırt edilir) */
.c4d.p2::after, .disc-dot.p2::after { content: ''; position: absolute; inset: 24%; border-radius: 50%; border: 3px solid #5a3d00b3; box-shadow: inset 0 0 0 2px #fff5; }
.disc-dot { position: relative; }
.disc-dot.p2::after { inset: 22%; border-width: 2px; box-shadow: none; }
/* satranç oyunları: hamle asistanı / sandbox kartı ve rozet */
.as-card { padding: 14px; gap: 10px; border: 1px dashed #3ad07a99; }
.as-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.as-hint { padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, #3ad07a 14%, var(--surface-2)); font-weight: 700; font-size: 13px; }
.as-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.as-tools .btn { flex: 1 1 120px; }
.as-spawn { display: flex; flex-wrap: wrap; gap: 6px; }
.as-pc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); font-size: 28px; line-height: 1; cursor: pointer; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif; }
.as-pc.on { border-color: #3ad07a; background: #3ad07a33; }
.as-pc .kx-svg { width: 28px; height: 28px; }
.as-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: #ffd84a; color: #2a1d00; font-size: 11px; font-weight: 800; vertical-align: middle; white-space: nowrap; }

/* ---- masa.css ---- */
/* Masa oyunları: Pişti, Tavla, Okey (Claude Design devir paketi, "Oyun - Pisti/Tavla/Okey") */

/* ===== Ortak ===== */
.mx-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.mx-av.sm { width: 28px; height: 28px; font-size: 14px; }
.mx-sec { margin-left: auto; font-family: var(--mono); font-size: 14px; }
.mx-sec.hot { color: var(--bad-text); }
.mx-log { max-height: 240px; overflow: auto; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }

/* ===== Okey ===== */
.okt-table {
  --tw: clamp(50px, 6.6vw, 70px);
  position: relative; border-radius: 28px; padding: clamp(10px, 2vw, 20px); color: #f2f7f6; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  background: repeating-radial-gradient(circle at 50% 40%, #ffffff05 0 1px, transparent 1px 4px), radial-gradient(ellipse at 50% 38%, #17505a, #0a2a31 60%, #04161a);
  box-shadow: inset 0 0 0 3px #031013, inset 0 0 0 6px #c99a4a55, inset 0 0 80px #000a, 0 30px 60px -20px #000c;
}
.okt-area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto minmax(170px, auto) auto; gap: 10px; min-height: clamp(360px, 48vh, 470px); }
.okt-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 14%; width: 100%; height: 100%; border-radius: 12% / 9%; font-weight: 900; line-height: 1; user-select: none; -webkit-user-select: none;
  background: linear-gradient(180deg, #fffdf5, #eee4cf); box-shadow: inset 0 -4px 0 #d8ccb2, 0 2px 0 #b9ab8e, 0 4px 6px #0006; font-size: clamp(14px, 2.5vw, 28px);
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.3), box-shadow .18s;
}
.okt-dot { width: 22%; aspect-ratio: 1; border-radius: 50%; background: currentColor; margin-top: 10%; }
.okt-star { position: absolute; right: 6%; top: 4%; font-size: .42em; color: #c9922a; }
.okt-set { position: absolute; left: 12%; right: 12%; bottom: 5%; height: 3px; border-radius: 3px; background: #2fbf6a; }
.okt-tile.up { transform: translateY(-14%); box-shadow: inset 0 -4px 0 #d8ccb2, 0 0 0 3px #ffd84a, 0 10px 16px #0009; }
.okt-tile.fresh { animation: tileUp .4s both; }
.okt-tile.left::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; border: 2px dashed #ffd84a99; pointer-events: none; }
.okt-tile.ghost { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; box-shadow: inset 0 -4px 0 #d8ccb2, 0 0 0 3px #ffd84a, 0 18px 26px #000a; }
.okt-pile { align-self: center; justify-self: center; position: relative; width: clamp(54px, 8vw, 84px); aspect-ratio: .72; border-radius: 10px; border: 2px dashed #ffffff22; background: #00000022; padding: 0; cursor: default; font-family: var(--font); transition: all .2s; color: inherit; }
.okt-pile.live { border-color: #ffd84a; background: #ffd84a14; box-shadow: 0 0 24px #ffd84a55; cursor: pointer; }
.okt-pile.hover { border-color: #ffd84a; background: #ffd84a33; }
.okt-pile .okt-tile { position: absolute; inset: -2px; width: auto; height: auto; font-size: clamp(18px, 3vw, 32px); }
.okt-pile .okt-tile.drop { animation: tileUp .35s both; }
.okt-under { position: absolute; inset: -2px; transform: translate(3px, 3px); border-radius: 12% / 9%; background: #d9cfb8; box-shadow: 0 2px 0 #9c907a; }
.okt-cnt { position: absolute; right: -8px; top: -8px; z-index: 2; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #031013; color: #bcd6d3; font-family: var(--mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.okt-cap { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #bcd6d3; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.okt-pile.live .okt-cap { color: #ffd84a; }
.okt-cap.n { font-family: var(--mono); font-size: 13px; letter-spacing: 0; bottom: -26px; }
.okt-opp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.okt-mini { display: flex; gap: 1px; padding: 4px 5px 7px; border-radius: 5px; background: linear-gradient(180deg, #8a5a32, #5a3a1e); box-shadow: inset 0 1px 0 #ffffff33, 0 3px 0 #2a1a0c, 0 6px 10px #0008; min-height: 31px; }
.okt-mini span { width: clamp(4px, .8vw, 8px); height: clamp(14px, 2vw, 20px); border-radius: 2px; background: linear-gradient(90deg, #e9e0cc, #fffdf5); box-shadow: inset -1px 0 0 #b9ab8e; }
.okt-center { grid-area: 2 / 2 / 3 / 3; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 44px); }
.okt-stack { position: relative; width: clamp(56px, 8.5vw, 88px); aspect-ratio: .72; border: none; background: transparent; padding: 0; cursor: default; }
.okt-stack.live { cursor: pointer; }
.okt-back { position: absolute; inset: 0; border-radius: 12% / 9%; background: radial-gradient(circle at 50% 40%, #e0541c, #7a1e04); box-shadow: inset 0 0 0 3px #fff3e0, inset 0 0 0 5px #a8300a, 0 2px 0 #3a0e06, 0 6px 10px #0008; }
.okt-a { position: absolute; inset: 0; transform: translate(-6px, -9px); display: grid; place-items: center; font-weight: 900; font-stretch: 125%; color: #fff3e0; font-size: clamp(18px, 2.6vw, 26px); letter-spacing: -.04em; pointer-events: none; }
.okt-stack.live::after { content: ''; position: absolute; inset: -8px; transform: translate(-6px, -9px); border-radius: 14px; box-shadow: 0 0 0 3px #ffd84a, 0 0 30px #ffd84a; pointer-events: none; }
.okt-gost { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.okt-tile.gost { width: var(--tw); height: auto; aspect-ratio: .72; padding-top: 9px; transform: rotate(-6deg); box-shadow: inset 0 -4px 0 #d8ccb2, 0 2px 0 #b9ab8e, 0 0 0 3px #ffd84a, 0 8px 18px #0009; font-size: clamp(18px, 2.6vw, 28px); }
.okt-gl { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #ffd84a; }
.okt-on { font-size: 12px; font-weight: 700; color: #bcd6d3; white-space: nowrap; }
.okt-on b { color: #fff; }
.okt-me { grid-area: 3 / 2 / 4 / 3; align-self: end; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.okt-timer { width: 160px; height: 5px; border-radius: 5px; background: #ffffff1a; overflow: hidden; transition: opacity .3s; }
.okt-timer > div { height: 100%; background: linear-gradient(90deg, #ff5a1f, #ffd84a); transform-origin: left; transition: transform .5s linear; }
.okt-rack { padding: clamp(5px, 1vw, 10px) clamp(5px, 1vw, 12px) clamp(7px, 1.2vw, 14px); border-radius: 14px; background: repeating-linear-gradient(91deg, #ffffff0a 0 2px, transparent 2px 9px), linear-gradient(180deg, #9a6a3e, #6a4224 60%, #4a2c14); box-shadow: inset 0 2px 0 #ffffff33, 0 8px 0 #2a1a0c, 0 20px 30px -10px #000c; display: flex; flex-direction: column; gap: clamp(5px, 1vw, 10px); touch-action: none; }
.okt-row { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: clamp(2px, .4vw, 4px); padding-bottom: clamp(4px, .8vw, 8px); border-bottom: clamp(3px, .6vw, 6px) solid #3a2410; box-shadow: 0 2px 0 #ffffff22; }
.okt-slot { position: relative; aspect-ratio: .72; min-width: 0; border-radius: 6px; background: #00000026; cursor: pointer; touch-action: none; }
.okt-slot.sel { background: #ffd84a33; }
.okt-slot.hover { background: #ffd84a55; box-shadow: 0 0 0 2px #ffd84a; }
.okt-slot .okt-tile { position: absolute; inset: 0; width: auto; height: auto; }
.okt-slot.dragging .okt-tile { opacity: .25; }
.okt-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.okt-b { height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #ffffff2a; background: #ffffff10; color: #f2f7f6; font-family: var(--font); font-weight: 800; cursor: pointer; }
.okt-b:disabled { cursor: not-allowed; }
.okt-b.throw { border: none; background: #ffffff14; color: #ffffff55; font-weight: 900; }
.okt-b.throw.on { background: #ff5a1f; color: #160700; }
.okt-b.fin { background: transparent; border: 2px solid #ffffff22; color: #ffffff55; font-weight: 900; padding: 0 22px; }
.okt-b.fin.on { border-color: #ffd84a; color: #ffd84a; }
.okt-b.show { border-color: #ffd84a; color: #ffd84a; }
.okt-over { position: absolute; inset: 0; z-index: 10; display: none; place-items: center; padding: 20px; background: radial-gradient(ellipse at 50% 45%, #0a2a31ee, #020a0cf5); }
.okt-over.show { display: grid; }
.okt-over-in { width: min(720px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; animation: fadeUp .5s both; }
.okt-over-k { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: #ffd84a; }
.okt-over-t { font-size: clamp(32px, 6vw, 64px); font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; line-height: .95; }
.okt-win { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.okt-win .okt-tile { width: clamp(28px, 4.4vw, 44px); height: auto; aspect-ratio: .72; font-size: clamp(13px, 2vw, 20px); animation: tileUp .4s both; padding-top: 5px; }
.okt-win .gap { width: 8px; }
.okt-help { padding: 16px; gap: 8px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.okt-l { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; color: var(--text-2); }
.okt-l.first { background: var(--surface-2); }
.okt-l .mx-av { width: 22px; height: 22px; font-size: 12px; }
@media (max-width: 640px) {
  .okt-table { padding: 8px; border-radius: 18px; gap: 10px; }
  .okt-area { min-height: 300px; grid-template-rows: auto minmax(130px, auto) auto; gap: 6px; }
  .okt-opp .ps-chip-t span { display: none; }
  .okt-opp .ps-chip { padding: 3px 8px 3px 3px; }
  .okt-opp .ps-av { width: 26px; height: 26px; font-size: 13px; }
  .okt-opp .ps-chip-t b { font-size: 12px; max-width: 70px; }
  .okt-mini { display: none; }
  .okt-pile { width: 46px; }
  .okt-cap { font-size: 9px; bottom: -18px; max-width: 70px; }
  .okt-center { gap: 16px; }
  .okt-stack { width: 50px; }
  .okt-tile.gost { width: 44px; }
  .okt-on { font-size: 11px; }
  .okt-me .ps-chip-t span { font-size: 11px; }
  .okt-tile { font-size: 15px; }
  .okt-rack { padding: 4px; gap: 4px; }
  .okt-row { gap: 1px; padding-bottom: 3px; border-bottom-width: 3px; }
  .okt-b { height: 44px; padding: 0 12px; font-size: 14px; flex: 1 1 auto; }
}

/* ===== Tavla ===== */
.tv-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tv-head { width: 100%; max-width: 860px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-pbar { width: 100%; max-width: 860px; }
.tv-pbar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.tv-pbar-in.me-on { border-color: var(--accent); }
.tv-pbar-in.op-on { border-color: var(--text-2); }
.tv-pl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tv-pl b { font-weight: 800; }
.tv-pip { display: flex; align-items: center; gap: 8px; }
.tv-pip span { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.tv-pip b { font-family: var(--mono); font-size: 22px; font-weight: 700; padding: 5px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); }
.tv-pip b.acc { background: var(--accent); color: var(--accent-ink); }
.tv-pip b.inv { background: var(--text); color: var(--bg); }
.tv-stage { position: relative; width: 100%; max-width: 860px; }
.tv-persp { width: 100%; perspective: 1400px; perspective-origin: 50% 0%; }
.tv-board {
  transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 70%; padding: clamp(6px, 1.6vw, 16px); border-radius: 18px;
  background: repeating-linear-gradient(91deg, #ffffff0a 0 2px, transparent 2px 9px), repeating-linear-gradient(87deg, #0000001f 0 1px, transparent 1px 13px), radial-gradient(ellipse at 30% 20%, #9a6a3e, transparent 60%), linear-gradient(145deg, #7a4e2c, #3a2412);
  box-shadow: 0 40px 70px -24px #000c, inset 0 2px 0 #ffffff33, inset 0 -3px 0 #00000055, 0 12px 0 #24160b, 0 14px 0 #1a1008;
}
.tv-board.d3 { transform: rotateX(30deg) translateY(-2%); }
.tv-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(20px, 4vw, 40px) minmax(0, 1fr) clamp(22px, 4.6vw, 46px); gap: clamp(3px, .8vw, 8px); aspect-ratio: 1.32; }
.tv-half { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, .26fr) minmax(0, 1fr); padding: clamp(3px, .8vw, 8px) clamp(1px, .5vw, 6px); border-radius: 8px; background: repeating-linear-gradient(90deg, #ffffff06 0 1px, transparent 1px 7px), radial-gradient(ellipse at 50% 45%, #4a2f1c, #24150a); box-shadow: inset 0 4px 14px #000a, inset 0 0 0 2px #1a0e06; }
.tv-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-height: 0; }
.tv-mid { display: grid; place-items: center; font-weight: 900; font-stretch: 125%; letter-spacing: .2em; font-size: clamp(10px, 1.6vw, 16px); color: #ffffff14; }
.tv-mid.dice { display: flex; align-items: center; justify-content: center; gap: clamp(5px, 1vw, 12px); letter-spacing: 0; }
.tv-pt { position: relative; min-width: 0; border: none; background: transparent; padding: 0 5%; cursor: pointer; display: flex; flex-direction: column; align-items: center; overflow: visible; }
.tv-pt.up { flex-direction: column-reverse; }
.tv-tri, .tv-glow { position: absolute; left: 5%; right: 5%; height: 94%; pointer-events: none; }
.tv-pt.down .tv-tri, .tv-pt.down .tv-glow { top: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tv-pt.up .tv-tri, .tv-pt.up .tv-glow { bottom: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tv-pt.light .tv-tri { background: linear-gradient(180deg, #f3e0bb, #cfae7a); }
.tv-pt.dark .tv-tri { background: linear-gradient(180deg, #d9581c, #8a2a08); }
.tv-pt.down .tv-glow { background: linear-gradient(180deg, #ffd84a, #ff5a1f00 95%); opacity: 0; transition: opacity .2s; }
.tv-pt.up .tv-glow { background: linear-gradient(0deg, #ffd84a, #ff5a1f00 95%); opacity: 0; transition: opacity .2s; }
.tv-pt.tgt .tv-glow { opacity: .85; }
.tv-ck { position: relative; flex: none; width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: clamp(9px, 1.3vw, 13px); }
.tv-ck.w { background: radial-gradient(circle at 35% 30%, #fffdf6, #efe0c2 50%, #c8ab7e); box-shadow: inset 0 0 0 3px #e2cda6, inset 0 0 0 4px #b8975f, inset 0 0 0 7px #f5e8cf, 0 3px 0 #9a7a4c, 0 6px 8px #0008; color: #5a4126; }
.tv-ck.b { background: radial-gradient(circle at 35% 30%, #6a4433, #2a1810 55%, #120904); box-shadow: inset 0 0 0 3px #3a2418, inset 0 0 0 4px #ff5a1f66, inset 0 0 0 7px #2a1810, 0 3px 0 #070302, 0 6px 8px #000a; color: #ffb088; }
.tv-ck.can { outline: 2px solid #ffd84aaa; outline-offset: -1px; }
.tv-ck.sel { outline: 3px solid #ffd84a; outline-offset: 0; filter: drop-shadow(0 0 8px #ff5a1faa); }
.tv-ck.last { animation: tilePop .35s both; }
.tv-bar { position: relative; border: none; padding: 6px 0; border-radius: 8px; cursor: pointer; background: linear-gradient(90deg, #2a1a0c, #5a3a20 50%, #2a1a0c); box-shadow: inset 0 0 0 1px #00000088; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.tv-bar.sel { box-shadow: inset 0 0 0 1px #00000088, 0 0 0 2px #ffd84a; }
.tv-bar-col { width: 86%; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tv-bar-col.up { flex-direction: column-reverse; }
.tv-cube { width: 86%; aspect-ratio: 1; border-radius: 18%; background: linear-gradient(145deg, #fffaf0, #e3d2b2); color: #3a2412; font-family: var(--mono); font-weight: 800; font-size: clamp(8px, 1.3vw, 13px); display: grid; place-items: center; box-shadow: 0 3px 6px #0009; }
.tv-cube.mine { box-shadow: 0 0 0 2px var(--accent), 0 3px 6px #0009; }
.tv-off { border: none; padding: 6px 4px; border-radius: 8px; cursor: pointer; background: linear-gradient(180deg, #1e1209, #2e1d0f); box-shadow: inset 0 3px 10px #000a; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; }
.tv-off.tgt { box-shadow: inset 0 3px 10px #000a, 0 0 0 2px #ffd84a, 0 0 18px #ffd84a88; }
.tv-off-col { display: flex; flex-direction: column; gap: 2px; }
.tv-off-col.up { flex-direction: column-reverse; }
.tv-offk { height: clamp(3px, .6vw, 6px); border-radius: 2px; }
.tv-offk.w { background: linear-gradient(90deg, #c8ab7e, #fffaf0, #d8c19a); box-shadow: 0 1px 0 #6a5030; }
.tv-offk.b { background: linear-gradient(90deg, #3a2418, #5a3a2a, #2a1810); box-shadow: 0 1px 0 #000; }
.tv-die { width: clamp(22px, 4vw, 42px); aspect-ratio: 1; border-radius: 22%; padding: clamp(2px, .45vw, 4px); background: linear-gradient(145deg, #fffaf0, #e3d2b2); box-shadow: inset 0 -3px 0 #c9b28a, inset 0 2px 0 #fff, 0 6px 10px #0009; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); transition: opacity .3s; }
.tv-die span { margin: 14%; border-radius: 50%; }
.tv-die span.on { background: radial-gradient(circle at 35% 35%, #ff7a3a, #a8300a); }
.tv-die.op span.on { background: radial-gradient(circle at 35% 35%, #7a2a10, #2a0c02); }
.tv-die.used { opacity: .32; filter: grayscale(1); }
.tv-x2 { font-family: var(--mono); font-weight: 800; font-size: clamp(10px, 1.4vw, 14px); color: #ffd84a; }
.tv-flash { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; padding: 14px 22px; border-radius: 16px; background: #000c; color: #ffd84a; font-weight: 900; font-stretch: 115%; font-size: clamp(16px, 3vw, 30px); width: max-content; max-width: 88%; text-align: center; line-height: 1.2; opacity: 0; transition: opacity .3s; }
.tv-flash.show { opacity: 1; animation: tilePop .5s both; }
.tv-actions { display: flex; flex-direction: column; gap: 8px; }
.tv-actions:empty { display: none; }
.tv-row2 { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-row2 > .btn { flex: 1 1 120px; height: 50px; }
.tv-roll { height: 64px; border-radius: 16px; border: none; background: var(--accent); color: var(--accent-ink); font-family: var(--font); font-weight: 900; font-stretch: 115%; font-size: 20px; cursor: pointer; box-shadow: 0 6px 0 var(--accent-deep), 0 14px 30px -10px var(--accent); display: flex; align-items: center; justify-content: center; gap: 8px; }
.tv-roll:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--accent-deep); }
.tv-confirm { flex: 1.4 1 140px !important; }
.tv-resign { border: 1px solid var(--bad) !important; background: var(--bad-soft) !important; color: var(--bad-text) !important; }
.tv-offer { padding: 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: flex; flex-direction: column; gap: 4px; }
.tv-lr { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; font-family: var(--mono); font-size: 14px; }
.tv-lr.first { background: var(--accent-soft); }
.tv-lr b { min-width: 34px; }
.tv-lr span:last-child { color: var(--text-2); }
.tv-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px #0004; }
.tv-dot.w { background: #efe0c2; }
.tv-dot.b { background: #3a2418; }
@media (max-width: 640px) {
  .tv-board.d3 { transform: rotateX(18deg); }
  .tv-pbar-in { padding: 8px 10px; }
  .tv-pip b { font-size: 17px; padding: 4px 9px; }
  .tv-ck { font-size: 8px; }
  .tv-ck.w { box-shadow: inset 0 0 0 2px #e2cda6, inset 0 0 0 3px #b8975f, 0 2px 0 #9a7a4c; }
  .tv-ck.b { box-shadow: inset 0 0 0 2px #3a2418, inset 0 0 0 3px #ff5a1f66, 0 2px 0 #070302; }
}

/* ===== Pişti ===== */
.ps { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; width: 100%; }
.ps-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ps-top { display: flex; gap: 8px; }
.ps-mode { height: 28px; padding: 0 10px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 800; letter-spacing: .08em; display: grid; place-items: center; }
.ps-table {
  --cw: clamp(62px, 9vw, 100px);
  position: relative; min-height: clamp(520px, 72vh, 700px); border-radius: 28px; padding: clamp(10px, 2vw, 22px); overflow: hidden; color: #f7efe6;
  background: repeating-radial-gradient(circle at 50% 45%, #ffffff05 0 1px, transparent 1px 4px), radial-gradient(ellipse at 50% 42%, #7a2614, #3a0e06 62%, #1a0603);
  box-shadow: inset 0 0 0 3px #1a0603, inset 0 0 0 6px #c99a4a55, inset 0 0 80px #000a, 0 30px 60px -20px #000c;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px;
}
.ps-opp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.ps-opp.at-top { grid-area: 1 / 1 / 2 / 4; }
.ps-opp.at-left { grid-area: 2 / 1 / 3 / 2; }
.ps-opp.at-right { grid-area: 2 / 3 / 3 / 4; }
.ps-chip { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: #00000055; box-shadow: 0 0 0 2px transparent; transition: box-shadow .3s; max-width: 100%; min-width: 0; }
.ps-chip.on { box-shadow: 0 0 0 2px #ffd84a; }
.ps-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.ps-av.sm { width: 28px; height: 28px; font-size: 14px; }
.ps-chip-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ps-chip-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-chip-t span { font-size: 12px; color: #e9d8c2; white-space: nowrap; }
.ps-backs { display: flex; justify-content: center; padding-left: 22px; min-height: 20px; }
.pkc {
  position: relative; display: block; width: var(--cw); aspect-ratio: 5 / 7; border-radius: 9px; flex: none; color: #1c1511;
  background: linear-gradient(160deg, #fffdf7, #efe4cf);
  box-shadow: inset 0 0 0 1px #0000001f, inset 0 0 0 4px #fffdf7, inset 0 0 0 5px #00000010, 0 8px 16px -4px #000b;
}
.pkc.red { color: #c2261a; }
.pkc.court { box-shadow: inset 0 0 0 1px #0000001f, inset 0 0 0 4px #fffdf7, inset 0 0 0 5px #1c151155, 0 8px 16px -4px #000b; }
.pkc.court.red { box-shadow: inset 0 0 0 1px #0000001f, inset 0 0 0 4px #fffdf7, inset 0 0 0 5px #c2261a55, 0 8px 16px -4px #000b; }
.pkc-k { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 900; font-stretch: 110%; font-size: calc(var(--cw) * .19); }
.pkc-k span { font-size: .9em; }
.pkc-k.tl { left: 9%; top: 5%; }
.pkc-k.br { right: 9%; bottom: 5%; transform: rotate(180deg); }
.pkc-c { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-stretch: 125%; font-size: calc(var(--cw) * .46); line-height: 1; }
.pkc.back {
  background: repeating-linear-gradient(45deg, #ffffff14 0 2px, transparent 2px 9px), repeating-linear-gradient(-45deg, #ffffff14 0 2px, transparent 2px 9px), radial-gradient(circle at 50% 40%, #e0541c, #7a1e04);
  box-shadow: inset 0 0 0 3px #fff3e0, inset 0 0 0 5px #a8300a, 0 2px 0 #3a0e06, 0 8px 14px -4px #000a; display: grid; place-items: center;
}
.pkc-logo { font-weight: 900; font-stretch: 125%; color: #fff3e0; font-size: calc(var(--cw) * .24); letter-spacing: -.04em; }
.pkc.back.sm { width: clamp(30px, 4.4vw, 48px); margin-left: -22px; border-radius: 6px; box-shadow: inset 0 0 0 2px #fff3e0, inset 0 0 0 3px #a8300a, 0 4px 8px #0009; }
.pkc.back.sm .pkc-logo { display: none; }
.ps-center { grid-area: 2 / 2 / 3 / 3; position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 4vw, 48px); min-height: 220px; }
.ps-deck { position: relative; width: var(--cw); aspect-ratio: 5 / 7; flex: none; }
.ps-deck .pkc { position: absolute; inset: 0; }
.ps-deck-n { position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 13px; font-weight: 700; color: #e9d8c2; }
.ps-pile { position: relative; width: calc(var(--cw) * 2.2); aspect-ratio: 1.15; flex: none; }
.ps-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed #ffffff22; }
.ps-pile-in { position: absolute; inset: 0; transition: transform .55s cubic-bezier(.5, 0, .8, .4), opacity .55s; }
.ps-pile-in .pkc { position: absolute; }
.pkc.deal, .ps-hc.deal { animation: cardDeal .45s cubic-bezier(.2, .8, .2, 1) both; }
.ps-burst {
  position: absolute; inset: -40px; display: grid; place-items: center; pointer-events: none; z-index: 5; font-size: clamp(36px, 7vw, 76px); font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; color: #ffd84a;
  text-shadow: 0 2px 0 #a8300a, 0 4px 0 #7a1e04, 0 8px 0 #3a0e06, 0 0 40px #ff5a1f; opacity: 0; white-space: nowrap;
}
.ps-burst.show { animation: tilePop .6s both; opacity: 1; }
.ps-me { grid-area: 3 / 1 / 4 / 4; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ps-hand { --cw: clamp(70px, 10.5vw, 116px); display: flex; justify-content: center; align-items: flex-end; min-height: calc(var(--cw) * 1.45); padding: 0 30px; }
.ps-hc { position: relative; margin: 0 clamp(-14px, -1.2vw, -6px); padding: 0; border: none; background: transparent; cursor: default; transform-origin: 50% 120%; --dy: -260px; --dx: 0px; }
.ps-hc .pkc { transition: transform .18s cubic-bezier(.2, .9, .3, 1.3); }
.ps-hc.live { cursor: pointer; }
.ps-hc.live:hover .pkc, .ps-hc.live:focus-visible .pkc { transform: translateY(-22px); }
.ps-hc .pkc.takes { box-shadow: inset 0 0 0 1px #0000001f, inset 0 0 0 4px #fffdf7, 0 12px 22px -6px #000c, 0 0 0 3px #ffd84a, 0 0 26px 6px #ff5a1f88; }
.ps-tag { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); height: 22px; padding: 0 8px; border-radius: 99px; background: #ffd84a; color: #3a1a00; font-size: 11px; font-weight: 900; letter-spacing: .06em; display: grid; place-items: center; white-space: nowrap; box-shadow: 0 4px 10px #0008; }
.ps-over { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 50% 50%, #2a0a04ee, #0a0302f7); }
.ps-over-in { width: min(440px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: fadeUp .5s both; }
.ps-over-k { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: #ffb088; }
.ps-over-t { font-size: clamp(30px, 5vw, 48px); font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; }
.ps-res { width: 100%; display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #ffffff0d; text-align: left; }
.ps-res .big { font-size: 22px; font-weight: 700; }
.ps-res .muted { color: #e9d8c2 !important; }
.ps-board { padding: 16px; gap: 6px; }
.ps-row { display: grid; grid-template-columns: 1fr 44px 44px 52px; gap: 8px; align-items: center; min-height: 44px; padding: 0 6px; margin: 0 -6px; border-radius: 10px; }
.ps-row > span:not(.ps-nm) { text-align: right; }
.ps-row.head { min-height: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.ps-row.on { background: var(--accent-soft); }
.ps-row .acc { color: var(--accent-text); font-weight: 700; }
.ps-row .big { font-size: 18px; font-weight: 700; }
.ps-nm { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.ps-nm > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-log { max-height: 220px; overflow: auto; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.ps-l { padding: 5px 8px; border-radius: 8px; color: var(--text-2); }
.ps-l.first { background: var(--surface-2); }
.ps-l.take { color: var(--text); font-weight: 800; }
.ps-l.pisti { background: var(--accent-soft); color: var(--accent-text); font-weight: 800; }
.ps-sec { margin-left: auto; font-family: var(--mono); font-size: 14px; }
.ps-sec.hot { color: var(--bad-text); }
@media (max-width: 640px) {
  .ps-table { --cw: 50px; min-height: 470px; padding: 10px; border-radius: 20px; gap: 6px; grid-template-columns: minmax(0, .7fr) minmax(0, 2.4fr) minmax(0, .7fr); }
  .ps-hand { --cw: 64px; padding: 0 16px; min-height: 100px; }
  .ps-chip { padding: 4px 8px 4px 4px; }
  .ps-chip .ps-av { width: 28px; height: 28px; font-size: 14px; }
  .ps-opp.at-left .ps-chip, .ps-opp.at-right .ps-chip { padding: 3px; }
  .ps-opp.at-left .ps-chip-t, .ps-opp.at-right .ps-chip-t { display: none; }
  .ps-opp .ps-backs { padding-left: 14px; }
  .pkc.back.sm { width: 24px; margin-left: -15px; }
  .ps-pile { width: calc(var(--cw) * 2.5); }
  .ps-center { min-height: 170px; gap: 16px; }
}

/* ---- ozgun.css ---- */
/* Özgün oyunlar 2: Kripto Kaos, Telsiz, Sınır Hattı, Derin Devlet (alaz tasarım sistemi tokenlarıyla) */
.spark { display: block; width: 100%; height: auto; overflow: visible; }

/* ===== Kripto Kaos ===== */
.kk-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(12px, 2vw, 20px); border-radius: 24px; color: #e8f5ee;
  background: linear-gradient(#ffffff06 1px, transparent 1px) 0 0 / 100% 28px, radial-gradient(ellipse at 50% 0%, #0f3324, #06140e 70%); box-shadow: inset 0 0 0 1px #1f4a35, 0 30px 60px -24px #000c; }
.kk-main.shake { animation: shake .4s both; }
.kk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kk-live { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #7cf0aa; }
.kk-live i { width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 10px #3ad07a; animation: blink 1s infinite; }
.kk-news { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #00000066; border: 1px solid #ff5a1f55; min-height: 64px; animation: fadeUp .35s both; }
.kk-news.resolved { border-color: #3ad07a66; }
.kk-news.resolved.fake { border-color: #ff4d4d; background: #3a141466; }
.kk-tag { flex: none; padding: 5px 10px; border-radius: 8px; background: #ff5a1f; color: #160700; font-size: 12px; font-weight: 900; letter-spacing: .1em; animation: blink 1.2s infinite; }
.kk-tag.rumor { background: #ffd84a; color: #2a1d00; }
.kk-tag.ok { background: #3ad07a; color: #04140a; animation: none; }
.kk-tag.fake { background: #ff4d4d; color: #1a0404; animation: tilePop .5s both; }
.kk-head-t { font-size: clamp(16px, 2.2vw, 22px); font-weight: 900; font-stretch: 112%; line-height: 1.2; }
.kk-bar { height: 6px; border-radius: 6px; background: #ffffff14; overflow: hidden; }
.kk-bar > div { height: 100%; background: linear-gradient(90deg, #ff5a1f, #ffd84a); transform-origin: left; transition: transform .1s linear; }
.kk-bar.resolve > div { background: #7fe3ff; }
.kk-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kk-lbl { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #9cc9b2; text-transform: uppercase; }
.kk-frac { background: #00000055; border-color: #1f4a35; }
.kk-frac button { color: #9cc9b2; }
.kk-frac button.on { background: #1f4a35; color: #fff; }
.kk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kk-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: #00000059; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); transition: transform .2s, box-shadow .3s; }
.kk-card.up { box-shadow: 0 0 0 2px #3ad07a, 0 0 30px #3ad07a55; }
.kk-card.down { box-shadow: 0 0 0 2px #ff4d4d, 0 0 30px #ff4d4d55; }
.kk-ct { display: flex; align-items: center; gap: 10px; }
.kk-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c) 22%, #000); }
.kk-nm { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.kk-nm b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-nm span { font-family: var(--mono); font-size: 11px; color: #9cc9b2; }
.kk-pr { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.kk-pr b { font-size: 20px; }
.kk-pr span { font-size: 12px; }
.g { color: #5be39a !important; }
.r { color: #ff8080 !important; }
.kk-move { position: absolute; right: 14px; top: 58px; font-family: var(--mono); font-size: clamp(22px, 3vw, 32px); font-weight: 800; animation: tilePop .5s both; text-shadow: 0 2px 12px #000; }
.kk-hold { font-size: 12px; color: #b8dcc8; min-height: 16px; }
.kk-btns { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; }
.kk-b { text-transform: uppercase; height: 40px; border-radius: 10px; border: none; font-family: var(--font); font-weight: 900; font-size: 13px; cursor: pointer; letter-spacing: .02em; }
.kk-b.buy { background: #3ad07a; color: #04140a; box-shadow: 0 3px 0 #1d7a45; }
.kk-b.sell { background: #ffffff1a; color: #fff; box-shadow: 0 3px 0 #00000088; }
.kk-b.short { background: #ff4d4d; color: #1a0404; box-shadow: 0 3px 0 #8a1f1f; }
.kk-b:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.kk-b:disabled { opacity: .3; cursor: not-allowed; }
.kk-wallet, .kk-board, .kk-reveal { padding: 16px; gap: 8px; }
.kk-w { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--text-2); }
.kk-w b { color: var(--text); font-size: 16px; }
.kk-w.big b { font-size: 24px; }
.kk-mine { display: flex; flex-wrap: wrap; gap: 4px; }
.kk-chip { text-transform: uppercase; display: inline-block; padding: 2px 7px; margin: 1px 2px; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; background: var(--surface-2); }
.kk-chip.buy { background: var(--good-soft); color: var(--good-text); }
.kk-chip.short { background: var(--bad-soft); color: var(--bad-text); }
.kk-row { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr) 60px 64px; align-items: center; gap: 8px; min-height: 38px; padding: 0 6px; margin: 0 -6px; border-radius: 10px; }
.kk-row.me { background: var(--accent-soft); }
.kk-row.broke { opacity: .45; }
.kk-row > b { text-align: right; }
.kk-rk { color: var(--muted); font-size: 12px; }
.kk-pn { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.kk-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1s infinite; }
.kk-rv { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
@media (max-width: 640px) {
  .kk-main { padding: 10px; border-radius: 18px; gap: 10px; }
  .kk-grid { gap: 8px; }
  .kk-card { padding: 10px; gap: 6px; border-radius: 14px; }
  .kk-ic { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .kk-nm b { display: none; }
  .kk-nm span { font-size: 14px; font-weight: 900; color: #fff; letter-spacing: .04em; }
  .kk-ct { gap: 7px; }
  .kk-pr span { font-size: 10px; white-space: nowrap; }
  .kk-pr b { font-size: 16px; }
  .kk-move { top: 44px; right: 10px; font-size: 20px; }
  .kk-btns { grid-template-columns: 1fr 1fr; }
  .kk-b.short { grid-column: span 2; }
  .kk-b { height: 38px; font-size: 12px; }
  .kk-hold { font-size: 11px; }
  .kk-news { padding: 10px 12px; gap: 8px; }
}

/* ===== Telsiz ===== */
.tz-main { flex: 1 1 600px; min-width: 0; }
.tz-radio { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(14px, 2.4vw, 24px); border-radius: 26px; color: #e9f6f8; overflow: hidden;
  background: repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 3px), linear-gradient(160deg, #263038, #10161b 70%); box-shadow: inset 0 2px 0 #ffffff22, inset 0 0 0 1px #3a4a55, 0 30px 60px -20px #000c; }
.tz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tz-role { display: flex; align-items: center; gap: 12px; }
.tz-led { width: 14px; height: 14px; border-radius: 50%; animation: blink 1.4s infinite; }
.tz-role b { display: block; font-size: 20px; font-weight: 900; font-stretch: 125%; letter-spacing: .04em; }
.tz-role span { font-size: 13px; color: #a8c3cc; }
.tz-dial { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: #a8c3cc; }
.tz-freq { font-size: 18px; color: #7fe3ff; text-shadow: 0 0 10px #7fe3ff88; }
.tz-screen { position: relative; min-height: 220px; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #0d3a33, #031512 80%); box-shadow: inset 0 0 0 2px #0a2622, inset 0 0 40px #000c; color: #9dffe0; text-align: center; }
.tz-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #00000033 0 2px, transparent 2px 4px); }
.tz-word { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tz-word span { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: #6fd8bb; }
.tz-word b { font-size: clamp(32px, 6vw, 56px); font-weight: 900; font-stretch: 125%; letter-spacing: .04em; color: #fff; text-shadow: 0 0 20px #3dffc188; }
.tz-word.sm b { font-size: clamp(20px, 3vw, 28px); }
.tz-word.ok b { color: #5be39a; }
.tz-word.bad b { color: #ff8080; text-shadow: 0 0 20px #ff4d4d88; }
.tz-wait { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tz-wait b { font-size: 20px; }
.tz-wait span, .tz-len { font-family: var(--mono); font-size: 13px; color: #6fd8bb; }
.tz-noise { position: absolute; inset: -60px -200px; opacity: .35; background: repeating-linear-gradient(90deg, #9dffe0 0 1px, transparent 1px 5px), repeating-linear-gradient(0deg, #9dffe055 0 1px, transparent 1px 3px); animation: tzNoise .25s steps(4) infinite; }
.tz-noise.strong { opacity: .6; }
@keyframes tzNoise { 0% { transform: translate(0, 0); } 25% { transform: translate(-7px, 3px); } 50% { transform: translate(5px, -4px); } 75% { transform: translate(-3px, 6px); } 100% { transform: translate(0, 0); } }
.tz-signal { position: relative; z-index: 1; font-family: var(--mono); font-size: clamp(22px, 4vw, 40px); font-weight: 700; letter-spacing: .06em; color: #e9fff8; text-shadow: 0 0 14px #3dffc166; word-break: break-word; }
.tz-signal .nz { display: inline-block; color: #ff5ad8; text-shadow: 0 0 10px #ff5ad8; animation: tzGlitch .18s steps(2) infinite; }
@keyframes tzGlitch { 0% { transform: translate(0, 0) skewX(0); opacity: 1; } 50% { transform: translate(2px, -1px) skewX(-10deg); opacity: .6; } 100% { transform: translate(-1px, 1px); opacity: 1; } }
.tz-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; position: relative; z-index: 1; }
.tz-compare > div { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: #00000044; }
.tz-compare span { font-size: 11px; letter-spacing: .2em; color: #6fd8bb; font-family: var(--mono); }
.tz-compare b { font-size: 20px; }
.tz-compare .tz-signal { font-size: 20px; }
.tz-panel { display: flex; flex-direction: column; gap: 10px; }
.tz-panel:empty { display: none; }
.tz-row { display: flex; gap: 8px; }
.tz-row .input { flex: 1; min-width: 0; }
.tz-in { background: #0b1216 !important; color: #e9f6f8 !important; border-color: #3a4a55 !important; }
.tz-jam-h { display: flex; justify-content: space-between; align-items: center; color: #e9b8ff; font-size: 14px; }
.tz-jam { display: flex; flex-wrap: wrap; gap: 10px; }
.tz-jw { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 10px; background: #00000044; }
.tz-jw.decoy { box-shadow: 0 0 0 2px #c04fd6; }
.tz-ch { width: 30px; height: 40px; border-radius: 8px; border: 1px solid #3a4a55; background: #1a2329; color: #e9f6f8; font-family: var(--mono); font-size: 18px; font-weight: 700; cursor: pointer; }
.tz-ch.on { background: #c04fd6; border-color: #e9b8ff; color: #fff; }
.tz-dec { padding: 0 10px; font-family: var(--mono); font-size: 18px; font-weight: 700; color: #e9b8ff; }
.tz-sw { width: 30px; height: 40px; border-radius: 8px; border: none; background: transparent; color: #a8c3cc; font-size: 16px; cursor: pointer; }
.tz-go { height: 52px; }
.tz-guesses { display: flex; flex-wrap: wrap; gap: 6px; }
.tz-g { padding: 5px 10px; border-radius: 99px; background: #3a1414; color: #ffb3b3; font-size: 13px; text-decoration: line-through; text-decoration-color: #ff4d4d88; }
.tz-g.ok { background: #12301f; color: #9ff0bf; text-decoration: none; }
.tz-crew, .tz-scores, .sh-scores { padding: 16px; gap: 8px; }
.tz-team { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tz-team > span:first-child { width: 100%; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.tz-p { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tz-p.ready::after { content: '✓'; color: var(--good); }
.tz-sc { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.tz-sc b { font-size: 18px; }
@media (max-width: 640px) {
  .tz-radio { padding: 12px; border-radius: 18px; gap: 10px; }
  .tz-screen { min-height: 170px; padding: 14px; }
  .tz-ch, .tz-sw { width: 26px; height: 36px; font-size: 15px; }
  .tz-compare { grid-template-columns: 1fr; }
  .tz-role b { font-size: 17px; }
}

/* ===== Sınır Hattı ===== */
.sh-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.sh-info { width: 100%; max-width: 640px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sh-role { height: 28px; padding: 0 12px; border-radius: 99px; display: grid; place-items: center; font-size: 12px; font-weight: 900; letter-spacing: .1em; background: var(--surface-2); }
.sh-role.runner { background: var(--good-soft); color: var(--good-text); }
.sh-role.cutter { background: var(--bad-soft); color: var(--bad-text); }
.sh-prog { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.sh-prog i { width: 90px; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.sh-prog b { display: block; height: 100%; background: var(--good); transition: width .4s; }
.sh-who { margin-left: auto; font-weight: 800; }
.sh-board { width: 100%; max-width: 640px; border-radius: 26px; padding: 8px; overflow: hidden; touch-action: manipulation;
  background: radial-gradient(circle at 20% 15%, #ffffff10 0 1px, transparent 2px) 0 0 / 46px 46px, radial-gradient(circle at 70% 60%, #ffffff0c 0 1px, transparent 2px) 0 0 / 71px 71px, radial-gradient(ellipse at 50% 40%, #1d1940, #05040e 75%);
  box-shadow: inset 0 0 0 1px #2c2758, 0 30px 60px -24px #000c; }
.sh-svg { display: block; width: 100%; height: auto; cursor: crosshair; user-select: none; }
.sh-cell .sh-top { fill: url(#shTile); stroke: #6a5fd8; stroke-width: 1.5; }
.sh-cell .sh-side { fill: #0c0a1e; }
.sh-cell.mv { cursor: pointer; }
.sh-cell.mv .sh-top { stroke: #3ad07a; stroke-width: 3; fill: #1d3a2c; animation: blink 1s infinite; }
.sh-cell.fall { animation: shFall 1.1s cubic-bezier(.5, 0, .9, .5) both; }
@keyframes shFall { 0% { transform: translateY(0) rotate(0) scale(1); opacity: 1; } 100% { transform: translateY(260px) rotate(25deg) scale(.6); opacity: 0; } }
.sh-cut { stroke: #ff5a1f; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 4px #ff5a1f); }
.sh-laser { stroke: #fff; stroke-width: 9; stroke-linecap: round; filter: url(#shGlow); animation: shLaser .7s ease-out both; }
@keyframes shLaser { 0% { opacity: 1; stroke-width: 14; } 100% { opacity: 0; stroke-width: 2; } }
.sh-prev { stroke: #ff4d4d; stroke-width: 6; stroke-dasharray: 10 8; stroke-linecap: round; animation: shDash .5s linear infinite; }
@keyframes shDash { to { stroke-dashoffset: -18; } }
.sh-runner .sh-rc { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 6px 6px #000a); }
.sh-runner { transition: transform .3s; }
.sh-runner.fall { animation: shFall 1.3s cubic-bezier(.5, 0, .9, .5) both; }
.sh-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sh-actions:empty { display: none; }
.sh-fire:not(:disabled) { animation: pulse 1.2s infinite; }
.tz-sc.runner { color: var(--good-text); }
.tz-sc.cutter { color: var(--bad-text); }
@media (max-width: 640px) {
  .sh-board { padding: 4px; border-radius: 18px; }
  .sh-prog i { width: 60px; }
}

/* ===== Derin Devlet ===== */
.dv-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dv-tre { margin-left: auto; font-weight: 700; color: var(--text-2); }
.dv-hall { display: flex; flex-direction: column; gap: 16px; padding: clamp(14px, 2.4vw, 26px); border-radius: 26px; color: #f3ead8;
  background: radial-gradient(ellipse at 50% 0%, #4a1f5a, #1a0b22 70%); box-shadow: inset 0 0 0 1px #5a2f6a, inset 0 0 0 6px #c99a4a22, 0 30px 60px -24px #000c; }
.dv-paper { position: relative; min-height: 200px; padding: clamp(18px, 3vw, 30px); border-radius: 6px; color: #2a1d10; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(#0000000d 1px, transparent 1px) 0 0 / 100% 30px, linear-gradient(180deg, #fbf3df, #efe2c2); box-shadow: 0 2px 0 #c9b48a, 0 20px 40px -14px #000c; transform: rotate(-.4deg); animation: fadeUp .4s both; }
.dv-kick { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #8a5a2a; }
.dv-title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; font-stretch: 112%; line-height: 1.15; }
.dv-sub { font-size: 14px; color: #6a5030; }
.dv-wait { font-size: 46px; animation: floaty 2s infinite; }
.dv-law { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(20px, 2.8vw, 28px); line-height: 1.35; font-weight: 700; }
.dv-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-meta span { padding: 4px 10px; border-radius: 99px; background: #2a1d1014; font-size: 12px; font-weight: 800; color: #6a4020; }
.dv-stamp { position: absolute; right: 20px; bottom: 16px; padding: 6px 16px; border: 5px solid; border-radius: 10px; font-size: clamp(26px, 4vw, 40px); font-weight: 900; font-stretch: 125%; letter-spacing: .08em; transform: rotate(-12deg); animation: dvStamp .45s cubic-bezier(.2, 1.4, .4, 1) both; opacity: .88; }
.dv-stamp.ok { color: #1f8a4a; border-color: #1f8a4a; }
.dv-stamp.no { color: #c2261a; border-color: #c2261a; }
@keyframes dvStamp { 0% { transform: rotate(-12deg) scale(2.6); opacity: 0; } 100% { transform: rotate(-12deg) scale(1); opacity: .88; } }
.dv-drafts { display: flex; flex-direction: column; gap: 6px; }
.dv-draft { text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid #c9b48a; background: #fffaf0; color: #2a1d10; font-family: Georgia, serif; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.dv-draft:hover { border-color: #8a5a2a; background: #fff; }
.dv-k { flex: none; font-family: var(--mono); font-size: 11px; color: #a8300a; }
.dv-builder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dv-sel { background: #fffaf0 !important; color: #2a1d10 !important; border-color: #c9b48a !important; }
.dv-preview { font-family: Georgia, serif; font-size: 18px; font-weight: 700; padding: 10px 12px; border-left: 4px solid #8a5a2a; background: #2a1d100a; }
.dv-ballot { display: flex; flex-direction: column; gap: 12px; }
.dv-ballot:empty { display: none; }
.dv-extra { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-weight: 700; }
.dv-extra .seg-pill { background: #00000055; border-color: #5a2f6a; }
.dv-extra .seg-pill button { color: #d9c8e8; }
.dv-extra .seg-pill button.on { background: #ffd84a; color: #2a1d00; }
.dv-vbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dv-v { height: 68px; border-radius: 16px; border: 2px solid transparent; font-family: var(--font); font-size: 22px; font-weight: 900; font-stretch: 115%; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s; }
.dv-v:active { transform: translateY(3px); }
.dv-v.yes { background: #1f8a4a; color: #eafff2; box-shadow: 0 5px 0 #0f5a2c; }
.dv-v.no { background: #c2261a; color: #fff0ee; box-shadow: 0 5px 0 #7a1208; }
.dv-v.on { border-color: #ffd84a; outline: 3px solid #ffd84a55; }
.dv-seats { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.dv-seat { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: var(--c); opacity: .45; filter: grayscale(.6); transition: all .3s; position: relative; }
.dv-seat.done { opacity: 1; filter: none; box-shadow: 0 0 0 3px #ffd84a; }
.dv-seat.pres::after { content: '👑'; position: absolute; top: -12px; font-size: 14px; }
.dv-tally { display: flex; height: 40px; border-radius: 12px; overflow: hidden; font-weight: 900; font-size: 14px; }
.dv-tally > div { display: flex; align-items: center; justify-content: center; min-width: 70px; transition: width .6s; white-space: nowrap; }
.dv-tally .yes { background: #1f8a4a; }
.dv-tally .no { background: #c2261a; }
.dv-deltas { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dv-d { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: #00000044; font-weight: 700; font-size: 13px; animation: fadeUp .4s both; }
.dv-d i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.dv-d.g b { color: #5be39a; }
.dv-d.r b { color: #ff8080; }
.dv-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dv-acc label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; }
.dv-reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dv-rv { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; background: #2a1d100f; }
.dv-rv b { font-size: 20px; }
.dv-rl { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #8a5a2a; }
.dv-role, .dv-chart, .dv-kaos, .dv-hist { padding: 16px; gap: 10px; }
.dv-rcard { width: 100%; min-height: 120px; padding: 14px; border-radius: 16px; border: 2px dashed var(--border-2); background: var(--surface-2); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; cursor: pointer; font-family: var(--font); }
.dv-rcard.open { border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); }
.dv-rcard b { font-size: 20px; font-weight: 900; font-stretch: 115%; letter-spacing: .06em; }
.dv-rcard span { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.dv-ri { font-size: 30px !important; }
.dv-km { position: relative; height: 22px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.dv-km > div { height: 100%; background: linear-gradient(90deg, #ffd84a, #ff5a1f, #c2261a); transition: width .6s; }
.dv-km b { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; }
.dv-svg { width: 100%; height: auto; display: block; }
.dv-gl { stroke: var(--border); stroke-width: 1; }
.dv-legend { display: flex; flex-direction: column; gap: 4px; }
.dv-lg { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dv-lg.me { font-weight: 800; }
.dv-lg i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dv-lg b { margin-left: auto; }
.dv-hl { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: start; font-size: 13px; padding: 4px 0; color: var(--text-2); }
.dv-hl.ok b { color: var(--good); }
.dv-hl.no b { color: var(--bad); }
@media (max-width: 640px) {
  .dv-hall { padding: 10px; border-radius: 18px; gap: 12px; }
  .dv-paper { padding: 16px; transform: none; }
  .dv-v { height: 60px; font-size: 19px; }
  .dv-builder, .dv-acc, .dv-reveal { grid-template-columns: 1fr; }
  .dv-stamp { right: 10px; bottom: 10px; }
}

/* ---- kral.css ---- */
/* Kralın Satrancı (Ulaş'ın tasarımı): tahta, taş rozetleri, iksir efektleri, skin ekranı */
.kx-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.kx-banner { width: 100%; max-width: 640px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; }
.kx-banner:empty { display: none; }
.kx-frame { width: 100%; max-width: 640px; padding: clamp(6px, 1.4vw, 14px); border-radius: 20px; background: radial-gradient(ellipse at 50% 0%, #4a2f1c, #1e1208 75%); box-shadow: inset 0 0 0 2px #c99a4a44, 0 30px 60px -24px #000c; }
.kx-frame.flash { animation: kxFlash .9s ease-out; }
@keyframes kxFlash { 0% { box-shadow: inset 0 0 0 4px #ffd84a, 0 0 60px #ffd84a; } 100% { box-shadow: inset 0 0 0 2px #c99a4a44, 0 30px 60px -24px #000c; } }
.kx-board { display: grid; gap: 0; border-radius: 8px; overflow: hidden; }
.kx-void { aspect-ratio: 1; }
.kx-sq { position: relative; aspect-ratio: 1; border: none; padding: 0; cursor: pointer; font-family: var(--font); }
.kx-sq.l { background: #efd9b4; }
.kx-sq.d { background: #a9764a; }
.kx-sq.ws { background: radial-gradient(circle, #6a3f8a, #3a1f4e); box-shadow: inset 0 0 0 2px #b583ff66; border-radius: 6px; }
.kx-sq.sel { box-shadow: inset 0 0 0 4px #ff5a1f; }
.kx-sq.last::after { content: ''; position: absolute; inset: 0; background: #ffd84a44; pointer-events: none; }
.kx-sq.check { background: radial-gradient(circle, #ff3b3b, #a21818); }
.kx-sq.rng::before { content: ''; position: absolute; inset: 0; background: #b583ff3d; pointer-events: none; }
.kx-sq.rng-b::before { content: ''; position: absolute; inset: 0; background: #ff5a1f33; pointer-events: none; }
.kx-sq.promo { box-shadow: inset 0 0 0 4px #ffd84a; }
.kx-sq .dot { position: absolute; inset: 36%; border-radius: 50%; background: #1c151166; pointer-events: none; z-index: 2; }
.kx-sq .ring { position: absolute; inset: 5%; border-radius: 50%; border: 4px solid #ff5a1fcc; pointer-events: none; z-index: 2; }
.kx-pc { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(22px, 5.2vw, 46px); line-height: 1; pointer-events: none; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', serif; z-index: 1; }
.kx-board.four .kx-pc { font-size: clamp(13px, 3.1vw, 30px); }
.kx-pc.lightp { text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 3px 5px #0009; }
.kx-pc.dark { text-shadow: 0 1px 0 #fff8, 0 -1px 0 #fff8, 1px 0 0 #fff8, -1px 0 0 #fff8, 0 3px 5px #0009; }
.kx-pc.ghost { opacity: .45; outline: 2px dashed #b583ff; outline-offset: -4px; border-radius: 8px; }
.kx-pc.ready { animation: kxReady 1.4s ease-in-out infinite; }
@keyframes kxReady { 0%, 100% { filter: drop-shadow(0 0 0 #ffd84a00); } 50% { filter: drop-shadow(0 0 7px #ffd84a); } }
.kx-pc.guard::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 3px solid #5cc8f0; box-shadow: 0 0 10px #5cc8f0; }
.kx-pc i { position: absolute; font-style: normal; font-family: var(--font); line-height: 1; }
.kx-skin { right: 2%; top: 2%; font-size: clamp(9px, 1.6vw, 15px); }
.kx-board.four .kx-skin { font-size: 8px; }
.kx-caps { left: 4%; bottom: 3%; font-size: clamp(8px, 1.3vw, 11px); font-weight: 900; color: #fff; background: #000a; border-radius: 99px; padding: 1px 4px; }
.kx-st { left: 3%; top: 2%; font-size: clamp(9px, 1.5vw, 14px); }
.kx-hits { right: 4%; bottom: 3%; font-size: clamp(7px, 1.2vw, 10px); color: #ff3b3b; letter-spacing: -1px; }
.kx-board.four .kx-caps, .kx-board.four .kx-st { font-size: 7px; }
.kx-fx { position: absolute; inset: -20%; border-radius: 50%; pointer-events: none; z-index: 3; animation: kxFx 1.1s ease-out both; }
@keyframes kxFx { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.kx-fx.pot-repeater { background: radial-gradient(circle, #3ad07acc, #3ad07a00 70%); }
.kx-fx.pot-guard { background: radial-gradient(circle, #5cc8f0cc, #5cc8f000 70%); }
.kx-fx.pot-limitless { background: radial-gradient(circle, #ffd84acc, #ffd84a00 70%); }
.kx-fx.pot-invis, .kx-fx.reveal { background: radial-gradient(circle, #b583ffcc, #b583ff00 70%); }
.kx-fx.boom, .kx-fx.trample, .kx-fx.spire { background: radial-gradient(circle, #fff, #ff5a1f 35%, #ff5a1f00 70%); inset: -60%; }
.kx-fx.jester, .kx-fx.monarch, .kx-fx.promote { background: radial-gradient(circle, #ffd84a, #ffd84a00 70%); }
.kx-fx.manip { background: radial-gradient(circle, #c04fd6, #c04fd600 70%); inset: -80%; }
.kx-legend { max-width: 640px; text-align: center; }
.kx-piece, .kx-players { padding: 16px; gap: 10px; }
.kx-ph { display: flex; align-items: center; gap: 12px; }
.kx-big { font-size: 44px; line-height: 1; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif; text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000; }
.kx-ab { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.kx-ab.ready { background: color-mix(in srgb, #ffd84a 16%, var(--surface)); box-shadow: inset 0 0 0 1px #ffd84a88; }
.kx-abh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kx-ok { font-size: 12px; font-weight: 900; color: var(--good-text); }
.kx-req { display: grid; grid-template-columns: 1fr 70px 44px; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.kx-btns, .kx-pots { display: flex; flex-wrap: wrap; gap: 6px; }
.kx-btns .btn { flex: 1 1 140px; }
.kx-pot { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font-family: var(--font); font-weight: 800; cursor: pointer; }
.kx-pot.on { background: #b583ff33; border-color: #b583ff; }
.kx-rage { padding: 8px 10px; border-radius: 10px; background: var(--bad-soft); color: var(--bad-text); font-weight: 800; font-size: 13px; }
.kx-pl { display: flex; align-items: center; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; }
.kx-pl.on { background: var(--accent-soft); }
.kx-pl.out { opacity: .45; }
.kx-sw { width: 10px; height: 30px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px #0005; }
.kx-resign { border: 1px solid var(--bad) !important; color: var(--bad-text) !important; }
.kx-promo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kx-promo-b { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-family: var(--font); font-weight: 800; cursor: pointer; }
.kx-promo-b span { font-size: 40px; line-height: 1; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif; text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000; }
/* skin ekranı */
.ks-list { display: flex; flex-direction: column; gap: 10px; }
.ks-card { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.ks-card.open { border-color: #ffd84a88; background: color-mix(in srgb, #ffd84a 8%, var(--surface)); }
.ks-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: var(--surface); }
.ks-card:not(.open) .ks-icon { filter: grayscale(1); opacity: .6; }
.ks-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ks-name { display: flex; align-items: baseline; gap: 8px; }
.ks-name b { font-size: 17px; }
.ks-name span { font-size: 12px; color: var(--muted); font-weight: 700; }
.ks-desc { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.ks-lock { display: grid; grid-template-columns: 1fr 80px auto; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ks-bar { height: 6px; border-radius: 6px; background: var(--surface-3, #0003); overflow: hidden; }
.ks-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff5a1f, #ffd84a); }
.ks-slotrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ks-slot { height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); font-family: var(--font); font-weight: 700; font-size: 12px; cursor: pointer; }
.ks-slot.on { background: #ffd84a; border-color: #ffd84a; color: #2a1d00; }
.ks-toggle { display: flex; align-items: center; gap: 8px; font-weight: 700; }
@media (max-width: 640px) {
  .kx-frame { padding: 4px; border-radius: 12px; }
  .ks-lock { grid-template-columns: 1fr; }
  .kx-promo { grid-template-columns: repeat(2, 1fr); }
}
/* yeni taşlar (Kalkancı, Kraliyet Askeri): SVG çizim, rengi taşın renginden */
.kx-svg { width: .86em; height: .86em; fill: currentColor; stroke: #000; stroke-width: 2.2; stroke-linejoin: round; overflow: visible; filter: drop-shadow(0 3px 3px #0009); }
.kx-pc.dark .kx-svg, .kx-big.dark .kx-svg { stroke: #fffa; }
.kx-svg .em { stroke-width: 3.4; stroke-linecap: round; }
.kx-pc.lightp .kx-svg .em { stroke: #0009; }
.kx-big .kx-svg { width: 44px; height: 44px; }
.kx-lives { right: 4%; bottom: 3%; font-size: clamp(7px, 1.2vw, 10px); color: #ff5a8a; letter-spacing: -1px; text-shadow: 0 0 2px #000; }
.kx-passive { background: color-mix(in srgb, #5cc8f0 10%, var(--surface-2)); }
/* sandbox (bot oyunları): öneri kareleri ve panel */
.kx-sq.hint-from { box-shadow: inset 0 0 0 4px #3ad07a; }
.kx-sq.hint-to { box-shadow: inset 0 0 0 4px #ff8a1f; }
.kx-sq.hint-to::before { content: ''; position: absolute; inset: 0; background: #ff8a1f33; pointer-events: none; }
.kx-sandbox { padding: 16px; gap: 10px; border: 1px dashed #3ad07a99; }
.kx-hint { padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, #3ad07a 14%, var(--surface-2)); font-weight: 700; font-size: 13px; }
.kx-mini { font-size: 20px; line-height: 1; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif; }
.kx-mini .kx-svg { width: 20px; height: 20px; }

/* ---- kanyon.css ---- */
/* Kanyon Pilotu: yarış çizgisi, PixiJS sahnesi, şerit göstergeleri */
.kp-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kp-top { width: 100%; max-width: 760px; display: flex; align-items: center; gap: 14px; padding: 0 4px; }
.kp-track { position: relative; flex: 1; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #17607c, #2a8fb0); box-shadow: inset 0 0 0 1px #ffffff22; margin-right: 12px; }
.kp-gate { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; background: #ffd400; border-radius: 2px; opacity: .85; }
.kp-flag { position: absolute; right: -14px; top: 50%; transform: translateY(-58%); font-size: 18px; line-height: 1; }
.kp-dot { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px #0008; transition: left .25s linear; }
.kp-trackinfo { flex: none; min-width: 120px; text-align: right; font-weight: 800; font-size: 14px; color: var(--text-2); }
.kp-trackinfo.good { color: var(--good-text); }
.kp-trackinfo.bad { color: var(--bad-text); }
.kp-stage { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; border-radius: 16px; overflow: hidden; background: #0b1a24; box-shadow: 0 30px 60px -28px #000c, 0 0 0 1px #ffffff14; width: 360px; height: 640px; max-width: 100%; }
.kp-canvas { display: block; }
.kp-hud { position: absolute; pointer-events: none; color: #fff; font-weight: 800; }
.kp-hudtop { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: #06101acc; border-left: 4px solid var(--pc); font-size: 13px; line-height: 1.2; }
.kp-name { flex: 1; min-width: 0; }
.kp-lives { color: var(--pc); letter-spacing: 2px; font-size: 14px; }
.kp-score { font-size: 14px; color: #ffe27a; min-width: 34px; text-align: right; }
.kp-fuel { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: #06101acc; font-size: 11px; letter-spacing: .06em; }
.kp-fuel .mono { min-width: 34px; text-align: right; font-size: 12px; }
.kp-fuelbar { flex: 1; height: 9px; border-radius: 99px; background: #ffffff22; overflow: hidden; }
.kp-fuelbar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #2fbf6a, #8dff9e); transition: width .15s linear; }
.kp-fuel.mid .kp-fuelbar i { background: linear-gradient(90deg, #ff9f1a, #ffd84a); }
.kp-fuel.low .kp-fuelbar i { background: linear-gradient(90deg, #ff3b3b, #ff7a5a); }
.kp-fuel.low { animation: kpBlink .7s steps(2) infinite; }
@keyframes kpBlink { 50% { background: #6a1010dd; } }
.kp-speed { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.kp-speed i { width: 4px; border-radius: 1px; background: #ffffff33; }
.kp-speed i:nth-child(1) { height: 5px; }
.kp-speed i:nth-child(2) { height: 8px; }
.kp-speed i:nth-child(3) { height: 12px; }
.kp-speed.s1 i:nth-child(1), .kp-speed.s2 i:nth-child(-n+2), .kp-speed.s3 i { background: #7fe3ff; }
.kp-msg { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); padding: 10px 16px; border-radius: 14px; background: #06101ae0; font-size: 16px; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.kp-msg.on { opacity: 1; }
.kp-flash { position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%) scale(.9); padding: 8px 14px; border-radius: 12px; font-size: 15px; white-space: nowrap; opacity: 0; transition: opacity .2s, transform .2s; background: #06101ae0; }
.kp-flash.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.kp-flash.good { color: #8dff9e; }
.kp-flash.bad { color: #ff9a8a; }
.kp-hud.other .kp-hudtop { font-size: 12px; }
/* dar ekran: yakıt çubuğu üstte (altta sayfanın tepki düğmesi var), sağda rakip penceresine yer bırakır */
.kp-wrap.narrow .kp-hud:not(.pip) .kp-fuel { top: 46px; bottom: auto; right: calc(30% + 16px); padding: 5px 8px; }
.kp-hud.pip .kp-hudtop { left: 0; right: 0; top: 0; padding: 2px 5px; gap: 4px; font-size: 9px; border-radius: 6px 6px 0 0; border-left-width: 3px; }
.kp-hud.pip .kp-fuel, .kp-hud.pip .kp-msg, .kp-hud.pip .kp-flash, .kp-hud.pip .kp-score { display: none; }
.kp-hud.pip .kp-lives { font-size: 9px; letter-spacing: 0; }
.kp-center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .25s; text-align: center; padding: 24px; color: #fff; font-weight: 900; z-index: 2; }
.kp-center.on { opacity: 1; }
.kp-center.wait { font-size: 18px; background: #06101aa8; }
.kp-center.count { font-size: 120px; line-height: 1; text-shadow: 4px 4px 0 #b83a10, 8px 8px 0 #80270a; }
.kp-center.go { font-size: 60px; color: #ffd84a; text-shadow: 3px 3px 0 #b83a10, 6px 6px 0 #80270a; }
.kp-center.over { font-size: clamp(28px, 6vw, 44px); background: #06101a80; text-shadow: 3px 3px 0 #b83a10; }
.kp-help { font-size: 13px; color: var(--muted); font-weight: 700; text-align: center; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .kp-touch { display: none; } }
@media (hover: none), (pointer: coarse) { .kp-desk { display: none; } }
@media (max-width: 640px) {
  .kp-top { gap: 10px; }
  .kp-trackinfo { min-width: 0; font-size: 12px; }
  .kp-stage { border-radius: 12px; }
  .kp-hudtop { font-size: 12px; padding: 5px 8px; }
}
