/* İnşaat emri: yalnızca dorf1 / dorf2 — diğer sayfalarda (build, rapor, mesaj) gizle */
body:not(.village1):not(.village2) .boxes.buildingList,
body.build .boxes.buildingList,
body.build #content .boxes.buildingList,
body.reports .boxes.buildingList,
body.messages .boxes.buildingList {
    display: none !important;
}

/* Web: inşaat satırları haritanın üstünde, her zaman okunur */
@media screen and (min-width: 981px) {
    body.village1 #content .boxes.buildingList,
    body.village2 #content .boxes.buildingList,
    div.village1 div.buildingList,
    div.village2 div.buildingList {
        z-index: 200 !important;
        overflow: visible !important;
        width: 405px !important;
        max-width: 405px !important;
        visibility: visible !important;
        display: block !important;
        background: #fef7e7;
    }
    body.village1 #content .boxes.buildingList ul,
    body.village2 #content .boxes.buildingList ul {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        margin: 8px 0 0 !important;
        padding: 0 !important;
    }
    body.village1 #content .boxes.buildingList ul li,
    body.village2 #content .boxes.buildingList ul li {
        display: block !important;
        overflow: hidden !important;
        min-height: 24px !important;
        height: auto !important;
        color: #3c2f1a !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        visibility: visible !important;
        opacity: 1 !important;
        list-style: none !important;
        margin: 0 0 8px !important;
    }
    body.village1 #content .boxes.buildingList div.name,
    body.village2 #content .boxes.buildingList div.name,
    body.village1 #content .boxes.buildingList div.buildDuration,
    body.village2 #content .boxes.buildingList div.buildDuration {
        display: block !important;
        float: none !important;
        color: #3c2f1a !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 13px !important;
    }
    body.village1 #content .boxes.buildingList h5,
    body.village2 #content .boxes.buildingList h5 {
        display: block !important;
        color: #3c2f1a !important;
        visibility: visible !important;
    }
}

/* İnşaat emri: harita z-index üstüne çıksın; float satır yüksekliği 0 olmasın */
body.village1 #content .boxes.buildingList,
body.village2 #content .boxes.buildingList,
div.village1 div.buildingList,
div.village2 div.buildingList {
    z-index: 80 !important;
    overflow: visible !important;
}
body.village1 #content .boxes.buildingList ul,
body.village2 #content .boxes.buildingList ul {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}
body.village1 #content .boxes.buildingList ul li,
body.village2 #content .boxes.buildingList ul li {
    display: block !important;
    overflow: hidden !important;
    min-height: 22px !important;
    height: auto !important;
    color: #3c2f1a !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    visibility: visible !important;
}
body.village1 #content .boxes.buildingList div.name,
body.village2 #content .boxes.buildingList div.name,
body.village1 #content .boxes.buildingList div.buildDuration,
body.village2 #content .boxes.buildingList div.buildDuration {
    color: #3c2f1a !important;
    visibility: visible !important;
    font-size: 13px !important;
}

/* dorf2 — wrapper native harita kutusu ile aynı (628); 554 kırpma kaydırıyordu */
body.village2 .villageMapWrapper {
    position: relative !important;
    width: 628px !important;
    height: 534px !important;
    overflow: hidden !important;
}

body.village2 div#village_map {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 628px !important;
    height: 534px !important;
    z-index: 1 !important;
}

/* Kırpılmış zemin <img> — her yerde gizle (mobilde CSS BG; masaüstünde sayfa BG) */
body.village2 div#village_map img.ztv-dorf2-map-bg {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
}

body.village2 div#village_map div#levels.on.t44,
body.village2 div#village_map div#levels.on {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 628px !important;
    height: 534px !important;
    z-index: 200 !important;
    visibility: visible !important;
    pointer-events: none;
}

body.village2 div#village_map div#levels.on > div,
body.village2 div#village_map div#levels.on.t44 > div {
    position: absolute !important;
    visibility: visible !important;
    pointer-events: none;
}

body.village2 div#village_map div#levels .labelLayer {
    pointer-events: none;
}

body.village2 div#village_map div#levels.ztv-levels-off {
    visibility: hidden !important;
}

body.village2 div#village_map div#levels.ztv-levels-off > div {
    visibility: hidden !important;
}

/* Saatlik uretim — Plus (+25%) kaynak simgesinin sag alt kosesinde */
div.village1 table#production td.ico div {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
}

div.village1 table#production td.ico div img.productionBoost {
    position: absolute;
    left: auto;
    top: auto;
    right: -5px;
    bottom: -5px;
    z-index: 2;
}

/* Kisla/ahir/tamirhane — demirci zırh seviyesine gore guc gosterimi */
div#build .details .tit .ztvUnitCombatStats {
    display: inline;
    margin-left: 6px;
    white-space: nowrap;
    font-weight: normal;
    font-size: 11px;
}

div#build .details .tit .ztvUnitCombatStats img.att_all,
div#build .details .tit .ztvUnitCombatStats img.def_i,
div#build .details .tit .ztvUnitCombatStats img.def_c {
    vertical-align: middle;
    margin: 0 2px 0 5px;
}

div#build .details .tit .ztvHeroWeaponBoost {
    color: #2d7a2d;
    font-weight: bold;
    margin-left: 1px;
}

.ztvGoldFeatureBox {
    margin: 12px 0;
    clear: both;
}

.ztvGoldFeatureBoxDisabled .gold.disabled,
.ztvGoldFeatureBox .gold.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(35%);
}

.ztvGoldFeatureBoxDisabled .statusMessage {
    color: #666;
}

/* Dil bayraklari — 5 dil (inline SVG, header icinde) */
div#header .ztvLangFlags,
#header .ztvLangFlags,
.ztvLangFlags {
    position: absolute !important;
    z-index: 30 !important;
    top: 36px !important;
    left: 220px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    height: 16px !important;
    line-height: 0 !important;
    visibility: visible !important;
    overflow: visible !important;
}

div#header .ztvLangFlags a,
#header .ztvLangFlags a,
.ztvLangFlags a {
    display: inline-block !important;
    position: static !important;
    width: 20px !important;
    height: 14px !important;
    min-width: 20px !important;
    min-height: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #8a7a62 !important;
    background: transparent !important;
    background-image: none !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    left: auto !important;
    top: auto !important;
    overflow: hidden !important;
    line-height: 0 !important;
    border-radius: 1px !important;
}

div#header .ztvLangFlags a.ztv-flag-it,
div#header .ztvLangFlags a.ztv-flag-fr,
div#header .ztvLangFlags a.ztv-flag-rus,
.ztvLangFlags a.ztv-flag-it,
.ztvLangFlags a.ztv-flag-fr,
.ztvLangFlags a.ztv-flag-rus {
    display: inline-block !important;
    visibility: visible !important;
}

div#header .ztvLangFlags a:hover,
.ztvLangFlags a:hover {
    border-color: #5a8f3e !important;
}

div#header .ztvLangFlags a.active,
.ztvLangFlags a.active {
    border-color: #3d6b28 !important;
    box-shadow: 0 0 0 1px #7cb35e !important;
}

div#header .ztvLangFlags a img,
.ztvLangFlags a img {
    display: block !important;
    width: 18px !important;
    height: 12px !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    visibility: visible !important;
    vertical-align: top !important;
}

/* Eski yalnizca 2 bayrak linki (compact.css background) — gizle */
div#header > a.ru,
div#header > a.en {
    display: none !important;
}

/* Dil secici — logo ile navigasyon arasi (header icinde) */
div#header .ztvLangSlot {
    position: absolute;
    z-index: 5;
    top: 26px;
    left: 198px;
    width: 178px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
}

.rtl div#header .ztvLangSlot {
    left: auto;
    right: 210px;
    justify-content: flex-end;
}

div#header .ztvLangSlot #ztvLangSelect.ztvLangSelect {
    position: static;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: auto;
    max-width: 100%;
    height: 24px;
    margin: 0;
    padding: 0 4px 0 2px;
    background: rgba(253, 239, 204, 0.95);
    border: 1px solid #b8a88a;
    border-radius: 3px;
    box-shadow: none;
    pointer-events: auto;
    box-sizing: border-box;
}

#ztvLangSelect .ztvLangGlobe {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
    vertical-align: middle;
}

#ztvLangSelect .ztvLangGlobe svg {
    width: 14px;
    height: 14px;
}

#ztvLangSelect .ztvLangCurrentFlag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
    width: 20px;
    min-width: 20px;
    height: 13px;
    border: 1px solid #ccc;
    border-radius: 2px;
    overflow: visible;
    vertical-align: middle;
    background: #e30a17;
}

#ztvLangSelect .ztvLangCurrentFlag svg {
    width: 20px;
    height: 13px;
    display: block;
    overflow: visible;
}

/* Profil: kabile ikonu gizle */
#sideinfo .playerName .nation,
.sidebar .playerName .nation {
    display: none !important;
}

/* Oyun yönergesi: gpack/delusion_4.4/ztv-manual.css */

/* gid 46 = Asklepion (Spartalı), gid 47 = Hastane (diğer kabileler) — v20260531f */
img.g46{background-image:url(img/g/g46-ltr.png?v=20260531i) !important}
img.g47{background-image:url(img/g/g47-ltr.png?v=20260531i) !important}
img.g46b{background-image:url(img/g/construction/g46b-ltr.png) !important}
img.g47b{background-image:url(img/g/construction/g47b-ltr.png) !important}
img.g46Icon{background-image:url(img/g/icon/g46Icon.gif) !important}
img.g47Icon{background-image:url(img/g/icon/g47Icon.gif) !important}
img.big.white.g46{background-image:url(img/g/big/white/g46-ltr.png?v=20260531i) !important}
img.big.white.g47{background-image:url(img/g/big/white/g47-ltr.png?v=20260531i) !important}
img.big.black.g46{background-image:url(img/g/big/black/g46-ltr.png) !important}
img.big.black.g47{background-image:url(img/g/big/black/g47-ltr.png) !important}

/* gid 48 = Sparta Suru, gid 49 = Viking Palisadı */
img.g48Top,img.g49Top{z-index:14}
img.g48Bottom,img.g48bBottom,img.g49Bottom,img.g49bBottom{z-index:39}
img.g48Top{background-image:url(img/g/g48Top-ltr.png?v=20260722png1) !important}
img.g48Bottom{background-image:url(img/g/g48Bottom-ltr.png?v=20260722png1) !important}
img.g48bBottom{background-image:url(img/g/construction/g48bBottom-ltr.png?v=20260722png1) !important}
img.g49Top{background-image:url(img/g/g49Top-ltr.png?v=20260722png1) !important}
img.g49Bottom{background-image:url(img/g/g49Bottom-ltr.png?v=20260722png1) !important}
img.g49bBottom{background-image:url(img/g/construction/g49bBottom-ltr.png?v=20260722png1) !important}

img.g48{background-image:url(img/g/big/white/g48-ltr.png?v=20260722png1) !important}
img.g49{background-image:url(img/g/big/white/g49-ltr.png?v=20260722png1) !important}
img.g48b{background-image:url(img/g/construction/g48bBottom-ltr.png?v=20260722png1) !important}
img.g49b{background-image:url(img/g/construction/g49bBottom-ltr.png?v=20260722png1) !important}
img.g48Icon{background-image:url(img/g/icon/g48Icon.gif?v=20260722png1) !important}
img.g49Icon{background-image:url(img/g/icon/g49Icon.gif?v=20260722png1) !important}
img.big.white.g48{background-image:url(img/g/big/white/g48-ltr.png?v=20260722png1) !important}
img.big.white.g49{background-image:url(img/g/big/white/g49-ltr.png?v=20260722png1) !important}
img.big.black.g48{background-image:url(img/g/big/black/g48-ltr.png?v=20260722png1) !important}
img.big.black.g49{background-image:url(img/g/big/black/g49-ltr.png?v=20260722png1) !important}
div.village2 div#village_map .wall.g48Bottom,
div.village2 div#village_map .wall.g48bBottom,
div.village2 div#village_map .wall.g48Top,
div.village2 div#village_map .wall.g49Bottom,
div.village2 div#village_map .wall.g49bBottom,
div.village2 div#village_map .wall.g49Top{top:6px;left:2px;height:523px}

/* Bina açıklaması: resim sağ kenara, metin solda */
div#build .ztv-build-desc {
    position: relative;
    min-height: 179px;
    margin-bottom: 12px;
    overflow: hidden;
    padding-right: 0;
}
div#build .ztv-build-desc a.build_logo {
    float: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 184px;
    height: 179px;
    margin: 0;
    z-index: 1;
}
div#build .ztv-build-desc a.build_logo img {
    width: 184px;
    height: 179px;
    margin: 0;
    display: block;
}
div#build .ztv-build-desc .build_desc_text,
div#build .ztv-build-desc .build_desc_extra {
    margin: 0 196px 8px 0;
    font-size: 12px;
    line-height: 1.45;
}
div#build .ztv-build-desc .ztv-hospital-details {
    margin-right: 0;
    clear: both;
}
div#build .build_desc_text,
div#build .build_desc_extra {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
}
div.build .ztv-hospital-details {
    margin: 12px 0 0;
    padding: 0;
    clear: both;
}
div.build .ztv-hospital-details__title {
    margin: 10px 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: #4a7c18;
}
div.build .ztv-hospital-details__list {
    margin: 0 0 6px 18px;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #333;
}

/* Asker eğitimi kutusu: birim resmi sağda, bilgiler solda (140×140 korunur) */
div#build div.buildActionOverview div.action div.bigUnitSection {
    float: right;
    margin-right: 0;
    margin-left: 20px;
}
div#build div.buildActionOverview div.action div.details {
    float: left;
    width: 350px;
    max-width: calc(100% - 160px);
    padding-top: 15px;
    box-sizing: border-box;
}

/* build_desc'te bina resmi varken upgrade kutusunda tekrar resim / boş alan gösterme */
div#build.ztv-has-build-desc-art .roundedCornersBox.big.ztv-upgrade-compact {
    margin-top: 0;
    padding-top: 10px;
}
div#build.ztv-has-build-desc-art .roundedCornersBox.big.ztv-upgrade-compact #contract {
    padding-top: 0;
}
div#build.ztv-has-build-desc-art .ztv-build-status {
    margin: 0 0 12px;
    padding: 8px 12px;
    background: #e8f3e0;
    border: 1px solid #a1bc79;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
}
div#build.ztv-has-build-desc-art .ztv-build-status--max {
    background: #e0ebdf;
}
div#build.ztv-has-build-desc-art .ztv-build-status .none {
    color: #333;
}

