/* ===== DÜNYA SAVAŞI ===== */
#hud[data-mode="ww"] #scorebar, #hud[data-mode="ww"] #map-name, #hud[data-mode="ww"] #zone-status, #hud[data-mode="ww"] #wolf-box { display: none !important; }
#ww-ui { position: fixed; inset: 0; pointer-events: none; z-index: 11; font-family: var(--font); color: #fff; }
.ww-fl { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: -2px; margin-right: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45); }
.ww-fl.big { width: 44px; height: 30px; margin: 0; border-radius: 3px; }
#ww-top { position: absolute; left: 16px; top: 206px; width: 204px; display: flex; flex-direction: column; gap: 6px; text-shadow: 0 1px 2px #000; }
#ww-top .wt-me { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; background: linear-gradient(90deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .2)); border-left: 3px solid var(--acc); }
#ww-top .wt-me b { display: block; font: 700 17px Rajdhani, sans-serif; letter-spacing: 1px; }
#ww-top .wt-me span { display: block; font-size: 12px; color: #cfd6dc; }
#ww-top .wt-rank { padding: 5px 9px; border-radius: 8px; background: rgba(0, 0, 0, .45); font-size: 12.5px; }
#ww-top .wt-rank small { display: block; color: #9aa6b0; font-size: 10.5px; letter-spacing: 2px; margin-bottom: 2px; }
#ww-top .wt-rank div { display: flex; align-items: center; gap: 2px; line-height: 1.55; }
#ww-top .wt-rank div span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#ww-top .wt-rank div.me { color: #ffd166; }
#ww-cap { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: min(460px, 80vw); padding: 7px 12px 9px; border-radius: 8px; background: rgba(6, 8, 12, .72); border: 1px solid rgba(255, 255, 255, .14); text-align: center; text-shadow: 0 1px 2px #000; }
#ww-cap.hidden { display: none; }
#ww-cap .wc-t { font: 700 15px Rajdhani, sans-serif; letter-spacing: 1px; }
#ww-cap .wc-t span { color: #ffd9a0; margin-left: 6px; letter-spacing: 2px; }
#ww-cap .wc-bar { margin-top: 5px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
#ww-cap .wc-bar i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .25s linear, background .3s; box-shadow: 0 0 10px rgba(255, 255, 255, .35); }
#ww-feed { position: absolute; right: 16px; top: 170px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 420px; }
.ww-ev { padding: 4px 10px; border-radius: 5px; background: rgba(0, 0, 0, .62); font-size: 13.5px; text-shadow: 0 1px 2px #000; transition: opacity .9s; border-right: 3px solid #889; }
.ww-ev.good { border-right-color: #5ad17a; } .ww-ev.bad { border-right-color: #ff4a3a; background: rgba(60, 6, 4, .7); } .ww-ev.big { border-right-color: #ffd166; font-size: 15px; }
.ww-ev.old { opacity: .75; } .ww-ev.fade { opacity: 0; }
.ww-ev .ww-bn { color: #ffd166; font-weight: 700; } .ww-ev .muted { color: #b6bec6; }
#ww-marks { position: absolute; inset: 0; }
.ww-mk { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 4px; margin: -9px 0 0 -9px; white-space: nowrap; font: 600 12px Rajdhani, sans-serif; text-shadow: 0 1px 2px #000; opacity: .9; }
.ww-mk i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .7); box-shadow: 0 0 6px rgba(0, 0, 0, .6); }
.ww-mk img { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; }
.ww-mk.mine i { border-color: #fff; } .ww-mk.act { opacity: 1; } .ww-mk.act i { width: 18px; height: 18px; animation: wwPulse .6s ease-in-out infinite alternate; }
@keyframes wwPulse { from { box-shadow: 0 0 4px rgba(255, 209, 102, .4); } to { box-shadow: 0 0 14px rgba(255, 209, 102, .95); } }
/* ülke seçimi */
#ww-nat { position: fixed; inset: 0; z-index: 60; pointer-events: auto; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 30%, rgba(30, 40, 54, .82), rgba(4, 6, 10, .94)); }
#ww-nat.hidden, #ww-map.hidden, #ww-deploy.hidden { display: none; }
#ww-nat .wn-box { width: min(980px, 95vw); height: min(720px, 92vh); display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 12px; background: rgba(12, 15, 20, .92); border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--acc); }
#ww-nat .wn-h b { display: block; font-family: var(--disp); font-size: 34px; letter-spacing: 3px; }
#ww-nat .wn-h .wn-sub { display: block; color: #c4ccd3; font-size: 14px; }
#ww-nat input { padding: 10px 12px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font-size: 16px; }
#ww-nat .wn-list { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 6px; align-content: start; padding-right: 4px; }
#ww-nat .wn-it { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; text-align: left; font: 600 14px Rajdhani, sans-serif; transition: background .15s, border-color .15s; }
#ww-nat .wn-it:hover { background: rgba(255, 138, 31, .16); border-color: var(--acc); }
#ww-nat .wn-it img { width: 32px; height: 22px; object-fit: cover; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
#ww-nat .wn-it .wn-n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ww-nat .wn-it .wn-c { color: #9fb0bd; font-size: 12px; }
#ww-nat .wn-it.me { border-color: #5ad17a; background: rgba(90, 209, 122, .12); }
#ww-nat .wn-it.dead { opacity: .35; cursor: not-allowed; }
#ww-nat .wn-f { display: flex; justify-content: flex-end; }
/* dünya haritası */
#ww-map { position: fixed; inset: 0; z-index: 55; pointer-events: auto; background: #0d2236; }
#ww-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
#ww-map .wm-h { position: absolute; left: 18px; top: 14px; text-shadow: 0 1px 3px #000; }
#ww-map .wm-h b { display: block; font-family: var(--disp); font-size: 34px; letter-spacing: 3px; }
#ww-map .wm-h .wm-s { color: #cfd6dc; font-size: 13px; }
#ww-map .wm-leg { position: absolute; right: 18px; top: 16px; padding: 8px 12px; border-radius: 8px; background: rgba(0, 0, 0, .55); font-size: 14px; min-width: 190px; }
#ww-map .wm-leg div { display: flex; align-items: center; gap: 4px; line-height: 1.6; } #ww-map .wm-leg span { flex: 1; } #ww-map .wm-leg .me { color: #ffd166; }
#ww-map .wm-tip { position: fixed; z-index: 3; padding: 6px 10px; border-radius: 6px; background: rgba(0, 0, 0, .82); font-size: 13.5px; pointer-events: none; border: 1px solid rgba(255, 255, 255, .15); }
#ww-map .wm-tip.hidden { display: none; } #ww-map .wm-tip span { color: #c4ccd3; } #ww-map .wm-tip i { color: #7dffa8; font-style: normal; }
#ww-map .wm-f { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 8px; }
/* konuşlanma */
#ww-deploy { position: fixed; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 31; pointer-events: auto; width: min(760px, 94vw); padding: 10px 12px; border-radius: 10px; background: rgba(8, 10, 14, .8); border: 1px solid rgba(255, 255, 255, .12); }
#ww-deploy .wd-h { font: 700 15px Rajdhani, sans-serif; letter-spacing: 3px; margin-bottom: 6px; } #ww-deploy .wd-h .muted { letter-spacing: 0; color: #9aa6b0; font-weight: 600; }
#ww-deploy .wd-list { display: flex; flex-wrap: wrap; gap: 6px; }
#ww-deploy .wd-it { padding: 6px 10px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; font: 600 13px Rajdhani, sans-serif; text-align: left; }
#ww-deploy .wd-it span { display: block; color: #9fb0bd; font-size: 11.5px; }
#ww-deploy .wd-it.on { border-color: #5ad17a; background: rgba(90, 209, 122, .18); }
#ww-deploy .wd-it.hot span { color: #ff9a7a; }
/* skor tablosu */
.ww-sb { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; max-height: 58vh; overflow-y: auto; }
.ww-sbn { padding: 6px 8px; border-radius: 7px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.ww-sbn.me { border-color: #5ad17a; }
.ww-sbn .h { display: flex; align-items: center; gap: 4px; font-size: 15px; } .ww-sbn .h b { flex: 1; } .ww-sbn .h span { color: #9fb0bd; font-size: 12px; }
.ww-sbtop { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 13px; color: #cfd6dc; }
html.touch #ww-top { top: 150px; width: 170px; transform: scale(.85); transform-origin: top left; }
@media (max-width: 760px) { #ww-top .wt-rank { display: none; } #ww-feed { top: 120px; max-width: 60vw; } }
/* sunucu listesi: Dünya Savaşı satırı */
.srv-row.ww { background: linear-gradient(90deg, rgba(40, 110, 70, .28), rgba(20, 60, 110, .2)); }
.srv-row.ww .si { font-size: 22px; }
.srv-row.ww b { color: #9be7b0; letter-spacing: 1px; }
#ww-deploy .wd-it kbd { display: inline-block; min-width: 16px; margin-right: 5px; padding: 0 4px; border-radius: 3px; background: rgba(255, 255, 255, .16); font: 700 11px/16px Rajdhani, sans-serif; text-align: center; color: #ffd166; }
#ww-zone { position: absolute; top: 74px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 8px; background: rgba(6, 8, 12, .7); text-shadow: 0 1px 2px #000; animation: wwZoneIn .5s cubic-bezier(.2, .9, .3, 1.2); }
#ww-zone.hidden { display: none; }
#ww-zone b { display: block; font: 700 19px Rajdhani, sans-serif; letter-spacing: 3px; }
#ww-zone span { display: block; font-size: 12.5px; color: #cfd6dc; letter-spacing: 1px; }
#ww-zone.mine { border-bottom: 2px solid #5ad17a; } #ww-zone.enemy { border-bottom: 2px solid #ff4a3a; } #ww-zone.enemy span { color: #ffb4a8; }
@keyframes wwZoneIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
