/* Masa · yeni sürüm. Sahne 1920x864 tasarım ölçüsünde çizilir, ekrana ölçeklenir. */
:root {
  --gunes: #ffc83d; --mor: #8a3cff; --pembe: #ff4e7a; --aqua: #14d4e5; --yesil: #3ddc7a; --gece: #1b1340;
  --glass: linear-gradient(180deg, rgba(120, 70, 200, .55), rgba(40, 18, 90, .62));
  --glass-line: rgba(220, 190, 255, .55);
  --ink: #fff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: clip; touch-action: manipulation; overscroll-behavior: none; -webkit-user-select: none; user-select: none; background: var(--gece); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.backdrop { position: fixed; inset: -40px; background: url(./img/salon.webp) center / cover; filter: blur(24px) brightness(.55); }
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 864px; transform: translate(-50%, calc(-50% + var(--ky, 0px))) scale(var(--s, .5)); transition: transform .2s ease-out; transform-origin: center; overflow: clip; }
.seats, .pile, .back-row, .front-row { inset: 0; pointer-events: none; }
.seats > *, .back-row > *, .front-row > * { pointer-events: auto; }
.salon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
body[data-screen=menu] .screen.menu, body[data-screen=lobby] .screen.lobby, body[data-screen=game] .screen.game, body[data-screen=final] .screen.final { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.screen > * { position: absolute; }

/* Ortak parçalar */
.glass { background: var(--glass); border: 2px solid var(--glass-line); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -6px 14px rgba(20,0,60,.35), 0 10px 24px rgba(10,0,40,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo { z-index: 4; left: 50%; top: 18px; width: 310px; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(30,0,70,.6)); }
.logo.small { width: 250px; top: 2px; }
.logo.tiny { width: 200px; top: 4px; }

.play-btn { display: flex; align-items: center; justify-content: center; gap: 22px; height: 118px; padding: 0 56px; border-radius: 60px;
  font: 800 64px/1 'Baloo 2', sans-serif; color: #3a1470; letter-spacing: .5px;
  background: linear-gradient(180deg, #fff3a6 0%, #ffd23f 30%, #ffb400 70%, #f59300 100%);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.75), inset 0 -10px 0 rgba(200,90,0,.45), 0 0 0 5px rgba(255,214,90,.6), 0 0 50px rgba(255,190,40,.55), 0 14px 0 #a85a00, 0 26px 40px rgba(20,0,40,.5);
  transition: transform .12s ease, filter .12s ease; }
.play-btn:active { transform: translateY(6px); }
.play-btn:disabled { filter: grayscale(.85) brightness(.75); cursor: default; }
.play-btn .tri { width: 0; height: 0; border-style: solid; border-width: 26px 0 26px 42px; border-color: transparent transparent transparent #4a1890; border-radius: 4px; filter: drop-shadow(0 2px 0 rgba(255,255,255,.4)); }

.toast { position: absolute; left: 50%; bottom: 40px; transform: translate(-50%, 30px); margin: 0; padding: 18px 36px; border-radius: 40px; background: rgba(27,19,64,.92); border: 2px solid var(--glass-line); font: 700 30px 'Baloo 2', sans-serif; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 1 · Ana menü */
.profile { left: 32px; top: 24px; display: flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; border-radius: 30px; }
.profile-av { position: relative; width: 120px; height: 120px; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #8f5cff, #3b1a86); border: 4px solid var(--gunes); }
.profile-av img { position: absolute; width: 220%; left: -60%; top: -14%; }
.profile-info { display: grid; gap: 6px; min-width: 190px; }
.profile-info b { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 36px/1.1 'Baloo 2', sans-serif; }
.level { display: flex; align-items: center; gap: 8px; font: 700 24px 'Baloo 2', sans-serif; }
.star { width: 26px; height: 26px; background: var(--gunes); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.xp { height: 16px; border-radius: 10px; background: rgba(10,0,40,.55); overflow: hidden; }
.xp i { display: block; height: 100%; background: linear-gradient(90deg, #a46bff, #d79bff); border-radius: inherit; }
.altin { left: 452px; top: 44px; display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 12px 0 10px; border-radius: 40px; font: 800 36px 'Baloo 2', sans-serif; }
.altin img { width: 58px; }
.altin .plus { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(#6af59c, #1fb45a); box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 3px 0 #0c7a37; font-size: 40px; line-height: 1; }
.corner { right: 34px; top: 30px; display: flex; gap: 18px; }
.icon-btn { width: 86px; height: 86px; border-radius: 24px; display: grid; place-items: center; }
.icon-btn svg { width: 44px; height: 44px; stroke-width: 2.2; }
.crew .seat { position: absolute; filter: drop-shadow(0 18px 20px rgba(20,0,40,.45)); transform-origin: 50% 100%; animation: breathe 4.5s ease-in-out infinite; }
.seat.s1 { left: 200px; top: 196px; width: 390px; transform: rotate(-4deg); }
.seat.s2 { left: 590px; top: 222px; width: 330px; animation-delay: -1.2s; }
.seat.s3 { left: 930px; top: 190px; width: 380px; animation-delay: -2.1s; }
.seat.s4 { left: 1300px; top: 228px; width: 320px; animation-delay: -3s; }
@keyframes breathe { 50% { translate: 0 -5px; scale: 1.012; } }
.prop { position: absolute; filter: drop-shadow(0 8px 8px rgba(20,0,40,.5)); }
.deck-l { left: 450px; top: 520px; width: 96px; transform: rotate(-64deg) skewX(10deg); }
.deck-r { left: 1350px; top: 500px; width: 96px; transform: rotate(70deg) skewX(-10deg); }
.coins { left: 560px; top: 500px; width: 70px; transform: rotate(-12deg); }
.coins.c2 { left: 1260px; top: 470px; width: 56px; transform: rotate(18deg); }
.menu .play-btn.big { left: 50%; top: 450px; width: 520px; height: 150px; transform: translateX(-50%); font-size: 96px; border-radius: 80px; animation: glow 2.4s ease-in-out infinite; }
.menu .play-btn.big:active { transform: translate(-50%, 6px); }
.menu .play-btn.big .tri { border-width: 36px 0 36px 58px; }
@keyframes glow { 50% { box-shadow: inset 0 4px 0 rgba(255,255,255,.75), inset 0 -10px 0 rgba(200,90,0,.45), 0 0 0 7px rgba(255,214,90,.75), 0 0 90px rgba(255,200,60,.85), 0 14px 0 #a85a00, 0 26px 40px rgba(20,0,40,.5); } }
.tiles { left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 22px; }
.tile { position: relative; display: flex; align-items: center; gap: 16px; width: 330px; height: 132px; padding: 0 22px; border-radius: 44px; font: 800 34px/1.05 'Baloo 2', sans-serif; text-align: left; text-shadow: 0 2px 0 rgba(0,0,0,.25);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.45), inset 0 -8px 0 rgba(0,0,0,.2), 0 0 0 4px rgba(255,255,255,.18), 0 10px 0 var(--edge), 0 20px 30px rgba(10,0,40,.5); transition: transform .12s; }
.tile:active { transform: translateY(5px); }
.tile svg { width: 72px; height: 72px; flex: none; stroke-width: 2.2; }
.tile img { width: 86px; flex: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.tile.violet { background: linear-gradient(180deg, #b77bff, #7a2cf0 60%, #5d17c9); --edge: #3d0d8c; }
.tile.blue { background: linear-gradient(180deg, #5fb8ff, #2d5cf2 60%, #2140c4); --edge: #15298a; }
.tile.pink { background: linear-gradient(180deg, #ff8fe0, #d93ac7 60%, #b0229f); --edge: #77106b; }
.tile.gold { background: linear-gradient(180deg, #ffe17a, #ffb21c 60%, #f08e00); --edge: #a35900; color: #4a1f00; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.badge { position: absolute; right: 12px; top: -12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #ff3b4f; border: 3px solid #fff; font: 800 28px 'Baloo 2', sans-serif; font-style: normal; }
.tables { color: inherit; right: 30px; top: 330px; width: 230px; padding: 22px 20px 16px; border-radius: 30px; text-align: center; border-color: var(--gunes); display: grid; gap: 4px; }
.tables span { font: 800 30px/1.1 'Baloo 2', sans-serif; }
.tables b { font: 800 88px/1 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 4px 0 #a85a00; }

/* 2 · Bekleme odası */
.pill-btn { top: 28px; display: flex; align-items: center; gap: 14px; height: 80px; padding: 0 34px 0 26px; border-radius: 44px; font: 700 34px 'Baloo 2', sans-serif; }
.pill-btn svg { width: 40px; height: 40px; }
.pill-btn.tl { left: 56px; } .pill-btn.tr { right: 56px; }
.code { z-index: 4; left: 50%; top: 128px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 26px 0 34px; border-radius: 40px; font: 700 30px 'Baloo 2', sans-serif; white-space: nowrap; }
.code b { color: var(--gunes); font-size: 36px; letter-spacing: 1px; }
.code svg { width: 34px; height: 34px; }
.back-row .player { position: absolute; display: grid; justify-items: center; }
.player .name { position: relative; z-index: 2; padding: 6px 22px; border-radius: 24px; font: 700 28px 'Baloo 2', sans-serif; white-space: nowrap; }
.player .name small { margin-left: 8px; font-size: 18px; color: var(--aqua); }
.player img { width: 100%; margin-top: 6px; filter: drop-shadow(0 14px 16px rgba(20,0,40,.5)); animation: breathe 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.player .ready { position: absolute; z-index: 3; bottom: 18px; right: -10px; display: flex; align-items: center; gap: 6px; padding: 6px 18px; border-radius: 30px; background: linear-gradient(#5ff38f, #1fb45a); border: 3px solid #d6ffe4; box-shadow: 0 4px 0 #0c7a37; font: 800 26px 'Baloo 2', sans-serif; }
.player .ready svg { width: 26px; height: 26px; stroke-width: 3.5; }
.front-row .chair { position: absolute; top: 540px; width: 230px; height: 230px; border-radius: 120px 120px 40px 40px; display: grid; place-content: center; justify-items: center; gap: 12px;
  background: radial-gradient(120% 90% at 50% 0%, #7a2a4a, #4a1030 60%, #33081f); border: 4px solid #a0566e; box-shadow: inset 0 6px 0 rgba(255,255,255,.18), inset 0 -20px 30px rgba(0,0,0,.45), 0 20px 30px rgba(10,0,30,.55); transition: transform .15s; }
.chair:active { transform: translateY(4px); }
.chair .plus { width: 76px; height: 76px; border-radius: 50%; border: 4px solid rgba(255,220,240,.85); display: grid; place-items: center; font: 600 60px/1 'Baloo 2', sans-serif; padding-bottom: 4px; }
.chair .lbl { padding: 6px 22px; border-radius: 24px; background: rgba(40,0,30,.5); border: 2px solid rgba(255,200,230,.5); font: 700 28px 'Baloo 2', sans-serif; }
.chair .bot-av { position: relative; width: 130px; height: 130px; }
.rounds { left: 44px; bottom: 34px; display: flex; align-items: center; gap: 14px; height: 86px; padding: 0 26px; border-radius: 44px; font: 700 34px 'Baloo 2', sans-serif; }
.rounds svg { width: 46px; height: 46px; color: var(--gunes); }
.rounds select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 30px no-repeat; border: 0; padding-right: 44px; font: 800 48px 'Baloo 2', sans-serif; cursor: pointer; }
.rounds option { background: var(--gece); font-size: 20px; }
.chat-btn { right: 440px; bottom: 44px; width: 110px; height: 96px; border-radius: 48px; display: grid; place-items: center; }
.chat-btn svg { width: 54px; height: 54px; }
.lobby .play-btn { right: 44px; bottom: 36px; width: 390px; }

/* Avatar halkası: baş halkanın üstünden taşar */
.av { position: relative; width: var(--d, 150px); height: var(--d, 150px); }
.av::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #9d6bff, #3b1786 75%); border: 5px solid var(--ring, #ffcf4a); box-shadow: 0 0 22px rgba(255,190,60,.45), 0 10px 18px rgba(10,0,40,.5); }
.av .clip { position: absolute; left: -6%; right: -6%; bottom: 0; height: 175%; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--d, 150px) / 2) no-repeat, radial-gradient(circle closest-side, #000 96%, transparent 100%) bottom / var(--d, 150px) var(--d, 150px) no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--d, 150px) / 2) no-repeat, radial-gradient(circle closest-side, #000 96%, transparent 100%) bottom / var(--d, 150px) var(--d, 150px) no-repeat; }
.av img { position: absolute; width: calc(var(--d, 150px) * 1.9); left: 50%; bottom: 0; transform: translate(calc(-50% + var(--hx, 0px)), var(--hy, 30%)); }

/* 3 · Oyun masası */
.round-pill { left: 30px; top: 26px; display: flex; align-items: center; gap: 14px; height: 84px; padding: 0 36px 0 26px; border-radius: 44px; font: 800 44px 'Baloo 2', sans-serif; }
.round-pill svg { width: 46px; height: 46px; color: var(--gunes); fill: var(--gunes); }
.timer { right: 40px; top: 18px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, #2a1060 78%, transparent 79% 100%), conic-gradient(var(--gunes) calc(var(--p) * 360deg), rgba(255,255,255,.12) 0); box-shadow: 0 0 0 5px #6a2ed8, 0 0 30px rgba(140,60,255,.7); }
.timer b { font: 800 70px/1 'Baloo 2', sans-serif; }
.timer.low { animation: pulse .5s ease-in-out infinite alternate; }
@keyframes pulse { to { scale: 1.07; } }
.question { z-index: 5; left: 50%; top: 150px; width: 740px; min-height: 250px; transform: translateX(-50%); display: grid; place-items: center; padding: 50px 50px 36px; border-radius: 46px;
  background: linear-gradient(180deg, #fffaf0, #f6e8d2); border: 8px solid #ffc94a; box-shadow: 0 0 0 6px #b26cff, 0 0 60px rgba(255,140,255,.55), 0 20px 40px rgba(10,0,40,.55); color: #2a0f52; }
.question { pointer-events: none; }
.question.long p { font-size: 42px; }
.question p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font: 800 54px/1.15 'Baloo 2', sans-serif; text-align: center; }
.question .q-badge { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; height: 70px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(#a76bff, #6a1fe0); border: 4px solid #ffc94a; color: #fff; }
.question .q-badge svg { width: 44px; height: 44px; }
.question.pop { animation: qpop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes qpop { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
.seats .gp { position: absolute; display: flex; align-items: center; }
.gp .tag { display: grid; gap: 4px; margin-left: -14px; z-index: 1; }
.gp.right { flex-direction: row-reverse; }
.gp.right .tag { margin: 0 -14px 0 0; justify-items: end; }
.gp .tag span, .gp .tag b { padding: 4px 20px 4px 26px; border-radius: 22px; background: rgba(30,10,70,.85); border: 2px solid var(--glass-line); font: 700 28px 'Baloo 2', sans-serif; white-space: nowrap; }
.gp.right .tag span, .gp.right .tag b { padding: 4px 26px 4px 20px; }
.gp .tag b { display: flex; align-items: center; gap: 8px; font-size: 32px; }
.gp .tag b .star { width: 28px; height: 28px; }
.gp .done { position: absolute; z-index: 3; right: -4px; bottom: -4px; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(#5ff38f, #1fb45a); border: 4px solid #fff; display: grid; place-items: center; scale: 0; transition: scale .3s cubic-bezier(.3,1.8,.5,1); }
.gp.right .done { right: auto; left: -4px; }
.gp .done svg { width: 30px; height: 30px; stroke-width: 4; }
.gp.played .done { scale: 1; }
.gp.me .av { --ring: var(--aqua); }
.table-deck { left: 510px; top: 380px; width: 190px; height: 190px; display: grid; place-items: center; }
.table-deck img { width: 130px; transform: rotate(-72deg) skewX(14deg); filter: drop-shadow(-6px 8px 0 #4a2a8a) drop-shadow(0 12px 10px rgba(10,0,30,.6)); transition: transform .2s; }
.table-deck span { position: absolute; bottom: 4px; padding: 4px 18px; border-radius: 20px; background: linear-gradient(#6af59c, #1fb45a); border: 3px solid #fff; font: 800 26px 'Baloo 2', sans-serif; box-shadow: 0 4px 0 #0c7a37; }
.table-deck.ready img { animation: deckglow 1.6s ease-in-out infinite; }
@keyframes deckglow { 50% { filter: drop-shadow(-6px 8px 0 #4a2a8a) drop-shadow(0 0 26px rgba(255,214,90,.95)); } }
.table-deck:not(.ready) span { display: none; }
.table-deck:not(.ready) { cursor: default; }
.table-deck.ready:active img { transform: rotate(-72deg) skewX(14deg) scale(.92); }
.pile .flown { position: absolute; width: 150px; height: 200px; border-radius: 18px; background: url(./img/kart-arka.webp) center / cover; box-shadow: 0 10px 18px rgba(10,0,30,.55); transition: transform .5s cubic-bezier(.3,1.3,.5,1); }
.hand { left: 44%; bottom: 0; width: 1px; height: 1px; }
.card { position: absolute; left: 0; bottom: 6px; width: 220px; height: 290px; margin-left: -110px; padding: 14px 14px 52px; border-radius: 26px; background: linear-gradient(180deg, #f6ecff, #d8c2ff); border: 4px solid #fff;
  box-shadow: 0 0 0 4px #9b5cff, 0 14px 24px rgba(10,0,40,.55); transform-origin: 50% 160%; transform: translateX(var(--x)) rotate(var(--r)); transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .2s; }
.card .media { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #2a1060 url(./img/kart-on.webp) center / 70% no-repeat; }
.card .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .gif { position: absolute; right: 10px; top: 10px; padding: 2px 14px; border-radius: 0 18px 0 14px; background: #7b2ff0; font: 800 22px 'Baloo 2', sans-serif; color: #fff; }
.card .bar { position: absolute; left: 18px; right: 18px; bottom: 12px; height: 30px; border-radius: 12px; background: linear-gradient(#a978ff, #7b2ff0); }
.card .bar::before { content: ''; position: absolute; left: 14px; top: 7px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.card.sel { z-index: 5; transform: translateX(var(--x)) translateY(-90px) rotate(0) scale(1.12); box-shadow: 0 0 0 5px #ffd24a, 0 0 50px rgba(255,210,80,.8), 0 24px 34px rgba(10,0,40,.6); }
.card.gone { transform: translate(calc(var(--x) * .2), -380px) scale(.55) rotate(8deg); opacity: 0; transition: transform .45s ease-in, opacity .45s ease-in; }
.card-go { right: 30px; bottom: 30px; height: 112px; padding: 0 44px; font-size: 52px; }
.card-go .tri { border-width: 22px 0 22px 36px; }

/* Oyun evreleri */
.vote-row, .vote-bar, .result { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.hand, .card-go, .pile, .table-deck, .question { transition: opacity .3s, transform .4s, visibility 0s; }
.stage[data-phase=vote] :is(.hand, .card-go, .pile, .table-deck), .stage[data-phase=result] :is(.hand, .card-go, .pile, .table-deck, .question) { opacity: 0; visibility: hidden; pointer-events: none; }
.stage[data-phase=vote] :is(.vote-row, .vote-bar), .stage[data-phase=result] .result { opacity: 1; visibility: visible; transition: opacity .3s; }
.stage[data-phase=result] .seats { opacity: 0; visibility: hidden; }
.seats { transition: opacity .3s; }
.stage[data-phase=vote] .question { transform: translateX(-50%) translateY(-96px) scale(.62); }
.stage[data-phase=vote] .game .logo.tiny { opacity: 0; }

/* Oylama */
.vote-row { z-index: 6; left: 360px; right: 360px; top: 440px; display: flex; justify-content: center; align-items: flex-start; gap: 18px; perspective: 1300px; }
.vcard { position: relative; flex: none; width: var(--w, 200px); height: calc(var(--w, 200px) * 1.3); transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)) rotateX(22deg); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.vcard.sel { z-index: 3; transform: translateY(-24px) rotate(0) rotateX(0) scale(1.22); }
.vcard .flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,1.3,.5,1); transform: rotateY(180deg); }
.vcard.open .flip { transform: rotateY(0); }
.vcard .face { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 14px 22px rgba(10,0,40,.55); }
.vcard .back { transform: rotateY(180deg); background: url(./img/kart-arka.webp) center / cover; }
.vcard .front { padding: 10px; background: linear-gradient(#f6ecff, #d8c2ff); border: 4px solid #fff; box-shadow: 0 0 0 4px #9b5cff, 0 14px 22px rgba(10,0,40,.55); }
.vcard .front .media { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #2a1060 url(./img/kart-on.webp) center / 70% no-repeat; }
.vcard .media img, .big-card .media img, .small-card .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard .gif { position: absolute; right: 8px; top: 8px; padding: 2px 12px; border-radius: 0 16px 0 12px; background: #7b2ff0; font: 800 20px 'Baloo 2', sans-serif; color: #fff; }
.vcard .mine { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); padding: 4px 18px; border-radius: 20px; background: var(--aqua); color: var(--gece); font: 800 22px 'Baloo 2', sans-serif; }
.vcard:disabled { cursor: default; filter: saturate(.6); }
.vcard:not(:disabled):hover .flip { transform: translateY(-10px); }
.vcard.sel .front { box-shadow: 0 0 0 6px #ffd24a, 0 0 60px rgba(255,210,80,.85), 0 18px 28px rgba(10,0,40,.6); }
.vcard.sel .flip { transform: none; }
.vcard .pick { position: absolute; z-index: 3; left: 50%; top: -86px; width: 74px; height: 74px; translate: -50% 0; color: #ff3b6b; scale: 0; transition: scale .3s cubic-bezier(.3,1.8,.5,1); filter: drop-shadow(0 0 16px rgba(255,80,120,.8)); }
.vcard .pick svg { width: 100%; height: 100%; fill: currentColor; stroke: #fff; stroke-width: 1.2; }
.vcard.sel .pick { scale: 1; }
.vote-bar { left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 0; }
.vote-bar .hint { display: flex; align-items: center; gap: 14px; height: 96px; padding: 0 60px 0 32px; margin-right: -40px; border-radius: 50px 0 0 50px; font: 700 34px 'Baloo 2', sans-serif; white-space: nowrap; }
.vote-bar .hint .star { width: 40px; height: 40px; }
.vote-bar .play-btn { position: relative; z-index: 1; width: 330px; }
.vote-bar .hint { position: relative; z-index: 0; }

/* Tur sonucu */
.result { inset: 0; pointer-events: none; }
.result > * { position: absolute; }
.hero { inset: 0; }
.hero > * { position: absolute; }
.champ { left: 360px; top: 130px; width: 380px; filter: drop-shadow(0 18px 20px rgba(20,0,40,.5)); animation: cheer .6s cubic-bezier(.3,1.6,.5,1) both, breathe 3s ease-in-out .6s infinite; transform-origin: 50% 100%; }
@keyframes cheer { from { transform: translateY(80px) scale(.6); opacity: 0; } }
.champ-tag { left: 430px; top: 470px; padding: 8px 40px; border-radius: 30px; font: 800 38px 'Baloo 2', sans-serif; border-color: var(--gunes); }
.big-card { left: 50%; top: 92px; width: 360px; height: 430px; margin-left: -150px; padding: 18px; border-radius: 34px; background: linear-gradient(#fffaf0, #f3dcae); border: 8px solid #ffc94a; box-shadow: 0 0 0 5px #b26cff, 0 0 90px rgba(255,200,60,.85), 0 24px 40px rgba(10,0,40,.55); animation: qpop .6s cubic-bezier(.3,1.6,.5,1) both; }
.big-card .media { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #2a1060 url(./img/kart-on.webp) center / 70% no-repeat; }
.big-card .gif { position: absolute; z-index: 2; right: 30px; bottom: 30px; padding: 2px 16px; border-radius: 16px; background: rgba(30,10,70,.8); border: 2px solid #fff; font: 800 24px 'Baloo 2', sans-serif; }
.big-card .rays { position: absolute; inset: -260px; z-index: -1; border-radius: 50%; background: repeating-conic-gradient(rgba(255,214,90,.35) 0 8deg, transparent 8deg 22deg); -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent); animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.crown { position: absolute; z-index: 3; left: 50%; top: -86px; width: 130px; height: 90px; translate: -50% 0; background: linear-gradient(#fff3a6, #ffc21a 50%, #e08a00); clip-path: polygon(0 100%, 4% 22%, 28% 58%, 50% 0, 72% 58%, 96% 22%, 100% 100%); filter: drop-shadow(0 6px 0 #a85a00); }
.gain { position: absolute; z-index: 3; left: 50%; top: 24px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 4px 20px 4px 26px; border-radius: 30px; background: linear-gradient(#8f4dff, #5a17c9); border: 3px solid #ffd24a; font: 800 46px 'Baloo 2', sans-serif; color: #fff3a6; white-space: nowrap; }
.gain img { width: 46px; }
.rest { left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 26px; }
.small-card { position: relative; width: 170px; height: 200px; padding: 8px; border-radius: 20px; background: linear-gradient(#f6ecff, #d8c2ff); border: 3px solid #fff; box-shadow: 0 0 0 3px #9b5cff, 0 12px 20px rgba(10,0,40,.5); animation: qpop .5s cubic-bezier(.3,1.6,.5,1) both; }
.small-card.medal-2, .small-card.medal-3 { box-shadow: 0 0 0 4px #ffc94a, 0 12px 20px rgba(10,0,40,.5); }
.small-card .media { width: 100%; height: 100%; border-radius: 13px; overflow: hidden; background: #2a1060 url(./img/kart-on.webp) center / 70% no-repeat; }
.small-card .hearts { position: absolute; z-index: 2; left: 50%; top: -22px; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 2px 16px; border-radius: 20px; background: #3a1580; border: 2px solid var(--glass-line); font: 800 26px 'Baloo 2', sans-serif; }
.small-card .hearts svg { width: 24px; height: 24px; fill: #ff4e7a; stroke: none; }
.small-card .medal { position: absolute; left: 14px; bottom: -22px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 800 30px 'Baloo 2', sans-serif; font-style: normal; color: #3a1470; background: linear-gradient(#ffffff, #b9c0d6); border: 3px solid #fff; box-shadow: 0 4px 0 #6d7491; }
.small-card.medal-3 .medal { background: linear-gradient(#ffd2a0, #d9823a); box-shadow: 0 4px 0 #8a4a14; }
.small-card .av { position: absolute; right: -14px; bottom: -18px; }
.small-card .av::before { border-width: 3px; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 20; }
.confetti i { position: absolute; top: -30px; width: 16px; height: 26px; border-radius: 4px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--rx), 960px) rotate(var(--rot)); } }

/* Final */
.final-title { left: 1290px; top: 150px; width: 520px; z-index: 3; margin: 0; text-align: center; font: 800 64px/1 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 5px 0 #6a1fbf, 0 0 30px rgba(255,200,60,.6); }
.podium { left: 120px; top: 210px; width: 1100px; height: 470px; display: flex; justify-content: center; align-items: flex-end; gap: 10px; }
.step { position: relative; width: 330px; display: grid; justify-items: center; }
.step .who { width: 290px; margin-bottom: -40px; filter: drop-shadow(0 16px 18px rgba(20,0,40,.55)); animation: cheer .7s cubic-bezier(.3,1.6,.5,1) both; }
.place-1 .who { width: 340px; animation-delay: .5s; }
.place-2 .who { animation-delay: .25s; }
.step .crown { top: -40px; width: 120px; height: 84px; z-index: 4; animation: cheer .6s .9s cubic-bezier(.3,1.6,.5,1) both; }
.block { position: relative; z-index: 2; width: 100%; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 30px 30px 18px 18px; box-shadow: inset 0 6px 0 rgba(255,255,255,.55), inset 0 -14px 0 rgba(0,0,0,.18), 0 18px 30px rgba(10,0,40,.55); }
.block b { font: 800 110px/1 'Baloo 2', sans-serif; color: #fff; text-shadow: 0 6px 0 rgba(0,0,0,.25); }
.block span { font: 700 28px 'Baloo 2', sans-serif; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.3); padding: 0 12px; text-align: center; }
.place-1 .block { height: 230px; background: linear-gradient(#fff0a0, #ffc21a 45%, #e08a00); }
.place-2 .block { height: 180px; background: linear-gradient(#ffffff, #c6cbe0 45%, #8d93b0); }
.place-3 .block { height: 150px; background: linear-gradient(#ffd8b0, #e2924a 45%, #a85a1e); }
.chest { left: 1290px; top: 230px; width: 520px; height: 440px; display: grid; justify-items: center; align-content: end; }
.chest > * { position: relative; }
.chest-rays { position: absolute; left: 50%; top: 45%; width: 700px; height: 700px; translate: -50% -50%; border-radius: 50%; background: repeating-conic-gradient(rgba(255,214,90,.4) 0 7deg, transparent 7deg 20deg); -webkit-mask: radial-gradient(closest-side, #000 25%, transparent); mask: radial-gradient(closest-side, #000 25%, transparent); animation: spin 16s linear infinite; }
.chest-img { width: 340px; filter: drop-shadow(0 0 40px rgba(255,200,60,.8)); animation: cheer .7s 1s cubic-bezier(.3,1.6,.5,1) both, breathe 2.4s ease-in-out 1.7s infinite; }
.coin { position: absolute; width: 80px; animation: coin 1.4s 1.3s ease-out both; }
.coin.c1 { left: 60px; bottom: 120px; --cx: -40px; } .coin.c2 { right: 60px; bottom: 150px; --cx: 50px; } .coin.c3 { left: 220px; bottom: 300px; --cx: 0; }
@keyframes coin { from { transform: translate(0, 120px) scale(.3); opacity: 0; } 60% { opacity: 1; } to { transform: translate(var(--cx), 0) rotate(20deg); } }
.chest-gain { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 30px; border-radius: 40px; background: linear-gradient(#8f4dff, #5a17c9); border: 4px solid #ffd24a; font: 800 54px 'Baloo 2', sans-serif; color: #fff3a6; }
.chest-gain img { width: 54px; }
.chest small { margin-top: 8px; font: 700 20px 'Nunito', sans-serif; opacity: .75; }
.final-actions { left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 30px; align-items: center; }
.final-actions .play-btn { width: 520px; font-size: 58px; white-space: nowrap; }
.final-actions .home { width: 300px; height: 112px; justify-content: center; }
.final-actions .home svg { width: 54px; height: 54px; }

/* Masaya oturma ve bekleme */
.entry { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(15,8,40,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.entry[hidden], .busy[hidden] { display: none; }
.entry-card { position: relative; width: 1180px; padding: 30px 50px 34px; border-radius: 48px; display: grid; justify-items: center; gap: 18px; }
.entry-card h2 { margin: 0; font: 800 58px/1 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 4px 0 #6a1fbf; }
.entry-close { position: absolute; right: 26px; top: 20px; width: 64px; height: 64px; border-radius: 50%; font: 700 48px/1 'Baloo 2', sans-serif; background: rgba(255,255,255,.12); }
.entry-chars { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; max-width: 760px; }
.entry-char { display: grid; justify-items: center; gap: 4px; padding: 22px 8px 6px; border-radius: 26px; border: 3px solid transparent; font: 700 22px 'Baloo 2', sans-serif; transition: transform .15s; }
.entry-char .av { --ring: rgba(255,255,255,.4); }
.entry-char[aria-checked=true] { border-color: var(--gunes); background: rgba(255,200,61,.15); transform: translateY(-6px); }
.entry-char[aria-checked=true] .av { --ring: var(--gunes); }
.entry-card input { height: 84px; padding: 0 30px; border-radius: 42px; border: 3px solid var(--glass-line); background: rgba(15,6,45,.6); color: #fff; font: 700 38px 'Baloo 2', sans-serif; outline: none; user-select: text; -webkit-user-select: text; }
.entry-card input:focus { border-color: var(--gunes); }
#entryName { width: 620px; text-align: center; }
.entry-actions { display: flex; align-items: center; gap: 20px; }
.entry-actions .play-btn { height: 100px; font-size: 48px; padding: 0 44px; }
.entry-actions .play-btn .tri { border-width: 20px 0 20px 32px; }
.entry-or { font: 700 28px 'Baloo 2', sans-serif; opacity: .7; }
#entryCode { width: 270px; text-align: center; letter-spacing: 4px; text-transform: uppercase; }
.entry-actions .tile { width: 200px; height: 100px; justify-content: center; font-size: 40px; }
.entry[data-mode=quick] :is(.entry-or, #entryCode, #entryJoin) { display: none; }
.entry[data-mode=join] #entryCreate, .entry[data-mode=join] .entry-or { display: none; }
.busy { position: absolute; inset: 0; z-index: 45; display: grid; place-content: center; justify-items: center; gap: 30px; background: rgba(15,8,40,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.busy img { width: 170px; animation: shuffle 1.1s ease-in-out infinite; filter: drop-shadow(0 16px 20px rgba(0,0,0,.5)); }
@keyframes shuffle { 50% { transform: rotate(14deg) translateY(-24px); } }
.busy p { margin: 0; font: 800 46px 'Baloo 2', sans-serif; text-shadow: 0 4px 0 #3a1470; }
.player.away, .gp.away { opacity: .45; filter: grayscale(.6); }
.host-crown { display: inline-block; width: 30px; height: 22px; margin-right: 8px; background: linear-gradient(#fff3a6, #ffc21a); clip-path: polygon(0 100%, 4% 22%, 28% 58%, 50% 0, 72% 58%, 96% 22%, 100% 100%); vertical-align: -2px; }
.lobby .play-btn.is-ready { background: linear-gradient(180deg, #a6ffc4, #3ddc7a 50%, #1fb45a); box-shadow: inset 0 4px 0 rgba(255,255,255,.7), 0 0 0 5px rgba(140,255,180,.5), 0 14px 0 #0c7a37, 0 26px 40px rgba(20,0,40,.5); }
.rounds select:disabled { cursor: default; opacity: .85; }
.chair:disabled { cursor: default; }
.no-winner { left: 50%; top: 320px; transform: translateX(-50%); margin: 0; padding: 24px 50px; border-radius: 40px; font: 800 46px 'Baloo 2', sans-serif; }
.gain .star { width: 44px; height: 44px; }

/* Sohbet */
.chat-btn .unread { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: #ff3b4f; border: 3px solid #fff; }
.chat-btn .unread[hidden] { display: none; }
.game-chat { z-index: 7; right: auto; bottom: 24px; left: 30px; top: auto; width: 96px; height: 84px; border-radius: 42px; display: grid; place-items: center; }
.game-chat svg { width: 48px; height: 48px; }
.chat-btn { position: absolute; }
.chat { overflow: hidden; grid-template-columns: minmax(0, 1fr); position: absolute; z-index: 35; right: 20px; top: 20px; bottom: 20px; width: 600px; border-radius: 40px; display: grid; grid-template-rows: auto 1fr auto auto auto; padding: 22px 24px; gap: 14px; background: linear-gradient(180deg, rgba(60,25,130,.94), rgba(25,10,70,.96)); }
.chat[hidden] { display: none; }
.chat header { display: flex; justify-content: space-between; align-items: center; font: 800 40px 'Baloo 2', sans-serif; }
.chat header button { flex: none; position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.12); font: 700 44px/1 'Baloo 2', sans-serif; }
.chat ol { list-style: none; margin: 0; padding: 0 4px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; user-select: text; -webkit-user-select: text; }
.chat li { max-width: 86%; padding: 10px 18px; border-radius: 22px 22px 22px 6px; background: rgba(255,255,255,.12); font: 600 28px/1.25 'Nunito', sans-serif; overflow-wrap: anywhere; }
.chat li b { display: block; font: 800 22px 'Baloo 2', sans-serif; color: var(--aqua); }
.chat li.mine { align-self: flex-end; border-radius: 22px 22px 6px 22px; background: rgba(255,200,61,.22); }
.chat li.mine b { color: var(--gunes); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { padding: 8px 18px; border-radius: 24px; background: rgba(255,255,255,.12); border: 2px solid var(--glass-line); font: 700 26px 'Baloo 2', sans-serif; }
.chat form { display: flex; gap: 12px; }
.chat input { flex: 1; min-width: 0; height: 80px; padding: 0 24px; border-radius: 40px; border: 3px solid var(--glass-line); background: rgba(10,4,35,.7); color: #fff; font: 700 30px 'Nunito', sans-serif; outline: none; user-select: text; -webkit-user-select: text; }
.chat input:focus { border-color: var(--gunes); }
.chat .play-btn { height: 80px; padding: 0 28px; font-size: 34px; }
.bubble { position: absolute; z-index: 8; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; max-width: 360px; width: max-content; padding: 10px 20px; border-radius: 24px; background: #fff; color: #2a0f52; font: 700 26px/1.2 'Nunito', sans-serif; box-shadow: 0 10px 20px rgba(10,0,40,.45); animation: bubble 4.5s ease both; pointer-events: none; overflow-wrap: anywhere; }
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -12px; translate: -50% 0; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; }
.gp .bubble { bottom: auto; top: -64px; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(14px) scale(.7); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.player, .chair, .gp { position: absolute; }

/* Final tepkileri */
.reactions { left: 26px; top: 200px; width: 110px; display: grid; justify-items: center; gap: 12px; padding: 16px 0; border-radius: 40px; background: rgba(30,10,70,.7); border: 2px solid var(--glass-line); }
.reactions[hidden] { display: none; }
.reactions span { font: 700 18px 'Baloo 2', sans-serif; opacity: .8; }
.reactions button { width: 78px; height: 78px; border-radius: 50%; font-size: 44px; line-height: 1; background: rgba(255,255,255,.1); transition: transform .12s; }
.reactions button:active { transform: scale(.85); }
.reactions button:disabled { opacity: .3; }
.floaters { inset: 0; pointer-events: none; z-index: 25; overflow: hidden; }
.floaters i { position: absolute; bottom: 160px; font-size: 80px; font-style: normal; animation: floatup 3s ease-out forwards; }
.floaters i small { display: block; font: 800 22px 'Baloo 2', sans-serif; text-align: center; color: #fff; text-shadow: 0 2px 4px #000; }
@keyframes floatup { 0% { transform: translateY(40px) scale(.4); opacity: 0; } 15% { opacity: 1; transform: translateY(0) scale(1.1); } 100% { transform: translateY(-520px) scale(1); opacity: 0; } }

/* Ses ve ayarlar */
.sound-btn { position: absolute; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; }
.sound-btn svg { width: 44px; height: 44px; }
.sound-btn .mute, body.muted .sound-btn .wave { display: none; }
body.muted .sound-btn .mute { display: inline; }
.lobby-sound { right: 384px; top: 26px; }
.game-sound { z-index: 7; left: 140px; bottom: 24px; }
.settings { position: absolute; z-index: 36; right: 30px; top: 130px; width: 520px; padding: 24px 30px 26px; border-radius: 40px; display: grid; gap: 18px; background: linear-gradient(180deg, rgba(60,25,130,.95), rgba(25,10,70,.97)); }
.settings[hidden] { display: none; }
.settings header { display: flex; justify-content: space-between; align-items: center; font: 800 40px 'Baloo 2', sans-serif; }
.settings header button { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.12); font: 700 44px/1 'Baloo 2', sans-serif; }
.switch { display: flex; justify-content: space-between; align-items: center; font: 700 34px 'Baloo 2', sans-serif; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch i { position: relative; width: 104px; height: 56px; border-radius: 30px; background: rgba(255,255,255,.18); transition: background .2s; }
.switch i::after { content: ''; position: absolute; left: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + i { background: var(--yesil); }
.switch input:checked + i::after { transform: translateX(48px); }
.switch input:focus-visible + i { outline: 3px solid var(--gunes); }
.credit { margin: 0; font: 600 20px 'Nunito', sans-serif; opacity: .7; }

/* Canlı masalar */
.tables small { font: 700 20px 'Baloo 2', sans-serif; color: var(--aqua); }
.public-switch { width: 620px; font-size: 30px; }
.entry[data-mode=quick] .public-switch, .entry[data-mode=join] .public-switch { display: none; }
.open-tables { list-style: none; margin: 0; padding: 0; width: 100%; max-height: 420px; overflow-y: auto; display: grid; gap: 14px; }
.open-tables li { display: flex; align-items: center; gap: 22px; padding: 14px 18px 14px 26px; border-radius: 30px; background: rgba(255,255,255,.08); border: 2px solid var(--glass-line); }
.open-tables .who { flex: 1; min-width: 0; font: 700 28px 'Baloo 2', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open-tables .seats-count { font: 800 32px 'Baloo 2', sans-serif; color: var(--gunes); }
.open-tables .tile { width: 180px; height: 80px; justify-content: center; font-size: 34px; border-radius: 40px; }
.open-empty { margin: 0; font: 700 30px 'Baloo 2', sans-serif; opacity: .8; text-align: center; }
.tables-dialog .play-btn { height: 100px; font-size: 46px; padding: 0 44px; }
.tables-dialog .play-btn .tri { border-width: 20px 0 20px 32px; }

/* Arkadaşlar, davet, izleyici */
.social .entry-card { width: 1500px; gap: 18px; }
.social-grid { display: grid; grid-template-columns: 520px 1fr; gap: 40px; width: 100%; }
.social:not(.in-room) .social-grid { grid-template-columns: 1fr; }
.social:not(.in-room) .social-room { display: none; }
.social-room { display: grid; justify-items: center; gap: 14px; align-content: start; }
.qr { width: 300px; height: 300px; border-radius: 24px; background: #fff; padding: 6px; }
.invite-code { margin: 0; font: 700 32px 'Baloo 2', sans-serif; }
.invite-code b { color: var(--gunes); letter-spacing: 2px; }
.social .row { display: flex; gap: 14px; }
.social .tile { width: auto; height: 78px; padding: 0 26px; justify-content: center; font-size: 28px; border-radius: 40px; }
.host-only { width: 100%; display: grid; gap: 10px; }
.social:not(.host) .host-only { display: none; }
.social .switch { font-size: 28px; }
.switch.small { font-size: 26px; }
.social-people { display: grid; gap: 14px; align-content: start; min-width: 0; }
.my-id { display: flex; align-items: center; gap: 16px; font: 700 28px 'Baloo 2', sans-serif; }
.my-id button { padding: 8px 22px; border-radius: 30px; background: rgba(255,200,61,.18); border: 2px solid var(--gunes); color: var(--gunes); font: 800 30px 'Baloo 2', sans-serif; }
.add-friend { display: flex; gap: 12px; }
.add-friend[hidden] { display: none; }
.add-friend input { flex: 1; min-width: 0; height: 78px; padding: 0 24px; border-radius: 40px; border: 3px solid var(--glass-line); background: rgba(10,4,35,.6); color: #fff; font: 700 28px 'Nunito', sans-serif; outline: none; user-select: text; -webkit-user-select: text; }
.people { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; display: grid; gap: 10px; }
.people li { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 22px; border-radius: 26px; background: rgba(255,255,255,.08); }
.people .nm { flex: 1; min-width: 0; font: 700 28px 'Baloo 2', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people .nm small { display: block; font: 600 20px 'Nunito', sans-serif; opacity: .7; }
.people .tag { padding: 2px 14px; border-radius: 16px; font: 700 20px 'Baloo 2', sans-serif; background: rgba(20,212,229,.2); color: var(--aqua); }
.people button { padding: 10px 22px; border-radius: 30px; font: 800 24px 'Baloo 2', sans-serif; background: linear-gradient(#b77bff, #7a2cf0); }
.people button.ghost { background: rgba(255,255,255,.12); }
.people-empty { margin: 0; font: 600 24px 'Nunito', sans-serif; opacity: .7; }
.icon-btn { position: relative; }
.icon-btn .dot { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: #ff3b4f; border: 3px solid #fff; }
.icon-btn .dot[hidden] { display: none; }
.invite-pop { position: absolute; z-index: 44; left: 50%; top: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; padding: 18px 22px 18px 34px; border-radius: 50px; background: linear-gradient(180deg, rgba(90,40,180,.97), rgba(40,15,100,.97)); border-color: var(--gunes); animation: qpop .5s cubic-bezier(.3,1.6,.5,1); }
.invite-pop[hidden] { display: none; }
.invite-pop p { margin: 0; font: 800 32px 'Baloo 2', sans-serif; }
.invite-pop .play-btn { height: 80px; padding: 0 36px; font-size: 36px; }
.invite-pop .tile { width: auto; height: 80px; padding: 0 28px; font-size: 30px; border-radius: 40px; }
.watch-bar { position: absolute; z-index: 30; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; padding: 12px 14px 12px 30px; border-radius: 44px; font: 800 34px 'Baloo 2', sans-serif; }
.watch-bar[hidden] { display: none; }
.watch-bar button { padding: 10px 28px; border-radius: 30px; background: rgba(255,255,255,.15); font: 800 28px 'Baloo 2', sans-serif; }
body.watching :is(.hand, .card-go, .vote-bar, .table-deck, .reactions, .final-actions, .game-chat, #lobbyPlay, .chair, .rounds) { display: none !important; }
body.watching .vcard { pointer-events: none; }

/* Mağaza ve Koz Kartlar */
.store .entry-card, .album .entry-card { width: 1560px; gap: 16px; }
.store-balance { margin: 0; display: flex; align-items: center; gap: 12px; font: 800 36px 'Baloo 2', sans-serif; }
.store-balance img { width: 48px; }
.store-balance b { color: var(--gunes); }
.store-grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; width: 100%; }
.chest-shop { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 20px; border-radius: 34px; background: rgba(255,200,61,.1); border: 2px solid rgba(255,200,61,.5); }
.chest-shop b { font: 800 38px 'Baloo 2', sans-serif; }
.chest-shop small { font: 600 22px 'Nunito', sans-serif; opacity: .8; text-align: center; }
.chest-big { width: 230px; filter: drop-shadow(0 0 30px rgba(255,200,60,.6)); animation: breathe 2.4s ease-in-out infinite; }
.chest-big.shake { animation: chestshake .5s ease-in-out 2; }
@keyframes chestshake { 25% { transform: rotate(-8deg) scale(1.05); } 75% { transform: rotate(8deg) scale(1.05); } }
.chest-shop .play-btn, .skin .buy { height: 86px; padding: 0 34px; font-size: 40px; gap: 10px; }
.chest-shop .play-btn img, .skin .buy img { width: 42px; }
.skins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.skin { display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: 30px; background: rgba(255,255,255,.07); border: 2px solid var(--glass-line); }
.skin img.art { width: 210px; height: 210px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0,0,0,.4)); }
.skin b { font: 800 30px 'Baloo 2', sans-serif; }
.skin .buy { height: 72px; font-size: 32px; padding: 0 24px; }
.skin .owned { font: 800 26px 'Baloo 2', sans-serif; color: var(--yesil); padding: 14px 0; }
.koz-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; width: 100%; }
.koz { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; padding: 10px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 5px solid var(--rc); background: radial-gradient(120% 80% at 50% 20%, var(--rc2), #22104f 75%); box-shadow: 0 0 22px var(--rg), 0 10px 18px rgba(0,0,0,.45); }
.koz img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.koz b { text-align: center; font: 800 22px/1.1 'Baloo 2', sans-serif; padding: 6px 2px 2px; text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.koz small { position: absolute; left: 10px; top: 8px; font: 800 16px 'Baloo 2', sans-serif; text-transform: uppercase; color: var(--rc); text-shadow: 0 1px 2px #000; }
.koz i { position: absolute; right: 8px; top: 8px; padding: 0 10px; border-radius: 14px; background: var(--rc); color: #2a0f52; font: 800 20px 'Baloo 2', sans-serif; font-style: normal; }
.koz.missing { filter: grayscale(1) brightness(.45); }
.koz.missing img { filter: brightness(0) drop-shadow(0 0 2px rgba(255,255,255,.4)); }
.koz.common { --rc: #c9c4e6; --rc2: #5a4b9a; --rg: rgba(200,190,255,.25); }
.koz.rare { --rc: #4fd6ff; --rc2: #2a5fc7; --rg: rgba(80,200,255,.45); }
.koz.epic { --rc: #d77bff; --rc2: #8a2fd6; --rg: rgba(210,120,255,.6); }
.koz.legendary { --rc: #ffd24a; --rc2: #e08a00; --rg: rgba(255,210,80,.85); }
.album .play-btn { height: 90px; padding: 0 40px; font-size: 42px; }
.album h2 small { font-size: 30px; color: #fff; opacity: .7; }
.reveal { position: absolute; inset: 0; z-index: 48; display: grid; place-content: center; justify-items: center; gap: 40px; background: radial-gradient(circle, rgba(90,40,180,.85), rgba(10,4,30,.95)); }
.reveal[hidden] { display: none; }
.reveal-card .koz { width: 320px; animation: flipin .9s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes flipin { 0% { transform: rotateY(180deg) scale(.4); opacity: 0; } 60% { transform: rotateY(-15deg) scale(1.1); opacity: 1; } }
.reveal .play-btn { height: 96px; padding: 0 50px; font-size: 44px; }

/* Canlılık: oturma, kart atma, sevinç */
.player.enter, .chair .av.enter { animation: dropin .6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes dropin { from { transform: translateY(-90px) scale(.6); opacity: 0; } }
.gp.hop .av { animation: hop .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes hop { 40% { transform: translateY(-26px) scale(1.08); } }
.fly-card { position: absolute; z-index: 9; width: 70px; height: 94px; border-radius: 10px; background: url(./img/kart-arka.webp) center / cover; box-shadow: 0 8px 14px rgba(0,0,0,.5); pointer-events: none; transition: transform .6s cubic-bezier(.5,0,.3,1), opacity .6s; }
.place-1 .who { animation: cheer .7s .5s cubic-bezier(.3,1.6,.5,1) both, hop 1.1s 1.4s ease-in-out infinite; }
.card:not(.sel):not(.gone):hover { transform: translateX(var(--x)) translateY(-26px) rotate(var(--r)); }

/* Kartı masaya sürükle */
.card { touch-action: none; }
.card.dragging { z-index: 10; transition: box-shadow .2s !important; transform: translateX(var(--x)) rotate(0) scale(1.12); box-shadow: 0 0 0 5px #ffd24a, 0 30px 40px rgba(10,0,40,.6); cursor: grabbing; }
.drop-zone { left: 50%; top: 400px; width: 620px; height: 230px; margin-left: -310px; border-radius: 50%; display: grid; place-items: center; border: 5px dashed rgba(255,214,90,.7); background: radial-gradient(closest-side, rgba(255,214,90,.25), transparent); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; pointer-events: none; }
.drop-zone span { font: 800 40px 'Baloo 2', sans-serif; color: #fff3a6; text-shadow: 0 3px 0 #6a1fbf; }
.drop-zone.on { opacity: 1; transform: none; }
.drop-zone.hot { background: radial-gradient(closest-side, rgba(255,214,90,.5), transparent); transform: scale(1.06); }

/* Koz destesi ve Altın paketleri */
.koz .media { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #2a1060 url(./img/kart-on.webp) center / 60% no-repeat; grid-row: 1 / -1; }
.koz .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-empty { margin: 0; font: 700 30px 'Baloo 2', sans-serif; opacity: .85; text-align: center; max-width: 1100px; }
.koz-picker { z-index: 12; left: 470px; top: 150px; width: 980px; padding: 22px 26px; border-radius: 36px; display: grid; gap: 14px; background: linear-gradient(180deg, rgba(60,25,130,.96), rgba(25,10,70,.97)); }
.koz-picker[hidden] { display: none; }
.koz-picker header { display: flex; justify-content: space-between; align-items: center; font: 800 38px 'Baloo 2', sans-serif; }
.koz-picker header button { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.12); font: 700 42px/1 'Baloo 2', sans-serif; }
.koz-picker .tile { width: auto; height: 80px; justify-content: center; font-size: 32px; border-radius: 40px; }
.koz-picker p { margin: 0; font: 600 24px 'Nunito', sans-serif; opacity: .85; }
.koz-list { display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 10px; }
.koz-pick { flex: none; width: 150px; transition: transform .15s; }
.koz-pick:active { transform: scale(.94); }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.pack { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px 12px 18px; border-radius: 30px; background: rgba(255,255,255,.07); border: 2px solid var(--glass-line); }
.pack.hot { border-color: var(--gunes); background: rgba(255,200,61,.12); }
.pack img { width: 120px; height: 110px; object-fit: contain; }
.pack b { font: 800 46px 'Baloo 2', sans-serif; color: var(--gunes); }
.pack span { font: 700 24px 'Baloo 2', sans-serif; opacity: .85; }
.pack i { position: absolute; right: 12px; top: 12px; padding: 2px 12px; border-radius: 14px; background: var(--pembe); font: 800 22px 'Baloo 2', sans-serif; font-style: normal; }
.pack .play-btn { height: 72px; padding: 0 30px; font-size: 32px; margin-top: 6px; }
.free-gold { margin: 0; font: 600 24px 'Nunito', sans-serif; opacity: .85; text-align: center; }
.gold-shop .tile { width: auto; height: 84px; padding: 0 36px; justify-content: center; font-size: 34px; border-radius: 42px; }

.koz-btn { z-index: 4; left: 360px; top: 400px; width: 130px; height: 170px; display: grid; place-items: center; }
.koz-btn img { width: 110px; filter: drop-shadow(0 0 18px rgba(255,120,220,.7)) drop-shadow(0 10px 10px rgba(0,0,0,.5)); transition: transform .2s; }
.koz-btn span { position: absolute; bottom: 0; padding: 4px 20px; border-radius: 20px; background: linear-gradient(#ff8fe0, #d93ac7); border: 3px solid #fff; font: 800 26px 'Baloo 2', sans-serif; box-shadow: 0 4px 0 #77106b; }
.koz-btn.ready img { animation: deckglow 1.6s ease-in-out infinite; }
.koz-btn:not(.ready) { filter: grayscale(.8) brightness(.7); cursor: default; }
.stage:not([data-phase=play]) .koz-btn, body.watching .koz-btn { display: none; }
.koz-picker .tile[hidden] { display: none; }

/* Misafir / giriş */
.guest-row { display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 26px; border-radius: 40px; background: rgba(255,200,61,.12); border: 2px solid rgba(255,200,61,.5); font: 700 26px 'Baloo 2', sans-serif; }
.guest-row[hidden] { display: none; }
.guest-row .tile { width: auto; height: 66px; padding: 0 26px; font-size: 26px; border-radius: 34px; justify-content: center; }
.login-pill { position: absolute; z-index: 3; left: 196px; top: 158px; padding: 6px 22px; border-radius: 24px; background: linear-gradient(#ffe17a, #ffb21c); color: #4a1f00; font: 800 24px 'Baloo 2', sans-serif; box-shadow: 0 4px 0 #a35900; }
.login-pill[hidden] { display: none; }
.entry[data-mode=invite] :is(.entry-or, #entryCode, #entryJoin, .public-switch) { display: none; }

/* Aynı kafa (iki kişi) */
.duo-hint { display: none; z-index: 6; left: 50%; top: 420px; transform: translateX(-50%); margin: 0; padding: 12px 30px; border-radius: 34px; font: 700 28px 'Baloo 2', sans-serif; white-space: nowrap; }
.duo-hint b { color: var(--gunes); }
.stage.duo[data-phase=play] .duo-hint { display: block; }
.stage.duo .table-deck, .stage.duo .koz-btn { display: none; }
.duo-result { position: absolute; inset: 0; display: grid; justify-items: center; align-content: start; padding-top: 150px; gap: 6px; }
.duo-title { margin: 0 0 -10px; font: 800 72px/1 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 6px 0 #6a1fbf, 0 0 40px rgba(255,200,60,.6); animation: qpop .6s cubic-bezier(.3,1.6,.5,1) both; }
.duo-result:not(.same) .duo-title { color: #cfc6ff; text-shadow: 0 6px 0 #3a1470; }
.duo-cards { display: flex; gap: 120px; align-items: flex-end; }
.duo-col { position: relative; display: grid; justify-items: center; }
.duo-who { width: 260px; margin-bottom: -60px; position: relative; z-index: 2; filter: drop-shadow(0 12px 14px rgba(0,0,0,.5)); animation: cheer .6s cubic-bezier(.3,1.6,.5,1) both; }
.duo-card { animation: cheer .6s cubic-bezier(.3,1.6,.5,1) both !important; position: relative !important; left: auto !important; top: auto !important; margin: 0 !important; width: 280px !important; height: 330px !important; }
.duo-result:not(.same) .duo-card { box-shadow: 0 0 0 5px #6b5fa8, 0 20px 30px rgba(10,0,40,.55); border-color: #b9b0e8; }
.duo-col .champ-tag { position: relative; left: auto; top: auto; margin-top: 12px; }
.duo-note { margin: 4px 0 0; padding: 10px 30px; border-radius: 30px; font: 800 34px 'Baloo 2', sans-serif; }

/* Envanter */
.profile { color: inherit; text-align: left; font: inherit; }
.profile .bag { position: absolute; right: 14px; bottom: -18px; padding: 2px 14px; border-radius: 16px; background: linear-gradient(#b77bff, #7a2cf0); border: 2px solid #fff; font: 800 20px 'Baloo 2', sans-serif; }
.inv-tabs { display: flex; gap: 10px; padding: 6px; border-radius: 40px; background: rgba(0,0,0,.25); }
.inv-tabs button { padding: 10px 34px; border-radius: 34px; font: 800 30px 'Baloo 2', sans-serif; opacity: .7; }
.inv-tabs button[aria-selected=true] { background: linear-gradient(#ffe17a, #ffb21c); color: #4a1f00; opacity: 1; }
.inv-tabs small { font-size: 22px; }
.album[data-tab=chars] :is(.koz-grid, .album-empty) { display: none !important; }
.album[data-tab=koz] .inv-chars { display: none; }
.inv-chars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; width: 100%; max-height: 560px; overflow-y: auto; padding: 4px; }
.inv-char { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 12px; border-radius: 26px; background: rgba(255,255,255,.07); border: 3px solid transparent; font: 800 24px 'Baloo 2', sans-serif; }
.inv-char img { width: 100%; height: 150px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.inv-char small { font: 700 18px 'Baloo 2', sans-serif; opacity: .8; }
.inv-char.worn { border-color: var(--gunes); background: rgba(255,200,61,.16); }
.inv-char.worn::after { content: 'Kuşanıldı'; position: absolute; top: 8px; left: 50%; translate: -50% 0; padding: 2px 12px; border-radius: 14px; background: var(--gunes); color: #4a1f00; font: 800 18px 'Baloo 2', sans-serif; }
.inv-char.skin { background: linear-gradient(180deg, rgba(215,123,255,.25), rgba(255,255,255,.06)); }
.inv-char.locked img { filter: brightness(0) drop-shadow(0 0 2px rgba(255,255,255,.5)); opacity: .55; }
.inv-char.locked { cursor: pointer; opacity: .8; }
.reveal-title { margin: 0; font: 800 64px 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 5px 0 #6a1fbf; }
.reveal-actions { display: flex; gap: 20px; align-items: center; }
.reveal-actions .tile { width: auto; height: 96px; padding: 0 36px; font-size: 38px; border-radius: 48px; justify-content: center; }
.reveal-actions .tile[hidden] { display: none; }
.reveal-card .skin-reveal { width: 380px; aspect-ratio: 1; object-fit: contain; animation: flipin .9s cubic-bezier(.3,1.4,.5,1) both; filter: drop-shadow(0 0 40px rgba(255,210,80,.8)); }

/* Dikey ekran uyarısı */
.rotate { position: fixed; inset: 0; z-index: 99; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: rgba(27,19,64,.94); text-align: center; font: 800 26px/1.2 'Baloo 2', sans-serif; }
.rotate button { padding: 12px 26px; border-radius: 30px; border: 2px solid var(--glass-line); font: 700 18px 'Baloo 2', sans-serif; }
.rotate .phone { width: 56px; height: 96px; border: 5px solid var(--gunes); border-radius: 14px; animation: turn 2s ease-in-out infinite; }
@keyframes turn { 40%, 100% { transform: rotate(-90deg); } }
@media (orientation: portrait) and (max-width: 900px) { body:not(.skip-rotate) .rotate { display: flex; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* Soru kartı: ChatGPT ile üretilen panel görseli */
.question { width: 960px; height: 329px; min-height: 0; top: 118px; padding: 100px 80px 44px; border: 0; border-radius: 0; box-shadow: none; background: url(./img/ui-soru.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 18px 26px rgba(10,0,40,.55)); }
.question .q-badge { display: none; }
.question p { font-size: 46px; line-height: 1.12; -webkit-line-clamp: 3; }
.question.long p { font-size: 38px; }

/* ChatGPT ile üretilen buton görselleri: uçlar korunur, orta esner (--h, app.js ölçer) */
.play-btn, .tile, .pill-btn, .altin, .round-pill, .code, .rounds, .vote-bar .hint { --h: 100px; }
.play-btn { background: none; box-shadow: none; border-style: solid; border-color: transparent; border-image: url(./img/ui-btn-sari.webp) 0 150 fill / 0 calc(var(--h) * .5) / 0 stretch; filter: drop-shadow(0 10px 14px rgba(20,0,40,.45)); }
.play-btn:disabled { filter: drop-shadow(0 8px 10px rgba(20,0,40,.35)); border-image-source: url(./img/ui-btn-gri.webp); color: #6d6578; }
.play-btn:disabled .tri { border-left-color: #8d8597; }
.menu .play-btn.big { animation: none; filter: drop-shadow(0 0 30px rgba(255,200,60,.7)) drop-shadow(0 14px 18px rgba(20,0,40,.5)); }
.lobby .play-btn.is-ready { background: none; box-shadow: none; border-image-source: url(./img/ui-btn-mavi.webp); color: #fff; }
.tile { background: none !important; box-shadow: none; border-style: solid; border-color: transparent; border-image: url(./img/ui-btn-mor.webp) 0 150 fill / 0 calc(var(--h) * .5) / 0 stretch; filter: drop-shadow(0 10px 12px rgba(20,0,40,.45)); color: #fff; }
.tile.blue { border-image-source: url(./img/ui-btn-mavi.webp); }
.tile.pink { border-image-source: url(./img/ui-btn-pembe.webp); }
.tile.gold { border-image-source: url(./img/ui-btn-sari.webp); color: #4a1f00; }
.tile:disabled { border-image-source: url(./img/ui-btn-gri.webp); color: #6d6578; }
:is(.pill-btn, .altin, .round-pill, .code, .rounds).glass { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-style: solid; border-color: transparent; border-image: url(./img/ui-panel-cam.webp) 0 150 fill / 0 calc(var(--h) * .5) / 0 stretch; filter: drop-shadow(0 8px 12px rgba(10,0,40,.45)); }
.icon-btn.glass, .sound-btn.glass, .chat-btn.glass { background: url(./img/ui-ikon-kare.webp) center / 100% 100% no-repeat; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; filter: drop-shadow(0 8px 10px rgba(10,0,40,.45)); }
.sound-btn.glass, .chat-btn.glass { border-radius: 26px; }

/* ChatGPT ikonları */
.icon-btn img.ik { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.tile img.ik { width: 84px; height: 84px; object-fit: contain; flex: none; }
.chat-btn img.ik { width: 62px; height: 62px; object-fit: contain; }
.game-chat img.ik { width: 56px; height: 56px; }
.tiles .tile { gap: 12px; padding: 0 30px 0 26px; font-size: 32px; }

/* Basılma hissi: görsel butonlar içe çöker, kararır, gölgesi kısalır */
:is(.play-btn, .tile, .pill-btn, .icon-btn, .sound-btn, .chat-btn, .chair, .altin, .code, .tables, .vcard, .card, .koz-btn, .table-deck, .entry-char, .inv-char) { transition: transform .09s ease-out, filter .09s ease-out; -webkit-tap-highlight-color: transparent; }
:is(.play-btn, .tile, .pill-btn, .icon-btn, .sound-btn, .chat-btn, .altin, .code, .tables, .koz-btn, .table-deck):not(:disabled):active,
:is(.play-btn, .tile, .pill-btn, .icon-btn, .sound-btn, .chat-btn, .altin, .code, .tables, .koz-btn, .table-deck).pressed { transform: translateY(5px) scale(.96); filter: brightness(.86) saturate(1.1) drop-shadow(0 2px 3px rgba(20,0,40,.5)) !important; }
.menu .play-btn.big:active, .menu .play-btn.big.pressed { transform: translate(-50%, 6px) scale(.96); }
.final-actions .play-btn:active, .tiles .tile:active { transform: translateY(5px) scale(.96); }
.entry-char:active, .inv-char:active, .chair:not(:disabled):active { transform: scale(.94); filter: brightness(.9); }

/* Zaman sayacı: ChatGPT kronometre görseli; kalan süre kadranda dilim olarak azalır */
.timer { right: 34px; top: 8px; width: 180px; height: 176px; border-radius: 0; background: url(./img/ui-sayac.webp) center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 10px 14px rgba(10,0,40,.5)); }
.timer::before { content: ''; position: absolute; left: 49.4%; top: 55%; width: 58%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: conic-gradient(rgba(255,200,61,.32) calc(var(--p) * 360deg), transparent 0); }
.timer b { position: absolute; left: 49.4%; top: 55%; translate: -50% -50%; font: 800 64px/1 'Baloo 2', sans-serif; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.timer.low b { color: #ffd0d8; }

/* Ana menü OYNA: birebir görsel (yazı görselin içinde) */
.menu .play-btn.big { width: 600px; height: 204px; top: 400px; padding: 0; border: 0; border-image: none; background: url(./img/ui-oyna.webp) center / contain no-repeat; font-size: 0; color: transparent; filter: drop-shadow(0 0 24px rgba(255,200,60,.55)) drop-shadow(0 14px 16px rgba(20,0,40,.5)); }
.menu .play-btn.big .tri { display: none; }
/* Kürsüler: görsel tabanlı */
.step { width: 340px; }
.place-1.step { width: 380px; }
.step .block { height: auto !important; aspect-ratio: var(--ar); background: var(--kursu) center bottom / 100% 100% no-repeat !important; box-shadow: none; border-radius: 0; filter: drop-shadow(0 18px 24px rgba(10,0,40,.55)); align-content: end; }
.place-1 .block { --kursu: url(./img/ui-kursu-1.webp); --ar: 443/321; }
.place-2 .block { --kursu: url(./img/ui-kursu-2.webp); --ar: 397/258; }
.place-3 .block { --kursu: url(./img/ui-kursu-3.webp); --ar: 395/233; }
.step .block b { display: none; }
.step .block span { position: absolute; left: 50%; bottom: -46px; translate: -50% 0; white-space: nowrap; max-width: 360px; overflow: hidden; text-overflow: ellipsis; padding: 2px 18px; border-radius: 30px; background: rgba(40,8,90,.78); border: 2px solid rgba(255,214,90,.7); font-size: 26px; }
.step .who { margin-bottom: -80px; position: relative; z-index: 1; }
.step .block { z-index: 2; }
/* Giriş sahnesi: arka plan · arka karakterler · masa · Efe · ön katman */
.scene { inset: 0; overflow: hidden; pointer-events: none; }
.scene > * { position: absolute; }
.scene .lay { left: -48px; top: 0; width: 2016px; height: 864px; }
.scene .seat { transform-origin: 50% 100%; filter: drop-shadow(0 14px 16px rgba(20,0,40,.4)); animation: breathe 4.2s ease-in-out infinite; }
.scene .s1 { left: 165px; top: 205px; width: 480px; animation: efe 3.6s ease-in-out infinite; }
.scene .s2 { left: 585px; top: 172px; width: 345px; animation: sway 4.4s ease-in-out -1.1s infinite; }
.scene .s3 { left: 935px; top: 160px; width: 460px; animation: laugh 1.9s ease-in-out -.4s infinite; }
.scene .s4 { left: 1365px; top: 248px; width: 315px; animation: wave 2.6s ease-in-out -2s infinite; }
@keyframes efe { 0%, 100% { rotate: 0deg; translate: 0 0; } 50% { rotate: -1.6deg; translate: -4px -6px; } }
@keyframes sway { 0%, 100% { rotate: -1.2deg; } 50% { rotate: 1.4deg; translate: 0 -3px; } }
@keyframes laugh { 0%, 100% { translate: 0 0; scale: 1; } 30% { translate: 0 -7px; scale: 1.012; } 60% { translate: 0 -2px; } }
@keyframes wave { 0%, 100% { rotate: 0deg; } 25% { rotate: 2.4deg; } 75% { rotate: -1.6deg; translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .scene .seat { animation: none; } }
/* Çıkış · ayrıl · onay */
.exit-btn svg, .leave-btn svg { fill: none; stroke: #ffd24a; stroke-linecap: round; stroke-linejoin: round; }
.exit-btn svg { width: 46px; height: 46px; stroke-width: 2.6; }
.leave-btn { z-index: 7; left: 30px; top: 124px; height: 72px; padding: 0 28px 0 20px; gap: 10px; font-size: 32px; --h: 72px; }
.leave-btn svg { width: 36px; height: 36px; stroke-width: 2.8; }
.confirm { z-index: 60; }
.confirm .entry-card { width: 760px; padding: 40px 50px; gap: 22px; }
.confirm p { margin: 0; text-align: center; font: 600 32px/1.3 'Baloo 2', sans-serif; color: #f2e8ff; }
.confirm-actions { display: flex; gap: 26px; margin-top: 8px; }
.confirm-actions button { min-width: 250px; height: 96px; --h: 96px; font-size: 38px; justify-content: center; }
body.watching .leave-btn { display: flex !important; }
.scene .s1 { -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 90%), linear-gradient(to right, #000 36%, transparent 44%); mask-image: linear-gradient(to bottom, #000 74%, transparent 90%), linear-gradient(to right, #000 36%, transparent 44%); -webkit-mask-composite: source-over; mask-composite: add; }
/* Hap butonlar: border-image dilim çizgisi yerine üst üste binen üç katman (uçlar + orta) */
.play-btn, .tile, :is(.pill-btn, .altin, .round-pill, .code, .rounds).glass { --pl: url(./img/ui-btn-sari-l.webp); --pr: url(./img/ui-btn-sari-r.webp); --pm: url(./img/ui-btn-sari-m.webp); border: 0 !important; border-image: none !important; background: var(--pl) left center / auto 100% no-repeat, var(--pr) right center / auto 100% no-repeat, var(--pm) center / calc(100% - var(--h) * .9) 100% no-repeat !important; }
.tile { --pl: url(./img/ui-btn-mor-l.webp); --pr: url(./img/ui-btn-mor-r.webp); --pm: url(./img/ui-btn-mor-m.webp); }
.tile.blue, .lobby .play-btn.is-ready { --pl: url(./img/ui-btn-mavi-l.webp); --pr: url(./img/ui-btn-mavi-r.webp); --pm: url(./img/ui-btn-mavi-m.webp); }
.tile.pink { --pl: url(./img/ui-btn-pembe-l.webp); --pr: url(./img/ui-btn-pembe-r.webp); --pm: url(./img/ui-btn-pembe-m.webp); }
.tile.gold { --pl: url(./img/ui-btn-sari-l.webp); --pr: url(./img/ui-btn-sari-r.webp); --pm: url(./img/ui-btn-sari-m.webp); }
.play-btn:disabled, .tile:disabled { --pl: url(./img/ui-btn-gri-l.webp); --pr: url(./img/ui-btn-gri-r.webp); --pm: url(./img/ui-btn-gri-m.webp); }
:is(.pill-btn, .altin, .round-pill, .code, .rounds).glass { --pl: url(./img/ui-panel-cam-l.webp); --pr: url(./img/ui-panel-cam-r.webp); --pm: url(./img/ui-panel-cam-m.webp); }
.menu .play-btn.big { background: url(./img/ui-oyna.webp) center / contain no-repeat !important; }
/* Günlük hediye takvimi */
.daily-box .entry-card { width: 1240px; gap: 20px; }
.daily-sub { margin: 0; font: 600 32px 'Baloo 2', sans-serif; color: #f2e8ff; text-align: center; }
.daily-days { display: grid; grid-template-columns: repeat(6, 1fr) 1.5fr; gap: 14px; width: 100%; margin: 0; padding: 0; list-style: none; }
.daily-day { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; height: 210px; border-radius: 28px; background: linear-gradient(#5b2aa8, #3a1478); border: 3px solid rgba(255,255,255,.18); box-shadow: inset 0 4px 0 rgba(255,255,255,.18), 0 8px 14px rgba(10,0,40,.4); }
.daily-day small { font: 700 24px 'Baloo 2', sans-serif; color: #d9c6ff; }
.daily-day img { width: 78px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.daily-day b { font: 800 40px/1 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 3px 0 #6a1fbf; }
.daily-day.big img { width: 110px; }
.daily-day.big b { font-size: 52px; }
.daily-day.done { background: linear-gradient(#3a2a66, #261650); opacity: .78; }
.daily-day.done img { filter: grayscale(.4) brightness(.8); }
.daily-day .tick { position: absolute; right: -12px; top: -14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(#6af59c, #1fb45a); color: #fff; font: 800 28px/1 'Baloo 2', sans-serif; font-style: normal; box-shadow: 0 3px 0 #0c7a37; }
.daily-day.today { border-color: var(--gunes); background: linear-gradient(#8f4dff, #5a17c9); transform: translateY(-8px); box-shadow: 0 0 28px rgba(255,200,61,.6), inset 0 4px 0 rgba(255,255,255,.3); animation: dayglow 2.2s ease-in-out infinite; }
@keyframes dayglow { 50% { box-shadow: 0 0 46px rgba(255,200,61,.9), inset 0 4px 0 rgba(255,255,255,.3); } }
.daily-day.today.done { opacity: 1; }
.daily-day.pop { animation: cheer .6s cubic-bezier(.3,1.6,.5,1) both; }
#dailyClaim { min-width: 420px; height: 110px; --h: 110px; font-size: 44px; justify-content: center; }
/* Oylama kartları masanın ortasında; koz ve bonus "Bu kartı oyna" düğmesinin üstünde yan yana */
.vote-row { top: 395px; }
.table-deck { left: auto; top: auto; right: 40px; bottom: 136px; width: 160px; height: 150px; z-index: 6; }
.table-deck img { width: 104px; }
.koz-btn { left: auto; top: auto; right: 220px; bottom: 136px; width: 120px; height: 150px; z-index: 6; }
.koz-btn img { width: 88px; }
/* Oyun sonu: ödül sahnesi arka planı */
.final-bg { left: -48px; top: 0; width: 2016px; height: 864px; pointer-events: none; }
.final .podium { top: 196px; }
/* Taç: GPT görseli */
.crown, .host-crown { background: url(./img/tac.webp) center / contain no-repeat !important; clip-path: none !important; }
.crown { width: 140px; height: 104px; top: -92px; filter: drop-shadow(0 6px 10px rgba(60,20,0,.45)); }
.step .crown { top: -50px; width: 130px; height: 96px; }
.host-crown { width: 34px; height: 26px; vertical-align: -4px; }
.stage[data-phase=result] .game .logo.tiny { opacity: 0; }
/* Mağaza: karakter / çerçeve sekmeleri; kilitli karakterler silik */
.shop-right { display: grid; align-content: start; gap: 14px; min-width: 0; }
.shop-tabs { display: flex; gap: 12px; }
.shop-tabs button { height: 64px; padding: 0 30px; border-radius: 34px; font: 800 30px 'Baloo 2', sans-serif; color: #e9dcff; background: rgba(255,255,255,.08); border: 2px solid var(--glass-line); }
.shop-tabs button[aria-selected=true] { color: #3b1700; background: linear-gradient(#ffe27a, #ffb21a); border-color: #fff3b0; box-shadow: 0 4px 0 #a85a00; }
.skins[data-tab=chars] .skin img.art { width: 170px; height: 170px; }
.skin.focus { border-color: var(--gunes); box-shadow: 0 0 26px rgba(255,200,61,.6); }
.entry-char.locked { opacity: .45; filter: grayscale(.85); position: relative; }
.entry-char.locked::after { content: '🔒'; position: absolute; right: 8px; top: 6px; font-size: 24px; }
.inv-char.locked img { filter: grayscale(.9) brightness(.75); opacity: .45; }
.inv-char.locked { opacity: .85; }
.inv-char .price { display: inline-flex; align-items: center; gap: 4px; font: 800 22px 'Baloo 2', sans-serif; color: var(--gunes); }
.inv-char .price img { width: 22px; height: 22px; }
/* Oyuncu kartı ve fısıltı */
.gp { cursor: pointer; }
.player-card .entry-card { width: 640px; gap: 12px; padding: 34px 40px; }
.pc-head .av { --ring: var(--gunes); }
.player-card h2 { font-size: 50px; }
.pc-sub { margin: 0; font: 700 26px 'Baloo 2', sans-serif; color: #d9c6ff; }
.pc-stats { display: flex; gap: 14px; }
.pc-stats span { display: grid; justify-items: center; min-width: 150px; padding: 10px 14px; border-radius: 22px; background: rgba(255,255,255,.08); border: 2px solid var(--glass-line); }
.pc-stats b { font: 800 34px/1.1 'Baloo 2', sans-serif; color: var(--gunes); }
.pc-stats small { font: 600 20px 'Baloo 2', sans-serif; color: #cdb8f5; }
.pc-stats .star { display: none; }
.pc-actions { display: flex; gap: 18px; margin-top: 6px; }
.pc-actions .tile { width: auto; height: 84px; padding: 0 30px; font-size: 30px; justify-content: center; }
.whisper-to { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 10px 6px 16px; border-radius: 20px; background: rgba(255,120,220,.18); border: 2px solid rgba(255,140,230,.5); font: 700 22px 'Baloo 2', sans-serif; }
.whisper-to[hidden] { display: none; }
.whisper-to button { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); font-size: 24px; line-height: 1; }
#chatList li.whisper { background: rgba(255,120,220,.16); border-radius: 14px; font-style: italic; }
/* Şampiyona tepkiler: kenarda değil, şampiyonun tepesinde yüzen bir şerit */
.reactions { left: 670px; top: 18px; width: auto; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 22px; border-radius: 60px; background: linear-gradient(180deg, rgba(70,25,140,.88), rgba(35,10,80,.9)); border: 3px solid rgba(255,214,90,.75); box-shadow: 0 0 30px rgba(255,200,61,.35), 0 12px 24px rgba(10,0,40,.5); z-index: 8; animation: reactbob 2.6s ease-in-out infinite; }
.reactions span { font: 800 24px/1 'Baloo 2', sans-serif; color: var(--gunes); opacity: 1; margin-right: 4px; white-space: nowrap; }
.reactions button { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.22), rgba(255,255,255,.04)); display: grid; place-items: center; }
.reactions button img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); transition: transform .15s; }
.reactions button:not(:disabled):hover img { transform: scale(1.15) rotate(-6deg); }
.reactions button:disabled img { filter: grayscale(1); }
@keyframes reactbob { 50% { translate: -50% -5px; } }
.floaters i img { width: 120px; height: 120px; display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.final .logo.tiny { display: none; }
/* Oyun sonu sağ sütun: başlık · ödüller · sandık · elin en komikleri */
.final .final-title { top: 34px; font-size: 58px; }
.awards { left: 1270px; top: 108px; width: 560px; display: grid; gap: 8px; z-index: 3; }
.award { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 10px; border-radius: 26px; background: linear-gradient(90deg, rgba(110,50,200,.85), rgba(50,15,110,.8)); border: 2px solid rgba(255,214,90,.55); box-shadow: 0 8px 16px rgba(10,0,40,.35); animation: awardin .5s cubic-bezier(.3,1.5,.5,1) both; }
.award > i { font-size: 38px; font-style: normal; }
.award div { display: grid; line-height: 1.05; }
.award b { font: 800 24px 'Baloo 2', sans-serif; color: var(--gunes); }
.award span { font: 800 22px 'Baloo 2', sans-serif; color: #fff; }
.award small { font: 600 17px 'Nunito', sans-serif; color: #d9c6ff; }
@keyframes awardin { from { opacity: 0; transform: translateX(60px) scale(.9); } }
.final .chest { top: 300px; height: 250px; }
.final .chest-img { width: 210px; }
.final .chest-rays { width: 460px; height: 460px; }
.final .chest-gain { font-size: 42px; padding: 2px 24px; margin-top: 4px; }
.final .chest-gain img { width: 42px; }
.reel { left: 1290px; top: 560px; width: 520px; height: 150px; display: grid; gap: 6px; overflow: hidden; z-index: 3; }
.reel[hidden] { display: none; }
.reel-title { font: 800 24px 'Baloo 2', sans-serif; color: var(--gunes); text-shadow: 0 2px 0 #6a1fbf; }
.reel-track { display: flex; gap: 12px; transition: transform .6s cubic-bezier(.4,1.3,.5,1); }
.reel-card { position: relative; flex: none; width: 160px; height: 112px; border-radius: 18px; overflow: hidden; border: 3px solid rgba(255,214,90,.7); background: #1d0a40; box-shadow: 0 8px 14px rgba(0,0,0,.4); }
.reel-card img, .reel-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 6px; font: 700 14px 'Baloo 2', sans-serif; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-tag svg { width: 13px; height: 13px; fill: #ff6b9a; vertical-align: -1px; }
.reel-tag em { font-style: normal; color: var(--gunes); }
.pc-actions [hidden] { display: none !important; }
.reel-card { background: url(./img/kart-on.webp) center / cover; }
/* Oyuncuya dokunma: yalnızca yuvarlak avatar ve isim etiketi tıklanır (komşu koltuğun taşan resmi araya girmesin) */
.gp { pointer-events: none; }
.gp .av, .gp .tag { pointer-events: auto; }
.gp .av .clip, .gp .bubble { pointer-events: none; }
.skins[data-tab=chars] .skin { padding: 10px 8px; gap: 4px; }
.skins[data-tab=chars] .skin img.art { width: 124px; height: 124px; }
.skins[data-tab=chars] .skin b { font-size: 26px; }
.skin .tile { width: auto; height: 62px; padding: 0 26px; font-size: 28px; justify-content: center; }
.skins[data-tab=chars] .skin .buy { height: 62px; font-size: 30px; }
.inv-char.locked .price img { filter: none; opacity: 1; }
/* Ses paneli: müzik ve efektler ayrı ses seviyeli */
.settings .vol { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: -6px 0 4px; border-radius: 10px; background: linear-gradient(90deg, #ffc23d, #ff7ad9); outline: none; }
.settings .vol::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 4px solid #ffb21a; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.settings .vol::-moz-range-thumb { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 4px solid #ffb21a; }
body.music-off #musicVol, body.sfx-off #sfxVol { opacity: .35; }
/* Oyun sonu sağ sütun düzeltmesi: başlık tek satır, ödüller sıkı, sandık ve şerit çakışmasın */
.final .final-title { left: 1240px; width: 640px; top: 28px; font-size: 50px; white-space: nowrap; }
.awards { left: 1300px; top: 96px; width: 540px; gap: 6px; }
.award { padding: 4px 14px 4px 8px; gap: 10px; border-radius: 22px; }
.award > i { font-size: 30px; }
.award div { grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.award b { font-size: 22px; }
.award span { font-size: 20px; }
.award small { grid-column: 1 / -1; font-size: 15px; }
.final .chest { top: 330px; height: 250px; }
.final .chest-img { width: 170px; }
.final .chest-rays { width: 380px; height: 380px; }
.final .chest-gain { font-size: 36px; }
.final .chest-gain img { width: 36px; }
.final .chest small { font-size: 17px; margin-top: 4px; }
.reel { left: 1420px; top: 588px; width: 470px; height: 140px; }
.reel-card { width: 148px; height: 100px; }
/* Tepki şeridi şampiyonun başını kapatmasın: sol üstte, çentikten uzak */
.reactions { left: 100px; top: 14px; translate: 0 0; gap: 6px; padding: 6px 14px 6px 16px; }
@keyframes reactbob { 50% { translate: 0 -4px; } }
.reactions span { font-size: 20px; }
.reactions button { width: 74px; height: 74px; }
.reactions button img { width: 64px; height: 64px; }
/* Lobi ön sıra: GPT koltuğu (arkadan görünüm) */
.front-row .chair { width: 250px; height: 262px; top: 520px; border: 0; border-radius: 0; box-shadow: none; background: url(./img/koltuk.webp) center top / contain no-repeat; filter: drop-shadow(0 16px 18px rgba(10,0,30,.55)); padding-bottom: 60px; gap: 10px; }
.front-row .chair .plus { width: 82px; height: 82px; border: 4px solid #ffd85a; color: #ffe27a; background: radial-gradient(circle, rgba(255,214,90,.25), rgba(80,10,60,.4)); box-shadow: 0 0 22px rgba(255,214,90,.55); animation: plusglow 2s ease-in-out infinite; }
.front-row .chair .lbl { background: rgba(50,5,40,.75); border-color: rgba(255,214,90,.6); font-size: 26px; }
.front-row .chair .av { margin-top: -10px; }
@keyframes plusglow { 50% { box-shadow: 0 0 36px rgba(255,214,90,.9); transform: scale(1.06); } }
/* Profil kutusu: GPT çerçevesi (altın kare avatar yuvası + taç + cam panel) */
.profile.glass { left: 26px; top: 14px; width: 480px; height: 158px; padding: 0; gap: 0; display: block; border: 0 !important; border-image: none !important; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: url(./img/ui-profil.webp) center / 100% 100% no-repeat !important; filter: drop-shadow(0 10px 16px rgba(10,0,40,.5)); }
.profile .profile-av { position: absolute; left: 2.9%; top: 18.7%; width: 22.7%; height: 71.3%; border: 0; border-radius: 22px; background: radial-gradient(circle at 50% 35%, #8f5cff, #2b0f66); }
.profile .profile-info { position: absolute; left: 30%; top: 22%; right: 7%; bottom: 31%; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.profile .profile-info > b { display: inline-block; max-width: 250px; font-size: 34px; line-height: 1.05; text-shadow: 0 2px 0 rgba(30,0,60,.6); }
.profile .verified { position: absolute; left: calc(var(--namew, 0px)); top: 4px; display: none; }
.profile .profile-info { flex-wrap: nowrap; }
.profile .level { font-size: 23px; color: #fff3c4; }
.profile .xp { position: absolute; left: 30.6%; top: 71.4%; width: 61%; height: 11%; border-radius: 12px; background: transparent; }
.profile .xp i { background: linear-gradient(90deg, #8f4dff, #d79bff 60%, #ffe27a); box-shadow: 0 0 10px rgba(215,155,255,.8); border-radius: 12px; }
.profile .bag { right: 26px; bottom: -14px; }
.login-pill { left: 170px; top: 168px; }
.profile-info .name-row { display: flex; align-items: center; gap: 8px; }
.profile .verified { position: static; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6fc3ff, #1f6fe0); border: 2px solid #fff; font: 900 18px/1 'Baloo 2', sans-serif; font-style: normal; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.profile .verified[hidden] { display: none; }
.profile .name-row b { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 34px/1.05 'Baloo 2', sans-serif; text-shadow: 0 2px 0 rgba(30,0,60,.6); }
/* Oynanan masalar: GPT paneli (üstte altın masa ikonu) */
.tables.glass { right: 24px; top: 250px; width: 250px; height: 336px; padding: 108px 22px 34px; gap: 2px; align-content: center; border: 0 !important; border-image: none !important; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: url(./img/ui-masalar.webp) center / 100% 100% no-repeat !important; filter: drop-shadow(0 12px 18px rgba(10,0,40,.55)); }
.tables.glass span { font-size: 28px; color: #fff; text-shadow: 0 2px 0 rgba(40,0,60,.6); }
.tables.glass b { font-size: 92px; background: linear-gradient(#fff6b0, #ffc93d 55%, #f08a00); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 0 #8a3f00); }
.tables.glass small { font-size: 19px; }
.profile.glass { width: 440px; height: 145px; }
.profile .name-row b { font-size: 31px; max-width: 220px; }
.profile .level { font-size: 21px; }
.altin { left: 480px; top: 40px; height: 70px; font-size: 32px; }
.altin img { width: 50px; }
.altin .plus { width: 44px; height: 44px; font-size: 34px; }
.login-pill { left: 150px; top: 154px; }
.profile .xp { left: 1%; top: 106%; width: 96.5%; height: 22%; }
/* Şaşaalı yeni logo (menü ve bekleme odası) */
.logo.big { width: 300px; top: 4px; filter: drop-shadow(0 10px 18px rgba(30,0,70,.6)) drop-shadow(0 0 24px rgba(255,200,61,.35)); animation: logoglow 3.2s ease-in-out infinite; }
.logo.small.big { width: 210px; top: 2px; }
@keyframes logoglow { 50% { filter: drop-shadow(0 10px 18px rgba(30,0,70,.6)) drop-shadow(0 0 40px rgba(255,200,61,.7)); } }
/* Oyla düğmesi: "Oy verildi" tek satır, mor onaylı görünüm */
.vote-bar .play-btn { white-space: nowrap; font-size: 44px; }
.vote-bar .play-btn.voted { --pl: url(./img/ui-btn-mor-l.webp); --pr: url(./img/ui-btn-mor-r.webp); --pm: url(./img/ui-btn-mor-m.webp); color: #fff; font-size: 38px; text-shadow: 0 2px 0 rgba(40,0,80,.5); filter: drop-shadow(0 8px 10px rgba(20,0,40,.35)); }
/* Tur kazananı: +1 rozeti kartın üstüne binmesin, sağ üst köşeden taşsın */
.big-card .gain { left: auto; right: -54px; top: -26px; translate: 0 0; rotate: 10deg; font-size: 40px; padding: 2px 18px 2px 22px; box-shadow: 0 8px 16px rgba(20,0,40,.5), 0 0 20px rgba(255,210,74,.6); animation: gainpop .6s .5s cubic-bezier(.3,1.7,.5,1) both; }
@keyframes gainpop { from { scale: 0; opacity: 0; } }
/* Yeni GPT desteleri */
.table-deck img { width: 130px; transform: none; filter: drop-shadow(0 12px 12px rgba(10,0,30,.55)); }
.table-deck.ready img { animation: deckglow 1.6s ease-in-out infinite; }
.koz-btn img { width: 104px; filter: drop-shadow(0 0 16px rgba(255,120,220,.65)) drop-shadow(0 10px 10px rgba(0,0,0,.45)); }
@keyframes deckglow { 50% { filter: drop-shadow(0 12px 12px rgba(10,0,30,.55)) drop-shadow(0 0 26px rgba(255,214,90,.95)); } }
.table-deck.ready:active img { transform: scale(.92); }
/* Avatar çerçeveleri (mağaza): yüzük, başın arkasında kalır */
.av.frame .clip { z-index: 1; }
.av.frame::after { content: ''; position: absolute; inset: calc(var(--d) * -.075); z-index: 0; border-radius: 50%; padding: calc(var(--d) * .075); background: var(--fr); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); filter: var(--fglow); pointer-events: none; }
.av.frame::before { border-color: transparent; }
.frame-altin { --fr: conic-gradient(from 20deg, #fff6b0, #ffc93d, #b86b00, #ffe27a, #ffc93d, #fff6b0); --fglow: drop-shadow(0 0 8px rgba(255,210,80,.9)); }
.frame-neon { --fr: linear-gradient(135deg, #22e6ff, #b44dff 50%, #ff3fd0); --fglow: drop-shadow(0 0 10px #22e6ff) drop-shadow(0 0 16px #ff3fd0); }
.frame-neon::after { animation: neonpulse 1.8s ease-in-out infinite; }
.frame-ates { --fr: conic-gradient(#ff3d00, #ffb300, #ff6a00, #ffe066, #ff3d00); --fglow: drop-shadow(0 0 10px #ff6a00) drop-shadow(0 -6px 14px rgba(255,120,0,.8)); }
.frame-ates::after { animation: framespin 2.2s linear infinite; }
.frame-buz { --fr: conic-gradient(#e8fbff, #7fd8ff, #ffffff, #4aa8ff, #e8fbff); --fglow: drop-shadow(0 0 10px #9be6ff) drop-shadow(0 0 4px #fff); }
.frame-gokkusagi { --fr: conic-gradient(#ff4d6d, #ffb84d, #fff04d, #4dff88, #4dc3ff, #9b4dff, #ff4d6d); --fglow: drop-shadow(0 0 10px rgba(255,255,255,.7)); }
.frame-gokkusagi::after { animation: framespin 3s linear infinite; }
@keyframes framespin { to { rotate: 360deg; } }
@keyframes neonpulse { 50% { opacity: .65; } }
.skin.r-rare b { color: #7fd8ff; } .skin.r-epic b { color: #d79bff; } .skin.r-legendary b { color: var(--gunes); }
.skins[data-tab=frames] .skin .av { margin: 18px auto 10px; }
#revealCard .av { margin: 40px auto; }
/* Profil: isim ve seviye cam panelin içine otursun */
.profile .profile-info { top: 31%; bottom: 31%; gap: 0; justify-content: center; }
.profile .name-row b { font-size: 28px; line-height: 1; }
.profile .verified { width: 26px; height: 26px; font-size: 16px; }
.profile .level { font-size: 19px; line-height: 1.15; }
.profile .xp { top: 108%; height: 29%; }

/* GPT altın-mor GIF kart çerçevesi */
.card { height: 304px; padding: 55px 23px 75px; border: 0; border-radius: 30px; background: none; box-shadow: none; filter: drop-shadow(0 14px 14px rgba(10,0,40,.55)); }
.card::after, .vcard .front::after { content: ''; position: absolute; inset: 0; background: url(./img/kart-yuz.webp) center / 100% 100% no-repeat; pointer-events: none; }
.card .media, .vcard .front .media { margin: -4px; width: calc(100% + 8px); height: calc(100% + 8px); border-radius: 12px; }
.card .gif, .card .bar, .vcard .gif { display: none; }
.card.sel { box-shadow: none; filter: drop-shadow(0 0 22px rgba(255,210,80,.95)) drop-shadow(0 20px 18px rgba(10,0,40,.6)); }
.vcard { height: calc(var(--w, 200px) * 1.383); }
.vcard .front { padding: 25% 10.3% 34%; background: none; border: 0; box-shadow: none; filter: drop-shadow(0 14px 12px rgba(10,0,40,.55)); }
.vcard.sel .front { box-shadow: none; filter: drop-shadow(0 0 26px rgba(255,210,80,.95)); }
.vcard .back { background-size: 100% 100%; box-shadow: none; filter: drop-shadow(0 14px 12px rgba(10,0,40,.55)); }
.pile .flown { height: 213px; background-size: 100% 100%; box-shadow: none; filter: drop-shadow(0 10px 10px rgba(10,0,30,.55)); }
.fly-card { height: 99px; background-size: 100% 100%; box-shadow: none; }
.skins[data-tab=frames] { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.skins[data-tab=frames] .skin b { font-size: 26px; white-space: nowrap; }
.skins[data-tab=frames] .skin .buy { padding: 0 18px; }
.vcard .mine { z-index: 3; bottom: -34px; }

/* Masa klavyesi (dokunmatik): GPT tepsi + 3 parçalı tuş kapakları */
.masa-kb { position: fixed; left: 50%; bottom: 0; z-index: 100; width: 1920px; height: 404px; box-sizing: border-box; padding: 96px 30px 18px; display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; transform: translate(-50%, 110%) scale(var(--s, .5)); transform-origin: 50% 100%; transition: transform .22s cubic-bezier(.3,1.2,.5,1); touch-action: none; -webkit-user-select: none; user-select: none; color: #fff; }
.masa-kb.on { transform: translate(-50%, 0) scale(var(--s, .5)); }
.masa-kb[hidden] { display: none; }
.kb-tray { position: absolute; inset: 0 -10px 0; background: url(./img/kb-tray.webp) center / 100% 100% no-repeat; pointer-events: none; }
.kb-row { position: relative; display: flex; justify-content: center; gap: 12px; min-height: 0; }
.kb-key { --pl: url(./img/kb-key-l.webp); --pm: url(./img/kb-key-m.webp); --pr: url(./img/kb-key-r.webp); --hh: 64px; flex: 0 0 140px; height: 100%; padding: 0 0 8px; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font: 800 40px/1 'Baloo 2', sans-serif; color: #fff; text-shadow: 0 3px 0 rgba(40,0,80,.55); background: var(--pl) left center / auto 100% no-repeat, var(--pr) right center / auto 100% no-repeat, var(--pm) center / calc(100% - var(--hh) * 1.02) 100% repeat-x; transition: transform .06s, filter .06s; cursor: pointer; }
.kb-key.down { transform: translateY(5px); filter: brightness(1.25); }
.kb-fn, .kb-shift, .kb-back, .kb-hide, .kb-abc { --pl: url(./img/kb-fn-l.webp); --pm: url(./img/kb-fn-m.webp); --pr: url(./img/kb-fn-r.webp); font-size: 34px; }
.kb-enter, .masa-kb[data-shift="1"] .kb-shift, .masa-kb[data-shift="2"] .kb-shift { --pl: url(./img/kb-act-l.webp); --pm: url(./img/kb-act-m.webp); --pr: url(./img/kb-act-r.webp); color: #4a1a00; text-shadow: 0 2px 0 rgba(255,240,180,.6); }
.kb-shift, .kb-back, .kb-sym, .kb-abc { flex-basis: 216px; }
.kb-enter { flex-basis: 292px; font-size: 38px; }
.kb-space { flex: 0 0 672px; font: 700 30px 'Baloo 2', sans-serif; color: rgba(255,255,255,.7); }
.masa-kb:is([data-layer=sym], [data-layer=emoji]) .kb-row:not(:last-child) .kb-key { flex-basis: 170px; }
.masa-kb[data-layer=emoji] .kb-space { flex-basis: 596px; }
.kb-key { flex-shrink: 0; box-sizing: border-box; }
.kb-emo { font: 400 50px/1 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; text-shadow: none; }
.kb-ic { width: 54px; height: 54px; background: center / contain no-repeat; filter: drop-shadow(0 3px 0 rgba(40,0,80,.45)); }
.kb-shift .kb-ic { background-image: url(./img/kb-ic-shift.webp); }
.kb-back .kb-ic { background-image: url(./img/kb-ic-back.webp); }
.kb-enter .kb-ic { background-image: url(./img/kb-ic-enter.webp); width: 46px; height: 46px; }
.kb-emoji .kb-ic { background-image: url(./img/kb-ic-emoji.webp); }
.kb-hide .kb-ic { background-image: url(./img/kb-ic-hide.webp); width: 62px; }
.masa-kb:is([data-shift="1"], [data-shift="2"]) .kb-shift .kb-ic { filter: brightness(.35) sepia(1) hue-rotate(-20deg) saturate(4); }
.masa-kb[data-shift="2"] .kb-shift { box-shadow: inset 0 -10px 0 -4px rgba(0,0,0,0); }
.masa-kb[data-shift="2"] .kb-shift::after { content: ''; position: absolute; width: 44px; height: 6px; margin-top: 70px; border-radius: 4px; background: #4a1a00; }
.kb-shift { position: relative; }
.kb-pop { position: absolute; z-index: 3; left: 0; top: 0; width: 150px; height: 160px; margin: -14px 0 0; display: none; place-items: center; transform: translate(-50%, -100%); border-radius: 34px; background: linear-gradient(#b07bff, #6a2bd6); border: 5px solid #ffd24a; box-shadow: 0 0 30px rgba(255,200,80,.6), 0 14px 20px rgba(10,0,40,.6); font: 800 84px/1 'Baloo 2', 'Noto Color Emoji', sans-serif; color: #fff; text-shadow: 0 4px 0 rgba(40,0,80,.5); pointer-events: none; }
.kb-pop.on { display: grid; }

/* 7-8 oyuncu: küçük koltuklar, üst sıra; logo gizlenir, balon alta açılır */
.stage.crowd .game .logo.tiny { opacity: 0; }
.stage.crowd .gp .tag span, .stage.crowd .gp .tag b { font-size: 24px; padding: 2px 16px 2px 22px; }
.stage.crowd .gp.right .tag span, .stage.crowd .gp.right .tag b { padding: 2px 22px 2px 16px; }
.stage.crowd .gp .tag b { font-size: 27px; }
.stage.crowd .gp .done { width: 46px; height: 46px; }
.gp.top .bubble { top: auto; bottom: -70px; }
.gp.right .bubble { left: auto; right: 0; translate: 0 0; }
.gp.left .bubble { left: 0; translate: 0 0; }

/* Tur kazananı: GPT altın çerçeve + defne; puan rozeti çerçevenin üst hapında */
.big-card { top: 60px; width: 460px; height: 536px; margin-left: -200px; padding: 86px 0 0 64px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.big-card::after { content: ''; position: absolute; inset: 0; z-index: 2; background: url(./img/win-frame.webp) center / 100% 100% no-repeat; pointer-events: none; filter: drop-shadow(0 0 30px rgba(255,200,60,.55)); }
.big-card .media { width: 327px; height: 407px; border-radius: 26px; }
.big-card .gif { z-index: 3; right: 82px; bottom: 60px; }
.big-card .crown { z-index: 4; top: -66px; width: 124px; height: 92px; }
.big-card .gain { z-index: 4; left: 50%; right: auto; top: 54px; translate: -50% -50%; rotate: 0deg; padding: 0; border: 0; background: none; box-shadow: none; font-size: 50px; text-shadow: 0 3px 0 rgba(40,0,80,.6); animation: gainpop2 .6s .5s cubic-bezier(.3,1.7,.5,1) both; }
@keyframes gainpop2 { from { scale: 0; } to { scale: 1; } }
.big-card .gif { right: 92px; bottom: 72px; }

/* Klavye: daha uzun satırlar, görselsiz gerçek hap tuşlar (köşelerde kare kalıntı yok) */
.masa-kb { height: 486px; padding: 100px 30px 20px; gap: 14px; }
.kb-key { background: linear-gradient(180deg, #c28bff 0%, #9b55f5 45%, #7a35d8 100%); border: 3px solid #ffd96a; border-radius: 999px; box-shadow: inset 0 3px 0 rgba(255,255,255,.45), inset 0 -6px 0 rgba(60,10,130,.45), 0 5px 0 #4a1590, 0 8px 12px rgba(20,0,50,.45); padding: 0 0 4px; font-size: 44px; }
.kb-fn, .kb-shift, .kb-back, .kb-hide, .kb-abc { background: linear-gradient(180deg, #5b3bb8 0%, #3a2185 50%, #2a1466 100%); box-shadow: inset 0 3px 0 rgba(255,255,255,.25), inset 0 -6px 0 rgba(10,0,40,.4), 0 5px 0 #1c0b48, 0 8px 12px rgba(20,0,50,.45); }
.kb-enter, .masa-kb[data-shift="1"] .kb-shift, .masa-kb[data-shift="2"] .kb-shift { background: linear-gradient(180deg, #fff2a0 0%, #ffd03c 45%, #f0a010 100%); border-color: #fff4c2; box-shadow: inset 0 3px 0 rgba(255,255,255,.6), inset 0 -6px 0 rgba(170,90,0,.4), 0 5px 0 #a5600a, 0 8px 12px rgba(20,0,50,.45); }
.kb-key.down { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(60,10,130,.4), 0 1px 0 #4a1590; filter: brightness(1.15); }
.kb-ic { width: 58px; height: 58px; }
.kb-tray { background: url(./img/kb-tray.webp) center top / 100% auto no-repeat, url(./img/kb-tray.webp) center bottom / 100% auto no-repeat; }
.kb-tray { background: url(./img/kb-tray.webp) center top / 100% auto no-repeat, url(./img/kb-tray-b.webp) center bottom / 100% auto no-repeat; }
.kb-tray { background: url(./img/kb-tray.webp) center top / 100% auto no-repeat, url(./img/kb-tray-b.webp) center bottom / 100% auto no-repeat, linear-gradient(90deg, transparent 0 8px, #6e0a86 8px 16px, #46024f 16px calc(100% - 16px), #6e0a86 calc(100% - 16px) calc(100% - 8px), transparent 0) 0 120px / 100% calc(100% - 180px) no-repeat; }