/* Irk ikonları — sadece PNG portre (kare çerçeve / siyah kutu yok) */
img.nation1, img.nation2, img.nation3, img.nation6, img.nation7, img.nation8, img.nation9,
img.nationn1, img.nationn2, img.nationn3, img.nationn6, img.nationn7, img.nationn8, img.nationn9 {
    width: 26px !important;
    height: 26px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: content-box !important;
    float: left;
    margin-right: 3px;
}

img.nation1, img.nationn1 { background-image: url(img/activate/ztv-vid1-icon.png?v=20260726t4) !important; }
img.nation2, img.nationn2 { background-image: url(img/activate/ztv-vid2-icon.png?v=20260726t4) !important; }
img.nation3, img.nationn3 { background-image: url(img/activate/ztv-vid3-icon.png?v=20260726t4) !important; }
img.nation6, img.nationn6 { background-image: url(img/activate/ztv-vid6-icon.png?v=20260726t4) !important; }
img.nation7, img.nationn7 { background-image: url(img/activate/ztv-vid7-icon.png?v=20260726t4) !important; }
img.nation8, img.nationn8 { background-image: url(img/activate/ztv-vid8-icon.png?v=20260913b) !important; }
img.nation9, img.nationn9 { background-image: url(img/activate/ztv-vid9-icon.png?v=20260913b) !important; }

/* Spartan/Viking units — regenerated assets */
img.u71, img.u72, img.u73, img.u74, img.u75, img.u76, img.u77, img.u78, img.u79, img.u80 { background-image: url(img/u/v8_spartans2.gif?v=20260526g) !important; }
img.u81, img.u82, img.u83, img.u84, img.u85, img.u86, img.u87, img.u88, img.u89, img.u90 { background-image: url(img/u/v9_vikings2.gif?v=20260526g) !important; }
img.u71, img.u72, img.u73, img.u74, img.u75, img.u76, img.u77, img.u78, img.u79, img.u80,
img.u81, img.u82, img.u83, img.u84, img.u85, img.u86, img.u87, img.u88, img.u89, img.u90 {
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}
/* İstatistik — kabile sekmeleri (çerçevesiz portre) */
#submenu2.ztv-stat-tribes img.btn_v1,
#submenu2.ztv-stat-tribes img.btn_v2,
#submenu2.ztv-stat-tribes img.btn_v3,
#submenu2.ztv-stat-tribes img.btn_v6,
#submenu2.ztv-stat-tribes img.btn_v7,
#submenu2.ztv-stat-tribes img.btn_v8,
#submenu2.ztv-stat-tribes img.btn_v9,
#submenu2 img.btn_v1,
#submenu2 img.btn_v2,
#submenu2 img.btn_v3,
#submenu2 img.btn_v6,
#submenu2 img.btn_v7,
#submenu2 img.btn_v8,
#submenu2 img.btn_v9 {
    width: 20px !important;
    height: 20px !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-sizing: content-box !important;
}
#submenu2 img.btn_v1 { background-image: url(img/activate/ztv-vid1-icon.png?v=20260726t4) !important; }
#submenu2 img.btn_v2 { background-image: url(img/activate/ztv-vid2-icon.png?v=20260726t4) !important; }
#submenu2 img.btn_v3 { background-image: url(img/activate/ztv-vid3-icon.png?v=20260726t4) !important; }
#submenu2 img.btn_v6 { background-image: url(img/activate/ztv-vid6-icon.png?v=20260726t4) !important; }
#submenu2 img.btn_v7 { background-image: url(img/activate/ztv-vid7-icon.png?v=20260726t4) !important; }
#submenu2 img.btn_v8 { background-image: url(img/activate/ztv-vid8-icon.png?v=20260913b) !important; }
#submenu2 img.btn_v9 { background-image: url(img/activate/ztv-vid9-icon.png?v=20260913b) !important; }

div.tribeIcon.tribe1,
div.tribeIcon.tribe2,
div.tribeIcon.tribe3,
div.tribeIcon.tribe4,
div.tribeIcon.tribe5,
div.tribeIcon.tribe6,
div.tribeIcon.tribe7,
div.tribeIcon.tribe8,
div.tribeIcon.tribe9,
span.ztv-report-tribe-icon.tribeIcon.tribe1,
span.ztv-report-tribe-icon.tribeIcon.tribe2,
span.ztv-report-tribe-icon.tribeIcon.tribe3,
span.ztv-report-tribe-icon.tribeIcon.tribe4,
span.ztv-report-tribe-icon.tribeIcon.tribe5,
span.ztv-report-tribe-icon.tribeIcon.tribe6,
span.ztv-report-tribe-icon.tribeIcon.tribe7,
span.ztv-report-tribe-icon.tribeIcon.tribe8,
span.ztv-report-tribe-icon.tribeIcon.tribe9 {
    width: 22px !important;
    height: 22px !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-sizing: content-box !important;
}
div.tribeIcon.tribe1, span.ztv-report-tribe-icon.tribeIcon.tribe1 { background-image: url(img/activate/ztv-vid1-icon.png?v=20260726t4) !important; }
div.tribeIcon.tribe2, span.ztv-report-tribe-icon.tribeIcon.tribe2 { background-image: url(img/activate/ztv-vid2-icon.png?v=20260726t4) !important; }
div.tribeIcon.tribe3, span.ztv-report-tribe-icon.tribeIcon.tribe3 { background-image: url(img/activate/ztv-vid3-icon.png?v=20260726t4) !important; }
div.tribeIcon.tribe6, span.ztv-report-tribe-icon.tribeIcon.tribe6 { background-image: url(img/activate/ztv-vid6-icon.png?v=20260726t4) !important; }
div.tribeIcon.tribe7, span.ztv-report-tribe-icon.tribeIcon.tribe7 { background-image: url(img/activate/ztv-vid7-icon.png?v=20260726t4) !important; }
div.tribeIcon.tribe8, span.ztv-report-tribe-icon.tribeIcon.tribe8 { background-image: url(img/activate/ztv-vid8-icon.png?v=20260913b) !important; }
div.tribeIcon.tribe9, span.ztv-report-tribe-icon.tribeIcon.tribe9 { background-image: url(img/activate/ztv-vid9-icon.png?v=20260913b) !important; }
/* Doğa / Natar — rapor Savunma kutusu (mobil+web) */
span.ztv-report-tribe-icon.tribeIcon.tribe4,
span.ztv-report-tribe-icon.tribeIcon.tribe5,
div.tribeIcon.tribe4,
div.tribeIcon.tribe5 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    background-image: none !important;
}
span.ztv-report-tribe-icon.tribeIcon.tribe4 img.unit,
span.ztv-report-tribe-icon.tribeIcon.tribe5 img.unit {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}

img.u71, img.u81 { background-position: 0 0 !important; }
img.u72, img.u82 { background-position: -19px 0 !important; }
img.u73, img.u83 { background-position: -38px 0 !important; }
img.u74, img.u84 { background-position: -57px 0 !important; }
img.u75, img.u85 { background-position: -76px 0 !important; }
img.u76, img.u86 { background-position: -95px 0 !important; }
img.u77, img.u87 { background-position: -114px 0 !important; }
img.u78, img.u88 { background-position: -133px 0 !important; }
img.u79, img.u89 { background-position: -152px 0 !important; }
img.u80, img.u90 { background-position: -171px 0 !important; }

img.u71Section, img.u72Section, img.u73Section, img.u74Section, img.u75Section,
img.u76Section, img.u77Section, img.u78Section, img.u79Section, img.u80Section,
img.u81Section, img.u82Section, img.u83Section, img.u84Section, img.u85Section,
img.u86Section, img.u87Section, img.u88Section, img.u89Section, img.u90Section {
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: contain !important;
}
img.u71Section { background-image: url(img/u/section/u71-ltr.png?v=20260526g) !important; }
img.u72Section { background-image: url(img/u/section/u72-ltr.png?v=20260526g) !important; }
img.u73Section { background-image: url(img/u/section/u73-ltr.png?v=20260526g) !important; }
img.u74Section { background-image: url(img/u/section/u74-ltr.png?v=20260526g) !important; }
img.u75Section { background-image: url(img/u/section/u75-ltr.png?v=20260526g) !important; }
img.u76Section { background-image: url(img/u/section/u76-ltr.png?v=20260526g) !important; }
img.u77Section { background-image: url(img/u/section/u77-ltr.png?v=20260526g) !important; }
img.u78Section { background-image: url(img/u/section/u78-ltr.png?v=20260526g) !important; }
img.u79Section { background-image: url(img/u/section/u79-ltr.png?v=20260526g) !important; }
img.u80Section { background-image: url(img/u/section/u80-ltr.png?v=20260526g) !important; }
img.u81Section { background-image: url(img/u/section/u81-ltr.png?v=20260526g) !important; }
img.u82Section { background-image: url(img/u/section/u82-ltr.png?v=20260526g) !important; }
img.u83Section { background-image: url(img/u/section/u83-ltr.png?v=20260526g) !important; }
img.u84Section { background-image: url(img/u/section/u84-ltr.png?v=20260526g) !important; }
img.u85Section { background-image: url(img/u/section/u85-ltr.png?v=20260526g) !important; }
img.u86Section { background-image: url(img/u/section/u86-ltr.png?v=20260526g) !important; }
img.u87Section { background-image: url(img/u/section/u87-ltr.png?v=20260526g) !important; }
img.u88Section { background-image: url(img/u/section/u88-ltr.png?v=20260526g) !important; }
img.u89Section { background-image: url(img/u/section/u89-ltr.png?v=20260526g) !important; }
img.u90Section { background-image: url(img/u/section/u90-ltr.png?v=20260526g) !important; }

img.u71Big, img.u72Big, img.u73Big, img.u74Big, img.u75Big, img.u76Big, img.u77Big, img.u78Big, img.u79Big, img.u80Big,
img.u81Big, img.u82Big, img.u83Big, img.u84Big, img.u85Big, img.u86Big, img.u87Big, img.u88Big, img.u89Big, img.u90Big {
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    background-position: center bottom !important;
}
img.u71Big { background-image: url(img/u/big/u71-ltr.png?v=20260526g) !important; width: 415px !important; height: 500px !important; }
img.u72Big { background-image: url(img/u/big/u72-ltr.png?v=20260526g) !important; width: 348px !important; height: 500px !important; }
img.u73Big { background-image: url(img/u/big/u73-ltr.png?v=20260526g) !important; width: 500px !important; height: 429px !important; }
img.u74Big { background-image: url(img/u/big/u74-ltr.png?v=20260526g) !important; width: 241px !important; height: 500px !important; }
img.u75Big { background-image: url(img/u/big/u75-ltr.png?v=20260526g) !important; width: 472px !important; height: 500px !important; }
img.u76Big { background-image: url(img/u/big/u76-ltr.png?v=20260526g) !important; width: 319px !important; height: 500px !important; }
img.u77Big { background-image: url(img/u/big/u77-ltr.png?v=20260526g) !important; width: 500px !important; height: 334px !important; }
img.u78Big { background-image: url(img/u/big/u78-ltr.png?v=20260526g) !important; width: 500px !important; height: 458px !important; }
img.u79Big { background-image: url(img/u/big/u79-ltr.png?v=20260526g) !important; width: 267px !important; height: 500px !important; }
img.u80Big { background-image: url(img/u/big/u80-ltr.png?v=20260526g) !important; width: 500px !important; height: 352px !important; }
img.u81Big { background-image: url(img/u/big/u81-ltr.png?v=20260526g) !important; width: 341px !important; height: 500px !important; }
img.u82Big { background-image: url(img/u/big/u82-ltr.png?v=20260526g) !important; width: 419px !important; height: 500px !important; }
img.u83Big { background-image: url(img/u/big/u83-ltr.png?v=20260526g) !important; width: 426px !important; height: 500px !important; }
img.u84Big { background-image: url(img/u/big/u84-ltr.png?v=20260526g) !important; width: 354px !important; height: 500px !important; }
img.u85Big { background-image: url(img/u/big/u85-ltr.png?v=20260526g) !important; width: 389px !important; height: 500px !important; }
img.u86Big { background-image: url(img/u/big/u86-ltr.png?v=20260526g) !important; width: 338px !important; height: 500px !important; }
img.u87Big { background-image: url(img/u/big/u87-ltr.png?v=20260526g) !important; width: 500px !important; height: 372px !important; }
img.u88Big { background-image: url(img/u/big/u88-ltr.png?v=20260526g) !important; width: 500px !important; height: 360px !important; }
img.u89Big { background-image: url(img/u/big/u89-ltr.png?v=20260526g) !important; width: 333px !important; height: 500px !important; }
img.u90Big { background-image: url(img/u/big/u90-ltr.png?v=20260526g) !important; width: 291px !important; height: 500px !important; }

#ztvLangSelect.ztvLangSelect,
#ztvLangSelect {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}

#ztvLangSelect .ztvLangListbox {
    width: auto;
    min-width: 0;
    max-width: 9.5em;
    font-size: 10px;
    height: 18px;
    line-height: 16px;
    padding: 0 2px;
    border: 1px solid #a89878;
    background: #fff;
    cursor: pointer;
    flex: 1 1 auto;
}

div#build .ztvArmorGoldActions .gold {
    margin-left: 6px;
    vertical-align: middle;
}

/* Dil secici — login / register / logout (logo yaninda) */
body.login div#header,
body.logout div#header,
body.signup div#header {
    box-shadow: none !important;
    border: 0 !important;
    margin-top: -50px !important;
}

body.login div#header:before,
body.login div#header:after,
body.logout div#header:before,
body.logout div#header:after,
body.signup div#header:before,
body.signup div#header:after {
    display: none !important;
}

/* Dorf2 alt paneller — masaüstü */
body.village2 #map_details {
    clear: both;
    width: 100%;
    max-width: 628px;
    margin: 8px auto 12px;
    box-sizing: border-box;
}

@media screen and (min-width: 981px) {
    body.village2 #map_details {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: flex-start;
    }
    body.village2 #map_details > .boxes.production,
    body.village2 #map_details > .boxes.units,
    body.village2 #map_details > .movements {
        flex: 1 1 0;
        min-width: 0;
        float: none !important;
        margin: 0 !important;
    }
}
div#header #logo,
div#header a#logo,
body.login div#header #logo,
body.logout div#header #logo,
body.signup div#header #logo,
body.activate div#header #logo,
#overlay #logo {
    background-image: url(img/layout/logoZamanTravian.png?v=20260727t2) !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 200px 56px !important;
    width: 210px !important;
    height: 56px !important;
    margin-top: 0 !important;
    top: 4px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    /* Header (64px) dışına taşmasın — stockBar tıklamasını yemesin */
    max-height: 56px !important;
    z-index: 1 !important;
}

