/* ============================================================
   KURT NİŞANCI — /play/wolf-sniper
   ============================================================ */
.ws-wrap { max-width: 1100px; }
#ws-view { width: 100%; margin-top: 16px; }
#ws-view [hidden] { display: none !important; }
.ws-card { background: var(--card, #14102b); border: 1.5px solid var(--line); border-radius: 22px; padding: 18px; color: var(--ink); }
.ws-card h3 { margin: 6px 0 4px; font: 600 20px "Fredoka", sans-serif; }
.ws-card p { margin: 0 0 12px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.45; }
.ws-card .btn, .ws-roombtns .btn { justify-content: center; cursor: pointer; }
.ws-ic { font-size: 34px; line-height: 1; }
.ws-only { max-width: 460px; margin: 30px auto; text-align: center; }
.ws-only p { font-size: 17px; color: var(--ink); }

/* ---------- menü ---------- */
.ws-menu { display: flex; flex-direction: column; gap: 14px; }
.ws-me { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.ws-me label { font: 600 14px "Fredoka", sans-serif; color: var(--ink-dim); }
.ws-me input, .ws-join input { min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2, #1b1538); color: var(--ink); font: 600 16px "Manrope", sans-serif; outline: none; }
.ws-me input:focus, .ws-join input:focus { border-color: var(--violet); }
.ws-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-cards .ws-card { display: flex; flex-direction: column; }
.ws-cards .ws-card p { flex: 1 1 auto; }
.ws-cards .btn { width: 100%; }
.ws-join { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.ws-join input { text-align: center; letter-spacing: .28em; text-transform: uppercase; font: 700 18px "Fredoka", sans-serif; }
.ws-join .btn { width: auto; }
.ws-chips { display: flex; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.ws-chips button { padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card-2, #1b1538); color: var(--ink); font: 600 14px "Fredoka", sans-serif; cursor: pointer; }
.ws-chips button.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.ws-chips button:disabled { cursor: default; opacity: .75; }
.ws-how { margin: 0; padding: 14px 18px 14px 34px; border-radius: 18px; border: 1.5px dashed var(--line); color: var(--ink-dim); font-size: 14px; line-height: 1.7; columns: 2; }

/* ---------- lobi ---------- */
.ws-room { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.ws-roomhead { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ws-roomhead small { color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.ws-code { font: 700 40px/1.1 "Fredoka", sans-serif; letter-spacing: .2em; color: #ffcc33; }
.ws-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.ws-vs { align-self: center; font: 700 22px "Fredoka", sans-serif; color: var(--ink-dim); }
.ws-team { border-radius: 22px; padding: 14px; border: 2px solid; background: var(--card, #14102b); display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.ws-team.t0 { border-color: rgba(139, 92, 246, .7); } .ws-team.t1 { border-color: rgba(242, 158, 51, .7); }
.ws-team h3 { margin: 0 0 4px; font: 700 19px "Fredoka", sans-serif; display: flex; justify-content: space-between; }
.ws-team.t0 h3 { color: #a67bfb; } .ws-team.t1 h3 { color: #f29e33; }
.ws-team h3 em { font-style: normal; opacity: .7; }
.ws-li { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 13px; background: var(--card-2, #1b1538); font-weight: 600; color: var(--ink); }
.ws-li span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-li em { font-style: normal; color: var(--ink-dim); font-weight: 500; }
.ws-li b { font: 600 11.5px "Fredoka", sans-serif; padding: 3px 8px; border-radius: 99px; background: rgba(255, 204, 51, .16); color: #ffcc33; }
.ws-li i { width: 10px; height: 10px; border-radius: 50%; background: #f2b84b; flex: none; animation: ws-blink 1s infinite; }
.ws-li i.ok { background: #4abf8c; animation: none; }
.ws-li.free { color: var(--ink-dim); font-weight: 500; border: 1.5px dashed var(--line); background: none; }
.ws-li.gone { opacity: .45; }
@keyframes ws-blink { 50% { opacity: .3; } }
.ws-sw { margin-top: auto; }
.ws-set h3 { margin-top: 0; }
.ws-setrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.ws-setrow .ws-chips { margin: 0; }
.ws-tog { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ws-tog.ro { cursor: default; }
.ws-tog input { position: absolute; opacity: 0; pointer-events: none; }
.ws-tog i { flex: none; width: 46px; height: 26px; border-radius: 99px; background: var(--card-2, #1b1538); border: 1.5px solid var(--line); position: relative; transition: background .2s; }
.ws-tog i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #b8afd9; transition: transform .2s, background .2s; }
.ws-tog input:checked + i { background: var(--violet); border-color: var(--violet); }
.ws-tog input:checked + i::after { transform: translateX(20px); background: #fff; }
.ws-tog span { display: flex; flex-direction: column; }
.ws-tog small { color: var(--ink-dim); font-size: 13px; }
.ws-link, .ws-block, .ws-wait { margin: 0; text-align: center; color: var(--ink-dim); font-size: 14.5px; }
.ws-link.ok { color: #4abf8c; } .ws-link.bad, .ws-block { color: #f2b84b; }
.ws-roombtns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ws-roombtns > * { flex: 1 1 200px; }
.ws-roombtns .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- oyun ---------- */
.ws-stage { position: relative; width: 100%; height: min(78vh, 760px); min-height: 460px; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); background: #2a2358; user-select: none; -webkit-user-select: none; color: #fff; font-family: "Fredoka", sans-serif; }
.ws-stage:fullscreen { border-radius: 0; border: 0; height: 100vh; }
.ws-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.ws-top { position: absolute; left: 0; right: 0; top: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.ws-sc { display: flex; align-items: center; gap: 12px; padding: 6px 14px; border-radius: 14px; background: rgba(15, 11, 30, .7); }
.ws-sc span { display: flex; align-items: center; gap: 8px; }
.ws-sc span b { font-size: 24px; } .ws-sc span em { font-style: normal; font-size: 12px; letter-spacing: 2px; }
.ws-sc .t0 { color: #a67bfb; } .ws-sc .t1 { color: #f29e33; flex-direction: row-reverse; }
.ws-sc .mine b { text-decoration: underline; text-underline-offset: 4px; }
.ws-sc > i { font-style: normal; font-size: 13px; color: #cfc8ee; min-width: 54px; text-align: center; }
.ws-timer { font-size: 18px; font-variant-numeric: tabular-nums; padding: 2px 10px; border-radius: 10px; background: rgba(15, 11, 30, .55); min-height: 6px; }
.ws-timer:empty { display: none; }
.ws-tools { position: absolute; right: 10px; top: 0; display: flex; gap: 6px; pointer-events: auto; }
.ws-tools button { width: 36px; height: 36px; border-radius: 11px; border: 0; background: rgba(15, 11, 30, .7); color: #fff; font-size: 15px; cursor: pointer; }
.ws-feed { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; font: 600 13px "Manrope", sans-serif; pointer-events: none; }
.ws-feed div { padding: 4px 9px; border-radius: 9px; background: rgba(15, 11, 30, .62); }
.ws-cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; }
.ws-cross::before, .ws-cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .9); box-shadow: 0 0 2px #000; }
.ws-cross::before { left: 10px; top: 0; width: 2px; height: 22px; clip-path: polygon(0 0, 100% 0, 100% 32%, 0 32%, 0 68%, 100% 68%, 100% 100%, 0 100%); }
.ws-cross::after { top: 10px; left: 0; height: 2px; width: 22px; clip-path: polygon(0 0, 32% 0, 32% 100%, 0 100%, 0 0, 68% 0, 68% 100%, 100% 100%, 100% 0, 68% 0); }
.ws-scope { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 0, transparent min(34vh, 30%), #000 calc(min(34vh, 30%) + 2px)); }
.ws-scope::before, .ws-scope::after { content: ""; position: absolute; background: rgba(0, 0, 0, .85); }
.ws-scope::before { left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; }
.ws-scope::after { top: 50%; left: 0; right: 0; height: 1.5px; margin-top: -.75px; }
.ws-scope i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #ff3b3b; }
.ws-hit { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; opacity: 0; pointer-events: none; background: linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%); -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px); }
.ws-hit.show { opacity: 1; } .ws-hit.kill { filter: drop-shadow(0 0 3px #ff3b3b) hue-rotate(0); background: linear-gradient(45deg, transparent 44%, #ff4d4d 44%, #ff4d4d 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #ff4d4d 44%, #ff4d4d 56%, transparent 56%); }
.ws-hurt { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; box-shadow: inset 0 0 120px 30px rgba(255, 40, 60, .75); }
.ws-hurt.show { opacity: 1; transition: none; }
.ws-center { position: absolute; left: 50%; top: 26%; transform: translate(-50%, -6px); font-size: 30px; font-weight: 700; text-align: center; text-shadow: 0 3px 12px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; max-width: 90%; }
.ws-center.show { opacity: 1; transform: translate(-50%, 0); }
.ws-bottom { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.ws-hp { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(15, 11, 30, .7); }
.ws-hp b { font-size: 26px; min-width: 44px; text-align: right; }
.ws-hp span { width: 170px; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ws-hp i { display: block; height: 100%; border-radius: 99px; background: #4abf8c; transition: width .15s; }
.ws-ammo { padding: 8px 14px; border-radius: 14px; background: rgba(15, 11, 30, .7); display: flex; align-items: baseline; gap: 8px; }
.ws-ammo b { font-size: 30px; color: #ffcc33; } .ws-ammo span { font-size: 14px; color: #cfc8ee; }
.ws-pick { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(15, 11, 30, .6); }
.ws-pick h3 { margin: 0; font-size: 24px; } .ws-pick h3 em { font-style: normal; color: #ffcc33; margin-left: 8px; }
.ws-pick-row { display: flex; gap: 14px; }
.ws-pick button { width: 210px; padding: 18px 12px; border-radius: 20px; border: 2.5px solid rgba(255, 255, 255, .2); background: rgba(27, 21, 56, .92); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: inherit; }
.ws-pick button span { font-size: 40px; } .ws-pick button b { font-size: 18px; } .ws-pick button small { color: #cfc8ee; font-size: 13px; }
.ws-pick button.on { border-color: #ffcc33; box-shadow: 0 0 0 4px rgba(255, 204, 51, .25); }
.ws-pause { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(15, 11, 30, .66); cursor: pointer; text-align: center; }
.ws-pause b { font-size: 32px; } .ws-pause span { color: #cfc8ee; }
.ws-pause ul { list-style: none; margin: 14px 0 0; padding: 12px 18px; border-radius: 16px; background: rgba(27, 21, 56, .9); font: 600 14px/1.9 "Manrope", sans-serif; color: #e6e0ff; }
.ws-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(15, 11, 30, .86); padding: 16px; overflow: auto; }
.ws-end h2 { margin: 0; font-size: 32px; text-align: center; } .ws-end-sc { font-size: 44px; font-weight: 700; }
.ws-end-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(560px, 100%); }
.ws-end-teams > div { background: rgba(27, 21, 56, .9); border-radius: 16px; padding: 12px; }
.ws-end-teams h4 { margin: 0 0 8px; display: flex; justify-content: space-between; font-size: 16px; } .ws-end-teams h4 em { font-style: normal; color: #b8afd9; font-size: 12px; }
.ws-end-teams div div { display: flex; justify-content: space-between; padding: 4px 0; font: 600 14px "Manrope", sans-serif; }
.ws-end-teams div div.me span { color: #ffcc33; }
.ws-end-btns { display: flex; gap: 10px; margin-top: 6px; } .ws-end-btns .btn { cursor: pointer; } .ws-end-btns p { margin: 0; color: #cfc8ee; }

@media (max-width: 720px) { .ws-cards { grid-template-columns: 1fr; } .ws-teams { grid-template-columns: 1fr; } .ws-vs { justify-self: center; } .ws-how { columns: 1; } }
