

:root {
    --mz-top: 52px;
    --mz-res: 50px;
    --mz-bottom: 68px;
    --mz-gap: 10px;
    --mz-bg: #ffffff;
    --mz-card: #ffffff;
    --mz-border: #c9bea7;
    --mz-text: #302b24;
    --mz-muted: #716858;
    --mz-green: #5f7f2b;
    --mz-green-dark: #405d17;
    --mz-shadow: 0 2px 10px rgba(49, 41, 28, .12);
}

* { box-sizing: border-box; }
html {
    width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
    background: var(--mz-bg);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body,
body.v35,
body.ie,
body.ie8 {
    width: 100%;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 calc(var(--mz-bottom) + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden;
    background: var(--mz-bg) !important;
    color: var(--mz-text);
    font-size: 14px;
    line-height: 1.35;
    touch-action: manipulation;
}

body > .wrapper,
.wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: calc(var(--mz-top) + var(--mz-res) + env(safe-area-inset-top)) 0 0 !important;
    overflow: visible !important;
}

#msfilter,
#dynamic_header,
.footer-stopper,
#stime { display: none !important; }

#header {
    min-width: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
}
#header #mtop { display: none !important; }

#mobileTopBar {
    position: fixed;
    z-index: 10020;
    inset: env(safe-area-inset-top) 0 auto 0;
    height: var(--mz-top);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    color: #fff;
    background: linear-gradient(#6f8f35, #526e25);
    border-bottom: 1px solid #3e5519;
    box-shadow: 0 1px 8px rgba(0,0,0,.22);
}
#mobileTopBar .mz-title {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
#mobileTopBar .mz-server {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.1;
}
#mobileTopBar .mz-gold {
    flex: 0 0 auto;
    min-width: 46px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 14px;
    background: rgba(0,0,0,.13);
    color: #fff6bf;
    font-weight: 700;
    text-align: center;
}

#res {
    position: fixed !important;
    z-index: 10010 !important;
    top: calc(var(--mz-top) + env(safe-area-inset-top)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--mz-res) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #f9f5e8;
    border-bottom: 1px solid var(--mz-border);
    box-shadow: 0 2px 5px rgba(0,0,0,.08);
}
#res::-webkit-scrollbar { display: none; }
#resWrap { width: max-content !important; min-width: 100%; height: 100%; }
#res table {
    width: max-content !important;
    min-width: 100%;
    height: 100%;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent !important;
}
#res table tr { height: 100%; }
#res table td {
    height: 100%;
    padding: 4px 2px !important;
    vertical-align: middle;
    white-space: nowrap;
    color: #3d382f;
    font-size: 10px;
    font-weight: 700;
}
#res table td:nth-child(even) {
    min-width: 66px;
    padding-right: 8px !important;
}
#res table img { margin: 0 2px 0 5px !important; }

#mid {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 8px 18px !important;
}
#content,
#content.universal,
#content.login,
#content.logout,
#content.signup,
#content.activate,
#content.player,
#content.alliance,
#content.forum,
#content.statistics,
#content.cropfinder,
#content.reports,
#content.messages,
#content.a2b,
#content.village3,
#content.plus,
#content.warsim,
#content.map,
#content.village1,
#content.village2,
#content.build,
#build,
div.universal,
div.login,
div.logout,
div.signup,
div.activate,
div.player,
div.alliance,
div.forum,
div.statistics,
div.cropfinder,
div.reports,
div.messages,
div.a2b,
div.village3,
div.plus,
div.warsim,
div.map,
div.village1,
div.village2,
div.build {
    float: none !important;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 8px 18px !important;
    overflow: visible !important;
}
#content > h1,
#content.village1 > h1,
#content.village2 > h1,
#content.map > h1 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 10px !important;
    padding: 8px 10px !important;
    border: 1px solid var(--mz-border);
    border-radius: 10px;
    background: var(--mz-card);
    box-shadow: var(--mz-shadow);
    color: #3b352a;
    font-size: 18px;
    line-height: 1.2;
}

#content table,
#side_info table {
    max-width: 100%;
}
#content table:not(.transparent),
#side_info table,
#content .boxes-contents {
    border-radius: 8px;
}
#side_info {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8px 14px !important;
    position: relative !important;
    
    background-image: none !important;
    background-repeat: no-repeat !important;
}
#side_info > * {
    max-width: 100% !important;
}
#side_info div.news,
#side_info div#qge,
#side_info div#anm,
#side_info table {
    width: 100% !important;
    margin: 8px 0 !important;
}

#side_navi {
    position: fixed !important;
    z-index: 10050 !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(86vw, 340px) !important;
    height: 100dvh;
    padding: calc(18px + env(safe-area-inset-top)) 14px 24px !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fbf8ef;
    box-shadow: 7px 0 30px rgba(0,0,0,.30);
    transform: translateX(-105%);
    transition: transform .2s ease;
}
body.mobile-menu-open #side_navi { transform: translateX(0); }
#side_navi #logo { display: none !important; }
#side_navi p { margin: 8px 0 !important; line-height: normal !important; }
#side_navi p a,
#side_navi > a {
    display: block !important;
    min-height: 44px;
    margin: 0 0 5px !important;
    padding: 12px 12px !important;
    border: 1px solid #ddd4c1;
    border-radius: 9px;
    background: #fffdf8;
    color: #3e382e !important;
    text-decoration: none;
    font-size: 15px;
}
#mobileMenuClose {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0 0 12px;
    border: 0;
    border-radius: 10px;
    background: #526e25;
    color: #fff;
    font: inherit;
    font-weight: 700;
}
#mobileMenuBackdrop {
    display: none;
    position: fixed;
    z-index: 10040;
    inset: 0;
    background: rgba(0,0,0,.42);
}
body.mobile-menu-open #mobileMenuBackdrop { display: block; }
body.mobile-menu-open { overflow: hidden !important; }

#mobileBottomNav {
    position: fixed;
    z-index: 10030;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--mz-bottom) + env(safe-area-inset-bottom));
    padding: 5px 4px env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    background: rgba(255,253,247,.97);
    border-top: 1px solid #bbb09b;
    box-shadow: 0 -2px 10px rgba(0,0,0,.12);
}
#mobileBottomNav a,
#mobileBottomNav button {
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 4px 2px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #022d0b;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}
#mobileBottomNav a.is-active { color: #e3610d; background: #ffffff; margin-bottom: 5px; }
#mobileBottomNav svg,
#mobileBottomNav .mz-nav-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#content.village1 #village_map {
    float: none !important;
    width: 300px !important;
    height: 264px !important;
    max-width: none !important;
    margin: 4px auto 14px !important;
}
#content.village1 #map_details {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
#content.village1 #map_details table { width: 100% !important; }
#content.village1 #cap { margin: 0 8px 6px; }
#content.village1 #loyality { position: static !important; float: none !important; margin-top: 4px; }

.mobile-pan {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    border: 1px solid var(--mz-border);
    border-radius: 12px;
    background: #e7dfcf;
    box-shadow: var(--mz-shadow);
}
.mobile-pan::-webkit-scrollbar { display: none; }
.mobile-village-pan #village_map {
    flex: 0 0 540px;
    width: 540px !important;
    height: 448px !important;
    margin: 0 !important;
}
#content.village2 #village_map { max-width: none !important; }
#content.village2 img#lswitch { z-index: 120 !important; }
#content.village2 table#building_contract {
    margin: 10px 0 0 !important;
    position: relative !important;
}
.mobile-pan-hint {
    position: absolute;
    top: 6px;
    left: 8px;
    z-index: 120;
    display: inline-block;
    margin: 6px;
    padding: 4px 7px;
    border-radius: 10px;
    background: rgba(45,39,30,.76);
    color: #fff;
    font-size: 10px;
    pointer-events: none;
}

.mobile-map-viewport {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    border: 1px solid var(--mz-border);
    border-radius: 12px;
    background: #ded6c5;
    box-shadow: var(--mz-shadow);
}
.mobile-map-viewport::-webkit-scrollbar { display: none; }
#content.map #map {
    width: 552px !important;
    min-width: 552px !important;
    height: 375px !important;
    top: 0 !important;
    margin: 0 !important;
}
.mobile-map-controls {
    position: sticky;
    left: 8px;
    bottom: 8px;
    z-index: 200;
    width: 132px;
    height: 94px;
    margin: -102px 8px 8px;
    pointer-events: none;
}
.mobile-map-controls a {
    position: absolute;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 50%;
    background: rgba(255,253,247,.92);
    box-shadow: 0 2px 7px rgba(0,0,0,.18);
    color: #4c6422;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    pointer-events: auto;
}
.mobile-map-controls .mz-n { left: 45px; top: 0; }
.mobile-map-controls .mz-s { left: 45px; top: 50px; }
.mobile-map-controls .mz-w { left: 0; top: 25px; }
.mobile-map-controls .mz-e { left: 90px; top: 25px; }

.mobile-table-scroll {
    width: 100%;
    max-width: 100%;
    margin: 7px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.mobile-table-scroll > table { min-width: max-content; }

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
select,
textarea {
    max-width: 100% !important;
    min-height: 42px;
    padding: 8px 9px;
    font-size: 16px !important;
}
input[type="submit"],
input[type="button"],
button,
a.button,
button.dynamic_img,
input.dynamic_img {
    min-height: 42px;
    touch-action: manipulation;
}

img { max-width: 100%; }
#content.village1 img,
#content.village2 img,
#content.map img { max-width: none; }
#footer,
#footer #mfoot {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 8px !important;
}

#footer {
    display: block !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 20px 0 0 !important;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom)) !important;
}
#footer #mfoot {
    height: auto !important;
    min-height: 48px !important;
    margin: 0 auto !important;
}
#footer .footer-menu,
#footer #mfoot,
#footer #mfoot .copyright {
    text-align: center !important;
}

body:not(.mobile-has-game-nav) .wrapper { padding-top: 8px !important; }
body:not(.mobile-has-game-nav) #mid { padding-top: 8px !important; }
body:not(.mobile-has-game-nav) #content { margin: 0 auto !important; }

@media (max-width: 370px) {
    #mid { padding-left: 4px !important; padding-right: 4px !important; }
    #content { padding-left: 4px !important; padding-right: 4px !important; }
    #mobileTopBar { padding-left: 8px; padding-right: 8px; }
    #mobileBottomNav a, #mobileBottomNav button { font-size: 9px; }
}

@media (min-width: 600px) {
    
    #mid { max-width: 600px; margin: 0 auto !important; }
    #mobileTopBar > *, #resWrap, #mobileBottomNav { }
}

body:not(.mobile-has-game-nav) #side_navi {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 6px 8px !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}
body:not(.mobile-has-game-nav) #side_navi p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px !important;
}
body:not(.mobile-has-game-nav) #side_navi p a {
    flex: 1 1 auto;
    min-height: 40px;
    margin: 0 !important;
    padding: 10px !important;
    text-align: center;
}
body:not(.mobile-has-game-nav) #side_navi #logo { display: none !important; }

#map_makelarge { display: none !important; }

:root {
    --mz-res: 46px;
    --mz-top: 48px;
    --mz-bg: #ffffff;
    --mz-card: #ffffff;
}

html,
body,
body.v35,
body.ie,
body.ie8 {
    background: #ffffff !important;
}

#res {
    top: env(safe-area-inset-top) !important;
    height: var(--mz-res) !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-bottom: 1px solid #d8d8d8 !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.08) !important;
}
#resWrap {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
}
#res .mz-resources {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    height: 100%;
}
#res .mz-res-item {
    position: relative;
    min-width: 0;
    height: 100%;
    padding: 5px 4px 4px;
    border-right: 1px solid #eeeeee;
    background: #ffffff;
    overflow: hidden;
}
#res .mz-res-item:last-child { border-right: 0; }
#res .mz-res-main {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}
#res .mz-res-main img {
    flex: 0 0 auto;
    margin: 0 !important;
    transform: scale(.92);
    transform-origin: center;
}
#res .mz-res-number {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #292929;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
#res .mz-res-track {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: 4px;
    overflow: hidden;
    border-radius: 3px;
    background: #e5e5e5;
}
#res .mz-res-fill {
    display: block;
    height: 100%;
    min-width: 1px;
    border-radius: inherit;
    background: #6b9d2f;
    transition: width .25s linear;
}
#res .mz-res-upkeep .mz-res-fill { background: #c5a02f; }
#res .mz-res-legacy {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#mobileTopBar {
    top: calc(var(--mz-res) + env(safe-area-inset-top)) !important;
}

#ce {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    z-index: 10080 !important;
    pointer-events: none;
}
#ce .popup3 {
    pointer-events: auto;
}

#side_info div#anm {
    display: none !important;
    width: 120px !important;
    height: 140px !important;
}

#side_info div#qge {
    width: auto !important;
    margin: 8px auto !important;
    padding: 0 !important;
    text-align: center;
}
#side_info div#qge img {
    display: inline-block !important;
    width: auto !important;
    max-width: min(42vw, 164px) !important;
    height: auto !important;
    max-height: 174px !important;
}

#ce .popup3.quest {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    top: calc(env(safe-area-inset-top) + 8px) !important;
    bottom: calc(var(--mz-bottom) + env(safe-area-inset-bottom) + 8px) !important;
    width: auto !important;
    height: auto !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 46px 12px 14px !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #cfcfcf !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 12px 34px rgba(0,0,0,.28) !important;
}
#ce .popup3.quest img.popup4 {
    position: absolute !important;
    top: 7px !important;
    right: 7px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    cursor: pointer;
}
#ce .popup3.quest #popup3 {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
}
#ce .popup3.quest #qstd {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: #292929 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    z-index: 2 !important;
}
#ce .popup3.quest #qstd h1 {
    margin: 0 0 10px !important;
    padding: 0 42px 8px 0 !important;
    color: #33451c !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    border-bottom: 1px solid #e5e5e5;
}
#ce .popup3.quest #qstbg {
    display: none !important;
}
#ce .popup3.quest .rew {
    margin: 10px 0 !important;
    padding: 10px !important;
    border: 1px solid #dfe5d7 !important;
    border-radius: 10px !important;
    background: #f7faf3 !important;
}
#ce .popup3.quest #qst_accpt {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
#ce .popup3.quest #qst_accpt a,
#ce .popup3.quest input[type="button"],
#ce .popup3.quest button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    max-width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #557b25 !important;
    border-radius: 10px !important;
    background: #638c2c !important;
    color: #ffffff !important;
    font: inherit !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
}
#ce .popup3.quest input[type="text"],
#ce .popup3.quest input[type="number"] {
    min-height: 44px !important;
    max-width: 100% !important;
    padding: 9px 10px !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    font-size: 16px !important;
}
#ce .popup3.quest table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    font-size: 12px !important;
}
#ce .popup3.quest #qstd {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 380px) {
    #res .mz-res-item { padding-left: 2px; padding-right: 2px; }
    #res .mz-res-main { gap: 1px; }
    #res .mz-res-number { font-size: 10px; }
    #res .mz-res-track { left: 3px; right: 3px; }
}

:root {
    --mz-res: 46px;
    --mz-top: 48px;
    --mz-bg: #ffffff;
    --mz-card: #ffffff;
    --mz-border: #dddddd;
    --mz-text: #272727;
    --mz-muted: #707070;
    --mz-shadow: 0 2px 9px rgba(0, 0, 0, .08);
}

html,
body,
body.v35,
body.ie,
body.ie8,
body > .wrapper,
.wrapper,
#mid,
#content,
#side_info {
    background-color: #ffffff !important;
}

#mobileTopBar {
    top: calc(var(--mz-res) + env(safe-area-inset-top)) !important;
    color: #292929 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e1e1e1 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
}
#mobileTopBar .mz-title {
    color: #292929 !important;
    text-shadow: none !important;
}
#mobileTopBar .mz-server {
    color: #6f716c !important;
}
#mobileTopBar .mz-gold {
    border: 1px solid #dfd4a4 !important;
    background: #fffdf3 !important;
    color: #795f13 !important;
}

#mobileBottomNav,
#side_navi,
.mobile-pan,
.mobile-map-viewport {
    background-color: #ffffff !important;
}
#mobileBottomNav {
    border-top-color: #dedede !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,.07) !important;
}
#side_navi {
    box-shadow: 7px 0 26px rgba(0,0,0,.20) !important;
}
#side_navi p a,
#side_navi > a {
    background: #ffffff !important;
    border-color: #e1e1e1 !important;
}

#res {
    top: env(safe-area-inset-top) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--mz-res) !important;
    overflow: visible !important;
    background: #ffffff !important;
    border-bottom: 1px solid #dddddd !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.07) !important;
}
#resWrap {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: var(--mz-res) !important;
    margin: 0 !important;
    overflow: visible !important;
}

#res .mz-res-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: stretch;
    width: 100% !important;
    height: var(--mz-res) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #292929 !important;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
#res .mz-res-toggle:focus-visible {
    outline: 2px solid #6c8f34;
    outline-offset: -2px;
}

#res .mz-res-compact {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    height: 100%;
}
#res .mz-res-chip {
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 3px;
    border-right: 1px solid #b7c997;
    background: #b7c997;
    overflow: hidden;
}
#res .mz-res-chip img {
    flex: 0 0 auto;
    margin: 0 !important;
    transform: scale(.92);
    transform-origin: center;
}
#res .mz-res-number {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #292929;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

#res .mz-res-chevron {
    position: relative;
    display: block;
    height: 100%;
    border-left: 1px solid #eeeeee;
    background: #ffffff;
}
#res .mz-res-chevron::before,
#res .mz-res-chevron::after {
    content: "";
    position: absolute;
    top: 21px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: #666666;
    transition: transform .18s ease;
}
#res .mz-res-chevron::before {
    left: 9px;
    transform: rotate(42deg);
}
#res .mz-res-chevron::after {
    right: 9px;
    transform: rotate(-42deg);
}
#res.mz-res-open .mz-res-chevron::before { transform: rotate(-42deg); }
#res.mz-res-open .mz-res-chevron::after { transform: rotate(42deg); }

#res .mz-res-details {
    position: absolute !important;
    z-index: 10012;
    top: var(--mz-res) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: min(64vh, 360px);
    padding: 6px 10px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #d6d6d6;
    border-radius: 0 0 12px 12px;
    background: #ffffff !important;
    box-shadow: 0 9px 22px rgba(0,0,0,.18);
}
#res .mz-res-details[hidden] {
    display: none !important;
}
#res .mz-res-detail-row {
    display: grid;
    grid-template-columns: minmax(90px, 1.15fr) minmax(94px, .95fr) minmax(56px, .65fr);
    align-items: center;
    gap: 6px 8px;
    min-height: 49px;
    padding: 7px 2px 6px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}
#res .mz-res-detail-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333333;
    font-size: 12px;
}
#res .mz-res-detail-name img {
    flex: 0 0 auto;
    margin: 0 !important;
}
#res .mz-res-detail-name b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#res .mz-res-detail-stock {
    min-width: 0;
    color: #3a3a3a;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
#res .mz-res-detail-stock > span {
    color: #888888;
    font-weight: 400;
}
#res .mz-res-detail-rate {
    color: #567a27;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
#res .mz-res-detail-track {
    grid-column: 1 / -1;
    display: block;
    height: 4px;
    overflow: hidden;
    border-radius: 3px;
    background: #e8e8e8;
}
#res .mz-res-detail-track .mz-res-fill {
    display: block;
    height: 100%;
    min-width: 1px;
    border-radius: inherit;
    background: #6b9d2f;
    transition: width .25s linear;
}
#res .mz-res-consumption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 2px 3px;
    background: #ffffff;
}
#res .mz-res-consumption > strong {
    color: #8a6d16;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
#res .mz-res-consumption-note {
    color: #777777;
    font-size: 11px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#res .mz-resources,
#res .mz-res-item,
#res .mz-res-main,
#res .mz-res-track {
    display: none !important;
}
#res .mz-res-legacy {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 365px) {
    #res .mz-res-chip { gap: 2px; padding-left: 1px; padding-right: 1px; }
    #res .mz-res-number { font-size: 11px; }
    #res .mz-res-detail-row {
        grid-template-columns: minmax(82px, 1fr) minmax(88px, .9fr) minmax(52px, .58fr);
        column-gap: 5px;
    }
}

#res .mz-res-toggle {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
}

#res .mz-res-compact {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
}

#res .mz-res-chip {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 3px !important;
    padding: 0 2px !important;
    overflow: hidden !important;
}

#res .mz-res-chip img {
    flex: 0 0 auto !important;
    transform: scale(.84) !important;
}

#res .mz-res-number {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 20px) !important;
    font-size: clamp(10px, 3.2vw, 12px) !important;
    letter-spacing: -.15px !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

#res .mz-res-chevron {
    position: absolute !important;
    z-index: 2 !important;
    right: 2px !important;
    bottom: 1px !important;
    width: 16px !important;
    height: 10px !important;
    border: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
    opacity: .72;
}
#res .mz-res-chevron::before,
#res .mz-res-chevron::after {
    top: 4px !important;
    width: 5px !important;
    height: 1.5px !important;
}
#res .mz-res-chevron::before { left: 3px !important; }
#res .mz-res-chevron::after { right: 3px !important; }

@media (max-width: 340px) {
    #res .mz-res-chip { gap: 1px !important; padding-left: 1px !important; padding-right: 1px !important; }
    #res .mz-res-chip img { transform: scale(.76) !important; }
    #res .mz-res-number { font-size: 10px !important; }
}

:root {
    --mz-res: 44px;
    --mz-top: 46px;
    --mz-bottom: 66px;
}

body > .wrapper,
.wrapper {
    padding-top: calc(var(--mz-res) + var(--mz-top) + env(safe-area-inset-top)) !important;
}

#res,
#resWrap,
#res .mz-res-toggle,
#res .mz-res-compact {
    max-width: 100vw !important;
}

#res .mz-res-toggle {
    height: var(--mz-res) !important;
    overflow: visible !important;
}

#res .mz-res-compact {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

#res .mz-res-chip {
    flex: 1 1 25% !important;
    width: 25% !important;
    min-width: 0 !important;
    max-width: 25% !important;
    height: var(--mz-res) !important;
    padding: 0 2px !important;
    justify-content: center !important;
    overflow: hidden !important;
}

#res .mz-res-chip img {
    width: 18px !important;
    min-width: 18px !important;
    height: 12px !important;
    transform: none !important;
}

#res .mz-res-number {
    display: block !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 21px) !important;
    font-size: clamp(10px, 3vw, 12px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

#res .mz-res-details {
    position: fixed !important;
    z-index: 10025 !important;
    top: calc(env(safe-area-inset-top) + var(--mz-res) + var(--mz-top)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: calc(100dvh - var(--mz-res) - var(--mz-top) - var(--mz-bottom) - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    padding: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-bottom: 1px solid #d9d9d9 !important;
    border-radius: 0 0 12px 12px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.16) !important;
}

#res .mz-res-details:not([hidden]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
}

#res .mz-res-detail-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
    gap: 3px 6px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 8px !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
}

#res .mz-res-detail-name {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    font-size: 11px !important;
}

#res .mz-res-detail-name b {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#res .mz-res-detail-stock {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    text-align: left !important;
    font-size: 11px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#res .mz-res-detail-rate {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    font-size: 11px !important;
    text-align: right !important;
}

#res .mz-res-detail-track {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    height: 4px !important;
}

#res .mz-res-consumption {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 38px !important;
    padding: 7px 8px !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 9px !important;
}

#mid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
}

#content.village1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px 0 14px !important;
    overflow: visible !important;
}

#content.village1 > h1 {
    display: none !important;
}

#content.village1 #cap {
    margin: 3px 10px 5px !important;
}

#content.village1 #loyality {
    position: static !important;
    margin: 3px 10px !important;
}

#content.village1 #village_map {
    float: none !important;
    position: relative !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 264px !important;
    margin: 0 auto 8px !important;
}

#content.village1 #village_map img#resfeld {
    width: 300px !important;
    height: 264px !important;
}