/* Web: logo sarı şeridin dikey ortasında (üst ahşap banda yapışmasın) */
@media screen and (min-width: 981px) {
    html:not(.ztv-m) body:not(.login):not(.logout):not(.signup):not(.activate) div#header #logo,
    html:not(.ztv-m) body:not(.login):not(.logout):not(.signup):not(.activate) div#header a#logo {
        top: 16px !important;
        margin-top: 0 !important;
        height: 50px !important;
        max-height: 50px !important;
        width: 210px !important;
        /* PNG oranı 200×56 — yatay ezmeden yazıyı dikey büyüt */
        background-size: 178px 50px !important;
        background-position: left center !important;
    }
}

/* Kaynak çubuğu logo taşmasının üstünde kalsın */
ul#stockBar,
#stockBar {
    position: relative !important;
    z-index: 30 !important;
}

/* Web: stockBar goldSilver/header’ı ezmesin */
@media screen and (min-width: 981px) {
    ul#stockBar,
    #stockBar {
        z-index: 5 !important;
    }
}

div#header #logo .ztv-brand-mark,
div#header #logo .ztv-brand-name,
a#logo .ztv-brand-mark,
a#logo .ztv-brand-name {
    display: none !important;
}

div#header .ztv-header-serverchip {
    display: none !important;
}

/* Web: altın+çark+gümüş Plus yanında — sadece ≥981px (mobil topbar’a dokunma) */
@media screen and (min-width: 981px) {
    /* Mobil kahverengi üst şerit — webde yok */
    #ztvMTopBar,
    .ztv-m-topbar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: none !important;
        border: 0 !important;
    }

    /* Hesap chip sadece mobilde */
    div#goldSilver .ztv-player-chip {
        display: none !important;
    }

    /* Sunucu saati — webde klasik kahverengi serit, net gorunur */
    #servertime,
    #servertime.stime,
    body.v35 #servertime,
    body.v35 #servertime.stime,
    .stime#servertime {
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        top: 0 !important;
        left: 75px !important;
        z-index: 60 !important;
        width: auto !important;
        min-width: 168px !important;
        max-width: none !important;
        height: 22px !important;
        line-height: 22px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: #3b1f10 !important;
        background-color: #3b1f10 !important;
        background-image: none !important;
        border-right: solid 1px #53311a !important;
        border-left: solid 1px #53311a !important;
        border-bottom: solid 1px #764829 !important;
        border-top: 0 !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 11px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    #servertime .ztv-stime-label,
    #servertime .ztv-stime-sep,
    #servertime #tp1 {
        display: inline !important;
        visibility: visible !important;
        color: #fff !important;
        font-size: 11px !important;
        line-height: 22px !important;
        opacity: 1 !important;
    }
    #servertime #tp1 {
        font-weight: 700 !important;
    }

    /* Header sidebar’dan (z:30) üstte kalsın — yoksa gümüş “Köy” kutusunun altında kalır */
    div#header {
        overflow: visible !important;
        z-index: 45 !important;
    }

    /* Altın + çark + gümüş: sarı şeritte yan yana — çerçeve/kutu YOK */
    body.v35 div#header #goldSilver,
    body.v35 #goldSilver,
    div#header #goldSilver,
    div#goldSilver {
        position: absolute !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        z-index: 55 !important;
        overflow: visible !important;
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: none !important;
        border-width: 0 !important;
        border-style: none !important;
        border-color: transparent !important;
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        outline: none !important;
        filter: none !important;
        color: #222 !important;
        font-size: 11px !important;
        line-height: 1 !important;
        pointer-events: auto !important;
        white-space: nowrap !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
    }
    body.v35 #goldSilver::before,
    body.v35 #goldSilver::after,
    div#goldSilver::before,
    div#goldSilver::after {
        content: none !important;
        display: none !important;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    div#goldSilver > div.gold,
    div#goldSilver > div.silver {
        clear: none !important;
        float: none !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 3px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 20px !important;
        min-height: 20px !important;
        line-height: 20px !important;
        box-sizing: border-box !important;
        flex: 0 0 auto !important;
    }
    div#goldSilver > div.gold img.gold,
    div#goldSilver > div.silver img.silver,
    div#goldSilver img.gold,
    div#goldSilver img.silver {
        position: static !important;
        top: auto !important;
        margin: 0 !important;
        vertical-align: middle !important;
        flex: 0 0 auto !important;
    }
    div#goldSilver .ajaxReplaceableGoldAmount,
    div#goldSilver .ajaxReplaceableSilverAmount,
    div#goldSilver span {
        color: #1a1a1a !important;
        font-weight: 700 !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
    }
    div#goldSilver .ztv-gs-wheel-icon,
    div#goldSilver a img[src*="cark"] {
        width: 16px !important;
        height: 16px !important;
        vertical-align: middle !important;
        border: none !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }
    div#goldSilver .ztv-gs-wheel-link,
    div#goldSilver a[href*="plus.php?id=80"] {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        border: 0 !important;
    }
    div#goldSilver .ztv-wheel-amount {
        color: #a832a2 !important;
        font-weight: bold !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }
}

@media screen and (max-width: 980px) {
    /* Masaüstü header logo gizlenir — mobil yeşil alana taşınır */
    div#header #logo,
    div#header a#logo {
        /* JS taşıyana kadar yer tutma */
    }
}

body.login div#header #logo,
body.logout div#header #logo,
body.signup div#header #logo {
    width: 200px !important;
    height: 60px !important;
    margin-left: .5em !important;
    margin-top: 1.2em !important;
    position: absolute !important;
    top: 22px !important;
    background-size: 185px 55px !important;
}

div#header .ztvLangSlotAuth {
    position: absolute;
    z-index: 30;
    top: 26px;
    left: 198px;
    width: 178px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
}

body.login div#header .ztvLangSlotAuth,
body.logout div#header .ztvLangSlotAuth,
body.signup div#header .ztvLangSlotAuth {
    display: none !important;
}

/* Logout — özel arka plan */
body.logout.perspectiveBuildings div#background,
body.logout div#background {
    background-image: url(img/layout/logout.jpg?v=20260727t20) !important;
    background-size: cover !important;
    background-position: left 55% !important;
    background-repeat: no-repeat !important;
    background-color: #2a3a28 !important;
}
body.logout.perspectiveBuildings:before,
body.logout.perspectiveBuildings:after,
body.logout div#background:before,
body.logout div#background:after {
    background-image: none !important;
    display: none !important;
}
/* Eski / cache: cakisan baslik gizle */
body.logout h1.titleInHeader {
    display: none !important;
}
/* Masaüstü: ırk şeridi yok; beyaz kutu çerez linkinde bitsin */
@media screen and (min-width: 981px) {
    body.logout #content .ztv-signup-tribes {
        display: none !important;
    }
    body.logout #contentOuterContainer .contentContainer {
        min-height: 0 !important;
        padding-bottom: 12px !important;
    }
    body.logout #content.logout {
        min-height: 0 !important;
        padding-bottom: 8px !important;
    }
    body.logout #content.logout .clear {
        display: none;
    }
}
/* Masaüstü: alt hero yok (tam sayfa arka plan var) */
body.logout .ztv-logout-hero,
body.login .ztv-login-hero,
body.signup .ztv-signup-hero {
    display: none;
}

/* Login — özel arka plan (web) */
body.login.perspectiveBuildings div#background,
body.login div#background {
    background-image: url(img/layout/login.jpg?v=20260727t20) !important;
    background-size: cover !important;
    background-position: left 70% !important;
    background-repeat: no-repeat !important;
    background-color: #2a3a28 !important;
}
body.login.perspectiveBuildings:before,
body.login.perspectiveBuildings:after,
body.login div#background:before,
body.login div#background:after {
    background-image: none !important;
    display: none !important;
}

/* Anmelden / signup — özel arka plan (web) */
body.signup.perspectiveBuildings div#background,
body.signup div#background {
    background-image: url(img/layout/anmelden.jpg?v=20260727t20) !important;
    background-size: cover !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-color: #2a3a28 !important;
}
body.signup.perspectiveBuildings:before,
body.signup.perspectiveBuildings:after,
body.signup div#background:before,
body.signup div#background:after {
    background-image: none !important;
    display: none !important;
}

/* Giriş / Kayıt / Çıkış: ırk şeridi kapalı; kompakt hafif saydam form */
body.signup #content .ztv-signup-tribes,
body.login #content .ztv-signup-tribes,
body.logout #content .ztv-signup-tribes {
    display: none !important;
}
body.login #contentOuterContainer .contentContainer,
body.signup #contentOuterContainer .contentContainer,
body.logout #contentOuterContainer .contentContainer {
    min-height: 0 !important;
    padding-bottom: 10px !important;
    background-color: rgba(254, 247, 231, 0.48) !important;
}
body.login #content .outerLoginBox,
body.login #content .login,
body.signup #content .signup {
    background-color: transparent !important;
}
/* Eski opak bgLogin PNG (Roma askeri) — cam formu bozmasın */
body.login div.outerLoginBox div.innerLoginBox,
body.login div.outerLoginBox.withCaptcha div.innerLoginBox {
    background-image: none !important;
    background-color: rgba(254, 247, 231, 0.42) !important;
    border-radius: 8px;
}
body.login #contentOuterContainer .contentTitle,
body.signup #contentOuterContainer .contentTitle,
body.logout #contentOuterContainer .contentTitle {
    background-color: rgba(254, 247, 231, 0.55) !important;
}
body.login #contentOuterContainer .contentFooter,
body.signup #contentOuterContainer .contentFooter,
body.logout #contentOuterContainer .contentFooter {
    background-color: rgba(254, 247, 231, 0.48) !important;
}
body.login #content.login,
body.signup #content.signup,
body.logout #content.logout {
    min-height: 0 !important;
    padding-bottom: 6px !important;
}
body.logout .ztv-logout-login {
    margin: 14px 0 8px;
}
body.logout a.ztv-logout-login-btn {
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
}
body.logout a.ztv-logout-login-btn .button-content {
    color: #fff;
    font-weight: 700;
}
body.login #content.login .clear,
body.signup #content.signup .clear,
body.logout #content.logout .clear {
    height: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Auth baslik cubugunda dil secici (Giris / Kayit yaninda) */
body.login #content .ztvAuthTitleRow,
body.signup #content .ztvAuthTitleRow {
    position: absolute;
    top: 62px;
    left: 10px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 20px);
}

body.login #content .ztvAuthTitleRow h1.titleInHeader,
body.signup #content .ztvAuthTitleRow h1.titleInHeader {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    line-height: 26px !important;
    overflow: visible !important;
    white-space: nowrap;
    flex: 0 1 auto;
}

.ztvLangTitleAuth {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.ztvLangTitleAuth #ztvLangSelect.ztvLangSelect,
.ztvLangTitleAuth .ztvLangSelect {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px;
    height: 24px;
    padding: 0 4px 0 2px;
    background: rgba(253, 239, 204, 0.95);
    border: 1px solid #b8a88a;
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    white-space: nowrap;
}

.ztvLangTitleAuth .ztvLangGlobe,
.ztvLangTitleAuth .ztvLangCurrentFlag {
    display: inline-flex !important;
    flex: 0 0 auto;
    vertical-align: middle;
}

.ztvLangTitleAuth .ztvLangListbox,
.ztvLangTitleAuth select.ztvLangListbox {
    display: inline-block !important;
    flex: 0 1 auto;
    width: auto !important;
    min-width: 5.5em;
    max-width: 9.5em;
    height: 18px;
    margin: 0;
    vertical-align: middle;
}

body.rtl.login #content .ztvAuthTitleRow,
body.rtl.logout #content .ztvAuthTitleRow,
body.rtl.signup #content .ztvAuthTitleRow {
    left: auto;
    right: 10px;
}

.rtl div#header .ztvLangSlotAuth {
    left: auto;
    right: 210px;
    justify-content: flex-end;
}

div#header .ztvLangSlotAuth #ztvLangSelect.ztvLangSelect,
div#header .ztvLangSlotAuth .ztvLangSelect {
    position: static;
    z-index: 1;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px;
    width: auto;
    max-width: 100%;
    height: 24px;
    margin: 0;
    padding: 0 4px 0 2px;
    background: rgba(253, 239, 204, 0.95);
    border: 1px solid #b8a88a;
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    box-sizing: border-box;
}

.ztvLangInlineAuth {
    margin: 6px 0 12px 0;
    display: inline-flex;
    align-items: center;
}

.ztvLangInlineAuth #ztvLangSelect.ztvLangSelect,
.ztvLangInlineAuth .ztvLangSelect {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px;
    padding: 0 4px 0 2px;
    background: rgba(253, 239, 204, 0.95);
    border: 1px solid #b8a88a;
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

/* Login / logout sag kutu — sunucu ozellikleri & oduller (cakisma onleme) */
.ztvAuthSidebar ul.ztvServerStats {
    margin: 0 0 5px;
    padding: 0;
    list-style: none;
}

.ztvAuthSidebar ul.ztvServerStats li.ztv-stat-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px 4px 20px;
    border-bottom: 1px solid #d7c095;
    line-height: 1.35;
    min-height: 20px;
    position: relative;
    overflow: visible;
    background: transparent;
}

.ztvAuthSidebar ul.ztvServerStats li.ztv-stat-row:hover {
    background-color: #fffbeb;
}

.ztvAuthSidebar .ztv-stat-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #61332b;
    font-weight: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-right: 4px;
}

.ztvAuthSidebar .ztv-stat-value {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    font-weight: normal;
}

.ztvAuthSidebar .ztv-val-red { color: #de0000; }
.ztvAuthSidebar .ztv-val-blue { color: #0000ff; }
.ztvAuthSidebar .ztv-val-green { color: #008000; }
.ztvAuthSidebar .ztv-val-purple { color: #800080; }

/* Köy dağılımı: 1+1+1+15 / 0+0+0+18 */
span.fieldDist {
    font-size: 11px;
    color: #5a8f3c;
    font-weight: bold;
    white-space: nowrap;
}

/* Harita köy popup — önizleme img (tüm village-1..13) */
#tileDetails.village-13 .detailImage {
    background-image: url("img/g/detail.popup/village/f13-ltr.png?v=20260525c");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 319px 218px;
}
.dialog #tileDetails.village-13 .detailImage {
    background-image: url("img/g/detail.popup/village/f13-ltr.png?v=20260525c");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 319px 218px;
}
#tileDetails[class*="village-"] .detailImage {
    position: relative;
}
#tileDetails .detailImage img.ztv-fieldtype-detail {
    display: block;
    width: 319px;
    height: 218px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}
