/* Theme Override: Ana site görünümünü wiki'ye uyarlama (sadece wiki klasörü) */
/* Font yüzleri (ana sitenin fontları) - relative path: ../../assets/ThemeSpecialOne/fonts/ */
@font-face {font-family:'Albertus Nova';src:url('../../fonts/AlbertusNovaBlack.woff2') format('woff2'),url('../../fonts/AlbertusNovaBlack.woff') format('woff');font-weight:900;font-style:normal;}
@font-face {font-family:'Albertus Nova';src:url('../../fonts/AlbertusNovaLight.woff2') format('woff2'),url('../../fonts/AlbertusNovaLight.woff') format('woff');font-weight:300;font-style:normal;}
@font-face {font-family:'Albertus Nova';src:url('../../fonts/AlbertusNovaThin.woff2') format('woff2'),url('../../fonts/AlbertusNovaThin.woff') format('woff');font-weight:100;font-style:normal;}
@font-face {font-family:'Albertus Nova';src:url('../../fonts/AlbertusNova.woff2') format('woff2'),url('../../fonts/AlbertusNova.woff') format('woff');font-weight:400;font-style:normal;}
@font-face {font-family:'Onest';src:url('../../fonts/Onest-Regular.ttf') format('truetype');font-weight:400;font-style:normal;}
@font-face {font-family:'Onest';src:url('../../fonts/Onest-Bold.ttf') format('truetype');font-weight:700;font-style:normal;}
@font-face {font-family:'Onest';src:url('../../fonts/Onest-Light.ttf') format('truetype');font-weight:300;font-style:normal;}

