/* =====================================================================
   BARUT & DALGA — arayüz tasarım sistemi
   Klasik 2012 kimliği: lacivert cam paneller, ince çelik çizgiler,
   ölçülü altın vurgular. Tek katman: bütün ölçüler aşağıdaki değişkenlerde.
   ===================================================================== */

/* ---------- 1. TASARIM DEĞİŞKENLERİ ---------- */
:root {
  color-scheme: dark;

  /* zemin ve paneller */
  --abyss: #050b14;
  --navy-900: #08111d;
  --navy-800: #0c1828;
  --navy-700: #13243a;
  --panel: linear-gradient(180deg, rgba(19, 35, 57, 0.84), rgba(9, 18, 31, 0.88));
  --panel-strong: linear-gradient(180deg, rgba(17, 32, 52, 0.96), rgba(8, 16, 28, 0.97));
  --well: rgba(2, 7, 14, 0.55);          /* içe gömük alanlar: giriş kutuları, çubuk zemini */
  --raise: rgba(255, 255, 255, 0.04);    /* panel içi kart yüzeyi */
  --raise-2: rgba(255, 255, 255, 0.07);
  --line: rgba(150, 184, 222, 0.14);     /* ince kenar */
  --line-2: rgba(150, 184, 222, 0.24);
  --line-3: rgba(150, 184, 222, 0.38);

  /* yazı renkleri */
  --text: #e8eef6;
  --text-2: #9fb2c8;
  --text-3: #6f849d;

  /* vurgular: altın sadece ana eylem ve seçili/öne çıkan şeyler için */
  --gold: #e8b54a;
  --gold-hi: #f6d27f;
  --gold-ink: #241703;
  --gold-soft: rgba(232, 181, 74, 0.12);
  --gold-line: rgba(232, 181, 74, 0.4);
  --sea: #64b5ff;                        /* odak halkası, bilgi, klan etiketi */
  --teal: #4fd8c4;                       /* elit, geçiş kapısı, günlük */
  --teal-hi: #8ff3e6;
  --red: #e5543f;
  --red-hi: #ff9a86;
  --green: #5ccf8a;
  --green-hi: #a8f0c4;
  --pearl: #cdc6ff;

  /* çubuk dolguları */
  --hp-a: #b92f1f; --hp-b: #f0644a;
  --xp-a: #c98f27; --xp-b: #f6d27f;

  /* yazı tipleri: korsan yazısı sadece logo ve büyük başlıklarda */
  --font-ui: 'Barlow', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Pirata One', Georgia, 'Times New Roman', serif;
  --font-mono: 'Cascadia Mono', Consolas, 'DejaVu Sans Mono', ui-monospace, monospace;

  /* yazı ölçeği */
  --fs-xs: 11px; --fs-sm: 12px; --fs-md: 13px; --fs-base: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 26px;

  /* 8px ızgarası (4 yarım adım) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;

  /* köşeler */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;

  /* gölgeler */
  --sh-1: 0 2px 8px rgba(0, 0, 0, 0.3);
  --sh-2: 0 10px 28px rgba(0, 0, 0, 0.42);
  --sh-3: 0 24px 64px rgba(0, 0, 0, 0.58);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --focus: 0 0 0 3px rgba(100, 181, 255, 0.28);

  /* hareket */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 120ms;
  --t-med: 200ms;
  --t-slow: 380ms;

  /* cam bulanıklığı (düşük grafik ayarında kapanır) */
  --blur: blur(12px) saturate(1.2);

  /* yerleşim */
  --hud-gap: 12px;
  --top-h: 56px;
  --hud-top: calc(var(--top-h) + var(--hud-gap));
  --ab-h: 92px;                                        /* cephane çubuğu yüksekliği (üstte hızlı yuvalar, altta kategoriler) */
  --above-ab: calc(var(--hud-gap) + var(--ab-h) + 8px);
}

/* Zayıf bilgisayarlar: cam bulanıklığı yerine daha koyu düz panel */
:root[data-fx='low'] {
  --blur: none;
  --panel: linear-gradient(180deg, rgba(17, 32, 52, 0.94), rgba(8, 16, 28, 0.95));
}

/* ---------- 2. TEMEL ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: rgba(150, 184, 222, 0.28) transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--abyss); }
body {
  font: 400 var(--fs-base)/1.4 var(--font-ui);
  color: var(--text);
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select { font: inherit; color: var(--text); }
::selection { background: rgba(100, 181, 255, 0.35); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.hidden { display: none !important; }
b, strong { font-weight: 600; }

#scene, #overlay { position: fixed; inset: 0; display: block; }
#scene { cursor: crosshair; }
#overlay { pointer-events: none; }
#vignette {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 62%, rgba(2, 6, 12, 0.4) 100%);
}

.ico { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: middle; }
.ico svg, .portrait svg, .card-ico svg, .slot svg, .buff svg, .clan-flag svg { width: 100%; height: 100%; display: block; }

kbd {
  display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: var(--r-xs); border: 1px solid var(--line-2); background: rgba(2, 7, 14, 0.75);
  font: 600 10px/1 var(--font-ui); color: var(--text-2);
}

/* ---------- 3. TEMEL PARÇALAR ---------- */

/* cam panel */
.frame {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2), var(--sheen);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: var(--r-md);
  font: 600 13px/1 var(--font-ui); letter-spacing: 0.1px; white-space: nowrap; color: var(--text);
  background: var(--raise-2); border: 1px solid var(--line-2);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform 80ms;
}
.btn:not(:disabled):hover { background: rgba(255, 255, 255, 0.11); border-color: var(--line-3); }
.btn:not(:disabled):active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; filter: saturate(0.4); }
.btn .ico { width: 16px; height: 16px; }
.btn small { font-size: 11px; font-weight: 500; opacity: 0.8; }

.btn.gold {
  color: var(--gold-ink); border-color: rgba(255, 226, 150, 0.75);
  background: linear-gradient(180deg, #f8d888, #e2a93c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(232, 181, 74, 0.16);
}
.btn.gold:not(:disabled):hover {
  background: linear-gradient(180deg, #fde29e, #ebb54b); border-color: #ffe7a6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 20px rgba(232, 181, 74, 0.3);
}
.btn.green { color: var(--green-hi); background: rgba(92, 207, 138, 0.13); border-color: rgba(92, 207, 138, 0.45); }
.btn.green:not(:disabled):hover { background: rgba(92, 207, 138, 0.22); border-color: rgba(92, 207, 138, 0.7); }
.btn.red { color: #ffc0b3; background: rgba(229, 84, 63, 0.13); border-color: rgba(229, 84, 63, 0.5); }
.btn.red:not(:disabled):hover { background: rgba(229, 84, 63, 0.26); border-color: rgba(255, 140, 120, 0.75); }
.btn.pearl { color: #ece9ff; background: rgba(205, 198, 255, 0.13); border-color: rgba(205, 198, 255, 0.45); }
.btn.pearl:not(:disabled):hover { background: rgba(205, 198, 255, 0.22); border-color: rgba(220, 214, 255, 0.75); }
.btn.small { height: 28px; padding: 0 10px; font-size: 12px; border-radius: var(--r-sm); }
.btn.big { width: 100%; height: 44px; font-size: 15px; letter-spacing: 0.2px; }

/* giriş kutuları */
.login-card input, .qty, .form-row input, .search, .setting select, #chatIn {
  height: 34px; padding: 0 12px; border-radius: var(--r-md);
  background: var(--well); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.login-card input:hover, .qty:hover, .form-row input:hover, .search:hover, .setting select:hover, #chatIn:hover { border-color: var(--line-3); }
.login-card input:focus, .qty:focus, .form-row input:focus, .search:focus, .setting select:focus, #chatIn:focus {
  outline: none; border-color: rgba(100, 181, 255, 0.75); box-shadow: var(--focus); background: rgba(2, 7, 14, 0.78);
}
::placeholder { color: var(--text-3); opacity: 1; }

/* çubuklar (can, tecrübe, ilerleme) */
.bar {
  position: relative; height: 14px; border-radius: var(--r-pill); overflow: hidden;
  background: rgba(2, 7, 14, 0.7);
  box-shadow: inset 0 0 0 1px rgba(150, 184, 222, 0.12), inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.bar > i {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit;
  transition: width var(--t-slow) var(--ease);
}
.bar > i::after {
  content: ''; position: absolute; inset: 0 0 50% 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}
.bar.hp > i { background: linear-gradient(90deg, var(--hp-a), var(--hp-b)); }
.bar.xp { height: 8px; }
.bar.xp > i { background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); }
.bar > span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 10.5px/1 var(--font-ui); font-variant-numeric: tabular-nums; letter-spacing: 0.2px;
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

/* ---------- 4. GİRİŞ EKRANI ---------- */
#login {
  position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: var(--s5);
  overflow-y: auto;
  background:
    radial-gradient(ellipse 520px 460px at 50% 50%, rgba(4, 10, 18, 0.55), rgba(4, 10, 18, 0) 100%),
    radial-gradient(ellipse 130% 110% at 50% 50%, transparent 55%, rgba(3, 8, 15, 0.6) 100%);
}
.login-wrap { width: min(480px, 100%); display: flex; flex-direction: column; align-items: center; animation: rise-in 0.7s var(--ease) both; }
.logo {
  font: 400 78px/0.95 var(--font-display); color: var(--gold-hi); white-space: nowrap; letter-spacing: 0.5px;
  text-shadow: 0 3px 0 rgba(58, 36, 4, 0.85), 0 10px 40px rgba(0, 0, 0, 0.7);
}
.logo i { font-style: normal; display: inline-block; color: var(--gold); margin: 0 14px; vertical-align: -0.02em; }
.logo .logo-anchor { width: 0.74em; height: 0.74em; filter: drop-shadow(0 3px 0 rgba(58, 36, 4, 0.85)); }
.tagline {
  margin: 10px 0 26px; font-size: 15px; font-weight: 500; letter-spacing: 0.2px;
  color: rgba(232, 238, 246, 0.86); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}
.hw-tag {
  margin: -16px 0 18px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #ffd9a8;
  background: linear-gradient(90deg, rgba(90, 30, 140, 0.75), rgba(150, 60, 10, 0.75)); border: 1px solid rgba(255, 150, 60, 0.45);
  box-shadow: 0 0 18px rgba(170, 90, 255, 0.35); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); animation: hw-glow 2.4s ease-in-out infinite;
}
@keyframes hw-glow { 50% { box-shadow: 0 0 26px rgba(255, 140, 40, 0.45); } }
.login-card { width: min(380px, 100%); padding: 20px 24px; border-radius: var(--r-xl); background: var(--panel-strong); box-shadow: var(--sh-3), var(--sheen); }
.tabs {
  display: flex; gap: 4px; padding: 4px; margin-bottom: 20px;
  border-radius: var(--r-md); background: var(--well); border: 1px solid var(--line);
}
.tab {
  flex: 1; height: 32px; border-radius: var(--r-sm); font-weight: 600; font-size: 13.5px; color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); }
.login-card label { display: block; margin-bottom: var(--s4); font-size: 12.5px; font-weight: 500; color: var(--text-2); text-align: left; }
.login-card input { display: block; width: 100%; height: 42px; margin-top: 6px; padding: 0 14px; font-size: 15px; user-select: text; }
#btnAuth { margin-top: var(--s1); }
.err { min-height: 18px; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--red-hi); text-align: center; }
.login-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.45; color: var(--text-2); text-align: center;
}
.login-foot .ico { width: 20px; height: 20px; }

/* ---------- 5. OYUN ARAYÜZÜ ---------- */

/* üst çubuk: menü ve para birimleri */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 6; height: var(--top-h);
  display: flex; align-items: center; gap: var(--s5); padding: 0 var(--s4);
  background: linear-gradient(180deg, rgba(8, 17, 29, 0.94), rgba(8, 17, 29, 0.84));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.brand {
  flex: none; font: 400 27px/1 var(--font-display); letter-spacing: 0.3px; white-space: nowrap;
  color: var(--gold-hi); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.brand i { font-style: normal; display: inline-block; color: var(--gold); opacity: 0.9; margin: 0 6px; vertical-align: -0.05em; }
.brand .logo-anchor { width: 0.72em; height: 0.72em; }
#menu { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; gap: 2px; }
.mbtn {
  position: relative; flex: none; width: 62px; height: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: var(--r-md); color: var(--text-2); font-size: 11.5px; font-weight: 500; line-height: 1;
  transition: color var(--t-fast), background var(--t-fast);
}
.mbtn .ring { display: block; width: 22px; height: 22px; }
.mbtn .ring svg { width: 100%; height: 100%; display: block; }
.mbtn .lbl { white-space: nowrap; }
.mbtn:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.mbtn.on { color: var(--gold-hi); background: var(--gold-soft); }
.mbtn.on::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: -4px; height: 2px;
  border-radius: 2px; background: var(--gold);
}
.mbtn .badge {
  position: absolute; top: 1px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  font: 700 10px/1 var(--font-ui); color: #fff; background: var(--red); box-shadow: 0 0 0 2px var(--navy-900);
  animation: pop-in var(--t-med) var(--ease);
}
#wallet { flex: none; display: flex; align-items: center; gap: 6px; }
.cur {
  display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px;
  border-radius: var(--r-pill); background: var(--well); border: 1px solid var(--line);
}
.cur .ico { width: 18px; height: 18px; }
.cur b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
#btnBuyPearl { margin-left: 2px; }

/* durum çerçevesi (sol üst) */
#status {
  position: fixed; top: var(--hud-top); left: var(--hud-gap); z-index: 5; width: 300px;
  display: flex; align-items: flex-start; gap: var(--s3); padding: 10px 12px 10px 10px;
}
.portrait {
  width: 64px; height: 64px; flex: none; padding: 5px; overflow: hidden;
  border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 90% 70% at 50% 100%, #24527a, #112a45 60%, #0b1b2e);
}
.portrait.small { width: 50px; height: 50px; padding: 4px; }
.st-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.st-name { display: flex; align-items: center; gap: 6px; min-width: 0; height: 20px; font-size: 15px; font-weight: 600; white-space: nowrap; }
#stName { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.st-name .tag { flex: none; font-size: 13px; color: var(--sea); }
.st-name .tag:empty { display: none; }
.st-name .lvl {
  flex: none; margin-left: auto; display: inline-flex; align-items: baseline; gap: 3px;
  height: 20px; padding: 0 8px; border-radius: var(--r-pill); line-height: 19px;
  font-size: 11px; font-weight: 600; color: var(--gold-hi); background: var(--gold-soft); border: 1px solid rgba(232, 181, 74, 0.32);
}
.st-name .lvl b { font-size: 13px; font-variant-numeric: tabular-nums; }
#status .bar.hp { height: 16px; }
#status .bar.xp { height: 12px; }
#status .bar.xp > span { font-size: 9.5px; font-weight: 500; }
.buffs { display: flex; flex-wrap: wrap; gap: 4px; }
.buffs:empty { display: none; }
.buff {
  width: 22px; height: 22px; padding: 2px; border-radius: var(--r-xs);
  color: var(--gold-hi); background: var(--well); border: 1px solid rgba(232, 181, 74, 0.38);
  animation: pop-in var(--t-med) var(--ease);
}
.buff.bad { border-color: rgba(229, 84, 63, 0.75); background: rgba(229, 84, 63, 0.14); }

/* hedef çerçevesi (üst orta) */
#target {
  position: fixed; top: var(--hud-top); left: 50%; transform: translateX(-50%); z-index: 5; width: 320px;
  display: flex; align-items: center; gap: var(--s3); padding: 10px 12px 10px 10px;
  border-color: rgba(229, 84, 63, 0.3);
  animation: target-in var(--t-med) var(--ease);
}
#target .st-main { gap: 5px; }
.tg-name { font-size: 14.5px; font-weight: 600; color: #ffb3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-sub { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#target .bar.hp { height: 14px; }

/* görev takipçisi (sağ üst) */
#tracker {
  position: fixed; top: var(--hud-top); right: var(--hud-gap); z-index: 4; width: 252px;
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; overscroll-behavior: contain;
}
#tracker > .trk { flex: none; }
/* yer darsa (küçük pencere / düşük çözünürlük): kartlar sıkılaşır, hedef satırı ve açıklama gizlenir */
#tracker.compact { gap: 4px; }
#tracker.compact .trk { padding: 6px 10px 7px 13px; font-size: 11.5px; }
#tracker.compact .trk::before { top: 6px; bottom: 6px; }
#tracker.compact .trk b { font-size: 12.5px; margin-bottom: 1px; }
#tracker.compact .trk-tg, #tracker.compact .trk-desc { display: none; }
#tracker.compact .trk .bar.xp { margin-top: 5px; }
.trk {
  position: relative; padding: 9px 12px 10px 15px; border-radius: var(--r-md);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh-1);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.trk::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.trk:hover { border-color: var(--line-3); }
.trk b { display: block; margin-bottom: 2px; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk .bar.xp { height: 4px; margin-top: 7px; }
.trk.done { color: var(--green-hi); border-color: rgba(92, 207, 138, 0.35); }
.trk.done::before, .trk.done .bar > i { background: var(--green); }
.trk.done b::after { content: ' ✔'; color: var(--green); }

/* mini harita */
#minimap { position: fixed; right: var(--hud-gap); bottom: var(--above-ab); z-index: 5; padding: 8px; }
.mm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 4px 7px; font-size: 13px; }
#mmName { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mmPos { flex: none; font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
#mm { display: block; width: 220px; height: 165px; border-radius: var(--r-md); cursor: pointer; outline: 1px solid var(--line); outline-offset: -1px; }

/* dar pencere (masaüstü): kategori düğmelerinde sadece simge ve ok kalır, yuvalar biraz küçülür */
@media (max-width: 820px) {
  html:not(.mobile) .ab-cl { display: none; }
  html:not(.mobile) .ab-cat { justify-content: center; padding: 0 6px; }
  html:not(.mobile) .slot { width: 42px; }
  html:not(.mobile) .attack { width: 80px; }
}
/* cephane çubuğu (alt orta): üstte 10 hızlı yuva, altta kategori düğmeleri, sağda Saldır */
#actionbar {
  position: fixed; left: 50%; bottom: var(--hud-gap); transform: translateX(-50%); z-index: 5;
  height: var(--ab-h); display: flex; align-items: stretch; gap: 8px; padding: 6px 8px; border-radius: var(--r-xl);
}
.ab-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.group { display: flex; gap: 4px; }
#abSlots { gap: 5px; }
/* kategori düğmeleri: seçili eşyanın simgesi + adı + açılır menü oku (Seafight gibi) */
#abCats { display: flex; gap: 4px; height: 28px; }
.ab-cat {
  position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 7px 0 4px;
  border-radius: 8px; font: 600 11.5px/1 var(--font-ui); color: var(--text-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.ab-cat:hover { color: var(--text); border-color: var(--line-3); background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); }
.ab-cat.on { color: var(--gold-hi); border-color: var(--gold); background: linear-gradient(180deg, rgba(232, 181, 74, 0.26), rgba(232, 181, 74, 0.06)); box-shadow: 0 0 12px rgba(232, 181, 74, 0.22); }
.ab-ci { position: relative; width: 20px; height: 20px; display: block; flex: none; }
.ab-ci svg { width: 100%; height: 100%; display: block; }
.ab-cl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-cn { margin-left: auto; padding-left: 4px; font: 600 10.5px/1 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--text-3); white-space: nowrap; }
.ab-cat.on .ab-cn { color: var(--gold-hi); }
.ab-dot { position: absolute; left: 18px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: transparent; pointer-events: none; }
.ab-cat.lit .ab-dot { background: #6dff9a; box-shadow: 0 0 0 1.5px rgba(4, 20, 10, 0.85), 0 0 7px #6dff9a; }
.ab-car { flex: none; width: 10px; height: 10px; margin-left: 2px; opacity: 0.7; transition: transform var(--t-fast); }
.ab-cat .ab-cn + .ab-dot + .ab-car { margin-left: 2px; }
.ab-cat .ab-cn:empty + .ab-dot + .ab-car { margin-left: auto; }
.ab-car svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ab-cat.on .ab-car { transform: rotate(180deg); opacity: 1; }
.ab-reset { flex: none; width: 28px; height: 28px; border-radius: 8px; font-size: 15px; line-height: 1; color: var(--text-3); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.ab-reset:hover { color: var(--text); border-color: var(--line-3); }

/* "Gemiye dön": harita kaydırılınca cephane çubuğunun üst ortasında çıkar */
#camBack {
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 14px; border-radius: 999px; font: 700 13px/1 var(--font-ui); color: #10202e; white-space: nowrap;
  background: linear-gradient(180deg, #ffe08a, #e8b54a); border: 1px solid rgba(255, 240, 200, 0.7); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 12px rgba(232, 181, 74, 0.35);
}
#camBack:hover { filter: brightness(1.08); }
#camBack kbd { height: 16px; min-width: 16px; padding: 0 4px; font-size: 10px; color: #10202e; border-color: rgba(16, 32, 46, 0.45); background: rgba(255, 255, 255, 0.35); }
#camBack.hidden { display: none; }

/* Kara Barut ve Zırh: yuvalar ile Saldır arasında tek tıkla aç/kapat */
#abTog { display: flex; gap: 5px; }
.ab-tog {
  position: relative; width: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 2px 5px;
  border-radius: var(--r-md); border: 1px solid var(--line); color: var(--text-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-med) var(--ease);
}
.ab-tog:hover { border-color: var(--line-3); background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); }
.ab-tog:active { transform: translateY(1px); }
.ab-tog:focus, .ab-tog:focus-visible { outline: none; }
.ab-tog kbd { position: absolute; top: 3px; left: 3px; height: 14px; min-width: 14px; padding: 0 3px; font-size: 9.5px; border-color: var(--line); }
.ab-tog .tg-ic { width: 28px; height: 28px; display: block; }
.ab-tog .tg-ic svg { width: 100%; height: 100%; display: block; }
.ab-tog em { font: 600 10.5px/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums; color: var(--text); }
.ab-tog .tg-st { font: 700 8.5px/1 var(--font-ui); letter-spacing: 0.5px; padding: 2px 5px; border-radius: 4px; color: var(--text-3); background: rgba(0, 0, 0, 0.28); }
.ab-tog.on { border-color: #6dff9a; background: linear-gradient(180deg, rgba(109, 255, 154, 0.2), rgba(109, 255, 154, 0.05)); box-shadow: 0 0 0 1px rgba(109, 255, 154, 0.3), 0 0 14px rgba(109, 255, 154, 0.25); }
.ab-tog.on kbd { color: #b9ffd0; border-color: rgba(109, 255, 154, 0.5); }
.ab-tog.on .tg-st { color: #062012; background: #6dff9a; }
.ab-tog.empty .tg-ic { filter: grayscale(1) brightness(0.7); opacity: 0.45; }
.ab-tog.empty em { color: var(--text-3); }

/* kategori menüsü (çubuğun üstünde açılır) */
#abPop { position: fixed; z-index: 30; width: max-content; max-width: min(460px, calc(100vw - 16px)); padding: 10px 10px 12px; border-radius: var(--r-lg); animation: abpop-in 140ms var(--ease); }
@keyframes abpop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.abp-head { display: flex; align-items: center; gap: 10px; padding: 0 2px 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.abp-head b { font: 700 13.5px/1 var(--font-ui); color: var(--gold-hi); }
.abp-head span { flex: 1; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abp-x { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: var(--text-2); }
.abp-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.abp-x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.abp-grid { display: grid; grid-template-columns: repeat(5, 78px); gap: 6px; }
.abp-it {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 92px; padding: 8px 4px 6px;
  border-radius: var(--r-md); border: 1px solid var(--line); touch-action: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: border-color var(--t-fast), background var(--t-fast), transform 80ms;
}
.abp-it:hover { border-color: var(--line-3); background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)); }
.abp-it:active { transform: translateY(1px); }
.abp-it.on { border-color: var(--gold); background: linear-gradient(180deg, rgba(232, 181, 74, 0.24), rgba(232, 181, 74, 0.06)); box-shadow: 0 0 0 1px rgba(232, 181, 74, 0.3); }
.abp-ic { width: 32px; height: 32px; flex: none; }
.abp-ic svg { width: 100%; height: 100%; display: block; }
.abp-it em { font: 700 12px/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums; color: var(--text); }
.abp-it.on em { color: var(--gold-hi); }
.abp-it small { font: 500 10px/1.2 var(--font-ui); color: var(--text-2); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.abp-it kbd { position: absolute; top: 3px; left: 3px; height: 14px; min-width: 14px; padding: 0 3px; font-size: 9.5px; border-color: var(--gold-line); color: var(--gold-hi); }
.abp-it.empty .abp-ic { filter: grayscale(1) brightness(0.75); opacity: 0.5; }
.abp-it.empty em { color: var(--text-3); }

/* sürükle-bırak */
.ab-ghost { position: fixed; left: 0; top: 0; z-index: 1000; width: 42px; height: 42px; padding: 5px; border-radius: 10px; pointer-events: none;
  background: rgba(12, 24, 40, 0.92); border: 1px solid var(--gold); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 14px rgba(232, 181, 74, 0.35); }
.ab-ghost svg { width: 100%; height: 100%; display: block; }
html.ab-drag, html.ab-drag * { cursor: grabbing !important; }
html.ab-drag #abSlots .slot { border-style: dashed; border-color: rgba(232, 197, 106, 0.45); }
html.ab-drag #abSlots .slot.drop { border-style: solid; border-color: var(--gold-hi); background: linear-gradient(180deg, rgba(232, 181, 74, 0.32), rgba(232, 181, 74, 0.1)); box-shadow: 0 0 16px rgba(232, 181, 74, 0.45); }
.slot.lift > span { opacity: 0.25; }
.slot.free > span { opacity: 0; }
.slot.free { border-style: dashed; background: rgba(255, 255, 255, 0.015); }
.slot.free::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; padding-top: 4px; font: 300 20px/1 var(--font-ui); color: rgba(232, 238, 246, 0.18); }
.slot { touch-action: none; }
.sep { width: 1px; height: 38px; margin: 0 4px; background: var(--line-2); }
.slot {
  position: relative; display: block; width: 48px; height: 48px; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-med) var(--ease);
}
.slot > span { position: absolute; top: 6px; left: 50%; width: 28px; height: 28px; transform: translateX(-50%); transition: filter var(--t-fast), opacity var(--t-fast); }
.slot kbd { position: absolute; top: 3px; left: 3px; z-index: 1; height: 14px; min-width: 14px; padding: 0 3px; font-size: 9.5px; border-color: var(--line); }
.slot em {
  position: absolute; left: 2px; right: 2px; bottom: 3px; text-align: center;
  font: 600 10.5px/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums;
  color: var(--text); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9); white-space: nowrap; overflow: hidden;
}
.slot:hover { border-color: var(--line-3); background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); }
.slot:active { transform: translateY(1px); }
.slot.on {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(232, 181, 74, 0.24), rgba(232, 181, 74, 0.06));
  box-shadow: 0 0 0 1px rgba(232, 181, 74, 0.35), 0 0 16px rgba(232, 181, 74, 0.28);
}
.slot.on em, .slot.on kbd { color: var(--gold-hi); }
.slot.on kbd { border-color: var(--gold-line); }
.slot.empty > span { filter: grayscale(1) brightness(0.7); opacity: 0.45; }
.slot.empty em { color: var(--text-3); }
.slot .cd {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border-radius: inherit;
  font: 700 15px/1 var(--font-ui); font-variant-numeric: tabular-nums; color: #fff;
  background: rgba(2, 7, 14, 0.72); text-shadow: 0 1px 3px #000;
}
.slot .cd.live { background: rgba(232, 181, 74, 0.2); color: var(--gold-hi); }
.attack {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 94px; padding: 4px 8px 10px; border-radius: var(--r-md); color: #fff; text-align: center;
  background: linear-gradient(180deg, #df563f, #a52f1e); border: 1px solid rgba(255, 160, 140, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 14px rgba(200, 60, 40, 0.22);
  transition: background var(--t-fast), box-shadow var(--t-med), transform 80ms;
}
.attack .ico { width: 24px; height: 24px; flex: none; }
.attack em { font: 700 14px/1 var(--font-ui); font-style: normal; letter-spacing: 0.3px; }
/* klavye tuşu görünümünde, düğmenin ortasında */
.attack kbd {
  height: 16px; min-width: 34px; padding: 0 6px; display: inline-grid; place-items: center;
  font: 700 9.5px/1 var(--font-ui); letter-spacing: 0.6px; text-transform: uppercase;
  color: #ffe6df; border: 1px solid rgba(255, 210, 200, 0.45); border-radius: 5px;
  background: linear-gradient(180deg, rgba(90, 16, 6, 0.55), rgba(50, 6, 2, 0.6)); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.12);
}
.attack:hover { background: linear-gradient(180deg, #ea6249, #b5351f); }
.attack:active { transform: translateY(1px); }
.attack.on {
  background: linear-gradient(180deg, #f0694d, #c13a21);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 2px rgba(255, 170, 150, 0.55), 0 0 22px rgba(240, 90, 60, 0.5);
  animation: attack-pulse 1.1s ease-in-out infinite;
}

/* sohbet (sol alt) */
#chat { position: fixed; left: var(--hud-gap); bottom: var(--above-ab); z-index: 5; width: 340px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.chat-tabs { display: flex; gap: 2px; }
.chat-tabs button {
  height: 26px; padding: 0 10px; border-radius: var(--r-sm);
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.chat-tabs button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.chat-tabs button.on { color: var(--text); background: rgba(255, 255, 255, 0.1); }
#chatLog {
  height: 136px; overflow-y: auto; padding: 6px 8px; border-radius: var(--r-md);
  background: rgba(2, 7, 14, 0.4); font-size: 13px; line-height: 1.45; user-select: text;
}
#chatLog div { margin: 0 0 2px; overflow-wrap: anywhere; }
#chatLog .n { font-weight: 600; color: var(--gold-hi); }
#chatLog .n.admin { color: #ff5a4a; font-weight: 700; }
/* 20 Kasım 2026: yönetici mesajları mavi, [Yönetici] etiketi; yöneticiye her mesajda sil düğmesi */
#chatLog .msg.admin { color: #ff8a7a; }
#chatLog .t.adm-tag { color: #ff5a4a; font-weight: 700; }
#chatLog .chat-del { float: right; margin-left: 6px; padding: 0 5px; line-height: 16px; border: 0; border-radius: 3px; background: rgba(200, 60, 60, .25); color: #ffb0a8; font-size: 12px; cursor: pointer; opacity: .55; }
#chatLog .chat-del:hover { opacity: 1; background: rgba(200, 60, 60, .55); }
#chatLog .t { font-weight: 600; color: var(--sea); }
#chatLog .sys { color: var(--text-2); font-style: italic; }
#chatLog .lootl { color: var(--gold-hi); }
#chatLog .lootl .tm { color: var(--text-3, #8a97a6); font-size: 0.9em; }
#lootTab { position: relative; }
#lootDot { position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 6px var(--gold-hi); }
#lootDot.hidden { display: none; }
#chatLog .klan .n { color: var(--teal); }
#chatIn { width: 100%; height: 32px; padding: 0 10px; font-size: 13px; user-select: text; }

/* yardım satırı */
#hint {
  position: fixed; left: 50%; bottom: calc(var(--above-ab) + 24px); transform: translateX(-50%); z-index: 4;
  font-size: 12px; color: rgba(232, 238, 246, 0.6); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  white-space: nowrap; pointer-events: none; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis;
}
/* alçak pencere: bildirimler daha yukarıda ve biraz küçük */
@media (max-height: 680px) {
  #toasts { top: calc(var(--hud-top) + 44px); gap: 4px; }
  .toast { padding: 6px 13px; font-size: 12.5px; }
  .toast.level { padding: 7px 15px; font-size: 13.5px; }
  #banner { top: 17%; }
}

/* ekran uzaklaştırma paneli (sol, durum çerçevesinin altında) */
#zoomPanel {
  position: fixed; left: var(--hud-gap); top: calc(var(--hud-top) + 120px); z-index: 6; width: 42px; padding: 5px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; border-radius: var(--r-lg);
}
#zoomPanel button {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--r-sm);
  font: 500 19px/1 var(--font-ui); color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
}
#zoomPanel button:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
#zoomPanel button.zreset { height: 26px; font-size: 15px; }
#zoomSlider { writing-mode: vertical-lr; direction: rtl; width: 16px; height: 96px; margin: 2px 0; accent-color: var(--gold); cursor: pointer; }

/* 29 Kasım 2026: Noel Baba kutusu sayacı (tek, küçük, yerinde güncellenir); 2 Aralık 2026: şeker kamışı sayacı (#cnPill) altında */
#xbPill, #cnPill {
  position: fixed; top: calc(var(--hud-top, 44px) + 50px); left: 50%; transform: translateX(-50%); z-index: 8; pointer-events: none;
  display: flex; align-items: center; gap: 6px; padding: 3px 11px 3px 4px; border-radius: 14px; white-space: nowrap;
  font-size: 12px; color: var(--gold-hi); background: rgba(8, 16, 28, 0.88); border: 1px solid rgba(232, 181, 74, 0.45); box-shadow: var(--sh-1);
  opacity: 0; transition: opacity 0.3s;
}
#xbPill.on, #cnPill.on { opacity: 1; }
#xbPill.pop, #cnPill.pop { animation: xb-pop 0.28s var(--ease); }
#xbPill .xb-ico, #cnPill .xb-ico { display: inline-flex; width: 20px; height: 20px; }
#xbPill .xb-ico svg, #cnPill .xb-ico svg { width: 100%; height: 100%; }
#xbPill b, #cnPill b { font-weight: 700; }
#cnPill { top: calc(var(--hud-top, 44px) + 120px); }
/* 2 Aralık 2026 (kullanıcı): Noel Baba savaşa girmeden önceki 30 sn geri sayımı */
#santaPre { position: fixed; top: calc(var(--hud-top, 44px) + 64px); left: 50%; transform: translateX(-50%); z-index: 60; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 16px; border-radius: 12px; white-space: nowrap;
  background: rgba(70, 10, 14, 0.9); border: 1px solid rgba(255, 140, 140, 0.6); box-shadow: var(--sh-1); color: #ffe3e3; opacity: 0; transition: opacity 0.3s; }
#santaPre.on { opacity: 1; }
#santaPre b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
#santaPre small { font-size: 11.5px; opacity: 0.85; }
#cnPill.full b { color: #ff8a7a; }

#xbPill small, #cnPill small { color: var(--text); opacity: 0.75; font-size: 11px; }
#cnPill small:empty { display: none; }
/* 5 Aralık 2026 (kullanıcı): günlük/saatlik hak dolu: büyük uyarı yerine sayaç kırmızı yazar */
#xbPill.full b { color: #ff8a7a; }
#cnPill.full small, #xbPill.full small { opacity: 0.9; }
@keyframes xb-pop { 0% { transform: translateX(-50%) scale(1); } 45% { transform: translateX(-50%) scale(1.14); } 100% { transform: translateX(-50%) scale(1); } }
/* bildirimler: pencere küçülünce de ekrana sığar; uzun yazı alt satıra geçer */
#toasts {
  position: fixed; top: calc(var(--hud-top) + 86px); left: 12px; right: 12px; z-index: 8;
  display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none;
}
.toast {
  max-width: min(680px, 100%); text-align: center; overflow-wrap: anywhere; text-wrap: balance;
  padding: 8px 16px; border-radius: 18px; font-size: 13.5px; font-weight: 600; color: var(--text);
  background: rgba(8, 16, 28, 0.92); border: 1px solid var(--line-2); box-shadow: var(--sh-1);
  animation: toast-in var(--t-med) var(--ease), toast-out 0.45s ease-in 3.45s forwards;
}
.toast.loot { color: var(--gold-hi); border-color: rgba(232, 181, 74, 0.4); }
.toast.warn { color: #ffc29c; border-color: rgba(255, 150, 90, 0.45); }
.toast.level {
  padding: 9px 20px; font-size: 15px; color: var(--gold-ink); border-color: transparent;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 26px rgba(232, 181, 74, 0.45);
}
#banner {
  position: fixed; top: 26%; left: 50%; transform: translateX(-50%); z-index: 8; pointer-events: none;
  width: max-content; max-width: calc(100vw - 32px); text-wrap: balance; overflow-wrap: anywhere;
  text-align: center; font: 400 clamp(26px, 4.6vw, 56px)/1.08 var(--font-display); color: var(--gold-hi);
  text-shadow: 0 3px 0 rgba(40, 24, 2, 0.8), 0 0 40px rgba(0, 0, 0, 0.75);
  animation: banner 3s var(--ease) forwards;
}
#banner small {
  display: block; margin-top: 10px; font: 600 clamp(12.5px, 1.5vw, 16px)/1.25 var(--font-ui); letter-spacing: 0.3px;
  color: var(--text); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}
#portalBar {
  position: fixed; left: 50%; bottom: calc(var(--above-ab) + 40px); transform: translateX(-50%); z-index: 6; width: 280px;
  padding: 10px 14px 12px; border-radius: var(--r-lg); text-align: center;
  background: var(--panel); border: 1px solid rgba(79, 216, 196, 0.4); box-shadow: var(--sh-2);
}
.pb-label { margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--teal-hi); }
#portalBar .bar { height: 6px; }
#portalBar .bar > i { background: linear-gradient(90deg, #2aa3c4, var(--teal-hi)); transition: none; }

/* ---------- 6. PENCERELER ---------- */
#windows { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.win {
  position: absolute; pointer-events: auto; display: flex; flex-direction: column;
  max-height: calc(100vh - 76px); border-radius: var(--r-xl);
  background: var(--panel-strong); box-shadow: var(--sh-3), var(--sheen);
  animation: win-in var(--t-med) var(--ease);
}
.win-head {
  flex: none; display: flex; align-items: center; gap: var(--s3); height: 56px; padding: 0 var(--s3) 0 var(--s5);
  border-bottom: 1px solid var(--line); cursor: move;
}
.win-head .ico { width: 22px; height: 22px; color: var(--gold); }
.win-head h3 {
  flex: 1; min-width: 0; margin: 0; font: 400 27px/1.1 var(--font-display); letter-spacing: 0.3px;
  color: var(--gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-close {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-md);
  color: var(--text-2); transition: background var(--t-fast), color var(--t-fast);
}
.win-close svg { width: 14px; height: 14px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.win-close:hover { color: #fff; background: rgba(229, 84, 63, 0.85); }
/* büyüt / eski boyut düğmesi */
.win-max {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-md);
  color: var(--text-3); transition: background var(--t-fast), color var(--t-fast);
}
.win-max svg { width: 15px; height: 15px; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.win-max:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.win.maxed { max-height: none; border-radius: var(--r-lg); }
/* kenar ve köşe tutamaçları: sürükleyince pencere büyür / küçülür */
.win-rs { position: absolute; z-index: 4; touch-action: none; }
.win-rs.rs-e { top: 56px; bottom: 16px; right: -5px; width: 10px; cursor: ew-resize; }
.win-rs.rs-w { top: 56px; bottom: 16px; left: -5px; width: 10px; cursor: ew-resize; }
.win-rs.rs-s { left: 16px; right: 18px; bottom: -5px; height: 10px; cursor: ns-resize; }
.win-rs.rs-sw { left: -4px; bottom: -4px; width: 16px; height: 16px; cursor: nesw-resize; }
.win-rs.rs-se { right: 1px; bottom: 1px; width: 18px; height: 18px; cursor: nwse-resize; color: var(--text-3); opacity: 0.7; transition: color var(--t-fast), opacity var(--t-fast); }
.win-rs.rs-se svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.win:hover .win-rs.rs-se { opacity: 1; }
.win-rs.rs-se:hover, .win.resizing .win-rs.rs-se { color: var(--gold-hi); }
.win.resizing { transition: none; user-select: none; }
.win.resizing .win-body { pointer-events: none; }
html.mobile .win-rs, html.mobile .win-max { display: none; }
.win-body { flex: 1; min-height: 0; display: flex; }
.win-side {
  flex: none; width: 186px; padding: var(--s3) var(--s2); overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(2, 7, 14, 0.24); border-right: 1px solid var(--line); border-bottom-left-radius: var(--r-xl);
}
.side-btn {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px;
  border-radius: var(--r-md); text-align: left; font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.side-btn .ico { width: 24px; height: 24px; opacity: 0.75; filter: saturate(0.6); transition: opacity var(--t-fast), filter var(--t-fast); }
.side-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.side-btn:hover .ico { opacity: 0.95; }
.side-btn.on { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.side-btn.on .ico { opacity: 1; filter: none; color: var(--gold-hi); }
.side-btn.on::before { content: ''; position: absolute; left: -8px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.win-main { flex: 1; min-width: 0; overflow-y: auto; overflow-x: auto; overscroll-behavior: contain; padding: 20px var(--s5) var(--s5); }

/* pencere içi yazı düzeni */
.win-main h4 { margin: 28px 0 var(--s3); font: 600 var(--fs-lg)/1.3 var(--font-ui); color: var(--text); letter-spacing: 0.1px; }
.win-main h4:first-child { margin-top: 0; }
.win-main p.note { max-width: 74ch; margin: 0 0 var(--s4); font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.win-main h4 + p.note { margin-top: -4px; }
.sub { font-size: 12.5px; color: var(--text-2); }
.link { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.link:hover { color: #fff; border-color: #fff; }
.ok { color: var(--green-hi); }
div.empty { padding: 36px 16px; text-align: center; color: var(--text-2); font-size: 14px; }

/* yatay sekmeler */
.tabs-row { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs-row button {
  position: relative; height: 38px; padding: 0 var(--s3); font-size: 13.5px; font-weight: 600; color: var(--text-2);
  transition: color var(--t-fast);
}
.tabs-row button:hover { color: var(--text); }
.tabs-row button.on { color: var(--text); }
.tabs-row button.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--gold); }

/* ---------- 7. PENCERE İÇERİKLERİ ---------- */

/* kart ızgarası */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s3); }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: var(--s2); padding: 14px;
  border-radius: var(--r-lg); background: var(--raise); border: 1px solid var(--line);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.card:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.055); }
.card.locked { opacity: 0.55; }
.card.owned::after, .card.active-ship::after {
  content: 'SAHİPSİN'; position: absolute; top: 22px; right: 22px; padding: 4px 8px; border-radius: var(--r-pill);
  font: 700 10px/1 var(--font-ui); letter-spacing: 0.6px; color: var(--green-hi);
  background: rgba(10, 30, 22, 0.85); border: 1px solid rgba(92, 207, 138, 0.5);
}
.card.active-ship::after { content: 'KULLANIMDA'; color: var(--gold-ink); background: var(--gold); border-color: transparent; }
.card-top { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.card-top > div:last-child { min-width: 0; }
.card-ico {
  width: 52px; height: 52px; flex: none; padding: 6px; border-radius: var(--r-md);
  background: radial-gradient(circle at 50% 35%, #1e3c5e, #0b1828 78%); border: 1px solid var(--line);
}
.card-ico.ship {
  width: 100%; height: 120px; padding: 8px 16px;
  background: radial-gradient(ellipse 85% 55% at 50% 100%, #1f5079, transparent), linear-gradient(180deg, #132a47, #0c1d33);
}
.card h5 { margin: 0; font: 600 15px/1.25 var(--font-ui); color: var(--text); }
.card .sub { margin-top: 2px; }
.card .desc { font-size: 13px; line-height: 1.45; color: var(--text-2); }
.stats {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: var(--s2);
  border-top: 1px solid var(--line); font-size: 13px;
}
.stats span, .statlist span { color: var(--text-2); }
.stats b, .statlist b { text-align: right; font-variant-numeric: tabular-nums; }
.price { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.price .ico { width: 16px; height: 16px; }
.prices { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.lvlreq { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--red-hi); }
.owned-n { font-size: 12.5px; color: var(--text-2); }
.owned-n b { color: var(--text); font-variant-numeric: tabular-nums; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s2); }
.buy-row .btn.gold { margin-left: auto; }
.qty { width: 96px; height: 30px; padding: 0 8px; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; user-select: text; }
.qty::-webkit-inner-spin-button, .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-quick { display: flex; gap: 2px; padding: 2px; border-radius: var(--r-sm); background: var(--well); border: 1px solid var(--line); }
.qty-quick button {
  height: 24px; padding: 0 7px; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--text-2); transition: background var(--t-fast), color var(--t-fast);
}
.qty-quick button:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }

/* elit gemiler */
h4.elite-h { color: var(--teal-hi); }
h5.ship-cls-h { margin: 16px 0 2px; font-size: 15px; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 4px; }   /* 29 Kasım 2026: Özel Elit Tersanesi sınıf başlıkları */
h5.ship-cls-h small { color: var(--text); opacity: .6; font-weight: 400; }
.card.elite .skp-btn { margin-top: 6px; }
.card.elite {
  border-color: rgba(79, 216, 196, 0.42);
  background: linear-gradient(180deg, rgba(79, 216, 196, 0.08), rgba(255, 255, 255, 0.02));
}
.card.elite:hover { border-color: rgba(79, 216, 196, 0.7); }
.card.elite h5 { color: var(--teal-hi); }
.card.elite .card-ico.ship { height: 150px; }
.ship-img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.55)); pointer-events: none; }

/* gemi ve donanım */
.hangar { display: grid; grid-template-columns: 300px 1fr; gap: var(--s5); align-items: start; }
.ship-show {
  padding: var(--s4); border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(ellipse 90% 45% at 50% 32%, #1f4c74, transparent), linear-gradient(180deg, #132a47, #0b1a2d);
}
.ship-show .card-ico.ship { height: 150px; padding: 0; background: none; border: 0; }
.ship-show h5 { margin: var(--s2) 0 2px; text-align: center; font: 400 28px/1.1 var(--font-display); color: var(--gold-hi); }
.ship-show .sub { text-align: center; }
.statlist { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: var(--s3); font-size: 13px; }
.ship-show .statlist { padding-top: var(--s3); border-top: 1px solid var(--line); }
.hangar .btn.big { margin-top: var(--s3); }
.slots-sec { margin-bottom: var(--s5); }
.slots-sec h6 { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 var(--s2); font: 600 15px/1.3 var(--font-ui); color: var(--text); }
.slots-sec h6 small { font-size: 12.5px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.slotbar { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: var(--s3); }
.slotbar i { width: 12px; height: 12px; border-radius: 3px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line-2); }
.slotbar i.f { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: none; }
.eqrow { display: flex; align-items: center; gap: var(--s3); padding: 6px 8px; border-radius: var(--r-md); transition: background var(--t-fast); }
.eqrow:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }
.eqrow:hover { background: rgba(255, 255, 255, 0.055); }
.eqrow .card-ico { width: 38px; height: 38px; padding: 3px; }
.eqrow .nm { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; }
.eqrow .nm small { display: block; font-size: 12px; font-weight: 400; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eqrow .cnt { width: 70px; text-align: center; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.eqrow .cnt b { color: var(--text); }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 6px; }
.inv {
  min-width: 0; display: flex; align-items: center; gap: var(--s2); padding: 6px 8px; border-radius: var(--r-md);
  background: var(--raise); border: 1px solid var(--line); font-size: 12px;
}
.inv > div:last-child { min-width: 0; }
.inv .card-ico { width: 32px; height: 32px; padding: 3px; }
.inv b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.inv .sub { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* görevler */
.quest {
  display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s4); padding: 14px var(--s4); margin-bottom: var(--s2);
  border-radius: var(--r-lg); background: var(--raise); border: 1px solid var(--line);
  transition: border-color var(--t-fast);
}
.quest:hover { border-color: var(--line-2); }
.quest.finished { opacity: 0.55; }
.quest h5 { display: flex; align-items: center; gap: var(--s2); margin: 0; font: 600 15px/1.3 var(--font-ui); color: var(--text); }
.quest .daily {
  padding: 3px 7px; border-radius: var(--r-pill); font: 700 10px/1 var(--font-ui); letter-spacing: 0.5px;
  color: #062a24; background: var(--teal);
}
.quest .acts { grid-row: 1 / span 5; grid-column: 2; min-width: 112px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; }
.quest .acts .sub, .quest .acts .lvlreq { align-self: center; text-align: center; }
.quest .bar.xp { height: 14px; margin: 2px 0; }
.quest .rewards { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; color: var(--text-2); }
.quest .rewards span { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--text); }
.quest .rewards .ico { width: 16px; height: 16px; }
.more-btn { margin-top: var(--s3); }

/* klan */
.clan-head {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s4); margin-bottom: var(--s2);
  border-radius: var(--r-lg); background: var(--raise); border: 1px solid var(--line);
}
.clan-head h4 { margin: 0 0 2px; font-size: 18px; }
.clan-head .desc { margin-top: 4px; font-size: 13px; color: var(--text-2); }
.clan-flag {
  width: 54px; height: 54px; flex: none; padding: 11px; border-radius: var(--r-md);
  color: var(--gold-hi); background: var(--gold-soft); border: 1px solid rgba(232, 181, 74, 0.28);
}
.clan-acts { margin-left: auto; display: flex; gap: 6px; }
.form-row { display: flex; gap: var(--s2); margin-bottom: var(--s2); }
.form-row input, .search { flex: 1; min-width: 0; user-select: text; }
.form-row input.tag-in { flex: 0 0 120px; }
.tag { color: var(--sea); }

/* listeler / tablolar */
table.list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.list th {
  height: 34px; padding: 0 var(--s3); text-align: left; font-size: 12px; font-weight: 600; color: var(--text-3);
  border-bottom: 1px solid var(--line-2);
}
table.list td { height: 42px; padding: 4px var(--s3); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.list tr:hover td { background: rgba(255, 255, 255, 0.03); }
table.list tr.me td { background: var(--gold-soft); }
table.list tr.me td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
table.list td.r { text-align: right; white-space: nowrap; }
table.list td.r .btn + .btn { margin-left: 6px; }
table.list .rank { width: 48px; font-weight: 700; color: var(--text-2); }
table.list tr.click { cursor: pointer; }
table.list td.cmd { width: 240px; white-space: nowrap; font: 600 12.5px/1.3 var(--font-mono); color: var(--gold-hi); }
.medal {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font-size: 12px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.medal.m1 { color: #2a1a02; background: linear-gradient(180deg, #ffe39a, #d79f35); }
.medal.m2 { color: #18202b; background: linear-gradient(180deg, #f1f5fa, #a5b3c3); }
.medal.m3 { color: #2a1406; background: linear-gradient(180deg, #f2bf93, #b77441); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #4a5868; vertical-align: 1px; }
.dot.on { background: var(--green); box-shadow: 0 0 6px var(--green); }

/* vudu kazanı */
.cauldron { display: grid; grid-template-columns: 300px 1fr; gap: var(--s5); }
.cauldron-art {
  position: relative; height: 270px; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 55% at 50% 82%, #1e5a33, #0b2014 55%, #060e0a);
}
.cauldron-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cauldron-art .bub {
  position: absolute; bottom: 110px; width: 12px; height: 12px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, #d9ffe4, #49d17a 60%, transparent 70%);
  animation: bubble 2.4s infinite ease-in;
}
.cauldron-art.boil .bub { animation-duration: 0.8s; }
.pieces { margin: var(--s4) 0; }
.pieces .bar.xp { height: 14px; margin-top: 6px; }
.mojo-row { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.mojo-row .ico { width: 24px; height: 24px; }
.mojo-row b { font-size: 18px; font-variant-numeric: tabular-nums; }
.throw-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.loot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; margin-top: var(--s2); }
.loot { padding: 8px 10px; border-radius: var(--r-md); font-size: 13px; background: rgba(92, 207, 138, 0.1); border: 1px solid rgba(92, 207, 138, 0.35); animation: pop-in var(--t-med) var(--ease); }
.loot b { color: var(--green-hi); }
.inv.elite-odds { border-color: rgba(79, 216, 196, 0.5); background: rgba(79, 216, 196, 0.07); }
.inv.elite-odds b { color: var(--teal-hi); }

/* deniz haritası: koyu deniz kartı */
.wm-scroll { max-height: 470px; overflow-y: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.worldmap {
  position: relative; width: 100%; height: 420px; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(130, 175, 225, 0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(130, 175, 225, 0.05) 0 1px, transparent 1px 64px),
    radial-gradient(ellipse 70% 40% at 35% 18%, rgba(40, 96, 150, 0.45), transparent),
    linear-gradient(180deg, #0f2741, #0a1b2f 55%, #081526);
}
.worldmap:not(.wm3) svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wm-node {
  position: absolute; width: 120px; transform: translate(-50%, -50%); text-align: center;
  color: var(--text); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(5, 12, 22, 0.9);
}
.wm-node .pin {
  width: 40px; height: 40px; margin: 0 auto 4px; display: grid; place-items: center; border-radius: 50%;
  font: 700 15px/1 var(--font-ui); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at 40% 30%, #4583bb, #173a5f);
  box-shadow: 0 0 0 2px rgba(8, 20, 34, 0.95), 0 0 0 3px rgba(150, 184, 222, 0.45), 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.wm-node:hover .pin { transform: scale(1.08); box-shadow: 0 0 0 2px rgba(8, 20, 34, 0.95), 0 0 0 3px rgba(200, 225, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.55); }
.wm-node.here .pin {
  color: var(--gold-ink); text-shadow: none; background: radial-gradient(circle at 40% 30%, #ffe7a8, #d49b30);
  box-shadow: 0 0 0 2px rgba(8, 20, 34, 0.95), 0 0 0 3px var(--gold-hi), 0 0 20px rgba(246, 210, 127, 0.6);
}
.wm-node.here b { color: var(--gold-hi); }
.wm-node.locked { opacity: 0.5; }
.wm-node.locked .pin { filter: grayscale(0.85); }
.wm-node b { display: block; font: 600 13px/1.15 var(--font-ui); }
.wm-node small { font-size: 11.5px; color: var(--text-2); }
.wm-node .cnt { font-size: 11px; font-weight: 600; color: var(--teal-hi); }
.wm-node.deep { width: 128px; }
.wm-node.deep .pin { width: 36px; height: 36px; font-size: 13px; }
.wm-node.deep b { font-size: 12.5px; line-height: 1.1; }
.wm-scroll + p.note { margin-top: var(--s3); }

/* inci ve premium */
.premium-hero {
  display: flex; align-items: center; gap: 20px; padding: 20px var(--s5); margin-bottom: var(--s2);
  border-radius: var(--r-lg); border: 1px solid rgba(205, 198, 255, 0.32);
  background: linear-gradient(110deg, rgba(205, 198, 255, 0.12), rgba(232, 181, 74, 0.07));
}
.premium-hero > .ico { width: 52px; height: 52px; color: var(--gold-hi); }
.premium-hero h4 { margin: 0 0 2px; font-size: 18px; }
.premium-hero .state { margin-top: 6px; }
.hero-buy { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s2); }
.pack { align-items: center; text-align: center; padding-top: 28px; }
.pack .card-ico { width: 64px; height: 64px; padding: 8px; border-radius: 50%; }
.pack .big { font: 700 26px/1.1 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--pearl); }
.pack .bonus { min-height: 18px; font-size: 12.5px; font-weight: 500; color: var(--teal-hi); }
.pack .btn { width: 100%; margin-top: auto; }
.ribbon {
  position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: var(--r-pill);
  font: 700 10px/1 var(--font-ui); letter-spacing: 0.6px; color: #062a24; background: var(--teal);
}

/* ayarlar */
.setting {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 48px; padding: 6px 2px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.setting input[type='range'] { width: 220px; accent-color: var(--gold); cursor: pointer; }
.setting select {
  min-width: 230px; padding: 0 34px 0 12px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239fb2c8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}
.setting select option { background: var(--navy-800); color: var(--text); }
.setting input[type='checkbox'] {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 40px; height: 22px; margin: 0;
  border-radius: var(--r-pill); background: rgba(150, 184, 222, 0.24); cursor: pointer;
  transition: background var(--t-med) var(--ease);
}
.setting input[type='checkbox']::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #dbe5f1; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); transition: transform var(--t-med) var(--ease);
}
.setting input[type='checkbox']:checked { background: var(--gold); }
.setting input[type='checkbox']:checked::before { transform: translateX(18px); background: #fff; }

/* ---------- 8. KATMANLAR: diyalog, ipucu, yükleme ---------- */
.modal {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: var(--s4);
  background: rgba(3, 7, 13, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade-in var(--t-med) ease-out;
}
.dialog { width: min(440px, 100%); padding: 32px 32px 28px; text-align: center; border-radius: var(--r-xl); background: var(--panel-strong); box-shadow: var(--sh-3), var(--sheen); animation: pop-in 0.28s var(--ease); }
.dialog h2 { margin: 0 0 var(--s2); font: 400 42px/1.05 var(--font-display); color: var(--gold-hi); }
.dialog p { margin: 0 0 var(--s5); font-size: 14.5px; line-height: 1.5; color: var(--text-2); }

#tooltip {
  position: fixed; z-index: 40; max-width: 280px; padding: 8px 11px; border-radius: var(--r-md); pointer-events: none;
  font-size: 12.5px; line-height: 1.45; color: var(--text-2);
  background: rgba(8, 16, 28, 0.97); border: 1px solid var(--line-2); box-shadow: var(--sh-2);
  animation: fade-in var(--t-fast) ease-out;
}
#tooltip b { display: block; margin-bottom: 2px; font-size: 13.5px; color: var(--text); }

#loading {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; align-content: center; gap: 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #0f2440, var(--abyss) 75%);
  font: 400 32px/1.2 var(--font-display); color: var(--gold-hi);
  transition: opacity 0.6s ease, visibility 0.6s;
}
#loading.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.ld-bar { position: relative; width: 160px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(150, 184, 222, 0.16); }
.ld-bar::after { content: ''; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: loading 1.3s ease-in-out infinite; }

/* ---------- 9. HAREKETLER ---------- */
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes win-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } }
@keyframes target-in { from { opacity: 0; transform: translate(-50%, -6px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes banner {
  0% { opacity: 0; transform: translateX(-50%) translateY(12px); }
  12% { opacity: 1; transform: translateX(-50%); }
  80% { opacity: 1; transform: translateX(-50%); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}
@keyframes attack-pulse {
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 2px rgba(255, 170, 150, 0.3), 0 0 10px rgba(240, 90, 60, 0.28); }
}
@keyframes bubble {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-120px) scale(1.4); opacity: 0; }
}
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- 10. EKRAN BOYUTLARI ---------- */
/* Geniş ekran (1700px+): sohbet ve mini harita cephane çubuğuyla aynı alt sırada */
@media (min-width: 1700px) {
  #chat { bottom: var(--hud-gap); width: 360px; }
  #minimap { bottom: var(--hud-gap); }
}
@media (max-width: 1365px) {
  #hint { display: none; }
}
@media (max-width: 1500px) {
  .brand { display: none; }   /* menü kalabalık: logo yer açar */
}
@media (max-height: 800px) {
  #chatLog { height: 112px; }
}
@media (max-width: 980px) {
  .mbtn { width: 52px; }
  .mbtn .lbl { display: none; }
  #tracker { display: none; }
  #chat { width: 280px; }
}

/* Hareket azaltma tercihi: geçişler anında, süs animasyonları kapalı */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
  .win, .dialog, .modal, #target, .toast, .buff, .loot, .mbtn .badge, .login-wrap, #tooltip, #banner,
  .attack.on, .cauldron-art .bub, .ld-bar::after { animation: none !important; }
}

/* ---------- Arayüz düzenleme modu (bilgisayar) ---------- */
/* 4 Aralık 2026 (kullanıcı): ekrandaki bütün parçalar taşınır ve büyütülüp küçültülür (ui.js startLayoutEdit).
   Parçalar translate / scale ile kayar; düzenlerken her parçanın üstünde bir kutu, görünmeyenler için hayalet kutu çıkar. */
body.hud-edit #windows { visibility: hidden; }
body.hud-edit #target.hidden { display: flex !important; opacity: 0.85; }
body.hud-edit #groupPanel.hidden { display: flex !important; min-height: 60px; }
.hp-kids { pointer-events: none !important; }
.hp-kids > * { pointer-events: auto; }
#hudEdit { position: fixed; inset: 0; z-index: 57; background: rgba(3, 9, 16, 0.3); touch-action: none; user-select: none; -webkit-user-select: none; }
#hudEdit [hidden] { display: none !important; }
#hudEdit .he-box { position: absolute; z-index: 1; box-sizing: border-box; border: 2px dashed rgba(246, 210, 127, 0.78); border-radius: 8px; background: rgba(246, 210, 127, 0.06); }
#hudEdit .he-box:hover { z-index: 2; border-color: var(--gold-hi); background: rgba(246, 210, 127, 0.15); }
#hudEdit .he-box > em { position: absolute; left: -2px; bottom: calc(100% + 3px); display: flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px;
  font: 600 11.5px/1.35 var(--font-ui); font-style: normal; white-space: nowrap; color: var(--gold-ink); background: var(--gold-hi);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55); pointer-events: none; }
#hudEdit .he-box > em b { font-weight: 700; font-variant-numeric: tabular-nums; padding-left: 6px; border-left: 1px solid rgba(36, 23, 3, 0.35); }
#hudEdit .he-box > em b:empty { display: none; }
#hudEdit .he-box.lab-in > em { bottom: auto; top: 3px; left: 3px; }
#hudEdit .he-box.kid:not(.ghost) > em { bottom: auto; top: calc(100% + 3px); }   /* iç parçanın adı altta: üst parçanın adıyla çakışmasın */
#hudEdit .he-box > small { display: none; }
/* hayalet: şu an görünmeyen parça (adı ve "şu an gizli" kutunun içinde) */
#hudEdit .he-box.ghost { z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; overflow: hidden;
  border-style: dotted; border-color: rgba(206, 220, 238, 0.6); background: rgba(8, 14, 24, 0.5); }
#hudEdit .he-box.ghost > em { position: static; max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; color: var(--text); background: rgba(44, 58, 78, 0.96); box-shadow: none; }
#hudEdit .he-box.ghost > small { display: block; pointer-events: none; font: 500 11px/1.2 var(--font-ui); color: var(--text-2); text-align: center; white-space: nowrap; }
#hudEdit .he-box.ghost.short > small { display: none; }
#hudEdit .he-box.ghost:hover { z-index: 2; border-color: var(--text); background: rgba(8, 14, 24, 0.62); }
#hudEdit .he-box.sel { z-index: 3; border: 2px solid var(--gold-hi); background: rgba(246, 210, 127, 0.14);
  box-shadow: 0 0 0 1px rgba(20, 12, 2, 0.9), 0 0 22px rgba(232, 181, 74, 0.5); }
#hudEdit .he-box.sel > em { color: var(--gold-ink); background: var(--gold-hi); }
#hudEdit .he-box.drag { border-style: solid; }
#hudEdit .he-guide { position: absolute; z-index: 4; pointer-events: none; background: rgba(120, 220, 255, 0.95); box-shadow: 0 0 4px rgba(120, 220, 255, 0.6); }
#hudEdit .he-guide.v { top: 0; bottom: 0; width: 1px; }
#hudEdit .he-guide.h { left: 0; right: 0; height: 1px; }
html:not(.mobile) #hudEdit .he-box, html:not(.mobile) #hudEdit .he-box * { cursor: grab !important; }
html:not(.mobile) #hudEdit.dragging, html:not(.mobile) #hudEdit.dragging * { cursor: grabbing !important; }
html:not(.mobile) #heBar .he-head, html:not(.mobile) #heBar .he-head * { cursor: move !important; }
#heBar { position: absolute; z-index: 5; box-sizing: border-box; width: min(540px, calc(100vw - 16px)); padding: 12px 16px 14px;
  display: flex; flex-direction: column; gap: 10px; color: var(--text); font: 500 13px/1.4 var(--font-ui);
  border-color: var(--gold-line); box-shadow: var(--sh-3), var(--sheen); }
#hudEdit.dragging #heBar { opacity: 0.25; pointer-events: none; }
#heBar .he-head { display: flex; align-items: center; gap: 10px; margin: -4px -6px 0; padding: 4px 6px; border-radius: 8px; touch-action: none; }
#heBar .he-head:hover { background: rgba(255, 255, 255, 0.04); }
#heBar .he-head b { font: 400 23px/1.1 var(--font-display); letter-spacing: 0.3px; color: var(--gold-hi); }
#heBar .he-grip { flex: none; display: inline-flex; width: 10px; height: 16px; color: var(--text-3); }
#heBar .he-grip svg { width: 100%; height: 100%; }
#heBar p { margin: 0; }
#heBar .he-hint { color: var(--text-2); font-size: 12.5px; }
#heBar .he-none { padding: 10px 12px; border-radius: 10px; color: var(--text-3); font-size: 12.5px; background: rgba(255, 255, 255, 0.03); border: 1px dashed var(--line-2); }
#heBar .he-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 10px;
  background: rgba(246, 210, 127, 0.06); border: 1px solid var(--gold-line); }
#heBar .he-name { flex: 1 1 100%; font-size: 14.5px; color: var(--gold-hi); }
#heBar .he-size { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
#heBar .he-lbl { margin-right: 2px; font-size: 12px; color: var(--text-2); }
#heBar .he-step { flex: none; width: 28px; padding: 0; font-size: 17px; line-height: 1; }
#heBar .he-range { --p: 33.3%; flex: 1; min-width: 80px; height: 22px; margin: 0; border: 0; background: transparent; -webkit-appearance: none; appearance: none; }
#heBar .he-pct { flex: none; min-width: 44px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
#heBar .he-acts { display: flex; align-items: center; gap: 8px; padding-top: 2px; }
#heBar .he-sp { flex: 1; }
#heBar .btn:disabled { opacity: 0.45; pointer-events: none; }

/* Saldır düğmesindeki top bekleme çubukları */
#btnAttack { position: relative; }
#btnAttack .cdbars { position: absolute; left: 10px; right: 10px; bottom: 5px; display: flex; gap: 3px; pointer-events: none; }
#btnAttack .cdbars i { flex: 1; }
#btnAttack .cdbars i { display: block; height: 3px; border-radius: 2px; background: rgba(0, 0, 0, 0.35); overflow: hidden; }
#btnAttack .cdbars i b { display: block; height: 100%; background: linear-gradient(90deg, #ffe08a, #ffb648); transform-origin: left center; transition: transform 0.08s linear; }

/* Kazandan çıkan gemi rozeti */
.badge.free { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600;
  color: #0e2a1c; background: linear-gradient(90deg, #8cf0b4, #5ad08c); }
/* Girdap kartları */
.vortex-list { display: grid; gap: 10px; margin-top: 8px; }
.vortex { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.vortex.locked { opacity: 0.55; }
.vortex h5 { margin: 0; font-size: 15px; color: #f1dca0; }
.vortex .sub { grid-column: 1 / 2; }
.vortex .btn { grid-row: 1 / span 3; grid-column: 2; }

/* FPS / ping göstergesi */
#perfHud { position: fixed; right: 10px; bottom: 6px; z-index: 30; font: 600 11px/1 system-ui, sans-serif; color: #9fe0b0;
  background: rgba(8, 16, 24, .55); padding: 4px 7px; border-radius: 6px; pointer-events: auto; letter-spacing: .02em; }
#perfHud.mid { color: #f2d27a; }
#perfHud.bad { color: #ff8a7a; }

/* bağlantı kısa süre koptuğunda üstte çıkan şerit (oyun ekranı açık kalır) */
#relink {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 35; pointer-events: none; max-width: calc(100vw - 24px);
  display: flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  font: 600 13px/1 system-ui, sans-serif; color: var(--gold-hi); letter-spacing: .01em;
  background: rgba(8, 16, 28, 0.9); border: 1px solid rgba(232, 181, 74, 0.45); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  animation: fade-in var(--t-med) ease-out;
}
.relink-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: relink-pulse 1s ease-in-out infinite; }
@keyframes relink-pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---- grup paneli (sol, yakınlaştırma panelinin yanında) ---- */
#groupPanel {
  position: fixed; left: calc(var(--hud-gap) + 52px); top: calc(var(--hud-top) + 120px); z-index: 5; width: 232px;
  padding: 8px 9px 9px; display: flex; flex-direction: column; gap: 6px;
}
.gp-head { display: flex; align-items: center; gap: 6px; height: 22px; }
.gp-bonus { color: #7fe39a; font-weight: 700; font-size: 11px; }
.gp-title { font-size: 13px; font-weight: 700; color: var(--green-hi); letter-spacing: .3px; }
.gp-count { font-size: 11px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.gp-acts { margin-left: auto; display: flex; gap: 3px; }
.gp-acts button, .gp-tools button {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--r-xs);
  font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, 0.05);
  transition: background var(--t-fast), color var(--t-fast);
}
.gp-acts button:hover, .gp-tools button:hover { color: var(--text); background: rgba(255, 255, 255, 0.13); }
.gp-list { display: flex; flex-direction: column; gap: 5px; }
.gp-row {
  padding: 6px 7px 7px; border-radius: var(--r-md); background: rgba(2, 7, 14, 0.35);
  border: 1px solid rgba(92, 207, 138, 0.16); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast);
}
.gp-row:hover { border-color: rgba(92, 207, 138, 0.45); background: rgba(92, 207, 138, 0.07); }
.gp-row.self { border-color: rgba(232, 181, 74, 0.28); cursor: default; }
.gp-row.off { opacity: .55; }
.gp-row.dead .bar > i { opacity: .25; }
.gp-top { display: flex; align-items: center; gap: 5px; height: 20px; margin-bottom: 4px; font-size: 12.5px; }
.gp-crown { color: var(--gold-hi); font-size: 12px; }
.gp-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-row.self .gp-name { color: var(--gold-hi); }
.gp-lvl { font-size: 10.5px; color: var(--text-2); flex: none; }
.gp-tools { margin-left: auto; display: none; gap: 3px; }
.gp-row:hover .gp-tools { display: flex; }
.gp-row .bar.hp { height: 10px; }
.gp-row .bar > span { font-size: 9px; }
.gp-sub { margin-top: 4px; font-size: 10.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* grup davetleri (üst orta) */
#invites { position: fixed; left: 50%; top: calc(var(--hud-top) + 92px); transform: translateX(-50%); z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.invite { width: 330px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; border-color: rgba(92, 207, 138, 0.45); animation: pop-in var(--t-med) var(--ease); }
.inv-text { font-size: 13.5px; color: var(--text); }
.inv-text b { color: var(--green-hi); }
.inv-btns { display: flex; gap: 8px; justify-content: flex-end; }
/* 26 Kasım 2026: kampanya kartı (sol üst, kapatılabilir) */
#promoCard { position: fixed; left: var(--hud-gap); top: calc(var(--hud-top) + 60px); z-index: 7; width: 352px; display: flex; gap: 12px; align-items: center;
  padding: 12px 14px 12px 12px; border-radius: 14px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgba(126, 214, 255, 0.22), transparent 55%), linear-gradient(160deg, #10243d 0%, #0a1526 60%, #140e24 100%);
  border: 2px solid #e8c25e; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 26px rgba(232, 194, 94, 0.35), inset 0 0 18px rgba(232, 194, 94, 0.12);
  animation: pop-in var(--t-slow) var(--ease), promo-glow 2.6s ease-in-out infinite 0.6s; }
@keyframes promo-glow { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 40px rgba(232, 194, 94, 0.6), inset 0 0 22px rgba(232, 194, 94, 0.2); } }
#promoCard .pc-ico { flex: none; width: 76px; height: 76px; display: grid; place-items: center; filter: drop-shadow(0 0 12px rgba(255, 214, 120, 0.45)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
#promoCard .pc-ico img, #promoCard .pc-ico svg { width: 100%; height: 100%; object-fit: contain; }
#promoCard .pc-txt { min-width: 0; flex: 1; }
#promoCard .pc-tag { display: inline-block; font: 700 10px/1 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: #1b1203; background: #e8c25e; padding: 3px 7px; border-radius: 99px; }
#promoCard .pc-title { margin-top: 6px; font: 700 15px/1.15 var(--font-ui); color: #e9f2ff; }
#promoCard .pc-big { white-space: nowrap; font: 800 20px/1.1 var(--font-ui); color: #ffd86a; text-shadow: 0 0 14px rgba(255, 210, 90, 0.55), 0 2px 0 rgba(0, 0, 0, 0.6); }
#promoCard .pc-sub { margin-top: 3px; font-size: 11.5px; color: #b9c7da; }
#promoCard .pc-foot { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
#promoCard .pc-time { font-size: 11.5px; color: #c9d4e3; }
#promoCard .pc-time b { color: #fff; }
#promoCard .pc-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #d9e2ee;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.18); cursor: pointer; }
#promoCard .pc-x:hover { color: #fff; background: rgba(0, 0, 0, 0.6); }
#promoCard .pc-x svg { width: 11px; height: 11px; }
html.has-promo #zoomPanel { top: calc(var(--hud-top) + 250px); }
html.has-promo #tutBox { top: calc(var(--hud-top) + 242px); }
html.mobile #promoCard { width: 250px; top: calc(var(--hud-top) + 52px); left: max(var(--hud-gap), env(safe-area-inset-left)); padding: 9px 10px; gap: 9px; }
html.mobile #promoCard .pc-ico { width: 52px; height: 52px; }
html.mobile #promoCard .pc-title { font-size: 12.5px; }
html.mobile #promoCard .pc-big { font-size: 16px; }
html.mobile #promoCard .pc-sub { display: none; }
html.mobile.has-promo #tutBox { top: calc(var(--hud-top) + 190px); }
/* küçültülmüş kampanya simgesi (parlar) */
.buff.promo { padding: 0; border: 1.5px solid #e8c25e; background: radial-gradient(circle, rgba(255, 216, 106, 0.35), rgba(20, 14, 4, 0.85) 70%); overflow: hidden;
  animation: pop-in var(--t-med) var(--ease), promo-pulse 1.6s ease-in-out infinite; }
.buff.promo img { width: 100%; height: 100%; object-fit: cover; }
#promoMini { position: fixed; left: max(var(--hud-gap), env(safe-area-inset-left)); top: calc(var(--hud-top) + 52px); z-index: 7; width: 46px; height: 46px; padding: 0;
  border-radius: 10px; border: 2px solid #e8c25e; background: radial-gradient(circle, rgba(255, 216, 106, 0.35), rgba(20, 14, 4, 0.9) 70%); overflow: hidden; cursor: pointer;
  animation: pop-in var(--t-med) var(--ease), promo-pulse 1.6s ease-in-out infinite; }
#promoMini img { width: 100%; height: 100%; object-fit: cover; }
@keyframes promo-pulse { 0%, 100% { box-shadow: 0 0 6px rgba(255, 210, 90, 0.45); } 50% { box-shadow: 0 0 18px 4px rgba(255, 210, 90, 0.95); } }
.premium-hero.promo { border-color: #e8c25e; box-shadow: 0 0 18px rgba(232, 194, 94, 0.35); }
.pk-bonus { margin: 2px 0 4px; font-weight: 800; color: #ffd86a; text-shadow: 0 0 10px rgba(255, 210, 90, 0.45); }
/* 26 Kasım 2026: yazı içi altın çizgi simgeler (emoji yerine) */
.uic { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -0.22em; margin-right: 0.3em; color: #f0c766; flex: none;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.65)) drop-shadow(0 0 4px rgba(240, 199, 102, 0.25)); }
.uic svg { width: 100%; height: 100%; }
.trk-tg .uic { width: 1.05em; height: 1.05em; color: #e6c47a; }
.trk-tg.here .uic { color: #7ee2a0; }
.inv-sub { margin-top: 4px; font-size: 12px; color: var(--muted, #9fb0c4); }
.inv-sub b { color: var(--text); }

#tgInvite { align-self: flex-start; margin-top: 2px; }
#chatLog .grup .t, #chatLog .grup .n { color: #8dffb0; }
#chatLog .grup.sys { font-style: italic; color: var(--green-hi); }
#gpInv { width: 100%; height: 28px; padding: 0 8px; font-size: 12px; user-select: text; }

/* mini harita bakış modu */
#lookHint {
  position: fixed; left: 50%; top: calc(var(--hud-top) + 8px); transform: translateX(-50%); z-index: 21;
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; color: var(--text);
  background: rgba(8, 20, 34, 0.82); border: 1px solid rgba(110, 190, 255, 0.45); box-shadow: var(--sh-1);
  pointer-events: none; white-space: nowrap;
}
#lookHint b { color: #8fd0ff; }
#lookHint kbd { font: 600 11px/1 var(--font-ui); padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.1); }
#mm { cursor: pointer; }

/* görev hedefinin yeri */
.quest .qwhere { font-size: 12px; color: var(--text-2); }
.quest .qwhere b { color: var(--text); font-weight: 600; }
.quest .qwhere.here { color: var(--green-hi); }

/* satış */
.eqrow .btn.sell { color: #ffcf8a; border-color: rgba(232, 181, 74, 0.35); }
.sell-dlg { width: 380px; display: flex; flex-direction: column; gap: 14px; }
.sell-dlg h2 { margin: 0; font-size: 30px; }
.sell-dlg p { margin: 0; font-size: 14px; }
.sell-dlg p b { color: var(--gold-hi); }
.sell-dlg small { color: var(--text-2); }
.sell-qty { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13px; }
.sell-qty input { width: 70px; height: 28px; text-align: center; }
.sell-btns { display: flex; justify-content: center; gap: 8px; }

/* ---- arkadaşlar ve özel sohbet ---- */
.win-main:has(.friends) { padding: 0; overflow: hidden; }
.friends { display: grid; grid-template-columns: 320px 1fr; height: 100%; min-height: 0; }
.fr-list { overflow-y: auto; padding: 16px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fr-list h6 { margin: 14px 2px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-2); }
.fr-add { display: flex; gap: 6px; }
.fr-add input { flex: 1; min-width: 0; height: 30px; padding: 0 10px; font-size: 13px; user-select: text; }
.fr-none { padding: 2px 4px 6px; font-size: 12px; }
.fr-req { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: var(--r-md); background: rgba(92, 207, 138, 0.07); border: 1px solid rgba(92, 207, 138, 0.25); }
.fr-req.out { background: rgba(255, 255, 255, 0.03); border-color: var(--line); }
.fr-req .nm { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-req small, .fr-row small { font-weight: 500; color: var(--text-2); }
.fr-row { position: relative; display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: var(--r-md); cursor: pointer; border: 1px solid transparent; transition: background var(--t-fast); }
.fr-row:hover { background: rgba(255, 255, 255, 0.05); }
.fr-row.sel { background: rgba(232, 181, 74, 0.1); border-color: rgba(232, 181, 74, 0.3); }
.fr-row:not(.on) { opacity: .72; }
.dot { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #5b6675; box-shadow: 0 0 0 2px rgba(0,0,0,.35); margin-right: 6px; vertical-align: 1px; }
.fr-row .dot { margin-right: 0; }
.fr-row.on .dot, .dot.on { background: #4fe08a; box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 8px rgba(79, 224, 138, .7); }
.fr-txt { flex: 1; min-width: 0; }
.fr-txt .nm { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-txt .tag { color: var(--sea); }
.fr-txt .sub { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-unread { min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; font: 700 10.5px/1 var(--font-ui); color: #fff; background: var(--red); }
.fr-tools { display: none; gap: 3px; }
.fr-row:hover .fr-tools { display: flex; }
.fr-tools button { width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--r-xs); font-size: 13px; color: var(--text-2); background: rgba(255,255,255,.06); }
.fr-tools button:hover { color: var(--text); background: rgba(255,255,255,.14); }
.fr-chat { display: flex; flex-direction: column; min-height: 0; padding: 14px 16px; gap: 10px; }
.fr-chat > .empty { margin: auto; }
.fr-head { display: flex; align-items: center; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fr-head .sub { font-size: 12.5px; }
.fr-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; user-select: text; }
.fr-day { align-self: center; margin: 8px 0 2px; padding: 2px 10px; border-radius: 999px; font-size: 11px; color: var(--text-2); background: rgba(255,255,255,.05); }
.fr-msg { align-self: flex-start; max-width: 75%; display: flex; flex-direction: column; gap: 2px; }
.fr-msg .bub { padding: 7px 11px; border-radius: 14px 14px 14px 4px; font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.fr-msg small { font-size: 10.5px; color: var(--text-2); padding: 0 4px; }
.fr-msg.mine { align-self: flex-end; align-items: flex-end; }
.fr-msg.mine .bub { border-radius: 14px 14px 4px 14px; background: rgba(232, 181, 74, 0.16); border-color: rgba(232, 181, 74, 0.35); }
.fr-send { display: flex; gap: 8px; }
.fr-send input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; font-size: 13.5px; user-select: text; }

/* ---- yönetici: oyuncu listesi ---- */
.ap-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ap-bar input { width: 220px; height: 30px; padding: 0 10px; font-size: 13px; user-select: text; }
.ap-bar .sub { flex: 1; }
.ap-table th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--text-2); padding: 4px 8px; }
.ap-table td { padding: 6px 8px; font-size: 13px; white-space: nowrap; }
.ap-table .tag { color: var(--sea); font-weight: 600; }
.ap-badge { margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.ap-badge.adm { color: #d4b4ff; background: rgba(170, 120, 255, .15); }
.ap-badge.prem { color: var(--gold-hi); background: var(--gold-soft); }
.ap-badge.ban { color: #ff9a85; background: rgba(229, 84, 63, .18); }

/* yönetici: sağ tık menüsü */
.ctx-menu { position: fixed; z-index: 60; min-width: 210px; padding: 6px; display: flex; flex-direction: column; gap: 2px; border-radius: var(--r-md); background: var(--panel-strong); box-shadow: var(--sh-3); animation: pop-in var(--t-fast) var(--ease); }
.ctx-head { padding: 6px 8px 8px; margin-bottom: 2px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.ctx-head small { color: var(--text-2); font-weight: 500; }
.ctx-menu button { text-align: left; padding: 7px 10px; border-radius: var(--r-sm); font-size: 13px; color: var(--text); }
.ctx-menu button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.09); }
.ctx-menu button:disabled { opacity: .38; cursor: default; }
.ask-skip { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; font-size: 13px; color: var(--muted, #b9a57e); cursor: pointer; }   /* 1 Aralık 2026: Bir daha sorma */
.ask-skip input { width: 18px; height: 18px; flex: none; }
.amt-menu { min-width: 170px; }   /* 1 Aralık 2026: Kutu Aç / Şişe At miktar menüsü */
.amt-menu button { font-size: 14px; font-weight: 600; padding: 9px 12px; }
.amt-menu button small { font-weight: 400; color: var(--muted, #b9a57e); }
.ctx-note { padding: 4px 10px 2px; font-size: 11px; color: var(--text-2); }
/* yönetici: amiraller */
.boss-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 4px 0 14px; }
.boss-bar .seg, .give-bar .seg { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-md); background: var(--well); border: 1px solid var(--line); }
.boss-bar .seg button, .give-bar .seg button { padding: 5px 10px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.boss-bar .seg button:hover, .give-bar .seg button:hover { color: var(--text); }
.boss-bar .seg button.on, .give-bar .seg button.on { color: var(--gold-hi); background: rgba(255,255,255,.1); }
.boss-bar label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.boss-bar select { height: 28px; }
.boss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 8px; }
.boss-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(229, 84, 63, 0.06); border: 1px solid rgba(229, 84, 63, 0.22); }
.boss-card .card-ico { width: 64px; height: 44px; flex: none; }
.bc-txt { flex: 1; min-width: 0; }
.bc-txt b { display: block; font-size: 14px; color: #ffb3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-txt .sub { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* amiral ganimet sandığı (hedef çerçevesinin sağında) */
#tgLoot { position: absolute; right: -54px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--panel-strong); border: 1px solid var(--line-2); box-shadow: var(--sh-1); cursor: help; }
#tgLoot .chest { width: 34px; height: 34px; }
#tgLoot.rare { border-color: rgba(255, 90, 140, .65); animation: loot-glow 2.2s ease-in-out infinite; }
@keyframes loot-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 70, 130, .0), var(--sh-1); } 50% { box-shadow: 0 0 16px 2px rgba(255, 70, 130, .55), var(--sh-1); } }
.loot-pop { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 330px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--panel-strong); border: 1px solid var(--line-2); box-shadow: var(--sh-3); z-index: 30; cursor: default; }
#tgLoot:hover .loot-pop { display: block; }
.loot-pop h6 { margin: 0 0 8px; font-size: 13.5px; color: var(--gold-hi); }
.loot-pop h6 small { color: var(--text-2); font-weight: 500; }
.lp-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: var(--r-sm); }
.lp-row.rare { background: rgba(255, 70, 130, .08); border: 1px solid rgba(255, 90, 140, .35); }
.lp-ico { flex: none; width: 34px; height: 34px; }
.lp-row > div { flex: 1; min-width: 0; }
.lp-row b { display: block; font-size: 13px; }
.lp-row.rare b { color: #ff9cbc; }
.lp-row small { display: block; font-size: 11px; color: var(--text-2); line-height: 1.35; }
.lp-row em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--gold-hi); }
.lp-row.rare em { color: #ff7aa6; font-size: 15px; }
.lp-note { margin-top: 6px; font-size: 11px; color: var(--text-2); line-height: 1.4; }
.wm-node.admin:not(.here) { cursor: pointer; }
.wm-node.admin:not(.here):hover .pin { outline: 2px solid var(--gold); outline-offset: 2px; }

/* gemi penceresi: tümünü çıkar */
.slots-sec h6 .unall { margin-left: auto; height: 24px; padding: 0 8px; font-size: 11.5px; }
.slots-sec h6 { display: flex; align-items: center; gap: 8px; }
/* ganimet sandığı: kristal satırı */
.lp-row.crys { background: rgba(95, 210, 239, .07); border: 1px solid rgba(95, 210, 239, .3); }
.lp-row.crys b { color: #9be8ff; }
#tgLoot.boss:not(.rare) { border-color: rgba(95, 210, 239, .55); }
/* ---- yetenek ağacı ---- */
.sk-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.sk-top .note { margin: 0; flex: 1; }
.sk-cr { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-lg); background: rgba(95, 210, 239, .08); border: 1px solid rgba(95, 210, 239, .35); }
.sk-cr .ico { width: 40px; height: 40px; }
.sk-cr b { display: block; font-size: 22px; color: #bdf2ff; font-variant-numeric: tabular-nums; }
.sk-cr small { color: var(--text-2); font-size: 11.5px; }
.sk-tree { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sk-reset { flex: none; }
.sk-branch { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.sk-branch.max { border-color: rgba(232, 181, 74, .5); background: rgba(232, 181, 74, .06); }
.sk-head { display: flex; align-items: center; gap: 10px; }
.sk-ico { width: 44px; height: 44px; flex: none; padding: 6px; border-radius: var(--r-md); color: var(--gold-hi); background: var(--well); border: 1px solid var(--line-2); }
.sk-head h5 { margin: 0; font-size: 15px; }
.sk-nodes { position: relative; display: flex; flex-direction: column; gap: 4px; padding-left: 4px; }   /* 8 Kasım 2026: 10 seviye sığsın */
.sk-nodes::before { content: ''; position: absolute; left: 18px; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); }
.sk-node { position: relative; display: flex; align-items: center; gap: 10px; opacity: .55; }
.sk-node span { width: 29px; height: 29px; flex: none; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 12.5px;
  color: var(--text-2); background: var(--navy-900, #0b1726); border: 2px solid var(--line-2); z-index: 1; }
.sk-node small { font-size: 12.5px; color: var(--text-2); }
.sk-node.on { opacity: 1; }
.sk-node.on span { color: #062030; background: radial-gradient(circle at 40% 35%, #c8f6ff, #3cb6dc); border-color: #9be8ff; box-shadow: 0 0 12px rgba(95, 210, 239, .55); }
.sk-node.on small { color: var(--text); font-weight: 600; }
.sk-node.next { opacity: 1; }
.sk-node.next span { border-color: var(--gold); color: var(--gold-hi); border-style: dashed; }
.sk-now { font-size: 12.5px; color: var(--text-2); }
.sk-now b { color: var(--text); }
.sk-branch .btn.gold .ico { width: 18px; height: 18px; }
.sk-done { text-align: center; padding: 8px; font-weight: 700; font-size: 13px; color: var(--gold-hi); }

.tl-price { font-size: 13px; color: var(--text-2); }
.tl-price b { font-size: 22px; color: var(--gold-hi); }
#premDlg .dialog p { margin: 0 0 12px; }
.hero-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 6px; }
.premium-hero + .premium-hero { margin-top: 14px; }
.premium-hero .crow-ico { width: 52px; height: 52px; flex: none; color: var(--gold-hi); }
.eqrow small.bound { display: block; color: #ffb08a; }

/* koordinat çubuğu (mini haritanın üstünde) */
#coordBar { display: flex; gap: 6px; margin-bottom: 8px; }
#coordIn { flex: 1; min-width: 0; height: 28px; padding: 0 9px; font-size: 12.5px; user-select: text; }
#coordGo { height: 28px; }
#coordBar.locked #coordGo::before { content: '🔒 '; }
#coordBar.locked #coordIn { opacity: .75; }
#chatLog .sys.boss { color: #ffb08a; font-style: normal; font-weight: 600; }
#chatLog a.coord { color: var(--gold-hi); font-weight: 700; text-decoration: none; margin-left: 4px; }
/* amiral hasar listesi (hedef çerçevesinin altında) */
#tgDmg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); padding: 8px 10px; border-radius: var(--r-md);
  background: var(--panel-strong); border: 1px solid var(--line); box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 4px; }
#tgDmg h6 { margin: 0 0 2px; font-size: 11.5px; color: var(--text-2); font-weight: 600; letter-spacing: .3px; }
.dm-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.dm-row .nm { width: 96px; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-row .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.dm-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, #e5543f, #ffb347); }
.dm-row b { width: 46px; text-align: right; font-variant-numeric: tabular-nums; }
.dm-row.me .nm { color: var(--gold-hi); font-weight: 700; }

/* menü kalabalıklaştı: düğmeler biraz daraldı */
.mbtn { width: 56px; }
/* uzmanlar ve karga */
.card.spec { display: flex; flex-direction: column; gap: 10px; }
.spec-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec-tier { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; padding: 8px 10px; border-radius: var(--r-md); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.spec-tier.owned { border-color: rgba(92, 207, 138, .5); background: rgba(92, 207, 138, .07); }
.spec-tier b { font-size: 12.5px; }
.crow-card { max-width: 560px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.crow-ico { color: #c9c3ff; padding: 6px; }
.crow-card .bar.xp { width: 100%; height: 14px; }
/* seyir defteri */
.lb-bar { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.lb-list { display: flex; flex-direction: column; gap: 2px; }
.lb-day { margin: 10px 0 4px; font-size: 11.5px; font-weight: 700; color: var(--text-2); letter-spacing: .4px; }
.lb-row { display: flex; align-items: baseline; gap: 10px; padding: 5px 8px; border-radius: var(--r-sm); font-size: 13px; }
.lb-row:nth-child(odd) { background: rgba(255,255,255,.025); }
.lb-ico { width: 16px; text-align: center; }
.lb-time { width: 42px; flex: none; color: var(--text-3, #7f8ea3); font-variant-numeric: tabular-nums; font-size: 12px; }
.lb-txt { flex: 1; }
.lb-row.pearl .lb-ico { color: #d9d4ff; } .lb-row.npc .lb-ico { color: var(--sea); } .lb-row.pvp .lb-ico { color: #ff9a85; }
.lb-row.sunk .lb-ico, .lb-row.sunk .lb-txt { color: #ff8a7a; } .lb-row.reward .lb-ico { color: var(--gold-hi); }

/* müzayede */
.auc-timer { margin: 4px 0 14px; font-size: 14px; color: var(--text-2); }
.auc-timer b { color: var(--gold-hi); font-size: 18px; font-variant-numeric: tabular-nums; }
.card.auc { display: flex; flex-direction: column; gap: 10px; }
.card.auc.mine { border-color: rgba(92, 207, 138, .55); }
.auc-bid { font-size: 13px; } .auc-bid b { color: var(--gold-hi); }
.auc-row { display: flex; gap: 8px; } .auc-row input { flex: 1; min-width: 0; height: 30px; padding: 0 10px; user-select: text; }

/* klan gücü, ittifak, adalar */
.clan-power { display: flex; gap: 16px; align-items: center; padding: 14px; margin: 6px 0 12px; border-radius: var(--r-lg); background: rgba(232,181,74,.06); border: 1px solid rgba(232,181,74,.3); }
.cp-lv { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
.cp-lv b { font-size: 34px; color: var(--gold-hi); line-height: 1.1; }
.cp-lv small { font-size: 11px; color: var(--text-2); }
.cp-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cp-main .bar.xp { height: 10px; }
.cp-buffs { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-buffs span { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--green-hi); background: rgba(92,207,138,.12); }
.ally-row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 13.5px; }
.ally-row .btn { margin-left: auto; }
.card.isl { display: flex; flex-direction: column; gap: 8px; }
.card.isl.mine { border-color: rgba(232,181,74,.55); }
.card.isl.ally { border-color: rgba(79,216,196,.45); }
.isl-up { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.isl-up small { color: var(--text-2); }

/* ada üssü */
.base-mats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.base-mat { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12.5px; }
.base-mat b { font-size: 14px; font-variant-numeric: tabular-nums; }
.base-mats .btn { margin-left: auto; }
.mat-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.base-job { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; margin: 6px 0 12px; border-radius: var(--r-md); background: rgba(232,181,74,.07); border: 1px solid rgba(232,181,74,.35); }
.base-job .bar.xp { height: 8px; } .base-job .btn { align-self: flex-start; }
.card.bld { display: flex; flex-direction: column; gap: 8px; } .card.bld.busy { border-color: rgba(232,181,74,.55); }
.bld-lv { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 20px; font-weight: 800; color: var(--gold-hi); background: var(--well); border: 1px solid var(--line-2); }
.card.bld .bar.hp { height: 14px; }
.bld-up { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.recipes .need { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; font-size: 12.5px; }
.recipes .need.miss { color: #ff9a85; }
/* ===================================================================
   YARDIMCI FİLO PENCERESİ — sadece düzen. Renk, malzeme ve bileşenler css/ds.css'ten gelir.
   =================================================================== */
.fl { display: flex; flex-direction: column; gap: 14px; }
.fl-intro { padding: 1px 0 1px 12px; border-left: 2px solid var(--ds-bronze-700); font-size: 12.5px; }
.fl-sec { position: relative; padding: 12px 14px 14px; }
.fl-res { margin: 0 -2px; }
/* mühimmat satırları */
.fl-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; }
.fl-row + .fl-row { border-top: 1px solid rgba(0, 0, 0, 0.35); box-shadow: 0 -1px 0 rgba(255, 220, 160, 0.04); }
.fl-row-t { min-width: 0; }
.fl-row-t b { font: 600 var(--ds-fs-lg)/1.3 var(--ds-font-body); color: #f2e3c3; }
.fl-row-t span { font-size: var(--ds-fs-sm); color: var(--ds-text-3); }
.fl-row-a { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fl-buy { min-width: 128px; }
/* yardımcı kaptan */
.fl-capt-g { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; }
.fl-capt-b { display: grid; gap: 8px; min-width: 0; }
.fl-capt-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.fl-capt-l > b { font: 600 18px/1.15 var(--ds-font-head); color: var(--ds-ink); }
.win .fl .fl-bonus { font: 600 var(--ds-fs-md)/1.3 var(--ds-font-body); color: #6b4512; }
.fl-pips { margin-top: -2px; }
/* komutlar */
.fl-cmd { padding-left: 18px; padding-right: 18px; }
.fl-cmd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.fl-cmd-sub { margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(0, 0, 0, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.fl-cmd-sub .ds-label { margin: 0; color: #a69b88; }
/* gemiler */
.fl-shipsec { padding: 2px 0 0; }
.fl-ships { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 12px; }
.fl-ship-h { display: flex; gap: 11px; align-items: center; }
.fl-ship-n { min-width: 0; }
.fl-ship-d { margin: 9px 0 9px; min-height: 2.9em; font-size: var(--ds-fs-sm); line-height: 1.45; color: var(--ds-text-2); }
.fl-lv { margin-bottom: 11px; }
.fl-lv > i { max-width: none; }
/* top güvertesi */
.fl-deck { display: grid; gap: 7px; margin-bottom: 12px; padding: 9px 10px; }
.fl-deck-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fl-deck-h .ds-label { margin: 0; }
.fl-deck-h b { font-size: var(--ds-fs-md); color: #f2e3c3; }
.fl-deck-list { display: grid; gap: 5px; }
.fl-deck-r { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px auto auto; align-items: center; gap: 2px 5px; }
.fl-deck-r .ds-ico { grid-row: 1 / 3; width: 24px; height: 24px; }
.fl-deck-r + .fl-deck-r { padding-top: 5px; border-top: 1px solid rgba(0, 0, 0, 0.3); }
.fl-deck-n { display: contents; }   /* ad üst satırı kaplar; bilgi, sayı ve düğmeler alt satırda */
.fl-deck-n b { grid-column: 2 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--ds-fs-sm); line-height: 1.2; color: #e9dcc0; }
.fl-deck-n small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--ds-fs-xs); color: var(--ds-text-3); }
.fl-deck-c { text-align: right; font-size: var(--ds-fs-md); color: var(--ds-gold); }
.fl-deck-r .ds-btn--sm { min-width: 26px; padding-left: 6px; padding-right: 6px; }
.fl-deck-empty { margin: 0; }
.fl-deck-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding-top: 7px; border-top: 1px solid rgba(0, 0, 0, 0.4); }
.fl-deck-p { font: 600 var(--ds-fs-sm)/1.2 var(--ds-font-body); color: #e9dcc0; }
.fl-deck-a { display: flex; gap: 5px; }
.fl-need-h { margin-bottom: 6px; }
.fl-need { margin-bottom: 12px; }
.fl-up { margin-top: auto; }
.fl-max { margin-top: auto; padding: 8px 0 2px; text-align: center; font: 600 15px/1 var(--ds-font-head); color: var(--ds-gold); }
.fl-foot { padding-top: 10px; border-top: 1px solid rgba(210, 170, 105, 0.1); font-size: var(--ds-fs-xs); }
/* dar pencere / telefon */
@media (max-width: 760px) {
  .fl-row { grid-template-columns: 26px minmax(0, 1fr); }
  .fl-row-a { grid-column: 1 / -1; justify-content: flex-start; }
  .fl-capt-g { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
  .fl-capt-g .ds-medal { width: 56px; height: 56px; }
  .fl-capt-g .ds-medal > b { font-size: 25px; }
  .fl .ds-res__i { padding: 6px 11px 6px 9px; }
}
html.mobile .fl-sec { padding: 10px 10px 12px; }
html.mobile .fl-buy { min-width: 0; }
.recipes tr.locked { opacity: .55; }

/* dil seçici (giriş ekranı) */
#langSw { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
#langSw button { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2, rgba(255,255,255,.18)); background: rgba(0,0,0,.25); color: var(--text-2, #cfd6dd); font: 600 12.5px Signika, system-ui, sans-serif; cursor: pointer; }
#langSw button.on { background: var(--gold, #d9a441); color: #1b1408; border-color: transparent; }

/* =====================================================================
   11. TELEFON / TABLET (html.mobile)
   Dokunmatik ekranlar için: küçük üst çubuk, kaydırılabilir menü ve
   cephane çubuğu, büyük Saldır düğmesi, açılır kapanır sohbet,
   tam ekran pencereler. Masaüstünde denemek için adrese ?mobil=1 ekle.
   ===================================================================== */
#mobBtns, #rotateHint { display: none; }
html.mobile {
  --hud-gap: 6px;
  --top-h: 46px;
  --ab-h: 58px;
  -webkit-text-size-adjust: 100%;
}
html.mobile body { touch-action: manipulation; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
html.mobile #scene, html.mobile canvas { touch-action: none; }
html.mobile .win-main, html.mobile #chatLog, html.mobile #menu, html.mobile #actionbar, html.mobile .win-side { touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
html.mobile #mm { touch-action: none; }
html.mobile input, html.mobile textarea { -webkit-user-select: text; user-select: text; font-size: 16px; } /* iOS yakınlaştırmasın */

/* üst çubuk: logo gizli, menü yatay kaydırılır, sadece simgeler */
html.mobile #topbar { gap: 6px; padding: 0 6px; padding-left: max(6px, env(safe-area-inset-left)); padding-right: max(6px, env(safe-area-inset-right)); }
html.mobile .brand, html.mobile #hint, html.mobile #perfHud { display: none !important; }
html.mobile:not(.m-ui) #zoomPanel { display: none !important; }
html.mobile #menu { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
html.mobile #menu::-webkit-scrollbar { display: none; }
html.mobile .mbtn { width: 44px; height: 40px; }
html.mobile .mbtn .lbl { display: none; }
html.mobile .mbtn .ring { width: 24px; height: 24px; }
html.mobile #wallet { gap: 4px; }
html.mobile .cur { height: 28px; padding: 0 8px 0 6px; gap: 4px; }
html.mobile .cur .ico { width: 15px; height: 15px; }
html.mobile .cur b { font-size: 12px; }
html.mobile #wallet .cur:has(#wMojo), html.mobile #btnBuyPearl { display: none; }

/* durum çerçevesi küçük */
html.mobile #status { width: 196px; padding: 6px 8px; gap: 6px; left: max(var(--hud-gap), env(safe-area-inset-left)); }
html.mobile #status .portrait { width: 40px; height: 40px; padding: 3px; }
html.mobile .st-name { font-size: 13px; height: 16px; }
html.mobile #status .bar.hp { height: 13px; }
html.mobile #status .bar.xp { height: 9px; }
html.mobile #status .st-main { gap: 4px; }
html.mobile .buff { transform: scale(0.85); transform-origin: left top; }

/* hedef çerçevesi: üst orta, dar */
html.mobile #target { width: min(260px, 44vw); padding: 6px 8px; gap: 6px; }
html.mobile #target .portrait.small { width: 36px; height: 36px; }
html.mobile .tg-name { font-size: 13px; }
html.mobile .tg-sub { font-size: 11px; }

/* grup paneli */
html.mobile #groupPanel { left: max(var(--hud-gap), env(safe-area-inset-left)); top: calc(var(--hud-top) + 76px); width: 180px; font-size: 12px; }

/* mini harita: sağ üst, küçük */
html.mobile #minimap { top: var(--hud-top); bottom: auto; right: max(var(--hud-gap), env(safe-area-inset-right)); padding: 5px; }
html.mobile #mm { width: 150px; height: 112px; }
@media (max-height: 430px) { html.mobile #mm { width: 128px; height: 96px; } }
html.mobile .mm-head { font-size: 11.5px; padding: 0 2px 4px; }
html.mobile #mmPos { display: none; }
html.mobile #coordBar { display: none; }

/* cephane çubuğu: tüm genişlik, yatay kaydırılır; Saldır düğmesi ayrı, büyük ve yuvarlak */
html.mobile #actionbar {
  left: max(var(--hud-gap), env(safe-area-inset-left)); right: calc(max(var(--hud-gap), env(safe-area-inset-right)) + 96px); transform: none;
  bottom: max(var(--hud-gap), env(safe-area-inset-bottom)); justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 0 6px;
}
html.mobile #actionbar::-webkit-scrollbar { display: none; }
html.mobile #actionbar { height: var(--ab-h); padding: 5px 6px; align-items: center; }
html.mobile .ab-main { flex-direction: row; align-items: center; gap: 6px; }
html.mobile .slot { flex: none; width: 46px; height: 46px; }
html.mobile .slot > span { top: 5px; width: 26px; height: 26px; }
html.mobile .slot kbd { display: none; }
html.mobile .sep { height: 30px; margin: 0 2px; }
/* telefonda kategoriler yuvaların solunda küçük simge düğmeleri (dokununca liste açılır) */
html.mobile #abCats { order: -1; flex: none; height: auto; display: grid; grid-template-columns: repeat(3, 28px); grid-auto-rows: 22px; gap: 2px; }
html.mobile .ab-cat { height: 22px; padding: 0; justify-content: center; border-radius: 6px; }
html.mobile .ab-cl, html.mobile .ab-cn, html.mobile .ab-car { display: none; }
html.mobile .ab-ci { width: 16px; height: 16px; }
html.mobile .ab-dot { left: auto; right: 2px; top: 2px; width: 5px; height: 5px; }
html.mobile .ab-reset { width: 28px; height: 22px; font-size: 13px; border-radius: 6px; }
html.mobile #abPop .abp-head span { display: none; }
html.mobile #btnAttack {
  position: fixed; right: max(10px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); z-index: 7;
  width: 88px; height: 88px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.18);
}
html.mobile #btnAttack .ico { width: 30px; height: 30px; }
html.mobile #btnAttack em { font-size: 13px; }
html.mobile #btnAttack kbd { display: none; }
html.mobile #btnAttack .cdbars { left: 18px; right: 18px; bottom: 14px; }

/* yuvarlak telefon düğmeleri (sohbet, sıradaki hedef, tam ekran) */
html.mobile #mobBtns { display: flex; flex-direction: column; gap: 8px; position: fixed; z-index: 7;
  right: max(28px, env(safe-area-inset-right)); bottom: calc(max(8px, env(safe-area-inset-bottom)) + 96px); }
html.mobile #btnFull { width: 34px; height: 34px; font-size: 17px; box-shadow: none; background: var(--well); flex: none; }
.mob-round {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; line-height: 1; color: var(--text);
  background: rgba(8, 17, 29, 0.82); border: 1px solid var(--line-2); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.mob-round:active { transform: scale(0.94); background: rgba(232, 181, 74, 0.25); }
.mob-round.on { border-color: var(--gold); background: rgba(232, 181, 74, 0.22); }
.mob-round i { position: absolute; top: 4px; right: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--navy-900); }
#btnChatT { order: 2; } #btnTab { order: 1; } #btnFull { order: 3; }

/* sohbet: kapalı başlar, 💬 ile açılır */
html.mobile #chat { display: none; left: max(var(--hud-gap), env(safe-area-inset-left)); bottom: calc(var(--above-ab) + 2px); width: min(380px, 62vw); padding: 6px; z-index: 8; }
html.mobile.chat-open #chat { display: flex; }
html.mobile #chatLog { height: min(120px, 26vh); font-size: 12.5px; }
html.mobile #chatIn { height: 36px; }

/* pencereler: tam ekran, sürüklenmez */
html.mobile .win {
  left: 0 !important; top: var(--top-h) !important; width: 100vw !important; height: calc(100vh - var(--top-h)) !important; height: calc(100dvh - var(--top-h)) !important;
  max-height: none; border-radius: 0; animation: none;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
html.mobile .win-head { height: 44px; cursor: default; padding: 0 6px 0 12px; }
html.mobile .win-head h3 { font-size: 21px; }
html.mobile .win-close { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.06); }
html.mobile .win-close svg { width: 16px; height: 16px; }
html.mobile .win-main { overflow-y: auto; }
html.mobile .wm-scroll { overflow: auto; max-height: none; }
/* yan sekmeler dar ekranda daralır */
html.mobile .win-side { width: 150px; padding: 6px 4px; }
html.mobile .side-btn { min-height: 38px; font-size: 13px; padding: 4px 8px; gap: 6px; }
html.mobile .side-btn .ico { width: 20px; height: 20px; }

/* bildirim ve duyurular daha küçük */
html.mobile #banner { font-size: 32px; top: 22%; white-space: normal; width: 92vw; }
html.mobile #banner small { font-size: 13px; }
/* 5 Aralık 2026l (oyuncu videosu): telefonda duyuru ve boss uyarısı arkadaki gemi isimleriyle karışıyordu: yazının çevresi koyu,
   alt satır ("5 saniye içinde mavi alandan uzaklaş!") koyu bir şeridin üstünde */
html.mobile #banner { text-shadow: 0 2px 0 rgba(40, 24, 2, 0.9), 0 0 3px #000, 0 0 10px rgba(0, 0, 0, 0.95), 0 0 26px rgba(0, 0, 0, 0.8); }
html.mobile #banner small { display: table; margin: 6px auto 0; padding: 3px 10px; border-radius: 10px; background: rgba(10, 6, 3, 0.8); text-shadow: none; }
html.mobile #toasts { top: calc(var(--hud-top) + 50px); max-width: 70vw; }
html.mobile .toast { font-size: 12px; padding: 6px 12px; text-align: center; }
html.mobile #lookHint { font-size: 12px; }
html.mobile #lookHint kbd { display: none; }

/* giriş ekranı */
html.mobile .login-wrap { padding: 12px; max-height: 100dvh; overflow-y: auto; touch-action: pan-y; }
html.mobile .logo { font-size: clamp(34px, 10vw, 60px); }
/* 2 Kasım 2026: yatay telefon (alçak ekran; adres çubuğu açıkken ~260-400 px): giriş formu ekranın altında kalıyordu (kaydırmak gerekiyordu).
   İki sütun: solda logo, dil seçimi ve bağlantılar; sağda giriş kartı (kaptan adı, şifre ve "Denize Açıl" hemen görünür). Dikey ekran aynı. */
@media (orientation: landscape) and (max-height: 560px) {
  html.mobile #login { padding: 0; place-items: stretch; }
  html.mobile .login-wrap { width: min(940px, 100%); height: 100vh; height: 100dvh; margin: 0 auto; align-items: stretch;
    padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); grid-template-rows: 1fr repeat(7, auto) 1fr; column-gap: 18px; justify-items: center; }
  html.mobile .login-wrap > * { grid-column: 1; }
  html.mobile .login-wrap > .logo { grid-row: 2; }
  html.mobile .login-wrap > .tagline { grid-row: 3; }
  html.mobile .login-wrap > .hw-tag { grid-row: 4; }
  html.mobile .login-wrap > #langSw { grid-row: 5; }
  html.mobile .login-wrap > .dc-btn:not(.gd-btn) { grid-row: 6; }
  html.mobile .login-wrap > .gd-btn { grid-row: 7; }
  html.mobile .login-wrap > .lg-note { grid-row: 8; }
  html.mobile .login-wrap > .login-card { grid-column: 2; grid-row: 1 / -1; align-self: start; width: 100%; margin: auto 0;   /* auto: sığarsa ortada, sığmazsa üstten başlar (sekmeler kesilmez, kayar) */ padding: 12px 16px; }
  html.mobile .logo { font-size: clamp(28px, 5.4vw, 50px); }
  html.mobile .tagline { margin: 4px 0 10px; font-size: 13px; text-align: center; }
  html.mobile .hw-tag { margin: -4px 0 10px; font-size: 12px; }
  html.mobile #langSw { margin-bottom: 4px; gap: 5px; }
  html.mobile #langSw button { padding: 4px 9px; font-size: 11.5px; }
  html.mobile .login-wrap > .dc-btn { width: min(340px, 100%); margin-top: 8px; padding: 7px 12px; gap: 10px; }
  html.mobile .login-wrap > .dc-btn > span { font-size: 13px; }
  html.mobile .login-wrap > .dc-btn small { font-size: 11px; }
  html.mobile .login-wrap > .lg-note { margin-top: 8px; }
  html.mobile .login-card .tabs { margin-bottom: 10px; }
  html.mobile .login-card label { margin-bottom: 8px; }
  html.mobile .login-card input { height: 38px; margin-top: 4px; }
  html.mobile .login-card .err { min-height: 0; margin-top: 6px; }
  html.mobile .login-card .link-btn { margin-top: 4px; }
  html.mobile .login-foot { margin-top: 4px; padding-top: 8px; font-size: 11.5px; line-height: 1.35; }
  html.mobile .login-card .lg-foot { margin-top: 8px; padding-top: 6px; }
}

/* dikey (portre) telefon: daha da sıkı, yan çevirme önerisi */
@media (orientation: portrait) {
  html.mobile { --top-h: 92px; }
  html.mobile #topbar { flex-wrap: wrap; align-content: flex-start; row-gap: 0; }
  html.mobile #wallet { order: 1; width: 100%; height: 46px; justify-content: flex-end; }
  html.mobile #menu { order: 2; flex: 1 1 100%; height: 46px; }
  html.mobile #rotateHint {
    display: block; position: fixed; left: 50%; top: calc(var(--hud-top) + 8px); transform: translateX(-50%); z-index: 9;
    padding: 6px 12px; border-radius: 999px; font-size: 12px; white-space: nowrap;
    color: var(--gold-hi); background: rgba(8, 17, 29, 0.88); border: 1px solid var(--gold-line, rgba(232,181,74,.4));
  }
  html.mobile #rotateHint.gone { display: none; }
  html.mobile #target { top: calc(var(--hud-top) + 76px); left: max(var(--hud-gap), env(safe-area-inset-left)); transform: none; width: 196px; }
  html.mobile #mm { width: 120px; height: 90px; }
  html.mobile #chat { width: calc(100vw - 90px); }
  html.mobile .win-body { flex-direction: column; }
  html.mobile .win-side { width: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; flex: none; }
  html.mobile .side-btn { flex: none; white-space: nowrap; }
  /* pencere içi iki sütunlu düzenler alt alta */
  html.mobile .hangar, html.mobile .cauldron, html.mobile .friends, html.mobile .spec-tiers { grid-template-columns: minmax(0, 1fr); }
  html.mobile .hangar > *, html.mobile .cauldron > *, html.mobile .friends > * { min-width: 0; }
  html.mobile .eqrow { flex-wrap: wrap; }
  html.mobile .eqrow .nm { flex: 1 1 140px; }
  html.mobile .win-main { overflow-x: hidden; }
  html.mobile .friends { height: auto; }
  html.mobile .sk-tree { grid-template-columns: 1fr; }
  html.mobile .grid, html.mobile .grid.wide, html.mobile .boss-grid { grid-template-columns: 1fr; }
  html.mobile .win-main { padding-left: 10px; padding-right: 10px; }
}
/* dar yatay ekranda da sığmayan geniş düzenler */
@media (max-width: 900px) and (orientation: landscape) {
  html.mobile .hangar, html.mobile .cauldron { grid-template-columns: 240px 1fr; }
  html.mobile .friends { grid-template-columns: 240px 1fr; }
  html.mobile .boss-grid { grid-template-columns: 1fr; }
}
/* alçak yatay ekran (çoğu telefon) */
@media (orientation: landscape) and (max-height: 500px) {
  html.mobile #groupPanel { display: none; }
  html.mobile #status .bar.xp { display: none; }
}

/* güncelleme notları */
.notes { display: flex; flex-direction: column; gap: 12px; }
.note-card { padding: 14px 16px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.note-card.latest { border-color: var(--gold-line, rgba(232, 181, 74, 0.45)); background: rgba(232, 181, 74, 0.06); }
.note-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.note-head b { font-size: 16px; color: var(--gold-hi); }
.note-head small { color: var(--text-3); font-size: 12px; }
.note-new { margin-left: auto; padding: 2px 8px; border-radius: 999px; font: 700 10.5px/1.4 var(--font-ui); color: var(--gold-ink, #1b1408); background: var(--gold, #e8b54a); }
.note-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }

/* Yönetici: hareket kaydı */
.lg-bar { flex-wrap: wrap; gap: 6px; }
.lg-bar select, .lg-bar input { height: 30px; }
.lg-table td { font-size: 12.5px; vertical-align: top; }
.lg-name { color: var(--gold, #f2c14e); cursor: pointer; font-weight: 600; }
.lg-name:hover { text-decoration: underline; }
/* 29 Kasım 2026: yönetici → Sohbet Kayıtları (eskiden yeniye akan sohbet dökümü) */
.cl-list { max-height: 430px; overflow-y: auto; padding: 4px 6px; border-radius: 6px; background: rgba(0, 0, 0, .22); user-select: text; }
.cl-day { margin: 8px 0 4px; text-align: center; font-size: 11.5px; color: #c9b48a; }
.cl-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 3px 4px; border-radius: 4px; font-size: 13px; line-height: 1.45; }
.cl-row:nth-child(even) { background: rgba(255, 255, 255, .03); }
.cl-row.bad { background: rgba(200, 50, 40, .18); }
.cl-row.hit { outline: 1px solid rgba(242, 193, 78, .7); }
.cl-time { color: #9aa6b8; font-size: 11.5px; cursor: pointer; font-variant-numeric: tabular-nums; }
.cl-time:hover { color: var(--gold, #f2c14e); text-decoration: underline; }
.cl-ch { padding: 0 6px; border-radius: 99px; font-size: 10.5px; background: rgba(255, 255, 255, .08); color: #d8d0c0; white-space: nowrap; }
.cl-ch.c-genel { color: #e9dcb8; }
.cl-ch.c-klan { color: #8fe3a5; background: rgba(80, 200, 120, .14); }
.cl-ch.c-grup { color: #9fd8ff; background: rgba(80, 160, 230, .14); }
.cl-ch.c-ozel { color: #e7b3ff; background: rgba(180, 100, 230, .16); }
.cl-tag { color: #c9b48a; font-size: 12px; }
.cl-arrow { color: #9aa6b8; }
.cl-text { flex: 1 1 260px; min-width: 0; color: #f1ead8; word-break: break-word; }
.cl-badge { padding: 0 6px; border-radius: 99px; font-size: 10.5px; color: #ffb4a8; background: rgba(220, 60, 50, .22); white-space: nowrap; }
.cl-badge.s { color: #ffcf7a; background: rgba(240, 180, 60, .14); cursor: help; }
.lg-type { display: inline-block; padding: 1px 7px; border-radius: 99px; font-size: 11px; white-space: nowrap; background: rgba(255, 255, 255, .08); }
.lg-type.t-giris, .lg-type.t-kayit { color: #8fe3a5; background: rgba(80, 200, 120, .14); }
.lg-type.t-cikis { color: #b8c4d6; }
.lg-type.t-harcama { color: #ffcf7a; background: rgba(240, 180, 60, .14); }
.lg-type.t-kazanc { color: #9fd8ff; background: rgba(80, 160, 230, .14); }
.lg-type.t-yonetici, .lg-type.t-sifre { color: #e0b0ff; background: rgba(170, 100, 230, .16); }
.lg-type.t-hatali, .lg-type.t-yasak { color: #ff9a85; background: rgba(229, 84, 63, .18); }
.lg-type.t-kopma { color: #ffd98a; background: rgba(230, 170, 60, .12); }
.lg-type.t-sunucu { color: #fff; background: rgba(229, 84, 63, .45); }
.ctx-menu input { margin: 6px 4px 2px; height: 30px; }

/* Donanım hızlandırma uyarısı (ekran kartı kullanılmıyorsa) */
#gpuNote { position: fixed; z-index: 70; top: 12px; left: 12px; width: min(430px, calc(100vw - 24px));
  padding: 14px 16px 12px; border-radius: 14px; background: rgba(14, 22, 36, .97); border: 1px solid rgba(242, 193, 78, .55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55); color: #e8edf5; font-size: 13.5px; line-height: 1.45; animation: pop-in .25s ease; }
#gpuNote .gn-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: #f2c14e; margin-bottom: 6px; }
#gpuNote .gn-x { background: none; border: 0; color: #9aa7b8; font-size: 16px; cursor: pointer; }
#gpuNote p { margin: 4px 0 8px; }
#gpuNote ol { margin: 0 0 10px 18px; padding: 0; }
#gpuNote li { margin: 4px 0; }
#gpuNote .gn-addr { display: flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .06); padding: 6px 8px; border-radius: 8px; }
#gpuNote code { flex: 1; font-size: 14px; color: #fff; user-select: all; }
#gpuNote .gn-small { color: #9aa7b8; font-size: 12px; margin: 8px 0 6px; }
#gpuNote .gn-foot { display: flex; gap: 8px; justify-content: flex-end; }

/* Hafif mod (ekran kartı yokken): pahalı cam bulanıklığı ve gölgeler kapanır, paneller düz koyu renk olur */
html[data-lite] *, html[data-lite] *::before, html[data-lite] *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-lite] { --blur: none; --panel: rgba(12, 20, 33, .95); }
#gpuNote .gn-pc { display: flex; flex-direction: column; align-items: center; margin: 4px 0 10px; padding: 9px 12px; text-decoration: none; text-align: center; }
#gpuNote .gn-pc small { font-weight: 500; font-size: 11.5px; opacity: .8; }
#gpuNote details summary { cursor: pointer; color: #b9c6d8; margin-bottom: 6px; }
#gpuNote .hidden, .pc-dl.hidden { display: none !important; }
.pc-dl { display: block; margin-top: 12px; padding: 9px 12px; border-radius: 10px; text-align: center; text-decoration: none; color: #f2c14e; font-weight: 600;
  border: 1px solid rgba(242, 193, 78, .45); background: rgba(242, 193, 78, .08); }
.pc-dl:hover { background: rgba(242, 193, 78, .16); }
.pc-dl small { display: block; color: #9aa7b8; font-weight: 400; font-size: 11.5px; margin-top: 2px; }

/* ---- çevrimiçi ödülleri ---- */
.onl-head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 14px 16px; margin: 6px 0 14px;
  border-radius: var(--r-lg); background: rgba(232, 181, 74, .07); border: 1px solid rgba(232, 181, 74, .3); }
.onl-ico { width: 40px; height: 40px; color: var(--gold-hi); }
.onl-head small { display: block; font-size: 11.5px; color: var(--text-2); }
.onl-head b { font-size: 20px; color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.onl-track { position: relative; height: 12px; margin: 0 14px 14px 4px; border-radius: 99px; background: var(--well); border: 1px solid var(--line); }
.onl-track > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #c9962e, #f6d27f); }
.onl-mark { position: absolute; top: 15px; transform: translateX(-50%); font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.onl-mark::before { content: ''; position: absolute; left: 50%; top: -16px; width: 2px; height: 12px; background: rgba(255, 255, 255, .35); }
.onl-mark.ok { color: #8fe3a5; }
.onl-list { display: flex; flex-direction: column; gap: 6px; }
.onl-row { display: grid; grid-template-columns: 64px 34px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.onl-row .card-ico { width: 30px; height: 30px; }
.onl-row.ok { background: rgba(80, 200, 120, .07); border-color: rgba(80, 200, 120, .35); }
.onl-h { font-weight: 700; color: var(--text-2); }
.onl-st { font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.onl-st.ok { color: #8fe3a5; font-weight: 700; }
.onl-chest { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 10px;
  border-radius: var(--r-md); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.onl-chest .card-ico { width: 44px; height: 44px; }
.chest-odds td:last-child, .chest-odds th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.chest-odds tr.rare td { color: var(--gold-hi); font-weight: 600; }
.chest-odds tr.red td { color: var(--red); font-weight: 700; }   /* 30 Kasım 2026 (kullanıcı): Tufan Topu kırmızı */

/* ---- yönetici: eşya ver, canlı bosslar, komut formları ---- */
.give-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; }
.give-bar .seg { flex-wrap: wrap; }
.name-in { width: 170px; height: 30px; padding: 0 9px; }
.hp-in, .num-in { width: 120px; height: 28px; padding: 0 8px; font-variant-numeric: tabular-nums; }
.txt-in { width: 260px; height: 28px; padding: 0 8px; }
.give-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.give-card { display: grid; grid-template-columns: 36px 1fr 86px auto; align-items: center; gap: 8px; padding: 7px 9px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.give-card .card-ico { width: 34px; height: 34px; }
.give-card .card-ico img { width: 100%; height: 100%; object-fit: contain; }
.give-card input { width: 86px; height: 28px; padding: 0 7px; font-variant-numeric: tabular-nums; }
.gc-txt { min-width: 0; }
.gc-txt b { display: block; font-size: 12.5px; line-height: 1.2; }
.gc-txt small { display: block; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-card { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 10px;
  border-radius: var(--r-lg); background: rgba(229, 84, 63, .08); border: 1px solid rgba(229, 84, 63, .4); }
.wb-card .card-ico { width: 64px; height: 44px; }
.wb-card .card-ico img { width: 100%; height: 100%; object-fit: contain; }
.wb-card small { display: block; color: var(--text-2); font-size: 12px; margin-top: 2px; }
.wb-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.live-table td { vertical-align: middle; }
.live-table td small { display: block; color: var(--text-3); font-size: 11px; }
.live-table tr.wb td b { color: #ff9a85; }
.live-table .btn { margin-left: 4px; }
.bar.hp.mini { width: 140px; height: 7px; }
.cmd-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.cmd-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cmd-desc code { display: inline-block; margin-right: 8px; padding: 1px 6px; border-radius: 5px; background: var(--well); color: var(--gold-hi); font-size: 12px; }
.cmd-desc span { font-size: 12.5px; color: var(--text-2); }
.cmd-in { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cmd-in select { height: 28px; max-width: 220px; }
#tgKill { margin-top: 4px; }
html.mobile .give-card { grid-template-columns: 30px 1fr 70px auto; }
html.mobile .cmd-row { grid-template-columns: 1fr; }

/* tersane: elit gemilerin altındaki bilgi kutusu (Vudu Kazanı'na giden düğmeyle) */
.elite-info {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; padding: 14px 16px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(232, 181, 74, 0.14), rgba(140, 90, 210, 0.12)); border: 1px solid rgba(232, 197, 106, 0.4);
}
.elite-info-ico { flex: none; width: 42px; height: 42px; color: var(--gold-hi); }
.elite-info-ico svg { width: 100%; height: 100%; display: block; }
.elite-info b { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--gold-hi); }
.elite-info p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.elite-info > div:nth-child(2) { flex: 1; min-width: 0; }
.elite-info .btn { flex: none; }
@media (max-width: 700px) { .elite-info { flex-wrap: wrap; } }
.vortex .vx-prize { grid-column: 1; font-size: 12.5px; font-weight: 600; color: var(--gold-hi); }

/* =====================================================================
   22 EKİM 2026: ETKİNLİKLER, REHBER, ADA UYARISI, KAPATMA ONAYI,
   KAPTAN KARTI, BAŞARIMLAR, KLAN BAYRAĞI VE GÖREVLERİ, HAFTALIK SIRALAMA
   ===================================================================== */

/* ---- etkinlik çubuğu (üst menünün altında, ortada) ---- */
#evBar {
  position: fixed; top: calc(var(--top-h) + 6px); left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 6px; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none;
}
#evBar::-webkit-scrollbar { display: none; }
.ev-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 5px; border-radius: var(--r-pill);
  font: 600 12px/1 var(--font-ui); color: var(--text); white-space: nowrap;
  background: linear-gradient(180deg, rgba(36, 56, 86, 0.92), rgba(14, 26, 44, 0.94)); border: 1px solid rgba(232, 197, 106, 0.45);
  box-shadow: var(--sh-1), 0 0 14px rgba(232, 181, 74, 0.14); animation: pop-in var(--t-med) var(--ease);
  transition: border-color var(--t-fast), transform 80ms;
}
.ev-chip:hover { border-color: var(--gold-hi); }
.ev-chip:active { transform: translateY(1px); }
.ev-chip .ev-ico { width: 20px; height: 20px; flex: none; }
.ev-chip .ev-ico svg { width: 100%; height: 100%; display: block; }
.ev-chip b { font-weight: 700; color: var(--gold-hi); }
.ev-chip em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 600; }
.ev-chip.ev-halloween { border-color: rgba(255, 138, 26, 0.7); box-shadow: var(--sh-1), 0 0 16px rgba(255, 120, 20, 0.28); }
.ev-chip.ev-halloween b { color: #ffb15a; }
.ev-chip.ev-convoy { border-color: rgba(255, 210, 90, 0.85); animation: pop-in var(--t-med) var(--ease), cv-glow 1.6s ease-in-out infinite; }
@keyframes cv-glow { 50% { box-shadow: var(--sh-1), 0 0 22px rgba(255, 200, 70, 0.45); } }
/* etkinlik varken üst ortadaki hedef çerçevesi, bildirimler ve davetler biraz aşağı kayar */
html.has-ev #target { top: calc(var(--hud-top) + 30px); }
html.has-ev #toasts { top: calc(var(--hud-top) + 116px); }
html.has-ev #invites { top: calc(var(--hud-top) + 122px); }
html.mobile #evBar { top: calc(var(--top-h) + 2px); }
html.mobile .ev-chip { height: 24px; font-size: 11px; padding: 0 9px 0 4px; }
html.mobile .ev-chip .ev-ico { width: 16px; height: 16px; }

/* ---- yeni oyuncu rehberi ---- */
#tutBox {
  position: fixed; left: calc(var(--hud-gap) + 54px); top: calc(var(--hud-top) + 112px); z-index: 6; width: 300px;
  padding: 12px 14px 13px; border-color: rgba(232, 197, 106, 0.5); animation: pop-in var(--t-slow) var(--ease);
  box-shadow: var(--sh-2), 0 0 24px rgba(232, 181, 74, 0.16);
}
.tut-head { display: flex; align-items: center; gap: 8px; }
.tut-ico { width: 22px; height: 22px; color: var(--gold-hi); }
.tut-ico svg { width: 100%; height: 100%; display: block; }
.tut-head b { font: 700 13px/1 var(--font-ui); color: var(--gold-hi); letter-spacing: 0.2px; }
.tut-n { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tut-x { width: 22px; height: 22px; border-radius: 6px; color: var(--text-3); font-size: 12px; }
.tut-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.tut-bar { height: 4px; margin: 9px 0 10px; border-radius: 4px; background: rgba(2, 7, 14, 0.7); overflow: hidden; }
.tut-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); transition: width var(--t-slow) var(--ease); }
#tutBox h5 { margin: 0 0 4px; font: 700 16px/1.25 var(--font-ui); color: var(--text); }
#tutBox p { margin: 0 0 9px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.tut-rw { font-size: 12px; color: var(--text-3); }
.tut-rw b { color: var(--gold-hi); font-weight: 600; }
/* rehberin gösterdiği düğme nabız gibi parlar */
.tut-glow { position: relative; z-index: 3; animation: tut-pulse 1.3s ease-in-out infinite; border-radius: var(--r-md); }
@keyframes tut-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 214, 92, 0.85), 0 0 12px rgba(255, 214, 92, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(255, 214, 92, 0.35), 0 0 26px rgba(255, 214, 92, 0.75); }
}
html.mobile #tutBox { left: max(var(--hud-gap), env(safe-area-inset-left)); top: calc(var(--hud-top) + 66px); width: 230px; padding: 8px 10px; }
html.mobile #tutBox p { font-size: 11.5px; margin-bottom: 5px; }
html.mobile #tutBox h5 { font-size: 13.5px; }

/* ---- klan adası saldırı uyarısı ---- */
.isl-alert {
  width: min(430px, calc(100vw - 24px)); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
  border-color: rgba(255, 90, 60, 0.85); background: linear-gradient(180deg, rgba(70, 14, 10, 0.95), rgba(28, 8, 8, 0.96));
  animation: pop-in var(--t-med) var(--ease), ia-pulse 1s ease-in-out infinite;
}
@keyframes ia-pulse { 50% { box-shadow: var(--sh-2), 0 0 0 3px rgba(255, 90, 60, 0.35), 0 0 34px rgba(255, 60, 30, 0.45); } }
.ia-head { font: 400 26px/1 var(--font-display); color: #ffb3a3; letter-spacing: 0.3px; }
.ia-text { font-size: 13.5px; line-height: 1.45; color: #ffd9cf; }
.ia-text b { color: #fff; }
.ia-btns { display: flex; gap: 8px; }

/* ---- kapatma onayı (PC uygulaması) ---- */
#quitDlg { z-index: 60; }
.quit-dlg { width: min(420px, 100%); }
.quit-ico { width: 46px; height: 46px; margin: 0 auto 10px; color: var(--gold-hi); }
.quit-ico svg { width: 100%; height: 100%; display: block; }
.quit-dlg h2 { font-size: 34px !important; }
.quit-btns { display: flex; gap: 10px; justify-content: center; }
.quit-btns .btn { min-width: 132px; height: 40px; font-size: 14px; }
.quit-reload { margin-top: 14px; font-size: 12px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.quit-reload:hover { color: var(--text-2); }

/* ---- hedef çerçevesi: düğmeler ---- */
.tg-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.tg-btns:not(:has(.btn:not(.hidden))) { display: none; }
#stPortrait { cursor: pointer; }
#stPortrait:hover { border-color: var(--gold-line); }

/* ---- Etkinlikler penceresi ---- */
.ev-card {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; margin-bottom: 10px; padding: 14px 16px;
  border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(232, 181, 74, 0.1), rgba(255, 255, 255, 0.025)); border: 1px solid rgba(232, 197, 106, 0.35);
}
.ev-card .card-ico { width: 52px; height: 52px; }
.ev-card h5 { margin: 0 0 3px; font: 700 16px/1.25 var(--font-ui); color: var(--gold-hi); }
.ev-card .ev-txt .btn { margin-top: 8px; }
.ev-card .ev-txt .sub { line-height: 1.45; }
.ev-left { text-align: right; white-space: nowrap; }
.ev-left small { display: block; font-size: 11px; color: var(--text-3); }
.ev-left b { font-size: 18px; font-variant-numeric: tabular-nums; color: var(--text); }
.ev-card.ev-halloween { background: linear-gradient(135deg, rgba(255, 120, 20, 0.16), rgba(60, 20, 80, 0.14)); border-color: rgba(255, 138, 26, 0.55); }
.ev-card.ev-halloween h5 { color: #ffb15a; }
.ev-card.ev-convoy { background: linear-gradient(135deg, rgba(255, 200, 70, 0.17), rgba(255, 255, 255, 0.02)); border-color: rgba(255, 210, 90, 0.6); }
.pk-h { color: #ffb15a !important; }
.pk-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-lg);
  background: rgba(255, 120, 20, 0.08); border: 1px solid rgba(255, 138, 26, 0.35); }
.pk-row .card-ico { width: 52px; height: 52px; }
.pk-row b { font-size: 15px; }
.pk-btns { display: flex; flex-direction: column; gap: 6px; }
.pk-got { margin: 10px 0 4px; }
.loot.rare { background: rgba(232, 181, 74, 0.16); border-color: var(--gold); color: var(--gold-hi); font-weight: 700; }
.loot.red { background: rgba(229, 84, 63, 0.16); border-color: var(--red); color: var(--red); }
@media (max-width: 640px) { .ev-card, .pk-row { grid-template-columns: 40px 1fr; } .ev-left, .pk-btns { grid-column: 1 / -1; text-align: left; flex-direction: row; } }

/* ---- Kaptan Kartı ---- */
.cap-card {
  display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r-xl);
  background: radial-gradient(ellipse 80% 120% at 0% 0%, rgba(232, 181, 74, 0.12), transparent 60%), var(--raise); border: 1px solid var(--line-2);
}
.cap-ship { width: 150px; height: 100px; padding: 6px; border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 90% 70% at 50% 100%, #24527a, #112a45 60%, #0b1b2e); }
.cap-ship svg, .cap-ship img { width: 100%; height: 100%; display: block; object-fit: contain; }
.cap-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cap-name { display: flex; align-items: center; gap: 6px; font: 400 32px/1.05 var(--font-display); color: var(--gold-hi); }
.cap-name .ap-badge { font: 600 10.5px/1.4 var(--font-ui); }
.cap-crown { font-size: 24px; line-height: 1; }
.cap-sub { font-size: 13.5px; color: var(--text-2); }
.cap-title { color: #ffcf6a; }
.cap-clan { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.cap-clan.none { color: var(--text-3); }
.cap-clan small { color: var(--text-3); }
.mini-flag { display: inline-block; vertical-align: middle; margin-right: 6px; line-height: 0; }
.mini-flag svg { display: block; }
.cap-seen { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); }
.cap-seen.on { color: var(--green-hi); }
.cap-meta { font-size: 12px; color: var(--text-3); }
.cap-ach { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 14px; border-radius: var(--r-lg); cursor: pointer;
  background: var(--gold-soft); border: 1px solid rgba(232, 181, 74, 0.35); transition: border-color var(--t-fast); }
.cap-ach:hover { border-color: var(--gold-hi); }
.cap-ach .card-ico { width: 40px; height: 40px; }
.cap-ach b { font-size: 22px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.cap-ach small { font-size: 11px; color: var(--text-2); }
.cap-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cap-stat { position: relative; padding: 10px 12px; border-radius: var(--r-md); background: var(--raise); border: 1px solid var(--line); }
.cap-stat b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; color: var(--text); }
.cap-stat small { font-size: 11.5px; color: var(--text-2); }
.cs-ico { position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; color: var(--text-3); }
.cs-ico svg { width: 100%; height: 100%; display: block; }
.cap-recent { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.cap-acts { display: flex; gap: 8px; margin-top: 18px; }
.cap-link { cursor: pointer; color: inherit; text-decoration: none; }
.cap-link:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .cap-card { grid-template-columns: 1fr; } .cap-ship { width: 100%; } }

/* ---- Başarımlar ---- */
.ach-sum { display: grid; grid-template-columns: 48px 1fr 220px; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg);
  background: var(--gold-soft); border: 1px solid rgba(232, 181, 74, 0.35); }
.ach-sum .card-ico { width: 48px; height: 48px; }
.ach-sum b { font-size: 16px; color: var(--gold-hi); }
.ach-bar { height: 10px !important; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px; }
.ach { display: grid; grid-template-columns: 38px 1fr 118px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--raise); border: 1px solid var(--line); }
.ach.small { grid-template-columns: 30px 1fr; padding: 8px 10px; }
.ach-medal { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 18px;
  background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(150, 184, 222, 0.25); filter: grayscale(1); opacity: 0.6; }
.ach.small .ach-medal { width: 30px; height: 30px; font-size: 14px; }
.ach.got { border-color: rgba(232, 181, 74, 0.4); background: linear-gradient(135deg, rgba(232, 181, 74, 0.12), rgba(255, 255, 255, 0.02)); }
.ach.got .ach-medal { filter: none; opacity: 1; border-color: var(--gold); background: radial-gradient(circle at 35% 30%, #fff1c2, #e2a93c 70%); box-shadow: 0 0 12px rgba(232, 181, 74, 0.35); }
.ach-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ach-txt b { font-size: 13.5px; color: var(--text); }
.ach.got .ach-txt b { color: var(--gold-hi); }
.ach-txt small { font-size: 12px; color: var(--text-2); line-height: 1.35; }
.ach-txt .bar.xp { height: 12px; margin-top: 2px; }
.ach-at { font-size: 11px; color: var(--green-hi); }
.ach-rw { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.ach-medal svg { width: 74%; height: 74%; display: block; }
.ach-medal { color: var(--text-2); }
.ach.got .ach-medal { color: #4a2c0a; }
.ach-h { display: flex; align-items: center; gap: 8px; }
.ach-h-ico { width: 22px; height: 22px; display: inline-grid; color: var(--text-2); }
.ach-h-ico svg { width: 100%; height: 100%; display: block; }
.ach-rw b { font-size: 12px; color: var(--gold-hi); }
.ach-rw small { font-size: 11px; color: var(--text-3); }

/* ---- Klan: bayrak ve görevler ---- */
.clan-flag.has { padding: 0; background: none; border: 0; display: grid; place-items: center; width: 70px; }
.flag-ed { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: start; }
.flag-prev { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: var(--r-lg);
  background: radial-gradient(ellipse at 50% 30%, rgba(100, 160, 220, 0.18), transparent 70%), var(--raise); border: 1px solid var(--line-2); }
.flag-prev svg { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); animation: flag-wave 2.6s ease-in-out infinite; transform-origin: left center; }
@keyframes flag-wave { 50% { transform: skewY(-2deg) scaleX(0.98); } }
.flag-prev small { font-weight: 600; color: var(--text-2); }
.flag-opts h6 { margin: 0 0 8px; font: 600 12.5px/1 var(--font-ui); color: var(--text-2); text-transform: uppercase; letter-spacing: 0.6px; }
.flag-opts h6:not(:first-child) { margin-top: 16px; }
.flag-ems { display: grid; grid-template-columns: repeat(6, 56px); gap: 6px; }
.flag-em { height: 42px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.flag-em:hover:not(:disabled) { border-color: var(--line-3); }
.flag-em.on { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(232, 181, 74, 0.4); background: var(--gold-soft); }
.flag-sw { display: flex; flex-wrap: wrap; gap: 6px; }
.flag-sw button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4); }
.flag-sw button.on { border-color: var(--gold-hi); box-shadow: 0 0 0 2px rgba(232, 181, 74, 0.45); transform: scale(1.12); }
.flag-opts > .btn { margin-top: 18px; }
@media (max-width: 700px) { .flag-ed { grid-template-columns: 1fr; } .flag-ems { grid-template-columns: repeat(4, 56px); } }
.cq { margin-bottom: 10px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--raise); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.cq.done { border-color: rgba(92, 207, 138, 0.45); background: rgba(92, 207, 138, 0.06); }
.cq-top { display: flex; align-items: center; gap: 10px; }
.cq-top h5 { margin: 0; font: 700 15px/1.25 var(--font-ui); }
.cq-top .badge { margin: 0; }
.cq .bar.xp { height: 14px; }
.cq.done .bar > i { background: var(--green); }
.cq-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; color: var(--text-2); }
.cq-row b { color: var(--text); }
.cq-top3 { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--text-3); }

/* ---- Haftalık sıralama ---- */
.wk-head { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 14px; margin-bottom: 14px; padding: 12px 14px;
  border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(232, 181, 74, 0.16), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(232, 197, 106, 0.4); }
.wk-head .card-ico { width: 48px; height: 48px; }
.wk-head b { font-size: 16px; color: var(--gold-hi); }
.wk-head .sub { line-height: 1.4; }
.wk-box { text-align: center; padding: 6px 10px; border-radius: var(--r-md); background: rgba(2, 7, 14, 0.45); border: 1px solid var(--line); white-space: nowrap; }
.wk-box small { display: block; font-size: 10.5px; color: var(--text-3); }
.wk-box b { font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
table.list tr.prize td:last-child { color: var(--gold-hi); font-weight: 600; }
@media (max-width: 700px) { .wk-head { grid-template-columns: 40px 1fr; } }

/* ---- Yönetici: Etkinlikler ---- */
.adm-ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 8px; }
.adm-ev { display: grid; grid-template-columns: 40px 1fr; gap: 10px 12px; align-items: start; padding: 12px; border-radius: var(--r-md);
  background: var(--raise); border: 1px solid var(--line); }
.adm-ev.on { border-color: rgba(92, 207, 138, 0.55); background: rgba(92, 207, 138, 0.06); }
.adm-ev .card-ico { width: 40px; height: 40px; }
.ae-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ae-txt small { font-size: 12px; line-height: 1.4; color: var(--text-2); }
.ae-st { font-size: 12px; font-weight: 700; color: var(--green-hi); }
.ae-st.off { color: var(--text-3); font-weight: 600; }
.ae-acts { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.ae-acts select, .adm-wk select { height: 28px; border-radius: var(--r-sm); background: var(--well); border: 1px solid var(--line-2); padding: 0 6px; }
.adm-wk { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 8px 0; }
.adm-wk .chk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

.wk-num { width: 64px; padding: 4px 6px; }

/* ---- Discord bağlantıları (giriş ekranı ve sohbet) ---- */
.dc-btn { width: min(380px, 100%); box-sizing: border-box; display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 11px 16px; border-radius: 12px; text-decoration: none;
  color: #fff; background: linear-gradient(135deg, #5865f2, #4752c4); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 6px 18px rgba(88, 101, 242, .35); transition: transform .15s, box-shadow .15s, filter .15s; }
.dc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(88, 101, 242, .5); filter: brightness(1.08); }
.dc-btn:active { transform: translateY(0); }
.dc-btn > span { flex: 1; font-weight: 700; font-size: 15px; line-height: 1.25; text-align: left; }
.dc-btn small { display: block; font-weight: 400; font-size: 12px; color: rgba(255, 255, 255, .78); }
.dc-btn > b { font-size: 22px; line-height: 1; opacity: .8; }
.dc-ico { width: 16px; height: 16px; flex: none; }
.dc-ico.big { width: 28px; height: 28px; }
.chat-dc { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-sm);
  font-size: 12px; font-weight: 700; color: #fff; text-decoration: none; background: #5865f2; transition: filter .15s; }
.chat-dc:hover { filter: brightness(1.15); }
.chat-dc .dc-ico { width: 14px; height: 14px; }

/* ---- giriş: şifremi unuttum ve kurtarma kodu ---- */
.link-btn { display: block; margin: 8px auto 0; padding: 2px 6px; background: none; border: 0; color: var(--text-2); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--gold-hi); }
.rc-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 12, .72); backdrop-filter: blur(3px); }
.rc-card { width: min(440px, 100%); padding: 22px 24px; border-radius: var(--r-xl); background: var(--panel-strong); box-shadow: var(--sh-3); text-align: center; }
.rc-card h3 { margin: 0 0 8px; color: var(--gold-hi); font-size: 20px; }
.rc-card p { margin: 0 0 14px; color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.rc-code { margin: 0 0 16px; padding: 12px; border-radius: var(--r-md); background: var(--well); border: 1px dashed rgba(242, 193, 78, .55);
  font: 700 24px/1.2 ui-monospace, Consolas, monospace; letter-spacing: 2px; color: #fff; user-select: all; }
.rc-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---- şikâyet ---- */
.rep-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 10px; text-align: left; }
.rep-r { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: var(--r-sm); background: var(--well); font-size: 13px; cursor: pointer; }
.rep-r input { accent-color: #e05555; }
.rep-note { width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 8px 10px; border-radius: var(--r-md); background: var(--well); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 13px; resize: vertical; }
.rep-row { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.rep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rep-head small { margin-left: auto; color: var(--text-3); }
.rep-tag { padding: 1px 8px; border-radius: 99px; font-size: 11.5px; background: rgba(224, 85, 85, .18); color: #ff9c9c; }
.rep-tag.m { background: rgba(232, 181, 74, .18); color: var(--gold-hi); }
.rep-tag.b { background: rgba(160, 160, 160, .2); color: #ddd; }
.rep-note-t { margin: 6px 0 0; color: var(--text-2); font-style: italic; font-size: 13px; }
.rep-lines { margin: 8px 0; padding: 6px 8px; border-radius: var(--r-sm); background: rgba(2, 7, 14, .45); font-size: 12.5px; max-height: 150px; overflow: auto; }
.rep-lines small { color: var(--text-3); }
.rep-btns { display: flex; flex-wrap: wrap; gap: 6px; }
#chatLog .n.click { cursor: pointer; }
#chatLog .n.click:hover { text-decoration: underline; }

/* ---- arkadaş davet et ---- */
.inv-hero { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin: 4px 0 12px; border-radius: var(--r-lg); background: rgba(232, 181, 74, .08); border: 1px solid rgba(232, 181, 74, .3); }
.inv-hero b { font-size: 16px; color: var(--gold-hi); }
.inv-hero p { margin: 4px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.45; }
.inv-ico { width: 48px; height: 48px; flex: none; color: var(--gold-hi); }
.inv-ico svg { width: 100%; height: 100%; }
.inv-linkrow { display: flex; gap: 8px; }
.inv-link { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border-radius: var(--r-md); background: var(--well); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; }
.inv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.inv-step { padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13px; display: grid; gap: 4px; }
.inv-step small { color: var(--text-3); }
.inv-lv { font-weight: 700; color: var(--gold-hi); }
.inv-lv small { display: block; font-weight: 400; font-size: 11px; color: var(--text-3); }
.inv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.inv-marks { display: flex; gap: 4px; margin-left: auto; }
.inv-mark { padding: 1px 8px; border-radius: 99px; font-size: 11.5px; background: rgba(255, 255, 255, .07); color: var(--text-3); }
.inv-mark.ok { background: rgba(80, 200, 120, .2); color: #8fe3a5; }
.login-card label .opt { color: var(--text-3); font-weight: 400; }

/* ---- elit puan ---- */
.el-hero { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin: 4px 0 8px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(124, 240, 192, .12), rgba(124, 240, 192, .03)); border: 1px solid rgba(124, 240, 192, .35); }
.el-ico { width: 64px; height: 64px; flex: none; color: #7cf0c0; filter: drop-shadow(0 0 10px rgba(124, 240, 192, .45)); }
.el-ico svg { width: 100%; height: 100%; }
.el-main { flex: 1; display: grid; gap: 4px; }
.el-main small { color: var(--text-2); }
.el-pts { font-size: 34px; line-height: 1.1; color: #9ff7d3; font-variant-numeric: tabular-nums; }
.el-bar { height: 8px; border-radius: 99px; background: var(--well); overflow: hidden; }
.el-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3fbf8f, #9ff7d3); }
.el-soon { padding: 22px; border-radius: var(--r-lg); text-align: center; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-2); }
.el-soon b { font-size: 18px; color: var(--gold-hi); }
.el-soon p { margin: 6px 0 0; color: var(--text-2); }
.el-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.el-card { display: grid; gap: 6px; padding: 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid rgba(124, 240, 192, .25); }
.el-card.own { opacity: .75; }
.el-name { font-weight: 700; color: #9ff7d3; }
.el-card small { color: var(--text-3); }
.el-card small.bad { color: #ff9c9c; }
.el-stats { display: flex; flex-wrap: wrap; gap: 4px; font-size: 11.5px; }
.el-stats span { padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.el-owned { color: #8fe3a5; font-weight: 600; }

/* ---- tuş atama ---- */
.keys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 14px; margin: 0 0 8px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 13px; color: var(--text-2); }
.key-btn { min-width: 74px; height: 28px; padding: 0 10px; border-radius: var(--r-sm); background: var(--well); border: 1px solid var(--line-2); color: var(--text); font: 600 12.5px ui-monospace, Consolas, monospace; cursor: pointer; }
.key-btn:hover { border-color: var(--gold-hi); }
.key-btn.wait { border-color: var(--gold-hi); color: var(--gold-hi); animation: key-wait 1s infinite; }
/* ---- arayüz boyutu ---- */
html.ui-scaled #hud { zoom: var(--ui-scale, 1); }
/* 1 Kasım 2026: arayüz küçültülünce (%75-%90) yazılar küçülmez. Paneller, düğmeler ve simgeler ölçekle küçülür; yazı taşıyan
   parçalar ters ölçekle (--ui-tz = 1 / ölçek) %100'deki boyutunda kalır ve küçülen panelin içinde alt satıra geçer / kısalır (…).
   Sohbet (mesajlar, isimler, sekmeler, yazma kutusu), görev kartlarının yazıları, rehber, menü düğmesi adları, cüzdan, durum ve hedef
   adları, çubuk yazıları, mini harita başlığı, bildirimler, etkinlik şeritleri, grup listesi, telefonun alt menü adları.
   Büyütünce (%110+) yazılar da eskisi gibi büyür. Pencereler (#windows) zaten ölçeklenmez. */
html.ui-small #hud :is(#chatLog > *, #chatIn, .chat-tabs button, .chat-dc,
  .trk > b, .trk-desc, .trk-tg, .trk-n, .trk-p, .trk-btn, .trk-head b, .trk-mh b, .trk-mh-n,
  #tutBox :is(.tut-head b, .tut-n, h5, p, .tut-rw),
  .mbtn .lbl, .cur b, #mCur b, #status .st-name, .bar > span, .abt-bar > span:not(.ico), #target :is(.tg-name, .tg-sub, .tg-btns .btn),
  .mm-head, #lootFeed .lf, .toast, .ev-chip b, .ev-chip em, .gp-title, .gp-count, .gp-top, .gp-sub, #lookHint, #camBack, #mNav .m-nb em),
html.ui-small .hub-pop .mbtn .lbl { zoom: var(--ui-tz, 1); }
/* küçük ölçekte sığması için: sohbet sekmeleri biraz sıkışır, Discord düğmesi sadece simge (telefondaki gibi); uzun TP yazısı "…" ile kısalır */
html.ui-small:not(.mobile) #chat .chat-tabs button { padding: 0 6px; }
html.ui-small:not(.mobile) .chat-dc { padding: 0 7px; }
html.ui-small:not(.mobile) .chat-dc span { display: none; }
html.ui-small .abt-bar > span:not(.ico) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* 5 Aralık 2026 (kullanıcı): TP yazısı çubuktan taşmasın (önce iki yandan kesiliyordu): sığmazsa sonu "…" ile kısalır;
   seviye ve TP (kısaltılmış) hep görünür, tam sayı ve sınav bilgisi üstüne gelince ipucunda */
.abt-bar > span:not(.ico) { min-width: 0; max-width: calc(100% - 14px); overflow: hidden; text-overflow: ellipsis; }
html:not(.mobile) #status .bar.xp > span { display: block; padding: 0 6px; line-height: 12px; text-align: center; overflow: hidden; text-overflow: ellipsis; }
@keyframes key-wait { 50% { opacity: .55; } }
/* ---- renk körlüğü modu (Okabe-Ito renkleri) ---- */
html.cb { --green: #56b4e9; --green-hi: #a6d8f5; --red: #e69f00; --red-hi: #ffd27a; --hp-a: #b36b00; --hp-b: #f0b23c; }

/* ---- hikâye ara sahnesi ---- */
#cutscene { position: fixed; inset: 0; z-index: 150; cursor: pointer; background: radial-gradient(ellipse at center, rgba(0,0,0,.15), rgba(0,0,0,.7)); animation: cs-in .45s ease both; user-select: none; }
#cutscene.out { animation: cs-out .35s ease both; }
@keyframes cs-in { from { opacity: 0; } }
@keyframes cs-out { to { opacity: 0; } }
.cs-bar { position: absolute; left: 0; right: 0; height: 11vh; background: #000; display: flex; align-items: center; justify-content: center; }
.cs-bar.top { top: 0; animation: cs-bar-t .5s ease both; }
.cs-bar.bot { bottom: 0; animation: cs-bar-b .5s ease both; }
@keyframes cs-bar-t { from { transform: translateY(-100%); } }
@keyframes cs-bar-b { from { transform: translateY(100%); } }
.cs-bar span { font: 400 clamp(18px, 2.6vw, 30px) var(--font-display, serif); color: var(--gold-hi); letter-spacing: 1px; text-shadow: 0 2px 12px rgba(232,181,74,.35); }
.cs-panel { position: absolute; left: 50%; bottom: calc(11vh + 22px); transform: translateX(-50%); width: min(860px, calc(100% - 32px)); display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px; border-radius: 14px; background: rgba(8, 14, 24, .92); border: 1px solid rgba(232, 181, 74, .35); box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.cs-ico { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: rgba(255,255,255,.05); border: 2px solid; }
.cs-body { flex: 1; min-width: 0; }
.cs-name { font-weight: 700; font-size: 15px; margin: 2px 0 6px; letter-spacing: .3px; }
.cs-text { min-height: 3.2em; font-size: clamp(15px, 1.45vw, 18px); line-height: 1.55; color: #eef2f7; }
#cutscene.narr .cs-text { font-style: italic; color: #d3dae4; }
#cutscene.narr .cs-name { display: none; }
.cs-hint { margin-top: 10px; font-size: 12px; color: var(--text-3); text-align: right; animation: key-wait 1.4s infinite; }
.cs-skip { position: absolute; right: 18px; top: calc(11vh + 14px); padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); color: #dfe5ee; font-size: 13px; cursor: pointer; }
.cs-skip:hover { background: rgba(0,0,0,.8); }
/* hikâye: takipçi ve sekme */
.trk.story { background: linear-gradient(90deg, rgba(232,181,74,.14), transparent); }
.st-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin: 0 0 8px; border-radius: var(--r-md); background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.st-row.st-cur { border-color: rgba(232, 181, 74, .55); background: rgba(232, 181, 74, .07); }
.st-row.st-lock { opacity: .55; }
.st-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--well); color: var(--gold-hi); }
.st-row.st-done .st-n { background: rgba(80, 200, 120, .2); color: #8fe3a5; }
.st-body { flex: 1; display: grid; gap: 4px; font-size: 13px; }
.st-body small.bad { color: #ff9c9c; }
.st-acts { display: flex; flex-direction: column; gap: 4px; }

.fr-invite { width: 100%; margin: 6px 0 4px; }
/* büyütülmüş arayüzde üst menü sığmazsa yazılar gizlenir, gerekirse yana kayar */
html.ui-scaled:not(.mobile) #menu { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
html.ui-scaled:not(.mobile) #menu::-webkit-scrollbar { display: none; }
html.ui-big:not(.mobile) .mbtn { width: 44px; }
html.ui-big:not(.mobile) .mbtn .lbl { display: none; }
.trk-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trk-n { font-weight: 600; color: var(--text); }

/* görev takipçisi: hedef ve harita */
.trk-tg { font-size: 11.5px; color: var(--text-2); margin: 1px 0 2px; }
.trk-tg.here { color: #8fe3a5; }

/* ---------- Kayıp Hazine Denizi ---------- */
.tz-pieces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.tz-piece { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; text-align: center;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2, rgba(255,255,255,.1)); opacity: 0.6; }
.tz-piece.on { opacity: 1; border-color: rgba(232, 207, 150, 0.55); background: linear-gradient(180deg, rgba(232, 207, 150, 0.12), rgba(232, 207, 150, 0.03)); }
.tz-piece .tz-ico { width: 54px; height: 54px; }
.tz-piece .tz-ico svg { width: 100%; height: 100%; display: block; }
.tz-piece b { font-size: 13px; }
.tz-piece small { color: var(--text-2); font-size: 12px; }
.tz-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; }
.tz-row .btn.big { flex: 1; }
.tz-maps { font-size: 14px; }
.tz-maps b { color: var(--gold-hi); font-size: 16px; }
.tz-in { padding: 10px 12px; border-radius: 12px; background: rgba(122, 255, 200, 0.06); border: 1px solid rgba(122, 255, 200, 0.25); }
.tz-feats { display: grid; gap: 8px; }
.tz-feats > div { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.tz-feats span { color: var(--text-2); font-size: 12.5px; }
.tz-open { margin-bottom: 10px; }
.tz-open small { opacity: 0.85; font-weight: 500; }
.ev-chip.ev-tz { border-color: rgba(232, 207, 150, 0.6); }

/* ---------- Sohbet çevirisi ---------- */
#chatLog .tr-able { cursor: pointer; }
#chatLog .tr-able:hover { text-decoration: underline dotted rgba(255, 255, 255, 0.45); text-underline-offset: 3px; }
#chatLog .tr-line { margin: 1px 0 3px 14px; padding-left: 8px; border-left: 2px solid rgba(120, 190, 255, 0.45); font-size: 0.93em; color: #bcd8f2; }
#chatLog .tr-line b { font-weight: 600; color: #7fbfff; font-size: 0.85em; letter-spacing: 0.3px; }
#chatLog .tr-line i { color: var(--text-2, #9fb2c8); }

/* ---------- Sade mod (göz yormayan): arayüzde kayma, parlama ve titreme animasyonları yok ---------- */
html.simple *, html.simple *::before, html.simple *::after { animation: none !important; transition: none !important; }
html.simple #vignette { display: none; }

/* Kaptan kancası imleci (normal gümüş; düşman gemisinin üstünde kırmızı, dost/grup kaptanının üstünde yeşil parlar).
   Yazı alanları, pencere boyutlandırma/taşıma tutamakları ve sürükleme kendi imlecini korur. */
:root { --cur: url(../assets/cursor/kanca.svg) 4 3, url(../assets/cursor/kanca.png) 4 3, auto; }
html:not(.mobile), html:not(.mobile) *:not(input):not(textarea):not(select):not(.win-rs):not(.win-head):not(.layout-handle) { cursor: var(--cur) !important; }
html:not(.mobile) #scene.cur-foe { --cur: url(../assets/cursor/kanca-kirmizi.svg) 4 3, url(../assets/cursor/kanca-kirmizi.png) 4 3, auto; }
html:not(.mobile) #scene.cur-ally { --cur: url(../assets/cursor/kanca-yesil.svg) 4 3, url(../assets/cursor/kanca-yesil.png) 4 3, auto; }
html.ab-drag:not(.mobile), html.ab-drag:not(.mobile) * { cursor: grabbing !important; }

/* Yeni Kaptan Rehberi: giriş ekranı düğmesi ve oyun içi pencere */
.dc-btn.gd-btn { margin-top: 10px; background: linear-gradient(180deg, #f3c463, #c98a26); color: #22160a; box-shadow: 0 6px 18px rgba(232, 181, 74, .35); }
.dc-btn.gd-btn:hover { box-shadow: 0 10px 24px rgba(232, 181, 74, .5); }
.dc-btn.gd-btn small { color: rgba(34, 22, 10, .78); }
.gd-ico { flex: 0 0 auto !important; font-size: 24px; }
#guideOv { position: fixed; inset: 0; z-index: 900; background: rgba(2, 6, 10, .72); display: grid; place-items: center; padding: 3vh 2vw; }
#guideOv .gv-box { width: min(1180px, 100%); height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; }
#guideOv .gv-head { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
#guideOv .gv-head b { font-size: 16px; }
#guideOv .gv-new { margin-left: auto; font-size: 13px; color: var(--text-2); }
#guideOv .gv-new:hover { color: var(--gold); }
#guideOv iframe { flex: 1; width: 100%; border: 0; background: #07111b; }

/* Yönetici: Kaptan Kartı istatistiği tıklanarak değiştirilir */
.cap-stat.editable { position: relative; cursor: pointer; transition: border-color .15s; }
.cap-stat.editable:hover { border-color: var(--gold); }
.cap-stat .cs-edit { position: absolute; top: 6px; right: 8px; font-size: 12px; opacity: .55; }
.cap-stat.editable:hover .cs-edit { opacity: 1; }

/* Deniz Haritası: klan adaları (altın halka, sahip klanın bayrağı ve etiketi) */
.wm-node.isl .pin { box-shadow: 0 0 0 3px rgba(232, 181, 74, .6), 0 0 18px rgba(232, 181, 74, .45); position: relative; }
.wm-node.isl.locked { opacity: 0.85; }
.wm-flag { position: absolute; top: -14px; left: calc(50% + 10px); width: 28px; height: 20px; z-index: 2; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.wm-flag svg { width: 100%; height: 100%; display: block; }
.wm-own { margin-top: 3px; font-size: 11.5px; font-weight: 700; color: #ffd98a; background: rgba(232, 181, 74, .14); border: 1px solid rgba(232, 181, 74, .45); border-radius: 99px; padding: 1px 8px; white-space: nowrap; display: inline-block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.wm-own.mine { color: #9dffc2; background: rgba(92, 207, 138, .14); border-color: rgba(92, 207, 138, .5); }
.wm-own.free { color: #c8d3dd; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); font-weight: 600; }

/* Telefonda sohbet sekmeleri (Ganimet eklenince 5 sekme) dar ekrana sığsın: Discord sadece simge, gerekirse yana kayar */
html.mobile .chat-tabs { overflow-x: auto; scrollbar-width: none; }
html.mobile .chat-tabs::-webkit-scrollbar { display: none; }
html.mobile .chat-tabs button { flex: none; padding-left: 6px; padding-right: 6px; }
html.mobile .chat-dc { flex: none; padding: 0 8px; }
html.mobile .chat-dc span { display: none; }
.el-card .el-img { height: 130px; display: grid; place-items: center; }
.el-card .el-img img, .el-card .el-img svg { max-height: 130px; max-width: 100%; object-fit: contain; }

/* Işınlanma Parşömeni penceresi */
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 10px 0; }
.tp-map { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.tp-map b { min-width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #2a5a8a; font-size: 12px; }
.tp-map span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-map:hover:not(:disabled) { background: rgba(122, 216, 255, .12); border-color: rgba(122, 216, 255, .5); }
.tp-map:disabled { opacity: .45; cursor: default; }
.tp-map.here { outline: 2px solid var(--gold-hi); opacity: .8; }
.note.bad { color: #ff9c9c; }


/* ---------- TRIPO SANAT ÇİZİMLERİ (public/assets/ui) ---------- */
.art { width: 100%; height: 100%; display: block; object-fit: contain; -webkit-user-drag: none; user-select: none; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.65)); }
.art.h-wood { filter: sepia(0.85) saturate(1.5) brightness(0.85) drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.65)); }
.art.h-iron { filter: grayscale(1) brightness(0.75) drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.65)); }

/* ---------- KORSAN TEMASI: oyma ahşap + altın çerçeve (Tripo) ----------
   Pencere tanımına theme: 'pirate' yazılınca devreye girer. Çerçeve resmi pencerenin
   üstüne 9 parça (border-image) olarak biner, köşelerdeki kurukafalı süsler bozulmaz. */
.win.pirate {
  --line: rgba(214, 170, 92, 0.18);
  --line-2: rgba(214, 170, 92, 0.3);
  --line-3: rgba(214, 170, 92, 0.48);
  --raise: rgba(255, 220, 160, 0.035);
  --well: rgba(10, 5, 2, 0.55);
  --text-2: #c9b596;
  --text-3: #98846a;
  padding: 6px 8px 8px;
  border: 0; border-radius: 6px;
  background: radial-gradient(ellipse 120% 70% at 50% 0%, #3a2618, transparent 70%), linear-gradient(180deg, #261a12, #1a110b);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.win.pirate::after {
  content: ''; position: absolute; inset: -9px; z-index: 5; pointer-events: none;
  border: 32px solid transparent;
  border-image: url('../assets/ui/frame.webp') 114 / 32px stretch;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.win.pirate .win-head { height: 52px; padding: 0 18px 0 22px; border-bottom: 1px solid rgba(214, 170, 92, 0.22); }
.win.pirate .win-head h3 {
  text-align: center; font-size: 31px;
  background: linear-gradient(180deg, #fff3c9 0%, #f3cf73 48%, #b8862f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(20, 10, 2, 0.95));
}
.win.pirate .win-head > .ico { color: #f3cf73; }
.win.pirate .win-close, .win.pirate .win-max {
  position: relative; z-index: 6; color: #f0d9a8; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #7a5129, #3b230f);
  box-shadow: inset 0 0 0 1.5px #d6a650, 0 1px 3px rgba(0, 0, 0, 0.8);
}
.win.pirate .win-close:hover { color: #fff; background: radial-gradient(circle at 40% 35%, #c2432c, #6d1a0e); }
.win.pirate .win-max:hover { color: #fff; background: radial-gradient(circle at 40% 35%, #9a6a35, #4a2d15); }
.win.pirate .win-main { scrollbar-color: #8a6428 rgba(0, 0, 0, 0.3); }
.win.pirate .win-side { background: rgba(0, 0, 0, 0.25); border-right: 1px solid var(--line-2); }
.win.pirate .side-btn.on { background: linear-gradient(90deg, rgba(232, 181, 74, 0.2), rgba(232, 181, 74, 0.04)); color: #fff1c4; }
.win.pirate .win-main h4, .win.pirate .slots-sec h6 { display: flex; align-items: center; gap: 10px; color: #f3cf73; letter-spacing: 0.4px; }
.win.pirate .win-main h4::after, .win.pirate .slots-sec h6::after {
  content: ''; flex: 1; order: 1; height: 1px; min-width: 20px; background: linear-gradient(90deg, rgba(243, 207, 115, 0.55), transparent);
}
.win.pirate .slots-sec h6 small { order: 2; color: var(--text-2); }
.win.pirate .card, .win.pirate .ship-show {
  border: 1px solid rgba(201, 154, 72, 0.35);
  background: linear-gradient(180deg, rgba(70, 44, 20, 0.5), rgba(30, 18, 8, 0.65));
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.win.pirate .card:hover { border-color: rgba(243, 207, 115, 0.6); }
.win.pirate .ship-show { background: radial-gradient(ellipse 80% 40% at 50% 34%, rgba(255, 190, 90, 0.14), transparent), linear-gradient(180deg, rgba(70, 44, 20, 0.55), rgba(24, 14, 6, 0.8)); }
.win.pirate .ship-show .statlist { border-top-color: rgba(201, 154, 72, 0.3); }
.win.pirate .card-ico { border: 0; background: url('../assets/ui/slot.png') center / 100% 100% no-repeat; padding: 7px; }
.win.pirate .eqrow:nth-child(odd) { background: rgba(255, 210, 150, 0.03); }
.win.pirate .eqrow:hover { background: rgba(243, 207, 115, 0.09); }
.win.pirate .slotbar i { background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(201, 154, 72, 0.35); }
.win.pirate .btn { border-color: rgba(201, 154, 72, 0.45); background: linear-gradient(180deg, rgba(110, 72, 34, 0.55), rgba(50, 30, 12, 0.7)); color: #f3e2bd; }
.win.pirate .btn:not(:disabled):hover { border-color: #f3cf73; background: linear-gradient(180deg, rgba(140, 94, 44, 0.7), rgba(66, 40, 16, 0.8)); }
.win.pirate .btn.gold {
  color: #2a1803; border: 1px solid #6b4a14;
  background: linear-gradient(180deg, #fff0bf 0%, #f3cf73 40%, #c9952f 75%, #a8761f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(90, 55, 10, 0.5), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.win.pirate .btn.gold:not(:disabled):hover { filter: brightness(1.08); }

/* ---------- SALDIRI ÇUBUĞU: Seafight düzeni, ince ve zarif (masaüstü) ----------
   Üst: TP + can (sol), inci + altın (sağ), ortada çapa amblemi.
   1. satır: 10 hızlı yuva (1-0). 2. satır: Saldır, Durdur, boş, Gülle, Zıpkın, Eşyalar, Kara Barut, Zırh.
   Gülle/zıpkın düğmesinde seçilen eşyanın resmi kalır; tıklayınca liste açılır. */
:root { --abt-h: 18px; --sl: 40px; }
html:not(.mobile) { --ab-h: calc(var(--sl) * 2 + 4px); --above-ab: calc(var(--hud-gap) + var(--ab-h) + var(--abt-h) + 30px); }
#abTop { display: none; }
html:not(.mobile) #btnAttack, html:not(.mobile) #abTog { display: none; }
html:not(.mobile) #actionbar {
  height: auto; gap: 0; padding: calc(var(--abt-h) + 10px) 8px 7px; bottom: calc(var(--hud-gap) + 2px);
  border: 1px solid #0b0603; border-radius: 7px;
  background: linear-gradient(180deg, rgba(46, 30, 18, 0.96), rgba(22, 14, 8, 0.97));
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.55), inset 0 0 0 2px rgba(10, 6, 3, 0.9), inset 0 1px 0 3px rgba(255, 220, 160, 0.05), 0 10px 28px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* köşelerde küçük altın süs (Tripo çerçevesinden, ince) */
html:not(.mobile) #actionbar::after {
  content: ''; position: absolute; inset: -5px; z-index: 3; pointer-events: none;
  border: 16px solid transparent; border-image: url('../assets/ui/frame.webp') 114 / 16px stretch; opacity: 0.95;
}
html:not(.mobile) #actionbar .ab-main { gap: 4px; }
html:not(.mobile) #abSlots, html:not(.mobile) #abCats { gap: 3px; height: var(--sl); }
/* üst şerit */
html:not(.mobile) #abTop { position: absolute; left: 9px; right: 9px; top: 7px; height: var(--abt-h); display: flex; align-items: center; gap: 6px; z-index: 4; }
.abt-bar {
  position: relative; flex: 1; min-width: 0; height: 16px; display: flex; align-items: center; justify-content: center; gap: 4px; overflow: hidden;
  border-radius: 3px; background: #0c0805; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(214, 166, 80, 0.45);
  font: 700 10.5px/1 var(--font-ui); font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 1px 1px #000, 0 0 2px #000; white-space: nowrap;
}
.abt-bar > span:not(.ico) { position: relative; z-index: 1; }
.abt-bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: width 0.25s ease-out; }
.abt-bar.hp > i { background: linear-gradient(180deg, #7fd957, #3d9a22 55%, #2f7d19); }
.abt-bar.hp > i.low { background: linear-gradient(180deg, #ff8a6a, #c63a22 55%, #9c2414); animation: abt-low 0.9s ease-in-out infinite; }
@keyframes abt-low { 50% { filter: brightness(1.35); } }
.abt-bar.xp > i { background: linear-gradient(180deg, #b77df0, #7a3fc0 55%, #622fa3); }
.abt-bar.pearl { background: linear-gradient(180deg, #3fb8b0, #1e817c 55%, #18706b); }
.abt-bar.gold { background: linear-gradient(180deg, #5a8be0, #2a5bbf 55%, #1f4aa0); }
.abt-bar .ico { position: relative; z-index: 1; width: 12px; height: 12px; }
.abt-emb {
  flex: none; width: 30px; height: 22px; margin-top: -2px; display: grid; place-items: center; border-radius: 5px; color: #f3cf73;
  background: radial-gradient(circle at 50% 40%, #5a3c1c, #24160a 80%); box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.7), 0 1px 3px rgba(0, 0, 0, 0.7);
}
.abt-emb svg { width: 15px; height: 15px; filter: drop-shadow(0 1px 1px #000); }
/* yuvalar: hepsi aynı boyda kare, Tripo yuva resmi */
#actionbar .slot, #actionbar .ab-cat, #actionbar .ab-tog, #actionbar .ab-cmd {
  position: relative; z-index: 4; flex: none; width: var(--sl); height: var(--sl); padding: 0; border: 0; border-radius: 3px;
  background: url('../assets/ui/slot.png') center / 100% 100% no-repeat; box-shadow: none; color: #f3e2bd;
  display: block; transition: filter 0.12s, box-shadow 0.15s;
}
#actionbar .slot:hover, #actionbar .ab-cat:hover, #actionbar .ab-tog:hover, #actionbar button.ab-cmd:hover { filter: brightness(1.22); }
#actionbar .slot > span { top: 5px; width: 26px; height: 26px; }
#actionbar .slot em, #actionbar .ab-cat .ab-cn, #actionbar .ab-tog em {
  position: absolute; left: 1px; right: 1px; bottom: 2px; margin: 0; padding: 0; text-align: center; font: 700 9.5px/1 var(--font-ui); color: #fff; text-shadow: 0 1px 1px #000, 0 0 2px #000;
}
#actionbar .slot kbd, #actionbar .ab-cmd kbd, #actionbar .ab-tog kbd {
  left: auto; right: 2px; top: 2px; height: 11px; min-width: 11px; padding: 0 2px; font-size: 8.5px; line-height: 10px;
  color: #f3e2bd; background: rgba(24, 12, 4, 0.9); border: 1px solid rgba(214, 166, 80, 0.6); border-radius: 2px; box-shadow: none;
}
#actionbar .slot.on, #actionbar .ab-cat.on { box-shadow: 0 0 0 1.5px #f3cf73, 0 0 10px rgba(243, 190, 80, 0.6); }
#actionbar .slot.free { opacity: 0.55; }
#actionbar .slot.free::after { color: rgba(243, 226, 189, 0.25); font-size: 16px; }
/* kategori düğmesi = seçili eşyanın resmi + köşede küçük açılır ok */
#actionbar .ab-cat .ab-cl { display: none; }
#actionbar .ab-cat .ab-ci { position: absolute; left: 7px; top: 5px; width: 26px; height: 26px; }
#actionbar .ab-cat .ab-car { position: absolute; right: 2px; top: 2px; width: 9px; height: 9px; margin: 0; padding: 1px; border-radius: 2px; background: rgba(24, 12, 4, 0.9); color: #f3cf73; opacity: 1; }
#actionbar .ab-cat .ab-dot { left: 3px; top: 3px; }
#actionbar .ab-cat[data-cat="items"] .ab-ci { top: 7px; }
/* Saldır / Durdur */
#actionbar .ab-cmd > span { position: absolute; inset: 4px; }
#actionbar .ab-cmd.atk.on { box-shadow: 0 0 0 1.5px #ff9a72, 0 0 12px rgba(255, 90, 50, 0.8); animation: medal-pulse 0.9s ease-in-out infinite; }
#actionbar .ab-cmd.stop > span { filter: grayscale(0.85) brightness(0.75); }
#actionbar .ab-cmd.stop::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #e5341e; box-shadow: 0 0 3px rgba(0, 0, 0, 0.8); transform: rotate(-45deg); }
#actionbar .ab-cmd.stop.live > span { filter: none; }
#actionbar .ab-cmd.blank { opacity: 0.45; }
@keyframes medal-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
/* Kara Barut / Zırh: açıkken yeşil halka, altında adet */
#actionbar .ab-tog .tg-ic { position: absolute; left: 7px; top: 4px; width: 26px; height: 26px; }
#actionbar .ab-tog .tg-st { display: none; }
#actionbar .ab-tog.on { box-shadow: 0 0 0 1.5px #6dff9a, 0 0 10px rgba(109, 255, 154, 0.55); }
#actionbar .ab-reset { position: relative; z-index: 4; width: 18px; height: var(--sl); border-radius: 3px; font-size: 12px; color: #c9b08a; border: 1px solid rgba(214, 166, 80, 0.3); background: rgba(0, 0, 0, 0.25); }
html:not(.mobile) #camBack { bottom: calc(100% + 10px); }

/* Gemi penceresi: dolu yuvalar altın görünsün */
.win.pirate .slotbar i.f { background: linear-gradient(180deg, #ffe08a, #d9a53c); box-shadow: 0 0 0 1px #6b4a14, 0 0 4px rgba(243, 190, 80, 0.5); }

/* ---------- KORSAN HUD: üst menü, durum, hedef, sohbet, harita (Tripo çerçeve + koyu ahşap) ---------- */
#topbar {
  background:
    repeating-linear-gradient(90deg, rgba(255, 200, 130, 0.025) 0 3px, transparent 3px 41px, rgba(0, 0, 0, 0.12) 41px 43px, transparent 43px 85px),
    linear-gradient(180deg, rgba(48, 32, 19, 0.97), rgba(26, 17, 10, 0.95));
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.9), inset 0 -3px 0 rgba(214, 166, 80, 0.55), 0 6px 22px rgba(0, 0, 0, 0.45);
}
.brand { color: #f3cf73; text-shadow: 0 2px 0 rgba(20, 10, 2, 0.9), 0 0 14px rgba(243, 190, 80, 0.25); }
.mbtn { color: #d8c39e; text-shadow: 0 1px 1px #000; gap: 2px; }
.mbtn .ring { width: 32px; height: 32px; transition: transform 0.15s; }
.mbtn:hover { color: #fff1c4; background: rgba(243, 207, 115, 0.08); }
.mbtn:hover .ring { transform: translateY(-1px) scale(1.08); }
.mbtn.on { color: #fff1c4; background: radial-gradient(ellipse at 50% 40%, rgba(243, 207, 115, 0.22), transparent 70%); }
.mbtn.on::after { background: linear-gradient(90deg, transparent, #f3cf73, transparent); left: 8px; right: 8px; }
html.mobile .mbtn .ring { width: 30px; height: 30px; }
.cur { background: rgba(10, 6, 3, 0.55); border-color: rgba(214, 166, 80, 0.4); }

/* oyun içi paneller: koyu ahşap, ince altın çizgi, köşelerde küçük süs */
#status, #target, #chat, #minimap, #groupPanel, #tracker > *, #abPop, .ctx-menu, #zoomPanel {
  background: linear-gradient(180deg, rgba(44, 29, 17, 0.94), rgba(22, 14, 8, 0.95));
  border: 1px solid #0b0603; border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.5), inset 0 0 0 2px rgba(10, 6, 3, 0.85), 0 8px 24px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
#status::after, #target::after, #chat::after, #minimap::after, #groupPanel::after {
  content: ''; position: absolute; inset: -4px; z-index: 3; pointer-events: none;
  border: 14px solid transparent; border-image: url('../assets/ui/frame.webp') 114 / 14px stretch;
}
#target { border-color: #0b0603; }
#status .st-name, #target .tg-name { color: #fff1c4; text-shadow: 0 1px 1px #000; }
#status .lvl { background: rgba(10, 6, 3, 0.6); border-color: rgba(214, 166, 80, 0.55); color: #f3cf73; }
.portrait { border-color: rgba(214, 166, 80, 0.55) !important; background: radial-gradient(circle at 50% 40%, #4a3018, #1a0f06 80%) !important; }
#target .tg-sub { color: #c9b596; }
#target .btn { border-color: rgba(214, 166, 80, 0.45); background: linear-gradient(180deg, rgba(110, 72, 34, 0.55), rgba(50, 30, 12, 0.7)); color: #f3e2bd; }
#target .btn.red { color: #ffd2c6; border-color: rgba(229, 84, 63, 0.6); background: linear-gradient(180deg, rgba(150, 40, 24, 0.6), rgba(70, 16, 8, 0.75)); }
#tgLoot .chest { border-color: rgba(214, 166, 80, 0.55); background: radial-gradient(circle at 50% 40%, #4a3018, #1a0f06 80%); }
.chat-tabs button { color: #c9b596; }
.chat-tabs button.on { color: #2a1803; background: linear-gradient(180deg, #ffe9a8, #d9a53c); text-shadow: none; }
.chat-tabs button:not(.on):hover { color: #fff1c4; background: rgba(243, 207, 115, 0.1); }
#chatLog { background: rgba(8, 5, 2, 0.45); border: 1px solid rgba(214, 166, 80, 0.2); border-radius: 4px; }
#chat input, #coordIn { background: rgba(8, 5, 2, 0.6); border-color: rgba(214, 166, 80, 0.35); }
.mm-head #mmName { color: #f3cf73; }
#mm { outline-color: rgba(214, 166, 80, 0.4); }

/* ---------- GÖREV PANOSU: ahşap pano + parşömen şeritler + parşömen sayfa (Tripo) ---------- */
.qb { display: grid; grid-template-columns: minmax(250px, 36%) 1fr; gap: 16px; height: calc(100% - 58px); min-height: 430px; }
.qb-board {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-radius: 6px; overflow-y: auto;
  background: url('../assets/ui/q_wood.jpg') center / 260px auto repeat, #2a1a0e;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 26px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(214, 166, 80, 0.35);
}
.qb-head { margin: 10px 4px 2px; font: 400 17px/1 var(--font-display); color: #f3cf73; text-shadow: 0 1px 2px #000; }
.qb-strip {
  position: relative; flex: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 18px;
  text-align: left; color: #3b2410; font: 600 14px/1.2 Georgia, 'Times New Roman', serif;
  background: url('../assets/ui/q_strip.webp') center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)); transition: transform 0.12s, filter 0.12s;
}
.qb-strip:hover { transform: translateX(3px); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) brightness(1.06); }
.qb-strip.on { transform: translateX(6px); filter: drop-shadow(0 0 6px rgba(255, 210, 120, 0.55)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6)) brightness(1.08); }
.qb-strip .qb-seal { flex: none; width: 30px; height: 30px; margin-left: -6px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5)); }
.qb-strip .qb-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qb-strip small { flex: none; padding: 2px 6px; border-radius: 3px; font: 700 10.5px/1.2 var(--font-ui); color: #f3e2bd; background: rgba(59, 36, 16, 0.85); }
.qb-strip.ready small { background: #2f7d19; color: #fff; }
.qb-strip.locked { opacity: 0.6; filter: grayscale(0.4) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)); }
.qb-strip.done { opacity: 0.55; }
.qb-empty { padding: 26px 10px; text-align: center; color: #e7d3ae; font-size: 13.5px; text-shadow: 0 1px 2px #000; }
.qb-more { margin-top: 8px; align-self: center; padding: 5px 12px; border-radius: 4px; font-size: 12px; color: #f3e2bd; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(214, 166, 80, 0.4); }
.qb-right { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.qb-page {
  position: relative; flex: 1; min-height: 0; padding: 9% 13% 90px 12%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(110, 66, 20, 0.6) transparent;
  background: url('../assets/ui/q_page.webp') center / 100% 100% no-repeat;
  color: #3b2410; font: 14.5px/1.55 Georgia, 'Times New Roman', serif;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}
.qb-page h3 { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 26px/1.15 var(--font-display); color: #4a2a0c; }
.qb-page h3 .daily { padding: 2px 7px; border-radius: 3px; font: 700 10px/1.3 var(--font-ui); letter-spacing: 0.5px; color: #fff3d6; background: #8a5a1c; }
.qb-rule { height: 2px; margin: 8px 0 12px; background: linear-gradient(90deg, transparent, rgba(110, 66, 20, 0.7) 15%, rgba(110, 66, 20, 0.7) 85%, transparent); }
.qb-desc { margin: 0 0 10px; }
.qb-goal { margin: 6px 0; font-weight: 700; color: #5a3410; }
.qb-page .qwhere { margin: 4px 0 8px; font: 13px/1.4 var(--font-ui); color: #5a3a1a; }
.qb-page .qwhere b { color: #3b2410; }
.qb-page .qwhere.here { color: #2f6b18; }
.qb-page .bar.xp { height: 16px; margin: 8px 0; background: rgba(59, 36, 16, 0.25); box-shadow: inset 0 0 0 1px rgba(59, 36, 16, 0.5); }
.win.pirate .qb-page h4 { display: block; margin: 14px 0 6px; font: 400 20px/1 var(--font-display); color: #4a2a0c; letter-spacing: 0; }
.win.pirate .qb-page h4::after { display: none; }
.qb-page .rewards { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 13.5px/1.3 var(--font-ui); color: #3b2410; }
.qb-page .rewards span { display: inline-flex; align-items: center; gap: 5px; }
.qb-page .rewards .ico { width: 20px; height: 20px; }
.qb-bigseal { position: absolute; left: 11%; bottom: 7%; width: 64px; height: 64px; opacity: 0.95; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45)); pointer-events: none; }
.qb-foot {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 7px 12px; border-radius: 6px;
  background: url('../assets/ui/q_wood.jpg') center / 260px auto repeat, #2a1a0e;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 18px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(214, 166, 80, 0.35);
}
.qb-foot .btn { min-width: 150px; height: 36px; font-size: 14px; }
.qb-note { font: 600 13.5px/1 var(--font-ui); color: #f3e2bd; text-shadow: 0 1px 2px #000; }
html.mobile .qb { grid-template-columns: 1fr; }

/* ---------- KORSAN TEMASI: bütün pencereler ---------- */
.win.pirate .win-body { background: linear-gradient(rgba(22, 14, 8, 0.8), rgba(18, 11, 6, 0.86)), url('../assets/ui/q_wood.jpg') center / 320px auto repeat; border-radius: 0 0 4px 4px; }
.win.pirate .win-side { background: rgba(0, 0, 0, 0.38); }
.win.pirate .side-btn { color: #d8c39e; }
.win.pirate .side-btn:hover { color: #fff1c4; background: rgba(243, 207, 115, 0.08); }
.win.pirate .side-btn.on::before { background: linear-gradient(180deg, #ffe08a, #c9952f); }
/* yatay sekmeler: küçük parşömen şeritler */
.win.pirate .tabs-row { gap: 6px; border-bottom: 1px solid rgba(214, 166, 80, 0.25); padding-bottom: 8px; }
.win.pirate .tabs-row button {
  height: 34px; padding: 0 18px; color: #4a2a0c; font: 700 13px/1 Georgia, 'Times New Roman', serif;
  background: url('../assets/ui/q_strip.webp') center / 100% 100% no-repeat; opacity: 0.62;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); transition: opacity 0.12s, transform 0.12s;
}
.win.pirate .tabs-row button:hover { opacity: 0.85; color: #3b2410; }
.win.pirate .tabs-row button.on { opacity: 1; color: #3b2410; transform: translateY(-1px); }
.win.pirate .tabs-row button.on::after { display: none; }
/* giriş kutuları */
.win.pirate input, .win.pirate select, .win.pirate textarea { background: rgba(8, 5, 2, 0.6); border-color: rgba(214, 166, 80, 0.38); color: #f3e2bd; }
.win.pirate input:focus, .win.pirate select:focus, .win.pirate textarea:focus { border-color: #f3cf73; }
.win.pirate p.note, .win.pirate .sub { color: #c9b596; }

/* Deniz Haritası: eski deniz haritası (parşömen) */
.win.pirate .wm-scroll { border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 0 0 3px rgba(214, 166, 80, 0.45), inset 0 0 30px rgba(60, 30, 5, 0.5); }
.win.pirate .worldmap:not(.wm3) {
  background: url('../assets/ui/q_seamap.jpg') center / 100% 100% no-repeat, #e2c99a;
  box-shadow: inset 0 0 60px rgba(90, 50, 10, 0.45);
}
.win.pirate .worldmap:not(.wm3) svg path[stroke-dasharray] { stroke: #8a3a14; opacity: 0.75; }
.win.pirate .worldmap:not(.wm3) svg text { fill: #4a2a0c; font-family: Georgia, 'Times New Roman', serif; }
.win.pirate .worldmap:not(.wm3) svg path:not([stroke-dasharray]) { stroke: #6b3d12; opacity: 0.5; }
.win.pirate .wm-node { color: #3b2410; text-shadow: 0 0 3px rgba(255, 240, 210, 0.9), 0 0 6px rgba(255, 240, 210, 0.7); }
.win.pirate .wm-node b { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.win.pirate .wm-node small { color: #6b4a22; }
.win.pirate .wm-node .cnt { color: #2f6b18; }
.win.pirate .wm-node.here b { color: #9a2a10; }
.win.pirate .wm-node .pin { background: radial-gradient(circle at 40% 30%, #c0392b, #6d140c); box-shadow: 0 0 0 2px #3b2410, 0 0 0 3px rgba(243, 207, 115, 0.8), 0 3px 6px rgba(0, 0, 0, 0.45); }
.win.pirate .wm-node.here .pin { background: radial-gradient(circle at 40% 30%, #ffe7a8, #d49b30); box-shadow: 0 0 0 2px #3b2410, 0 0 0 3px #fff3c9, 0 0 16px rgba(255, 200, 80, 0.8); color: #3b2410; }
.win.pirate .wm-own { color: #5a2a0a; text-shadow: none; }

/* Kaptan Kartı: parşömen */
.win.pirate .cap-card {
  border: 0; border-radius: 4px; color: #3b2410;
  background: linear-gradient(rgba(255, 245, 225, 0.12), rgba(120, 70, 20, 0.12)), url('../assets/ui/q_parch.jpg') center / 360px auto repeat;
  box-shadow: 0 0 0 1px #3b2410, 0 0 0 3px rgba(214, 166, 80, 0.6), inset 0 0 30px rgba(110, 60, 15, 0.45), 0 6px 14px rgba(0, 0, 0, 0.5);
}
.win.pirate .cap-name { color: #4a2a0c; text-shadow: 0 1px 0 rgba(255, 240, 210, 0.6); }
.win.pirate .cap-sub, .win.pirate .cap-clan, .win.pirate .cap-meta { color: #5a3a1a; }
.win.pirate .cap-clan small, .win.pirate .cap-clan.none, .win.pirate .cap-seen { color: #7a5a32; }
.win.pirate .cap-seen.on { color: #2f6b18; }
.win.pirate .cap-title { color: #9a4a10; }
.win.pirate .cap-ach { background: rgba(59, 36, 16, 0.12); border-color: rgba(110, 66, 20, 0.45); }
.win.pirate .cap-ach b { color: #7a3a0a; }
.win.pirate .cap-ach small { color: #5a3a1a; }
.win.pirate .cap-ship { border-color: #3b2410; box-shadow: 0 0 0 2px rgba(214, 166, 80, 0.6); }
.win.pirate .cap-stat {
  border: 0; border-radius: 3px; color: #3b2410;
  background: url('../assets/ui/q_parch.jpg') center / 300px auto repeat;
  box-shadow: 0 0 0 1px rgba(59, 36, 16, 0.7), inset 0 0 14px rgba(110, 60, 15, 0.4), 0 2px 4px rgba(0, 0, 0, 0.45);
}
.win.pirate .cap-stat b { color: #3b2410; }
.win.pirate .cap-stat small { color: #6b4a22; }
.win.pirate .cs-ico { color: #8a5a22; }

/* Toplam Elit Puan (hep birikir) */
.el-total { margin-left: auto; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 10px 16px; border-radius: 6px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(159, 247, 211, 0.35); }
.el-total b { font-size: 24px; line-height: 1.1; color: #f3cf73; font-variant-numeric: tabular-nums; }
.el-ev { margin: 4px 0 10px; padding: 10px 14px; border-radius: 6px; font-size: 14px; color: #2a1803; background: linear-gradient(180deg, #ffe9a8, #e2b04a); box-shadow: 0 0 0 1px #6b4a14, 0 0 14px rgba(243, 190, 80, 0.45); }

/* Oyun içi onay / soru penceresi (confirm/prompt yerine) */
.ask-modal { z-index: 60; }
.ask-dlg {
  width: min(420px, 100%); padding: 26px 26px 20px; border-radius: 8px;
  background: linear-gradient(rgba(30, 19, 10, 0.92), rgba(20, 12, 6, 0.95)), url('../assets/ui/q_wood.jpg') center / 300px auto repeat;
  box-shadow: 0 0 0 1px #0b0603, 0 0 0 3px rgba(214, 166, 80, 0.6), 0 20px 50px rgba(0, 0, 0, 0.7);
}
.ask-dlg .ask-txt { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: #f3e2bd; white-space: pre-line; }
.ask-dlg .ask-in { width: 100%; height: 38px; margin: -6px 0 18px; padding: 0 12px; border-radius: 6px; font-size: 15px; color: #f3e2bd; background: rgba(8, 5, 2, 0.6); border: 1px solid rgba(214, 166, 80, 0.45); }
.ask-dlg .ask-in:focus { outline: none; border-color: #f3cf73; }
.ask-btns { display: flex; justify-content: center; gap: 10px; }
.ask-btns .btn { min-width: 120px; height: 36px; }

/* =====================================================================
   12. TELEFON — KORSAN TEMASI (masaüstündeki ahşap/altın görünümün telefona uyarlanmışı)
   ===================================================================== */
/* üst çubuk: koyu ahşap, tam opak; menü simgeleri sığacak kadar küçük, sağda kaydırma ipucu */
html.mobile #topbar { background: linear-gradient(180deg, #30201a, #1a110a); }
html.mobile #menu { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); padding-right: 18px; }
html.mobile #menu.end { -webkit-mask-image: none; mask-image: none; }
html.mobile .mbtn { width: 37px; height: 42px; padding: 0; }
html.mobile .mbtn .ring { width: 28px; height: 28px; }
html.mobile .mbtn.on::after { left: 5px; right: 5px; }
html.mobile .mbtn .badge { top: 2px; right: 0; transform: scale(0.85); }
html.mobile .cur { height: 26px; padding: 0 7px 0 5px; }
html.mobile .cur b { font-size: 11.5px; }
html.mobile #btnFull { width: 30px; height: 30px; font-size: 15px; background: radial-gradient(circle at 40% 35%, #5a3c1c, #24160a); box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.6); border: 0; color: #f3cf73; }

/* durum çerçevesi: ad tam görünsün, ince TP çubuğu */
html.mobile #status { width: 232px; }
html.mobile #status .bar.xp { display: block; height: 5px; }
html.mobile #status .bar.xp span { display: none; }

/* cephane çubuğu: masaüstündeki gibi koyu ahşap + Tripo yuvaları, tek satır */
html.mobile { --sl: 42px; --ab-h: 58px; }
html.mobile #actionbar {
  height: var(--ab-h); padding: 7px 8px; gap: 4px; align-items: center;
  border: 1px solid #0b0603; border-radius: 7px;
  background: linear-gradient(180deg, #2e1e12, #160e08);
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.55), inset 0 0 0 2px rgba(10, 6, 3, 0.9), 0 8px 22px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.mobile #actionbar .ab-main { gap: 4px; }
html.mobile #abSlots, html.mobile #abCats, html.mobile #abTog { display: flex; gap: 3px; height: var(--sl); align-items: center; }
html.mobile #abCats { order: -1; grid-template-columns: none; padding-right: 5px; margin-right: 2px; border-right: 1px solid rgba(214, 166, 80, 0.3); }
html.mobile #abTog { padding-left: 5px; border-left: 1px solid rgba(214, 166, 80, 0.3); }
html.mobile #actionbar .slot, html.mobile #actionbar .ab-cat, html.mobile #actionbar .ab-tog { width: var(--sl); height: var(--sl); border-radius: 3px; }
html.mobile #actionbar .slot > span, html.mobile #actionbar .ab-cat .ab-ci, html.mobile #actionbar .ab-tog .tg-ic { left: calc(50% - 13px); top: 5px; width: 26px; height: 26px; transform: none; }
html.mobile #actionbar .ab-cat[data-cat="items"] .ab-ci { top: 7px; }
html.mobile #actionbar .ab-cat .ab-cn { display: block; }
html.mobile #actionbar .ab-cat .ab-car { display: block; }
html.mobile #actionbar .ab-cat .ab-dot { left: 3px; top: 3px; right: auto; }
html.mobile #actionbar .slot.free::after { padding-top: 0; }
html.mobile #actionbar .ab-reset { width: 20px; height: var(--sl); border-radius: 3px; font-size: 12px; color: #c9b08a; border: 1px solid rgba(214, 166, 80, 0.3); background: rgba(0, 0, 0, 0.25); }
html.mobile #actionbar .ab-tog kbd, html.mobile #actionbar .ab-tog .tg-st { display: none; }

/* Saldır: Tripo madalyonu, altında küçük ahşap etiket */
html.mobile #btnAttack {
  width: 84px; height: 84px; padding: 0; gap: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #5a3418, #24140a 72%);
  box-shadow: inset 0 0 0 2px #d6a650, inset 0 0 0 4px rgba(10, 6, 3, 0.9), 0 6px 20px rgba(0, 0, 0, 0.6);
}
html.mobile #btnAttack .ico { position: absolute; inset: 6px; width: auto; height: auto; }
html.mobile #btnAttack .ico img, html.mobile #btnAttack .ico .art { width: 100%; height: 100%; }
html.mobile #btnAttack em {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 2; padding: 2px 9px; border-radius: 4px;
  font: 700 11.5px/1.2 var(--font-ui); color: #fff1c4; text-shadow: 0 1px 1px #000; white-space: nowrap;
  background: linear-gradient(180deg, #5a3c1c, #2a1a0c); box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.7), 0 2px 4px rgba(0, 0, 0, 0.6);
}
html.mobile #btnAttack:active { transform: scale(0.95); }
html.mobile #btnAttack.on { background: radial-gradient(circle at 50% 42%, #8a2a14, #3a0e06 72%); box-shadow: inset 0 0 0 2px #ff9a72, inset 0 0 0 4px rgba(10, 6, 3, 0.9), 0 0 22px rgba(255, 90, 50, 0.7); animation: medal-pulse 0.9s ease-in-out infinite; }
html.mobile #btnAttack.on em { color: #fff; background: linear-gradient(180deg, #c2432c, #6d1a0e); }
html.mobile #btnAttack .cdbars { left: 20px; right: 20px; bottom: 12px; z-index: 1; }

/* yuvarlak düğmeler (hedef, sohbet): pirinç/ahşap */
html.mobile .mob-round {
  width: 44px; height: 44px; font-size: 20px;
  background: radial-gradient(circle at 40% 35%, #5a3c1c, #24160a 80%);
  border: 0; box-shadow: inset 0 0 0 1.5px #d6a650, inset 0 0 0 3px rgba(10, 6, 3, 0.85), 0 4px 12px rgba(0, 0, 0, 0.55);
}
html.mobile .mob-round.on { background: radial-gradient(circle at 40% 35%, #8a6428, #3b230f 80%); box-shadow: inset 0 0 0 1.5px #ffe08a, 0 0 12px rgba(243, 190, 80, 0.55); }
html.mobile .mob-round span { filter: drop-shadow(0 1px 1px #000); }
html.mobile #mobBtns { right: max(30px, env(safe-area-inset-right)); bottom: calc(max(8px, env(safe-area-inset-bottom)) + 100px); }

/* sohbet: telefonda da korsan paneli; sekmeler küçük */
html.mobile .chat-tabs button { height: 24px; font-size: 11.5px; }

/* pencereler: ince çerçeve, küçük başlık (ekranın tamamı içeriğe kalsın) */
html.mobile .win.pirate { padding: 4px 6px 6px; border-radius: 0; }
html.mobile .win.pirate::after { inset: -2px; border-width: 16px; border-image: url('../assets/ui/frame.webp') 114 / 16px stretch; }
html.mobile .win.pirate .win-head { height: 40px; padding: 0 8px 0 14px; }
html.mobile .win.pirate .win-head h3 { font-size: 22px; }
html.mobile .win.pirate .win-head > .ico { width: 24px; height: 24px; }
html.mobile .win.pirate .win-close, html.mobile .win.pirate .win-max { width: 34px; height: 34px; }
html.mobile .win-main { padding: 10px 12px; }
html.mobile .win.pirate .win-main h4 { font-size: 16px; margin-bottom: 6px; }
html.mobile .win.pirate .tabs-row { padding-bottom: 6px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
html.mobile .win.pirate .tabs-row::-webkit-scrollbar { display: none; }
html.mobile .win.pirate .tabs-row button { flex: none; height: 30px; padding: 0 14px; font-size: 12px; }
html.mobile .win-side { width: 128px; }
html.mobile .side-btn { min-height: 34px; font-size: 12.5px; padding: 3px 6px; }
html.mobile .side-btn .ico { width: 18px; height: 18px; }

/* görev panosu: yatay ekranda iki sütun (solda şeritler, sağda sayfa) */
html.mobile .qb { grid-template-columns: minmax(190px, 36%) 1fr; gap: 10px; height: calc(100% - 46px); min-height: 0; }
html.mobile .qb-board { padding: 8px 8px; gap: 4px; }
html.mobile .qb-head { margin: 6px 2px 0; font-size: 14px; }
html.mobile .qb-strip { min-height: 36px; padding: 5px 12px 5px 14px; font-size: 12.5px; }
html.mobile .qb-strip:hover, html.mobile .qb-strip.on { transform: none; }
html.mobile .qb-strip .qb-seal { width: 22px; height: 22px; margin-left: -4px; }
html.mobile .qb-strip small { font-size: 9.5px; padding: 1px 4px; }
html.mobile .qb-right { gap: 6px; }
html.mobile .qb-page { padding: 8% 10% 60px 13%; font-size: 13px; line-height: 1.45; }
html.mobile .qb-page h3 { font-size: 19px; }
html.mobile .win.pirate .qb-page h4 { font-size: 16px; margin: 10px 0 4px; }
html.mobile .qb-bigseal { width: 44px; height: 44px; }
html.mobile .qb-foot { min-height: 40px; padding: 4px 8px; }
html.mobile .qb-foot .btn { min-width: 120px; height: 32px; font-size: 13px; }
@media (orientation: portrait) {
  html.mobile .qb { grid-template-columns: 1fr; grid-template-rows: minmax(120px, 34%) 1fr; }
}

/* bildirimler / onay penceresi telefonda */
html.mobile .ask-dlg { padding: 18px 16px 14px; }
html.mobile .ask-dlg .ask-txt { font-size: 14px; margin-bottom: 12px; }

/* ---------- RÜTBE NİŞANLARI (Tripo, 6 kademe + 1-5 yıldız) ---------- */
.rbdg { position: relative; display: inline-block; flex: none; width: 30px; height: 30px; margin-right: 6px; vertical-align: middle; }
.rbdg img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); }
.rbdg i { position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); font: 700 8px/1 system-ui, sans-serif; font-style: normal; letter-spacing: -0.5px; white-space: nowrap; color: #ffd86a; text-shadow: 0 0 2px #000, 0 0 2px #000, 0 1px 1px #000; }
.rbdg.sm { width: 20px; height: 20px; margin-right: 4px; }
.rbdg.sm i { font-size: 6px; bottom: -4px; }
.st-rank:empty { display: none; }
.st-rank .rbdg { width: 22px; height: 22px; margin: -4px 4px -4px 0; }
.st-rank .rbdg i { font-size: 6.5px; bottom: -4px; }
.st-xrank .rbdg { margin: -4px 0 -4px 2px; }   /* 30 Kasım 2026: TP rütbe nişanı ismin sağında */
.xrbdg i { color: #9fe3ff; }
/* 1 Aralık 2026 (kullanıcı): TP rütbe nişanı eski boyutun 1,5 katı; ismin yanında taşarak durur, satır yüksekliğini büyütmez */
.st-xrank .rbdg.xrbdg { width: 33px; height: 33px; margin: -9px 0 -9px 1px; top: 1px; }
.xrbdg img { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8)); }
.rbdg.xrbdg.big, .rbdg.spbdg.big { width: 30px; height: 30px; margin: -6px 4px -6px 0; }
/* 1 Aralık 2026 (kullanıcı): sıralama rütbe nişanı da eski boyutun 1,5 katı (her rütbenin kendi resmi, yıldız yok) */
.st-rank .rbdg.spbdg { width: 33px; height: 33px; margin: -9px 3px -9px -2px; top: 1px; }
.spbdg img { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8)); }
.cap-rk { margin: 4px 0 2px; max-width: 320px; }
.cap-rk .bar.xp { height: 8px; margin-bottom: 2px; }
.cap-rk small { font-size: 11.5px; opacity: 0.85; }
.rk-name { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.rk-list tr.done { opacity: 0.6; }
.rk-list .prices { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }

/* Yönetici → Davranış Raporu */
.beh-list td { vertical-align: middle; }
.beh-score { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 5px; font-variant-numeric: tabular-nums; color: #fff; background: #2f7d19; }
.beh-mid .beh-score { background: #c27a12; }
.beh-hi .beh-score { background: #b42318; box-shadow: 0 0 8px rgba(255, 70, 40, 0.6); }
.beh-hi td { background: rgba(180, 35, 24, 0.14); }
/* bilgi kutusu (ör. yasaklı hesap açıklaması) */
.tell-title { margin: 0 0 12px; text-align: center; font: 400 24px/1.2 var(--font-display); color: #f3cf73; }
.tell-dlg .ask-txt { text-align: left; }
#lostWhy { white-space: pre-line; }
.ban-why { max-width: 260px; white-space: normal; word-break: break-word; }
/* 2 Aralık 2026: Cezalılar sekmesi tabloları dar ekranda yana kayar */
.adm-scroll { max-width: 100%; overflow-x: auto; margin-bottom: 14px; }
/* Elit Puan Gemileri: şart ilerlemesi */
.ep-req { width: 100%; }
.ep-req .bar.xp { height: 7px; margin: 4px 0 3px; }
.ep-req small { font-size: 11.5px; opacity: 0.85; }
/* Seviye sınavı (Görevler → ⚔ 51. Seviye Sınavı) */
.win.pirate .tabs-row button.gate-tab { color: #7a1a0a; }
.win.pirate .tabs-row button.gate-tab.done { color: #2f6b18; }
.gate-page { flex: none; height: calc(100% - 58px); padding: 7% 12% 60px 12%; }
.gate-row { margin: 12px 0; }
.gate-lbl { display: flex; justify-content: space-between; font: 600 14px/1.3 var(--font-ui); color: #3b2410; }
.gate-row .bar.xp { height: 14px; margin-top: 4px; background: rgba(59, 36, 16, 0.25); box-shadow: inset 0 0 0 1px rgba(59, 36, 16, 0.5); }
.gate-row.ok .bar.xp i { background: linear-gradient(180deg, #7fd957, #2f7d19); }
.gate-st { margin-top: 16px; font-weight: 700; color: #7a3a0a; }
.gate-st.ok { color: #2f6b18; }

/* Sol üst gemi bilgisi (masaüstü): can ve TP alttaki saldırı çubuğunda zaten var; burada sadece
   portre, rütbe, isim, seviye ve bilgilendirme simgeleri (buff) görünür. Telefonda çubuklar kalır. */
html:not(.mobile) #status .bar.hp, html:not(.mobile) #status .bar.xp { display: none; }
html:not(.mobile) #status .st-main { justify-content: center; }
html:not(.mobile) #status .buffs:empty { display: none; }

/* ---- 27 Ekim 2026: sol üstte sadece etkin buff/debuff simgeleri (kutu yok), biraz büyük (masaüstü) ---- */
html:not(.mobile) #status { width: auto; padding: 0; background: none; border: 0; box-shadow: none; pointer-events: none; }
html:not(.mobile) #status::after { display: none; }
html:not(.mobile) #status .portrait, html:not(.mobile) #status .st-name { display: none; }
html:not(.mobile) #status .buffs { gap: 6px; pointer-events: auto; }
html:not(.mobile) #status .buff { width: 38px; height: 38px; padding: 4px; border-radius: 8px; border-width: 1.5px;
  background: radial-gradient(circle at 50% 40%, rgba(70, 46, 22, 0.92), rgba(20, 12, 6, 0.92)); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55); }
html:not(.mobile) #status .buff.bad { background: radial-gradient(circle at 50% 40%, rgba(150, 40, 24, 0.9), rgba(60, 10, 4, 0.92)); }
/* 5 Aralık 2026m: topun özel etkisi şu an tetiklenmiş (Tufan'ın hasar artışı, 3 kat kritik): altın çerçeve, çıkarken kısa parlama */
#status #stBuffs > .buff.gun-on { border-color: #ffd34a; box-shadow: 0 0 0 1px rgba(255, 211, 74, .55), 0 0 8px rgba(255, 186, 60, .75); animation: pop-in var(--t-med) var(--ease), gun-on 1s ease-out; }
@keyframes gun-on { 0% { filter: brightness(1.9); } 100% { filter: none; } }

/* ---- saldırı çubuğu %120 (masaüstü) ---- */
html:not(.mobile) #actionbar { zoom: 1.2; }
html:not(.mobile) { --above-ab: calc(var(--hud-gap) + (var(--ab-h) + var(--abt-h) + 30px) * 1.2); }

/* ---- Ganimet akışı: sohbetin hemen üstünde, saydam (denizin üstünde yazılar) ---- */
#lootFeed { position: fixed; left: var(--hud-gap); z-index: 5; width: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; pointer-events: none; }
#lootFeed .lf { font: 600 12.5px/1.3 var(--font-ui); color: #ffe08a; text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 8px rgba(0, 0, 0, 0.8);
  animation: lf-in 0.25s ease-out; transition: opacity 1s; }
#lootFeed .lf .tm { color: #d8c8a8; font-weight: 500; font-size: 0.88em; opacity: 0.85; }
#lootFeed .lf.old { opacity: 0; }
@keyframes lf-in { from { opacity: 0; transform: translateY(6px); } }
html.mobile #lootFeed { width: min(340px, 60vw); }
html.mobile #lootFeed .lf { font-size: 11.5px; }

/* Oto Av: cephane çubuğunun sağ altındaki düğme ve küçük panel (sadece yetkisi olan kaptanlarda) */
#actionbar .ab-auto { position: relative; z-index: 4; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 38px; height: var(--sl, 34px); padding: 0 4px; border-radius: 3px; color: #c9b08a; border: 1px solid rgba(214, 166, 80, 0.3); background: rgba(0, 0, 0, 0.25); cursor: pointer; }
#actionbar .ab-auto .au-ic svg { width: 16px; height: 16px; display: block; }
#actionbar .ab-auto .au-t { font-style: normal; font-size: 9px; line-height: 1; letter-spacing: 0.04em; font-weight: 700; }
#actionbar .ab-auto:hover { color: #f0dcb4; border-color: rgba(214, 166, 80, 0.6); }
#actionbar .ab-auto.on { color: #8fe08a; border-color: rgba(120, 220, 110, 0.65); box-shadow: inset 0 0 8px rgba(120, 220, 110, 0.35); }
#actionbar .ab-auto.on .au-ic svg { animation: auSpin 3s linear infinite; }
@keyframes auSpin { to { transform: rotate(360deg); } }
#autoPop { position: fixed; z-index: 60; width: 270px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
#autoPop h4 { margin: 0; }
#autoPop .au-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
#autoPop .au-st { font-size: 11px; padding: 2px 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: var(--text-3, #b9a88a); }
#autoPop .au-st.on { color: #8fe08a; background: rgba(120, 220, 110, 0.12); }
#autoPop label.au-chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; cursor: pointer; }
#autoPop label.au-chk input { margin-top: 2px; }
#autoPop .au-note { font-size: 11.5px; opacity: 0.75; margin: 0; line-height: 1.35; }
/* Ekonomi panosu (yönetici) */
.eco-block { margin: 0 0 12px; }
.eco-block h4 small { font-weight: 600; }
.eco-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eco-col table { width: 100%; }
.eco-col td.num, table.list td.num { text-align: right; font-variant-numeric: tabular-nums; }
.eco-sum td { font-weight: 700; border-top: 1px solid var(--line); }
.eco-up { color: #7fd17f; } .eco-down { color: #ff8a7a; }
@media (max-width: 640px) { .eco-cols { grid-template-columns: 1fr; } }
/* tıklanabilir durum simgesi (yeni kaptan koruması / Kara Bayrak) */
.buff.click { cursor: pointer; }
.buff.click:hover { filter: brightness(1.25); }
/* kurtarma kodu penceresi açıkken rehber kutusu görünmez (ilk girişte pencereler sırayla) */
body.rc-open #tutBox { visibility: hidden; }
#banner.alert { color: #ffd0c4; }
/* Sıradaki hedef ve takipçide ödül düğmesi (30 Ekim 2026) */
#tracker .trk.next { border-color: rgba(255, 210, 120, .55); background: linear-gradient(180deg, rgba(60, 44, 14, .78), rgba(28, 22, 10, .78)); }
#tracker .trk.next b { color: var(--gold-hi); }
#tracker .trk-btn { margin-top: 5px; padding: 3px 10px; border-radius: 6px; border: 1px solid rgba(255, 210, 120, .7); background: linear-gradient(180deg, #ffe58e, #d79b39); color: #2a1605; font-weight: 700; font-size: 12px; cursor: pointer; pointer-events: auto; }
#tracker .trk-btn:hover { filter: brightness(1.08); }
#tracker.compact .trk.next .trk-desc { display: -webkit-box; }   /* sıkışık listede de sıradaki hedefin ne olduğu yazsın */
.qb-filter { display: flex; gap: 6px; margin: 0 0 8px; }
.qb-filter button { flex: 1; padding: 5px 6px; border-radius: 6px; border: 1px solid rgba(90, 60, 25, .55); background: rgba(255, 240, 200, .55); color: #3a2208; font-weight: 700; font-size: 12px; cursor: pointer; }
.qb-filter button.on { background: #f3c766; border-color: #8a5a16; }
/* Menü merkezleri: grup düğmesi ve açılan liste (30 Ekim 2026) */
.mbtn.hub { position: relative; }
.mbtn.hub .hub-dot { position: absolute; top: 5px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #e5543f; box-shadow: 0 0 0 2px #1a0f05; }
.mbtn.hub .hub-dot.hidden { display: none; }
.hub-pop { position: fixed; z-index: 70; display: flex; gap: 2px; padding: 6px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(44, 29, 17, 0.97), rgba(22, 14, 8, 0.98)); border: 1px solid #0b0603;
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.5), 0 10px 28px rgba(0, 0, 0, 0.6); }
.hub-pop.hidden { display: none; }
html.ui-scaled .hub-pop { zoom: var(--ui-scale, 1); }
.hub-pop .mbtn { width: auto; min-width: 66px; height: 58px; padding: 4px 8px; }
.hub-pop .mbtn .lbl { display: block !important; font-size: 11.5px; }
/* Telefonda görev takipçisi (30 Ekim 2026): durum kutusunun altında, sadece sıradaki hedef ve ödülü hazır görevler */
html.mobile #tracker { display: flex; position: fixed; right: auto; width: 214px; max-height: 38vh; gap: 4px; z-index: 4; pointer-events: none; }
html.mobile #tracker > .trk:not(.next):not(.done) { display: none; }
html.mobile #tracker > .trk { pointer-events: auto; padding: 5px 8px 6px 11px; font-size: 11px; }
html.mobile #tracker .trk b { font-size: 11.5px; }
html.mobile #tracker .trk .trk-tg { display: none; }
html.mobile #tracker.tut-on { display: none; }   /* rehber kutusu açıkken (aynı yerde) takipçi gizlenir */
/* Takvim (30 Ekim 2026, plan 3.1): Etkinlikler penceresinde dünya bossu, konvoy, haftalık etkinlikler, ortak hedef */
.cal-list { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; }
.cal-row { display: grid; grid-template-columns: 26px minmax(110px, auto) 1fr auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 240, 200, 0.06); border: 1px solid rgba(214, 166, 80, 0.25); }
.cal-row .cal-ico { width: 22px; height: 22px; color: var(--gold-hi); }
.cal-row .cal-ico svg, .cal-row .cal-ico img { width: 100%; height: 100%; display: block; }
.cal-row b { color: var(--gold-hi); font-weight: 700; }
.cal-row em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.goal-bar { height: 8px; margin: 6px 0 4px; border-radius: 6px; background: rgba(2, 7, 14, 0.6); overflow: hidden; }
.goal-bar i { display: block; height: 100%; background: linear-gradient(90deg, #4fb0ff, #7ef0c0); }
.cal-link { margin: 0 0 10px; }
.ev-chip.ev-soon { border-color: rgba(120, 200, 255, 0.6); }
html.mobile .cal-row { grid-template-columns: 22px 1fr auto; }
html.mobile .cal-row .sub { grid-column: 2 / 4; grid-row: 2; }
html.mobile .cal-row em { grid-column: 3; grid-row: 1; white-space: nowrap; }   /* 21 Kasım 2026: geri sayım telefonda 22 px'lik sütuna düşüp alt alta yazılıyordu */
/* Haftalık Sefer (30 Ekim 2026, plan 3.2) */
.voy-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: rgba(60, 40, 15, 0.35); border: 1px solid rgba(214, 166, 80, 0.35); }
.voy-head b { color: var(--gold-hi); }
.voy-head em { margin-left: auto; font-style: normal; color: var(--text-2); }
.voy-list { display: flex; flex-direction: column; gap: 6px; }
.voy-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) 2fr 90px 120px; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 240, 200, 0.06); border: 1px solid rgba(214, 166, 80, 0.22); }
.voy-row.ready { border-color: rgba(255, 210, 120, 0.7); box-shadow: 0 0 10px rgba(255, 190, 80, 0.2); }
.voy-row.got { opacity: 0.65; }
.voy-row .goal-bar { margin: 0; }
.voy-st { color: #8fe0a0; font-weight: 700; }
.voy-final { margin-top: 12px; padding: 10px 12px; border-radius: 8px; border: 1px dashed rgba(214, 166, 80, 0.5); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.voy-final.ready { border-style: solid; border-color: rgba(255, 210, 120, 0.8); }
html.mobile .voy-row { grid-template-columns: 1fr 70px; }
html.mobile .voy-row .goal-bar { grid-column: 1 / 3; }
/* Kaptanın Seyir Defteri (30 Ekim 2026, plan 1.2) */
.log-ch { margin: 0 0 8px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 240, 200, 0.05); border: 1px solid rgba(214, 166, 80, 0.25); }
.log-ch.log-now { display: block; height: auto; border-color: rgba(255, 210, 120, 0.7); background: rgba(60, 40, 15, 0.35); }
.log-ch.got { opacity: 0.7; }
.log-ch.locked { opacity: 0.5; }
.log-h { display: flex; align-items: center; gap: 10px; }
.log-h b { color: var(--gold-hi); }
.log-h > :last-child { margin-left: auto; }
.log-g { display: grid; grid-template-columns: minmax(200px, 1.4fr) 2fr 110px; align-items: center; gap: 10px; margin-top: 6px; }
.log-g.ok span { color: #8fe0a0; }
.log-g .goal-bar { margin: 0; }
.log-rw { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cap-log { margin-top: 4px; cursor: pointer; color: var(--text-2); }
.cap-log b { color: var(--gold-hi); }
html.mobile .log-g { grid-template-columns: 1fr 80px; }
html.mobile .log-g .goal-bar { grid-column: 1 / 3; }

/* 4.2 Top ve yelken güçlendirme · isim rengi (Özel Mağaza) */
.card.upg { display: flex; flex-direction: column; gap: 6px; }
.card.upg .up-lv { color: #ffd34d; }
.up-pips { display: flex; gap: 4px; }
.up-pips i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.up-pips i.on { background: linear-gradient(90deg, #f0b43a, #ffe08a); box-shadow: 0 0 6px rgba(255, 210, 90, .45); }
.up-cost { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; font-size: 12px; }
.up-cost .bad { color: #ff8a7a; }
.card.ncol { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.card.ncol h5 { font-size: 15px; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .6); }
.card.ncol.owned { border-color: rgba(92, 207, 138, .55); }
.eqrow .up-lv { color: #ffd34d; margin-left: 2px; }

/* 3.4 Klan yönetimi: duyuru, davet, günlük, sözleşme, kuşatma */
.clan-notice { margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(232, 181, 74, .35); background: rgba(232, 181, 74, .07); display: flex; flex-direction: column; gap: 4px; }
.clan-notice .cn-text { white-space: pre-wrap; line-height: 1.45; }
.clan-mem td.wk { font-size: 12px; white-space: nowrap; }
.clan-mem td.sub { font-size: 12px; white-space: nowrap; }
.card.clan-inv { margin-bottom: 8px; }
.clan-log { display: flex; flex-direction: column; gap: 2px; }
.cl-row { display: flex; gap: 10px; padding: 5px 8px; border-radius: 6px; font-size: 13px; line-height: 1.4; }
.cl-row:nth-child(odd) { background: rgba(255, 255, 255, .03); }
.cl-row .cl-t { flex: 0 0 auto; color: #9aa6b2; font-variant-numeric: tabular-nums; }
.ct-grid .card.ct { display: flex; flex-direction: column; gap: 6px; }
.card.ct.on { border-color: rgba(92, 207, 138, .6); }
.card.ct.off { opacity: .5; }
.ct-tier { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(92, 207, 138, .18); color: #8dffb0; }
.ct-tier.t1 { background: rgba(232, 181, 74, .18); color: #ffd34d; }
.ct-tier.t2 { background: rgba(255, 106, 90, .18); color: #ff9a8a; }
.ct-unlocks { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-ul { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); font-size: 12px; opacity: .65; }
.ct-ul.has { opacity: 1; background: rgba(92, 207, 138, .1); }
.ct-ul .ct-ico i { display: inline-block; width: 30px; height: 20px; border-radius: 3px; vertical-align: middle; }
.siege-row { padding: 6px 10px; border-radius: 8px; margin: 4px 0; font-size: 13px; background: rgba(255, 255, 255, .04); }
.siege-row.def { border-left: 3px solid #ff6a5a; }
.siege-row.att { border-left: 3px solid #e8b54a; }
.flag-sw button.sp { outline: 2px solid rgba(255, 211, 77, .55); outline-offset: 1px; }
.flag-sw button.locked, .flag-em.locked { opacity: .35; cursor: not-allowed; }
.isl-buff .bad { color: #ff8a7a; }

/* 3.5 Sezon · Sefer Bileti · Trofe Defteri */
.sz-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; margin-bottom: 10px;
  border: 1px solid color-mix(in srgb, var(--sz, #e8b54a) 55%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--sz, #e8b54a) 18%, transparent), transparent); }
.sz-head h4 { margin: 2px 0 0; }
.sz-head small { color: var(--sz, #e8b54a); font-weight: 700; letter-spacing: .04em; }
.sz-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.sz-bar { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.sz-bar .bar { flex: 1; }
.sz-buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; margin: 8px 0; border: 1px solid rgba(160, 200, 255, .35); background: rgba(120, 170, 255, .07); }
.sz-list { display: flex; flex-direction: column; gap: 3px; }
.sz-row { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .03); font-size: 13px; }
.sz-row.hd { background: none; font-weight: 700; color: #9aa6b2; font-size: 12px; }
.sz-row.reach { background: rgba(232, 181, 74, .07); }
.sz-k { font-weight: 800; text-align: center; }
.sz-cell { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 28px; }
.sz-cell.lock { opacity: .55; }
.sz-cell.got { opacity: .7; }
.sz-cos { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cos-sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 6px currentColor, inset 0 0 0 1px rgba(0, 0, 0, .4); }
.cos-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cos-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); color: inherit; cursor: pointer; }
.cos-btn.on { border-color: rgba(92, 207, 138, .7); background: rgba(92, 207, 138, .12); }
.card.tro { display: flex; flex-direction: column; gap: 6px; }
.card.tro.done { border-color: rgba(232, 181, 74, .6); }
.tro-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; cursor: pointer; }
.tro-items { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: #8a96a3; }
.tro-items .got { color: #8dffb0; }
.cap-log.sez b { color: #ffd34d; }

/* 3.3 Av Bölgeleri */
.card.hz { display: flex; flex-direction: column; gap: 6px; }
.card.hz.locked { opacity: .6; }
.hz-st { margin: 2px 0 2px 18px; padding: 0; font-size: 12px; line-height: 1.5; }
.hz-row { font-size: 13px; }
.card.hz-parts { margin-bottom: 10px; }

/* 4.4 Kristal Atölyesi */
.mastery .card.mast { display: flex; flex-direction: column; gap: 6px; }
.mastery .card.mast.owned { border-color: rgba(92, 207, 138, .55); }
.mastery .card-ico.ship { width: 64px; }

/* ---------- 30 Ekim 2026: MENÜ VE PENCERE HAREKETLERİ ----------
   Pencere yaylanarak açılır, kapanırken küçülerek söner. Pencere ilk açılınca ve sekme değişince içerik
   (kartlar, satırlar) sırayla belirir; canlı yenilemelerde tekrar oynamaz (ui.js: .anim-in, .anim-tab).
   Düğmeli kartlar üzerine gelince hafifçe yükselir, altın düğmelerden parıltı geçer, basınca düğme çöker.
   Menü simgeleri üzerine gelince kalkar, rozetler nabız gibi atar, ilerleme çubuklarından ışık geçer.
   Sade modda (html.simple) ve "hareketi azalt" tercihinde hepsi kapalı. */
@keyframes win-pop { 0% { opacity: 0; transform: translateY(16px) scale(0.955); } 65% { opacity: 1; transform: translateY(-2px) scale(1.006); } 100% { opacity: 1; transform: none; } }
@keyframes win-out { to { opacity: 0; transform: translateY(10px) scale(0.965); } }
.win { animation: win-pop 0.32s cubic-bezier(0.2, 0.8, 0.3, 1); }
.win.closing { animation: win-out 0.16s ease-in forwards; pointer-events: none; }

@keyframes item-in { from { opacity: 0; transform: translateY(10px); } }
.win-main.anim-in > *, .win-main.anim-in .grid > *, .win-main.anim-in .list > tr, .win-main.anim-in table.list tr { animation: item-in 0.34s var(--ease) backwards; }
.win-main.anim-in > :nth-child(2), .win-main.anim-in .grid > :nth-child(2), .win-main.anim-in tr:nth-child(2) { animation-delay: 30ms; }
.win-main.anim-in > :nth-child(3), .win-main.anim-in .grid > :nth-child(3), .win-main.anim-in tr:nth-child(3) { animation-delay: 60ms; }
.win-main.anim-in > :nth-child(4), .win-main.anim-in .grid > :nth-child(4), .win-main.anim-in tr:nth-child(4) { animation-delay: 90ms; }
.win-main.anim-in > :nth-child(5), .win-main.anim-in .grid > :nth-child(5), .win-main.anim-in tr:nth-child(5) { animation-delay: 120ms; }
.win-main.anim-in > :nth-child(6), .win-main.anim-in .grid > :nth-child(6), .win-main.anim-in tr:nth-child(6) { animation-delay: 150ms; }
.win-main.anim-in > :nth-child(7), .win-main.anim-in .grid > :nth-child(7), .win-main.anim-in tr:nth-child(7) { animation-delay: 180ms; }
.win-main.anim-in > :nth-child(8), .win-main.anim-in .grid > :nth-child(8), .win-main.anim-in tr:nth-child(8) { animation-delay: 210ms; }
.win-main.anim-in > :nth-child(9), .win-main.anim-in .grid > :nth-child(9), .win-main.anim-in tr:nth-child(9) { animation-delay: 240ms; }
.win-main.anim-in > :nth-child(n+10), .win-main.anim-in .grid > :nth-child(n+10), .win-main.anim-in tr:nth-child(n+10) { animation-delay: 270ms; }

/* sekme işareti: seçilen sekmenin altın çizgisi büyüyerek gelir */
@keyframes tab-mark { from { transform: scaleY(0); opacity: 0; } }
.win-side.anim-tab .side-btn.on::before { animation: tab-mark 0.26s var(--ease) both; }
.side-btn .ico { transition: opacity var(--t-fast), filter var(--t-fast), transform 0.18s var(--ease); }
.side-btn:hover .ico { transform: translateX(2px) scale(1.06); }

/* kartlar: düğmesi olan kart üzerine gelince yükselir */
.win .card { transition: border-color var(--t-fast), background var(--t-fast), transform 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.win .card:has(button:not(:disabled)):hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 220, 160, 0.1); }
.win .card-ico { transition: transform 0.22s var(--ease); }
.win .card:has(button:not(:disabled)):hover .card-ico:not(.ship) { transform: scale(1.06) rotate(-2deg); }

/* düğmeler: basınca çöker, altın düğmenin üzerine gelince yüzeyinden parıltı geçer (düğmenin konumuna dokunmadan, arka plan katmanıyla) */
.btn:not(:disabled):active { transform: translateY(1px) scale(0.97); }
@keyframes btn-shine { 0% { opacity: 1; transform: translateX(-160%) skewX(-18deg); } 100% { opacity: 1; transform: translateX(320%) skewX(-18deg); } }
@keyframes btn-shine-bg { from { background-position: 165% 0, 0 0; } to { background-position: -65% 0, 0 0; } }
.btn.gold:not(:disabled):hover {
  background-image: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%), linear-gradient(180deg, #fde29e, #ebb54b);
  background-size: 250% 100%, 100% 100%; background-repeat: no-repeat; background-position: 165% 0, 0 0;
  animation: btn-shine-bg 0.75s ease-out;
}
.win.pirate .btn.gold:not(:disabled):hover {
  background-image: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%), linear-gradient(180deg, #fff0bf 0%, #f3cf73 40%, #c9952f 75%, #a8761f 100%);
}

/* üst menü: simge kalkar ve parlar, rozet nabız gibi atar, seçili çizgi ortadan açılır */
.mbtn .ring { transition: transform 0.18s var(--ease), filter 0.18s var(--ease); }
.mbtn:hover .ring { transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 3px 6px rgba(232, 181, 74, 0.35)); }
.mbtn:active .ring { transform: scale(0.92); }
@keyframes badge-beat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.18); } 90% { transform: scale(0.96); } }
.mbtn .badge { animation: pop-in var(--t-med) var(--ease), badge-beat 2.6s ease-in-out 1.2s infinite; }
@keyframes mark-in { from { transform: scaleX(0); } }
.mbtn.on::after { animation: mark-in 0.24s var(--ease); }

/* bildirimler yaylanarak iner; seviye bildiriminden ışık geçer */
@keyframes toast-pop { 0% { opacity: 0; transform: translateY(-14px) scale(0.96); } 70% { opacity: 1; transform: translateY(2px) scale(1.01); } 100% { opacity: 1; transform: none; } }
.toast { animation: toast-pop 0.36s cubic-bezier(0.2, 0.9, 0.3, 1.15), toast-out 0.45s ease-in 3.45s forwards; }
.toast.level { position: relative; overflow: hidden; }
.toast.level::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent); transform: translateX(-120%) skewX(-18deg); animation: btn-shine 1.1s ease-out 0.25s; pointer-events: none; }

/* ipucu kutusu: hafifçe büyüyerek belirir */
@keyframes tip-in { from { opacity: 0; transform: translateY(4px) scale(0.97); } }
#tooltip { animation: tip-in 0.14s ease-out; }

/* ilerleme çubukları: dolu kısımdan ara sıra ışık geçer */
.bar > i { overflow: hidden; }
.bar > i::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%); animation: bar-sheen 3.4s ease-in-out infinite;
}
@keyframes bar-sheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(260%); } }

/* hareketi azalt: yeni süsler kapalı (sade mod zaten bütün hareketleri kapatır) */
@media (prefers-reduced-motion: reduce) {
  .win, .win.closing, .win-main.anim-in > *, .win-main.anim-in .grid > *, .win-main.anim-in tr, .win-side.anim-tab .side-btn.on::before,
  .btn.gold, .bar > i::before, .mbtn .badge, .mbtn.on::after, .toast.level::after, #tooltip { animation: none !important; }
  .win .card:has(button:not(:disabled)):hover, .mbtn:hover .ring { transform: none; }
}
html.simple .bar > i::before { display: none; }

/* 30 Ekim 2026: telefonda küçük düğmelerin dokunma alanı büyür (görünüşleri aynı kalır) */
html.mobile .tut-x, html.mobile .buff.click { position: relative; }
html.mobile .tut-x::after { content: ''; position: absolute; inset: -10px; }
html.mobile .buff.click::after { content: ''; position: absolute; inset: -3px; }
/* dar ekranda (telefon dikey) cephane çubuğunun parçaları üst üste binmesin: hepsi tam boyunda kalır, çubuk yana kaydırılır */
html.mobile #actionbar .ab-main, html.mobile #abTog { flex: none; }

/* 31 Ekim 2026: Ünvanlarım penceresi */
.cap-sub .ttl-open { margin-left: var(--s2); vertical-align: middle; }
.ttl-cur { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s3); margin-bottom: var(--s3); border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, 0.18); }
.ttl-cur b { font: 400 24px/1.15 var(--font-display); color: var(--gold-hi); text-align: center; }
.ttl-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s3); }
.ttl-row { display: flex; align-items: center; gap: var(--s3); padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.03); }
.ttl-row.on { border-color: var(--gold); background: rgba(240, 190, 90, 0.10); }
.ttl-ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; }
.ttl-ico svg { max-width: 30px; max-height: 30px; }
.ttl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ttl-txt b { overflow-wrap: anywhere; }
.ttl-row > .btn, .ttl-row > b.ok { flex: none; }
/* 1 Aralık 2026 (kullanıcı): Rütbe ve Ünvanlar: önizleme ve rütbe satırları */
.ttl-prev { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; }
.ttl-prev > b { font: 700 16px/1.2 var(--font-ui, system-ui); color: #ffe08a; }
.ttl-prev .rbdg.big { width: 40px; height: 40px; margin: 0; }
.ttl-prev-t { color: #ffcf6a; font-size: 13px; font-weight: 600; }
.ttl-ico.big { width: 44px; height: 44px; }
.ttl-ico.big .rbdg.big { width: 44px; height: 44px; margin: 0; }
.ttl-row.lock { opacity: 0.55; }
.ttl-row.lock .ttl-ico { filter: grayscale(0.85); }
.ttl-lock { flex: none; font-size: 15px; opacity: 0.8; }
.cap-ttl { margin-top: 2px; }
.ttl-sws { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin-top: 8px; }
.ttl-sw { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--text-dim, #c9bda4); }
.ttl-sw.on { border-color: var(--gold); color: var(--gold-hi); background: rgba(240, 190, 90, 0.08); }
.ttl-sw input { margin: 0; accent-color: #e0ad3c; }

/* ===== 31 Ekim 2026: KVKK ve yasal metinler ===== */
.lg-consent { margin: 2px 0 14px; text-align: left; }
.login-card .lg-chk, .lg-chk { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); text-align: left; cursor: pointer; }
.login-card .lg-chk input, .lg-chk input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; padding: 0; accent-color: var(--gold); }
.lg-link, .lg-chk a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 2px; }
.lg-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.lg-foot a { font-size: 11.5px; color: var(--text-3); text-decoration: none; }
.lg-foot a:hover { color: var(--gold-hi); text-decoration: underline; }
.lg-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; max-width: 520px; margin: 12px auto 0; padding: 8px 12px; font-size: 12px; color: var(--text-2); border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(0, 0, 0, 0.35); }
.lg-gate { z-index: 260; }
.lg-dlg { width: min(560px, 100%); text-align: left; }
.lg-dlg h2 { font-size: 34px; text-align: center; }
.lg-dlg .err { min-height: 18px; margin: 4px 0 8px; color: #ff9d8a; font-size: 13px; }
.lg-presale { margin: 10px 0 12px; padding: 10px 12px; text-align: left; border: 1px solid var(--line-2); border-radius: var(--r-md); background: rgba(0, 0, 0, 0.28); }
.lg-presale h4 { margin: 0 0 6px; font-size: 13px; color: var(--gold-hi); }
.lg-presale ul { margin: 0 0 8px; padding-left: 18px; font-size: 16px; line-height: 1.45; color: var(--text-2); }   /* Mesafeli Sözleşmeler Yön. m.6/1: en az 12 punto */
.lg-presale .lg-chk { font-size: 16px; }
#premDlg .dialog { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.lg-presale li { margin: 3px 0; }
.lg-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }
.lg-docs a.btn { text-decoration: none; }
.lg-req { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: var(--s3); }
.lg-req select { justify-self: start; }
.lg-ta { width: 100%; min-height: 64px; padding: 8px 10px; resize: vertical; font: inherit; font-size: 13.5px; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--well); user-select: text; }
.lg-req .btn { justify-self: end; }
.lg-reqs { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s4); }
.lg-reqi { padding: 8px 10px; font-size: 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); margin-bottom: 8px; }
.lg-reqi.open { border-color: rgba(232, 181, 74, 0.45); }
.lg-reqi.late { border-color: rgba(255, 110, 90, 0.8); }
.lg-reqi .lg-ta { margin: 6px 0; }
.lg-late { color: #ff8a7a; }
.lg-reply { margin-top: 6px; padding: 6px 8px; border-left: 3px solid var(--gold); background: rgba(232, 181, 74, 0.07); }
.lg-del span { color: var(--text-2); }
.lg-warn { margin-bottom: var(--s3); padding: 8px 12px; color: #ffd2c6; border: 1px solid rgba(229, 84, 63, 0.6); border-radius: var(--r-md); background: rgba(150, 40, 24, 0.25); }
html.mobile .lg-dlg { padding: 22px 18px; }

/* Tecrübe Yarışı (1 Kasım 2026) */
.xr-prizes{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.xr-pz{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:8px;background:rgba(0,0,0,.25);border:1px solid rgba(232,181,74,.35);font-weight:600}
.xr-adm .xr-in{width:120px}
.xr-adm .xr-txt{width:220px}

/* =====================================================================
   1 Kasım 2026 — DENİZ HARİTASI: eski seyir haritası (mürekkep, italik yer adları, sade işaretler)
   ===================================================================== */
.win-main:has(.wm3-scroll) { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px; }
.wm3-head { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; flex: 0 0 auto; }
.wm3-tabs { display: flex; gap: 4px; }
.win .wm3-tabs button { font: italic 400 17px/1 Georgia, 'Times New Roman', serif; color: #c9b596; padding: 7px 10px 8px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; cursor: pointer; }
.win .wm3-tabs button:hover { color: #f3e2bd; }
.win .wm3-tabs button.on { color: #f6e2b0; border-bottom-color: #c9953e; }
.win .wm3-tz { display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 4px; cursor: pointer; background: rgba(0, 0, 0, .25); border: 1px solid rgba(214, 166, 80, .35); color: #e8d4a8; font: 600 13px var(--font-ui); }
.win .wm3-tz:hover { border-color: rgba(214, 166, 80, .7); color: #fff1c4; }
.wm3-tz small { color: #b89a66; font-weight: 500; }
.wm3-find { margin-left: auto; }
.win .wm3-find input { width: 210px; height: 32px; padding: 0 12px; border-radius: 4px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(214, 166, 80, .35); color: #f3e2bd; font: 500 13.5px var(--font-ui); }
.win .wm3-find input:focus { outline: 0; border-color: rgba(214, 166, 80, .8); }
.wm3-find input::placeholder { color: #9a8462; }
.wm3-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; border-radius: 2px; scrollbar-color: #8a6428 rgba(0, 0, 0, .3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7); }
.wm3-note { flex: 0 0 auto; margin: 12px 0 0 !important; }
.worldmap.wm3 { position: relative; margin: 0 auto; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 248, 228, .35), transparent 65%), url('../assets/ui/q_parch.jpg') center / 560px auto repeat, #e4d0a4; box-shadow: inset 0 0 70px rgba(110, 70, 25, .42), inset 0 0 14px rgba(90, 55, 15, .35); }
.worldmap.wm3 > svg { position: absolute; left: 0; top: 0; pointer-events: none; }
/* harita künyesi */
.wm3-cart { position: absolute; left: 30px; top: 28px; z-index: 1; padding: 8px 18px 9px; text-align: center; background: rgba(243, 232, 204, .9); border: 3px double #6b4a22; }
.wm3-cart b { display: block; font: italic 400 23px/1.1 Georgia, 'Times New Roman', serif; color: #2e1a08; }
.wm3-cart small { display: block; margin-top: 3px; font: 400 12px/1 Georgia, 'Times New Roman', serif; color: #6b4a22; letter-spacing: .3px; }
/* yer: kıyı (çizimde) + numara + italik ad */
.wm3-node { position: absolute; width: 150px; transform: translate(-50%, -30px); text-align: center; z-index: 2; transition: opacity .2s; }
.wm3-hit { display: block; width: 100px; height: 60px; margin: 0 auto; border-radius: 50%; }
.wm3-num { position: absolute; left: calc(50% - 58px); top: 3px; min-width: 21px; height: 21px; padding: 0 4px; border-radius: 11px; box-sizing: border-box;
  font: 700 11.5px/19px Georgia, 'Times New Roman', serif; color: #3b220c; background: #f3e6c6; border: 1.2px solid #5a3818; }
.wm3-lbl { margin-top: -2px; pointer-events: none; }
.wm3-lbl b { display: block; font: italic 400 14.5px/1.15 Georgia, 'Times New Roman', serif; color: #2b1806;
  text-shadow: 0 0 2px #f1e3c2, 0 0 2px #f1e3c2, 0 0 3px #f1e3c2, 0 0 5px rgba(241, 227, 194, .9); }
.wm3-meta { margin-top: 2px; font: 400 11px/1.25 Georgia, 'Times New Roman', serif; color: #6b4a22; text-shadow: 0 0 2px #f1e3c2, 0 0 3px #f1e3c2; }
.wm3-meta > span:not(:empty) ~ span:not(:empty)::before { content: ' · '; color: #8a6a3e; }
.wm3-you { color: #8e2414; font-style: italic; font-weight: 700; }
.wm3-cnt { color: #2f5a1c; font-weight: 700; }
.wm3-adm { font: italic 400 11px/1.3 Georgia, 'Times New Roman', serif; color: #7a5a32; text-shadow: 0 0 2px #f1e3c2, 0 0 3px #f1e3c2; }
.wm3-adm:empty { display: none; }
.wm3-adm.on { color: #8e2414; font-weight: 700; }
.wm3-adm.on::before { content: ''; display: inline-block; width: 0; height: 0; margin-right: 4px; vertical-align: 1px; border-left: 7px solid #8e2414; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.wm3-own { margin-top: 1px; font: 700 11px/1.25 Georgia, 'Times New Roman', serif; color: #1f3a6a; text-shadow: 0 0 2px #f1e3c2, 0 0 3px #f1e3c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm3-own.free { color: #8a7a5e; font-weight: 400; font-style: italic; }
.wm3-own.mine { color: #2f5a1c; }
.wm3-node .wm-flag { left: calc(50% + 20px); top: -4px; width: 22px; height: 15px; }
/* durumlar */
.wm3-node.here .wm3-num { background: #8e2414; border-color: #5a1008; color: #f6ead0; }
.wm3-node.here .wm3-lbl b { color: #6e1a0c; }
.wm3-node.locked .wm3-num { background: transparent; border-style: dashed; color: #8a7a5e; border-color: #8a7a5e; }
.wm3-node.locked .wm3-lbl b { color: #7d6d52; }
.wm3-node.locked .wm3-meta { color: #8a7a5e; }
.wm3-node.arena .wm3-lbl b { color: #8e2414; }
.wm3-node.admin { cursor: pointer; }
.wm3-node.admin:hover .wm3-hit { outline: 1.4px dashed rgba(142, 36, 20, .55); outline-offset: -4px; }
.wm3-node.dim { opacity: .25; }
.wm3-node.match .wm3-hit { outline: 2px solid rgba(142, 36, 20, .75); outline-offset: -2px; }
.wm3-node.match .wm3-lbl b { text-decoration: underline; text-decoration-color: rgba(142, 36, 20, .7); text-underline-offset: 3px; }

/* =====================================================================
   1 Kasım 2026 — PUSULA MİNİ HARİTA (sadece bilgisayar)
   ===================================================================== */
.mm-quick { display: none; }
.mm-nesw { display: none; }
html:not(.mobile) #minimap.round { padding: 8px 11px 12px; width: 236px; }
html:not(.mobile) #minimap.round #coordBar { margin: 0; }
html:not(.mobile) #minimap.round .mm-head { padding: 2px 4px 6px; }
html:not(.mobile) #minimap.round .mm-ring { position: relative; width: 212px; height: 212px; margin: 4px auto 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 57%, rgba(0, 0, 0, .35) 58%, transparent 60%),
    repeating-conic-gradient(from -1deg, rgba(58, 34, 8, .85) 0 2deg, transparent 2deg 11.25deg),
    conic-gradient(from 210deg, #fff0b8, #c48a2a 18%, #7a4e14 32%, #e6b860 50%, #8a5c1e 68%, #f6d98c 84%, #fff0b8);
  box-shadow: 0 0 0 2px #2a1806, 0 0 0 3px rgba(214, 166, 80, .55), 0 8px 18px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(42, 24, 6, .7); }
html:not(.mobile) #minimap.round #mm { position: absolute; left: 13px; top: 13px; width: 186px; height: 186px; border-radius: 50%; outline: 0;
  box-shadow: 0 0 0 3px #2a1806, inset 0 0 12px rgba(0, 0, 0, .7); }
html:not(.mobile) #minimap.round .mm-ring::after { content: ''; position: absolute; left: 13px; top: 13px; width: 186px; height: 186px; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 220, 140, .25), inset 0 0 22px rgba(0, 0, 0, .65); }
html:not(.mobile) #minimap.round .mm-nesw { display: grid; place-items: center; position: absolute; width: 20px; height: 20px; z-index: 2; pointer-events: none; border-radius: 50%;
  font: 700 11px/1 var(--font-ui); font-style: normal; color: #f6d98c; background: radial-gradient(circle at 50% 40%, #3a2410, #140b04 80%);
  box-shadow: 0 0 0 1.5px #e6b860, 0 0 0 3px #2a1806, 0 2px 4px rgba(0, 0, 0, .6); }
html:not(.mobile) #minimap.round .mm-nesw.n { left: 96px; top: -4px; color: #fff; background: radial-gradient(circle at 50% 40%, #c0321e, #5a0e06 80%); }
html:not(.mobile) #minimap.round .mm-nesw.s { left: 96px; bottom: -4px; }
html:not(.mobile) #minimap.round .mm-nesw.e { right: -4px; top: 96px; }
html:not(.mobile) #minimap.round .mm-nesw.w { left: -4px; top: 96px; }
html:not(.mobile) #minimap.round { transform-origin: 100% 100%; }
@media (max-height: 760px) { html:not(.mobile) #minimap.round { transform: scale(.88); } }
@media (max-height: 660px) { html:not(.mobile) #minimap.round { transform: scale(.78); } }
html:not(.mobile) #minimap.round .mm-quick { display: flex; flex-direction: column; gap: 8px; position: absolute; left: -54px; bottom: 14px; z-index: 4; }
/* koordinat kutusu: koordinat düğmesinin solunda açılır */
.mm-pop { display: none; }
html:not(.mobile) #minimap.round .mm-pop.on { display: block; position: absolute; right: calc(100% + 62px); bottom: 12px; z-index: 6; width: 260px; padding: 10px 12px 12px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(46, 30, 16, .97), rgba(18, 11, 5, .97)), url('../assets/ui/q_wood.jpg') center / 300px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, .6), inset 0 0 0 2px rgba(10, 6, 3, .9), 0 10px 26px rgba(0, 0, 0, .6); animation: pop-in .15s ease-out; }
html:not(.mobile) #minimap.round .mm-pop.on::after { content: ''; position: absolute; right: -7px; bottom: 16px; width: 12px; height: 12px; transform: rotate(45deg);
  background: #1e130a; box-shadow: 1px -1px 0 rgba(214, 166, 80, .6); }
.mm-pop-h { font-size: 12px; color: #d8c8a8; margin-bottom: 7px; }
.mmq { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; color: #f6d98c;
  background: radial-gradient(circle at 50% 38%, #4a3018, #1a0f06 75%);
  border: 0; box-shadow: inset 0 0 0 2px #e6b860, inset 0 0 0 4px #5a3a10, 0 0 0 2px #1a0f06, 0 4px 10px rgba(0, 0, 0, .6); transition: transform .12s, color .12s; }
.mmq svg { width: 22px; height: 22px; display: block; }
.mmq:hover { transform: scale(1.08); color: #fff3c4; box-shadow: inset 0 0 0 2px #fff0b8, inset 0 0 0 4px #7a4e14, 0 0 0 2px #1a0f06, 0 0 14px rgba(255, 200, 90, .55); }
.mmq:active { transform: scale(.96); }

/* =====================================================================
   1 Kasım 2026 — ALT ÇUBUK (sadece bilgisayar): ahşap zemin, gemi madalyonu, kalın can / tecrübe çubukları, pirinç yuvalar
   ===================================================================== */
#abShip { display: none; }
html:not(.mobile) { --sl: 44px; --abt-h: 22px; }
html:not(.mobile) #actionbar {
  padding-left: 12px; padding-right: 12px;
  background: linear-gradient(180deg, rgba(40, 26, 14, 0.9), rgba(16, 10, 5, 0.94)), url('../assets/ui/q_wood.jpg') center / 300px auto repeat, #1c120a;
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.6), inset 0 0 0 2px rgba(10, 6, 3, 0.9), inset 0 0 26px rgba(0, 0, 0, 0.6), 0 12px 30px rgba(0, 0, 0, 0.65);
}
html:not(.mobile) #actionbar.has-ship { margin-left: 46px; }
html:not(.mobile) #abShip {
  display: block; position: absolute; left: -96px; bottom: -6px; width: 112px; height: 112px; z-index: 5; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 40%, #3e5a6e, #13222d 70%, #0a1219);
  box-shadow: inset 0 0 0 4px #f0c96e, inset 0 0 0 7px #6b4614, inset 0 0 0 9px #2a1806, inset 0 0 22px rgba(0, 0, 0, .8), 0 0 0 2px #1a0f06, 0 0 0 4px rgba(214, 166, 80, .5), 0 8px 18px rgba(0, 0, 0, .65);
  transition: transform .15s;
}
html:not(.mobile) #abShip:hover { transform: scale(1.04); }
html:not(.mobile) #abShip::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 85%, rgba(140, 200, 230, .35), transparent 60%), repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .05) 0 2px, transparent 2px 9px); }
html:not(.mobile) #abShipImg { position: absolute; inset: 14px 12px 18px; display: grid; place-items: center; }
html:not(.mobile) #abShipImg img, html:not(.mobile) #abShipImg svg { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .6)); }
html:not(.mobile) #abShipLv { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); min-width: 34px; height: 22px; padding: 0 7px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; white-space: nowrap; font: 700 12.5px/1 var(--font-ui); color: #2a1606; background: linear-gradient(180deg, #ffe9a8, #c9953e); box-shadow: 0 0 0 2px #2a1806, 0 2px 4px rgba(0, 0, 0, .6); }
/* can ve tecrübe çubukları */
html:not(.mobile) #abTop { top: 8px; left: 12px; right: 12px; gap: 8px; }
html:not(.mobile) .abt-bar { height: 20px; border-radius: 10px; font-size: 11.5px; background: linear-gradient(180deg, #060403, #160e07);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .9), 0 0 0 1px #2a1806, 0 0 0 2.5px rgba(214, 166, 80, .7), 0 0 0 3.5px rgba(20, 10, 2, .8); }
html:not(.mobile) .abt-bar > i { border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 4px rgba(0, 0, 0, .25); }
html:not(.mobile) .abt-bar > i::after { content: ''; position: absolute; left: 6px; right: 6px; top: 2px; height: 5px; border-radius: 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .4), transparent); }
html:not(.mobile) .abt-bar.hp > i { background: linear-gradient(180deg, #9ae86a, #4caf2a 50%, #2f7d19); }
html:not(.mobile) .abt-bar.xp > i { background: linear-gradient(180deg, #c99af8, #8a4ed4 50%, #5e2a9e); }
html:not(.mobile) .abt-emb { width: 38px; height: 26px; margin-top: -3px; border-radius: 13px; background: radial-gradient(circle at 50% 40%, #6a4620, #24160a 80%);
  box-shadow: inset 0 0 0 1.5px #f0c96e, 0 0 0 2px #2a1806, 0 2px 4px rgba(0, 0, 0, .7); }
html:not(.mobile) .abt-emb svg { width: 17px; height: 17px; }
/* yuvalar: pirinç çerçeve */
html:not(.mobile) #actionbar .slot, html:not(.mobile) #actionbar .ab-cat, html:not(.mobile) #actionbar .ab-tog, html:not(.mobile) #actionbar .ab-cmd {
  border-radius: 6px; background: radial-gradient(circle at 50% 35%, rgba(70, 48, 26, .95), rgba(16, 10, 5, .98) 75%);
  box-shadow: inset 0 0 0 1px rgba(255, 225, 150, .5), inset 0 0 0 2.5px #4a2e0e, inset 0 0 0 3.5px rgba(214, 166, 80, .35), inset 0 6px 10px rgba(255, 210, 130, .07), 0 0 0 1px #0b0603, 0 2px 4px rgba(0, 0, 0, .5);
}
html:not(.mobile) #actionbar .slot > span { top: 6px; width: 30px; height: 30px; }
html:not(.mobile) #actionbar .ab-cat .ab-ci, html:not(.mobile) #actionbar .ab-tog .tg-ic { left: 7px; top: 6px; width: 30px; height: 30px; }
html:not(.mobile) #actionbar .ab-cmd > span { inset: 5px; }
html:not(.mobile) #actionbar .slot em, html:not(.mobile) #actionbar .ab-cat .ab-cn, html:not(.mobile) #actionbar .ab-tog em { font-size: 10px; bottom: 3px; }
html:not(.mobile) #actionbar .slot kbd, html:not(.mobile) #actionbar .ab-cmd kbd, html:not(.mobile) #actionbar .ab-tog kbd { right: 3px; top: 3px; height: 13px; min-width: 13px; font-size: 9px; line-height: 12px; border-radius: 3px;
  color: #2a1606; background: linear-gradient(180deg, #ffe9a8, #c9953e); border: 0; box-shadow: 0 0 0 1px #2a1806; font-weight: 700; }
html:not(.mobile) #actionbar .slot.on, html:not(.mobile) #actionbar .ab-cat.on { box-shadow: inset 0 0 0 1px #fff0b8, inset 0 0 0 2.5px #a86c1c, 0 0 0 1.5px #f3cf73, 0 0 12px rgba(243, 190, 80, .7); }
html:not(.mobile) #actionbar .ab-tog.on { box-shadow: inset 0 0 0 1px #d6ffe0, inset 0 0 0 2.5px #1e6a34, 0 0 0 1.5px #6dff9a, 0 0 12px rgba(109, 255, 154, .55); }
html:not(.mobile) #actionbar .ab-cmd.atk.on { box-shadow: inset 0 0 0 1px #ffd2c0, inset 0 0 0 2.5px #8a1e10, 0 0 0 1.5px #ff9a72, 0 0 14px rgba(255, 90, 50, .8); }
html:not(.mobile) #actionbar .slot.free { opacity: .6; }
html:not(.mobile) #actionbar .ab-reset { height: var(--sl); }

/* =====================================================================
   1 Kasım 2026 — GÖREV TAKİPÇİSİ (sadece bilgisayar): pirinç halkalı simgeler, kalın ilerleme çubuğu
   ===================================================================== */
.trk-ico { display: none; }
.trk-head { display: none; }
html:not(.mobile) #tracker { width: 270px; gap: 7px; }
html:not(.mobile) #tracker .trk-head { display: flex; align-items: center; gap: 8px; flex: none; padding: 7px 12px 6px; cursor: pointer;
  font: 400 18px/1 var(--font-display); color: #f6d98c; letter-spacing: .3px; text-shadow: 0 2px 2px rgba(0, 0, 0, .8); }
html:not(.mobile) #tracker .trk-head b { font-weight: 400; }
html:not(.mobile) #tracker .trk-head span { width: 20px; height: 20px; color: #e8b54a; }
html:not(.mobile) #tracker .trk-head span svg { width: 100%; height: 100%; display: block; }
html:not(.mobile) #tracker > .trk { padding: 10px 12px 10px 60px; min-height: 60px; }
html:not(.mobile) #tracker > .trk::before { display: none; }
html:not(.mobile) #tracker .trk-ico { display: grid; place-items: center; position: absolute; left: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; color: #f6d98c;
  background: radial-gradient(circle at 50% 38%, #4a3018, #160d05 75%);
  box-shadow: inset 0 0 0 2px #e6b860, inset 0 0 0 4px #4a2e0e, 0 0 0 1.5px #1a0f06, 0 3px 6px rgba(0, 0, 0, .55); }
html:not(.mobile) #tracker .trk-ico svg { width: 22px; height: 22px; display: block; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
html:not(.mobile) #tracker .trk b { font-size: 13.5px; color: #f6e7c6; }
html:not(.mobile) #tracker .trk .bar.xp { height: 6px; margin-top: 7px; border-radius: 3px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 0 0 1px rgba(214, 166, 80, .35); }
html:not(.mobile) #tracker .trk .bar.xp > i { border-radius: 3px; background: linear-gradient(180deg, #ffe08a, #d29a2e 60%, #a8721c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
html:not(.mobile) #tracker .trk.done .trk-ico { color: #b6ffb0; box-shadow: inset 0 0 0 2px #7ad86a, inset 0 0 0 4px #1e4a14, 0 0 0 1.5px #0a1a06, 0 0 10px rgba(110, 230, 120, .45); }
html:not(.mobile) #tracker .trk.next .trk-ico { color: #fff3c4; box-shadow: inset 0 0 0 2px #fff0b8, inset 0 0 0 4px #a86c1c, 0 0 0 1.5px #1a0f06, 0 0 12px rgba(255, 200, 90, .6); }
html:not(.mobile) #tracker .trk.story .trk-ico { color: #ffd9a0; }
html:not(.mobile) #tracker.compact > .trk { padding: 7px 10px 7px 50px; min-height: 46px; }
html:not(.mobile) #tracker.compact .trk-ico { left: 8px; top: 7px; width: 32px; height: 32px; }
html:not(.mobile) #tracker.compact .trk-ico svg { width: 18px; height: 18px; }
html:not(.mobile) #tracker.compact .trk-head { font-size: 15px; padding: 3px 10px; }

/* =====================================================================
   1 Kasım 2026 — ÜST ÇUBUK ve ETKİNLİK ŞERİTLERİ (sadece bilgisayar)
   ===================================================================== */
html:not(.mobile) #topbar {
  background:
    linear-gradient(180deg, rgba(46, 30, 16, .9), rgba(20, 12, 6, .94)),
    url('../assets/ui/q_wood.jpg') center / 340px auto repeat, #1c120a;
  box-shadow: inset 0 -1px 0 #000, inset 0 -3px 0 #c9953e, inset 0 -4px 0 rgba(255, 230, 160, .35), inset 0 -6px 0 #2a1806, 0 6px 22px rgba(0, 0, 0, .55);
}
/* logo: menü kalabalık değilse dar ekranda da görünür */
@media (max-width: 1500px) { html:not(.mobile) #topbar:not(:has(#menu > :nth-child(12))) .brand { display: block; } }
html:not(.mobile) .brand { font-size: 30px; background: linear-gradient(180deg, #fff3c4 0%, #f6d27f 40%, #d49b30 70%, #8a5a1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #1a0d03) drop-shadow(0 0 8px rgba(0, 0, 0, .6)); text-shadow: none; }
html:not(.mobile) .brand i { color: #e8b54a; -webkit-text-fill-color: initial; }
html:not(.mobile) .brand .logo-anchor { filter: drop-shadow(0 1px 0 #1a0d03); }
/* menü düğmeleri: simgenin arkasında pirinç halka parlaması */
html:not(.mobile) .mbtn { border-radius: 8px; }
html:not(.mobile) .mbtn .ring { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7)); }
html:not(.mobile) .mbtn:hover { background: radial-gradient(ellipse at 50% 35%, rgba(243, 207, 115, .18), transparent 70%); }
html:not(.mobile) .mbtn:hover .ring { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7)) drop-shadow(0 0 6px rgba(255, 200, 90, .55)); }
/* para birimleri: pirinç halkalı hapçıklar */
html:not(.mobile) #wallet .cur { height: 34px; padding: 0 14px 0 4px; border: 0; background: linear-gradient(180deg, rgba(10, 6, 3, .85), rgba(26, 16, 8, .85));
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8), 0 0 0 1px #2a1806, 0 0 0 2.5px rgba(214, 166, 80, .6), 0 0 0 3.5px rgba(20, 10, 2, .8); }
html:not(.mobile) #wallet .cur .ico { width: 26px; height: 26px; padding: 2px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #4a3018, #160d05 75%); box-shadow: inset 0 0 0 1.5px #e6b860; }
html:not(.mobile) #wallet .cur b { font-size: 14px; color: #fff1c4; text-shadow: 0 1px 1px #000; }
/* etkinlik şeritleri */
html:not(.mobile) #evBar { top: calc(var(--top-h) + 8px); gap: 8px; padding: 2px 4px 6px; }
html:not(.mobile) .ev-chip { height: 32px; padding: 0 10px 0 4px; gap: 7px; border-radius: 16px; border: 0; color: #f3e2bd;
  background: linear-gradient(180deg, rgba(46, 30, 16, .96), rgba(18, 11, 5, .96));
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, .12), 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(214, 166, 80, .6), 0 0 0 3.5px rgba(20, 10, 2, .8), 0 6px 12px rgba(0, 0, 0, .45); }
html:not(.mobile) .ev-chip:hover { box-shadow: inset 0 1px 0 rgba(255, 220, 150, .12), 0 0 0 1px #1a0f06, 0 0 0 2.5px #f3cf73, 0 0 0 3.5px rgba(20, 10, 2, .8), 0 0 14px rgba(255, 200, 90, .45); }
html:not(.mobile) .ev-chip .ev-ico { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #4a3018, #160d05 75%); box-shadow: inset 0 0 0 1.5px #e6b860; display: grid; place-items: center; font-size: 13px; }
html:not(.mobile) .ev-chip b { color: #ffe39a; font-size: 12.5px; }
html:not(.mobile) .ev-chip em { padding: 3px 7px; border-radius: 9px; background: rgba(0, 0, 0, .45); color: #f3e2bd; font-size: 11.5px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7); }
html:not(.mobile) .ev-chip em:empty { display: none; }
html:not(.mobile) .ev-chip::after { content: '›'; margin-left: -1px; font: 700 16px/1 var(--font-ui); color: #c9953e; }
html:not(.mobile) .ev-chip.ev-halloween { box-shadow: inset 0 1px 0 rgba(255, 220, 150, .12), 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(255, 138, 26, .85), 0 0 0 3.5px rgba(20, 10, 2, .8), 0 0 16px rgba(255, 120, 20, .35); }
html:not(.mobile) .ev-chip.ev-halloween b { color: #ffb15a; }
html:not(.mobile) .ev-chip.ev-convoy { box-shadow: inset 0 1px 0 rgba(255, 220, 150, .12), 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(255, 210, 90, .95), 0 0 0 3.5px rgba(20, 10, 2, .8), 0 0 14px rgba(255, 200, 80, .4); }
/* kalabalık menü (bütün simgeler): düğmeler daralır, para birimlerinin üstüne taşmaz */
html:not(.mobile) #menu { min-width: 0; overflow: hidden; }
html:not(.mobile) #menu .mbtn { flex: 0 1 62px; min-width: 46px; }
html:not(.mobile) #menu .mbtn .lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* =====================================================================
   1 Kasım 2026 — SOHBET, REHBER KUTUSU, YAKINLAŞTIRMA (sadece bilgisayar)
   ===================================================================== */
html:not(.mobile) #chat, html:not(.mobile) #tutBox, html:not(.mobile) #zoomPanel {
  background: linear-gradient(180deg, rgba(42, 27, 14, .93), rgba(16, 10, 5, .95)), url('../assets/ui/q_wood.jpg') center / 300px auto repeat, #1c120a;
}
html:not(.mobile) #chat .chat-tabs { gap: 3px; padding: 0 2px 2px; border-bottom: 1px solid rgba(214, 166, 80, .25); }
html:not(.mobile) #chat .chat-tabs button { height: 27px; padding: 0 12px; border-radius: 6px 6px 3px 3px; color: #c9b596; }
html:not(.mobile) #chat .chat-tabs button.on { color: #2a1803; background: linear-gradient(180deg, #ffe9a8, #d9a53c); box-shadow: 0 0 0 1px #2a1806, 0 2px 4px rgba(0, 0, 0, .5); }
html:not(.mobile) #chatLog { background: rgba(6, 4, 2, .62); border: 1px solid rgba(214, 166, 80, .28); border-radius: 6px; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7); padding: 7px 9px; }
html:not(.mobile) #chatLog .t { color: #f3cf73; }
html:not(.mobile) #chatLog .klan .t, html:not(.mobile) #chatLog .klan .n { color: #7ee07a; }
html:not(.mobile) #chatLog .grup .t, html:not(.mobile) #chatLog .grup .n { color: #7fdcff; }
html:not(.mobile) #chatLog .sys-t { color: #ff7a5a; font-style: normal; }
html:not(.mobile) #chatLog .sys { color: #d8c8a8; }
html:not(.mobile) #chatIn { height: 34px; border-radius: 17px; padding: 0 14px; background: rgba(6, 4, 2, .7); border: 1px solid rgba(214, 166, 80, .45); color: #f3e2bd; }
html:not(.mobile) #chatIn:focus { border-color: #f3cf73; box-shadow: 0 0 0 2px rgba(243, 207, 115, .2); }
/* rehber kutusu (Kaptanın İlk Seferi): parşömen başlık şeridi */
html:not(.mobile) #tutBox { border: 1px solid #0b0603; border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, .55), inset 0 0 0 2px rgba(10, 6, 3, .85), 0 8px 24px rgba(0, 0, 0, .5); }
html:not(.mobile) #tutBox .tut-head b { font: 400 17px/1 var(--font-display); color: #f6d98c; letter-spacing: .3px; }
html:not(.mobile) #tutBox .tut-ico { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #4a3018, #160d05 75%); box-shadow: inset 0 0 0 1.5px #e6b860; color: #f6d98c; }
html:not(.mobile) #tutBox .tut-bar { height: 6px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 0 0 1px rgba(214, 166, 80, .35); }
html:not(.mobile) #tutBox .tut-bar i { background: linear-gradient(180deg, #ffe08a, #d29a2e 60%, #a8721c); }
html:not(.mobile) #tutBox h5 { color: #fff1c4; }
html:not(.mobile) #tutBox p { color: #d8c8a8; }
html:not(.mobile) #tutBox .tut-n { color: #c9a76a; }
html:not(.mobile) #tracker.compact .trk-head { display: none; }
html:not(.mobile) #minimap.round #coordIn:focus { outline: 0; border-color: #f3cf73; box-shadow: 0 0 0 2px rgba(243, 207, 115, .22); }

/* =====================================================================
   13. TELEFON DÜZENİ (1 Kasım 2026)
   Küçük yatay ekranda (iPhone SE 568x320 dahil) her şey ekrana sığar:
   gizlenip açılan üst menü (ortadaki dil), mini harita ve görevler
   (başlığa dokun), Saldır düğmesinin çevresinde hedef / sohbet düğmeleri,
   ekrana sığan ve kendi içinde kayan Oto Av kutusu. Bilgisayar görünümü değişmez.
   ===================================================================== */
#tbTog { display: none; }
@media (orientation: landscape) and (max-height: 400px) {
  html.mobile { --top-h: 40px; }
  html.mobile .mbtn { height: 38px; }
  html.mobile .mbtn .ring { width: 26px; height: 26px; }
  html.mobile .cur { height: 24px; }
}
/* üst menü gizli: çubuk kalkar, bütün arayüz yukarı kayar */
html.mobile.tb-off { --top-h: 0px; }
html.mobile.tb-off #topbar { display: none; }
/* menüyü gizleyen / gösteren dil: menünün alt kenarının ortasında, menü gizliyken ekranın en üstünde */
html.mobile #tbTog {
  display: flex; align-items: center; justify-content: center; position: fixed; z-index: 7; left: 50%; top: var(--top-h); transform: translateX(-50%);
  width: 54px; height: 16px; padding: 0; border: 0; border-radius: 0 0 10px 10px; color: #f3cf73;
  background: linear-gradient(180deg, #1f150c, #120b05);
  box-shadow: inset 0 -1px 0 rgba(214, 166, 80, 0.7), inset 1px 0 0 rgba(214, 166, 80, 0.45), inset -1px 0 0 rgba(214, 166, 80, 0.45), 0 3px 8px rgba(0, 0, 0, 0.55);
}
html.mobile #tbTog::before { content: ''; position: absolute; inset: -6px -18px -14px; }   /* parmak için geniş dokunma alanı */
html.mobile #tbTog svg { width: 13px; height: 8px; display: block; transition: transform 0.2s; }
html.mobile.tb-off #tbTog { height: 18px; width: 58px; }
html.mobile.tb-off #tbTog svg { transform: rotate(180deg); }
html.mobile #tbTog .tb-dot { position: absolute; top: 3px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #e5543f; box-shadow: 0 0 0 1.5px #120b05; }
html.mobile #tbTog .tb-dot.hidden { display: none; }
html.mobile:has(.win) #tbTog { display: none; }   /* pencere açıkken dil pencerenin başlığına binmesin */
/* dikey ekranda arayüz dilin altından başlar */
@media (orientation: portrait) { html.mobile { --hud-top: calc(var(--top-h) + var(--hud-gap) + 14px); } }

/* ok simgeleri (yukarı: gizle, aşağı: göster) */
html.mobile .m-chev, html.mobile .tut-min { flex: none; display: inline-grid; place-items: center; width: 18px; height: 14px; color: #e8c777; }
html.mobile .m-chev svg, html.mobile .tut-min svg { width: 11px; height: 7px; display: block; transition: transform 0.2s; }
html.mobile.mm-off #minimap .m-chev svg, html.mobile.trk-off #tracker .m-chev svg, html.mobile.trk-off #tutBox .tut-min svg { transform: rotate(180deg); }

/* mini harita: başlığına dokun → gizle / göster (gizliyken deniz adı ve koordinat kalır) */
html.mobile #minimap .mm-head { align-items: center; cursor: pointer; gap: 4px; }
html.mobile #minimap .mm-head::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 30px; }
html.mobile #minimap { position: fixed; }
html.mobile #mmName { flex: 1 1 auto; }
html.mobile.mm-off #minimap .mm-ring { display: none; }
html.mobile.mm-off #minimap .mm-head { padding: 2px 2px 1px 4px; }
html.mobile.mm-off #mmPos { display: inline; font-size: 10.5px; }
html.mobile.mm-off #minimap { padding: 4px 6px; }
@media (max-height: 360px) { html.mobile #mm { width: 112px; height: 84px; } }

/* durum kutusu ve rehber / görevler: aynı genişlikte sol sütun */
@media (orientation: landscape) and (max-height: 400px) {
  html.mobile #status { width: 204px; padding: 5px 7px; }
  html.mobile #status .portrait { width: 36px; height: 36px; }
  html.mobile #tutBox, html.mobile #tracker { width: 204px; }
  html.mobile .buff { transform: scale(0.78); margin-right: -4px; }
}
html.mobile #tutBox { overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
html.mobile #tutBox .tut-head { cursor: pointer; gap: 6px; }
html.mobile #tutBox .tut-head b { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
html.mobile #tutBox .tut-n { margin-left: 0; }
html.mobile #tutBox .tut-x { flex: none; }
html.mobile.trk-off #tutBox .tut-bar, html.mobile.trk-off #tutBox p, html.mobile.trk-off #tutBox .tut-rw { display: none; }
html.mobile.trk-off #tutBox h5 { margin: 5px 0 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.mobile.trk-off #tutBox { padding-top: 6px; padding-bottom: 6px; }
/* görevler başlığı (telefon) */
html.mobile #tracker { overflow-y: auto; overscroll-behavior: contain; }
html.mobile #tracker > .trk-mh { pointer-events: auto; flex: none; display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 8px; cursor: pointer; font-size: 12px; }
html.mobile #tracker > .trk-mh.hidden { display: none; }
html.mobile .trk-mh-i { width: 16px; height: 16px; color: #e8c777; flex: none; }
html.mobile .trk-mh-i svg { width: 100%; height: 100%; display: block; }
html.mobile .trk-mh b { flex: 1; color: #f6d98c; font-weight: 700; }
html.mobile .trk-mh-n { font-style: normal; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e5543f; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; }
html.mobile .trk-mh-n.hidden { display: none; }
html.mobile.trk-off #tracker > .trk { display: none !important; }
html.mobile #tracker:has(> .trk-mh:not(.hidden)) { width: 204px; }

/* hedef çerçevesi (yatay): durum kutusu ile mini harita arasında, menü dilinin altında */
@media (orientation: landscape) {
  html.mobile #target {
    --st-w: 232px; top: calc(var(--hud-top) + 16px); transform: none; animation-name: pop-in;
    left: max(calc(max(var(--hud-gap), env(safe-area-inset-left)) + var(--st-w) + 8px), calc(50vw - 130px));
    width: min(260px, calc(100vw - var(--st-w) - 176px));
  }
  html.mobile.has-ev #target { top: calc(var(--hud-top) + 44px); }
}
@media (orientation: landscape) and (max-height: 400px) { html.mobile #target { --st-w: 204px; } }
html.mobile #target .portrait.small { flex: none; }
html.mobile #target .tg-btns { flex-wrap: wrap; gap: 4px; }
html.mobile #target .tg-btns .btn { height: 26px; font-size: 11px; padding: 0 8px; }

/* etkinlik şeritleri: dilin altında, ortada; dar ekranda sadece simge + süre (dokununca Etkinlikler) */
html.mobile #evBar { top: calc(var(--top-h) + 20px); max-width: max(150px, calc(100vw - 460px)); }
@media (max-width: 760px) { html.mobile .ev-chip b { display: none; } html.mobile .ev-chip { gap: 4px; padding-right: 8px; } }
/* dikey ekranda şeritler mini haritanın altında, sağda alt alta */
@media (orientation: portrait) { html.mobile #evBar { top: calc(var(--hud-top) + 124px); left: auto; right: max(var(--hud-gap), env(safe-area-inset-right)); transform: none; max-width: 46vw; flex-direction: column; align-items: flex-end; } }

/* Saldır düğmesinin çevresi: hedef (sol üst çapraz) ve sohbet (üstte); mini haritaya binmez */
html.mobile { --atk: 84px; }
html.mobile #mobBtns { display: block; position: static; }
html.mobile #mobBtns .mob-round { position: fixed; z-index: 7; }
html.mobile #btnTab { right: calc(max(10px, env(safe-area-inset-right)) + var(--atk) + 8px); bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--ab-h) + 10px); }
html.mobile #btnChatT { right: calc(max(10px, env(safe-area-inset-right)) + (var(--atk) - 44px) / 2); bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--atk) + 12px); }

/* sohbet: küçük ekranda durum kutusuna binmeyecek yükseklik */
html.mobile #chatLog { height: clamp(48px, calc(100vh - var(--top-h) - 250px), 120px); height: clamp(48px, calc(100dvh - var(--top-h) - 250px), 120px); }
@media (max-height: 400px) { html.mobile #chatIn { height: 32px; } html.mobile .chat-tabs button { height: 22px; } html.mobile #chat { gap: 4px; padding: 5px; } }

/* Oto Av ve cephane kutuları: ekrana sığar, uzunsa kendi içinde kayar */
#autoPop, #abPop { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; }
html.mobile #autoPop, html.mobile #abPop { touch-action: pan-y; }
html.mobile #autoPop { width: min(300px, calc(100vw - 16px)); padding: 10px 12px 12px; gap: 7px; z-index: 60; }
#autoPop .au-x { margin-left: 4px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: #c9b596; background: rgba(255, 255, 255, 0.06); }
#autoPop .au-x svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#autoPop.au-m .au-row h4 { flex: 1; }
#autoPop .au-top { display: flex; align-items: center; gap: 10px; }
#autoPop .au-go { flex: none; min-width: 110px; height: 38px; font-size: 15px; }
#autoPop .au-left { font-size: 12px; color: var(--text-2, #d8c8a8); line-height: 1.3; }
#autoPop.au-m label.au-chk { font-size: 12.5px; min-height: 26px; align-items: center; }
#autoPop.au-m label.au-chk input { margin-top: 0; width: 18px; height: 18px; flex: none; }
#autoPop details.au-more { border-top: 1px solid rgba(214, 166, 80, 0.25); padding-top: 6px; }
#autoPop details.au-more summary { cursor: pointer; font-size: 12px; font-weight: 700; color: #e8c777; padding: 2px 0; }
#autoPop details.au-more .au-note { margin-top: 5px; }
/* hedefin ganimet sandığı: telefonda çerçevenin sağ altında, mini haritaya binmez */
html.mobile #tgLoot { right: 0; top: calc(100% + 4px); transform: none; width: 38px; height: 38px; }
html.mobile #tgLoot .chest { width: 28px; height: 28px; }
html.mobile .loot-pop { width: min(330px, calc(100vw - 24px)); }
/* bildirimler: yatay ekranda hedef çerçevesinin altında, ortada */
@media (orientation: landscape) { html.mobile #toasts { top: calc(var(--hud-top) + 128px); max-width: 60vw; } html.mobile.has-ev #toasts { top: calc(var(--hud-top) + 156px); } }
/* pencereler (telefon): ızgara sütunları içeriğe göre taşmaz; dar yatay ekranda gemi kartı daralır, satırlar alt satıra geçebilir */
html.mobile .hangar > *, html.mobile .cauldron > *, html.mobile .friends > * { min-width: 0; }
html.mobile .eqrow { flex-wrap: wrap; row-gap: 4px; }
html.mobile .eqrow .nm { flex: 1 1 120px; }
@media (orientation: landscape) and (max-width: 700px) { html.mobile .hangar, html.mobile .cauldron, html.mobile .friends { grid-template-columns: 200px minmax(0, 1fr); gap: 12px; } }
/* Deniz Haritası (telefon): başlık satırı küçülür, harita alanı büyür; küçük yatay ekranda alttaki açıklama gizlenir */
html.mobile .wm3-head { gap: 8px; margin-bottom: 6px; }
html.mobile .win .wm3-tabs button { font-size: 14px; padding: 4px 6px 5px; white-space: nowrap; }
html.mobile .win .wm3-tz { padding: 4px 8px; font-size: 11.5px; gap: 5px; white-space: nowrap; }
html.mobile .wm3-tz small { font-size: 10.5px; }
html.mobile .win .wm3-find input { width: 128px; height: 30px; font-size: 16px; }
html.mobile .wm3-note { font-size: 11.5px; margin-top: 6px !important; }
html.mobile .win-main:has(.wm3-scroll) { padding: 6px 8px 8px; }
@media (orientation: landscape) and (max-height: 400px) { html.mobile .wm3-note { display: none; } }
@media (orientation: portrait) { html.mobile .wm3-head { flex-wrap: wrap; } html.mobile .wm3-find { margin-left: 0; flex: 1 1 100%; } html.mobile .win .wm3-find input { width: 100%; } }
/* telefonda bildirimler dokunmayı engellemez; dikey ekranda sohbet hedef düğmesine binmez */
html.mobile #toasts, html.mobile #toasts .toast { pointer-events: none; }
@media (orientation: portrait) { html.mobile #chat { width: calc(100vw - 160px); } html.mobile #toasts { top: calc(var(--hud-top) + 150px); } }
/* telefonu dikey tutunca: oyunun üstünde "yan çevir" ekranı (oyun yatay için tasarlandı; giriş ekranında çıkmaz) */
#rotateHint .rh-box { max-width: 300px; text-align: center; }
#rotateHint .rh-phone { position: relative; width: 44px; height: 76px; margin: 0 auto 22px; border: 3px solid #f3cf73; border-radius: 9px; box-shadow: 0 0 18px rgba(243, 207, 115, 0.25); animation: rh-rot 2.6s ease-in-out infinite; }
#rotateHint .rh-phone::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 12px; height: 3px; margin-left: -6px; border-radius: 2px; background: #f3cf73; }
@keyframes rh-rot { 0%, 22% { transform: rotate(0deg); } 50%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }
#rotateHint b { display: block; font: 400 26px/1.2 var(--font-display, serif); color: #f6d98c; text-shadow: 0 2px 0 #000; }
#rotateHint p { margin: 10px 0 18px; font-size: 14px; line-height: 1.45; color: #d8c8a8; white-space: normal; }
#rotateHint #rhLand { min-width: 180px; height: 42px; font-size: 16px; }
#rotateHint #rhStay { display: block; margin: 14px auto 0; font-size: 12.5px; color: #b89a66; text-decoration: underline; background: none; border: 0; }
@media (orientation: portrait) {
  html.mobile #rotateHint { display: flex; align-items: center; justify-content: center; position: fixed; inset: 0; left: 0; top: 0; transform: none; z-index: 35;
    padding: 24px; border: 0; border-radius: 0; white-space: normal; background: radial-gradient(ellipse at 50% 42%, rgba(46, 30, 16, 0.97), rgba(8, 6, 3, 0.985)); }
  html.mobile #rotateHint.gone { display: none; }
}
@media (prefers-reduced-motion: reduce) { #rotateHint .rh-phone { animation: none; transform: rotate(-90deg); } }
/* hedefin ganimet sandığı (telefon): dokununca ekranın ortasında, ekrana sığan kutu (üstüne gelince açılan liste telefonda kapalı) */
html.mobile .loot-pop, html.mobile #tgLoot:hover .loot-pop { display: none !important; }
html.mobile #tgLoot { cursor: pointer; }
html.mobile #tgLoot::after { content: ''; position: absolute; inset: -6px; }   /* parmak için geniş dokunma alanı */
#lootSheet { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 10px; background: rgba(0, 0, 0, 0.5); }
#lootSheet .loot-sheet { position: relative; width: min(380px, calc(100vw - 20px)); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: 12px 14px; border-radius: 8px; background: linear-gradient(180deg, #2e1e12, #160e08); border: 1px solid #0b0603;
  box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.55), inset 0 0 0 2px rgba(10, 6, 3, 0.9), 0 12px 32px rgba(0, 0, 0, 0.6); }
#lootSheet .loot-sheet h6 { margin: 0 34px 8px 0; font-size: 14px; color: var(--gold-hi); }
#lootSheet .ls-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: #c9b596; background: rgba(255, 255, 255, 0.06); }
#lootSheet .ls-x svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#lootSheet .lp-row { padding: 5px 4px; }
#lootSheet .lp-ico { width: 30px; height: 30px; }
#lootSheet .lp-ico svg, #lootSheet .lp-ico img { width: 100%; height: 100%; display: block; }
@media (orientation: landscape) and (max-height: 430px) { #lootSheet .loot-sheet { width: min(520px, calc(100vw - 20px)); } }

/* gemi görünümü (skin) seçici — Gemilerin listesi */
.eqrow .look-sel { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--text-2); }
.eqrow .look-sel span { white-space: nowrap; }
.eqrow .look-sel select { max-width: 200px; font-size: 13px; padding: 4px 8px; border-radius: 6px; background: #1d140d; color: #f5e9cf; border: 1px solid rgba(255, 205, 120, 0.45); cursor: pointer; color-scheme: dark; }
.eqrow .look-sel select:hover, .eqrow .look-sel select:focus { border-color: #ffcf6e; outline: none; }
/* açılan liste: koyu zemin, net açık yazı; grup başlıkları altın; seçili satır belirgin */
.eqrow .look-sel select option { background: #1d140d; color: #f5e9cf; font-size: 13px; padding: 4px 8px; }
.eqrow .look-sel select optgroup { background: #120c08; color: #ffcf6e; font-style: normal; font-weight: 700; }
.eqrow .look-sel select option:checked { background: #7a5418; color: #fff; }
.eqrow .look-now { display: block; color: #ffd98a; }

/* Yönetici → Ödemeler (5 Kasım 2026) */
.pay-status { padding: 10px 12px; border-radius: 8px; background: rgba(60, 140, 70, 0.18); border: 1px solid rgba(110, 200, 120, 0.4); }
.pay-status.bad { background: rgba(170, 40, 30, 0.22); border-color: rgba(255, 110, 90, 0.55); }
.pay-status .sub { margin-top: 3px; }
.pay-tbl { width: 100%; font-size: 12.5px; }
.pay-tbl th { text-align: left; color: var(--text-2); font-weight: 600; padding: 4px 6px; }
.pay-tbl td { padding: 4px 6px; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.pay-ok { color: #8fe39a; } .pay-bad { color: #ff8a7a; } .pay-warn { color: #ffd27a; }

/* Güçlü Barut (6 Kasım 2026): Kara Barut fıçısının kızıl, parlayan hâli */
.art.gb { filter: hue-rotate(-28deg) saturate(2.2) brightness(1.08) drop-shadow(0 0 4px rgba(255, 90, 30, 0.85)); }

/* Elit Gücü (7 Kasım 2026) */
.el-power { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: rgba(201, 149, 46, 0.12); border: 1px solid rgba(255, 217, 112, 0.35); }
.el-power .gold { color: #ffd970; font-weight: 700; }
.el-power small { display: block; margin-top: 4px; color: var(--text-2); }

/* =====================================================================
   9 Kasım 2026 — telefon düzeltmeleri
   ===================================================================== */
/* ekrandaki görev listesi parmakla kayar (eskiden kutu dokunmayı geçiriyordu, liste aşağı inmiyordu) */
html.mobile #tracker { pointer-events: auto; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
/* Görev Panosu: satırlar pencereye sığar; sağ sayfa kendi içinde kayar, alttaki düğme şeridi hep görünür */
html.mobile .qb { grid-template-rows: minmax(0, 1fr); }
html.mobile .qb > * { min-height: 0; }
html.mobile .qb-right { min-height: 0; }
html.mobile .qb-page { overscroll-behavior: contain; touch-action: pan-y; }
@media (orientation: landscape) {
  html.mobile .qb-bigseal { display: none; }   /* alçak ekranda mühür ödüllerin üstüne biniyordu */
  html.mobile .qb-page { padding: 5% 8% 22px 10%; }
}
@media (orientation: portrait) {
  html.mobile .qb { grid-template-rows: minmax(120px, 34%) minmax(0, 1fr); }
  /* sekmeli pencereler (Liman Pazarı, Gemi, Ada Üssü…): sekme şeridi tam genişlikte, yana kayar.
     Eskiden sonradan gelen 128 px genişlik kuralı şeridi daraltıyordu; sadece ilk sekme görünüyordu. */
  html.mobile .win-side { width: auto; max-width: none; padding: 4px 6px; gap: 4px; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x; }
  html.mobile .win-side::-webkit-scrollbar { display: none; }
  html.mobile .win-side .side-btn { min-height: 38px; padding: 4px 10px; font-size: 13px; }
  html.mobile .win.pirate.ds-win .win-side .side-btn { font-size: 13px; }
  html.mobile .win.pirate.ds-win .win-side .side-btn.on::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 2px; }
}
/* Premium kartları (Liman Pazarı → Premium): dar ekranda fiyat ve düğme alt satıra geçer.
   Eskiden fiyat sütunu ~50 px'e sıkışıyordu: "350 ₺ / 7 $ ile al" düğmesi 5 satıra bölünüyordu. */
@media (max-width: 620px) {
  .premium-hero { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .premium-hero > .ico, .premium-hero .crow-ico { width: 40px; height: 40px; flex: none; }
  .premium-hero > div:not(.hero-buy) { flex: 1 1 140px; min-width: 0; }
  .premium-hero .hero-buy { flex: 1 1 100%; margin-left: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
    padding-top: 10px; border-top: 1px solid rgba(214, 166, 80, 0.2); }
  .premium-hero .hero-btns { margin-top: 0; }
  .premium-hero .hero-btns .btn { white-space: nowrap; }
}

/* 9 Kasım 2026: PC uygulaması kayıtlı hesaplar */
.sv-box { margin: 0 0 var(--s4); text-align: left; }
.sv-title { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.sv-row { display: flex; gap: 6px; margin-bottom: 6px; }
.sv-go { flex: 1; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: var(--r-md, 8px); border: 1px solid var(--line-2, rgba(255,255,255,.15)); background: rgba(255,255,255,.04); color: var(--text-1, #fff); font-size: 15px; cursor: pointer; text-align: left; }
.sv-go:hover { border-color: var(--gold); background: rgba(255,210,120,.08); }
.sv-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #1a1206; font-weight: 800; font-size: 13px; }
.sv-del { flex: none; width: 42px; height: 42px; border-radius: var(--r-md, 8px); border: 1px solid var(--line-2, rgba(255,255,255,.15)); background: transparent; color: var(--text-3); cursor: pointer; }
.sv-del:hover { color: #ff8a7a; border-color: #ff8a7a; }
.sv-or { font-size: 11.5px; color: var(--text-3); text-align: center; margin-top: 4px; }
.sv-box button:disabled { opacity: .5; cursor: default; }

/* 10 Kasım 2026: yardımcı filo kozmetiği (görünüm ve ad) */
.fl-nick { color: var(--ds-gold-hi); font-weight: 600; }
.fl-look-b { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; margin-top: 8px; }
.fl-look-ico { width: 34px; height: 22px; display: inline-block; }
.fl-look-ico .ship-img, .fl-look-ico svg { width: 100%; height: 100%; }
.flk-pick { flex-wrap: wrap; align-self: flex-start; }
.flk-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; }
.flk-prev { height: 130px; display: grid; place-items: center; }
.flk-prev .ship-img, .flk-prev svg { width: 100%; height: 100%; }
.flk-info h4 { margin: 0 0 4px; font: 600 var(--ds-fs-xl)/1.2 var(--ds-font-head); }
.flk-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.flk-grp { flex-wrap: wrap; align-self: flex-start; }
.flk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.flk-card { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px 9px; border-radius: var(--ds-r2); border: 1px solid var(--ds-iron-950); background: var(--ds-iron-900); color: var(--ds-text); cursor: pointer; text-align: center; transition: border-color .15s, transform .15s; }
.flk-card:hover:not(:disabled) { border-color: var(--ds-gold); transform: translateY(-1px); }
.flk-card.is-own { background: linear-gradient(180deg, rgba(120, 200, 140, 0.10), var(--ds-iron-900)); }
.flk-card.is-on { border-color: var(--ds-gold); box-shadow: 0 0 0 1px var(--ds-gold) inset; cursor: default; }
.flk-img { width: 100%; height: 70px; display: block; }
.flk-img .ship-img, .flk-img svg { width: 100%; height: 100%; }
.flk-n { font-size: var(--ds-fs-sm); line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; }
.flk-s { font-size: var(--ds-fs-xs); color: var(--ds-text-3); }
.flk-card.is-own .flk-s { color: var(--ds-ok); }
.flk-card.is-on .flk-s { color: var(--ds-gold-hi); }
@media (max-width: 640px) { .flk-top { grid-template-columns: 1fr; } .flk-prev { height: 100px; } .flk-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); } }

/* 10 Kasım 2026: sunucu saati (minimapin solunda) */
#srvClock { position: absolute; right: calc(100% + 10px); top: 10px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 10px 6px; border-radius: 10px; background: rgba(20, 14, 8, 0.82); border: 1px solid rgba(214, 170, 92, 0.55); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); pointer-events: auto; white-space: nowrap; }
#srvClock small { font-size: 9.5px; letter-spacing: .04em; color: #d8c49a; text-transform: uppercase; line-height: 1.1; }
#srvClock b { font-size: 17px; font-weight: 700; color: #ffe2a3; font-variant-numeric: tabular-nums; line-height: 1.1; }
/* telefonda minimapin solu dolu (yakınlaştırma çubuğu, durum kartı): saat minimapin altına, sola yaslı tek satır */
html.mobile #srvClock, html.m-ui #srvClock { top: calc(100% + 4px); left: 0; right: auto; flex-direction: row; align-items: baseline; gap: 5px; padding: 2px 8px 3px; border-radius: 8px; }
html.mobile #srvClock small, html.m-ui #srvClock small { font-size: 8.5px; }
html.mobile #srvClock b, html.m-ui #srvClock b { font-size: 13px; }
/* dikey telefonda minimapin altında yakınlaştırma çubuğu var: saat iki satır, dar */
@media (orientation: portrait) {
  html.mobile #srvClock, html.m-ui #srvClock { flex-direction: column; align-items: center; gap: 0; padding: 2px 7px 3px; }
  html.mobile #srvClock small, html.m-ui #srvClock small { font-size: 7.5px; }
}

/* 10 Kasım 2026: yardımcı filo giriş düğmeleri ve yetenek ağacı */
.fl-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fl-nav-b { display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 48px; }
.fl-nav-b b { font-size: var(--ds-fs-md); }
.fl-nav-b small { font-size: var(--ds-fs-xs); opacity: .85; font-weight: 500; }
.flt-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flt-br { display: flex; flex-direction: column; gap: 10px; }
.flt-t { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: var(--ds-r2); background: rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.12); }
.flt-t.is-max { border-color: var(--ds-gold); }
.flt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.flt-h b { font-size: var(--ds-fs-md); }
.flt-r { font-size: var(--ds-fs-xs); opacity: .75; font-variant-numeric: tabular-nums; }
.flt-pips { display: flex; gap: 4px; }
.flt-pips i { flex: 1; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.18); }
.flt-pips i.on { background: var(--ds-gold); }
.flt-atk .flt-pips i.on { background: #d0573f; }
.flt-def .flt-pips i.on { background: #4f8fd0; }
.flt-sup .flt-pips i.on { background: #4fae6a; }
.flt-now { font-size: var(--ds-fs-sm); font-weight: 600; }
.flt-next { font-size: var(--ds-fs-xs); opacity: .85; }
.flt-next.ok { color: var(--ds-ok); opacity: 1; font-weight: 600; }
.flt-buy { margin-top: 2px; }
@media (max-width: 720px) { .flt-cols { grid-template-columns: 1fr; } .fl-nav { grid-template-columns: 1fr; } }
/* 10 Kasım 2026: başarım unvanı */
.ach-rw .ach-ttl { display: block; margin-top: 2px; opacity: .9; }
.ach-rw .ach-use { margin-top: 4px; }
.ach-rw .ok { color: var(--ds-ok, #7fe39a); font-weight: 600; display: block; margin-top: 4px; }
.dc-ad { color: #9fb4ff; }

/* 10 Kasım 2026: filo rehberi */
.fl-nav { grid-template-columns: 1fr 1fr 1fr; }
.flg { display: flex; flex-direction: column; gap: 12px; }
.flg-l { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: var(--ds-fs-sm); line-height: 1.5; }
@media (max-width: 720px) { .fl-nav { grid-template-columns: 1fr; } }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — GRUPLU ÜST MENÜ: simge + yazı yan yana, açılır listede açıklamalar
   ===================================================================== */
.hub-desc { display: none; }
html:not(.mobile) #menu.hubs { justify-content: flex-start; gap: 2px; padding-left: 8px; overflow: visible; }
html:not(.mobile) #menu.hubs .mbtn { flex: 0 0 auto; width: auto; min-width: 0; height: 44px; padding: 0 10px 0 7px; flex-direction: row; gap: 7px; border: 1px solid transparent; border-radius: 6px; }
html:not(.mobile) #menu.hubs .mbtn .ring { width: 30px; height: 30px; flex: none; }
html:not(.mobile) #menu.hubs .mbtn .lbl { font-size: 14.5px; font-weight: 600; max-width: none; overflow: visible; color: #f3e3c0; }
html:not(.mobile) #menu.hubs .mbtn:hover { background: rgba(226, 184, 102, .1); border-color: rgba(226, 184, 102, .35); }
html:not(.mobile) #menu.hubs .mbtn.on { background: linear-gradient(180deg, rgba(226, 184, 102, .28), rgba(226, 184, 102, .1)); border-color: #e2b866; }
html:not(.mobile) #menu.hubs .mbtn.on::after { display: none; }
html:not(.mobile) #menu.hubs .mbtn.hub .hub-dot { top: 4px; right: 4px; }
html:not(.mobile) #menu.hubs .mbtn .badge { top: 2px; right: 2px; }
@media (max-width: 1320px) { html:not(.mobile) #menu.hubs .mbtn { padding: 0 8px 0 6px; gap: 5px; } html:not(.mobile) #menu.hubs .mbtn .lbl { font-size: 13px; } html:not(.mobile) #menu.hubs .mbtn .ring { width: 26px; height: 26px; } }
@media (max-width: 1120px) { html:not(.mobile) #menu.hubs .mbtn .lbl { display: none; } }
html:not(.mobile) .hub-pop { flex-direction: column; gap: 2px; width: 304px; padding: 4px; border: 14px solid transparent; border-radius: 4px;
  border-image: url('../assets/ui/frame.webp') 114 / 14px stretch;
  background: linear-gradient(180deg, rgba(46, 30, 16, .97), rgba(18, 11, 5, .98)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
html:not(.mobile) .hub-pop .mbtn { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; justify-items: start;
  width: 100%; height: auto; min-height: 54px; padding: 8px 12px; text-align: left; border-radius: 4px; }
html:not(.mobile) .hub-pop .mbtn .ring { grid-row: 1 / 3; width: 34px; height: 34px; }
html:not(.mobile) .hub-pop .mbtn .lbl { font-size: 15.5px; font-weight: 700; color: #f3e3c0; align-self: end; }
html:not(.mobile) .hub-pop .mbtn .hub-desc { display: block; grid-column: 2; font-size: 12.5px; line-height: 1.25; color: #c7b28a; text-shadow: none; white-space: normal; align-self: start; }
html:not(.mobile) .hub-pop .mbtn:not(:has(.hub-desc)) .lbl { grid-row: 1 / 3; align-self: center; }
html:not(.mobile) .hub-pop .mbtn:hover, html:not(.mobile) .hub-pop .mbtn.on { background: rgba(226, 184, 102, .14); }
html:not(.mobile) .hub-pop .mbtn.on::after { display: none; }
html:not(.mobile) .hub-pop .mbtn .badge { top: 8px; right: 8px; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — GÖREV TAKİBİ: ayrı kartlar yerine tek pano, satır satır
   ===================================================================== */
html:not(.mobile) #tracker:has(> .trk) { width: 280px; gap: 0; padding: 10px 14px 12px; border-radius: 8px; border: 2px solid #6b4a22;
  background: linear-gradient(180deg, rgba(30, 19, 10, .86), rgba(14, 9, 4, .9)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .3), 0 10px 26px rgba(0, 0, 0, .5); }
html:not(.mobile) #tracker .trk-head { order: -1; display: flex; align-items: baseline; gap: 8px; padding: 0 0 6px; margin: 0; background: none; border: 0; box-shadow: none;
  font: 700 19px/1.2 'EB Garamond', Georgia, serif; color: #e9c98a; }
html:not(.mobile) #tracker .trk-head span { display: none; }
html:not(.mobile) #tracker .trk-head b { font-weight: 700; }
html:not(.mobile) #tracker .trk-head em { margin-left: auto; font: 500 12px/1 var(--font-ui); font-style: normal; color: #c7b28a; }
html:not(.mobile) #tracker.compact .trk-head { display: flex; font-size: 17px; padding: 0 0 4px; }
html:not(.mobile) #tracker > .trk { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; min-height: 0; padding: 7px 0 8px;
  background: none; border: 0; border-top: 1px solid rgba(226, 184, 102, .16); border-radius: 0; box-shadow: none; }
html:not(.mobile) #tracker.compact > .trk { padding: 5px 0 6px; min-height: 0; }
html:not(.mobile) #tracker > .trk > * { grid-column: 1 / 3; }
html:not(.mobile) #tracker > .trk > b { grid-column: 1; margin: 0; font-size: 14px; font-weight: 600; color: #f3e3c0; }
html:not(.mobile) #tracker > .trk > .trk-p, html:not(.mobile) #tracker > .trk > .trk-n { grid-column: 2; grid-row: 1; font-size: 14px; font-weight: 700; color: #e2b866; white-space: nowrap; }
html:not(.mobile) #tracker > .trk.story > .trk-p { grid-column: 1 / 3; grid-row: auto; font-weight: 500; font-size: 12px; color: #c7b28a; white-space: normal; }
html:not(.mobile) #tracker .trk-ico { display: none; }
html:not(.mobile) #tracker .trk .bar.xp { height: 5px; margin-top: 5px; border-radius: 3px; background: #1a0d08; box-shadow: none; }
html:not(.mobile) #tracker .trk .bar.xp > i { border-radius: 3px; background: #e2b866; box-shadow: none; }
html:not(.mobile) #tracker .trk.done > b { color: #b6ffb0; }
html:not(.mobile) #tracker .trk.next { background: none; }
html:not(.mobile) #tracker .trk.next > b { color: #ffe39a; }
html:not(.mobile) #tracker .trk-btn { justify-self: start; }
html:not(.mobile) #tracker .trk-desc, html:not(.mobile) #tracker .trk-tg { font-size: 12px; color: #c7b28a; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — GİRİŞ EKRANI oyun temasında: altın çerçeveli ahşap pano, pirinç düğme, parşömen hediye notu
   ===================================================================== */
#login .login-card { border: 22px solid transparent; border-radius: 6px; padding: 12px 10px;
  border-image: url('../assets/ui/frame.webp') 114 / 22px stretch;
  background: linear-gradient(180deg, rgba(46, 30, 16, .95), rgba(18, 11, 5, .97)), url('../assets/ui/q_wood.jpg') center / 280px auto repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7); width: min(424px, 100%); backdrop-filter: none; -webkit-backdrop-filter: none; }
#login .login-card::before, #login .login-card::after { display: none; }
#login .login-card .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 6px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(184, 137, 62, .4); }
#login .login-card .tab { padding: 9px; border: 0; border-radius: 4px; background: none; color: #c7b28a; font: 700 18px/1.1 'EB Garamond', Georgia, serif; box-shadow: none; }
#login .login-card .tab.on { background: linear-gradient(180deg, #f3d58f, #c4913c); color: #2a1806; }
#login .login-card label { color: #d9c49a; font-size: 13.5px; }
#login .login-card input:not([type=checkbox]) { height: 46px; border-radius: 5px; background: rgba(10, 6, 3, .6); border: 1px solid rgba(184, 137, 62, .45); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); color: #fff; font-size: 16px; }
#login .login-card input:not([type=checkbox]):focus { border-color: #e2b866; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 2px rgba(226, 184, 102, .25); }
#login #btnAuth { height: 52px; border-radius: 6px; border: 1px solid #7a521c; background: linear-gradient(180deg, #ffe3a0 0%, #e7b65a 45%, #b98234 100%); color: #2a1806;
  font: 700 21px/1 'EB Garamond', Georgia, serif; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(90, 55, 15, .45), 0 6px 20px rgba(0, 0, 0, .45); }
#login .link-btn { color: #c7b28a; }
#login .link-btn:hover { color: #f3d58f; }
#login .login-foot { margin-top: 12px; padding: 10px 12px; border: 1px solid #9c7a44; border-radius: 5px; color: #3a2410; font-size: 13.5px; line-height: 1.4; text-align: left;
  background: linear-gradient(180deg, rgba(244, 228, 192, .96), rgba(224, 200, 154, .97)), url('../assets/ui/q_parch.jpg') center / 400px auto repeat; }
#login #langSw button { padding: 7px 13px; border-radius: 5px; border: 1px solid rgba(184, 137, 62, .6); background: rgba(20, 12, 6, .78); color: #f3e3c0; font-weight: 600; }
#login #langSw button.on { background: linear-gradient(180deg, #f3d58f, #c4913c); color: #2a1806; border-color: #7a521c; }
#login .dc-btn { width: min(424px, 100%); border: 2px solid #5a3c1c; border-radius: 6px; color: #f3e3c0;
  background: linear-gradient(180deg, rgba(46, 30, 16, .95), rgba(18, 11, 5, .97)), url('../assets/ui/q_wood.jpg') center / 280px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .35), 0 10px 26px rgba(0, 0, 0, .5); }
#login .dc-btn > span, #login .dc-btn b { color: #f3d58f; }
#login .dc-btn small { color: #c7b28a; }
#login .dc-btn:hover { border-color: #b8893e; filter: none; }
#login .pc-dl { border-color: rgba(184, 137, 62, .6); color: #f3d58f; background: rgba(0, 0, 0, .3); }
html.mobile #login .login-card { border-width: 14px; border-image-width: 14px; padding: 8px 6px; }
/* Ayarlar: sadece simge (yer kazanmak için), para birimlerinin yanına yaslanır */
html:not(.mobile) #menu.hubs .mbtn[data-hub="ayar"], html:not(.mobile) #menu.hubs > .mbtn[data-win="settings"] { margin-left: auto; padding: 0 7px; }
html:not(.mobile) #menu.hubs .mbtn[data-hub="ayar"] .lbl, html:not(.mobile) #menu.hubs > .mbtn[data-win="settings"] .lbl { display: none; }
html:not(.mobile) .hub-pop .mbtn .badge { left: auto; right: 8px; top: 8px; width: auto; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — HEDEF ÇERÇEVESİ: gemi resmi, seviye rozeti, uzaklık, içeride "Ganimet listesi" düğmesi
   ===================================================================== */
.tg-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tg-top .tg-name { flex: 1; min-width: 0; }
.tg-lv { flex: none; padding: 1px 7px; border-radius: 4px; background: #7a1c14; border: 1px solid #c2553f; color: #fff; font: 700 12px/1.4 var(--font-ui); }
.tg-lv.hidden, .tg-dist b.hidden { display: none; }
.tg-dist { flex: none; font-size: 12.5px; color: #c7b28a; white-space: nowrap; }
.tg-dist b { font-weight: 600; color: #b6ffb0; }
.tg-dist b::after { content: ' · '; color: #c7b28a; }
.tg-dist i { font-style: normal; }
.tg-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tg-row .tg-sub { flex: 1; min-width: 0; }
.tl-lbl { display: none; }
html:not(.mobile) #target { width: 430px; align-items: flex-start; gap: 12px; padding: 10px 14px 12px 12px; border-radius: 8px; border: 2px solid #6b4a22 !important;
  background: linear-gradient(180deg, rgba(30, 19, 10, .86), rgba(14, 9, 4, .9)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .3), 0 10px 26px rgba(0, 0, 0, .5); }
html:not(.mobile) #target::before, html:not(.mobile) #target::after { display: none; }
html:not(.mobile) #target .portrait { width: 62px; height: 62px; padding: 5px; border-radius: 8px; background: radial-gradient(circle at 50% 40%, #4d86a8, #173247 80%) !important; }
html:not(.mobile) #target .tg-name { font: 700 20px/1.15 'EB Garamond', Georgia, serif; color: #ffd9c2; }
html:not(.mobile) #target .bar.hp { height: 18px; border-radius: 9px; background: #1a0d08; border: 1px solid #6b4a22; }
html:not(.mobile) #target .bar.hp > i { background: linear-gradient(180deg, #e0624e, #a12a1c); }
html:not(.mobile) #target .tg-sub { font-size: 13px; color: #c7b28a; }
html:not(.mobile) #tgLoot { position: relative; right: auto; top: auto; transform: none; flex: none; width: auto; height: 30px; padding: 0 12px 0 6px; display: flex; align-items: center; gap: 6px;
  border-radius: 5px; border: 1px solid rgba(226, 184, 102, .6); background: rgba(0, 0, 0, .35); box-shadow: none; cursor: pointer; }
html:not(.mobile) #tgLoot:hover { border-color: #e2b866; }
html:not(.mobile) #tgLoot .chest { width: 22px; height: 22px; border: 0; background: none; }
html:not(.mobile) #tgLoot .tl-lbl { display: block; font: 600 13px/1 var(--font-ui); color: #f3e3c0; white-space: nowrap; }
html:not(.mobile) #tgLoot.open .loot-pop { display: block; }
html:not(.mobile) #tgLoot .loot-pop { top: calc(100% + 10px); right: -14px; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — SOHBET: hafif ahşap pano, pirinç sekme, yuvarlak yazı kutusu (Discord düğmesi durur)
   ===================================================================== */
html:not(.mobile) #chat { padding: 10px; gap: 8px; border-radius: 8px; border: 2px solid #6b4a22 !important;
  background: linear-gradient(180deg, rgba(30, 19, 10, .82), rgba(14, 9, 4, .86)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .3), 0 10px 26px rgba(0, 0, 0, .5); }
html:not(.mobile) #chat::before, html:not(.mobile) #chat::after { display: none; }
html:not(.mobile) .chat-tabs { gap: 4px; align-items: center; }
html:not(.mobile) .chat-tabs button { padding: 5px 12px; border: 0; border-radius: 5px; background: none; color: #c7b28a; font: 600 14px/1.2 var(--font-ui); box-shadow: none; }
html:not(.mobile) .chat-tabs button:hover { color: #f3e3c0; background: rgba(226, 184, 102, .1); }
html:not(.mobile) .chat-tabs button.on { background: linear-gradient(180deg, #f3d58f, #c4913c); color: #2a1806; }
html:not(.mobile) #chatLog { background: none; border: 0; box-shadow: none; padding: 2px 4px; font-size: 14px; line-height: 1.35; }
html:not(.mobile) #chatLog div { margin: 0 0 5px; }
html:not(.mobile) #chatLog .n { color: #ffd98a; }
html:not(.mobile) #chatLog .sys { color: #c7b28a; font-style: normal; }
html:not(.mobile) #chatIn { height: 36px; border-radius: 18px; border: 1px solid rgba(226, 184, 102, .4); background: rgba(0, 0, 0, .4); padding: 0 14px; font-size: 14px; color: #f3e3c0; }
html:not(.mobile) #chatIn::placeholder { color: #a08c6a; }

/* GÖREV PANOSU küçültme (bilgisayar): başlıktaki oka basınca sadece başlık kalır */
#trkMin { display: none; }
html:not(.mobile) #tracker #trkMin { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-left: 6px; padding: 0; border: 1px solid rgba(226, 184, 102, .45); border-radius: 50%;
  background: rgba(0, 0, 0, .35); color: #e2b866; cursor: pointer; align-self: center; }
html:not(.mobile) #tracker #trkMin svg { width: 12px; height: 12px; display: block; transition: transform .15s; }
html:not(.mobile) #tracker.min #trkMin svg { transform: rotate(180deg); }
html:not(.mobile) #tracker.min > .trk { display: none; }
html:not(.mobile) #tracker.min:has(> .trk) { padding-bottom: 6px; }
html:not(.mobile) #tracker.min .trk-head { padding-bottom: 2px; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — KLAN penceresi (klanı olmayanlar): solda menü, klanlar parşömen kartlarda, altta "Klan kur"
   ===================================================================== */
.cl-wrap { display: flex; gap: 0; min-height: 100%; margin: -4px; }
.cl-nav { flex: none; width: 170px; padding: 4px 10px 4px 0; border-right: 1px solid rgba(226, 184, 102, .2); display: flex; flex-direction: column; gap: 4px; }
.cl-nav-b { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 0; border-left: 3px solid transparent; border-radius: 4px; background: none; color: #c7b28a; font: 600 15px/1.2 var(--font-ui); text-align: left; cursor: pointer; }
.cl-nav-b:hover { color: #f3e3c0; background: rgba(226, 184, 102, .08); }
.cl-nav-b.on { color: #f3e3c0; background: rgba(226, 184, 102, .16); border-left-color: #e2b866; }
.cl-nav-b em { margin-left: auto; font-style: normal; min-width: 20px; padding: 1px 6px; border-radius: 10px; background: #b3261e; color: #fff; font-size: 12px; text-align: center; }
.cl-body { flex: 1; min-width: 0; padding: 4px 4px 4px 16px; display: flex; flex-direction: column; gap: 12px; }
.cl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cl-head .search { margin-left: auto; width: 220px; }
.cl-h { margin: 0 !important; font: 700 23px/1.2 'EB Garamond', Georgia, serif !important; color: #e9c98a !important; }
.cl-h::before, .cl-h::after { display: none !important; }
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cl-grid .empty { grid-column: 1 / -1; }
.cl-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 2px solid #8a6a3a; border-radius: 6px; color: #3a2410;
  background: linear-gradient(180deg, rgba(244, 228, 192, .96), rgba(224, 200, 154, .97)), url('../assets/ui/q_parch.jpg') center / 400px auto repeat;
  box-shadow: inset 0 0 30px rgba(120, 80, 30, .25); }
.cl-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cl-top b { font: 700 20px/1.2 'EB Garamond', Georgia, serif; color: #3a2410; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-flag { flex: none; width: 44px; height: 30px; display: grid; place-items: center; }
.cl-flag svg { max-width: 100%; max-height: 100%; display: block; }
.cl-desc { font-size: 14px; line-height: 1.35; color: #5a3c1c; overflow-wrap: anywhere; }
.cl-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; font-weight: 600; color: #3a2410; margin-top: auto; }
.cl-foot .btn { margin-left: auto; }
.cl-foot .btn + .btn { margin-left: 0; }
.cl-make { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 6px; border: 1px solid rgba(226, 184, 102, .35); background: rgba(0, 0, 0, .3); }
.cl-mk-i { flex: none; width: 44px; height: 44px; }
.cl-mk-i svg { width: 100%; height: 100%; display: block; }
.cl-make b { display: block; font-size: 16.5px; color: #f3e3c0; }
.cl-make small { display: block; font-size: 13.5px; color: #c7b28a; }
.cl-make .btn { margin-left: auto; flex: none; }
.cl-form { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 12px; align-items: end; max-width: 560px; }
.cl-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #d9c49a; }
.cl-form label.wide { grid-column: 1 / -1; }
.cl-form input { width: 100%; height: 42px; padding: 0 12px; border-radius: 5px; background: rgba(10, 6, 3, .6); border: 1px solid rgba(184, 137, 62, .45); color: #fff; font-size: 15px; user-select: text; }
.cl-form input:focus { border-color: #e2b866; outline: none; }
.cl-form .btn { grid-column: 1 / -1; justify-self: start; }
html.mobile .cl-wrap { flex-direction: column; }
html.mobile .cl-nav { width: auto; flex-direction: row; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid rgba(226, 184, 102, .2); }
html.mobile .cl-nav-b { border-left: 0; border-bottom: 3px solid transparent; padding: 8px 10px; font-size: 13.5px; }
html.mobile .cl-nav-b.on { border-bottom-color: #e2b866; }
html.mobile .cl-body { padding: 10px 0 0; }
html.mobile .cl-grid { grid-template-columns: 1fr; }
html:not(.mobile) #tgLoot .loot-pop { width: 350px; padding: 12px 14px; border-radius: 8px; border: 2px solid #6b4a22; cursor: default;
  background: linear-gradient(180deg, rgba(46, 30, 16, .97), rgba(18, 11, 5, .98)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .3), 0 18px 40px rgba(0, 0, 0, .6); }
html:not(.mobile) #tgLoot .loot-pop h6 { font: 700 18px/1.2 'EB Garamond', Georgia, serif; color: #e9c98a; }
html:not(.mobile) #target .portrait > svg { transform: scale(1.45); }

/* 11 Kasım 2026 (oyuncu geri bildirimi) — sohbet ve hasar listesi küçültme */
.chat-min { display: none; }
html:not(.mobile) .chat-tabs .chat-min { display: grid; place-items: center; flex: none; width: 24px; height: 24px; padding: 0; margin-left: 4px; border: 1px solid rgba(226, 184, 102, .45); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #e2b866; }
html:not(.mobile) .chat-tabs .chat-min svg { width: 12px; height: 12px; display: block; transition: transform .15s; }
html:not(.mobile) #chat.min .chat-min svg { transform: rotate(180deg); }
html:not(.mobile) #chat.min #chatLog, html:not(.mobile) #chat.min #chatIn { display: none; }
html:not(.mobile) #chat.min { height: auto; min-height: 0; }
#tgDmg h6 { cursor: pointer; display: flex; align-items: center; gap: 6px; pointer-events: auto; }
#tgDmg h6 .dm-chev { margin-left: auto; font-style: normal; color: #e2b866; transition: transform .15s; }
#tgDmg.min h6 .dm-chev { transform: rotate(-90deg); }
#tgDmg.min .dm-row { display: none; }
#tgDmg.min { padding-bottom: 6px; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — GEMİLERİN: uzun liste yerine küçük karolar + tek bilgi şeridi
   ===================================================================== */
.shp-pick { display: flex; flex-direction: column; gap: 8px; }
.shp-f { display: flex; flex-wrap: wrap; gap: 4px; }
.shp-f button { padding: 4px 10px; border-radius: 12px; border: 1px solid rgba(226, 184, 102, .35); background: rgba(0, 0, 0, .3); color: #c7b28a; font: 600 12.5px/1.2 var(--font-ui); cursor: pointer; }
.shp-f button.on { background: linear-gradient(180deg, #f3d58f, #c4913c); color: #2a1806; border-color: #7a521c; }
.shp-hint { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; background: rgba(226, 184, 102, .14); border: 1px solid rgba(226, 184, 102, .5); font-size: 13px; color: #f3e3c0; }
.shp-hint span { flex: 1; min-width: 0; }
.shp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; max-height: 292px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.shp-t { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 4px 3px 3px; border-radius: 6px; border: 1px solid rgba(226, 184, 102, .22);
  background: radial-gradient(circle at 50% 35%, rgba(58, 39, 21, .9), rgba(20, 12, 5, .92)); color: #d9c49a; cursor: pointer; }
.shp-t:hover { border-color: rgba(226, 184, 102, .6); }
.shp-t.on { border-color: #e2b866; box-shadow: 0 0 0 1px #e2b866, 0 0 10px rgba(226, 184, 102, .45); color: #fff; }
.shp-i { width: 100%; height: 40px; display: grid; place-items: center; overflow: hidden; }
.shp-i > * { max-width: 100%; max-height: 40px; width: auto; height: 40px; object-fit: contain; display: block; }
.shp-nm { width: 100%; font: 600 10px/1.15 var(--font-ui); text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 23px; }
.shp-n { position: absolute; left: 3px; top: 2px; font: 700 10px/1 var(--font-ui); font-style: normal; color: #e2b866; text-shadow: 0 1px 2px #000; }
.shp-use { position: absolute; right: 4px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #6fd35a; box-shadow: 0 0 6px #6fd35a; }
.shp-det { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 6px; border: 1px solid rgba(226, 184, 102, .35); background: rgba(0, 0, 0, .3); }
.shp-det-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shp-det-t b { font: 700 18px/1.2 'EB Garamond', Georgia, serif; color: #f3d58f; }
.shp-det-t small { font-size: 12.5px; color: #c7b28a; }
.shp-det-b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.shp-det-b .sub { color: #b6ffb0; font-weight: 600; font-size: 13px; margin-right: 4px; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — hedef çerçevesi boyutlandırma tutamağı, sohbet küçültme düğmesi taşmasın
   ===================================================================== */
#tgRs { display: none; }
html:not(.mobile) #target { transform: translateX(-50%) scale(var(--tg-s, 1)); transform-origin: 50% 0; }
html:not(.mobile) #tgRs { display: grid; place-items: center; position: absolute; right: 1px; bottom: 1px; width: 18px; height: 18px; color: rgba(226, 184, 102, .55); cursor: nwse-resize; touch-action: none; z-index: 2; }
html:not(.mobile) #tgRs:hover { color: #f3d58f; }
html:not(.mobile) #tgRs svg { width: 12px; height: 12px; display: block; }
html:not(.mobile) #chat .chat-tabs { min-width: 0; }
html:not(.mobile) #chat .chat-tabs button:not(.chat-min) { flex: none; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
html:not(.mobile) #chat .chat-tabs.tight { gap: 2px; }
html:not(.mobile) #chat .chat-tabs.tight button:not(.chat-min) { padding-left: 6px; padding-right: 6px; font-size: 13px; }
html:not(.mobile) #chat .chat-tabs.tight .chat-dc { padding: 0 7px; }
html:not(.mobile) #chat .chat-tabs.tight .chat-dc span { display: none; }
html:not(.mobile) #chat .chat-tabs .chat-dc { flex: none; }
html:not(.mobile) #chat .chat-tabs .chat-min { margin-left: auto; }

/* 11 Kasım 2026 — kademeli açılma: kilitli menü düğmesi */
.mbtn.locked .ring, #mSheet .m-kt-card.locked .m-kt-ic { filter: grayscale(1) brightness(.7); }   /* 5 Aralık 2026: telefon menüsü kartları (eski kutucuklar .m-sg kaldırıldı) */
.mbtn.locked .lbl { opacity: .55; }
html:not(.mobile) .hub-pop .mbtn.locked .hub-desc { color: #d9a13c; }

/* 11 Kasım 2026 — oto av: tam ödüllü süre bitti uyarısı */
.au-over { color: #ffb37a; font-weight: 600; }

/* =====================================================================
   11 Kasım 2026 (kullanıcı) — Kaptan Kartı: parşömen üstünde okunmayan yazılar; sohbet: üstte yarım kalan satır
   ===================================================================== */
.win.pirate .cap-card .ap-badge.prem { color: #ffe9b0; background: linear-gradient(180deg, #8a5a1c, #5a3608); border: 1px solid #3a2208; text-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
.win.pirate .cap-card .ap-badge.adm { color: #f1e4ff; background: linear-gradient(180deg, #6a3fa0, #432268); border: 1px solid #2a1444; }
.win.pirate .cap-card .ap-badge.ban { color: #ffe1d8; background: linear-gradient(180deg, #a3301c, #6e1a0c); border: 1px solid #45100a; }
.win.pirate .cap-card .cap-clan .tag { color: #1f4f7a; }
.win.pirate .cap-card .cap-clan span { color: #3a2410; font-weight: 600; }
.win.pirate .cap-card .cap-clan small { color: #6b4a26; }
.win.pirate .cap-card .cap-log { color: #5a3a1a; }
.win.pirate .cap-card .cap-log b, .win.pirate .cap-card .cap-log.sez b { color: #8a3d0c; }
.win.pirate .cap-card .cap-login { color: #6b4a26; }
.win.pirate .cap-card .cap-rk small { color: #5a3a1a; opacity: 1; }
.win.pirate .cap-card .cap-seen { color: #6b4a26; }
.win.pirate .cap-card .cap-seen.on { color: #2a6414; font-weight: 600; }
.win.pirate .cap-card .cap-meta { color: #5a3a1a; }
/* sohbet: kaydırılmış listede en üstteki satır yarım kesilmiş görünmesin, yumuşakça solsun */
html:not(.mobile) #chatLog { padding-top: 6px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px); mask-image: linear-gradient(to bottom, transparent 0, #000 16px); }

/* =====================================================================
   12 Kasım 2026 (kullanıcı) — HEDEF ÇERÇEVESİ: DÜRBÜN. Mercekte hedefin canlı görüntüsü, çevresinde can halkası,
   mercekte uzaklık cetveli; yanında düz plaka (isim, seviye, uzaklık, can, ganimet). Yalnızca bilgisayarda.
   ===================================================================== */
.tg-lens { display: contents; }
#tgCam, .tg-brass, .tg-ring, .tg-sc { display: none; }
html:not(.mobile) #target { width: auto; max-width: none; padding: 0; gap: 0; align-items: flex-start; border: 0 !important; border-radius: 0; background: none; box-shadow: none; }
html:not(.mobile) .tg-lens { display: block; position: relative; flex: none; width: 124px; height: 124px; z-index: 1; }
html:not(.mobile) #target .tg-lens .portrait { position: absolute; inset: 14px; width: auto; height: auto; padding: 16px; border: 0 !important; border-radius: 50%; background: #1c5673 !important; box-shadow: none; overflow: hidden; }
html:not(.mobile) #tgCam { position: absolute; left: 14px; top: 14px; width: 96px; height: 96px; border-radius: 50%; }
html:not(.mobile) .tg-lens.live #tgCam { display: block; }
html:not(.mobile) #target.far :is(#tgCam, .portrait) { filter: saturate(.45) brightness(.8); }   /* menzil dışı: bulanıklık yok (leke gibi duruyordu), yalnızca soluk */
html:not(.mobile) .tg-brass { display: block; position: absolute; inset: 9px; border-radius: 50%; border: 5px solid #b78f3f; pointer-events: none; }
html:not(.mobile) .tg-ring { display: block; position: absolute; inset: 0; width: 124px; height: 124px; transform: rotate(-90deg); pointer-events: none; }
.tg-ring circle { fill: none; }
.tg-ring .tr-bg { stroke: #17120c; stroke-width: 7; }
#tgRing { stroke: #d8452f; stroke-width: 5; transition: stroke-dasharray .25s linear; }
html:not(.mobile) .tg-sc { display: block; position: absolute; left: 30px; right: 30px; top: 86px; height: 1px; background: #efe4cc; box-shadow: 0 0 0 1px rgba(0, 0, 0, .28); pointer-events: none; }
.tg-sc i { position: absolute; top: -4px; width: 1px; height: 9px; background: #efe4cc; box-shadow: 0 0 0 1px rgba(0, 0, 0, .28); }
.tg-sc b { position: absolute; top: -8px; left: 100%; width: 3px; height: 17px; margin-left: -1px; background: #efe4cc; transition: left .2s linear; }
#target.inr .tg-sc b { background: #8fd694; }
html:not(.mobile) #target .st-main { position: relative; flex: none; width: max-content; min-width: 150px; max-width: 330px; box-sizing: border-box; margin: 20px 0 0 -16px; padding: 9px 16px 10px 26px; gap: 3px; background: #17120c; }
html:not(.mobile) #target .st-main { --pr: 16px; }
html:not(.mobile) #target .st-main:has(#tgLoot:not(.hidden)) { --pr: 58px; padding-right: 58px; }
html:not(.mobile) #target .tg-top { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 7px; row-gap: 4px; }
html:not(.mobile) #target .tg-name { grid-area: 1 / 1; font: 600 17px/1.15 var(--font-ui); color: #efe4cc; text-shadow: none; }
html:not(.mobile) #target .tg-lv { grid-area: 1 / 2; padding: 0; border: 0; background: none; color: #a99d85; font: 400 17px/1.15 var(--font-ui); }
html:not(.mobile) #target .tg-dist { grid-area: 2 / 1 / 3 / 3; font: 600 17px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; color: #efe4cc; }
html:not(.mobile) #target .tg-dist b { display: none; }
html:not(.mobile) #target.inr .tg-dist { color: #8fd694; }
html:not(.mobile) #target .bar.hp { height: auto; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
html:not(.mobile) #target .bar.hp > i { display: none; }
html:not(.mobile) #target .bar.hp > span { position: static; display: block; font: 400 14px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; letter-spacing: 0; color: #cbbfa6; text-shadow: none; }
/* açıklama ve düğmeler yalnızca fare çerçevenin üstündeyken açılır; plakanın genişliğini değiştirmez */
html:not(.mobile) #target .tg-row { display: block; }
html:not(.mobile) #target .tg-row .tg-sub { display: none; width: 0; min-width: 100%; margin-top: 3px; white-space: normal; font-size: 13px; line-height: 1.35; color: #a99d85; }
html:not(.mobile) #target .tg-btns { display: none; width: 0; min-width: 100%; margin-top: 4px; }
html:not(.mobile) #target:hover .tg-row .tg-sub { display: block; }
html:not(.mobile) #target:hover .tg-btns:has(.btn:not(.hidden)) { display: flex; }
html:not(.mobile) #tgLoot { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0; background: #3a2a1c; animation: none; }
html:not(.mobile) #tgLoot:hover { background: #4a3724; }
html:not(.mobile) #tgLoot .chest { width: 26px; height: 26px; }
html:not(.mobile) #tgLoot.rare { box-shadow: inset 0 -3px 0 #ff5a8c; }
html:not(.mobile) #tgLoot.boss:not(.rare) { box-shadow: inset 0 -3px 0 #5fd2ef; }
html:not(.mobile) #tgLoot .tl-lbl { display: none; }
html:not(.mobile) #tgLoot .loot-pop { left: auto; right: -12px; top: calc(100% + 10px); }
html:not(.mobile) #target .tg-btns .btn { border: 0; border-radius: 0; background: #3a2a1c; color: #efe4cc; box-shadow: none; text-shadow: none; }
html:not(.mobile) #target .tg-btns .btn.green { background: #efe4cc; color: #17120c; }
html:not(.mobile) #target .tg-btns .btn.red { background: #8c2a1c; color: #fff; }
/* 12 Kasım 2026 (kullanıcı) — VERİLEN HASAR listesi: dürbün plakasının alt bölümü (aynı düz zemin, bir ton açık), düz kırmızı çubuklar */
html:not(.mobile) #target .st-main:has(#tgDmg:not(.hidden)) { min-width: 270px; }
html:not(.mobile) #tgDmg { position: static; width: 0; min-width: calc(100% + 26px + var(--pr)); box-sizing: border-box; margin: 7px calc(-1 * var(--pr)) -10px -26px; padding: 8px 16px 10px 26px;
  border: 0; border-radius: 0; background: #221a12; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: auto; }
html:not(.mobile) #tgDmg.min { padding-bottom: 8px; }
html:not(.mobile) #tgDmg h6 { margin: 0 0 5px; font: 600 13px/1.2 var(--font-ui); letter-spacing: 0; color: #a99d85; }
html:not(.mobile) #tgDmg h6 .dm-chev { color: #a99d85; }
html:not(.mobile) #tgDmg .dm-row { gap: 10px; font: 400 14px/1.55 var(--font-ui); color: #cbbfa6; }
html:not(.mobile) #tgDmg .dm-row .nm { width: 112px; }
html:not(.mobile) #tgDmg .dm-row.me .nm { color: #efe4cc; font-weight: 600; }
html:not(.mobile) #tgDmg .dm-row .bar { height: 6px; border-radius: 0; background: #3a2a1c; box-shadow: none; }
html:not(.mobile) #tgDmg .dm-row .bar i { position: static; border-radius: 0; background: #d8452f; }
html:not(.mobile) #tgDmg .dm-row .bar i::before, html:not(.mobile) #tgDmg .dm-row .bar i::after { display: none; }
html:not(.mobile) #tgDmg .dm-row b { width: 48px; font-weight: 600; color: #efe4cc; }
/* 12 Kasım 2026 (kullanıcı: "çok kafa karıştırıcı") — dürbün sadeleşti: mercekte cetvel ve pirinç halka yok; yalnızca görüntü ve can halkası */
html:not(.mobile) .tg-sc, html:not(.mobile) .tg-brass { display: none; }
html:not(.mobile) #target .tg-lens .portrait { inset: 8px; }
html:not(.mobile) #tgCam { left: 8px; top: 8px; width: 108px; height: 108px; }
/* 12 Kasım 2026 (kullanıcı) — OTO AV menüsü sade: açıklamalar ipucunda; satır sonunda küçük "i" işareti */
#autoPop .au-i { flex: none; margin-left: auto; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; font: 700 11px/1 var(--font-ui); font-style: normal; color: #c9b596; background: rgba(255, 255, 255, .09); }
#autoPop label.au-chk { align-items: center; }
#autoPop label.au-chk input { margin-top: 0; }
#autoPop label.au-chk:hover .au-i, #autoPop .au-tip:hover .au-i { color: #1a0f06; background: #e8c777; }
#autoPop .au-tip { cursor: help; }
#autoPop .au-how { font-size: 12.5px; color: #c9b596; }
#tooltip { z-index: 9990; }   /* ipucu her zaman en üstte (oto av menüsünün altında kalıyordu) */
/* 12 Kasım 2026 (kullanıcı) — OTO AV menüsü: dürbün plakasıyla aynı düz koyu görünüm (lacivert kutu yerine) */
html:not(.mobile) #autoPop { width: 330px; padding: 14px 16px 12px; gap: 6px; border: 0; border-radius: 0; background: #17120c; color: #efe4cc; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); -webkit-backdrop-filter: none; backdrop-filter: none; }
html:not(.mobile) #autoPop::before, html:not(.mobile) #autoPop::after { display: none; }
html:not(.mobile) #autoPop h4 { margin: 0; font: 600 17px/1.2 var(--font-ui); color: #efe4cc; letter-spacing: 0; text-shadow: none; }
html:not(.mobile) #autoPop .au-st { padding: 3px 8px; border-radius: 0; font: 600 12px/1.2 var(--font-ui); color: #a99d85; background: #2a2016; }
html:not(.mobile) #autoPop .au-st.on { color: #17120c; background: #8fd694; }
html:not(.mobile) #autoPop .au-row > span { font-size: 14px; color: #cbbfa6; font-variant-numeric: tabular-nums; }
html:not(.mobile) #autoPop .au-row > span.au-over, html:not(.mobile) #autoPop .au-note.au-over { color: #f0a868; }
html:not(.mobile) #autoPop .au-note { font-size: 13px; line-height: 1.4; opacity: 1; }
html:not(.mobile) #autoPop .btn { height: 36px; border: 0; border-radius: 0; box-shadow: none; text-shadow: none; font: 600 15px/1 var(--font-ui); }
html:not(.mobile) #autoPop .btn.gold { background: #efe4cc; color: #17120c; }
html:not(.mobile) #autoPop .btn.red { background: #8c2a1c; color: #fff; }
html:not(.mobile) #autoPop .btn:hover { filter: brightness(1.08); }
html:not(.mobile) #autoPop label.au-chk { gap: 10px; margin: 0 -16px; padding: 5px 16px; font-size: 14px; color: #efe4cc; }
html:not(.mobile) #autoPop label.au-chk:hover { background: #221a12; }
html:not(.mobile) #autoPop label.au-chk input { width: 16px; height: 16px; flex: none; accent-color: #efe4cc; }
html:not(.mobile) #autoPop .au-i { border-radius: 0; color: #a99d85; background: #2a2016; }
html:not(.mobile) #autoPop label.au-chk:hover .au-i, html:not(.mobile) #autoPop .au-tip:hover .au-i { color: #17120c; background: #efe4cc; }
html:not(.mobile) #autoPop .au-how { margin: 2px -16px -12px; padding: 9px 16px; background: #221a12; }
html:not(.mobile) #autoPop .au-how > span { font-size: 13px; color: #a99d85; }
/* 12 Kasım 2026 (denetim): eski lacivert temadan kalan iki parça oyunun koyu ahşap tonuna geçti — ipucu kutusu ve Sefer Bileti kutusu */
#tooltip { background: rgba(23, 18, 12, .97); border: 1px solid rgba(214, 166, 80, .35); border-radius: 4px; color: #d9ccb0; box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }
#tooltip b { color: #f3e3c0; }
.sz-buy { border: 1px solid rgba(214, 166, 80, .4); background: rgba(214, 166, 80, .08); }

/* =====================================================================
   12 Kasım 2026 (kullanıcı) — TELEFON: hedef çerçevesi de DÜRBÜN (bilgisayardaki ile aynı, küçük ölçek). Eski büyük ahşap kutu
   ekranın üstünü kaplıyordu. Açıklama ve düğmeler plakaya dokununca açılır. Verilen hasar ve oto av menüsü de aynı düz görünümde.
   (html.mobile üç kez: eski telefon kurallarının hepsinden baskın olsun diye.)
   ===================================================================== */
#target.open .tg-row .tg-sub { display: block !important; }
#target.open .tg-btns:has(.btn:not(.hidden)) { display: flex !important; }
html.mobile.mobile.mobile #target { width: auto; max-width: none; padding: 0; gap: 0; align-items: flex-start; border: 0 !important; border-radius: 0; background: none; box-shadow: none; }
html.mobile.mobile.mobile #target::before, html.mobile.mobile.mobile #target::after { display: none; }
html.mobile.mobile.mobile #target .tg-lens { display: block; position: relative; flex: none; width: 72px; height: 72px; z-index: 1; }
html.mobile.mobile.mobile #target .tg-lens .portrait { position: absolute; inset: 5px; width: auto; height: auto; padding: 9px; border: 0 !important; border-radius: 50%; background: #1c5673 !important; box-shadow: none; overflow: hidden; }
html.mobile.mobile.mobile #tgCam { position: absolute; left: 5px; top: 5px; width: 62px; height: 62px; border-radius: 50%; }
html.mobile.mobile.mobile .tg-lens.live #tgCam { display: block; }
html.mobile.mobile.mobile #target.far :is(#tgCam, .portrait) { filter: saturate(.45) brightness(.8); }
html.mobile.mobile.mobile .tg-ring { display: block; position: absolute; inset: 0; width: 72px; height: 72px; transform: rotate(-90deg); pointer-events: none; }
html.mobile.mobile.mobile #target .st-main { --pr: 12px; position: relative; flex: none; width: max-content; min-width: 112px; max-width: min(210px, calc(100vw - 150px)); box-sizing: border-box; margin: 7px 0 0 -10px; padding: 6px 12px 7px 17px; gap: 2px; background: #17120c; }
html.mobile.mobile.mobile #target .st-main:has(#tgLoot:not(.hidden)) { --pr: 46px; padding-right: 46px; }
html.mobile.mobile.mobile #target .tg-top { display: grid; grid-template-columns: minmax(0, auto) auto; justify-content: start; align-items: baseline; column-gap: 6px; row-gap: 2px; }
html.mobile.mobile.mobile #target .tg-name { grid-area: 1 / 1; font: 600 14px/1.15 var(--font-ui); color: #efe4cc; text-shadow: none; }
html.mobile.mobile.mobile #target .tg-lv { grid-area: 1 / 2; padding: 0; border: 0; background: none; color: #a99d85; font: 400 14px/1.15 var(--font-ui); }
html.mobile.mobile.mobile #target .tg-dist { grid-area: 2 / 1 / 3 / 3; font: 600 14px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; color: #efe4cc; }
html.mobile.mobile.mobile #target .tg-dist b { display: none; }
html.mobile.mobile.mobile #target.inr .tg-dist { color: #8fd694; }
html.mobile.mobile.mobile #target .bar.hp { height: auto; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
html.mobile.mobile.mobile #target .bar.hp > i { display: none; }
html.mobile.mobile.mobile #target .bar.hp > span { position: static; display: block; font: 400 12px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; letter-spacing: 0; color: #cbbfa6; text-shadow: none; white-space: nowrap; }
html.mobile.mobile.mobile #target .tg-row { display: block; }
html.mobile.mobile.mobile #target .tg-row .tg-sub { display: none; width: 0; min-width: 100%; margin-top: 3px; white-space: normal; font-size: 12px; line-height: 1.35; color: #a99d85; }
html.mobile.mobile.mobile #target .tg-btns { display: none; width: 0; min-width: 100%; margin-top: 4px; flex-wrap: wrap; gap: 4px; }
html.mobile.mobile.mobile #target .tg-btns .btn { height: 30px; padding: 0 9px; border: 0; border-radius: 0; background: #3a2a1c; color: #efe4cc; box-shadow: none; text-shadow: none; font-size: 12px; }
html.mobile.mobile.mobile #target .tg-btns .btn.green { background: #efe4cc; color: #17120c; }
html.mobile.mobile.mobile #target .tg-btns .btn.red { background: #8c2a1c; color: #fff; }
html.mobile.mobile.mobile #tgLoot { position: absolute; right: 8px; left: auto; top: 8px; transform: none; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0; background: #3a2a1c; box-shadow: none; animation: none; }
html.mobile.mobile.mobile #tgLoot.hidden { display: none; }
html.mobile.mobile.mobile #tgLoot .chest { width: 24px; height: 24px; border: 0; background: none; }
html.mobile.mobile.mobile #tgLoot.rare { box-shadow: inset 0 -3px 0 #ff5a8c; }
html.mobile.mobile.mobile #tgLoot.boss:not(.rare) { box-shadow: inset 0 -3px 0 #5fd2ef; }
html.mobile.mobile.mobile #tgDmg { position: static; width: 0; min-width: calc(100% + 17px + var(--pr)); box-sizing: border-box; margin: 5px calc(-1 * var(--pr)) -7px -17px; padding: 6px 12px 7px 17px; gap: 2px; border: 0; border-radius: 0; background: #221a12; box-shadow: none; pointer-events: auto; }
html.mobile.mobile.mobile #target .st-main:has(#tgDmg:not(.hidden)) { min-width: 200px; }
html.mobile.mobile.mobile #tgDmg h6 { margin: 0 0 3px; font: 600 12px/1.2 var(--font-ui); letter-spacing: 0; color: #a99d85; }
html.mobile.mobile.mobile #tgDmg .dm-row { gap: 7px; font: 400 12px/1.5 var(--font-ui); color: #cbbfa6; }
html.mobile.mobile.mobile #tgDmg .dm-row .nm { width: 74px; }
html.mobile.mobile.mobile #tgDmg .dm-row.me .nm { color: #efe4cc; font-weight: 600; }
html.mobile.mobile.mobile #tgDmg .dm-row .bar { height: 5px; border-radius: 0; background: #3a2a1c; box-shadow: none; }
html.mobile.mobile.mobile #tgDmg .dm-row .bar i { position: static; border-radius: 0; background: #d8452f; }
html.mobile.mobile.mobile #tgDmg .dm-row .bar i::before, html.mobile.mobile.mobile #tgDmg .dm-row .bar i::after { display: none; }
html.mobile.mobile.mobile #tgDmg .dm-row b { width: 42px; font-weight: 600; color: #efe4cc; }
/* telefon: oto av menüsü aynı düz koyu görünümde */
html.mobile #autoPop { border: 0; border-radius: 0; background: #17120c; color: #efe4cc; box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
html.mobile #autoPop::before, html.mobile #autoPop::after { display: none; }
html.mobile #autoPop h4 { font: 600 16px/1.2 var(--font-ui); color: #efe4cc; text-shadow: none; }
html.mobile #autoPop .au-st { border-radius: 0; color: #a99d85; background: #2a2016; }
html.mobile #autoPop .au-st.on { color: #17120c; background: #8fd694; }
html.mobile #autoPop .au-x { border-radius: 0; background: #2a2016; color: #cbbfa6; }
html.mobile #autoPop .btn { border: 0; border-radius: 0; box-shadow: none; text-shadow: none; }
html.mobile #autoPop .btn.gold { background: #efe4cc; color: #17120c; }
html.mobile #autoPop .btn.red { background: #8c2a1c; color: #fff; }
html.mobile #autoPop .au-left { color: #cbbfa6; }
html.mobile #autoPop .au-left.au-over, html.mobile #autoPop .au-note.au-over { color: #f0a868; }
html.mobile #autoPop label.au-chk { color: #efe4cc; }
html.mobile #autoPop label.au-chk input { accent-color: #efe4cc; }
html.mobile #autoPop details.au-more { border-top: 0; margin: 2px -14px -12px; padding: 8px 14px 10px; background: #221a12; }
html.mobile #autoPop details.au-more summary { color: #a99d85; font-weight: 600; }
html.mobile #autoPop .au-note { opacity: 1; color: #a99d85; }
/* telefon (dikey): yatay kayan sekme şeritlerinin sağ kenarı solarak biter: "devamı var" işareti (eskiden son sekmeler görünmüyordu) */
@media (orientation: portrait) {
  html.mobile .win-side, html.mobile .win.pirate .tabs-row { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); padding-right: 26px; }
}

/* =====================================================================
   12 Kasım 2026 (oyuncu: "simge yazıyla ortalı olsun") — dürbün: mercek ve plaka her zaman dikeyde ortalı.
   Açıklama, düğmeler ve verilen hasar listesi artık plakayı büyütmez; plakanın ALTINDA ayrı bir kutuda (.tg-more) açılır.
   ===================================================================== */
#target .tg-more { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; background: #221a12; }
#target .tg-more .tg-row { display: block; margin: 0; }
html:not(.mobile) #target, html.mobile.mobile.mobile #target { align-items: center; }
html:not(.mobile) #target .st-main { margin: 0 0 0 -16px; }
html.mobile.mobile.mobile #target .st-main { margin: 0 0 0 -10px; }
html:not(.mobile) #target .tg-more .tg-sub, html.mobile.mobile.mobile #target .tg-more .tg-sub,
html:not(.mobile) #target .tg-more .tg-btns, html.mobile.mobile.mobile #target .tg-more .tg-btns { width: auto; min-width: 0; margin: 0; }
html:not(.mobile) #target .tg-more #tgDmg, html.mobile.mobile.mobile #target .tg-more #tgDmg { position: static; width: auto; min-width: 0; margin: 0; padding: 0; background: none; }
html:not(.mobile) #target:is(:hover, .open) .tg-more, html:not(.mobile) #target .tg-more:has(#tgDmg:not(.hidden)) { padding: 9px 16px 11px 26px; }
html.mobile.mobile.mobile #target.open .tg-more, html.mobile.mobile.mobile #target .tg-more:has(#tgDmg:not(.hidden)) { padding: 7px 12px 8px 17px; }
/* açılacak bir şey yoksa (açıklama boş, düğme yok, hasar listesi yok) kutu hiç görünmez */
#target .tg-more:not(:has(#tgDmg:not(.hidden))):not(:has(.tg-sub:not(:empty))):not(:has(.btn:not(.hidden))) { display: none; }

/* =====================================================================
   12 Kasım 2026 (kullanıcı onayı) — HEDEF ÇERÇEVESİ AHŞAP: plaka pencerelerdeki ahşap doku + ince altın çizgi, isim serif altın,
   mercekte pirinç halka ve geminin SABİT resmi (canlı görüntü kaldırıldı). Verilen hasar ve oto av menüsü de aynı ahşap görünümde.
   ===================================================================== */
#tgCam { display: none !important; }
html:not(.mobile) #target .st-main, html.mobile.mobile.mobile #target .st-main { background: linear-gradient(180deg, rgba(38, 25, 14, .90), rgba(18, 11, 6, .94)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat; border: 2px solid #6b4a22; border-left: 0; box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .28), 0 8px 20px rgba(0, 0, 0, .45); }
html:not(.mobile) #target .st-main { padding: 9px 16px 10px 28px; }
html:not(.mobile) #target .st-main:has(#tgLoot:not(.hidden)) { padding-right: 60px; }
html.mobile.mobile.mobile #target .st-main { padding: 5px 12px 6px 19px; }
html.mobile.mobile.mobile #target .st-main:has(#tgLoot:not(.hidden)) { padding-right: 48px; }
html:not(.mobile) #target .tg-name { font: 700 19px/1.15 'EB Garamond', Georgia, serif; color: #f3dfae; text-shadow: 0 1px 1px #000; }
html.mobile.mobile.mobile #target .tg-name { font: 700 15px/1.15 'EB Garamond', Georgia, serif; color: #f3dfae; text-shadow: 0 1px 1px #000; }
html:not(.mobile) #target .bar.hp > span, html.mobile.mobile.mobile #target .bar.hp > span { color: #c9b596; }
html:not(.mobile) .tg-brass { display: block; position: absolute; inset: 6px; border-radius: 50%; border: 4px solid #b78f3f; box-shadow: 0 0 0 1px #3a2610, inset 0 0 0 1px #3a2610; pointer-events: none; }
html.mobile.mobile.mobile .tg-brass { display: block; position: absolute; inset: 4px; border-radius: 50%; border: 3px solid #b78f3f; box-shadow: 0 0 0 1px #3a2610, inset 0 0 0 1px #3a2610; pointer-events: none; }
html:not(.mobile) #target .tg-lens .portrait { inset: 10px; padding: 6px; background: radial-gradient(circle at 50% 40%, #3f7896, #173247 82%) !important; }
html.mobile.mobile.mobile #target .tg-lens .portrait { inset: 7px; padding: 4px; background: radial-gradient(circle at 50% 40%, #3f7896, #173247 82%) !important; }
html:not(.mobile) #target.far .tg-lens .portrait, html.mobile.mobile.mobile #target.far .tg-lens .portrait { filter: saturate(.5) brightness(.82); }
.tg-ring .tr-bg { stroke: #1a0f06; }
html:not(.mobile) #tgLoot, html.mobile.mobile.mobile #tgLoot { background: rgba(0, 0, 0, .35); border: 1px solid rgba(226, 184, 102, .55); border-radius: 4px; }
#target .tg-more { background: linear-gradient(180deg, rgba(26, 17, 9, .94), rgba(14, 9, 4, .96)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat; }
html:not(.mobile) #target .tg-more .tg-sub, html.mobile.mobile.mobile #target .tg-more .tg-sub { color: #c9b596; }
html:not(.mobile) #target .tg-btns .btn, html.mobile.mobile.mobile #target .tg-btns .btn { border: 1px solid rgba(214, 166, 80, .5); border-radius: 4px; background: linear-gradient(180deg, rgba(110, 72, 34, .6), rgba(50, 30, 12, .75)); color: #f3e2bd; }
html:not(.mobile) #target .tg-btns .btn.green, html.mobile.mobile.mobile #target .tg-btns .btn.green { border-color: rgba(120, 200, 110, .55); background: linear-gradient(180deg, rgba(52, 110, 46, .7), rgba(22, 56, 20, .85)); color: #e2ffd8; }
html:not(.mobile) #target .tg-btns .btn.red, html.mobile.mobile.mobile #target .tg-btns .btn.red { border-color: rgba(229, 84, 63, .6); background: linear-gradient(180deg, rgba(150, 40, 24, .65), rgba(70, 16, 8, .8)); color: #ffd2c6; }
#target #tgDmg h6 { color: #e9c98a !important; }
#target #tgDmg .dm-row .bar { background: rgba(0, 0, 0, .45) !important; }
/* oto av menüsü: ahşap */
#autoPop.frame, html.mobile #autoPop { background: linear-gradient(180deg, rgba(38, 25, 14, .90), rgba(18, 11, 6, .94)), url('../assets/ui/q_wood.jpg') center / 260px auto repeat; border: 2px solid #6b4a22; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .28), 0 10px 28px rgba(0, 0, 0, .5); }
#autoPop h4 { font: 700 20px/1.2 'EB Garamond', Georgia, serif !important; color: #f3dfae !important; }
#autoPop .btn.gold { background: linear-gradient(180deg, #f6d27a, #c8922e) !important; color: #3b2410 !important; border-radius: 4px !important; }
#autoPop .btn.red { background: linear-gradient(180deg, #b23a26, #6d1a0e) !important; color: #fff !important; border-radius: 4px !important; }
#autoPop .au-st, #autoPop .au-i, #autoPop .au-x { border-radius: 4px !important; background: rgba(0, 0, 0, .35) !important; }
#autoPop .au-st.on { background: #2f7d19 !important; color: #fff !important; }
#autoPop label.au-chk:hover { background: rgba(255, 220, 160, .06) !important; }
#autoPop label.au-chk input { accent-color: #e2b866 !important; }
#autoPop .au-how, html.mobile #autoPop details.au-more { background: rgba(0, 0, 0, .28) !important; border-top: 1px solid rgba(226, 184, 102, .22); }
html:not(.mobile) #target:is(:hover, .open) .tg-more, html:not(.mobile) #target .tg-more:has(#tgDmg:not(.hidden)),
html.mobile.mobile.mobile #target.open .tg-more, html.mobile.mobile.mobile #target .tg-more:has(#tgDmg:not(.hidden)) { border: 2px solid #6b4a22; border-top: 1px solid rgba(226, 184, 102, .28); }

/* =====================================================================
   12 Kasım 2026 (oyuncu isteği) — hedef çerçevesi daha küçük, uzaklık yazısı yok, zemin %60 saydam (arkası görünür);
   küçük haritanın zemini de %60 saydam; sohbet köşesinden boyutlandırılır.
   ===================================================================== */
html:not(.mobile) #target .tg-dist, html.mobile.mobile.mobile #target .tg-dist { display: none; }
html:not(.mobile) #target .st-main, html.mobile.mobile.mobile #target .st-main { background: linear-gradient(180deg, rgba(38, 25, 14, .6), rgba(18, 11, 6, .6)); box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .28); }
#target .tg-more { background: linear-gradient(180deg, rgba(26, 17, 9, .6), rgba(14, 9, 4, .6)); }
/* 5 Aralık 2026l (oyuncu videosu): "Verilen hasar" listesi küçük yazılı; arkadaki gemi isimleri ve can çubukları içinden görünüp
   okunmuyordu. Hedef plakası yine %60 saydam (12 Kasım oyuncu isteği); yalnız liste açıkken alt kutu koyu */
#target .tg-more:has(#tgDmg:not(.hidden)) { background: linear-gradient(180deg, rgba(26, 17, 9, .93), rgba(14, 9, 4, .95)); }
html:not(.mobile) #target .tg-lens { width: 96px; height: 96px; }
html:not(.mobile) .tg-ring { width: 96px; height: 96px; }
html:not(.mobile) .tg-brass { inset: 5px; border-width: 3px; }
html:not(.mobile) #target .tg-lens .portrait { inset: 8px; padding: 5px; }
html:not(.mobile) #target .st-main { min-width: 130px; margin-left: -13px; padding: 7px 14px 8px 23px; gap: 2px; }
html:not(.mobile) #target .st-main:has(#tgLoot:not(.hidden)) { padding-right: 54px; }
html:not(.mobile) #target .tg-name { font-size: 17px; }
html:not(.mobile) #target .bar.hp > span { font-size: 13px; color: #e2d6bc; }
html:not(.mobile) #tgLoot { top: 50%; right: 11px; width: 32px; height: 32px; transform: translateY(-50%); }
html:not(.mobile) #tgLoot .chest { width: 23px; height: 23px; }
html.mobile.mobile.mobile #tgLoot { top: 50%; transform: translateY(-50%); }
#minimap { background: linear-gradient(180deg, rgba(44, 29, 17, .6), rgba(22, 14, 8, .6)); }
html:not(.mobile) #chat.sized { width: var(--chat-w); }
html:not(.mobile) #chat.sized #chatLog { height: var(--chat-h); }
#chatRs { display: none; }
html:not(.mobile) #chatRs { display: block; position: absolute; right: 1px; top: 1px; width: 16px; height: 16px; z-index: 3; cursor: nesw-resize; opacity: .45;
  background: linear-gradient(45deg, transparent 0 44%, #d6a650 44% 54%, transparent 54% 66%, #d6a650 66% 76%, transparent 76%); transform: scaleY(-1); }
html:not(.mobile) #chatRs:hover { opacity: 1; }
html:not(.mobile) #chat.min #chatRs { display: none; }
/* 12 Kasım 2026 (kullanıcı): ganimet listesi açıkken alttaki kutu (açıklama, düğmeler, verilen hasar) üstüne biniyordu, ödüller okunmuyordu.
   Ganimet listesi açıkken ya da fare sandığın üstündeyken alttaki kutu gizlenir; liste her zaman en üstte ve opak zeminde durur. */
#target:has(#tgLoot.open) .tg-more, #target:has(#tgLoot:hover) .tg-more { display: none !important; }
#target #tgLoot .loot-pop { z-index: 30; background: linear-gradient(180deg, #2a1c10, #170f08); }
html:not(.mobile) #target #tgLoot .loot-pop { top: calc(100% + 16px); right: -11px; }
html:not(.mobile) #target #tgLoot .loot-pop::before { content: ''; position: absolute; left: 0; right: 0; top: -32px; height: 32px; }   /* fare sandıktan listeye geçerken liste kapanmasın */

/* Yılbaşı etkinliği */
.ev-chip.ev-yilbasi { border-color: rgba(226, 51, 58, 0.75); box-shadow: var(--sh-1), 0 0 16px rgba(226, 51, 58, 0.28); }
.ev-chip.ev-yilbasi b { color: #ffd9d9; }
html:not(.mobile) .ev-chip.ev-yilbasi { box-shadow: inset 0 1px 0 rgba(255, 230, 230, .12), 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(226, 51, 58, .85), 0 0 0 3.5px rgba(20, 10, 2, .8), 0 0 16px rgba(226, 51, 58, .35); }
.ev-card.ev-yilbasi { background: linear-gradient(135deg, rgba(226, 51, 58, 0.16), rgba(40, 110, 60, 0.14)); border-color: rgba(226, 51, 58, 0.55); }
.ev-card.ev-yilbasi h5, .xm-h { color: #ff9a9a !important; }
.xm-row .btn.small { margin-top: 8px; }

/* ---- Yılbaşı görünümü (html.xmas): Ayarlar'dan kapatılabilir. Ahşap ve parşömen aynen kalır; üstüne kar, çam dalı, buz ve ışık gelir.
   Süsler ayrı öğelerdir (.xm), hiçbiri tıklamayı engellemez. ---- */
.xm { pointer-events: none; }
/* üst menünün altında çam dalı: fiyonk, top süsler ve iki sıra yanıp sönen ışık */
.xm-garland { position: fixed; left: 0; right: 0; top: calc(var(--top-h) - 3px); height: 40px; z-index: 6; }
.xm-garland i { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 176px 40px; }
.xm-garland i:nth-child(1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='40' viewBox='0 0 176 40'%3E%3Cpath d='M0 0h176v4c-9 0-9 6-16 6s-7-5-13-5-8 8-15 8-7-9-15-9-8 5-15 5-7-4-13-4-8 9-15 9-8-8-16-8-7 4-13 4-9-6-18-6-9 4-12 4z' fill='%23f4f9ff'/%3E%3Cpath d='M0 6 Q44 30 88 6 T176 6' fill='none' stroke='%23143d1e' stroke-width='11' stroke-linecap='round'/%3E%3Cpath d='M0 6 Q44 30 88 6 T176 6' fill='none' stroke='%231f6a30' stroke-width='7' stroke-linecap='round'/%3E%3Cg stroke='%233fa256' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M10 10l-4 5M10 10l4 5M10 10l0 -6'/%3E%3Cpath d='M22 14l-4 5M22 14l4 5M22 14l0 -6'/%3E%3Cpath d='M34 17l-4 5M34 17l4 5M34 17l0 -6'/%3E%3Cpath d='M46 18l-4 5M46 18l4 5M46 18l0 -6'/%3E%3Cpath d='M58 16l-4 5M58 16l4 5M58 16l0 -6'/%3E%3Cpath d='M70 12l-4 5M70 12l4 5M70 12l0 -6'/%3E%3Cpath d='M80 8l-4 5M80 8l4 5M80 8l0 -6'/%3E%3Cpath d='M98 10l-4 5M98 10l4 5M98 10l0 -6'/%3E%3Cpath d='M110 14l-4 5M110 14l4 5M110 14l0 -6'/%3E%3Cpath d='M122 17l-4 5M122 17l4 5M122 17l0 -6'/%3E%3Cpath d='M134 18l-4 5M134 18l4 5M134 18l0 -6'/%3E%3Cpath d='M146 16l-4 5M146 16l4 5M146 16l0 -6'/%3E%3Cpath d='M158 12l-4 5M158 12l4 5M158 12l0 -6'/%3E%3Cpath d='M168 8l-4 5M168 8l4 5M168 8l0 -6'/%3E%3C/g%3E%3Cpath d='M0 4 Q44 26 88 4 T176 4' fill='none' stroke='%23f4f9ff' stroke-width='2.6' stroke-dasharray='9 14' stroke-linecap='round' opacity='.9'/%3E%3Cg%3E%3Cpath d='M88 5l-11-6v12zM88 5l11-6v12z' fill='%23d8232a' stroke='%235a0d0d' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M88 6l-5 12M88 6l5 12' stroke='%23d8232a' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='88' cy='5' r='3.2' fill='%23ffd45a' stroke='%238a5a10' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='44' cy='27' r='6.5' fill='%23c8242c' stroke='%235a0d0d' stroke-width='1.4'/%3E%3Cpath d='M40 24a5 5 0 0 1 4-2' stroke='%23ffb0b0' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3Crect x='42' y='18.5' width='4' height='3' fill='%23ffd45a'/%3E%3Ccircle cx='132' cy='27' r='6.5' fill='%23e0a92a' stroke='%236b4710' stroke-width='1.4'/%3E%3Cpath d='M128 24a5 5 0 0 1 4-2' stroke='%23fff0b8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3Crect x='130' y='18.5' width='4' height='3' fill='%23ffd45a'/%3E%3C/g%3E%3C/svg%3E"); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }
.xm-garland i:nth-child(2) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='40' viewBox='0 0 176 40'%3E%3Cellipse cx='12' cy='17' rx='3' ry='4.2' fill='%23ff4d55'/%3E%3Cellipse cx='11' cy='15.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='60' cy='22' rx='3' ry='4.2' fill='%235ac8ff'/%3E%3Cellipse cx='59' cy='20.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='102' cy='16' rx='3' ry='4.2' fill='%23ffd45a'/%3E%3Cellipse cx='101' cy='14.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='148' cy='22' rx='3' ry='4.2' fill='%235fe07f'/%3E%3Cellipse cx='147' cy='20.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px rgba(255, 225, 150, .95)); animation: xmas-twinkle 1.9s ease-in-out infinite alternate; }
.xm-garland i:nth-child(3) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='40' viewBox='0 0 176 40'%3E%3Cellipse cx='28' cy='23' rx='3' ry='4.2' fill='%23ffd45a'/%3E%3Cellipse cx='27' cy='21.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='74' cy='16' rx='3' ry='4.2' fill='%235fe07f'/%3E%3Cellipse cx='73' cy='14.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='116' cy='23' rx='3' ry='4.2' fill='%23ff4d55'/%3E%3Cellipse cx='115' cy='21.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='162' cy='16' rx='3' ry='4.2' fill='%235ac8ff'/%3E%3Cellipse cx='161' cy='14.6' rx='1' ry='1.4' fill='%23fff' opacity='.8'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px rgba(255, 225, 150, .95)); animation: xmas-twinkle 1.9s ease-in-out infinite alternate-reverse; }
@keyframes xmas-twinkle { from { opacity: 1; } to { opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .xm-garland i { animation: none !important; } }
html.mobile .xm-garland { height: 22px; top: calc(var(--top-h) - 2px); }
html.mobile .xm-garland i { background-size: 97px 22px; }
html.m-ui.tb-off .xm-garland { display: none; }
/* ekranın dört köşesinde buzlanma. 5 Aralık 2026i (kullanıcı: iPhone Safari'de sağda solda beyazlık): köşedeki geçiş
   (closest-side at 0 0) Chrome'da hiç görünmüyordu, Safari'de ekranın iki yanını beyaz bir katmanla kaplıyordu; kapatıldı */
.xm-frost { position: fixed; inset: 0; z-index: 1; display: none; }
.xm-frost i { position: absolute; width: 46vmin; height: 46vmin; opacity: .5;
  background: radial-gradient(closest-side at 0 0, rgba(240, 250, 255, .55), rgba(200, 228, 250, .22) 45%, transparent 72%); }
.xm-frost i:nth-child(1) { left: 0; top: var(--top-h); }
.xm-frost i:nth-child(2) { right: 0; top: var(--top-h); transform: scaleX(-1); }
.xm-frost i:nth-child(3) { left: 0; bottom: 0; transform: scaleY(-1); }
.xm-frost i:nth-child(4) { right: 0; bottom: 0; transform: scale(-1); }
html.mobile .xm-frost i { opacity: .32; }
/* çerçevelerin üstünde kar birikintisi, altında buz sarkıtı */
.xm-cap, .xm-ice { position: absolute; left: 8px; right: 8px; z-index: 3; background-repeat: repeat-x; }
.xm-cap { top: -7px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 6c0-4 3-6 8-6h104c5 0 8 2 8 6-6 0-6 5-12 5s-6-4-12-4-7 6-13 6-7-7-14-7-6 4-12 4-6-3-11-3-8 8-14 8-7-6-13-6-8 3-13 3z' fill='%23f6faff'/%3E%3Cpath d='M6 3c8-2 20-2 30-1M52 2c10-1 26-1 40 0' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M0 6c6 0 6 5 12 5M96 12c6 0 6-5 12-5' stroke='%23b9d2ea' stroke-width='1' fill='none' opacity='.7'/%3E%3C/svg%3E"); background-size: 120px 14px; filter: drop-shadow(0 1px 0 rgba(110, 150, 195, .6)); }
.xm-ice { top: 100%; height: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f6fbff'/%3E%3Cstop offset='1' stop-color='%23a9d4f5' stop-opacity='.75'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0h96v3l-3 0-2 9-2-9h-7l-3 16-3-16h-9l-2 7-2-7h-8l-3 12-3-12h-10l-2 6-2-6h-7l-3 18-3-18h-8l-2 8-2-8h-6z' fill='url%28%23g%29'/%3E%3C/svg%3E"); background-size: 96px 22px; margin-top: -2px; opacity: .92; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
html.mobile .xm-ice { display: none; }
html.mobile .xm-cap { height: 9px; top: -4px; background-size: 78px 9px; }
html.xmas .win-head { position: relative; }
html.xmas .win-head::before { content: ''; position: absolute; left: 14px; right: 14px; top: -7px; height: 14px; pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 6c0-4 3-6 8-6h104c5 0 8 2 8 6-6 0-6 5-12 5s-6-4-12-4-7 6-13 6-7-7-14-7-6 4-12 4-6-3-11-3-8 8-14 8-7-6-13-6-8 3-13 3z' fill='%23f6faff'/%3E%3Cpath d='M6 3c8-2 20-2 30-1M52 2c10-1 26-1 40 0' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M0 6c6 0 6 5 12 5M96 12c6 0 6-5 12-5' stroke='%23b9d2ea' stroke-width='1' fill='none' opacity='.7'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px; filter: drop-shadow(0 1px 0 rgba(110, 150, 195, .6)); }
/* pencerenin sol üst köşesinde çobanpüskülü */
html.xmas .win-head::after { content: ''; position: absolute; left: -12px; top: -14px; width: 44px; height: 40px; pointer-events: none; z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='40' viewBox='0 0 44 40'%3E%3Cpath d='M20 20c-6-8-12-9-18-6 3 2 2 5 5 6-3 2-2 5 0 7 5 1 10-1 13-7z' fill='%231f7a35' stroke='%230f3d1a' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M22 19c2-9 8-14 15-15-1 4 2 5 1 9 3 0 4 3 4 6-4 4-12 4-20 0z' fill='%232c9646' stroke='%230f3d1a' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M20 20L5 17M22 19l14-10' stroke='%230f3d1a' stroke-width='1' opacity='.6'/%3E%3Ccircle cx='19' cy='24' r='4.4' fill='%23e2333a' stroke='%235a0d0d' stroke-width='1.2'/%3E%3Ccircle cx='26' cy='23' r='4' fill='%23c8242c' stroke='%235a0d0d' stroke-width='1.2'/%3E%3Ccircle cx='22' cy='30' r='4.2' fill='%23f04a50' stroke='%235a0d0d' stroke-width='1.2'/%3E%3Ccircle cx='18' cy='22.6' r='1.1' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='21' cy='28.6' r='1.1' fill='%23fff' opacity='.8'/%3E%3C/svg%3E") no-repeat 0 0 / contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); transform: rotate(-12deg); }
/* logoda ve gemi portresinde Noel Baba şapkası */
html.xmas #topbar .brand { position: relative; }
.xm-hat { position: absolute; z-index: 4; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.xm-hat svg { display: block; width: 100%; height: auto; }
#topbar .brand > .xm-hat { left: -13px; top: -9px; width: 22px; transform: rotate(-24deg); }
#abShip > .xm-hat { left: -4px; top: -16px; width: 52px; transform: rotate(-16deg); }
html.mobile #abShip > .xm-hat { width: 30px; top: -9px; left: -3px; }

/* ==== Kaptan Keşfi (13 Kasım 2026): Kaptan penceresinin Keşif ve Eşyalar sekmeleri, Müzayede'nin Kaptan Eşyaları sekmesi ====
   Parşömen kartlar ve ahşap pencere aynen kullanılır; nadirlik rengi --rar (çerçeve) ve --rart (yazı) ile gelir. */
.win-side.one { display: none; }
.rc { --rar: #7a6a52; --rart: #3b2410; --rarl: #e9d9b0; }
.rr { --rar: #1f62ad; --rart: #1b4f8f; --rarl: #7dbbff; }
.re { --rar: #7b2fb3; --rart: #662a94; --rarl: #cf9bff; }
.rl { --rar: #c9731a; --rart: #a3520a; --rarl: #ffb657; }
.kx-parch {
  border-radius: 4px; color: #3b2410;
  background: linear-gradient(rgba(255, 245, 225, 0.12), rgba(120, 70, 20, 0.12)), url('../assets/ui/q_parch.jpg') center / 360px auto repeat;
  box-shadow: 0 0 0 1px #3b2410, 0 0 0 3px rgba(214, 166, 80, 0.5), inset 0 0 24px rgba(110, 60, 15, 0.35), 0 4px 10px rgba(0, 0, 0, 0.45);
}
/* portre: altın çerçeveli minyatür */
.kx-face {
  position: relative; flex: none; width: 124px; aspect-ratio: 5 / 6; border-radius: 6px; background: #0c1b2b;
  box-shadow: 0 0 0 2px #2a1808, 0 0 0 5px #c9983f, 0 0 0 6px #2a1808, 0 6px 14px rgba(0, 0, 0, 0.55);
}
.kx-face-in { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; }
.kx-face svg { width: 100%; height: 100%; display: block; }
.kx-face[role="button"] { cursor: pointer; transition: box-shadow var(--t-fast, .15s) ease; }
.kx-face[role="button"]:hover, .kx-face[role="button"]:focus-visible { outline: none; box-shadow: 0 0 0 2px #2a1808, 0 0 0 5px #f3d78a, 0 0 0 6px #2a1808, 0 0 18px rgba(255, 210, 110, 0.55); }
.kx-face.big { width: 100%; max-width: 224px; }
.kx-lvb {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); white-space: nowrap; padding: 2px 11px; border-radius: 11px;
  font: 700 11.5px/1.45 var(--font-ui); color: #3b2410; background: linear-gradient(180deg, #f3d78a, #c9983f);
  box-shadow: 0 0 0 1.5px #2a1808, 0 2px 4px rgba(0, 0, 0, 0.45);
}
/* Kaptan Kartı: gemi yerine kaptan, gemi küçük resim */
.cap-card.has-face { grid-template-columns: 124px 1fr auto; column-gap: 22px; align-items: start; }
.cap-facecol { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 4px; }
.cap-shipchip { width: 104px; height: 60px; padding: 3px; border-radius: 5px; background: radial-gradient(ellipse 90% 70% at 50% 100%, #24527a, #112a45 60%, #0b1b2e); box-shadow: 0 0 0 1px #3b2410, 0 0 0 2px rgba(214, 166, 80, 0.55); }
.cap-shipchip svg, .cap-shipchip img { width: 100%; height: 100%; display: block; object-fit: contain; }

/* Keşif sekmesi: başlık */
.kx-head { display: flex; gap: 22px; align-items: center; padding: 18px 20px 20px; }
.kx-hmain { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.kx-name { font: 400 30px/1.05 var(--font-display); color: #4a2a0c; text-shadow: 0 1px 0 rgba(255, 240, 210, 0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kx-lv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kx-lv b { font-size: 15px; color: #7a3a0a; }
.kx-free {
  border: 0; cursor: pointer; padding: 3px 11px; border-radius: 11px; font: 700 12px/1.4 var(--font-ui); color: #fff3d6;
  background: linear-gradient(180deg, #b0431f, #7a2610); box-shadow: 0 0 0 1px #3a1206, 0 0 10px rgba(220, 110, 40, 0.5);
}
.kx-free:hover, .kx-free:focus-visible { filter: brightness(1.12); outline: none; box-shadow: 0 0 0 1px #3a1206, 0 0 0 3px rgba(255, 220, 150, 0.7); }
.kx-xp { height: 16px !important; max-width: 420px; box-shadow: inset 0 0 0 1px #3b2410, inset 0 1px 3px rgba(0, 0, 0, 0.5); }
.kx-xp > span { color: #fff; text-shadow: 0 1px 2px #000; font-size: 11px; }
.kx-max { font-weight: 700; color: #2f6b18; }
.kx-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.kx-chip { display: inline-flex; gap: 5px; align-items: baseline; padding: 3px 10px; border-radius: 12px; font-size: 12.5px; color: #6b4a26; background: rgba(59, 36, 16, 0.1); box-shadow: inset 0 0 0 1px rgba(110, 66, 20, 0.35); }
.kx-chip b { color: #8a7a5a; font-variant-numeric: tabular-nums; }
.kx-chip.on b { color: #2f6b18; }
/* keşif hakkı */
.kx-rights { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 2px; padding: 11px 16px; border-radius: 6px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(214, 166, 80, 0.4); color: #e9d9b0; }
.kx-rights > b { color: var(--gold-hi); font-size: 15px; }
.kx-pips { display: inline-flex; gap: 6px; vertical-align: middle; }
.kx-pips i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a4630, #2a1c10); box-shadow: inset 0 0 0 1.5px #7a5a2a; }
.kx-pips i.on { background: radial-gradient(circle at 35% 30%, #fff1b8, #e8b84a 55%, #a8730e); box-shadow: inset 0 0 0 1.5px #6b4710, 0 0 8px rgba(255, 200, 80, 0.55); }
.kx-pips.sm { gap: 3px; }
.kx-pips.sm i { width: 11px; height: 11px; box-shadow: inset 0 0 0 1px #6b4710; }
.kx-rn { font-weight: 700; font-variant-numeric: tabular-nums; }
.kx-rt { margin-left: auto; font-size: 13px; color: #c9b596; }
.kx-rt b { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.kx-rt.full { color: #ffb38a; }
/* keşif seçenekleri */
.kx-trips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kx-trip { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.kx-trip-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kx-trip h5 { margin: 0; font: 400 23px/1.1 var(--font-display); color: #4a2a0c; }
.kx-cost { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #5a3a1a; }
.kx-rw { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13.5px; color: #5a3a1a; }
.kx-rw li { display: flex; gap: 6px; align-items: baseline; }
.kx-rw b { color: #3b2410; font-variant-numeric: tabular-nums; }
.kx-rw .kx-ch { margin-top: 4px; padding-top: 7px; border-top: 1px dashed rgba(110, 66, 20, 0.45); }
.kx-trip .btn { margin-top: auto; }
.kx-note { margin: 14px 2px 0; }
/* keşif defteri */
.kx-q { display: grid; gap: 8px; }
.kx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(110px, 34%); align-items: center; gap: 12px; padding: 10px 14px; }
.kx-dot { width: 12px; height: 12px; border-radius: 50%; background: #8a7a5a; box-shadow: 0 0 0 2px rgba(59, 36, 16, 0.3); }
.kx-row.run .kx-dot { background: #2f7fc0; box-shadow: 0 0 0 2px rgba(47, 127, 192, 0.3); }
.kx-row.done .kx-dot { background: #3f9a2a; box-shadow: 0 0 0 2px rgba(63, 154, 42, 0.3), 0 0 8px rgba(63, 154, 42, 0.7); }
.kx-row-txt > b { display: block; font-size: 14.5px; color: #3b2410; }
.kx-row-txt small { font-size: 12.5px; color: #6b4a26; }
.kx-row-txt small b { color: #7a3a0a; font-variant-numeric: tabular-nums; }
.kx-row.done .kx-row-txt small { color: #2f6b18; font-weight: 700; }
.kx-prog { height: 10px !important; box-shadow: inset 0 0 0 1px #3b2410; }
.kx-idle { padding: 14px 16px; font-size: 13.5px; color: #5a3a1a; }
.kx-claim { margin-top: 10px; width: 100%; }
.kx-report { margin-top: 14px; padding: 12px 16px 14px; display: grid; gap: 6px; }
.kx-report h5 { margin: 0 0 2px; font: 400 21px/1.1 var(--font-display); color: #4a2a0c; }
.kx-rep { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: #5a3a1a; }
.kx-rep b { color: #3b2410; }
.kx-rep.up { color: #2f6b18; font-weight: 700; }
.kx-found { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 8px 10px; border: 0; border-radius: 6px; text-align: left; cursor: pointer; font: inherit; color: #3b2410; background: rgba(59, 36, 16, 0.1); box-shadow: inset 0 0 0 1.5px var(--rar); }
.kx-found:hover, .kx-found:focus-visible { outline: none; background: rgba(59, 36, 16, 0.18); }
.kx-found-txt { display: grid; gap: 1px; }
.kx-found-txt b { color: var(--rart); font-size: 14.5px; }
.kx-found-txt small { color: #6b4a26; font-size: 12px; }
/* eşya simgesi kutusu */
.kx-ico { position: relative; flex: none; width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #f6e9c8, #d9c08a); box-shadow: inset 0 0 0 1.5px var(--rar, #7a6a52), 0 1px 2px rgba(0, 0, 0, 0.3); }
.kx-ico svg { width: 40px; height: 40px; display: block; }
.kx-n { position: absolute; right: -6px; bottom: -6px; padding: 0 5px; border-radius: 8px; font: 700 11px/1.5 var(--font-ui); font-style: normal; color: #fff3d6; background: #3b2410; box-shadow: 0 0 0 1px #c9983f; }
/* keşif ustalığı */
.kx-freeh { margin-left: 12px; padding: 2px 10px; border-radius: 10px; font: 700 12px/1.4 var(--font-ui); color: #fff3d6; background: linear-gradient(180deg, #b0431f, #7a2610); box-shadow: 0 0 0 1px #3a1206; }
.kx-branches { display: grid; gap: 8px; }
.kx-br { display: grid; grid-template-columns: minmax(0, 1fr) auto 62px auto; align-items: center; gap: 12px; padding: 10px 14px; }
.kx-br-txt b { display: block; font-size: 14.5px; color: #3b2410; }
.kx-br-txt small { font-size: 12.5px; color: #6b4a26; }
.kx-brp { display: inline-flex; gap: 3px; }
.kx-brp i { width: 9px; height: 17px; border-radius: 2px; background: rgba(59, 36, 16, 0.16); box-shadow: inset 0 0 0 1px rgba(59, 36, 16, 0.4); }
.kx-brp i.on { background: linear-gradient(180deg, #f3d78a, #c9983f); box-shadow: inset 0 0 0 1px #6b4710; }
.kx-brv { text-align: right; font-weight: 700; color: #2f6b18; font-variant-numeric: tabular-nums; }
.kx-plus { min-width: 36px; font-size: 17px !important; font-weight: 800 !important; line-height: 1 !important; }
/* Eşyalar sekmesi */
.kx-gear { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 26px; align-items: start; }
.kx-gleft { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 6px 0 8px; }
@media (min-width: 761px) { .kx-gleft { position: sticky; top: 8px; } }   /* görünüm düzenlenirken portre yanında kalsın */
.kx-gright > h4:first-child { margin-top: 0; }
.kx-look { padding: 12px 14px 14px; display: grid; gap: 9px; }
.kx-lrow { display: grid; gap: 4px; }
.kx-ll { font-size: 12px; font-weight: 700; color: #6b4a26; }
.kx-lopts { display: flex; flex-wrap: wrap; gap: 5px; }
.kx-lo { min-height: 28px; padding: 3px 9px; border: 0; border-radius: 6px; cursor: pointer; font: 600 12px/1.2 var(--font-ui); color: #3b2410; background: rgba(59, 36, 16, 0.1); box-shadow: inset 0 0 0 1px rgba(110, 66, 20, 0.45); }
.kx-lo:hover { background: rgba(59, 36, 16, 0.2); }
.kx-lo:focus-visible { outline: 2px solid #3b2410; outline-offset: 2px; }
.kx-lo.on { background: linear-gradient(180deg, #f3d78a, #c9983f); box-shadow: inset 0 0 0 1.5px #3b2410; }
.kx-lo.sw { width: 28px; padding: 0; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1.5px rgba(59, 36, 16, 0.65); }
.kx-lo.sw.on { box-shadow: 0 0 0 2px #f6e9c8, 0 0 0 4px #3b2410; }
.kx-lbtns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.kx-slots { display: grid; gap: 8px; }
.kx-slot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; }
.kx-slot.vacant .kx-ico svg { opacity: 0.28; filter: grayscale(1); }
.kx-sn { display: block; font-size: 11px; font-weight: 700; color: #8a6a3a; }
.kx-slot-txt b { display: block; font-size: 13.5px; line-height: 1.2; color: var(--rart, #3b2410); }
.kx-slot-txt small { font-size: 12px; color: #6b4a26; }
.kx-slot-txt .kx-none { color: #8a7a5a; font-weight: 600; }
.kx-inv { display: grid; gap: 8px; }
.kx-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; }
.kx-item-txt b { display: block; font-size: 14px; color: var(--rart, #3b2410); }
.kx-item-txt small { display: block; font-size: 12px; color: #6b4a26; }
.kx-item-txt .kx-worn { color: #2f6b18; font-weight: 700; }
.kx-item-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kx-toauc { margin-top: 10px; }
/* Müzayede: Kaptan Eşyaları */
.kx-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.kx-lot { box-shadow: inset 3px 0 0 var(--rar); }
.kx-lot h5 { color: var(--rarl) !important; }
.kx-lot .card-ico { background: radial-gradient(circle at 50% 35%, #f6e9c8, #d9c08a); border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--rar); }
.kx-left { font-size: 12.5px; color: #c9b596; }
.kx-left b { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .kx-trips { grid-template-columns: 1fr; }
  .kx-gear { grid-template-columns: 1fr; }
  .kx-gleft { flex-direction: row; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
  .kx-face.big { max-width: 150px; }
  .kx-head { gap: 16px; padding: 14px 14px 18px; }
  .kx-face { width: 96px; }
  .kx-name { font-size: 24px; }
  .kx-rt { margin-left: 0; width: 100%; }
  .kx-br { grid-template-columns: minmax(0, 1fr) 54px auto; }
  .kx-brp { grid-column: 1 / -1; order: 5; }
  .kx-row { grid-template-columns: auto minmax(0, 1fr); }
  .kx-prog { grid-column: 1 / -1; }
  .kx-item { grid-template-columns: auto minmax(0, 1fr); }
  .kx-item-btns { grid-column: 1 / -1; justify-content: flex-start; }
  .cap-card.has-face { grid-template-columns: 1fr; }
  .cap-facecol { flex-direction: row; justify-content: center; align-items: flex-end; gap: 16px; padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .kx-face[role="button"] { transition: none; } }

/* --- Kaptan Sistemi görselleri (kullanıcının kataloğundan, 13 Kasım 2026) --- */
.kx-face-in { background: #1a1410; }
.kx-face-in .kx-fig { position: absolute; left: 50%; top: 0; width: 215%; max-width: none; transform: translateX(-50%) translateY(-2%); display: block; }   /* portre: baş ve omuzlar */
.kx-face.big { aspect-ratio: 300 / 520; }
.kx-face.big .kx-face-in .kx-fig { left: 0; width: 100%; height: 100%; transform: none; object-fit: cover; }   /* tam boy */
.kx-ico img, .card-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.kx-bodies { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.kx-bd { padding: 0 0 4px; border: 2px solid rgba(60, 40, 20, .35); border-radius: 6px; background: rgba(40, 26, 14, .12); cursor: pointer; overflow: hidden; display: grid; gap: 3px; font: inherit; font-size: 11.5px; color: #3a2814; }
.kx-bd img { width: 100%; aspect-ratio: 300 / 430; object-fit: cover; object-position: top; display: block; }
.kx-bd.on { border-color: #b8862b; background: rgba(184, 134, 43, .22); box-shadow: 0 0 0 2px rgba(184, 134, 43, .35); font-weight: 700; }
.kx-bd:focus-visible { outline: 2px solid #f1c75b; outline-offset: 1px; }
.kx-set { margin-top: 8px; padding: 8px 12px; display: grid; gap: 2px; }
.kx-set.full { box-shadow: inset 0 0 0 2px rgba(184, 134, 43, .55); }
.kx-set small { opacity: .85; }
@media (max-width: 760px) { .kx-bodies { gap: 4px; } .kx-bd { font-size: 10.5px; } }
.kx-pick { display: grid; gap: 2px; width: 100%; text-align: left; padding: 9px 14px; margin-bottom: 10px; cursor: pointer; font: inherit; color: #3a2814; box-shadow: inset 0 0 0 2px rgba(184, 134, 43, .6); }
.kx-pick:hover, .kx-pick:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #b8862b, 0 0 12px rgba(255, 210, 110, .45); }

/* ---- büyük boss çağrısı ve geri sayım kartı (14 Kasım 2026) ---- */
.isl-alert.boss-call { border-color: rgba(214, 170, 82, 0.9); background: linear-gradient(180deg, rgba(52, 36, 14, 0.96), rgba(24, 16, 8, 0.97)); animation: pop-in var(--t-med) var(--ease); }
.boss-call .ia-head { color: #f3cf73; font-size: 24px; }
.boss-call .ia-text { color: #ecdcb6; }
.chan-card { width: min(430px, calc(100vw - 24px)); padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-color: rgba(214, 170, 82, 0.9); background: linear-gradient(180deg, rgba(52, 36, 14, 0.96), rgba(24, 16, 8, 0.97)); animation: pop-in var(--t-med) var(--ease); }
.chan-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chan-n { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font: 400 26px/1 var(--font-display); color: #2a1a08; background: #e2b95a; font-variant-numeric: tabular-nums; }
.chan-lbl { font-weight: 600; color: #f3e2b8; line-height: 1.3; }
.chan-card small { color: #cdb98c; }

/* ---- mürettebat portreleri (14 Kasım 2026) ---- */
.crew-pic { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.card-ico:has(> .crew-pic) { width: 64px; height: 64px; padding: 0; overflow: hidden; background: #120c06; border-color: rgba(214, 170, 82, 0.7); }
.eqrow .card-ico:has(> .crew-pic) { width: 44px; height: 44px; }

/* ---- ADA ÜSSÜ yeni görünüm (14 Kasım 2026): kale manzaralı başlık + resimli bina kartları ---- */
.bx-hero { position: relative; overflow: hidden; margin-bottom: 14px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(214, 170, 82, 0.55); background: #120d08; }
.bx-hero::before { content: ''; position: absolute; inset: 0 0 0 auto; width: min(48%, 430px); background: var(--bx-art) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); opacity: 0.9; pointer-events: none; }
.bx-hero > * { position: relative; }
.bx-hero .base-mats { margin-bottom: 8px; }
.bx-hero p.note { margin: 0; max-width: 58%; color: #e9dcc0; text-shadow: 0 1px 2px #000; }
.bx-grid { gap: 14px; }
.card.bld.bx { position: relative; overflow: hidden; padding: 14px 16px 12px; border-radius: 10px; border: 1px solid rgba(214, 170, 82, 0.6); background: linear-gradient(180deg, #1a130b, #0f0a06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 215, 130, 0.08); display: flex; flex-direction: column; gap: 10px; }
.card.bld.bx.bx-wide { grid-column: 1 / -1; }
.bx-art { position: absolute; top: 0; right: 0; width: min(52%, 310px); height: 126px; background: var(--bx-art) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%); mask-image: linear-gradient(90deg, transparent, #000 42%); pointer-events: none; }
.bx-art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 46px; background: linear-gradient(180deg, transparent, #130d08); }
.card.bld.bx.bx-wide .bx-art { width: min(52%, 420px); height: 150px; }
.card.bld.bx > :not(.bx-art) { position: relative; }
.card.bld.bx .card-top { align-items: center; gap: 14px; }
.bx-ico { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)); }
.bx-txt { min-width: 0; max-width: 56%; }
.win.pirate .card.bld.bx h5 { margin: 0 0 4px; font: 400 26px/1.05 var(--font-display); color: #f3cf73; text-shadow: 0 2px 3px #000; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bx-lv { font: 600 12px/1 var(--font-ui); color: #1c1206; background: #e2b95a; padding: 3px 7px; border-radius: 999px; text-shadow: none; }
.card.bld.bx .sub { color: #e6d9bc; text-shadow: 0 1px 2px #000; }
.card.bld.bx .bx-info { color: #fff3d6; font-weight: 600; }
.card.bld.bx .bx-bar { height: 20px; border-radius: 4px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(0, 0, 0, 0.8); }
.card.bld.bx .bx-bar > i { background: linear-gradient(180deg, #e2483a, #a81f18); }
.card.bld.bx .bx-bar > span { font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; }
.card.bld.bx .bld-up { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card.bld.bx.busy { border-color: #e2b95a; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 14px rgba(226, 185, 90, 0.35); }
html.mobile .bx-ico { width: 52px; height: 52px; }
html.mobile .win.pirate .card.bld.bx h5 { font-size: 20px; }
html.mobile .bx-txt { max-width: 64%; }
html.mobile .bx-hero p.note { max-width: none; }
html.mobile .bx-hero::before { opacity: 0.35; width: 70%; }

/* ---- YARDIMCI FİLO resimli görünüm (14 Kasım 2026) ---- */
.fl-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 10px 14px; margin-bottom: 12px; border-radius: 8px; border: 1px solid rgba(214, 170, 82, 0.5); background: #130e09; }
.fl-hero::before { content: ''; position: absolute; inset: 0 0 0 auto; width: min(46%, 420px); background: var(--fl-art) right center / cover no-repeat; opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.fl-hero > * { position: relative; }
.fl-hero-ship { flex: none; width: 118px; height: 87px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(214, 170, 82, 0.45); }
.fl-hero .fl-intro { margin: 0; border-left: 0; padding: 0; text-shadow: 0 1px 2px #000; }
.fl-capt-pic { position: relative; width: 76px; height: 76px; }
.fl-capt-pic img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px #8a6a2c, 0 2px 6px rgba(0, 0, 0, 0.5); }
.fl-capt-pic b { position: absolute; right: -4px; bottom: -4px; min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; font: 700 14px/1 var(--font-ui); color: #1c1206; background: #e2b95a; box-shadow: 0 0 0 2px #3a2810; }
.fl-sec.fl-cmd-art { position: relative; overflow: hidden; }
.fl-sec.fl-cmd-art::after { content: ''; position: absolute; inset: 0 0 0 auto; width: min(44%, 380px); background: url(/assets/filoui/map.webp?v=1) right center / cover no-repeat; opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%); mask-image: linear-gradient(90deg, transparent, #000 65%); pointer-events: none; }
.fl-sec.fl-cmd-art > * { position: relative; z-index: 1; }
.fl-ship-art { height: 62px; margin: -12px -12px 10px; background: #0d1422 center 40% / cover no-repeat; border-bottom: 1px solid rgba(214, 170, 82, 0.45);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
@media (max-width: 720px) { .fl-hero-ship { width: 84px; height: 62px; } .fl-capt-pic { width: 58px; height: 58px; } .fl-sec.fl-cmd-art::after { opacity: 0.3; } .fl-hero::before { opacity: 0.25; } }

/* yardımcı kaptan resmi (14 Kasım 2026) */
.fl-capt-g:has(> .fl-capt-art) { grid-template-columns: 210px minmax(0, 1fr); }
.fl-capt-art { position: relative; height: 110px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(60, 40, 16, 0.7), 0 2px 6px rgba(0, 0, 0, 0.35); }
.fl-capt-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 60% 30%; }
.fl-capt-art b { position: absolute; left: 6px; bottom: 6px; min-width: 28px; height: 28px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; font: 700 15px/1 var(--font-ui); color: #1c1206; background: #e2b95a; box-shadow: 0 0 0 2px #3a2810; }
@media (max-width: 720px) { .fl-capt-g:has(> .fl-capt-art) { grid-template-columns: 120px minmax(0, 1fr); } .fl-capt-art { height: 84px; } }

/* ---- AÇILIR MENÜ yeni görünüm (14 Kasım 2026): tahta levhalar ve asılı sancak ---- */
.hub-art { display: none; }
html:not(.mobile) .hub-pop .mbtn:has(> .hub-art) .ring { display: none; }
html:not(.mobile) .hub-pop .hub-art { display: block; grid-row: 1 / 3; object-fit: contain; mix-blend-mode: lighten; pointer-events: none; }
/* tahta levhalar: her seçenek ayrı bir levha (simge, ad, açıklama) */
html:not(.mobile) .hub-pop.hub-planks { width: 400px; gap: 8px; padding: 0; border: 0; border-image: none; background: none; box-shadow: none; }
html:not(.mobile) .hub-pop.hub-planks .mbtn { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; min-height: 76px; padding: 8px 16px 8px 14px; border-radius: 3px;
  border: 1px solid #0b0704; background: linear-gradient(180deg, rgba(58, 42, 26, 0.92), rgba(30, 21, 12, 0.96)), url('../assets/ui/q_wood.jpg') center / 320px auto repeat;
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(120, 88, 48, 0.35), 0 8px 18px rgba(0, 0, 0, 0.55); }
html:not(.mobile) .hub-pop.hub-planks .hub-art, html:not(.mobile) .hub-pop.hub-planks .mbtn .ring { width: 60px; height: 56px; }
html:not(.mobile) .hub-pop.hub-planks .mbtn .lbl { font: 400 23px/1.05 var(--font-display); letter-spacing: 0.2px; color: #f6e7c4; text-shadow: 0 2px 2px #000; }
html:not(.mobile) .hub-pop.hub-planks .mbtn .hub-desc { font-size: 13.5px; color: #e2d2ae; }
html:not(.mobile) .hub-pop.hub-planks .mbtn:hover, html:not(.mobile) .hub-pop.hub-planks .mbtn.on, html:not(.mobile) .hub-pop.hub-planks .mbtn:focus-visible { outline: none;
  background: linear-gradient(180deg, rgba(86, 60, 30, 0.92), rgba(44, 29, 14, 0.96)), url('../assets/ui/q_wood.jpg') center / 320px auto repeat;
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.22), inset 0 0 0 1px rgba(226, 185, 90, 0.75), 0 8px 18px rgba(0, 0, 0, 0.55); }
/* asılı sancak: uzun gruplar (Gemi) tek parça koyu bez, üstte direk, altta yırtık uç; seçili satır kırmızı kurdele */
html:not(.mobile) .hub-pop.hub-banner { width: 292px; gap: 0; padding: 26px 0 34px; border: 0; border-image: none; border-radius: 0; overflow: visible;
  background: linear-gradient(180deg, #1c1f24, #14161a 60%, #0f1114); box-shadow: none; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.6));
  clip-path: polygon(-6% -4%, 106% -4%, 106% 3.2%, 100% 3.2%, 100% 94%, 92% 96.5%, 84% 94.5%, 75% 97.5%, 66% 95%, 57% 98.5%, 50% 100%, 43% 98.5%, 34% 95%, 25% 97.5%, 16% 94.5%, 8% 96.5%, 0 94%, 0 3.2%, -6% 3.2%); }
html:not(.mobile) .hub-pop.hub-banner::before { content: ''; position: absolute; left: -6%; right: -6%; top: 6px; height: 11px; border-radius: 6px;
  background: linear-gradient(180deg, #7a5a34, #4a3218 55%, #2a1b0c); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 220, 160, 0.25); }
html:not(.mobile) .hub-pop.hub-banner .mbtn { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; min-height: 60px; padding: 7px 18px 7px 40px; border-radius: 0; background: none; }
html:not(.mobile) .hub-pop.hub-banner .hub-art, html:not(.mobile) .hub-pop.hub-banner .mbtn .ring { width: 44px; height: 42px; }
html:not(.mobile) .hub-pop.hub-banner .mbtn .lbl { grid-row: 1 / 3; align-self: center; font: 400 24px/1 var(--font-display); letter-spacing: 0.2px; color: #e8dcc0; text-shadow: 0 2px 2px #000; }
html:not(.mobile) .hub-pop.hub-banner .mbtn .hub-desc { display: none; }
html:not(.mobile) .hub-pop.hub-banner .mbtn:hover, html:not(.mobile) .hub-pop.hub-banner .mbtn.on, html:not(.mobile) .hub-pop.hub-banner .mbtn:focus-visible { outline: none;
  background: linear-gradient(180deg, #8a241a, #5c140e); box-shadow: inset 0 1px 0 rgba(255, 160, 130, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, 100% 0, 97% 22%, 100% 46%, 96.5% 70%, 99% 100%, 0 100%); }
html:not(.mobile) .hub-pop.hub-banner .mbtn:hover .lbl, html:not(.mobile) .hub-pop.hub-banner .mbtn.on .lbl { color: #fff4dc; }

/* ---- ÜST ÇUBUK yeni görünüm (14 Kasım 2026, masaüstü gruplu menü): kurukafa amblemi, serif yazı, altı çizgili düğmeler ---- */
.top-art, .brand-skull { display: none; }
html:not(.mobile) #topbar:has(#menu.hubs) {
  background: linear-gradient(180deg, #1b1d21, #121417 70%, #0d0f11); border-bottom: 0;
  box-shadow: inset 0 -1px 0 #000, inset 0 -2px 0 rgba(150, 112, 56, 0.45), 0 6px 22px rgba(0, 0, 0, 0.55); }
html:not(.mobile) #topbar:has(#menu.hubs) .brand { display: flex; align-items: center; gap: 0; font: 600 25px/1 var(--ds-font-head, Georgia, serif); letter-spacing: 0.3px; color: #f0d79a; text-shadow: 0 2px 2px #000; white-space: nowrap; }
html:not(.mobile) #topbar:has(#menu.hubs) .brand-skull { display: block; width: 50px; height: 43px; margin: 0 10px 0 -2px; object-fit: contain; mix-blend-mode: lighten; }
html:not(.mobile) #topbar:has(#menu.hubs) .brand i { display: inline-block; width: 0.3em; margin: 0; }
html:not(.mobile) #topbar:has(#menu.hubs) .brand i svg { display: none; }
html:not(.mobile) #menu.hubs { gap: 0; padding-left: 18px; }
html:not(.mobile) #menu.hubs .mbtn { position: relative; height: 46px; padding: 0 16px 0 12px; gap: 8px; border: 0; border-radius: 0; background: none; }
html:not(.mobile) #menu.hubs .mbtn + .mbtn::before { content: ''; position: absolute; left: 0; top: 13px; bottom: 13px; width: 1px; background: linear-gradient(180deg, transparent, rgba(190, 150, 90, 0.4), transparent); }
html:not(.mobile) #menu.hubs .mbtn:has(> .top-art) .ring { display: none; }
html:not(.mobile) #menu.hubs .mbtn .top-art { display: block; flex: none; width: 31px; height: 32px; object-fit: contain; mix-blend-mode: lighten; transition: transform 0.15s; }
html:not(.mobile) #menu.hubs .mbtn .lbl { font: 600 17px/1 var(--ds-font-head, Georgia, serif); letter-spacing: 0.2px; color: #eadfc4; padding-bottom: 3px; border-bottom: 2px solid transparent; }
html:not(.mobile) #menu.hubs .mbtn:hover { background: none; border-color: transparent; }
html:not(.mobile) #menu.hubs .mbtn:hover .lbl { color: #fff4d8; }
html:not(.mobile) #menu.hubs .mbtn:hover .top-art { transform: translateY(-1px) scale(1.08); }
html:not(.mobile) #menu.hubs .mbtn.on { background: none; border-color: transparent; }
html:not(.mobile) #menu.hubs .mbtn.on .lbl { color: #fff4d8; border-bottom-color: #d9b061; }
html:not(.mobile) #menu.hubs .mbtn[data-win="settings"] .lbl, html:not(.mobile) #menu.hubs .mbtn[data-hub="ayar"] .lbl { display: none; }
html:not(.mobile) #topbar:has(#menu.hubs) #wallet .cur { background: #0b0c0e; border: 1px solid rgba(120, 100, 70, 0.55); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
html:not(.mobile) #topbar:has(#menu.hubs) #wallet .cur b { font: 600 15px/1 var(--font-ui); color: #f1e6cc; }
@media (max-width: 1780px) { html:not(.mobile) #menu.hubs { padding-left: 8px; } html:not(.mobile) #menu.hubs .mbtn { padding: 0 9px 0 7px; gap: 5px; } html:not(.mobile) #menu.hubs .mbtn .lbl { font-size: 15px; } html:not(.mobile) #menu.hubs .mbtn .top-art { width: 25px; height: 26px; }
  html:not(.mobile) #topbar:has(#menu.hubs) .brand { font-size: 20px; } html:not(.mobile) #topbar:has(#menu.hubs) .brand-skull { width: 40px; height: 34px; margin-right: 7px; } html:not(.mobile) #topbar:has(#menu.hubs) #wallet .cur b { font-size: 13.5px; } }
/* 14 Kasım 2026: Defter düğmesi eklendi; orta genişlikte çubuk taşmasın */
@media (max-width: 1500px) { html:not(.mobile) #menu.hubs { padding-left: 4px; } html:not(.mobile) #menu.hubs .mbtn { padding: 0 5px 0 4px; gap: 4px; } html:not(.mobile) #menu.hubs .mbtn .lbl { font-size: 14px; } html:not(.mobile) #menu.hubs .mbtn .top-art.med { width: 26px; height: 26px; } }
@media (max-width: 1380px) { html:not(.mobile) #menu.hubs .mbtn { padding: 0 4px 0 3px; gap: 4px; } html:not(.mobile) #menu.hubs .mbtn .lbl { font-size: 13.5px; } }
@media (max-width: 1340px) { html:not(.mobile) #menu.hubs .mbtn { padding: 0 3px 0 3px; gap: 3px; } html:not(.mobile) #menu.hubs .mbtn .lbl { font-size: 12.5px; } html:not(.mobile) #menu.hubs .mbtn .top-art { width: 22px; height: 23px; } }
@media (max-width: 1270px) { html:not(.mobile) #menu.hubs .mbtn .lbl { display: none; } }
/* açılır levhalarda başlıklar da serif */
html:not(.mobile) .hub-pop.hub-planks .mbtn .lbl { font: 600 23px/1.05 var(--ds-font-head, Georgia, serif); }

/* yuvarlak madalyon simgeler (14 Kasım 2026 akşam): karışım modu yok, tam görünür */
html:not(.mobile) .hub-pop .hub-art.med, html:not(.mobile) #menu.hubs .mbtn .top-art.med { mix-blend-mode: normal; border-radius: 50%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
html:not(.mobile) .hub-pop.hub-planks .hub-art.med { width: 60px; height: 60px; }
html:not(.mobile) #menu.hubs .mbtn .top-art.med { width: 34px; height: 34px; }
@media (max-width: 1780px) { html:not(.mobile) #menu.hubs .mbtn .top-art.med { width: 28px; height: 28px; } }
@media (max-width: 1280px) { html:not(.mobile) #menu.hubs .mbtn .top-art.med { width: 24px; height: 24px; } }

/* 15 Kasım 2026: Oto av özeti (oto av kutusunun içinde) */
#autoPop .au-sum { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; padding: 8px 10px; background: rgba(0, 0, 0, .28); }
#autoPop .au-sum h5 { margin: 0; font: 600 13.5px/1.2 var(--font-ui); color: #e8c777; }
#autoPop .au-sum small { font-size: 12px; color: #a99d85; font-variant-numeric: tabular-nums; }
#autoPop .au-grid { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 13px; max-height: 190px; overflow-y: auto; }
#autoPop .au-grid span { color: #cbbfa6; }
#autoPop .au-grid b { text-align: right; color: #efe4cc; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 15 Kasım 2026: hasar listesinde kendi hasarın (sayı) + Dünya Bossu sayacı */
#tgDmg .dm-mine { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 4px; font-size: 12px; color: var(--text-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
#tgDmg .dm-mine b { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
#tgDmg.min .dm-mine { display: none; }
.ev-chip.ev-wb .ev-ico svg { width: 18px; height: 18px; }
/* Boss denizdeyken: bilgi + "Işınlan" tek bir hap içinde */
.ev-wbwrap { flex: none; display: inline-flex; align-items: stretch; border-radius: 18px; animation: pop-in var(--t-med) var(--ease);
  box-shadow: 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(255, 124, 96, .9), 0 0 0 3.5px rgba(20, 10, 2, .8), 0 6px 14px rgba(0, 0, 0, .5), 0 0 18px rgba(255, 96, 70, .28); }
.ev-wbwrap .ev-chip.ev-wb { height: 38px; padding: 0 12px 0 5px; border-radius: 18px 0 0 18px; box-shadow: none !important; border: 0; animation: none;
  background: linear-gradient(180deg, rgba(58, 26, 18, .97), rgba(22, 10, 6, .97)); }
.ev-wbwrap .ev-chip.ev-wb::after { content: none !important; }
.ev-wbwrap .ev-chip .ev-ico { width: 28px !important; height: 28px !important; }
.ev-wb-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.ev-wb-txt b { font-size: 12.5px; }
.ev-wb-txt small { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #ffc9bb; }
.ev-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 0 0 rgba(255, 90, 60, .7); animation: wb-dot 1.4s ease-out infinite; }
@keyframes wb-dot { to { box-shadow: 0 0 0 7px rgba(255, 90, 60, 0); } }
.ev-go { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 11px; border: 0; border-radius: 0 18px 18px 0; cursor: pointer;
  font: 700 12.5px/1 var(--font-ui); color: #2a1503; white-space: nowrap;
  background: linear-gradient(180deg, #ffe08a, #e2a33a 55%, #c98524); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 1px 0 0 rgba(60, 28, 4, .55); }
.ev-go:hover { background: linear-gradient(180deg, #fff0b4, #f0b548 55%, #d8932c); }
.ev-go:active { transform: translateY(1px); }
.ev-go:focus-visible { outline: 2px solid #fff3c4; outline-offset: 2px; }
.ev-go[disabled] { cursor: not-allowed; color: #cdbb9a; background: linear-gradient(180deg, #4a3a28, #2c2116); box-shadow: inset 1px 0 0 rgba(0, 0, 0, .6); }
.ev-go.here { cursor: default; color: #f3e2bd; background: linear-gradient(180deg, rgba(60, 44, 26, .97), rgba(30, 21, 12, .97)); box-shadow: inset 1px 0 0 rgba(0, 0, 0, .6); font-weight: 600; }
.ev-go-ico { width: 15px; height: 15px; display: block; }
.ev-go-ico svg { width: 100%; height: 100%; display: block; }
html.mobile .ev-wbwrap { border-radius: 14px; }
html.mobile .ev-wbwrap .ev-chip.ev-wb { height: 30px; border-radius: 14px 0 0 14px; padding: 0 8px 0 4px; }
html.mobile .ev-wbwrap .ev-chip .ev-ico { width: 20px !important; height: 20px !important; }
html.mobile .ev-wb-txt b { display: none; }
html.mobile .ev-go { padding: 0 10px 0 8px; border-radius: 0 14px 14px 0; font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .ev-dot { animation: none; } }
/* 5 Aralık 2026 (kullanıcı): Noel Baba da dünya bossu gibi: sayaç; denizdeyken "Işınlan" düğmeli hap (yılbaşı yeşili) ve savaşa girmeden önceki bekleme süresi */
.ev-chip.ev-santa .ev-ico svg { width: 19px; height: 19px; }
.ev-snwrap { box-shadow: 0 0 0 1px #0a1a0e, 0 0 0 2.5px rgba(122, 214, 140, .85), 0 0 0 3.5px rgba(4, 14, 6, .8), 0 6px 14px rgba(0, 0, 0, .5), 0 0 18px rgba(90, 200, 120, .28); }
.ev-snwrap .ev-chip.ev-santa { background: linear-gradient(180deg, rgba(22, 56, 32, .97), rgba(8, 26, 14, .97)); }
.ev-snwrap .ev-wb-txt small { color: #c9f0cf; }
html #evBar .ev-wbwrap .ev-chip.ev-santa > em.ev-sn-wait { display: inline-block; margin-left: 1px; font: 700 12px/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums; color: #ffe08a; white-space: nowrap; }
html.mobile #evBar .ev-wbwrap .ev-chip.ev-santa > em.ev-sn-wait { font-size: 11px; }

/* 15 Kasım 2026 (kullanıcı): Yılbaşı görünümünde çam dalı etkinlik düğmelerinin üstüne biniyordu; düğmeler dalın altına iner */
html.xmas:not(.mobile) #evBar { top: calc(var(--top-h) + 36px); }
html.xmas.m-ui.m-land #evBar { top: calc(var(--hud-top) + 20px); }
html.xmas.mobile:not(.m-ui) #evBar { top: calc(var(--top-h) + 24px); }

/* 15 Kasım 2026: mini haritada amiral sayacı */
.mm-adm { display: flex; align-items: center; gap: 7px; padding: 0 4px 6px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.mm-adm span { font-weight: 600; color: #e8c777; }
.mm-adm i { flex: 1; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7); overflow: hidden; }
.mm-adm i b { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #b9832c, #f1cf73); transition: width .4s; }
.mm-adm em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; color: #efe4cc; }
.mm-adm.on span { color: #ff9c86; }
.mm-adm.on i b { background: linear-gradient(90deg, #c0321e, #ff8a6a); }
.mm-adm.noel span { color: #9fdcff; }
.mm-adm.noel i b { background: linear-gradient(90deg, #3a8fc8, #bfeaff); }
.mm-adm.noel.on span { color: #ff9c86; }
.mm-adm.noel.on i b { background: linear-gradient(90deg, #c0321e, #ff8a6a); }
html.mobile .mm-adm { font-size: 10.5px; padding: 0 2px 3px; gap: 5px; }
html.mobile .mm-adm i { height: 4px; }
html.mobile.mm-off .mm-adm i { display: none; }

/* 15 Kasım 2026: Sistem sekmesinde okunmamış satır noktası (sistem satırları artık Genel'de görünmüyor) */
.chat-tabs button[data-ch].new { position: relative; }
.chat-tabs button[data-ch].new::after { content: ''; position: absolute; right: 2px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: #ff6a4a; box-shadow: 0 0 0 1.5px #1a0f06; }

/* 15 Kasım 2026: dünya haritasında kapalı (seviye sınırının üstündeki) denizler */
.wm3-closed { margin-left: 6px; padding: 1px 6px; border-radius: 8px; font-size: 10.5px; font-weight: 700; color: #2a1503; background: #d9b25a; }

/* 16 Kasım 2026: hedef çerçevesinde kale / kule resmi (çerçeveyi tam doldurur) */
#tgPortrait.fortpic { padding: 0 !important; overflow: hidden; }
#tgPortrait .tg-fortimg { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; pointer-events: none; }

/* 17 Kasım 2026: hazine parçası takası */
.tz-piece .tz-swap { margin-top: 4px; font-size: 12px; line-height: 1.2; white-space: normal; }
.tz-swapnote { margin: -4px 0 10px; }

/* 17 Kasım 2026: av bölgesi kartlarında bilet bedeli ayrı satırda; düğmeler karttan taşmaz */
.hz-cost { font-size: 12.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.hz-cost b { color: var(--text); font-weight: 600; }
/* 26 Kasım 2026: indirimli bilet (Buz Mezarlığı ilk 100 bilet) */
.hz-cost .hz-old { color: var(--text-2); opacity: .7; text-decoration: line-through; }
.hz-cost b.hz-new { color: var(--gold, #e8c46a); font-weight: 700; }
.hz-promo { font-size: 12.5px; line-height: 1.45; color: var(--gold, #e8c46a); font-weight: 600; overflow-wrap: anywhere; }
.card.hz { min-width: 0; }
.card.hz .buy-row { flex-wrap: wrap; gap: 6px; }
.card.hz .buy-row .btn { max-width: 100%; white-space: normal; }

/* 17 Kasım 2026 (kullanıcı): etkinlik çubuğu yalnızca simge; tıklayınca açıklama kutusu (#evPop) açılır */
html #evBar .ev-chip { padding: 0 3px; gap: 5px; }
html #evBar .ev-chip::after { content: none; }
html #evBar .ev-chip > b, html #evBar .ev-chip > em, html #evBar .ev-wb-txt { display: none; }
html #evBar .ev-chip.ev-hunt, html #evBar .ev-chip.ev-tz { padding-right: 8px; }
html #evBar .ev-chip.ev-hunt > em, html #evBar .ev-chip.ev-tz > em { display: inline-block; }   /* bölgede kalan süre görünür kalsın */
/* 2 Aralık 2026 (kullanıcı): Yılbaşı çipinde bugünkü şeker kamışı ve kutu sayacı görünür (Kamış 250/300 · Kutu 300/3.000) */
html #evBar .ev-chip.ev-yilbasi { padding-right: 6px; }
html #evBar .ev-chip.ev-yilbasi > em.ev-xm { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }
html #evBar .ev-chip.ev-yilbasi > em.ev-xm:empty { display: none; }
html #evBar .ev-wbwrap .ev-chip.ev-wb { padding: 0 6px 0 5px; }
html.mobile #evBar .ev-chip { padding: 0 4px; }
/* ahşap ve altın çerçeve: pencerelerle ve etkinlik simgeleriyle aynı görünüm */
#evPop { position: fixed; z-index: 30; width: max-content; max-width: min(320px, calc(100vw - 16px)); padding: 12px 16px 14px; border: 0; border-radius: 10px;
  color: #e8dcc0; animation: abpop-in 140ms var(--ease); -webkit-backdrop-filter: none; backdrop-filter: none;
  background: radial-gradient(ellipse 120% 70% at 50% 0%, #3a2618, transparent 70%), linear-gradient(180deg, #261a12, #1a110b);
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, .12), 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(214, 166, 80, .75), 0 0 0 3.5px rgba(20, 10, 2, .85), 0 14px 30px rgba(0, 0, 0, .6); }
#evPop::before { content: ''; position: absolute; left: var(--ax, 50%); top: -7px; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg);
  background: #33221a; box-shadow: -2.5px -2.5px 0 0 rgba(214, 166, 80, .75); }
.evp-head { display: flex; align-items: center; gap: 9px; padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid rgba(214, 170, 92, .28); }
.evp-head .ev-ico { width: 30px; height: 30px; flex: none; padding: 4px; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
  background: radial-gradient(circle at 50% 38%, #4a3018, #160d05 75%); box-shadow: inset 0 0 0 1.5px #e6b860; }
.evp-head .ev-ico svg { width: 100%; height: 100%; display: block; }
.evp-head b { flex: 1; min-width: 0; font: 400 22px/1.05 var(--font-display); letter-spacing: .3px;
  background: linear-gradient(180deg, #fff3c9 0%, #f3cf73 48%, #b8862f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(20, 10, 2, .95)); }
.evp-time { flex: none; font: 600 12px/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums; padding: 5px 8px; border-radius: 9px;
  background: rgba(0, 0, 0, .45); color: #f3e2bd; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), 0 0 0 1px rgba(214, 170, 92, .25); }
#evPop { display: flex; flex-direction: column; }   /* 1 Aralık 2026: yazı kayar, Aç düğmesi altta hep görünür */
#evPop .evp-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#evPop .evp-head, #evPop > .btn { flex: none; }
#evPop p { margin: 0 0 7px; font-size: 13px; line-height: 1.5; color: #d9c9a8; }
#evPop p:last-of-type { margin-bottom: 0; }
#evPop .btn { display: block; width: 100%; margin-top: 11px; color: #2a1803; border: 1px solid #6b4a14;
  background: linear-gradient(180deg, #fff0bf 0%, #f3cf73 40%, #c9952f 75%, #a8761f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(90, 55, 10, .5), 0 2px 6px rgba(0, 0, 0, .5); }
#evPop .btn:hover { filter: brightness(1.08); }
/* 17 Kasım 2026: üst çubukta "Kod Kullan" düğmesi; dar ekranda yalnızca simgesi kalır (çubuk taşmasın) */
html:not(.mobile) #menu .mbtn.kod .ring { display: block; }
@media (max-width: 1500px) { html:not(.mobile) #menu.hubs .mbtn.kod .lbl { display: none; } }
/* 17 Kasım 2026 (kullanıcı): üst çubuk sığmayınca kademeli sıkışma (main.js fitMenu); düğmeler cüzdanın altına taşmaz */
html:not(.mobile) #menu.hubs.fit1 .mbtn.kod .lbl { display: none; }
html:not(.mobile) #menu.hubs.fit2 { padding-left: 4px; }
html:not(.mobile) #menu.hubs.fit2 .mbtn { padding: 0 5px 0 4px; gap: 4px; }
html:not(.mobile) #menu.hubs.fit2 .mbtn .lbl { font-size: 14px; }
html:not(.mobile) #menu.hubs.fit2 .mbtn .top-art { width: 25px; height: 26px; }
html:not(.mobile) #menu.hubs.fit3 .mbtn { padding: 0 3px 0 2px; gap: 3px; }
html:not(.mobile) #menu.hubs.fit3 .mbtn .lbl { font-size: 12.5px; }
html:not(.mobile) #menu.hubs.fit3 .mbtn .top-art { width: 22px; height: 23px; }
html:not(.mobile) #menu.hubs.fit4 .mbtn .lbl { display: none; }
html:not(.mobile) #menu.hubs.fit4 .mbtn { padding: 0 6px; }

/* 17 Kasım 2026: Özel Elit gemi yetenekleri (simge resim) ve Tersane kartındaki rol / yetenek satırı */
.ab-img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; pointer-events: none; }
.ship-role { display: flex; flex-direction: column; gap: 3px; margin: 6px 0 2px; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(214, 170, 92, .22); font-size: 12.5px; color: var(--text-2); }
.ship-role b { color: var(--gold-hi); font-weight: 600; }

/* ---- 19 Kasım 2026: amiral hasar ve ödül özeti (tahta + parşömen) ---- */
.adm-sum {
  width: min(420px, calc(100vw - 24px)); padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 10px; cursor: pointer;
  border: 2px solid #8a6328; border-radius: 6px; color: #f3e6c8;
  background: linear-gradient(180deg, rgba(46, 30, 16, .96), rgba(18, 11, 5, .97)), url('../assets/ui/q_wood.jpg') center / 280px auto repeat, #1c120a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(246, 210, 127, .18), 0 10px 28px rgba(0, 0, 0, .55);
  animation: pop-in var(--t-med) var(--ease); transition: opacity .4s, transform .4s;
}
.adm-sum.sank { border-color: var(--gold); }
.adm-sum.out { opacity: 0; transform: translateY(-8px); }
.as-head { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.as-name { font: 400 26px/1.05 var(--font-display); color: var(--gold-hi); text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.as-sub { font-size: 13px; color: #d8c49a; }
.adm-sum:not(.sank) .as-name { color: #e6d3a8; }
.as-row { display: flex; gap: 8px; }
.as-cell {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border-radius: 4px;
  color: #2b1a08; background: linear-gradient(180deg, rgba(244, 228, 192, .96), rgba(224, 200, 154, .97)), url('../assets/ui/q_parch.jpg') center / 300px auto repeat;
  box-shadow: inset 0 0 0 1px rgba(90, 58, 20, .45);
}
.as-ico { width: 24px; height: 24px; flex: none; }
.as-ico svg { width: 100%; height: 100%; display: block; }
.as-val { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.as-val small { font-size: 11.5px; color: #6b4a1f; }
.as-val b { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-cell.dmg b { color: #7a1f12; }
@media (prefers-reduced-motion: reduce) { .adm-sum { animation: none; transition: none; } }
html.mobile .adm-sum { width: min(360px, calc(100vw - 16px)); }
html.mobile .as-name { font-size: 22px; }
html.mobile .as-val b { font-size: 14px; }

/* 20 Kasım 2026: Casus penceresi ve Kaptan No */
.spy-me { margin: 6px 0 10px; font-size: 15px; }
.spy-me b { color: var(--gold, #e8c46a); font-size: 18px; letter-spacing: .04em; }
.spy-row { display: flex; gap: 8px; margin-bottom: 12px; }
.spy-row .spy-in { flex: 1; min-width: 0; height: 34px; font-size: 16px; }
.ap-badge.pid { color: #ffe6a8; background: rgba(232, 196, 106, .16); }

/* 20 Kasım 2026: Hazine Görevleri */
.hzq { margin: 10px 0 6px; padding: 10px 12px; border-radius: var(--r-md, 8px); background: rgba(0, 0, 0, .18); }
.hzq h4 { margin: 0 0 6px; }
.hzq-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.hzq-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.hzq-row.got { opacity: .6; }
.hzq-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hzq-rw { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cap-pid { margin: 2px 0 4px; font-size: 14px; color: #5b3d1c; }   /* 21 Kasım 2026: parşömen üstünde açık renk okunmuyordu */
.cap-pid b { color: #8a3d00; font-size: 17px; letter-spacing: .05em; }
/* 20 Kasım 2026: Yönetici → Oyuncu Düzenle */
.pe-table td { padding: 3px 8px; vertical-align: middle; }
.pe-table .pe-cur { font-weight: 700; text-align: right; min-width: 110px; }
.pe-in { width: 140px; height: 26px; }
.pe-item { max-width: 240px; }
.pe-ships { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pe-ship { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .2); }
/* ---- Usta Yetenekleri (20 Kasım 2026): sekme şeridi, kırmızı kaynak çubuğu, deniz haritası parşömeni, altın halkalı madalyon düğümler ---- */
.us-root { container-type: inline-size; display: flex; flex-direction: column; min-height: 100%; }
.us-tabs { display: flex; justify-content: center; margin: -4px 0 0; }
.us-tab { padding: 6px 14px; font: 500 13.5px/1.2 var(--font-ui); color: #d9cbb0; cursor: pointer; background: #2a0f0c; border: 1px solid #6b4a2a; margin-left: -1px; }
.us-tab:first-child { border-radius: 4px 0 0 4px; } .us-tab:last-child { border-radius: 0 4px 4px 0; }
.us-tab:hover { color: #fff3d6; }
.us-tab.on { color: #fff6dc; background: #5a1a12; box-shadow: inset 0 -2px 0 #e8b54a; }
.us-tab:focus-visible, .us-step:focus-visible, .us-plus:focus-visible, .us-card:focus-visible, .us-dot:focus-visible, .us-reset:focus-visible { outline: 2px solid #ffe08a; outline-offset: 2px; }
.us-bar { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 8px; padding: 6px 12px; min-height: 38px; flex-wrap: wrap;
  background: #4a1410; border-top: 2px solid #7c2a1c; border-bottom: 2px solid #2a0907; box-shadow: inset 0 1px 0 rgba(255, 210, 160, .12); }
.us-res { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: #f4e6c4; font-variant-numeric: tabular-nums; }
.us-res > i { width: 20px; height: 20px; display: inline-block; }
.us-res > i svg { width: 100%; height: 100%; display: block; }
.us-res .us-pti { color: #ffd27a; }
.us-plus { width: 22px; height: 22px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; font: 700 15px/1 var(--font-ui);
  color: #2a1606; background: #e8b54a; border: 1px solid #ffe08a; }
.us-plus:disabled { background: #6e5a40; border-color: #8a7458; color: #3a2a18; cursor: default; }
.us-steps { display: inline-flex; gap: 4px; margin-left: auto; }
.us-step { min-width: 46px; height: 28px; padding: 0 8px; cursor: pointer; font: 600 13px/1 var(--font-ui); color: #d9cbb0; background: #1e0907; border: 1px solid #6b4a2a; border-radius: 3px; }
.us-step.on { color: #fff6dc; border-color: #f0d9a8; box-shadow: inset 0 0 0 1px #f0d9a8; }
.us-title { text-align: center; padding: 6px 0; font-size: 14px; color: #f0e2c2; background: #160a07; border-bottom: 1px solid #3d2414; }
/* genel bakış kartları */
.us-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 18px 8px 8px; }
.us-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px 16px; cursor: pointer; text-align: center; font: inherit;
  color: #3b2410; background: #dcc79e; border: 3px solid #8a6a3c; border-radius: 6px; box-shadow: inset 0 0 30px rgba(110, 75, 30, .35); }
.us-card:hover { border-color: #c9a25a; }
.us-card b { font-size: 16px; color: #3b2410; }
.us-card small { font-size: 12px; color: #5b3d1c; line-height: 1.35; }
.us-lvpill { padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #f4e6c4; background: #2e1d10; }
.us-art { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; border: 4px solid #a8814a; box-shadow: 0 0 0 2px #5a3a1c; }
.us-art svg { width: 64%; height: 64%; }
.us-badge { position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: #9c1c14; border: 1px solid #e05a40; }
/* sayfa renkleri: Hasar kızıl ateş, Savunma çelik mavi, Ekonomi altın */
.us-h { --us-a: #ffcf6a; --us-b: #d2531b; --us-c: #6d1606; --us-i: #fff0c8; }
.us-d { --us-a: #cfe0f6; --us-b: #5a76a8; --us-c: #1d2b4d; --us-i: #f0f6ff; }
.us-e { --us-a: #fff0a8; --us-b: #c99a2a; --us-c: #5c3c08; --us-i: #3a2405; }
.us-art { background: radial-gradient(circle at 38% 32%, var(--us-a), var(--us-b) 55%, var(--us-c)); color: var(--us-i); }
/* sayfa: sol sütun + harita */
.us-body { flex: 1; display: grid; grid-template-columns: 180px 1fr; gap: 0; margin-top: 8px; min-height: 420px; border: 3px solid #5a3a1c; border-radius: 4px; background: #d6c095; }
.us-side { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 10px; background: #cdb586; border-right: 2px dashed #8a6a3c; }
.us-ulv { align-self: stretch; font-size: 13.5px; font-weight: 700; color: #b0700c; }
.us-prog { position: relative; align-self: stretch; height: 18px; background: #2a1a0c; border: 1px solid #6b4a26; }
.us-prog i { position: absolute; inset: 0 auto 0 0; background: #e89a1c; box-shadow: inset 0 1px 0 #ffd27a; }
.us-prog span { position: relative; display: block; text-align: center; font-size: 12px; line-height: 16px; font-weight: 700; color: #fff6dc; text-shadow: 0 1px 1px #000; }
.us-medal { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
.us-medal > span { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; color: #e8e8e8; background: radial-gradient(circle at 38% 32%, #d8d8d8, #8a8a8a 60%, #4a4a4a); border: 3px solid #9a9a9a; filter: grayscale(1); opacity: .8; }
.us-medal > span svg { width: 58%; height: 58%; color: #3a3a3a; }
.us-medal small { font-size: 11.5px; font-weight: 600; color: #6b4a26; text-align: center; max-width: 150px; }
.us-medal.on > span { filter: none; opacity: 1; border-color: #e8b54a; background: radial-gradient(circle at 38% 32%, #c8f6ff, #2f9fc8 58%, #0d3f5c); }
.us-medal.on > span svg { color: #f0fbff; }
.us-medal.on small { color: #3b2410; }
.us-board { position: relative; overflow: hidden; min-height: 420px;
  background-color: #e3cfa2;
  background-image: repeating-linear-gradient(0deg, rgba(120, 90, 50, .16) 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, rgba(120, 90, 50, .16) 0 1px, transparent 1px 64px),
    repeating-conic-gradient(from 0deg at 100% 100%, rgba(110, 80, 40, .14) 0 .35deg, transparent .35deg 4deg); box-shadow: inset 0 0 50px rgba(110, 70, 25, .35); }
.us-compass { position: absolute; right: 12px; bottom: 36px; width: 96px; height: 96px; color: rgba(110, 80, 40, .4); pointer-events: none; }
.us-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.us-links line { vector-effect: non-scaling-stroke; }
.us-links line.bg { stroke: #4a4a4a; stroke-width: 6px; opacity: .55; }
.us-links line.fg { stroke: #a8a8a8; stroke-width: 3px; }
.us-links line.on.bg { opacity: .8; } .us-links line.on.fg { stroke: #e8e4da; }
.us-node { position: absolute; width: 130px; transform: translate(-50%, -38px); display: flex; flex-direction: column; align-items: center; text-align: center; color: #3b2410; }
.us-dot { position: relative; width: 76px; height: 76px; border-radius: 50%; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, var(--us-a), var(--us-b) 55%, var(--us-c)); color: var(--us-i);
  border: 4px solid #c9a25a; box-shadow: 0 0 0 2px #5a3a1c, 0 3px 6px rgba(0, 0, 0, .45), inset 0 0 12px rgba(0, 0, 0, .45); }
.us-ico svg { width: 44px; height: 44px; display: block; }
.us-node.lock .us-dot { filter: grayscale(1) brightness(.85); cursor: not-allowed; }
.us-node:not(.on):not(.lock) .us-dot { filter: saturate(.55); }
.us-node.max .us-dot { border-color: #ffd86a; box-shadow: 0 0 0 2px #5a3a1c, 0 0 14px rgba(255, 210, 100, .7), inset 0 0 12px rgba(0, 0, 0, .4); }
.us-node.can .us-dot:hover { border-color: #ffe9a8; }
.us-dot:disabled { cursor: default; }
.us-add { position: absolute; left: 6px; bottom: 6px; font: 800 22px/1 var(--font-ui); color: #fff7d6; text-shadow: 0 0 3px #000, 0 0 6px #000; }
.us-pill { margin-top: -12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 9px; border-radius: 10px;
  font-size: 11.5px; font-weight: 700; color: #f4e6c4; background: #1c120a; border: 1px solid #b08a4a; }
.us-pill i { width: 7px; height: 7px; border-radius: 50%; background: #e8b54a; }
.us-txt { display: none; }
.us-reset { position: absolute; right: 12px; bottom: 10px; height: 28px; padding: 0 14px; cursor: pointer; font: 700 12.5px/1 var(--font-ui); letter-spacing: .04em;
  color: #e8e2d4; background: #22262c; border: 2px solid #8a8f98; border-radius: 14px; }
.us-reset:disabled { opacity: .5; cursor: default; }
.us-foot { margin: 12px 8px 0; }
html.mobile .us-node { width: 100px; }
@container (max-width: 760px) {
  .us-tabs { flex-wrap: wrap; }
  .us-steps { margin-left: 0; }
  .us-cards { grid-template-columns: 1fr; }
  .us-body { grid-template-columns: 1fr; }
  .us-side { flex-direction: row; flex-wrap: wrap; justify-content: center; border-right: 0; border-bottom: 2px dashed #8a6a3c; }
  .us-ulv, .us-prog { flex-basis: 100%; }
  .us-board { min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 52px; }
  .us-links, .us-compass { display: none; }
  .us-node { position: static; transform: none; width: auto; flex-direction: row; gap: 10px; text-align: left; flex-wrap: wrap; }
  .us-pill { margin-top: 0; }
  .us-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
  .us-name { font-weight: 700; font-size: 13.5px; } .us-val { font-size: 12px; color: #5b3d1c; }
  .us-dot { width: 56px; height: 56px; } .us-ico svg { width: 32px; height: 32px; }
}
/* ---- Yönetici: Anormallik (20 Kasım 2026) ---- */
.an-rep { margin: 10px 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--raise); border: 1px solid var(--line); }
.an-rep.new { border-color: var(--gold-line); }
.an-rep.crit { border-color: rgba(229, 84, 63, .7); background: rgba(229, 84, 63, .06); }
.an-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.an-kind { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--gold-ink); background: var(--gold); }
.an-count { font-weight: 600; }
.an-table { margin-top: 8px; }
.an-table td { height: 36px; }
.an-sev { padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.an-sev.kritik { color: #fff; background: var(--red); }
.an-sev.yuksek { color: var(--gold-ink); background: var(--gold); }
.an-eco { margin-top: 8px; padding: 6px 10px; border-radius: var(--r-sm); background: rgba(229, 84, 63, .12); color: var(--red-hi); font-size: 13px; }
.an-cfg { margin: 8px 0; padding: 10px; border-radius: var(--r-md); background: var(--well); }
.an-mul { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
/* ---- Arkadaşlar: mesaj önizlemesi, okunmamış vurgusu, görüldü işareti (20 Kasım 2026) ---- */
.fr-row.unread .nm { color: var(--gold-hi); }
.fr-row.unread { background: var(--gold-soft); opacity: 1; }
.fr-pv { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fr-row.unread .fr-pv { color: var(--text); font-weight: 600; }
.fr-when { float: right; font-size: 11px; color: var(--text-3); font-weight: 400; }
.fr-unhead { margin: 6px 0 2px; padding: 4px 8px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 700; color: #fff; background: var(--red); }
.fr-tick { letter-spacing: -2px; font-size: 12px; font-weight: 700; color: var(--text-3); }
.fr-tick.seen { color: #4fb8ff; }
/* ---- 21 Kasım 2026: telefon düzeltmeleri ---- */
@media (max-width: 520px) {
  html.mobile .qb-bigseal { display: none; }   /* dikey telefonda mühür üçüncü ödülün üstüne biniyordu */
  .onl-mark:not(:first-of-type):not(:last-of-type) { font-size: 0; }   /* Çevrimiçi Ödülleri: saat etiketleri üst üste biniyordu; ilk ve son kalır */
  .wk-head { grid-template-columns: 1fr 1fr; }   /* Şöhret Listesi: süre kutuları sıkışıp tarih üst üste biniyordu */
  .wk-head > .card-ico { display: none; }
  .wk-head > div:not(.wk-box) { grid-column: 1 / -1; }
  .wk-box { white-space: normal; }
}
.tl-price b { white-space: nowrap; }   /* "350 ₺ / 7 $" ikiye bölünüyordu */
html.mobile .tl-price b { font-size: 18px; }

/* 21 Kasım 2026: Av Bölgesi / girdap / Kayıp Hazine Denizi çıkış düğmesi (etkinlik çubuğunda, yazılı) */
.ev-exit {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 8px; border-radius: var(--r-pill);
  font: 700 12px/1 var(--font-ui); color: #fff1d6; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, #8e2a1c, #5a160e); border: 1px solid rgba(255, 196, 140, 0.7);
  box-shadow: var(--sh-1); animation: pop-in var(--t-med) var(--ease);
}
.ev-exit:hover { border-color: #ffd9a8; filter: brightness(1.1); }
.ev-exit:active { transform: translateY(1px); }
.ev-exit .ev-ico { width: 16px; height: 16px; flex: none; }
.ev-exit .ev-ico svg { width: 100%; height: 100%; display: block; }
.ev-exit b { font-weight: 700; color: inherit; }
/* 21 Kasım 2026 (kullanıcı): Haritadan Çık düğmesi sayaç kutusuyla aynı boyda ve aynı çerçevede */
html:not(.mobile) .ev-exit { height: 32px; padding: 0 12px 0 8px; gap: 7px; border-radius: 16px; border: 0; font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, .18), 0 0 0 1px #1a0f06, 0 0 0 2.5px rgba(214, 166, 80, .6), 0 0 0 3.5px rgba(20, 10, 2, .8), 0 6px 12px rgba(0, 0, 0, .45); }
html:not(.mobile) .ev-exit:hover { box-shadow: inset 0 1px 0 rgba(255, 220, 150, .18), 0 0 0 1px #1a0f06, 0 0 0 2.5px #f3cf73, 0 0 0 3.5px rgba(20, 10, 2, .8), 0 0 14px rgba(255, 200, 90, .45); }
html:not(.mobile) .ev-exit .ev-ico { width: 18px; height: 18px; }
html.mobile .ev-exit { height: 24px; font-size: 11px; padding: 0 9px 0 6px; }

/* 21 Kasım 2026: sunucu bakımı geri sayımı */
#evBar .ev-chip.ev-restart, html:not(.mobile) #evBar .ev-chip.ev-restart, html.mobile #evBar .ev-chip.ev-restart { background: linear-gradient(#a3261d, #6b130e); border: 1px solid #ffb39c; color: #fff3e6; padding: 0 12px 0 8px; gap: 6px; cursor: default; animation: evRestartPulse 1.6s ease-in-out infinite; }
html #evBar .ev-chip.ev-restart > b, html.mobile #evBar .ev-chip.ev-restart > b { display: inline-block; color: #fff3e6; }
html #evBar .ev-chip.ev-restart > em, html.mobile #evBar .ev-chip.ev-restart > em { display: inline-block; }
#evBar .ev-chip.ev-restart em { color: #ffe08a; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
#evBar .ev-chip.ev-restart .ev-ico { width: auto; height: auto; font-size: 14px; background: none; }
@keyframes evRestartPulse { 50% { box-shadow: 0 0 14px 2px rgba(255, 90, 60, .75); } }
@media (prefers-reduced-motion: reduce) { #evBar .ev-chip.ev-restart { animation: none; } }

/* 22 Kasım 2026: av bölgesi bilet çevirme satırı */
.hz-swap { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(214, 166, 80, .35); display: flex; flex-direction: column; gap: 6px; }

/* 22 Kasım 2026: Güç Tasarrufu ekranı ve düğmesi */
#abSaver { display: none; }
html:not(.mobile) #abSaver { display: grid; place-items: center; position: absolute; left: -8px; top: -16px; width: 30px; height: 30px; z-index: 6; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #f3cf73;
  background: radial-gradient(circle at 50% 35%, #4a3418, #1a1007 75%); box-shadow: inset 0 0 0 1.5px #f0c96e, inset 0 0 0 3px #3a2408, 0 0 0 1.5px #1a0f06, 0 3px 8px rgba(0, 0, 0, .6); transition: transform .15s, color .15s; }
html:not(.mobile) #abSaver:hover { transform: scale(1.1); color: #fff3c4; }
#abSaver:focus-visible { outline: 2px solid #f3cf73; outline-offset: 2px; }
#abSaver svg { width: 15px; height: 15px; }
html.mobile #abSaver { display: grid; place-items: center; position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); z-index: 6; width: 30px; height: 30px; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 50%; color: #f3cf73;
  background: radial-gradient(circle at 50% 35%, #4a3418, #1a1007 75%); box-shadow: inset 0 0 0 1.5px #f0c96e, inset 0 0 0 3px #3a2408, 0 2px 6px rgba(0, 0, 0, .6); }
#saver { position: fixed; inset: 0; z-index: 99990; background: #000; color: #9fb4c6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none;
  font-family: var(--f-ui, 'Barlow', system-ui, sans-serif); padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
#saver .pws-mid, #saver .pws-row { transform: translate(var(--pws-dx, 0), var(--pws-dy, 0)); transition: transform 2s ease; }
@media (prefers-reduced-motion: reduce) { #saver .pws-mid, #saver .pws-row { transition: none; } }
#saver .pws-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 0; }
#saver .pws-ico { color: #3f6f9a; opacity: .9; } #saver .pws-ico svg { width: 44px; height: 44px; filter: drop-shadow(0 0 14px rgba(70, 150, 230, .55)); }
#saver .pws-time { font-size: clamp(56px, 13vmin, 110px); line-height: 1; font-weight: 300; letter-spacing: .04em; color: #b9c8d6; font-variant-numeric: tabular-nums; }
#saver .pws-state { font-size: 16px; color: #6fd29a; letter-spacing: .02em; } #saver .pws-state.off { color: #e0a064; }
#saver .pws-hint { font-size: 13px; color: #5d7184; padding-top: 10px; border-top: 1px solid rgba(90, 130, 170, .28); margin-top: 6px; }
#saver .pws-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; max-width: 900px; }
#saver .pws-c { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
#saver .pws-c b { font-size: 15px; font-weight: 600; color: #d4dee7; font-variant-numeric: tabular-nums; }
#saver .pws-c span { font-size: 11px; color: #5d7184; }
#saver .pws-c.low b { color: #ef8a84; }
/* 23 Kasım 2026 (kullanıcı): gülle ve eşya sayıları (seçili gülle altın, azalan kırmızı) ve özel mesaj bildirimi */
#saver .pws-inv { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(90, 130, 170, .18); }
#saver .pws-inv .pws-c b { color: #b9c8d6; }
#saver .pws-inv .pws-c.sel b { color: #f0c96e; } #saver .pws-inv .pws-c.sel span { color: #b99a52; }
#saver .pws-inv .pws-c.low b { color: #ef8a84; }
#saver .pws-pm { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); display: none; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; background: rgba(20, 40, 64, .55); border: 1px solid rgba(110, 170, 230, .35); color: #cfe2f3; }
#saver .pws-pm.on { display: flex; animation: pws-pm-in .4s ease; }
#saver .pws-pmi { width: 26px; height: 26px; color: #7fc0ff; } #saver .pws-pmi svg { width: 100%; height: 100%; display: block; }
#saver .pws-pm > span { display: flex; flex-direction: column; gap: 2px; } #saver .pws-pm b { font-size: 15px; font-weight: 600; } #saver .pws-pm small { font-size: 12px; color: #7f97ad; }
@keyframes pws-pm-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html.saver #hud, html.saver #scene, html.saver #overlay, html.saver #tooltip { visibility: hidden; }
html.saver, html.saver body { overflow: hidden; }

/* 23 Kasım 2026 (kullanıcı): Ek Oto Av Süresi kartının sağ üstünde Kaptan Ruhsatı düğmesi */
/* 30 Kasım 2026 (kullanıcı): düğme başlığın satırında, akışta; pencere daralınca başlığın altına iner, yazının üstüne binmez */
.as-card .as-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 4px; }
.as-card .as-head h5 { margin: 0; min-width: 0; }
.as-card .as-prem { flex: 0 0 auto; white-space: nowrap; }

/* =====================================================================
   23 Kasım 2026 (kullanıcı): AYARLAR penceresi, kullanıcının tasarımı. Lacivert zemin, altın çerçeve ve çizgi simgeler,
   solda büyük bölüm düğmeleri, altta dil / varsayılanlar / kaydet çubuğu. (sınıflar: st-*)
   ===================================================================== */
.win.ayr-win {
  --st-gold: #f0c766; --st-gold-2: #c99a3c; --st-gold-3: #8a6424; --st-ink: #e9dfc9; --st-ink-2: #a9a08e;
  --st-bg: #0a1522; --st-panel: #0d1b2b; --st-line: rgba(214, 170, 92, 0.42); --st-sep: rgba(214, 170, 92, 0.13);
  padding: 10px 12px 12px; border-radius: 14px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(240, 199, 102, 0.08), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(30, 70, 110, 0.35), transparent 70%),
    linear-gradient(180deg, #0c1a2a, #070f19);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(240, 199, 102, 0.55), inset 0 0 0 5px #0a1420, inset 0 0 0 6px rgba(240, 199, 102, 0.28);
}
/* altın çerçeve: ince çift çizgi ve köşe süsleri (görsel dosya yok, SVG) */
.win.pirate.ayr-win::after {
  inset: -6px; border: 0; border-image: none; border-radius: 16px;
  box-shadow: 0 0 0 2px #2a1d0a, 0 0 0 3px rgba(240, 199, 102, 0.75), 0 0 18px rgba(240, 199, 102, 0.18);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23e8bd5c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 40V12a8 8 0 0 1 8-8h28'/%3E%3Cpath d='M10 34c0-12 4-22 22-24'/%3E%3Cpath d='M16 22c2-4 6-6 10-6M22 30c-4 0-6-3-5-6s5-3 6 0-1 6-4 6'/%3E%3C/g%3E%3Ccircle cx='9' cy='9' r='3.2' fill='%23f6d27a'/%3E%3C/svg%3E") left top / 46px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg transform='matrix(-1 0 0 1 60 0)' fill='none' stroke='%23e8bd5c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 40V12a8 8 0 0 1 8-8h28'/%3E%3Cpath d='M10 34c0-12 4-22 22-24'/%3E%3Cpath d='M16 22c2-4 6-6 10-6M22 30c-4 0-6-3-5-6s5-3 6 0-1 6-4 6'/%3E%3C/g%3E%3Ccircle cx='51' cy='9' r='3.2' fill='%23f6d27a'/%3E%3C/svg%3E") right top / 46px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg transform='matrix(1 0 0 -1 0 60)' fill='none' stroke='%23e8bd5c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 40V12a8 8 0 0 1 8-8h28'/%3E%3Cpath d='M10 34c0-12 4-22 22-24'/%3E%3Cpath d='M16 22c2-4 6-6 10-6M22 30c-4 0-6-3-5-6s5-3 6 0-1 6-4 6'/%3E%3C/g%3E%3Ccircle cx='9' cy='51' r='3.2' fill='%23f6d27a'/%3E%3C/svg%3E") left bottom / 46px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg transform='matrix(-1 0 0 -1 60 60)' fill='none' stroke='%23e8bd5c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 40V12a8 8 0 0 1 8-8h28'/%3E%3Cpath d='M10 34c0-12 4-22 22-24'/%3E%3Cpath d='M16 22c2-4 6-6 10-6M22 30c-4 0-6-3-5-6s5-3 6 0-1 6-4 6'/%3E%3C/g%3E%3Ccircle cx='51' cy='51' r='3.2' fill='%23f6d27a'/%3E%3C/svg%3E") right bottom / 46px no-repeat;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
/* başlık: ortada altın plaka */
.win.ayr-win .win-head { position: relative; height: 64px; padding: 0 16px; border-bottom: 0; justify-content: center; }
.win.ayr-win .win-head::before {
  content: ''; position: absolute; left: 50%; top: 4px; width: min(420px, 60%); height: 60px; transform: translateX(-50%);
  border-radius: 10px; pointer-events: none;
  background: linear-gradient(180deg, #13243a, #0a1524);
  box-shadow: inset 0 0 0 1.5px var(--st-gold), inset 0 0 0 5px #0b1626, inset 0 0 0 6px rgba(240, 199, 102, 0.35), 0 6px 16px rgba(0, 0, 0, 0.55);
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
}
.win.ayr-win .win-head > .ico { position: relative; z-index: 1; width: 40px; height: 40px; color: var(--st-gold); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.8)); }
.win.ayr-win .win-head h3 {
  position: relative; z-index: 1; flex: none; font: 600 40px/1 'EB Garamond', Georgia, serif; letter-spacing: 0.5px; text-align: center;
  background: linear-gradient(180deg, #fff2c4 0%, #f0c766 50%, #b8862f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.9));
}
.win.ayr-win .win-max, .win.ayr-win .win-close {
  position: absolute; top: 14px; width: 44px; height: 40px; border-radius: 8px; color: var(--st-gold);
  background: linear-gradient(180deg, #13243a, #0a1524); box-shadow: inset 0 0 0 1.5px var(--st-gold), 0 3px 8px rgba(0, 0, 0, 0.5);
}
.win.ayr-win .win-max { right: 70px; } .win.ayr-win .win-close { right: 16px; }
.win.ayr-win .win-close svg { width: 18px; height: 18px; stroke-width: 2.4; }
.win.ayr-win .win-max svg { width: 18px; height: 18px; }
.win.ayr-win .win-close:hover { color: #fff; background: linear-gradient(180deg, #8a2a1c, #4a120a); }
.win.ayr-win .win-max:hover { color: #fff; background: linear-gradient(180deg, #1d3552, #0f1f33); }
.win.ayr-win .win-body { gap: 14px; padding: 6px 4px 0; }
/* sol: bölümler */
.win.ayr-win .win-side {
  width: 236px; padding: 14px 10px; gap: 8px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(14, 28, 45, 0.9), rgba(8, 16, 27, 0.92)); border: 1px solid var(--st-line); border-right: 1px solid var(--st-line);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.5);
}
.win.ayr-win .side-btn {
  min-height: 62px; padding: 8px 14px; gap: 16px; border-radius: 8px; font: 600 21px/1.1 'EB Garamond', Georgia, serif; color: #ddd2bb;
  border-bottom: 1px solid var(--st-sep);
}
.win.ayr-win .side-btn .ico { width: 34px; height: 34px; color: var(--st-gold); opacity: 0.95; filter: none; }
.win.ayr-win .side-btn:hover { background: rgba(240, 199, 102, 0.07); color: #fff3d6; }
.win.ayr-win .side-btn.on {
  color: #fff6dc; border-bottom-color: transparent;
  background: linear-gradient(90deg, rgba(240, 199, 102, 0.34), rgba(240, 199, 102, 0.1) 70%, rgba(240, 199, 102, 0.02));
  box-shadow: inset 0 0 0 1.5px var(--st-gold), 0 0 16px rgba(240, 199, 102, 0.25);
}
.win.ayr-win .side-btn.on::before { left: auto; right: -9px; top: 50%; bottom: auto; width: 14px; height: 14px; border-radius: 0; transform: translateY(-50%) rotate(45deg); background: var(--st-gold); box-shadow: 0 0 10px var(--st-gold); }
.win.ayr-win .side-btn.on .ico { filter: drop-shadow(0 0 6px rgba(240, 199, 102, 0.6)); }
.win.ayr-win .win-main { padding: 0 4px 0 2px; scrollbar-color: var(--st-gold-3) rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; }
/* sayfa ve paneller */
.ayr-page { flex: 1 0 auto; padding-bottom: 14px; }
.ayr-cols { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ayr-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ayr-panel {
  position: relative; min-width: 0; padding: 4px 16px 8px; border-radius: 12px; border: 1px solid var(--st-line);
  background: linear-gradient(180deg, rgba(16, 32, 52, 0.92), rgba(9, 19, 31, 0.95)); box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.06), 0 4px 14px rgba(0, 0, 0, 0.45);
}
.ayr-page > .ayr-panel + .ayr-panel { margin-top: 14px; }
.ayr-panel::before { content: ''; position: absolute; left: -6px; top: 22px; width: 10px; height: 10px; transform: rotate(45deg); background: #0b1726; box-shadow: inset 0 0 0 1.5px var(--st-gold); }
.ayr-ph { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 0 6px; border-bottom: 1px solid var(--st-sep); font: 600 26px/1.1 'EB Garamond', Georgia, serif; color: var(--st-gold); }
.ayr-ph .ayr-ic { width: 32px; height: 32px; }
.ayr-ic { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; color: var(--st-gold); }
.ayr-ic svg { width: 100%; height: 100%; display: block; }
.ayr-rows { display: flex; flex-direction: column; }
.ayr-row { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 6px 2px; border-bottom: 1px solid var(--st-sep); }
.ayr-row:last-child { border-bottom: 0; }
.ayr-row > .ayr-ic { width: 28px; height: 28px; }
.ayr-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ayr-tx b { font: 500 16px/1.25 var(--font-ui); color: var(--st-ink); }
.ayr-tx small { font-size: 13px; line-height: 1.35; color: var(--st-ink-2); }
.ayr-ctl { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; max-width: 62%; }
.ayr-sl .ayr-ctl { flex: 1.4; max-width: none; }
.ayr-note { margin: 8px 0; font-size: 13px; line-height: 1.5; color: var(--st-ink-2); }
/* anahtar */
.ayr-sw { position: relative; display: inline-block; width: 56px; height: 30px; cursor: pointer; }
.ayr-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ayr-sw i { position: absolute; inset: 0; border-radius: 999px; background: linear-gradient(180deg, #1a2533, #0e1520); box-shadow: inset 0 0 0 1.5px #3a4656, inset 0 2px 4px rgba(0, 0, 0, 0.6); transition: background 0.18s; }
.ayr-sw i::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, #ffffff, #d9d9d9); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); transition: transform 0.18s; }
.ayr-sw input:checked + i { background: linear-gradient(180deg, #f6d47c, #c9952f); box-shadow: inset 0 0 0 1.5px #8a6424, 0 0 10px rgba(240, 199, 102, 0.35); }
.ayr-sw input:checked + i::after { transform: translateX(26px); }
.ayr-sw input:focus-visible + i { outline: 2px solid #fff3c8; outline-offset: 2px; }
/* kaydırıcı */
.ayr-slide { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.win.pirate .ayr-range { --p: 50%; border: 0; flex: 1; min-width: 80px; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ayr-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #f6d47c, #c9952f var(--p), #1f2a38 var(--p)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5); }
.ayr-range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #f6d47c, #c9952f var(--p), #1f2a38 var(--p)); }
.ayr-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -6px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff4cf, #f0c766 45%, #a8761f); box-shadow: 0 0 0 2px #3a2a0e, 0 0 10px rgba(240, 199, 102, 0.6); }
.ayr-range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff4cf, #f0c766 45%, #a8761f); box-shadow: 0 0 0 2px #3a2a0e, 0 0 10px rgba(240, 199, 102, 0.6); }
.ayr-range:focus-visible { outline: 2px solid #fff3c8; outline-offset: 2px; border-radius: 6px; }
.ayr-val { flex: none; min-width: 48px; text-align: right; font: 600 15px/1 var(--font-ui); color: var(--st-ink); font-variant-numeric: tabular-nums; }
/* seçim kutusu */
.win.pirate .ayr-sel {
  min-width: 200px; max-width: 100%; height: 38px; padding: 0 36px 0 14px; border-radius: 6px; font: 500 15px/1 var(--font-ui); color: var(--st-ink);
  -webkit-appearance: none; appearance: none; cursor: pointer; border: 1.5px solid var(--st-gold-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f0c766' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 12px no-repeat, linear-gradient(180deg, #0f1d2e, #0a1422);
}
.win.pirate .ayr-sel:hover { border-color: var(--st-gold); }
.ayr-sel option { background: #0d1b2b; color: var(--st-ink); }
/* düğmeler */
.ayr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 7px; white-space: nowrap;
  font: 700 15px/1 var(--font-ui); color: var(--st-gold); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--st-gold-2); background: linear-gradient(180deg, #1a1a14, #0e0d09);
  box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.08), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.ayr-btn .ayr-ic { width: 20px; height: 20px; }
.ayr-btn:hover { border-color: var(--st-gold); color: #ffe7a6; background: linear-gradient(180deg, #2a2618, #15130c); }
.ayr-btn.pri { color: #2a1803; border-color: #6b4a14; background: linear-gradient(180deg, #fff0bf 0%, #f3cf73 40%, #c9952f 75%, #a8761f 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(90, 55, 10, 0.5), 0 3px 10px rgba(0, 0, 0, 0.5), 0 0 16px rgba(240, 199, 102, 0.25); }
.ayr-btn.pri .ayr-ic { color: #2a1803; }
.ayr-btn.pri:hover { filter: brightness(1.08); color: #2a1803; }
.ayr-btn.red { color: #ffb4a6; border-color: #a8402c; }
.ayr-btn.red .ayr-ic { color: #ff8f78; }
.ayr-btn.red:hover { color: #fff; background: linear-gradient(180deg, #6e1d12, #3a0c06); }
/* 2D / 3D */
.ayr-seg { display: inline-flex; padding: 3px; border-radius: 8px; border: 1.5px solid var(--st-gold-2); background: #0a1422; }
.ayr-seg button { min-width: 120px; height: 34px; padding: 0 16px; border-radius: 5px; font: 600 15px/1 var(--font-ui); color: var(--st-ink); }
.ayr-seg button:hover { background: rgba(240, 199, 102, 0.1); }
.ayr-seg button.on { color: #2a1803; background: linear-gradient(180deg, #fff0bf 0%, #f3cf73 45%, #c9952f 100%); box-shadow: 0 0 10px rgba(240, 199, 102, 0.35); }
/* renk körlüğü */
.ayr-cb { display: flex; align-items: center; gap: 22px; }
.ayr-dots { display: inline-flex; gap: 10px; }
.ayr-dots i { width: 22px; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5); }
.ayr-dots i:nth-child(1) { background: #e8332d; } .ayr-dots i:nth-child(2) { background: #3fb04a; } .ayr-dots i:nth-child(3) { background: #2f7fe0; }
.ayr-dots.cb i:nth-child(1) { background: #f08a1c; } .ayr-dots.cb i:nth-child(2) { background: #2f7fe0; } .ayr-dots.cb i:nth-child(3) { background: #f2d43a; }
/* dil */
.ayr-flag { flex: none; display: inline-block; width: 30px; height: 20px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); }
.ayr-flag svg { width: 100%; height: 100%; display: block; }
.ayr-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 12px 0 6px; }
.ayr-lang { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 8px; font: 600 17px/1 var(--font-ui); color: var(--st-ink); border: 1px solid var(--st-sep); background: rgba(0, 0, 0, 0.2); }
.ayr-lang:hover { border-color: var(--st-gold-2); }
.ayr-lang.on { border-color: var(--st-gold); background: rgba(240, 199, 102, 0.12); }
.ayr-lang .ayr-ic { margin-left: auto; }
.ayr-lp { position: relative; display: flex; align-items: center; }
.ayr-lp .ayr-flag { position: absolute; left: 12px; pointer-events: none; z-index: 1; }
.win.pirate .ayr-lp .ayr-sel { min-width: 230px; padding-left: 52px; height: 42px; }
/* alt çubuk */
.ayr-foot {
  position: sticky; bottom: 0; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin-top: auto; padding: 12px 18px; border-radius: 12px 12px 0 0; border: 1px solid var(--st-line); border-bottom: 0;
  background: linear-gradient(180deg, rgba(14, 28, 45, 0.98), rgba(8, 16, 27, 0.99)); box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.4);
}
.ayr-fl, .ayr-fr { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ayr-fl > .ayr-ic { width: 32px; height: 32px; }
.ayr-fl > b { font: 600 24px/1 'EB Garamond', Georgia, serif; color: var(--st-gold); }
.ayr-fr .ayr-btn { min-height: 46px; font-size: 17px; padding: 0 24px; }
.ayr-fr .ayr-btn.pri { min-width: 230px; font-size: 19px; }
/* ayrıntılı sayfalarda içe alınan eski parçalar (tuşlar, KVKK) */
.ayr-keys .keys-box, .ayr-priv { padding: 6px 0 10px; color: var(--st-ink); }
.ayr-priv h4 { color: var(--st-gold); }
/* dar ekran ve telefon */
@media (max-width: 1100px) { .ayr-cols { grid-template-columns: minmax(0, 1fr); } .win.ayr-win .side-btn { font-size: 18px; min-height: 52px; } .win.ayr-win .win-side { width: 200px; } }
@media (max-width: 760px) {
  .win.ayr-win .win-head h3 { font-size: 30px; } .win.ayr-win .win-head > .ico { width: 30px; height: 30px; }
  .ayr-row { flex-wrap: wrap; } .ayr-tx { flex: 1 1 140px; } .ayr-ctl { max-width: none; margin-left: auto; }
  .ayr-sl .ayr-ctl { width: 100%; padding-left: 42px; } .win.pirate .ayr-sel { min-width: 150px; }
  .ayr-foot { padding: 10px; } .ayr-fr { width: 100%; } .ayr-fr .ayr-btn { flex: 1; } .ayr-fr .ayr-btn.pri { min-width: 0; }
}
html.mobile .win.ayr-win .win-side { width: auto; }
html.mobile .win.ayr-win .side-btn { min-height: 44px; font-size: 16px; gap: 8px; padding: 6px 12px; border-bottom: 0; white-space: nowrap; }
html.mobile .win.ayr-win .side-btn .ico { width: 24px; height: 24px; }
html.mobile .win.ayr-win .side-btn.on::before { display: none; }
html.mobile .win.ayr-win .win-max, html.mobile .win.ayr-win .win-head::before { display: none; }
html.mobile .ayr-cols { grid-template-columns: minmax(0, 1fr); }
/* telefon: bölümler üstte yatay şerit, alt çubuk sayfanın sonunda (yer kaplamasın) */
html.mobile .win.ayr-win .win-head { height: 52px; }
html.mobile .win.ayr-win .win-head h3 { font-size: 30px; }
html.mobile .win.ayr-win .win-head > .ico { width: 28px; height: 28px; }
html.mobile .win.ayr-win .win-close { top: 8px; width: 40px; height: 36px; }
html.mobile .win.ayr-win .win-body { flex-direction: column; gap: 6px; }
html.mobile .win.ayr-win .win-side { flex: none; flex-direction: row; width: auto; max-width: none; padding: 5px; gap: 6px; overflow-x: auto; overflow-y: hidden; }
html.mobile .win.ayr-win .side-btn { flex: none; min-height: 40px; }
html.mobile .ayr-foot { position: static; margin-top: 4px; padding: 10px; border-radius: 12px; border-bottom: 1px solid var(--st-line); }
html.mobile .ayr-fl > b { display: none; }
html.mobile .ayr-fr .ayr-btn { min-height: 42px; font-size: 15px; padding: 0 14px; }
html.mobile .ayr-fr .ayr-btn.pri { min-width: 150px; font-size: 16px; }
html.mobile .ayr-ph { font-size: 22px; }
html.mobile .ayr-row { flex-wrap: wrap; }
html.mobile .ayr-tx { flex: 1 1 140px; }
html.mobile .ayr-ctl { max-width: none; margin-left: auto; }
html.mobile .ayr-sl .ayr-ctl { flex: 1 1 220px; }

/* 23 Kasım 2026 (kullanıcı): Dereceli Arena mod seçimi (1'e 1, 2'ye 2, 3'e 3) */
.rk-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.rk-mode { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border-radius: 8px; border: 1px solid rgba(214, 170, 92, .3); background: rgba(0, 0, 0, .22); color: #e9dfc9; cursor: pointer; }
.rk-mode b { font-size: 18px; } .rk-mode small { font-size: 12px; color: #b3a68c; }
.rk-mode:hover { border-color: rgba(240, 199, 102, .6); }
.rk-mode.on { border-color: #f0c766; background: linear-gradient(180deg, rgba(240, 199, 102, .22), rgba(240, 199, 102, .06)); box-shadow: 0 0 12px rgba(240, 199, 102, .2); }
.rk-q { position: absolute; top: -8px; right: 8px; padding: 1px 7px; border-radius: 999px; font-size: 11px; background: #2f7fe0; color: #fff; }

/* 23 Kasım 2026 (kullanıcı): başka klanı inceleme */
.clv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.clv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.clv-box { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(214, 170, 92, .25); background: rgba(0, 0, 0, .2); min-width: 0; }
.clv-box.wide { grid-column: 1 / -1; }
.clv-box h5 { margin: 0 0 6px; font-size: 14px; color: #f0c766; }
.clv-people { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.clv-p small { color: #a99c80; }
@media (max-width: 640px) { .clv-grid { grid-template-columns: minmax(0, 1fr); } }

/* 23 Kasım 2026 (kullanıcı): Işık Haritası bölümü (Kayıp Hazine penceresi) */
.isk { margin: 14px 0; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 225, 140, .45); background: linear-gradient(180deg, rgba(255, 240, 190, .1), rgba(255, 240, 190, .03)); }
.isk h4 { color: #ffe9a0; margin-top: 0; }
.isk-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 8px 0 12px; }
.isk-row > div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-ico img, .lp-ico .ship-img { width: 100%; height: 100%; object-fit: contain; display: block; }   /* 23 Kasım 2026: ganimette gemi görünümü resmi */
/* 23 Kasım 2026: gemi görünümü önizleme */
.skp-stage { position: relative; display: flex; justify-content: center; align-items: center; margin: 6px 0 10px; border-radius: 10px; background: radial-gradient(ellipse at 50% 55%, rgba(70, 110, 150, 0.35), rgba(10, 20, 30, 0.6) 70%); }
.skp-cv { width: min(384px, 100%); aspect-ratio: 1; cursor: grab; touch-action: none; }
.skp-cv:active { cursor: grabbing; }
.skp-hint { position: absolute; bottom: 6px; right: 10px; font-size: 11px; opacity: 0.6; pointer-events: none; }
.skp-row { align-items: center; gap: 10px; flex-wrap: wrap; }
.skp-btn { margin: 4px 0; }
.skp-gl { display: block; width: 100%; height: min(420px, 55vh); border-radius: 10px; cursor: grab; touch-action: none; }
.skp-gl:active { cursor: grabbing; }

/* 25 Kasım 2026 (kullanıcı): yeni yuvarlak ikon seti */
#abStop .ic-on { display: none; }
#abStop.live .ic-on { display: inline; }
#abStop.live .ic-off { display: none; }
#actionbar #abStop.ab-cmd > span { position: absolute; inset: 4px; filter: none; }   /* diğer düğmelerle aynı boy */
#actionbar #abStop.ab-cmd::after { display: none; }   /* yeni ikonların kendi çizgisi var */
.premium-hero .pk-ico { width: 64px; height: 64px; flex: 0 0 64px; }
.art.ic { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
/* 25 Kasım 2026 (kullanıcı): yeni ikonlar kartlarda küçük kalıyordu: çerçevesiz ve daha büyük göster (ikonun kendi altın çerçevesi var) */
.card-ico:has(> .ic) { width: 72px; height: 72px; padding: 0; background: none; border: 0; }
/* 26 Kasım 2026: Çevrimiçi Ödülleri satırlarında resimli simge (inci, Elit Kartal) 72px olup yazının üstüne biniyordu */
.onl-row .card-ico:has(> .ic) { width: 34px; height: 34px; }
.card-ico > .ic { width: 100%; height: 100%; display: block; object-fit: contain; }
/* 25 Kasım 2026: yönetici panelinde Denetim ve Raporlar alt sekmeleri */
.tabs-row.adm-sub { margin-top: -4px; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.22); }

/* =====================================================================
   25 Kasım 2026 — BLACK DESERT TARZI SOHBET (bilgisayar ve telefon)
   koyu yarı saydam panel, ince kenar; satır başında renkli kanal rozeti; ayar kutusu; boştayken soluklaşma
   ===================================================================== */
html:is(.mobile, :not(.mobile)) #chat.bdo {
  --chat-op: .7; --chat-fs: 13px;
  background: rgba(12, 13, 17, calc(var(--chat-op) * .92)); border: 1px solid rgba(255, 255, 255, calc(var(--chat-op) * .16 + .02)) !important;
  border-radius: 4px; padding: 8px; box-shadow: 0 6px 22px rgba(0, 0, 0, calc(var(--chat-op) * .45));
  transition: background .5s, border-color .5s, box-shadow .5s;
}
html:is(.mobile, :not(.mobile)) #chat.bdo::after { display: none; }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-tabs { border-bottom: 1px solid rgba(255, 255, 255, .1); gap: 2px; padding: 0 0 3px; transition: opacity .5s; }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-tabs button { height: 25px; padding: 0 11px; border-radius: 3px; color: #a9adb6; background: transparent; box-shadow: none; font-weight: 600; }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-tabs button:hover { color: #e9ebef; background: rgba(255, 255, 255, .06); }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-tabs button.on { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 -2px 0 #d9b25a; }
html:is(.mobile, :not(.mobile)) #chat.bdo #chatLog { background: transparent; border: 0; box-shadow: none; padding: 4px 4px 4px 2px; font-size: var(--chat-fs); line-height: 1.42; color: #e4e6ea; text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 1px #000; }
html:is(.mobile, :not(.mobile)) #chat.bdo #chatIn { height: 30px; border-radius: 3px; padding: 0 10px; background: rgba(0, 0, 0, calc(var(--chat-op) * .5 + .15)); border: 1px solid rgba(255, 255, 255, .14); color: #eef0f3; transition: opacity .5s; }
html:is(.mobile, :not(.mobile)) #chat.bdo #chatIn:focus { border-color: rgba(217, 178, 90, .7); }

/* satır: [rozet] [metin] — alt satıra kayan yazı rozetin sağından hizalı başlar */
html:is(.mobile, :not(.mobile)) #chatLog div.bdl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 6px; align-items: start; margin: 0 0 3px; font-style: normal; }
html:is(.mobile, :not(.mobile)) #chatLog .bdl > .chat-del { order: 3; float: none; margin: 1px 0 0; }
html:is(.mobile, :not(.mobile)) #chatLog .cb-badge {
  display: inline-block; min-width: 38px; padding: 0 6px; margin-top: .14em; border-radius: 3px; text-align: center;
  font-size: .78em; line-height: 1.5; font-weight: 700; letter-spacing: .01em; text-shadow: none; white-space: nowrap;
  color: #e7e9ee; background: rgba(120, 126, 138, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
html:is(.mobile, :not(.mobile)) #chatLog .ch-sistem .cb-badge { background: rgba(110, 114, 124, .6); color: #f0f1f4; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-klan .cb-badge { background: rgba(58, 140, 72, .7); color: #e6ffe6; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-grup .cb-badge { background: rgba(40, 120, 170, .72); color: #e3f6ff; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-ganimet .cb-badge { background: rgba(176, 128, 36, .72); color: #fff6dc; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-genel .cb-badge { background: rgba(170, 172, 178, .28); color: #f4f4f6; }
html:is(.mobile, :not(.mobile)) #chatLog .cb-main { min-width: 0; overflow-wrap: anywhere; }
html:is(.mobile, :not(.mobile)) #chatLog .cb-time { color: #8d929c; font-size: .9em; }
html:is(.mobile, :not(.mobile)) #chatLog .bdl .n { color: #f1d27a; font-weight: 600; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-klan .n, html:is(.mobile, :not(.mobile)) #chatLog .ch-klan.sys .cb-body { color: #8fe38a; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-grup .n, html:is(.mobile, :not(.mobile)) #chatLog .ch-grup.sys .cb-body { color: #8fd9ff; }
html:is(.mobile, :not(.mobile)) #chatLog .bdl .n.admin { color: #ff5a4a; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-sistem .cb-body { color: #d7d9de; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-sistem.boss .cb-body { color: #ffb38a; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-ganimet .cb-body { color: #f3d68a; }
html:is(.mobile, :not(.mobile)) #chatLog .bdl .t { color: #d9b25a; }
html:is(.mobile, :not(.mobile)) #chatLog .bdl .t.adm-tag { color: #ff5a4a; }
html:is(.mobile, :not(.mobile)) #chatLog .bdl .tr-line { display: block; }

/* boştayken: arka plan, sekmeler ve yazı kutusu kaybolur, yalnız yazılar kalır (fareyle üstüne gelince geri gelir) */
html:is(.mobile, :not(.mobile)) #chat.bdo.fade-on.idle:not(.min) { background: transparent; border-color: transparent !important; box-shadow: none; }
html:is(.mobile, :not(.mobile)) #chat.bdo.fade-on.idle:not(.min) .chat-tabs, html:is(.mobile, :not(.mobile)) #chat.bdo.fade-on.idle:not(.min) #chatIn, html:is(.mobile, :not(.mobile)) #chat.bdo.fade-on.idle:not(.min) #chatRs { opacity: 0; }
html:is(.mobile, :not(.mobile)) #chat.bdo.fade-on.idle:not(.min) #chatLog { scrollbar-color: transparent transparent; }

/* ayar düğmesi + kutusu */
html:is(.mobile, :not(.mobile)) #chat .chat-gear { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; padding: 0; margin-left: auto; border-radius: 3px; color: #a9adb6; background: transparent; }
html:is(.mobile, :not(.mobile)) #chat .chat-gear:hover { color: #fff; background: rgba(255, 255, 255, .08); }
html:is(.mobile, :not(.mobile)) #chat .chat-gear svg { width: 15px; height: 15px; }
html:is(.mobile, :not(.mobile)) #chat .chat-gear + .chat-min, html:is(.mobile, :not(.mobile)) #chat .chat-dc + .chat-gear { margin-left: 0; }
.chat-set { display: none; }
html:is(.mobile, :not(.mobile)) .chat-set.open {
  display: block; position: fixed; width: 300px; z-index: 60; padding: 10px 12px 12px;
  background: rgba(16, 17, 22, .96); border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, .6);
  color: #e4e6ea; font-size: 12.5px;
}
.chat-set .cs-h { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 13.5px; padding-bottom: 7px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #f1d27a; }
.chat-set .cs-x { width: 22px; height: 22px; padding: 0; border-radius: 3px; color: #c4c7ce; background: transparent; font-size: 16px; line-height: 1; }
.chat-set .cs-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.chat-set .cs-row { margin: 0 0 10px; }
.chat-set .cs-l { display: block; margin-bottom: 5px; color: #b9bdc6; }
.chat-set .cs-rng { display: flex; align-items: center; gap: 8px; }
.chat-set .cs-rng input { flex: 1; accent-color: #d9b25a; }
.chat-set .cs-val { width: 36px; text-align: right; color: #f1d27a; font-variant-numeric: tabular-nums; }
.chat-set .cs-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.chat-set .cs-sizes button { height: auto; min-height: 30px; line-height: 1.1; padding: 3px 2px; border-radius: 3px; font-size: 11px; color: #c4c7ce; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.chat-set .cs-sizes button:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.chat-set .cs-sizes button.on { color: #1d1606; background: #d9b25a; border-color: #d9b25a; font-weight: 700; }
.chat-set .cs-chk { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; cursor: pointer; }
.chat-set .cs-chk input { accent-color: #d9b25a; width: 15px; height: 15px; margin: 0; }
html:is(.mobile, :not(.mobile)) #chat .chat-tabs button.chat-gear:not(.chat-min) { padding: 0; width: 25px; }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-tabs .chat-min { width: 25px; height: 25px; border-radius: 3px; border: 0; background: transparent; color: #a9adb6; }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-tabs .chat-min:hover { color: #fff; background: rgba(255, 255, 255, .08); }
html:is(.mobile, :not(.mobile)) #chat.bdo .chat-dc { color: #b8bcf5; background: rgba(88, 101, 242, .18); border-radius: 3px; height: 25px; }

/* 25 Kasım 2026: müzayede kanalı rengi, sekme gizleme ve sekme ayarları */
html:is(.mobile, :not(.mobile)) #chatLog .ch-muzayede .cb-badge { background: rgba(140, 82, 190, .72); color: #f6ebff; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-muzayede .cb-body { color: #dcc4f5; }
#chat .chat-tabs button.ch-off { display: none !important; }
.chat-set .cs-alls { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 6px; }
.chat-set .cs-all { height: 26px; border-radius: 3px; font-size: 12px; color: #dfe1e6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.chat-set .cs-all:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.chat-set .cs-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.chat-set .cs-tab { margin: 4px 0 0; }
.chat-set .cs-dot { width: 11px; height: 11px; border-radius: 2px; flex: none; background: #aaacb2; }
.chat-set .ch-grup .cs-dot { background: #2878aa; } .chat-set .ch-klan .cs-dot { background: #3a8c48; }
.chat-set .ch-sistem .cs-dot { background: #6e727c; } .chat-set .ch-muzayede .cs-dot { background: #8c52be; }
/* telefon: ayar kutusu ekranın ortasında, sohbet yazıları biraz daha sıkı */
html.mobile .chat-set.open {
  display: block; position: fixed; left: 50% !important; top: 50%; bottom: auto !important; transform: translate(-50%, -50%);
  width: min(320px, 92vw); max-height: 88vh; overflow-y: auto; z-index: 80; padding: 10px 12px 12px;
  background: rgba(16, 17, 22, .97); border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, .6);
  color: #e4e6ea; font-size: 12.5px;
}
html.mobile #chat.bdo { padding: 6px; }
html.mobile #chat.bdo .chat-tabs button { height: 24px; padding: 0 7px; font-size: 12px; }
html.mobile #chat .chat-gear { flex: none; }
html.mobile #chatLog .cb-badge { min-width: 32px; padding: 0 4px; }
html.mobile #chatLog div.bdl { column-gap: 5px; }
html:not(.mobile) #chat.bdo .chat-tabs button:not(.chat-min):not(.chat-gear) { padding: 0 8px; font-size: 13px; }
html:not(.mobile) #chat.bdo .chat-dc { padding: 0 7px; }
html:not(.mobile) #chat.bdo .chat-dc span { display: none; }
html:not(.mobile) #chat.bdo .chat-tabs.tight button:not(.chat-min):not(.chat-gear) { padding: 0 5px; font-size: 12.5px; }
html:not(.mobile) #chat.bdo .chat-tabs.tight .chat-dc { padding: 0 5px; }

/* 25 Kasım 2026: Yeni Kaptan Desteği (50. seviye altı) — etkinlik çubuğu rozeti ve Pazar indirimi satırı */
.ev-chip.ev-newcap { border-color: rgba(120, 220, 140, .65); }
.ev-chip.ev-newcap b { color: #b9f5c2; }
.ev-chip.ev-newcap .ev-ico .ic { width: 100%; height: 100%; }
.nc-disc { margin: 4px 0 2px; font-size: 12px; font-weight: 700; color: #7fe08a; }

/* 25 Kasım 2026: ilk girişte öğretici seçimi (Öğretici ile başla / Tecrübeli kaptanım) */
.ask-dlg.tut-ask { width: min(720px, 94vw); max-width: none; max-height: 92vh; overflow-y: auto; text-align: left; }
.tut-ask .ta-title { margin: 0 0 4px; text-align: center; font-size: 24px; color: #f3cf73; }
.tut-ask .ta-sub { margin: 0 0 16px; text-align: center; font-size: 15px; color: #e6d3a8; }
.tut-ask .ta-cards { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: stretch; }
.tut-ask .ta-card { display: flex; flex-direction: column; padding: 14px 16px 16px; border-radius: 8px; background: rgba(8, 5, 2, .45); border: 1px solid rgba(214, 166, 80, .35); }
.tut-ask .ta-card h4 { margin: 0 0 8px; font-size: 17px; color: #f3e2bd; }
.tut-ask .ta-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #dcc9a0; }
.tut-ask .ta-list { margin: 0 0 10px; padding-left: 22px; columns: 2; column-gap: 18px; font-size: 13.5px; line-height: 1.55; color: #f3e2bd; }
.tut-ask .ta-rw b { color: #f3cf73; }
.tut-ask .ta-card .btn { margin-top: auto; height: 40px; font-size: 15px; }
@media (max-width: 640px) { .tut-ask .ta-cards { grid-template-columns: 1fr; } }
html.mobile .ask-dlg.tut-ask { padding: 14px; }
html.mobile .tut-ask .ta-title { font-size: 19px; } html.mobile .tut-ask .ta-sub { margin-bottom: 10px; }
html.mobile .tut-ask .ta-card { padding: 10px 12px 12px; } html.mobile .tut-ask .ta-card p, html.mobile .tut-ask .ta-list { font-size: 12.5px; margin-bottom: 6px; }
html.mobile .tut-ask .ta-card .btn { height: 36px; }

/* 26 Kasım 2026: Görev Panosu üstünde Günlük Sandık şeridi */
.qb-chest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 10px; padding: 8px 12px; border-radius: 6px;
  background: rgba(40, 24, 8, .55); border: 1px solid rgba(214, 166, 80, .45); color: #f0dfb8; font-size: 13.5px; }
.qb-chest b { color: #f3cf73; font-size: 14.5px; }
.qb-chest .qb-chest-rw { margin-left: auto; color: #e8d6a8; }
.qb-chest.got { opacity: .7; }
html.mobile .qb-chest { font-size: 12px; padding: 6px 10px; margin-bottom: 6px; }

/* =====================================================================
   26 Kasım 2026 (kullanıcı): GÖREV PANOSU, Ayarlar penceresinin lacivert-altın düzeninde (parşömen/ahşap yerine sade paneller).
   Pencere kabuğu .ayr-win'den gelir; buradakiler içerik. (sınıf: .qb2)
   ===================================================================== */
.win.pirate.qb2 .win-body { padding: 4px 6px 0; background: none; }
.win.qb2 .win-main { display: flex; flex-direction: column; gap: 10px; padding: 0 2px 6px; }
/* sekmeler */
.win.qb2 .tabs-row { gap: 6px; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--st-sep); }
.win.qb2 .tabs-row button { height: 36px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--st-ink-2);
  font: 600 14px/1 var(--font-ui); box-shadow: none; }
.win.qb2 .tabs-row button:hover { color: #fff3d6; background: rgba(240, 199, 102, 0.07); }
.win.qb2 .tabs-row button.on { color: #fff6dc; border-color: var(--st-gold); background: linear-gradient(180deg, rgba(240, 199, 102, 0.22), rgba(240, 199, 102, 0.06)); }
/* Günlük Sandık şeridi */
.win.qb2 .qb-chest { margin: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--st-line); color: var(--st-ink);
  background: linear-gradient(180deg, rgba(16, 32, 52, 0.92), rgba(9, 19, 31, 0.95)); font-size: 14px; }
.win.qb2 .qb-chest b { font: 600 19px/1 'EB Garamond', Georgia, serif; color: var(--st-gold); }
.win.qb2 .qb-chest span { color: var(--st-ink-2); }
.win.qb2 .qb-chest .qb-chest-rw { color: var(--st-ink); }
/* iki sütun */
.win.qb2 .qb { flex: 1; min-height: 0; height: auto; grid-template-columns: minmax(260px, 37%) 1fr; gap: 12px; }
.win.qb2 .qb-board, .win.qb2 .qb-page {
  border-radius: 12px; border: 1px solid var(--st-line); box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.06), 0 4px 14px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, rgba(16, 32, 52, 0.92), rgba(9, 19, 31, 0.95));
}
.win.qb2 .qb-board { gap: 0; padding: 6px 8px; scrollbar-color: var(--st-gold-3) rgba(0, 0, 0, 0.3); }
.win.qb2 .qb-filter { gap: 4px; margin: 4px 0 6px; }
.win.qb2 .qb-filter button { height: 30px; border-radius: 7px; border: 1px solid var(--st-sep); background: rgba(0, 0, 0, 0.25); color: var(--st-ink-2); font: 600 13px/1 var(--font-ui); }
.win.qb2 .qb-filter button.on { color: #2a1803; border-color: #6b4a14; background: linear-gradient(180deg, #ffe7a6, #f0c766 55%, #c9952f); }
.win.qb2 .qb-head { margin: 12px 6px 4px; font: 600 16px/1 'EB Garamond', Georgia, serif; color: var(--st-gold); text-shadow: none; }
/* görev satırları */
.win.qb2 .qb-strip { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px 11px; margin: 0; border-radius: 8px;
  background: none; filter: none; transform: none; color: var(--st-ink); border-bottom: 1px solid var(--st-sep); font: 500 15px/1.2 var(--font-ui); transition: background .12s; }
.win.qb2 .qb-strip:last-child { border-bottom: 0; }
.win.qb2 .qb-strip:hover { transform: none; filter: none; background: rgba(240, 199, 102, 0.07); }
.win.qb2 .qb-strip.on { transform: none; filter: none; border-bottom-color: transparent;
  background: linear-gradient(90deg, rgba(240, 199, 102, 0.26), rgba(240, 199, 102, 0.06) 75%, transparent); box-shadow: inset 0 0 0 1.5px var(--st-gold); }
.win.qb2 .qb-ico { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--st-gold); }
.win.qb2 .qb-ico svg { width: 100%; height: 100%; display: block; }
.win.qb2 .qb-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.win.qb2 .qb-strip .qb-t { font: 600 15px/1.2 var(--font-ui); color: #f3e8d0; }
.win.qb2 .qb-strip .qb-sub { display: block; width: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font: 400 12.5px/1.2 var(--font-ui); color: var(--st-ink-2); text-shadow: none; }
.win.qb2 .qb-tag { flex: none; padding: 3px 8px; border-radius: 6px; font: 700 12px/1.2 var(--font-ui); font-style: normal; color: var(--st-ink); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--st-sep); }
.win.qb2 .qb-strip.ready .qb-tag { color: #10260a; background: linear-gradient(180deg, #a6f07c, #4fae2c); border-color: #2f7d19; }
.win.qb2 .qb-strip.ready .qb-ico { color: #8fe36a; }
.win.qb2 .qb-mini { position: absolute; left: 52px; right: 10px; bottom: 3px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.win.qb2 .qb-mini i { display: block; height: 100%; background: linear-gradient(90deg, #c9952f, #f0c766); }
.win.qb2 .qb-strip.locked { opacity: 0.55; filter: none; }
.win.qb2 .qb-strip.done { opacity: 0.5; }
.win.qb2 .qb-empty { color: var(--st-ink-2); text-shadow: none; }
.win.qb2 .qb-more { color: var(--st-ink-2); background: rgba(0, 0, 0, 0.3); border: 1px solid var(--st-sep); }
/* sağ: görev ayrıntısı */
.win.qb2 .qb-right { gap: 10px; }
.win.qb2 .qb-page { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 20px 16px; color: var(--st-ink); font: 400 15px/1.5 var(--font-ui); }
.win.qb2 .qb-ph { display: flex; align-items: center; gap: 14px; padding: 0 0 12px; margin: 0 0 12px; border-bottom: 1px solid var(--st-sep); }
.win.qb2 .qb-ico.big { width: 44px; height: 44px; padding: 8px; border-radius: 10px; border: 1px solid var(--st-line); background: rgba(240, 199, 102, 0.06); }
.win.qb2 .qb-ph-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.win.qb2 .qb-page h3 { margin: 0; font: 600 28px/1.1 'EB Garamond', Georgia, serif; color: var(--st-gold); }
.win.qb2 .qb-ph-tx small { font: 500 13px/1.2 var(--font-ui); color: var(--st-ink-2); }
.win.qb2 .qb-desc { margin: 0 0 6px; color: var(--st-ink); }
.win.qb2 .qb-page .qwhere { color: var(--st-ink-2); }
.win.qb2 .qb-page .qwhere b { color: var(--st-ink); }
.win.qb2 .qb-page .qwhere.here { color: #8fe36a; }
.win.qb2 .qb-sec { margin-top: 16px; }
.win.pirate.qb2 .qb-page h4 { margin: 0 0 8px; font: 600 13px/1 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-gold); }
.win.qb2 .qb-goal { margin: 0; font: 700 18px/1.2 var(--font-ui); color: #f3e8d0; }
.win.qb2 .qb-page .bar.xp.qb-bar { height: 22px; margin: 0; border-radius: 6px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px var(--st-sep); }
.win.qb2 .qb-page .bar.xp.qb-bar i { border-radius: 6px; background: linear-gradient(180deg, #ffe7a6, #f0c766 45%, #b8862a); }
.win.qb2 .qb-page .bar.xp.qb-bar span { font: 700 13px/22px var(--font-ui); color: #fff; text-shadow: 0 1px 2px #000; }
.win.qb2 .qb-rw { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; font: 600 14.5px/1.25 var(--font-ui); color: #f3e8d0; }
.win.qb2 .qb-rw > span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--st-sep); background: rgba(0, 0, 0, 0.25); }
.win.qb2 .qb-rw .ico { flex: none; width: 24px; height: 24px; }
.win.qb2 .qb-note2 { margin: 12px 0 0; font: 400 13px/1.4 var(--font-ui); color: var(--st-ink-2); }
.win.qb2 .qb-bigseal, .win.qb2 .qb-seal, .win.qb2 .qb-rule { display: none; }
/* alt düğmeler */
.win.qb2 .qb-foot { min-height: 56px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--st-line); background: linear-gradient(180deg, rgba(16, 32, 52, 0.92), rgba(9, 19, 31, 0.95)); box-shadow: none; }
.win.qb2 .qb-foot .btn { min-width: 160px; height: 40px; border-radius: 8px; font: 700 14.5px/1 var(--font-ui); color: var(--st-ink); border: 1px solid var(--st-line);
  background: linear-gradient(180deg, #1a2638, #0e1724); box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.08); }
.win.qb2 .qb-foot .btn:hover { border-color: var(--st-gold); color: #ffe7a6; }
.win.qb2 .qb-foot .btn.gold { color: #2a1803; border-color: #6b4a14; background: linear-gradient(180deg, #fff0bf 0%, #f3cf73 40%, #c9952f 75%, #a8761f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(90, 55, 10, 0.5), 0 3px 10px rgba(0, 0, 0, 0.5); }
.win.qb2 .qb-note { color: var(--st-ink-2); text-shadow: none; }
/* telefon */
html.mobile .win.qb2 .qb { grid-template-columns: minmax(190px, 38%) 1fr; gap: 8px; }
html.mobile .win.qb2 .qb-strip { min-height: 46px; gap: 8px; padding: 6px 8px; }
html.mobile .win.qb2 .qb-ico { width: 24px; height: 24px; }
html.mobile .win.qb2 .qb-strip .qb-t { font-size: 13px; } html.mobile .win.qb2 .qb-sub { font-size: 11px; }
html.mobile .win.qb2 .qb-mini { left: 40px; }
html.mobile .win.qb2 .qb-page { padding: 10px 12px; font-size: 13px; }
html.mobile .win.qb2 .qb-page h3 { font-size: 20px; } html.mobile .win.qb2 .qb-ico.big { width: 34px; height: 34px; padding: 6px; }
html.mobile .win.qb2 .qb-rw { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); font-size: 12.5px; }
html.mobile .win.qb2 .qb-rw > span { min-height: 36px; }
html.mobile .win.qb2 .qb-foot { min-height: 44px; padding: 4px 8px; } html.mobile .win.qb2 .qb-foot .btn { min-width: 120px; height: 34px; font-size: 13px; }
html.mobile .win.qb2 .qb-chest { padding: 6px 10px; font-size: 12px; } html.mobile .win.qb2 .qb-chest b { font-size: 15px; }
html.mobile .win.qb2 .tabs-row button { height: 30px; padding: 0 10px; font-size: 12.5px; }
/* sınav sekmesi (lacivert) */
.win.qb2 .tabs-row button.gate-tab { color: #e0826b; } .win.qb2 .tabs-row button.gate-tab.done { color: #8fe36a; }
.win.qb2 .gate-page { flex: 1; height: auto; padding: 22px 28px; }
.win.qb2 .gate-page h3 { margin-bottom: 10px; }
.win.qb2 .gate-row { margin: 18px 0; }
.win.qb2 .gate-lbl { color: var(--st-ink); font-size: 15px; }
.win.qb2 .gate-row .bar.xp { height: 14px; border-radius: 6px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px var(--st-sep); }
.win.qb2 .gate-row .bar.xp i { border-radius: 6px; }
.win.qb2 .gate-page .sub { color: var(--st-ink-2); }
.win.qb2 .gate-st { color: var(--st-gold); } .win.qb2 .gate-st.ok { color: #8fe36a; }
html.mobile .win.qb2 .gate-page { padding: 12px 14px; }

/* 26 Kasım 2026 (kullanıcı): Kod Kullan penceresi aktif kodları listeler (lacivert-altın, Ayarlar ile aynı dil) */
.ask-dlg.code-dlg { width: min(560px, 94vw); max-width: none; max-height: 90vh; overflow-y: auto; text-align: left; padding: 20px 22px 16px;
  background: linear-gradient(180deg, #0f1f33, #08121e); border: 1px solid rgba(214, 170, 92, 0.55); border-radius: 12px;
  box-shadow: inset 0 0 0 4px #0a1420, inset 0 0 0 5px rgba(240, 199, 102, 0.25), 0 20px 60px rgba(0, 0, 0, 0.75); }
.code-dlg .cd-title { margin: 0 0 4px; text-align: center; font: 600 28px/1.1 'EB Garamond', Georgia, serif; color: #f0c766; }
.code-dlg .cd-sub { margin: 0 0 14px; text-align: center; font-size: 13.5px; color: #a9a08e; }
.code-dlg .cd-list { display: flex; flex-direction: column; gap: 8px; }
.code-dlg .cd-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; border: 1px solid rgba(214, 170, 92, 0.42); background: rgba(0, 0, 0, 0.28); }
.code-dlg .cd-row.used { opacity: 0.55; border-color: rgba(214, 170, 92, 0.15); }
.code-dlg .cd-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.code-dlg .cd-code { font: 700 17px/1.1 var(--font-ui); letter-spacing: 0.06em; color: #ffe7a6; user-select: all; }
.code-dlg .cd-rw { font-size: 13px; line-height: 1.35; color: #e9dfc9; }
.code-dlg .cd-note { font-size: 12px; color: #a9a08e; }
.code-dlg .cd-use { flex: none; min-width: 92px; height: 36px; }
.code-dlg .cd-done { flex: none; min-width: 92px; text-align: center; font: 700 13px/1 var(--font-ui); color: #8fe36a; }
.code-dlg .cd-empty { margin: 8px 0; text-align: center; color: #a9a08e; }
.code-dlg .cd-own { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(214, 170, 92, 0.13); font-size: 13px; color: #a9a08e; }
.code-dlg .cd-in-row { display: flex; gap: 8px; margin-top: 6px; }
.code-dlg .cd-in-row .ask-in { flex: 1; min-width: 0; margin: 0; background: rgba(0, 0, 0, 0.4); }
.code-dlg .cd-in-row .btn { flex: none; min-width: 92px; height: 38px; }
.code-dlg .ask-btns { margin-top: 14px; }
html.mobile .ask-dlg.code-dlg { padding: 12px 12px 10px; }
html.mobile .code-dlg .cd-title { font-size: 22px; } html.mobile .code-dlg .cd-row { padding: 8px 10px; }
/* 26 Kasım 2026: görev filtresinde 4. düğme (Düşük Seviye) */
.win.qb2 .qb-filter button { flex: 1 1 auto; padding: 0 6px; white-space: nowrap; font-size: 12.5px; }
html.mobile .win.qb2 .qb-filter button { font-size: 11px; height: 26px; }
.win.qb2 .qb-filter { flex-wrap: wrap; }

/* =====================================================================
   29 Kasım 2026 (kullanıcı)
   1) Yılbaşı görünümü: sohbet boştayken kendiliğinden soluklaşınca üstündeki kar da kaybolur (fareyle gelince geri gelir).
   2) Bildirimler (sandık, kutu, uyarılar) açık pencerelerin ÜSTÜNDE görünür: pencereler 10, onay kutusu ve sağ tık menüsü 60.
   3) Oynanış uyarıları (menzil dışı, gülle bitti, yapılamaz…): ahşap levha üstünde kırmızı mühürlü uyarı, kenarı altın, girişte hafif sarsılır.
   4) Bilgisayarda altın / inci / mojo sayaçlarının genişliği sabit: sayı büyüdükçe üst çubuk (Ayarlar düğmesi) kaymaz.
      Altın 1.000.000.000.000, inci 999.999.999 sığar; sayılar ortalı, rakamlar eşit genişlikte.
   ===================================================================== */
#chat > .xm-cap { transition: opacity .5s; }
html:is(.mobile, :not(.mobile)) #chat.bdo.fade-on.idle:not(.min) > .xm-cap { opacity: 0; }

#toasts { z-index: 55; }

.toast.warn {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 6px 18px 6px 6px; border-radius: 10px;
  color: #ffe6cf; font-weight: 600; letter-spacing: .1px; text-shadow: 0 1px 1px rgba(0, 0, 0, .85);
  background:
    linear-gradient(90deg, rgba(170, 32, 24, .42), rgba(170, 32, 24, 0) 45%),
    repeating-linear-gradient(90deg, rgba(255, 236, 200, .022) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #3f2716 0%, #2b190c 55%, #1e1107 100%);
  border: 1px solid #b8873e;
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, .22), inset 0 0 0 2px rgba(30, 16, 6, .85), inset 0 0 0 3px rgba(214, 160, 80, .26),
    0 6px 18px rgba(0, 0, 0, .55), 0 0 18px rgba(200, 40, 30, .22);
  animation: toast-pop .36s cubic-bezier(.2, .9, .3, 1.15), tw-shake .42s ease .36s, toast-out .45s ease-in 3.45s forwards;
}
.toast.warn .tw-ico { flex: none; width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.toast.warn .tw-ico svg { display: block; width: 100%; height: 100%; }
.toast.warn .tw-txt { min-width: 0; }
@keyframes tw-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
html.mobile .toast.warn { padding: 4px 13px 4px 4px; gap: 7px; border-radius: 8px; }
html.mobile .toast.warn .tw-ico { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .toast.warn { animation: toast-pop .36s ease, toast-out .45s ease-in 3.45s forwards; } }
html.simple .toast.warn { animation: none; }

html:not(.mobile) #wallet .cur b { display: inline-block; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
html:not(.mobile) #wallet .cur b#wGold { min-width: 14.9ch; }
html:not(.mobile) #wallet .cur b#wPearl { min-width: 10ch; }
html:not(.mobile) #wallet .cur b#wMojo { min-width: 5.6ch; }

/* =====================================================================
   29 Kasım 2026 (kullanıcı)
   1) Yönetici sohbet yazısı kırmızı (adı, [Yönetici] etiketi ve mesajı).
   2) YÖNETİCİ DUYURUSU: ekranın üstünde ahşap-altın çerçeve içinde 3 tur kayan yazı (#duyBar) ve sohbette Duyuru sekmesi.
   ===================================================================== */
html:is(.mobile, :not(.mobile)) #chatLog .msg.admin { color: #ff8a7a; }
html:is(.mobile, :not(.mobile)) #chatLog .admin-line .cb-body { color: #ff8a7a; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-duyuru .cb-badge { background: rgba(196, 52, 40, .85); color: #fff1e6; }
html:is(.mobile, :not(.mobile)) #chatLog .ch-duyuru .cb-body { color: #ffd9a0; font-weight: 600; }
.chat-set .ch-duyuru .cs-dot { background: #c43428; }
#chatLog .duy { color: #ffd9a0; font-weight: 600; }

#duyBar {
  position: fixed; top: calc(var(--top-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 56;
  width: min(940px, calc(100vw - 24px)); height: 42px; display: flex; align-items: stretch; pointer-events: none;
  border-radius: 9px; border: 1px solid #c9973f; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 236, 200, .022) 0 2px, transparent 2px 7px), linear-gradient(180deg, #3f2716 0%, #2b190c 55%, #1e1107 100%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, .25), inset 0 0 0 2px rgba(30, 16, 6, .85), inset 0 0 0 3px rgba(214, 160, 80, .3), 0 8px 22px rgba(0, 0, 0, .55), 0 0 22px rgba(232, 181, 74, .2);
  animation: duy-in .45s cubic-bezier(.2, .9, .3, 1.1);
}
#duyBar.out { animation: duy-out .45s ease-in forwards; }
#duyBar .duy-lbl {
  flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px 0 12px; position: relative; z-index: 1;
  font: 700 13px/1 var(--font-ui); letter-spacing: .6px; text-transform: uppercase; color: #fff1d6; text-shadow: 0 1px 1px rgba(0, 0, 0, .8);
  background: linear-gradient(180deg, #b52a20, #7d140e); box-shadow: inset 0 1px 0 rgba(255, 200, 170, .35), 3px 0 8px rgba(0, 0, 0, .45);
  border-right: 1px solid #e6b860;
}
#duyBar .duy-ico { display: inline-flex; width: 19px; height: 19px; color: #ffe2a8; }
#duyBar .duy-ico svg { width: 100%; height: 100%; }
#duyBar .duy-win { flex: 1; min-width: 0; position: relative; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
#duyBar .duy-run { position: absolute; left: 0; white-space: nowrap; font: 600 16px/1 var(--font-ui); color: #ffe9b8; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); will-change: transform; transform: translateX(100vw); }
#duyBar .duy-x { flex: none; width: 34px; border: 0; background: transparent; color: #e6c98a; font-size: 20px; line-height: 1; cursor: pointer; pointer-events: auto; }
#duyBar .duy-x:hover { color: #fff; background: rgba(255, 255, 255, .06); }
@keyframes duy-in { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes duy-out { to { opacity: 0; transform: translate(-50%, -10px); } }
html.has-ev:not(.mobile) #duyBar { top: calc(var(--top-h) + 46px); }
html.mobile #duyBar { top: calc(var(--top-h) + 6px); height: 34px; width: calc(100vw - 16px); }
html.mobile #duyBar .duy-lbl { padding: 0 9px; font-size: 11px; }
html.mobile #duyBar .duy-lbl b { display: none; }
html.mobile #duyBar .duy-run { font-size: 14px; }

/* 29 Kasım 2026: sohbet sekmeleri ikinci sıkışma kademesi (Duyuru sekmesi eklendi): Sistem, Müzayede, Duyuru yalnızca simge */
#chat .chat-tabs .ct-ico { display: none; width: 15px; height: 15px; }
#chat .chat-tabs .ct-ico svg { display: block; width: 100%; height: 100%; }
html:not(.mobile) #chat .chat-tabs.tight2 .ct-ico { display: inline-block; vertical-align: -3px; }
html:not(.mobile) #chat .chat-tabs.tight2 .ct-lbl { display: none; }
html:not(.mobile) #chat.bdo .chat-tabs.tight2 button[data-ch="sistem"], html:not(.mobile) #chat.bdo .chat-tabs.tight2 button[data-ch="muzayede"], html:not(.mobile) #chat.bdo .chat-tabs.tight2 button[data-ch="duyuru"] { padding: 0 6px; }

/* 29 Kasım 2026 (kullanıcı): Etkinlikler penceresi sekmelere ayrıldı. Şu an süren takvim satırı altın kenarla ve "Şu an açık" etiketiyle ayrılır. */
.cal-row.live { border-color: rgba(240, 196, 92, 0.75); background: linear-gradient(90deg, rgba(240, 196, 92, 0.16), rgba(255, 240, 200, 0.05) 60%); box-shadow: inset 3px 0 0 var(--gold-hi); }
.cal-row .cal-live { font-style: normal; font-weight: 700; font-size: 0.85em; color: #1d1408; background: var(--gold-hi); border-radius: 4px; padding: 0 6px; margin-right: 4px; white-space: nowrap; }
.cal-more { display: block; margin: 2px 0 12px auto; }

/* 30 Kasım 2026 (kullanıcı): Gemi & Donanım → Ambar: bütün simgeler aynı boyda ve aynı çerçevede (72 px). Resimli simgeler (.ic)
   kare yuva çerçevesi + altın halkalı diskle gelir; resimsiz (çizim) simgeler de aynı kare yuvaya ve boş altın halkalı diske
   (assets/ui/ic_bos.webp) oturur, simge diskin ortasında durur. */
.inv-grid .inv .card-ico { width: 72px; height: 72px; flex: 0 0 72px; }
.win.pirate .inv-grid .inv .card-ico:not(:has(> .ic)) { position: relative; padding: 17px; }
.win.pirate .inv-grid .inv .card-ico:not(:has(> .ic))::before { content: ''; position: absolute; inset: 7px; background: url('../assets/ui/ic_bos.webp') center / 100% 100% no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.win.pirate .inv-grid .inv .card-ico:not(:has(> .ic)) > * { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7)); }
/* 30 Kasım 2026 (kullanıcı): Kristal Atölyesi bölümü pencerede ortalı */
.mast-sec { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 32px; }
.win.pirate .win-main .mast-sec > h4 { align-self: stretch; justify-content: center;
  background: linear-gradient(270deg, rgba(243, 207, 115, 0.55), transparent) left center / calc(50% - 130px) 1px no-repeat,
              linear-gradient(90deg, rgba(243, 207, 115, 0.55), transparent) right center / calc(50% - 130px) 1px no-repeat; }
.win.pirate .win-main .mast-sec > h4::after { display: none; }
.mast-sec > p.note { max-width: 640px; margin-left: auto; margin-right: auto; }
.mast-sec .mastery { width: 100%; display: flex; justify-content: center; }
.mast-sec .mastery > .grid { width: min(100%, 460px); grid-template-columns: 1fr; text-align: left; }

/* 30 Kasım 2026: telefonda durum kutusunun isim satırına TP rütbe nişanı eklendi; ad yine tam görünsün diye kutu
   (ve aynı sütundaki rehber / görevler) nişan kadar genişler. Oyuncunun HUD ayarındaki elle verdiği genişlik bunu ezer. */
html.mobile #status:has(#stXRank .rbdg) { width: 262px; }
@media (orientation: landscape) and (max-height: 400px) {
  html.mobile #status:has(#stXRank .rbdg), html.mobile:has(#stXRank .rbdg) #tutBox, html.mobile:has(#stXRank .rbdg) #tracker { width: 234px; }
}

/* 1 Aralık 2026 (kullanıcı): Vudu Kazanı — girdaplar ödüllerin altında yan yana kartlar */
.vx-sec { margin-top: var(--s5); }
.vortex-list.vx-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.vx-grid .vortex { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.vx-grid .vortex .btn.vx-go { margin-top: auto; align-self: flex-start; }
.vx-grid .vortex .vx-prize { margin-bottom: 2px; }
.vx-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.vx-lv { flex: none; font-size: 12px; color: var(--text-3); }
.vx-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vortex.ready { border-color: rgba(92, 207, 138, 0.45); }
/* alt sekmeler (kalabalık listeler) */
.sub-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.sub-tabs button { padding: 6px 12px; border-radius: 14px; border: 1px solid rgba(226, 184, 102, .35); background: rgba(0, 0, 0, .3); color: #c7b28a; font: 600 13px/1.2 var(--font-ui); cursor: pointer; }
.sub-tabs button small { opacity: .75; font-weight: 500; }
.sub-tabs button.on { background: linear-gradient(180deg, #f3d58f, #c4913c); color: #2a1806; border-color: #7a521c; }
.sub-tabs button:focus-visible { outline: 2px solid #f3d58f; outline-offset: 2px; }
.sub-tabs-note { margin: -4px 0 10px; }
/* 1 Aralık 2026 (kullanıcı): Trofe Defteri — her trofenin açıklaması */
.tro-items.tro-list { display: grid; gap: 6px; margin-top: 6px; }
.tro-it { display: grid; gap: 2px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.tro-it b { font-size: 12.5px; color: #c8d0d8; font-weight: 600; }
.tro-it small { font-size: 11.5px; line-height: 1.4; color: #8a96a3; }
.tro-it.got b { color: #8dffb0; }
/* 1 Aralık 2026 (kullanıcı): Casus — kayıtlı kaptanlar */
.spy-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.spy-row { flex-wrap: wrap; }
.spy-row .spy-in { min-width: 140px; }
.fr-head .fr-clear { margin-left: auto; flex: none; }
.amt-menu { max-height: calc(100vh - 16px); overflow-y: auto; }

/* 1 Aralık 2026: güncelleme notlarında bölüm başlığı ve giriş cümlesi */
.note-card li.note-sec { list-style: none; margin: 12px 0 4px -18px; font-weight: 700; color: var(--gold-hi, #ffd86a); letter-spacing: 0.2px; }
.note-card li.note-intro { list-style: none; margin: 2px 0 6px -18px; font-style: italic; color: var(--text, #efe4cc); }

/* 1 Aralık 2026 (kullanıcı): ganimet kutusu hiçbir bossta ekranın dışına taşmaz; Noel Baba sıralama tablosu */
.loot-pop { max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
.lp-rank { margin: 6px 0 2px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); }
.lp-rank-h { font-size: 11px; color: var(--text-2); margin-bottom: 4px; }
.lp-rank-r { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.6; }
.lp-rank-r span { color: var(--text-2); min-width: 44px; }
.lp-rank-r b { color: var(--gold-hi); font-weight: 700; text-align: right; }
.lp-rules span + span::before { content: ' '; }
/* 1 Aralık 2026: Noel Amirali Yarışı ödül kademeleri */
.nr-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px 10px; margin: 10px 0 12px; }
.nr-tier { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(232, 196, 120, .18); min-width: 0; }
.nr-tier > b { color: #f3d27a; min-width: 44px; }
.nr-tier .prices { flex-wrap: wrap; }
.nr-prem { color: #ffd77a; font-weight: 700; }

/* =====================================================================
   5 Aralık 2026 (kullanıcı) — BİLGİSAYARDA MENÜ PENCERESİ katalog görünümünde (ChatGPT'nin menü önizlemesi; telefondaki Menü
   sayfasıyla aynı düzen): koyu tahta zemin, ince altın çerçeve, logo; altı çizili grup sekmeleri; madalyon simgeli kartlar
   ===================================================================== */
#hubKat { position: fixed; z-index: 70; display: flex; flex-direction: column; box-sizing: border-box; width: 820px; padding: 12px 18px 14px;
  color: #f2e2bf; border: 1px solid #87693e; border-radius: 4px;
  background: linear-gradient(rgba(35, 25, 15, 0.92), rgba(25, 18, 13, 0.94)), url('../assets/ui/q_wood.jpg') center / 320px auto repeat;
  box-shadow: inset 0 0 0 4px #21170f, 0 18px 60px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.ui-scaled #hubKat { zoom: var(--ui-scale, 1); }
#hubKat .kt-head { flex: none; display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #745932; }
#hubKat .kt-logo { width: 40px; height: 40px; flex: none; object-fit: contain; filter: drop-shadow(0 1px 2px #000); }
#hubKat .kt-brand { flex: 1; min-width: 0; font: 600 23px/1 var(--ds-font-head, Georgia, serif); color: #e6c78d; letter-spacing: 0.3px; text-shadow: 0 1px 2px #000; }
#hubKat .kt-x { width: 34px; height: 34px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; color: #e8d4a8; background: rgba(255, 255, 255, 0.06); cursor: pointer; }
#hubKat .kt-x:hover { color: #fff1c4; background: rgba(255, 255, 255, 0.13); }
#hubKat .kt-x svg { width: 16px; height: 16px; display: block; }
#hubKat .kt-tabs { flex: none; display: flex; flex-wrap: wrap; gap: 2px 4px; margin-top: 8px; border-bottom: 1px solid rgba(116, 89, 50, 0.75); }
#hubKat .kt-tab { position: relative; height: 38px; margin-bottom: -1px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: none; color: #c7b392; font: 600 16px/1 var(--ds-font-head, Georgia, serif); white-space: nowrap; cursor: pointer; }
#hubKat .kt-tab:hover { color: #f0d9a8; background: rgba(234, 202, 134, 0.06); }
#hubKat .kt-tab.on { color: #ffe5a5; border-bottom-color: #d9ae65; background: rgba(234, 202, 134, 0.08); }
#hubKat .kt-dot { position: absolute; top: 7px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: #e5543f; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
#hubKat .kt-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -8px; padding: 14px 8px 4px; scrollbar-width: thin; }
/* bütün gruplar aynı hücrede: pencerenin boyu sekme değişince oynamaz */
#hubKat .kt-stack { display: grid; }
#hubKat .kt-grid { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 10px; align-content: start; visibility: hidden; }
#hubKat .kt-grid.on { visibility: visible; }
#hubKat .kt-card { position: relative; min-width: 0; min-height: 74px; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; text-align: left; cursor: pointer;
  color: #f2e2bf; border: 1px solid #957343; border-radius: 4px; background: linear-gradient(105deg, #443221, #2b2119);
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), 0 2px 5px rgba(0, 0, 0, 0.35); transition: border-color 120ms, background 120ms; }
#hubKat .kt-card:hover { border-color: #cfaa6e; background: linear-gradient(110deg, #54402b, #35271b); }
#hubKat .kt-card:hover .kt-chev { transform: translateX(2px); }
#hubKat .kt-card.on { border-color: #e2b95a; box-shadow: inset 0 0 0 1px rgba(226, 185, 90, 0.55), 0 2px 5px rgba(0, 0, 0, 0.35); }
#hubKat .kt-card.locked { opacity: 0.72; }
#hubKat .kt-card.locked .kt-ic { filter: grayscale(1) brightness(0.7); }
#hubKat .kt-card.locked .kt-tx small { color: #d9a13c; }
#hubKat .kt-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #e9c98a;
  background: #15110c; box-shadow: 0 0 0 1px rgba(214, 170, 82, 0.55), inset 0 0 6px #000; }
#hubKat .kt-ic svg { width: 60%; height: 60%; display: block; }
#hubKat .kt-ic img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 50%; }
#hubKat .kt-ic:not(.art) img { width: 78%; height: 78%; border-radius: 0; }
#hubKat .kt-ic.art { padding: 3px; }
#hubKat .kt-ic.art.med { padding: 0; background: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); }
#hubKat .kt-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
#hubKat .kt-tx b { font: 700 16.5px/1.15 var(--ds-font-head, Georgia, serif); color: #f2e2bf; text-shadow: 0 1px 2px #000; overflow-wrap: anywhere; }
#hubKat .kt-tx small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 400 12.5px/1.3 var(--font-ui); color: #c3af92; }
#hubKat .kt-tx small:empty { display: none; }
#hubKat .kt-chev { flex: none; width: 8px; color: #dab678; transition: transform 120ms; }
#hubKat .kt-chev svg { width: 8px; height: 14px; display: block; }
#hubKat .kt-b { position: absolute; top: -7px; right: -6px; z-index: 1; min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box; border-radius: 10px;
  font: 700 11px/19px var(--font-ui); font-style: normal; text-align: center; color: #fff; background: #e5543f; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); }
/* rehber parlaması (kendi sınıfı: rehber .tut-glow'ları her profil güncellemesinde siler) */
#hubKat .kt-glow { position: relative; z-index: 3; animation: tut-pulse 1.3s ease-in-out infinite; }
#hubKat .kt-tab.kt-glow { border-radius: 4px 4px 0 0; }
/* menüsü açık olan grubun üst çubuktaki düğmesi */
html:not(.mobile) #menu.hubs .mbtn.hub.kt-on { background: rgba(226, 184, 102, 0.16); border-color: rgba(226, 184, 102, 0.6); }