#tileDetails[class*="village-"] .detailImage #options {
    position: relative;
    z-index: 1;
}
/* fieldtype 13 — dorf1: seffaf PNG (f6 gibi), arka plan manzara gorunsun */
div.village1 #village_map.f13,
div.village1 #village_map.ztv-map-18crop {
    background-image: none !important;
    width: 500px;
    height: 370px;
    overflow: hidden;
}
div.village1 #village_map.ztv-map-18crop img.ztv-dorf1-map-bg,
div.village1 #village_map.f13 img.ztv-dorf1-map-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 500px;
    height: 318px;
    max-width: none;
    z-index: 0;
    pointer-events: none;
    display: block;
}
div.village1 #village_map.ztv-map-18crop .colorLayer,
div.village1 #village_map.f13 .colorLayer {
    z-index: 2;
}
div.village1 #village_map.ztv-map-18crop img#resfeld,
div.village1 #village_map.f13 img#resfeld {
    z-index: 3;
}
div.village1 #village_map.f13:not(:has(.ztv-dorf1-map-bg)) {
    background-image: url("img/g/f13-ltr.png?v=20260525b") !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: 500px 318px !important;
}

/* 7 tahıl (f7/f8/f9): compact2 .jpg kuralını ez; tıklama haritası 500px olsun */
div.village1 #village_map.f7 {
    background-image: url("img/g/f7-ltr.png") !important;
}
div.village1 #village_map.f8 {
    background-image: url("img/g/f8-ltr.png") !important;
}
div.village1 #village_map.f9 {
    background-image: url("img/g/f9-ltr.png") !important;
}
div.village1 img#resfeld {
    width: 500px !important;
    height: 370px !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 24;
}

.ztv-heal-max-btn {
    min-width: 3.2em;
    padding: 2px 8px;
    border: 1px solid #7a8a5a;
    border-radius: 4px;
    background: linear-gradient(to bottom, #e8f0d8, #c8d4a8);
    color: #2a3318;
    font-weight: bold;
    cursor: pointer;
}
.ztv-heal-max-btn:hover {
    background: linear-gradient(to bottom, #f4f8ea, #d8e4bc);
    border-color: #5a6a3a;
}
div#build table#build_value.ztv-hospital-stats {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    box-sizing: border-box;
}
div#build table#build_value.ztv-hospital-stats th,
div#build table#build_value.ztv-hospital-stats td {
    white-space: normal !important;
    text-align: left !important;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}
div#build table#build_value.ztv-hospital-stats th {
    width: 36%;
    padding-right: 10px !important;
}
div#build table#build_value.ztv-hospital-stats tr.ztv-heal-speed-row td.ztv-heal-speed-cell {
    line-height: 1.35;
}
div#build table#build_value.ztv-hospital-stats .ztv-heal-speed-hint {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.35;
}
div#build table#build_value.ztv-hospital-stats .ztv-heal-speed-times {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    color: #444;
}
div#build table#build_value.ztv-hospital-stats tr.ztv-hospital-rate-current td {
    font-weight: bold;
    color: #2d5016;
}
div#build table#build_value.ztv-hospital-stats tr.ztv-hospital-rate-next td {
    color: #6a4a12;
}
div#build table#build_value.ztv-hospital-stats tr.ztv-hospital-rate-table-head th {
    padding-top: 8px;
    border-top: 1px dotted #c0c0c0;
    font-weight: bold;
}
div#build table#build_value.ztv-hospital-stats tr.ztv-hospital-rate-table-head ~ tr th,
div#build table#build_value.ztv-hospital-stats tr.ztv-hospital-rate-table-head ~ tr td {
    font-size: 11px;
}

/* Sur bonuslari: mevcut | sonraki seviye (4 hucre / 2 sutun) */
div#build table#build_value.ztv-wall-stats{
    width:auto;
    max-width:100%;
    margin-top:12px;
    border-collapse:collapse;
    background:transparent;
}
div#build table#build_value.ztv-wall-stats th,
div#build table#build_value.ztv-wall-stats td{
    white-space:nowrap;
    padding:2px 0;
    line-height:19px;
    font-size:12px;
    vertical-align:middle;
}
div#build table#build_value.ztv-wall-stats th{
    padding-right:12px;
    font-weight:normal;
    text-align:left;
}
div#build table#build_value.ztv-wall-stats td{
    text-align:right;
    padding-right:28px;
}
div#build table#build_value.ztv-wall-stats td:last-child{
    padding-right:0;
}
p.ztv-hospital-rate-foot,
p.ztv-heal-wound-rate,
p.ztv-heal-level-note {
    font-size: 12px;
    line-height: 1.4;
    margin: 6px 0;
}
p.ztv-heal-level-note {
    color: #5a4a20;
}
.ztv-heal-units .ztv-heal-action {
    margin-bottom: 8px;
}
.ztv-heal-units .ztv-heal-action .bigUnitSection {
    float: left;
}
.ztv-heal-units .ztv-heal-action .details {
    margin-left: 0;
}
.ztv-heal-units .ztv-heal-input {
    width: 5em;
}
.ztv-heal-units .ztv-heal-max-link {
    font-weight: bold;
    color: #5a7a2a;
}
.ztv-heal-units .ztv-heal-dur-time {
    vertical-align: middle;
}
img.ztv-report-bandage-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
div.reports tr.ztv-report-wounded th.ztv-report-wounded-label {
    color: #6b5a2e;
    font-weight: bold;
    white-space: nowrap;
}
div.reports tr.ztv-report-wounded td {
    color: #6b5a2e;
}
/* Rapor satır etiketleri: ikon + metin (metin gizlenir — yer kazanır) */
div.reports th.ztv-rep-rowlab {
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    width: 22px;
    max-width: 28px;
    padding: 2px 0;
}
div.reports th.ztv-rep-rowlab .ztv-rep-rowlab-ico,
div.reports th.ztv-rep-rowlab img.att_all,
div.reports th.ztv-rep-rowlab img.ztv-report-bandage-icon {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin: 0;
}
div.reports th.ztv-rep-rowlab .ztv-rep-rowlab-ico--dead,
div.reports th.ztv-rep-rowlab .ztv-rep-rowlab-ico--hospital,
div.reports th.ztv-rep-rowlab .ztv-rep-rowlab-ico--bandage,
div.reports th.ztv-rep-rowlab .ztv-rep-rowlab-ico--return {
    width: 14px;
    height: 14px;
    object-fit: contain;
}
div.reports th.ztv-rep-rowlab .ztv-rep-rowlab-txt {
    display: none !important;
}
body.reports.reportDetail div.reports #message td.ztv-rep-loot {
    text-align: left;
    padding: 4px 2px;
}
body.reports.reportDetail div.reports #message .ztv-rep-loot-lab {
    font-weight: bold;
    margin: 0 0 4px;
}
div.reports tr.ztv-report-bandage th.ztv-report-bandage-label {
    color: #3d6b3a;
    font-weight: bold;
    white-space: nowrap;
}
div.reports tr.ztv-report-bandage td {
    color: #3d6b3a;
}
div.reports tr.ztv-report-returning th.ztv-report-returning-label {
    color: #3d6b3a;
    font-weight: bold;
    white-space: nowrap;
}
div.reports tr.ztv-report-returning td {
    color: #3d6b3a;
}
table.ztv-report-statistics {
    width: 100%;
    margin-top: 8px;
}
table.ztv-report-statistics th {
    text-align: left;
    font-weight: bold;
    width: 34%;
}
table.ztv-report-statistics td {
    width: 33%;
    text-align: left;
}
table.ztv-report-statistics img.att_all,
table.ztv-report-statistics img.def_all,
table.ztv-report-statistics img.r5,
table.ztv-report-statistics img.carry {
    vertical-align: middle;
    margin-right: 3px;
}

/* Boş manzara yer tutucusu yok (destek/nakliyat img.reportImage). Kabile bandı durur. */
div.reports img.reportImage.reportType1,
div.reports img.reportImage.reportType2,
div.reports img.reportImage.reportType3,
div.reports img.reportImage.reportType4,
div.reports img.reportImage.reportType5,
div.reports img.reportImage.reportType6,
div.reports img.reportImage.reportType7,
div.reports img.reportImage.reportType8,
div.reports img.reportImage.reportType9,
div.reports img.reportImage.reportType10,
div.reports img.reportImage.reportType99 {
    display: none !important;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}
div.reports .ztv-report-tribe-banner.reportImage {
    display: block;
    width: 493px;
    height: 190px;
    margin: 0 0 20px;
    border: 0;
    background-color: #6f8f4a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='493' height='190' viewBox='0 0 493 190'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%238ecae6'/%3E%3Cstop offset='45%25' stop-color='%23b7d4a8'/%3E%3Cstop offset='100%25' stop-color='%235d6b3a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='493' height='190' fill='url(%23a)'/%3E%3Cellipse cx='95' cy='42' rx='58' ry='20' fill='%23ffffff' opacity='0.72'/%3E%3Cellipse cx='255' cy='34' rx='82' ry='24' fill='%23ffffff' opacity='0.55'/%3E%3Cellipse cx='410' cy='48' rx='64' ry='18' fill='%23ffffff' opacity='0.45'/%3E%3Cpath d='M0 118 C120 92 250 112 493 98 L493 190 L0 190 Z' fill='%238b7355' opacity='0.72'/%3E%3Cpath d='M0 142 C170 124 320 138 493 128 L493 190 L0 190 Z' fill='%235a4a35' opacity='0.88'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
div.reports .ztv-report-tribe-banner {
    position: relative;
    overflow: hidden;
}
div.reports .ztv-report-char {
    position: absolute;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}
div.reports .ztv-report-char-att {
    left: 8px;
}
div.reports .ztv-report-char-def {
    right: 8px;
    transform: scaleX(-1);
}
div.reports .ztv-report-char-portrait {
    width: 140px;
    height: 175px;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}
div.reports .ztv-report-char-portrait.tribe1 {
    background-image: url(img/activate/tribeSelection/tribe1.png), url(img/activate/avatars-ltr.png);
    background-size: contain, 190px auto;
    background-position: center bottom, 0 -432px;
}
div.reports .ztv-report-char-portrait.tribe2 {
    background-image: url(img/activate/tribeSelection/tribe2.png), url(img/activate/avatars-ltr.png);
    background-size: contain, 190px auto;
    background-position: center bottom, 0 -216px;
}
div.reports .ztv-report-char-portrait.tribe3 {
    background-image: url(img/activate/tribeSelection/tribe3.png), url(img/activate/avatars-ltr.png);
    background-size: contain, 190px auto;
    background-position: center bottom, 0 0;
}
div.reports .ztv-report-char-portrait.tribe6 {
    background-image: url(img/activate/tribeSelection/tribe6.png), url(img/activate/avatars-ltr.png);
    background-size: contain, 190px auto;
    background-position: center bottom, 0 -648px;
}
div.reports .ztv-report-char-portrait.tribe7 {
    background-image: url(img/activate/tribeSelection/tribe7.png), url(img/activate/avatars-ltr.png);
    background-size: contain, 190px auto;
    background-position: center bottom, 0 -864px;
}
div.reports .ztv-report-char-portrait.tribe8 {
    background-image: url(img/activate/ztv-vid8-avatar.png?v=20260913b);
}
div.reports .ztv-report-char-portrait.tribe9 {
    background-image: url(img/activate/ztv-vid9-avatar.png?v=20260913b);
}
div.reports .ztv-report-char-portrait.tribe5,
div.reports .ztv-report-char-natar {
    background-image: url(img/report/natarsVictory.jpg);
    background-size: cover;
    background-position: center 35%;
}
div.reports .ztv-report-char-nature {
    width: 160px;
    height: 130px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding-bottom: 4px;
}
div.reports .ztv-report-char-nature img.unit {
    width: 19px;
    height: 19px;
    transform: scale(2.4);
    transform-origin: center bottom;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
div.reports .ztv-report-tribe-icon.tribeIcon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}
div.reports .ztv-report-hospital-note {
    margin: 10px 0 4px;
    padding: 6px 10px;
    background: #f5f0df;
    border: 1px solid #d8cfad;
    color: #6b5a2e;
    font-size: 11px;
}

.ztv-heal-queue .dur {
    white-space: nowrap;
}

div.warsim table.results tr.ztv-warsim-battle-loss th,
div.warsim table.results tr.ztv-warsim-wounded th {
    color: #5a4a2a;
    font-weight: bold;
}
div.warsim table.results tr.ztv-warsim-dead th {
    font-weight: bold;
}
div.warsim table.results tr.ztv-warsim-wounded td {
    color: #6b5a2e;
}
div.warsim table.results tr.ztv-warsim-bandage-saved td {
    color: #2a5a3a;
}
div.warsim table.results tr.ztv-warsim-remaining th,
div.warsim table.results tr.ztv-warsim-remaining td {
    font-weight: bold;
    color: #2a4a6a;
}
div.warsim table.results tr.ztv-warsim-bandage-usage th {
    font-size: 11px;
    font-weight: normal;
    color: #444;
    text-align: left;
    padding: 4px 6px;
}
div.warsim .ztv-warsim-bandage-opt input.text {
    width: 35px;
}
div.warsim .ztv-warsim-bandage-type {
    margin-top: 4px;
    font-size: 11px;
    line-height: 18px;
    white-space: nowrap;
}
div.warsim .ztv-warsim-bandage-type label {
    margin-right: 6px;
}
div.warsim .ztv-warsim-bandage-type input.radio {
    vertical-align: middle;
    margin-right: 2px;
}
div.warsim .ztv-warsim-hosp-hint {
    display: block;
    font-size: 10px;
    font-weight: normal;
    color: #666;
    margin-top: 2px;
}

/* Savaş simülatörü — saldırı / savunma yapılandırması yan yana */
div.warsim .ztv-warsim-config-columns {
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}
div.warsim .ztv-warsim-config-columns #attacker {
    float: left;
    width: 49%;
    margin-bottom: 10px;
}
div.warsim .ztv-warsim-config-columns #defender {
    float: right;
    width: 49%;
    margin-bottom: 10px;
}

/* Sonuç sayfası harita zemininde yarıda kalmasın; dev asker sayıları hücreyi taşmasın */
body.warsim #center,
body.warsim #contentOuterContainer,
body.warsim #contentOuterContainer .contentContainer,
body.warsim #content.warsim,
body.warsim div#content.universal {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
div.warsim table.results tbody td,
div.warsim table.results tbody th,
div.warsim table.results thead td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Harita — büyük harita butonu: Plus yoksa tıklanamaz + tooltip */
#mapContainer .toolbar #iconFullscreen.iconRequireGold,
#mapContainer .toolbar #iconFullscreen.iconRequireGold .viewFull {
    cursor: not-allowed !important;
}

/* Harita — karte.php?fullscreen=1 tam ekran modu */
body.map.fullScreen {
    background-image: none !important;
    background-color: #c3edae !important;
}

