/* ==========================================================================
   Strategy of War 2 — "Kurmay Masası" arayüz dili: menü / lobi sayfaları
   (giriş, kayıt onayı, Komuta Merkezi). Kaynak taslak: docs/design/kurmay-masasi/sow2-ui.css
   (taslak 1, 2026-10-19) — buradaki kopya yalnız menü ekranlarının kullandığı sınıfları taşır ve
   tuval (1600×900 sahne) yerine akışkan sayfa düzenine uyarlanmıştır: .sw-win konumlanmaz.
   Yazı tipleri sunucudan (/sow2/ui/*.woff2; @fontsource 5.3.0, SIL OFL 1.1 — LICENSE-fonts.txt),
   çalışma zamanında dış köken yok (CSP font-src 'self'). YERLEŞİM KAYMASI YOK: font-display optional (sayfalar
   kullanılan 10 yüzü önden yükler; ~100 ms'de gelmezse o açılışta yedek kalır, sonradan değişip zıplatmaz) + ölçüsü
   eşlenmiş yedek yüzler (Arial %82 → Barlow Semi Condensed genişliği; Courier New → Courier Prime; tarayıcıda ölçüldü).
   ========================================================================== */

@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; font-display: optional; src: url(bsc-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; font-display: optional; src: url(bsc-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: optional; src: url(bsc-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: optional; src: url(bsc-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: optional; src: url(bsc-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: optional; src: url(bsc-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: optional; src: url(bsc-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: optional; src: url(bsc-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: optional; src: url(cp-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: optional; src: url(cp-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: optional; src: url(cp-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: optional; src: url(cp-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

@font-face { font-family: 'Barlow Fallback'; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto'), local('Liberation Sans'); size-adjust: 82%; ascent-override: 122%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Courier Prime Fallback'; src: local('Courier New'), local('CourierNewPSMT'), local('Liberation Mono'); size-adjust: 100%; ascent-override: 78%; descent-override: 34%; line-gap-override: 0%; }

html { scrollbar-gutter: stable; } /* görünüm açılıp gövde kaydırması kilitlenince içerik yana kaymasın */

:root {
  color-scheme: dark;
  --sw-ink: #0a0a08;
  --sw-bg0: #11110e;
  --sw-bg1: #181814;
  --sw-bg2: #201f1b;
  --sw-bg3: #2a2924;
  --sw-line: #3e3d35;
  --sw-line-hi: #5e5d52;
  --sw-brass: #c9a453;
  --sw-brass-hi: #ead08e;
  --sw-brass-lo: #7e6534;
  --sw-paper: #ccb586;
  --sw-paper-ink: #2c2215;
  --sw-paper-head: #5d4b32;
  --sw-text: #ece7d9;
  --sw-text-2: #c0bbab;
  --sw-text-3: #929083;
  --sw-good: #82c96e;
  --sw-bad: #ec6a5c;
  --sw-warn: #ecc04f;
  --sw-info: #86b8e6;
  --sw-font: 'Barlow Semi Condensed', 'Barlow Fallback', 'Segoe UI', system-ui, sans-serif;
  --sw-mono: 'Courier Prime', 'Courier Prime Fallback', 'Courier New', ui-monospace, monospace;
  --sw-hatch: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px),
              repeating-linear-gradient(45deg, rgba(0,0,0,.22) 0 1px, transparent 1px 4px);
  --sw-metal: linear-gradient(180deg, #3d3c36 0%, #2c2b26 48%, #201f1c 100%);
  --sw-metal-hi: linear-gradient(180deg, #4b4a43 0%, #34332e 50%, #2a2925 100%);
}

/* ---------- temel ---------- */
.sw-page { margin: 0; min-height: 100vh; overflow-x: hidden; background: #0b0b09; color: var(--sw-text); font: 500 14px/1.3 var(--sw-font); -webkit-text-size-adjust: 100%; }
.sw-page *, .sw-page *::before, .sw-page *::after { box-sizing: border-box; }
.sw-page a { color: var(--sw-brass-hi); }
.sw-page a:hover { color: #fff1cf; }
.sw-page :focus-visible { outline: 2px solid var(--sw-brass-hi); outline-offset: 2px; }
.sw-page button, .sw-page input, .sw-page select { font: inherit; }
.sw-page [hidden] { display: none !important; }
.sw-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sw-ico.sm { width: 14px; height: 14px; }
.sw-num { font-variant-numeric: tabular-nums; }
.sw-mono { font-family: var(--sw-mono); }
.sw-good { color: var(--sw-good); }
.sw-bad { color: var(--sw-bad); }
.sw-warn { color: var(--sw-warn); }
.sw-dim-t { color: var(--sw-text-3); }
.sw-brass-t { color: var(--sw-brass); }
.sw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* arka plan: kendi harita görüntümüz (sepya + karartma) + ızgara dokusu */
.sw-bgmap { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; pointer-events: none; filter: sepia(.6) saturate(.65) brightness(.42) contrast(1.08); }
.sw-shade { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,7,5,.95) 0%, rgba(7,7,5,.82) 28%, rgba(7,7,5,.25) 60%, rgba(7,7,5,.5) 100%),
              radial-gradient(ellipse at 62% 48%, transparent 35%, rgba(0,0,0,.55) 100%); }
.sw-shade.mid { background: radial-gradient(ellipse at 50% 50%, rgba(7,7,5,.45) 0%, rgba(7,7,5,.86) 78%); }
.sw-grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--sw-hatch); }

/* ---------- pencere ---------- */
.sw-win {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background-color: var(--sw-bg1); background-image: var(--sw-hatch), linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.25));
  border: 1px solid #000;
  box-shadow: 0 0 0 1px #4f4e44, 0 0 0 4px #1c1b17, 0 0 0 5px #000, 0 18px 44px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.sw-win-hd {
  position: relative; flex: none; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 22px;
  background: var(--sw-metal); border-bottom: 1px solid #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 0 #3a3932;
}
.sw-win-hd::before, .sw-win-hd::after { /* perçin */
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #a3a193 0 1px, #5b5a50 1.6px, #23221e 3.4px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.sw-win-hd::before { left: 8px; }
.sw-win-hd::after { right: 46px; }
.sw-win-hd.noclose::after { right: 8px; }
.sw-win-title { flex: 1; min-width: 0; margin: 0; font: 700 19px/1 var(--sw-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--sw-text); text-shadow: 0 1px 0 #000, 0 0 10px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-win-title small { font-size: 13px; letter-spacing: .16em; color: var(--sw-text-3); margin-left: 10px; }
.sw-win-bd { flex: 1; min-height: 0; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sw-win-ft { flex: none; display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); background: linear-gradient(180deg, #1c1b18, #141411); }

/* kapat düğmesi: bakır kare */
.sw-x {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: #f6e6c8; border: 1px solid #000; border-radius: 2px;
  background: linear-gradient(180deg, #a2724a 0%, #7a5232 55%, #5e3e25 100%);
  box-shadow: inset 0 1px 0 rgba(255,225,180,.4), inset 0 -1px 0 rgba(0,0,0,.4), 0 0 0 1px #4a3a28;
}
.sw-x .sw-ico { stroke-width: 2.6; width: 16px; height: 16px; }
.sw-x:hover { filter: brightness(1.12); }

/* ---------- çukur alan, plaket, bölüm başlığı ---------- */
.sw-well { background: rgba(8,8,7,.82); border: 1px solid #000; box-shadow: inset 0 1px 3px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06); }
.sw-plate { background: var(--sw-metal); border: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.4); }
.sw-sec {
  display: flex; align-items: center; gap: 10px; min-height: 32px; margin: 0; padding: 0 12px;
  font: 600 16px/1 var(--sw-font); color: var(--sw-text);
  background: linear-gradient(90deg, #3d2d1f 0%, #2e2219 60%, rgba(46,34,25,0) 100%);
  border-top: 1px solid #54402c; border-bottom: 1px solid #0c0907;
}
.sw-sec .sw-ico { color: var(--sw-brass); }
.sw-sec .sw-sec-r { margin-left: auto; font-size: 14px; color: var(--sw-text-2); font-weight: 500; text-align: right; }
.sw-tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 26px 0 10px;
  font: 600 15px/1 var(--sw-font); color: var(--sw-text);
  background: linear-gradient(180deg, #4b4b45, #33332e);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.sw-label { font: 700 11px/1 var(--sw-font); letter-spacing: .14em; text-transform: uppercase; color: var(--sw-text-3); }

/* ---------- düğmeler ---------- */
.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 16px;
  font: 600 15px/1 var(--sw-font); color: var(--sw-text); text-shadow: 0 1px 0 #000; cursor: pointer; white-space: nowrap; text-decoration: none;
  border: 1px solid #000; border-radius: 2px;
  background: linear-gradient(180deg, #4e4e48 0%, #36362f 52%, #2b2b26 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
}
.sw-page a.sw-btn { color: var(--sw-text); }
.sw-btn:hover { filter: brightness(1.12); }
.sw-btn.go { background: linear-gradient(180deg, #56683f 0%, #3d4b2e 52%, #313c25 100%); }
.sw-btn.gold, .sw-page a.sw-btn.gold { color: #fff3d6; border-color: #1b1307; background: linear-gradient(180deg, #9a7a41 0%, #73592c 52%, #5d4722 100%); box-shadow: inset 0 1px 0 rgba(255,236,190,.35), inset 0 -1px 0 rgba(0,0,0,.4), 0 0 0 1px rgba(234,208,142,.18); }
.sw-btn.red { background: linear-gradient(180deg, #8a3d2c 0%, #66291d 52%, #511f16 100%); }
.sw-btn.off, .sw-btn:disabled, .sw-btn[aria-disabled="true"] { color: var(--sw-text-3); cursor: default; filter: none; background: linear-gradient(180deg, #2d2d2a, #232320); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.sw-btn.sm { height: 28px; padding: 0 10px; font-size: 14px; }
.sw-btn.wide { width: 100%; }

/* yuvarlak metal düğme */
.sw-rbtn {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: var(--sw-brass-hi); border: 1px solid #000;
  background: radial-gradient(circle at 50% 30%, #605e55 0%, #3a3933 45%, #24231f 80%);
  box-shadow: 0 0 0 2px #1b1a17, 0 0 0 3px #5a584d, 0 3px 6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.22);
}
.sw-rbtn.sm { width: 28px; height: 28px; }
.sw-rbtn.sm .sw-ico { width: 15px; height: 15px; stroke-width: 2.2; }
.sw-acct { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 0; overflow: hidden; cursor: pointer; font: 700 16px/1 var(--sw-font); color: #1d1608; border: 1px solid #000; background: radial-gradient(circle at 50% 30%, #f0d690, #b88f3d 70%); box-shadow: 0 0 0 2px #1b1a17, 0 0 0 3px #5a584d; }
.sw-acct img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- parşömen ---------- */
.sw-paper {
  color: var(--sw-paper-ink); font: 400 14px/1.35 var(--sw-mono);
  background-color: var(--sw-paper);
  background-image: radial-gradient(ellipse at 25% 15%, rgba(255,250,228,.42), transparent 55%),
                    radial-gradient(ellipse at 85% 95%, rgba(96,64,24,.28), transparent 60%),
                    repeating-linear-gradient(0deg, rgba(80,55,20,.045) 0 1px, transparent 1px 3px);
  border: 1px solid #241a0f;
  box-shadow: inset 0 0 0 1px rgba(255,240,205,.32), inset 0 0 22px rgba(86,56,18,.4), 0 0 0 3px #12110e;
}
.sw-page .sw-paper a { color: #5a3a12; }
.sw-paper-hd { margin: 0; padding: 4px 10px; font: 700 15px/1.2 var(--sw-mono); color: #f3e5c5; background: linear-gradient(180deg, #6e5a3c, #574630); border-bottom: 1px solid #2b2012; }
.sw-kv { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dotted rgba(70,50,25,.55); }
.sw-kv:last-child { border-bottom: 0; }
.sw-kv b { font-weight: 700; text-align: right; }
.sw-cols2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.sw-cols2 > div + div { border-left: 1px solid rgba(139,111,71,.7); padding-left: 14px; }

/* ---------- form denetimleri ---------- */
.sw-input { height: 34px; padding: 0 10px 0 34px; font: 500 15px/1 var(--sw-font); color: var(--sw-text); border: 1px solid #000; border-radius: 2px; background: #0d0d0b; box-shadow: inset 0 1px 3px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06); }
.sw-input.plain { padding-left: 10px; }
.sw-input::placeholder { color: #8a877b; }
.sw-input:focus { outline: 1px solid var(--sw-brass-lo); }
.sw-search { position: relative; display: inline-flex; align-items: center; }
.sw-search .sw-ico { position: absolute; left: 10px; color: var(--sw-text-3); pointer-events: none; }
.sw-cb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex: none; cursor: pointer; border: 1px solid #000; border-radius: 2px; background: #0d0d0b; box-shadow: inset 0 1px 3px rgba(0,0,0,.9), 0 0 0 1px #4d4c43; display: grid; place-items: center; }
.sw-cb:checked { background: linear-gradient(180deg, #9a7a41, #5d4722); box-shadow: inset 0 1px 0 rgba(255,236,190,.35), 0 0 0 1px var(--sw-brass); }
.sw-cb:checked::after { content: ''; width: 6px; height: 11px; margin-top: -3px; border: solid #fff3d6; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.sw-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid #000; box-shadow: 0 0 0 1px #3d3c34; }
.sw-seg button { height: 32px; padding: 0 13px; font: 600 14px/1 var(--sw-font); color: var(--sw-text-2); cursor: pointer; border: 0; border-right: 1px solid #000; background: linear-gradient(180deg, #2a2a26, #1d1d1a); }
.sw-seg button:last-child { border-right: 0; }
.sw-seg button.on { color: #fff3d6; background: linear-gradient(180deg, #8a6c3a, #5d4722); box-shadow: inset 0 1px 0 rgba(255,236,190,.3); }
.sw-range { --pct: 50%; appearance: none; -webkit-appearance: none; width: 200px; height: 8px; margin: 0; border: 1px solid #000; background: linear-gradient(90deg, var(--sw-brass) 0 var(--pct), #0d0d0b var(--pct) 100%); box-shadow: 0 1px 0 rgba(255,255,255,.06); cursor: pointer; }
.sw-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 24px; border: 1px solid #000; border-radius: 2px; background: linear-gradient(180deg, #f0d48d, #9a7a41); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); cursor: pointer; }
.sw-range::-moz-range-thumb { width: 14px; height: 24px; border: 1px solid #000; border-radius: 2px; background: linear-gradient(180deg, #f0d48d, #9a7a41); cursor: pointer; }

/* ---------- liste satırı, renk kutusu, hap ---------- */
.sw-row { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 5px 10px; border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(255,255,255,.035); font: 500 14px/1.2 var(--sw-font); }
.sw-row:nth-child(even) { background: rgba(255,255,255,.025); }
.sw-row .sw-row-r { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--sw-text-2); white-space: nowrap; }
.sw-swatch { display: inline-block; width: 12px; height: 12px; flex: none; border: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.sw-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 2px 9px; font: 600 13px/1.15 var(--sw-font); color: var(--sw-text); background: rgba(0,0,0,.45); border: 1px solid #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.sw-pill .sw-ico { width: 14px; height: 14px; color: var(--sw-brass); }
.sw-pill.ok { color: #dff3d4; box-shadow: inset 0 0 0 1px rgba(130,201,110,.45); background: rgba(58,96,40,.55); }
.sw-pill.no { color: #f3d6cf; box-shadow: inset 0 0 0 1px rgba(236,106,92,.45); background: rgba(110,40,30,.55); }

/* ---------- portre çerçevesi ---------- */
.sw-portrait { position: relative; width: 120px; height: 150px; flex: none; border: 1px solid #000; background: linear-gradient(180deg, #4b4a43, #26251f); box-shadow: 0 0 0 3px #22211d, 0 0 0 4px #6e6c60, 0 0 0 5px #000, inset 0 0 20px rgba(0,0,0,.6); overflow: hidden; }
.sw-portrait svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 88%; color: #15140f; }
.sw-portrait-n { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 4px 5px; text-align: center; font: 600 13px/1.1 var(--sw-font); color: var(--sw-text); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85) 40%); }

/* ---------- logo ---------- */
.sw-logo { display: flex; align-items: center; gap: 18px; }
.sw-emblem { width: 76px; height: 76px; flex: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.7)); }
.sw-logo-t { margin: 0; font: 700 46px/.95 var(--sw-font); letter-spacing: .05em; text-transform: uppercase; color: var(--sw-text); text-shadow: 0 2px 0 #000, 0 0 18px rgba(0,0,0,.8); white-space: nowrap; }
.sw-logo-t b { color: var(--sw-brass-hi); font-weight: 700; }
.sw-logo-s { margin-top: 9px; font: 700 13px/1 var(--sw-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--sw-brass); white-space: nowrap; }

/* ---------- hesap şeridi ---------- */
.sw-acctbar { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 16px 0 54px; background: var(--sw-hatch), var(--sw-metal); clip-path: polygon(0 0, 100% 0, 100% 100%, 42px 100%); border-bottom: 1px solid #000; }
.sw-gold { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; font: 700 17px/1 var(--sw-font); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #121210, #1c1c19); border: 1px solid #000; box-shadow: inset 0 1px 2px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.07); white-space: nowrap; }
.sw-gold small { font: 500 13px/1 var(--sw-font); color: var(--sw-text-3); }
.sw-coin { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid #000; background: radial-gradient(circle at 38% 32%, #f8e2a0 0, #d6b25e 45%, #8a6c32 100%); box-shadow: inset 0 0 0 3px rgba(122,95,40,.55); }
.sw-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sw-who b { font: 700 15px/1 var(--sw-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-who small { font: 500 12px/1 var(--sw-font); color: var(--sw-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- ana menü düğmeleri ---------- */
.sw-mnav { display: flex; flex-direction: column; gap: 8px; }
.sw-mitem { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 66px; padding: 10px 18px 10px 12px; text-align: left; cursor: pointer; text-decoration: none;
  color: var(--sw-text); font: inherit; border: 1px solid #000;
  background: var(--sw-hatch), linear-gradient(180deg, #45443d 0%, #2f2e29 55%, #252420 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), inset 0 -2px 0 rgba(0,0,0,.4), 0 0 0 1px #4a493f, 0 6px 14px rgba(0,0,0,.5); }
.sw-page a.sw-mitem { color: var(--sw-text); }
.sw-mitem:hover { filter: brightness(1.1); }
.sw-mico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: var(--sw-brass-hi); border: 1px solid #000; background: radial-gradient(circle at 50% 30%, #5d5b52, #2a2925 80%); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px #6a6857; }
.sw-mico .sw-ico { width: 24px; height: 24px; stroke-width: 1.6; }
.sw-mitem-x { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sw-mitem-t { font: 700 21px/1.05 var(--sw-font); letter-spacing: .02em; text-shadow: 0 1px 0 #000; }
.sw-mitem-s { font: 500 14px/1.2 var(--sw-font); color: var(--sw-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-mitem-r { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; color: var(--sw-brass); }
.sw-mitem.gold { background: var(--sw-hatch), linear-gradient(180deg, #8c7040 0%, #66502a 55%, #4f3d1f 100%);
  box-shadow: inset 0 1px 0 rgba(255,236,190,.35), inset 0 -2px 0 rgba(0,0,0,.4), 0 0 0 1px #c9a453, 0 0 24px rgba(234,208,142,.2), 0 6px 14px rgba(0,0,0,.5); }
.sw-mitem.gold .sw-mitem-s { color: #f1e3c0; }
.sw-mitem.gold .sw-mitem-r { color: #fff3d6; }
.sw-mitem.gold .sw-mico { color: #fff3d6; background: radial-gradient(circle at 50% 30%, #b18c4c, #5e4722 80%); box-shadow: inset 0 1px 0 rgba(255,236,190,.4), 0 0 0 1px #e2c27a; }
.sw-mitem.sm { min-height: 46px; padding: 6px 16px 6px 12px; gap: 12px; }
.sw-mitem.sm .sw-mitem-t { font-size: 17px; }
.sw-mitem.sm .sw-mico { width: 32px; height: 32px; }
.sw-mitem.sm .sw-mico .sw-ico { width: 18px; height: 18px; }
.sw-cnt-b { min-width: 24px; height: 22px; padding: 0 7px; display: grid; place-items: center; font: 700 13px/1 var(--sw-font); color: #1d1608; background: linear-gradient(180deg, #f1d58f, #c9a453); border: 1px solid #000; border-radius: 11px; }

/* başlangıç rozeti: 1936 çelik mavisi, 1939 pirinç */
.sw-yr { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; font: 700 12px/1 var(--sw-mono); letter-spacing: .1em; color: #1d1608; background: linear-gradient(180deg, #ecd28f, #b99447); border: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); white-space: nowrap; }
.sw-yr.y36 { color: #eef3f8; background: linear-gradient(180deg, #7a8da3, #4a5c70); }
.sw-yr.sm { height: 18px; font-size: 11px; }

/* sunucu durumu */
.sw-st { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1 var(--sw-font); white-space: nowrap; }
.sw-st i { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1px solid #000; background: #77756b; }
.sw-st.run i { background: var(--sw-good); box-shadow: 0 0 6px rgba(130,201,110,.6); }
.sw-st.lobby i { background: var(--sw-warn); }
.sw-st.pause i { background: var(--sw-info); }

.sw-code { font: 700 13px/1 var(--sw-mono); letter-spacing: .04em; color: var(--sw-brass-hi); white-space: nowrap; }

/* bayrak (ülke seçimi, sunucularım) */
.sw-flag { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border: 1px solid #000; box-shadow: 0 0 0 1px #5d5c51, 0 2px 4px rgba(0,0,0,.5); }

/* giriş: Google'ın koyu tema düğmesi (marka kuralı: #131314 zemin, #8e918f çerçeve, #e3e3e3 yazı) */
.sw-gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 20px 0 14px; cursor: pointer; text-decoration: none; font: 500 16px/1 'Roboto', 'Segoe UI', system-ui, sans-serif; color: #e3e3e3; background: #131314; border: 1px solid #8e918f; border-radius: 4px; }
.sw-page a.sw-gbtn { color: #e3e3e3; }
.sw-gbtn:hover { background: #1d1d1f; color: #fff; }
.sw-gbtn[aria-disabled="true"] { pointer-events: none; opacity: .45; }
.sw-gbtn svg { width: 20px; height: 20px; flex: none; }

/* alt bilgi */
.sw-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 12px 28px; font: 500 13px/1.3 var(--sw-font); color: var(--sw-text-3); background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.sw-foot a { color: var(--sw-text-2); text-decoration: none; }
.sw-foot a:hover { color: var(--sw-brass-hi); }
.sw-foot .r { margin-left: auto; font-family: var(--sw-mono); letter-spacing: .08em; }

@media (prefers-reduced-motion: reduce) { .sw-page *, .sw-page *::before, .sw-page *::after { transition: none !important; animation: none !important; } }
