/* Okey 101 masası (okey.js ile birlikte yüklenir) */
.olobby{max-width:760px;margin:0 auto;display:grid;gap:16px}
.olobby .card,.oboard .card{padding:18px 20px}
.ocands{display:grid;gap:8px;margin:12px 0}
.page .ocand{display:flex;margin:0;font-size:inherit;font-weight:400;align-items:center;gap:12px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;cursor:pointer}
.page .ocand.off{opacity:.55;cursor:not-allowed}
.ocand input{width:20px;height:20px;accent-color:var(--brand)}
.ocand .ci,.oinvrow .ci{flex:1;min-width:0}
.ocand .ci strong,.ocand .ci>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.orow{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:12px}
.page .orow label{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:.88rem}
.orow select{padding:8px 10px;border:1px solid var(--line);border-radius:10px;font:inherit}
.oinvrow{display:flex;align-items:center;gap:12px;padding:8px 0;flex-wrap:wrap}
.mav.sm{width:36px;height:36px;font-size:.95rem}
.mav.lg{width:76px;height:76px;font-size:1.6rem}
.btn.sm{padding:8px 14px;font-size:.84rem;color:#fff}
.btn.ghost.sm{color:var(--ink)}
.btn.ghost.sm:hover{color:var(--brand-d)}

/* oyun logoları */
.ologo{display:block;width:64px;height:64px;border-radius:20px;box-shadow:0 8px 16px -6px rgba(30,15,40,.45);flex:none}
.ologo.md{width:56px;height:56px;border-radius:17px}
.ologo.xs{width:40px;height:40px;border-radius:12px;box-shadow:0 4px 8px -3px rgba(30,15,40,.4)}
.ohtitle{display:inline-flex;align-items:center;gap:10px}
.owtitle .ologo{margin:0 auto 10px}
.oemoji .ologo{opacity:.9}
.ogame .ogi{display:block;line-height:0;margin-bottom:4px}

/* hareket geri bildirimi */
.oturnalert{position:fixed;top:84px;left:50%;transform:translateX(-50%);z-index:9999;padding:14px 30px;border-radius:999px;background:linear-gradient(135deg,#ffd76a,#e0950a);color:#2a1a05;font-weight:800;font-size:1.25rem;box-shadow:0 18px 40px -10px rgba(224,138,0,.75);animation:oalert 1.8s both;pointer-events:none}
@keyframes oalert{0%{opacity:0;transform:translate(-50%,-30px) scale(.8)}12%{opacity:1;transform:translate(-50%,0) scale(1.1)}22%{transform:translate(-50%,0) scale(1)}85%{opacity:1}100%{opacity:0;transform:translate(-50%,-10px)}}
.otable.myturn{box-shadow:inset 0 0 0 7px #6b4425,inset 0 0 0 9px #f5b942,inset 0 0 80px rgba(245,185,66,.25),0 0 0 4px rgba(245,185,66,.55),0 24px 40px -22px rgba(30,15,5,.6)}
.ostepper{display:grid;gap:6px;justify-items:center}
.ostepbar{display:inline-flex;align-items:center;gap:6px;padding:5px;border-radius:999px;background:rgba(0,0,0,.35)}
.ostp{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;font-weight:700;font-size:.9rem;color:rgba(255,255,255,.6)}
.ostp b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.2);font-size:.78rem}
.ostp.on{background:#f5b942;color:#2a1a05;animation:opulse 1.4s infinite}
.ostp.on b{background:#2a1a05;color:#f5b942}
.ostp.done{color:#9ff0c0}.ostp.done b{background:#22c55e;color:#fff}
.osarrow{color:rgba(255,255,255,.6)}
.ostepper small{color:rgba(255,255,255,.88);font-size:.8rem;text-align:center}
.odot{width:9px;height:9px;border-radius:50%;background:#f5b942;margin-right:9px;display:inline-block;animation:opulse 1.2s infinite}
.oturnpill{display:inline-flex;align-items:center}
.ocapslot{display:flex;align-items:center;justify-content:center;min-height:1.75rem;min-width:7.8rem}
.ocap{padding:3px 10px;border-radius:999px;background:#f5b942;color:#2a1a05;font-size:.74rem;font-weight:800;animation:opop2 .25s}
@keyframes opop2{from{opacity:0;transform:translateY(-6px) scale(.9)}to{opacity:1;transform:none}}
.opfan{display:flex;justify-content:center;min-height:42px}
.opfan .otile+.otile{margin-left:-20px}
.opile.newest .otile:last-child,.odrop.newest .otile{box-shadow:0 0 0 3px #f5b942,0 0 14px 3px rgba(245,185,66,.85)}
.opile.newest .otile:last-child{animation:opulse 1s 3}
.otile.drawn:not(.fresh)::after{content:"YENİ";position:absolute;top:-9px;left:50%;transform:translateX(-50%);padding:1px 6px;border-radius:999px;background:#f5b942;color:#2a1a05;font-size:.56rem;font-weight:800;pointer-events:none}
.oback.fly{box-shadow:0 10px 18px rgba(0,0,0,.4)}
.otile.fly{box-shadow:0 14px 22px rgba(0,0,0,.45)}

/* lobi */
.olobby.wide{max-width:1080px;gap:22px}
.ohero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:34px 38px;border-radius:28px;color:#fff;
  background:radial-gradient(120% 140% at 85% 0%,#2f9a69 0%,#1c704c 45%,#0f4a32 100%);box-shadow:inset 0 0 0 5px #6b4425,inset 0 0 0 7px #8a5a33,0 22px 40px -24px rgba(30,15,5,.55)}
.ohtext{position:relative;z-index:1;max-width:520px}
.ohtag{display:inline-block;padding:5px 12px;border-radius:999px;background:rgba(0,0,0,.28);font-size:.78rem;font-weight:600}
.ohero h2{color:#fff;font-size:clamp(1.9rem,4vw,2.6rem);margin:12px 0 8px;letter-spacing:-.02em}
.ohero p{margin:0;color:rgba(255,255,255,.9);font-size:1rem}
.ohtiles{position:relative;display:flex;gap:10px;flex:none}
.ohtile{transform:rotate(var(--r,-8deg)) translateY(var(--y,0));filter:drop-shadow(0 12px 14px rgba(0,0,0,.35))}
.ohtile .otile{--tw:54px}
.ohtile.t0{--r:-12deg;--y:6px}.ohtile.t1{--r:-4deg;--y:-8px}.ohtile.t2{--r:5deg;--y:4px}.ohtile.t3{--r:12deg;--y:-6px}
.olsec{display:grid;gap:12px}
.olsech{display:flex;align-items:center;gap:10px}
.olsech h3{margin:0;color:var(--plum);font-size:1.15rem}
.ostep{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#f0488a,var(--brand-d));color:#fff;font-weight:800;font-size:.85rem}
.ogames{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.ogame{position:relative;display:grid;gap:6px;justify-items:start;text-align:left;padding:22px 22px 20px;border:2px solid var(--line);border-radius:22px;background:#fff;font:inherit;color:var(--ink);cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.ogame:hover{border-color:#e7b9d2;transform:translateY(-2px)}
.ogame.on{border-color:var(--brand);box-shadow:0 0 0 4px rgba(224,53,122,.14),0 16px 30px -18px rgba(224,53,122,.5);background:linear-gradient(180deg,#fff,#fff6fa)}
.ogame .ogi{font-size:2.4rem;line-height:1}
.ogame strong{font-size:1.2rem;color:var(--plum)}
.ogame small{color:var(--muted);font-size:.9rem}
.ocheck{position:absolute;top:14px;right:14px;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--line);color:transparent;font-size:.85rem;font-weight:800;transition:all .15s}
.ogame.on .ocheck{background:var(--brand);color:#fff}
.ochips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ochips em{font-style:normal;font-size:.74rem;font-weight:700;padding:4px 10px;border-radius:999px;background:#f5ecf8;color:var(--plum)}
.olgrid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;align-items:start}
.ocard{padding:22px 22px 24px!important;display:grid;gap:14px}
.ocardhead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ocardhead h3{margin:0;color:var(--plum)}
.ocount{padding:3px 12px;border-radius:999px;background:#f3e9f7;color:var(--plum);font-size:.78rem;font-weight:700}
.ocount.hot{background:var(--brand);color:#fff}
.ofield{display:grid;gap:8px}
.olabel{font-size:.82rem;font-weight:700;color:var(--ink)}
.oseg{display:inline-flex;padding:4px;border-radius:999px;background:#f3e9f7;gap:2px;width:max-content}
.oseg button{border:0;background:none;padding:8px 22px;border-radius:999px;font:inherit;font-weight:700;color:var(--muted);cursor:pointer}
.oseg button.on{background:#fff;color:var(--brand-d);box-shadow:0 2px 6px rgba(58,18,69,.15)}
.page .oswitch{position:relative;display:flex;align-items:center;gap:14px;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:16px;cursor:pointer;font-size:inherit;font-weight:400}
.oswitch input{position:absolute;opacity:0;pointer-events:none}
.oswitch .osw{position:relative;flex:none;width:46px;height:26px;border-radius:999px;background:#d9cde0;transition:background .15s}
.oswitch .osw:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .15s}
.oswitch input:checked+.osw{background:var(--brand)}
.oswitch input:checked+.osw:after{transform:translateX(20px)}
.oswitch input:focus-visible+.osw{outline:3px solid rgba(224,53,122,.35);outline-offset:2px}
.oswitch strong,.oswitch small{display:block}
.oswitch small{color:var(--muted)}
.btn.big{padding:15px 24px;font-size:1.05rem;width:100%}
.osmall{margin:0;font-size:.8rem;color:var(--muted)}
.otrow{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.otrow:first-of-type{border-top:0}
.otrow .ci{flex:1;min-width:0}
.otrow .ci strong,.otrow .ci>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ovar{display:inline-block;padding:1px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#fdeaf3;color:var(--brand-d)}
.ovar.v-normal{background:#e3f4ea;color:#166534}
.odots{display:inline-flex;gap:4px;flex:none}
.odots i{width:10px;height:10px;border-radius:50%;background:#e2d8e9}
.odots i.on{background:var(--brand)}
.oempty{display:grid;justify-items:center;gap:4px;padding:24px 10px;text-align:center;border:2px dashed var(--line);border-radius:18px;color:var(--muted)}
.oemoji{font-size:2.2rem}
.oempty strong{color:var(--plum)}
.orules ol{margin:8px 0 0;padding-left:20px;display:grid;gap:8px;color:#4a3f5c}
.orules h3{margin:0;color:var(--plum)}
.orules{padding:22px!important}
@media (max-width:860px){.olgrid{grid-template-columns:1fr}.ohero{padding:26px 22px}.ohtiles{display:none}}

/* bekleme odası */
.owroom{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:18px;align-items:start;max-width:1100px;margin:0 auto}
.owmain{display:grid;gap:14px}
.owside{display:grid;gap:14px}
.owarena{position:relative;min-height:440px;border-radius:30px;padding:20px;color:#fff;
  background:radial-gradient(ellipse at 50% 38%,#2f9a69 0%,#1c704c 55%,#0f4a32 100%);
  box-shadow:inset 0 0 0 7px #6b4425,inset 0 0 0 9px #8a5a33,inset 0 0 70px rgba(0,0,0,.4),0 24px 40px -22px rgba(30,15,5,.6)}
.owoval{position:absolute;inset:19% 17%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;
  background:radial-gradient(ellipse at 50% 30%,#23805a,#15603f);box-shadow:inset 0 0 0 5px rgba(107,68,37,.9),inset 0 0 38px rgba(0,0,0,.35)}
.owoval strong{font-size:1.25rem}
.owoval span{font-size:.82rem;opacity:.85}
.owoval .ologo{margin-bottom:4px}
.owseatp{position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;width:150px;text-align:center;transform:translate(-50%,-50%)}
.owseatp.bottom{left:50%;top:86%}.owseatp.top{left:50%;top:14%}.owseatp.right{left:88%;top:50%}.owseatp.left{left:12%;top:50%}
.owseatp strong{font-size:.95rem;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.owseatp strong.dim{opacity:.7}
.owav{position:relative;border-radius:50%;padding:4px;background:rgba(255,255,255,.28);animation:owin .4s both}
.owav.host{background:linear-gradient(135deg,#ffd76a,#e0950a)}
.owav .mav.lg{width:76px;height:76px}
.owav.vacant{background:none;animation:none}
.owav.vacant .mav.ghost{display:flex;align-items:center;justify-content:center;border:2px dashed rgba(255,255,255,.55);background:rgba(255,255,255,.08);color:rgba(255,255,255,.75);animation:owpulse 2s infinite}
.owcrown{position:absolute;top:-16px;left:50%;transform:translateX(-50%);font-size:1.3rem;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
.owtag{display:inline-block;padding:2px 12px;border-radius:999px;font-size:.72rem;font-weight:800;background:#fdeaf3;color:var(--brand-d)}
.owtag.ok{background:#dcfce7;color:#166534}
.owtag.wait{background:rgba(255,255,255,.16);color:rgba(255,255,255,.85)}
@keyframes owin{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
@keyframes owpulse{0%,100%{opacity:.6}50%{opacity:1}}
.owbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px!important}
.owprog{display:flex;align-items:center;gap:14px}
.owprog .odots i{width:14px;height:14px}
.owprog strong{display:block;color:var(--plum)}
.owprog small{color:var(--muted)}
.owbar .btn.big{width:auto;min-width:210px}
.owwait{display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:600}
.owspin{width:16px;height:16px;border-radius:50%;border:3px solid #eadff0;border-top-color:var(--brand);animation:owspin .9s linear infinite}
@keyframes owspin{to{transform:rotate(360deg)}}
.owinfo{gap:6px!important}
.owrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:.9rem}
.owrow span{color:var(--muted)}
.owrow strong{color:var(--plum);text-align:right}
.owrules summary{cursor:pointer;font-weight:700;color:var(--brand-d);padding:8px 0}
.owrules ol{margin:4px 0 0;padding-left:20px;color:#4a3f5c;display:grid;gap:6px;font-size:.88rem}
@media (max-width:900px){.owroom{grid-template-columns:1fr}}
@media (max-width:700px){
  .owarena{min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 8px;padding:16px 10px}
  .owoval{position:static;grid-column:1/-1;border-radius:22px;padding:14px;flex-direction:row;gap:12px;justify-content:center}
  .owseatp{position:static;transform:none;width:auto}
  .owbar .btn.big{width:100%}
}
.otable.wait{display:flex;flex-direction:column;align-items:center;gap:18px;padding:28px 18px;color:#fff;text-align:center}
.owtitle{font-size:1.3rem;font-weight:800}
.owtitle small{display:block;font-size:.8rem;font-weight:500;opacity:.8;margin-top:2px}
.owseats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;width:100%;max-width:560px}
.owseat{display:flex;flex-direction:column;align-items:center;gap:6px}
.owseat .mav{box-shadow:0 0 0 3px rgba(255,255,255,.35)}
.owseat .mav.ghost{background:rgba(255,255,255,.1);border:2px dashed rgba(255,255,255,.5);color:rgba(255,255,255,.7)}
.owseat.empty .sm{color:rgba(255,255,255,.75)}
.owinv{color:rgba(255,255,255,.85)}

/* oyun masası */
#view-games .wrap{max-width:1280px}
.oboard{display:grid;gap:12px}
.ohead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ohbtns{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}
.ohbtns .btn{position:relative;overflow:visible}
.ohbtns .badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;font-size:.66rem;box-shadow:0 0 0 2px #46290f;z-index:2}
.otable{position:relative;display:grid;gap:10px;padding:16px;border-radius:30px;color:#fff;
  background:radial-gradient(ellipse at 50% 35%,#2f9a69 0%,#1c704c 55%,#0f4a32 100%);
  box-shadow:inset 0 0 0 7px #6b4425,inset 0 0 0 9px #8a5a33,inset 0 0 70px rgba(0,0,0,.4),0 24px 40px -22px rgba(30,15,5,.6)}
.otable.n2{grid-template-columns:1fr;grid-template-areas:"top" "center"}
.otable.n3{grid-template-columns:170px 1fr 170px;grid-template-areas:"left center right"}
.otable.n4{grid-template-columns:170px 1fr 170px;grid-template-areas:". top ." "left center right"}
.pos-top{grid-area:top;justify-self:center}.pos-left{grid-area:left;align-self:center}.pos-right{grid-area:right;align-self:center}
.ocenter{grid-area:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:170px;padding:8px}

.oseat{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 12px;border-radius:18px;background:rgba(0,0,0,.22);text-align:center;min-width:130px;transition:box-shadow .2s,background .2s}
.oseat.turn{background:rgba(0,0,0,.34);box-shadow:0 0 0 2px #f5b942,0 0 22px rgba(245,185,66,.45)}
.oring{--p:0;--c:#f5b942;position:relative;width:64px;height:64px;padding:4px;border-radius:50%;background:conic-gradient(var(--c) calc(var(--p)*1%),rgba(255,255,255,.22) 0)}
.oring.low{--c:#ff5a6e}
.oring .mav{width:100%;height:100%;font-size:1.3rem}
.osec{position:absolute;right:-6px;bottom:-4px;min-width:22px;padding:1px 6px;border-radius:999px;background:#1b0f24;color:#fff;font-size:.72rem;font-weight:800;font-variant-numeric:tabular-nums}
.osec:empty{display:none}
.oinfo{display:grid;gap:1px;font-size:.78rem;line-height:1.25}
.oinfo strong{font-size:.92rem;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.oinfo span{opacity:.85}
.oscore{font-weight:700}
.oseat .more{position:absolute;top:6px;right:6px}
.oseat .more summary{color:#fff;background:rgba(0,0,0,.28);width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;list-style:none;cursor:pointer}
.oseat .more .menu{color:var(--ink)}
.opile .otile.vacant{width:30px;height:39px}
.opile{display:grid;gap:2px;justify-items:center;padding:6px 10px;border-radius:12px;border:2px dashed rgba(255,255,255,.35);background:transparent;color:#fff;font:inherit;cursor:default}
.opile small{font-size:.7rem;opacity:.85}
.opile.can{cursor:pointer;border-color:#f5b942;background:rgba(245,185,66,.18);animation:opulse 1.4s infinite}
.obubble{position:absolute;top:-14px;left:50%;transform:translateX(-50%);z-index:5;max-width:200px;padding:6px 12px;border-radius:14px;background:#fff;color:var(--ink);font-size:.82rem;font-weight:600;box-shadow:0 6px 16px rgba(0,0,0,.3);animation:opop .25s}
.obubble:after{content:"";position:absolute;left:50%;bottom:-5px;width:10px;height:10px;background:#fff;transform:translateX(-50%) rotate(45deg)}

.omid{display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap}
.oind{display:grid;gap:4px;justify-items:center;font-size:.72rem}
.oind small{opacity:.85}
.odeck{position:relative;width:62px;height:96px;border:0;background:none;padding:0;color:#fff;font:inherit;cursor:default}
.odeck small{position:absolute;left:50%;bottom:-22px;transform:translateX(-50%);white-space:nowrap;font-size:.72rem;opacity:.9}
.oback{position:absolute;left:0;top:0;width:56px;height:74px;border-radius:8px;background:linear-gradient(135deg,#2b5fb8,#17397a);box-shadow:0 2px 0 #0d2250,0 3px 6px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center}
.oback.b3{transform:translate(0,0)}.oback.b2{transform:translate(3px,-3px)}.oback.b1{transform:translate(6px,-6px);border:2px solid rgba(255,255,255,.35)}
.oback b{font-size:1.15rem}
.odeck.can{cursor:pointer;animation:opulse 1.4s infinite;border-radius:10px}
.odeck.can .b1{border-color:#f5b942}
.ogroups{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;max-height:230px;overflow:auto;margin-top:18px;padding:2px}
.ogroup{padding:5px 8px 6px;border-radius:12px;background:rgba(0,0,0,.22);border:2px solid transparent}
.ogroup small{display:block;font-size:.66rem;opacity:.8;margin-bottom:2px}
.ogroup.target{border-color:rgba(245,185,66,.7);cursor:pointer}
.ogroup.hot{border-color:#f5b942;background:rgba(245,185,66,.25)}
.otiles{display:flex;gap:2px}
.oturnpill{padding:7px 16px;border-radius:999px;background:rgba(0,0,0,.35);font-size:.86rem;font-weight:600}
.oturnpill.mine{background:#f5b942;color:#2a1a05}
.ohint{margin:0;font-size:.82rem;opacity:.85;text-align:center}
.oboard>.ohint{color:var(--muted);opacity:1}

/* taşlar */
.otile{--tw:42px;position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:var(--tw);height:calc(var(--tw)*1.3);border-radius:9px;
  background:linear-gradient(180deg,#fffef8 0%,#f3edd9 100%);box-shadow:0 2px 0 #c7bb95,0 4px 7px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.9);user-select:none;-webkit-user-select:none}
.otile b{font-size:calc(var(--tw)*.5);line-height:1;font-weight:800;letter-spacing:-.02em}
.otile i{font-style:normal;font-size:calc(var(--tw)*.26);line-height:1;margin-top:3px}
.otile.sm{--tw:30px;border-radius:7px}
.otile.vacant{background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.oc0{color:#c78a00}.oc1{color:#1d6fd8}.oc2{color:#20202a}.oc3{color:#d6254a}
.otile.wild{background:linear-gradient(180deg,#fff6cc,#f6d77a);box-shadow:0 2px 0 #b78f21,0 4px 7px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.55)}
.otile.fake{background:linear-gradient(180deg,#f2f3ff,#d9dcf7);box-shadow:0 2px 0 #8d92cf,0 4px 7px rgba(0,0,0,.28)}

/* ıstaka */
.obottom{display:grid;grid-template-columns:1fr auto;grid-template-areas:"me drop" "rack rack";gap:10px 12px;align-items:stretch}
.obottom .oseat{grid-area:me}.obottom .odrop{grid-area:drop}.obottom .orackwrap{grid-area:rack}
.obottom .oseat{flex-direction:row;justify-content:flex-start;text-align:left;gap:14px;padding:8px 14px}
.obottom .oring{width:52px;height:52px}
.obottom .oseat{background:#fff;color:var(--ink);border:1px solid var(--line)}
.obottom .oseat.turn{box-shadow:0 0 0 2px var(--brand),0 0 18px rgba(224,53,122,.3);background:#fff}
.obottom .oring{background:conic-gradient(var(--brand) calc(var(--p)*1%),#eadff0 0)}
.obottom .oring.low{background:conic-gradient(#ff3b5c calc(var(--p)*1%),#eadff0 0)}
.orackwrap{padding:14px 12px 16px;border-radius:18px;background:linear-gradient(180deg,#a2713f,#7d5129);box-shadow:inset 0 2px 0 rgba(255,255,255,.25),inset 0 -6px 14px rgba(0,0,0,.25),0 8px 0 #5a371a,0 14px 22px -8px rgba(0,0,0,.45)}
.orack{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:5px;row-gap:12px}
.oslot{container-type:inline-size;position:relative;aspect-ratio:3/4;border-radius:8px;background:none;box-shadow:none} /* düz ıstaka: gömülü yuva görünümü yok */
.oslot.hot{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.oslot .otile{width:100%;height:100%;--tw:100cqw;touch-action:none;cursor:grab}
.oslot .otile b{font-size:46cqw}.oslot .otile i{font-size:24cqw}
.otile.sel{transform:translateY(-9%);box-shadow:0 0 0 3px var(--brand),0 8px 12px rgba(0,0,0,.3)}
.otile.ok{box-shadow:0 2px 0 #c7bb95,0 0 0 3px #22c55e,0 4px 7px rgba(0,0,0,.28)}
.otile.bad{box-shadow:0 2px 0 #c7bb95,0 0 0 3px #ef4444,0 4px 7px rgba(0,0,0,.28)}
.otile.drawn:not(.sel):not(.ok):not(.bad){box-shadow:0 2px 0 #c7bb95,0 0 0 3px #f5b942,0 4px 7px rgba(0,0,0,.28)}
.otile.fresh{animation:odeal .38s cubic-bezier(.2,.9,.3,1.2)}
.otile.lifted{opacity:.25}
.otile.fin{box-shadow:0 2px 0 #c7bb95,0 0 0 3px #f5b942,0 0 14px 3px rgba(245,185,66,.8);animation:opulse 1.2s infinite}
.mav.prem{box-shadow:0 0 0 2px #fff,0 0 0 4px #f5b942}
.oghost{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-60%) scale(1.12) rotate(-3deg);box-shadow:0 18px 26px rgba(0,0,0,.45)!important;opacity:.97}
.oghost b{font-size:calc(var(--tw)*.5)!important}.oghost i{font-size:calc(var(--tw)*.26)!important}
.odrop{display:grid;grid-auto-flow:column;gap:10px;justify-items:center;align-items:center;min-width:150px;padding:8px 14px;border-radius:16px;border:2px dashed #cdbfd6;color:var(--muted);font-size:.74rem;background:#fff}
.odrop.live{border-color:var(--brand);color:var(--brand-d);background:#fff5fa;animation:opulse 1.6s infinite}
.odrop.hot{background:#fde0ee;border-style:solid}
.odrop .otile{--tw:30px}
.oacts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ostat{padding:6px 12px;border-radius:999px;background:#f3e9f7;color:var(--plum);font-size:.84rem;font-weight:700}
.ostat.ok{background:#dcfce7;color:#166534}

/* sonuç ve sohbet */
.oover{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(14,10,22,.62);backdrop-filter:blur(3px)}
.oresult{width:min(440px,100%);text-align:center;animation:ofade .3s}
.oresult table{width:100%;margin:10px 0}
.ochat.float{position:fixed;right:16px;bottom:16px;z-index:60;width:min(350px,calc(100vw - 32px));box-shadow:0 20px 50px -10px rgba(30,10,40,.5)}
.ochead{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ochat .omsgs{max-height:170px;overflow-y:auto;display:grid;gap:4px;align-content:start;padding:8px;background:#fdf8fb;border-radius:12px;margin:8px 0}
.omsg{font-size:.9rem;overflow-wrap:anywhere}
.omsg.mine b{color:var(--brand-d)}
.oquick{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.ochatform{display:flex;gap:8px}
.ochatform input{flex:1;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;font:inherit}

@keyframes opulse{0%,100%{box-shadow:0 0 0 0 rgba(245,185,66,.55)}50%{box-shadow:0 0 0 8px rgba(245,185,66,0)}}
@keyframes opop{from{opacity:0;transform:translateX(-50%) scale(.85)}to{opacity:1;transform:translateX(-50%) scale(1)}}
@keyframes ofade{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
@keyframes odeal{from{opacity:0;transform:translateY(-70px) scale(.7) rotate(-8deg)}to{opacity:1;transform:none}}

@media (max-width:700px){
  .otable{padding:12px 10px;border-radius:22px;gap:8px}
  .otable.n3{grid-template-columns:1fr 1fr;grid-template-areas:"left right" "center center"}
  .otable.n4{grid-template-columns:1fr 1fr;grid-template-areas:"top top" "left right" "center center"}
  .pos-top{justify-self:stretch}.pos-left,.pos-right{align-self:stretch}
  .oseat{flex-direction:row;flex-wrap:wrap;justify-content:center;min-width:0;padding:8px;gap:8px}
  .oring{width:44px;height:44px;padding:3px}.oring .mav{font-size:.95rem}
  .oinfo strong{max-width:90px;font-size:.85rem}
  .opile{padding:4px 8px}
  .otile.sm{--tw:26px}
  .ocenter{min-height:0}
  .obottom{grid-template-columns:1fr;grid-template-areas:"me" "drop" "rack"}
  .orackwrap{padding:10px 6px 12px}
  .orack{gap:3px;row-gap:8px}
  .odrop{min-width:0;padding:6px 10px}
  .owseats{grid-template-columns:repeat(2,1fr)}
  .ochat.float{left:8px;right:8px;bottom:8px;width:auto}
}
@media (prefers-reduced-motion:reduce){.otile.fresh,.odeck.can,.opile.can,.odrop.live{animation:none}}

/* ===== tam ekran oyun sahnesi (Okey Plus tarzı) ===== */
body.ostage{overflow:hidden;background:#0b3d29}
body.ostage>header,body.ostage header,body.ostage footer,body.ostage #vbar,body.ostage #tabbar,body.ostage .toastspacer{display:none!important}
body.ostage .page,body.ostage #view-games,body.ostage #view-games .wrap{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;min-height:0!important}
body.ostage .oboard{position:fixed;inset:0;z-index:40;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:0;color:#fff;overflow:hidden;
  background:radial-gradient(80% 70% at 50% 38%,rgba(255,255,255,.12),transparent 62%),radial-gradient(130% 110% at 50% 40%,#2f9a69 0%,#1b6e4a 48%,#093624 100%)}
body.ostage .oboard:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(45deg,rgba(255,255,255,.02) 0 2px,transparent 2px 6px)}
body.ostage .oboard>*{position:relative}
body.ostage .oboard>.ochat.float,body.ostage .oboard>.oover{position:fixed}
body.ostage .ohead{z-index:2;padding:8px 18px;background:linear-gradient(180deg,#6b4425,#46290f);border-bottom:2px solid #9a6a3a;box-shadow:0 6px 16px rgba(0,0,0,.45)}
body.ostage .ohead strong{color:#fff}
body.ostage .ohead .btn.ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.28);box-shadow:none}
body.ostage .otable{border-radius:0;box-shadow:none;background:none;padding:8px 20px;min-height:0;height:100%;align-content:stretch}
body.ostage .otable.n2{grid-template-rows:auto minmax(0,1fr)}
body.ostage .otable.n3{grid-template-columns:minmax(150px,230px) minmax(0,1fr) minmax(150px,230px);grid-template-rows:minmax(0,1fr)}
body.ostage .otable.n4{grid-template-columns:minmax(150px,230px) minmax(0,1fr) minmax(150px,230px);grid-template-rows:auto minmax(0,1fr)}
body.ostage .otable.myturn{box-shadow:inset 0 0 0 4px rgba(245,185,66,.85),inset 0 0 90px rgba(245,185,66,.18)}
body.ostage .ocenter{min-height:0;overflow:auto;justify-content:center;padding:6px}
body.ostage .oseat{background:rgba(0,0,0,.3)}
body.ostage .oseat.turn{background:rgba(0,0,0,.42)}
body.ostage .oring{width:clamp(54px,4.4vw,80px);height:clamp(54px,4.4vw,80px)}
body.ostage .otile.sm{--tw:clamp(28px,2.3vw,42px)}
body.ostage .oind .otile.sm{--tw:clamp(34px,3vw,50px)}
body.ostage .odeck{width:clamp(66px,5.2vw,88px);height:clamp(98px,7.6vw,128px)}
body.ostage .oback{width:clamp(56px,4.6vw,78px);height:clamp(74px,6vw,102px)}
body.ostage .obottom{padding:0 18px;grid-template-columns:1fr auto;gap:8px 12px;max-width:1560px;margin:0 auto;width:100%;box-sizing:border-box}
body.ostage .obottom .oseat{background:rgba(0,0,0,.32);color:#fff;border:1px solid rgba(255,255,255,.14)}
body.ostage .obottom .oseat.turn{background:rgba(0,0,0,.42);box-shadow:0 0 0 2px #f5b942,0 0 18px rgba(245,185,66,.5)}
body.ostage .obottom .oring,body.ostage .obottom .oring.low{background:conic-gradient(var(--c) calc(var(--p)*1%),rgba(255,255,255,.22) 0)}
body.ostage .odrop{background:rgba(0,0,0,.25);border-color:rgba(255,255,255,.4);color:#fff}
body.ostage .odrop.live{border-color:#f5b942;color:#ffe29a;background:rgba(245,185,66,.12)}
body.ostage .orackwrap{border-radius:16px 16px 0 0;padding:14px 14px 18px}
body.ostage .oacts{justify-content:center;padding:10px 16px 12px;background:linear-gradient(180deg,#5a3718,#3f240c);border-top:2px solid #9a6a3a}
body.ostage .oacts .btn.ghost{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.25);box-shadow:none}
body.ostage .ostat{background:rgba(255,255,255,.14);color:#fff}
body.ostage .ostat.ok{background:#22c55e;color:#04210f}
body.ostage .ohint{padding:6px 16px;background:#3f240c;color:rgba(255,255,255,.78);font-size:.78rem;opacity:1}
body.ostage .oover{z-index:80}
body.ostage .ochat.float{z-index:70}
@media (max-height:760px){body.ostage .ohint{display:none}}
@media (max-width:700px){
  body.ostage .ohead{padding:6px 10px}
  body.ostage .otable{padding:6px 8px}
  body.ostage .otable.n3{grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr)}
  body.ostage .otable.n4{grid-template-columns:1fr 1fr;grid-template-rows:auto auto minmax(0,1fr)}
  body.ostage .oring{width:42px;height:42px}
  body.ostage .oseat{padding:6px 8px}
  body.ostage .obottom{padding:0 8px;grid-template-columns:1fr}
  body.ostage .obottom .oseat{padding:4px 10px}
  body.ostage .orackwrap{padding:10px 6px 12px}
  body.ostage .oacts{padding:8px 10px;gap:6px}
  body.ostage .odeck{width:60px;height:90px}
}

/* sahne düzeltmeleri: okunur isimler, ekran yüksekliğine göre ıstaka boyu */
.oseat strong,.oseat .oinfo strong{color:#fff}
.obottom .oseat .oinfo span{color:rgba(255,255,255,.85)}
body.ostage .orack{grid-template-columns:repeat(var(--cols),minmax(0,calc(11.25vh / var(--rows,1))));justify-content:center;max-width:1500px;margin:0 auto}
body.ostage .opile{padding:4px 10px}
body.ostage .opile .otile.vacant{height:calc(var(--tw,30px)*1.3)}
body.ostage .oseat .oinfo{gap:0}
@media (max-height:700px){body.ostage .ocenter{gap:6px}body.ostage .oind{display:none}}

/* kompakt üst koltuk ve masaüstünde tek satır alt şerit: ben | ıstaka | atma alanı */
body.ostage .oseat.pos-top{flex-direction:row;flex-wrap:nowrap;gap:16px;padding:8px 20px;text-align:left;align-items:center;min-width:0}
body.ostage .oseat.pos-top .oinfo{text-align:left}
body.ostage .oseat.pos-top .opile{padding:2px 8px}
@media (min-width:1100px){
  body.ostage .obottom{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"me rack drop";align-items:center;gap:12px;max-width:none;padding:6px 18px 0}
  body.ostage .obottom .oseat{flex-direction:column;justify-content:center;min-width:150px;text-align:center;align-self:center;padding:10px 12px;gap:6px}
  body.ostage .obottom .oseat .oinfo{text-align:center}
  body.ostage .obottom .odrop{grid-auto-flow:row;min-width:120px;align-self:center;padding:12px 10px}
  body.ostage .orackwrap{border-radius:16px;padding:14px 14px 18px}
}

/* jeton ve hediyeler */
.otoken{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:0;border-radius:999px;background:linear-gradient(135deg,#ffd76a,#e0950a);color:#2a1a05;font:inherit;font-weight:800;font-size:.9rem;cursor:pointer;box-shadow:0 6px 14px -6px rgba(224,149,10,.8);transition:transform .15s}
.otoken:hover{transform:translateY(-1px)}
.otoken small{font-weight:700;opacity:.75}
.otoken.hero{margin-top:14px;padding:10px 18px;font-size:1rem}
.ogiftbtn{position:absolute;top:6px;left:6px;width:28px;height:28px;border:0;border-radius:50%;background:linear-gradient(135deg,#ff7aa8,#e0357a);font-size:.95rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(0,0,0,.35);transition:transform .15s}
.ogiftbtn:hover{transform:scale(1.15) rotate(-8deg)}
.owseatp .ogiftbtn{position:static;width:auto;height:auto;padding:4px 12px;border-radius:999px;font-size:.8rem;margin-top:2px}
.omodal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(14,10,22,.65);backdrop-filter:blur(3px);animation:ofade .2s}
.omcard{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:22px;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 30px 70px -10px rgba(10,5,20,.6)}
.omcard.wide{width:min(640px,100%)}
.omhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.omhead h3{margin:0;color:var(--plum)}
.omhead small{color:var(--muted)}
.ogrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}
.ogift{display:grid;gap:2px;justify-items:center;padding:14px 8px;border:2px solid var(--line);border-radius:18px;background:#fff;font:inherit;color:var(--ink);cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}
.ogift:hover:not(:disabled){border-color:var(--brand);transform:translateY(-3px);box-shadow:0 12px 22px -14px rgba(224,53,122,.7)}
.ogift:disabled{opacity:.45;cursor:not-allowed}
.ogift .oge{font-size:2.3rem;line-height:1.2}
.ogift strong{font-size:.9rem;color:var(--plum)}
.ogift small{color:#b87a00;font-weight:800}
.omfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-weight:700;color:var(--plum)}
.owal{display:grid;gap:14px}
.owal h4{margin:6px 0 0;color:var(--plum)}
.owbal{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:20px;background:linear-gradient(135deg,#fff3c4,#ffe08a)}
.owbal strong{display:block;font-size:2rem;line-height:1;color:#5a3a00}
.owbal small{color:#7a5300;font-weight:700}
.owcoin{font-size:2.4rem}
.owinfo2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.owinfo2 p{margin:4px 0 0;font-size:.86rem;color:var(--muted)}
.opacks{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.opack{position:relative;display:grid;gap:4px;justify-items:center;padding:18px 10px 14px;border:2px solid var(--line);border-radius:20px;background:#fff;font:inherit;cursor:pointer;color:var(--ink);transition:transform .15s,border-color .15s}
.opack:hover:not(:disabled){transform:translateY(-3px);border-color:var(--brand)}
.opack.pop{border-color:#f5b942;background:#fffaf0}
.opack em{position:absolute;top:-10px;padding:2px 10px;border-radius:999px;background:#f5b942;color:#2a1a05;font-size:.68rem;font-weight:800;font-style:normal}
.opack .opc{font-size:1.8rem}
.opack strong{color:var(--plum)}
.opack small{font-weight:800;color:var(--brand-d);font-size:.95rem}
.otot{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.ochip2{padding:4px 12px;border-radius:999px;background:#fdeaf3;color:var(--brand-d);font-weight:800;font-size:.85rem}
.orcv{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:.88rem}
.orcv small{margin-left:auto;color:var(--muted)}
.oge2{font-size:1.5rem}
.oreward{margin:6px 0;padding:10px 14px;border-radius:14px;background:linear-gradient(135deg,#fff3c4,#ffe08a);color:#5a3a00;font-weight:800;animation:ofade .4s}
@media (max-width:560px){.owinfo2{grid-template-columns:1fr}.ogrid{grid-template-columns:repeat(3,1fr)}}

/* masa listesinde oturanların profil resimleri */
.ostack{display:flex;flex:none;padding-left:10px}
.ostk{position:relative;display:inline-flex;margin-left:-10px;border-radius:50%;border:2px solid #fff;background:#fff;box-shadow:0 2px 6px rgba(58,18,69,.25)}
.ostk .mav.xs{width:42px;height:42px;font-size:1rem;border-radius:50%}
.ostk.vacant{width:42px;height:42px;background:#f6f0f9;border:2px dashed #d8c9e2;box-shadow:none}
.ostk.host:after{content:"👑";position:absolute;top:-11px;left:50%;transform:translateX(-50%);font-size:.85rem;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.onames{display:block;color:var(--muted);font-size:.74rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.olock{color:var(--muted)}
.ostack{align-items:center}
.ostk{flex:none;width:42px;height:42px;align-items:center;justify-content:center}
.ostk .mav.xs{flex:none}

/* ===== her ekran ölçüsü: ultra geniş, kısa pencere, yatay telefon, 2. monitör ===== */
body.ostage .oboard{height:100vh;height:100dvh}
body.ostage .oacts{padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
body.ostage .ohead{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
@media (min-width:1100px){body.ostage .obottom{max-width:1900px;margin-left:auto;margin-right:auto}}
@media (min-width:2200px){
  body.ostage .otable.n3,body.ostage .otable.n4{grid-template-columns:minmax(150px,300px) minmax(0,1fr) minmax(150px,300px)}
  body.ostage .ocenter{max-width:1500px;margin:0 auto;width:100%}
}
@media (max-height:700px){
  body.ostage .ohead{padding-top:5px;padding-bottom:5px}
  body.ostage .ohead .btn{padding:6px 12px}
  body.ostage .ohint{display:none}
  body.ostage .obottom .oseat{padding:6px 12px}
  body.ostage .oacts{padding-top:6px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  body.ostage .orackwrap{padding:9px 10px 12px}
  body.ostage .ocenter{gap:6px}
}
@media (max-height:520px){
  body.ostage .oring{width:36px;height:36px;padding:2px}
  body.ostage .oseat{padding:4px 8px;gap:4px}
  body.ostage .oinfo span:nth-child(n+2){display:none}
  body.ostage .oind,body.ostage .odeck small,body.ostage .ostepper small,body.ostage .oturnpill:not(.mine){font-size:.7rem}
  body.ostage .oind small,body.ostage .odeck small,body.ostage .ostepper small{display:none}
  body.ostage .otable{padding:4px 10px}
  body.ostage .ostp{padding:4px 10px;font-size:.78rem}
  body.ostage .odeck{width:52px;height:78px}
  body.ostage .oback{width:46px;height:62px}
}
@media (max-height:520px) and (min-width:640px){
  body.ostage .obottom{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"me rack drop";align-items:center;gap:8px;padding:4px 10px 0}
  body.ostage .obottom .oseat{flex-direction:column;min-width:96px;padding:4px 8px;text-align:center}
  body.ostage .obottom .odrop{grid-auto-flow:row;min-width:84px;padding:6px}
}

/* ölçekleme: genişliğe VE yüksekliğe göre (1080p, 1440p, ultra geniş, kısa pencere) */
body.ostage .orack{grid-template-columns:repeat(var(--cols),minmax(0,min(6.6vh,calc(11.25vh / var(--rows,1)))));max-width:none;justify-content:center}
body.ostage .otile.sm{--tw:clamp(26px,min(2.4vw,3.9vh),60px)}
body.ostage .oind .otile.sm{--tw:clamp(32px,min(3vw,5vh),72px)}
body.ostage .oring{width:clamp(48px,min(4.4vw,7.4vh),100px);height:clamp(48px,min(4.4vw,7.4vh),100px)}
body.ostage .odeck{width:clamp(62px,min(5.2vw,8.6vh),116px);height:clamp(92px,min(7.6vw,12.6vh),170px)}
body.ostage .oback{width:clamp(54px,min(4.6vw,7.6vh),100px);height:clamp(70px,min(6vw,10vh),132px)}
body.ostage .ostp{font-size:clamp(.8rem,min(.9vw,1.9vh),1.1rem)}
body.ostage .oseat .oinfo strong{font-size:clamp(.85rem,min(.95vw,2vh),1.15rem)}
@media (max-height:520px){
  body.ostage .oring{width:36px;height:36px}
  body.ostage .odeck{width:52px;height:78px}
  body.ostage .oback{width:46px;height:62px}
}
@media (max-width:700px){
  body.ostage .oring{width:42px;height:42px}
  body.ostage .odeck{width:60px;height:90px}
  body.ostage .oback{width:54px;height:72px}
}

/* dar dikey telefon: ben + atma alanı tek satır, ıstaka altında; taşlar genişliğe göre büyür */
@media (max-width:700px) and (min-height:521px){
  body.ostage .obottom{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"me drop" "rack rack";gap:6px 8px}
  body.ostage .obottom .oseat{grid-area:me;flex-direction:row;justify-content:flex-start;text-align:left}
  body.ostage .obottom .odrop{grid-area:drop;grid-auto-flow:column;min-width:0;padding:4px 10px}
  body.ostage .obottom .odrop small{display:none}
  body.ostage .orack{grid-template-columns:repeat(var(--cols),minmax(0,min(9.4vw,5.6vh)));row-gap:8px;gap:3px}
}

/* 1440p ve ultra geniş: ıstaka daha geniş; alçak pencere: alt şerit daralır, ıstaka büyür */
@media (min-width:2200px){body.ostage .obottom{max-width:2700px}}
@media (min-width:1100px) and (max-height:700px){
  body.ostage .obottom .oseat{min-width:0;padding:6px 10px}
  body.ostage .obottom .oseat .oinfo span{display:none}
  body.ostage .obottom .odrop{min-width:0;padding:8px 8px}
  body.ostage .obottom .odrop small{display:none}
}
@media (max-height:520px){
  body.ostage .ocenter{flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center;gap:6px 14px}
  body.ostage .ocenter>*{flex:none}
  body.ostage .ogroups{flex:1 1 100%;max-height:none}
  body.ostage .obottom .oseat .oinfo{display:none}
  body.ostage .obottom .oseat{min-width:0;padding:4px 6px}
  body.ostage .obottom .odrop{min-width:0;padding:4px 6px}
  body.ostage .obottom .odrop small{display:none}
}

/* masada görünen son sohbet mesajları */
.ofeed{position:absolute;left:14px;bottom:10px;z-index:6;display:grid;gap:4px;max-width:min(46vw,440px);cursor:pointer}
.omsgi{padding:6px 12px;border-radius:14px;background:rgba(0,0,0,.52);color:#fff;font-size:.84rem;line-height:1.3;overflow-wrap:anywhere;animation:opop2 .25s,ofade .8s calc(9s - var(--age,0) * 1s) forwards}
@keyframes ofade{to{opacity:0;visibility:hidden}}
.omsgi b{color:#ffd76a}
.omsgi.gift{background:rgba(224,53,122,.7)}
.omsgi:nth-last-child(n+3){opacity:.7}

/* hediye düğmesi artık yazılı */
.ogiftbtn{width:auto;height:auto;padding:5px 11px 5px 8px;border-radius:999px;gap:5px;font-size:.78rem}
.ogiftbtn em{font-style:normal;font-weight:800;color:#fff}
.ogiftnote{margin-bottom:12px;padding:10px 14px;border-radius:14px;background:#fff6dc;color:#5a3a00;font-size:.88rem}
.ogiftnote.hidden{display:none}

/* hediye göstergeleri */
.ogifts{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:3px;padding:3px 10px;border-radius:999px;background:linear-gradient(135deg,rgba(255,215,106,.95),rgba(224,149,10,.95));color:#2a1a05;font-size:1.05rem;line-height:1.2;box-shadow:0 4px 10px rgba(0,0,0,.3)}
.ogifts small{font-size:.66rem;font-weight:800;margin-right:3px}
.ogiftbanner{position:fixed;top:92px;left:50%;transform:translateX(-50%);z-index:9999;display:flex;align-items:center;gap:14px;padding:14px 26px;border-radius:22px;background:linear-gradient(135deg,#ff7aa8,#e0357a);color:#fff;box-shadow:0 22px 50px -10px rgba(224,53,122,.8);animation:ogb 3.2s both;pointer-events:none}
.ogiftbanner .ogbe{font-size:2.6rem;line-height:1;animation:ogbounce .9s .2s 2}
.ogiftbanner small{display:block;font-weight:800;letter-spacing:.08em;opacity:.9}
.ogiftbanner b{display:block;font-size:1.15rem}
.ogiftbanner span:not(.ogbe){opacity:.95}
@keyframes ogb{0%{opacity:0;transform:translate(-50%,-30px) scale(.8)}10%{opacity:1;transform:translate(-50%,0) scale(1.06)}18%{transform:translate(-50%,0) scale(1)}88%{opacity:1}100%{opacity:0;transform:translate(-50%,-12px)}}
@keyframes ogbounce{0%,100%{transform:scale(1)}50%{transform:scale(1.35) rotate(-8deg)}}

/* sabit yükseklikler: sıra değişince/taş atılınca düzen kaymaz */
.ostatus{min-height:92px;display:grid;justify-items:center;align-content:start;gap:6px;width:100%}
.ostatus .oturnpill{margin-top:2px}
.ostepper small{min-height:1.2em;display:block}
body.ostage .ohint{min-height:30px;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.ostage .oacts{min-height:58px;box-sizing:border-box;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
body.ostage .oacts::-webkit-scrollbar{display:none}
body.ostage .ocenter{scrollbar-gutter:stable}
@media (max-height:520px){.ostatus{min-height:52px}}
body.ostage .oacts{min-height:78px}
@media (max-height:700px){body.ostage .oacts{min-height:64px}}
@media (max-height:520px){body.ostage .oacts{min-height:52px}}

.ogames>.ocreate{grid-column:1/-1;border:2px solid var(--brand);box-shadow:0 12px 30px -18px rgba(214,40,120,.55)}
.ocreate .ocardhead{display:flex;align-items:center;gap:10px}
.ocreate .ocardhead h3{margin:0}
@media (min-width:861px){.ocreate{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;align-items:start}.ocreate .ocardhead,.ocreate .osmall{grid-column:1/-1}.ocreate .ofield:has(.ocands){grid-column:2;grid-row:2/6}.ocreate>.btn{grid-column:1}}
.ocreate .ocardhead{justify-content:flex-start!important}
.ocand{min-width:0}.ocand .ci{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ocand .ci strong{white-space:nowrap}
/* Her oyun kendi satırında; masa kur kartı seçilen oyunun hemen altında açılır */
.ogames{grid-template-columns:1fr!important;gap:12px}
.ogame{grid-template-columns:auto minmax(0,1fr);column-gap:16px;row-gap:2px;align-items:center;padding:16px 56px 16px 18px}
.ogame .ogi{grid-row:1/4;align-self:center}
.ogame strong,.ogame small,.ogame .ochips{grid-column:2}
.ogame .ochips{margin-top:4px}
.ogame:hover{transform:none}

.ohbtns .badge{font-style:normal;line-height:1;color:#fff;background:var(--brand)}
@media (max-width:700px){
  .ofeed{left:50%;transform:translateX(-50%);bottom:auto;top:96px;width:min(78vw,330px);max-width:none;pointer-events:none}
  .omsgi{font-size:.76rem;padding:5px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(28,14,6,.94)}
  .omsgi.gift{background:rgba(190,36,100,.96)}
}

/* Sıra uyarısı: küçük, tek satır, dokunmayı engellemez; koltuk bilgilerini örtmez */
.oturnalert{white-space:nowrap;padding:7px 18px;font-size:.95rem;top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 176px);pointer-events:none;box-shadow:0 8px 20px -8px rgba(224,138,0,.7)}
@media(min-width:900px){.oturnalert{bottom:auto;top:64px}}