body.map.fullScreen #headerBar,
body.map.fullScreen #header,
body.map.fullScreen #sidebarBeforeContent,
body.map.fullScreen #sidebarAfterContent,
body.map.fullScreen .contentTitle,
body.map.fullScreen .contentFooter,
body.map.fullScreen #ce {
    display: none !important;
}

body.map.fullScreen #center {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

body.map.fullScreen #stockBar {
    display: none !important;
}

body.map.fullScreen #background,
body.map.fullScreen #bodyWrapper,
body.map.fullScreen #contentOuterContainer,
body.map.fullScreen .contentContainer {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.map.fullScreen #content.map,
body.map.fullScreen .map2 {
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.map.fullScreen #content.map .titleInHeader {
    display: none !important;
}

/* Boyutlar newmap.php icinde JS ile containerViewSize ile ayni piksel degerinde verilir */
body.map.fullScreen #mapContainer {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 48px);
    margin: 8px auto 0 !important;
    overflow: hidden;
}

body.map.fullScreen #mapContainer .container,
body.map.fullScreen #mapContainer > div {
    max-width: 100%;
    max-height: 100%;
}

/* first.php / activate — çerçeveli volkIcon yok; sadece şeffaf asker PNG */
div.activate .container .kind .vid1,
div.activate .container .kind .vid2,
div.activate .container .kind .vid3,
div.activate .container .kind .vid6,
div.activate .container .kind .vid7,
div.activate .container .kind .vid8,
div.activate .container .kind .vid9,
div.activate .container .kind .vid1Highlight,
div.activate .container .kind .vid2Highlight,
div.activate .container .kind .vid3Highlight,
div.activate .container .kind .vid6Highlight,
div.activate .container .kind .vid7Highlight,
div.activate .container .kind .vid8Highlight,
div.activate .container .kind .vid9Highlight,
div.activate .container .kind .vid1Active,
div.activate .container .kind .vid2Active,
div.activate .container .kind .vid3Active,
div.activate .container .kind .vid6Active,
div.activate .container .kind .vid7Active,
div.activate .container .kind .vid8Active,
div.activate .container .kind .vid9Active {
    background-image: none !important;
    background-color: transparent !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
div.activate .container .kind .vid1,
div.activate .container .kind .vid1Highlight,
div.activate .container .kind .vid1Active {
    background-image: url(img/activate/ztv-vid1-icon.png?v=20260726t4) !important;
}
div.activate .container .kind .vid2,
div.activate .container .kind .vid2Highlight,
div.activate .container .kind .vid2Active {
    background-image: url(img/activate/ztv-vid2-icon.png?v=20260726t4) !important;
}
div.activate .container .kind .vid3,
div.activate .container .kind .vid3Highlight,
div.activate .container .kind .vid3Active {
    background-image: url(img/activate/ztv-vid3-icon.png?v=20260726t4) !important;
}
div.activate .container .kind .vid6,
div.activate .container .kind .vid6Highlight,
div.activate .container .kind .vid6Active {
    background-image: url(img/activate/ztv-vid6-icon.png?v=20260726t4) !important;
}
div.activate .container .kind .vid7,
div.activate .container .kind .vid7Highlight,
div.activate .container .kind .vid7Active {
    background-image: url(img/activate/ztv-vid7-icon.png?v=20260726t4) !important;
}
div.activate .container .kind .vid8 {
    background-image: url(img/activate/ztv-vid8-icon.png?v=20260913b) !important;
}
div.activate .container .kind .vid9 {
    background-image: url(img/activate/ztv-vid9-icon.png?v=20260913b) !important;
}
div.activate .container .kind .vid8Highlight {
    background-image: url(img/activate/ztv-vid8-icon-highlight.png?v=20260913b) !important;
}
div.activate .container .kind .vid8Active {
    background-image: url(img/activate/ztv-vid8-icon-active.png?v=20260913b) !important;
}
div.activate .container .kind .vid9Highlight {
    background-image: url(img/activate/ztv-vid9-icon-highlight.png?v=20260913b) !important;
}
div.activate .container .kind .vid9Active {
    background-image: url(img/activate/ztv-vid9-icon-active.png?v=20260913b) !important;
}
body.ztv-first-register div.activate .container .description-container .vid8 .bubble {
    top: 455px;
}
body.ztv-first-register div.activate .container .description-container .vid9 .bubble {
    top: 8px;
}
body.ztv-first-register div.activate .boxVidInfo {
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #d4cbb0 !important;
    border-radius: 8px;
    box-shadow: none;
}
body.ztv-first-register div.activate .boxVidInfo .greenbox-top,
body.ztv-first-register div.activate .boxVidInfo .greenbox-bottom {
    display: none !important;
    background: none !important;
}
body.ztv-first-register div.activate .boxVidInfo .greenbox-content {
    color: #1a1a1a !important;
    background: #fff !important;
    font-weight: normal !important;
    float: none !important;
    width: auto !important;
    max-width: 100%;
    padding: 12px 16px !important;
}
/* Sparta/Viking: diğer ırklarla aynı 80x72 contain ikon + 190x216 büyük asker */
div.activate .avatar.vid8,
div.activate .avatar.vid8Highlight,
div.activate .avatar.ztv-first-avatar-spartan {
    background-image: url(img/activate/ztv-vid8-avatar.png?v=20260913b) !important;
    background-size: 100% 100% !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}
div.activate .avatar.vid9,
div.activate .avatar.vid9Highlight,
div.activate .avatar.ztv-first-avatar-berserker {
    background-image: url(img/activate/ztv-vid9-avatar.png?v=20260913b) !important;
    background-size: 100% 100% !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}
body.ztv-first-register div.activate .avatar.ztv-first-avatar-spartan,
body.ztv-first-register div.activate .avatar.ztv-first-avatar-berserker {
    width: 190px;
    height: 216px;
    right: -35px;
    bottom: -210px;
    transform: none;
}
body.ztv-first-register .ztv-first-berserker-badge {
    display: inline-block;
    font-weight: bold;
    color: #8b1a1a;
    padding: 0 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #f4e4c8 0%, #e8d0a8 100%);
    border: 1px solid #a87840;
}
body.ztv-first-register div.activate #sector .avatar.vid8,
body.ztv-first-register div.activate #sector .avatar.vid9 {
    width: 190px;
    height: 216px;
    background-size: 100% 100% !important;
    background-position: center bottom !important;
}

/* compact1.css ../../../img hatasi — dogru gpack yolu (questmaster + gunluk odul) */
#sidebarBoxQuestmaster #questmasterButton.vid_1 img.border,
#sidebarBoxQuestmaster #questmasterButton.vid_1 img.mentor {
    background-image: url(img/layout/mentorRoman-ltr.png) !important;
}
#sidebarBoxQuestmaster #questmasterButton.vid_1 img.animation {
    background-image: url(img/layout/questmasterAnimationRoman-ltr.png) !important;
}
#sidebarBoxQuestmaster #questmasterButton.vid_2 img.border,
#sidebarBoxQuestmaster #questmasterButton.vid_2 img.mentor {
    background-image: url(img/layout/mentorTeuton-ltr.png) !important;
}
#sidebarBoxQuestmaster #questmasterButton.vid_2 img.animation {
    background-image: url(img/layout/questmasterAnimationTeuton-ltr.png) !important;
}
#sidebarBoxQuestmaster #questmasterButton.vid_3 img.border,
#sidebarBoxQuestmaster #questmasterButton.vid_3 img.mentor {
    background-image: url(img/layout/mentorGaul-ltr.png) !important;
}
#sidebarBoxQuestmaster #questmasterButton.vid_3 img.animation {
    background-image: url(img/layout/questmasterAnimationGaul-ltr.png) !important;
}
#sidebarBoxQuestmaster #questmasterButton .bigSpeechBubble.newQuestSpeechBubble img,
div.dialog div.content #achievementRewardList div.achievement .bigSpeechBubble.rewardReady img {
    background-image: url(img/layout/icons/exclamationMark-ltr.png) !important;
}

/* login.php — sifre goster goz ikonu input icinde, kayma yok */
div.outerLoginBox table.loginTable .loginPwWrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 175px;
    max-width: 100%;
}
div.outerLoginBox table.loginTable .loginPwWrap input.text {
    width: 100% !important;
    padding-right: 26px !important;
    box-sizing: border-box;
    margin: 0;
    display: block;
}
div.outerLoginBox table.loginTable button.loginPwToggle {
    position: absolute !important;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 24px;
    height: auto !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: none;
    opacity: 0.55;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: none;
}
div.outerLoginBox table.loginTable button.loginPwToggle:hover,
div.outerLoginBox table.loginTable button.loginPwToggle:focus {
    opacity: 0.9;
    outline: none;
    background: transparent;
    margin: 0 !important;
}
div.outerLoginBox table.loginTable .loginPwIcon {
    display: block;
    width: 15px;
    height: 15px;
    margin: 0;
    flex-shrink: 0;
    fill: none;
    stroke: #4a4a4a;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
div.outerLoginBox table.loginTable .loginPwIcon--hide { display: none; }
div.outerLoginBox table.loginTable button.loginPwToggle[aria-pressed="true"] .loginPwIcon--show { display: none; }
div.outerLoginBox table.loginTable button.loginPwToggle[aria-pressed="true"] .loginPwIcon--hide { display: block; }

/* Günlük görev — 6 ödül (25–200) orijinal ikon boyutu, genişletilmiş tek satır */
.questWrapper.achievements.mainDialog {
    height: auto !important;
    min-height: 520px;
    max-height: 90vh;
    overflow-y: auto;
    width: 780px !important;
}
div.dialog:has(.questWrapper.achievements.mainDialog),
div.dialog .content:has(.questWrapper.achievements.mainDialog) {
    width: auto !important;
    min-width: 780px !important;
    overflow-x: visible !important;
}
.questWrapper.achievements.mainDialog .birthdayRibbonContainer {
    left: 163px !important;
}
div.dialog div.content div.pointsAndAchievements {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 0;
    margin-top: 10px !important;
    overflow: visible !important;
    width: 100% !important;
}
div.dialog div.content div.achievementPoints {
    float: none !important;
    flex: 0 0 122px;
    width: 122px !important;
    height: 109px !important;
    background-size: auto !important;
}
div.dialog div.content div.achievementPoints div.points {
    font-size: 25px !important;
    margin-top: 42px !important;
}
div.dialog div.content div.achievementPoints div.pointstext {
    font-size: 14px !important;
    padding-top: 16px !important;
}
div.dialog div.content #achievementRewardList {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    flex: 0 0 auto !important;
    min-width: 0;
    overflow: visible !important;
}
div.dialog div.content #achievementRewardList div.verticalLine {
    float: none !important;
    flex: 0 0 1px;
    width: 1px !important;
    height: 112px !important;
    margin-left: 10px !important;
    margin-right: 3px !important;
}
div.dialog div.content #achievementRewardList div.achievement {
    float: none !important;
    flex: 0 0 89px;
    position: relative !important;
    width: 89px !important;
    height: 112px !important;
    overflow: visible;
}
.questWrapper.achievements #achievementRewardList div.achievement a.quest {
    display: block !important;
    position: relative !important;
    width: 89px !important;
    height: 112px !important;
    text-decoration: none !important;
}
div.dialog div.content #achievementRewardList div.achievement img[class*="points_"] {
    display: block !important;
}
div.dialog div.content #achievementRewardList div.achievementArrow {
    float: none !important;
    flex: 0 0 9px;
    width: 9px !important;
    height: 112px !important;
    margin-left: 5px !important;
    margin-right: 3px !important;
    background-size: auto !important;
}
div.dialog div.content #achievementRewardList img.points_25,
div.dialog div.content #achievementRewardList img.points_50,
div.dialog div.content #achievementRewardList img.points_75,
div.dialog div.content #achievementRewardList img.points_100,
div.dialog div.content #achievementRewardList img.points_150,
div.dialog div.content #achievementRewardList img.points_200 {
    width: 89px !important;
    height: 112px !important;
    background-size: auto !important;
}
div.dialog div.content #achievementRewardList img.points_25 { background-position: -18px center !important; }
div.dialog div.content #achievementRewardList img.points_50 { background-position: -25px center !important; }
div.dialog div.content #achievementRewardList img.points_75 { background-position: -28px center !important; }
div.dialog div.content #achievementRewardList img.points_100 { background-position: -28px center !important; }
div.dialog div.content #achievementRewardList img.points_25.active { background-position: -4px center !important; }
div.dialog div.content #achievementRewardList img.points_50.active { background-position: -25px center !important; }
div.dialog div.content #achievementRewardList img.points_75.active { background-position: -28px center !important; }
div.dialog div.content #achievementRewardList img.points_100.active { background-position: -28px center !important; }
div#achievementRewardList div.achievement div.pointAmount {
    position: absolute !important;
    z-index: 2;
    color: #000 !important;
    font-weight: normal !important;
    line-height: 1 !important;
    white-space: nowrap;
    pointer-events: none;
}
div#achievementRewardList div.achievement div.pointAmount.points_25 {
    font-size: 21px !important;
    left: 42px !important;
    top: 20px !important;
}
div#achievementRewardList div.achievement div.pointAmount.points_50 {
    font-size: 21px !important;
    left: 32px !important;
    top: 20px !important;
}
div#achievementRewardList div.achievement div.pointAmount.points_75 {
    font-size: 21px !important;
    left: 30px !important;
    top: 20px !important;
}
div#achievementRewardList div.achievement div.pointAmount.points_100 {
    font-size: 21px !important;
    left: 24px !important;
    top: 20px !important;
}
div#achievementRewardList div.achievement div.pointAmount.points_150,
div#achievementRewardList div.achievement div.pointAmount.points_200 {
    font-size: 18px !important;
    left: 20px !important;
    top: 20px !important;
    letter-spacing: -0.5px;
}
div.dialog div.content #achievementRewardList div.achievement div.hook img {
    position: absolute !important;
    height: 30px !important;
    width: 30px !important;
    background-size: auto !important;
    z-index: 3;
}
div.dialog div.content #achievementRewardList div.achievement div.hook.points_25 img { left: 57px !important; top: -2px !important; }
div.dialog div.content #achievementRewardList div.achievement div.hook.points_50 img { left: 49px !important; top: -2px !important; }
div.dialog div.content #achievementRewardList div.achievement div.hook.points_75 img,
div.dialog div.content #achievementRewardList div.achievement div.hook.points_100 img,
div.dialog div.content #achievementRewardList div.achievement div.hook.points_150 img,
div.dialog div.content #achievementRewardList div.achievement div.hook.points_200 img { left: 45px !important; top: -2px !important; }
div.dialog div.content #achievementRewardList div.achievement .bigSpeechBubble {
    position: absolute !important;
    left: -12px !important;
    top: 76px !important;
    transform: none !important;
    z-index: 4;
}
.questWrapper.achievements.mainDialog .questButtons {
    position: relative !important;
    clear: both !important;
    width: 100% !important;
    height: auto !important;
    min-height: 36px !important;
    margin: 12px 0 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #DCD6CA;
    text-align: center !important;
}
.questWrapper.achievements.mainDialog .questButtons button,
.questWrapper.achievements.mainDialog .questButtons button.questButtonClose,
.questWrapper.achievements.ztv-daily-reward .questButtons,
.questWrapper.achievements.ztv-daily-reward .questButtons button.questButtonClose,
.questWrapper.achievements.ztv-daily-reward .questButtons button.questButtonOverviewAchievements,
.questWrapper.achievements.ztv-daily-reward .questButtons button.ztv-daily-reward-close {
    position: static !important;
    right: auto !important;
    left: auto !important;
    display: inline-block !important;
    float: none !important;
    margin: 0 auto !important;
    pointer-events: auto !important;
    z-index: 5;
    cursor: pointer !important;
}
.questWrapper.achievements.ztv-daily-reward .questButtons {
    position: relative !important;
    clear: both !important;
    width: 100% !important;
    height: auto !important;
    min-height: 40px !important;
    margin: 12px 0 8px !important;
    padding-top: 8px !important;
    text-align: center !important;
    overflow: visible !important;
}
.dialog.questTodoList .cancel,
.dialog.questInformation .cancel,
.dialog .dialog-contents .cancel {
    pointer-events: auto !important;
    z-index: 30 !important;
    cursor: pointer !important;
}

