/* Kehanet2 - eski resmi Metin2 portali duzeni: ahsap zemin, kirmizi lake menu, parsomen icerik. */
:root {
  --ahsap: #1e0f0a;
  --ahsap-koyu: #120805;
  --cerceve: #6b4420;
  --cerceve-acik: #b0823d;
  --altin: #e4b75a;
  --altin-acik: #f8dc93;
  --altin-koyu: #8c5d22;
  --lake: #9d2216;
  --lake-koyu: #5a0c07;
  --parsomen-yazi: #3a2312;
  --parsomen-baslik: #6e1a0c;
  --parsomen-baglanti: #8c2a0f;
  --parsomen-cizgi: #b89b6a;
  --yan-yazi: #e2d2b0;
  --soluk: #a8946f;
  --yesil: #4f9e3c;
  --sari: #d9a521;
  --kirmizi: #d23a2c;
  --baslik-yazi: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  --govde-yazi: Tahoma, Verdana, "Segoe UI", sans-serif;
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cpath d='M0 13h4V5h10v6H8V9h4V7H6v6h14V1H2v2' fill='none' stroke='%23b0823d' stroke-width='1.6'/%3E%3Cpath d='M20 13h4V5h10v6h-6V9h4V7h-6v6h14V1H22v2' fill='none' stroke='%23b0823d' stroke-width='1.6'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--yan-yazi); font: 12.5px/1.6 var(--govde-yazi);
  background: #0d0604 url("../img/ahsap.jpg") repeat;
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 20%, transparent 30%, rgba(0,0,0,.65) 85%); z-index: 0; }
a { color: var(--altin); text-decoration: none; }
a:hover { color: var(--altin-acik); text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--baslik-yazi); font-weight: normal; line-height: 1.25; }
kbd {
  display: inline-block; min-width: 24px; padding: 0 6px; text-align: center; font: bold 11px/18px var(--govde-yazi); color: #1b0f08;
  background: linear-gradient(#f3d48c, #c08a3a); border: 1px solid #6b4316; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.5);
}
code { font-family: Consolas, monospace; }
.kucuk { font-size: 11px; }
.merkez { text-align: center; }
.sag-hiza { text-align: right; }

.sayfa { position: relative; z-index: 1; width: 1000px; max-width: 100%; margin: 0 auto; }

/* --------------------------------------------------------------- kafa: sahne + indir seridi */
.kafa { position: relative; }
.kafa-sahne {
  position: relative; height: 250px; overflow: hidden;
  background: url("../img/kafa.jpg") center 35% / cover no-repeat;
  border: 2px solid #000; border-bottom: 0; box-shadow: inset 0 0 0 1px var(--cerceve), inset 0 -60px 50px -20px rgba(10,4,2,.9);
}
.kafa-sahne::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(var(--cerceve-acik), var(--cerceve)); }
.logo { position: absolute; left: 50%; top: 4px; transform: translateX(-50%); width: 440px; max-width: 70%; z-index: 3; filter: drop-shadow(0 4px 12px rgba(0,0,0,.9)); }
.logo img { display: block; width: 100%; }
.kahraman { position: absolute; bottom: 0; height: 245px; width: auto; max-width: none; z-index: 2; filter: drop-shadow(0 0 10px rgba(0,0,0,.8)); pointer-events: none; }
.k-sol-1 { left: 10px; } .k-sol-2 { left: 120px; height: 225px; z-index: 1; }
.k-sag-1 { right: 10px; } .k-sag-2 { right: 120px; height: 225px; z-index: 1; }