#content.village1 > br,
#content.village1 #map_details > br {
    display: none !important;
}

#content.village1 #map_details {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8px !important;
    overflow: visible !important;
}

#content.village1 #map_details > table,
#content.village1 table#production,
#content.village1 table#troops,
#content.village1 table#movements,
#content.village1 table#building_contract {
    float: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 !important;
    table-layout: auto !important;
}

#content.village1 table#production td,
#content.village1 table#troops td,
#content.village1 table#movements td {
    min-width: 0 !important;
    padding: 4px 3px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

#content.village1 table#production td.ico,
#content.village1 table#troops td.ico {
    width: 24px !important;
    white-space: nowrap !important;
}

#content.village1 table#production td.res {
    width: auto !important;
}

#content.village1 table#production td.num {
    width: 25% !important;
    text-align: right !important;
    white-space: nowrap !important;
}

#content.village1 table#production td.per {
    width: auto !important;
    white-space: nowrap !important;
}

#content.village1 table#troops td.un {
    width: auto !important;
}

#content.village1 #side_info {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8px 12px !important;
}

#content.village1 #side_info > * {
    max-width: 100% !important;
}

#mobileBottomNav {
    width: 100vw !important;
    max-width: 100vw !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    overflow: hidden !important;
}

#mobileBottomNav a,
#mobileBottomNav button {
    min-width: 0 !important;
    overflow: hidden !important;
}

#mobileBottomNav span {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 340px) {
    #content.village1 #map_details,
    #content.village1 #side_info {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    #res .mz-res-details {
        padding: 6px !important;
    }

    #res .mz-res-detail-row {
        padding: 6px !important;
        gap: 2px 4px !important;
    }

    #res .mz-res-detail-name,
    #res .mz-res-detail-rate,
    #res .mz-res-detail-stock {
        font-size: 10px !important;
    }
}

#mobileTopBar .mz-top-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
}

#mobileTopBar .mz-messages {
    position: relative;
    box-sizing: border-box;
    flex: 0 0 40px;
    width: 40px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 1px solid #dedede !important;
    border-radius: 12px;
    background: #ffffff !important;
    color: #555555 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

#mobileTopBar .mz-messages svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#mobileTopBar .mz-messages.has-unread {
    color: #4f6f1f !important;
    border-color: #a9bd83 !important;
    background: #fbfff5 !important;
}

#mobileTopBar .mz-message-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #c62828;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    box-sizing: border-box;
}

#mobileTopBar .mz-title {
    min-width: 0 !important;
}

@media (max-width: 360px) {
    #mobileTopBar {
        gap: 6px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    #mobileTopBar .mz-top-actions { gap: 5px; }
    #mobileTopBar .mz-messages {
        flex-basis: 38px;
        width: 38px;
    }
    #mobileTopBar .mz-gold {
        min-width: 40px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

#mobileTopBar .mz-gold {
    min-width: 0 !important;
    height: 36px;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e0d3a0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #6b5412 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none !important;
    line-height: 1;
}
#mobileTopBar .mz-gold-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
#mobileTopBar .mz-gold-bg {
    fill: #fff9dd;
    stroke: #c5a341;
    stroke-width: 1;
}
#mobileTopBar .mz-gold-disc {
    fill: #e1b12d;
    stroke: #9a7512;
    stroke-width: .75;
}
#mobileTopBar .mz-gold-shine {
    fill: #f8e38d;
}
#mobileTopBar .mz-gold-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #735a12;
}
#mobileTopBar .mz-gold-value {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #5f4a0d;
}
#content.plus.mobile-gold-area #textmenu.mobile-gold-menu {
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 4px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 6px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #f7f7f7;
    line-height: normal !important;
    text-align: center;
}
#content.plus.mobile-gold-area #textmenu.mobile-gold-menu a {
    flex: 1 1 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 9px;
    background: transparent;
    color: #4a443b !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}
#content.plus.mobile-gold-area #textmenu.mobile-gold-menu a.selected {
    background: #ffffff !important;
    color: #4f6f1f !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.10);
}
@media (max-width: 390px) {
    #mobileTopBar .mz-gold {
        padding-left: 8px !important;
        padding-right: 8px !important;
        gap: 5px;
    }
    #mobileTopBar .mz-gold-label {
        font-size: 11px;
    }
}
@media (max-width: 360px) {
    #mobileTopBar .mz-gold {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
    #mobileTopBar .mz-gold-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
    #mobileTopBar .mz-gold-label {
        display: none;
    }
    #mobileTopBar .mz-gold-value { font-size: 12px; }
}

#mobileTopBar .mz-gold {
    cursor: pointer;
    border-color: #ccb66a !important;
    background: linear-gradient(#edde8f, #efdc8c) !important;
    box-shadow: 0 1px 3px rgba(86, 67, 12, .16) !important;
}
#mobileTopBar .mz-gold:active {
    transform: translateY(1px);
    background: #fff4c8 !important;
    box-shadow: none !important;
}
#mobileTopBar .mz-gold-chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: #856b20;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 360px) {
    #mobileTopBar .mz-gold-chevron {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
    }
}

#res .mz-res-toggle {
    position: relative !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
}

#res .mz-res-chevron {
    position: absolute !important;
    z-index: 3;
    left: 50% !important;
    right: auto !important;
    bottom: -7px !important;
    top: auto !important;
    width: 34px !important;
    height: 14px !important;
    transform: translateX(-50%);
    display: block !important;
    border: 1px solid #d8d8d8 !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.08) !important;
    pointer-events: none;
}
#res .mz-res-chevron::before,
#res .mz-res-chevron::after {
    content: "" !important;
    position: absolute !important;
    top: 4px !important;
    width: 7px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #6b6b6b !important;
    transition: transform .16s ease !important;
}
#res .mz-res-chevron::before {
    left: 10px !important;
    transform: rotate(38deg) !important;
}
#res .mz-res-chevron::after {
    right: 10px !important;
    transform: rotate(-38deg) !important;
}
#res.mz-res-open .mz-res-chevron::before {
    transform: rotate(-38deg) !important;
}
#res.mz-res-open .mz-res-chevron::after {
    transform: rotate(38deg) !important;
}

#res .mz-res-detail-row {
    grid-template-rows: auto auto auto auto !important;
}
#res .mz-res-detail-track {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    height: 5px !important;
    margin-top: 2px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: #ececec !important;
}
#res .mz-res-detail-track .mz-res-fill {
    height: 100% !important;
    border-radius: inherit !important;
}
#res .mz-res-filltime {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: block !important;
    min-width: 0;
    margin-top: 1px !important;
    color: #777 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-align: right !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}
#res .mz-res-detail-row:has(.mz-res-fill[style*="100"]) .mz-res-filltime {
    color: #5f7f2b !important;
    font-weight: 700;
}

@media (max-width: 360px) {
    #res .mz-res-filltime {
        font-size: 9px !important;
    }
}

.mobile-map-controls {
    display: none !important;
}

#content.map .mobile-map-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 455px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
}

#content.map .mobile-map-viewport {
    position: relative !important;
    width: 100% !important;
    height: 375px !important;
    min-height: 375px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}
#content.map .mobile-map-viewport::-webkit-scrollbar { display: none; }

#content.map #map {
    width: 552px !important;
    min-width: 552px !important;
    height: 375px !important;
    min-height: 375px !important;
    margin: 0 !important;
    top: 0 !important;
}

#content.map .mobile-map-tools {
    position: relative !important;
    width: 100% !important;
    min-height: 78px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 12px 10px !important;
    border-top: 1px solid #eeeeee !important;
    background: #ffffff !important;
}

#content.map .mobile-map-tools #map_navibox {
    position: static !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 60px !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 1 !important;
}

#content.map .mobile-map-tools #map_coords {
    position: static !important;
    inset: auto !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 190px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
    background: transparent !important;
    z-index: 1 !important;
}

#content.map .mobile-map-tools #map_coords form {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
}

#content.map .mobile-map-tools #map_coords span,
#content.map .mobile-map-tools #map_coords input {
    float: none !important;
    margin: 0 !important;
}

#content.map .mobile-map-tools #map_coords input.text {
    width: 44px !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 4px 5px !important;
    text-align: center !important;
}

#content.map .mobile-map-tools #map_coords #btn_ok {
    min-height: 34px !important;
    height: 34px !important;
}

#content.map #map table#map_infobox {
    max-width: 180px !important;
}

@media (max-width: 380px) {
    #content.map .mobile-map-tools {
        gap: 6px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    #content.map .mobile-map-tools #map_coords {
        max-width: 175px !important;
    }
}

#content.map .mobile-map-card {
    height: auto !important;
    min-height: 530px !important;
    overflow: visible !important;
    padding-bottom: 8px !important;
}

#content.map .mobile-map-tools {
    height: auto !important;
    min-height: 132px !important;
    align-items: center !important;
    padding-top: 12px !important;
    padding-bottom: 14px !important;
    overflow: visible !important;
}

#content.map .mobile-map-tools #map_coords {
    overflow: visible !important;
}

#content.map .mobile-map-tools #map_coords form {
    min-height: 82px !important;
    align-content: center !important;
}

@media (max-width: 380px) {
    #content.map .mobile-map-card {
        min-height: 550px !important;
    }
    #content.map .mobile-map-tools {
        min-height: 150px !important;
    }
}

#content.map #map table#map_infobox {
    display: none !important;
}

#content.map .mobile-map-card {
    height: auto !important;
    min-height: 595px !important;
    overflow: visible !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
}

#content.map .mobile-map-tools {
    position: relative !important;
    min-height: 205px !important;
    height: auto !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 18px 14px 22px !important;
    overflow: visible !important;
}

#content.map .mobile-map-tools #map_coords {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 230px !important;
    min-height: 150px !important;
    height: auto !important;
    overflow: visible !important;
}

#content.map .mobile-map-tools #map_coords form {
    width: 100% !important;
    min-height: 140px !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-content: flex-start !important;
    align-items: center !important;
    gap: 7px 5px !important;
    overflow: visible !important;
}

#content.map .mobile-map-tools #map_coords form br {
    flex-basis: 100% !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

#content.map .mobile-map-tools #map_coords form a {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    white-space: normal !important;
}

#content.map .mobile-map-tools #map_navibox {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 60px !important;
    margin-top: 0 !important;
    align-self: flex-start !important;
}

@media (max-width: 380px) {
    #content.map .mobile-map-card {
        min-height: 620px !important;
    }

    #content.map .mobile-map-tools {
        min-height: 225px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 8px !important;
    }

    #content.map .mobile-map-tools #map_coords {
        max-width: 205px !important;
    }
}

#content.map .mobile-map-tools #map_coords {
    max-width: 285px !important;
    min-width: 230px !important;
}

#content.map .mobile-map-tools #map_coords form {
    display: grid !important;
    grid-template-columns: auto 52px auto 52px 54px !important;
    grid-auto-rows: minmax(36px, auto) !important;
    align-items: center !important;
    justify-content: start !important;
    column-gap: 5px !important;
    row-gap: 8px !important;
    width: 100% !important;
    min-height: 0 !important;
}

#content.map .mobile-map-tools #map_coords span {
    display: block !important;
    width: auto !important;
    line-height: 36px !important;
    font-weight: 700 !important;
}

#content.map .mobile-map-tools #map_coords input.text {
    width: 52px !important;
    min-width: 52px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 5px 4px !important;
    border: 1px solid #9fcf57 !important;
    background: #ffffff !important;
    text-align: center !important;
    font-size: 14px !important;
}

#content.map .mobile-map-tools #map_coords #mobile_map_ok {
    width: 54px !important;
    min-width: 54px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #89b94b !important;
    border-radius: 8px !important;
    background: linear-gradient(#ffffff, #e8f1dc) !important;
    color: #3f5e1d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 34px !important;
    text-align: center !important;
    box-shadow: none !important;
}

#content.map .mobile-map-tools #map_coords #mobile_map_ok:active {
    background: #dfeacd !important;
}

#content.map .mobile-map-tools #map_coords form br {
    display: none !important;
}

#content.map .mobile-map-tools #map_coords form a {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding-top: 2px !important;
}

@media (max-width: 380px) {
    #content.map .mobile-map-tools #map_coords {
        min-width: 218px !important;
        max-width: 238px !important;
    }

    #content.map .mobile-map-tools #map_coords form {
        grid-template-columns: auto 48px auto 48px 50px !important;
        column-gap: 4px !important;
    }

    #content.map .mobile-map-tools #map_coords input.text {
        width: 48px !important;
        min-width: 48px !important;
    }

    #content.map .mobile-map-tools #map_coords #mobile_map_ok {
        width: 50px !important;
        min-width: 50px !important;
    }
}

#content.statistics {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 6px 20px !important;
    overflow: visible !important;
}

#content.statistics > h1 {
    margin-bottom: 8px !important;
}

#content.statistics .mobile-stat-tabs {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 4px !important;
    display: flex !important;
    gap: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid #dddddd !important;
    border-radius: 12px !important;
    background: #f7f7f7 !important;
    white-space: nowrap !important;
    line-height: normal !important;
}
#content.statistics .mobile-stat-tabs::-webkit-scrollbar { display: none; }
#content.statistics .mobile-stat-tabs a {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #4c473f !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
#content.statistics .mobile-stat-tabs a.selected {
    background: #ffffff !important;
    color: #4e6f20 !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.10) !important;
}

#content.statistics div#submenu,
#content.statistics div#submenu2 {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    overflow: visible !important;
    line-height: 1 !important;
}
#content.statistics div#submenu a,
#content.statistics div#submenu2 a {
    display: inline-flex !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#content.statistics div#submenu img,
#content.statistics div#submenu2 img {
    float: none !important;
    margin: 0 !important;
}

#content.statistics table,
#content.statistics table.row_table_data,
#content.statistics table.world,
#content.statistics table.top10 {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 1px !important;
    background: #eeeeee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
#content.statistics table th,
#content.statistics table td {
    min-width: 0 !important;
    padding: 7px 5px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
#content.statistics table thead th {
    background: #eef4e5 !important;
    color: #3f5523 !important;
    font-weight: 800 !important;
}
#content.statistics table thead td {
    background: #f7f7f7 !important;
    color: #666 !important;
    font-weight: 700 !important;
}
#content.statistics table tbody td,
#content.statistics table tbody th {
    background: #ffffff !important;
}
#content.statistics table tbody tr.hl td,
#content.statistics table tbody tr.own.hl td {
    background: #f1f8e8 !important;
}
#content.statistics table a {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#content.statistics table#player td:nth-child(1),
#content.statistics table#player th:nth-child(1) { width: 10% !important; }
#content.statistics table#player td:nth-child(2),
#content.statistics table#player th:nth-child(2) { width: 31% !important; text-align: left !important; }
#content.statistics table#player td:nth-child(3),
#content.statistics table#player th:nth-child(3) { width: 23% !important; }
#content.statistics table#player td:nth-child(4),
#content.statistics table#player th:nth-child(4) { width: 20% !important; }
#content.statistics table#player td:nth-child(5),
#content.statistics table#player th:nth-child(5) { width: 16% !important; }

#content.statistics table#villages td:nth-child(1) { width: 9% !important; }
#content.statistics table#villages td:nth-child(2) { width: 30% !important; text-align: left !important; }
#content.statistics table#villages td:nth-child(3) { width: 27% !important; text-align: left !important; }
#content.statistics table#villages td:nth-child(4) { width: 16% !important; }
#content.statistics table#villages td:nth-child(5) { width: 18% !important; }
#content.statistics table#heroes td:nth-child(1) { width: 9% !important; }
#content.statistics table#heroes td:nth-child(2) { width: 30% !important; text-align: left !important; }
#content.statistics table#heroes td:nth-child(3) { width: 29% !important; text-align: left !important; }
#content.statistics table#heroes td:nth-child(4) { width: 14% !important; }
#content.statistics table#heroes td:nth-child(5) { width: 18% !important; }

#content.statistics table#top10_offs,
#content.statistics table#top10_defs,
#content.statistics table#top10_climbers,
#content.statistics table#top10_raiders {
    float: none !important;
    width: 100% !important;
}

#content.statistics table#search_navi,
#content.statistics table#search_navi tbody,
#content.statistics table#search_navi tr,
#content.statistics table#search_navi td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}
#content.statistics table#search_navi td {
    padding: 8px !important;
}
#content.statistics table#search_navi div.search {
    float: none !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    gap: 7px !important;
    align-items: end !important;
    text-align: left !important;
}
#content.statistics table#search_navi div.search span {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    white-space: normal !important;
    font-size: 10px !important;
    font-weight: 700 !important;
}
#content.statistics table#search_navi div.search span.or {
    display: none !important;
}
#content.statistics table#search_navi div.search input.ra,
#content.statistics table#search_navi div.search input.name {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
}
#content.statistics table#search_navi div.search button {
    min-width: 54px !important;
    min-height: 38px !important;
    margin: 0 !important;
}
#content.statistics table#search_navi div.navi {
    float: none !important;
    width: 100% !important;
    margin-top: 8px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.5 !important;
}

#content.statistics table.world th,
#content.statistics table.world td {
    text-align: left !important;
}
#content.statistics table.world td:last-child,
#content.statistics table.world th:last-child {
    text-align: right !important;
}

#content.statistics .mobile-table-scroll {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: visible !important;
}

@media (max-width: 360px) {
    #content.statistics table th,
    #content.statistics table td {
        padding-left: 3px !important;
        padding-right: 3px !important;
        font-size: 10px !important;
    }
    #content.statistics .mobile-stat-tabs a {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 11px !important;
    }
}

#mobileTopBar .mz-adventures {
    position: relative;
    box-sizing: border-box;
    flex: 0 0 40px;
    width: 40px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 12px;
    background: #ffffff !important;
    color: #66713f !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
#mobileTopBar .mz-adventures svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#mobileTopBar .mz-adventures .mz-adventure-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #5f7f2b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
}
#mobileTopBar .mz-adventures.is-disabled {
    opacity: .45;
    pointer-events: none;
}
@media (max-width: 360px) {
    #mobileTopBar .mz-adventures {
        flex-basis: 36px;
        width: 36px;
    }
}

#mobileTopBar .mz-reports {
    position: relative;
    box-sizing: border-box;
    flex: 0 0 40px;
    width: 40px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 1px solid #dedede !important;
    border-radius: 12px;
    background: #ffffff !important;
    color: #555555 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
#mobileTopBar .mz-reports svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#mobileTopBar .mz-reports.has-unread {
    color: #4f6f1f !important;
    border-color: #a9bd83 !important;
    background: #fbfff5 !important;
}
#mobileTopBar .mz-report-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #c62828;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    box-sizing: border-box;
}

#mobileTopBar .mz-adventures .mz-adventure-icon {
    display: block;
    width: 32px;
    height: 32px;
    max-width: none !important;
    object-fit: cover;
    object-position: 50% 35%;
    border-radius: 10px;
    border: 1px solid #d8cfbd;
    box-sizing: border-box;
    background: #f6f1e7;
    image-rendering: auto;
}
#mobileTopBar .mz-adventures svg {
    display: none !important;
}

#mobileTopBar .mz-title {
    flex: 1 1 auto !important;
    min-width: 36px !important;
}
#mobileTopBar .mz-top-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
}

@media (max-width: 390px) {
    #mobileTopBar .mz-reports,
    #mobileTopBar .mz-messages,
    #mobileTopBar .mz-adventures {
        flex-basis: 36px;
        width: 36px;
    }
    #mobileTopBar .mz-top-actions { gap: 4px !important; }
}

#mobileTopBar .mz-top-actions {
    gap: 10px !important;
}

@media (max-width: 390px) {
    #mobileTopBar .mz-top-actions {
        gap: 7px !important;
    }
}

@media (max-width: 360px) {
    #mobileTopBar .mz-top-actions {
        gap: 6px !important;
    }
}

#mobileTopBar .mz-top-actions {
    gap: 0 !important;
}

#mobileTopBar .mz-top-actions > * + * {
    margin-left: 12px !important;
}

@media (max-width: 390px) {
    #mobileTopBar .mz-top-actions > * + * {
        margin-left: 9px !important;
    }
}

@media (max-width: 360px) {
    #mobileTopBar .mz-top-actions > * + * {
        margin-left: 7px !important;
    }
}

#content.reports table#overview tfoot #btn_delete,
#content.reports table#overview tfoot #btn_archiv,
#content.reports table#overview tfoot #btn_back {
    width: 97px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 !important;
    margin: 0 4px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

#content.reports table#overview tfoot #btn_delete.over,
#content.reports table#overview tfoot #btn_archiv.over,
#content.reports table#overview tfoot #btn_back.over {
    background-position: center bottom !important;
}

#content.reports table#overview tfoot #btn_delete.clicked,
#content.reports table#overview tfoot #btn_archiv.clicked,
#content.reports table#overview tfoot #btn_back.clicked {
    background-position: center center !important;
}

#content a,
#side_info a,
#side_navi a,
#mobileTopBar a,
#mobileBottomNav a,
#ce a,
#content #textmenu a,
#content .tabNavi a,
#content .subNavi a,
#content table a {
    text-decoration: none !important;
}

#content a:link,
#content a:visited,
#content a:hover,
#content a:active,
#side_info a:link,
#side_info a:visited,
#side_info a:hover,
#side_info a:active {
    text-decoration: none !important;
}

#content .boxes,
#side_info .boxes {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: transparent !important;
}

#content .boxes-tl,
#content .boxes-tr,
#content .boxes-tc,
#content .boxes-ml,
#content .boxes-mr,
#content .boxes-mc,
#content .boxes-bl,
#content .boxes-br,
#content .boxes-bc,
#side_info .boxes-tl,
#side_info .boxes-tr,
#side_info .boxes-tc,
#side_info .boxes-ml,
#side_info .boxes-mr,
#side_info .boxes-mc,
#side_info .boxes-bl,
#side_info .boxes-br,
#side_info .boxes-bc {
    display: none !important;
}

#content .boxes-contents,
#side_info .boxes-contents {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow: visible !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
}

#content table:not(.transparent),
#side_info table {
    border-radius: 0 !important;
}

#content table.default,
#content table.row_table_data,
#content table#overview,
#content table#profile,
#content table#member,
#content table#villages,
#content table#ally_info,
#side_info table {
    border: 1px solid #d7d7d7 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

#content a > img,
#side_info a > img,
#mobileTopBar a > img,
#mobileBottomNav a > img {
    border: 0 !important;
    text-decoration: none !important;
}

#content.player table#language {
    width: 100% !important;
    margin: 12px 0 !important;
    border: 1px solid #d8d8d8 !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
}
#content.player table#language th,
#content.player table#language td {
    padding: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    background: #ffffff !important;
}
#content.player table#language thead th {
    font-size: 15px !important;
    text-align: left !important;
}
#content.player table#language select[name="lang"] {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    border: 1px solid #cfcfcf !important;
    background: #ffffff !important;
}
#content.player p.btn {
    margin: 12px 0 4px !important;
    padding: 0 !important;
    text-align: right !important;
}
#content.player .mz-profile-save {
    min-width: 96px !important;
    min-height: 42px !important;
    padding: 9px 18px !important;
    border: 1px solid #5f7f2b !important;
    border-radius: 5px !important;
    background: #6f8f35 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
#content.player .mz-profile-save:active {
    transform: translateY(1px);
}

#content.messages {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 8px 6px 96px !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
}

#content.messages > h1 {
    margin-bottom: 8px !important;
}

#content.messages #textmenu,
#content.messages .mz-message-tabs {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 2px 0 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent !important;
}
#content.messages #textmenu::-webkit-scrollbar { display: none; }
#content.messages #textmenu a {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 7px 11px !important;
    border: 1px solid #dddddd !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #4b4b4b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
}
#content.messages #textmenu a.selected {
    border-color: #9ebc73 !important;
    background: #f3f8eb !important;
    color: #405f1f !important;
}

