/* ==========================================================================
   OKEY101VIP LUXE 2 — pırlantalı başlıklar, eşleşme animasyonu, sohbet şeridi,
   hediye kutlaması, ikram efektleri, masa kontrolleri, eski temanın kalanları
   ========================================================================== */
@keyframes lxSpark{0%,100%{opacity:0;transform:scale(.2) rotate(0)}45%{opacity:1;transform:scale(1) rotate(45deg)}60%{opacity:.9}}
@keyframes lxFacet{to{background-position:-300% 0}}
@keyframes lxSpin{to{transform:rotate(1turn)}}
@keyframes lxBreath{0%,100%{transform:scale(1);opacity:.85}50%{transform:scale(1.06);opacity:1}}
@keyframes lxSeatIn{0%{transform:scale(.4) rotate(-8deg);opacity:0;filter:brightness(2.2)}60%{transform:scale(1.12);opacity:1}100%{transform:scale(1);filter:none}}
@keyframes lxRipple{0%{transform:scale(.6);opacity:.9}100%{transform:scale(1.9);opacity:0}}
@keyframes lxDrop{0%{transform:translateY(-30px) rotate(0);opacity:0}10%{opacity:1}100%{transform:translateY(110vh) rotate(var(--r,360deg));opacity:.9}}
@keyframes lxCardIn{0%{transform:translate(-50%,-40px) scale(.85);opacity:0}100%{transform:translate(-50%,0) scale(1);opacity:1}}
@keyframes lxCardOut{to{transform:translate(-50%,-30px) scale(.9);opacity:0}}
@keyframes lxPuff{0%{transform:translate(0,0) scale(.3);opacity:.95}100%{transform:translate(var(--dx),var(--dy)) scale(1.8);opacity:0}}
@keyframes lxWobble{0%,100%{transform:rotate(0)}20%{transform:rotate(-5deg)}40%{transform:rotate(4deg)}60%{transform:rotate(-3deg)}80%{transform:rotate(2deg)}}
@keyframes lxShake{0%,100%{transform:translateX(0)}15%{transform:translateX(-10px) rotate(-3deg)}30%{transform:translateX(9px) rotate(2deg)}45%{transform:translateX(-6px)}60%{transform:translateX(4px)}75%{transform:translateX(-2px)}}
@keyframes lxSlap{0%{transform:translate(70px,-30px) rotate(40deg) scale(1.4);opacity:0}35%{transform:translate(0,0) rotate(-12deg) scale(1.1);opacity:1}55%{transform:rotate(4deg)}100%{transform:rotate(0) scale(1);opacity:0}}
@keyframes lxPow{0%{transform:translate(-50%,0) scale(.2) rotate(-12deg);opacity:0}30%{transform:translate(-50%,-8px) scale(1.25) rotate(-6deg);opacity:1}80%{opacity:1}100%{transform:translate(-50%,-24px) scale(1) rotate(-6deg);opacity:0}}

/* ---------- Pırlantalı altın başlıklar (lobi + oyun) ---------- */
html body .pt-title,

html body #gameContainer #scoreboard .panel-header,
html body #gameContainer .indicator-slot .slot-label,
html body:has(#gameBoard) #dealShow .deal-card b,
html body #scoreSheet #scoreSheetTitle,
html body #finishShow .finish-copy b{
  position:relative;display:inline-block;
  background:linear-gradient(100deg,#b98a3c 0%,#f6e3a6 14%,#fffdf4 20%,#dcefff 23%,#fff6d6 26%,#d9b264 38%,#a8792f 50%,#f3dc9a 62%,#ffffff 68%,#cfe8ff 70%,#f8e7b0 73%,#c99a4a 86%,#b98a3c 100%) 0 0/300% 100% !important;
  -webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;
  animation:lxFacet 7s linear infinite !important;
  filter:drop-shadow(0 1px 0 rgba(40,24,6,.9)) drop-shadow(0 0 10px rgba(255,226,150,.28));
  text-shadow:none !important
}
html body .pt-title::before,html body .pt-title::after,
html body #gameContainer .indicator-slot .slot-label::after,
html body #scoreSheet #scoreSheetTitle::after,
html body #finishShow .finish-copy b::after{
  content:"";position:absolute;width:9px;height:9px;pointer-events:none;
  background:radial-gradient(circle,#fff 0 18%,rgba(220,240,255,.9) 30%,transparent 62%);
  clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);
  animation:lxSpark 2.6s ease-in-out infinite;-webkit-text-fill-color:initial
}
html body .pt-title::before{left:-4px;top:-2px;animation-delay:.4s}
html body .pt-title::after{right:-6px;bottom:2px;width:7px;height:7px;animation-delay:1.6s}
html body #gameContainer .indicator-slot .slot-label::after,html body #scoreSheet #scoreSheetTitle::after,html body #finishShow .finish-copy b::after{right:-8px;top:-3px;animation-delay:.9s}
html body #gameContainer .indicator-slot .slot-label{font:700 11px/1 var(--pt-display) !important;letter-spacing:.22em !important}

/* ---------- 101 Ligi sekmeleri: "Hediye gönderen" kırpılmasın ---------- */
html body #lobbyCard #rankTabs button{min-height:34px !important;height:auto !important;white-space:normal !important;line-height:1.12 !important;padding:6px 4px !important;font-size:11px !important;overflow:visible !important;text-overflow:clip !important;word-break:normal !important}

