*{box-sizing:border-box}body{margin:0;background:#061c37;color:#f4f5fa;font-family:Arial,Helvetica,sans-serif;min-height:100vh;overflow-x:hidden}.topline{height:45px;background:#45227e;display:flex;align-items:center;justify-content:space-between;padding:3px 8px}.brand{display:flex;align-items:center;gap:7px;color:inherit;text-decoration:none;min-width:0}.brand>div:last-child{min-width:0}.brandmark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#fff,#e5c96e);color:#351d6a;font-size:24px;border:2px solid #ddd}.brand b{font-size:16px;display:block}.brand b span{color:#f2d27a}.brand small{display:block;font-weight:bold;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:bold}.tiny,.goldbtn,.redbtn,.bluebtn,.help{border:1px solid #ffffff55;border-radius:4px;padding:7px 9px;color:#fff;font-weight:bold;background:#555;cursor:pointer}.redbtn{background:#c81724}.goldbtn{background:#e5ad00;color:#241800}.bluebtn{background:#078cc5}.toolbar{height:66px;background:#050505;display:flex;align-items:center;gap:5px;padding:4px 7px}.welcome{display:flex;align-items:center;gap:7px;min-width:140px;font-size:12px}.welcome b,.welcome small{display:block}.welcome small{color:#a9bacb}.avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(145deg,#b07828,#171717);border:2px solid #888;display:grid;place-items:center;font-size:28px}.toolbtn{height:48px;min-width:43px;background:#058ab6;color:white;border:0;border-radius:5px;font-size:28px;font-weight:bold;cursor:pointer}.newroom{background:#bd1018;font-size:15px;line-height:16px;min-width:52px}.backbtn{background:#087c37;font-size:30px}
/* Düğme renkleri (11 Kasım 2026): Royal Blue, beyaz simge; ölçü, köşe ve işlev aynı */
#backLobby,#menuBtn,#notifBell,#lobbyChatForm>button:not(.emoji-btn){background:#305CDE;color:#fff}
#notifBell>span{filter:brightness(0) invert(1)}
.clock{background:#ef8a09;color:white;padding:5px;border-radius:5px;font-size:15px;font-weight:bold}.toolbar-spacer{flex:1}.broadcast{border:1px dashed #ddd;padding:8px;font-size:12px;text-align:center}.broadcast b{display:block}.help{background:#008fc1;font-size:28px}.tabs{height:31px;background:#262626;display:flex;align-items:center;gap:7px;padding:0 8px;border-bottom:2px solid #9d1520}.tab{background:#333;color:white;border:0;padding:6px 12px;font-size:15px;cursor:pointer}.tab.active{background:#555}.tab-spacer{flex:1}main{padding:0}.lobby-layout{height:calc(100vh - 142px);min-height:570px;display:grid;grid-template-columns:minmax(0,1fr) 310px;grid-template-rows:minmax(300px,1fr) 190px;background:#061d3b}.lobby-main{min-width:0;overflow:auto}.lobby-filter{height:40px;background:#c9c9c9;display:flex;align-items:center;gap:5px;padding:3px;color:#075}.lobby-filter>b{background:#087b48;color:#fff;font-size:25px;padding:3px 8px}.lobby-filter input{width:165px;max-width:35%;padding:7px;border:1px solid #aaa;font-size:13px}.filterbtn{background:#007fa9;color:#fff;border:0;border-radius:3px;padding:6px 13px;font-weight:bold}.room-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:3px;padding:2px}.room-card{height:184px;background:#06385f;border:2px solid #00182d;border-radius:9px;position:relative;padding:7px;display:grid;grid-template-columns:1fr 1.15fr;grid-template-rows:25px 1fr;gap:2px}.room-id{color:#ffca42;font-weight:bold}.room-info{grid-column:2;grid-row:1/3;font-size:13px;line-height:16px;border-left:1px solid #1a719b;padding-left:7px}.room-info em{color:#c9d9e6;font-style:normal}.room-players{grid-column:1;display:flex;align-items:center;justify-content:space-around;gap:4px;flex-wrap:wrap;font-size:12px}.room-players span{font-size:22px}.magnify{background:#0087b6;color:white;border:0;border-radius:4px;font-size:23px}.playroom{position:absolute;left:12px;top:65px;background:#f2bf00;color:#151515;border:1px solid #a87a00;border-radius:5px;padding:7px 14px;font-weight:bold;cursor:pointer}.playroom:disabled{opacity:.55}.rightbar{grid-column:2;grid-row:1/3;background:#dedede;color:#111;border-left:3px solid #777;overflow:hidden;display:flex;flex-direction:column}.right-tabs{height:39px;background:#555;color:#fff;display:flex;justify-content:space-around;align-items:center;font-size:12px}.usersearch{margin:5px;padding:7px;border:1px solid #aaa}.user-list{overflow:auto}.user-row{height:67px;background:#f9f9f9;border:1px solid #999;box-shadow:0 1px 4px #777;display:flex;align-items:center;gap:9px;padding:5px;color:#222}.user-avatar{width:48px;height:48px;border-radius:50%;background:#164b71;border:2px solid #e7b2dd;display:grid;place-items:center;color:white;font-size:23px}.user-row small{display:block;color:#555;margin-top:5px}.user-row>span{margin-left:auto;color:#168e3a}.lobby-chat{grid-column:1;grid-row:2;background:#f6fbff;color:#c21d1d;display:flex;flex-direction:column;border-top:2px solid #aaa}.chatlog{flex:1;overflow:auto;padding:6px;font-family:Georgia,serif;font-size:15px}.chatlog p{margin:4px 0}.lobby-chat form{display:flex;border-top:1px solid #aaa;padding:3px}.lobby-chat input{flex:1;padding:7px;border:1px solid #aaa}.lobby-chat button{background:#078dbb;color:#fff;border:0;padding:0 17px;font-size:20px}.modal{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:16px;z-index:20}.modalbox{width:min(500px,100%);background:#f4f8fa;color:#111;border:1px solid #b9c3c8;border-radius:9px;box-shadow:0 18px 60px #0009;padding:9px;font-family:Georgia,serif}.modalhead{display:flex;justify-content:space-between;align-items:center;font-size:20px;padding:0 3px 8px;border-bottom:1px solid #9aa5aa}.xbtn{background:#171717;color:white;border:0;border-radius:5px;font-size:23px;width:31px;height:31px;cursor:pointer}.checkrow{display:flex;align-items:center;gap:9px;padding:9px 3px;border-bottom:1px solid #aeb8bd;font-size:17px;font-weight:bold}.checkrow input[type=checkbox],.toggles input{width:16px;height:16px;margin:0;accent-color:#1687e8}.optionrow{display:grid;grid-template-columns:112px 1fr;align-items:center;gap:8px;padding:7px 3px;font-size:17px;font-weight:bold}.optionrow select{width:100%;margin:0;background:#fff;color:#111;border:1px solid #c4cbd0;border-radius:5px;padding:7px 9px;font-size:16px;font-weight:bold}.separated{border-top:1px solid #aeb8bd;margin-top:7px;padding-top:12px}.toggles{display:flex;justify-content:space-between;gap:10px;padding:12px 4px;border-top:1px solid #aeb8bd;border-bottom:1px solid #aeb8bd;font-size:16px;font-weight:bold}.toggles label{color:#111;display:flex;align-items:center;gap:7px;font-size:16px}.passwordrow{border:0;flex-wrap:wrap}.passwordrow input[type=password]{flex:1;min-width:130px;margin:0;background:white;color:#111;border:1px solid #c4cbd0;padding:8px}.modalactions{display:flex;justify-content:flex-end;gap:7px;padding:8px 2px 1px}.modalactions button{padding:10px 16px}.modal .secondary{background:#333;color:white}.modal .primary{background:#079447;color:white}.modal.hidden{display:none!important}.hidden{display:none!important}.game-section{padding:12px;max-width:1150px;margin:auto}.gamebar{display:flex;justify-content:space-between;margin-bottom:12px}.gamebar small{display:block;color:#aaa}.table{height:530px;position:relative;background:radial-gradient(ellipse,#176342,#0b402d 70%,#08291e);border:10px solid #503c25;border-radius:48%;box-shadow:inset 0 0 0 3px #b48a4d}.felt{position:absolute;inset:27% 32%;display:flex;align-items:center;justify-content:center;flex-direction:column}.trick{display:flex;gap:9px;margin:18px}.trick span{width:45px;height:64px;border-radius:6px;background:#f6f0df;color:#183024;display:grid;place-items:center;font-size:25px}.seat{position:absolute;text-align:center;background:#061d3b;color:#fff;padding:9px 16px;border:2px solid #d5b66b;border-radius:10px;min-width:110px}.seat small{display:block;color:#bbb}.top{top:10px;left:50%;transform:translateX(-50%)}.bottom{bottom:85px;left:50%;transform:translateX(-50%)}.left{left:10px;top:45%}.right{right:10px;top:45%}.hand{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);display:flex;max-width:90%;overflow:auto}.card{width:48px;height:70px;background:#fff;color:#111;border:1px solid #bbb;border-radius:5px;margin-left:-10px;display:flex;flex-direction:column;justify-content:space-between;padding:5px;font-weight:bold;cursor:pointer}.card.red{color:#c00}.card:disabled{opacity:.55}.gameactions{display:flex;gap:15px;align-items:center;margin:12px 0}.chat{max-width:600px;margin:15px auto;background:#fff;color:#111;padding:10px}.chat #messages{height:75px;overflow:auto}.chat form{display:flex;gap:6px}.chat input{flex:1;padding:9px}.chat form button{padding:8px 15px}.primary,.secondary{border:0;border-radius:5px;padding:11px 16px;font-weight:bold;cursor:pointer}.primary{background:#079447;color:#fff}.secondary{background:#444;color:#fff}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#e5c77d;color:#14271e;padding:12px 20px;border-radius:8px;opacity:0;z-index:40}#toast.show{opacity:1}
@media(max-width:900px){.lobby-layout{grid-template-columns:minmax(0,1fr) 220px}.room-grid{grid-template-columns:repeat(2,minmax(190px,1fr))}.account .tiny:nth-of-type(2),.account .tiny:nth-of-type(3){display:none}.toolbar .goldbtn,.toolbar .redbtn,.toolbar .bluebtn,.broadcast{display:none}}
@media(max-width:620px){.topline{height:42px}.toolbar{height:58px;gap:3px}.welcome{min-width:80px;font-size:10px}.avatar{width:38px;height:38px}.toolbtn{min-width:35px;height:42px;font-size:22px}.clock{display:none}.lobby-layout{height:auto;min-height:calc(100vh - 131px);grid-template-columns:1fr;grid-template-rows:minmax(360px,1fr) 150px 220px}.lobby-main{grid-column:1;grid-row:1}.rightbar{grid-column:1;grid-row:3;border-left:0;border-top:2px solid #777}.lobby-chat{grid-column:1;grid-row:2}.room-grid{grid-template-columns:1fr}.room-card{height:150px}.account{font-size:10px}.account>span{display:none}.room-grid .room-card:nth-child(n+4){display:none}.table{height:470px;border-radius:30%}.seat{min-width:75px;padding:6px;font-size:11px}.card{width:36px;height:58px;margin-left:-17px}.hand{max-width:98%}}


/* Batak.Net-inspired table layout and supplied card artwork */
.game-section{max-width:none;width:100%;padding:10px 18px 18px}
.gamebar{max-width:1500px;margin:0 auto 10px}
.table{
  width:100%;max-width:1500px;height: min(650px, calc(100vh - 250px));min-height:520px;
  margin:0 auto;position:relative;overflow:hidden;border:0;border-radius:8px;
  background:radial-gradient(ellipse at center,#08254a 0%,#061a36 72%,#04142b 100%);
  box-shadow:inset 0 0 0 1px #173b63;
}
.felt{inset:0;pointer-events:none;display:block}
.trump{position:absolute;top:30%;left:50%;transform:translateX(-50%);font-size:17px;font-weight:bold;color:#fff}
.trick{position:absolute;inset:0;margin:0;display:block}
.played-card{position:absolute;left:50%;top:51%;width:112px;height:163px;transform:translate(-50%,-50%);z-index:3;filter:drop-shadow(0 5px 7px #0009)}
.played-card img{display:block;width:100%;height:100%;object-fit:contain}
.played-0{top:69%}
.played-1{left:40%;top:50%}
.played-2{top:29%}
.played-3{left:60%;top:50%}
#score{position:absolute;top:76%;left:50%;transform:translateX(-50%);font-size:15px;font-weight:bold;color:#fff}
.seat{min-width:150px;padding:10px 16px;background:#061b38;border:2px solid #9c1b2b;border-radius:12px;box-shadow:0 2px 10px #0005;font-size:15px;z-index:5}
.seat small{color:#c9d6e6}
.top{top:14px}
.bottom{bottom:155px}
.left{left:16px;top:38%}
.right{right:16px;top:38%}
.hand{
  bottom:10px;left:50%;transform:translateX(-50%);max-width:96%;width:max-content;
  overflow:visible;display:flex;align-items:flex-end;justify-content:center;padding:0 20px 4px;
  z-index:8;
}
.card-image{
  width:88px;height:128px;flex:0 0 88px;padding:0;margin-left:-17px;
  border:1px solid #b9b9b9;border-radius:5px;background:#fff;overflow:hidden;
  cursor:pointer;box-shadow:0 2px 5px #0008;transition:transform .12s ease,margin .12s ease;
}
.card-image:first-child{margin-left:0}
.card-image img{width:100%;height:100%;object-fit:fill;display:block}
.card-image:hover:not(:disabled){transform:translateY(-13px);z-index:12}
.card-image:disabled{cursor:default;opacity:1}
.card-image:disabled img{filter:none}
.gameactions{max-width:1500px;margin:10px auto;min-height:36px}
.chat{max-width:700px;margin:10px auto}
#status{color:#d7e4f2}
@media(max-width:900px){
 .game-section{padding:8px}
 .table{height:560px;min-height:500px}
 .card-image{width:68px;height:100px;flex-basis:68px;margin-left:-21px}
 .played-card{width:90px;height:132px}
 .seat{min-width:110px;font-size:12px;padding:7px}
 .bottom{bottom:130px}
}
@media(max-width:620px){
 .game-section{padding:5px}
 .table{height:calc(100vh - 230px);min-height:490px;border-radius:5px}
 .card-image{width:clamp(38px,8vw,56px);height:clamp(58px,12vw,82px);flex-basis:clamp(38px,8vw,56px);margin-left:-16px}
 .hand{max-width:100%;padding:0 5px 4px}
 .played-card{width:72px;height:106px}
 .seat{min-width:78px;padding:5px;font-size:11px}
 .left{left:5px}.right{right:5px}.bottom{bottom:105px}
 .trump{top:32%}
}

/* Hesap, lobi hareketleri ve kalıcı skor panelleri */
.account-gate{position:fixed;inset:0;z-index:10000;background:rgba(5,18,14,.94);display:grid;place-items:center;padding:18px}.account-box{width:min(420px,100%);background:#102c23;border:1px solid #b58a3b;border-radius:16px;padding:28px;color:#f4f0df;box-shadow:0 18px 60px #0009;text-align:center}.account-box h2{margin:8px 0}.account-box h2 span{color:#d7ad55}.account-box input{box-sizing:border-box;width:100%;padding:13px;margin:7px 0;border-radius:8px;border:1px solid #547265;background:#071b15;color:white}.auth-actions{display:flex;gap:10px;margin-top:12px}.auth-actions button{flex:1;padding:12px}.account-box small{display:block;color:#ffb1a9;margin-top:10px;min-height:18px}.lobby-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;padding:0 12px}.lobby-insights>div{background:#10291f;border:1px solid #42614c;border-radius:10px;padding:12px;color:#eee;min-width:0}.lobby-insights>div>b{display:block;color:#e3bd6b;margin-bottom:8px}.insight-row{font-size:12px;padding:5px 0;border-bottom:1px solid #ffffff18;overflow-wrap:anywhere}.insight-row:last-child{border:0}.insight-muted{color:#a9b8ad;font-size:12px}.locked>*:not(#accountGate){pointer-events:none}@media(max-width:800px){.lobby-insights{grid-template-columns:1fr}.account-box{padding:22px}}

.lobby-stats{background:#0a2f52;color:#cfe3f3;font-size:12px;padding:5px 9px;border-bottom:1px solid #1a719b}
.empty-tables{grid-column:1/-1;padding:24px;text-align:center;color:#9fb6c9;font-size:14px}
.chat-line{margin:3px 0;word-break:break-word}.chat-line b{color:#0b5d86}.chat-line small{color:#889;font-size:11px}
.bot-tag{display:inline-block;background:#8a3ffc;color:#fff;font-size:10px;font-weight:bold;line-height:1.5;padding:0 5px;border-radius:7px;vertical-align:middle;letter-spacing:.3px}
.chat-line.bot-line b{color:#8a3ffc}.chat-line.bot-line .mtext{color:#5a3a8a}.user-row.bot-row{cursor:default}.user-row.bot-row .unick{color:#8a3ffc}
.chat-line.announce{background:#fff3c4;border-left:4px solid #e5ad00;padding:3px 6px;color:#6b4a00}.chat-line.announce b{color:#a35a00}
.room-players b{line-height:1.3}
@media(max-width:620px){.room-grid .room-card:nth-child(n+4){display:grid}.room-card{height:auto;min-height:150px}}

/* ---- Giriş sayfası ---- */
.pending>*{visibility:hidden}
body.guest .topline,body.guest .toolbar,body.guest .tabs,body.guest main{display:none!important}
body:not(.guest) #loginPage{display:none}
#loginPage{min-height:100vh;display:flex;flex-direction:column;background:#dfe3e8;color:#222}
.lp-head{background:#45227e;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:6px 14px;gap:8px;flex-wrap:wrap}
.lp-tabs{display:flex;gap:6px}
.lp-tab{border:1px solid #ffffff66;border-radius:4px;padding:8px 12px;color:#fff;font-weight:bold;cursor:pointer;opacity:.75}
.lp-tab.green{background:#21a52b}.lp-tab.red{background:#d9202c}.lp-tab.on{opacity:1;box-shadow:0 0 0 2px #fff6}
.lp-body{flex:1;display:flex;justify-content:center;align-items:flex-start;padding:22px 12px}
.lp-card{width:min(500px,100%);background:#fff;border:1px solid #bbb;border-radius:8px;box-shadow:0 2px 8px #0003;padding:20px 26px 18px;display:flex;flex-direction:column;gap:9px}
.lp-icon{text-align:center;font-size:44px;border-bottom:1px solid #bbb;padding-bottom:10px;margin-bottom:4px}
.lp-card input:not([type=checkbox]){padding:10px;border:1px solid #b9c4d6;background:#e8f0fe;border-radius:3px;font-size:15px;color:#111;width:100%}
.lp-captcha{display:flex;align-items:center;gap:8px}.lp-captcha input{flex:1;min-width:0;background:#fff!important;border:2px solid #222!important}
.lp-captcha img{border:1px solid #ccc;border-radius:3px;background:#f1f1f1}
.lp-refresh{width:38px;height:38px;border-radius:50%;border:0;background:#1e9ad6;color:#fff;font-size:22px;cursor:pointer}
.lp-check{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:bold;font-size:15px}
.lp-check a{color:#0b5d86}
.lp-submit{background:#21a52b;color:#fff;border:0;border-radius:4px;padding:12px;font-size:15px;font-weight:bold;cursor:pointer}
.lp-submit:disabled{opacity:.6}
.lp-error{color:#c0182a;font-weight:bold;min-height:16px;text-align:center}
.lp-links{display:flex;justify-content:center;gap:6px;border-top:1px solid #bbb;padding-top:12px;margin-top:2px}
.lp-links button{background:#e2e2e2;border:1px solid #ccc;border-radius:3px;padding:8px 10px;font-weight:bold;cursor:pointer;color:#222}
.lp-foot{background:#22272e;color:#c9d6e4;text-align:center;padding:12px;font-weight:bold;font-size:13px}
#loginPage .modalbox,#docModal .modalbox{max-height:80vh;display:flex;flex-direction:column}
.docbody{overflow:auto;padding:10px 4px;font-family:Arial,sans-serif;font-size:14px;line-height:1.5}.docbody li{margin-bottom:8px}

/* ---- Rumuzlar, favoriler, özel mesaj, smiley ---- */
.right-tabs{display:flex}
.rtab{flex:1;height:39px;background:#555;color:#fff;border:0;border-right:1px solid #333;font-size:15px;font-weight:bold;cursor:pointer;position:relative}
.rtab.on{background:#111;box-shadow:inset 0 -3px 0 #e5ad00}
.badge{background:#d9202c;color:#fff;border-radius:10px;font-size:11px;padding:1px 6px;font-weight:bold}
.badge.hidden{display:none}
.user-row{height:auto;min-height:58px}
.user-meta{flex:1;min-width:0}.user-meta b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-actions{display:flex;gap:2px}
.ua{background:none;border:0;font-size:20px;cursor:pointer;padding:4px;border-radius:4px}.ua:hover{background:#0001}
.user-row .dot.off{color:#999}.user-row.conv{cursor:pointer}
.insight-muted.pad{padding:12px;color:#555;font-size:13px}
.nick-click{cursor:pointer}.nick-click:hover{text-decoration:underline}
.emoji-btn{background:#f1c40f!important;color:#222!important;font-size:18px!important;padding:0 10px!important}
.emoji-picker{position:fixed;z-index:60;width:264px;background:#fff;border:1px solid #888;border-radius:8px;box-shadow:0 6px 20px #0006;padding:6px;display:flex;flex-wrap:wrap;gap:2px}
.emoji-picker button{width:36px;height:34px;border:0;background:none;font-size:22px;cursor:pointer;border-radius:4px}.emoji-picker button:hover{background:#e3eefc}
/* Resimli sohbet emojileri (public/emoji.js). Sohbette sabit 28px yükseklik: GIF yüklenince satır kaymaz. */
.emj{display:inline-block;vertical-align:middle;height:28px;width:auto;max-width:112px;object-fit:contain;margin:0 1px;border:0}
.emjt{overflow-wrap:anywhere}
.emoji-picker{width:min(352px,calc(100vw - 8px));padding:0;gap:0;flex-direction:column;flex-wrap:nowrap;overflow:hidden}
.emoji-picker .ep-tabs{display:flex;gap:4px;overflow-x:auto;overflow-y:hidden;padding:5px;background:#f2eef9;border-bottom:1px solid #ccc;flex:none;scrollbar-width:thin}
.emoji-picker .ep-tabs button{flex:none;width:auto;height:30px;font-size:13px;font-weight:600;padding:0 11px;border-radius:15px;white-space:nowrap;color:#45227e;background:#fff;border:1px solid #d6cdea}
.emoji-picker .ep-tabs button.on{background:#45227e;color:#fff;border-color:#45227e}
.emoji-picker .ep-body{height:min(250px,42vh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;
  display:flex;flex-wrap:wrap;align-content:flex-start;gap:2px;padding:6px}
.emoji-picker .ep-body button.ei{width:48px;height:48px;padding:2px;display:flex;align-items:center;justify-content:center}
.emoji-picker .ep-body button.ei img{max-width:44px;max-height:44px;object-fit:contain;pointer-events:none}
.chat form,.lobby-chat form{align-items:stretch}
.pm-panel{position:fixed;right:12px;bottom:12px;width:min(340px,calc(100vw - 24px));height:min(380px,60vh);background:#fff;color:#111;border:1px solid #555;border-radius:8px;box-shadow:0 8px 28px #0007;z-index:50;display:flex;flex-direction:column;overflow:hidden}
.pm-head{background:#45227e;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:7px 10px}
.pm-head button{background:none;border:0;color:#fff;font-size:20px;cursor:pointer}
.pm-log{flex:1;overflow:auto;padding:8px;font-size:14px;background:#f4f7fb}
.pm-line{margin:4px 0;word-break:break-word}.pm-line b{color:#0b5d86}.pm-line.mine b{color:#a30f1e}.pm-line small{color:#889;font-size:11px}
.pm-panel form{display:flex;border-top:1px solid #aaa}.pm-panel input{flex:1;min-width:0;padding:9px;border:0;font-size:14px}
.pm-panel form button{border:0;background:#078dbb;color:#fff;padding:0 14px;font-size:18px;cursor:pointer}

/* ---- Sağ tık menüsü ve yönetim ---- */
.ctx-menu{position:fixed;z-index:80;min-width:190px;background:#fff;color:#111;border:1px solid #666;border-radius:8px;box-shadow:0 8px 24px #0006;padding:4px;display:flex;flex-direction:column;max-height:calc(100vh - 8px);max-height:calc(100dvh - 8px);overflow-y:auto;overscroll-behavior:contain}
.ctx-menu.hidden{display:none}
.ctx-head{font-weight:bold;padding:6px 10px;border-bottom:1px solid #ddd;margin-bottom:3px;color:#45227e}
.ctx-menu button{background:none;border:0;text-align:left;padding:8px 10px;font-size:14px;cursor:pointer;border-radius:5px;color:#111}
.ctx-menu button:hover{background:#e3eefc}
.ctx-sep{height:1px;background:#ddd;margin:4px 0}
.pn{cursor:context-menu}.pn:hover{text-decoration:underline}
.chat-line.system{color:#5a6570;font-style:italic;background:#eef2f6;padding:2px 6px;border-radius:3px}
.modform .optionrow input{width:100%;padding:8px;border:1px solid #c4cbd0;border-radius:5px;background:#fff;color:#111;font-size:15px}
.boxtext{padding:12px 6px;font-size:16px;line-height:1.4;word-break:break-word}

/* Kart grupları arasında küçük boşluk */
.card-image.suit-gap{margin-left:14px}

/* ===== Telefon düzeni (iPhone/Android): solda masalar+sohbet, sağda rumuzlar (Batak.Net gibi) ===== */
@media(max-width:900px){
 html{-webkit-text-size-adjust:100%}
 .lobby-layout{
  display:grid;height:calc(100vh - 170px);height:calc(100dvh - 170px);min-height:420px;
  grid-template-columns:minmax(0,1fr) clamp(138px,38vw,200px);
  grid-template-rows:minmax(0,1fr) minmax(130px,38%)}
 .lobby-main{grid-column:1;grid-row:1;overflow-y:auto;-webkit-overflow-scrolling:touch}
 .lobby-chat{grid-column:1;grid-row:2;min-height:0;overflow:hidden}
 .lobby-chat .chatlog{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;font-size:13px;padding:4px 6px}
 .rightbar{grid-column:2;grid-row:1/3;border-left:2px solid #777;border-top:0;min-height:0;overflow:hidden}
 .rightbar .rlist,.rightbar [id$="List"],.rightbar .rbody{overflow-y:auto;-webkit-overflow-scrolling:touch}
 .room-grid{grid-template-columns:1fr;gap:4px}
 .room-grid .room-card,.room-grid .room-card:nth-child(n+4){display:grid}
 .room-card{height:auto;min-height:120px;font-size:12px}
 .user-row{min-height:48px;padding:3px 5px;gap:5px;font-size:13px}
 .user-row .avatar,.user-row img{width:30px;height:30px}
 .rtab{height:34px;font-size:13px}
 /* iOS'ta yazı kutusuna dokununca sayfa zoom yapmasın */
 input,select,textarea{font-size:16px}
 .lobby-chat input{padding:6px}
}
@media(max-width:900px) and (orientation:landscape){
 .lobby-layout{height:calc(100dvh - 110px);min-height:260px}
}

/* ===== İhale, koz seçimi, puan tablosu ===== */
.seat.turn{border-color:#f2c230;box-shadow:0 0 0 2px #f2c23055,0 2px 10px #0005}
.dchip{display:inline-block;min-width:16px;height:16px;line-height:16px;border-radius:8px;background:#f2c230;color:#111;font-size:10px;font-weight:bold;text-align:center;margin-left:4px;vertical-align:middle}
.contractinfo{position:absolute;top:38%;left:50%;transform:translateX(-50%);font-size:14px;font-weight:bold;color:#f2c230;white-space:nowrap}
.scoreboard{position:absolute;top:8px;left:8px;z-index:6;min-width:120px;background:#061b38cc;border:1px solid #1d4f7c;border-radius:8px;padding:6px 8px;font-size:12px}
.scoreboard b{display:block;margin-bottom:3px;color:#f2c230;font-size:12px}
.sbrow{display:flex;justify-content:space-between;gap:12px;padding:1px 0}
.sbrow.me{color:#ffe08a;font-weight:bold}
.bidpanel,.dealpanel{position:absolute;left:50%;top:53%;transform:translate(-50%,-50%);z-index:12;background:#061b38f2;border:2px solid #f2c230;border-radius:12px;padding:12px 14px;text-align:center;box-shadow:0 8px 30px #000a;max-width:94%}
.bidpanel.hidden,.dealpanel.hidden{display:none}
.bidpanel small{display:block;margin-top:6px;color:#c9d6e6}
.bidrow{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:8px}
.bidbtn{min-width:42px;height:38px;border:0;border-radius:7px;background:#0a8cc0;color:#fff;font-size:17px;font-weight:bold;cursor:pointer}
.bidbtn:hover{background:#12a5df}
.bidbtn.pass{background:#9c1b2b;padding:0 14px}
.bidbtn.suit{min-width:58px;height:52px;font-size:30px;background:#f4f5fa;color:#111}
.bidbtn.suit.red{color:#d11a2a}
.dealpanel{min-width:300px}
.dhead{margin:6px 0 8px;font-size:14px}
.dhead.good{color:#6ee08b}.dhead.bad{color:#ff7b7b}
.drow{display:grid;grid-template-columns:1.6fr .6fr .7fr .8fr;gap:6px;padding:3px 0;font-size:13px;text-align:right}
.drow span:first-child{text-align:left}
.drow.dh{color:#9fb6cf;border-bottom:1px solid #1d4f7c;font-size:12px}
.drow.me{color:#ffe08a;font-weight:bold}
.card-image.dim{opacity:.45;filter:grayscale(.4);cursor:not-allowed}
@media(max-width:620px){
 .scoreboard{min-width:96px;font-size:10px;padding:4px 6px;top:4px;left:4px}
 .contractinfo{font-size:12px;top:36%}
 .bidpanel,.dealpanel{top:46%;padding:9px 10px}
 .bidbtn{min-width:36px;height:34px;font-size:15px}
 .dealpanel{min-width:250px}
 .drow{font-size:12px}
}
@media(max-width:620px){
 .card-image.suit-gap{margin-left:-7px}
 .hand{padding:0 2px 4px}
}
@media(min-width:621px) and (max-width:900px){
 .card-image.suit-gap{margin-left:-6px}
}

/* ===== Oto pilot ===== */
.autopilot{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #ffffff55;border-radius:6px;background:#333;color:#fff;font-weight:bold;font-size:13px;cursor:pointer;user-select:none;vertical-align:middle}
.autopilot input{width:16px;height:16px;margin:0;cursor:pointer}
.autopilot.on{background:#1f7a3a;border-color:#6ee08b}
.autopilot.hidden{display:none}

/* Lobideyken arkada süren masa */
.tab.live{background:#1f7a3a;color:#fff;animation:tablive 1.6s ease-in-out infinite}
@keyframes tablive{50%{background:#2fa352}}

/* Profil penceresi */
.prof-grid{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;padding:4px 2px}
.prof-grid span{opacity:.75}

/* Lobi sohbeti: @rumuz, kilit, geçmiş */
.chat-line .at{color:#0a6fb5}
.chat-line.mention{background:#fff3c4;border-left:3px solid #f2c230;padding-left:4px}
/* Sistem satırları: salona giriş + oyun sonucu (lobby-client.js sysLine) */
.chat-line.sys-join{color:#2f6b3a;font-size:.93em}.chat-line.sys-join b{color:#1e5a2a}
.chat-line.sys-result{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;padding:4px 8px;border-radius:6px;background:linear-gradient(90deg,#eaf6ec,#f7fbf7);border-left:4px solid #2e9e48}
.chat-line.sys-result .sr-h{font-weight:bold;color:#1d6e31}
.chat-line.sys-result .sr-i{white-space:nowrap}.chat-line.sys-result .sr-i i{font-style:normal;color:#667;margin-right:3px}
.chat-line.sys-result .sr-p{margin-left:4px;font-weight:bold;color:#1d6e31}.chat-line.sys-result .sr-p.neg{color:#b3261e}
.chat-line.sys-result .sr-1 b{text-decoration:underline dotted}
#lobbyChatForm.locked input{background:#f6e7e7}
#lobbyChatInput:disabled{cursor:not-allowed}
.histbox{width:min(640px,94vw)}
.histmore{width:100%;margin:6px 0}
.hist-log{max-height:60vh;overflow-y:auto;font-size:13px;line-height:1.45}
.hist-line{padding:2px 0;border-bottom:1px solid #0001;word-break:break-word}
.hist-line small{opacity:.6}
.hist-line.deleted{opacity:.6}.hist-line.deleted span{text-decoration:line-through}.hist-line em{color:#c33;font-size:12px}


/* ===== ☰ Kayan menü ===== */
.side-menu{position:fixed;inset:0;z-index:70;pointer-events:none}
.sm-backdrop{position:absolute;inset:0;background:#0008;opacity:0;transition:opacity .2s}
.sm-panel{position:absolute;top:0;left:0;bottom:0;width:min(290px,84vw);background:#0b1f3a;color:#f4f5fa;box-shadow:4px 0 24px #000a;transform:translateX(-102%);transition:transform .22s ease;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
.side-menu.open{pointer-events:auto}
.side-menu.open .sm-backdrop{opacity:1}
.side-menu.open .sm-panel{transform:none}
.sm-head{display:flex;align-items:center;gap:10px;background:#45227e;padding:12px 10px;padding-top:max(12px,env(safe-area-inset-top))}
.sm-head .avatar{width:42px;height:42px;font-size:22px;flex:0 0 42px}
.sm-head b{display:block;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-head small{color:#d8cdf0;font-size:12px}
.sm-head>div:nth-child(2){flex:1;min-width:0}
.sm-x{background:none;border:0;color:#fff;font-size:30px;width:40px;height:40px;cursor:pointer}
.sm-list{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 0}
.sm-list button,.sm-list a{display:block;width:100%;text-align:left;background:none;border:0;color:#f4f5fa;font-size:16px;padding:13px 18px;cursor:pointer;text-decoration:none;font-family:inherit}
.sm-list button:hover,.sm-list a:hover,.sm-list button:active,.sm-list a:active{background:#ffffff14}
.sm-list .hidden{display:none}
.sm-hot{color:#ffd35a!important;font-weight:bold}
.sm-out{color:#ff8a8a!important;font-weight:bold}
.sm-sep{height:1px;background:#ffffff22;margin:5px 14px}
.menubtn{background:#078cc5 ;color:#ffffff}
button,a,.rtab,.card-image{touch-action:manipulation}

/* ===== Tablet / telefon: fazla düğmeler menüye taşındı ===== */
@media(max-width:900px){
 .toolbar .tb-extra,#adminLink,.toolbar .help{display:none!important}
 .toolbar{overflow:hidden}
 .welcome{min-width:0;flex:0 1 auto}
 .welcome>div:last-child{min-width:0;overflow:hidden}
 .welcome b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}
 .menubtn{order:-1;min-width:46px;font-size:26px}
 .toolbar-spacer{display:none}
}
@media(max-width:480px){
 .topline{padding:3px 6px}
 .brand small{font-size:9px}
 .account .tiny:not(#logout){display:none}
 .toolbar .avatar{display:none}
 .welcome{font-size:11px}
 .gamebar{flex-wrap:wrap;gap:6px}
 .gamebar>div:last-child{display:flex;flex-wrap:wrap;gap:5px}
 .gamebar button,.autopilot{padding:7px 9px;font-size:12px}
 .gameactions{flex-wrap:wrap;gap:8px}
 .chat{margin:8px 4px}
 .pm-panel{right:6px;bottom:6px;width:calc(100vw - 12px);height:min(420px,65vh)}
 .modalbox{max-height:92vh;overflow-y:auto}
}

/* ===== Giriş sayfası: SEO bölümü ===== */
.lp-body{flex-direction:column;align-items:center;justify-content:flex-start;gap:18px}
.lp-seo{width:min(760px,100%);background:#fff;border:1px solid #c6ccd4;border-radius:8px;padding:16px 20px;color:#333;font-size:14px;line-height:1.55}
.lp-seo h1{font-size:20px;margin:0 0 8px;color:#45227e}
.lp-seo p{margin:0 0 8px}
.lp-seo a{color:#0b5d86}
.lp-seolinks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.lp-seolinks a{background:#eef1f6;border:1px solid #cdd4de;border-radius:14px;padding:6px 12px;text-decoration:none;font-weight:bold;font-size:13px}
.lp-seolinks a:hover{background:#45227e;color:#fff}
.lp-foot a{color:#c9d6e4}
@media(max-width:480px){.lp-card{padding:16px 14px}.lp-seo{padding:14px}.lp-captcha img{width:110px;height:auto}}
/* telefon ince ayarları */
.lobby-chat input,.chat input{min-width:0}
@media(max-width:620px){.toolbar .newroom{font-size:13px;line-height:14px;min-width:48px}}
/* ===== Masa kartları (örnek resimdeki düzen): sahip üstte, sol/sağ/alt koltuk, ortada büyüteç ===== */
.room-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:4px;padding:3px;background:#000}
.tcard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 46%;min-height:190px;background:#06385f;border:2px solid #00182d;border-radius:10px;overflow:hidden}
.tc-table{position:relative;display:grid;grid-template-columns:1fr 64px 1fr;grid-template-rows:auto 1fr auto;align-items:center;justify-items:center;padding:6px 4px 8px;border-right:2px solid #00182d;min-width:0}
.tc-code{position:absolute;top:5px;left:8px;color:#ffca42;font-weight:bold;font-size:13px}
.tc-pos-top{grid-column:1/4;grid-row:1}
.tc-pos-left{grid-column:1;grid-row:2}
.tc-pos-right{grid-column:3;grid-row:2}
.tc-pos-bottom{grid-column:1/4;grid-row:3}
.tc-mid{grid-column:2;grid-row:2}
.tc-p{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:100%;min-width:0;font-size:14px;color:#fff}
.tc-p .nm{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:15px;background:#c9d4de;box-shadow:0 1px 3px #0008}
.tc-host .tc-av{background:#f2c230}
.tc-p.bot{color:#b9cbdb}
.tc-sit{background:linear-gradient(#ffd23a,#e2a400);color:#151515;border:1px solid #9b6f00;border-radius:4px;padding:5px 11px;font-weight:bold;font-size:14px;cursor:pointer;white-space:nowrap;box-shadow:0 1px 2px #0008}
.tc-sit:hover{filter:brightness(1.08)}
.tc-p.bot .tc-sit{padding:2px 8px;font-size:12px}
.tc-empty{color:#7f9bb3;font-size:12px}
.tc-watch{width:48px;height:48px;border:2px solid #9fd6f0;border-radius:6px;background:linear-gradient(#22a9de,#0b77ad);font-size:24px;cursor:pointer;display:grid;place-items:center;box-shadow:0 1px 4px #0009}
.tc-watch:hover:not(:disabled){filter:brightness(1.12)}
.tc-watch:disabled{filter:grayscale(1);opacity:.45;cursor:not-allowed}
.tc-watch.adm{border-color:#f2c230}
.tc-info{position:relative;padding:8px 8px 8px 10px;font-size:13px;line-height:1.4;color:#fff;min-width:0;overflow:hidden}
.tc-info div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-fast{position:absolute;top:4px;right:6px;font-size:20px;color:#ffd800}
.tcard.playing .tc-state{color:#9be7ad}
.specbadge{display:inline-block;background:#078cc5;color:#fff;font-weight:bold;font-size:12px;border-radius:6px;padding:6px 10px;vertical-align:middle}
#chatform.hidden{display:none}
@media(max-width:900px){.room-grid{grid-template-columns:1fr}.tcard{min-height:170px}.tc-p{font-size:13px}.tc-info{font-size:12px}}
@media(max-width:620px){
 .tcard{grid-template-columns:minmax(0,1fr) 40%;min-height:160px}
 .tc-table{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);padding:18px 2px 6px}
 .tc-watch{width:38px;height:38px;font-size:19px}
 .tc-p{font-size:11px}.tc-av{width:22px;height:22px;font-size:13px}
 .tc-sit{padding:3px 7px;font-size:12px}
 .tc-info{font-size:10.5px;padding:6px 4px 6px 6px;line-height:1.35}
 .tc-fast{font-size:15px;top:2px;right:3px}
 .tc-code{font-size:11px;top:3px;left:5px}
}
/* ===== Eşli oyun: takım etiketleri ===== */
.tchip{display:inline-block;min-width:20px;padding:0 4px;height:16px;line-height:16px;border-radius:8px;font-size:10px;font-weight:bold;text-align:center;vertical-align:middle;color:#fff}
.tchip.t0{background:#c0392b}.tchip.t1{background:#1f6fd1}
.sbrow.sbsub{color:#9fb6cf;border-top:1px solid #1d4f7c;margin-top:3px;padding-top:3px}
/* ===== Avatar: kayıt/avatar seçici, resimli avatarlar ===== */
.av-pick{display:flex;flex-direction:column;gap:8px;padding:2px 0}
.av-pick.hidden{display:none}
.av-gender{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.av-gender button{padding:10px;border:2px solid #b9c4d6;border-radius:6px;background:#f3f6fb;color:#222;font-size:15px;font-weight:bold;cursor:pointer;font-family:Arial,Helvetica,sans-serif}
.av-gender button[data-g=k].on{border-color:#d63384;background:#fde7f1;color:#a3155d}
.av-gender button[data-g=e].on{border-color:#1e7ad6;background:#e3f0fd;color:#0d4f94}
.av-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;min-height:52px;align-items:center}
.av-hint{color:#666;font-size:13px;font-family:Arial,Helvetica,sans-serif}
.av-opt{width:52px;height:52px;padding:0;border:3px solid transparent;border-radius:50%;background:none;cursor:pointer;overflow:hidden;flex:0 0 auto}
.av-opt img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.av-opt.on{border-color:#21a52b;box-shadow:0 0 0 2px #21a52b55}
.av-opt:focus-visible,.av-gender button:focus-visible{outline:2px solid #1e9ad6;outline-offset:2px}
.av-upload{align-self:center;background:#1e9ad6;color:#fff;border-radius:4px;padding:8px 14px;font-weight:bold;font-size:14px;cursor:pointer;font-family:Arial,Helvetica,sans-serif}
.av-note{color:#555;text-align:center;font-size:12px;min-height:14px;font-family:Arial,Helvetica,sans-serif}
#avatarModal .av-pick{padding:8px 4px}
.avatar.has-img{padding:0;overflow:hidden;background:#164b71}
.avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.welcome .avatar{cursor:pointer}
img.user-avatar{object-fit:cover;padding:0;background:#164b71;flex:0 0 auto}
.tc-avw{position:relative;display:inline-block;line-height:0}
img.tc-av{object-fit:cover;padding:0;border:2px solid #fff6}
.tc-host img.tc-av{border-color:#f2c230}
.tc-crown{position:absolute;top:-9px;right:-9px;font-size:12px;font-style:normal;line-height:1}
.seat-av{width:30px;height:30px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:6px;border:2px solid #fff5}
.prof-av{text-align:center;padding:4px 0 8px}
.prof-av img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid #d5b66b}
@media(max-width:620px){.seat-av{width:22px;height:22px;margin-right:4px}.av-opt{width:46px;height:46px}.tc-crown{font-size:10px;top:-7px;right:-7px}}

/* ===== Masa tasarımı: ızgara düzeni. Bilgi kutusu, koltuklar, ortadaki kartlar, kart tablası ve araç düğmeleri
   ayrı hücrelerde durur; ekran ne olursa olsun üst üste binmez. Koltuk/panel için top:% gibi mutlak konum KULLANMA. ===== */
.game-section{padding:8px 10px 12px}
.table{display:grid;--mid-h:190px;position:relative;height:auto;min-height:max(0px,calc(100vh - 370px));max-width:1500px;margin:0 auto;overflow:hidden;
  grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto) 46px;
  grid-template-rows:auto minmax(var(--mid-h),1fr) auto;
  /* kendi koltuğun kart tablasının solunda (alt satır) */
  grid-template-areas:"info top clock tools" "left mid right tools" "bottom hand hand tools";
  gap:10px 14px;padding:10px;border:0;border-radius:6px;
  background:radial-gradient(ellipse at center,#0b2b57 0%,#071c3d 70%,#05142d 100%);box-shadow:inset 0 0 0 1px #173b63}

/* Sol üst: masa bilgi kutusu + Oto Pilot */
.tinfo-wrap{grid-area:info;align-self:start;justify-self:start;display:flex;flex-direction:column;gap:8px;min-width:0}
.tinfo{background:#c4182b;color:#fff;border-radius:6px;padding:6px 10px;font-size:13px;line-height:1.35;font-weight:bold;min-width:130px;max-width:190px;box-shadow:0 2px 6px #0007;overflow-wrap:anywhere}
.tinfo .ti-code{font-size:14px}
.tinfo .ti-settings div{font-weight:bold}
.tinfo .trump,.tinfo .contractinfo,.tinfo #score{position:static;transform:none;white-space:normal;font-size:13px;color:#fff;margin:0}
.tinfo .trump:empty,.tinfo .contractinfo:empty,.tinfo #score:empty{display:none}
.tinfo .trump b{display:inline-block;min-width:20px;padding:0 4px;border-radius:4px;background:#fff;color:#111;text-align:center}
.tinfo .trump b.red{color:#d11a2a}
.tinfo .contractinfo{color:#ffe08a}
.tinfo .ti-status{font-size:12px;color:#ffd6db;margin-top:2px}
.tinfo .ti-status:empty,.tinfo .ti-line:not(:has(span:not(:empty))){display:none}
.tinfo .specbadge{display:block;margin-top:4px;padding:3px 6px;font-size:11px;text-align:center}
.tinfo .specbadge.hidden{display:none}
.tinfo-wrap .autopilot{background:transparent;border:0;padding:0 2px;font-size:13px;gap:6px}
.tinfo-wrap .autopilot.on{background:transparent;color:#6ee08b}

/* Koltuklar: kare avatar + isim + alınan el sayacı */
.table .seat{position:relative;top:auto;right:auto;bottom:auto;left:auto;transform:none;margin:0;z-index:1;
  display:flex;align-items:center;gap:8px;min-width:200px;max-width:100%;padding:6px 8px;text-align:left;
  background:#061633;color:#fff;border:2px solid #8e1b2b;border-radius:8px;box-shadow:0 2px 8px #0006;font-size:14px;align-self:center;justify-self:center}
/* Üst hücre: eşin koltuğu + (Eşin Kartları Açık ise) altında eşin kartları. İkisi aynı ızgara hücresinde alt alta. */
.top-wrap{grid-area:top;align-self:start;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;max-width:100%}
.table .seat.top{grid-area:auto;align-self:center}
.partner-hand{--pw:34px;display:flex;flex-direction:column;align-items:center;gap:2px;max-width:100%;padding:4px 6px 5px;background:#ffffff14;border:1px dashed #8fb3d9;border-radius:6px;pointer-events:none;user-select:none}
.partner-hand.hidden{display:none}
.ph-label{font-size:11px;font-weight:bold;color:#cfe3f7;line-height:1}
.ph-cards{display:flex;max-width:100%}
.ph-card{width:var(--pw);height:calc(var(--pw) * 1.45);flex:0 0 var(--pw);margin-left:calc(var(--pw) * -.45);border-radius:3px;box-shadow:0 1px 3px #0008;background:#fff;object-fit:fill}
.ph-card:first-child{margin-left:0}
.ph-card.suit-gap{margin-left:calc(var(--pw) * -.45 + 5px)}
.table .seat.left{grid-area:left}
.table .seat.right{grid-area:right}
.table .seat.bottom{grid-area:bottom;align-self:end}
.table .seat.turn{border-color:#f2c230;box-shadow:0 0 0 2px #f2c23066,0 2px 8px #0006}
.table .seat.empty{opacity:.75;border-style:dashed}
.sav{width:46px;height:46px;flex:0 0 46px;border-radius:5px;border:2px solid #fff;background:#c9d4de;object-fit:cover;display:grid;place-items:center;font-size:24px;line-height:1;overflow:hidden}
.sav.bot{background:#dfe6ee}
.sav.empty{background:#2a3d5c;color:#9fb6cf;border-style:dashed;font-size:18px}
.stxt{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.snm{font-weight:bold;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}
.snm .pn{cursor:context-menu}
.stags{display:flex;gap:4px;align-items:center;margin-top:2px}
.stags .dchip,.stags .tchip{margin:0}
.stxt small{display:block;color:#c9d6e6;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bottag{display:inline-block;background:#e5ad00;color:#241800;border-radius:4px;padding:1px 7px;font-size:12px;font-weight:bold}
.scnt{flex:0 0 auto;min-width:24px;height:22px;padding:0 4px;display:grid;place-items:center;border:1px solid #8e1b2b;border-radius:3px;background:#05142d;color:#fff;font-size:13px;font-weight:bold;margin-left:auto}

/* Orta alan: atılan kartlar (boy --ch: app.js fitTrickCards) ve ihale/koz/el sonucu paneli */
.table>.felt{grid-area:mid;position:relative;inset:auto;display:block;pointer-events:auto;min-width:0;min-height:var(--mid-h);--ch:112px}
.table .trick{position:absolute;inset:0;margin:0;display:block}
.table .played-card{--cw:calc(var(--ch) * .687);position:absolute;width:var(--cw);height:var(--ch);transform:translate(-50%,-50%);z-index:2;filter:drop-shadow(0 5px 7px #0009)}
.table .played-2{left:50%;top:calc(var(--ch) / 2)}
.table .played-0{left:50%;top:calc(100% - var(--ch) / 2)}
.table .played-1{left:calc(50% - var(--cw) * 1.25);top:50%}
.table .played-3{left:calc(50% + var(--cw) * 1.25);top:50%}
.table .bidpanel,.table .dealpanel{left:50%;top:50%;transform:translate(-50%,-50%);max-width:100%;max-height:100%;overflow:auto;min-width:0;width:max-content}
.table .dealpanel{min-width:min(300px,100%)}

/* Alt: kart tablası (izleyicide ve oyun başlamadan boşsa gizlenir) */
.hand-tray{grid-area:hand;justify-self:stretch;--cw-max:76px;max-width:100%;min-width:0;background:#eef1f5e8;border:1px solid #c8ced6;border-radius:8px;padding:12px 10px 6px;box-shadow:0 3px 10px #0007}
.hand-tray:has(.hand:empty){display:none}
.table .hand{position:static;transform:none;left:auto;bottom:auto;width:auto;max-width:100%;padding:0;z-index:auto;justify-content:center}
/* kart boyu ve bindirme: app.js fitHand (--cw genişlik, --step kartlar arası adım, --sgap renk grubu boşluğu) */
.table .hand .card-image{width:var(--cw,76px);height:calc(var(--cw,76px) * 1.45);flex:0 0 var(--cw,76px);margin-left:calc(var(--step,58px) - var(--cw,76px))}
.table .hand .card-image:first-child{margin-left:0}
.table .hand .card-image.suit-gap{margin-left:calc(var(--step,58px) - var(--cw,76px) + var(--sgap,9px))}
/* Kartlar aynı katmanda: soluk (opacity) kart yanındaki oynanabilir kartın üstüne çıkıp onu örtmesin.
   Sırası gelince oynanabilir kartlar soluk kartların üstünde durur (telefonda tamamen kapanıp dokunulamıyordu). */
.table .hand .card-image{position:relative;z-index:0}
.table .hand .card-image:not(:disabled):not(.dim){z-index:1}
.table .hand .card-image:hover:not(:disabled){z-index:12}
/* Dokunmatik ekranda :hover parmak kalktıktan sonra takılı kalır; kart yukarıda kalıp komşusunu örtmesin */
@media (hover:none){.card-image:hover:not(:disabled){transform:none}}

/* Sağ: masa işlemleri düğme sütunu */
.ttools{grid-area:tools;display:flex;flex-direction:column;gap:8px;align-items:center;align-self:start}
.tt{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #ffffff55;border-radius:6px;background:#1c8a3f;color:#fff;font-size:20px;font-weight:bold;cursor:pointer;box-shadow:0 2px 5px #0007;user-select:none}
.tt:hover{filter:brightness(1.15)}
/* Masa araç düğmeleri tüm oyunlarda aynı simge ve renkte (okey-shell.js ICON, okey-shell.css .osh-b) */
.tt[data-ticon]{background:linear-gradient(#2fa557,#14742f)}
.tt>svg{width:28px;height:28px;filter:drop-shadow(0 1px 1px #0007);pointer-events:none}
.tt.tt-start{border:2px solid #d0162a}
.tt:disabled{opacity:.45;cursor:not-allowed}
.tt-start{background:#1c8a3f}
.tt-watch{background:#4a5563}
.tt-watch.on{background:#078cc5}
.tt-watch input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.tt-watch.hidden{display:none}
.tt-leave{background:#1c8a3f}
#copy.tt{background:#078cc5}

/* Masanın altı: sohbet + oyun kayıtları (sol), masadakiler (sağ) */
.game-bottom{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:8px;max-width:1500px;margin:8px auto 0}
.game-bottom .chat{max-width:none;margin:0;padding:0;background:#fff;color:#111;border-radius:6px;display:flex;flex-direction:column;overflow:hidden}
.chat-head{display:flex;justify-content:space-between;align-items:center;padding:5px 8px;background:#eef2f6;border-bottom:1px solid #d5dbe2;font-size:13px}
.autoscroll{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:bold;color:#445;cursor:pointer}
.game-bottom .chat #messages{height:120px;overflow:auto;padding:6px 8px;font-size:14px;line-height:1.35}
#messages .glog{color:#c0182a}
#messages .glog.big{font-weight:bold}
#messages .glog.hot{color:#c0182a;font-weight:bold}
#messages .glog.pts{color:#7a1020;font-weight:bold}
#messages .glog.tk{color:#a8445a}
#messages .glog.sys{color:#5a6570;font-style:italic}
#messages .cmsg b{color:#0b5d86}
.game-bottom #chatform{display:flex;gap:4px;padding:4px;border-top:1px solid #d5dbe2}
.game-bottom #chatform input{flex:1;min-width:0;padding:8px;border:1px solid #b9c4d6}
.game-bottom .sendbtn{background:#d9202c;color:#fff;border:0;border-radius:4px;padding:0 14px;font-size:18px;cursor:pointer}
.tplayers{background:#e4e7eb;color:#111;border-radius:6px;padding:6px;overflow:auto;max-height:205px}
.tp-head{font-weight:bold;font-size:13px;padding:2px 4px 6px;color:#334}
.tp-head2{font-weight:bold;font-size:12px;padding:8px 4px 4px;color:#556}
.tp-row{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #cfd5dc;border-radius:6px;padding:5px 8px;margin-bottom:5px}
.tp-row .sav{width:36px;height:36px;flex-basis:36px;border-radius:50%;border:2px solid #4fb6e8;font-size:18px}
.tp-row.turn{border-color:#e5ad00;box-shadow:0 0 0 2px #e5ad0055}
.tp-row.me .tp-nm{color:#0b5d86}
.tp-row.empty{opacity:.6}
.tp-nm{flex:1;min-width:0;font-weight:bold;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tp-nm small{display:block;font-weight:normal;color:#667;font-size:11px}
.tp-nm .tchip{margin-left:4px}
.tp-pts{font-weight:bold;font-size:14px;color:#123}
.tp-sub{font-size:12px;color:#445;padding:2px 4px 4px}

/* Tablet */
@media(max-width:900px){
 .table{--mid-h:200px;gap:8px 10px;padding:8px;grid-template-rows:auto minmax(var(--mid-h),1fr) auto auto;grid-template-areas:"info top clock tools" "left mid right tools" ". bottom . tools" "hand hand hand tools"}
 .table .seat{min-width:150px;font-size:13px;gap:6px}
 .sav{width:36px;height:36px;flex-basis:36px;font-size:19px}
 .snm{max-width:100px}
 .game-bottom{grid-template-columns:minmax(0,1fr) 240px}
 .hand-tray{--cw-max:64px}
}
/* Telefon: bilgi kutusu üstte tek şerit, düğmeler masanın altında yatay; yan sütunlar yalnızca koltuk kadar */
@media(max-width:620px){
 .game-section{padding:4px}
 .table{--mid-h:225px;gap:6px;padding:6px;
  grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,1fr) minmax(0,auto);
  grid-template-rows:auto auto minmax(var(--mid-h),1fr) auto auto auto;
  grid-template-areas:"info info info info" "clock top top ." "left mid mid right" "bottom bottom bottom bottom" "hand hand hand hand" "tools tools tools tools"}
 .tinfo-wrap{justify-self:stretch;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}
 .tinfo{display:flex;flex-wrap:wrap;gap:2px 10px;max-width:none;min-width:0;flex:1 1 auto;font-size:12px;padding:4px 8px}
 .tinfo .ti-settings{display:flex;gap:2px 10px;flex-wrap:wrap}
 .tinfo .ti-opt{display:none}
 .partner-hand{--pw:24px;padding:3px 4px 4px}
 .ph-label{font-size:10px}
 .tinfo .trump,.tinfo .contractinfo,.tinfo #score,.tinfo .ti-status{font-size:12px;margin:0}
 .tinfo .specbadge{margin:0}
 .table .seat{min-width:0;padding:4px 5px;gap:5px;font-size:11px;border-width:1px}
 .sav{width:26px;height:26px;flex-basis:26px;font-size:14px;border-width:1px;border-radius:4px}
 .snm{max-width:72px}
 .stxt small{font-size:10px}
 .bottag{font-size:10px;padding:0 4px}
 .scnt{min-width:18px;height:18px;font-size:11px}
 .ttools{flex-direction:row;justify-content:center;justify-self:stretch}
 .tt{width:44px;height:38px;font-size:18px}
 .tt>svg{width:24px;height:24px}
 .hand-tray{padding:10px 4px 4px;--cw-max:52px}
 .table .bidpanel,.table .dealpanel{padding:8px}
 .table .dealpanel .drow{gap:3px;font-size:11px}
 .table .bidbtn{min-width:36px;height:32px;font-size:14px;padding:0}
 .table .bidbtn.pass{padding:0 8px}
 .table .bidbtn.suit{min-width:44px;height:40px;font-size:24px}
 .table .bidrow{gap:4px;margin-top:6px}
 .table .bidpanel>b{font-size:13px}
 .game-bottom{grid-template-columns:1fr}
 .game-bottom .chat #messages{height:140px;font-size:13px}
 .tplayers{max-height:none}
}
/* Yatay telefon: masa ekrana sığsın */
@media(max-height:500px) and (orientation:landscape){
 .table{--mid-h:120px;gap:4px 10px;padding:6px;min-height:0;grid-template-rows:auto minmax(var(--mid-h),1fr) auto;grid-template-areas:"info top clock tools" "left mid right tools" "bottom hand hand tools"}
 .table .seat{padding:3px 8px;min-width:150px}
 .sav{width:28px;height:28px;flex-basis:28px;font-size:15px}
 .tinfo{font-size:11px;line-height:1.25;padding:4px 8px}
 .tinfo .ti-opt{display:none}
 .partner-hand{--pw:22px;padding:2px 4px 3px}
 .ph-label{display:none}
 .top-wrap{flex-direction:row;gap:6px}
 .tt{width:36px;height:34px;font-size:16px}
 .tt>svg{width:21px;height:21px}
 .ttools{gap:5px}
 .hand-tray{padding:8px 6px 4px;--cw-max:50px}
}

/* ===== Radyo çalar (sağ üst, eski "Yayıncı" kutusunun yeri) ===== */
.toolbar .broadcast.radio{display:flex;align-items:center;gap:7px;padding:4px 8px;border:1px dashed #ddd;border-radius:6px;text-align:left;min-width:0}
.radio-btn{width:32px;height:32px;flex:0 0 32px;border-radius:50%;border:0;background:#d9202c;color:#fff;font-size:14px;font-weight:bold;cursor:pointer;display:grid;place-items:center;padding:0}
.radio-btn:hover{filter:brightness(1.15)}
.radio.playing .radio-btn{background:#1c8a3f}
.radio.loading .radio-btn{background:#b9770e}
.radio-info{display:flex;flex-direction:column;line-height:1.15;font-size:12px;min-width:0}
.radio-info small{color:#ccc;font-size:11px}
.radio-info b{display:block;font-size:13px}
.radio-eq{display:none;gap:2px;align-items:flex-end;height:14px}
.radio.playing .radio-eq{display:inline-flex}
.radio-eq i{width:3px;height:4px;background:#6ee08b;animation:radioEq .9s ease-in-out infinite}
.radio-eq i:nth-child(2){animation-delay:.2s}.radio-eq i:nth-child(3){animation-delay:.45s}
@keyframes radioEq{0%,100%{height:3px}50%{height:14px}}
@media(prefers-reduced-motion:reduce){.radio-eq i{animation:none;height:9px}}
.radio-vol{width:64px;accent-color:#d9202c;cursor:pointer}
/* Telefon/tablet: yalnızca yuvarlak ▶ düğmesi (yazı ve ses çubuğu gizli; ses telefonun tuşlarıyla) */
@media(max-width:900px){
 .toolbar .broadcast.radio{display:flex;padding:0;border:0;margin-left:auto;flex:0 0 auto}
 .toolbar .broadcast.radio .radio-info,.toolbar .broadcast.radio .radio-vol{display:none}
 .radio-btn{width:38px;height:38px;flex-basis:38px;font-size:15px;box-shadow:0 0 0 2px #ffffff44}
}

/* ===== Etkinlik şeridi (lobi) ve oyuncu listesinde toplam puan ===== */
.event-banner{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:0 0 6px;padding:7px 12px;border-radius:6px;
  background:linear-gradient(90deg,#7a1020,#c4182b 55%,#e0a106);color:#fff;font-size:14px;box-shadow:0 2px 6px #0006}
.event-banner.hidden{display:none}
.event-banner .ev-ico{font-size:20px;line-height:1}
.event-banner .ev-name{font-weight:bold;font-size:15px}
.event-banner .ev-time small{opacity:.85}
.event-banner .ev-pts{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
.event-banner .ev-pt{background:#0005;border:1px solid #fff5;border-radius:4px;padding:1px 7px;font-size:13px;white-space:nowrap}
.event-banner .ev-pt b{color:#ffe08a}
/* Lobi listesi: rumuz yanında cihaz simgesi (bilgisayar / telefon / tablet), rumuz kısalsa da hep görünür */
.user-meta b>.udev{flex:none;display:inline-flex;align-items:center;margin-left:3px;color:#6b7c8a}
.udev svg{width:13px;height:13px;display:block}
/* Susturulan oyuncu: kırmızı üstü çizili hoparlör (lobi listesi) ve lobiye yazılan susturma satırı */
.user-meta b>.umute{flex:none;display:inline-flex;align-items:center;margin-left:4px;color:#e0201b}
.umute svg{width:15px;height:15px;display:block}
.chat-line.sys-mute{color:#b3261e;font-size:.93em;font-weight:600}.chat-line.sys-mute.off{color:#2f6b3a;font-weight:400}
.upts{display:inline-flex;align-items:center;gap:3px;margin-left:4px;color:#b8860b;font-weight:bold;white-space:nowrap}
.upts .coin{display:inline-block;width:11px;height:11px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff6b0 0,#f5c518 45%,#b8860b 100%);box-shadow:inset 0 0 0 1px #9a6f00}
@media(max-width:620px){.event-banner{font-size:13px;padding:6px 8px}.event-banner .ev-pts{margin-left:0}}

/* ---- Rütbe simgesi (panelden yönetilen rütbeler): kullanıcı adının yanında yalnızca simge; simgesiz rütbede hiçbir şey ---- */
.rk{display:inline;white-space:nowrap;font-style:normal;font-weight:normal;text-decoration:none;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.rk.noicon{display:none}
.user-meta small{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px}
.prof-pts{display:inline-flex;align-items:center;gap:5px;color:#8a6200}
.prof-pts .coin,.prof-grid .coin{display:inline-block;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff6b0 0,#f5c518 45%,#b8860b 100%);box-shadow:inset 0 0 0 1px #9a6f00}
.prof-note{font-size:12px;opacity:.75;margin:10px 2px 0}

/* ---- Gold sohbet stili: YALNIZCA bu hazır sınıflar (beyaz zeminde okunur koyu renkler) ---- */
.cs-c-kirmizi{color:#b3261e}.cs-c-bordo{color:#7b1d3a}.cs-c-turuncu{color:#a84300}.cs-c-yesil{color:#1b6e2a}.cs-c-petrol{color:#00695c}
.cs-c-lacivert{color:#1f3a93}.cs-c-mor{color:#6a1b9a}.cs-c-pembe{color:#ad1457}.cs-c-kahve{color:#6d4c41}.cs-c-antrasit{color:#37474f}
.cs-f-normal{font-weight:normal;font-style:normal}
.cs-f-kalin{font-weight:bold}
.cs-f-italik{font-style:italic}
.cs-f-kalinitalik{font-weight:bold;font-style:italic}
.cs-f-serif{font-family:Georgia,"Times New Roman",serif}
.cs-f-serifkalin{font-family:Georgia,"Times New Roman",serif;font-weight:bold}
.cs-f-daktilo{font-family:"Courier New",Courier,monospace}

/* ---- Puan Değiştir ve Gold stil pencereleri ---- */
#ptsModal .optionrow span,#ptsModal .optionrow label{min-width:120px}
#ptsAfter{color:#1b6e2a;font-weight:bold}
#ptsReason,#ptsAmount{flex:1;min-width:0}
.st-sec{margin:8px 0}
.st-sec>small{display:block;opacity:.75;margin-bottom:4px}
.st-grid{display:flex;flex-wrap:wrap;gap:6px}
.st-opt{border:1px solid #ccd;background:#fff;border-radius:6px;padding:5px 9px;cursor:pointer;font-size:13px;color:#222}
.st-opt.on{border-color:#2a7d2e;box-shadow:0 0 0 2px #2a7d2e55;background:#f1fbf2}
.st-preview{background:#fff;color:#222;border:1px dashed #bbc;border-radius:6px;padding:8px 10px;min-height:20px}
@media (max-width:600px){#ptsModal .optionrow span,#ptsModal .optionrow label{min-width:92px}.st-opt{padding:5px 7px;font-size:12px}}
/* ===== Gold üye (schema-patch-11): altın zeminli rumuz + ♛ rozeti. Kendi zemini olduğu için açık ve koyu arka planda okunur ===== */
.gold-nick{display:inline-block;max-width:100%;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#5a3c00;background:linear-gradient(180deg,#fff4c2,#ffd659);border:1px solid #c99400;border-radius:4px;padding:0 4px;
  font-weight:bold;text-shadow:0 1px 0 #fff8}
.gold-b{display:inline-flex;align-items:center;justify-content:center;width:1.25em;height:1.25em;margin-right:3px;vertical-align:-.15em;
  border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff1a8,#f2b705 60%,#b07c00);border:1px solid #7a5600;
  color:#4a3200;font-size:.85em;line-height:1;font-family:"Segoe UI Symbol","Noto Sans Symbols 2","DejaVu Sans",sans-serif;font-style:normal}
.user-meta b .gold-nick{vertical-align:middle}
.tp-nm .gold-nick{font-size:13px}

/* ===== Şikayet zili (yalnızca yetkili) ===== */
.bellbtn{position:relative;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#058ab6}
.bellbtn.hidden{display:none!important}
.bell-n{position:absolute;top:-4px;right:-4px;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:#e0182d;color:#fff;
  font:bold 12px/19px Arial,sans-serif;text-align:center;border:2px solid #fff;box-sizing:border-box}
.bell-n.hidden{display:none}
.side-menu .bell-n{position:static;display:inline-block;margin-left:6px;border-width:1px}
.side-menu .bell-n.hidden{display:none}
.bellbtn.ring>span{display:inline-block;animation:bellring .9s ease 2}
@keyframes bellring{0%,100%{transform:rotate(0)}15%{transform:rotate(18deg)}30%{transform:rotate(-16deg)}45%{transform:rotate(12deg)}60%{transform:rotate(-8deg)}75%{transform:rotate(4deg)}}
@media (prefers-reduced-motion:reduce){.bellbtn.ring>span{animation:none}}
@media(max-width:900px){.bellbtn{min-width:35px}}

/* ===== Şikayet/Rapor penceresi (kullanıcının örnek resmine göre: kırmızı seçenek düğmeleri, siyah Vazgeç) ===== */
.repbox{width:min(520px,100%)}
.rep-types{display:flex;flex-direction:column;gap:8px;padding:10px 4px 4px}
.rep-type{width:100%;padding:13px 10px;border:0;border-radius:3px;cursor:pointer;color:#fff;font:bold 16px Georgia,serif;
  background:linear-gradient(180deg,#d61b1b,#9e0000);box-shadow:inset 0 1px 0 #ff6b6b55,0 1px 2px #0006}
.rep-type:hover,.rep-type:focus-visible{background:linear-gradient(180deg,#ea2a2a,#b30000);outline:2px solid #0000;outline-offset:2px}
.rep-type.hidden{display:none}
.rep-foot{display:flex;justify-content:flex-end;padding-top:6px}
.rep-cancel{background:#111;color:#fff;border:0;border-radius:3px;padding:8px 14px;font:bold 15px Georgia,serif;cursor:pointer}
.rep-form{display:flex;flex-direction:column;gap:6px;padding:8px 4px 2px}
.rep-form.hidden{display:none}
.rep-kind{margin:0 0 4px;color:#333;font-size:14px}
.rep-form label{font-weight:bold;font-size:14px}
.rep-form textarea{width:100%;box-sizing:border-box;min-height:110px;resize:vertical;padding:8px;border:1px solid #aab;border-radius:4px;font:15px/1.4 Arial,sans-serif}
.rep-count{align-self:flex-end;color:#667}
.rep-img{display:flex;flex-direction:column;gap:4px}
.rep-img.hidden{display:none}
.rep-file{display:inline-block;align-self:flex-start;background:#05739a;color:#fff;border-radius:4px;padding:8px 12px;cursor:pointer;font-weight:bold}
.rep-file input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.rep-file:focus-within{outline:2px solid #05739a;outline-offset:2px}
.rep-preview{display:flex;align-items:center;gap:8px;min-width:0}
.rep-preview img{max-width:120px;max-height:90px;border:1px solid #aab;border-radius:4px;object-fit:contain;background:#fff}
.rep-preview small{min-width:0;overflow-wrap:anywhere;color:#445}
#repErr:empty{display:none}



/* ===== Lobi sohbeti: 4 kademe (lc-0 kapalıya yakın, normal = sınıfsız, lc-2 geniş, lc-3 neredeyse tam ekran), yumuşak geçiş ===== */
.lobby-layout{transition:grid-template-rows .35s ease}
@media (prefers-reduced-motion:reduce){.lobby-layout{transition:none}}
.lobby-chat{position:relative}
.lc-ctl{position:absolute;top:3px;right:20px;z-index:3;display:flex;gap:3px;align-items:center}
.lc-scroll{display:inline-flex;align-items:center;gap:2px;height:22px;padding:0 5px;border-radius:4px;background:#ffffffd9;border:1px solid #b9c3c9;
  color:#33495a;font:bold 11px Arial,sans-serif;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation}
.lc-scroll input{margin:0;width:12px;height:12px;cursor:pointer}
.lc-btn{position:relative;width:28px;height:24px;padding:0;border:1px solid #0b5f80;border-radius:4px;background:#0a7fae;color:#fff;
  font-size:12px;line-height:22px;cursor:pointer;opacity:.9;touch-action:manipulation}
.lc-btn:hover,.lc-btn:focus-visible{opacity:1;background:#0b93c8}
.lc-btn:disabled{opacity:.35;cursor:default;background:#7a8b93;border-color:#66757c}
.lc-btn[data-tip]:hover::after,.lc-btn[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;right:calc(100% + 6px);top:50%;transform:translateY(-50%);
  white-space:nowrap;background:#222;color:#fff;font:12px Arial,sans-serif;padding:4px 7px;border-radius:4px;pointer-events:none}
.lobby-layout.lc-0{grid-template-rows:minmax(300px,1fr) 86px}
.lobby-layout.lc-2{grid-template-rows:minmax(150px,1fr) 52%}
.lobby-layout.lc-3{grid-template-rows:minmax(70px,1fr) calc(100% - 70px)}
@media(max-width:900px){
 .lobby-layout.lc-0{grid-template-rows:minmax(0,1fr) minmax(80px,14%)}
 .lobby-layout.lc-2{grid-template-rows:minmax(0,1fr) minmax(130px,62%)}
 .lobby-layout.lc-3{grid-template-rows:minmax(64px,1fr) minmax(130px,calc(100% - 64px))}
 .lc-ctl{right:14px}
 .lc-btn{width:32px;height:28px;font-size:13px}
 .lc-btn[data-tip]:hover::after{display:none}
}
.lobby-layout.lc-0 .chatlog{padding-top:2px;padding-bottom:2px}
/* Sağdaki oyuncu listesi: rumuz tek satır, sığmazsa "…" (harf harf bölünmez); rütbe simgesi ve ♛ hep görünür */
.user-meta b{display:flex;align-items:center;gap:2px;min-width:0;white-space:nowrap;overflow:hidden}
.user-meta b>.rk,.user-meta b>.gold-b{flex:none}
.user-meta b>.unick{display:block;min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-meta b>.gold-nick.unick{display:block;max-width:none}
/* Satır: dokununca/tıklayınca özel mesaj, basılı tutunca favori menüsü. Metin seçimi ve tarayıcının basılı tutma menüsü çıkmaz */
#userList .user-row{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
#userList .user-row.self{cursor:default}
/* Telefon (Samsung A55 dahil): ☆ ve 💬 simgeleri yok, boşalan yeri rumuz kullanır. Bilgisayarda simgeler aynen kalır */
@media(max-width:768px){ #userList .user-row .user-actions{display:none} }
/* Parmakla kullanılan ekranda menü düğmeleri parmak boyutunda */
@media(pointer:coarse){ .ctx-menu button{min-height:44px;font-size:16px} }

/* ===== Bildirim paneli (🔔): en yeni üstte, saatli satırlar; uzun liste kendi içinde kayar ===== */
.notif-panel{position:fixed;z-index:85;display:flex;flex-direction:column;background:#fff;color:#1b1b1b;border:1px solid #6b6b6b;border-radius:10px;
  box-shadow:0 12px 32px #0007;overflow:hidden;box-sizing:border-box}
.notif-panel.hidden{display:none}
.np-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #d6d6d6;background:#f3f3f3;flex:none}
.np-head b{font-size:15px}
.np-clear{background:linear-gradient(#1f9d4b,#14763a);color:#fff;border:1px solid #0e5a2b;border-radius:6px;padding:7px 10px;font:bold 14px Georgia,serif;cursor:pointer;min-height:36px}
.np-clear:disabled{opacity:.45;cursor:default}
.np-list{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:6px;display:flex;flex-direction:column;gap:5px;min-height:0}
.np-empty{padding:18px 8px;text-align:center;color:#666}
.np-item{display:block;width:100%;box-sizing:border-box;text-align:left;background:#f4f0e1;color:#1b1b1b;border:1px solid #b9b39c;border-radius:6px;
  padding:7px 9px;font:15px/1.35 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.np-item.go{cursor:pointer}
.np-item.go:hover,.np-item.go:focus-visible{background:#e9e2c6;outline:none}
.np-time{color:#555;white-space:nowrap}
.np-report{border-color:#e0182d;background:#fdecee}
.np-mod{border-color:#b55d00;background:#fff2e2}
.np-multi{border-color:#6a3fb5;background:#f1ebfb}
.np-friend{border-color:#1f9d4b}
/* Seviye 0'da sohbet 1-2 satır: ▲▼ düğmeleri son mesajın üstüne binmesin */
.lobby-layout.lc-0 .chatlog{padding-right:150px}

/* ===== Yeni Üye yazma sınırı (schema-patch-13): lobi ve özel mesaj kutusunun üstünde uyarı ===== */
.write-note{margin:4px 0;padding:6px 10px;border-radius:6px;background:#fff4e5;border:1px solid #f0b46a;color:#7a4300;font-size:13px;line-height:1.35}
.write-note.hidden{display:none}
form.write-locked input{background:#f3f3f3;cursor:not-allowed}
/* Gömmeli: gömülecek kart seçimi (app.js burySel) */
.table .hand .card-image.sel{transform:translateY(-22%);z-index:13;outline:3px solid #f2c230;outline-offset:-3px;border-radius:6px}
.bidbtn.bury{background:#21a52b;padding:0 18px}
.bidbtn.bury:disabled{background:#4b5a6b;cursor:not-allowed;opacity:.8}
/* Lobi: Top50 penceresi */
.top50-list{list-style:none;margin:0;padding:6px 10px;overflow:auto;max-height:65vh;font-family:Arial,Helvetica,sans-serif}
.top50-list li{display:flex;align-items:center;gap:9px;padding:6px 2px;border-bottom:1px solid #0001}
.top50-list li.msg{justify-content:center;color:#666}
.top50-list .rn{width:26px;text-align:center;font-weight:bold;color:#666}
.top50-list li:nth-child(1) .rn{color:#c99a00}.top50-list li:nth-child(2) .rn{color:#7a8794}.top50-list li:nth-child(3) .rn{color:#b06a2a}
.top50-list img{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.top50-list .tn{flex:1;min-width:0;text-align:left;background:none;border:0;padding:0;font:inherit;font-weight:bold;color:#1d3d6b;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top50-list .tp{font-weight:bold;color:#7a5a00;white-space:nowrap}

/* Hesap Ayarlarım (account.js) */
.accbox{width:min(460px,100%)}
.acc-sec{display:flex;flex-direction:column;gap:5px;padding:8px 4px;border-top:1px solid #d3dbe0}
.acc-sec:first-of-type{border-top:0}
.acc-sec h3{margin:2px 0 4px;font-size:16px}
.acc-sec label{font-weight:bold;font-size:14px}
.acc-sec input[type=text],.acc-sec input:not([type]),.acc-sec input[type=password]{width:100%;box-sizing:border-box;padding:9px;border:1px solid #aab;border-radius:4px;font:15px Arial,sans-serif}
.acc-sec input:disabled{background:#e4e8ea;color:#777}
.acc-now{margin:0;font-size:14px}
.acc-note{color:#555;font-size:13px;line-height:1.4;margin:0}
.acc-check{display:flex;gap:7px;align-items:center;font-weight:normal!important}
.acc-danger h3{color:#a3121f}
.lp-error.ok{color:#137a2a}
button.danger{border:0;border-radius:5px;padding:10px 16px;font-weight:bold;cursor:pointer;background:#b3121f;color:#fff}
button.danger:disabled,.acc-sec .primary:disabled{opacity:.5;cursor:default}
.acc-sec input[type=email]{width:100%;box-sizing:border-box;padding:9px;border:1px solid #aab;border-radius:4px;font:15px Arial,sans-serif}

/* ---- Puan tablosu (masa, 📊) — yeşil tema, telefonda yatay kaydırılır ---- */
.tt-score{background:#1c8a3f}
.tinfo .trump small.tb-no{font-size:10px;font-weight:normal;opacity:.85;margin-left:3px}
.dbust{color:#ff9b9b;font-size:10px;font-weight:bold}
#scoreTableModal .stbox{width:min(760px,100%);padding:0;overflow:hidden;background:#f2f8f3;display:flex;flex-direction:column;max-height:88vh}
#scoreTableModal .modalhead{background:#1c8a3f;color:#fff;padding:9px 10px;border-bottom:0;font-family:Arial,Helvetica,sans-serif;font-size:18px}
.st-body{overflow:auto;padding:8px;font-family:Arial,Helvetica,sans-serif}
.st-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #b7d3bd;border-radius:6px;background:#fff}
.st-table{width:100%;border-collapse:collapse;font-size:13px;min-width:480px}
.st-table th,.st-table td{padding:5px 6px;border-bottom:1px solid #dbe9de;text-align:center;vertical-align:middle;white-space:nowrap}
.st-table thead th{background:#14692f;color:#fff;font-weight:bold;position:sticky;top:0;max-width:110px;overflow:hidden;text-overflow:ellipsis}
.st-table thead th small{display:block;font-size:10px;opacity:.8;font-weight:normal}
.st-table tfoot th{background:#e2f1e5;color:#0f4d22;font-size:15px;border-top:2px solid #1c8a3f}
.st-table .st-no{width:30px;color:#4d6b55}
.st-table .st-bid{text-align:left}
.st-table td.st-bid small,.st-table td small{display:block;font-size:10px;color:#56705c}
.st-table td.st-bid small.ok{color:#178a3a;font-weight:bold}
.st-table td.st-bid small.bad,.st-table small.st-b{color:#c62828;font-weight:bold}
.st-suit{display:inline-block;min-width:18px;padding:0 3px;border-radius:3px;background:#fff;border:1px solid #ccd;color:#111;text-align:center}
.st-suit.red{color:#d11a2a}
.st-tr{display:block;font-size:11px;color:#56705c}
.st-pt{display:block;font-weight:bold;font-size:14px}
.st-pt.pos{color:#178a3a}.st-pt.neg{color:#c62828}
.st-table td.bust{background:#fdecec}
.st-table .me{background:#fff8d6}
.st-table thead th.me{background:#b8860b}
.st-table tfoot th.me{background:#f6e7a8}
.st-table tr.st-live td{background:#f4fbf5;color:#56705c;font-style:italic}
.st-empty{margin:10px 2px 2px;text-align:center;color:#56705c}
.st-note{margin:8px 2px 0;font-size:11px;color:#56705c}
.st-table thead th.st-no{color:#cfe8d5}
@media (max-width:600px){
 #scoreTableModal{padding:6px}
 .st-body{padding:5px}
 .st-table{font-size:11px;min-width:0}
 .st-table th,.st-table td{padding:4px 2px}
 .st-table thead th{max-width:62px;font-size:11px}
 .st-table .st-no{width:18px}
 .st-table td.st-bid{white-space:normal;min-width:64px}
 .st-tr{font-size:10px}
 .st-pt{font-size:13px}
 .st-table tfoot th{font-size:13px}
}
/* ---- Masa Skor Tablosu (Batak.Net düzeni), ⚙ Masa Ayarları, 👤 Masaya Davet ---- */
.tt-set{background:#5b6b73}
.tt-invite{background:#1c8a3f}
.st-table td.taker{font-weight:bold}
.st-table .st-tk{font-size:11px;color:#3d5a45;font-weight:normal;white-space:nowrap}
.st-table td.taker .st-suit{margin-left:3px;font-size:11px}
.st-table td .st-pt{display:inline;font-size:14px}
.st-table tfoot th.st-no{color:#0f4d22}
.invbox{width:min(460px,100%);display:flex;flex-direction:column;max-height:86vh;font-family:Arial,Helvetica,sans-serif}
.inv-search{display:flex;gap:6px;padding:8px 2px}
.inv-search input{flex:1;min-width:0;padding:8px;border:1px solid #b9c3c8;border-radius:5px;font-size:15px}
.inv-search button{flex:0 0 auto;padding:0 12px;background:#171717;color:#fff;border:0;border-radius:5px;font-weight:bold;cursor:pointer}
.inv-list{list-style:none;margin:0;padding:0;overflow:auto;min-height:120px;max-height:52vh;border:1px solid #c8d2d6;border-radius:6px;background:#fff}
.inv-list li.msg{padding:14px;text-align:center;color:#666}
.inv-row{display:flex;align-items:center;gap:9px;padding:6px 8px;border-bottom:1px solid #e3e8ea;cursor:pointer;user-select:none}
.inv-row:hover{background:#eef6f0}
.inv-row.sel{background:#d11a2a;color:#fff}
.inv-row img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#ddd}
.inv-txt{display:flex;flex-direction:column;min-width:0}
.inv-nick{font-weight:bold;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inv-row small{font-size:12px;opacity:.8}
.invite-card{position:fixed;right:16px;bottom:16px;z-index:60;width:min(340px,calc(100vw - 32px));background:#f2f8f3;color:#111;border:2px solid #1c8a3f;border-radius:9px;box-shadow:0 10px 30px #0008;padding:10px 12px;font-family:Arial,Helvetica,sans-serif}
.invite-card p{margin:0 0 8px;font-size:14px;line-height:1.35}
.invite-card div{display:flex;justify-content:flex-end;gap:8px}
.invite-card button{padding:7px 14px;border-radius:5px;border:0;font-weight:bold;cursor:pointer}
.invite-card .primary{background:#1c8a3f;color:#fff}
.invite-card .secondary{background:#171717;color:#fff}
/* ===== Hamle süresi (sağda yuvarlak sayaç) + büyük koz kutusu: ızgarada "clock" hücresi (masaüstü: üst sağ, araç sütununun solu) ===== */
.tclock{grid-area:clock;align-self:start;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.tclock.hidden{display:none}
.turnbox{position:relative;width:84px;height:84px;flex:0 0 auto;border-radius:50%;background:#0b5fb8;box-shadow:0 2px 8px #0008,inset 0 0 0 3px #ffffff22;display:grid;place-items:center;transition:opacity .3s,background-color .3s}
.turnbox svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);pointer-events:none}
.turnbox .tb-bg{fill:none;stroke:#ffffff2e;stroke-width:7}
.turnbox .tb-ring{fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round;stroke-dasharray:276.46;stroke-dashoffset:0;transition:stroke-dashoffset .25s linear}
.turnbox b{position:relative;color:#fff;font-size:34px;font-weight:bold;line-height:1;font-variant-numeric:tabular-nums}
.turnbox.warn{background:#e07800}
.turnbox.danger{background:#d0162a}
.turnbox.pulse{animation:tbPulse 1s ease-in-out infinite}
.turnbox.dim{opacity:.45}
@keyframes tbPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08);box-shadow:0 0 0 6px #ff3b4a55,0 2px 8px #0008}}
.trumpbig{width:76px;height:84px;flex:0 0 auto;background:#fff;border-radius:12px;box-shadow:0 3px 10px #0009;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#111;line-height:1;user-select:none}
.trumpbig.hidden{display:none}
.trumpbig b{font-size:54px;line-height:.95;font-weight:normal}
.trumpbig.red b{color:#d11a2a}
.trumpbig small{font-size:12px;font-weight:bold;letter-spacing:2px;color:#445;margin-top:2px}
.trumpbig.pop{animation:tbPop .45s cubic-bezier(.2,1.6,.4,1)}
@keyframes tbPop{0%{transform:scale(.3);opacity:0}100%{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.turnbox.pulse,.trumpbig.pop{animation:none}.turnbox .tb-ring{transition:none}}
@media(max-width:767px){
 .turnbox{width:64px;height:64px}
 .turnbox b{font-size:26px}
 .trumpbig{width:56px;height:64px;border-radius:10px}
 .trumpbig b{font-size:40px}
 .trumpbig small{font-size:10px;letter-spacing:1px}
}
@media(max-width:620px){ .tclock{flex-direction:row;gap:6px;align-self:center} }
@media(max-height:500px) and (orientation:landscape){
 .tclock{gap:5px}
 .turnbox{width:52px;height:52px}
 .turnbox b{font-size:21px}
 .trumpbig{width:46px;height:52px;border-radius:8px}
 .trumpbig b{font-size:32px}
 .trumpbig small{font-size:9px;letter-spacing:1px}
}

/* ===== Ses Ayarlarım penceresi (sounds.js) ===== */
.sndbox{width:min(440px,calc(100vw - 24px))}
.snd-body{display:flex;flex-direction:column;gap:10px;padding:4px 2px 10px}
.snd-master{display:flex;align-items:center;gap:8px;font-weight:bold;font-size:15px;padding:8px 10px;background:#eef3f8;border:1px solid #cfd8e3;border-radius:6px;cursor:pointer}
.snd-vol{display:flex;align-items:center;gap:10px;font-size:14px;padding:0 4px}
.snd-vol input{flex:1;min-width:0}
.snd-vol b{min-width:42px;text-align:right}
.snd-list{display:flex;flex-direction:column;gap:4px}
.snd-list.off{opacity:.5}
.snd-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border:1px solid #dde3ea;border-radius:6px;background:#fff}
.snd-row label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:14px;cursor:pointer}
.snd-row input[type=checkbox],.snd-master input{width:18px;height:18px;flex:0 0 auto}
.snd-listen{flex:0 0 auto;border:1px solid #0b5d86;background:#e9f4fb;color:#0b5d86;border-radius:5px;padding:5px 10px;font-size:13px;font-weight:bold;cursor:pointer;min-width:74px}
.snd-listen:hover{background:#d6ecf8}
@media(pointer:coarse){.snd-listen{min-height:40px}.snd-row{padding:8px}}
/* ===== Batak + Okey aynı lobi (oyun süzgeci, oyun seçimi, Okey masa kartı) ===== */
.gfilter{display:inline-flex;gap:3px;margin-left:auto;flex:0 0 auto}
.gfilter button{background:#007fa9;color:#fff;border:0;border-radius:3px;padding:6px 10px;font-weight:bold;font-size:13px;cursor:pointer;white-space:nowrap}
.gfilter button.on{background:#087b48;box-shadow:inset 0 -3px 0 #ffca42}
.gamesel{display:flex;gap:6px}
.gamesel button{flex:1;padding:9px 6px;border:2px solid #c4cbd0;border-radius:6px;background:#fff;color:#123;font-weight:bold;font-size:16px;cursor:pointer}
.gamesel button.on{background:#087b48;border-color:#087b48;color:#fff}
#createModal[data-game="okey"] .bt-only,#createModal[data-game="pisti"] .bt-only,#createModal[data-game="okey101"] .bt-only{display:none!important}
#createModal:not([data-game="okey101"]) .o1-only{display:none!important}
.tcard.g-okey101{background:#123f60;border-color:#08243a}
.tcard.g-okey101 .tc-table{border-right-color:#08243a}
.tcard.g-okey101 .tc-game{color:#8fd0ff}
#createModal:not([data-game="okey"]) .ok-only{display:none!important}
#createModal:not([data-game="pisti"]) .pi-only{display:none!important}
/* Okey + 101 ortak satırlar (.ox-only); Düello açıkken .ox-nd ve bot satırı gizli, .ox-duel görünür */
#createModal:not([data-game="okey"]):not([data-game="okey101"]) .ox-only:not(.pv-row){display:none!important}
#createModal:not([data-game="okey"]):not([data-game="okey101"]):not([data-game="pisti"]) .pv-row{display:none!important}
#createModal:not(.duel) .ox-duel,#createModal.duel .ox-nd,#createModal.duel[data-game="okey"] #botsRow,#createModal.duel[data-game="okey101"] #botsRow{display:none!important}
#createModal[data-game="okey101"] #oxRounds option[data-ok]{display:none}
.duelrow{font-weight:bold;color:#8a1a1a}
/* Batak düello (10 Kasım 2026): açıkken bot satırı gizli, eşli türler seçilemez (app.js syncBtDuel) */
#createModal.btduel[data-game="batak"] #botsRow{display:none!important}
/* Batak masası: masa sahibine koltukta Bot Ekle / Botu Çıkar (oyun başlamadan / bittikten sonra) */
.seat .sbot{margin-left:auto;flex:0 0 auto;font:bold 11px/1 inherit;padding:5px 7px;border-radius:6px;border:1px solid #0004;cursor:pointer;background:#f4c430;color:#3a2a00;white-space:nowrap}
.seat .sbot.rm{background:#fff;color:#8a1a1a}
.seat .sbot:hover{filter:brightness(1.08)}
/* Telefonda kısa yazı (koltuk dar): "🤖 Ekle" / "✖ Çıkar"; dokunma alanı en az 30 px */
@media(max-width:620px){.seat .sbot{font-size:11px;padding:6px 6px;min-height:30px}.seat .sbot .sb-l{display:none}
  .table .seat:has(.sbot){flex-wrap:wrap;justify-content:center;row-gap:4px}.table .seat:has(.sbot) .stxt{flex:0 0 auto}.table .seat:has(.sbot) .sbot{margin-left:0}}
@media(min-width:621px){.seat .sbot .sb-s{display:none}}
.tinfo .ti-duel{color:#ffd54a;font-weight:bold}
.tcard .tc-duel{color:#ffd54a;font-weight:bold;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25}
.gamesel{flex-wrap:wrap;min-width:0;flex:1 1 auto}
.gamesel button{min-width:0}
/* Dar ekranda "Oyun :" üstte, 4 oyun düğmesi tam genişlikte tek sıra */
@media(max-width:480px){#gameRow{grid-template-columns:1fr;gap:4px}#gameRow .gamesel{gap:4px;flex-wrap:nowrap}.gamesel button{font-size:15px;padding:9px 2px;flex:1 1 0}}
.gamesel button{padding-left:4px;padding-right:4px;white-space:nowrap}
.tcard.g-pisti{background:#5a2a10;border-color:#2e1404}
.tcard.g-pisti .tc-table{border-right-color:#2e1404}
.tcard.g-pisti .tc-game{color:#ffb27a}
.tcard .tc-seat.off{visibility:hidden}
.tc-game{font-weight:bold;color:#ffca42}
.tcard.g-okey{background:#0b4a3a;border-color:#002a1f}
.tcard.g-okey .tc-table{border-right-color:#002a1f}
.tcard.g-okey .tc-game{color:#7df0b8}
@media(max-width:600px){.lobby-filter{height:auto;flex-wrap:wrap}.lobby-filter input{flex:1 1 90px;width:auto;max-width:none;min-width:0}.gfilter{margin-left:0;flex:1 1 100%;flex-wrap:wrap}.gfilter button{flex:1 1 auto;padding:6px 4px;font-size:12px}}
.brandmark-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}
img.lm {
    object-fit: contain;
}
.bellbtn > span {
    filter: hue-rotate(180deg) saturate(3) brightness(1.2);
}
/* Mavi Teras logosu (12 Kasım 2026): <picture> 3:2, yüksekliğe göre; telefonda küçülür, taşmaz */
.mt-logo{display:block;flex:0 0 auto;line-height:0}
.mt-logo img{display:block;height:var(--mt-h,60px);width:auto;max-width:none;aspect-ratio:3/2;object-fit:contain}
@media(max-width:900px){.mt-logo{--mt-h:52px}}
@media(max-width:600px){.mt-logo{--mt-h:44px}}
@media(max-width:360px){.mt-logo{--mt-h:38px}}
.brand .mt-logo{--mt-h:48px}
@media(max-width:600px){.brand .mt-logo{--mt-h:40px}}