/* Günlük görevler — puan sütunu (web + genel) */
#achievementQuestList td.points,
div.dialog div.content #achievementQuestList td.points {
    width: 78px !important;
    min-width: 72px !important;
    padding: 6px 8px 6px 4px !important;
    vertical-align: middle !important;
    text-align: right !important;
    color: #6a9a12 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
}
#achievementQuestList td.points .ztv-dq-cell {
    display: block !important;
    text-align: right !important;
}
#achievementQuestList td.points .ztv-dq-step {
    display: block !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #5a8a0e !important;
    letter-spacing: 0.01em;
}
#achievementQuestList td.points .ztv-dq-hint {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #8a9a6a !important;
    margin-left: 2px;
}
#achievementQuestList td.points .ztv-dq-max {
    display: block !important;
    margin-top: 2px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #777 !important;
}

/* NPC diyalog — dikey satır düzeni (uzun sayılar yan yana binmesin) */
div#build.exchangeResources.ztv-npc-stack {
    width: 520px;
    max-width: 100%;
    box-sizing: border-box;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v tr.ztv-npc-r td {
    padding: 6px 4px;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
    background: #f7f7f7;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v tr.ztv-npc-r:nth-child(even) td {
    background: #fff;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v td.ico {
    width: 28px;
    text-align: center;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v td.all {
    width: 32%;
    text-align: left;
    font-weight: bold;
    word-break: break-all;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v td.sel {
    width: 36%;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v td.sel input.text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
div#build.exchangeResources.ztv-npc-stack table#npc.ztv-npc-v td.rem {
    width: 24%;
    text-align: right;
    font-weight: bold;
    word-break: break-all;
}
div#build.exchangeResources.ztv-npc-stack .ztv-npc-totals-bar {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 10px;
    padding: 10px 12px;
    background: #e7e7e7;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.45;
    clear: both;
}
div#build.exchangeResources.ztv-npc-stack .ztv-npc-sum-item {
    display: block;
    width: auto;
    margin: 4px 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}
div#build.exchangeResources.ztv-npc-stack .ztv-npc-sum-label {
    white-space: nowrap;
    margin-right: 4px;
}
div#build.exchangeResources.ztv-npc-stack #submitButton,
div#build.exchangeResources.ztv-npc-stack #submitText {
    text-align: center;
    clear: both;
}
div#build.exchangeResources.ztv-npc-stack button.gold {
    display: inline-block;
    width: auto;
    float: none;
    margin: 0 auto 8px;
}
div#build.exchangeResources.ztv-npc-stack button.gold .button-content {
    text-align: center;
    white-space: nowrap;
}

/* Askeri us — uzun dil etiketlerinde "Asker kaçır" sekmesi kesilmesin */
div#build.gid16 .contentNavi.tabNavi.ztv-rally-tabNavi,
#content.a2b .contentNavi.tabNavi.ztv-rally-tabNavi {
    height: auto !important;
    min-height: 22px;
    overflow: visible !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end;
    gap: 2px 0;
    background-position: left bottom;
}
div#build.gid16 .ztv-rally-tabNavi .container,
#content.a2b .ztv-rally-tabNavi .container {
    float: none !important;
    flex: 0 0 auto;
    max-width: 100%;
}
div#build.gid16 .ztv-rally-tabNavi .container .content .tabItem,
#content.a2b .ztv-rally-tabNavi .container .content .tabItem {
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px;
}

/* Askeri us — sekme linkleri (build.php + a2b.php) */
div#build.gid16 .ztvTabSwitchLink,
#content.a2b .ztv-rally-tabNavi .ztvTabSwitchLink {
    display: inline;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
div#build.gid16 .container.active .ztvTabSwitchLink .tabItem,
#content.a2b .ztv-rally-tabNavi .container.active .ztvTabSwitchLink .tabItem {
    font-weight: bold;
}

/* Eski POST sekme formu (geriye uyumluluk) */
div#build.gid16 .ztvTabSwitchForm {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
}
div#build.gid16 .ztvTabSwitchBtn {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
    line-height: inherit;
}
div#build.gid16 .container.active .ztvTabSwitchBtn {
    font-weight: bold;
}

/* Askeri us / build — bozuk hareket HTML'i sonrasi sag koy listesi kaybolmasin */
body.build #center {
    min-height: 660px;
    overflow: visible;
}

body.build #contentOuterContainer {
    float: left;
    max-width: 600px;
}

body.build #sidebarAfterContent.sidebar.afterContent {
    display: flex !important;
    visibility: visible !important;
    float: left;
}

body.build div#content.build {
    width: 554px;
    max-width: 100%;
    overflow: visible;
}

/* Tek rapor gorunumu — bozuk HTML sonrasi sag panel kaybolmasin */
body.reports.reportDetail #center {
    min-height: 660px;
    overflow: visible;
}

body.reports.reportDetail #contentOuterContainer {
    float: left;
    max-width: 600px;
}

body.reports.reportDetail #sidebarAfterContent.sidebar.afterContent {
    display: flex !important;
    visibility: visible !important;
    float: left;
}

body.reports.reportDetail div#content.reports {
    width: 554px;
    max-width: 100%;
    overflow: visible;
}

/* Klasik Travian kağıt boyutu — küçültme / border-box daraltması yok */
body.reports.reportDetail div.reports .paper#report_surround {
    width: 579px !important;
    max-width: none !important;
    left: -15px !important;
    position: relative;
    box-sizing: content-box !important;
    overflow: visible !important;
}

body.reports.reportDetail div.reports .paperTop,
body.reports.reportDetail div.reports .paperBottom {
    width: 579px !important;
    max-width: none !important;
    box-sizing: content-box !important;
}

body.reports.reportDetail div.reports .paperContent {
    width: 495px !important;
    max-width: none !important;
    padding: 30px 42px 20px !important;
    box-sizing: content-box !important;
    overflow: visible !important;
}

/* Büyük sayılar: kaydırma sadece #message içinde; tablo kağıdı doldurur */
/* overflow BFC oluşturur → float'lı Konu/Gönderilen yanında ortada kalmasın diye clear */
body.reports.reportDetail div.reports .paperContent #time,
body.reports.reportDetail div.reports .paperContent .ztv-warsim-report-link,
body.reports.reportDetail div.reports .paperContent .separator,
body.reports.reportDetail div.reports #message {
    clear: both;
}
body.reports.reportDetail div.reports #message {
    width: 100%;
    max-width: 495px;
    overflow-x: auto;
    overflow-y: visible;
    box-sizing: border-box;
    margin-top: 10px;
}
body.reports.reportDetail div.reports #message table {
    width: 100% !important;
    max-width: none;
    table-layout: auto;
}
/* Sadece etiket sütunu (Askerler/Kayıplar ikonu) — birim sütunlarına dokunma */
body.reports.reportDetail div.reports #message th.ztv-rep-rowlab,
body.reports.reportDetail div.reports #message th.coords,
body.reports.reportDetail div.reports #message table .units > tr > th:first-child {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 36px !important;
    padding: 2px 0 !important;
    text-align: center !important;
}
body.reports.reportDetail div.reports #message table .units th {
    width: 28px !important; /* compact 17% yerine; yalnızca label th */
}
body.reports.reportDetail div.reports #message table .units td,
body.reports.reportDetail div.reports #message td.unit {
    white-space: nowrap;
    padding-left: 2px;
    padding-right: 2px;
    /* orijinal font; sığmazsa ztv-mobile.js küçültür */
}

body.reports.reportDetail div.reports img.reportImage {
    display: none !important;
    width: 0;
    height: 0;
    margin: 0;
}
body.reports.reportDetail div.reports .adventureReportImage {
    width: 240px;
    height: 80px;
    min-height: 0;
    max-width: 100%;
    margin: 0 auto 12px;
    background-size: cover;
}
body.reports.reportDetail div.reports .ztv-report-tribe-banner.reportImage {
    width: 493px;
    height: 190px;
    min-height: 0;
    max-width: 100%;
    margin: 0 0 20px;
    background-size: cover;
}

/* Gönderen / alıcı kutusu: 65px tavanı metni taşıyor */
body.reports.reportDetail #message table.tbg.support .boxes,
body.reports.reportDetail #message .boxes.trade,
body.reports.reportDetail #message .boxes.support {
    height: auto !important;
    min-height: 72px;
    overflow: visible;
}
body.reports.reportDetail #message table.tbg.support .boxes-contents,
body.reports.reportDetail #message .boxes.trade .boxes-contents,
body.reports.reportDetail #message .boxes.support .boxes-contents {
    height: auto !important;
    overflow: visible;
    padding: 8px 10px 10px !important;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
}
body.reports.reportDetail #message table.tbg.support td.s7 {
    vertical-align: top;
}

/* Crop finder — layout, form, sag sidebar, sunucu saati */
body.cropfinder #center {
    min-height: 660px;
    overflow: visible;
}

body.cropfinder #contentOuterContainer {
    float: left;
    max-width: 600px;
}

body.cropfinder #sidebarAfterContent.sidebar.afterContent {
    display: flex !important;
    visibility: visible !important;
    float: left;
}

body.cropfinder #bodyWrapper {
    position: relative;
}

body.cropfinder #servertime.stime {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 75px;
    z-index: 50;
}

div.cropfinder div.cropfinder_input div.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 0;
    min-height: 24px;
    line-height: 22px;
    margin: 10px 0;
    clear: both;
    overflow: visible;
}

div.cropfinder div.cropfinder_input div.row span.cropfinder_head {
    flex: 0 0 132px;
    float: none;
    width: auto;
    padding: 2px 10px 0 0;
    font-weight: bold;
    color: #5a4a32;
}

div.cropfinder div.cropfinder_input div.row .row-options {
    flex: 1 1 340px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-width: 0;
}

div.cropfinder div.cropfinder_input div.row .row-options-coords {
    gap: 6px 8px;
}

div.cropfinder div.cropfinder_input div.row .row-options-coords .coordInputLabel {
    float: none;
    margin: 0;
}

div.cropfinder div.cropfinder_input div.row .row-options-coords input.text {
    width: 48px;
}

div.cropfinder div.cropfinder_input div.row label.type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    white-space: nowrap;
    cursor: pointer;
    font-weight: normal;
}

div.cropfinder div.cropfinder_input div.row label.type img.r4 {
    vertical-align: middle;
}

div.cropfinder div.cropfinder_input div.row label.type.type-check {
    white-space: normal;
}

div.cropfinder div.cropfinder_input div.row.row-only-free {
    margin-top: 6px;
}

div.cropfinder div.cropfinder_input div.row.row-submit {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #d7c095;
}

div.cropfinder div.cropfinder_input div.row.row-submit .row-options-submit {
    flex: 1 1 100%;
    justify-content: center;
}

div.cropfinder div.cropfinder_input div.row.row-submit p.btn {
    margin: 0;
    float: none;
}

div.cropfinder .boxes.cropFinderForm {
    width: auto;
    max-width: 100%;
}

/* Harita vaha — destek birlikleri ayri tablo */
table.ztvMapReinf th {
    text-align: left;
    font-weight: normal;
    padding-bottom: 4px;
}

/* dorf1 Askerler/Uretim — standart 200px; sayi tam; gerekirse max 226 */
div.village1 div#map_details {
    width: 222px !important;
    min-width: 222px !important;
    max-width: 242px !important;
    overflow: visible !important;
}
div.village1 div.units,
div.village1 div.boxes.units {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 226px !important;
    box-sizing: border-box;
    overflow: visible !important;
    float: right !important;
    clear: right !important;
    position: relative;
    z-index: 20;
    margin: 6px 0 0 0 !important;
}
div.village1 div.production,
div.village1 div.boxes.production {
    width: auto !important;
    min-width: 200px !important;
    max-width: 320px !important;
    box-sizing: border-box;
    overflow: visible !important;
    float: right !important;
    clear: right !important;
    position: relative;
    z-index: 30;
    margin: 0 !important;
}
div.village1 div.units div.boxes-contents,
div.village1 div.units div.boxes-contents.cf {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
div.village1 div.production div.boxes-contents,
div.village1 div.production div.boxes-contents.cf {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
div.village1 table#troops {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse;
}
div.village1 table#troops thead th {
    text-align: left !important;
}
div.village1 table#troops tbody tr {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    gap: 0 4px !important;
    margin: 0 0 3px 0 !important;
}
div.village1 table#troops td.ico {
    flex: 0 0 20px !important;
    width: 20px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
}
div.village1 table#troops td.troop {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 1px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 0 4px !important;
}
div.village1 table#troops td.troop .num,
div.village1 table#troops .num {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.25 !important;
    font-size: inherit !important;
    color: inherit !important;
}
div.village1 table#troops td.troop .un,
div.village1 table#troops .un {
    /* sığarsa aynı satır, sığmazsa bütün isim alta */
    flex: 0 1 auto !important;
    flex-grow: 0 !important;
    min-width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
    word-break: normal !important;
    line-height: 1.25 !important;
    font-size: inherit !important;
    color: inherit !important;
}
div.village1 table#production {
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse;
}
div.village1 table#production td,
div.village1 table#production th {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    max-width: none !important;
}
div.village1 table#production td.num {
    width: auto !important;
    padding: 1px 4px;
    vertical-align: middle;
    text-align: left;
    font-size: inherit !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