/* Renk değişkenleri site temasıyla uyumlu */
:root {
  --wiki-bg-a:#120804; /* daha koyu alt ton */
  --wiki-bg-b:#24110a;
  --wiki-bg-c:#1b0d07;
  --wiki-bg-img:url('../../images/arkaplan.png'); /* kritik: arkaplan.png */
  --wiki-accent:#d1ab65;
  --wiki-accent-hover:#f8d88c;
  --wiki-accent-alt:#b5935a;
  --wiki-panel:#381b15;
  --wiki-panel-alt:#2c1810;
  --wiki-panel-grad:linear-gradient(180deg,#381b15 0%,#2c1810 100%);
  --wiki-border:#43241b;
  --wiki-border-soft:#3b1510;
  --wiki-border-strong:#5a2e20;
  --wiki-text:#c9b6a2;
  --wiki-text-strong:#f8d88c;
  --wiki-text-soft:#99816e;
  --wiki-muted:#8e6f58;
  --wiki-danger:#d74e3d;
  --wiki-shadow:0 4px 18px -4px rgba(0,0,0,.65);
}

body {font-family:'Onest','Albertus Nova',sans-serif; background:
  radial-gradient(circle at 50% 30%,rgba(120,60,20,.02),transparent 60%), /* sıcak parıltıyı minimize et */
  linear-gradient(180deg,rgba(16,10,6,.92) 0%,rgba(18,11,7,.9) 340px,rgba(20,12,8,.88) 720px,rgba(16,10,6,.92) 100%),
  var(--wiki-bg-img) center / cover fixed,
  linear-gradient(145deg,var(--wiki-bg-a),var(--wiki-bg-b));
  background-blend-mode:normal,overlay,normal,normal; color:var(--wiki-text); position:relative;}
/* Genel vignette: karakterleri ortaya çıkarmak için kenarları karart */
body:after {content:""; position:fixed; inset:0; pointer-events:none; background:
  radial-gradient(circle at 52% 50%,rgba(0,0,0,0) 40%,rgba(0,0,0,.3) 70%,rgba(0,0,0,.55) 100%),
  linear-gradient(90deg,rgba(0,0,0,.5),transparent 25%,transparent 75%,rgba(0,0,0,.5)),
  linear-gradient(180deg,rgba(40,28,20,.35),rgba(24,16,12,.35)); /* kırmızıyı nötrleştir */
 mix-blend-mode:normal; z-index:-1;}
/* Hero tamamen kaldırıldı */
.wiki-hero, .wiki-hero-inner, .wiki-hero-logo, .wiki-hero:before, .wiki-hero:after {display:none!important;}
/* Daha da fazla koyulaştırma gerekiyorsa brightness değerini .72'ye indirebilirsin */
@keyframes heroFloat { 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(10px);} }
.wiki-hero-actions {display:flex; flex-direction:column; align-items:center; gap:18px; width:100%;}
.wiki-hero-search {display:flex; gap:10px; background:linear-gradient(145deg,rgba(56,27,21,.75),rgba(44,20,14,.75)); padding:12px 16px; border:1px solid var(--wiki-border-strong); border-radius:16px; backdrop-filter:blur(4px); width:min(620px,92%); box-shadow:0 6px 24px -8px rgba(0,0,0,.65);} 
.wiki-hero-search-input {flex:1; background:transparent; border:none; color:var(--wiki-text); font-size:.8rem; letter-spacing:.4px;}
.wiki-hero-search-input:focus {outline:none;}
.wiki-hero-search-btn {cursor:pointer; padding:12px 26px 11px; border-radius:12px; font-size:.62rem; letter-spacing:.55px; font-weight:700; box-shadow:0 3px 14px -4px rgba(0,0,0,.6);} 
.wiki-hero-nav {display:flex; gap:14px; flex-wrap:wrap; justify-content:center; font-size:.62rem; letter-spacing:.5px;}
.wiki-hero-nav a {padding:9px 14px 8px; background:linear-gradient(160deg,#3a1d10,#2a1811); border:1px solid var(--wiki-border-strong); border-radius:14px; color:var(--wiki-accent-alt); text-decoration:none; font-weight:600; position:relative; overflow:hidden; box-shadow:0 2px 10px -4px rgba(0,0,0,.65);} 
.wiki-hero-nav a:before {content:""; position:absolute; inset:0; background:radial-gradient(circle at 60% 40%,rgba(255,200,120,.18),transparent 70%); opacity:.35; mix-blend-mode:overlay;}
.wiki-hero-nav a:hover {background:linear-gradient(160deg,#4a2614,#352016); color:var(--wiki-accent-hover);} 
@media (max-width:640px){ .wiki-hero{padding:40px 0 24px;} .wiki-hero-logo{width:85%;} .wiki-hero-search{gap:6px;} }

/* Üst ince şerit yerine tema rengi */
nav {background:rgba(0,0,0,.4)!important; height:8px!important; box-shadow:0 0 6px rgba(0,0,0,.7);}

h1,h2,h3,h4 {font-family:'Albertus Nova','Onest',serif; letter-spacing:.5px; color:var(--wiki-accent-hover); text-shadow:0 0 6px rgba(226,171,85,.25);}

/* Kart / panel tipleri */
.hp-panel, .panel, .rx-box, .boss-icon, .rx-q, .tile, .char-card, .hp-side-box, .mini-cat, .r2-class, .r2-box, .r2-collapse-link {background:var(--wiki-panel-grad); border:1px solid var(--wiki-border); box-shadow:var(--wiki-shadow);} 
.panel-list li, .im-item {background:var(--wiki-panel-alt); border:1px solid var(--wiki-border-soft);} 
.hp-panel:before, .panel:before, .boss-icon .img-wrap:after {display:none;}

/* Grid kart çizgileri */
.boss-icon {border-radius:18px; transition:.25s border-color,.25s transform,.25s box-shadow;}
.boss-icon:hover {border-color:var(--wiki-accent); box-shadow:0 0 0 1px var(--wiki-accent),0 6px 18px -4px rgba(0,0,0,.75); transform:translateY(-4px);} 

/* Başlık etiketleri */
.boss-icon .b-label {color:var(--wiki-text);}

/* Modal */
.boss-modal-content {background:var(--wiki-panel-grad); border:1px solid var(--wiki-border-strong);} 
.bm-close {background:#3a281d;}
.bm-close:hover {background:#523726;}

/* Linkler */
a {color:var(--wiki-accent-alt); text-decoration:none;}
a:hover {color:var(--wiki-accent-hover); text-shadow:0 0 6px rgba(248,216,140,.25);} 

/* Tablo & liste stilleri uyum */
.table th {background:#3b1510;color:var(--wiki-text);} 
.table td, .table th {border-color:var(--wiki-border-soft);} 
.table tbody tr:nth-child(odd){background:rgba(59,21,15,.55);} 
.table tbody tr:nth-child(even){background:rgba(59,21,15,.35);} 

/* Buton genel */
.btn, button, .rx-more, .r2-more, .bm-close, .hp-item, .mmi-thumb, .v2-feature-card, .r2-btn, .r2-more, .r2-search-btn, .rx-q, .rx-more {background:url('../../assets/ThemeSpecialOne/images/btn-primary.png') center/cover no-repeat, #3a281d; border:1px solid var(--wiki-border-strong); color:var(--wiki-accent-alt); font-family:'Onest'; font-size:.72rem; letter-spacing:.4px; text-transform:uppercase; font-weight:600;}
/* Haber kartlarına özel renk varyantları */
.r2-news--metin { --r2-btn-bg:linear-gradient(120deg,#6a351a,#7d4323); --r2-btn-border:#9a5a34; }
.r2-news--boss { --r2-btn-bg:linear-gradient(120deg,#5a1f1f,#7a2d25); --r2-btn-border:#a2362a; }
.r2-news--dungeon { --r2-btn-bg:linear-gradient(120deg,#243f4d,#2f5564); --r2-btn-border:#3d6f82; }
.r2-news--metin .r2-news-more,
.r2-news--boss .r2-news-more,
.r2-news--dungeon .r2-news-more { background:var(--r2-btn-bg)!important; border:1px solid var(--r2-btn-border)!important; color:#ffe3b3!important; box-shadow:0 2px 10px -4px rgba(0,0,0,.65)!important; }
.r2-news--metin .r2-news-more:hover,
.r2-news--boss .r2-news-more:hover,
.r2-news--dungeon .r2-news-more:hover { filter:brightness(1.12); color:#fff!important; }
/* === Haber kartı arka planlarını lacivert tondan kahverengiye çevir & inline değişkenleri ez === */
.r2-news {background:#1a0d07; border:1px solid #3b1510;}
/* Inline style içindeki --news-* değişkenlerini by-pass etmek için pseudo katmanları direkt override ediyoruz */
.r2-news--metin:before,
.r2-news--boss:before,
.r2-news--dungeon:before {content:""; position:absolute; inset:0; background:
 linear-gradient(140deg,rgba(90,50,25,.55),rgba(30,15,8,.85)), var(--img,none)!important; background-size:var(--news-bg-size,cover)!important; background-position:var(--news-bg-position,center)!important; background-repeat:no-repeat!important; opacity:.92!important; filter:brightness(.78)!important;}
.r2-news--metin:after,
.r2-news--boss:after,
.r2-news--dungeon:after {content:""; position:absolute; inset:0; background:rgba(18,9,5,.55)!important;}
/* Kart iç yazıları kahverengi temaya uygun */
.r2-news-title {color:#f3d9a2!important; text-shadow:0 0 6px rgba(0,0,0,.55)!important;}
.r2-news-text {color:#d1b89c!important;}
/* Butonları global olarak kahverengi tabana çek; varyantlar yine degrade ekler */
.r2-news-more {background:linear-gradient(120deg,#5a3520,#422315)!important; border:1px solid #704427!important; color:#f0d5a2!important;}
.r2-news-more:hover {filter:brightness(1.15)!important; color:#fff!important;}
/* Dungeon varyantı (mavi) kahverengi uyum için nötralize edilsin */
.r2-news--dungeon .r2-news-more {background:linear-gradient(120deg,#4a3322,#3a2418)!important; border-color:#69442b!important;}
/* Eğer dungeon farklı (mavi) kalacaksa yukarıdaki satırı kaldırıp eski degrade bırak */
.r2-news--dungeon .r2-news-title a { color:#d4eef9; }
.r2-news--boss .r2-news-title a { color:#ffd1c2; }
.r2-news--metin .r2-news-title a { color:#f8d88c; }
/* ALT GRID (r2-alt) kahverengi uyum ve tutarlı renkler */
.r2-altgrid {gap:12px!important;}
.r2-alt {background:linear-gradient(155deg,#3a1d10,#2a1811 60%,#25130d)!important; border:1px solid #4a2617!important; color:#d8c2aa!important; box-shadow:0 2px 10px -4px rgba(0,0,0,.7); transition:.25s background,.25s transform,.25s box-shadow; position:relative; overflow:hidden;}
.r2-alt:before {content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 35%,rgba(255,200,130,.15),transparent 65%); mix-blend-mode:overlay; opacity:.5; pointer-events:none;}
.r2-alt img {width:30px; height:30px; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 0 4px rgba(0,0,0,.6));}
.r2-alt span {flex:1; font-weight:600; letter-spacing:.4px; color:#f3d5ad!important; text-shadow:0 0 4px rgba(0,0,0,.55);} 
.r2-alt:hover {background:linear-gradient(155deg,#4a2614,#331c13 55%,#2d170f)!important; border-color:#64341e!important; box-shadow:0 4px 18px -6px rgba(0,0,0,.75); transform:translateY(-3px);} 
.r2-alt:active {transform:translateY(-1px);}
.r2-alt:focus-visible {outline:2px solid var(--wiki-accent-hover); outline-offset:2px;}

/* Sınıf portre kutuları (siyah tabanı kaldır) */
/* Bazı sayfalarda yalnızca <img src="..._icon.png"> tek başına kullanılmış; wrapper yoksa da aynı görünümü ver */
.r2-class-portrait,
.r2-class-portrait .img-wrap {background:linear-gradient(145deg,#3a1d10,#2a1811)!important; border:1px solid #4a2617!important; box-shadow:0 2px 10px -4px rgba(0,0,0,.7); position:relative; border-radius:22px; display:flex; align-items:center; justify-content:center; padding:6px;}
/* Orijinal CSS'teki koyu pseudo overlay'leri gizle */
.r2-class-portrait:after,
.r2-class-portrait .img-wrap:after {display:none!important;}
.r2-class-portrait:before,
.r2-class-portrait .img-wrap:before {content:""; position:absolute; inset:0; background:radial-gradient(circle at 60% 35%,rgba(255,200,130,.18),transparent 65%); mix-blend-mode:overlay; opacity:.55; pointer-events:none; border-radius:inherit;}
.r2-class-portrait img {max-width:90%!important; max-height:90%!important; width:auto; height:auto; object-fit:contain; filter:drop-shadow(0 0 10px rgba(0,0,0,.7)) drop-shadow(0 0 4px rgba(209,171,101,.35));}
/* Wrapper olmayan ikonlara (savaşçı / ninja / sura vs) attribute selector ile aynı stil */
img[src*="savasci_icon"],
img[src*="ninja_icon"],
img[src*="sura_icon"],
img[src*="saman_icon"],
img[src*="lycan_icon"],
img[src*="warrior_icon"],
img[src*="assassin_icon"],
img[src*="shaman_icon"],
img[src*="lycan_icon"] {background:linear-gradient(145deg,#3a1d10,#2a1811)!important; border:1px solid #4a2617!important; box-shadow:0 2px 10px -4px rgba(0,0,0,.7); border-radius:22px; padding:10px; display:inline-block; width:120px; height:120px; object-fit:contain; position:relative;}
/* Işık vurgusu için pseudo (standalone img'lerde) */
img[src*="savasci_icon"],
img[src*="ninja_icon"],
img[src*="sura_icon"],
img[src*="saman_icon"],
img[src*="lycan_icon"],
img[src*="warrior_icon"],
img[src*="assassin_icon"],
img[src*="shaman_icon"],
img[src*="lycan_icon"] {position:relative;}
img[src*="savasci_icon" i]::after,
img[src*="ninja_icon" i]::after,
img[src*="sura_icon" i]::after,
img[src*="saman_icon" i]::after,
img[src*="lycan_icon" i]::after,
img[src*="warrior_icon" i]::after,
img[src*="assassin_icon" i]::after,
img[src*="shaman_icon" i]::after {content:""; position:absolute; inset:0; background:radial-gradient(circle at 60% 35%,rgba(255,200,130,.18),transparent 65%); mix-blend-mode:overlay; opacity:.55; pointer-events:none; border-radius:inherit;}

.btn:hover, button:hover, .rx-more:hover, .r2-more:hover, .r2-btn:hover, .r2-search-btn:hover {filter:brightness(1.15); color:var(--wiki-accent-hover);} 
.btn-secondary {background:url('../../assets/ThemeSpecialOne/images/btn-secondary.png') center/cover no-repeat, #3a281d;}
.btn-secondary:hover {filter:brightness(1.15);} 
.bm-close {color:var(--wiki-text);} 

/* Arama barı */
.rx-search, .r2-search form {background:rgba(56,27,21,.65); border:1px solid var(--wiki-border-soft); backdrop-filter:blur(2px);} 
.rx-search input, .r2-search-input {color:var(--wiki-text);}
.rx-search button, .r2-search-btn {background:url('../../assets/ThemeSpecialOne/images/btn-primary.png') center/cover no-repeat, #3a281d; border:1px solid var(--wiki-border-strong);} 
.rx-search button:hover, .r2-search-btn:hover {filter:brightness(1.2);} 

/* Listing satırları */
.list .row {border-color:var(--wiki-border-soft);} 
.list .row:hover {background:rgba(59,21,15,.5);} 

/* Küçük not */
.muted, .meta, .dyn-note {color:var(--wiki-muted)!important;}

/* Başlık alt çizgileri */
.sec-title:after, .hp-panel-title:after, .rx-sec-head:after {background:linear-gradient(90deg,var(--wiki-accent-hover),transparent);} 

/* Responsive uyum extra */
@media (max-width:640px){ h1{font-size:1.35rem;} }

/* Scrollbar (webkit) */
body::-webkit-scrollbar{width:10px;} body::-webkit-scrollbar-track{background:#1e1410;} body::-webkit-scrollbar-thumb{background:#3b1510;border:2px solid #1e1410;border-radius:6px;} body::-webkit-scrollbar-thumb:hover{background:#5a2e20;}

/* Ikon resimleri daha net */
.boss-icon img, .tile-icon img, .hpi-thumb img {image-rendering:pixelated;}

/* Uyarı kutuları (placeholder) */
.wiki-alert {background:#381b15; border:1px solid var(--wiki-border-strong); padding:10px 14px; border-radius:10px; font-size:.72rem; color:var(--wiki-text);}

/* Footer benzeri alan yoksa boşluk ekleyelim */
.page {padding-bottom:60px;}

/* Yeni: başlık arka plan şeritleri */
.hero-title, .hp-title, .rx-sec-head, h1 {background:linear-gradient(90deg,rgba(56,27,21,.0),rgba(56,27,21,.45) 30%,rgba(56,27,21,.0)); padding:6px 10px; border-left:3px solid var(--wiki-accent-hover); border-right:3px solid transparent;}

/* Refine chain tablo görünümü */
.upgrade-head, .kv li {background:rgba(59,21,15,.35); border-color:var(--wiki-border-soft);} 
.kv li:nth-child(odd){background:rgba(59,21,15,.55);} 

/* Icon kapsayıcı gölgesi */
.hpi-thumb, .mmi-thumb, .boss-icon .img-wrap {background:linear-gradient(145deg,#341b14,#2a140f); border:1px solid var(--wiki-border-soft);} 

/* Form alanları */
input, select {background:#2c1810; border:1px solid var(--wiki-border-soft); color:var(--wiki-text);} 
input:focus, select:focus {outline:1px solid var(--wiki-accent);}

/* Badge örnekleri */
.badge, .article-badge {background:#3b1510; color:var(--wiki-accent-hover);} 

/* ================= WIKI EXTENDED (entegrasyon) ================ */
/* Orijinal wiki.css içeriği kısaltılıp .wiki-container scope'u altında taşındı */
.wiki-container {background:transparent; color:var(--wiki-text); font-size:15px; line-height:1.55;}
.wiki-content {max-width:1180px; margin:0 auto;}
.wiki-content p {margin:0 0 1.05em;}
.wiki-content a {color:var(--wiki-accent-alt); text-decoration:none; border-bottom:1px dashed rgba(209,171,101,.35);}
.wiki-content a:hover {color:var(--wiki-accent-hover); border-color:var(--wiki-accent-hover);} 
.wiki-content h1,.wiki-content h2,.wiki-content h3,.wiki-content h4,.wiki-content h5,.wiki-content h6 {font-family:'Albertus Nova','Onest',serif; font-weight:600; line-height:1.2; color:var(--wiki-accent-hover); margin:1.8em 0 .75em; text-shadow:0 0 6px rgba(226,171,85,.25); position:relative; scroll-margin-top:90px;}
.wiki-content h1 {font-size:2.15rem; border-bottom:2px solid var(--wiki-border); padding-bottom:.4rem;}
.wiki-content h2 {font-size:1.75rem; border-bottom:1px solid var(--wiki-border-soft); padding-bottom:.35rem;}
.wiki-content h3 {font-size:1.45rem;}
.wiki-content h4 {font-size:1.25rem;}
.wiki-content h5 {font-size:1.05rem; letter-spacing:.5px;}
.wiki-content h6 {font-size:.9rem; text-transform:uppercase; letter-spacing:1px;}
.wiki-content h1:first-child {margin-top:0;}
.wiki-content .anchor-link {opacity:0; margin-left:.5rem; font-size:.8em; text-decoration:none; color:var(--wiki-accent-alt); transition:.25s;}
.wiki-content h1:hover .anchor-link,.wiki-content h2:hover .anchor-link,.wiki-content h3:hover .anchor-link,.wiki-content h4:hover .anchor-link {opacity:1;}
/* Tablo */
.wiki-content table {width:100%; border-collapse:collapse; margin:1.35em 0; font-size:14px; box-shadow:0 4px 18px -6px rgba(0,0,0,.55),0 0 0 1px rgba(0,0,0,.35); background:rgba(32,17,12,.55); backdrop-filter:blur(2px);}
.wiki-content th,.wiki-content td {padding:10px 14px; border:1px solid var(--wiki-border-soft);}
.wiki-content th {background:#3b1510; color:var(--wiki-text); font-weight:600;}
.wiki-content tbody tr:nth-child(even){background:rgba(59,21,15,.35);} 
.wiki-content tbody tr:nth-child(odd){background:rgba(59,21,15,.55);} 
.wiki-content tbody tr:hover {background:#4a2418;}
.wiki-table-responsive {overflow-x:auto; border:1px solid var(--wiki-border); border-radius:10px; box-shadow:0 6px 28px -10px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.03); margin:1.35em 0; background:linear-gradient(145deg,rgba(56,27,21,.85),rgba(44,20,14,.85)); position:relative;}
.wiki-table-responsive:before {content:""; position:absolute; inset:0; background:radial-gradient(circle at 60% 35%,rgba(255,210,140,.08),transparent 70%); pointer-events:none; mix-blend-mode:overlay; border-radius:inherit;}
/* Kod blokları */
.wiki-content pre {background:#22110c; border:1px solid #4c281c; padding:16px 20px; border-radius:6px; overflow:auto; font-size:13px; line-height:1.45; position:relative; box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 4px 14px -4px rgba(0,0,0,.65);} 
.wiki-content code {background:#3d2017; padding:2px 5px; border-radius:4px; border:1px solid #4c281c; font-size:.85em; color:#f5d28e;}
.wiki-content pre code {background:none; padding:0; border:none; color:#f1d8b2;}
/* İnfobox */
.infobox {float:right; width:320px; max-width:100%; background:linear-gradient(170deg,#4a2418 0%,#411f16 100%); border:1px solid var(--wiki-border); padding:14px 16px 10px; margin:0 0 1.25rem 1.5rem; font-size:13px; border-radius:6px; box-shadow:var(--wiki-shadow);} 
.infobox h3 {margin-top:0; font-size:1.15rem; border:none;}
@media(max-width:992px){ .infobox{float:none; margin:1rem 0; width:100%;}}
/* Not kutuları */
.wiki-note {position:relative; padding:14px 18px 14px 52px; border:1px solid var(--wiki-border); background:#2c1810; border-radius:6px; margin:1.35em 0; box-shadow:var(--wiki-shadow);} 
.wiki-note:before {content:"i"; position:absolute; left:14px; top:14px; width:28px; height:28px; background:#5b4a34; color:#fff; display:flex; align-items:center; justify-content:center; border-radius:50%; font-weight:600; font-family:'Albertus Nova';}
.wiki-note.warning {border-color:#d49d3f;} .wiki-note.warning:before {content:"!"; background:#d49d3f;}
.wiki-note.danger {border-color:#d74e3d;} .wiki-note.danger:before {content:"!"; background:#d74e3d;}
.wiki-note.success {border-color:#5cb51f;} .wiki-note.success:before {content:"✔"; background:#5cb51f;}
.wiki-note.info {border-color:#5b93c9;} .wiki-note.info:before {content:"i"; background:#5b93c9;}
/* TOC */
.wiki-toc {background:#2c1810; border:1px solid var(--wiki-border); padding:18px 20px; border-radius:6px; margin:1.5rem 0 2rem; position:relative; box-shadow:var(--wiki-shadow);} 
.wiki-toc-title {margin:0 0 .75rem; font-size:1rem; font-weight:600; color:var(--wiki-accent-hover); text-transform:uppercase; letter-spacing:1px;}
.wiki-toc ul {list-style:none; margin:0; padding:0; font-size:.9rem; max-height:420px; overflow-y:auto;}
.wiki-toc ul li {margin:4px 0;}
.wiki-toc a {color:var(--wiki-accent-alt); display:inline-block; padding:2px 4px; border-radius:4px; border:none;}
.wiki-toc a:hover {background:#4a2418; color:var(--wiki-accent-hover);} 
/* Blockquote */
.wiki-content blockquote {margin:1.5rem 0; padding:18px 24px; background:#3d2017; border-left:5px solid var(--wiki-accent-alt); border-radius:0 6px 6px 0; font-style:italic; position:relative;}
.wiki-content blockquote:before {content:"\201C"; position:absolute; left:12px; top:-10px; font-size:48px; color:rgba(255,255,255,.08); font-family:serif;}
/* Yatay çizgi */
.wiki-content hr {border:none; height:1px; background:linear-gradient(90deg,transparent,var(--wiki-border),transparent); margin:2.5rem 0;}
/* Panel */
.wiki-panel {background:#2c1810; border:1px solid var(--wiki-border); padding:22px 26px; border-radius:10px; margin:2rem 0; box-shadow:var(--wiki-shadow); position:relative;} 
.wiki-panel.gradient {background:linear-gradient(180deg,#381b15 0%,#2c1810 100%);} 
.wiki-panel .panel-title {margin:0 0 .85rem; font-family:'Albertus Nova'; font-size:1.3rem; color:var(--wiki-accent-hover);} 
/* Badge */
.wiki-badge {display:inline-block; font-size:.65rem; letter-spacing:1px; padding:4px 8px 3px; text-transform:uppercase; font-weight:600; background:#402015; color:var(--wiki-accent-hover); border:1px solid var(--wiki-border); border-radius:4px;} 
/* Checklist */
.wiki-content ul.checklist {list-style:none; padding-left:0;} 
.wiki-content ul.checklist li {padding-left:28px; position:relative;} 
.wiki-content ul.checklist li:before {content:"✔"; position:absolute; left:0; top:2px; color:#5cb51f; font-size:.9rem;} 
/* Image */
.wiki-image {text-align:center; margin:1.75rem 0;} 
.wiki-image img {max-width:100%; height:auto; border:1px solid var(--wiki-border); border-radius:4px; box-shadow:var(--wiki-shadow);} 
.wiki-image .caption {font-size:.75rem; opacity:.75; margin-top:6px;} 
/* Arama kutusu (iç wiki) */
.wiki-search {position:relative; margin:0 0 1.5rem;} 
.wiki-search input {width:100%; background:#2b140e; border:1px solid var(--wiki-border-soft); color:var(--wiki-accent-hover); padding:12px 42px 12px 16px; border-radius:30px; font-size:.9rem; outline:none; transition:.25s;} 
.wiki-search input:focus {box-shadow:0 0 0 3px rgba(209,171,101,.15); border-color:var(--wiki-accent-hover);} 
.wiki-search i {position:absolute; right:16px; top:50%; transform:translateY(-50%); color:var(--wiki-accent-hover); font-size:18px;} 
/* Mobil uyum (başlık boyutları) */
@media(max-width:768px){ .wiki-content h1{font-size:1.75rem;} .wiki-content h2{font-size:1.5rem;} .wiki-content h3{font-size:1.3rem;} }
/* Print */
@media print { .wiki-container{background:#fff!important; color:#222;} .wiki-content h1,.wiki-content h2,.wiki-content h3 {color:#000; text-shadow:none;} .wiki-note,.infobox,.wiki-panel {box-shadow:none; background:#f8f8f8; color:#222;} .wiki-toc,.wiki-panel {page-break-inside:avoid;} }
/* =============================================================== */
/* === AutoCat Baş İkon Boyut Ayarı (v13) === */
/* Büyük (72px) ikonları küçültüp piksel görünümünü azaltıyoruz. */
.wiki-content img[data-autosize][src*="/icon/"] {
  width:48px!important;
  height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  image-rendering:auto!important; /* yumuşatma */
  object-fit:contain;
}
/* Sayfa başındaki tekil ikon (ilk çocuk) biraz daha büyük (56px) kalabilir */
.wiki-content > img[data-autosize]:first-child {
  width:56px!important;
  height:56px!important;
  max-width:56px!important;
  max-height:56px!important;
}
/* Tablo satırlarının ilk sütunundaki ikonlar da küçültülür */
.wiki-content table td:first-child img[data-autosize] {
  width:44px!important;
  height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
}
/* Inline stil ile gelen 72px ikonları genel olarak küçült (geniş koruma) */
img[data-autosize][style*="max-width:72px"],
img[data-autosize][width="72"][height="72"] { 
  width:48px!important; height:48px!important; max-width:48px!important; max-height:48px!important; 
}
/* Koyu mavi kutu içinde (span) olan ikonlar: kutu boş kalmasın diye span min-size azalt */
span[style*="#16212c"] { min-width:70px!important; min-height:70px!important; }
span[style*="#16212c"] img[data-autosize] { width:48px!important; height:48px!important; }
/* Hover'da hafif büyütme (opsiyonel görsel kalite algısı) */
.wiki-content img[data-autosize][src*="/icon/"]:hover { transform:scale(1.06); transition:.18s transform; }
/* === Son === */

/* === Kategori Geri Butonu (v14) === */
.wiki-backbar {margin:0 0 1.25rem; display:flex; align-items:center; gap:12px; position:sticky; top:18px; z-index:30;}
.wiki-backbtn {cursor:pointer; display:inline-flex; align-items:center; gap:8px; padding:10px 18px 9px; border-radius:14px; font-size:.72rem; letter-spacing:.6px; font-weight:600; text-transform:uppercase; background:linear-gradient(135deg,#2e1811,#24130d); border:1px solid #4a2617; color:#e8d3b9; box-shadow:0 4px 16px -6px rgba(0,0,0,.6); position:relative; overflow:hidden;}
.wiki-backbtn:before {content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 35%,rgba(255,210,140,.15),transparent 70%); opacity:.55; mix-blend-mode:overlay;}
.wiki-backbtn-icon {font-size:1rem; line-height:1; transform:translateY(-1px);}
.wiki-backbtn:hover {background:linear-gradient(135deg,#3a1d12,#2b160f); color:#fff;}
.wiki-backbtn:active {transform:translateY(1px);} 
.wiki-backbtn:focus-visible {outline:2px solid #f8d88c; outline-offset:2px;}
