/* Oyun Kahvesi table collection: paint first, existing engine geometry stays authoritative. */
body.kk-table-v243 {
 --kk-table-cream:#fbf3df;--kk-table-gold:#d7b879;--kk-table-edge:#b69860;
 --kk-table-felt:#164b3c;--kk-table-ink:#102e27;
 background-color:#103d30!important;
 background-image:radial-gradient(ellipse at 50% 35%,#386d5338,transparent 72%),url('/assets/masa-v243/felt.svg')!important;
 background-size:cover,240px 240px!important;background-repeat:no-repeat,repeat!important;
 color:var(--kk-table-cream);
}
body.kk-table-v243 :is(#ust,#classic-header) {
 background:repeating-linear-gradient(135deg,#00000021 0 2px,transparent 2px 5px),
 repeating-linear-gradient(45deg,#ffffff09 0 2px,transparent 2px 6px),
 linear-gradient(180deg,#7c1a1a,#560f0f)!important;
 border-bottom:2px solid #b59960!important;box-shadow:0 3px 12px #001b164d;
}
body.kk-table-v243 #ust .rozet {
 background:#0b2b2259!important;color:#f9f0da;border:1px solid #c7b17833;
 border-radius:9px;box-shadow:inset 0 1px #ffffff09;
}
body.kk-table-v243 .koltuk {
 background:linear-gradient(145deg,#2c5748,#183e32)!important;
 color:#f9f0da!important;border-color:#b69b6199!important;
 box-shadow:0 3px 7px #001a1459,inset 0 1px #fff1!important;
 border-radius:13px!important;
}
body.kk-table-v243 .koltuk :is(.ad,.adet,.bilgi,.durum,.acti) {
 color:#f9f0da!important;text-shadow:none!important;
}
body.kk-table-v243 .koltuk :is(.adet,.bilgi) {color:#d7dfc9!important}
body.kk-table-v243 .koltuk.ihaleci {background:linear-gradient(145deg,#655138,#3c3929)!important}
body.kk-table-v243 .koltuk.sirada {
 border-color:#f2d393!important;box-shadow:0 0 0 2px #edd18c55,0 3px 12px #0004!important;
}
body.kk-table-v243 :is(#istaka-ad,#ben-bilgi,.el-sayaci,#alinan-btn) {
 color:#f6e7bf!important;text-shadow:0 1px 2px #001d16;
}
body.kk-table-v243 :is(#ben-bilgi,.el-sayaci,#alinan-btn) {
 background:#173f32f5!important;border-color:#c3a86a88!important;box-shadow:0 2px 8px #001b164d;
}
body.kk-table-v243 :is(#ust,#butonlar,#kontrol,#classic-header,#classic-tools) button,
body.kk-table-v243 :is(#butonlar,#kontrol) .suit-btn {
 background:linear-gradient(#3d6954,#28513f)!important;color:#fbf3df!important;
 border:1px solid #c5aa718c!important;border-radius:10px;
 box-shadow:inset 0 1px #fff2,0 2px 5px #001b164d!important;
 font-weight:650;
}
body.kk-table-v243 :is(#butonlar,#kontrol) :is(.tehlike,.pas),
body.kk-table-v243 #kontrol button:last-child:not(:first-child) {border-color:#d6b174!important}
body.kk-table-v243 button:disabled {cursor:default}
body.kk-table-v243 :is(button,[tabindex]):focus-visible {
 outline:3px solid #ffe2a0!important;outline-offset:2px;
}
body.kk-table-v243[data-table-family='okey'] #istaka {
 --istaka-damar:repeating-linear-gradient(177deg,#f1d9a405 0 1px,transparent 2px 11px);
 background:var(--istaka-damar),linear-gradient(180deg,#7b573c,#543923 48%,#735137 52%,#46301f)!important;
 box-shadow:inset 0 2px #ccad75,inset 0 -3px #352319,0 5px 12px #00190e80!important;
 border-color:#b79a68!important;
}
body.kk-table-v243[data-table-family='okey'] #istaka>.sira {
 background:var(--istaka-damar),linear-gradient(#35261db3,#715239 18%,#916b48 89%,#b18a58 97%,#3e2b1c)!important;
 box-shadow:inset 0 3px 6px #1b130e88,inset 0 -1px #d4b48077;
}
body.kk-table-v243[data-table-family='okey'] #istaka>.sira::after {
 background:linear-gradient(#d2b27d,#977044 35%,#62432c 75%,#302017)!important;
}
body.kk-table-v243[data-table-family='okey'] #istaka .slot>img {
 filter:drop-shadow(0 2px 1px #241a1599);
}
/* The middle pile gets a real 20% larger hit area, rather than a visual scale. */
body.kk-table-v243[data-table-family='okey'] #yigin-kutu .tas-arka {width:130.8px}
body.kk-table-v243[data-table-game='okey101'] #yigin-kutu .tas-arka {width:166.86px}
@media(max-height:480px) {
 body.kk-table-v243[data-table-family='okey'] #yigin-kutu .tas-arka {width:45px}
 body.kk-table-v243[data-table-game='okey101'] #yigin-kutu .tas-arka {width:60.75px}
}
body.kk-table-v243 .iskarta {
 border-color:#c7b17855!important;background:#0b2b2233!important;border-radius:9px;
}
body.kk-table-v243 .iskarta:is(.alinabilir,.birakilabilir),
body.kk-table-v243 #istaka .slot.hedef {
 background-color:#ddc28626!important;border-color:#e5c98d!important;
 box-shadow:inset 0 0 0 1px #e5c98d66;
}
/* Card face artwork and stacking remain unchanged: avoid covering corner indices. */
body.kk-table-v243 :is(.kart,.krt,.sol-card):not(.yer-bos) {
 box-shadow:0 2px 3px #071c1666,0 5px 10px #071c1633;
}
body.kk-table-v243 #el .kart.oynanir {box-shadow:0 0 0 2px #e7c57e,0 4px 8px #001b1659}
body.kk-table-v243 :is(.kart.secili,.krt.secili,.slot.secili,.gom-secili,.sol-card.selected) {
 outline:2px solid #f4d48c;outline-offset:-2px;
 box-shadow:0 0 0 2px #f4d48c77,0 5px 10px #001b1666!important;
}
body.kk-table-v243 :is(.kart.arka,.kart-arka,.sol-card.back,.sol-stock:not(.empty)) {
 background:#204d3f url('/assets/masa-v243/card-back.svg') center/100% 100% no-repeat!important;
 border-color:#dfd1ac!important;
}
body.kk-table-v243 :is(.kart.arka,.kart-arka)>img {visibility:hidden}
body.kk-table-v243 .sol-card.back:disabled {opacity:1!important}
body.kk-table-v243 :is(.sol-pile,.sol-column) {
 background:#082d2255;border-color:#d4bc8555;box-shadow:inset 0 1px 5px #001b1633;
}
body.kk-table-v243 .sol-card.hint {outline-color:#8de3b5}
body.kk-table-v243 :is(.sol-pile,.sol-column).target {box-shadow:0 0 0 3px #8de3b5}
body.kk-table-v243 #classic-time {background:#0b2b2266;border:1px solid #c7b17833}
body.kk-table-v243[data-table-game='ellibir'] #istaka {
 background:linear-gradient(145deg,#1e4e3de8,#10382beb)!important;
 box-shadow:inset 0 1px #d4bb7e55,0 -3px 12px #001b1633!important;
 border-color:#c7b17855!important;
}
body.kk-table-v243[data-table-game='ellibir'] #istaka .sira {
 background:none!important;box-shadow:none!important;
}
body.kk-table-v243[data-table-game='ellibir'] #butonlar {
 background:#143c2f!important;box-shadow:none!important;
}
body.kk-table-v243[data-table-game='ellibir'] #istaka-ad {
 background:#173f32!important;border-color:#d4bb7e88!important;box-shadow:none!important;
}
@keyframes kk-table-arrive {from{filter:brightness(1.13)}to{filter:brightness(1)}}
body.kk-table-v243 .kk-table-arrival {animation:kk-table-arrive .24s ease-out}
@media(hover:hover) and (pointer:fine) {
 body.kk-table-v243 :is(#ust,#butonlar,#kontrol,#classic-tools) button:hover:not(:disabled){filter:brightness(1.12)}
}
@media(orientation:portrait) and (max-width:600px) {
 /* Social launchers occupy the top left corner; reserve space for the exit. */
 body.kk-table-v243 :is(#ust,#classic-header) {padding-left:48px!important;padding-right:8px!important;gap:6px!important}
 body.kk-table-v243 #ust :is(.rozet,#ben-cip) {font-size:12px!important;padding:5px 7px!important}
 body.kk-table-v243 #ust #kk-game-fullscreen {min-height:36px;font-size:12px;padding:6px 10px}
 body.kk-table-v243[data-table-game='pisti'] #el-sar {padding-bottom:38px}
 /* Narrow vertical nameplates leave the centre trick unobstructed. The game
    still owns inline display:none for unused seats (e.g. two-player Pişti). */
 body.kk-table-v243:is([data-table-game='batak'],[data-table-game='king'],[data-table-game='pisti']) :is(#k-sol,#k-sag) {
  width:40px;min-width:0;max-width:40px;padding:7px 4px;top:43%;
 }
 body.kk-table-v243:is([data-table-game='batak'],[data-table-game='king'],[data-table-game='pisti']) :is(#k-sol,#k-sag) .ad {
  font-size:12px;line-height:1.2;
 }
 body.kk-table-v243:is([data-table-game='batak'],[data-table-game='king']) #kontrol {
  max-width:calc(100vw - 108px)!important;box-sizing:border-box;
 }
 body.kk-table-v243[data-table-game='king'] #kontrol button {
  font-size:12px;padding:7px 6px;
 }
 body.kk-table-v243:is([data-table-game='batak'],[data-table-game='king']) #kontrol:not(:empty) {
  top:var(--kk-table-control-top,42%)!important;transform:translateX(-50%)!important;
  max-height:var(--kk-table-control-room,48vh);overflow-y:auto;overscroll-behavior:contain;
 }
}
@media(prefers-reduced-motion:reduce) {
 body.kk-table-v243 .kk-table-arrival {animation:none}
}
body.kk-table-v243[data-kk-effects='off'] .kk-table-arrival {animation:none}