/* ---------- Eşleşme: özel masa / odalar kaldırıldı + premium bekleme ---------- */
html body #lobbyCard #createRoomBtn .match-links{display:none !important}
html body #lobbyCard #createRoomBtn #matchPad.hidden,html body #lobbyCard #createRoomBtn #matchWait.hidden{display:none !important}
html body #lobbyCard #createRoomBtn #matchWait:not(.hidden){display:grid !important;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;align-items:center;column-gap:18px;row-gap:4px;min-height:120px;padding:4px 6px}
html body #lobbyCard #createRoomBtn #matchWaitCount{grid-row:1 / span 3;position:relative;display:grid !important;place-items:center;width:96px;height:96px;margin:0;border-radius:50%;font:700 26px/1 var(--pt-display) !important;color:#fff3c4 !important;background:radial-gradient(circle at 40% 35%,#2a3d33,#0e1a15 70%) !important;box-shadow:inset 0 0 0 1px rgba(233,203,132,.5),0 0 30px -6px rgba(233,203,132,.5)}
html body #lobbyCard #createRoomBtn #matchWaitCount::before{content:"";position:absolute;inset:-6px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 55%,#c99a4a 70%,#fff3c4 82%,#fffbe8 85%,transparent 86%);-webkit-mask:radial-gradient(circle closest-side,transparent 88%,#000 90%);mask:radial-gradient(circle closest-side,transparent 88%,#000 90%);animation:lxSpin 1.6s linear infinite}
html body #lobbyCard #createRoomBtn #matchWaitCount::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 2px rgba(233,203,132,.6);animation:lxRipple 1.8s ease-out infinite}
html body #lobbyCard #createRoomBtn #matchWaitLabel{font:600 12px var(--pt-ui) !important;color:var(--pt-sand) !important;letter-spacing:.04em}
html body #lobbyCard #createRoomBtn #matchWait > span{font:700 17px/1.2 var(--pt-display) !important;letter-spacing:.06em;background:linear-gradient(90deg,#c99a4a,#fff3c4 50%,#c99a4a) 0 0/200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:lxFacet 4s linear infinite}
html body #lobbyCard #createRoomBtn #matchWait > span::after{content:"";display:inline-block;width:1.2em;text-align:left;animation:lxDots 1.4s steps(4) infinite}
@keyframes lxDots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}
html body #lobbyCard #createRoomBtn #matchWaitPeople{display:none !important}
html body #lobbyCard #createRoomBtn #matchCancel{justify-self:start;padding:7px 18px;border-radius:999px;border:1px solid rgba(233,203,132,.45);background:#0b0907;color:#f3dc9a;font:600 12px var(--pt-ui);cursor:pointer}
html body #lobbyCard #createRoomBtn #matchCancel:hover{background:rgba(201,166,107,.18)}
html body #lobbyCard #createRoomBtn #seatRing .mini-seat.is-in{border-color:#e2bf73 !important;background:rgba(201,166,107,.14) !important;animation:lxSeatIn .6s cubic-bezier(.2,1.3,.4,1) both}
html body #lobbyCard #createRoomBtn #seatRing .mini-seat.is-in img{box-shadow:0 0 0 2px #1e1204,0 0 0 4px #e2bf73,0 0 22px rgba(255,220,140,.75) !important}
html body #lobbyCard #createRoomBtn:has(#matchGo.is-waiting) #seatRing .mini-seat:not(.is-me):not(.is-in) img[hidden] + small::before{content:"";border-style:dashed;animation:lxSpin 3s linear infinite;border-color:rgba(233,203,132,.75) transparent rgba(233,203,132,.75) transparent}
html body #lobbyCard #createRoomBtn:has(#matchGo.is-waiting) #seatRing .mini-seat:not(.is-me):not(.is-in) small{color:var(--pt-sand) !important}
html body #lobbyCard #createRoomBtn #matchGo.is-waiting{animation:lxBreath 2s ease-in-out infinite}
html body #lobbyCard #createRoomBtn #matchGo.is-waiting b{font-family:var(--pt-display) !important;letter-spacing:.14em !important}
html body #lobbyCard #createRoomBtn #matchGo b{font-family:var(--pt-display) !important}