div.village1 table#production td.res,
div.village1 table#production td.per {
    width: auto !important;
}

/* Sag panel — oto yagma bilgilendirme (REKLAM alti) */
#sidebarBoxRaidInfo.ztv-sidebar-raid .ztv-sb-raid {
    font-size: 11px;
    line-height: 1.4;
    padding: 2px 4px 4px;
    text-align: left;
}
#sidebarBoxRaidInfo .ztv-sb-raid__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    margin: 4px 0;
}
#sidebarBoxRaidInfo .ztv-sb-raid__label {
    color: #5a4a2e;
    font-weight: bold;
}
#sidebarBoxRaidInfo .ztv-sb-raid__value {
    color: #2a2418;
    font-variant-numeric: tabular-nums;
}
#sidebarBoxRaidInfo .ztv-sb-raid__clock {
    font-weight: bold;
    color: #1f3a08;
}
#sidebarBoxRaidInfo .ztv-sb-raid__rem {
    color: #5a4a2e;
}
#sidebarBoxRaidInfo .ztv-sb-raid-live.ztv-sb-raid--warn {
    color: #a32020;
    font-weight: bold;
    animation: ztvSbRaidBlink 1s steps(2, start) infinite;
}
#sidebarBoxRaidInfo .ztv-sb-raid-live.ztv-sb-raid--warn .ztv-sb-raid__clock,
#sidebarBoxRaidInfo .ztv-sb-raid-live.ztv-sb-raid--warn .ztv-sb-raid__rem {
    color: #a32020;
}
@keyframes ztvSbRaidBlink {
    50% { opacity: 0.25; }
}
#sidebarBoxRaidInfo .ztv-sb-raid__badge {
    display: inline-block;
    padding: 0 5px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 10px;
    line-height: 1.5;
}
#sidebarBoxRaidInfo .ztv-sb-raid__badge--on {
    background: #d8ecb8;
    color: #2e5a12;
    border: 1px solid #8fb86a;
}
#sidebarBoxRaidInfo .ztv-sb-raid__badge--off {
    background: #efefef;
    color: #666;
    border: 1px solid #bbb;
}
#sidebarBoxRaidInfo .ztv-sb-raid__queue {
    color: #a32020;
    font-weight: bold;
}
#sidebarBoxRaidInfo .ztv-sb-raid__hint {
    margin: 4px 0 6px;
    color: #5a4a2e;
}
#sidebarBoxRaidInfo .ztv-sb-raid__actions {
    margin-top: 6px;
    text-align: center;
}
#sidebarBoxRaidInfo .ztv-sb-raid__link {
    display: inline-block;
    font-weight: bold;
    color: #3d5c1a;
    text-decoration: underline;
}
#sidebarBoxRaidInfo .ztv-sb-raid__link:hover {
    color: #1f3a08;
}
#sidebarBoxRaidInfo .ztv-sb-ops__h {
    display: block;
    width: 100%;
    margin: 8px 0 4px;
    padding-top: 6px;
    border-top: 1px solid #d7c7a2;
    font-weight: 700 !important;
    font-size: 12px;
    line-height: 1.3;
    color: #3d2a10;
    text-align: center !important;
}
#sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button#ztvAutoTrainBtn {
    position: absolute !important;
    top: 2px !important;
    right: 150px !important;
    left: auto !important;
    margin: 0 !important;
    float: none !important;
    z-index: 9 !important;
}
#sidebarAfterContent #sidebarBoxActiveVillage button#ztvAutoTrainBtn div.button-container img {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background-image: url(img/layout/icons/buttonIcons-ltr.png?v=20260926ops7) !important;
    background-repeat: no-repeat !important;
    background-position: 0 -844px !important;
    background-size: auto !important;
    filter: none !important;
    -webkit-filter: none !important;
}
#sidebarAfterContent #sidebarBoxActiveVillage button#ztvAutoTrainBtn.gold div.button-container img {
    filter: brightness(0) invert(0.42) !important;
    -webkit-filter: brightness(0) invert(0.42) !important;
}
#sidebarBoxRaidInfo .ztv-sb-raid > .ztv-sb-ops__h:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
#sidebarBoxRaidInfo .ztv-sb-ops__units {
    margin: 2px 0 4px;
}
#sidebarBoxRaidInfo .ztv-sb-ops__unit {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0;
}
#sidebarBoxRaidInfo .ztv-sb-ops__unit-name {
    min-width: 0;
}
#sidebarBoxRaidInfo .ztv-sb-ops__unit-pct {
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    color: #1f3a08;
}

/* Pazar satın al — Arıyorum / Teklif ediyorum (Plus) */
div#build.gid17 .ztv-market-buy-filters {
    margin: 8px 0 12px;
}
div#build.gid17 .ztv-market-buy-filters .search_select,
div#build.gid17 .ztv-market-buy-filters .bid_select {
    width: 120px;
    float: left;
}
div#build.gid17 .ztv-market-buy-filters .ratio_select {
    width: 28px;
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}
div#build.gid17 .ztv-market-buy-filters .boxes.search_select,
div#build.gid17 .ztv-market-buy-filters .boxes.bid_select,
div#build.gid17 .ztv-market-buy-filters .boxes.ratio_select {
    padding: 4px 6px;
}
div#build.gid17 .ztv-market-buy-filters thead td {
    padding: 5px 2px 3px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    font-size: 11px;
}
div#build.gid17 .ztv-market-buy-filters button.iconFilter {
    min-width: 22px;
    min-height: 22px;
}
div#build.gid17 .ztv-market-buy-clear {
    clear: both;
    margin: 6px 0 0;
    font-size: 11px;
}
div#build.gid17 .ztv-market-buy-clear a {
    color: #372300;
    text-decoration: underline;
}
div#build.gid17 .ztv-market-buy-plus-hint {
    margin: 6px 0 10px;
    font-size: 11px;
}
div#build.gid17 .ztv-market-buy-plus-hint a {
    color: #372300;
    text-decoration: underline;
}

/* Harita kare — rapor geçmişi sekmeleri */
.ztv-tile-report-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 8px;
    flex-wrap: wrap;
}
.ztv-tile-report-tabs .ztv-tile-tab {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    color: #372300;
    background: #f0f0f0;
    border: 1px solid #b0b0b0;
    border-radius: 3px;
}
.ztv-tile-report-tabs .ztv-tile-tab.active {
    background: #99c01a;
    border-color: #7a9a14;
    color: #fff;
}
.ztv-tile-report-all {
    margin-top: 8px;
}
.ztv-berichte-vill-banner {
    margin: 8px 0 12px;
    padding: 6px 8px;
    background: #f5f5f0;
    border: 1px solid #c0c0a8;
    font-size: 12px;
}

/* Kayıt — 7 ırk karikatür şeridi (eşit kutu; Sparta/Viking cover + kafa görünür) */
.ztv-signup-tribes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 8px 12px;
    margin: 16px auto 8px;
    padding: 14px 10px;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #c0a268;
    border-radius: 8px;
    box-sizing: border-box;
}
.ztv-signup-tribe {
    display: inline-block;
    width: 90px;
    height: 110px;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    flex: 0 0 auto;
}
.ztv-signup-tribe--1 { background-image: url(img/activate/ztv-vid1-icon.png?v=20260727t6); }
.ztv-signup-tribe--2 { background-image: url(img/activate/ztv-vid2-icon.png?v=20260727t6); }
.ztv-signup-tribe--3 { background-image: url(img/activate/ztv-vid3-icon.png?v=20260727t6); }
.ztv-signup-tribe--6 { background-image: url(img/activate/ztv-vid6-icon.png?v=20260727t6); }
.ztv-signup-tribe--7 { background-image: url(img/activate/ztv-vid7-icon.png?v=20260727t6); }
/* Sparta / Viking: kutuyu doldur (diğerleriyle eşit ağırlık); kafa görünsün, biraz aşağı */
.ztv-signup-tribe--8 {
    background-image: url(img/u/big/u76-ltr.png?v=20260727t7);
    background-size: cover;
    background-position: center 22%;
}
.ztv-signup-tribe--9 {
    background-image: url(img/u/big/u83-ltr.png?v=20260727t7);
    background-size: cover;
    background-position: center 12%;
}
@media screen and (max-width: 980px) {
    .ztv-signup-tribes {
        gap: 4px 5px;
        padding: 10px 4px;
        margin: 12px 2px;
        max-width: 100%;
    }
    .ztv-signup-tribe {
        width: 44px;
        height: 56px;
    }
    .ztv-signup-tribe--8 {
        background-size: cover;
        background-position: center 20%;
    }
    .ztv-signup-tribe--9 {
        background-size: cover;
        background-position: center 10%;
    }
}

#outOfGame .ztv-oog-label {
    display: none;
}
.ztv-player-chip-caret {
    margin-left: 4px;
    font-size: 11px;
    opacity: 0.85;
}

@media screen and (min-width: 981px) {
    body.login .ztv-auth-lang-slot,
    body.signup .ztv-auth-lang-slot,
    body.logout .ztv-auth-lang-slot {
        display: none !important;
    }
    body.logout #sidebarAfterContent.sidebar.afterContent,
    body.login #sidebarAfterContent.sidebar.afterContent,
    body.signup #sidebarAfterContent.sidebar.afterContent {
        display: flex !important;
        visibility: visible !important;
        float: left !important;
    }
}
div.village1 table#movements .evasion,
div.village2 table#movements .evasion {
    color: #f2c700;
}
.colorBlind div.village1 table#movements .evasion,
.colorBlind div.village2 table#movements .evasion {
    color: #0022af;
}

/* Mesajlar — köy paneli asker/hareket yok; harita köy canlı asker listesi gizle */
body.messages #map_details,
body.messages #map_details .boxes.units,
body.messages #map_details .movements,
body.messages table#troops,
body.messages .boxes.villageList.units,
/* Harita: oyuncu köyü canlı asker/hareket gizle — vaha doğa (#ztv_oasis_nature) KALIR */
body.map .ztvMapReinf,
body.map h4 + table.ztvMapReinf,
body.map .boxes.units,
body.map .boxes.villageList.units,
body.map table#troops,
#content.map .ztvMapReinf,
#content.positionDetails .ztvMapReinf,
#content.map .boxes.units,
#content.positionDetails .boxes.units,
#content.map table#troops,
#content.positionDetails table#troops {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Vaha doğa birlikleri — her zaman görünür (harita popup) */
body.map #ztv_oasis_nature.ztv-map-nature-troops,
body.map table.ztv-map-nature-troops,
#content.map #ztv_oasis_nature.ztv-map-nature-troops,
#content.positionDetails #ztv_oasis_nature.ztv-map-nature-troops,
#tileDetails #ztv_oasis_nature.ztv-map-nature-troops,
#tileDetails table.ztv-map-nature-troops {
    display: table !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    width: 100%;
}
#tileDetails #ztv_oasis_nature .ico {
    width: 10%;
}
#tileDetails #ztv_oasis_nature .val {
    width: 10%;
    text-align: right;
    padding-right: 5px;
    font-weight: bold;
}

/* Web (masaüstü): dorf2’de asker / askeri hareket paneli yok — mobil hariç */
@media screen and (min-width: 981px) {
    body.village2 #map_details,
    body.village2 #map_details > .movements,
    body.village2 #map_details > .units,
    body.village2 #map_details .boxes.units,
    body.village2 #map_details .boxes.villageList.units,
    body.village2 #map_details table#troops,
    body.village2 #map_details table#movements {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
}
div.village2 table#movements div.dur_r {
    float: right;
    padding-right: 2px;
    font-size: 11px;
    color: #6b6b6b;
    white-space: nowrap;
}
div.village2 table#movements .a1 { color: #f00; }
div.village2 table#movements .d1 { color: #228b22; }
div.village2 table#movements .a2,
div.village2 table#movements .d2 { color: #f2c700; }
div.village2 table#movements .a3,
div.village2 table#movements .d3 { color: #b500a3; }
.colorBlind div.village2 table#movements .a1 { color: #0022af; }

/* Kahraman envanter: özellik paneli gizlenmesin (puan 0 olsa bile) */
div.hero_inventory .heroPropertiesContent.hide {
    display: block !important;
}


