/* HipHopNobs identity: orange accents, warm surfaces, and readable ink. */
:root {
  --brand-accent: #FFA500;
  --brand-accent-hover: #FFB733;
  --brand-link: #995700;
  --brand-link-hover: #713C00;
  --brand-dark: #21160D;
  --brand-panel: #FFF9EF;
  --brand-border: #E8D5B6;
  --brand-ink: #2B231B;
}
body#icm-body {
  color: var(--brand-ink);
  background: #99958F url('/hiphopnobs-background-v3.webp?v=20261003r4') center top / cover fixed !important;
}
body a:link, body a:visited, body .link { color: var(--brand-link); }
body a:hover, body a:focus-visible { color: var(--brand-link-hover); }
body a.normal, body a.normal:visited { color: var(--brand-ink); }
body a:focus-visible, body button:focus-visible, body input:focus-visible, body select:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}
#main-header, #main-header-contacts, #main-header #site-logo,
#main-header #main-header-nav, #main-header #main-header-nav ul li ul li,
#main-header #main-header-nav ul li:hover ul.multi {
  background-color: var(--brand-dark) !important;
}
#main-header { border-bottom: 2px solid var(--brand-accent); }
#main-header #main-header-nav ul li { border-bottom-color: #6B451D; }
#main-header #main-header-nav ul li.active,
#main-header #main-header-nav ul li:hover,
#main-header #main-header-nav ul:hover li.active:hover { border-bottom-color: var(--brand-accent); }
#main-header #main-header-nav ul li a,
#main-header .mob-nav-button { color: #FFF9EF; }
#main-header #main-header-nav ul li a:hover,
#main-header .mob-nav-button:hover { color: var(--brand-accent); }
header#page-header, .heading-top, #search-results #search-header {
  background: var(--brand-dark) !important;
  border-color: var(--brand-accent);
}
header#page-header h1#page-title { color: #FFF9EF; }
#contents-column { background-color: var(--brand-panel); }
.sidebar-box { background-color: var(--brand-panel); }
.sidebar-box .box-name {
  background: var(--brand-accent);
  color: var(--brand-ink);
  text-shadow: none;
}
.sidebar-box .recent-items-toggle li a { color: var(--brand-ink); }
.sidebar-box .recent-items-toggle li.active a,
.sidebar-box .recent-items-toggle li a:hover { background: var(--brand-accent); color: var(--brand-ink); }
.sidebar-box .recent-items .row { border-color: var(--brand-border); }
body a.button.download, body .subscribe-button-whatsapp, body .subscribe-button-telegram,
body .itunesdownload, body .bcs .bc-block-footer a.bc-more,
body input[type=submit], body input[type=button], body input[type=reset],
body #searchform input[type=submit], body .publish input[type=submit], body .aeb-det .aeb-pro {
  background: var(--brand-accent) !important;
  color: var(--brand-ink) !important;
  border-color: var(--brand-accent) !important;
  text-shadow: none;
}
body a.button.download:hover, body .subscribe-button-whatsapp:hover,
body .subscribe-button-telegram:hover, body .itunesdownload:hover,
body input[type=submit]:hover, body input[type=button]:hover, body input[type=reset]:hover,
body #searchform input[type=submit]:hover, body .bcs .bc-block-footer a.bc-more:hover {
  background: var(--brand-accent-hover) !important;
  color: var(--brand-ink) !important;
}
.heading-top-div a { background: #37230F; border-color: #6B451D; color: #FFF9EF; }
.heading-top-div a:hover { background: var(--brand-accent); color: var(--brand-ink); }
body .nav { background: var(--brand-accent); color: var(--brand-ink); }
.music-body, .post-tags a, .badge-rate, .badge-rate-2 { background-color: #FFF0D5; color: var(--brand-ink); }
.chartlist-header, .chart-list, .song-info, .video-file { background-color: var(--brand-panel); }
.chartlist-type, .chart-body .name-title { color: var(--brand-ink); }
.chartlist-select select { border-color: var(--brand-border); background-color: #FFF9EF; }
.chart-li .postindi { border-color: var(--brand-link) !important; }
footer#main-footer, .thefooter, .myfooter .pageWrapper, .myfooter .bottomFooter {
  background: var(--brand-dark) !important;
  color: #D8C8B7;
}
footer#main-footer a, .thefooter ul > li a, .myfooter .footNav li a { color: #FFF0D5; }
footer#main-footer a:hover, .thefooter ul > li a:hover,
.thefooter ul > li a.hot, .thefooter-wrapper h3 { color: var(--brand-accent); }
.thefooter-line, footer#main-footer .copyright { border-color: #6B451D; }
::-webkit-scrollbar-thumb { background: var(--brand-accent); }
::-webkit-scrollbar-thumb:hover { background: #C47B00; }
@media (max-width: 960px) {
  body#icm-body {
    background-image: none !important;
    background-attachment: scroll !important;
  }
}
/* Navigation selectors outrank the legacy global link and active-tab rules. */
body .heading-top-div a, body .heading-top-div a:link, body .heading-top-div a:visited {
  color: #FFF9EF;
}
body .heading-top-div a:hover { color: var(--brand-ink); }
body .main.h3 { background: var(--brand-dark); color: #FFF9EF; }
body .main.h3 a, body .main.h3 span { background-color: var(--brand-dark); }
body .main.h3 .active { color: var(--brand-accent) !important; border-bottom-color: var(--brand-accent); }
body .main.h3 a:hover { color: var(--brand-accent) !important; background-color: var(--brand-dark); }
body #recent-items .recent-items-toggle li.active { background-color: var(--brand-accent); color: var(--brand-ink); }
body #recent-items .recent-items-toggle li.active a { color: var(--brand-ink); }
body .file-list .a-file { background-color: var(--brand-panel); }
/* Keep mobile navigation readable in every link state and cached variant. */
body#icm-body .heading-top-div a,
body#icm-body .heading-top-div a:link,
body#icm-body .heading-top-div a:visited,
body#icm-body .heading-top-div a .heading-top-span {
  color: #FFF9EF !important;
  background-color: #37230F;
}
body#icm-body .heading-top-div a:hover,
body#icm-body .heading-top-div a:hover .heading-top-span,
body#icm-body .heading-top-div a:focus-visible,
body#icm-body .heading-top-div a:focus-visible .heading-top-span {
  color: #2B231B !important;
  background-color: #FFA500;
}
@media (max-width: 960px) {
  body#icm-body .chart-list .chart-li > a > img.cli {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px;
    max-width: 76px;
    flex: 0 0 76px;
    object-fit: contain;
    object-position: center;
    align-self: center;
    border-radius: 4px;
    background-color: #FFF9EF;
  }
  body#icm-body .chart-li .chart-body { min-width: 0; }
  body#icm-body footer.myfooter,
  body#icm-body footer.myfooter .bottomFooter,
  body#icm-body footer.myfooter .copy,
  body#icm-body footer.myfooter a,
  body#icm-body footer.myfooter a:link,
  body#icm-body footer.myfooter a:visited,
  body#icm-body footer.myfooter i,
  body#icm-body footer#main-footer,
  body#icm-body footer#main-footer a,
  body#icm-body footer#main-footer a:link,
  body#icm-body footer#main-footer a:visited { color: #FFFFFF !important; }
}
/* Desktop listing cards share a three-column grid; detail artwork is separate. */
@media (min-width: 961px) {
  body#icm-body .file-list,
  body#icm-body .file-list > .content-width {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
    margin: 0 !important;
    padding: 14px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  body#icm-body .file-list > .content-width {
    grid-column: 1 / -1;
    padding: 0;
    width: 100%;
  }
  body#icm-body .file-list .a-file {
    display: block;
    width: 100% !important;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    float: none;
    box-sizing: border-box;
  }
  body#icm-body .file-list .a-file .image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
  }
  body#icm-body .file-list .a-file .image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: none;
    min-width: 0;
    object-fit: contain;
    object-position: center;
    background: #FFF9EF;
    box-sizing: border-box;
  }
  body#icm-body .file-list .a-file .image > a { display: block; width: 100%; height: 100%; }
  body#icm-body .file-list .a-file .info.infohome {
    height: auto !important;
    overflow: visible !important;
    padding: 0 0 10px;
  }
  body#icm-body .file-list .a-file .file-name.myhome {
    font-size: 16px !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere;
  }
  body#icm-body .file-list .a-file .other-info { font-size: 12px; }
  body#icm-body .file-list .a-file .mydater {
    width: auto;
    max-width: 100%;
    padding: 4px 6px;
    box-sizing: border-box;
  }
  body#icm-body .file-list > .sponsored-banner { grid-column: 1 / -1; }
}