/* ---------- Sohbet bekleme çubuğu (Gönder'in altında) ---------- */
html body form:has(> .chat-cool){flex-wrap:wrap !important}
html body .chat-cool{flex:1 0 100%;order:99;display:flex;align-items:center;gap:10px;margin-top:6px;font:500 11px/1.2 var(--pt-ui);color:var(--pt-sand)}
html body .chat-cool[hidden]{display:none !important}
html body .chat-cool span{white-space:nowrap}
html body .chat-cool i{flex:1;height:4px;border-radius:999px;background:rgba(233,203,132,.14);overflow:hidden}
html body .chat-cool u{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8a6326,#f3dc9a,#fff6d4);box-shadow:0 0 8px rgba(255,220,140,.6);transition:width .25s linear}
html body form.is-cooling button:not([type="button"]){opacity:.45 !important;filter:grayscale(.4);cursor:not-allowed}

/* ---------- Sohbette hediye duyurusu ---------- */
html body .lobby-line.system.gift,html body #tableChat .chat-msg.system.gift{display:flex !important;align-items:center !important;gap:8px !important;margin:6px 0 !important;padding:7px 10px !important;border-radius:12px !important;background:linear-gradient(90deg,rgba(201,166,107,.22),rgba(201,166,107,.06)) !important;box-shadow:inset 0 0 0 1px rgba(233,203,132,.45) !important;color:#fff3c4 !important}
html body .gift-burst{flex:none;width:26px;height:26px;display:grid;place-items:center;font-size:18px;border-radius:50%;background:radial-gradient(circle,#3a2d20,#1a130e);box-shadow:0 0 0 1px #e2bf73,0 0 12px rgba(255,220,140,.6);animation:lxBreath 1.6s ease-in-out infinite}
html body .lobby-line.system.gift .chat-text,html body #tableChat .chat-msg.system.gift .text{font:600 12px/1.35 var(--pt-ui) !important;color:#fff3c4 !important;font-style:normal !important}
html body .chat-at{background:none;border:0;padding:0;color:#f3dc9a;font:700 12px var(--pt-ui);cursor:pointer}
html body .chat-at:hover{text-decoration:underline}

/* ---------- Hediye kutlaması ---------- */
html body .gift-celebrate{position:fixed;inset:0;z-index:30000;pointer-events:none}
html body .gift-celebrate .gc-confetti i{position:absolute;top:-20px;left:var(--x);width:8px;height:14px;border-radius:2px;background:var(--c);animation:lxDrop 2.8s cubic-bezier(.3,.6,.5,1) var(--d) both;box-shadow:0 0 6px rgba(255,230,160,.5)}
html body .gift-celebrate .gc-card{position:absolute;left:50%;top:84px;display:flex;align-items:center;gap:14px;padding:12px 22px 12px 14px;border-radius:999px;border:3px solid transparent;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box;box-shadow:0 0 0 1px #1e1204,0 24px 50px -16px rgba(0,0,0,.95),0 0 60px -10px rgba(255,220,140,.6);animation:lxCardIn .5s cubic-bezier(.2,1.3,.4,1) both}
html body .gift-celebrate.out .gc-card{animation:lxCardOut .45s ease-in both}
html body .gift-celebrate .gc-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#3a2d20,#120c08);box-shadow:inset 0 0 0 2px #e2bf73,0 0 22px rgba(255,220,140,.6)}
html body .gift-celebrate .gc-icon .ok101-emo{width:44px;height:44px}
html body .gift-celebrate .gc-icon .emo-text{font-size:34px}
html body .gift-celebrate .gc-copy{display:flex;flex-direction:column;gap:3px}
html body .gift-celebrate .gc-copy small{font:700 10px var(--pt-ui);letter-spacing:.3em;color:var(--pt-brass)}
html body .gift-celebrate .gc-copy b{font:700 16px/1.2 var(--pt-display);letter-spacing:.03em;background:linear-gradient(90deg,#c99a4a,#fff3c4 50%,#c99a4a) 0 0/200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:lxFacet 3s linear infinite}
html body .gift-celebrate .gc-copy em{font:600 13px var(--pt-ui);font-style:normal;color:var(--pt-ivory)}

/* ==========================================================================
   OYUN İÇİ
   ========================================================================== */
/* Eski siyah plaket çerçevesini her yerde kaldır */
html body:has(#gameBoard) :is(#tableChat,.open-hand-modal,#dealShow .deal-card,.profile-sheet,#gameEndModal .modal-content,#finishShow .finish-copy){border-image:none !important}

/* Gösterge açılışı (eski kuralı ID ile ezer) */
html body:has(#gameBoard) #dealShow{background:radial-gradient(60% 60% at 50% 45%,rgba(31,77,61,.6),rgba(8,6,4,.85)) !important}
html body:has(#gameBoard) #dealShow .deal-card{padding:26px 48px 22px !important;border:8px solid transparent !important;border-radius:26px !important;background:linear-gradient(var(--pt-walnut),var(--pt-walnut)) padding-box,var(--pt-gilt-sweep),var(--pt-gilt-engrave) border-box,var(--pt-gilt) border-box !important;box-shadow:var(--pt-gilt-inner),0 40px 90px -30px rgba(0,0,0,.95),0 0 80px -20px rgba(255,220,140,.35) !important;animation:ptGiltSweep 4s ease-in-out infinite;text-align:center}
html body:has(#gameBoard) #dealShow .deal-card small{display:block !important;font:600 12px/1 var(--pt-ui) !important;letter-spacing:.38em !important;color:var(--pt-brass) !important}
html body:has(#gameBoard) #dealShow .deal-card b{font:700 18px/1.2 var(--pt-display) !important;letter-spacing:.08em !important;margin-top:6px !important}
html body:has(#gameBoard) #dealShow #dealTile{min-height:130px !important;filter:drop-shadow(0 16px 20px rgba(0,0,0,.65)) drop-shadow(0 0 22px rgba(255,220,140,.45))}
html body:has(#gameBoard) #dealShow.show #dealTile .sprite-face{animation:lxSeatIn .7s cubic-bezier(.2,1.3,.4,1) both}

/* Masadaki gösterge yuvası */
html body #gameContainer .indicator-slot #indicatorTile{filter:drop-shadow(0 8px 12px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(255,220,140,.25))}

/* Oyun içi profil penceresi */
html body:has(#gameBoard) #seatProfile .profile-sheet{border:8px solid transparent !important;border-radius:26px !important;background:linear-gradient(var(--pt-walnut),var(--pt-walnut)) padding-box,var(--pt-gilt-engrave) border-box,var(--pt-gilt) border-box !important;box-shadow:var(--pt-gilt-inner),0 40px 90px -30px rgba(0,0,0,.95) !important;color:var(--pt-ivory) !important}
html body:has(#gameBoard) #seatProfile .profile-sheet h3{font:700 22px/1.2 var(--pt-display) !important;letter-spacing:.04em}
html body:has(#gameBoard) #seatProfile .profile-user{font:500 13px var(--pt-ui) !important;color:var(--pt-brass) !important}
html body:has(#gameBoard) #seatProfile .profile-actions button{border-radius:999px !important;border:1px solid rgba(233,203,132,.45) !important;background:#1b1511 !important;color:#f3dc9a !important;font:600 12px var(--pt-ui) !important}
html body:has(#gameBoard) #seatProfile .profile-actions button.on{background:var(--pt-gold-btn) !important;color:#2a1d0c !important}

/* El açma penceresi */
html body:has(#gameBoard) .open-hand-modal{border:8px solid transparent !important;border-radius:24px !important;background:linear-gradient(var(--pt-walnut),var(--pt-walnut)) padding-box,var(--pt-gilt-engrave) border-box,var(--pt-gilt) border-box !important;box-shadow:var(--pt-gilt-inner),0 40px 90px -30px rgba(0,0,0,.95) !important}
html body:has(#gameBoard) .open-hand-modal h2{font:700 20px var(--pt-display) !important;color:#f3dc9a !important}
html body:has(#gameBoard) #confirmOpenBtn{background:var(--pt-gold-btn) !important;color:#2a1d0c !important;border-radius:999px !important}

/* Masa düğmeleri: yuvarlak madalyonlar ve hap düğmeler */
html body #gameContainer :is(#sortSeriesBtn,#sortPairsBtn){border-radius:50% !important;border:3px solid transparent !important;background:radial-gradient(circle at 35% 30%,#3a2d20,#15100c 70%) padding-box,var(--pt-gilt) border-box !important;box-shadow:0 0 0 1px #1e1204,0 14px 26px -12px rgba(0,0,0,.95),inset 0 2px 0 rgba(255,236,180,.12) !important;color:#f3dc9a !important;font:700 12px/1.2 var(--pt-ui) !important;transition:transform .15s,box-shadow .15s}
html body #gameContainer :is(#sortSeriesBtn,#sortPairsBtn):hover{transform:translateY(-2px);box-shadow:0 0 0 1px #1e1204,0 18px 30px -12px rgba(0,0,0,.95),0 0 22px -4px rgba(255,220,140,.55) !important}
html body #gameContainer :is(#openHandBtn,#openPairsBtn,#processTileBtn,#leaveTableBtn,#giftOpenBtn){border-radius:999px !important;border:1.5px solid transparent !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important;color:#f3dc9a !important;font:700 12px/1.15 var(--pt-ui) !important;box-shadow:0 0 0 1px #1e1204,0 10px 20px -10px rgba(0,0,0,.9) !important;text-shadow:none !important}
html body #gameContainer :is(#openHandBtn,#openPairsBtn,#processTileBtn):not(:disabled):not(.disabled):hover{background:var(--pt-gold-btn) padding-box,var(--pt-gilt) border-box !important;color:#2a1d0c !important}
html body #gameContainer :is(#openHandBtn,#openPairsBtn,#processTileBtn):is(:disabled,.disabled){opacity:.55}

/* Sıra / kalan paneli ve geri sayım */
html body #gameContainer .game-status-panel{border:2px solid transparent !important;border-radius:18px !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important;box-shadow:var(--pt-gilt-thin) !important}
html body #gameContainer #turnCountdown{border-radius:999px !important;background:radial-gradient(circle at 40% 30%,#3a2d20,#15100c) !important;box-shadow:inset 0 0 0 1.5px #e2bf73,0 0 14px -2px rgba(255,220,140,.5) !important;color:#fff3c4 !important;font:700 13px var(--pt-ui) !important}
html body #gameContainer #turnCountdown.danger{box-shadow:inset 0 0 0 1.5px #ff6a5c,0 0 18px rgba(255,90,80,.7) !important;color:#ffd2cc !important}
html body #gameContainer .turn-flash{border-radius:999px !important;border:1.5px solid transparent !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important;color:#f3dc9a !important;font:700 13px var(--pt-ui) !important;box-shadow:0 10px 24px -10px rgba(0,0,0,.9),0 0 20px -6px rgba(255,220,140,.5) !important}

/* Sesli masa paneli */
html body #gameContainer #voiceDock b{font:700 11px var(--pt-display) !important;letter-spacing:.16em !important;color:#f3dc9a !important}
html body #gameContainer #voiceDock button{border-radius:999px !important;border:1px solid rgba(233,203,132,.4) !important;background:#120e0b !important;color:var(--pt-ivory) !important;font:600 11px var(--pt-ui) !important}

/* ---------- All Chat şeridi: ıstakanın altında yatay ---------- */
html body #gameContainer #tableAll.bar{position:fixed !important;left:var(--bar-left) !important;top:var(--bar-top) !important;width:var(--bar-w) !important;height:var(--bar-h) !important;right:auto !important;bottom:auto !important;z-index:45 !important;transform:none !important;margin:0 !important}
html body #gameContainer #tableAll.bar #chatToggleBtn{display:none !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open){position:absolute !important;inset:0 !important;width:auto !important;height:auto !important;max-height:none !important;display:grid !important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"msgs msgs" "head form";gap:6px 10px;padding:7px 10px 8px !important;border:2px solid transparent !important;border-radius:16px !important;background:linear-gradient(rgba(23,18,14,.96),rgba(23,18,14,.96)) padding-box,var(--pt-gilt) border-box !important;box-shadow:var(--pt-gilt-thin) !important;transform:none !important;opacity:1 !important;visibility:visible !important;pointer-events:auto !important;overflow:visible !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) > :is(#chatMessages,#taskPane,#chatLock,#dmPick,#dmBar){grid-area:msgs;min-height:0}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-head{grid-area:head;gap:6px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) #chatForm{grid-area:form;min-width:0}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-tabs{display:flex !important;gap:2px !important;padding:2px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-tabs button{padding:6px 9px !important;font-size:11px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) #chatCloseBtn{display:none !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-messages{overflow-y:auto !important;padding:2px 4px !important;background:transparent !important;border:0 !important;scrollbar-width:thin}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg{padding:1px 2px !important;margin:0 !important;gap:6px !important;align-items:center !important;flex-direction:row !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg .chat-avatar{width:20px !important;height:20px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg .chat-body{display:flex !important;align-items:center;gap:6px;padding:0 !important;background:none !important;box-shadow:none !important;min-width:0}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg .meta{flex:none;display:flex;align-items:center;white-space:nowrap}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg .text{font-size:12px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .ok101-emo.chat-gif{width:22px !important;height:22px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-form input,html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-form button[type=submit]{height:32px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .emo-toggle{width:32px !important;height:32px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-cool{position:absolute;left:12px;right:12px;bottom:-14px;margin:0;font-size:10px}
html body #gameContainer #tableAll.bar #tableChat.open{position:fixed !important;right:16px !important;bottom:16px !important;left:auto !important;top:auto !important;z-index:60 !important}
html body #gameContainer .chat-grow{flex:none;width:30px;height:30px;padding:0;display:grid;place-items:center;border-radius:50%;border:1.5px solid transparent;background:linear-gradient(#2c231c,#2c231c) padding-box,var(--pt-gilt) border-box;color:#f3dc9a;cursor:pointer}
html body #gameContainer .chat-grow svg{width:14px;height:14px}
html body #gameContainer #tableAll:not(.bar) .chat-grow,html body #gameContainer #tableAll:not(.bar) #giftOpenBtn.in-bar{display:none}
/* İkram şeridin içinde, tepsi şeridin üstünde açılır */
html body #gameContainer #giftOpenBtn.in-bar{position:static !important;flex:none;height:30px !important;padding:0 12px !important;display:inline-flex !important;align-items:center;gap:5px;transform:none !important;inset:auto !important}
html body #gameContainer #giftOpenBtn.in-bar::before{content:"🎁";font-size:13px}
html body #gameContainer #giftOpenBtn.in-bar.on{background:var(--pt-gold-btn) padding-box,var(--pt-gilt) border-box !important;color:#2a1d0c !important}
html body #gameContainer:has(#tableAll.bar) #giftTray{position:fixed !important;left:var(--tray-left,50%) !important;bottom:auto !important;right:auto !important}
html body #gameContainer #giftTray:not(.hidden){display:grid !important;grid-template-columns:repeat(4,minmax(78px,1fr));gap:6px;padding:10px !important;border:2px solid transparent !important;border-radius:18px !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important;box-shadow:0 24px 50px -16px rgba(0,0,0,.95) !important;z-index:70 !important;animation:ptPop .22s ease-out}
html body #gameContainer #giftTray button{display:flex !important;flex-direction:column !important;align-items:center !important;gap:2px !important;padding:8px 6px !important;border-radius:12px !important;border:1px solid rgba(233,203,132,.2) !important;background:#211a15 !important;color:var(--pt-ivory) !important;font:600 11px var(--pt-ui) !important;position:relative}
html body #gameContainer #giftTray button:hover,html body #gameContainer #giftTray button.armed{border-color:#e2bf73 !important;background:rgba(201,166,107,.16) !important}
html body #gameContainer #giftTray button b{display:grid;place-items:center;width:40px;height:40px}
html body #gameContainer #giftTray button b .ok101-emo,html body #gameContainer #giftTray button b img{width:38px !important;height:38px !important}
html body #gameContainer #giftTray button small{color:#f3dc9a !important;font-size:10px !important}
html body #gameContainer #giftTray .stack-n{position:absolute;top:4px;right:6px;font:800 11px var(--pt-ui);font-style:normal;color:#2a1d0c;background:#f3dc9a;border-radius:999px;padding:1px 6px}
html body .flying-gift .ok101-emo{width:44px !important;height:44px !important}

/* Radyo: sohbet şeridi ıstakanın altına geçince sağ alta taşınır */
html body #gameContainer:has(#tableAll.bar) #radioDock{left:auto !important;right:16px !important;bottom:14px !important;transform:none !important;border:1.5px solid transparent !important;border-radius:999px !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important}
html body #gameContainer #radioDock select,html body #gameContainer #radioDock button{border-radius:999px !important;border:1px solid rgba(233,203,132,.35) !important;background:#0f0b08 !important;color:var(--pt-ivory) !important}

/* ---------- Osuruk ve tokat efektleri ---------- */
html body #gameContainer .player-info.prank-wobble{animation:lxWobble .9s ease-in-out}
html body #gameContainer .player-info.prank-shake{animation:lxShake .55s ease-in-out}
html body .seat-prank{position:absolute;left:50%;top:30px;width:0;height:0;z-index:30;pointer-events:none}
html body .seat-prank b{position:absolute;left:0;top:-70px;transform:translateX(-50%);font:900 22px/1 var(--pt-display);letter-spacing:.04em;white-space:nowrap;animation:lxPow 1.5s ease-out both;-webkit-text-stroke:1px #1e1204}
html body .prank-fart b{color:#c6f26b;text-shadow:0 0 12px rgba(160,230,80,.8)}
html body .prank-slap b{color:#ffd2cc;text-shadow:0 0 14px rgba(255,80,70,.9)}
html body .prank-fart .puff{position:absolute;left:-26px;top:-26px;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 40% 40%,rgba(205,240,140,.95),rgba(140,190,70,.75) 55%,rgba(110,150,50,0) 72%);animation:lxPuff 1.4s ease-out both}
html body .prank-fart .p1{--dx:-46px;--dy:-30px}
html body .prank-fart .p2{--dx:44px;--dy:-26px;animation-delay:.12s}
html body .prank-fart .p3{--dx:-20px;--dy:-62px;animation-delay:.24s}
html body .prank-fart .p4{--dx:26px;--dy:-58px;animation-delay:.34s}
html body .prank-slap .hand{position:absolute;left:-30px;top:-40px;width:60px;height:60px;animation:lxSlap .8s cubic-bezier(.2,1.4,.4,1) both}
html body .prank-slap .hand .ok101-emo,html body .prank-slap .hand .emo-text{width:60px;height:60px;font-size:50px}
html body .prank-slap .flash{position:absolute;left:-40px;top:-40px;width:80px;height:80px;border-radius:50%;background:radial-gradient(circle,rgba(255,120,100,.75),transparent 65%);animation:lxRipple .7s ease-out .2s both}
html body #gameContainer #giftOpenBtn.in-bar{width:auto !important;min-width:0 !important;left:auto !important;top:auto !important;bottom:auto !important;right:auto !important;margin:0 !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-head{display:flex !important;align-items:center !important}
html body #gameContainer #tableAll.bar #tableChat.open .chat-grow{transform:rotate(180deg)}
html body #gameContainer #giftTray:not(.hidden){width:380px !important;max-width:calc(100vw - 24px) !important;height:auto !important;max-height:none !important;overflow:visible !important}
html body .seat-prank b{font-size:28px !important;animation-duration:2.2s !important}
html body .prank-fart .puff{width:70px !important;height:70px !important;left:-35px !important;top:-35px !important;animation-duration:2s !important}
html body:has(.lobby-v12:not(.hidden)):has(.ref-board) #lobbyCard #createRoomBtn .match-dock .match-side{padding:14px 16px !important;background:rgba(8,20,16,.55) !important;border:1px solid rgba(233,203,132,.22) !important;border-radius:16px !important;overflow:visible !important}
html body #lobbyCard #createRoomBtn #matchWait > span{display:block !important;grid-column:2 !important;text-align:left !important}
html body #lobbyCard #createRoomBtn #matchWait > #matchWaitLabel{grid-column:2 !important;align-self:end}
html body #lobbyCard #createRoomBtn #matchWait > #matchCancel{grid-column:2 !important;align-self:start}
html body #gameContainer #tableAll.bar #tableChat:not(.open) #chatMessages{height:100% !important;max-height:100% !important;align-self:stretch !important;margin:0 !important;display:block !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open){padding:5px 10px 6px !important;gap:4px 10px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-tabs button{padding:5px 8px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg .meta .aura-set{transform:scale(.9);transform-origin:left center}

/* ---------- All Chat şeridi: kapalı (son mesajlar, eskiler flu) / açık ---------- */
html body #gameContainer #tableAll.bar.bar-min{height:auto !important;max-height:var(--bar-h) !important;cursor:pointer}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open){position:relative !important;inset:auto !important;grid-template-rows:auto !important;grid-template-areas:"msgs" !important;grid-template-columns:1fr !important;padding:6px 120px 6px 12px !important;background:linear-gradient(rgba(23,18,14,.82),rgba(23,18,14,.82)) padding-box,var(--pt-gilt) border-box !important}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open) :is(.table-chat-head,#chatForm,#dmBar,#dmPick,#taskPane,#chatLock){display:none !important}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open) #chatMessages{display:flex !important;flex-direction:column !important;justify-content:flex-end !important;overflow:hidden !important;height:66px !important;max-height:66px !important;padding:0 !important;-webkit-mask:linear-gradient(transparent,#000 40%);mask:linear-gradient(transparent,#000 40%)}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open) .chat-msg{flex:none;filter:blur(1.6px);opacity:.38;transition:filter .3s,opacity .3s}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open) .chat-msg:nth-last-child(2){filter:blur(.9px);opacity:.62}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open) .chat-msg:last-child{filter:none;opacity:1}
html body #gameContainer #tableAll.bar.bar-min #tableChat:not(.open)::after{content:"ALL CHAT · Enter ile yaz";position:absolute;right:12px;top:50%;transform:translateY(-50%);font:700 10px var(--pt-ui);letter-spacing:.08em;color:#2a1d0c;padding:6px 10px;border-radius:999px;background:var(--pt-gold-btn);box-shadow:0 0 0 1px #1e1204,0 0 14px -4px rgba(255,220,140,.6)}
html body #gameContainer #tableAll.bar.bar-min:hover #tableChat:not(.open) .chat-msg{filter:none;opacity:1}
/* Açıkken taşma olmasın */
html body #gameContainer #tableAll.bar #tableChat:not(.open){grid-template-columns:auto minmax(200px,1fr) !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-head{min-width:0;overflow:hidden;gap:4px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-tabs{flex:0 1 auto !important;min-width:0;overflow:hidden}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-tabs button{padding:5px 6px !important;font-size:10.5px !important;white-space:nowrap;letter-spacing:0 !important}
html body #gameContainer #tableAll.bar #giftOpenBtn.in-bar{font-size:0 !important;width:30px !important;padding:0 !important;justify-content:center}
html body #gameContainer #tableAll.bar #giftOpenBtn.in-bar::before{font-size:14px}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-msg .meta .name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #gameContainer .chat-shrink{flex:none;width:28px;height:28px;padding:0;display:grid;place-items:center;border-radius:50%;border:1.5px solid transparent;background:linear-gradient(#2c231c,#2c231c) padding-box,var(--pt-gilt) border-box;color:#f3dc9a;cursor:pointer}
html body #gameContainer .chat-shrink svg{width:13px;height:13px}
html body #gameContainer #tableAll:not(.bar) .chat-shrink{display:none}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-grow{width:28px;height:28px}

/* ---------- 3 boyutlu pırlantalı başlıklar ---------- */
html body .pt-title,
html body #gameContainer #scoreboard .panel-header,
html body #gameContainer .indicator-slot .slot-label,
html body:has(#gameBoard) #dealShow .deal-card b,
html body #scoreSheet #scoreSheetTitle,
html body #finishShow .finish-copy b,
html body #giftLogModal h3,
html body .gift-celebrate .gc-copy b{
  filter:drop-shadow(0 1px 0 #9c7330) drop-shadow(0 1px 0 #6b4c1e) drop-shadow(0 1px 0 #3d2a0e) drop-shadow(0 4px 6px rgba(0,0,0,.65)) drop-shadow(0 0 14px rgba(255,226,150,.3)) !important
}
html body #gameContainer #scoreboard .panel-header{position:relative;display:inline-block !important;font:700 15px/1.2 var(--pt-display) !important;letter-spacing:.08em !important;background:linear-gradient(100deg,#b98a3c 0%,#f6e3a6 14%,#fffdf4 20%,#dcefff 23%,#fff6d6 26%,#d9b264 38%,#a8792f 50%,#f3dc9a 62%,#ffffff 68%,#cfe8ff 70%,#f8e7b0 73%,#c99a4a 86%,#b98a3c 100%) 0 0/300% 100% !important;-webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;animation:lxFacet 7s linear infinite !important}
html body #gameContainer #scoreboard .panel-header .icon{display:none !important}

/* ---------- Eşleş düğmesi: kuyumcu işi altın külçe ---------- */
@keyframes lxIngot{0%,60%{background-position:160% 0,0 0,0 0,0 0}100%{background-position:-60% 0,0 0,0 0,0 0}}
@keyframes lxGem{0%,100%{box-shadow:0 0 4px #fff,0 0 10px #9fd8ff}50%{box-shadow:0 0 8px #fff,0 0 20px #cfe9ff}}
@keyframes lxHalo{0%{box-shadow:0 0 0 0 rgba(255,220,140,.55),0 18px 34px -14px rgba(0,0,0,.95)}100%{box-shadow:0 0 0 18px rgba(255,220,140,0),0 18px 34px -14px rgba(0,0,0,.95)}}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo{position:relative !important;border:3px solid transparent !important;border-radius:20px !important;padding:0 !important;background:linear-gradient(112deg,transparent 40%,rgba(255,255,255,.75) 50%,transparent 60%) 160% 0/250% 100% no-repeat padding-box,repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 3px) padding-box,linear-gradient(180deg,#fff3c4 0%,#f0cf7c 18%,#d9a94a 48%,#b7832c 52%,#e6bf6a 82%,#f8e2a0 100%) padding-box,conic-gradient(from 215deg,#5a3d13,#fff6d4,#b88a3e,#3d2a0e,#f3dc9a,#5a3d13) border-box !important;box-shadow:inset 0 2px 0 rgba(255,255,255,.7),inset 0 -3px 0 rgba(90,61,19,.55),inset 0 0 0 1px rgba(90,61,19,.4),0 0 0 1px #1e1204,0 18px 34px -14px rgba(0,0,0,.95),0 0 40px -12px rgba(255,220,140,.7) !important;animation:lxIngot 4.5s ease-in-out infinite !important;transition:transform .18s ease,filter .18s ease;overflow:visible !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo:hover{transform:translateY(-3px) scale(1.015) !important;filter:brightness(1.06) saturate(1.05)}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo:active{transform:translateY(0) scale(.99) !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo::before,html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo::after{content:"" !important;position:absolute !important;top:50% !important;width:10px !important;height:10px !important;margin-top:-5px !important;transform:rotate(45deg) !important;background:linear-gradient(135deg,#fff,#cfe9ff 45%,#7fc0ee) !important;border-radius:1px !important;animation:lxGem 2.2s ease-in-out infinite !important;z-index:2 !important;display:block !important;inset:auto !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo::before{left:14px !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo::after{right:14px !important;animation-delay:1.1s !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo .match-plaque{background:none !important;border:0 !important;box-shadow:none !important;padding:18px 34px !important;display:flex !important;flex-direction:column !important;align-items:center !important;gap:4px !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo b{font:700 30px/1 var(--pt-display) !important;letter-spacing:.2em !important;color:#4a3010 !important;-webkit-text-fill-color:#4a3010 !important;background:none !important;text-shadow:0 1px 0 rgba(255,246,212,.9),0 -1px 0 rgba(60,38,10,.55) !important;filter:none !important}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo small{font:700 11px var(--pt-ui) !important;letter-spacing:.12em !important;color:#5a3d13 !important;text-shadow:0 1px 0 rgba(255,246,212,.6) !important;text-transform:uppercase}
html body:has(.lobby-v12:not(.hidden)) #lobbyCard #createRoomBtn #matchGo.is-waiting{animation:lxIngot 4.5s ease-in-out infinite,lxHalo 1.6s ease-out infinite !important}

/* ---------- Oyunda sıra rozeti: sıra sendeyse altın külçe ---------- */
html body #gameContainer #currentPlayerName{display:inline-flex !important;align-items:center;justify-content:center;min-width:120px;padding:8px 16px !important;border-radius:999px !important;border:2px solid transparent !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important;color:#f3dc9a !important;font:700 13px/1 var(--pt-display) !important;letter-spacing:.08em !important;white-space:nowrap;box-shadow:0 0 0 1px #1e1204 !important}
html body #gameContainer #turnIndicator.my-turn #currentPlayerName{position:relative;background:linear-gradient(112deg,transparent 40%,rgba(255,255,255,.75) 50%,transparent 60%) 160% 0/250% 100% no-repeat padding-box,linear-gradient(180deg,#fff3c4 0%,#f0cf7c 18%,#d9a94a 48%,#b7832c 52%,#e6bf6a 82%,#f8e2a0 100%) padding-box,conic-gradient(from 215deg,#5a3d13,#fff6d4,#b88a3e,#3d2a0e,#f3dc9a,#5a3d13) border-box !important;color:#4a3010 !important;text-shadow:0 1px 0 rgba(255,246,212,.9) !important;box-shadow:inset 0 2px 0 rgba(255,255,255,.7),inset 0 -2px 0 rgba(90,61,19,.55),0 0 0 1px #1e1204,0 0 26px -4px rgba(255,220,140,.85) !important;animation:lxIngot 3s ease-in-out infinite,lxHalo 1.8s ease-out infinite !important}

/* ---------- Profil hediye hücreleri: coin taşmasın ---------- */
html body .profile-extra .gift-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(82px,1fr)) !important;gap:6px !important}
html body .profile-extra .gift-cell{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:2px !important;min-width:0 !important;padding:8px 4px !important;overflow:hidden !important;border-radius:12px !important;border:1px solid rgba(233,203,132,.22) !important;background:#211a15 !important;color:var(--pt-ivory) !important}
html body .profile-extra .gift-cell > *{max-width:100% !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;line-height:1.2 !important}
html body .profile-extra .gift-cell span{font-size:22px !important}
html body .profile-extra .gift-cell small{font:500 10px var(--pt-ui) !important;color:var(--pt-sand) !important}
html body .profile-extra .gift-cell b{font:700 11px var(--pt-ui) !important;color:#f3dc9a !important}
html body .profile-extra .gift-cell.on{border-color:#e2bf73 !important;background:rgba(201,166,107,.18) !important}

/* ---------- Hediye şeridi: yeni hediye gelince parlasın ---------- */
@keyframes lxRail{0%{box-shadow:0 0 0 0 rgba(255,220,140,.9)}100%{box-shadow:0 0 0 14px rgba(255,220,140,0)}}
html body #lobbyCard #giftRail.rail-new{animation:lxRail 1s ease-out 2}
html body .gift-pick{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(84px,1fr)) !important;gap:6px !important;overflow:visible !important}
html body .gift-choice{min-width:0 !important;display:flex !important;flex-direction:column !important;align-items:center !important;gap:3px !important;padding:8px 4px !important;overflow:hidden !important;border-radius:12px !important;border:1px solid rgba(233,203,132,.22) !important;background:#211a15 !important}
html body .gift-choice > *{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .gift-choice .gift-cost{display:inline-flex !important;align-items:center;gap:3px;font:700 11px var(--pt-ui) !important;color:#f3dc9a !important}
html body .gift-choice .gift-cost .coin-mark{width:11px !important;height:11px !important;flex:none}
html body .gift-choice.on{border-color:#e2bf73 !important;background:rgba(201,166,107,.18) !important}
html body :is(.gift-choice,.gift-cell) .ok101-emo{width:30px !important;height:30px !important}

/* ---------- Per masası (board mode) ---------- */
html body #gameContainer .felt-board.board-mode .meld-col{flex-direction:column !important;transform:none !important;writing-mode:horizontal-tb !important}
html body #gameContainer .felt-board.board-mode :is(#meldColLeft,#meldColTop,#meldColRight).has-melds{padding:20px 8px 6px !important;border:1.5px solid transparent !important;border-radius:14px !important;background:linear-gradient(rgba(12,30,23,.82),rgba(12,30,23,.82)) padding-box,linear-gradient(rgba(233,203,132,.55),rgba(233,203,132,.2)) border-box !important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),inset 0 0 30px rgba(0,0,0,.25) !important;background-image:linear-gradient(rgba(12,30,23,.82),rgba(12,30,23,.82)),linear-gradient(rgba(233,203,132,.55),rgba(233,203,132,.2)) !important}
html body #gameContainer .felt-board.board-mode :is(#meldColLeft,#meldColTop,#meldColRight).has-melds::before{content:attr(data-name);position:absolute;left:10px;top:4px;font:700 10px/1 var(--pt-ui);letter-spacing:.06em;color:var(--pt-brass);max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #gameContainer .felt-board.board-mode :is(#meldColLeft,#meldColTop,#meldColRight).has-melds .meld-head{position:absolute !important;right:10px !important;left:auto !important;top:4px !important;margin:0 !important;padding:0 !important;background:none !important;box-shadow:none !important;font:700 10px/1 var(--pt-ui) !important;color:#f3dc9a !important}
html body #gameContainer .felt-board.board-mode :is(#meldColLeft,#meldColTop,#meldColRight) .meld-stack{display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;align-content:flex-start !important;justify-content:flex-start !important;width:100% !important}
html body #gameContainer .felt-board.board-mode .meld-col:not(.has-melds){display:none !important}
/* Taşların zemini her durumda beyaz */
html body #gameContainer .meld-col .sprite-face{background:#fff !important}
html body #gameContainer .meld-col.meld-chips .sprite-face{background:linear-gradient(180deg,#ffffff,#f1ebdd) !important;box-shadow:0 1px 0 rgba(0,0,0,.4),inset 0 -2px 0 rgba(0,0,0,.08) !important}
html body #gameContainer .meld-col.meld-chips .sprite-face.is-okey{background:linear-gradient(180deg,#fff3c4,#e2bf73) !important}
html body #gameContainer .meld-col .opened-group{background:rgba(0,0,0,.28) !important}
html body #gameContainer .felt-board.board-mode #meldColLeft.has-melds .meld-head,html body #gameContainer .felt-board.board-mode #meldColRight.has-melds .meld-head,html body #gameContainer .felt-board.board-mode #meldColTop.has-melds .meld-head{position:absolute !important;right:10px !important;left:auto !important;top:5px !important;transform:none !important;writing-mode:horizontal-tb !important;margin:0 !important;padding:0 !important;background:none !important;box-shadow:none !important;font:700 10px/1 var(--pt-ui) !important;color:#f3dc9a !important;width:auto !important;text-align:right !important}

/* ==========================================================================
   PERFORMANS: büyük yüzeylerde sonsuz yeniden boyama yok; görünmeyen katmanlar dondurulur
   ========================================================================== */
html body #gameContainer .felt-board,html body #finishShow .finish-copy,html body:has(#gameBoard) #dealShow .deal-card,html body :is(#accountModal,#roomModal,#seatProfileModal,#giftLogModal,.modal) .modal-card,html body #scoreSheet .score-sheet-card,html body #gameEndModal .modal-content,html body:has(#authCard:not(.hidden)) #authCard,html body #lobbyCard .v12-profile.dock-profile{animation:none !important}
html body #finishShow:not(.show),html body #finishShow:not(.show) *,html body .deal-show:not(.show),html body .deal-show:not(.show) *,html body .hidden,html body .hidden *{animation:none !important}
html body #gameContainer #scoreboard .panel-header,html body #gameContainer .indicator-slot .slot-label,html body #gameContainer .indicator-slot .slot-label::after{animation:none !important}
html body #gameContainer #turnIndicator.my-turn #currentPlayerName{animation:lxHalo 2s ease-out infinite !important}
/* Başlık varakları durağan (yalnız küçük yıldızlar parlar: ucuz, transform/opacity) */
html body .pt-title,html body #scoreSheet #scoreSheetTitle,html body #finishShow .finish-copy b,html body:has(#gameBoard) #dealShow .deal-card b,html body #giftLogModal h3,html body .gift-celebrate .gc-copy b,html body #lobbyCard #createRoomBtn #matchWait > span{animation:none !important}
html body .pt-title::before,html body .pt-title::after{will-change:transform,opacity}

/* ---------- Şerit: kanal seçici + emoji hizası ---------- */
html body #gameContainer .chat-chan{display:none}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-chan{position:relative;display:inline-flex;align-items:center;gap:5px;flex:none;height:28px;padding:0 10px 0 12px;border-radius:999px;border:0;background:var(--pt-gold-btn);color:#2a1d0c;font:700 11px var(--pt-ui);cursor:pointer;box-shadow:0 0 0 1px #1e1204}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-chan svg{width:11px;height:11px}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .chat-chan .chan-ping{position:absolute;top:-2px;right:-2px;width:8px;height:8px;border-radius:50%;background:#e2574c;box-shadow:0 0 0 2px #17120e}
html body #gameContainer #tableAll.bar #tableChat:not(.open) #chatTabs{display:none !important}
html body #gameContainer #tableAll.bar.tabs-open #tableChat:not(.open) #chatTabs{display:flex !important;flex-direction:column !important;position:absolute !important;left:44px;bottom:calc(100% + 8px);width:150px;padding:6px !important;gap:3px !important;border:2px solid transparent;border-radius:16px !important;background:linear-gradient(#1b1511,#1b1511) padding-box,var(--pt-gilt) border-box !important;box-shadow:0 20px 40px -14px rgba(0,0,0,.95) !important;z-index:40;overflow:visible !important}
html body #gameContainer #tableAll.bar.tabs-open #tableChat:not(.open) #chatTabs button{width:100% !important;text-align:left !important;padding:8px 12px !important;font-size:12px !important;border-radius:10px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-head{overflow:visible !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) #chatForm{display:flex !important;align-items:center !important;gap:6px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .emo-toggle{width:30px !important;height:30px !important;padding:0 !important;display:grid !important;place-items:center !important;margin:0 !important;position:static !important;transform:none !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .emo-toggle .ok101-emo,html body #gameContainer #tableAll.bar #tableChat:not(.open) .emo-toggle .emo-text{width:20px !important;height:20px !important;font-size:16px !important;margin:0 !important;display:block !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-form input{height:30px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-form button[type=submit]{height:30px !important;padding:0 14px !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .emoji-row{left:0 !important;right:auto !important;width:min(420px,90vw) !important}
html body #gameContainer #tableAll.bar #tableChat:not(.open) .table-chat-head .chat-chan{width:auto !important;min-width:78px !important;flex:none !important;justify-content:center}