#content.messages table#overview {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    table-layout: auto !important;
}
#content.messages table#overview thead {
    display: none !important;
}
#content.messages table#overview tbody,
#content.messages table#overview tfoot {
    display: block !important;
    width: 100% !important;
}
#content.messages table#overview tbody tr {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    gap: 2px 7px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 7px !important;
    padding: 9px 8px !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.035) !important;
}
#content.messages table#overview tbody td {
    box-sizing: border-box !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    line-height: 1.3 !important;
}
#content.messages table#overview tbody td.sel {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 2px !important;
}
#content.messages table#overview tbody td.sel input.check,
#content.messages table#overview tfoot input.check {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
}
#content.messages table#overview tbody td.top {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
#content.messages table#overview tbody td.top a {
    display: block !important;
    max-width: 100% !important;
    color: #2f4f1f !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
#content.messages table#overview tbody td.send {
    grid-column: 2 !important;
    grid-row: 2 !important;
    color: #555555 !important;
    font-size: 12px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
#content.messages table#overview tbody td.dat {
    grid-column: 2 !important;
    grid-row: 3 !important;
    color: #858585 !important;
    font-size: 11px !important;
    white-space: normal !important;
}
#content.messages table#overview tbody td.none {
    grid-column: 1 / -1 !important;
    padding: 16px 8px !important;
    text-align: center !important;
    color: #777777 !important;
}

#content.messages table#overview tfoot tr {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 8px !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 10px !important;
    background: #fafafa !important;
}
#content.messages table#overview tfoot th {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
#content.messages table#overview tfoot th.buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    text-align: left !important;
}
#content.messages table#overview tfoot th.navi {
    white-space: nowrap !important;
    font-size: 16px !important;
    text-align: right !important;
}
#content.messages .trav_buttons {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #505050 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}
#content.messages #btn_delete {
    border-color: #dfb8b8 !important;
    color: #9a2d2d !important;
}
#content.messages #btn_archiv,
#content.messages #btn_back {
    border-color: #cbd7b8 !important;
    color: #4e6829 !important;
}

#content.messages .msg_head,
#content.messages .msg_foot {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
#content.messages #read_content,
#content.messages #write_content {
    box-sizing: border-box !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 11px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    overflow: visible !important;
}
#content.messages #read_content img#label,
#content.messages #write_content img#label {
    display: none !important;
    float: none !important;
}
#content.messages #read_content #heading,
#content.messages #write_content #heading {
    box-sizing: border-box !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#content.messages #read_content #heading div {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
#content.messages #read_content #heading div:first-child {
    margin-bottom: 3px !important;
    color: #68715f !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
#content.messages #read_content #heading div:nth-child(2) {
    color: #282828 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
#content.messages #read_content #time {
    float: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    color: #888888 !important;
    font-size: 11px !important;
}
#content.messages #read_content #time div {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
#content.messages #read_content .clear { display: none !important; }
#content.messages #read_content .line,
#content.messages #write_content .line {
    box-sizing: border-box !important;
    float: none !important;
    width: 100% !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: 10px 0 !important;
    padding: 0 !important;
    background: #e5e5e5 !important;
}
#content.messages #read_content .message {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 0 8px !important;
    border: 0 !important;
    color: #2f2f2f !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    -webkit-overflow-scrolling: touch;
}
#content.messages #read_content .message img,
#content.messages #read_content .message video,
#content.messages #read_content .message iframe {
    max-width: 100% !important;
}
#content.messages #read_content .message pre {
    max-width: 100% !important;
    overflow-x: auto !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
}
#content.messages #read_content p.btn {
    margin: 10px 0 0 !important;
    text-align: left !important;
}
#content.messages .mz-message-back {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    margin: 0 0 8px !important;
    padding: 6px 10px !important;
    border: 1px solid #dddddd !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #4d5f3d !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#content.messages #write_content form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
#content.messages #write_content #heading input.text,
#content.messages #write_content #receiver,
#content.messages #write_content #subject {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    margin: 0 0 7px !important;
    padding: 8px 10px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 14px !important;
}
#content.messages #write_content a#adbook {
    float: none !important;
    display: inline-flex !important;
    width: 40px !important;
    height: 36px !important;
    margin: 0 0 5px !important;
}
#content.messages #message_container,
#content.messages #message_toolbar,
#content.messages #message_toolbarWindows {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
#content.messages #message_toolbar {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
}
#content.messages #message_toolbarWindows {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}
#content.messages #write_content textarea#message {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 230px !important;
    min-height: 230px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    resize: vertical !important;
}
#content.messages #message_preview {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    overflow-x: auto !important;
}

#content.messages div#adressbook:not(.hide) {
    box-sizing: border-box !important;
    position: fixed !important;
    z-index: 20050 !important;
    top: calc(env(safe-area-inset-top) + 62px) !important;
    right: 10px !important;
    bottom: calc(env(safe-area-inset-bottom) + 76px) !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: auto !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.18) !important;
}
#content.messages table#friendlist {
    width: 100% !important;
    max-width: 100% !important;
}
#content.messages table#friendlist input.text {
    box-sizing: border-box !important;
    max-width: 100% !important;
}
#content.messages div#block {
    box-sizing: border-box !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#content.messages div#block textarea#notice {
    box-sizing: border-box !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
    min-height: 220px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 14px !important;
}
#content.messages div#block p.btn {
    position: static !important;
    top: auto !important;
    margin: 8px 0 0 !important;
    text-align: left !important;
}

@media (max-width: 360px) {
    #content.messages { padding-left: 4px !important; padding-right: 4px !important; }
    #content.messages #textmenu { gap: 4px !important; }
    #content.messages #textmenu a { padding-left: 9px !important; padding-right: 9px !important; font-size: 11px !important; }
    #content.messages table#overview tbody tr { grid-template-columns: 28px minmax(0,1fr) !important; padding: 8px 6px !important; }
    #content.messages table#overview tfoot tr { grid-template-columns: 24px minmax(0,1fr) !important; }
    #content.messages table#overview tfoot th.navi { grid-column: 1 / -1 !important; text-align: center !important; }
    #content.messages .trav_buttons { height: 34px !important; min-height: 34px !important; padding: 0 9px !important; font-size: 11px !important; line-height: 32px !important; }
}

#content.messages table#overview tbody tr,
#content.messages table#overview tfoot tr,
#content.messages #read_content,
#content.messages #write_content {
    border-color: #d6d6d6 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
#content.messages #textmenu a,
#content.messages .mz-message-back,
#content.messages .trav_buttons {
    text-decoration: none !important;
}
#content.messages #write_content #receiver,
#content.messages #write_content #subject,
#content.messages #write_content textarea#message,
#content.messages div#block textarea#notice {
    font-size: 16px !important; 
}
#content.messages #write_content textarea#message {
    min-height: 260px !important;
}
#content.messages table#overview tbody td.send a,
#content.messages table#overview tbody td.top a {
    text-decoration: none !important;
}
#content.messages #message_toolbar {
    padding-bottom: 4px !important;
}
#content.messages #message_toolbar > * {
    flex: 0 0 auto !important;
}

#content.messages #read_content .line {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

#content.messages #read_content .message {
    padding-top: 10px !important;
}

#content.messages #read_content .message,
#content.messages #read_content #heading div {
    background: none !important;
    background-image: none !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
}

#content.messages #write_content .mz-compose-label {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    margin: 2px 0 5px !important;
    padding: 0 1px !important;
    color: #4d5f3d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}
#content.messages #write_content.mz-compose-simple #heading input.text {
    margin: 0 0 12px !important;
}
#content.messages #write_content.mz-compose-simple textarea#message {
    margin-top: 2px !important;
    min-height: 280px !important;
}
#content.messages #write_content.mz-compose-simple .mz-compose-actions {
    margin: 12px 0 0 !important;
    padding: 0 !important;
}
#content.messages #write_content.mz-compose-simple .mz-send-button {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
}

#content.village1 #village_map img.reslevel.mz-upgrade-ready {
    width: 17px !important;
    height: 12px !important;
    box-sizing: content-box !important;
    padding: 2px 0 3px !important;
    margin-top: -2px !important;
    background-repeat: no-repeat !important;
    background-position-y: 2px !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 2px #2f80ed, 0 0 5px rgba(47, 128, 237, .30) !important;
    z-index: 15 !important;
}

#content.village2 #village_map #levels div.mz-upgrade-ready {
    background-image: none !important;
    background-color: #eef6ff !important;
    border: 2px solid #2f80ed !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    line-height: 13px !important;
    box-shadow: 0 0 4px rgba(47, 128, 237, .25) !important;
}

#content.village2 .mobile-village-pan {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior-x: none !important;
    touch-action: manipulation !important;
}

#content.village2 .mobile-pan-hint {
    display: none !important;
}

#content.village2 .mobile-village-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 8px 0 12px;
}

#content.village2 .mobile-village-move {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #9bac8a !important;
    border-radius: 8px !important;
    background: #e0edcf !important;
    color: #617f2d !important;
    box-shadow: none !important;
    font: 700 26px/1 Arial, sans-serif !important;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#content.village2 .mobile-village-move:active:not(:disabled) {
    background: #c7e99d !important;
}

#content.village2 .mobile-village-move:disabled {
    opacity: .32;
    cursor: default;
}

#content.village2 .mobile-village-pan {
    overflow: hidden !important;
}

#content.village2 .mobile-village-pan #village_map {
    transform: translate3d(0,0,0);
    transition: none;
    will-change: transform;
}

#content.village2 .mobile-village-pan #village_map.mz-village-moving {
    transition: transform 180ms ease-out;
}

#content.village2 .mobile-village-controls {
    position: relative;
    z-index: 300;
}

#content.village2 .mobile-village-pan {
    touch-action: pan-y !important;
    cursor: grab;
}

#content.village2 .mobile-village-pan.mz-village-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

#content.village2 .mobile-village-pan.mz-village-dragging #village_map {
    transition: none !important;
}

#content.mz-crop-finder {
    padding-bottom: 22px !important;
}

#content.mz-crop-finder .mz-crop-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

#content.mz-crop-finder .mz-crop-preview figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--mz-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(49, 41, 28, .08);
}

#content.mz-crop-finder .mz-crop-preview img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
}

#content.mz-crop-finder .mz-crop-preview figcaption {
    padding: 6px 8px;
    border-top: 1px solid #e3ddd0;
    color: var(--mz-text);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

#content.mz-crop-finder .mz-crop-form {
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--mz-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--mz-shadow);
}

#content.mz-crop-finder .mz-crop-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#content.mz-crop-finder .mz-crop-fieldset legend,
#content.mz-crop-finder .mz-crop-form-row > span {
    display: block;
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
    color: #494236;
    font-size: 12px;
    font-weight: 700;
}

#content.mz-crop-finder .mz-crop-choice-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

#content.mz-crop-finder .mz-crop-choice {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    border: 1px solid #d8d1c3;
    border-radius: 8px;
    background: #faf9f6;
    color: var(--mz-text);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

#content.mz-crop-finder .mz-crop-choice input[type="radio"] {
    width: 18px;
    height: 18px;
    min-height: 0 !important;
    margin: 0;
    flex: 0 0 18px;
    accent-color: #2f78c4;
}

#content.mz-crop-finder .mz-crop-form-row {
    display: block;
    min-width: 0;
}

#content.mz-crop-finder .mz-crop-form select {
    width: 100% !important;
    margin: 0 !important;
}

#content.mz-crop-finder .mz-crop-coordinates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#content.mz-crop-finder .mz-crop-coordinates label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    min-width: 0;
}

#content.mz-crop-finder .mz-crop-coordinates b {
    color: var(--mz-muted);
    text-align: center;
}

#content.mz-crop-finder .mz-crop-coordinates input {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center;
}

#content.mz-crop-finder .mz-crop-search-button {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#content.mz-crop-finder .mz-crop-debug {
    margin: 8px 0;
    padding: 8px 10px;
    border: 1px solid #e4d59f;
    border-radius: 8px;
    background: #fffbe6;
    overflow-wrap: anywhere;
}

#content.mz-crop-finder table#member.mz-crop-results {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-collapse: separate !important;
}

#content.mz-crop-finder table#member.mz-crop-results thead,
#content.mz-crop-finder table#member.mz-crop-results tbody {
    display: block !important;
    width: 100% !important;
}

#content.mz-crop-finder table#member.mz-crop-results thead tr:first-child {
    display: block !important;
    width: 100% !important;
}

#content.mz-crop-finder table#member.mz-crop-results thead tr:first-child th {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 9px 10px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 9px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}

#content.mz-crop-finder table#member.mz-crop-results thead tr:nth-child(2) {
    display: none !important;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
    margin: 0 0 9px !important;
    overflow: hidden;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(49, 41, 28, .08);
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td {
    display: flex !important;
    min-width: 0 !important;
    min-height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #eee9df !important;
    background: #fff !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    overflow-wrap: anywhere;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td::before {
    content: attr(data-label);
    display: block;
    color: var(--mz-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(2) {
    grid-column: 1 / -1;
    order: 1;
    min-height: 54px;
    font-size: 14px !important;
    font-weight: 700;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(1) { order: 2; }
#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(6) { order: 3; }
#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(4) { order: 4; }
#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(5) { order: 5; }
#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(3) {
    grid-column: 1 / -1;
    order: 6;
    border-bottom: 0 !important;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(6),
#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-result-row td:nth-child(5) {
    border-left: 1px solid #eee9df !important;
}

#content.mz-crop-finder table#member.mz-crop-results a {
    color: #2e679e !important;
    text-decoration: none !important;
}

#content.mz-crop-finder .mz-crop-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

#content.mz-crop-finder .mz-crop-status.available {
    background: #edf7ed;
    color: #356b35;
}

#content.mz-crop-finder .mz-crop-status.occupied {
    background: #fbeeee;
    color: #9a3434;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-empty {
    display: block !important;
    width: 100% !important;
}

#content.mz-crop-finder table#member.mz-crop-results tbody tr.mz-crop-empty td {
    display: block !important;
    width: 100% !important;
    padding: 16px 12px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--mz-muted) !important;
    text-align: center !important;
}

@media (max-width: 360px) {
    #content.mz-crop-finder .mz-crop-form { padding: 10px 8px; }
    #content.mz-crop-finder .mz-crop-choice { padding-left: 4px; padding-right: 4px; font-size: 11px; }
}

#content .heroT4Nav.mz-hero-nav {
    display: flex !important;
    flex-direction: column;
    gap: 7px;
    width: 100% !important;
    margin: 6px 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#content .heroT4Nav .mz-hero-tabs {
    display: flex;
    width: 100%;
    gap: 6px;
    padding: 2px 1px 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

#content .heroT4Nav .mz-hero-tabs::-webkit-scrollbar { display: none; }

#content .heroT4Nav .mz-hero-tab {
    display: inline-flex !important;
    min-width: max-content;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid #d5cec0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #4d463b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(49, 41, 28, .06);
}

#content .heroT4Nav .mz-hero-tab.is-active {
    border-color: #2f78c4 !important;
    background: #edf5fd !important;
    color: #1f5f9f !important;
    box-shadow: inset 0 0 0 1px rgba(47, 120, 196, .12);
}

#content .heroT4Nav .mz-hero-silver {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    align-self: flex-end;
    padding: 5px 9px;
    border: 1px solid #d8d1c3;
    border-radius: 8px;
    background: #f8f7f4;
    color: var(--mz-muted);
    font-size: 11px;
}

#content .heroT4Nav .mz-hero-silver span {
    color: var(--mz-text);
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

#content #build.gid37 .t4h-wrap {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

#content #build.gid37 .t4h-panel {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 9px !important;
    padding: 9px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(49, 41, 28, .07);
}

#content #build.gid37 .t4h-head {
    display: flex !important;
    min-width: 0;
    align-items: flex-start !important;
    gap: 5px 10px;
    flex-wrap: wrap;
    margin: 0 0 7px !important;
    padding: 0 1px 7px;
    border-bottom: 1px solid #eee9df;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    line-height: 1.3;
}

#content #build.gid37 .t4h-head > span:first-child {
    min-width: 0;
    flex: 1 1 190px;
    overflow-wrap: anywhere;
}

#content #build.gid37 .t4h-head .info {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--mz-muted) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

#content #build.gid37 .t4h-head input.text {
    width: min(100%, 190px) !important;
    min-height: 40px !important;
    margin: 0 4px 4px 0 !important;
}

#content #build.gid37 table.t4h-tbl,
#content #build.gid37 table.t4h-tbl tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
}

#content #build.gid37 table.t4h-tbl tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 36px 38px;
    grid-template-areas:
        "name value points action"
        "bar  bar   bar    bar";
    gap: 5px 7px;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #eee9df !important;
    background: #fff !important;
}

#content #build.gid37 table.t4h-tbl tr:last-child { border-bottom: 0 !important; }

#content #build.gid37 table.t4h-tbl td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#content #build.gid37 .t4h-name {
    grid-area: name;
    align-self: center;
    color: var(--mz-text) !important;
    font-size: 12px !important;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#content #build.gid37 .t4h-val {
    grid-area: value;
    align-self: center;
    color: var(--mz-text) !important;
    font-size: 12px !important;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

#content #build.gid37 .t4h-barcell {
    grid-area: bar;
    width: 100% !important;
}

#content #build.gid37 .t4h-bar {
    width: 100% !important;
    height: 9px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 999px;
    background: #ebe7df !important;
}

#content #build.gid37 .t4h-bar i { border-radius: inherit; }

#content #build.gid37 .t4h-num {
    grid-area: points;
    align-self: center;
    width: auto !important;
    color: var(--mz-muted) !important;
    font-size: 11px !important;
    text-align: center !important;
}

#content #build.gid37 .t4h-up {
    grid-area: action;
    align-self: center;
    width: 38px !important;
    text-align: right !important;
}

#content #build.gid37 .t4h-up a.t4AddPoint,
#content #build.gid37 .t4h-up a {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #2f78c4 !important;
    border-radius: 8px !important;
    background: #edf5fd !important;
    color: #1f5f9f !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

#content #build.gid37 .t4h-up .none {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #c3bcae !important;
}

#content #build.gid37 .t4h-res form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px !important;
    width: 100%;
}

#content #build.gid37 .t4h-res label {
    display: flex !important;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px !important;
    padding: 6px 7px;
    border: 1px solid #ddd6c9;
    border-radius: 8px;
    background: #faf9f6;
    font-size: 12px;
    font-weight: 700;
    white-space: normal !important;
}

#content #build.gid37 .t4h-res label:has(input:checked) {
    border-color: #2f78c4;
    background: #edf5fd;
}

#content #build.gid37 .t4h-res input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    flex: 0 0 18px;
    margin: 0 !important;
    accent-color: #2f78c4;
}

#content #build.gid37 .t4h-res .t4h-note {
    grid-column: 1 / -1;
    margin: 1px 0 0 !important;
    color: var(--mz-muted) !important;
    font-size: 11px !important;
    line-height: 1.35;
}

#content #build.gid37 #t4PointsBar {
    display: flex;
    width: 100%;
    gap: 7px;
    align-items: center;
    padding: 8px !important;
    border: 1px solid #c9dced;
    border-radius: 9px;
    background: #f2f7fc;
}

#content #build.gid37 #t4PointsSave {
    min-height: 42px !important;
    flex: 1 1 auto;
    margin: 0 !important;
}

#content #build.gid37 #t4PointsCancel {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    margin: 0 !important;
    padding: 0 8px;
    color: var(--mz-muted) !important;
    text-decoration: none !important;
}

#content #build.gid37 .t4h-regen {
    margin: 8px 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #d8e6c6 !important;
    border-left-width: 3px !important;
    border-radius: 7px;
    background: #f7faF2 !important;
}

#content #build.gid37 table.t4items {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 10px !important;
    border: 0 !important;
    background: transparent !important;
}

#content #build.gid37 table.t4items thead,
#content #build.gid37 table.t4items tbody { display: block !important; width: 100% !important; }

#content #build.gid37 table.t4items thead tr:first-child { display: block !important; }
#content #build.gid37 table.t4items thead tr:first-child th {
    display: block !important;
    width: 100% !important;
    padding: 8px 10px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 9px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}

#content #build.gid37 table.t4items thead tr.t4cols { display: none !important; }

#content #build.gid37 table.t4items tbody tr {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
        "slot slot"
        "image name"
        "image tier"
        "action action";
    gap: 5px 9px;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 9px !important;
    overflow: hidden;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(49, 41, 28, .07);
}

#content #build.gid37 table.t4items tbody td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#content #build.gid37 table.t4items td.t4slot {
    grid-area: slot;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #eee9df !important;
    color: var(--mz-muted) !important;
    font-size: 11px !important;
}

#content #build.gid37 table.t4items td.t4img {
    grid-area: image;
    display: flex !important;
    min-height: 58px;
    align-items: center;
    justify-content: center;
}

#content #build.gid37 table.t4items td.t4name {
    grid-area: name;
    align-self: end;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.3;
}

#content #build.gid37 table.t4items td.t4tier {
    grid-area: tier;
    align-self: start;
    text-align: left !important;
}

#content #build.gid37 table.t4items td.t4act {
    grid-area: action;
    padding-top: 7px !important;
    border-top: 1px solid #eee9df !important;
}

#content #build.gid37 table.t4items td.t4empty {
    grid-column: 2 / -1 !important;
    align-self: center;
    min-height: 44px;
    color: #a59d90 !important;
}

#content #build.gid37 table.t4items tbody tr:has(td[colspan="5"].t4empty) {
    display: block !important;
    padding: 13px !important;
    text-align: center;
}

#content #build.gid37 table.t4items .t4form {
    display: flex !important;
    width: 100%;
    align-items: center;
    gap: 7px;
}

#content #build.gid37 table.t4items .t4btn {
    min-height: 42px !important;
    flex: 1 1 auto;
    padding: 8px 12px !important;
    font-size: 12px !important;
}

#content #build.gid37 table.t4items .t4qtynum {
    width: 62px !important;
    min-height: 42px !important;
    flex: 0 0 62px;
    margin: 0 !important;
    padding: 7px !important;
    font-size: 13px !important;
    text-align: center;
}

#content #build.gid37 .t4advRunning {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    margin: 0 0 9px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
}

#content #build.gid37 table.t4adv,
#content #build.gid37 table.t4adv thead,
#content #build.gid37 table.t4adv tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#content #build.gid37 table.t4adv thead tr:first-child { display: block !important; }
#content #build.gid37 table.t4adv thead tr:first-child th {
    display: block !important;
    width: 100% !important;
    padding: 8px 10px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 9px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}
#content #build.gid37 table.t4adv thead tr.t4cols { display: none !important; }

#content #build.gid37 table.t4adv tbody tr {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    overflow: hidden;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(49, 41, 28, .07);
}

#content #build.gid37 table.t4adv tbody td {
    display: flex !important;
    min-width: 0 !important;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    padding: 8px !important;
    border: 0 !important;
    border-right: 1px solid #eee9df !important;
    background: #fff !important;
    overflow-wrap: anywhere;
}

#content #build.gid37 table.t4adv tbody td::before,
#content #build.gid37 table.t4auc-tbl tbody td::before,
#content #build.gid37 table.t4auc-mini tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--mz-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .035em;
}

#content #build.gid37 table.t4adv td.t4place {
    grid-column: 1 / -1;
    min-height: 60px;
    border-right: 0 !important;
    border-bottom: 1px solid #eee9df !important;
}

#content #build.gid37 table.t4adv td.t4place .t4placeName {
    color: var(--mz-text) !important;
    font-size: 13px !important;
    font-weight: 800;
}

#content #build.gid37 table.t4adv td.t4coord a {
    color: #2e679e !important;
    text-decoration: none !important;
}

#content #build.gid37 table.t4adv td.t4dur,
#content #build.gid37 table.t4adv td.t4dan,
#content #build.gid37 table.t4adv td.t4exp {
    align-items: center;
    text-align: center !important;
}

#content #build.gid37 table.t4adv td.t4exp { border-right: 0 !important; }

#content #build.gid37 table.t4adv td.t4act {
    grid-column: 1 / -1;
    min-height: auto;
    padding: 8px !important;
    border-top: 1px solid #eee9df !important;
    border-right: 0 !important;
}

