:root {
  --altin: #ecc56f; --altin2: #c9963e; --krem: #fbf6e9; --yazi: #f8f0e0;
  --koyu: rgba(28, 14, 5, .78);
  --r0: #d22b2b; --r1: #1c1c1c; --r2: #1f5fc4; --r3: #d98500;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: var(--yazi); background: #1d0f06; overflow-x: hidden;
}
.arka { position: fixed; inset: 0; background: url(kiraathane.svg) center / cover no-repeat; z-index: 0; transition: filter .6s; }
body.oyunda .arka { filter: blur(3px) brightness(.62) saturate(.9); }
#sahne { position: relative; z-index: 1; min-height: 100vh; }
#katman { position: relative; z-index: 40; }

h1, h2, h3, .serif { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }
h2 { margin: 0 0 8px; color: var(--altin); }

button {
  font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 10px 16px; cursor: pointer;
  color: #2b1a0c; background: linear-gradient(#f8da90, #d9a441);
  box-shadow: 0 3px 0 #8a5b1c, 0 6px 14px rgba(0, 0, 0, .35); transition: transform .08s, filter .15s;
}
button:hover:not(:disabled) { filter: brightness(1.06); }
button:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #8a5b1c, 0 3px 8px rgba(0, 0, 0, .3); }
button:disabled { filter: grayscale(.8) brightness(.75); opacity: .55; cursor: default; }
button.ikincil { background: linear-gradient(#f1e8d6, #cdbd9c); box-shadow: 0 3px 0 #7d6b4b, 0 6px 14px rgba(0, 0, 0, .3); }
button.yesil { background: linear-gradient(#83d68f, #3a9a4b); color: #fff; box-shadow: 0 3px 0 #1f5e2a, 0 6px 14px rgba(0, 0, 0, .35); text-shadow: 0 1px 1px #0005; }
button.kirmizi { background: linear-gradient(#f08a7e, #c0392b); color: #fff; box-shadow: 0 3px 0 #7a1f16, 0 6px 14px rgba(0, 0, 0, .35); }
button.kucuk { padding: 6px 10px; font-size: 13px; border-radius: 10px; }
button.genis { width: 100%; }
button.ikon {
  width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 19px; position: relative;
  background: var(--koyu); color: var(--yazi); border: 1px solid rgba(236, 197, 111, .5); box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}
button.ikon .rozet {
  position: absolute; top: -4px; right: -4px; background: #e53935; color: #fff; border-radius: 999px;
  font-size: 11px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px;
}
input, select {
  font: inherit; padding: 11px 14px; border-radius: 12px; border: 2px solid #c9a46a; background: #fffaf0; color: #2b1a0c;
  width: 100%; outline: none;
}
input:focus, select:focus { border-color: var(--altin); box-shadow: 0 0 0 3px rgba(236, 197, 111, .35); }
label { font-size: 13px; opacity: .85; display: block; margin: 12px 0 5px; }
.satir { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.satir > input { flex: 1; min-width: 120px; }
.not { font-size: 13px; opacity: .75; text-align: center; margin: 14px 0 0; }

.kart {
  background: linear-gradient(160deg, rgba(122, 74, 42, .96), rgba(66, 37, 18, .97));
  border: 3px solid #a8743f; border-radius: 22px; padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 220, 160, .14), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.giris { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.giris .kart { width: min(430px, 100%); animation: yuksel .5s ease-out; }
.logo { text-align: center; margin-bottom: 4px; }
.logo .cay-buyuk { width: 46px; height: 62px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.logo h1 { font-size: 46px; margin: 2px 0 0; color: var(--altin); letter-spacing: 1px; text-shadow: 0 3px 0 #3a200e, 0 0 24px rgba(255, 200, 100, .35); }
.logo .alt { letter-spacing: 6px; font-size: 13px; text-transform: uppercase; opacity: .8; }
.avatarlar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.avatarlar button { background: rgba(255, 255, 255, .1); box-shadow: none; font-size: 24px; padding: 6px 0; border: 2px solid transparent; }
.avatarlar button.secili { border-color: var(--altin); background: rgba(236, 197, 111, .25); transform: scale(1.06); }
.ayrac { display: flex; align-items: center; gap: 10px; margin: 14px 0; font-size: 12px; opacity: .65; }
.ayrac::before, .ayrac::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .3); }
.giris .kart > button { margin-top: 14px; }

.cerceve { max-width: 1040px; margin: 0 auto; padding: 8px 8px 16px; display: flex; flex-direction: column; gap: 8px; }
.ust-bar { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.ust-bar .sol, .ust-bar .sag { display: flex; gap: 6px; align-items: center; }
.etiket { background: var(--koyu); border: 1px solid rgba(236, 197, 111, .5); border-radius: 999px; padding: 7px 12px; font-size: 13px; white-space: nowrap; }
.etiket b { color: var(--altin); letter-spacing: 1px; }
button.etiket { box-shadow: none; color: var(--yazi); font-weight: 400; }

.lobi { max-width: 640px; width: 100%; margin: 10px auto; animation: yuksel .4s ease-out; }
.kod { font-family: "Playfair Display", Georgia, serif; letter-spacing: 5px; color: var(--altin); background: rgba(0, 0, 0, .3); padding: 2px 12px; border-radius: 10px; }
.lobi-koltuklar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
.lobi-koltuk { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 2px dashed rgba(255, 255, 255, .15); min-height: 70px; position: relative; }
.lobi-koltuk.dolu { border-style: solid; border-color: rgba(236, 197, 111, .35); }
.lobi-koltuk .bilgi { flex: 1; min-width: 0; }
.lobi-koltuk .cikar { position: absolute; top: 6px; right: 6px; }
.ayarlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.bekle { text-align: center; opacity: .85; animation: soluk 2s infinite; }

.tas {
  width: var(--w, 34px); height: calc(var(--w, 34px) * 1.38); border-radius: calc(var(--w, 34px) * .16);
  background: linear-gradient(#fffef9, #f1e8d0 70%, #e4d6b3);
  box-shadow: 0 2px 0 #b5a378, 0 3px 6px rgba(0, 0, 0, .35), inset 0 1px 0 #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: calc(var(--w, 34px) * .58); line-height: 1; position: relative;
  user-select: none; -webkit-user-select: none; touch-action: none; flex: none; font-family: Arial, sans-serif;
  transition: transform .12s, box-shadow .12s;
}
.tas i { font-style: normal; font-size: calc(var(--w, 34px) * .26); margin-top: calc(var(--w, 34px) * .08); }
.tas.r0 { color: var(--r0); } .tas.r1 { color: var(--r1); } .tas.r2 { color: var(--r2); } .tas.r3 { color: var(--r3); }
.tas.okey::after { content: "★"; position: absolute; top: 1px; right: 2px; font-size: calc(var(--w, 34px) * .3); color: #e0a000; text-shadow: 0 0 2px #fff; }
.tas.sahte b { font-size: calc(var(--w, 34px) * .5); }
.tas .temsil { position: absolute; bottom: 1px; left: 2px; font-size: calc(var(--w, 34px) * .25); opacity: .7; }
.tas.arka { background: radial-gradient(circle, #b5482f 0 18%, transparent 19%), repeating-linear-gradient(45deg, #f3e7c9 0 4px, #e3d0a2 4px 8px); box-shadow: 0 2px 0 #9c8656, 0 3px 6px rgba(0, 0, 0, .45), inset 0 0 0 2px #c9a46a; }
.tas.arka::before { content: ""; width: 52%; height: 40%; border-radius: 50%; border: 2px solid rgba(160, 72, 47, .7); }
.raf .tas { cursor: grab; }
.tas.secili { transform: translateY(calc(var(--w) * -.25)); box-shadow: 0 0 0 3px #3aa0ff, 0 8px 14px rgba(0, 0, 0, .45); }
.tas.alinan { box-shadow: 0 0 0 3px #ffb300, 0 3px 6px rgba(0, 0, 0, .35); }
.tas.yeni { animation: yeniTas 1.4s ease-out; }
.tas.gecerli::before, .tas.gecerli-cift::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: calc(var(--w) * -.2); height: 3px; border-radius: 2px; background: #5be07a; box-shadow: 0 0 6px #5be07a; }
.tas.gecerli-cift::before { background: #6ab8ff; box-shadow: 0 0 6px #6ab8ff; }
.tas.kaldirildi { opacity: .2; }
.hayalet { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 70; margin: 0; }
.hayalet .tas { transform: scale(1.15) rotate(-4deg); box-shadow: 0 14px 24px rgba(0, 0, 0, .5); }

.masa-sahne { perspective: 1300px; perspective-origin: 50% 0%; padding-top: 4px; }
.masa {
  position: relative; border-radius: 30px; padding: 16px;
  transform: rotateX(16deg); transform-origin: 50% 100%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 30%, transparent 70%, rgba(255, 255, 255, .05)),
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 7px, rgba(255, 255, 255, .03) 7px 9px, transparent 9px 15px),
    linear-gradient(160deg, #a26b3b, #6e411d 45%, #4b2a12);
  box-shadow: 0 13px 0 #3a1f0c, 0 15px 0 #24130a, 0 40px 50px rgba(0, 0, 0, .7),
    inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .3);
}
.masa::before, .masa::after {
  content: ""; position: absolute; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c2, #c99b45 45%, #6b4d18); box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.masa::before { left: 8px; } .masa::after { right: 8px; }
.kece {
  --yan: 78px; --kw: 22px; --mw: 10px;
  position: relative; display: grid; grid-template-columns: var(--yan) minmax(0, 1fr) var(--yan); grid-template-rows: auto minmax(150px, 1fr) auto;
  gap: 6px; min-height: min(56vh, 540px); border-radius: 18px; padding: 10px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .1), transparent 60%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, #2c8f5c, #155a3b 75%, #0f4a30);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .55), inset 0 3px 6px rgba(0, 0, 0, .6), 0 0 0 3px #2a1608, 0 1px 0 4px rgba(255, 220, 160, .12);
}
.kece::before { content: ""; position: absolute; inset: 6px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .13); pointer-events: none; }
@media (min-width: 700px) { .kece { --yan: 128px; --kw: 28px; --mw: 14px; } }

.orta { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; min-height: 0; }
.deste-alan { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.deste { position: relative; width: calc(var(--kw) * 1.5); height: calc(var(--kw) * 2); cursor: default; --w: calc(var(--kw) * 1.3); }
.deste .tas { position: absolute; left: 0; }
.deste .tas:nth-child(1) { top: 6px; } .deste .tas:nth-child(2) { top: 3px; } .deste .tas:nth-child(3) { top: 0; }
.deste .sayi { position: absolute; bottom: -6px; right: -10px; background: #2b1a0c; color: var(--altin); font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; z-index: 2; }
.deste.aktif { cursor: pointer; }
.deste.aktif .tas:nth-child(3) { box-shadow: 0 0 0 2px var(--altin), 0 0 16px var(--altin); animation: nabiz 1.3s infinite; }
.gosterge { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; --w: calc(var(--kw) * 1.3); }
.okey-bilgi { font-size: 12px; background: rgba(0, 0, 0, .3); padding: 4px 10px; border-radius: 999px; }
.okey-bilgi b { color: var(--altin); }

.perler { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-content: flex-start; overflow: auto; width: 100%; flex: 1; padding: 4px; min-height: 0; max-height: 34vh; }
.per { display: flex; gap: 1px; padding: 4px 4px 6px; border-radius: 9px; background: rgba(0, 0, 0, .2); border-bottom: 3px solid var(--k, #fff); --w: var(--kw); transition: background .15s; animation: belir .35s; }
.per.uygun { outline: 2px dashed var(--altin); background: rgba(236, 197, 111, .25); cursor: pointer; }
.per.hedef { background: rgba(236, 197, 111, .5); }
.bos-masa { opacity: .5; font-size: 13px; margin: auto; text-align: center; }

.atik {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 2px dashed rgba(255, 255, 255, .16); border-radius: 12px; min-height: 76px; font-size: 10.5px;
  --w: calc(var(--kw) * 1.25); text-align: center; padding: 4px; transition: background .15s;
}
.atik .bos { width: var(--w); height: calc(var(--w) * 1.38); border-radius: 5px; border: 1px dashed rgba(255, 255, 255, .25); }
.atik.aktif { border-color: var(--altin); border-style: solid; animation: nabiz 1.3s infinite; cursor: pointer; background: rgba(236, 197, 111, .12); }
.atik.hedef { background: rgba(236, 197, 111, .4); }
.atik .sahip { opacity: .7; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.koltuk {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border-radius: 14px;
  background: rgba(20, 10, 4, .5); border: 2px solid transparent; position: relative; text-align: center; font-size: 11px; min-width: 0;
  transition: border-color .2s, box-shadow .2s; align-self: center;
}
.koltuk.ust { flex-direction: row; justify-self: center; padding: 5px 10px; gap: 8px; }
.koltuk.ust .yazilar { text-align: left; }
.koltuk.sirada { border-color: var(--altin); box-shadow: 0 0 20px rgba(236, 197, 111, .6); }
.koltuk.kopuk { opacity: .55; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff8, #0003 70%), #6b4226; border: 2px solid var(--k, var(--altin));
}
.avatar.buyuk { width: 52px; height: 52px; font-size: 30px; }
.isim { font-weight: 700; font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cipler { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.cip { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 1px 6px; font-size: 10.5px; white-space: nowrap; }
.cip.acik { background: rgba(91, 224, 122, .3); }
.cip.cift { background: rgba(106, 184, 255, .3); }
.cip.puan { background: rgba(236, 197, 111, .25); }
.ikramlar { display: flex; gap: 1px; font-size: 16px; min-height: 18px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.ikramlar > * { animation: belir .4s; }
.ikram-svg { width: .8em; height: 1.1em; vertical-align: -0.15em; }
.sure { height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .45); width: 100%; overflow: hidden; min-width: 50px; }
.sure > b { display: block; height: 100%; background: var(--altin); transition: width .25s linear; }
.sure.az > b { background: #ff6b5b; }
.balon {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #fffaf0; color: #2b1a0c;
  padding: 6px 10px; border-radius: 12px; font-size: 12.5px; width: max-content; max-width: 170px; z-index: 6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45); animation: balon .3s ease-out; font-weight: 600; white-space: normal;
}
.balon::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fffaf0; }
.balon.alt { bottom: auto; top: calc(100% + 6px); }
.balon.alt::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fffaf0; }

.ben-alan { display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; min-width: 0; padding: 4px 8px; border-radius: 14px; border: 2px solid transparent; }
.ben-alan.sirada { border-color: var(--altin); background: rgba(236, 197, 111, .12); }
.ben-alan .yazilar { min-width: 0; text-align: left; display: flex; flex-direction: column; gap: 3px; }

.eylem { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.durum-yazi { flex: 1 1 100%; text-align: center; font-weight: 700; font-size: 15px; text-shadow: 0 1px 3px #000; }
.durum-yazi.benim { color: var(--altin); }
.istaka {
  background: linear-gradient(#b27a45, #7a4a25 55%, #5e3518); border-radius: 16px; padding: 10px 6px 12px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .28), inset 0 -3px 0 rgba(0, 0, 0, .35);
}
.raf {
  --w: min(50px, calc((min(100vw, 1040px) - 60px) / 15));
  display: grid; grid-template-columns: repeat(15, var(--w)); justify-content: center; row-gap: 12px; column-gap: 2px;
}
.yuva {
  height: calc(var(--w) * 1.38 + 4px); display: flex; justify-content: center; align-items: flex-start;
  border-bottom: 5px solid #3d220f; border-radius: 0 0 3px 3px; background: linear-gradient(transparent 70%, rgba(0, 0, 0, .18));
}
.yuva.hedef { background: rgba(255, 220, 120, .4); border-radius: 6px 6px 3px 3px; }
.ipucu { font-size: 12px; opacity: .75; text-align: center; margin-top: 6px; }

.perde { position: fixed; inset: 0; background: rgba(10, 5, 2, .6); display: flex; align-items: center; justify-content: center; z-index: 40; padding: 12px; animation: belir .2s; backdrop-filter: blur(2px); }
.pencere { width: min(540px, 100%); max-height: 92vh; overflow: auto; position: relative; animation: yuksel .25s ease-out; }
.pencere .kapat { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.sekmeler { display: flex; gap: 6px; margin: 10px 0; }
.sekmeler button { flex: 1; }
.sekmeler button.secili { background: linear-gradient(#83d68f, #3a9a4b); color: #fff; }
.kime { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; font-size: 13px; }
.kime button { padding: 6px 10px; font-size: 13px; box-shadow: none; background: rgba(255, 255, 255, .12); color: var(--yazi); border: 2px solid transparent; }
.kime button.secili { border-color: var(--altin); background: rgba(236, 197, 111, .25); }
.menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.menu-ogesi { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; background: rgba(255, 250, 240, .95); font-size: 12.5px; }
.menu-ogesi .simge { font-size: 30px; line-height: 1.1; }
.ucretsiz { display: inline-block; background: #3a9a4b; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.mesajlar { background: rgba(0, 0, 0, .25); border-radius: 12px; padding: 8px; height: 240px; overflow: auto; display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; font-size: 14px; }
.mesaj { padding: 5px 9px; border-radius: 10px; background: rgba(255, 255, 255, .08); align-self: flex-start; max-width: 85%; word-wrap: break-word; }
.mesaj.benim { align-self: flex-end; background: rgba(236, 197, 111, .25); }
.mesaj b { color: var(--altin); }
.hizli { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.hizli button { padding: 5px 9px; font-size: 12.5px; box-shadow: none; background: rgba(255, 255, 255, .12); color: var(--yazi); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 6px 4px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
th { color: var(--altin); font-weight: 600; font-size: 12.5px; }
td.ad { text-align: left; }
tr.toplam td { font-weight: 800; border-top: 2px solid rgba(236, 197, 111, .5); }
.eksi { color: #7ee38f; } .arti { color: #ffb4a8; }
.kalan-taslar { display: flex; flex-wrap: wrap; gap: 1px; --w: 17px; justify-content: flex-start; }
.kazanan-tac { font-size: 54px; text-align: center; animation: zipla 1s infinite alternate; }
.kurallar li { margin-bottom: 6px; font-size: 14px; line-height: 1.4; }
.geri-sayim { text-align: center; font-size: 13px; opacity: .8; margin-top: 8px; }

#bildirimler { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: min(92vw, 440px); }
.bildirim { background: rgba(28, 14, 5, .93); border: 1px solid var(--altin); padding: 9px 14px; border-radius: 12px; font-size: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); animation: bildirim 4s forwards; text-align: center; }
.bildirim.hata { border-color: #ff6b5b; background: rgba(110, 20, 14, .95); }
.ucan { position: fixed; left: 0; top: 0; z-index: 75; font-size: 34px; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.ucan .ikram-svg { width: 30px; height: 42px; }

@keyframes yuksel { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes belir { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes nabiz { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 197, 111, .0); } 50% { box-shadow: 0 0 16px 2px rgba(236, 197, 111, .55); } }
@keyframes yeniTas { 0% { transform: translateY(-30px) scale(1.2); box-shadow: 0 0 0 4px #ffe066; } 60% { transform: none; box-shadow: 0 0 0 4px #ffe066; } }
@keyframes balon { from { opacity: 0; transform: translateX(-50%) translateY(6px) scale(.8); } }
@keyframes bildirim { 0% { opacity: 0; transform: translateY(-10px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes soluk { 50% { opacity: .5; } }
@keyframes zipla { to { transform: translateY(-8px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (max-width: 520px) {
  .etiket.gizle { display: none; }
  .avatar { width: 34px; height: 34px; font-size: 20px; }
  .koltuk .isim { font-size: 11px; }
  .ikramlar { font-size: 13px; }
  .kece { min-height: 47vh; }
  .durum-yazi { font-size: 14px; }
  button { padding: 9px 12px; }
  button.ikon { width: 36px; height: 36px; font-size: 16px; }
  .ust-bar .sag { gap: 4px; }
  .etiket { padding: 6px 9px; }
}

.rakip { display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; align-self: center; justify-self: center; min-width: 0; max-width: 100%; }
.rakip.ust { flex-direction: column; }
.rakip-raf {
  display: flex; flex-direction: column; gap: 3px; padding: 4px 5px 6px; border-radius: 6px;
  background: linear-gradient(#b8814b, #7a4a24 60%, #5a3417);
  box-shadow: 0 5px 8px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .3);
}
.rakip-raf .kat { display: flex; gap: 1px; justify-content: center; }
.rakip-raf.yan { flex-direction: row; padding: 5px 6px 5px 4px; }
.rakip-raf.yan .kat { flex-direction: column; }
.tas.mini { --w: var(--mw); box-shadow: 0 1px 0 #9c8656, 0 1px 2px rgba(0, 0, 0, .4); border-radius: 2px; }
.tas.mini::before { display: none; }
.tas.yatik { width: calc(var(--w) * 1.38); height: var(--w); }
.plaka {
  display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; min-width: 0; max-width: 100%;
  background: rgba(20, 10, 4, .62); border: 2px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.plaka .yazilar { min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.rakip.yan .plaka { flex-direction: column; border-radius: 12px; padding: 4px; text-align: center; }
.rakip.yan .plaka .yazilar { text-align: center; align-items: center; }
.rakip.sirada .plaka { border-color: var(--altin); box-shadow: 0 0 18px rgba(236, 197, 111, .65); }
.rakip.sirada .rakip-raf { box-shadow: 0 0 14px rgba(236, 197, 111, .55), 0 5px 8px rgba(0, 0, 0, .5); }
.rakip.kopuk { opacity: .55; }
.kopuk-isaret { position: absolute; top: -8px; right: -4px; background: #7a2a1f; }
.rakip .avatar { width: 36px; height: 36px; font-size: 21px; }
@media (max-width: 520px) { .rakip .avatar { width: 30px; height: 30px; font-size: 17px; } .plaka .ikramlar { font-size: 12px; } }

.atik { border-color: rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .08); }
.atik .tas { box-shadow: 2px 2px 0 #cdbb8e, 4px 4px 0 #b5a378, 4px 6px 8px rgba(0, 0, 0, .45); }

.istaka {
  position: relative; z-index: 2; margin: -6px 2% 0;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 9px),
    linear-gradient(#c08a52, #8a562b 45%, #6a3c1b 55%, #8a562b 58%, #5e3518);
}

body.oyunda .arka { filter: blur(1.5px) brightness(.72) saturate(1.05); }

.tas {
  background: linear-gradient(168deg, #fffef9 0%, #faf3e1 45%, #eee2c4 100%);
  border-radius: calc(var(--w, 34px) * .14);
  box-shadow:
    inset 0 1px 0 #fff, inset 0 -1px 2px rgba(130, 95, 40, .22), inset 1px 0 0 rgba(255, 255, 255, .6),
    0 calc(var(--w, 34px) * .05) 0 #e3d4ae,
    0 calc(var(--w, 34px) * .1) 0 #c9b383,
    0 calc(var(--w, 34px) * .14) 0 #a68e5e,
    0 calc(var(--w, 34px) * .22) calc(var(--w, 34px) * .24) rgba(0, 0, 0, .5);
}
.tas b { font-family: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif; font-weight: 900; letter-spacing: -.03em; text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(0, 0, 0, .12); }
.tas i { opacity: .9; }
.tas.okey { background: linear-gradient(168deg, #fffdf0 0%, #fbefcb 50%, #f0dca6 100%); }
.tas.okey::after { content: "★"; color: #d99a00; text-shadow: 0 1px 0 #fff, 0 0 3px rgba(255, 190, 0, .8); }
.tas.secili { transform: translateY(calc(var(--w, 34px) * -.28)); outline: 3px solid #3aa0ff; outline-offset: 1px; }
.tas.alinan { outline: 3px solid #ffb300; outline-offset: 1px; }
.tas.arka {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(170, 70, 40, .85) 0 14%, transparent 15%),
    radial-gradient(ellipse at 50% 50%, transparent 0 26%, rgba(170, 70, 40, .55) 27% 30%, transparent 31%),
    linear-gradient(168deg, #fbf4e2, #e9dbb8);
}
.tas.arka::before { display: none; }

.masa-sahne { perspective: 1000px; perspective-origin: 50% -10%; }
.masa {
  transform: rotateX(24deg); border-radius: 34px; padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 220, 160, .18), transparent 18%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 6px, rgba(255, 255, 255, .035) 6px 7px, transparent 7px 13px),
    linear-gradient(160deg, #b07a46, #7e4f27 40%, #5a3518 80%, #4a2a12);
  box-shadow: 0 16px 0 #3a1f0c, 0 18px 0 #1e0f06, 0 50px 60px rgba(0, 0, 0, .75),
    inset 0 3px 0 rgba(255, 230, 180, .35), inset 0 -4px 0 rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.masa::before, .masa::after { display: none; }
.kece {
  --yan: 84px; --kw: 22px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(255, 225, 160, .16), transparent 70%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 40%, #237a4a, #145a35 60%, #0d4128);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .6), inset 0 4px 8px rgba(0, 0, 0, .65), 0 0 0 4px #24130a, 0 0 0 6px rgba(255, 220, 160, .18);
}
.kece::before { border-color: rgba(255, 255, 255, .09); }
@media (min-width: 700px) { .kece { --yan: 132px; --kw: 29px; } .masa { transform: rotateX(28deg); } }

.kama-sira { display: flex; align-items: flex-end; gap: 10px; }
.rakip.yan .kama-sira { flex-direction: column; align-items: center; gap: 8px; }
.kama {
  position: relative; display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #d19a5e 0%, #a86c38 18%, #7d4b22 60%, #5c3416 100%);
  box-shadow: 0 6px 10px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 230, 180, .5), inset 0 -2px 0 rgba(0, 0, 0, .35);
}
.kama.ust { width: clamp(150px, 46vw, 360px); height: clamp(26px, 4.6vw, 40px); clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%); border-radius: 4px 4px 2px 2px; }
.kama.yan { width: clamp(24px, 3.4vw, 34px); height: clamp(120px, 26vh, 230px); border-radius: 4px;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 7px), linear-gradient(90deg, #5c3416, #8a5428 40%, #c08a52 85%, #d9a56a); }
.rakip.sag .kama.yan, .kama.yan.sag { transform: scaleX(-1); }
.kama-sayi { font-size: 11px; font-weight: 800; color: #fbe6bf; text-shadow: 0 1px 1px #000; background: rgba(0, 0, 0, .35); border-radius: 999px; padding: 1px 7px; }
.rakip.sirada .kama { filter: drop-shadow(0 0 10px rgba(236, 197, 111, .9)); }
.masa-ikram { display: flex; gap: 2px; align-items: flex-end; font-size: 24px; filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .5)); min-height: 10px; }
.masa-ikram .ikram-svg { width: 20px; height: 30px; }
.masa-ikram > * { animation: belir .5s; }
@media (min-width: 700px) { .masa-ikram { font-size: 30px; } .masa-ikram .ikram-svg { width: 26px; height: 38px; } }

.plaka { background: linear-gradient(180deg, rgba(40, 22, 10, .82), rgba(20, 10, 4, .82)); border: 1.5px solid rgba(236, 197, 111, .35); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.rakip.sirada .plaka, .ben-alan.sirada .plaka { border-color: var(--altin); box-shadow: 0 0 18px rgba(236, 197, 111, .7); }
.cip.ceza { background: rgba(255, 90, 70, .4); }
.ben-alan { border: 0; background: none; padding: 0; gap: 12px; align-self: center; justify-self: center; }
.ben-alan.sirada { background: none; }
.ben-alan .plaka .yazilar { text-align: left; }

.deste { width: calc(var(--kw) * 1.4); height: calc(var(--kw) * 2.1); }
.deste .tas:nth-child(1) { top: 9px; } .deste .tas:nth-child(2) { top: 6px; } .deste .tas:nth-child(3) { top: 3px; } .deste .tas:nth-child(4) { top: 0; }
.deste.aktif .tas:nth-child(3) { box-shadow: none; animation: none; }
.deste.aktif .tas:nth-child(4) { outline: 2px solid var(--altin); outline-offset: 2px; animation: nabiz 1.3s infinite; }
.gosterge .tas { transform: rotate(-6deg); }
.okey-bilgi { background: rgba(0, 0, 0, .35); border: 1px solid rgba(236, 197, 111, .3); }

.atik { border: 0; background: none; }
.atik .tas { transform: rotate(-4deg); }
.atik.aktif { background: rgba(236, 197, 111, .14); border-radius: 12px; }
.atik .bos { border-color: rgba(255, 255, 255, .18); }

.istaka {
  margin: -26px 1% 0; transform: perspective(900px) rotateX(10deg); transform-origin: 50% 100%;
  border-radius: 10px 10px 16px 16px; padding: 10px 8px 14px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 8px, rgba(255, 255, 255, .03) 8px 9px, transparent 9px 15px),
    linear-gradient(180deg, #d9a56a 0%, #a86c38 10%, #87542a 50%, #6e411d 100%);
  box-shadow: 0 10px 0 #4a2a12, 0 12px 0 #2a160a, 0 26px 30px rgba(0, 0, 0, .65), inset 0 3px 0 rgba(255, 235, 190, .45);
}
.yuva { border-bottom: 7px solid #5a3417; box-shadow: 0 2px 0 #c08a52; background: linear-gradient(transparent 60%, rgba(0, 0, 0, .22)); }

.eylem { background: rgba(20, 10, 4, .55); border: 1px solid rgba(236, 197, 111, .25); border-radius: 16px; padding: 8px; backdrop-filter: blur(3px); }

.logo-taslar { display: flex; justify-content: center; gap: 8px; margin: 4px 0 2px; }
.logo h1 { font-size: 40px; letter-spacing: 10px; margin-top: 10px; }

.lobi { max-width: 680px; }
.lobi-masa {
  display: grid; grid-template-columns: 1fr minmax(140px, 1.2fr) 1fr; grid-template-areas: ". y2 ." "y3 masa y1" ". y0 .";
  gap: 10px; align-items: center; justify-items: center; margin: 16px 0;
}
.lobi-koltuk { flex-direction: column; text-align: center; gap: 4px; min-height: 0; width: 100%; max-width: 170px; padding: 10px 6px; }
.lobi-koltuk.yer0 { grid-area: y0; } .lobi-koltuk.yer1 { grid-area: y1; } .lobi-koltuk.yer2 { grid-area: y2; } .lobi-koltuk.yer3 { grid-area: y3; }
.lobi-koltuk .masa-ikram { font-size: 22px; min-height: 24px; }
.mini-masa {
  grid-area: masa; width: 100%; aspect-ratio: 1; border-radius: 22px; padding: 10px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 6px), linear-gradient(160deg, #b07a46, #6e411d 60%, #4a2a12);
  box-shadow: 0 12px 0 #2a160a, 0 24px 30px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 230, 180, .35);
}
.mini-kece {
  height: 100%; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(ellipse at 50% 35%, #2a8a56, #135633 75%); box-shadow: inset 0 0 30px rgba(0, 0, 0, .55);
}
.mini-yazi { font-size: 11px; letter-spacing: 3px; opacity: .8; }
.mini-kece .kod { font-size: 20px; }
@media (max-width: 520px) { .lobi-masa { grid-template-columns: 1fr 1.1fr 1fr; gap: 6px; } .lobi-koltuk { padding: 8px 4px; } .lobi-koltuk .isim { font-size: 11.5px; } }

.lobi, .per, .ikramlar > *, .masa-ikram > *, .balon { animation: none; }
.rakip.sag .kama.yan, .kama.yan.sag { transform: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 7px), linear-gradient(270deg, #5c3416, #8a5428 40%, #c08a52 85%, #d9a56a); }
.kece { min-height: min(50vh, 500px); }

html {
  touch-action: pan-x pan-y; -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  overscroll-behavior: none;
}
body { overscroll-behavior: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; font-size: 16px; }
button, .tas, .yuva, .per, .atik, .deste { touch-action: manipulation; }
.raf .tas, .raf { touch-action: none; }
img, svg { -webkit-user-drag: none; }
.tas { -webkit-user-drag: none; }
.cerceve { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.ust-bar { padding-top: env(safe-area-inset-top); }
.arka { transform: translateZ(0); will-change: transform; }
.masa, .istaka { will-change: transform; }

@media (pointer: coarse), (max-width: 900px) {
  body.oyunda .arka { filter: brightness(.55); }
  .perde, .eylem { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .perde { background: rgba(10, 5, 2, .78); }
  .eylem { background: rgba(20, 10, 4, .8); }
  .rakip.sirada .kama { filter: none; box-shadow: 0 0 0 2px var(--altin), 0 6px 10px rgba(0, 0, 0, .55); }
  .masa-ikram { filter: none; }
  .tas { box-shadow:
    inset 0 1px 0 #fff,
    0 calc(var(--w, 34px) * .07) 0 #d7c59c,
    0 calc(var(--w, 34px) * .14) 0 #a68e5e,
    0 calc(var(--w, 34px) * .2) calc(var(--w, 34px) * .14) rgba(0, 0, 0, .45); }
}

.ui-svg { width: 18px; height: 18px; vertical-align: -3px; display: inline-block; flex: none; }
button.ikon .ui-svg { width: 20px; height: 20px; vertical-align: middle; }
.kod { font-family: "Playfair Display", Georgia, serif; }

.masa-sahne { perspective: 860px; perspective-origin: 50% 14%; padding-top: 2px; }
.masa {
  transform: rotateX(30deg); transform-origin: 50% 88%; transform-style: preserve-3d;
  border-radius: 34px 34px 26px 26px; padding: 16px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 225, 165, .22), transparent 16%, transparent 86%, rgba(0, 0, 0, .28)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .085) 0 1px, transparent 1px 6px, rgba(255, 255, 255, .035) 6px 7px, transparent 7px 14px),
    linear-gradient(160deg, #b8814b, #7d4d25 38%, #583316 78%, #42240e);
  box-shadow: 0 18px 0 #45250f, 0 22px 0 #261307, 0 25px 0 #140903, 0 56px 70px rgba(0, 0, 0, .82),
    inset 0 3px 0 rgba(255, 234, 188, .42), inset 0 -4px 0 rgba(0, 0, 0, .4), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
@media (min-width: 700px) {
  .masa-sahne { perspective: 820px; perspective-origin: 50% 10%; }
  .masa { transform: rotateX(38deg); padding: 18px 22px 24px; }
  .kece { --yan: 136px; --kw: 30px; min-height: min(52vh, 510px); }
}
.kece {
  background:
    radial-gradient(ellipse 68% 52% at 50% 36%, rgba(255, 224, 150, .2), transparent 72%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 42%, #25804e, #155c37 58%, #0c3d25);
  box-shadow: inset 0 0 75px rgba(0, 0, 0, .62), inset 0 5px 10px rgba(0, 0, 0, .68), 0 0 0 4px #24130a, 0 0 0 6px rgba(255, 220, 160, .2);
}

.rakip { transform-style: preserve-3d; }
.rakip.ust { transform: rotateX(-22deg) translateZ(14px); transform-origin: 50% 100%; }
.rakip.yan:not(.sag) { transform: rotateX(-14deg) rotateY(10deg) translateZ(8px); transform-origin: 0% 50%; }
.rakip.yan.sag { transform: rotateX(-14deg) rotateY(-10deg) translateZ(8px); transform-origin: 100% 50%; }
@media (max-width: 699px) {
  .rakip.ust { transform: rotateX(-16deg) translateZ(8px); }
  .rakip.yan:not(.sag), .rakip.yan.sag { transform: rotateX(-10deg) translateZ(4px); }
}

.tas {
  background: radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, .95), transparent 55%), linear-gradient(168deg, #fffef9 0%, #faf2de 48%, #ebe0c0 100%);
  border: 1px solid rgba(210, 190, 145, .55);
  border-radius: calc(var(--w, 34px) * .15);
  box-shadow:
    inset 0 1px 1px #fff, inset 0 0 0 2px rgba(226, 210, 174, .42), inset 0 -2px 3px rgba(130, 95, 40, .2),
    0 calc(var(--w, 34px) * .055) 0 #e6d6b0, 0 calc(var(--w, 34px) * .11) 0 #cab483, 0 calc(var(--w, 34px) * .16) 0 #9f8756,
    0 calc(var(--w, 34px) * .24) calc(var(--w, 34px) * .22) rgba(0, 0, 0, .52);
}
.tas b { font-family: "Montserrat", "Arial Black", "Segoe UI Black", sans-serif; font-weight: 900; letter-spacing: -.04em; text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 -1px 0 rgba(0, 0, 0, .14); }
.tas i { font-size: calc(var(--w, 34px) * .23); margin-top: calc(var(--w, 34px) * .06); opacity: .88; }
.tas.okey { background: radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, .95), transparent 55%), linear-gradient(168deg, #fffdf0 0%, #fbedc4 52%, #efd89d 100%); border-color: rgba(217, 154, 0, .65); }
.tas.sahte b { font-size: calc(var(--w, 34px) * .54); }
.tas.arka {
  background:
    radial-gradient(ellipse at 50% 50%, #9e3d24 0 13%, transparent 14%),
    radial-gradient(ellipse at 50% 50%, transparent 0 24%, rgba(158, 61, 36, .62) 25% 29%, transparent 30%),
    repeating-linear-gradient(45deg, rgba(160, 120, 65, .07) 0 2px, transparent 2px 5px),
    linear-gradient(168deg, #fcf5e3, #e7d7b1);
  border-color: rgba(185, 158, 105, .7);
}

.kama { padding: 4px 10px 5px; gap: 5px; display: flex; align-items: center; justify-content: center; border-top: 2px solid rgba(255, 232, 185, .38); border-bottom: 3px solid #3c200c; }
.kama-taslar { display: flex; gap: 2px; align-items: flex-end; justify-content: center; flex-wrap: nowrap; overflow: hidden; max-width: 82%; }
.kama-tas { width: clamp(6px, 1.1vw, 10px); height: clamp(12px, 2vw, 18px); border-radius: 2px 2px 1px 1px; background: linear-gradient(180deg, #fffdf6 0%, #eadcb9 75%, #c7b181 100%); box-shadow: 0 1px 2px rgba(0, 0, 0, .45), inset 0 1px 0 #fff; flex: none; }
.kama.yan { flex-direction: column; padding: 8px 4px; }
.kama.yan .kama-taslar { flex-direction: column; max-width: none; max-height: 78%; }
.kama.yan .kama-tas { width: clamp(12px, 1.8vw, 17px); height: clamp(5px, .85vw, 8px); }
.kama-sayi { position: relative; z-index: 2; border: 1px solid rgba(236, 197, 111, .45); }

.istaka {
  position: relative; margin: -22px .5% 0; transform: perspective(760px) rotateX(11deg); transform-origin: 50% 100%;
  border-radius: 12px 12px 18px 18px; padding: 12px 12px 16px;
  background:
    linear-gradient(180deg, rgba(255, 232, 185, .24) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, .32) 100%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .075) 0 1px, transparent 1px 8px, rgba(255, 255, 255, .035) 8px 9px, transparent 9px 16px),
    linear-gradient(180deg, #dfab6f 0%, #b0733d 8%, #8b552a 48%, #6d3f1b 85%, #552f12 100%);
  box-shadow: 0 12px 0 #472710, 0 15px 0 #261307, 0 28px 36px rgba(0, 0, 0, .74), inset 0 3px 0 rgba(255, 238, 196, .52), inset 0 -3px 0 rgba(0, 0, 0, .4);
  border: 1px solid rgba(58, 30, 12, .7);
}
.istaka-percin { position: absolute; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff4c4, #d4a143 50%, #6b4a14 100%); box-shadow: 0 1px 2px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .7); pointer-events: none; }
.istaka-percin.sol-ust { left: 8px; }
.istaka-percin.sag-ust { right: 8px; }
.raf { row-gap: 14px; }
.yuva { height: calc(var(--w) * 1.38 + 6px); border-bottom: 8px solid #4e2b13; border-radius: 3px 3px 4px 4px; box-shadow: 0 2px 0 #c99259, inset 0 -5px 8px rgba(0, 0, 0, .34); background: linear-gradient(transparent 52%, rgba(0, 0, 0, .28) 92%, rgba(0, 0, 0, .42)); }
.yuva.hedef { background: rgba(255, 224, 130, .42); box-shadow: 0 2px 0 #ffe08a, inset 0 0 10px rgba(255, 220, 120, .45); }

@media (min-width: 1024px) {
  .cerceve { max-width: min(1160px, 98vw); }
  .raf { --w: min(52px, calc((min(100vw, 1140px) - 72px) / 15)); }
}
@media (max-width: 699px) {
  .cerceve { padding: 6px 4px 12px; gap: 6px; }
  .masa-sahne { perspective: 960px; perspective-origin: 50% 8%; }
  .masa { transform: rotateX(22deg); padding: 10px 10px 14px; border-radius: 22px; }
  .kece { --yan: clamp(58px, 17vw, 80px); --kw: clamp(16px, 4.5vw, 22px); min-height: min(44vh, 390px); padding: 6px; gap: 4px; }
  .istaka { margin: -10px 0 0; padding: 8px 5px 11px; border-radius: 10px 10px 14px 14px; transform: perspective(760px) rotateX(6deg); }
  .raf { --w: calc((100vw - 38px) / 15); row-gap: 9px; column-gap: 1px; }
  .yuva { height: calc(var(--w) * 1.38 + 4px); border-bottom-width: 6px; }
  .eylem { padding: 6px; gap: 5px; }
  .eylem button { padding: 7px 10px; font-size: 13px; }
  .okey-bilgi { font-size: 11px; padding: 3px 8px; }
  .ipucu { font-size: 11px; }
}
@media (max-height: 700px) {
  .kece { min-height: 36vh; }
  .perler { max-height: 24vh; }
}
#radyo-btn.caliyor { border-color: var(--altin); color: var(--altin); box-shadow: 0 0 14px rgba(236, 197, 111, .65); animation: nabiz 1.6s infinite; }
.radyo-kasa { background: linear-gradient(160deg, #3a200f, #1e0f06); border: 2px solid #b5853e; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: inset 0 0 24px rgba(0, 0, 0, .65); }
.radyo-ekran { background: radial-gradient(ellipse at 50% 30%, #243b2a, #101d14); border: 2px solid #6b4c1e; border-radius: 10px; padding: 10px 12px; text-align: center; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7); }
.radyo-durum { font-size: 11px; letter-spacing: 2px; color: #7ee38f; font-weight: 700; margin-bottom: 4px; }
.radyo-parca { font-family: "Playfair Display", Georgia, serif; font-size: 18px; font-weight: 700; color: var(--altin); }
.radyo-sanatci { font-size: 12.5px; opacity: .78; margin-top: 2px; }
.radyo-kontroller { display: flex; justify-content: center; gap: 10px; align-items: center; }
.radyo-ses { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.radyo-ses input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--altin); height: 6px; }
.radyo-liste { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-height: 180px; overflow: auto; }
.radyo-oge { display: flex; justify-content: space-between; align-items: center; width: 100%; background: rgba(0, 0, 0, .28); color: var(--yazi); box-shadow: none; border: 1px solid rgba(236, 197, 111, .2); padding: 8px 12px; font-size: 13.5px; font-weight: 600; }
.radyo-oge.secili { border-color: var(--altin); background: rgba(236, 197, 111, .22); color: var(--altin); }
.radyo-oge small { opacity: .75; font-weight: 400; }

.oyun-sahne { height: 100vh; height: 100dvh; width: 100%; display: flex; flex-direction: column; overflow: hidden; position: relative; padding-top: env(safe-area-inset-top); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
.hud-ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 12px 2px; z-index: 15; flex: none; }
.hud-sol, .hud-sag { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hud-gosterge { display: flex; align-items: center; gap: 6px; background: rgba(16, 10, 5, .72); border: 1px solid rgba(236, 197, 111, .45); border-radius: 10px; padding: 3px 8px; --w: 22px; }
.hud-taslar { display: flex; gap: 3px; }
.hud-etiket { font-size: 11px; font-weight: 700; color: var(--altin); }
.oyun-sahne .masa-sahne { flex: 1; min-height: 0; perspective: 760px; perspective-origin: 50% 16%; display: flex; align-items: stretch; justify-content: center; padding: 0 2%; overflow: hidden; }
.oyun-sahne .masa { width: 100%; height: 100%; transform: rotateX(22deg) scale(1.02); transform-origin: 50% 94%; border-radius: 28px 28px 18px 18px; padding: 12px 16px 14px; display: flex; flex-direction: column; }
.oyun-sahne .kece { flex: 1; min-height: 0; height: 100%; --yan: clamp(86px, 13vw, 148px); --kw: clamp(20px, 2.5vw, 31px); background: radial-gradient(ellipse 72% 55% at 50% 45%, #1d7a9e 0%, #125675 58%, #0a364d 100%); box-shadow: inset 0 0 80px rgba(0, 0, 0, .58), inset 0 4px 10px rgba(0, 0, 0, .65), 0 0 0 4px #24130a, 0 0 0 6px rgba(255, 220, 160, .18); }
.oyun-sahne .kece::after { content: "101 · KIRAATHANE"; position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font-family: "Playfair Display", Georgia, serif; font-size: clamp(22px, 4vw, 44px); font-weight: 800; letter-spacing: 6px; color: rgba(255, 255, 255, .055); pointer-events: none; white-space: nowrap; }
.oyun-sahne .perler { max-height: 100%; overflow: auto; }
.oyun-sahne .okey-bilgi { display: none; }
.masa-bos { min-height: 1px; }
.oyun-sahne .eylem { flex: none; margin: 2px auto 4px; padding: 5px 12px; border-radius: 999px; width: fit-content; max-width: 96vw; z-index: 12; gap: 6px; }
.oyun-sahne .durum-yazi { flex: 0 1 auto; font-size: 13.5px; }
.alt-iskela { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 12px 4px; z-index: 10; }
.oyun-sahne .ben-alan { flex-direction: column; gap: 4px; background: rgba(20, 10, 4, .75); border: 1.5px solid rgba(236, 197, 111, .35); border-radius: 14px; padding: 6px 10px; }
.oyun-sahne .ben-alan.sirada { border-color: var(--altin); box-shadow: 0 0 18px rgba(236, 197, 111, .65); }
.oyun-sahne .ben-alan .plaka { background: none; border: 0; box-shadow: none; padding: 0; }
.oyun-sahne .istaka { margin: 0; padding: 10px 14px 14px; transform: perspective(760px) rotateX(9deg); border-left: 8px solid #1e140d; border-right: 8px solid #1e140d; }
.oyun-sahne .raf { --w: min(52px, calc((100vw - 270px) / 15)); row-gap: 10px; }
.diz-butonlar { display: flex; flex-direction: column; gap: 6px; }
.diz-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 10px; min-width: 78px; border-radius: 12px; background: linear-gradient(180deg, #fff6df, #e8cfa0); color: #2b1a0c; border: 2px solid #b58338; box-shadow: 0 4px 0 #7a521b, 0 8px 14px rgba(0, 0, 0, .45); font-size: 12px; }
.diz-ikon { display: flex; gap: 2px; }
.diz-ikon i { font-style: normal; font-family: "Montserrat", Arial, sans-serif; font-weight: 900; font-size: 11px; background: #fffef9; border: 1px solid #cbb584; border-radius: 3px; padding: 2px 4px; box-shadow: 0 2px 0 #b5a378; }
@media (max-width: 760px) {
  .hud-ust { padding: 4px 6px 0; }
  .hud-gosterge { --w: 17px; padding: 2px 6px; }
  .oyun-sahne .masa-sahne { padding: 0; perspective: 820px; }
  .oyun-sahne .masa { transform: rotateX(14deg); padding: 8px; border-radius: 16px; }
  .oyun-sahne .kece { --yan: clamp(56px, 16vw, 82px); --kw: clamp(16px, 4.2vw, 22px); padding: 5px; gap: 3px; }
  .oyun-sahne .eylem { border-radius: 14px; padding: 4px 8px; margin: 2px 6px; }
  .oyun-sahne .durum-yazi { font-size: 12px; }
  .alt-iskela { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 6px; padding: 0 6px 4px; }
  .oyun-sahne .istaka { grid-column: 1 / -1; grid-row: 1; padding: 8px 6px 10px; border-left-width: 5px; border-right-width: 5px; transform: perspective(760px) rotateX(5deg); }
  .oyun-sahne .raf { --w: calc((100vw - 34px) / 15); row-gap: 8px; }
  .oyun-sahne .ben-alan { grid-column: 1; grid-row: 2; flex-direction: row; justify-content: flex-start; padding: 4px 8px; }
  .diz-butonlar { grid-column: 2; grid-row: 2; flex-direction: row; }
  .diz-btn { flex-direction: row; min-width: 0; padding: 6px 9px; font-size: 11.5px; }
  .diz-ikon { display: none; }
}
.lobi { max-width: 620px; margin: 4px auto; padding: 14px 18px; }
.lobi-masa { margin: 8px 0; gap: 8px; }
.mini-masa { max-width: 140px; padding: 8px; }
.lobi-koltuk { padding: 6px; gap: 2px; }
.lobi-koltuk .avatar.buyuk { width: 40px; height: 40px; font-size: 22px; }
.ayarlar { margin-bottom: 8px; }
.ayarlar label { margin: 4px 0 3px; }
.ayarlar select { padding: 7px 10px; }