.indir-serit {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 14px; width: 440px; max-width: 92%; margin: -46px auto 0; padding: 8px 18px 8px 10px;
  background: linear-gradient(#b3291b, #6d0f08 60%, #4e0905); border: 2px solid #000; border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--cerceve-acik), 0 6px 14px rgba(0,0,0,.7); color: #fff2d0;
}
.indir-serit:hover { text-decoration: none; filter: brightness(1.12); color: #fff; }
.indir-ok { flex: none; width: 40px; height: 40px; border-radius: 3px; background: linear-gradient(#fff, #d9d2c4); box-shadow: inset 0 0 0 2px #7a1a10; position: relative; }
.indir-ok::before { content: ""; position: absolute; left: 15px; top: 7px; width: 10px; height: 14px; background: #6a120b; }
.indir-ok::after { content: ""; position: absolute; left: 9px; top: 20px; border: 11px solid transparent; border-top: 12px solid #6a120b; }
.indir-yazi b { display: block; font: 18px var(--baslik-yazi); text-shadow: 0 2px 3px #000; }
.indir-yazi small { display: flex; gap: 14px; font-size: 11px; color: #f2d9a0; }
.indir-yazi small span + span::before { content: "\2022"; margin-right: 14px; color: var(--altin); }

.duyuru-serit { display: flex; margin: 14px 0 0; }
.duyuru-serit span { background: var(--lake); color: #fff3d6; padding: 5px 10px; font: bold 11px var(--govde-yazi); text-transform: uppercase; border: 1px solid #000; }
.duyuru-serit p { margin: 0; flex: 1; padding: 5px 10px; background: rgba(20,10,6,.85); border: 1px solid var(--cerceve); border-left: 0; }

/* --------------------------------------------------------------- uc sutun */
.govde { display: grid; grid-template-columns: 180px 1fr 190px; gap: 12px; margin-top: 16px; align-items: start; }
.govde.genis { grid-template-columns: 1fr; }
.orta { min-width: 0; }

/* sol menu: kirmizi lake dugmeler */
.menu ul { list-style: none; margin: 0 0 12px; padding: 8px; background: linear-gradient(#3a1c10, #1c0c07); border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--cerceve); }
.menu li + li { margin-top: 5px; }
.menu a {
  display: block; text-align: center; padding: 6px 4px; font: 13px var(--baslik-yazi); color: #f6deb0; text-shadow: 0 1px 2px #000;
  background: linear-gradient(#b32a1c, #7a150c 55%, #5c0d07); border: 1px solid #000; border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(240,190,110,.45), 0 2px 3px rgba(0,0,0,.6);
}
.menu a:hover, .menu a.aktif { text-decoration: none; color: #fff; background: linear-gradient(#d13b26, #93190e 55%, #6c0f08); }
.menu a.aktif { box-shadow: inset 0 0 0 1px var(--altin-acik), 0 0 8px rgba(255,120,60,.5); }
.menu-ac { display: none; }

/* yan kutular: ahsap cerceve, kirmizi baslik plakasi */
.yan-kutu { margin-bottom: 12px; background: linear-gradient(#24120b, #160a06); border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--cerceve); }
.yan-baslik {
  margin: 0; padding: 5px 8px; text-align: center; font: 14px var(--baslik-yazi); color: var(--altin-acik); text-shadow: 0 1px 2px #000;
  background: linear-gradient(#8e2216, #4f0a05); border-bottom: 1px solid var(--cerceve-acik);
}
.yan-ic { padding: 9px 10px; }
.yan-ic > :first-child { margin-top: 0; } .yan-ic > :last-child { margin-bottom: 0; }
.yan-ic p { margin: 6px 0; }
.durum-buyuk { margin: 0; font: 14px var(--baslik-yazi); display: flex; align-items: center; gap: 8px; }
.durum-buyuk i { width: 12px; height: 12px; border-radius: 50%; background: var(--soluk); flex: none; }
.durum-acik { color: #9ee08b; } .durum-acik i { background: var(--yesil); box-shadow: 0 0 8px var(--yesil); }
.durum-kapali { color: #ff8f84; } .durum-kapali i { background: var(--kirmizi); }
.durum-yakinda, .durum-bakim { color: #f1d07d; } .durum-yakinda i, .durum-bakim i { background: var(--sari); box-shadow: 0 0 8px rgba(217,165,33,.6); }
.acilis-etiket { margin: 8px 0 0 !important; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--soluk); }
.geri-sayim { margin: 0 !important; font: 17px var(--baslik-yazi); color: var(--altin-acik); }
.istatistik { display: grid; grid-template-columns: 1fr auto; gap: 3px 6px; margin: 0; }
.istatistik dt { color: var(--soluk); }
.istatistik dd { margin: 0; text-align: right; color: var(--altin-acik); font-weight: bold; }
.istatistik dd.soluk { color: var(--soluk); font-weight: normal; font-style: italic; }
.form-dar label { display: block; font-size: 11.5px; margin-bottom: 6px; color: var(--yan-yazi); }
.form-dar input { margin-top: 2px; padding: 5px 7px; }
.yan-resim { display: flex; align-items: center; gap: 10px; color: var(--yan-yazi); }
.yan-resim:hover { text-decoration: none; color: var(--altin-acik); }
.yan-resim small { color: var(--soluk); }
.yan-ikon-kutu { flex: none; width: 52px; height: 64px; display: flex; align-items: center; justify-content: center; background: radial-gradient(#3a2214, #120805); border: 1px solid var(--cerceve-acik); }
.yan-ikon-kutu img { max-height: 58px; }
.mini-sira { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.mini-sira li { counter-increment: s; display: flex; align-items: center; gap: 5px; padding: 3px 0; border-bottom: 1px dotted #3a2414; }
.mini-sira li::before { content: counter(s) "."; width: 16px; color: var(--altin); }
.mini-sira b { margin-left: auto; color: var(--altin-acik); }

/* --------------------------------------------------------------- orta: parsomen */
.kutu {
  position: relative; margin-bottom: 14px; color: var(--parsomen-yazi);
  background: #e6d6ae url("../img/parsomen.jpg") repeat; border: 2px solid #000;
  box-shadow: inset 0 0 0 1px var(--cerceve-acik), inset 0 0 30px rgba(90,55,20,.35), 0 4px 10px rgba(0,0,0,.6);
}
.kutu::before, .kutu::after { content: ""; position: absolute; left: 6px; right: 6px; height: 10px; background: var(--meander) repeat-x; background-size: 30px 10px; opacity: .45; pointer-events: none; }
.kutu::before { top: 36px; } .kutu::after { bottom: 4px; }
.kutu-baslik {
  margin: 0; padding: 7px 14px; font-size: 16px; color: var(--altin-acik); text-shadow: 0 1px 2px #000;
  background: linear-gradient(#5a2a14, #2c130a); border-bottom: 1px solid var(--cerceve-acik);
}
.kutu-baslik span { padding-left: 18px; position: relative; }
.kutu-baslik span::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -5px; transform: rotate(45deg); background: linear-gradient(135deg, var(--altin-acik), var(--altin-koyu)); }
.kutu-ic { padding: 18px 18px 20px; }
.kutu-ic > :first-child { margin-top: 0; } .kutu-ic > :last-child { margin-bottom: 0; }
.kutu a { color: var(--parsomen-baglanti); font-weight: bold; }
.kutu h1, .kutu h3, .kutu .ara-baslik { color: var(--parsomen-baslik); }
.ara-baslik { font-size: 15px; margin: 18px 0 6px; padding-bottom: 3px; border-bottom: 1px solid var(--parsomen-cizgi); }
.giris-metni { font-size: 13px; }
.kutu .kucuk { color: #6b5133; }

/* dugmeler */
.dugme {
  display: inline-block; text-align: center; padding: 9px 18px; cursor: pointer; font: 16px var(--baslik-yazi); color: #fff4d4 !important; text-shadow: 0 2px 3px #000;
  border: 1px solid #000; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,220,150,.4), 0 3px 6px rgba(0,0,0,.5); font-weight: normal !important;
}
.dugme:hover { text-decoration: none; filter: brightness(1.15); }
.dugme-kayit { background: linear-gradient(#c8321f, #7d120b 55%, #5e0c06); }
.dugme-indir { background: linear-gradient(#c99a42, #8a5a1d 55%, #613c11); }
.dugme-kucuk {
  display: inline-block; padding: 5px 14px; cursor: pointer; font: bold 11.5px var(--govde-yazi); color: #1d1007 !important;
  background: linear-gradient(#f0cf85, #b77f33); border: 1px solid #5a3712; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.dugme-kucuk.tam { width: 100%; }
.dugme-kucuk:hover { filter: brightness(1.1); text-decoration: none; }
.baglanti-dugme { background: none; border: 0; padding: 0; color: var(--altin); cursor: pointer; font: inherit; text-decoration: underline; }
.kutu .baglanti-dugme { color: var(--parsomen-baglanti); }

/* formlar */
input, select, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 7px 9px; font: 12.5px var(--govde-yazi); color: #2b1a0c;
  background: #fbf3df; border: 1px solid #8f7246; border-radius: 2px; box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
.yan-kutu input { background: #0b0504; color: #f3e6cb; border-color: var(--cerceve); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--parsomen-baglanti); box-shadow: 0 0 0 2px rgba(140,42,15,.25); }
.form label { display: block; margin-bottom: 11px; font-weight: bold; }
.form label small { font-weight: normal; color: #6b5133; }
.form .onay { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; }
.form .onay input { width: auto; margin-top: 3px; }
.form .dugme { width: 100%; }
.kutu-form .kutu-ic form, .kutu-form .kutu-ic > p { max-width: 430px; }
.kutu-form.dar { max-width: 420px; margin-left: auto; margin-right: auto; }
.gizli-alan { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cikis-form { margin-top: 12px; }
.satir-ici { display: inline; margin-left: 10px; }

.bildirim { padding: 9px 12px; margin-bottom: 12px; border: 1px solid; }
.bildirim ul { margin: 0; padding-left: 18px; }
.bildirim-hata { background: #f6d6cc; border-color: #a33a22; color: #6b1608; }
.bildirim-tamam { background: #dcebc8; border-color: #5c8a33; color: #2c4a12; }
.orta > .bildirim-hata { background: #3a0f0a; color: #ffb3a8; } .orta > .bildirim-tamam { background: #13250b; color: #c6f0a8; }

/* tablolar (parsomen uzerinde) */
.tablo { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 12px; }
.tablo th, .tablo td { padding: 5px 8px; border-bottom: 1px solid var(--parsomen-cizgi); text-align: left; vertical-align: top; }
.tablo thead th { background: linear-gradient(#5a2a14, #3a190c); color: var(--altin-acik); font: 12.5px var(--baslik-yazi); }
.tablo tbody tr:nth-child(even) { background: rgba(120, 80, 30, .07); }
.tablo tbody tr:hover { background: rgba(140, 42, 15, .08); }
.tablo-oran td { text-align: center; width: 62px; }
.tablo-kucuk { max-width: 380px; }
.tablo-tus th { width: 70px; text-align: center; vertical-align: middle; }
.tablo-takvim th { width: 90px; color: var(--parsomen-baslik); }
.tablo-takvim td:nth-child(2) { white-space: nowrap; }
.tablo-sira td:first-child { width: 36px; font-weight: bold; color: var(--parsomen-baslik); }
.tablo-sira tr.ilk-1 td { color: #9a6a00; font-weight: bold; } .tablo-sira tr.ilk-2 td { color: #6c6c6c; font-weight: bold; } .tablo-sira tr.ilk-3 td { color: #8a4a1a; font-weight: bold; }
.bilgi-listesi { display: grid; grid-template-columns: max-content 1fr; gap: 5px 14px; margin: 8px 0 12px; }
.bilgi-listesi dt { color: var(--parsomen-baslik); font-weight: bold; }
.bilgi-listesi dd { margin: 0; }
.ozet { word-break: break-all; font-size: 11px; }
.sinif-ikon { display: inline-block; width: 9px; height: 9px; margin-right: 5px; transform: rotate(45deg); background: var(--soluk); }
.s-savasci { background: #c7402c; } .s-ninja { background: #3aa36a; } .s-sura { background: #8a4fd0; } .s-saman { background: #3d8fd6; }
.krallik { padding: 1px 7px; font-size: 11px; color: #fff; }
.k-kirmizi.krallik { background: #8f1d14; } .k-sari.krallik { background: #8a6a12; } .k-mavi.krallik { background: #1f4a8a; }
.sekme { display: flex; gap: 4px; border-bottom: 2px solid #5a2a14; margin-bottom: 10px; }
.sekme a { padding: 5px 14px; background: #d8c49a; border: 1px solid #8f7246; border-bottom: 0; color: var(--parsomen-yazi) !important; }
.sekme a.aktif { background: linear-gradient(#5a2a14, #3a190c); color: var(--altin-acik) !important; }
.suzgec { max-width: 200px; margin-bottom: 8px; }
.sayfalama { display: flex; justify-content: space-between; margin-top: 10px; }
.bos-durum { text-align: center; padding: 6px 0; }
.bos-durum img { display: block; margin: 0 auto 10px; border: 2px solid #5a2a14; }

/* haberler */
.haber-satir { padding: 9px 0; border-bottom: 1px dashed var(--parsomen-cizgi); display: grid; grid-template-columns: auto 1fr auto; gap: 3px 10px; align-items: baseline; }
.haber-satir:last-of-type { border-bottom: 0; }
.haber-satir h3 { margin: 0; font-size: 14.5px; }
.haber-satir time { font-size: 11px; color: #6b5133; }
.haber-satir p { grid-column: 1 / -1; margin: 0; }
.haber-etiket { font-size: 10px; text-transform: uppercase; padding: 1px 6px; background: #5a2a14; color: var(--altin-acik); }
.e-yama { background: #3d5a1c; } .e-etkinlik { background: #8f1d14; } .e-bakim { background: #7a5e12; }
.haber-tam h1 { margin-top: 0; font-size: 22px; }
.haber-tarih { color: #6b5133; font-size: 12px; margin-top: -6px; }
.haber-metin { font-size: 13px; }

/* ana sayfa */
.karsilama { display: grid; grid-template-columns: 1fr 200px; gap: 14px; align-items: center; }
.karsilama h1 { margin: 0 0 8px; font-size: 22px; color: var(--parsomen-baslik); }
.karsilama-sayac { text-align: center; padding: 10px; background: linear-gradient(#3a190c, #1e0c06); border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--cerceve-acik); color: var(--yan-yazi); }
.karsilama-sayac span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--soluk); }
.karsilama-sayac b { font: 19px var(--baslik-yazi); color: var(--altin-acik); font-weight: normal; }
.karsilama-sayac .dugme { margin-top: 8px; width: 100%; font-size: 14px; padding: 7px; }
.plakalar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0 4px; padding: 0; list-style: none; }
.plakalar li {
  padding: 6px 10px; text-align: center; font: 12.5px var(--baslik-yazi); color: #f3dca8; text-shadow: 0 1px 2px #000;
  background: linear-gradient(#3e1d10, #1f0d07); border: 1px solid #000; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--cerceve);
}
.sinif-kartlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sinif-kart { display: block; text-align: center; padding: 6px 4px 8px; background: radial-gradient(ellipse at 50% 70%, #4a2414, #1a0b06 75%); border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--cerceve); color: var(--yan-yazi) !important; font-weight: normal !important; }
.sinif-kart:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--altin), 0 0 10px rgba(228,183,90,.4); }
.sinif-kart img { display: block; height: 170px; width: auto; margin: 0 auto; object-fit: contain; }
.sinif-ad { display: block; font: 15px var(--baslik-yazi); color: var(--altin-acik); }
.sinif-dal { display: block; font-size: 10.5px; color: var(--soluk); }

/* rehber */
.icindekiler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 10px; }
.icindekiler a { padding: 5px 8px; background: rgba(90,42,20,.12); border: 1px solid var(--parsomen-cizgi); font-weight: normal !important; }
.icindekiler a b { display: inline-block; width: 22px; color: var(--parsomen-baslik); font-family: var(--baslik-yazi); }
.capa { display: block; position: relative; top: -10px; }
.madde { padding-left: 18px; }
.madde li { margin-bottom: 5px; }
.madde li::marker { color: var(--parsomen-baslik); }
.yasak li::marker { content: "\2715  "; color: #a3261a; }
.sinif-uzun { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--parsomen-cizgi); }
.sinif-uzun img { width: 110px; background: radial-gradient(ellipse at 50% 70%, #4a2414, #1a0b06 75%); border: 2px solid #000; }
.sinif-uzun h3 { margin: 0 0 4px; font-size: 18px; }
.sinif-uzun h3 small { font: 11.5px var(--govde-yazi); color: #6b5133; }
.acilir { margin: 8px 0; border: 1px solid var(--parsomen-cizgi); background: rgba(255,250,235,.25); }
.acilir summary { cursor: pointer; padding: 6px 10px; color: var(--parsomen-baslik); font-family: var(--baslik-yazi); }
.acilir .tablo { margin: 0; }
.etiketler { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; list-style: none; }
.etiketler li { padding: 2px 9px; border: 1px solid #a3261a; background: #f2d7c9; color: #6b1608; font-size: 11.5px; }
.krallik-kartlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.krallik-kart { position: relative; padding: 12px 10px 8px; background: rgba(255,250,235,.3); border: 1px solid var(--parsomen-cizgi); }
.krallik-kart h3 { margin: 0 0 2px 26px; font-size: 17px; }
.krallik-kart p { font-size: 12px; margin: 4px 0; }
.krallik-yon { margin: 0 0 6px 26px !important; font-size: 10px !important; text-transform: uppercase; letter-spacing: .12em; color: #6b5133; }
.sancak { position: absolute; left: 10px; top: 10px; width: 16px; height: 34px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
/* Sancaklar oyunun kendi krallik bayragi dokusundan (effect/etc/empire/empire_*_256.dds) */
.k-kirmizi .sancak { background: #7c140c url("../portal/bayrak-kirmizi.png") 50% 50% / cover; } .k-kirmizi { border-top: 3px solid #a2231a; }
.k-sari .sancak { background: #8a6312 url("../portal/bayrak-sari.png") 50% 50% / cover; } .k-sari { border-top: 3px solid #b88a1a; }
.k-mavi .sancak { background: #1c3f7c url("../portal/bayrak-mavi.png") 50% 50% / cover; } .k-mavi { border-top: 3px solid #2f5fae; }
.sutunlar { display: grid; gap: 12px; }
.sutun-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sutunlar > .kutu { margin-bottom: 0; }
.adim-liste { padding-left: 20px; }
.adim-liste li { margin-bottom: 5px; }

/* esya ikonlari (oyun envanteri yuvasi) */
.yuvalar { display: flex; flex-wrap: wrap; gap: 3px; }
.yuva {
  position: relative; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(#2a1a10, #120a06); border: 1px solid #6b4a24; box-shadow: inset 0 0 0 1px #000, inset 0 0 6px rgba(0,0,0,.9);
}
.yuva.uzun { height: 74px; } .yuva.cok-uzun { height: 110px; }
.yuva img { max-width: 32px; max-height: 100%; image-rendering: auto; }
.yuva b { position: absolute; right: 2px; bottom: 0; font-size: 10px; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; }

/* --------------------------------------------------------------- alt */
.alt { margin-top: 16px; padding: 12px; text-align: center; font-size: 11px; color: var(--soluk); background: linear-gradient(#24120b, #120805); border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--cerceve); }
.alt-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 6px; font-size: 12px; }
.alt p { margin: 0; }
.sade { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.sade-kutu { padding: 30px; border: 2px solid #000; background: #e6d6ae url("../img/parsomen.jpg"); color: var(--parsomen-yazi); text-align: center; }

/* --------------------------------------------------------------- dar ekran */
@media (max-width: 1000px) {
  .sayfa { padding: 0 8px; }
  .govde { grid-template-columns: 160px 1fr; }
  .sag { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
  .sag .yan-kutu { margin: 0; }
  .k-sol-2, .k-sag-2 { display: none; }
}
@media (max-width: 680px) {
  .govde { grid-template-columns: 1fr; }
  .sol { order: -1; }
  .menu-ac { display: block; width: 100%; padding: 9px; margin-bottom: 8px; background: linear-gradient(#b32a1c, #5c0d07); border: 2px solid #000; color: var(--altin-acik); font: 15px var(--baslik-yazi); cursor: pointer; }
  .menu ul { display: none; }
  .menu.acik ul { display: block; }
  .sol .yan-kutu { display: none; }
  .kafa-sahne { height: 170px; }
  .kahraman { height: 160px; }
  .indir-serit { margin-top: -26px; }
  .indir-yazi b { font-size: 15px; }
  .karsilama, .sutun-2, .krallik-kartlar, .plakalar { grid-template-columns: 1fr; }
  .sinif-kartlar, .icindekiler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sinif-uzun { grid-template-columns: 1fr; }
  .tablo-oran { display: block; overflow-x: auto; }
  .haber-satir { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; animation: none !important; } }

/* nesne market */
.market-bakiye { font-size: 14px; padding: 6px 10px; background: rgba(90,42,20,.12); border-left: 3px solid #8a5a24; }
.market-tablo td { vertical-align: middle; }
.market-ikon { width: 46px; }
.market-fiyat { white-space: nowrap; font-weight: bold; color: #6b2a0c; }
.premium-yuva { color: #f3d27a; font: bold 18px var(--baslik-yazi); }
.market-tablo button[disabled] { opacity: .45; cursor: not-allowed; }

/* =====================================================================================
   PORTAL v2 - eski resmi Metin2 portali duzeni, Higgsfield ile uretilmis kendi parcalarimiz
   (Tools/heybet2_gorseller/portal/ham -> arac/portal_kes.ps1 -> assets/portal). Ustteki ayni
   secicileri ezer.
   ===================================================================================== */
body { background: #0a0605 url("../portal/desen.jpg") 0 0 / 420px repeat; }
body::before { background: radial-gradient(ellipse at 50% 0%, transparent 45%, rgba(0,0,0,.55) 100%); }
.sayfa { width: 1100px; }

/* ust sahne: ince manzara, iki kahraman cifti, logo, kiris */
.kafa-sahne {
  height: 215px; border: 0; box-shadow: inset 0 -40px 40px -20px rgba(8,4,2,.85);
  background: #120a14 url("../portal/manzara.jpg") center 58% / cover no-repeat;
}
.kafa-sahne::after { height: 14px; background: linear-gradient(#3a1f10, #6b3c1c 35%, #2a150a); box-shadow: inset 0 1px 0 #d6a24e, inset 0 -1px 0 #8c5d22, 0 3px 6px rgba(0,0,0,.7); z-index: 3; }
.kahraman { height: 208px; bottom: 12px; filter: drop-shadow(0 0 12px rgba(0,0,0,.85)); }
.k-sol { left: -6px; } .k-sag { right: -6px; }
.logo { width: 300px; top: 0; }

/* indir plakasi (ejderhali kirmizi lake) */
/* plaka banner'in alt kenarina yari yariya oturur: ust yarisi sahnede, alt yarisi icerigin ustunde */
.kafa { position: relative; z-index: 5; }
.indir-serit {
  position: absolute; left: 50%; bottom: -84px; transform: translateX(-50%); z-index: 6;
  display: block; width: 430px; max-width: 94%; aspect-ratio: 720 / 280; margin: 0; padding: 0;
  background: url("../portal/indir-plaka.webp") 0 0 / 100% 100% no-repeat; border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.75)); transition: filter .2s;
}
.indir-serit:hover { filter: drop-shadow(0 8px 14px rgba(0,0,0,.75)) brightness(1.1); }
.indir-yazi b { position: absolute; left: 29%; right: 12%; top: 35%; height: 30%; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; font: bold 13px/1.1 Tahoma, Verdana, sans-serif; color: #ffe8b4; text-shadow: 0 2px 3px #000, 0 0 10px rgba(0,0,0,.6); }
.indir-yazi small { position: absolute; left: 29%; right: 12%; top: 68.5%; height: 8.5%; display: flex; align-items: center; justify-content: center; gap: 12px; font: bold 10.5px var(--govde-yazi); color: #f6d690; }

/* uc sutun */
.govde { grid-template-columns: 210px minmax(0, 1fr) 210px; gap: 14px; margin-top: 12px; }
.govde:not(.genis) .orta { padding-top: 74px; }
.yan-duyuru p { margin: 0; font-weight: bold; color: #7a1a0c; }

/* yan paneller: oyma ahsap cerceve + parsomen + ejderhali kurdele baslik (9 dilim, olcek 0.31) */
.menu, .yan-kutu {
  position: relative; margin: 0; background: none; box-shadow: none; color: var(--parsomen-yazi);
  border-style: solid; border-width: 42px 14px 39px; border-image: url("../portal/panel.webp") 135 45 127 45 fill / 42px 14px 39px stretch;
}
.sol > * + *, .sag > * + * { margin-top: 38px; }
.sol > * + *::before, .sag > * + *::before {
  content: ""; position: absolute; left: -14px; right: -14px; top: -78px; height: 36px; pointer-events: none;
  background: url("../portal/zincir-ayrac.webp") center / 100% 100% no-repeat;
}
.yan-baslik, .menu::after {
  position: absolute; top: -24px; left: 24px; right: 24px; height: 20px; margin: 0; padding: 0; overflow: hidden; white-space: nowrap;
  background: none; border: 0; text-align: center; font: bold 12px/20px Tahoma, Verdana, sans-serif; color: #fff6e0; text-shadow: 0 1px 1px #000, 0 0 4px #3a0000;
}
.menu::after { content: "Menü"; }
.yan-ic { padding: 4px 4px 2px; }
.menu ul { margin: 0; padding: 2px 0; background: url("../portal/menu-dugme-ust.webp") -9999px -9999px no-repeat; border: 0; box-shadow: none; }
.menu li + li { margin-top: 3px; }
.menu a {
  /* kirmizi plaka resmin 24-73. satirlari (merkez %63): yazi plakanin ortasina */
  display: block; height: 46px; padding: 11px 30px 0; line-height: 36px; text-align: center; white-space: nowrap; overflow: hidden;
  font: bold 12px Tahoma, Verdana, sans-serif; color: #fff; text-shadow: 0 1px 1px #000, 0 0 4px #3a0000;
  background: url("../portal/menu-dugme.webp") center / 100% 100% no-repeat; border: 0; border-radius: 0; box-shadow: none;
}
.menu a:hover, .menu a.aktif { color: #fff; text-decoration: none; background: url("../portal/menu-dugme-ust.webp") center / 100% 100% no-repeat; box-shadow: none; }

/* yan panel icerigi parsomen uzerinde */
.yan-kutu a { color: var(--parsomen-baglanti); font-weight: bold; }
.yan-kutu input { background: #fbf3df; color: #2b1a0c; border-color: #8f7246; }
.form-dar label { color: var(--parsomen-yazi); font-weight: bold; }
.istatistik dt { color: #6b5133; }
.istatistik dd { color: var(--parsomen-baslik); }
.istatistik dd.soluk { color: #8a7250; }
.durum-acik { color: #2f7a1f; } .durum-kapali { color: #a3261a; } .durum-yakinda, .durum-bakim { color: #8a5a00; }
.acilis-etiket { color: #6b5133; }
.geri-sayim { color: var(--parsomen-baslik); }
.mini-sira li { border-bottom-color: #c9ad7c; }
.mini-sira li::before, .mini-sira b { color: var(--parsomen-baslik); }
.yan-resim { color: var(--parsomen-yazi) !important; font-weight: normal !important; }
.yan-resim small { color: #6b5133; }
.yan-ikon-kutu { border-color: #8c5d22; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
/* Oyunu indir / Nesne Market amblemleri (Higgsfield, portal/ham/amblem_*.png) */
.yan-amblem { display: block; text-align: center; color: var(--parsomen-yazi) !important; text-decoration: none !important; }
.yan-amblem img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 3px 8px rgba(0,0,0,.55); transition: transform .2s, filter .2s; }
.yan-amblem:hover img { transform: scale(1.03); filter: brightness(1.12) saturate(1.1); }
.yan-amblem span { display: block; margin-top: 5px; font: bold 12.5px Tahoma, Verdana, sans-serif; color: #7a1a0c; }
.yan-amblem small { display: block; font: 10.5px Tahoma, Verdana, sans-serif; color: #6b5133; }

/* altin eylem dugmesi (Giris yap vb.) */
.dugme-kucuk {
  height: 30px; padding: 0 38px 0 12px; line-height: 30px; border: 0; border-radius: 0; box-shadow: none;
  font: bold 11.5px Tahoma, Verdana, sans-serif; color: #fff !important; text-shadow: 0 1px 1px #000;
  background: url("../portal/eylem-dugme.webp") 0 0 / 100% 100% no-repeat;
}
.dugme-kucuk:hover { filter: none; background-image: url("../portal/eylem-dugme-ust.webp"); }

/* orta: oyma cerceveli genis parsomen (9 dilim) */
.kutu {
  margin-bottom: 16px; background: none; box-shadow: none;
  border-style: solid; border-width: 30px; border-image: url("../portal/orta-panel.webp") 80 fill / 30px round;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.55));
}
.kutu::before, .kutu::after { display: none; }
.kutu-baslik {
  position: relative; margin: -4px -4px 0; padding: 6px 12px 6px 36px; font: bold 14px Tahoma, Verdana, sans-serif; color: #8c1f0e; text-shadow: 0 1px 0 rgba(255,240,200,.6);
  background: linear-gradient(#ecd6a6, #d6b678); border: 1px solid #a47a3c; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(80,40,10,.35);
}
.kutu-baslik span { padding: 0; }
.kutu-baslik span::before {
  left: -26px; width: 16px; height: 16px; margin-top: -9px; transform: none; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ff7a5a, #b3261a 55%, #5c0d07); border: 2px solid #c9953e; box-shadow: 0 0 0 1px #5a3712;
}
.kutu-ic { padding: 14px 8px 6px; }

/* alt bilgi: kirmizi lake bant */
.alt {
  margin-top: 40px; padding: 16px 12px 18px; color: #e6c98e; border: 0; box-shadow: 0 -2px 0 #c9953e, inset 0 1px 0 rgba(255,220,150,.25);
  background: linear-gradient(#6d1209, #3a0805 60%, #1e0403);
}
.alt-menu a { color: #ffd98a; }
.alt-logo { display: block; width: 150px; margin: -46px auto 8px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.8)); }

@media (max-width: 1100px) {
  .sayfa { padding: 0 8px; }
  .govde { grid-template-columns: 210px minmax(0, 1fr); }
  .sag { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 38px 14px; }
  .sag > * + * { margin-top: 0; } .sag > * + *::before { display: none; }
}
@media (max-width: 760px) {
  .kafa-sahne { height: 150px; }
  .kahraman { height: 128px; }
  .logo { width: 220px; }
  .indir-serit { width: 340px; bottom: -66px; }
  .govde:not(.genis) .orta { padding-top: 0; }
  .govde { margin-top: 76px; }
  .indir-yazi b { font-size: 11.5px; white-space: normal; line-height: 1.15; } .indir-yazi small { font-size: 8.5px; gap: 5px; }
  .govde { grid-template-columns: 1fr; }
  .sol > * + *::before { display: none; }
  .menu::after { display: none; }
  .menu-ac { display: block; position: absolute; top: -26px; left: 24px; right: 24px; width: auto; height: 22px; margin: 0; padding: 0; background: none; border: 0; font: bold 13px var(--baslik-yazi); color: #ffe3a8; }
}
@media (max-width: 480px) {
  .kahraman { display: none; }
  .kafa-sahne { height: 120px; }
  .indir-serit { width: 300px; bottom: -58px; }
  .govde { margin-top: 66px; }
}

/* =====================================================================================
   PORTAL v3 - eski tip portal ayrintilari: sayfa boyu kirmizi ust bant, dar sutunlar,
   ikonlu menu gruplari, ten rengi form alanlari, bayrakli siralama, karakter karti.
   ===================================================================================== */
.sayfa { width: 1000px; }
.govde { grid-template-columns: 180px minmax(0, 1fr) 180px; }

/* ust bant: sayfanin tum genisliginde koyu kirmizi lake + ahsap kiris (kafanin arkasinda) */
.kafa::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 100vw; height: 229px; transform: translateX(-50%);
  background: linear-gradient(180deg, #1c0503 0, #4a0f08 30%, #6a170c 70%, #3a0a05 100%);
  box-shadow: inset 0 -14px 0 -2px #2a150a, inset 0 -16px 0 -2px #c9953e, 0 4px 10px rgba(0,0,0,.7);
}
/* ust resim (manzara + kahramanlar) tum ekran genisliginde: kahramanlar ekranin iki ucunda, logo ortada */
.kafa-sahne { width: 100vw; margin-left: calc(50% - 50vw); background-position: center 58%; }
@media (min-width: 1400px) { .kafa-sahne { height: 250px; } .kahraman { height: 240px; } .logo { width: 340px; } }
body { overflow-x: clip; }   /* sayfa boyu bant (100vw) kaydirma cubugu genisligi kadar tasmasin */

/* indir plakasi: buyuk yazi + Windows simgesi, altta adimlar */
.indir-yazi b { font-size: 16.5px; gap: 8px; }
.indir-yazi b .ikon { width: 17px; height: 17px; fill: #ffe9a8; flex: none; }
.indir-yazi small { gap: 0; font: bold 10px Tahoma, Verdana, sans-serif; color: #f6d690; white-space: nowrap; }

/* ikonlar */
.ikon { display: inline-block; width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; }

/* menu gruplari: her grup kendi panelinde, baslik kurdelede; dugmede solda ikon */
.menu::after { content: attr(data-baslik); }
.menu a { position: relative; padding-left: 34px; padding-right: 22px; text-align: center; line-height: 36px; }
.menu a .ikon { position: absolute; left: 20px; top: 22px; width: 13px; height: 13px; fill: #ffe7b0; filter: drop-shadow(0 1px 1px #000); }

/* eylem dugmeleri: ikon + yazi; cikis dugmesi parsomende okunur */
.dugme-kucuk { display: block; text-align: left; }
.dugme-kucuk .ikon { width: 12px; height: 12px; margin-right: 6px; fill: #ffe7b0; }
.dugme-kucuk + .dugme-kucuk, form > .dugme-cikis { margin-top: 6px; }
.yan-kutu p:has(> .dugme-kucuk) { margin: 6px 0 0; }

/* form alanlari: eski portaldaki ten rengi, ice gomuk */
.kutu input:not([type="checkbox"]):not([type="radio"]), .kutu select, .kutu textarea, .yan-kutu input {
  background: linear-gradient(#cfb381, #e2cc9f 40%, #e6d3a9); color: #2b1a0c; border: 1px solid #7d5c2e;
  box-shadow: inset 0 1px 3px rgba(60,30,5,.55); border-radius: 0;
}
.kutu input::placeholder, .yan-kutu input::placeholder { color: #8a6c40; }

/* bayrak: oyunun krallik bayragi dokusu */
.sira-bayrak { display: inline-block; width: 30px; height: 16px; vertical-align: middle; border: 1px solid #3a2410; box-shadow: 0 1px 2px rgba(0,0,0,.4); background: #555 50% 50% / cover no-repeat; }
.sira-bayrak.k-kirmizi { background-image: url("../portal/bayrak-kirmizi.png"); }
.sira-bayrak.k-sari { background-image: url("../portal/bayrak-sari.png"); }
.sira-bayrak.k-mavi { background-image: url("../portal/bayrak-mavi.png"); }

/* sag sutun: ilk 10 */
.mini-sira { margin: 0 0 8px; padding: 0; list-style: none; }
.mini-sira li { padding: 0; border-bottom: 1px solid #c9ad7c; }
.mini-sira li::before { display: none; }
.mini-sira a { display: flex; align-items: center; gap: 4px; padding: 3px 2px; color: var(--parsomen-yazi) !important; font: bold 11.5px Tahoma, Verdana, sans-serif; white-space: nowrap; overflow: hidden; text-decoration: none !important; }
.mini-sira a:hover { background: rgba(140,42,15,.1); }
.ms-no { color: #9a1a0c; }
.mini-sira .sira-bayrak { margin-left: auto; width: 26px; height: 14px; flex: none; }

/* siralama sayfasi */
.alt-serit {
  position: relative; margin: 16px -4px 10px; padding: 6px 12px 6px 36px; text-align: center; font: bold 14px Tahoma, Verdana, sans-serif; color: #8c1f0e;
  background: linear-gradient(#ecd6a6, #d6b678); border: 1px solid #a47a3c; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(80,40,10,.35);
}
.alt-serit::before {
  content: ""; position: absolute; left: 8px; top: 50%; width: 16px; height: 16px; margin-top: -9px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ff7a5a, #b3261a 55%, #5c0d07); border: 2px solid #c9953e; box-shadow: 0 0 0 1px #5a3712;
}
.sekme-plaka { justify-content: center; gap: 12px; border: 0; margin: 4px 0 6px; }
.sekme-plaka a {
  display: flex; align-items: center; gap: 8px; min-width: 150px; height: 46px; padding: 11px 26px 0; line-height: 36px; justify-content: center;
  font: bold 12.5px Tahoma, Verdana, sans-serif; color: #fff !important; text-shadow: 0 1px 1px #000; text-decoration: none !important;
  background: url("../portal/menu-dugme.webp") center / 100% 100% no-repeat; border: 0;
}
.sekme-plaka a.aktif, .sekme-plaka a:hover { background: url("../portal/menu-dugme-ust.webp") center / 100% 100% no-repeat; color: #ffe9a8 !important; }
.sekme-plaka .ikon { fill: #ffe7b0; }

.krallar { display: flex; justify-content: center; align-items: flex-end; gap: 16px; margin: 18px 0 6px; }
.kral {
  position: relative; display: flex; flex-direction: column; align-items: center; width: 130px; padding: 30px 8px 12px; cursor: pointer;
  background: linear-gradient(#4a0d08, #2a0604); border: 2px solid #b8862f; border-radius: 6px; box-shadow: inset 0 0 0 1px #000, 0 6px 14px rgba(0,0,0,.5);
  color: #fff4dc; font: inherit; transition: transform .15s, box-shadow .15s;
}
.kral:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #000, 0 0 16px rgba(228,183,90,.6); }
.kral-1 { width: 150px; padding-top: 40px; padding-bottom: 22px; background: linear-gradient(#1c1450, #0c0828); border-color: #e4b75a; }
.kral-no {
  position: absolute; top: -13px; left: 50%; margin-left: -13px; width: 26px; height: 26px; border-radius: 50%; line-height: 22px; text-align: center;
  font: bold 13px Tahoma, Verdana, sans-serif; color: #3a2408; background: radial-gradient(circle at 40% 35%, #fff, #c9c9c9 60%, #7a7a7a); border: 2px solid #5a4a2a;
}
.kral-1 .kral-no { background: radial-gradient(circle at 40% 35%, #fff6c8, #e4b75a 60%, #8a5a12); }
.kral-3 .kral-no { background: radial-gradient(circle at 40% 35%, #ffd0a8, #b8763a 60%, #6a3a12); }
.kral-tac::before { content: "\265B"; display: block; font-size: 30px; line-height: 1; color: #e4b75a; text-shadow: 0 0 10px rgba(228,183,90,.6); }
.kral-yuz { width: 56px; height: 56px; margin: 8px 0; border-radius: 50%; border: 3px solid #e4b75a; box-shadow: 0 0 0 2px #000, 0 0 12px rgba(228,183,90,.45); background: #000; }
.kral-1 .kral-yuz { width: 66px; height: 66px; }
.kral b { font: bold 13px Tahoma, Verdana, sans-serif; }
.kral small { margin-top: 2px; font-size: 10.5px; color: #e6c98e; }

.tablo-karakter th, .tablo-karakter td { text-align: center; vertical-align: middle; }
.tablo-karakter thead th { background: linear-gradient(#ecd6a6, #d6b678); color: #8c1f0e; font: bold 12px Tahoma, Verdana, sans-serif; border: 1px solid #c4a46c; }
.tablo-karakter td { border: 1px solid #d7c093; font: bold 12px Tahoma, Verdana, sans-serif; }
.tablo-karakter tbody tr { cursor: pointer; }
.tablo-karakter tbody tr:hover, .tablo-karakter tbody tr:focus { background: rgba(140,42,15,.14); outline: none; }
.sira-ad { color: #3a1a08; }
.tablo-karakter tbody tr:hover .sira-ad { color: #9a1a0c; text-decoration: underline; }
.sira-yuz { display: block; margin: 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #b8862f; box-shadow: 0 0 0 1px #3a2410; }

/* karakter karti (siralamada karaktere tiklayinca) */
.karakter-pencere { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.65); }
.karakter-pencere[hidden] { display: none; }
.karakter-kart {
  position: relative; width: 360px; max-width: 100%; padding: 16px 18px 12px; color: #f0dcae;
  background: linear-gradient(#2a0f08, #170804); border: 2px solid #000; box-shadow: inset 0 0 0 1px #c9953e, inset 0 0 24px rgba(0,0,0,.7), 0 10px 30px rgba(0,0,0,.8);
}
.kk-kapat { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border: 0; background: none; color: #e6c98e; font-size: 20px; cursor: pointer; }
.kk-ust { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #5a3a1a; }
.kk-yuz { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #e4b75a; box-shadow: 0 0 0 2px #000; }
.kk-ust h3 { margin: 0; font: bold 18px Tahoma, Verdana, sans-serif; color: #ffe3a0; }
.kk-alt { margin: 2px 0 0; font-size: 12px; color: #c9ad7c; }
.kk-bayrak { margin-left: auto; width: 40px; height: 21px; }
.kk-bilgi { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0 4px; font-size: 12.5px; }
.kk-bilgi dt { color: #c9ad7c; }
.kk-bilgi dd { margin: 0; font-weight: bold; color: #fff1d0; text-align: right; }

/* tam sayfa (tanitim): yan bosluk yok, ust bant ve icerik ekran genisliginde */
.sayfa.sayfa-tam { width: auto; max-width: none; padding: 0 14px; }


@media (max-width: 1100px) {

  .govde { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .govde { grid-template-columns: 1fr; }
  .krallar { gap: 8px; } .kral { width: 31%; padding-left: 4px; padding-right: 4px; } .kral-1 { width: 34%; }
  .tablo-karakter th:nth-child(6), .tablo-karakter td:nth-child(6) { display: none; }
}

/* =====================================================================================
   Dil destegi: bayrakli dil secici, alt bilgide dil baglantilari, tarayici dili onerisi, RTL (Arapca)
   ===================================================================================== */
.atla { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 6px 12px; background: #000; color: #ffe8b4; }
.atla:focus { left: 8px; top: 8px; }
.logo picture { display: block; }
.karsilama-slogan { margin: 0 0 8px; font: italic 15px var(--baslik-yazi); color: #7a1a0c; }

.dil-sec { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 20; font: bold 12px Tahoma, Verdana, sans-serif; }
.dil-sec > summary {
  display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; list-style: none; cursor: pointer; color: #ffe8b4;
  background: linear-gradient(#5a1a0e, #2a0b05); border: 1px solid #c9953e; border-radius: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,220,150,.25);
}
.dil-sec > summary::-webkit-details-marker { display: none; }
.dil-sec > summary::after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-top-color: #e4b75a; margin-top: 4px; }
.dil-sec > summary:hover, .dil-sec[open] > summary { filter: brightness(1.15); }
.dil-sec > summary img { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px #c9953e; }
.dil-panel {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; width: 600px; max-width: calc(100vw - 16px); padding: 12px 10px 14px;
  background: #0d0806 linear-gradient(#1a0f0a, #0b0604); border: 1px solid #c9953e; outline: 1px solid #000; box-shadow: 0 10px 30px rgba(0,0,0,.85);
}
.dil-panel-baslik { display: flex; align-items: center; gap: 6px; margin: 0 4px 8px; color: #e4b75a; font-size: 12px; }
.dil-panel-baslik .ikon { width: 16px; height: 16px; fill: currentColor; }
.dil-panel ul { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px 4px; margin: 0; padding: 0; list-style: none; }
.dil-panel a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px; color: #d9cbb0; font: 11.5px Tahoma, Verdana, sans-serif; text-align: center; border-radius: 6px; }
.dil-panel a:hover, .dil-panel a:focus-visible { color: #fff; text-decoration: none; background: rgba(228,183,90,.1); }
.dil-panel img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px #3a2414, 0 3px 6px rgba(0,0,0,.7); transition: transform .15s; }
.dil-panel a:hover img { transform: scale(1.08); }
.dil-panel a.secili { color: #ffe8b4; font-weight: bold; }
.dil-panel a.secili img { box-shadow: 0 0 0 2px #e4b75a, 0 3px 6px rgba(0,0,0,.7); }
@media (max-width: 640px) {
  .dil-panel { position: fixed; top: 48px; left: 8px; right: 8px; width: auto; max-width: none; }
  .dil-panel ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.alt-diller { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 12px; margin: 2px 0 8px; font-size: 11px; }
.alt-diller a { color: #d6b678; }

.dil-oneri {
  position: fixed; inset-inline-end: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); padding: 8px 8px 8px 12px;
  background: #1a0f0a; border: 1px solid #c9953e; box-shadow: 0 6px 20px rgba(0,0,0,.8); color: #e2d2b0; font-size: 12px;
}
.dil-oneri[hidden] { display: none; }
.dil-oneri p { margin: 0; }
.dil-oneri a { font-weight: bold; white-space: nowrap; }
.dil-oneri button { padding: 0 6px; background: none; border: 0; color: #a8946f; font-size: 18px; line-height: 1; cursor: pointer; }

/* SSS (Metin2 PVP Server sayfasi) */
.sss details { margin-bottom: 8px; border: 1px solid var(--parsomen-cizgi); background: rgba(255,248,225,.35); }
.sss summary { padding: 8px 12px; cursor: pointer; list-style-position: inside; }
.sss summary h3 { display: inline; margin: 0; font-size: 14px; }
.sss details p { margin: 0; padding: 0 12px 10px; }

/* Arapca: sagdan sola. Izgara ve flex dizilimi yon degisince kendiliginden doner; burada yazi tipi ve tek yonlu kenar bosluklari */
[lang="ar"] { --baslik-yazi: Tahoma, "Segoe UI", Arial, sans-serif; }
[dir="rtl"] body { font-size: 13.5px; }
[dir="rtl"] .madde, [dir="rtl"] .adim-liste { padding-right: 22px; padding-left: 0; }
[dir="rtl"] .kutu-baslik { padding: 6px 36px 6px 12px; }
[dir="rtl"] .kutu-baslik span::before { left: auto; right: -26px; }
[dir="rtl"] .sag-hiza { text-align: left; }
[dir="rtl"] code, [dir="rtl"] kbd, [dir="rtl"] .ozet { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .mini-sira .sira-bayrak { margin-left: 0; margin-right: auto; }
[dir="rtl"] .kafa-sahne { margin-left: 0; margin-right: calc(50% - 50vw); }

/* Acik beta ve buyuk acilis */
.beta-etiket { display: inline-block; padding: 1px 8px; font: bold 10px Tahoma, Verdana, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; color: #fff !important;
  background: linear-gradient(#2f8a2a, #17541a); border: 1px solid #8fd27a; border-radius: 3px; box-shadow: 0 0 8px rgba(80,200,80,.45); vertical-align: middle; }
.karsilama-sayac .beta-etiket { display: block; width: max-content; margin: 0 auto 6px; }
.karsilama-sayac .geri-sayim-gun { display: block; margin-top: 2px; font-size: 13px; color: #8fd27a; }
.beta-not { margin: 0 0 8px; padding: 6px 10px; background: rgba(47,138,42,.12); border-inline-start: 3px solid #2f8a2a; }
.acilis-tarih { margin: 0 !important; font: 14px var(--baslik-yazi); color: var(--parsomen-baslik); }
.acilis-sayac .geri-sayim-gun { font-size: 12px; color: #2f6a24; }

/* ---------------------------------------------------------------- sosyal medya */
.sosyal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.sosyal a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border: 1px solid rgba(255, 217, 138, .35); border-radius: 16px; color: #ffd98a; font-size: 12px; text-decoration: none; background: rgba(20, 8, 4, .55); transition: background .15s, border-color .15s; }
.sosyal a:hover, .sosyal a:focus-visible { background: rgba(120, 30, 20, .7); border-color: #ffd98a; }
.sosyal .ikon { width: 16px; height: 16px; fill: currentColor; }
.sosyal .sosyal-instagram:hover { background: linear-gradient(45deg, #8a3a17, #9b1f4f 55%, #4b2a8a); }
.alt-sosyal { margin: 4px 0 8px; }
.sosyal-liste { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sosyal-liste a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #b08a4a; background: rgba(255, 240, 200, .35); color: #3a1d08; text-decoration: none; }
.sosyal-liste a:hover { background: rgba(255, 240, 200, .7); }
.sosyal-liste .ikon { grid-row: 1 / 3; width: 36px; height: 36px; fill: #8b1a1a; }
.sosyal-liste b { font-size: 16px; }
.sosyal-liste span { font-size: 12px; color: #6b4a22; }