#content #build.gid37 table.t4adv td.t4act::before { display: none; }
#content #build.gid37 table.t4adv .t4form { width: 100%; }
#content #build.gid37 table.t4adv .t4btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
}

#content #build.gid37 table.t4adv tbody tr:has(td.t4empty) { display: block !important; }
#content #build.gid37 table.t4adv td.t4empty {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 14px 10px !important;
    border: 0 !important;
    text-align: center !important;
}
#content #build.gid37 table.t4adv td.t4empty::before { display: none; }

#content #build.gid37 table.t4auc-ex,
#content #build.gid37 table.t4auc-ex tbody,
#content #build.gid37 table.t4auc-ex tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

#content #build.gid37 table.t4auc-ex {
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #fff !important;
}

#content #build.gid37 table.t4auc-ex thead,
#content #build.gid37 table.t4auc-ex thead tr,
#content #build.gid37 table.t4auc-ex thead th {
    display: block !important;
    width: 100% !important;
}

#content #build.gid37 table.t4auc-ex thead th {
    padding: 8px 10px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}

#content #build.gid37 table.t4auc-ex td.t4auc-ex-cell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px !important;
    border: 0 !important;
    border-top: 1px solid #eee9df !important;
    background: #fff !important;
}

#content #build.gid37 .t4auc-balance {
    display: flex !important;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px !important;
}

#content #build.gid37 .t4auc-bal {
    display: inline-flex !important;
    min-height: 36px;
    align-items: center;
    gap: 5px;
    flex: 1 1 0;
    justify-content: center;
    padding: 5px 7px;
    border: 1px solid #e1dbcf;
    border-radius: 8px;
    background: #faf9f6;
}

#content #build.gid37 .t4auc-form {
    display: grid !important;
    grid-template-columns: 72px 26px minmax(0, 1fr) auto;
    gap: 6px !important;
    align-items: center;
    width: 100%;
    margin: 7px 0 !important;
}

#content #build.gid37 .t4auc-num {
    width: 72px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px !important;
    font-size: 13px !important;
}

#content #build.gid37 .t4auc-form .t4auc-btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 7px 8px !important;
    white-space: normal !important;
}

#content #build.gid37 .t4auc-rate { font-size: 10px !important; }
#content #build.gid37 .t4auc-hint { margin: 8px 0 0 !important; line-height: 1.35 !important; }
#content #build.gid37 .t4auc-merchant { max-height: 145px !important; width: auto !important; }

#content #build.gid37 table.t4auc-tbl,
#content #build.gid37 table.t4auc-tbl thead,
#content #build.gid37 table.t4auc-tbl tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#content #build.gid37 table.t4auc-tbl thead tr:first-child { display: block !important; }
#content #build.gid37 table.t4auc-tbl thead tr:first-child th {
    display: block !important;
    width: 100% !important;
    padding: 8px 10px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 9px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}
#content #build.gid37 table.t4auc-tbl thead tr.t4cols { display: none !important; }

#content #build.gid37 table.t4auc-tbl tbody tr {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    overflow: hidden;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(49, 41, 28, .07);
}

#content #build.gid37 table.t4auc-tbl tbody td {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 52px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px !important;
    border: 0 !important;
    border-right: 1px solid #eee9df !important;
    border-bottom: 1px solid #eee9df !important;
    background: #fff !important;
    text-align: center !important;
    overflow-wrap: anywhere;
}

#content #build.gid37 table.t4auc-tbl td.t4auc-col-item {
    grid-column: 1 / -1;
    min-height: 74px;
    border-right: 0 !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
}
#content #build.gid37 table.t4auc-tbl td.t4auc-col-item::before { display: none; }
#content #build.gid37 table.t4auc-tbl .t4auc-itemname {
    margin: 0 !important;
    color: var(--mz-text) !important;
    font-size: 12px !important;
    font-weight: 700;
    text-align: left;
}

#content #build.gid37 table.t4auc-tbl td.t4auc-col-tier {
    grid-column: 1 / -1;
    min-height: 44px;
    border-right: 0 !important;
    align-items: flex-start !important;
    padding-left: 10px !important;
}

#content #build.gid37 table.t4auc-tbl td.t4auc-col-qty,
#content #build.gid37 table.t4auc-tbl td.t4auc-col-price,
#content #build.gid37 table.t4auc-tbl td.t4auc-col-time { border-bottom: 0 !important; }
#content #build.gid37 table.t4auc-tbl td.t4auc-col-time { border-right: 0 !important; }

#content #build.gid37 table.t4auc-tbl td.t4auc-col-bid {
    grid-column: 1 / -1;
    min-height: auto;
    padding: 8px !important;
    border-top: 1px solid #eee9df !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}
#content #build.gid37 table.t4auc-tbl td.t4auc-col-bid::before { display: none; }

#content #build.gid37 .t4auc-bidform {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 7px;
    width: 100%;
    align-items: center;
}

#content #build.gid37 .t4auc-bidnum {
    width: 92px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px !important;
    font-size: 13px !important;
}
#content #build.gid37 .t4auc-bidform .t4auc-btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
}

#content #build.gid37 table.t4auc-mini,
#content #build.gid37 table.t4auc-mini thead,
#content #build.gid37 table.t4auc-mini tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
#content #build.gid37 table.t4auc-mini thead tr,
#content #build.gid37 table.t4auc-mini thead th { display: block !important; width: 100% !important; }
#content #build.gid37 table.t4auc-mini thead th {
    padding: 8px 10px !important;
    border: 1px solid var(--mz-border) !important;
    border-radius: 9px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}

#content #build.gid37 table.t4auc-mini tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    overflow: hidden;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
}

#content #build.gid37 table.t4auc-mini tbody td {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 50px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 8px !important;
    border: 0 !important;
    border-right: 1px solid #eee9df !important;
    border-bottom: 1px solid #eee9df !important;
    background: #fff !important;
}

#content #build.gid37 table.t4auc-mini td.t4auc-col-item {
    grid-column: 1 / -1;
    min-height: 68px;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-right: 0 !important;
}
#content #build.gid37 table.t4auc-mini td.t4auc-col-item::before { display: none; }
#content #build.gid37 table.t4auc-mini td.t4auc-time {
    border-right: 0 !important;
}

#content #build.gid37 table.t4auc-sell,
#content #build.gid37 table.t4auc-sell thead,
#content #build.gid37 table.t4auc-sell tbody,
#content #build.gid37 table.t4auc-sell tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

#content #build.gid37 table.t4auc-sell {
    overflow: hidden;
    border: 1px solid var(--mz-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
}

#content #build.gid37 table.t4auc-sell thead th {
    display: block !important;
    width: 100% !important;
    padding: 8px 10px !important;
    background: #f7f4ed !important;
    color: var(--mz-text) !important;
    font-size: 13px !important;
    text-align: left !important;
}

#content #build.gid37 table.t4auc-sell tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px !important;
}

#content #build.gid37 table.t4auc-sell tbody td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#content #build.gid37 table.t4auc-sell tbody td:first-of-type,
#content #build.gid37 table.t4auc-sell tbody td:last-of-type { grid-column: 1 / -1; }

#content #build.gid37 table.t4auc-sell select,
#content #build.gid37 table.t4auc-sell input[type="text"] {
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px !important;
    font-size: 13px !important;
}

#content #build.gid37 table.t4auc-sell .t4auc-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
}

@media (max-width: 360px) {
    #content #build.gid37 .t4h-res form { grid-template-columns: 1fr; }
    #content #build.gid37 .t4h-res .t4h-note { grid-column: 1; }
    #content #build.gid37 .t4auc-form { grid-template-columns: 68px 24px minmax(0, 1fr); }
    #content #build.gid37 .t4auc-form .t4auc-rate { grid-column: 1 / -1; text-align: right; }
    #content #build.gid37 table.t4auc-sell tbody tr { grid-template-columns: 1fr; }
    #content #build.gid37 table.t4auc-sell tbody td:first-of-type,
    #content #build.gid37 table.t4auc-sell tbody td:last-of-type { grid-column: 1; }
}

#content.reports {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    overflow: visible !important;
}

#content.reports > h1 {
    margin: 8px 0 12px !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
}

#content.reports > #textmenu:not(.rpt-readall) {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 2px 0 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
}
#content.reports > #textmenu:not(.rpt-readall)::-webkit-scrollbar { display: none !important; }
#content.reports > #textmenu:not(.rpt-readall) a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    margin: 0 7px 0 0 !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #303946 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
}
#content.reports > #textmenu:not(.rpt-readall) a.selected {
    border-color: #2f80ed !important;
    background: #edf5ff !important;
    color: #1769c2 !important;
}

#content.reports .rpt-readall {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
#content.reports .rpt-readall form { display: block !important; width: 100% !important; }
#content.reports .rpt-readall-btn {
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid #c9d2dc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #26323f !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

#content.reports table#overview {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    table-layout: auto !important;
}
#content.reports table#overview thead { display: none !important; }
#content.reports table#overview tbody {
    display: block !important;
    order: 1 !important;
    width: 100% !important;
}
#content.reports table#overview tbody tr.rpt-card {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    border: 1px solid #d9dfe6 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
}
#content.reports table#overview tbody tr.rpt-card.is-unread {
    border-color: #8bbcff !important;
    background: #f6faff !important;
}
#content.reports table#overview tbody td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    vertical-align: middle !important;
}
#content.reports table#overview tbody td.sel {
    grid-column: 1 !important;
    text-align: center !important;
}
#content.reports table#overview input.check {
    width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
}
#content.reports table#overview tbody td.sub {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: 24px minmax(0,1fr) !important;
    column-gap: 7px !important;
    align-items: center !important;
}
#content.reports table#overview tbody td.sub > img {
    grid-column: 1 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 auto !important;
}
#content.reports table#overview tbody td.sub > div {
    grid-column: 2 !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}
#content.reports table#overview tbody td.sub a {
    color: #202936 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}
#content.reports .rpt-new {
    display: inline-block !important;
    margin-left: 5px !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    background: #2f80ed !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}
#content.reports table#overview tbody td.dat {
    grid-column: 3 !important;
    max-width: 92px !important;
    color: #697582 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    text-align: right !important;
    white-space: normal !important;
}
#content.reports table#overview tbody td.none {
    grid-column: 1 / -1 !important;
    padding: 18px 8px !important;
    color: #6d7680 !important;
    text-align: center !important;
}

#content.reports table#overview tfoot {
    display: block !important;
    order: 2 !important;
    width: 100% !important;
    margin-top: 4px !important;
}
#content.reports table#overview tfoot tr {
    display: grid !important;
    grid-template-columns: 28px minmax(0,1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    border: 1px solid #d9dfe6 !important;
    border-radius: 10px !important;
    background: #fff !important;
}
#content.reports table#overview tfoot th {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
#content.reports table#overview tfoot th.buttons {
    display: flex !important;
    gap: 7px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}
#content.reports .rpt-action-btn {
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid #cbd3dc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #29333f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
#content.reports .rpt-action-btn.rpt-delete {
    border-color: #e2b8b8 !important;
    color: #9c2d2d !important;
}
#content.reports table#overview tfoot th.navi {
    min-width: 52px !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
}
#content.reports table#overview tfoot th.navi a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin-left: 3px !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #1769c2 !important;
}

#content.reports table#report_surround {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid #d9dfe6 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}
#content.reports table#report_surround > thead th,
#content.reports table#report_surround > thead td {
    padding: 9px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #e8ebef !important;
    background: #f7f9fb !important;
    color: #27313c !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
}
#content.reports table#report_surround > thead th:first-child,
#content.reports table#report_surround > thead td:first-child {
    width: 76px !important;
    color: #687482 !important;
    font-weight: 700 !important;
}
#content.reports table#report_surround td.empty { display: none !important; }
#content.reports table#report_surround td.report_content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
}

#content.reports td.report_content table#attacker,
#content.reports td.report_content table#defender,
#content.reports td.report_content table#reinforcement,
#content.reports td.report_content table#trade,
#content.reports td.report_content table.adventureReward,
#content.reports td.report_content table.auctionResult {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 9px !important;
    border: 1px solid #e0e4e8 !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
    background: #fff !important;
    table-layout: fixed !important;
}
#content.reports td.report_content table#attacker td,
#content.reports td.report_content table#attacker th,
#content.reports td.report_content table#defender td,
#content.reports td.report_content table#defender th,
#content.reports td.report_content table#reinforcement td,
#content.reports td.report_content table#reinforcement th,
#content.reports td.report_content table#trade td,
#content.reports td.report_content table#trade th {
    min-width: 0 !important;
    padding: 4px 2px !important;
    box-sizing: border-box !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
}
#content.reports td.report_content table .role {
    width: 64px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}
#content.reports td.report_content tbody.units td {
    text-align: center !important;
    white-space: nowrap !important;
}
#content.reports td.report_content tbody.units img,
#content.reports td.report_content img.unit {
    max-width: 20px !important;
    max-height: 20px !important;
}
#content.reports td.report_content table.adventureReward td,
#content.reports td.report_content table.adventureReward th,
#content.reports td.report_content table.auctionResult td,
#content.reports td.report_content table.auctionResult th {
    padding: 8px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}
#content.reports td.report_content p {
    margin: 7px 0 !important;
    line-height: 1.45 !important;
}

@media (max-width: 360px) {
    #content.reports { padding-left: 7px !important; padding-right: 7px !important; }
    #content.reports table#overview tbody tr.rpt-card {
        grid-template-columns: 26px minmax(0,1fr) !important;
    }
    #content.reports table#overview tbody td.dat {
        grid-column: 2 !important;
        max-width: none !important;
        margin-top: 4px !important;
        text-align: left !important;
    }
    #content.reports table#overview tfoot tr {
        grid-template-columns: 24px minmax(0,1fr) !important;
    }
    #content.reports table#overview tfoot th.navi {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
}

#content.build {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

#content.build #build:not(.gid37) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

#content.build #build:not(.gid37) > h1 {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 0 10px !important;
    padding: 9px 10px !important;
    border: 1px solid #d9dde4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    overflow: hidden !important;
}

#content.build #build:not(.gid37) > h1 .level {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    margin: 0 0 0 5px !important;
    padding: 2px 7px !important;
    border: 1px solid #d5dbe5 !important;
    border-radius: 999px !important;
    background: #f5f7fa !important;
    color: #536171 !important;
    font-size: 11px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

#content.build #build:not(.gid37) > .build_logo {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    float: right !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 2px 8px 10px !important;
    padding: 0 !important;
    background: transparent !important;
}

#content.build #build:not(.gid37) > .build_logo img,
#content.build #build:not(.gid37) > .build_logo img.building,
#content.build #build:not(.gid37) > .build_logo img.g16 {
    max-width: none !important;
}

#content.build #build:not(.gid37) > .build_desc {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 0 13px !important;
    padding: 0 2px !important;
    color: #3f4650 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}

#content.build #build:not(.gid37) > h2,
#content.build #build:not(.gid37) > h3,
#content.build #build:not(.gid37) > h4 {
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 12px 0 7px !important;
    padding: 7px 8px !important;
    border-bottom: 1px solid #dfe3e8 !important;
    color: #26313d !important;
    line-height: 1.3 !important;
}

#content.build #textmenu {
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 40px !important;
    margin: 8px 0 12px !important;
    padding: 3px !important;
    gap: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    border: 1px solid #dce1e8 !important;
    border-radius: 10px !important;
    background: #f5f7fa !important;
}
#content.build #textmenu::-webkit-scrollbar { display: none !important; }
#content.build #textmenu a {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #3d4a58 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    text-decoration: none !important;
}
#content.build #textmenu a.selected {
    border-color: #9dbbea !important;
    background: #eaf2ff !important;
    color: #1d5fae !important;
}

#content.build #build:not(.gid37) form {
    box-sizing: border-box !important;
    max-width: 100% !important;
}
#content.build #build:not(.gid37) input[type="text"],
#content.build #build:not(.gid37) input[type="number"],
#content.build #build:not(.gid37) input[type="password"],
#content.build #build:not(.gid37) select,
#content.build #build:not(.gid37) textarea {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-height: 42px !important;
    padding: 8px 9px !important;
    border: 1px solid #cfd6df !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
}
#content.build #build:not(.gid37) textarea {
    width: 100% !important;
    min-height: 110px !important;
    resize: vertical !important;
}
#content.build #build:not(.gid37) input[type="submit"],
#content.build #build:not(.gid37) input[type="button"],
#content.build #build:not(.gid37) button,
#content.build #build:not(.gid37) a.button,
#content.build #build:not(.gid37) .trav_buttons {
    touch-action: manipulation !important;
}

#content.build #build:not(.gid37) input[type="image"] {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#content.build #build:not(.gid37) table {
    box-sizing: border-box !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#content.build #build:not(.gid37) th,
#content.build #build:not(.gid37) td {
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

#content.build #build:not(.gid37) table.build_details {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 7px !important;
}
#content.build #build:not(.gid37) table.build_details thead td,
#content.build #build:not(.gid37) table.build_details thead th {
    padding: 6px !important;
    font-size: 11px !important;
}
#content.build #build:not(.gid37) table.build_details tbody tr {
    background: #fff !important;
}
#content.build #build:not(.gid37) table.build_details tbody td {
    padding: 8px 6px !important;
    border-top: 1px solid #e0e4e9 !important;
    border-bottom: 1px solid #e0e4e9 !important;
    vertical-align: middle !important;
}
#content.build #build:not(.gid37) table.build_details tbody td:first-child {
    border-left: 1px solid #e0e4e9 !important;
    border-radius: 9px 0 0 9px !important;
}
#content.build #build:not(.gid37) table.build_details tbody td:last-child {
    border-right: 1px solid #e0e4e9 !important;
    border-radius: 0 9px 9px 0 !important;
}
#content.build #build:not(.gid37) table.build_details td.desc {
    width: auto !important;
    min-width: 0 !important;
}
#content.build #build:not(.gid37) table.build_details td.val {
    width: 72px !important;
    min-width: 72px !important;
    text-align: center !important;
}
#content.build #build:not(.gid37) table.build_details td.max {
    width: 48px !important;
    min-width: 48px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    text-align: center !important;
}
#content.build #build:not(.gid37) table.build_details td.val input.text {
    width: 64px !important;
    min-width: 0 !important;
    text-align: center !important;
}
#content.build #build:not(.gid37) table.build_details .tit {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    min-width: 0 !important;
    line-height: 1.3 !important;
}
#content.build #build:not(.gid37) table.build_details .details {
    display: block !important;
    max-width: 100% !important;
    margin-top: 5px !important;
    white-space: normal !important;
    line-height: 1.7 !important;
}

#content.build #build:not(.gid37) table.under_progress {
    width: 100% !important;
    table-layout: fixed !important;
    margin: 10px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #dce1e7 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
#content.build #build:not(.gid37) table.under_progress th,
#content.build #build:not(.gid37) table.under_progress td {
    padding: 7px 5px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
}
#content.build #build:not(.gid37) table.under_progress td.desc { width: 44% !important; }
#content.build #build:not(.gid37) table.under_progress td.dur { width: 25% !important; }
#content.build #build:not(.gid37) table.under_progress td.fin { width: 31% !important; }
#content.build #build:not(.gid37) table.under_progress tr.next td {
    width: 100% !important;
    padding: 5px 7px !important;
    background: #f6f8fa !important;
}

#content.build #build.gid16 table.troop_details,
#content.build #build.gid16 table.troop_details.units,
#content.build #build.gid16 table.troop_details.incoming,
#content.build #build.gid16 table.troop_details.outgoing {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    border: 1px solid #dce1e7 !important;
    border-radius: 9px !important;
    background: #fff !important;
}
#content.build #build.gid16 table.troop_details > thead,
#content.build #build.gid16 table.troop_details > tbody {
    min-width: 610px !important;
}
#content.build #build.gid16 table.troop_details td,
#content.build #build.gid16 table.troop_details th {
    min-width: 36px !important;
    padding: 5px 4px !important;
    white-space: nowrap !important;
}
#content.build #build.gid16 table.troop_details td.role {
    min-width: 112px !important;
    white-space: normal !important;
}
#content.build #build.gid16 .atk_marker {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 5px !important;
    touch-action: manipulation !important;
}

#content.build #build.gid17 table.buy_select {
    float: none !important;
    display: inline-table !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 4px 5px 7px 0 !important;
}
#content.build #build.gid17 table.buy_select td,
#content.build #build.gid17 table.buy_select th {
    min-width: 42px !important;
    height: 42px !important;
    padding: 5px !important;
    text-align: center !important;
}
#content.build #build.gid17 table.buy_select td.hl {
    outline: 2px solid #76a8ee !important;
    outline-offset: -2px !important;
    background: #edf5ff !important;
}
#content.build #build.gid17 table#range,
#content.build #build.gid17 table#npc,
#content.build #build.gid17 table#send,
#content.build #build.gid17 table#sell,
#content.build #build.gid17 table#trade_routes,
#content.build #build.gid17 table.routes {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
}
#content.build #build.gid17 table#range > thead,
#content.build #build.gid17 table#range > tbody,
#content.build #build.gid17 table#range > tfoot { min-width: 570px !important; }
#content.build #build.gid17 table#npc > thead,
#content.build #build.gid17 table#npc > tbody { min-width: 500px !important; }
#content.build #build.gid17 .boxes,
#content.build #build.gid17 .boxes-contents {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#content.build #build.gid12 table.research,
#content.build #build.gid13 table.research,
#content.build #build.gid22 table.research,
#content.build #build.gid46 table.research {
    width: 100% !important;
    table-layout: auto !important;
}
#content.build #build:not(.gid37) table.research td,
#content.build #build:not(.gid37) table.research th {
    padding: 7px 5px !important;
}
#content.build #build:not(.gid37) table.research .desc,
#content.build #build:not(.gid37) table.research .tit,
#content.build #build:not(.gid37) table.research .details {
    white-space: normal !important;
}

#content.build #build.gid25 table,
#content.build #build.gid26 table,
#content.build #build.gid27 table,
#content.build #build.gid44 table,
#content.build #build.gid46 table,
#content.build #build.gid48 table {
    max-width: 100% !important;
}
#content.build #build.gid25 table:not(.build_details):not(.under_progress),
#content.build #build.gid26 table:not(.build_details):not(.under_progress),
#content.build #build.gid27 table:not(.build_details):not(.under_progress),
#content.build #build.gid44 table:not(.build_details):not(.under_progress) {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

#content.build #build.gid0 > h1 {
    clear: both !important;
}
#content.build #build.gid0 > h2 {
    margin: 12px 0 5px !important;
    padding: 0 2px !important;
    font-size: 16px !important;
}
#content.build #build.gid0 table.new_building {
    width: 100% !important;
    margin: 0 0 10px !important;
    border: 1px solid #dce1e7 !important;
    border-radius: 10px !important;
    background: #fff !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
}
#content.build #build.gid0 table.new_building td {
    padding: 9px 8px !important;
    vertical-align: middle !important;
}
#content.build #build.gid0 table.new_building td.desc {
    width: auto !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}
#content.build #build.gid0 table.new_building td.bimg {
    width: 76px !important;
    min-width: 76px !important;
    text-align: center !important;
}
#content.build #build.gid0 table.new_building td.bimg img {
    max-width: none !important;
}

#content.build #contract,
#content.build #building_contract {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 9px !important;
    border: 1px solid #dce1e7 !important;
    border-radius: 10px !important;
    background: #fff !important;
}
#content.build #contract .resourceWrapper,
#content.build #contract .resources,
#content.build .little_res {
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.8 !important;
}

#content.build #raidList,
#content.build table.raidList,
#content.build #build.gid16 table.farmList {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

#content.build #build:not(.gid37) .message,
#content.build #build:not(.gid37) .error,
#content.build #build:not(.gid37) .error2,
#content.build #build:not(.gid37) .notice,
#content.build #build:not(.gid37) .warning {
    box-sizing: border-box !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-wrap: anywhere !important;
}

