/* Keep the original 15.x theme. Change only the backdrop, banner and boosted artwork position. */
body { background: #252525 url('fox-assets/stone.png') repeat center top !important; background-size: auto !important; }
#ArtworkHelper { padding-top: 4px; box-sizing: border-box; }
#FoxBanner { width: calc(100% - 30px); max-width: 1250px; height: 194px; margin: 0 auto 8px; }
#FoxBanner a { display: block; height: 100%; text-decoration: none; }
#FoxBanner img { display: block; width: 100%; height: 194px; object-fit: fill; }
.FoxBannerFallback { height: 194px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(ellipse at center,#7d1b16,#170909 75%); border: 1px solid #ab7650; box-sizing: border-box; }
.FoxBannerFallback strong { font: bold 76px Georgia,serif; color: #f3eee5; text-shadow: 3px 3px #350000; }
.FoxBannerFallback small { font: bold 18px Georgia,serif; letter-spacing: 7px; color: #dec6a0; }
#ContentRow { top: 0; }
#LeftArtwork { display: none; }
@media (max-width:1000px) { #FoxBanner { width: 970px; } }

/* Same frame assets used by Donate and Discord. */
.fox-boosted-box { width: 180px; margin: 0 0 12px; }
.fox-boosted-header { width: 180px; height: 45px; background: url('images/themeboxes/box_top.png') no-repeat; font-family: Verdana; font-weight: bold; font-size: 10pt; color: #d5c3af; line-height: 65px; text-align: center; }
.fox-boosted-content { width: 160px; padding: 0 10px 10px; background: url('images/themeboxes/box_bg.png') repeat-y; }
.fox-boosted-bottom { width: 180px; height: 30px; margin-top: -20px; background: url('images/themeboxes/box_bottom.png') no-repeat; }

.fox-boosted-platforms { display: flex; justify-content: center; gap: 8px; padding: 6px 0 15px; }
.fox-boosted-slot { width: 72px; text-align: center; }
.fox-boosted-slot span { display: block; margin-top: 3px; font: 11px Verdana, sans-serif; color: #d5c3af; }
.fox-stone-stage { position: relative; width: 72px; height: 83px; }
.fox-stone-stage::before { content: ''; position: absolute; left: 3px; bottom: 3px; width: 64px; height: 29px; border-radius: 50%; border: 1px solid #69665d; background: linear-gradient(165deg,rgba(158,153,139,.65),rgba(57,56,51,.55)),url('fox-assets/stone.png') center; box-shadow: 0 5px 0 #35332e,0 7px 0 #171612,0 9px 5px #080808,inset 0 2px 2px #a29b87; }
.fox-stone-stage img { position: absolute; width: 64px; height: 64px; left: 4px; bottom: 15px; z-index: 1; image-rendering: pixelated; }

/* Equal spacing measured from each box's actual bottom edge. */
#Themeboxes > .rank,
#Themeboxes > .discord,
#Themeboxes > .donate,
#Themeboxes > .fox-boosted-box {
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    display: flow-root;
}
#Themeboxes > .fox-boosted-box:last-child { margin-bottom: 0; }
#Themeboxes .fox-boosted-header { font-size: 10pt; }

/* Bring sidebar frames closer and align its first ornament with Login/status. */
#ThemeboxesColumn { top: -10px; }

/* Compact spacing inspired by the Fox 8.60 reference. */
#FoxBanner { margin-bottom: 0; }
#ContentColumn { margin-left: 195px; margin-right: 195px; }
#Loginbox { margin-bottom: 26px; }
.SmallMenuBox { margin-bottom: 26px; }
.Content .Box { margin-bottom: 8px; }
.Content #newsticker .BoxContent { min-height: 0; height: auto !important; padding: 5px; }

#Themeboxes .fox-castle-content, #Themeboxes .fox-save-content { padding-top: 14px; padding-bottom: 28px; color: #d5c3af; text-align: center; font: 12px Verdana, sans-serif; }
#Themeboxes .fox-castle-content p { margin: 10px 0 0; }
#Themeboxes .fox-castle-content a { color: #e8c788; }
#Themeboxes #FoxServerSaveTimer { font: bold 29px Georgia, serif; margin: 8px 0; color: #f0dfbd; }
#Themeboxes .fox-save-content small { font-size: 10px; }

#Themeboxes .fox-castle-content .fox-player-button {
 display: block; width: 148px; height: 30px; margin: 6px auto 0;
 background: url('images/themeboxes/button.png') no-repeat center;
 color: #d5c3af; font: 12px/30px Verdana, sans-serif;
 text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
 box-sizing: border-box; padding: 0 8px;
}
#Themeboxes .fox-castle-content .fox-player-button:hover,
#Themeboxes .fox-castle-content .fox-player-button:focus {
 background-image: url('images/themeboxes/button_over.png'); color: #fff;
}

/* Uniform sidebar headings: match the Donate Here heading. */
#Themeboxes .fox-boosted-header,
#Themeboxes .donate_header,
#Themeboxes .discord_header,
#Themeboxes .rank_header {
 font-family: Verdana;
 font-size: 10pt;
 font-weight: bold;
 line-height: 65px;
 color: #d5c3af;
 text-align: center;
}

/* Banner rente ao conteúdo */
#FoxBanner{
    margin-bottom: 0 !important;
}

#FoxBanner img{
    display: block;
}

#Bodycontainer{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#ContentRow{
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#fox-live-players,
#fox-live-players:hover,
#fox-live-players:focus,
#fox-live-players *{
    text-decoration: none !important;
}

#FoxBanner {
    width: calc(100% - 30px) !important;
    max-width: 1250px !important;
    height: auto !important;
    margin: 0 auto !important;
}

#FoxBanner a {
    display: block;
    height: auto !important;
}

#FoxBanner img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}