/* Cherry compatibility theme for the original L4DStats templates. */
.cherry-legacy-body{background:#130805!important;color:#f7eee7!important;min-height:100%}
.cherry-legacy-body .cherry-topbar{position:relative}
.cherry-legacy-main{min-height:calc(100vh - 170px);padding:20px 0 36px;background:radial-gradient(circle at 50% -10%,rgba(132,67,27,.2),transparent 34%),linear-gradient(#180b06,#120704)}
.cherry-legacy-container{max-width:1280px!important;padding-left:18px!important;padding-right:18px!important;color:#f7eee7}
.cherry-legacy-quickbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px;padding:11px 14px;border:1px solid rgba(214,126,51,.25);border-radius:10px;background:rgba(46,24,14,.82);color:#cdb9aa;font-size:12px}
.cherry-legacy-quicklinks{display:flex;gap:13px;flex-wrap:wrap;margin-left:auto}.cherry-legacy-quicklinks a{color:#efd7c4}.cherry-legacy-quicklinks a:hover{color:#ffc05d}
.cherry-legacy-body h1,.cherry-legacy-body h2,.cherry-legacy-body h3,.cherry-legacy-body h4,.cherry-legacy-body h5,.cherry-legacy-body h6{color:#fff}
.cherry-legacy-body h1{font-size:31px;font-weight:800;margin-top:8px}.cherry-legacy-body h1 small{color:#fff!important;font-size:inherit;font-weight:inherit}
.cherry-legacy-body small{color:#aa978a}.cherry-legacy-body p{color:#ddcec3}
.cherry-legacy-body .row.py-4,.cherry-legacy-body .row.d-flex.align-items-center{margin-left:0;margin-right:0}
.cherry-legacy-body .bg-main,.cherry-legacy-body .content-table-noborder.bg-main{background:linear-gradient(90deg,#5a2e17,#3b1d10)!important;color:#fff!important}
.cherry-legacy-body .bg-main2{background:#d17b30!important}
.cherry-legacy-body .card,.cherry-legacy-body .primeas-box,.cherry-legacy-body .worldmap{background:linear-gradient(180deg,rgba(48,25,15,.98),rgba(31,15,9,.99))!important;border:1px solid #6b391c!important;border-radius:11px!important;color:#f4e8df!important;box-shadow:none!important;overflow:hidden}
.cherry-legacy-body .card-deck{gap:12px;margin-left:0;margin-right:0}.cherry-legacy-body .card-deck .card{margin-left:0;margin-right:0}
.cherry-legacy-body .card-body{color:#eadcd2}.cherry-legacy-body .card-title{font-size:18px;font-weight:800;color:#ffc05d!important;margin-bottom:14px}
.cherry-legacy-body .table{color:#eadcd2!important;background:transparent!important;margin-bottom:0}.cherry-legacy-body .table thead td,.cherry-legacy-body .table thead th{border-top:0!important;border-bottom:1px solid rgba(228,139,66,.34)!important;color:#f9dfca!important;font-size:12px;font-weight:700;padding:12px 10px}
.cherry-legacy-body .table td,.cherry-legacy-body .table th{border-top:1px solid rgba(190,112,51,.17)!important;padding:11px 10px;vertical-align:middle}.cherry-legacy-body .table tbody tr{transition:background .12s ease}.cherry-legacy-body .table tbody tr:hover{background:rgba(240,163,58,.07)!important}
.cherry-legacy-body .table-striped tbody tr:nth-of-type(odd){background:rgba(255,255,255,.015)}
.cherry-legacy-body .alink-main,.cherry-legacy-body .alink-main2,.cherry-legacy-body .alink-link2,.cherry-legacy-body a{color:#e7b071}.cherry-legacy-body .alink-main:hover,.cherry-legacy-body .alink-main2:hover,.cherry-legacy-body .alink-link2:hover,.cherry-legacy-body a:hover{color:#ffc05d;text-decoration:none}
.cherry-legacy-body .btn-main2,.cherry-legacy-body .btn-primary{background:linear-gradient(#5a3019,#3b1d10)!important;border:1px solid #a85f29!important;color:#fff!important;border-radius:8px!important}.cherry-legacy-body .btn-main2:hover,.cherry-legacy-body .btn-primary:hover{border-color:#ffc05d!important;color:#ffc05d!important}
.cherry-legacy-body .form-control,.cherry-legacy-body input[type="search"],.cherry-legacy-body input[type="text"]{background:#211008!important;border:1px solid #6b391c!important;color:#fff!important;border-radius:8px!important;min-height:42px}.cherry-legacy-body .form-control::placeholder{color:#927d6e}.cherry-legacy-body .form-control:focus{box-shadow:0 0 0 2px rgba(240,163,58,.14)!important;border-color:#b96c30!important}
.cherry-legacy-body .pagination{gap:4px}.cherry-legacy-body .page-link{background:#25120b!important;border:1px solid #6b391c!important;color:#dcc2ae!important}.cherry-legacy-body .page-item.active .page-link,.cherry-legacy-body .page-link:hover{background:#633519!important;color:#ffc05d!important;border-color:#9e5728!important}
.cherry-legacy-body .img-border{border:2px solid #8e512b!important;border-radius:10px!important;object-fit:cover}
.cherry-legacy-body .progress{background:#1a0d08!important;border-radius:999px;overflow:hidden}.cherry-legacy-body .progress-bar{background:#c97932!important}
.cherry-legacy-body hr{border-color:rgba(203,122,54,.25)}
.cherry-legacy-body .alert,.cherry-legacy-body .jumbotron{background:#29150d!important;border:1px solid #6b391c!important;color:#eadbd0!important}
.cherry-legacy-body .text-muted{color:#aa9789!important}.cherry-legacy-body .text-dark{color:#f1e4db!important}.cherry-legacy-body .text-black-50{color:#ae9a8c!important}
.cherry-legacy-body .worldmap a{color:#ffc05d!important}
.cherry-legacy-body .no-more-tables{background:linear-gradient(180deg,rgba(48,25,15,.98),rgba(31,15,9,.99));border:1px solid #6b391c;border-radius:11px;overflow:hidden}
.cherry-legacy-body .no-more-tables .table{margin:0}
.cherry-legacy-body .content-top{background:transparent!important}
.cherry-legacy-body .steamprofile_avatar_top_legendary,.cherry-legacy-body .steamprofile_avatar_top_epic,.cherry-legacy-body .steamprofile_avatar_top_rare{min-height:120px}
.cherry-legacy-body .steamprofile_avatar_top_legendary{border-color:#c79732!important}.cherry-legacy-body .steamprofile_avatar_top_epic{border-color:#825096!important}.cherry-legacy-body .steamprofile_avatar_top_rare{border-color:#375f8f!important}
.cherry-legacy-body .tablex{color:#eadbd0}
.cherry-legacy-body .dropdown-menu{background:#24120b;border:1px solid #6b391c}.cherry-legacy-body .dropdown-item{color:#eadbd0}.cherry-legacy-body .dropdown-item:hover{background:#432311;color:#ffc05d}
/* local replacements for the small Font Awesome subset used by the legacy templates */
.cherry-legacy-body .fa{display:inline-block;width:1.1em;text-align:center;font-style:normal;font-family:Arial,sans-serif}.cherry-legacy-body .fa:before{content:"•"}.cherry-legacy-body .fa-home:before{content:"⌂"}.cherry-legacy-body .fa-line-chart:before{content:"↗"}.cherry-legacy-body .fa-road:before{content:"◆"}.cherry-legacy-body .fa-trophy:before{content:"♛"}.cherry-legacy-body .fa-server:before{content:"▤"}.cherry-legacy-body .fa-bar-chart:before{content:"▥"}.cherry-legacy-body .fa-heart:before{content:"♥"}.cherry-legacy-body .fa-search:before{content:"⌕"}.cherry-legacy-body .fa-steam-square:before{content:"◉"}.cherry-legacy-body .fa-sitemap:before{content:"⌁"}.cherry-legacy-body .fa-info-circle:before{content:"ⓘ"}.cherry-legacy-body .fa-chevron-left:before{content:"‹"}.cherry-legacy-body .fa-chevron-right:before{content:"›"}.cherry-legacy-body .fa-bars:before{content:"☰"}.cherry-legacy-body .fa-times:before{content:"×"}
@media(max-width:780px){.cherry-legacy-main{padding-top:12px}.cherry-legacy-container{padding-left:12px!important;padding-right:12px!important}.cherry-legacy-quickbar{align-items:flex-start}.cherry-legacy-quicklinks{width:100%;margin-left:0}.cherry-legacy-body h1{font-size:25px}.cherry-legacy-body .card-deck{display:block}.cherry-legacy-body .card-deck .card{margin-bottom:12px}.cherry-legacy-body .row.py-4>[class*="col-"],.cherry-legacy-body .row.d-flex.align-items-center>[class*="col-"]{padding-left:0;padding-right:0}.cherry-legacy-body .no-more-tables{overflow-x:auto}.cherry-legacy-body .table{min-width:620px}.cherry-legacy-body .content-table-noborder.table{min-width:0}.cherry-legacy-body .pagination{flex-wrap:wrap}}

.cherry-legacy-body .content,.cherry-legacy-body .motd{background:transparent!important;color:#f7eee7!important}.cherry-legacy-body .footer{background:#100704!important;border-top:1px solid rgba(209,117,45,.2)!important}
/* v3 hard overrides: prevent the original blue theme from winning due to legacy selectors/cache */
body.cherry-legacy-body,html body.cherry-legacy-body{background:#130805!important;background-image:none!important;color:#f7eee7!important}
body.cherry-legacy-body .cherry-topbar{background:linear-gradient(120deg,#2b160d,#180c07)!important;border-bottom:1px solid rgba(255,174,75,.12)!important}
body.cherry-legacy-body .cherry-brand{color:#ffc05d!important}
body.cherry-legacy-body .cherry-nav a{color:#f7eee7!important}body.cherry-legacy-body .cherry-nav a:hover{color:#ffc05d!important}
body.cherry-legacy-body .cherry-legacy-main{background:radial-gradient(circle at 50% -10%,rgba(132,67,27,.2),transparent 34%),linear-gradient(#180b06,#120704)!important}
body.cherry-legacy-body .cherry-legacy-quickbar{background:rgba(46,24,14,.96)!important;border-color:#6b391c!important;color:#d9c6b7!important}
body.cherry-legacy-body .bg-main{background:#5a2e17!important}body.cherry-legacy-body .bg-main2{background:#d17b30!important}

/* v3.1 media fixes */
.cherry-legacy-body .cherry-country-flag{display:inline-block;width:40px;height:20px;object-fit:cover;border-radius:2px;vertical-align:middle}
.cherry-legacy-body .cherry-steam-avatar-fallback{display:flex!important;align-items:center;justify-content:center;width:100px;height:100px;background:#21120c;color:#a98265;font-size:11px;letter-spacing:.08em;border:1px solid #6c3c20}

/* Cherry v3.2: Steam avatar is served by the local cached Web API proxy. */
#steamprofile_avatar .cherry-steam-avatar {
    width: 100px !important;
    height: 100px !important;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    background: #2b160f;
}