#content.build #build:not(.gid37) .dropdown,
#content.build #build:not(.gid37) .aligned_coords,
#content.build #build:not(.gid37) #found,
#content.build #build:not(.gid37) #demolition_type,
#content.build #build:not(.gid37) #expansion {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

#content.build #build:not(.gid37) .clear { clear: both !important; }
#content.build #build:not(.gid37) p { max-width: 100% !important; }

@media (max-width: 390px) {
    #content.build #build:not(.gid37) > h1 {
        font-size: 16px !important;
        padding: 8px !important;
    }
    #content.build #build:not(.gid37) > h1 .level {
        font-size: 10px !important;
        min-height: 22px !important;
    }
    #content.build #textmenu a {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 11px !important;
    }
    #content.build #build:not(.gid37) table.build_details td.val {
        width: 66px !important;
        min-width: 66px !important;
    }
    #content.build #build:not(.gid37) table.build_details td.val input.text {
        width: 58px !important;
    }
    #content.build #build:not(.gid37) table.build_details td.max {
        width: 42px !important;
        min-width: 42px !important;
    }
    #content.build #build:not(.gid37) table.build_details .details {
        font-size: 10px !important;
    }
}

#content.build #build.gid19,
#content.build #build.gid20,
#content.build #build.gid21,
#content.build #build.gid29,
#content.build #build.gid30,
#content.build #build.gid36,
#content.build #build.gid49 {
    position: relative !important;
}

#content.build #build.gid19 > h1,
#content.build #build.gid20 > h1,
#content.build #build.gid21 > h1,
#content.build #build.gid29 > h1,
#content.build #build.gid30 > h1,
#content.build #build.gid36 > h1,
#content.build #build.gid49 > h1 {
    min-height: 66px !important;
    margin-bottom: 7px !important;
    padding: 11px 82px 10px 10px !important;
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}
#content.build #build.gid19 > .build_logo,
#content.build #build.gid20 > .build_logo,
#content.build #build.gid21 > .build_logo,
#content.build #build.gid29 > .build_logo,
#content.build #build.gid30 > .build_logo,
#content.build #build.gid36 > .build_logo,
#content.build #build.gid49 > .build_logo,
#content.build #build.gid36 > .build_desc > .build_logo {
    position: absolute !important;
    z-index: 3 !important;
    top: 2px !important;
    right: 5px !important;
    left: auto !important;
    float: none !important;
    margin: 0 !important;
    transform: scale(.76) !important;
    transform-origin: top right !important;
}
#content.build #build.gid36 > .build_desc > .build_logo {
    display: block !important;
}

#content.build #build.gid19 > .build_desc,
#content.build #build.gid20 > .build_desc,
#content.build #build.gid21 > .build_desc,
#content.build #build.gid29 > .build_desc,
#content.build #build.gid30 > .build_desc,
#content.build #build.gid36 > .build_desc,
#content.build #build.gid49 > .build_desc {
    clear: both !important;
    margin: 0 2px 8px !important;
    padding: 0 !important;
}

#content.build #build.gid19 table.build_details,
#content.build #build.gid20 table.build_details,
#content.build #build.gid21 table.build_details,
#content.build #build.gid29 table.build_details,
#content.build #build.gid30 table.build_details,
#content.build #build.gid36 table.build_details,
#content.build #build.gid49 table.build_details {
    display: block !important;
    width: 100% !important;
    margin: 2px 0 8px !important;
    border: 0 !important;
    border-spacing: 0 !important;
    background: transparent !important;
}
#content.build #build.gid19 table.build_details thead,
#content.build #build.gid20 table.build_details thead,
#content.build #build.gid21 table.build_details thead,
#content.build #build.gid29 table.build_details thead,
#content.build #build.gid30 table.build_details thead,
#content.build #build.gid36 table.build_details thead,
#content.build #build.gid49 table.build_details thead {
    display: none !important;
}
#content.build #build.gid19 table.build_details tbody,
#content.build #build.gid20 table.build_details tbody,
#content.build #build.gid21 table.build_details tbody,
#content.build #build.gid29 table.build_details tbody,
#content.build #build.gid30 table.build_details tbody,
#content.build #build.gid36 table.build_details tbody,
#content.build #build.gid49 table.build_details tbody {
    display: block !important;
    width: 100% !important;
}

#content.build #build.gid19 table.build_details tbody tr,
#content.build #build.gid20 table.build_details tbody tr,
#content.build #build.gid21 table.build_details tbody tr,
#content.build #build.gid29 table.build_details tbody tr,
#content.build #build.gid30 table.build_details tbody tr,
#content.build #build.gid36 table.build_details tbody tr,
#content.build #build.gid49 table.build_details tbody tr {
    display: grid !important;
    grid-template-columns: minmax(76px, 1fr) auto auto !important;
    gap: 6px 7px !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 7px 8px !important;
    box-sizing: border-box !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 9px !important;
    background: #fff !important;
}
#content.build #build.gid19 table.build_details tbody td,
#content.build #build.gid20 table.build_details tbody td,
#content.build #build.gid21 table.build_details tbody td,
#content.build #build.gid29 table.build_details tbody td,
#content.build #build.gid30 table.build_details tbody td,
#content.build #build.gid36 table.build_details tbody td,
#content.build #build.gid49 table.build_details tbody td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
#content.build #build.gid19 table.build_details td.desc,
#content.build #build.gid20 table.build_details td.desc,
#content.build #build.gid21 table.build_details td.desc,
#content.build #build.gid29 table.build_details td.desc,
#content.build #build.gid30 table.build_details td.desc,
#content.build #build.gid36 table.build_details td.desc,
#content.build #build.gid49 table.build_details td.desc {
    grid-column: 1 / -1 !important;
}
#content.build #build.gid19 table.build_details .tit,
#content.build #build.gid20 table.build_details .tit,
#content.build #build.gid21 table.build_details .tit,
#content.build #build.gid29 table.build_details .tit,
#content.build #build.gid30 table.build_details .tit,
#content.build #build.gid36 table.build_details .tit,
#content.build #build.gid49 table.build_details .tit {
    margin: 0 0 2px !important;
    font-size: 13px !important;
}
#content.build #build.gid19 table.build_details .details,
#content.build #build.gid20 table.build_details .details,
#content.build #build.gid21 table.build_details .details,
#content.build #build.gid29 table.build_details .details,
#content.build #build.gid30 table.build_details .details,
#content.build #build.gid36 table.build_details .details,
#content.build #build.gid49 table.build_details .details {
    margin: 2px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

#content.build #build.gid19 table.build_details td.val,
#content.build #build.gid20 table.build_details td.val,
#content.build #build.gid21 table.build_details td.val,
#content.build #build.gid29 table.build_details td.val,
#content.build #build.gid30 table.build_details td.val,
#content.build #build.gid36 table.build_details td.val,
#content.build #build.gid49 table.build_details td.val {
    grid-column: 1 !important;
    align-self: center !important;
    text-align: left !important;
}
#content.build #build.gid19 table.build_details td.val input.text,
#content.build #build.gid20 table.build_details td.val input.text,
#content.build #build.gid21 table.build_details td.val input.text,
#content.build #build.gid29 table.build_details td.val input.text,
#content.build #build.gid30 table.build_details td.val input.text,
#content.build #build.gid36 table.build_details td.val input.text,
#content.build #build.gid49 table.build_details td.val input.text {
    box-sizing: border-box !important;
    width: 78px !important;
    min-width: 78px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    border: 1px solid #cfd7e2 !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-size: 16px !important;
    text-align: center !important;
}
#content.build #build.gid19 table.build_details td.max,
#content.build #build.gid20 table.build_details td.max,
#content.build #build.gid21 table.build_details td.max,
#content.build #build.gid29 table.build_details td.max,
#content.build #build.gid30 table.build_details td.max,
#content.build #build.gid36 table.build_details td.max,
#content.build #build.gid49 table.build_details td.max {
    grid-column: 2 !important;
    align-self: center !important;
    text-align: center !important;
}
#content.build #build.gid19 table.build_details td.max a,
#content.build #build.gid20 table.build_details td.max a,
#content.build #build.gid21 table.build_details td.max a,
#content.build #build.gid29 table.build_details td.max a,
#content.build #build.gid30 table.build_details td.max a,
#content.build #build.gid36 table.build_details td.max a,
#content.build #build.gid49 table.build_details td.max a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 38px !important;
    padding: 0 5px !important;
    border: 0 !important;
    background: transparent !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
#content.build #build.gid19 table.build_details td.train_action,
#content.build #build.gid20 table.build_details td.train_action,
#content.build #build.gid21 table.build_details td.train_action,
#content.build #build.gid29 table.build_details td.train_action,
#content.build #build.gid30 table.build_details td.train_action,
#content.build #build.gid36 table.build_details td.train_action,
#content.build #build.gid49 table.build_details td.train_action {
    grid-column: 3 !important;
    align-self: center !important;
}
#content.build .mobile-train-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 74px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    touch-action: manipulation !important;
}

#content.build #build.gid19 form > p,
#content.build #build.gid20 form > p,
#content.build #build.gid21 form > p,
#content.build #build.gid29 form > p,
#content.build #build.gid30 form > p,
#content.build #build.gid36 form > p,
#content.build #build.gid49 form > p {
    margin: 0 !important;
}

@media (max-width: 360px) {
    #content.build #build.gid19 table.build_details tbody tr,
    #content.build #build.gid20 table.build_details tbody tr,
    #content.build #build.gid21 table.build_details tbody tr,
    #content.build #build.gid29 table.build_details tbody tr,
    #content.build #build.gid30 table.build_details tbody tr,
    #content.build #build.gid36 table.build_details tbody tr,
    #content.build #build.gid49 table.build_details tbody tr {
        grid-template-columns: minmax(72px, 1fr) auto auto !important;
        gap: 5px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    #content.build #build.gid19 table.build_details td.val input.text,
    #content.build #build.gid20 table.build_details td.val input.text,
    #content.build #build.gid21 table.build_details td.val input.text,
    #content.build #build.gid29 table.build_details td.val input.text,
    #content.build #build.gid30 table.build_details td.val input.text,
    #content.build #build.gid36 table.build_details td.val input.text,
    #content.build #build.gid49 table.build_details td.val input.text {
        width: 72px !important;
        min-width: 72px !important;
    }
    #content.build .mobile-train-button {
        min-width: 68px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
}

#content.build #build.gid19 > h1,
#content.build #build.gid20 > h1,
#content.build #build.gid21 > h1,
#content.build #build.gid29 > h1,
#content.build #build.gid30 > h1,
#content.build #build.gid36 > h1,
#content.build #build.gid49 > h1 {
    position: relative !important;
    min-height: 66px !important;
    padding-right: 82px !important;
    overflow: hidden !important;
}

#content.build #build.gid19 > h1 > .build_logo,
#content.build #build.gid20 > h1 > .build_logo,
#content.build #build.gid21 > h1 > .build_logo,
#content.build #build.gid29 > h1 > .build_logo,
#content.build #build.gid30 > h1 > .build_logo,
#content.build #build.gid36 > h1 > .build_logo,
#content.build #build.gid49 > h1 > .build_logo {
    position: absolute !important;
    top: 50% !important;
    right: 6px !important;
    left: auto !important;
    float: none !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    transform: translateY(-50%) scale(.72) !important;
    transform-origin: center right !important;
    z-index: 2 !important;
}

#content.build #build.gid19 > h1 > .build_logo img,
#content.build #build.gid20 > h1 > .build_logo img,
#content.build #build.gid21 > h1 > .build_logo img,
#content.build #build.gid29 > h1 > .build_logo img,
#content.build #build.gid30 > h1 > .build_logo img,
#content.build #build.gid36 > h1 > .build_logo img,
#content.build #build.gid49 > h1 > .build_logo img {
    max-width: none !important;
    margin: 0 !important;
}

#content.build #build.gid19 table.build_details tbody tr,
#content.build #build.gid20 table.build_details tbody tr,
#content.build #build.gid21 table.build_details tbody tr,
#content.build #build.gid29 table.build_details tbody tr,
#content.build #build.gid30 table.build_details tbody tr,
#content.build #build.gid36 table.build_details tbody tr,
#content.build #build.gid49 table.build_details tbody tr {
    grid-template-columns: 78px max-content minmax(74px, 1fr) !important;
    column-gap: 3px !important;
}

#content.build #build.gid19 table.build_details td.max,
#content.build #build.gid20 table.build_details td.max,
#content.build #build.gid21 table.build_details td.max,
#content.build #build.gid29 table.build_details td.max,
#content.build #build.gid30 table.build_details td.max,
#content.build #build.gid36 table.build_details td.max,
#content.build #build.gid49 table.build_details td.max {
    justify-self: start !important;
    margin-left: -1px !important;
}

#content.build #build.gid19 table.build_details td.max a,
#content.build #build.gid20 table.build_details td.max a,
#content.build #build.gid21 table.build_details td.max a,
#content.build #build.gid29 table.build_details td.max a,
#content.build #build.gid30 table.build_details td.max a,
#content.build #build.gid36 table.build_details td.max a,
#content.build #build.gid49 table.build_details td.max a {
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 0 3px !important;
}

#content.build #build.gid19 table.build_details td.train_action,
#content.build #build.gid20 table.build_details td.train_action,
#content.build #build.gid21 table.build_details td.train_action,
#content.build #build.gid29 table.build_details td.train_action,
#content.build #build.gid30 table.build_details td.train_action,
#content.build #build.gid36 table.build_details td.train_action,
#content.build #build.gid49 table.build_details td.train_action {
    justify-self: end !important;
}

@media (max-width: 360px) {
    #content.build #build.gid19 table.build_details tbody tr,
    #content.build #build.gid20 table.build_details tbody tr,
    #content.build #build.gid21 table.build_details tbody tr,
    #content.build #build.gid29 table.build_details tbody tr,
    #content.build #build.gid30 table.build_details tbody tr,
    #content.build #build.gid36 table.build_details tbody tr,
    #content.build #build.gid49 table.build_details tbody tr {
        grid-template-columns: 72px max-content minmax(68px, 1fr) !important;
        column-gap: 2px !important;
    }
}

#content.build #build.gid19 > h1 > .build_logo,
#content.build #build.gid20 > h1 > .build_logo,
#content.build #build.gid21 > h1 > .build_logo,
#content.build #build.gid29 > h1 > .build_logo,
#content.build #build.gid30 > h1 > .build_logo,
#content.build #build.gid36 > h1 > .build_logo,
#content.build #build.gid49 > h1 > .build_logo {
    top: 0 !important;
    right: 4px !important;
    width: 72px !important;
    height: 66px !important;
    overflow: hidden !important;
    transform: none !important;
}

#content.build #build.gid19 > h1 > .build_logo img.building,
#content.build #build.gid20 > h1 > .build_logo img.building,
#content.build #build.gid21 > h1 > .build_logo img.building,
#content.build #build.gid29 > h1 > .build_logo img.building,
#content.build #build.gid30 > h1 > .build_logo img.building,
#content.build #build.gid36 > h1 > .build_logo img.building,
#content.build #build.gid49 > h1 > .build_logo img.building {
    position: absolute !important;
    right: -1px !important;
    bottom: -2px !important;
    width: 75px !important;
    height: 100px !important;
    max-width: none !important;
    margin: 0 !important;
    transform: scale(.72) !important;
    transform-origin: right bottom !important;
}

#content.build #build.gid19 > .mobile-training-intro,
#content.build #build.gid20 > .mobile-training-intro,
#content.build #build.gid21 > .mobile-training-intro,
#content.build #build.gid29 > .mobile-training-intro,
#content.build #build.gid30 > .mobile-training-intro,
#content.build #build.gid36 > .mobile-training-intro,
#content.build #build.gid49 > .mobile-training-intro {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 8px 10px 7px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 8px !important;
    background: #fff !important;
}

#content.build #build.gid19 > .mobile-training-intro > h1,
#content.build #build.gid20 > .mobile-training-intro > h1,
#content.build #build.gid21 > .mobile-training-intro > h1,
#content.build #build.gid29 > .mobile-training-intro > h1,
#content.build #build.gid30 > .mobile-training-intro > h1,
#content.build #build.gid36 > .mobile-training-intro > h1,
#content.build #build.gid49 > .mobile-training-intro > h1 {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

#content.build #build.gid19 > .mobile-training-intro > h1 .level,
#content.build #build.gid20 > .mobile-training-intro > h1 .level,
#content.build #build.gid21 > .mobile-training-intro > h1 .level,
#content.build #build.gid29 > .mobile-training-intro > h1 .level,
#content.build #build.gid30 > .mobile-training-intro > h1 .level,
#content.build #build.gid36 > .mobile-training-intro > h1 .level,
#content.build #build.gid49 > .mobile-training-intro > h1 .level {
    white-space: nowrap !important;
}

#content.build #build.gid19 > .mobile-training-intro > .build_desc,
#content.build #build.gid20 > .mobile-training-intro > .build_desc,
#content.build #build.gid21 > .mobile-training-intro > .build_desc,
#content.build #build.gid29 > .mobile-training-intro > .build_desc,
#content.build #build.gid30 > .mobile-training-intro > .build_desc,
#content.build #build.gid36 > .mobile-training-intro > .build_desc,
#content.build #build.gid49 > .mobile-training-intro > .build_desc {
    display: block !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

#content.build #build.gid19 > .mobile-training-building-art,
#content.build #build.gid20 > .mobile-training-building-art,
#content.build #build.gid21 > .mobile-training-building-art,
#content.build #build.gid29 > .mobile-training-building-art,
#content.build #build.gid30 > .mobile-training-building-art,
#content.build #build.gid36 > .mobile-training-building-art,
#content.build #build.gid49 > .mobile-training-building-art {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 76px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

#content.build #build .mobile-training-building-art > .build_logo {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 75px !important;
    height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    transform: none !important;
}

#content.build #build .mobile-training-building-art > .build_logo > img.building {
    position: static !important;
    display: block !important;
    width: 75px !important;
    height: 100px !important;
    max-width: none !important;
    margin: -18px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
}

#content.build #build.gid19 > .mobile-training-building-art + form,
#content.build #build.gid20 > .mobile-training-building-art + form,
#content.build #build.gid21 > .mobile-training-building-art + form,
#content.build #build.gid29 > .mobile-training-building-art + form,
#content.build #build.gid30 > .mobile-training-building-art + form,
#content.build #build.gid49 > .mobile-training-building-art + form {
    margin-top: 0 !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-intro {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 8px 10px 7px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-intro > h1 {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: #222 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-intro > h1 .level {
    display: inline !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #5e6875 !important;
    font-size: 13px !important;
    line-height: inherit !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-intro > .build_desc {
    position: static !important;
    display: block !important;
    clear: none !important;
    float: none !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #3f4650 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-art {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    clear: both !important;
    width: 100% !important;
    min-height: 76px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-art > .build_logo {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    float: none !important;
    width: 75px !important;
    height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-art > .build_logo > img.building {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 75px !important;
    height: 100px !important;
    max-width: none !important;
    margin: -18px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
}

#content.build #build.mobile-building-modernized > .mobile-building-art > img.wall-model {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: 110px !important;
    height: auto !important;
    max-height: 92px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#content.build #build:not(.gid37) table thead,
#content.build #build:not(.gid37) table thead tr,
#content.build #build:not(.gid37) table thead th,
#content.build #build:not(.gid37) table thead td,
#content.build #build:not(.gid37) table th {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

#content.build #build:not(.gid37) table thead th,
#content.build #build:not(.gid37) table thead td {
    color: #4d5865 !important;
    border-color: #e1e5ea !important;
}

#content.build #textmenu {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

#content.build #build:not(.gid37) #contract {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 9px 0 4px !important;
    padding: 9px 10px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    line-height: 1.55 !important;
}

#content.build #build:not(.gid37) .c,
#content.build #build:not(.gid37) .none,
#content.build #build:not(.gid37) .boxes-contents,
#content.build #build:not(.gid37) .boxes-contents.cf {
    background-image: none !important;
    box-shadow: none !important;
}

#content.build #build:not(.gid37) h2,
#content.build #build:not(.gid37) h3,
#content.build #build:not(.gid37) h4 {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

#content.build #build.gid19 table thead,
#content.build #build.gid20 table thead,
#content.build #build.gid21 table thead,
#content.build #build.gid29 table thead,
#content.build #build.gid30 table thead,
#content.build #build.gid36 table thead,
#content.build #build.gid49 table thead {
    background: #fff !important;
    background-image: none !important;
}

#content.build #build:not(.gid37),
#content.build #build:not(.gid37) > form,
#content.build #build:not(.gid37) > div {
    background-color: transparent !important;
}

#content.build #build:not(.gid37) .boxesColor.gray {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 8px !important;
    padding: 8px !important;
}
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-tl,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-tc,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-tr,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-ml,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-mc,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-mr,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-bl,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-bc,
#content.build #build:not(.gid37) .boxesColor.gray > .boxes-br {
    display: none !important;
    background: none !important;
}
#content.build #build:not(.gid37) .boxesColor.gray .boxes-container,
#content.build #build:not(.gid37) .boxesColor.gray .boxes-contents,
#content.build #build:not(.gid37) .boxesColor.gray .boxes-contents.cf {
    position: static !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#content.build #build:not(.gid37) table,
#content.build #build:not(.gid37) table > thead,
#content.build #build:not(.gid37) table > tbody,
#content.build #build:not(.gid37) table > tfoot {
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}
#content.build #build:not(.gid37) table tr:not(.selected):not(.hl):not(.error):not(.warning) > th,
#content.build #build:not(.gid37) table tr:not(.selected):not(.hl):not(.error):not(.warning) > td {
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

#content.build #build.gid16 table.troop_details tbody.infos th,
#content.build #build.gid16 table.troop_details tbody.infos td,
#content.build #build.gid17 table.traders tr.res th,
#content.build #build.gid17 table.traders tr.res td,
#content.build #build.gid17 table#summary td.desc,
#content.build #build:not(.gid37) table.under_progress tr.next td {
    background-color: #fff !important;
    background-image: none !important;
}

#content.build #build:not(.gid37) table.build_details,
#content.build #build:not(.gid37) table.under_progress,
#content.build #build:not(.gid37) table.research,
#content.build #build:not(.gid37) table.troop_details,
#content.build #build:not(.gid37) .build_desc,
#content.build #build:not(.gid37) .c,
#content.build #build:not(.gid37) .none,
#content.build #build:not(.gid37) .boxes-contents {
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

@media (max-width: 760px), (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) {
    body.mobile-troop-popup-open {
        overflow: hidden !important;
    }

    #ce .mobile-unit-popup {
        pointer-events: auto !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147483000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        background: rgba(0, 0, 0, .46) !important;
    }

    #ce .mobile-unit-popup-panel {
        pointer-events: auto !important;
        position: relative !important;
        width: min(calc(100% - 4px), 680px) !important;
        height: min(calc(100dvh - 6px), 820px) !important;
        min-height: 340px !important;
        max-height: calc(100dvh - 6px) !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #fff !important;
        border: 1px solid #cfcfcf !important;
        border-radius: 10px !important;
        box-shadow: 0 12px 38px rgba(0, 0, 0, .28) !important;
    }

    #ce .mobile-unit-popup-close {
        pointer-events: auto !important;
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 2147483646 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #cfcfcf !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: #222 !important;
        font: 700 30px/40px Arial, sans-serif !important;
        text-align: center !important;
        cursor: pointer !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    #ce .mobile-unit-popup-frame {
        pointer-events: auto !important;
        touch-action: pan-x pan-y !important;
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background: #fff !important;
        overflow: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #ce .b351-manual-popup-panel {
        overscroll-behavior: contain !important;
    }

    #ce .b351-manual-popup-close:hover,
    #ce .b351-manual-popup-close:focus-visible {
        background: #f3f3f3 !important;
        outline: 2px solid #8ecf43 !important;
        outline-offset: 1px !important;
    }
}

