/* game.css — oyun içi HUD: modern cam paneller, net sıra göstergesi, yüzen kontrol doku */
.hud { --glass: rgba(22, 15, 10, 0.72); --glass2: rgba(34, 23, 15, 0.86); --edge: rgba(255, 226, 180, 0.16); --goldA: #ffd36b; --goldB: #e7a93a; }
.hud > * { pointer-events: auto; }
.hud .group-layer, .hud .toasts, .hud .bank-label, .hud .take-label, .hud .discard-label, .hud .turn-timer, .hud .hud-status, .hud .rack-frame, .hud .turn-banner { pointer-events: none; }
.hud .group-layer > * { pointer-events: auto; }
.ico { width: 20px; height: 20px; display: block; }

/* ---------- üst çubuk ---------- */
.hud-top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: calc(8px + var(--safe-t)) max(10px, var(--safe-r)) 0 max(10px, var(--safe-l)); pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.hud-info { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--edge); border-radius: 16px; padding: 7px 12px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.hud-info .i-mode { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--goldA); font-weight: 800; }
.hud-info b { font-size: 14px; }
.hud-info .i-ind { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.hud-info .i-ind em { font-style: normal; font-size: 11px; color: var(--muted); }
.mtile { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 30px; border-radius: 5px; background: linear-gradient(#fffaf0, #eadfc6); font: 900 14px/1 "Segoe UI", Arial; box-shadow: 0 2px 0 #c9b48c, 0 3px 6px rgba(0,0,0,.4); }
.mtile.c-red { color: #c8322e; } .mtile.c-black { color: #1d2229; } .mtile.c-blue { color: #1565c0; } .mtile.c-yellow { color: #c27e03; } .mtile.fake { color: #2f6d4f; }
.mtile.okey { box-shadow: 0 2px 0 #c9b48c, 0 0 0 2px var(--goldA), 0 3px 8px rgba(255,200,80,.45); }
.hud-top-right { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--edge); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #f4e4c8; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .1s, background .15s; }
.icon-btn:hover { background: var(--glass2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .badge { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: 10px; font-style: normal; border-radius: 9px; padding: 1px 6px; font-weight: 800; }
.icon-btn .badge:empty { display: none; }

/* ---------- oyuncu kartları ---------- */
.plate { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 0 10px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--edge); border-radius: 18px; padding: 6px 12px 6px 6px; min-width: 176px; max-width: 230px; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.4); transition: transform .25s, opacity .25s, border-color .25s, box-shadow .25s; transform-origin: center; }
.plate .ring { position: relative; width: 52px; height: 52px; }
.plate .ring .av { position: absolute; inset: 5px; border-radius: 50%; overflow: visible; }
.tring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tring circle { fill: none; stroke-width: 4; }
.tring .bg { stroke: rgba(255,255,255,.1); }
.tring .fg { stroke: var(--goldA); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.tring .fg.warn { stroke: #ff6a5a; }
.plate .pi { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.plate .nm { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate .st { font-size: 11px; color: var(--muted); white-space: nowrap; background: rgba(255,255,255,.06); border-radius: 8px; padding: 1px 7px; justify-self: start; width: max-content; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.plate .st.on { color: #8ff0b4; background: rgba(63,191,116,.16); }
.plate .cnt { display: flex; align-items: center; gap: 3px; color: var(--muted); }
.plate .cnt .ico { width: 15px; height: 15px; }
.plate .cnt b { color: #f6ead6; font-size: 15px; }
.plate .turn-tag { position: absolute; top: -10px; right: 12px; background: linear-gradient(var(--goldA), var(--goldB)); color: #2a1708; font-size: 10px; font-weight: 900; letter-spacing: 1.2px; padding: 2px 8px; border-radius: 8px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; box-shadow: 0 4px 10px rgba(231,169,58,.45); }
.plate.turn { border-color: rgba(255,211,107,.9); box-shadow: 0 0 0 2px rgba(255,211,107,.35), 0 0 32px rgba(255,190,70,.45), 0 12px 28px rgba(0,0,0,.45); animation: platePulse 1.6s ease-in-out infinite; }
.plate.turn .turn-tag { opacity: 1; transform: none; }
.plate.idle { opacity: .78; }
.plate.offline .nm::after { content: " ⚠"; color: #ff8a7f; }
.plate[data-team="0"] { border-left: 4px solid #e5484d; } .plate[data-team="1"] { border-left: 4px solid #eef2f7; }
.plate.mine { min-width: 0; max-width: 240px; }
.plate.mine .turn-tag { right: auto; left: 50%; top: -13px; transform: translateX(-50%) translateY(4px); white-space: nowrap; }
.plate.mine.turn .turn-tag { transform: translateX(-50%); }
@keyframes platePulse { 50% { box-shadow: 0 0 0 3px rgba(255,211,107,.5), 0 0 44px rgba(255,190,70,.6), 0 12px 28px rgba(0,0,0,.45); } }
.bubble { position: absolute; left: 50%; top: -38px; transform: translateX(-50%); background: #fff6e6; color: #2a1708; border-radius: 14px; padding: 5px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; animation: pop .25s; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
@keyframes pop { from { transform: translateX(-50%) scale(.6); opacity: 0; } }

/* ---------- sıra göstergeleri ---------- */
.hud-status { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--edge); padding: 5px 14px 5px 6px; border-radius: 20px; font-size: 13.5px; color: #e8d6b8; white-space: nowrap; max-width: 92vw; overflow: hidden; }
.hud-status:not(:has(.s-av)) { padding-left: 14px; }
.hud-status .s-av { width: 24px; height: 24px; position: relative; flex: none; }
.hud-status .s-av .bot-tag { display: none; }
.hud-status .dots { display: inline-flex; gap: 3px; font-style: normal; }
.hud-status .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--goldA); animation: dot 1.2s infinite; }
.hud-status .dots i:nth-child(2) { animation-delay: .2s; } .hud-status .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.hud-status.mine { color: #2a1708; background: linear-gradient(var(--goldA), var(--goldB)); font-weight: 800; border-color: transparent; box-shadow: 0 6px 22px rgba(231,169,58,.5); font-size: 14px; }
.rack-frame { position: absolute; border-radius: 16px; border: 2px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hud.my-turn .rack-frame { border-color: rgba(255,211,107,.85); animation: rackGlow 1.6s ease-in-out infinite; }
@keyframes rackGlow { 0%, 100% { box-shadow: 0 0 18px rgba(255,200,80,.35), inset 0 0 14px rgba(255,200,80,.15); } 50% { box-shadow: 0 0 36px rgba(255,200,80,.65), inset 0 0 22px rgba(255,200,80,.25); } }
.turn-banner { position: absolute; left: 50%; transform: translate(-50%, -10px) scale(.9); opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 34px; border-radius: 22px; background: linear-gradient(135deg, rgba(255,211,107,.97), rgba(231,169,58,.97)); color: #2a1708; box-shadow: 0 16px 50px rgba(231,169,58,.55); }
.turn-banner b { font-size: 26px; font-weight: 900; letter-spacing: 3px; }
.turn-banner span { font-size: 13px; font-weight: 700; opacity: .85; }
.turn-banner.show { animation: banner 1.9s cubic-bezier(.2,.9,.3,1.2) forwards; }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, -10px) scale(.85); } 14% { opacity: 1; transform: translate(-50%, 0) scale(1.04); } 22% { transform: translate(-50%, 0) scale(1); } 78% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -8px) scale(.96); } }
.turn-timer { position: absolute; height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.turn-timer i { display: block; height: 100%; background: linear-gradient(90deg, #4fd08b, #ffd36b); transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
.turn-timer.warn i { background: linear-gradient(90deg, #ff6a5a, #ffb36b); }
.turn-timer:not(.mine) i { opacity: .45; }

/* ---------- sayaç ---------- */
.hud-counter { position: absolute; left: 0; top: 0; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--edge); border-radius: 16px; padding: 8px 12px; font-size: 12.5px; width: 210px; box-shadow: 0 8px 22px rgba(0,0,0,.35); display: grid; gap: 5px; }
.c-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; }
.c-lb { color: var(--muted); font-weight: 600; }
.c-val { text-align: right; color: #f6ead6; font-weight: 700; }
.c-val em { font-style: normal; font-size: 15px; }
.c-val em.ok { color: #6ff0a4; }
.c-bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.c-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e7a93a, #ffd36b); border-radius: 4px; transition: width .3s; }
.c-bar i.ok { background: linear-gradient(90deg, #3fbf74, #7dffb0); }
.c-dots { grid-column: 1 / -1; display: flex; gap: 5px; }
.c-dots i { width: 14px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); }
.c-dots i.on { background: #6fb6ff; }
.c-row.dim { opacity: .4; }
.c-draft { font-size: 11px; color: var(--muted); line-height: 1.3; }
.c-draft.ok { color: #7dffb0; } .c-draft.bad { color: #ff9a8f; }

/* ---------- ıstaka çevresi ---------- */
.group-layer { position: absolute; inset: 0; }
.gbar { position: absolute; display: flex; align-items: stretch; border-radius: 9px; background: linear-gradient(#fff8ea, #efe0c2); color: #3a2414; box-shadow: 0 3px 8px rgba(0,0,0,.4), inset 0 -1px 0 rgba(0,0,0,.08); overflow: hidden; font-weight: 800; }
.gbar button { border: 0; background: transparent; color: inherit; padding: 0 6px; font-weight: 900; font-size: inherit; line-height: 1; }
.gbar button:hover:not(:disabled) { background: rgba(0,0,0,.06); }
.gbar .gb-pts { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .3px; }
.gbar .gb-up { color: #23874f; }
.gbar .gb-up:disabled { color: #c3b096; }
.gbar .gb-x { color: #b0412f; }
.gbar.pair { background: linear-gradient(#eef6ff, #d4e6fb); }
.bank-label { position: absolute; left: 0; top: 0; background: linear-gradient(var(--goldA), var(--goldB)); color: #2a1708; border-radius: 10px; padding: 1px 9px; font-weight: 900; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.finish-label { position: absolute; transform: translate(-50%, -100%); display: none; flex-direction: column; align-items: center; padding: 4px 10px 5px; border-radius: 10px; background: linear-gradient(#5ee08f, #2fa862); color: #062313; box-shadow: 0 6px 18px rgba(63,191,116,.5); pointer-events: none; white-space: nowrap; animation: finPulse 1.2s ease-in-out infinite; }
.finish-label.on { display: flex; }
.finish-label b { font-size: 13px; letter-spacing: 2px; font-weight: 900; }
.finish-label small { font-size: 9.5px; font-weight: 700; opacity: .85; }
.finish-label::after { content: ""; position: absolute; bottom: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #2fa862; }
@keyframes finPulse { 50% { transform: translate(-50%, calc(-100% - 5px)); box-shadow: 0 10px 26px rgba(63,191,116,.75); } }
.hud.focus .finish-label { display: none; }
.pen-fx { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(.6); display: flex; flex-direction: column; align-items: center; opacity: 0; pointer-events: none; z-index: 30; }
.pen-fx b { font-size: 64px; font-weight: 900; color: #ff5a4f; text-shadow: 0 0 24px rgba(255,60,50,.7), 0 4px 0 #6b120c; letter-spacing: -1px; }
.pen-fx small { font-size: 15px; font-weight: 900; letter-spacing: 6px; color: #ffd2cc; margin-top: -6px; }
.pen-fx.show { animation: penPop 1.5s cubic-bezier(.2,.9,.3,1.25) forwards; }
@keyframes penPop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } 25% { transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%) scale(.95); } }
.hud::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 120px 30px rgba(220,40,30,.75); }
.hud.pen-hit::before { animation: penEdge 1.2s ease-out; }
@keyframes penEdge { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.take-label, .discard-label { position: absolute; left: 0; top: 0; font-size: 10px; letter-spacing: 1.5px; font-weight: 800; color: rgba(255,226,180,.75); }

/* ---------- ıstakanın sağ üstündeki eylem grubu (alt çubuk kaldırıldı) ---------- */
.rack-actions { position: absolute; left: 0; top: 0; display: flex; gap: 6px; align-items: center; z-index: 3; pointer-events: none; }
.rack-actions .cb { pointer-events: auto; height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 11px; background: rgba(18, 12, 8, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--edge); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.rack-actions .cb .ic .ico { width: 16px; height: 16px; }
.rack-actions .cb[hidden] { display: none; }
.rack-actions .cb[data-k="draw"], .rack-actions .cb[data-k="discard"], .rack-actions .cb[data-k="auto"] { display: none; }
.hud.focus .rack-actions { display: none; }
.hud.phone .rack-actions { gap: 4px; }
.hud.phone .rack-actions .cb { height: 30px; padding: 0 9px; font-size: 11px; gap: 4px; }
.hud.phone .rack-actions .cb .ic { display: none; }
.cl.sys { background: rgba(80, 160, 255, .09); border-left: 2px solid rgba(120, 180, 255, .55); }
.cl.sys b { color: #8fc2ff; }
.cl.sys span { color: #dbe8f7; font-size: 12.5px; }

/* ---------- ıstakada fareyle alan seçimi ---------- */
.rack-marquee { position: fixed; z-index: 40; pointer-events: none; border: 1.5px solid rgba(255, 236, 190, .85); background: rgba(255, 244, 214, .2); border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 4px 14px rgba(0,0,0,.18); }

/* ---------- kontrol doku ---------- */
.control-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 6px max(8px, var(--safe-r)) calc(6px + var(--safe-b)) max(8px, var(--safe-l)); z-index: 2; pointer-events: none; }
.dock { pointer-events: auto; display: flex; gap: 6px; align-items: center; background: rgba(18, 12, 8, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--edge); border-radius: 18px; padding: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.dgroup { display: flex; gap: 4px; align-items: center; }
.dgroup + .dgroup { padding-left: 6px; border-left: 1px solid rgba(255,226,180,.12); }
.dgroup:not(:has(.cb:not([hidden]))) { display: none; }
.cb { display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #eadbc2; border-radius: 13px; padding: 0 12px; height: 42px; font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: background .15s, transform .08s, opacity .15s, box-shadow .2s; }
.cb .ic .ico { width: 19px; height: 19px; }
.cb:hover:not(:disabled) { background: rgba(255,255,255,.07); }
.cb:active:not(:disabled) { transform: scale(.95); }
.cb:disabled { opacity: .32; cursor: default; }
.cb.main:not(:disabled), .cb.gold:not(:disabled) { background: linear-gradient(var(--goldA), var(--goldB)); color: #2a1708; }
.cb.warn:not(:disabled) { background: rgba(255,170,60,.18); color: #ffc675; }
.cb.ok:not(:disabled), .cb.go:not(:disabled) { background: linear-gradient(#57dc95, #2e9c5f); color: #062512; }
.cb.go { min-width: 108px; justify-content: center; }
.cb.hot:not(:disabled) { box-shadow: 0 0 0 2px rgba(255,211,107,.75), 0 0 22px rgba(255,200,80,.55); animation: hotPulse 1.4s ease-in-out infinite; }
@keyframes hotPulse { 50% { box-shadow: 0 0 0 3px rgba(255,211,107,.9), 0 0 30px rgba(255,200,80,.75); } }
.auto-wrap { position: relative; display: flex; }
.auto-menu { position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; background: var(--glass2); backdrop-filter: blur(12px); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; min-width: 150px; z-index: 5; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.auto-menu.open { display: flex; }
.auto-menu button { border: 0; background: transparent; padding: 11px 16px; text-align: left; font-weight: 700; color: #f2e3c8; }
.auto-menu button:hover { background: rgba(255,255,255,.07); }
@media (max-width: 980px) { .cb { padding: 0 9px; gap: 5px; font-size: 12.5px; } }
@media (max-width: 760px), (max-height: 420px) { .cb .lb { display: none; } .cb { padding: 0 10px; height: 40px; } .cb.go { min-width: 0; } .cb .ic .ico { width: 21px; height: 21px; } }

.chat-panel { position: absolute; right: max(8px, var(--safe-r)); top: calc(54px + var(--safe-t)); width: min(320px, 86vw); height: min(380px, 60vh); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; display: none; flex-direction: column; padding: 8px; gap: 6px; z-index: 20; }
.chat-panel.open { display: flex; }
.chat-head { display: flex; align-items: center; gap: 8px; }
.chat-head b { flex: 1; }
.chat-head .mute { border: 1px solid var(--line); background: none; border-radius: 8px; font-size: 12px; padding: 3px 8px; }
.chat-lines { flex: 1; overflow: auto; font-size: 13.5px; display: flex; flex-direction: column; gap: 3px; }
.cl b { color: var(--gold); font-weight: 700; }
.cl.mine b { color: var(--blue); }
.cl.emo span { font-size: 20px; }
.cl .rep { border: 0; background: none; color: var(--muted); font-size: 11px; opacity: .6; }
.quick-row { display: flex; gap: 4px; flex-wrap: wrap; max-height: 70px; overflow: auto; }
.quick-row button { border: 1px solid var(--line); background: #2a1c13; border-radius: 8px; padding: 3px 7px; font-size: 12px; }
.quick-row .qe { font-size: 16px; padding: 1px 5px; }

.modal-host .modal { z-index: 30; }
.scores { width: 100%; border-collapse: collapse; font-size: 13px; }
.scores th, .scores td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.scores th { font-weight: 600; color: var(--muted); }
.th-av { width: 28px; height: 28px; margin: 0 auto 2px; position: relative; }
.scores td small { display: block; font-size: 10px; color: var(--muted); }
.scores td small.pen { color: #ff8a7f; }
.scores td.fin b { color: var(--green); }
.scores tr.total td { font-size: 15px; color: var(--gold); border-top: 2px solid var(--line); }
.scores tr.future td { color: var(--muted); opacity: .5; }
.team-totals { display: flex; justify-content: center; gap: 20px; margin-top: 8px; font-weight: 700; }
/* eşli: takım takım puan tablosu ve maç sonu kartları (Kırmızı = koltuk 1-3, Beyaz = 2-4) */
table.scores.teams td.tm0, table.scores.teams th.tm0 { background: rgba(229, 72, 77, .07); }
table.scores.teams td.tm1, table.scores.teams th.tm1 { background: rgba(238, 242, 247, .05); }
table.scores.teams .tm-split { border-left: 2px solid rgba(255, 226, 180, .22); }
table.scores tr.team-head th { font-size: 13px; letter-spacing: .5px; padding: 6px 4px; border-bottom: 2px solid currentColor; }
table.scores tr.team-head th.tm0 { color: #ff6b6f; }
table.scores tr.team-head th.tm1 { color: #f4f6fa; }
table.scores tr.team-total td { font-size: 15px; border-top: 1px solid rgba(255, 226, 180, .18); }
table.scores tr.team-total td.tm0 b { color: #ff6b6f; }
table.scores tr.team-total td.tm1 b { color: #f4f6fa; }
.team-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.team-card { border-radius: 14px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); display: flex; flex-direction: column; gap: 6px; }
.team-card.tm0 { border-color: rgba(229, 72, 77, .55); background: linear-gradient(rgba(229, 72, 77, .16), rgba(229, 72, 77, .04)); }
.team-card.tm1 { border-color: rgba(238, 242, 247, .4); background: linear-gradient(rgba(238, 242, 247, .1), rgba(238, 242, 247, .02)); }
.team-card.won { box-shadow: 0 0 0 1px rgba(255, 211, 107, .7), 0 0 22px rgba(255, 200, 80, .22); }
.tc-head { display: flex; align-items: center; gap: 8px; }
.tc-head b { font-size: 15px; }
.team-card.tm0 .tc-head b { color: #ff7b7f; }
.tc-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.1); color: var(--muted, #c6b08f); }
.team-card.won .tc-badge { background: linear-gradient(#ffe08a, #e9a93a); color: #2a1708; }
.tc-total { margin-left: auto; font-size: 20px; font-weight: 800; }
.tc-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 9px; }
.tc-row.me { background: rgba(255, 211, 107, .12); }
.tc-row .av { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex: none; }
.tc-row .av svg, .tc-row .av img { width: 100%; height: 100%; }
.tc-row span:last-child { margin-left: auto; font-weight: 700; }
.rv-row.tm0 { border-left: 3px solid rgba(229, 72, 77, .8); padding-left: 8px; }
.rv-row.tm1 { border-left: 3px solid rgba(238, 242, 247, .7); padding-left: 8px; }
@media (max-width: 520px) { .team-ranks { grid-template-columns: 1fr; } }
.team-totals .t0 { color: #ff6b6f; } .team-totals .t1 { color: #f4f6fa; }
.big { font-size: 16px; font-weight: 700; }
p.big { text-align: center; }
.reveal { display: grid; gap: 4px; margin-bottom: 10px; }
.rv-row { display: grid; grid-template-columns: 110px 54px 1fr; gap: 8px; align-items: center; font-size: 13px; }
.rv-score { font-weight: 800; color: var(--gold); }
.rv-tiles { display: flex; flex-wrap: wrap; gap: 2px; }
.mt { display: inline-block; min-width: 18px; padding: 1px 2px; text-align: center; background: #f6eedb; border-radius: 3px; font-weight: 800; font-size: 12px; }
.mt.tc-red { color: #c8322e; } .mt.tc-black { color: #1d2229; } .mt.tc-blue { color: #1565c0; } .mt.tc-yellow { color: #b87503; } .mt.tc-fake { color: #2f6d4f; }
.result-head { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.result-head.win { color: var(--gold); }
.ranks { display: grid; gap: 4px; margin-bottom: 10px; }
.rank-row { display: flex; gap: 10px; padding: 6px 10px; background: rgba(0,0,0,.2); border-radius: 8px; }
.rank-row b { flex: 1; }
.rank-row.me { border: 1px solid var(--gold); }
.reward { text-align: center; color: var(--green); font-weight: 700; }


.toasts:not(.global) { position: absolute; flex-direction: column-reverse; }
.toasts:not(.global) .toast { font-size: 13px; padding: 7px 14px; background: rgba(24,16,10,.9); backdrop-filter: blur(8px); border-radius: 12px; }

/* kısa ekran (telefon yatay) */
.hud.compact .plate { min-width: 0; max-width: 168px; grid-template-columns: 38px 1fr auto; padding: 3px 9px 3px 3px; border-radius: 14px; gap: 0 7px; }
.hud.compact .plate .ring { width: 38px; height: 38px; }
.hud.compact .plate .ring .av { inset: 4px; }
.hud.compact .plate .nm { font-size: 12px; }
.hud.compact .plate .st { font-size: 10px; }
.hud.compact .hud-counter { width: 150px; padding: 4px 8px; font-size: 11px; gap: 2px; }
.hud.compact .c-draft { display: none; }
.hud.compact .c-bar, .hud.compact .c-dots { display: none; }
.hud.compact .hud-info { padding: 5px 10px; }
.hud.compact .hud-info b { font-size: 12.5px; }
.hud.compact .icon-btn { width: 38px; height: 38px; border-radius: 12px; }
.hud.compact .hud-status { font-size: 12px; padding: 3px 10px 3px 4px; }
.hud.compact .turn-banner { padding: 8px 22px; } .hud.compact .turn-banner b { font-size: 20px; }
.hud.compact .control-bar { padding-left: 160px; padding-right: 150px; }
.hud.compact .dock { padding: 3px; border-radius: 15px; }
@media (max-width: 700px) { .hud.compact .control-bar { padding-left: 156px; padding-right: 6px; } .hud.compact .plate.mine { display: none; } }

/* yan koltuk kartları: dar ve dikey (masadaki per bölgelerini kapatmasın) */
.plate.rel1, .plate.rel3 { grid-template-columns: 1fr; justify-items: center; text-align: center; min-width: 0; width: 128px; padding: 8px 8px 9px; gap: 4px; }
.plate.rel1 .pi, .plate.rel3 .pi { align-items: center; }
.plate.rel1 .nm, .plate.rel3 .nm { max-width: 112px; }
.plate.rel1 .cnt, .plate.rel3 .cnt { position: absolute; top: 8px; right: 9px; }
.plate.rel1 .turn-tag, .plate.rel3 .turn-tag { right: auto; left: 50%; transform: translateX(-50%) translateY(4px); }
.plate.rel1.turn .turn-tag, .plate.rel3.turn .turn-tag { transform: translateX(-50%); }
.hud.compact .plate.rel1, .hud.compact .plate.rel3 { width: 104px; padding: 4px 6px 6px; grid-template-columns: 1fr; }
.hud.compact .plate.rel1 .ring, .hud.compact .plate.rel3 .ring { width: 34px; height: 34px; }
.hud.compact .hud-info { flex-direction: row; align-items: center; gap: 8px; padding: 4px 10px; }
.hud.compact .hud-info .i-mode { display: none; }
.hud.compact .mtile { width: 18px; height: 25px; font-size: 12px; }
.hud.compact .plate.mine .turn-tag { display: none; }
.hud.focus .hud-counter, .hud.focus .group-layer, .hud.focus .plate.mine, .hud.focus .rack-frame, .hud.focus .bank-label, .hud.focus .take-label, .hud.focus .discard-label, .hud.focus .turn-timer, .hud.focus .control-bar { display: none; }
.hud.focus .hud-status { top: auto !important; bottom: calc(14px + var(--safe-b)); }

/* ---------- ıstaka üstü sabit dizme düğmeleri ---------- */
.arrange-bar { position: absolute; left: 0; top: 0; display: flex; gap: 6px; z-index: 1; }
.arrange-bar .ab { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 6px; border-radius: 11px; border: 1px solid rgba(255,226,180,.22); background: linear-gradient(#3a2716, #24170c); color: #f4e4c8; font-weight: 800; font-size: 13px; box-shadow: 0 4px 12px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .08s, background .15s; }
.arrange-bar .ab:hover { background: linear-gradient(#4a321c, #2c1c0f); }
.arrange-bar .ab:active { transform: scale(.95); }
.arrange-bar .ab-ic { display: inline-flex; align-items: center; justify-content: center; height: 22px; min-width: 30px; padding: 0 4px; border-radius: 6px; background: linear-gradient(#fffaf0, #eadfc6); color: #c8322e; font: 900 12px/1 "Segoe UI", Arial; letter-spacing: -.5px; box-shadow: 0 2px 0 #c9b48c; }
.arrange-bar .ab-ic.pr { color: #1565c0; }
.hud.dragging .group-layer, .hud.dragging .arrange-bar { opacity: 0; pointer-events: none; }

/* ---------- grup çubuğu: tutamak + AÇ ---------- */
.gbar .gb-pts { display: flex; align-items: center; justify-content: center; gap: 5px; cursor: grab; touch-action: none; }
.gbar .gb-pts:active { cursor: grabbing; }
.gbar .grip { width: 8px; height: 60%; flex: none; opacity: .45; background: radial-gradient(circle, #3a2414 1.1px, transparent 1.3px) 0 0 / 4px 4px; }
.gbar.can .gb-up { background: linear-gradient(#3fbf74, #23874f); color: #fff; padding: 0 8px; letter-spacing: .5px; }
.gbar.can .gb-up:hover:not(:disabled) { background: linear-gradient(#4fd585, #2a9a5c); }

/* ---------- grup çubuğu v2: sade puan rozeti ---------- */
.gbar { background: none; box-shadow: none; overflow: visible; display: flex; align-items: center; justify-content: center; border-radius: 0; color: #f6ead6; pointer-events: none; }
.gbar > * { pointer-events: auto; }
.gbar .gb-line { position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255,211,107,.55); pointer-events: none; }
.gbar.pair .gb-line { background: rgba(120,180,255,.6); }
.gbar.can .gb-line { background: rgba(87,220,149,.75); }
.gbar .gb-pill { position: relative; display: inline-flex; align-items: stretch; height: 100%; border-radius: 99px; background: rgba(20,13,8,.9); border: 1px solid rgba(255,211,107,.45); box-shadow: 0 2px 6px rgba(0,0,0,.45); overflow: hidden; }
.gbar.pair .gb-pill { border-color: rgba(120,180,255,.55); }
.gbar button { padding: 0 6px; font-weight: 800; line-height: 1; letter-spacing: 0; color: inherit; background: transparent; border: 0; }
.gbar .gb-pts { display: inline-flex; align-items: center; gap: 0; min-width: 18px; justify-content: center; color: #ffe2a0; cursor: grab; touch-action: none; flex: none; font-variant-numeric: tabular-nums; }
.gbar.pair .gb-pts { color: #b8d6ff; font-weight: 700; }
.gbar .gb-up, .gbar.can .gb-up { background: linear-gradient(#57dc95, #2e9c5f); color: #062512; padding: 0 6px; font-weight: 900; letter-spacing: .4px; }
.gbar .gb-x { display: none; color: #ff9a8f; padding: 0 5px 0 2px; }
.gbar:hover .gb-x, .gbar.sel .gb-x { display: inline-flex; align-items: center; }
.gbar.sel .gb-pill { border-color: rgba(255,211,107,.9); }
.gbar .grip { display: none; }

/* ---------- telefon (yatay) arayüzü: az düğme, küçük ıstaka ---------- */
.menu-btn { display: none; }
.hud-menu { position: absolute; display: none; flex-direction: column; top: calc(52px + var(--safe-t)); right: max(10px, var(--safe-r)); min-width: 210px; background: var(--glass2); backdrop-filter: blur(12px); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; z-index: 25; box-shadow: 0 14px 34px rgba(0,0,0,.55); }
.hud-menu.open { display: flex; }
.hud-menu button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 11px 14px; text-align: left; font-weight: 700; color: #f2e3c8; font-size: 14px; }
.hud-menu button + button { border-top: 1px solid rgba(255,226,180,.08); }
.hud-menu button:active { background: rgba(255,255,255,.08); }
.hud-menu .ico { width: 18px; height: 18px; }
.hud.phone .hud-top-right .icon-btn:not(.menu-btn):not([title="Sohbet"]) { display: none; }
.hud.phone .menu-btn { display: flex; }
.hud.phone .icon-btn { width: 36px; height: 36px; border-radius: 11px; }
.hud.phone .hud-top { padding-top: calc(5px + var(--safe-t)); }
body.fs .hud.phone .hud-top-right { margin-right: 44px; }
body.fs .hud.phone .hud-menu { right: calc(54px + var(--safe-r)); }
.hud.phone .hud-info { padding: 3px 9px; border-radius: 12px; }
.hud.phone .hud-info b { font-size: 11.5px; }
.hud.phone .plate.mine { display: none; }
.hud.phone .plate { box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.hud.phone .hud-counter { width: auto; min-width: 0; padding: 2px 8px; font-size: 10.5px; border-radius: 10px; }
.hud.phone .hud-counter .c-row { gap: 0 6px; }
.hud.phone .hud-status { font-size: 11px; padding: 2px 9px 2px 3px; }
.hud.phone .turn-banner { padding: 6px 18px; } .hud.phone .turn-banner b { font-size: 17px; letter-spacing: 2px; } .hud.phone .turn-banner span { display: none; }
/* düğmeler: sağ kenarda dikey; yalnızca o an kullanılabilenler (çek / at / bitir hareketle yapılır: desteye dokun, tepsiye sürükle) */
.hud.phone .control-bar { left: auto; top: calc(48px + var(--safe-t)); bottom: calc(6px + var(--safe-b)); right: 0; width: 56px; padding: 0 max(4px, var(--safe-r)) 0 0; flex-direction: column; justify-content: flex-end; align-items: center; }
.hud.phone .dock { flex-direction: column; padding: 3px; gap: 3px; border-radius: 14px; max-height: 100%; overflow-y: auto; }
.hud.phone .dgroup { flex-direction: column; gap: 3px; }
.hud.phone .dgroup + .dgroup { padding-left: 0; border-left: 0; padding-top: 3px; border-top: 1px solid rgba(255,226,180,.12); }
.hud.phone .cb { width: 42px; height: 40px; padding: 0; justify-content: center; border-radius: 11px; }
.hud.phone .cb .lb { display: none; }
.hud.phone .cb:disabled, .hud.phone .cb[hidden] { display: none; }
.hud.phone .cb[data-k="draw"], .hud.phone .cb[data-k="discard"], .hud.phone .cb[data-k="finish"]:not(.hot) { display: none; }
.hud.phone .auto-menu { bottom: auto; top: 50%; left: auto; right: 50px; transform: translateY(-50%); }
.hud.phone .dock:not(:has(.cb:not(:disabled):not([hidden]))) { display: none; }
.hud.phone .arrange-bar.side .ab { width: 44px; height: 38px; padding: 0; justify-content: center; }
.hud.phone .arrange-bar.side .ab > span:not(.ab-ic) { display: none; }
.hud.phone .control-bar, .hud.phone .arrange-bar { transition: opacity .2s; }

/* ---------- düz masa: sütun başlıkları ---------- */
.flat-heads { position: absolute; inset: 0; pointer-events: none; }
.fh { position: absolute; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #e8f2ff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.fh-name { font-weight: 700; opacity: .85; max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fh-score { min-width: 34px; text-align: center; padding: 2px 10px; border-radius: 9px; background: linear-gradient(#2d6fae, #1b4f86); border: 1px solid rgba(190,220,255,.6); color: #fff; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.fh-wait { font-size: 11px; opacity: .55; }
.fh-last .mtile { width: 18px; height: 25px; font-size: 12px; }
.fh.turn .fh-name { color: #ffd36b; opacity: 1; }
.fh.turn .fh-score { background: linear-gradient(#ffd36b, #e7a93a); color: #2a1708; border-color: #fff1c4; }
.fh.t0 .fh-name::before, .fh.t1 .fh-name::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; background: #e5484d; vertical-align: 1px; }
.fh.t1 .fh-name::before { background: #eef2f7; }
.hud.compact ~ * .fh, .fh { }
@media (max-height: 520px) { .fh { font-size: 11px; gap: 5px; } .fh-score { font-size: 11px; padding: 1px 7px; } }

/* ---------- okey kartı ---------- */
.okey-card { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 10px 9px; border-radius: 16px;
    background: linear-gradient(180deg, rgba(36,88,77,.95), rgba(18,48,41,.95)); border: 1px solid rgba(240,196,106,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 0 22px rgba(240,196,106,.35), 0 10px 26px rgba(0,0,0,.45); color: #f0c46a; pointer-events: none; z-index: 2; }
.okey-card .ok-cap { font-size: 11px; font-weight: 900; letter-spacing: 3px; }
.okey-card .ok-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 52px; height: 72px; padding: 5px 0 6px; border-radius: 8px;
    background: linear-gradient(#fffaf0, #eadfc6); box-shadow: 0 3px 0 #c9b48c, 0 0 0 3px #e0a93a, 0 6px 14px rgba(0,0,0,.45); }
.okey-card .ok-tile b { font: 900 34px/1 "Segoe UI", Arial, sans-serif; margin-top: 2px; }
.okey-card .ok-tile i { font-style: normal; font: 900 10.5px/1 "Segoe UI", Arial, sans-serif; letter-spacing: .5px; color: #f0c46a; background: linear-gradient(#24584d, #123029); border: 1px solid rgba(240,196,106,.8); border-radius: 4px; padding: 3px 5px; }
.okey-card .ok-tile.c-red b { color: #c8322e; } .okey-card .ok-tile.c-black b { color: #1d2229; } .okey-card .ok-tile.c-blue b { color: #1565c0; } .okey-card .ok-tile.c-yellow b { color: #c27e03; }
.okey-card .ok-ind { display: flex; align-items: center; gap: 5px; }
.okey-card .ok-ind em { font-style: normal; font-size: 10px; color: rgba(240,220,170,.75); font-weight: 700; }
.okey-card .ok-ind .mtile { width: 18px; height: 25px; font-size: 12px; }
.okey-card.pop { animation: okPop .6s cubic-bezier(.2,.9,.3,1.3); }
@keyframes okPop { 0% { opacity: 0; scale: .6; } 60% { opacity: 1; scale: 1.08; } 100% { scale: 1; } }
/* üst varyant (telefon / dar ekran): yatay, kompakt */
.okey-card.top { flex-direction: row; gap: 7px; padding: 4px 9px 4px 6px; border-radius: 13px; }
.okey-card.top .ok-cap { display: none; }
.okey-card.top .ok-tile { width: 30px; height: 40px; padding: 2px 0 3px; border-radius: 5px; box-shadow: 0 2px 0 #c9b48c, 0 0 0 2px #e0a93a, 0 3px 8px rgba(0,0,0,.4); }
.okey-card.top .ok-tile b { font-size: 19px; }
.okey-card.top .ok-tile i { font-size: 7px; padding: 1px 3px; border-radius: 3px; }
.okey-card.top .ok-ind em { display: none; }
.okey-card.top::before { content: "OKEY"; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; writing-mode: vertical-rl; transform: rotate(180deg); }
.hud.focus .okey-card.side { display: none; }

/* ---------- Yeşil çarpan rozeti ---------- */
.hud-info .i-mult { margin-left: 4px; background: linear-gradient(#3fbf74, #23874f); color: #fff; font-weight: 900; font-size: 12px; border-radius: 8px; padding: 2px 7px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.hud-info .i-mult.devil { background: linear-gradient(#b23a3a, #6d1818); }
.arrange-bar.side { flex-direction: column; gap: 6px; }
.arrange-bar.side .ab { height: 40px; padding: 0 9px 0 5px; font-size: 12px; }
.hud.compact .arrange-bar:not(.side) .ab { height: 28px; font-size: 12px; }
.hud.phone .hud-info .i-ind em { display: none; }
.hud.phone .hud-info .i-ind { gap: 3px; margin-top: 0; }
.hud.phone .plate.rel2 { max-width: 150px; }
.fh-cnt { font-size: 11px; font-weight: 800; padding: 0 6px; border-radius: 7px; background: rgba(0,0,0,.35); color: #dbe9ff; }
.fh-cnt::before { content: ""; display: inline-block; width: 6px; height: 9px; margin-right: 4px; border-radius: 1.5px; background: #f3ead6; opacity: .75; vertical-align: -1px; }
.fh { flex-wrap: nowrap; white-space: nowrap; }
.fh-cnt { flex: none; }
body.flat-table.phone .hud.phone .plate { display: none; }
body.flat-table .fh.turn { background: linear-gradient(rgba(255,211,107,.25), rgba(255,211,107,0)); border-radius: 8px 8px 0 0; }
/* son atılan taş kutusu (ismin sağında) */
.fh { gap: 7px; }
.fh-box { flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; height: 86%; aspect-ratio: .74; min-height: 24px; max-height: 44px; border-radius: 7px;
    background: rgba(5,20,38,.55); border: 1.5px solid rgba(207,228,255,.45); box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); }
.fh-box.empty { border-style: dashed; opacity: .55; }
.fh-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84%; height: 88%; border-radius: 4px; background: linear-gradient(#fffaf0, #eadfc6); box-shadow: 0 2px 0 #c9b48c, 0 2px 5px rgba(0,0,0,.4); text-shadow: none; }
.fh-tile b { font: 900 1.25em/1 "Segoe UI", Arial, sans-serif; }
.fh-tile.c-red { color: #c8322e; } .fh-tile.c-black { color: #1d2229; } .fh-tile.c-blue { color: #1565c0; } .fh-tile.c-yellow { color: #c27e03; }
.fh-tile.fake { color: #2f6d4f; font-size: 1.1em; }
.fh-tile.okey { box-shadow: 0 2px 0 #c9b48c, 0 0 0 2px #e0a93a, 0 2px 6px rgba(255,200,80,.5); }
.fh-box.fresh .fh-tile { animation: fhDrop .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes fhDrop { 0% { transform: translateY(-60%) scale(.8); opacity: 0; } 100% { transform: none; opacity: 1; } }
.fh.turn .fh-box { border-color: rgba(255,211,107,.8); }
@media (max-height: 520px) { .fh-box { min-height: 20px; border-radius: 5px; } .fh-tile b { font-size: 1.1em; } }
/* eşli: takım başlıkları (Kırmızı / Beyaz) */
.fh.team { justify-content: flex-start; padding: 0 10px; gap: 10px; }
.fh-team { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; letter-spacing: .4px; font-size: 13px; text-transform: uppercase; }
.fh-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.35); }
.fh.team-0 .fh-team { color: #ff7a7d; } .fh.team-0 .fh-dot { background: #e5484d; }
.fh.team-1 .fh-team { color: #f4f6fa; } .fh.team-1 .fh-dot { background: #f4f6fa; }
.fh.team-0 { background: linear-gradient(90deg, rgba(229,72,77,.28), rgba(229,72,77,.04)); border-radius: 8px 8px 0 0; }
.fh.team-1 { background: linear-gradient(90deg, rgba(244,246,250,.2), rgba(244,246,250,.03)); border-radius: 8px 8px 0 0; }
.fh-mate { display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 6px; border-radius: 7px; min-width: 0; }
.fh-mate .fh-name { max-width: 9em; }
.fh-mate.on { background: rgba(255,211,107,.18); box-shadow: inset 0 0 0 1px rgba(255,211,107,.55); }
.fh-mate.on .fh-name { color: #ffd36b; opacity: 1; }
.fh.team .fh-score { margin-right: 2px; }
body.phone .fh.team { padding: 0 4px; gap: 4px; }
body.phone .fh-team { font-size: 10px; gap: 3px; letter-spacing: 0; }
body.phone .fh-team { max-width: 4.6em; overflow: hidden; white-space: nowrap; }
body.phone .fh-mate { gap: 3px; padding: 0 3px; }
body.phone .fh-mate .fh-name { max-width: 4em; }
/* son atılan taş kutuları (oyuncu kartlarının yanında; düz masada, telefonda değil — orada başlıkta) */
.disc-layer { position: absolute; inset: 0; pointer-events: none; display: none; }
body.flat-table:not(.phone) .disc-layer { display: block; }
body.flat-table:not(.phone) .fh-box { display: none; }
.disc-box { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: rgba(8,22,40,.72); border: 1.5px solid rgba(207,228,255,.42);
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.28), 0 6px 16px rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.disc-box.empty { border-style: dashed; opacity: .55; }
.disc-box.empty::after { content: "AT"; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; color: rgba(207,228,255,.55); }
.disc-box .dt { display: flex; align-items: center; justify-content: center; width: 80%; height: 84%; border-radius: 6px; background: linear-gradient(#fffaf0, #eadfc6); box-shadow: 0 3px 0 #c9b48c, 0 3px 7px rgba(0,0,0,.45); }
.disc-box .dt b { font: 900 22px/1 "Segoe UI", Arial, sans-serif; }
.hud.compact .disc-box .dt b { font-size: 16px; }
.disc-box .dt.c-red { color: #c8322e; } .disc-box .dt.c-black { color: #1d2229; } .disc-box .dt.c-blue { color: #1565c0; } .disc-box .dt.c-yellow { color: #c27e03; }
.disc-box .dt.fake { color: #2f6d4f; font-size: 20px; }
.disc-box .dt.okey { box-shadow: 0 3px 0 #c9b48c, 0 0 0 2px #e0a93a, 0 3px 8px rgba(255,200,80,.5); }
.disc-box.fresh .dt { animation: fhDrop .45s cubic-bezier(.2,.9,.3,1.3); }
.hud.focus .disc-box.rel0 { display: none; }
/* telefon: başlık satırı sığsın */
body.phone .fh { gap: 4px; padding: 0 2px; }
body.phone .fh-wait { display: none; }
body.phone .fh-name { flex: 0 1 auto; min-width: 2.6em; max-width: 52%; font-size: 11px; }
body.phone .fh-box { height: 92%; min-height: 0; max-height: none; border-radius: 4px; border-width: 1px; }
body.phone .fh-tile b { font-size: 1em; }
body.phone .fh-cnt { padding: 0 4px; font-size: 10px; }
body.phone .fh-cnt::before { width: 4px; height: 7px; margin-right: 2px; }
body.phone .fh-score { padding: 0 6px; font-size: 10.5px; min-width: 0; }