/* Hero inventory icons 115-174 (Egypt/Hun/Sparta/Viking) — compact2 cache/FTP bypass */
.male_item_115{background-image:url('../../img/hero/male/items/item115.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_116{background-image:url('../../img/hero/male/items/item116.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_117{background-image:url('../../img/hero/male/items/item117.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_118{background-image:url('../../img/hero/male/items/item118.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_119{background-image:url('../../img/hero/male/items/item119.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_120{background-image:url('../../img/hero/male/items/item120.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_121{background-image:url('../../img/hero/male/items/item121.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_122{background-image:url('../../img/hero/male/items/item122.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_123{background-image:url('../../img/hero/male/items/item123.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_124{background-image:url('../../img/hero/male/items/item124.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_125{background-image:url('../../img/hero/male/items/item125.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_126{background-image:url('../../img/hero/male/items/item126.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_127{background-image:url('../../img/hero/male/items/item127.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_128{background-image:url('../../img/hero/male/items/item128.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_129{background-image:url('../../img/hero/male/items/item129.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_130{background-image:url('../../img/hero/male/items/item130.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_131{background-image:url('../../img/hero/male/items/item131.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_132{background-image:url('../../img/hero/male/items/item132.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_133{background-image:url('../../img/hero/male/items/item133.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_134{background-image:url('../../img/hero/male/items/item134.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_135{background-image:url('../../img/hero/male/items/item135.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_136{background-image:url('../../img/hero/male/items/item136.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_137{background-image:url('../../img/hero/male/items/item137.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_138{background-image:url('../../img/hero/male/items/item138.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_139{background-image:url('../../img/hero/male/items/item139.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_140{background-image:url('../../img/hero/male/items/item140.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_141{background-image:url('../../img/hero/male/items/item141.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_142{background-image:url('../../img/hero/male/items/item142.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_143{background-image:url('../../img/hero/male/items/item143.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_144{background-image:url('../../img/hero/male/items/item144.png') !important;background-repeat:no-repeat;background-position:center;}
.male_item_145{background-image:url('../../img/hero/male/items/item145.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_146{background-image:url('../../img/hero/male/items/item146.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_147{background-image:url('../../img/hero/male/items/item147.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_148{background-image:url('../../img/hero/male/items/item148.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_149{background-image:url('../../img/hero/male/items/item149.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_150{background-image:url('../../img/hero/male/items/item150.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_151{background-image:url('../../img/hero/male/items/item151.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_152{background-image:url('../../img/hero/male/items/item152.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_153{background-image:url('../../img/hero/male/items/item153.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_154{background-image:url('../../img/hero/male/items/item154.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_155{background-image:url('../../img/hero/male/items/item155.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_156{background-image:url('../../img/hero/male/items/item156.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_157{background-image:url('../../img/hero/male/items/item157.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_158{background-image:url('../../img/hero/male/items/item158.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_159{background-image:url('../../img/hero/male/items/item159.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_160{background-image:url('../../img/hero/male/items/item160.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.male_item_161{background-image:url('../../img/hero/male/items/item161.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.male_item_162{background-image:url('../../img/hero/male/items/item162.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.male_item_163{background-image:url('../../img/hero/male/items/item163.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_164{background-image:url('../../img/hero/male/items/item164.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_165{background-image:url('../../img/hero/male/items/item165.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_166{background-image:url('../../img/hero/male/items/item166.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.male_item_167{background-image:url('../../img/hero/male/items/item167.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.male_item_168{background-image:url('../../img/hero/male/items/item168.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.male_item_169{background-image:url('../../img/hero/male/items/item169.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_170{background-image:url('../../img/hero/male/items/item170.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_171{background-image:url('../../img/hero/male/items/item171.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_172{background-image:url('../../img/hero/male/items/item172.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_173{background-image:url('../../img/hero/male/items/item173.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.male_item_174{background-image:url('../../img/hero/male/items/item174.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_115{background-image:url('../../img/hero/female/items/item115.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_116{background-image:url('../../img/hero/female/items/item116.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_117{background-image:url('../../img/hero/female/items/item117.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_118{background-image:url('../../img/hero/female/items/item118.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_119{background-image:url('../../img/hero/female/items/item119.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_120{background-image:url('../../img/hero/female/items/item120.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_121{background-image:url('../../img/hero/female/items/item121.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_122{background-image:url('../../img/hero/female/items/item122.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_123{background-image:url('../../img/hero/female/items/item123.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_124{background-image:url('../../img/hero/female/items/item124.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_125{background-image:url('../../img/hero/female/items/item125.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_126{background-image:url('../../img/hero/female/items/item126.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_127{background-image:url('../../img/hero/female/items/item127.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_128{background-image:url('../../img/hero/female/items/item128.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_129{background-image:url('../../img/hero/female/items/item129.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_130{background-image:url('../../img/hero/female/items/item130.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_131{background-image:url('../../img/hero/female/items/item131.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_132{background-image:url('../../img/hero/female/items/item132.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_133{background-image:url('../../img/hero/female/items/item133.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_134{background-image:url('../../img/hero/female/items/item134.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_135{background-image:url('../../img/hero/female/items/item135.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_136{background-image:url('../../img/hero/female/items/item136.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_137{background-image:url('../../img/hero/female/items/item137.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_138{background-image:url('../../img/hero/female/items/item138.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_139{background-image:url('../../img/hero/female/items/item139.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_140{background-image:url('../../img/hero/female/items/item140.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_141{background-image:url('../../img/hero/female/items/item141.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_142{background-image:url('../../img/hero/female/items/item142.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_143{background-image:url('../../img/hero/female/items/item143.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_144{background-image:url('../../img/hero/female/items/item144.png') !important;background-repeat:no-repeat;background-position:center;}
.female_item_145{background-image:url('../../img/hero/female/items/item145.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_146{background-image:url('../../img/hero/female/items/item146.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_147{background-image:url('../../img/hero/female/items/item147.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_148{background-image:url('../../img/hero/female/items/item148.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_149{background-image:url('../../img/hero/female/items/item149.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_150{background-image:url('../../img/hero/female/items/item150.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_151{background-image:url('../../img/hero/female/items/item151.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_152{background-image:url('../../img/hero/female/items/item152.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_153{background-image:url('../../img/hero/female/items/item153.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_154{background-image:url('../../img/hero/female/items/item154.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_155{background-image:url('../../img/hero/female/items/item155.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_156{background-image:url('../../img/hero/female/items/item156.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_157{background-image:url('../../img/hero/female/items/item157.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_158{background-image:url('../../img/hero/female/items/item158.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_159{background-image:url('../../img/hero/female/items/item159.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_160{background-image:url('../../img/hero/female/items/item160.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.female_item_161{background-image:url('../../img/hero/female/items/item161.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.female_item_162{background-image:url('../../img/hero/female/items/item162.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.female_item_163{background-image:url('../../img/hero/female/items/item163.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_164{background-image:url('../../img/hero/female/items/item164.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_165{background-image:url('../../img/hero/female/items/item165.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_166{background-image:url('../../img/hero/female/items/item166.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.female_item_167{background-image:url('../../img/hero/female/items/item167.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.female_item_168{background-image:url('../../img/hero/female/items/item168.png?v=20260726own2') !important;background-repeat:no-repeat;background-position:center;}
.female_item_169{background-image:url('../../img/hero/female/items/item169.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_170{background-image:url('../../img/hero/female/items/item170.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_171{background-image:url('../../img/hero/female/items/item171.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_172{background-image:url('../../img/hero/female/items/item172.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_173{background-image:url('../../img/hero/female/items/item173.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}
.female_item_174{background-image:url('../../img/hero/female/items/item174.png?v=20260726pair1') !important;background-repeat:no-repeat;background-position:center;}

/* Kuşanılmış eşya: silah GD ile kahraman gövdesinde çizilir.
   male_item_* !important kuralları background-image:none'ı eziyordu → çift PNG. */
div.hero_inventory #hero_body_content #shoes .item.onHero,
div.hero_inventory #hero_body_content #horse .item.onHero,
div.hero_inventory #hero_body_content #rightHand .item.onHero,
div.hero_inventory #hero_body_content #leftHand .item.onHero,
div.hero_inventory #hero_body_content #helmet .item.onHero,
div.hero_inventory #hero_body_content #body .item.onHero {
	background-image: none !important;
}


/* Rapor arşiv butonu */
a.ztv-rep-archive-btn {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: bold;
    color: #5a4a32;
    background: #f0e6c8;
    border: 1px solid #b8a678;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}
a.ztv-rep-archive-btn:hover {
    background: #e4d6a8;
    color: #000;
    text-decoration: none;
}
a.ztv-rep-archive-btn.is-archived {
    background: #e8f0d8;
    border-color: #99c01a;
    color: #3d5a10;
}
.ztv-rep-archive-bar {
    margin: 10px 0 4px;
    text-align: left;
    clear: both;
}
a.ztv-rep-archive-btn--detail {
    font-size: 12px;
    padding: 4px 10px;
}
a.ztv-rep-archive-btn--list {
    font-size: 10px;
    padding: 0 5px;
    margin-left: 4px;
}

/* Macera listesi: konu satırının boş sağında ödül önizlemesi */
div.reports table#overview td.sub span.ztv-adv-peek {
    float: right;
    margin: 0 6px 0 8px;
    white-space: nowrap;
    line-height: 16px;
}
div.reports table#overview td.sub span.ztv-adv-peek img {
    vertical-align: middle;
    margin: 0 1px;
}
div.reports table#overview td.sub span.ztv-adv-peek i.ztv-adv-item {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}
div.reports table#overview td.sub span.ztv-adv-peek .ztv-adv-n {
    margin-left: 2px;
    font-size: 11px;
    font-weight: bold;
    color: #333;
}

/* Mesaj arşiv butonu */
a.ztv-msg-archive-btn {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: bold;
    color: #5a4a32;
    background: #f0e6c8;
    border: 1px solid #b8a678;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}
a.ztv-msg-archive-btn:hover {
    background: #e4d6a8;
    color: #000;
    text-decoration: none;
}
a.ztv-msg-archive-btn.is-archived {
    background: #e8f0d8;
    border-color: #99c01a;
    color: #3d5a10;
}
.ztv-msg-archive-bar {
    margin: 10px 0 4px;
    text-align: left;
    clear: both;
}
a.ztv-msg-archive-btn--detail {
    font-size: 12px;
    padding: 4px 10px;
}
a.ztv-msg-archive-btn--list {
    font-size: 10px;
    padding: 0 5px;
    margin-left: 4px;
}
.ztv-msg-archive-hint {
    margin: 0 0 8px;
    padding: 6px 8px;
    font-size: 11px;
    color: #5a4a32;
    background: #f7f1dc;
    border: 1px solid #d4c49a;
}

/* Mesaj yaz — alıcı otomatik tamamlama (liste body'de; paper overflow kesmesin) */
body.messages #recipient .header.text {
    position: relative;
}
body.messages ul.autocompleter-choices {
    z-index: 99999 !important;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
body.messages ul.autocompleter-choices li {
    padding: 4px 10px;
}
body.messages #ztvReceiverSuggest {
    /* JS position:fixed; CSS top/left ezmesin */
    min-width: 160px;
}

/* Harita kare — eski #map_details float (compact) #tileInfo için */
#tileDetails div#tileInfo,
.dialog #tileDetails div#tileInfo {
    float: right;
    width: 217px;
}
/* Büyük harita dialog: sağ kolon (dağılım / doğa / mesafe / son raporlar) kesilmesin */
.dialog #tileDetails {
    overflow: visible;
}

/* Harita kare (web+mobil) — nabız köy asker panelini buraya yazmasın */
body.map .boxes.units,
body.map .boxes.villageList.units,
body.map #tileInfo .boxes.units,
body.map #tileInfo .boxes.villageList.units,
body.map #tileInfo table#troops,
body.map #tileInfo > .movements,
body.map #map_details .boxes.units,
body.map #map_details .boxes.villageList.units,
body.map #map_details table#troops,
body.map #map_details > .movements,
body.map #content.positionDetails .boxes.units,
body.map #content.positionDetails table#troops {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Bilgi kutusu — Bol Hayvanlı / Natar: masaüstünde yeşil */
#sidebarBoxInfobox a.ztv-infobox-hl,
#sidebarBoxInfobox a.ztv-infobox-oasis,
#sidebarBoxInfobox a.ztv-infobox-natar,
div.sidebar #sidebarBoxInfobox .content a.ztv-infobox-hl,
div#center div.sidebar #sidebarBoxInfobox .content a.ztv-infobox-hl {
    color: #5a9a12 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
#sidebarBoxInfobox a.ztv-infobox-hl:visited,
#sidebarBoxInfobox a.ztv-infobox-oasis:visited,
#sidebarBoxInfobox a.ztv-infobox-natar:visited {
    color: #4e8810 !important;
}
#sidebarBoxInfobox a.ztv-infobox-hl:hover {
    color: #7cb029 !important;
}

/* Harita popup — Mesafe değeri köy bilgisi satırlarıyla aynı punto/kalınlık (web) */
#tileDetails table#village_info tbody td,
#tileDetails table#village_info tbody td.ztv-tile-dist-val,
#tileDetails table#ztv_oasis_dist td,
#tileDetails table#ztv_oasis_dist td.ztv-tile-dist-val,
#tileDetails #ztv_oasis_dist td.ztv-tile-dist-val {
    font-size: 13px !important;
    font-weight: bold !important;
}
#tileDetails table#ztv_oasis_dist,
#tileDetails #ztv_oasis_dist,
body.map #ztv_oasis_dist {
    display: table !important;
    visibility: visible !important;
    width: 100%;
    margin: 4px 0 8px 0;
}
#tileDetails table#ztv_oasis_dist th,
#tileDetails #ztv_oasis_dist th {
    font-size: 13px;
    font-weight: bold;
    width: 35%;
}

/* Web: sağ sidebar plus (market/kışla/ahır/atölye) stockBar altında kesilmesin */
@media screen and (min-width: 981px) {
    #sidebarAfterContent.sidebar.afterContent {
        margin-top: 6px !important;
        padding-top: 0 !important;
        overflow: visible !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage {
        margin-top: 10px !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 6 !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .sidebarBoxInnerBox,
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header {
        overflow: visible !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header {
        padding-top: 28px !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    /* compact1 top:-15px / margin-top:-12px — stockBar’a gömülmeyi kaldır */
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton,
    #sidebarAfterContent.sidebar #sidebarBoxActiveVillage button.layoutButton {
        position: absolute !important;
        top: 2px !important;
        margin-top: 0 !important;
        margin-left: 3px !important;
        float: none !important;
        left: auto !important;
        z-index: 8 !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.workshopWhite,
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.workshopBlack {
        right: 6px !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.stableWhite,
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.stableBlack {
        right: 42px !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.barracksWhite,
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.barracksBlack {
        right: 78px !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.marketWhite,
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.marketBlack {
        right: 114px !important;
    }
    #sidebarAfterContent #sidebarBoxActiveVillage .innerBox.header > button.layoutButton.ztvAutoTrain {
        right: 150px !important;
    }
}

/* Oyun yönergesi — masaüstü: 580px kilit; 100vw pin / tam genişlik gitgel yok */
html:not(.ztv-m) .dialog.ztv-manual-dialog,
html:not(.ztv-m) .dialog:has(iframe.ztv-manual-frame) {
    width: auto !important;
    max-width: 640px !important;
}
html:not(.ztv-m) .dialog.ztv-manual-dialog iframe.ztv-manual-frame,
html:not(.ztv-m) .dialog iframe.popup.ztv-manual-frame {
    width: 580px !important;
    max-width: 580px !important;
    min-width: 0 !important;
    display: block !important;
}
html:not(.ztv-m) .dialog.ztv-manual-dialog .content,
html:not(.ztv-m) .dialog:has(iframe.ztv-manual-frame) .content {
    width: auto !important;
    max-width: 600px !important;
    overflow: hidden !important;
}
html:not(.ztv-m) .ztv-manual-wrap,
html:not(.ztv-m) .dragWrapper:has(.ztv-manual-dialog),
html:not(.ztv-m) .dragWrapper:has(iframe.ztv-manual-frame) {
    width: auto !important;
    max-width: 640px !important;
}

/* Ticaret yolu — web ve mobil aynı alanlar */
div#build.gid17 tr.ztv-route-plan {
    display: table-row !important;
}
div#build.gid17 #ztvRouteSources {
    display: block;
    width: 280px;
    max-width: 100%;
    min-height: 120px;
    box-sizing: border-box;
}
div#build.gid17 select[name="start"],
div#build.gid17 select[name="start_min"] {
    display: inline-block !important;
    min-width: 64px;
    margin-right: 6px;
}
div#build.gid17 .ztv-route-src-hint,
div#build.gid17 .ztv-route-plan-hint,
div#build.gid17 .ztv-route-plan-note {
    display: block !important;
}
div#build.gid17 .ztv-route-plan-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 12px 2px 0;
}