.mobile-village-switcher {
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-village-tab {
    position: fixed !important;
    z-index: 10005 !important;
    top: 72% !important;
    right: 0 !important;
    width: 46px !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 6px 5px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border: 1px solid #405d17 !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    background: linear-gradient(#6f8f35, #526e25) !important;
    color: #fff !important;
    box-shadow: -2px 3px 12px rgba(0,0,0,.22) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}

.mobile-village-tab-label,
.mobile-movement-tab-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mobile-tab-icon {
    display: block !important;
    flex: 0 0 23px !important;
    width: 23px !important;
    height: 23px !important;
    color: #fff !important;
    pointer-events: none !important;
}

.mobile-village-tab-count {
    display: grid !important;
    place-items: center !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 4px !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.96) !important;
    color: var(--mz-green-dark) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
}

.mobile-village-backdrop {
    position: fixed !important;
    z-index: 2147483600 !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(0,0,0,.42) !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-village-backdrop[hidden] {
    display: none !important;
}

.mobile-village-drawer {
    position: fixed !important;
    z-index: 2147483601 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    width: min(86vw, 340px) !important;
    max-width: 340px !important;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 1px solid var(--mz-border) !important;
    box-shadow: -8px 0 26px rgba(0,0,0,.24) !important;
    transform: translateX(105%) !important;
    transition: transform .22s ease !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mobile-village-switcher.is-open .mobile-village-drawer,
.mobile-village-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-village-switcher.is-open .mobile-village-tab {
    opacity: 0 !important;
    pointer-events: none !important;
}

body.mobile-village-drawer-open {
    overflow: hidden !important;
    touch-action: none !important;
}

body > .mobile-village-backdrop,
body > .mobile-village-drawer {
    isolation: isolate !important;
}

body.mobile-village-drawer-open > #mobileTopBar,
body.mobile-village-drawer-open > #res {
    pointer-events: none !important;
}

.mobile-village-drawer-head {
    flex: 0 0 auto !important;
    min-height: calc(64px + env(safe-area-inset-top)) !important;
    padding: calc(10px + env(safe-area-inset-top)) 10px 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    background: #fff !important;
    border-bottom: 1px solid #ded7c8 !important;
}

.mobile-village-drawer-title {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.mobile-village-drawer-title a {
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--mz-text) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.mobile-village-drawer-title span {
    flex: 0 0 auto !important;
    min-width: 27px !important;
    height: 27px !important;
    padding: 0 7px !important;
    border-radius: 14px !important;
    background: #eef3e5 !important;
    color: var(--mz-green-dark) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 27px !important;
    text-align: center !important;
}

.mobile-village-close {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d7d0c3 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #403a31 !important;
    font: 700 28px/40px Arial, sans-serif !important;
    text-align: center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

.mobile-village-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 8px 0 18px !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    background: #fff !important;
}

.mobile-village-item {
    position: relative !important;
    width: 100% !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    border: 0 !important;
    border-bottom: 1px solid #ece7dd !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--mz-text) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: rgba(95,127,43,.12) !important;
}

.mobile-village-item:active {
    background: #f5f7f1 !important;
}

.mobile-village-item.is-current {
    padding-left: 10px !important;
    border-left: 4px solid var(--mz-green) !important;
    background: #f3f7ec !important;
}

.mobile-village-dot {
    flex: 0 0 10px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #b9b3a8 !important;
}

.mobile-village-item.is-current .mobile-village-dot {
    background: var(--mz-green) !important;
    box-shadow: 0 0 0 3px rgba(95,127,43,.14) !important;
}

.mobile-village-item-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: block !important;
}

.mobile-village-item-main strong {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #302b24 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.mobile-village-item-main small {
    display: block !important;
    margin-top: 3px !important;
    color: var(--mz-muted) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.mobile-village-current-mark {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
}

.mobile-village-item.is-current .mobile-village-current-mark {
    background: var(--mz-green) !important;
    color: #fff !important;
}

.mobile-village-item.is-current .mobile-village-current-mark::before {
    content: "✓" !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

@media (max-width: 360px) {
    .mobile-village-drawer {
        width: min(90vw, 320px) !important;
    }

    .mobile-village-tab {
        width: 36px !important;
        height: 62px !important;
    }
}

.mobile-movement-switcher {
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-movement-switcher[hidden] {
    display: none !important;
}

.mobile-movement-tab {
    position: fixed !important;
    z-index: 10005 !important;
    top: 72% !important;
    right: 0 !important;
    left: auto !important;
    width: 46px !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 6px 5px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border: 1px solid #405d17 !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    background: linear-gradient(#6f8f35, #526e25) !important;
    color: #fff !important;
    box-shadow: -2px 3px 12px rgba(0,0,0,.22) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}

.mobile-movement-switcher.is-below-villages .mobile-movement-tab {
    top: min(calc(72% + 68px), calc(100dvh - 72px)) !important;
}


.mobile-movement-tab-count {
    display: grid !important;
    place-items: center !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 4px !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.96) !important;
    color: var(--mz-green-dark) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
}

.mobile-movement-attack-badge {
    position: absolute !important;
    top: -7px !important;
    right: auto !important;
    left: -8px !important;
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 6px !important;
    border: 2px solid #fff !important;
    border-radius: 13px !important;
    background: #b92525 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 20px !important;
    text-align: center !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.24) !important;
}

.mobile-movement-attack-badge[hidden] {
    display: none !important;
}

.mobile-movement-tab.has-attack {
    box-shadow: -2px 3px 12px rgba(0,0,0,.22), inset 3px 0 0 #b92525 !important;
}

.mobile-movement-backdrop {
    position: fixed !important;
    z-index: 2147483610 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0,0,0,.46) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-movement-backdrop[hidden] {
    display: none !important;
}

.mobile-movement-drawer {
    position: fixed !important;
    z-index: 2147483611 !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    width: min(90vw, 370px) !important;
    max-width: 370px !important;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 1px solid var(--mz-border) !important;
    box-shadow: -8px 0 26px rgba(0,0,0,.25) !important;
    transform: translateX(105%) !important;
    transition: transform .22s ease !important;
    visibility: hidden !important;
    pointer-events: none !important;
    isolation: isolate !important;
}

.mobile-movement-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-movement-switcher.is-open .mobile-movement-tab {
    opacity: 0 !important;
    pointer-events: none !important;
}

body.mobile-movement-drawer-open {
    overflow: hidden !important;
    touch-action: none !important;
}

.mobile-movement-drawer-head {
    flex: 0 0 auto !important;
    min-height: calc(64px + env(safe-area-inset-top)) !important;
    padding: calc(10px + env(safe-area-inset-top)) 10px 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    background: #fff !important;
    border-bottom: 1px solid #ded7c8 !important;
}

.mobile-movement-drawer-title {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

.mobile-movement-drawer-title-text {
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--mz-text) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.mobile-movement-head-count {
    flex: 0 0 auto !important;
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 7px !important;
    border-radius: 14px !important;
    background: #eef3e5 !important;
    color: var(--mz-green-dark) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 28px !important;
    text-align: center !important;
}

.mobile-movement-close {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d7d0c3 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #403a31 !important;
    font: 700 28px/40px Arial, sans-serif !important;
    text-align: center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

.mobile-movement-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0 0 18px !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    background: #fff !important;
}

.mobile-movement-empty {
    flex: 0 0 auto !important;
    margin: 14px !important;
    padding: 18px 14px !important;
    border: 1px solid #e4ded3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--mz-muted) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.mobile-movement-empty[hidden] {
    display: none !important;
}

.mobile-movement-item {
    position: relative !important;
    width: 100% !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 10px 12px 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #ece7dd !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--mz-text) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: rgba(95,127,43,.12) !important;
}

.mobile-movement-item:active {
    background: #f6f7f3 !important;
}

.mobile-movement-marker {
    flex: 0 0 11px !important;
    width: 11px !important;
    height: 42px !important;
    border-radius: 7px !important;
    background: #8c8c8c !important;
}

.mobile-movement-item-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: block !important;
}

.mobile-movement-item-main strong {
    display: block !important;
    overflow: hidden !important;
    color: #302b24 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.mobile-movement-item-main small {
    display: block !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    color: var(--mz-muted) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.mobile-movement-time {
    flex: 0 0 auto !important;
    min-width: 78px !important;
    display: block !important;
    text-align: right !important;
}

.mobile-movement-time small {
    display: block !important;
    color: var(--mz-muted) !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
}

.mobile-movement-time strong {
    display: block !important;
    margin-top: 3px !important;
    color: #302b24 !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

.movement-incoming_attack .mobile-movement-marker,
.movement-oasis_attack .mobile-movement-marker {
    background: #b92525 !important;
}

.movement-incoming_reinf .mobile-movement-marker,
.movement-internal_reinf .mobile-movement-marker,
.movement-oasis_reinf .mobile-movement-marker {
    background: #5f7f2b !important;
}

.movement-outgoing_attack .mobile-movement-marker {
    background: #c57820 !important;
}

.movement-outgoing_reinf .mobile-movement-marker {
    background: #3d739d !important;
}

.movement-returning .mobile-movement-marker {
    background: #77736c !important;
}

.movement-settlers .mobile-movement-marker {
    background: #7c5b96 !important;
}

.movement-hero_out .mobile-movement-marker,
.movement-hero_back .mobile-movement-marker {
    background: #8b6c2d !important;
}

@media (max-width: 360px) {
    .mobile-movement-drawer {
        width: min(92vw, 340px) !important;
    }

    .mobile-movement-tab {
        width: 36px !important;
        height: 62px !important;
    }

    .mobile-movement-item {
        padding-left: 10px !important;
        padding-right: 9px !important;
        gap: 8px !important;
    }

    .mobile-movement-time {
        min-width: 72px !important;
    }
}

@media (max-width: 760px), (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) {
    #content.a2b {
        padding: 10px 6px 20px !important;
        overflow: visible !important;
        background: #fff !important;
    }

    #content.a2b > h1,
    #content.a2b form > h1 {
        margin: 0 0 10px !important;
        padding: 10px 12px !important;
        min-height: 0 !important;
        border: 1px solid var(--mz-border) !important;
        border-radius: 10px !important;
        background: #fff !important;
        background-image: none !important;
        color: var(--mz-text) !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
    }

    #content.a2b form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #content.a2b .a2b-section,
    #content.a2b .a2b-target-panel,
    #content.a2b .a2b-summary-card,
    #content.a2b .a2b-arrival-card {
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 10px !important;
        border: 1px solid #d8d1c4 !important;
        border-radius: 10px !important;
        background: #fff !important;
        background-image: none !important;
        box-shadow: none !important;
    }

    #content.a2b .a2b-section > h2,
    #content.a2b .a2b-target-panel > h2 {
        margin: 0 0 9px !important;
        padding: 0 !important;
        color: var(--mz-text) !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        font-weight: 800 !important;
    }

    #content.a2b #troops.a2b-unit-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #content.a2b .a2b-unit-card {
        min-width: 0 !important;
        padding: 8px !important;
        border: 1px solid #d8d1c4 !important;
        border-radius: 9px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    #content.a2b .a2b-unit-card.is-disabled {
        opacity: .52 !important;
    }

    #content.a2b .a2b-unit-card-top {
        display: grid !important;
        grid-template-columns: 32px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 7px !important;
        min-height: 34px !important;
        margin-bottom: 7px !important;
    }

    #content.a2b .a2b-unit-card-top img.unit,
    #content.a2b .a2b-settler-card img.unit {
        display: inline-block !important;
        float: none !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    #content.a2b .a2b-unit-card-top strong {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        color: #3b352d !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    #content.a2b .a2b-unit-card-bottom {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 6px !important;
    }

    #content.a2b .a2b-unit-card input.text {
        width: 100% !important;
        min-width: 0 !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 6px 7px !important;
        border: 1px solid #bdb6aa !important;
        border-radius: 7px !important;
        background: #fff !important;
        color: #28231e !important;
        font-size: 16px !important;
        text-align: center !important;
        box-shadow: none !important;
    }

    #content.a2b .a2b-unit-card input.text:disabled {
        background: #f2f2f2 !important;
        color: #999 !important;
    }

    #content.a2b .a2b-max {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 42px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 0 7px !important;
        border: 1px solid #b8c69c !important;
        border-radius: 7px !important;
        background: #f4f8ed !important;
        color: var(--mz-green-dark) !important;
        font: inherit !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    #content.a2b .a2b-max.is-zero,
    #content.a2b .a2b-max:disabled {
        border-color: #ddd !important;
        background: #f5f5f5 !important;
        color: #aaa !important;
    }

    #content.a2b .a2b-hero-card {
        border-color: #cbd8b5 !important;
    }

    #content.a2b .a2b-mission-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        margin: 0 0 10px !important;
    }

    #content.a2b .a2b-mission-option {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        border: 1px solid #d4cec2 !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #312d27 !important;
        font-weight: 700 !important;
        cursor: pointer !important;
    }

    #content.a2b .a2b-mission-option input.radio {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        margin: 0 9px 0 0 !important;
        accent-color: var(--mz-green) !important;
    }

    #content.a2b .a2b-mission-option:has(input:checked) {
        border-color: var(--mz-green) !important;
        background: #f3f8eb !important;
        box-shadow: inset 0 0 0 1px var(--mz-green) !important;
    }

    #content.a2b .a2b-mission-option.is-disabled {
        opacity: .5 !important;
    }

    #content.a2b .a2b-target-fields {
        display: block !important;
        width: 100% !important;
    }

    #content.a2b .a2b-field {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #content.a2b .a2b-field > span {
        display: block !important;
        margin: 0 0 5px !important;
        color: #655d52 !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: .02em !important;
    }

    #content.a2b .a2b-target-fields input.text,
    #content.a2b .a2b-field input.text,
    #content.a2b select.dropdown,
    #content.a2b select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 7px 9px !important;
        border: 1px solid #bdb6aa !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #2e2923 !important;
        font-size: 16px !important;
        box-shadow: none !important;
    }

    #content.a2b .a2b-or {
        margin: 8px 0 !important;
        color: #8a8175 !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-align: center !important;
        text-transform: uppercase !important;
    }

    #content.a2b .a2b-coordinate-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    #content.a2b .a2b-primary-btn,
    #content.a2b button.trav_buttons,
    #content.a2b #btn_ok.trav_buttons {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 46px !important;
        margin: 10px 0 0 !important;
        padding: 10px 14px !important;
        border: 1px solid var(--mz-green-dark) !important;
        border-radius: 9px !important;
        background: linear-gradient(#769a3b, #5f7f2b) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-shadow: 0 1px 0 rgba(0,0,0,.15) !important;
        box-shadow: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    #content.a2b .a2b-error,
    #content.a2b p.error {
        width: 100% !important;
        margin: 8px 0 0 !important;
        padding: 0 !important;
        color: #b00020 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }

    #content.a2b .a2b-summary-card > div {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: start !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #eee9df !important;
    }
    #content.a2b .a2b-summary-card > div:last-child { border-bottom: 0 !important; }
    #content.a2b .a2b-summary-card span {
        color: #746b5f !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }
    #content.a2b .a2b-summary-card strong,
    #content.a2b .a2b-summary-card a {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        color: #2f4721 !important;
        font-size: 13px !important;
        text-decoration: none !important;
    }

    #content.a2b .a2b-arrival-card {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 4px 8px !important;
        align-items: center !important;
    }
    #content.a2b .a2b-arrival-card > span {
        color: #71685d !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }
    #content.a2b .a2b-arrival-card > strong {
        color: #2f4721 !important;
        font-size: 14px !important;
        text-align: right !important;
    }
    #content.a2b .a2b-arrival-card > small {
        grid-column: 1 / -1 !important;
        color: #756d62 !important;
        font-size: 11px !important;
        text-align: right !important;
    }

    #content.a2b .a2b-settler-card {
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 52px !important;
        padding: 8px !important;
        border: 1px solid #ded8cd !important;
        border-radius: 8px !important;
    }
    #content.a2b .a2b-settler-card strong { font-size: 12px !important; }
    #content.a2b .a2b-settler-card b {
        min-width: 38px !important;
        padding: 5px 8px !important;
        border-radius: 7px !important;
        background: #f2f6eb !important;
        color: var(--mz-green-dark) !important;
        text-align: center !important;
    }

    #content.a2b .a2b-resource-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }
    #content.a2b .a2b-resource-grid > div {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-height: 42px !important;
        border: 1px solid #e0dbd1 !important;
        border-radius: 8px !important;
        background: #fff !important;
    }

    #content.a2b .a2b-warning {
        margin: 10px 0 0 !important;
        padding: 10px !important;
        border: 1px solid #d7b2a7 !important;
        border-radius: 8px !important;
        background: #fff8f5 !important;
        color: #8d291c !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    #content.a2b table#short_info {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        margin: 0 0 10px !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        border: 1px solid #d8d1c4 !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        background: #fff !important;
    }
    #content.a2b table#short_info th,
    #content.a2b table#short_info td {
        padding: 8px !important;
        border: 0 !important;
        border-bottom: 1px solid #eee9df !important;
        background: #fff !important;
        background-image: none !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }
    #content.a2b table#short_info tr:last-child th,
    #content.a2b table#short_info tr:last-child td { border-bottom: 0 !important; }
    #content.a2b table#short_info th {
        width: 34% !important;
        color: #746b5f !important;
        font-weight: 800 !important;
    }

    #content.a2b table.troop_details {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        border: 1px solid #d8d1c4 !important;
        border-radius: 10px !important;
        background: #fff !important;
        background-image: none !important;
        box-shadow: none !important;
    }
    #content.a2b table.troop_details > thead,
    #content.a2b table.troop_details > tbody {
        min-width: 590px !important;
        background: #fff !important;
    }
    #content.a2b table.troop_details th,
    #content.a2b table.troop_details td {
        min-width: 42px !important;
        padding: 7px 5px !important;
        border-color: #ece7df !important;
        background: #fff !important;
        background-image: none !important;
        color: #332e27 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }
    #content.a2b table.troop_details th:first-child,
    #content.a2b table.troop_details td:first-child {
        min-width: 86px !important;
    }
    #content.a2b table.troop_details tbody.options td,
    #content.a2b table.troop_details tbody.cata td,
    #content.a2b table.troop_details tbody.infos td {
        white-space: normal !important;
    }
    #content.a2b table.troop_details tbody.options label,
    #content.a2b table.troop_details tbody.options td {
        line-height: 1.7 !important;
    }
    #content.a2b table.troop_details input.radio {
        width: 20px !important;
        height: 20px !important;
        margin-right: 7px !important;
        vertical-align: middle !important;
        accent-color: var(--mz-green) !important;
    }
    #content.a2b table.troop_details select.dropdown {
        display: block !important;
        width: 100% !important;
        min-width: 220px !important;
        height: 42px !important;
        margin: 5px 0 !important;
        font-size: 14px !important;
    }
    #content.a2b table.troop_details .info {
        display: block !important;
        margin-top: 6px !important;
        white-space: normal !important;
    }

    #content.a2b p.btn {
        width: 100% !important;
        margin: 10px 0 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    #content.a2b p.btn input#btn_ok[type="image"] {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid var(--mz-green-dark) !important;
        border-radius: 9px !important;
        background: linear-gradient(#769a3b, #5f7f2b) !important;
        background-image: none !important;
        opacity: 1 !important;
    }

    #content.a2b datalist,
    #content.a2b .autocomplete,
    #content.a2b [class*="autocomplete"] {
        max-width: 100% !important;
    }
}

@media (max-width: 360px) {
    #content.a2b #troops.a2b-unit-grid {
        grid-template-columns: 1fr !important;
    }
}

.tz-finish-gold-card {
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #d7dfca;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    text-align: left;
}
.tz-finish-gold-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}
.tz-finish-gold-title {
    min-width: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #2f3c21;
}
.tz-finish-gold-cost {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f5ead0;
    border: 1px solid #dcc58b;
    color: #725412;
    font-weight: 700;
    white-space: nowrap;
}
.tz-finish-gold-text {
    margin: 0 0 11px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.4;
}
.tz-finish-gold-button,
.tz-finish-gold-button:link,
.tz-finish-gold-button:visited {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid #cd7c39;
    border-radius: 8px;
    background: #d25d00;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.tz-finish-gold-button:active {
    transform: translateY(1px);
}

#building_contract > thead {
    display: none !important;
}

#res .mz-res-chip {
    position: relative !important;
}

#res .mz-res-chip.mz-res-bonus-active {
    background: linear-gradient(180deg, #fffdf3 0%, #f7faee 100%) !important;
    box-shadow: inset 0 -3px 0 #708f34 !important;
}

#res .mz-res-chip.mz-res-bonus-active .mz-res-number {
    color: #4d681f !important;
}

#res .mz-res-bonus-badge {
    position: absolute !important;
    z-index: 2;
    top: 2px !important;
    right: 3px !important;
    min-width: 28px;
    padding: 1px 4px !important;
    border: 1px solid #b8c980 !important;
    border-radius: 999px !important;
    background: #f4f8e7 !important;
    color: #55701f !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 11px !important;
    text-align: center !important;
    letter-spacing: -.1px;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.05) !important;
}

#res .mz-res-detail-row.mz-res-bonus-active {
    background: #fbfdf6 !important;
}

#res .mz-res-detail-name .mz-res-bonus-detail {
    display: inline-flex !important;
    align-items: center;
    margin-left: auto !important;
    padding: 2px 5px !important;
    border: 1px solid #c5d39a !important;
    border-radius: 999px !important;
    background: #f4f8e8 !important;
    color: #587223 !important;
    font-size: 9px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

@media (max-width: 350px) {
    #res .mz-res-bonus-badge {
        top: 1px !important;
        right: 2px !important;
        min-width: 25px;
        padding-left: 3px !important;
        padding-right: 3px !important;
        font-size: 7px !important;
    }
}

#res .mz-res-chip.mz-res-bonus-active {
    padding-top: 9px !important;
    box-sizing: border-box !important;
    background: #b7c997 !important;
    box-shadow: inset 0 -1px 0 #b7c997 !important;
}

#res .mz-res-chip.mz-res-bonus-active .mz-res-number {
    color: #3f3a24 !important;
}

#res .mz-res-bonus-badge {
    top: 2px !important;
    right: 28px !important;
    min-width: 28px !important;
    padding: 1px 5px !important;
    border: 1px solid #e4cd72 !important;
    background: #fff2b8 !important;
    color: #6c5700 !important;
    box-shadow: 0 1px 2px rgba(105, 82, 0, .08) !important;
}

#res .mz-res-detail-row.mz-res-bonus-active {
    background: #fff5c8 !important;
}

#res .mz-res-detail-row > .mz-res-bonus-detail {
    grid-column: 1 / -1 !important;
    display: block !important;
    width: fit-content !important;
    margin: 0 0 1px 0 !important;
    padding: 2px 7px !important;
    border: 1px solid #ead789 !important;
    border-radius: 999px !important;
    background: #fff5c8 !important;
    color: #6c5700 !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}

#res .mz-res-detail-name .mz-res-bonus-detail {
    display: none !important;
}

@media (max-width: 350px) {
    #res .mz-res-chip.mz-res-bonus-active {
        padding-top: 8px !important;
    }
    #res .mz-res-bonus-badge {
        top: 1px !important;
        right: 2px !important;
        min-width: 25px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

