/* Bozkurt Online arayüzü: koyu ceviz zemin, oyma bronz çerçeveler, firuze taşlar, koç boynuzu uçlar.
   Çerçeve ve süs görselleri js/suslemeler.js'de çizilir ve buradaki değişkenlere (--cerceve, --zemin ...) yazılır. */
:root {
  --deri: rgba(27, 19, 14, 0.9);
  --kenar: #8a6a45;
  --kenar-soluk: rgba(138, 106, 69, 0.45);
  --bronz: #cfa865;
  --bronz-acik: #f3dca4;
  --bronz-koyu: #573c1e;
  --altin-yazi: #f3d28a;
  --firuze: #3cc0b0;
  --firuze-koyu: #1d7c73;
  --kizil: #c8423a;
  --kece: #f1e6cf;
  --soluk: #b7a68a;
  --yazi: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --baslik: 'Alegreya SC', Georgia, serif;
  --run: 'Segoe UI Historic', 'Noto Sans Old Turkic', serif;
  --ahsap: var(--zemin, linear-gradient(#22170f, #140d08));
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0d0a08; color: var(--kece); font-family: var(--yazi); font-size: 15px; user-select: none; }
button, input { font-family: inherit; }
/* oyunun kendi fare imleçleri (js/suslemeler.js çizer); yazı kutularında yazı imleci kalır */
html, body { cursor: var(--imlec, auto); }
a, button { cursor: var(--imlec-tik, pointer); }
input:not([type]), input[type=text], input[type=password], input[type=email], textarea { cursor: text; }
.gizli { display: none !important; }
.soluk { color: var(--soluk); }
.kirmizi { color: #ff7a6a; }
.yesil { color: #8be07a; }
#sahne, #sahne canvas { position: fixed; inset: 0; display: block; }
#sahne canvas { transition: filter 0.8s ease; }
body.olu-mod #sahne canvas { filter: grayscale(0.9) brightness(0.55) contrast(1.1); }
#etiketler { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }

/* ---------- çerçeveli yüzeyler ---------- */

/* büyük çerçeve: pencereler, giriş paneli, ölüm penceresi */
.pencere, .panel, .pencere-yuzu {
  background: var(--ahsap) center / 256px repeat, #1b130d;
  background-clip: padding-box;
  border: 13px solid transparent;
  border-image: var(--cerceve) 40 / 40px / 0 stretch;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}
/* ince çerçeve: ipucu, bildirim, görev takibi, sohbet */
#ipucu, .bildirim, #gorev-takip, #sohbet-akis, #yardim-kutu {
  border: 6px solid transparent;
  border-image: var(--ince-cerceve) 10 / 10px / 0 stretch;
}

.levha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 8px 22px;
  border-image: var(--levha) 9 26 fill / 8px 22px / 0 stretch;
  color: var(--altin-yazi);
  text-shadow: 0 1px 1px #000, 0 0 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* ---------- düğmeler ---------- */

.dugme {
  position: relative;
  background: linear-gradient(180deg, #4b3523 0%, #2e1f13 55%, #22170e 100%);
  border: 1px solid #0f0904;
  color: #f6e6c2;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px #000;
  border-radius: 3px;
  cursor: var(--imlec-tik, pointer);
  box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.75), inset 0 2px 0 rgba(255, 236, 196, 0.18), inset 0 -3px 6px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.15s, filter 0.15s;
}
.dugme:hover:not(:disabled) { filter: brightness(1.15); box-shadow: inset 0 0 0 1px var(--bronz-acik), inset 0 2px 0 rgba(255, 236, 196, 0.25), inset 0 -3px 6px rgba(0, 0, 0, 0.4), 0 0 12px rgba(243, 210, 138, 0.35); }
.dugme:active:not(:disabled) { transform: translateY(1px); }
.dugme:disabled { opacity: 0.5; cursor: var(--imlec, default); filter: grayscale(0.5); }
.dugme.ana { background: linear-gradient(180deg, #b8463a 0%, #86251c 55%, #5c140f 100%); color: #fff2dc; box-shadow: inset 0 0 0 1px rgba(255, 196, 140, 0.8), inset 0 2px 0 rgba(255, 220, 190, 0.3), inset 0 -3px 6px rgba(40, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.6); }
.dugme.hafif { background: rgba(0, 0, 0, 0.3); color: var(--soluk); box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.4); }
.dugme.kucuk { padding: 4px 11px; font-size: 13px; }
.dugme.genis { width: 100%; }

kbd { display: inline-block; min-width: 16px; padding: 0 3px; font: 800 10px/14px var(--yazi); color: #fff1d0; text-align: center; border-radius: 3px;
  background: linear-gradient(180deg, #3a2817, #170e07); box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.8); }

.akce { display: inline-block; width: 15px; height: 15px; border-radius: 50%; vertical-align: -2px; margin-right: 5px;
  background: radial-gradient(circle at 35% 30%, #ffffff, #c9cdd3 40%, #6b717a 100%); box-shadow: 0 0 0 1px #2b2f35, inset 0 0 0 2px rgba(70, 74, 82, 0.45); }

.hata { color: #ff8a7a; min-height: 1.2em; margin: 8px 0 0; font-weight: 700; }

/* ---------- açılış ---------- */

.ekran { position: fixed; inset: 0; z-index: 5; }
#yukleniyor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(circle at 50% 45%, #2a1d14, #0d0a08 70%); }
.runik { font-family: var(--run); color: #6fe0d2; letter-spacing: 0.45em; font-size: 30px; text-shadow: 0 0 18px rgba(60, 192, 176, 0.55); direction: rtl; }
.yuk-yazi { font-family: var(--baslik); color: var(--soluk); font-size: 20px; letter-spacing: 0.08em; animation: nabiz 1.6s ease-in-out infinite; }
@keyframes nabiz { 50% { opacity: 0.45; } }

.perde { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(10, 6, 4, 0) 0%, rgba(10, 6, 4, 0.3) 55%, rgba(8, 5, 3, 0.8) 100%),
              linear-gradient(180deg, rgba(8, 5, 3, 0.35) 0%, rgba(8, 5, 3, 0) 30%, rgba(8, 5, 3, 0) 60%, rgba(8, 5, 3, 0.7) 100%); }
.perde.alt { background: linear-gradient(180deg, rgba(8, 5, 3, 0.55) 0%, rgba(8, 5, 3, 0) 22%, rgba(8, 5, 3, 0) 50%, rgba(8, 5, 3, 0.85) 100%); }

#giris { display: flex; flex-direction: column; align-items: center; }
.logo { position: relative; margin-top: 11vh; text-align: center; }
.logo .runik { font-size: 26px; margin-bottom: 6px; }
.logo h1 { margin: 0; font-family: var(--baslik); font-weight: 800; font-size: clamp(64px, 9vw, 136px); letter-spacing: 0.14em; line-height: 0.95; color: #f8edd8;
  text-shadow: 0 3px 0 #4a2c18, 0 12px 44px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 160, 80, 0.22); padding-left: 0.14em; }
.alt-baslik { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; font-family: var(--baslik); font-size: 22px; letter-spacing: 0.22em; color: #f3d9b0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.alt-baslik::before, .alt-baslik::after { content: ''; width: 90px; height: 14px; background: var(--sus-cizgi) center / 100% 100% no-repeat; }
.alt-baslik::after { transform: scaleX(-1); }
.logo .alt-baslik { font-size: 24px; letter-spacing: 0.5em; }
.logo .alt-baslik span { padding-left: 0.5em; }
.logo .slogan { margin-top: 6px; font-family: var(--baslik); font-size: 15px; letter-spacing: 0.32em; color: #d8c3a0; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }

#giris { overflow-y: auto; }
.giris-panel { position: relative; margin-top: 6vh; width: 360px; max-width: calc(100vw - 24px); padding: 12px 22px 12px; flex-shrink: 0; }
.giris-panel label, .yigit-ad { display: block; font-size: 13px; font-weight: 800; color: var(--altin-yazi); letter-spacing: 0.05em; margin-bottom: 12px; text-shadow: 0 1px 1px #000; }
.giris-panel input, #sohbet-giris, #s-yigit { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; font-size: 16px; color: var(--kece); background: linear-gradient(180deg, #070504, #140d08);
  border: 1px solid #0f0904; border-radius: 3px; outline: none; user-select: text; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(207, 168, 101, 0.45); }
.giris-panel input:focus, #sohbet-giris:focus, #s-yigit:focus { box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--firuze), 0 0 10px rgba(60, 192, 176, 0.3); }
.giris-panel input::placeholder, #s-yigit::placeholder { color: rgba(216, 195, 160, 0.38); }
.giris-panel .dugme { margin-top: 6px; padding: 11px; font-size: 17px; }
.giris-panel .not { font-size: 12.5px; color: var(--soluk); margin: 12px 0 0; text-align: center; line-height: 1.4; }
.giris-panel .not a { color: #8fe9dc; font-weight: 800; text-decoration: none; }
.giris-panel .not a:hover { text-decoration: underline; }
/* Giriş yap / Kayıt ol sekmeleri */
.sekmeler { display: flex; margin: 0 -4px 14px; border-bottom: 1px solid rgba(207, 168, 101, 0.35); }
.sekme { flex: 1; padding: 8px 6px 9px; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; cursor: var(--imlec-tik, pointer);
  font: 700 17px/1 var(--baslik); letter-spacing: 0.06em; color: var(--soluk); text-shadow: 0 1px 1px #000; transition: color 0.15s, border-color 0.15s; }
.sekme:hover { color: var(--altin-yazi); }
.sekme.secili { color: var(--altin-yazi); border-bottom-color: var(--firuze); }
/* çevrimiçi sayısı ekranın dibinde durur; panel uzunsa (kayıt) panelin altına iner, üstüne binmez */
.giris-alt { position: relative; margin-top: auto; padding: 14px 0 22px; font-size: 14px; color: #e9d7b8; text-shadow: 0 1px 6px #000; letter-spacing: 0.04em; }
/* kayıt sekmesinde panel uzun: logo küçülür */
#giris.kayitta .logo { margin-top: 3vh; }
#giris.kayitta .logo .runik, #giris.kayitta .logo .slogan { display: none; }
#giris.kayitta .logo h1 { font-size: clamp(44px, 5vw, 76px); }
#giris.kayitta .giris-panel { margin-top: 2.2vh; }
/* Google ile devam et: düğmeyi Google çizer (iframe), biz yalnız yerini ve "ya da" ayracını veririz */
.google-alan { margin-top: 12px; }
.google-alan[hidden] { display: none; }
.ayrac { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12.5px; color: var(--soluk); }
.ayrac::before, .ayrac::after { content: ''; flex: 1; height: 1px; background: rgba(207, 168, 101, 0.35); }
.google-dugme { display: flex; justify-content: center; min-height: 40px; color-scheme: normal; }
.giris-linkler { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 16px; font-size: 13.5px; }
.giris-linkler a { color: #d8c3a0; text-decoration: none; text-shadow: 0 1px 6px #000; }
.giris-linkler a:hover { color: #8fe9dc; text-decoration: underline; }
/* kısa ekranlarda kayıt paneli (4 kutu + Google) logoyla birlikte sığsın */
@media (max-height: 860px) {
  .logo { margin-top: 3vh; }
  .logo .runik { font-size: 20px; margin-bottom: 2px; }
  .logo h1 { font-size: clamp(48px, 6.4vw, 92px); }
  .logo .slogan { display: none; }
  .giris-panel { margin-top: 2vh; }
  .giris-panel label { margin-bottom: 7px; }
  .giris-panel input { padding: 7px 10px; }
  .sekmeler { margin-bottom: 10px; }
  .google-alan { margin-top: 9px; }
  .ayrac { margin-bottom: 7px; }
  .giris-alt { padding: 10px 0 10px; }
  .giris-linkler { bottom: 10px; }
}

#sinif-sec { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 28px; }
#sinif-sec h2 { position: absolute; top: 5vh; margin: 0; font-family: var(--baslik); font-size: 40px; letter-spacing: 0.06em; text-shadow: 0 3px 16px rgba(0, 0, 0, 0.8); }
#s-ad { color: #8fe9dc; }
#sinif-kartlar { position: relative; display: flex; gap: 16px; }
.sinif-kart { width: 300px; text-align: left; padding: 6px 8px 6px; color: var(--kece); cursor: var(--imlec-tik, pointer); font-family: var(--yazi);
  background: var(--ahsap) center / 256px repeat, #1b130d; background-clip: padding-box; border: 13px solid transparent; border-image: var(--cerceve) 40 / 40px / 0 stretch;
  transition: transform 0.15s, filter 0.15s; filter: brightness(0.82) saturate(0.85); }
.sinif-kart:hover { transform: translateY(-3px); filter: none; }
.sinif-kart.secili { transform: translateY(-6px); filter: brightness(1.08) drop-shadow(0 0 16px rgba(60, 192, 176, 0.45)); }
.sinif-kart img { width: 52px; height: 52px; float: left; margin-right: 12px; }
.sk-ad { font-family: var(--baslik); font-size: 26px; font-weight: 800; line-height: 1; padding-top: 4px; color: var(--altin-yazi); }
.sk-unvan { color: #8fe9dc; font-weight: 700; font-size: 14px; margin-top: 3px; }
.sinif-kart p { clear: both; margin: 12px 0 10px; font-size: 13.5px; line-height: 1.4; color: #e3d5bb; min-height: 58px; }
.sk-puan div { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--soluk); margin-top: 4px; }
.sk-puan i { display: flex; gap: 3px; }
.sk-puan b { width: 22px; height: 7px; background: linear-gradient(180deg, #6ff0de, #1d7c73); border-radius: 1px; box-shadow: 0 0 0 1px #0a2f2b; }
.sk-puan b.bos { background: rgba(0, 0, 0, 0.45); box-shadow: 0 0 0 1px rgba(207, 168, 101, 0.25); }
.sinif-alt { position: relative; display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.sinif-alt .dugme { padding: 11px 26px; font-size: 17px; }
.sinif-alt .yigit-ad { margin: 0; }
#s-yigit { width: 250px; padding: 10px 12px; }
#s-hata { position: relative; }

/* ---------- HUD ---------- */

#hud { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
#hud > * { pointer-events: auto; }
#hud > #orta-mesaj, #hud > #bolge-ilan, #hud > #bildirimler { pointer-events: none; }

/* sol üst: madalyon ve ad levhası */
#ben-cerceve { position: absolute; top: 8px; left: 8px; display: flex; align-items: flex-start; pointer-events: none; }
#ben-cerceve > * { pointer-events: auto; }
.madalyon { position: relative; width: 112px; height: 112px; flex: none; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6)); }
.madalyon::before { content: ''; position: absolute; left: 14px; top: 14px; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a2a1d, #0d0906 75%); }
.madalyon img { position: absolute; left: 15px; top: 15px; width: 82px; height: 82px; border-radius: 50%; object-fit: cover; }
.madalyon::after { content: ''; position: absolute; inset: 0; background: var(--madalyon) center / contain no-repeat; pointer-events: none; }
.lv-rozet { position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%); z-index: 3; min-width: 50px; height: 26px; padding: 0 2px;
  border-style: solid; border-width: 7px 16px; border-image: var(--levha) 9 26 fill / 7px 16px / 0 stretch;
  font: 800 14px/12px var(--yazi); text-align: center; color: #fff2cf; text-shadow: 0 1px 1px #000; }
.ben-bilgi { position: relative; margin: 20px 0 0 -26px; padding-left: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.ben-levha { min-width: 190px; height: 36px; padding: 0 10px 0 18px; justify-content: flex-start; }
.ben-levha b { font-size: 16px; font-weight: 800; color: #fff3d6; }
#ben-sinif { margin: 3px 0 0 14px; font-size: 12.5px; font-weight: 700; color: #e9d3a6; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.etkiler { display: flex; gap: 4px; margin: 5px 0 0 12px; }
.etkiler img { width: 26px; height: 26px; border-radius: 3px; box-shadow: 0 0 0 1px #0f0904, 0 0 0 2px var(--bronz), 0 2px 4px rgba(0, 0, 0, 0.7); }
#ben-cerceve.dusuk-can .madalyon { animation: dusukCan 1.1s ease-in-out infinite; }
@keyframes dusukCan { 50% { filter: drop-shadow(0 0 14px rgba(230, 40, 30, 0.95)); } }

/* üst orta: hedef */
#hedef-cerceve { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 360px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.hedef-levha { min-width: 300px; height: 40px; gap: 8px; padding: 0 8px; }
.hedef-levha b { font-family: var(--baslik); font-size: 18px; font-weight: 800; letter-spacing: 0.03em; }
.hedef-levha small { font-size: 12px; font-weight: 800; color: #e7d3ae; }
#hedef-alt { color: #c9b896; font-weight: 700; }
#hedef-cerceve .gosterge { width: 300px; height: 18px; }
#hedef-cerceve .gosterge span { line-height: 18px; font-size: 11.5px; }
#hedef-cerceve.patron .hedef-levha { filter: hue-rotate(-25deg) saturate(1.3); }

/* cam göstergeler: can, mana, hedef */
.gosterge { position: relative; height: 22px; border-radius: 11px; overflow: hidden; background: linear-gradient(180deg, #050302, #1d140c);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.95), 0 0 0 1px #0f0904, 0 0 0 3px #a37a44, 0 0 0 4px #0f0904, 0 2px 0 4px rgba(255, 225, 170, 0.12); }
.gosterge i, .gosterge u { position: absolute; left: 0; top: 0; bottom: 0; display: block; border-radius: 11px; transition: width 0.18s; text-decoration: none; }
.gosterge.can i { background: linear-gradient(180deg, #ff9f8a 0%, #e5402f 34%, #a11b12 72%, #5c0b07 100%); box-shadow: inset -2px 0 4px rgba(255, 180, 150, 0.45); }
.gosterge.mana i { background: linear-gradient(180deg, #a6dcff 0%, #3a90e2 34%, #17549c 72%, #0a2a55 100%); box-shadow: inset -2px 0 4px rgba(180, 225, 255, 0.45); }
.gosterge u { background: linear-gradient(180deg, rgba(200, 245, 255, 0.75), rgba(120, 200, 240, 0.45)); }
.gosterge::after { content: ''; position: absolute; left: 8px; right: 8px; top: 2px; height: 42%; border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)); pointer-events: none; }
.gosterge span { position: absolute; inset: 0; z-index: 1; font: 800 12.5px/22px var(--yazi); text-align: center; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.gosterge em { position: absolute; left: 11px; top: 0; z-index: 1; font: 800 10px/22px var(--baslik); font-style: normal; letter-spacing: 0.12em; color: rgba(255, 240, 220, 0.8); text-shadow: 0 1px 2px #000; }

/* sağ üst: küçük harita */
#sag-ust { position: absolute; top: 4px; right: 4px; width: 252px; display: flex; flex-direction: column; align-items: center; }
.minimap-cerceve { position: relative; width: 252px; height: 252px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)); }
#minimap { position: absolute; left: 25px; top: 25px; width: 202px; height: 202px; border-radius: 50%; display: block; }
.minimap-cerceve .halka { position: absolute; inset: 0; background: var(--halka) center / contain no-repeat; pointer-events: none; }
.yakin-dugme, .harita-gizle, .harita-ac { position: absolute; bottom: 24px; right: 22px; width: 26px; height: 26px; padding: 0; border-radius: 50%; cursor: var(--imlec-tik, pointer); border: 1px solid #0f0904;
  background: radial-gradient(circle at 35% 30%, #fbe8b8, #b48a4c 50%, #4a3014 100%); color: #2a1606; font: 900 18px/22px var(--yazi);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75), inset 0 -2px 3px rgba(0, 0, 0, 0.35); }
.yakin-dugme.uzak { right: auto; left: 22px; }
.yakin-dugme:hover, .harita-gizle:hover, .harita-ac:hover { filter: brightness(1.15); }
/* küçük harita kapatılıp açılır (Metin2'deki gibi); kapalıyken yerinde harita simgeli küçük bir düğme kalır */
.harita-gizle { bottom: auto; top: 22px; right: auto; left: 22px; width: 22px; height: 22px; font-size: 15px; line-height: 19px; }
.harita-ac { display: none; position: relative; bottom: auto; right: auto; width: 46px; height: 46px; margin: 2px 0 4px; }
.harita-ac .simge { position: absolute; inset: 9px; background-position: center; background-size: contain; background-repeat: no-repeat; pointer-events: none; filter: brightness(0.35) sepia(0.6); }
body.harita-kapali .minimap-cerceve { display: none; }
body.harita-kapali .harita-ac { display: block; }
body.harita-kapali .bolge-levha { margin-top: 0; }
body.harita-kapali #gorev-takip { top: 120px; }
.bolge-levha { margin-top: -20px; z-index: 1; min-width: 180px; height: 34px; padding: 0 8px; }
#bolge-adi { font-family: var(--baslik); font-size: 15.5px; font-weight: 800; letter-spacing: 0.04em; }
#bolge-adi.guvenli { color: #a7f0ae; }
#bolge-adi.pvp { color: #ff9a8a; }
#saat-satiri { display: flex; gap: 12px; justify-content: center; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #f0e2c4; text-shadow: 0 1px 3px #000, 0 0 4px #000; }
#ping { color: var(--soluk); }

/* görev takibi */
#gorev-takip { position: absolute; top: 322px; right: 10px; width: 244px; padding: 7px 11px 8px; text-align: left; background: rgba(16, 11, 7, 0.78); }
.gt-baslik { font-family: var(--baslik); font-weight: 800; font-size: 15.5px; color: var(--altin-yazi); text-shadow: 0 1px 2px #000; padding-left: 20px; position: relative; }
.gt-baslik::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; transform: rotate(45deg); background: linear-gradient(135deg, #ffe7a8, #c08a2a); box-shadow: 0 0 0 1px #3a2408, 0 0 8px rgba(255, 200, 80, 0.6); }
.gt-ilerleme { font-size: 14px; font-weight: 800; margin-top: 3px; text-shadow: 0 1px 2px #000; }
.gt-ilerleme.tamam { color: #8be07a; }
.gt-yer { font-size: 12.5px; color: #e3d5bb; margin-top: 2px; text-shadow: 0 1px 2px #000; }

/* sohbet */
#sohbet { position: absolute; left: 10px; bottom: 10px; width: 440px; }
#sohbet-akis { height: 176px; overflow-y: auto; padding: 6px 9px; font-size: 13.5px; line-height: 1.38; background: rgba(12, 8, 5, 0.62); text-shadow: 0 1px 2px #000; scrollbar-width: thin; scrollbar-color: #8a6a45 rgba(0, 0, 0, 0.3); user-select: text; }
#sohbet-akis div { margin-bottom: 2px; word-wrap: break-word; }
#sohbet-akis .sistem { color: #c4bba9; font-style: italic; }
#sohbet-akis .duyuru { color: #ffcf6a; font-weight: 800; }
#sohbet-akis .bilgi { color: #9fe6d9; }
.ad-alp { color: #ff8a7a; }
.ad-akinci { color: #9be07a; }
.ad-kam { color: #7fd8ff; }
#sohbet-giris { margin-top: 5px; font-size: 14px; padding: 7px 10px; }

/* ---------- alt orta: görev çubuğu ---------- */

#alt-cubuk { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); transform-origin: 50% 100%; width: 1010px; height: 116px; pointer-events: none; }
#alt-cubuk > * { pointer-events: auto; }
.ac-boynuz { position: absolute; top: 2px; width: 96px; height: 124px; background: var(--boynuz) center / contain no-repeat; pointer-events: none !important; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.6)); }
.ac-boynuz.sol { left: -10px; }
.ac-boynuz.sag { right: -10px; transform: scaleX(-1); }
.ac-govde { position: absolute; left: 70px; right: 70px; top: 22px; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 6px;
  background: var(--ahsap) center / 256px repeat, #1b130d; background-clip: padding-box; border: 13px solid transparent; border-image: var(--cerceve) 40 / 40px / 0 stretch;
  box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.45); }
.ac-gostergeler { display: flex; flex-direction: column; gap: 9px; width: 232px; flex: none; }
#tecrube { position: absolute; left: 112px; right: 112px; top: 6px; height: 13px; z-index: 2; border-radius: 7px; overflow: hidden; background: linear-gradient(180deg, #060403, #1a120b);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.95), 0 0 0 1px #0f0904, 0 0 0 2px #a37a44, 0 0 0 3px #0f0904; }
#tecrube i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(180deg, #fff0b0 0%, #e9b444 40%, #a06a12 100%); box-shadow: 0 0 8px rgba(255, 200, 80, 0.6); transition: width 0.3s; }
#tecrube::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 9.9%, rgba(10, 6, 3, 0.85) 9.9%, rgba(10, 6, 3, 0.85) 10.1%, transparent 10.1%, transparent 19.9%, rgba(10, 6, 3, 0.85) 19.9%, rgba(10, 6, 3, 0.85) 20.1%, transparent 20.1%,
    transparent 29.9%, rgba(10, 6, 3, 0.85) 29.9%, rgba(10, 6, 3, 0.85) 30.1%, transparent 30.1%, transparent 39.9%, rgba(10, 6, 3, 0.85) 39.9%, rgba(10, 6, 3, 0.85) 40.1%, transparent 40.1%,
    transparent 49.9%, rgba(10, 6, 3, 0.85) 49.9%, rgba(10, 6, 3, 0.85) 50.1%, transparent 50.1%, transparent 59.9%, rgba(10, 6, 3, 0.85) 59.9%, rgba(10, 6, 3, 0.85) 60.1%, transparent 60.1%,
    transparent 69.9%, rgba(10, 6, 3, 0.85) 69.9%, rgba(10, 6, 3, 0.85) 70.1%, transparent 70.1%, transparent 79.9%, rgba(10, 6, 3, 0.85) 79.9%, rgba(10, 6, 3, 0.85) 80.1%, transparent 80.1%,
    transparent 89.9%, rgba(10, 6, 3, 0.85) 89.9%, rgba(10, 6, 3, 0.85) 90.1%, transparent 90.1%),
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 55%); }
#tecrube span { position: absolute; inset: 0; z-index: 1; font: 800 10px/13px var(--yazi); text-align: center; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; }

#beceri-cubugu { display: flex; align-items: center; gap: 5px; }
#beceri-cubugu .ayrac { width: 14px; height: 50px; flex: none; background: linear-gradient(90deg, transparent 6px, #0f0904 6px, #a37a44 7px, #0f0904 8px, transparent 8px); }
#beceri-cubugu .yuva { width: 56px; height: 56px; }
/* sürükle-bırak: bırakılabilecek yuvalar hafifçe, üstüne gelinen yuva firuze yanar */
#beceri-cubugu.surukleme .yuva { box-shadow: 0 0 0 1px rgba(60, 192, 176, 0.45); }
#beceri-cubugu .yuva.hedef { box-shadow: 0 0 0 2px var(--firuze), 0 0 14px rgba(60, 192, 176, 0.85); filter: brightness(1.25); }
.yuva[draggable="true"] { -webkit-user-drag: element; }

.ac-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
#menu-dugmeleri { display: flex; gap: 3px; }
#menu-dugmeleri button { position: relative; width: 36px; height: 36px; padding: 0; cursor: var(--imlec-tik, pointer); border-radius: 4px; border: 1px solid #0f0904;
  background: radial-gradient(circle at 50% 35%, #3d2b1b, #160e08 80%);
  box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.85), inset 0 2px 0 rgba(255, 236, 196, 0.2), inset 0 -4px 6px rgba(0, 0, 0, 0.55), 0 2px 3px rgba(0, 0, 0, 0.65); }
#menu-dugmeleri button:hover { filter: brightness(1.25); box-shadow: inset 0 0 0 1px var(--bronz-acik), inset 0 2px 0 rgba(255, 236, 196, 0.3), 0 0 10px rgba(243, 210, 138, 0.45); }
#menu-dugmeleri .simge { position: absolute; inset: 3px; background-position: center; background-size: contain; background-repeat: no-repeat; pointer-events: none; }
.simge.heybe { background-image: var(--simge-heybe); }
.simge.gorevler { background-image: var(--simge-gorevler); }
.simge.harita { background-image: var(--simge-harita); }
.simge.siralama { background-image: var(--simge-siralama); }
.simge.ayarlar { background-image: var(--simge-ayarlar); }
.simge.ses { background-image: var(--simge-ses); }
#ses-dugme.kapali .simge.ses { background-image: var(--simge-sessiz); }
#menu-dugmeleri kbd { position: absolute; right: -3px; bottom: -4px; z-index: 1; min-width: 13px; font-size: 9px; line-height: 12px; }
.altin-gosterge { display: flex; align-items: center; padding: 0 4px; font-size: 15px; font-weight: 800; color: #f2ecdf; text-shadow: 0 1px 2px #000; }

/* ---------- eşya yuvası: bronz kabartmalı yuva ---------- */

.yuva { position: relative; width: 48px; height: 48px; flex: none; cursor: var(--imlec-tik, pointer); border-radius: 4px;
  background: radial-gradient(circle at 50% 38%, #36281c 0%, #160f0a 62%, #0b0806 100%); }
.yuva::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border: 7px solid transparent; border-image: var(--yuva) 7 / 7px / 0 stretch; }
.yuva img { position: absolute; left: 4px; top: 4px; width: calc(100% - 8px); height: calc(100% - 8px); display: block; pointer-events: none; }
.yuva.bos { cursor: var(--imlec, default); }
.yuva.k2::after { box-shadow: inset 0 0 6px 1px rgba(121, 216, 111, 0.5); }
.yuva.k3::after { box-shadow: inset 0 0 9px 1px rgba(95, 176, 255, 0.65); }
.yuva.k4::after { box-shadow: inset 0 0 10px 2px rgba(255, 173, 58, 0.7); }
.yuva.k5::after { box-shadow: inset 0 0 11px 2px rgba(255, 92, 108, 0.75); }
.yuva.k6::after { box-shadow: inset 0 0 12px 2px rgba(79, 240, 208, 0.8); }
.yuva.secili { box-shadow: 0 0 0 2px var(--firuze), 0 0 12px rgba(60, 192, 176, 0.75); }
.yuva:hover:not(.bos) { filter: brightness(1.22); }
.yuva .adet { position: absolute; right: 6px; bottom: 4px; z-index: 4; font: 800 12px var(--yazi); color: #fff; text-shadow: 0 1px 2px #000, 0 0 2px #000, 0 0 3px #000; }
.yuva .arti { position: absolute; left: 6px; top: 4px; z-index: 4; font: 800 12px var(--yazi); color: #ffe08a; text-shadow: 0 1px 2px #000, 0 0 2px #000; }
.yuva .tus { position: absolute; left: -4px; top: -5px; z-index: 5; min-width: 17px; padding: 0 4px; font: 800 11px/15px var(--yazi); text-align: center; color: #fff3dc; border-radius: 3px;
  background: linear-gradient(180deg, #4a321c, #1a0f07); box-shadow: inset 0 0 0 1px var(--bronz), 0 1px 3px rgba(0, 0, 0, 0.8); text-shadow: 0 1px 1px #000; }
.yuva .cd { position: absolute; inset: 4px; z-index: 2; pointer-events: none; border-radius: 2px; background: conic-gradient(rgba(0, 0, 0, 0.78) var(--cd, 0%), transparent var(--cd, 0%)); }
.yuva .cd-yazi { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; font: 800 18px var(--yazi); color: #fff; text-shadow: 0 1px 3px #000, 0 0 4px #000; pointer-events: none; }
.yuva .kilit { display: none; position: absolute; inset: 4px; z-index: 2; align-items: center; justify-content: center; font: 800 12px var(--yazi); color: #ffd9a8; background: rgba(0, 0, 0, 0.62); text-shadow: 0 1px 2px #000; }
.yuva.kilitli img { filter: grayscale(1) brightness(0.5); }
.yuva.kilitli .kilit { display: flex; }
.yuva.manasiz img { filter: saturate(0.25) brightness(0.55) sepia(0.4) hue-rotate(170deg); }

/* ---------- ortada beliren yazılar ---------- */

#yardim-kutu { position: absolute; left: 10px; bottom: 256px; width: 340px; padding: 10px 14px; font-size: 13.5px; background: rgba(16, 11, 7, 0.88); }
#yardim-kutu b { font-family: var(--baslik); font-size: 16px; color: var(--altin-yazi); }
#yardim-kutu ul { margin: 8px 0 10px; padding-left: 18px; line-height: 1.65; }

#bildirimler { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bildirim { padding: 5px 16px; background: rgba(18, 12, 8, 0.9); font-weight: 800; font-size: 14px; transition: opacity 0.5s; text-align: center; max-width: 560px; text-shadow: 0 1px 2px #000; }
.bildirim.sonuyor { opacity: 0; }

#orta-mesaj { position: absolute; top: 24%; left: 0; right: 0; text-align: center; opacity: 0; }
#orta-mesaj b { display: block; font-family: var(--baslik); font-size: 54px; font-weight: 800; color: #ffe08a; letter-spacing: 0.06em; text-shadow: 0 4px 0 #5a3410, 0 0 40px rgba(255, 190, 80, 0.55), 0 6px 30px #000; }
#orta-mesaj span { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; text-shadow: 0 2px 8px #000; }
#orta-mesaj.goster { animation: ortaMesaj 3.2s ease-out forwards; }
@keyframes ortaMesaj { 0% { opacity: 0; transform: scale(0.85); } 10% { opacity: 1; transform: scale(1.04); } 18% { transform: scale(1); } 78% { opacity: 1; } 100% { opacity: 0; } }

#gecis-perde { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: radial-gradient(circle at 50% 45%, #1e3550, #04070c 72%); opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
#gecis-perde.sicak { background: radial-gradient(circle at 50% 45%, #4a2e18, #0c0705 72%); }
#gecis-perde.acik { opacity: 1; pointer-events: auto; }
#gecis-perde b { display: flex; align-items: center; gap: 18px; font-family: var(--baslik); font-size: 46px; letter-spacing: 0.14em; color: #eef6ff; text-shadow: 0 0 34px rgba(120, 200, 255, 0.6), 0 4px 18px #000; }
#gecis-perde b::before, #gecis-perde b::after { content: ''; width: 120px; height: 14px; background: var(--sus-cizgi) center / 100% 100% no-repeat; }
#gecis-perde b::after { transform: scaleX(-1); }
#gecis-perde.sicak b { color: #fff0d6; text-shadow: 0 0 34px rgba(255, 180, 90, 0.6), 0 4px 18px #000; }
#gecis-perde span { font-size: 16px; font-weight: 700; color: #bcd3ea; text-shadow: 0 2px 8px #000; }
#gecis-perde.sicak span { color: #ffd7a8; }

#bolge-ilan { position: absolute; top: 15%; left: 0; right: 0; text-align: center; opacity: 0; }
#bolge-ilan b { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--baslik); font-size: 40px; letter-spacing: 0.1em; color: #f6ead2; text-shadow: 0 3px 18px #000, 0 0 3px #000; }
#bolge-ilan b::before, #bolge-ilan b::after { content: ''; width: 110px; height: 14px; background: var(--sus-cizgi) center / 100% 100% no-repeat; }
#bolge-ilan b::after { transform: scaleX(-1); }
#bolge-ilan span { display: block; font-size: 15px; font-weight: 700; color: #ffd7a8; text-shadow: 0 2px 8px #000; }
#bolge-ilan.goster { animation: bolgeIlan 3s ease-out forwards; }
@keyframes bolgeIlan { 0% { opacity: 0; letter-spacing: 0.3em; } 15% { opacity: 1; letter-spacing: 0.1em; } 75% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- ölüm ---------- */

#olum { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(60, 0, 0, 0.12), rgba(30, 0, 0, 0.7)); }
#koptu { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(8, 5, 3, 0.8); }
.olum-kutu { min-width: 400px; padding: 10px 26px 16px; text-align: center; }
#koptu .olum-kutu { background: var(--ahsap) center / 256px repeat, #1b130d; background-clip: padding-box; border: 13px solid transparent; border-image: var(--cerceve) 40 / 40px / 0 stretch; }
.olum-kutu h2 { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 0; font-family: var(--baslik); font-size: 34px; letter-spacing: 0.06em; color: #ff8f78; text-shadow: 0 2px 0 #3a0a06, 0 0 22px rgba(255, 80, 60, 0.45); }
.olum-kutu h2::before, .olum-kutu h2::after { content: ''; width: 54px; height: 14px; background: var(--sus-cizgi) center / 100% 100% no-repeat; }
.olum-kutu h2::after { transform: scaleX(-1); }
.olum-kutu p { margin: 8px 0 12px; font-size: 15px; color: #e8dcc4; text-shadow: 0 1px 3px #000; }
.olum-sayac { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(#c8423a var(--olum, 0%), rgba(0, 0, 0, 0.55) var(--olum, 0%)); box-shadow: 0 0 0 2px #0f0904, 0 0 0 4px var(--bronz), 0 0 0 5px #0f0904, 0 4px 10px rgba(0, 0, 0, 0.7); }
.olum-sayac b { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 35%, #3a2a1d, #0e0906);
  font: 800 22px var(--baslik); color: #fff0d2; text-shadow: 0 1px 2px #000; }
.olum-dugmeler { display: flex; gap: 10px; justify-content: center; }
.olum-dugmeler .dugme { min-width: 150px; padding: 10px 16px; font-size: 16px; }
.olum-not { display: block; margin-top: 10px; font-size: 12.5px; color: var(--soluk); }

/* ---------- pencereler ---------- */

.pencere { position: absolute; z-index: 4; padding: 0 0 12px; min-width: 260px; }
.pencere header { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; margin: 0 0 2px; padding: 0 34px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)); box-shadow: inset 0 -1px 0 rgba(207, 168, 101, 0.45), 0 1px 0 rgba(0, 0, 0, 0.7); }
.pencere h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--baslik); font-size: 18.5px; font-weight: 800; letter-spacing: 0.07em; color: var(--altin-yazi);
  text-shadow: 0 1px 0 #000, 0 0 10px rgba(255, 190, 90, 0.25); white-space: nowrap; }
.pencere h3::before, .pencere h3::after { content: ''; width: 46px; height: 14px; flex: none; background: var(--sus-cizgi) center / 100% 100% no-repeat; }
.pencere h3::after { transform: scaleX(-1); }
.pencere header button { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 25px; height: 25px; padding: 0; border-radius: 50%; cursor: var(--imlec-tik, pointer); border: 1px solid #0f0904;
  background: radial-gradient(circle at 35% 30%, #fbe8b8, #b48a4c 50%, #4a3014 100%); color: #2a1606; font: 900 17px/21px var(--yazi); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75); }
.pencere header button:hover { filter: brightness(1.15) saturate(1.2); }
.pencere-alt { padding: 8px 14px 0; font-size: 13px; color: var(--soluk); }

/* heybe: sağda dar, dikey pencere (Metin2 türündeki gibi oyunu kapatmaz): kuşam, özellikler, 5 sütunlu ızgara, akçe, seçili eşya */
#p-heybe { right: 8px; bottom: 118px; width: 262px; min-width: 0; max-height: calc((100vh - 128px) / var(--olcek, 1)); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8a6a45 rgba(0, 0, 0, 0.3);
  transform: scale(var(--olcek, 1)); transform-origin: 100% 100%; }
/* sol üst köşedeki tutamak: sürükleyince heybe %75-%135 arası büyür/küçülür, çift tık ilk boyut */
.boyut-tutamak { position: absolute; left: 1px; top: 1px; z-index: 6; width: 20px; height: 20px; cursor: nwse-resize; border-radius: 50%; touch-action: none;
  background: radial-gradient(circle at 35% 30%, #fbe8b8, #b48a4c 55%, #4a3014 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75), inset 0 0 0 1px #0f0904; }
.boyut-tutamak::after { content: ''; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-left: 2px solid #2a1606; border-top: 2px solid #2a1606; }
.boyut-tutamak:hover { filter: brightness(1.2); }
#p-heybe header { padding: 0 30px; }
#p-heybe h3::before, #p-heybe h3::after { width: 30px; }
.kusam-alan { position: relative; height: 172px; margin: 8px 10px 0; border-radius: 4px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(80, 60, 40, 0.55), rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, #120c08, #070504);
  box-shadow: inset 0 0 0 1px #0f0904, inset 0 0 0 2px rgba(207, 168, 101, 0.5), inset 0 4px 14px rgba(0, 0, 0, 0.9); }
#heybe-govde-resim { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); height: 168px; width: auto; pointer-events: none; }
.kusam-yer { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.kusam-yer span { font-size: 10.5px; font-weight: 800; color: var(--altin-yazi); text-shadow: 0 1px 2px #000, 0 0 3px #000; letter-spacing: 0.04em; }
.kusam-yer.zirh { left: 6px; top: 44px; }
.kusam-yer.silah { right: 6px; top: 62px; }
.kusam-yer .yuva { width: 48px; height: 48px; }
#heybe-istatistik { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; margin: 6px 10px 0; padding: 4px 8px; font-size: 11.5px; background: rgba(0, 0, 0, 0.32); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.25); }
#heybe-istatistik div { display: flex; justify-content: space-between; gap: 4px; padding: 1.5px 0; border-bottom: 1px solid rgba(207, 168, 101, 0.12); white-space: nowrap; }
#heybe-istatistik div:nth-last-child(-n+2) { border-bottom: none; }
#heybe-istatistik span { color: var(--soluk); font-weight: 700; }
#heybe-istatistik b { color: #fff0d0; }
#heybe-izgara { display: grid; grid-template-columns: repeat(5, 44px); justify-content: center; gap: 3px; margin: 8px 10px 0; padding: 6px 0; border-radius: 4px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.3), inset 0 2px 8px rgba(0, 0, 0, 0.8); }
#heybe-izgara .yuva { width: 44px; height: 44px; }
.heybe-altin { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 7px 12px 0; font-size: 14px; font-weight: 800; }
.heybe-altin .akce { width: 16px; height: 16px; }
#heybe-detay { margin: 7px 10px 0; padding: 7px 9px; min-height: 40px; border-radius: 3px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.25); }
#heybe-detay p { margin: 0; font-size: 12.5px; }
.detay-ad { font-weight: 800; font-size: 14px; margin-bottom: 5px; text-shadow: 0 1px 2px #000; }
.detay-dugmeler { display: flex; flex-wrap: wrap; gap: 5px; }
.detay-dugmeler .dugme { padding: 4px 9px; font-size: 12.5px; }

/* tüccar */
#p-dukkan { left: 10px; top: 140px; width: 400px; }
#dukkan-liste { max-height: 52vh; overflow-y: auto; padding: 6px 10px 0; scrollbar-width: thin; scrollbar-color: #8a6a45 rgba(0, 0, 0, 0.3); }
.dukkan-satir { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-bottom: 1px solid rgba(207, 168, 101, 0.14); }
.dukkan-satir:hover { background: rgba(255, 220, 160, 0.04); }
.ds-bilgi { flex: 1; display: flex; flex-direction: column; font-size: 13px; }
.ds-bilgi b { font-size: 14.5px; text-shadow: 0 1px 2px #000; }
.ds-bilgi span { color: #e3d5bb; }
.ds-al { display: flex; gap: 4px; }

/* demirci */
#p-demirci { left: 10px; top: 140px; width: 380px; }
#demirci-ic { padding: 10px 14px 0; font-size: 14px; }
.demir-esya { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.demir-esya .yuva.buyuk { width: 68px; height: 68px; flex: none; }
.demir-esya b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.demir-sans { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(207, 168, 101, 0.16); }
.demir-sans b { font-size: 16px; }
.uyari { color: #ffb47a; font-size: 13px; }
#demirci-ic p { font-size: 13px; }
#yukselt-dugme { margin-top: 6px; padding: 10px; font-size: 16px; }
.demir-sonuc { margin-top: 10px; padding: 8px; text-align: center; font-weight: 800; font-size: 17px; border-radius: 3px; animation: sonuc 0.5s ease-out; }
.demir-sonuc.iyi { background: rgba(60, 160, 80, 0.25); color: #9cf08a; box-shadow: inset 0 0 0 1px rgba(120, 220, 120, 0.5); }
.demir-sonuc.kotu { background: rgba(160, 50, 40, 0.25); color: #ff9a8a; box-shadow: inset 0 0 0 1px rgba(220, 100, 90, 0.5); }
@keyframes sonuc { 0% { transform: scale(1.25); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* köylü konuşması */
#p-diyalog { left: 50%; top: 16%; transform: translateX(-50%); width: 500px; }
.diyalog-kim { padding: 10px 16px 0; display: flex; gap: 8px; align-items: baseline; }
.diyalog-kim b { font-size: 16.5px; color: #ffe08a; text-shadow: 0 1px 2px #000; }
.diyalog-kim small { color: var(--soluk); font-weight: 700; }
#diyalog-metin { padding: 8px 16px 4px; font-size: 15px; line-height: 1.55; color: #f1e6cf; }
.odul-satir { margin-top: 12px; padding: 8px 10px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 2px 0 0 #ffcf3a, inset 0 0 0 1px rgba(207, 168, 101, 0.2); font-size: 13.5px; }
.odul-satir span { color: #ffe08a; font-weight: 800; }
#diyalog-dugmeler { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 16px 0; }

/* görevler */
#p-gorevler { left: 50%; top: 14%; transform: translateX(-50%); width: 480px; }
#gorevler-ic { padding: 10px 16px 0; font-size: 14px; line-height: 1.45; }
.gl-aktif b { font-family: var(--baslik); font-size: 17px; color: #ffe08a; }
.gl-aktif p { margin: 6px 0; }
.gl-aktif .dugme { margin-top: 8px; }
.gl-bitti { margin-top: 14px; padding-top: 10px; box-shadow: inset 0 1px 0 rgba(207, 168, 101, 0.35); }
.gl-bitti span { display: block; font-weight: 800; color: var(--soluk); margin-bottom: 4px; }
.gl-bitti div { color: #9be6a2; }

/* sıralama */
#p-siralama { left: 50%; top: 12%; transform: translateX(-50%); width: 660px; }
#siralama-ic { display: flex; gap: 16px; padding: 10px 16px 0; }
.sir-kolon { flex: 1; }
.sir-kolon h3 { margin: 4px 0 8px; font-family: var(--baslik); font-size: 16px; color: #ffe08a; }
.sir-kolon table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sir-kolon th { text-align: left; color: var(--soluk); font-weight: 800; padding: 3px 4px; border-bottom: 1px solid rgba(207, 168, 101, 0.4); }
.sir-kolon td { padding: 4px; border-bottom: 1px solid rgba(207, 168, 101, 0.12); }
.sir-kolon tr:nth-child(2) td { color: #ffe08a; }
.sir-kolon td img { width: 18px; height: 18px; vertical-align: -4px; }

/* ayarlar */
#p-ayarlar { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 430px; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8a6a45 rgba(0, 0, 0, 0.3); }
.ayar-govde { padding: 6px 14px 0; font-size: 14px; }
.ayar-bolum { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-family: var(--baslik); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; color: var(--altin-yazi); text-shadow: 0 1px 2px #000; }
.ayar-bolum::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(207, 168, 101, 0.6), rgba(207, 168, 101, 0)); }
.ayar-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; }
.ayar-satir > span { font-weight: 800; color: #f0e2c4; font-size: 13.5px; }
.secenekler { display: flex; gap: 4px; }
.secenekler button { padding: 5px 10px; font: 800 12.5px var(--yazi); color: var(--kece); cursor: var(--imlec-tik, pointer); background: linear-gradient(180deg, #3a2a1b, #1a110a); border: 1px solid #0f0904; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(207, 168, 101, 0.45); }
.secenekler button.secili { background: linear-gradient(180deg, #1f6e66, #0e3b36); color: #d6fff7; box-shadow: inset 0 0 0 1px #6ff0de, 0 0 8px rgba(60, 192, 176, 0.45); }
.kaydirac { display: flex; align-items: center; gap: 8px; }
.kaydirac input { width: 150px; accent-color: #3cc0b0; cursor: var(--imlec-tik, pointer); }
.kaydirac b { min-width: 40px; text-align: right; font-size: 13px; color: #fff0d0; }
.ayar-govde p { font-size: 12.5px; margin: 10px 0 0; }
.ayar-govde p.ayar-not { margin: 2px 0 4px; font-size: 12px; }
/* Ayarlar: isimler yalnız üstüne gelince, seviye yazısı ve hasar sayıları gizlenebilir */
body.isim-fare .etiket.oyuncu:not(.uzerinde):not(.hedefte), body.isim-fare .etiket.yaratik:not(.uzerinde):not(.hedefte):not(.patron) { visibility: hidden; }
body.seviye-gizli .etiket .ad i { display: none; }
body.hasar-gizli .sayi:not(.xp):not(.altin):not(.mana):not(.sifa) { display: none; }

/* dünya haritası */
#p-harita { left: 50%; top: 50%; transform: translate(-50%, -50%); }
#dunya-harita { display: block; margin: 10px 12px 0; width: min(640px, 76vh); height: min(640px, 76vh); border-radius: 3px; box-shadow: 0 0 0 1px #0f0904, 0 0 0 3px #a37a44, 0 0 0 4px #0f0904, 0 6px 16px rgba(0, 0, 0, 0.7); }

/* ipucu */
#ipucu { position: fixed; left: 0; top: 0; z-index: 30; max-width: 300px; padding: 7px 11px; font-size: 13.5px; line-height: 1.4; pointer-events: none; background: rgba(14, 9, 6, 0.95); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); }
.ip-ad { font-weight: 800; font-size: 15px; text-shadow: 0 1px 2px #000; }
.ip-ad b { color: #ffe08a; }
.ip-tur { color: var(--soluk); font-size: 12.5px; margin-bottom: 4px; padding-bottom: 4px; box-shadow: inset 0 -1px 0 rgba(207, 168, 101, 0.25); }
.ip-stat { color: #9cf08a; font-weight: 800; }
.ip-aciklama { color: #e3d5bb; margin-top: 4px; }
.ip-ipucu { color: #8fe0d2; margin-top: 5px; font-size: 12px; font-style: italic; }
.ip-fiyat { color: #e8e1d2; margin-top: 4px; font-size: 12.5px; }

/* ---------- dünya üstü etiketler ---------- */

.etiket { position: absolute; left: 0; top: 0; text-align: center; white-space: nowrap; will-change: transform; font-weight: 700; font-size: 14px;
  text-shadow: 0 1px 2px #000, 0 0 3px #000, 0 0 6px rgba(0, 0, 0, 0.6); transform-origin: 50% 100%; }
.etiket .ad { display: block; }
.etiket .ad i { font-style: normal; font-size: 11.5px; opacity: 0.8; }
.etiket small { display: block; font-size: 11.5px; color: #e3d5bb; font-weight: 500; }
.etiket .can { display: none; width: 66px; height: 6px; margin: 3px auto 0; background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(0, 0, 0, 0.9); }
.etiket .can i { display: block; height: 100%; width: 100%; background: linear-gradient(180deg, #ea5a4d, #a2251d); }
.etiket.oyuncu .can i { background: linear-gradient(180deg, #7ad66a, #2f8a2a); }
.etiket.canli .can { display: block; }
.etiket.olu { opacity: 0.45; }
.etiket.hedefte .ad { text-decoration: underline; text-underline-offset: 3px; }
.etiket.uzerinde { filter: brightness(1.35); }
.etiket.npc .ad.npc { color: #ffe08a; }
.etiket.ben .ad { color: #ffffff; font-size: 13px; opacity: 0.85; }
.etiket.patron .ad { font-family: var(--baslik); font-size: 18px; color: #e3b4ff; }
.etiket.patron .can { width: 120px; height: 8px; }
.etiket.ganimet span { font-size: 12.5px; background: rgba(10, 7, 5, 0.6); padding: 1px 7px; border-radius: 3px; }
.isaret { display: block; font-style: normal; font-family: var(--baslik); font-size: 34px; font-weight: 800; color: #ffcf3a; line-height: 1;
  text-shadow: 0 2px 0 #5a3410, 0 0 12px rgba(255, 200, 60, 0.7); animation: zipla 1.2s ease-in-out infinite; }
.isaret.soluk { color: #b8b0a0; text-shadow: 0 2px 0 #333; animation: none; }
@keyframes zipla { 50% { transform: translateY(-5px); } }

.sayi { position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap; will-change: transform; font: 800 22px var(--yazi); color: #fff3d6;
  text-shadow: 0 2px 0 #000, 0 0 6px rgba(0, 0, 0, 0.85); }
.sayi.diger { font-size: 15px; color: #d8d2c4; }
.sayi.kritik { font-size: 32px; color: #ffcf3a; }
.sayi.hasar-ben { color: #ff6a5a; }
.sayi.hasar-ben.kritik { color: #ff3a2a; }
.sayi.sifa { color: #7dff8a; }
.sayi.xp { color: #e0b4ff; font-size: 16px; }
.sayi.altin { color: #e8ecf2; font-size: 16px; }
.sayi.mana { color: #7fc8ff; font-size: 16px; }
.sayi.iska { color: #d6d6d6; font-size: 15px; font-style: italic; }
.sayi.zehir { color: #a6ff6a; font-size: 15px; }

/* ---------- dar ekranlar ---------- */

@media (max-width: 1560px) {
  #sohbet { bottom: 128px; width: 380px; }
  #sohbet-akis { height: 132px; background: rgba(12, 8, 5, 0.45); }
  #yardim-kutu { bottom: 338px; }
}
@media (max-width: 1240px) {
  #alt-cubuk { transform: translateX(-50%) scale(0.86); }
  #p-heybe { bottom: 104px; max-height: calc((100vh - 112px) / var(--olcek, 1)); }
}
/* geniş ekranda görev çubuğu heybeye yetişmez: heybe aşağı iner, sağ üstteki haritayı kapatmaz */
@media (min-width: 1700px) {
  #p-heybe { bottom: 12px; max-height: calc((100vh - 300px) / var(--olcek, 1)); }
}
@media (max-height: 820px) {
  #heybe-istatistik { display: none; }
  .kusam-alan { height: 140px; }
  #heybe-govde-resim { height: 136px; }
  .kusam-yer.zirh { top: 32px; }
  .kusam-yer.silah { top: 46px; }
  .kusam-yer .yuva { width: 44px; height: 44px; }
  #heybe-izgara { grid-template-columns: repeat(5, 40px); }
  #heybe-izgara .yuva { width: 40px; height: 40px; }
}