@media (min-width: 601px) and (any-hover: hover) and (any-pointer: fine) {
    :root {
        --b351-desktop-w: 600px;
        --b351-desktop-h: 770px;
        --b351-desktop-left: calc(50vw - (var(--b351-desktop-w) / 2));
        --b351-desktop-top: calc(50vh - (var(--b351-desktop-h) / 2));
    }

    html {
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        background: #e7e4dd !important;
    }

    body,
    body.v35,
    body.ie,
    body.ie8 {
        position: relative !important;
        width: 100% !important;
        height: 100vh !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #e7e4dd !important;
    }

    body > .wrapper,
    .wrapper {
        position: fixed !important;
        z-index: 1 !important;
        top: var(--b351-desktop-top) !important;
        left: var(--b351-desktop-left) !important;
        width: var(--b351-desktop-w) !important;
        min-width: var(--b351-desktop-w) !important;
        max-width: var(--b351-desktop-w) !important;
        height: var(--b351-desktop-h) !important;
        min-height: var(--b351-desktop-h) !important;
        max-height: var(--b351-desktop-h) !important;
        margin: 0 !important;
        padding-top: calc(var(--mz-res) + var(--mz-top)) !important;
        padding-bottom: var(--mz-bottom) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        
        transform: none !important;
        background: #fff !important;
        box-shadow: 0 10px 36px rgba(0,0,0,.22) !important;
        scrollbar-gutter: auto !important;
    }

    body.mobile-menu-open > .wrapper,
    body.mobile-village-drawer-open > .wrapper,
    body.mobile-movement-drawer-open > .wrapper {
        overflow: hidden !important;
    }

    body:not(.mobile-has-game-nav) > .wrapper,
    body:not(.mobile-has-game-nav) .wrapper {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    #mid {
        width: 100% !important;
        min-width: 0 !important;
        max-width: var(--b351-desktop-w) !important;
        margin: 0 auto !important;
    }

    #res,
    #mobileTopBar,
    #mobileBottomNav {
        left: 50% !important;
        right: auto !important;
        width: var(--b351-desktop-w) !important;
        min-width: var(--b351-desktop-w) !important;
        max-width: var(--b351-desktop-w) !important;
        margin-left: 0 !important;
        transform: translateX(-50%) !important;
    }

    #res {
        top: var(--b351-desktop-top) !important;
    }

    #mobileTopBar {
        top: calc(var(--b351-desktop-top) + var(--mz-res)) !important;
    }

    #mobileBottomNav {
        top: calc(var(--b351-desktop-top) + var(--b351-desktop-h) - var(--mz-bottom)) !important;
        bottom: auto !important;
        height: var(--mz-bottom) !important;
        padding-bottom: 0 !important;
    }

    #resWrap,
    #res .mz-res-toggle,
    #res .mz-res-compact {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    #res .mz-res-details {
        top: calc(var(--b351-desktop-top) + var(--mz-res) + var(--mz-top)) !important;
        left: 50% !important;
        right: auto !important;
        width: var(--b351-desktop-w) !important;
        max-width: var(--b351-desktop-w) !important;
        max-height: calc(var(--b351-desktop-h) - var(--mz-res) - var(--mz-top) - var(--mz-bottom)) !important;
        transform: translateX(-50%) !important;
    }

    #mobileMenuBackdrop {
        inset: auto !important;
        top: var(--b351-desktop-top) !important;
        left: 50% !important;
        width: var(--b351-desktop-w) !important;
        height: var(--b351-desktop-h) !important;
        transform: translateX(-50%) !important;
    }

    body.mobile-has-game-nav #side_navi {
        top: var(--b351-desktop-top) !important;
        left: var(--b351-desktop-left) !important;
        bottom: auto !important;
        height: var(--b351-desktop-h) !important;
        max-height: var(--b351-desktop-h) !important;
    }

    .mobile-village-tab,
    .mobile-movement-tab {
        right: var(--b351-desktop-left) !important;
    }

    .mobile-village-tab {
        top: calc(var(--b351-desktop-top) + (var(--b351-desktop-h) * .72)) !important;
    }

    .mobile-movement-tab {
        top: calc(var(--b351-desktop-top) + (var(--b351-desktop-h) * .72)) !important;
    }

    .mobile-movement-switcher.is-below-villages .mobile-movement-tab {
        top: calc(var(--b351-desktop-top) + (var(--b351-desktop-h) * .72) + 68px) !important;
    }

    .mobile-village-backdrop,
    .mobile-movement-backdrop {
        inset: auto !important;
        top: var(--b351-desktop-top) !important;
        left: 50% !important;
        width: var(--b351-desktop-w) !important;
        height: var(--b351-desktop-h) !important;
        transform: translateX(-50%) !important;
    }

    .mobile-village-drawer,
    .mobile-movement-drawer {
        top: var(--b351-desktop-top) !important;
        right: var(--b351-desktop-left) !important;
        bottom: auto !important;
        height: var(--b351-desktop-h) !important;
        max-height: var(--b351-desktop-h) !important;
    }

    #content.messages div#adressbook:not(.hide) {
        top: calc(var(--b351-desktop-top) + 62px) !important;
        right: calc(var(--b351-desktop-left) + 10px) !important;
        bottom: auto !important;
        left: calc(var(--b351-desktop-left) + 10px) !important;
        width: auto !important;
        height: calc(var(--b351-desktop-h) - 138px) !important;
    }
}

@media (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) {
    #ce .mobile-unit-popup {
        inset: auto !important;
        top: var(--b351-desktop-top) !important;
        left: 50% !important;
        width: var(--b351-desktop-w) !important;
        height: var(--b351-desktop-h) !important;
        transform: translateX(-50%) !important;
    }
    #ce .b351-manual-popup-panel {
        width: calc(100% - 4px) !important;
        height: calc(100% - 6px) !important;
        max-height: calc(100% - 6px) !important;
    }

}

@media (min-width: 601px) and (any-hover: hover) and (any-pointer: fine) {
    #content.map .mobile-map-card {
        overflow: hidden !important;
        border-radius: 14px !important;
    }

    #content.map .mobile-map-viewport {
        border-radius: 13px 13px 0 0 !important;
    }
}

@media (min-width: 601px) and (any-hover: hover) and (any-pointer: fine) {
    body.b351-desktop-menu-root #side_navi {
        position: fixed !important;
        z-index: 10050 !important;
        width: 340px !important;
        max-width: min(86%, 340px) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateX(-105%) !important;
        transition: transform .2s ease, opacity .12s linear !important;
    }

    body.b351-desktop-menu-root.mobile-menu-open #side_navi {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    body.b351-desktop-menu-root #mobileMenuBackdrop {
        position: fixed !important;
        z-index: 10040 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.b351-desktop-menu-root:not(.mobile-menu-open) #mobileMenuBackdrop {
        display: none !important;
        pointer-events: none !important;
    }

    body.b351-desktop-menu-root.mobile-menu-open #mobileMenuBackdrop {
        display: block !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 760px) {
    #content.build #build.gid0 {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    #content.build #build.gid0 > h1 {
        margin: 4px 0 14px !important;
        padding: 0 2px !important;
        font-size: 1.28rem !important;
        line-height: 1.2 !important;
    }

    #content.build #build.gid0 .mobile-build-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border: 1px solid #d6d9dc !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 2px 7px rgba(0, 0, 0, .07) !important;
        color: #333 !important;
    }

    #content.build #build.gid0 .mobile-build-card-art {
        display: flex !important;
        width: 100% !important;
        min-height: 104px !important;
        margin: 0 0 7px !important;
        align-items: center !important;
        justify-content: center !important;
        background: #fff !important;
        text-align: center !important;
    }

    #content.build #build.gid0 .mobile-build-card-art a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
    }

    #content.build #build.gid0 .mobile-build-card-art img.building {
        display: block !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }

    #content.build #build.gid0 h2.mobile-build-card-title {
        margin: 0 0 7px !important;
        padding: 0 !important;
        font-size: 1.06rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        color: #3d2c18 !important;
    }

    #content.build #build.gid0 .mobile-build-card-desc {
        margin: 0 0 10px !important;
        padding: 0 !important;
        font-size: .86rem !important;
        line-height: 1.45 !important;
        text-align: left !important;
        color: #555 !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid0 .mobile-build-card-resources {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 9px 8px !important;
        box-sizing: border-box !important;
        border-top: 1px solid #ececec !important;
        border-bottom: 1px solid #ececec !important;
        background: #fff !important;
        font-size: .82rem !important;
        line-height: 1.9 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid0 .mobile-build-card-resources img {
        vertical-align: middle !important;
        margin: 0 2px 0 4px !important;
    }

    #content.build #build.gid0 .mobile-build-card-resources img:first-child {
        margin-left: 0 !important;
    }

    #content.build #build.gid0 .mobile-build-card-requirements {
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 9px 10px !important;
        box-sizing: border-box !important;
        border: 1px solid #e5e5e5 !important;
        border-radius: 8px !important;
        background: #fff !important;
        font-size: .83rem !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid0 .mobile-build-card-requirements-title {
        margin: 0 0 4px !important;
        font-weight: 700 !important;
        color: #4b3621 !important;
    }

    #content.build #build.gid0 .mobile-build-card-requirements-body {
        color: #555 !important;
    }

    #content.build #build.gid0 .mobile-build-card-actions {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid0 .mobile-build-card-actions > a.build {
        display: flex !important;
        width: 100% !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 9px 12px !important;
        box-sizing: border-box !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 9px !important;
        text-align: center !important;
        touch-action: manipulation !important;
    }

    #content.build #build.gid0 .mobile-build-card-actions .none {
        display: block !important;
        width: 100% !important;
        padding: 7px 4px !important;
        box-sizing: border-box !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }

    #content.build #build.gid0 .mobile-build-card-actions .gold-cost {
        white-space: normal !important;
    }

    #content.build #build.gid0 p.switch {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 14px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }

    #content.build #build.gid0 #build_list_soon,
    #content.build #build.gid0 #build_list_all {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    #content.build #build.gid0 .mobile-build-card a,
    #content.build #build.gid0 .mobile-build-card span,
    #content.build #build.gid0 .mobile-build-card div {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

#content.b351-support-page,
#content.plus.b351-plus-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px 10px 22px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

#content.b351-support-page .b351-support-head {
    margin: 0 0 12px !important;
    padding: 14px !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fff5c8 0%, #f5e6ba 100%) !important;
    box-shadow: 0 2px 8px rgba(49, 41, 28, .08) !important;
}
#content.b351-support-page .b351-support-head h1 {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #302b24 !important;
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
}
#content.b351-support-page .b351-support-head p {
    margin: 0 !important;
    color: #4c4438 !important;
    font-size: .9rem !important;
    line-height: 1.45 !important;
}
#content.b351-support-page .b351-support-head .b351-support-hint {
    margin-top: 8px !important;
    color: #716858 !important;
    font-size: .82rem !important;
}
#content.b351-support-page .b351-support-status {
    margin: 0 0 12px !important;
    padding: 11px 12px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}
#content.b351-support-page .b351-support-status.is-ok {
    border: 1px solid #a9c691 !important;
    background: #eef7e9 !important;
    color: #274d20 !important;
}
#content.b351-support-page .b351-support-status.is-error {
    border: 1px solid #d8aaa4 !important;
    background: #fff0ed !important;
    color: #7f2d24 !important;
}
#content.b351-support-page .b351-support-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 11px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(49, 41, 28, .08) !important;
}
#content.b351-support-page .b351-support-field {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 0 !important;
    color: #3d362d !important;
    font-weight: 700 !important;
    font-size: .83rem !important;
}
#content.b351-support-page .b351-support-field input,
#content.b351-support-page .b351-support-field select,
#content.b351-support-page .b351-support-field textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 11px !important;
    box-sizing: border-box !important;
    border: 1px solid #bfb49f !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #302b24 !important;
    font: inherit !important;
    font-weight: 500 !important;
    outline: none !important;
}
#content.b351-support-page .b351-support-field textarea {
    min-height: 142px !important;
    resize: vertical !important;
    line-height: 1.4 !important;
}
#content.b351-support-page .b351-support-field input:focus,
#content.b351-support-page .b351-support-field select:focus,
#content.b351-support-page .b351-support-field textarea:focus {
    border-color: #6f8c3a !important;
    box-shadow: 0 0 0 3px rgba(95, 127, 43, .13) !important;
}
#content.b351-support-page .b351-support-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, .55fr) !important;
    gap: 9px !important;
    width: 100% !important;
    margin-top: 2px !important;
}
#content.b351-support-page .b351-support-actions button {
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    font-size: .88rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}
#content.b351-support-page .b351-support-send {
    border: 1px solid #405d17 !important;
    background: linear-gradient(180deg, #6f9235 0%, #4f6f20 100%) !important;
    color: #fff !important;
}
#content.b351-support-page .b351-support-clear {
    border: 1px solid #c9bea7 !important;
    background: #f5f0e5 !important;
    color: #4d4436 !important;
}

#content.plus.b351-plus-page .b351-plus-heading {
    margin: 0 0 9px !important;
    padding: 0 2px !important;
}
#content.plus.b351-plus-page .b351-plus-heading h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #302b24 !important;
    font-size: 1.34rem !important;
    line-height: 1.2 !important;
}
#content.plus.b351-plus-page .b351-plus-word {
    color: #e3610d !important;
}
#content.plus.b351-plus-page #textmenu.mobile-gold-menu {
    margin-bottom: 12px !important;
    border-color: #c9bea7 !important;
    background: #efe2c7 !important;
}
#content.plus.b351-plus-page #textmenu.mobile-gold-menu a {
    min-height: 42px !important;
    color: #3f382e !important;
}
#content.plus.b351-plus-page #textmenu.mobile-gold-menu a.selected {
    color: #022d0b !important;
    background: #fff !important;
}
#content.plus.b351-plus-page .b351-plus-balance {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 52px !important;
    margin: 0 0 12px !important;
    padding: 10px 13px !important;
    box-sizing: border-box !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, #fff5c8 0%, #d9bb7f 100%) !important;
    color: #302b24 !important;
    box-shadow: 0 2px 8px rgba(49, 41, 28, .09) !important;
}
#content.plus.b351-plus-page .b351-plus-balance > span {
    font-size: .84rem !important;
    font-weight: 700 !important;
}
#content.plus.b351-plus-page .b351-plus-balance > strong {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 1.15rem !important;
    color: #5a4511 !important;
}
#content.plus.b351-plus-page img.gold {
    vertical-align: middle !important;
}
#content.plus.b351-plus-page .b351-plus-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
#content.plus.b351-plus-page .b351-plus-card {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 13px !important;
    box-sizing: border-box !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(49, 41, 28, .07) !important;
    overflow: hidden !important;
}
#content.plus.b351-plus-page .b351-plus-card-main {
    border-color: #c5a85d !important;
    background: linear-gradient(180deg, #fffdf6 0%, #fff8e6 100%) !important;
}
#content.plus.b351-plus-page .b351-plus-help {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 50% !important;
    background: #f7f1e5 !important;
    color: #5a5042 !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}
#content.plus.b351-plus-page .b351-plus-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 30px !important;
    margin: 0 35px 6px 0 !important;
    color: #302b24 !important;
    font-size: .94rem !important;
    line-height: 1.28 !important;
}
#content.plus.b351-plus-page .b351-plus-card-title strong {
    font-weight: 800 !important;
}
#content.plus.b351-plus-page .b351-plus-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 25px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: #e3610d !important;
    color: #fff !important;
    font-size: .75rem !important;
    font-weight: 900 !important;
}
#content.plus.b351-plus-page .b351-plus-resource {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
    border-radius: 7px !important;
    background: #f2eadb !important;
}
#content.plus.b351-plus-page .b351-plus-status {
    margin: 0 0 10px !important;
    color: #716858 !important;
    font-size: .78rem !important;
    line-height: 1.3 !important;
}
#content.plus.b351-plus-page .b351-plus-status b {
    color: #405d17 !important;
}
#content.plus.b351-plus-page .b351-plus-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(88px, .55fr) !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
}
#content.plus.b351-plus-page .b351-plus-meta > span {
    display: flex !important;
    min-height: 44px !important;
    padding: 7px 9px !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    justify-content: center !important;
    border: 1px solid #e0d7c8 !important;
    border-radius: 9px !important;
    background: #faf8f3 !important;
}
#content.plus.b351-plus-page .b351-plus-meta small {
    margin-bottom: 2px !important;
    color: #817767 !important;
    font-size: .69rem !important;
    line-height: 1.1 !important;
}
#content.plus.b351-plus-page .b351-plus-meta b {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #3d362d !important;
    font-size: .8rem !important;
    line-height: 1.25 !important;
}
#content.plus.b351-plus-page .b351-plus-action,
#content.plus.b351-plus-page .b351-plus-action > a,
#content.plus.b351-plus-page .b351-plus-action > span,
#content.plus.b351-plus-page .b351-plus-action > span > a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
#content.plus.b351-plus-page .b351-plus-action a {
    display: flex !important;
    min-height: 43px !important;
    padding: 8px 12px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #405d17 !important;
    border-radius: 9px !important;
    background: linear-gradient(180deg, #6f9235 0%, #4f6f20 100%) !important;
    color: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    touch-action: manipulation !important;
}
#content.plus.b351-plus-page .b351-plus-action a .none,
#content.plus.b351-plus-page .b351-plus-action a span.none {
    color: inherit !important;
}
#content.plus.b351-plus-page .b351-plus-promo {
    margin: 12px 0 0 !important;
    padding: 13px !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(49, 41, 28, .07) !important;
}
#content.plus.b351-plus-page .b351-plus-promo h2 {
    margin: 0 0 9px !important;
    padding: 0 !important;
    color: #302b24 !important;
    font-size: .98rem !important;
}
#content.plus.b351-plus-page .b351-plus-promo form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
}
#content.plus.b351-plus-page .b351-plus-promo input {
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
    border: 1px solid #bfb49f !important;
    border-radius: 9px !important;
    text-transform: uppercase !important;
}
#content.plus.b351-plus-page .b351-plus-promo button {
    min-height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid #405d17 !important;
    border-radius: 9px !important;
    background: #5f7f2b !important;
    color: #fff !important;
    font-weight: 800 !important;
}
#content.plus.b351-plus-page .b351-plus-promo-msg {
    margin: 0 0 8px !important;
    padding: 8px 9px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: .8rem !important;
}
#content.plus.b351-plus-page .b351-plus-promo-msg.is-ok {
    background: #eef7e9 !important;
    color: #274d20 !important;
}
#content.plus.b351-plus-page .b351-plus-promo-msg.is-error {
    background: #fff0ed !important;
    color: #7f2d24 !important;
}
#content.plus.b351-plus-page .b351-plus-club {
    margin-top: 12px !important;
}

#content.plus.b351-plus-page table,
#content.plus.b351-plus-page #products,
#content.plus.b351-plus-page .features,
#content.plus.b351-plus-page .rate_details {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 390px) {
    #content.b351-support-page,
    #content.plus.b351-plus-page {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    #content.b351-support-page .b351-support-actions {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    #content.plus.b351-plus-page .b351-plus-meta {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    #content.plus.b351-plus-page .b351-plus-promo form {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.b351-treasury-own-countdown .b351-victory-countdown,
.b351-artifact-victory-row .b351-victory-countdown {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    color: #b34c0a;
    white-space: nowrap;
}

.b351-treasury-victory-rules {
    margin: 0 0 10px !important;
    padding: 10px 11px !important;
    border: 1px solid #c9b16f;
    border-radius: 10px;
    background: #fffaf0;
    color: #403827;
    box-shadow: 0 1px 4px rgba(58, 43, 16, .08);
}

.b351-treasury-victory-rules > strong {
    display: block;
    margin-bottom: 5px;
    color: #3d2b09;
    font-size: 14px;
}

.b351-treasury-victory-rules p {
    margin: 3px 0 !important;
    font-size: 11px;
    line-height: 1.35;
}

.b351-treasury-own-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #ded0ae;
    font-size: 12px;
    font-weight: 700;
}

.b351-artifact-victory-row td {
    font-weight: 600;
}

#side_navi {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
#side_navi::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

#side_navi p a,
#side_navi > a,
#side_navi p a:hover,
#side_navi > a:hover,
#side_navi p a:active,
#side_navi > a:active,
#side_navi p a:focus,
#side_navi > a:focus,
#side_navi p a:visited,
#side_navi > a:visited {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    transform: none !important;
    background-image: none !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
}

#res .mz-res-chevron {
    position: absolute !important;
    z-index: 8 !important;
    left: 50% !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    width: 36px !important;
    height: 14px !important;
    transform: translateX(-50%) !important;
    display: block !important;
    border: 1px solid #5b7d28 !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    background: #fffdf3 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.10) !important;
    pointer-events: none !important;
    opacity: 1 !important;
}
#res .mz-res-chevron::before,
#res .mz-res-chevron::after {
    content: "" !important;
    position: absolute !important;
    top: 4px !important;
    width: 7px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #6b5a32 !important;
    transition: transform .16s ease !important;
}
#res .mz-res-chevron::before {
    left: 10px !important;
    transform: rotate(38deg) !important;
}
#res .mz-res-chevron::after {
    right: 10px !important;
    transform: rotate(-38deg) !important;
}
#res.mz-res-open .mz-res-chevron::before {
    transform: rotate(-38deg) !important;
}
#res.mz-res-open .mz-res-chevron::after {
    transform: rotate(38deg) !important;
}

.b351-treasury-victory-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}
.b351-treasury-victory-head > strong {
    color: #3d2b09;
    font-size: 14px;
}
.b351-treasury-victory-head > span {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    color: #744412;
    background: #f4e4bb;
    border-radius: 999px;
    padding: 3px 7px;
}
.b351-treasury-public-race,
.b351-treasury-alliance-race {
    display: grid;
    gap: 7px;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid #ded0ae;
}
.b351-treasury-race-candidate {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid #dfcfaa;
    border-radius: 8px;
    background: #fff;
}
.b351-treasury-race-candidate.is-alliance {
    background: #fffdf7;
}
.b351-treasury-race-player {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
}
.b351-treasury-race-player > span {
    flex: 0 0 auto;
    font-weight: 700;
    color: #716858;
}
.b351-treasury-race-player a {
    min-width: 0;
    overflow-wrap: anywhere;
}
.b351-treasury-race-artifact {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.3;
    color: #4d4639;
}
.b351-treasury-race-time {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #3a2e20;
}
.b351-treasury-race-time .b351-victory-countdown {
    color: #b34c0a;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.b351-treasury-no-race {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #ded0ae;
    font-size: 11px;
    color: #716858;
}

#content.player #textmenu.mobile-profile-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: normal !important;
}

#content.player #textmenu.mobile-profile-tabs a,
#content.player #textmenu.mobile-profile-tabs a:link,
#content.player #textmenu.mobile-profile-tabs a:visited,
#content.player #textmenu.mobile-profile-tabs a:hover,
#content.player #textmenu.mobile-profile-tabs a:active,
#content.player #textmenu.mobile-profile-tabs a:focus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 6px !important;
    border: 1px solid #c9bea7 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #302b24 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transform: none !important;
    float: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-tap-highlight-color: transparent !important;
}

#content.player #textmenu.mobile-profile-tabs a.selected,
#content.player #textmenu.mobile-profile-tabs a.selected:link,
#content.player #textmenu.mobile-profile-tabs a.selected:visited,
#content.player #textmenu.mobile-profile-tabs a.selected:hover,
#content.player #textmenu.mobile-profile-tabs a.selected:active,
#content.player #textmenu.mobile-profile-tabs a.selected:focus {
    border-color: #5f7f2b !important;
    background: #eef4e4 !important;
    color: #405d17 !important;
    box-shadow: inset 0 -2px 0 #5f7f2b !important;
    transform: none !important;
}

@media (max-width: 429px) {
    #content.player #textmenu.mobile-profile-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    #content.player #textmenu.mobile-profile-tabs a,
    #content.player #textmenu.mobile-profile-tabs a:link,
    #content.player #textmenu.mobile-profile-tabs a:visited,
    #content.player #textmenu.mobile-profile-tabs a:hover,
    #content.player #textmenu.mobile-profile-tabs a:active,
    #content.player #textmenu.mobile-profile-tabs a:focus {
        min-height: 46px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 600px) {
    body.mobile-has-game-nav #mid::after {
        content: "";
        display: block;
        width: 100%;
        height: clamp(220px, 32dvh, 300px);
        clear: both;
        pointer-events: none;
    }

    html {
        scroll-padding-bottom: calc(var(--mz-bottom) + 220px + env(safe-area-inset-bottom));
    }
}

#content.build .b351-goldclub-farmlist,
#content.build #raidListCreate,
#content.build #raidListSlot {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

#content.build .b351-goldclub-farmlist *,
#content.build #raidListCreate *,
#content.build #raidListSlot * {
    box-sizing: border-box !important;
}

#content.build .b351-goldclub-farmlist .listTitleText {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 10px 0 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #d8d0c0 !important;
    border-bottom: 0 !important;
    border-radius: 11px 11px 0 0 !important;
    background: #f8f5ee !important;
    color: #383229 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}
#content.build .b351-goldclub-farmlist .listTitleText > a {
    display: inline-flex !important;
    flex: 0 0 34px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin: -3px 0 !important;
    border-radius: 8px !important;
}
#content.build .b351-goldclub-farmlist .listTitleText img.del {
    margin: 0 !important;
}

#content.build .b351-goldclub-farmlist .openedClosedSwitch {
    display: none !important;
}
#content.build .b351-goldclub-farmlist .listContent {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 1px solid #d8d0c0 !important;
    border-radius: 0 0 11px 11px !important;
    background: #fff !important;
    overflow: hidden !important;
}
#content.build .b351-goldclub-farmlist .detail {
    width: 100% !important;
    margin: 0 !important;
    padding: 7px !important;
    overflow: visible !important;
}

#content.build .b351-goldclub-farmlist table.b351-gc-raid-table,
#content.build .b351-goldclub-farmlist table.b351-gc-raid-table tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
}
#content.build .b351-goldclub-farmlist table.b351-gc-raid-table thead {
    display: none !important;
}
#content.build .b351-goldclub-farmlist table.b351-gc-raid-table tr.slotRow {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    gap: 6px 8px !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 9px !important;
    border: 1px solid #e0ddd6 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(50, 42, 31, .06) !important;
}
#content.build .b351-goldclub-farmlist table.b351-gc-raid-table tr.slotRow:last-child {
    margin-bottom: 0 !important;
}
#content.build .b351-goldclub-farmlist table.b351-gc-raid-table tr.slotRow > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    vertical-align: middle !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}
#content.build .b351-goldclub-farmlist td.checkbox {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 3px !important;
}
#content.build .b351-goldclub-farmlist td.checkbox input[type="checkbox"],
#content.build .b351-goldclub-farmlist .markAll input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
}
#content.build .b351-goldclub-farmlist td.village {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-weight: 800 !important;
    color: #302b24 !important;
}
#content.build .b351-goldclub-farmlist td.village label,
#content.build .b351-goldclub-farmlist td.village .coordinates,
#content.build .b351-goldclub-farmlist td.village .coordinatesWrapper {
    max-width: 100% !important;
    white-space: normal !important;
}
#content.build .b351-goldclub-farmlist td.action {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: start !important;
}
#content.build .b351-goldclub-farmlist td.action::before {
    display: none !important;
}
#content.build .b351-goldclub-farmlist td.action a.arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 6px 9px !important;
    border: 1px solid #c9c1b2 !important;
    border-radius: 8px !important;
    background: #f6f3ec !important;
    color: #4a4439 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
#content.build .b351-goldclub-farmlist td.ew {
    grid-column: 2 !important;
    grid-row: 2 !important;
}
#content.build .b351-goldclub-farmlist td.distance {
    grid-column: 3 !important;
    grid-row: 2 !important;
    text-align: right !important;
    white-space: nowrap !important;
}
#content.build .b351-goldclub-farmlist td.ew::before,
#content.build .b351-goldclub-farmlist td.distance::before,
#content.build .b351-goldclub-farmlist td.troops::before,
#content.build .b351-goldclub-farmlist td.lastRaid::before {
    content: attr(data-label) ": " !important;
    color: #777064 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}
#content.build .b351-goldclub-farmlist td.troops {
    grid-column: 2 / 4 !important;
    grid-row: 3 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 24px !important;
}
#content.build .b351-goldclub-farmlist td.troops::before {
    flex: 0 0 100% !important;
}
#content.build .b351-goldclub-farmlist .troopIcon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 3px 5px !important;
    border-radius: 7px !important;
    background: #f6f3ec !important;
}
#content.build .b351-goldclub-farmlist .troopIconAmount {
    font-size: 11px !important;
    font-weight: 800 !important;
}
#content.build .b351-goldclub-farmlist td.lastRaid {
    grid-column: 2 / 4 !important;
    grid-row: 4 !important;
    min-height: 22px !important;
}
#content.build .b351-goldclub-farmlist td.lastRaid img,
#content.build .b351-goldclub-farmlist td.lastRaid a {
    vertical-align: middle !important;
}
#content.build .b351-goldclub-farmlist tr.slotRowEmpty {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
#content.build .b351-goldclub-farmlist tr.slotRowEmpty td.noData {
    display: block !important;
    width: 100% !important;
    padding: 16px 10px !important;
    border-radius: 9px !important;
    background: #f8f6f1 !important;
    text-align: center !important;
    color: #6b655b !important;
}

#content.build .b351-goldclub-farmlist .markAll {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 44px !important;
    margin: 8px 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #ddd6c9 !important;
    border-radius: 9px !important;
    background: #faf8f3 !important;
}
#content.build .b351-goldclub-farmlist .markAll label {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
#content.build .b351-goldclub-farmlist .addSlot {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 !important;
}
#content.build .b351-goldclub-farmlist .addSlot button,
#content.build .b351-goldclub-form > button.trav_buttons {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}
#content.build .b351-goldclub-farmlist .options {
    width: 100% !important;
    margin: 8px 0 12px !important;
}
#content.build .b351-goldclub-farmlist .options a.arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    border: 1px solid #c8c0b1 !important;
    border-radius: 9px !important;
    background: #f7f4ed !important;
    color: #3f3a31 !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
}

#content.build #raidListCreate > h4,
#content.build #raidListSlot > h4 {
    margin: 10px 0 8px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}
#content.build .b351-goldclub-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
#content.build .b351-goldclub-form .boxes {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 1px solid #d8d0c0 !important;
    border-radius: 11px !important;
    background: #fff !important;
    overflow: hidden !important;
}
#content.build .b351-goldclub-form .boxes > .boxes-tl,
#content.build .b351-goldclub-form .boxes > .boxes-tr,
#content.build .b351-goldclub-form .boxes > .boxes-tc,
#content.build .b351-goldclub-form .boxes > .boxes-ml,
#content.build .b351-goldclub-form .boxes > .boxes-mr,
#content.build .b351-goldclub-form .boxes > .boxes-mc,
#content.build .b351-goldclub-form .boxes > .boxes-bl,
#content.build .b351-goldclub-form .boxes > .boxes-br,
#content.build .b351-goldclub-form .boxes > .boxes-bc {
    display: none !important;
}
#content.build .b351-goldclub-form .boxes-contents {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fff !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table,
#content.build .b351-goldclub-form table.b351-gc-form-table tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table tr:last-child {
    margin-bottom: 0 !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table th,
#content.build .b351-goldclub-form table.b351-gc-form-table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table th {
    margin-bottom: 5px !important;
    color: #5b554a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}
#content.build .b351-goldclub-form input.text,
#content.build .b351-goldclub-form input[type="text"],
#content.build .b351-goldclub-form input[type="number"],
#content.build .b351-goldclub-form select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 1px solid #bfb6a6 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    font-size: 16px !important; 
    line-height: 1.2 !important;
}
#content.build .b351-goldclub-form .coordinatesInput {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
}
#content.build .b351-goldclub-form .coordinatesInput > br {
    display: none !important;
}
#content.build .b351-goldclub-form .xCoord,
#content.build .b351-goldclub-form .yCoord {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 0 !important;
}
#content.build .b351-goldclub-form .xCoord label,
#content.build .b351-goldclub-form .yCoord label {
    margin: 0 !important;
    font-weight: 800 !important;
}
#content.build .b351-goldclub-form .targetSelect {
    width: 100% !important;
    margin: 0 !important;
}
#content.build .b351-goldclub-form .targetSelect .lastTargets {
    display: block !important;
    margin: 0 0 5px !important;
    color: #5b554a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}
#content.build .b351-gc-error {
    width: 100% !important;
    margin: 0 0 9px !important;
    padding: 9px 10px !important;
    border: 1px solid #d9a49c !important;
    border-radius: 9px !important;
    background: #fff1ef !important;
    color: #8a2e25 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

#content.build .b351-gc-troop-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 !important;
}
#content.build .b351-gc-troop-card {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 3px 6px !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 74px !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid #ddd6c9 !important;
    border-radius: 10px !important;
    background: #faf8f3 !important;
}
#content.build .b351-gc-troop-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
}
#content.build .b351-gc-troop-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
}
#content.build .b351-goldclub-form input.b351-gc-troop-input {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 5px 7px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

#content.build .b351-goldclub-edit-raid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
}
#content.build .b351-goldclub-edit-raid > .boxes,
#content.build .b351-goldclub-edit-raid > .b351-gc-troop-grid {
    grid-column: 1 / -1 !important;
}

@media (max-width: 360px) {
    #content.build .b351-goldclub-farmlist .addSlot,
    #content.build .b351-goldclub-edit-raid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    #content.build .b351-goldclub-edit-raid > .boxes,
    #content.build .b351-goldclub-edit-raid > .b351-gc-troop-grid {
        grid-column: 1 !important;
    }
    #content.build .b351-gc-troop-grid {
        gap: 6px !important;
    }
    #content.build .b351-gc-troop-card {
        padding: 6px !important;
    }
    #content.build .b351-goldclub-farmlist table.b351-gc-raid-table tr.slotRow {
        grid-template-columns: 30px minmax(0, 1fr) !important;
    }
    #content.build .b351-goldclub-farmlist td.checkbox {
        grid-column: 1 !important;
    }
    #content.build .b351-goldclub-farmlist td.village,
    #content.build .b351-goldclub-farmlist td.ew,
    #content.build .b351-goldclub-farmlist td.troops,
    #content.build .b351-goldclub-farmlist td.lastRaid {
        grid-column: 2 !important;
    }
    #content.build .b351-goldclub-farmlist td.action,
    #content.build .b351-goldclub-farmlist td.distance {
        grid-column: 2 !important;
        text-align: left !important;
    }
    #content.build .b351-goldclub-farmlist td.action { grid-row: 5 !important; }
    #content.build .b351-goldclub-farmlist td.distance { grid-row: 2 !important; justify-self: end !important; }
}

#content.build .b351-goldclub-farmlist table.b351-gc-raid-table tr.slotRow.slotRowEmpty {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
#content.build .b351-goldclub-farmlist table.b351-gc-raid-table tr.slotRow.slotRowEmpty > td.noData {
    display: flex !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 16px 14px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    line-height: 1.4 !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-empty-text {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
    font-size: 13px !important;
}

#content.build .b351-goldclub-form .boxes-contents {
    padding: 14px 12px !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table tr {
    margin-bottom: 15px !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table th {
    display: block !important;
    margin: 0 0 7px !important;
    padding: 0 1px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}
#content.build .b351-goldclub-form table.b351-gc-form-table td {
    padding: 0 1px !important;
}
#content.build .b351-goldclub-form .target {
    padding-top: 1px !important;
}
#content.build .b351-goldclub-form .coordinatesInput {
    gap: 12px !important;
    margin: 2px 0 14px !important;
}
#content.build .b351-goldclub-form .xCoord,
#content.build .b351-goldclub-form .yCoord {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
}
#content.build .b351-goldclub-form .xCoord label,
#content.build .b351-goldclub-form .yCoord label {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 1px !important;
    line-height: 1.2 !important;
}
#content.build .b351-goldclub-form .targetSelect .lastTargets {
    margin: 0 0 7px !important;
    padding: 0 1px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}
#content.build .b351-goldclub-form input.text,
#content.build .b351-goldclub-form input[type="text"],
#content.build .b351-goldclub-form input[type="number"],
#content.build .b351-goldclub-form select {
    padding-left: 11px !important;
    padding-right: 11px !important;
}
#content.build .b351-gc-troop-grid {
    align-items: stretch !important;
}
#content.build .b351-gc-troop-card {
    min-height: 82px !important;
}

@media (max-width: 360px) {
    #content.build .b351-goldclub-form .boxes-contents {
        padding: 12px 10px !important;
    }
    #content.build .b351-goldclub-form .coordinatesInput {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 8px !important;
    }
}

#content.build .b351-goldclub-farmlist td.action {
    grid-column: 2 / 4 !important;
    grid-row: 5 !important;
    align-self: stretch !important;
    width: 100% !important;
    margin-top: 3px !important;
}
#content.build .b351-goldclub-farmlist td.action > .b351-gc-row-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
}
#content.build .b351-goldclub-farmlist td.action .b351-gc-action-btn {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    border: 1px solid #c9c1b2 !important;
    border-radius: 8px !important;
    background: #f6f3ec !important;
    color: #443d32 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}
#content.build .b351-goldclub-farmlist td.action .b351-gc-action-delete {
    border-color: #d8b6ae !important;
    background: #fff2ef !important;
    color: #8a3025 !important;
}
#content.build .b351-goldclub-farmlist td.action .b351-gc-action-btn:active {
    transform: translateY(1px) !important;
}

@media (max-width: 360px) {
    #content.build .b351-goldclub-farmlist td.action {
        grid-column: 2 !important;
        grid-row: 5 !important;
    }
    #content.build .b351-goldclub-farmlist td.action > .b351-gc-row-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }
}

#content.build .b351-goldclub-farmlist td.action button.b351-gc-action-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    font-family: inherit !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor[hidden] {
    display: none !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 9px 0 0 !important;
    padding: 10px 0 1px !important;
    border-top: 1px solid #ddd5c7 !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor-title {
    display: block !important;
    margin: 0 0 7px !important;
    color: #4a4338 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-troop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 0 9px !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor .b351-gc-troop-card {
    min-height: 76px !important;
    background: #fff !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor input.b351-gc-inline-troop-input {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    border: 1px solid #bfb6a6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #312c25 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-editor-actions button {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    cursor: pointer !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-save {
    border: 1px solid #4c6a20 !important;
    background: #6d8e31 !important;
    color: #fff !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-cancel {
    border: 1px solid #c9c1b2 !important;
    background: #f5f2eb !important;
    color: #443d32 !important;
}
#content.build .b351-goldclub-farmlist .b351-gc-inline-error {
    margin: 0 0 10px !important;
}

@media (max-width: 360px) {
    #content.build .b351-goldclub-farmlist .b351-gc-inline-troop-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    #content.build .b351-goldclub-farmlist .b351-gc-inline-editor-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }
}

#ce.b351-manual-host-active {
    pointer-events: auto !important;
}
#ce .b351-manual-popup,
#ce .b351-manual-popup-panel,
#ce .b351-manual-popup-close,
#ce .b351-manual-popup-frame {
    pointer-events: auto !important;
}
#ce .b351-manual-popup-frame {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
}
@media (max-width: 760px) {
    #ce .b351-manual-popup {
        padding: 2px !important;
        align-items: center !important;
    }
    #ce .b351-manual-popup-panel {
        width: calc(100vw - 4px) !important;
        height: calc(100dvh - 6px) !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: calc(100dvh - 6px) !important;
        border-radius: 8px !important;
    }
    #ce .b351-manual-popup-close {
        top: 6px !important;
        right: 6px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        font-size: 32px !important;
        line-height: 44px !important;
    }
}

@media (max-width: 760px) {
    #content.build #build.gid46,
    #content.build #build.gid48 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    #content.build #build.gid46 > .build_desc,
    #content.build #build.gid48 > .build_desc {
        margin: 0 0 10px !important;
        padding: 0 2px !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid46 table#build_value,
    #content.build #build.gid48 table#build_value {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 12px !important;
        table-layout: fixed !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        overflow: hidden !important;
        border: 1px solid #dce1e7 !important;
        border-radius: 10px !important;
        background: #fff !important;
    }
    #content.build #build.gid46 table#build_value th,
    #content.build #build.gid46 table#build_value td,
    #content.build #build.gid48 table#build_value th,
    #content.build #build.gid48 table#build_value td {
        box-sizing: border-box !important;
        width: 50% !important;
        padding: 9px 10px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        vertical-align: middle !important;
    }
    #content.build #build.gid46 table#build_value th,
    #content.build #build.gid48 table#build_value th {
        text-align: left !important;
    }
    #content.build #build.gid46 table#build_value td,
    #content.build #build.gid48 table#build_value td {
        text-align: right !important;
    }

    #content.build #build.gid46 h4.hosp,
    #content.build #build.gid48 h4.hosp {
        box-sizing: border-box !important;
        width: 100% !important;
        margin: 14px 0 7px !important;
        padding: 8px 10px !important;
        border: 1px solid #dce1e7 !important;
        border-radius: 9px !important;
        background: #f5f7fa !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    #content.build #build.gid46 form,
    #content.build #build.gid48 form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #content.build #build.gid46 table#hospital_wounded,
    #content.build #build.gid48 table#hospital_wounded,
    #content.build #build.gid46 table#hospital_wounded > tbody,
    #content.build #build.gid48 table#hospital_wounded > tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #content.build #build.gid46 table#hospital_wounded tr,
    #content.build #build.gid48 table#hospital_wounded tr {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 74px !important;
        grid-template-rows: auto auto !important;
        gap: 7px 8px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 8px !important;
        padding: 9px !important;
        box-sizing: border-box !important;
        border: 1px solid #dce1e7 !important;
        border-radius: 10px !important;
        background: #fff !important;
    }

    #content.build #build.gid46 table#hospital_wounded td,
    #content.build #build.gid48 table#hospital_wounded td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }

    #content.build #build.gid46 table#hospital_wounded td.ico,
    #content.build #build.gid48 table#hospital_wounded td.ico {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        min-width: 44px !important;
    }
    #content.build #build.gid46 table#hospital_wounded td.ico img.unit,
    #content.build #build.gid48 table#hospital_wounded td.ico img.unit {
        flex: 0 0 auto !important;
    }

    #content.build #build.gid46 table#hospital_wounded td.desc,
    #content.build #build.gid48 table#hospital_wounded td.desc {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid46 table#hospital_wounded td:nth-child(3),
    #content.build #build.gid48 table#hospital_wounded td:nth-child(3) {
        grid-column: 3 !important;
        grid-row: 1 !important;
        align-self: center !important;
        justify-self: end !important;
        text-align: right !important;
        font-size: 14px !important;
    }

    #content.build #build.gid46 table#hospital_wounded td:nth-child(4),
    #content.build #build.gid48 table#hospital_wounded td:nth-child(4) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
    #content.build #build.gid46 table#hospital_wounded input.text,
    #content.build #build.gid48 table#hospital_wounded input.text {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 7px 9px !important;
        box-sizing: border-box !important;
        font-size: 16px !important; 
        text-align: center !important;
    }

    #content.build #build.gid46 table#hospital_wounded td:nth-child(5),
    #content.build #build.gid48 table#hospital_wounded td:nth-child(5) {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }
    #content.build #build.gid46 table#hospital_wounded button.trav_buttons,
    #content.build #build.gid48 table#hospital_wounded button.trav_buttons {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 7px 6px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        line-height: 1.15 !important;
        touch-action: manipulation !important;
    }

    #content.build #build.gid46 p.c,
    #content.build #build.gid48 p.c,
    #content.build #build.gid46 p.none,
    #content.build #build.gid48 p.none {
        box-sizing: border-box !important;
        width: 100% !important;
        margin: 7px 0 12px !important;
        padding: 8px 10px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }

    #content.build #build.gid46 table#hospital_healing,
    #content.build #build.gid48 table#hospital_healing,
    #content.build #build.gid46 table#hospital_healing > tbody,
    #content.build #build.gid48 table#hospital_healing > tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    #content.build #build.gid46 table#hospital_healing tr,
    #content.build #build.gid48 table#hospital_healing tr {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) auto !important;
        gap: 8px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 8px !important;
        padding: 9px !important;
        box-sizing: border-box !important;
        border: 1px solid #dce1e7 !important;
        border-radius: 10px !important;
        background: #fff !important;
    }
    #content.build #build.gid46 table#hospital_healing td,
    #content.build #build.gid48 table#hospital_healing td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }
    #content.build #build.gid46 table#hospital_healing td.ico,
    #content.build #build.gid48 table#hospital_healing td.ico {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        min-width: 44px !important;
    }
    #content.build #build.gid46 table#hospital_healing td.desc,
    #content.build #build.gid48 table#hospital_healing td.desc {
        font-weight: 700 !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }
    #content.build #build.gid46 table#hospital_healing td.val,
    #content.build #build.gid48 table#hospital_healing td.val {
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }
}

@media (max-width: 360px) {
    #content.build #build.gid46 table#hospital_wounded tr,
    #content.build #build.gid48 table#hospital_wounded tr {
        grid-template-columns: 40px minmax(0, 1fr) 68px !important;
        gap: 6px !important;
        padding: 8px !important;
    }
    #content.build #build.gid46 table#hospital_wounded td.ico,
    #content.build #build.gid48 table#hospital_wounded td.ico,
    #content.build #build.gid46 table#hospital_healing td.ico,
    #content.build #build.gid48 table#hospital_healing td.ico {
        width: 40px !important;
        min-width: 40px !important;
    }
    #content.build #build.gid46 table#hospital_wounded button.trav_buttons,
    #content.build #build.gid48 table#hospital_wounded button.trav_buttons {
        padding-left: 4px !important;
        padding-right: 4px !important;
        font-size: 11px !important;
    }
    #content.build #build.gid46 table#hospital_healing tr,
    #content.build #build.gid48 table#hospital_healing tr {
        grid-template-columns: 40px minmax(0, 1fr) !important;
    }
    #content.build #build.gid46 table#hospital_healing td.val,
    #content.build #build.gid48 table#hospital_healing td.val {
        grid-column: 2 !important;
        text-align: left !important;
    }
}

#content.player {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

#content.player > h1,
#content.player h1 {
    max-width: 100% !important;
    margin: 6px 0 10px !important;
    line-height: 1.2 !important;
}

#content.player #textmenu {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding: 7px !important;
    border: 1px solid #d9dee5 !important;
    border-radius: 12px !important;
    background: #f5f7f9 !important;
    background-image: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    white-space: normal !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

#content.player #textmenu a,
#content.player #textmenu a:link,
#content.player #textmenu a:visited,
#content.player #textmenu a:hover,
#content.player #textmenu a:active,
#content.player #textmenu a:focus {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 8px !important;
    float: none !important;
    position: static !important;
    border: 1px solid #d0d6de !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #303842 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
    transform: none !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.18 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-tap-highlight-color: transparent !important;
}

#content.player #textmenu a.selected,
#content.player #textmenu a.selected:link,
#content.player #textmenu a.selected:visited,
#content.player #textmenu a.selected:hover,
#content.player #textmenu a.selected:active,
#content.player #textmenu a.selected:focus {
    border-color: #769a3d !important;
    background: #eef5e5 !important;
    color: #355413 !important;
    box-shadow: inset 0 -3px 0 #6f9237 !important;
}

#content.player #textmenu a:active {
    filter: brightness(.97) !important;
}

@media (max-width: 360px) {
    #content.player #textmenu {
        gap: 6px !important;
        padding: 6px !important;
    }
    #content.player #textmenu a,
    #content.player #textmenu a:link,
    #content.player #textmenu a:visited {
        min-height: 46px !important;
        padding: 8px 6px !important;
        font-size: 12px !important;
    }
}
/* BLOCK351 — compact training queue pagination (mobile + desktop shell)       */
/* ========================================================================== */
#content.build #build .training-pagination {
    width: 100% !important;
    min-height: 42px !important;
    margin: 8px 0 12px !important;
    padding: 4px 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

#content.build #build .training-page-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #a9bd83 !important;
    border-radius: 9px !important;
    background: #fbfff5 !important;
    color: #4f6f1f !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

#content.build #build .training-page-btn.is-disabled {
    opacity: .35 !important;
    pointer-events: none !important;
}

#content.build #build .training-page-status {
    min-width: 92px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
}

#content.build #build .training-page-status small {
    min-width: 24px !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    background: #eef4e5 !important;
    color: #567a27 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 16px !important;
    text-align: center !important;
}
