/* v1.0.72 compatibility skin for older public/community templates.
 * Applied only to pages that include the legacy shared title.php.
 * This is a safe color/layout normalization, not a rewrite of admin modules.
 */
:root{--link-color:#cbdffb;--link-hover:#e2edff;--link-visited:#cbdffb;--button-color:#eeeeee;--button-color-text:#171717;--footer-link-color:#cbdffb}
html,body#icm-body{background:#000!important;color:#e6e6e6!important;color-scheme:dark!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body#icm-body :is(h1,h2,h3,h4,h5){color:#f1f1f1;line-height:1.35}
body#icm-body :is(p,li,dd,dt){line-height:1.65}
body#icm-body :is(a,a:link,a:visited){color:#cbdffb}
body#icm-body :is(a:hover,a:focus-visible){color:#e7f0ff}
body#icm-body :is(#main-header,#main-header #main-header-nav,#main-header #main-header-container,#main-header #site-logo,#main-header-contacts){background:#090909!important;color:#f0f0f0!important;border-color:#333!important}
body#icm-body #main-header{border-bottom:1px solid #303030!important}
body#icm-body #main-header-nav a{color:#f1f1f1!important;text-shadow:none!important}
body#icm-body #main-header-nav a:hover{background:#1e1e1e!important;color:#cbdffb!important}
body#icm-body :is(#contents-column,#main-wrapper,.content-width.main-content){background:#0c0c0c!important;color:#ddd!important}
body#icm-body :is(.opaque-bg-padded,.forumrow,.row1,.row2,.forumline,.maintable,.music-body,.user-profile,.info-box,.fp-inner-container,.sidebar-box,.forum-list-block,.topics-list,.the-user,.panel,.card){background:#151515!important;color:#e4e4e4!important;border-color:#333!important;box-shadow:none!important}
body#icm-body :is(.fp-container,.fp-inner-container){background:#111!important;border-color:#303030!important}
body#icm-body :is(.fp-btn,.button,input[type=submit],button){background:#eee!important;color:#121212!important;border:1px solid #eee!important;border-radius:5px!important;text-shadow:none!important}
body#icm-body :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],select,textarea){box-sizing:border-box;max-width:100%;color:#eee!important;background:#101010!important;border:1px solid #404040!important;border-radius:5px!important;box-shadow:none!important}
body#icm-body :is(input,textarea,select):focus-visible{outline:2px solid #aac8ed!important;outline-offset:0}
body#icm-body :is(table,fieldset,.form,.form .row,.opaque-bg-padded){border-color:#343434!important;color:#e5e5e5!important}
body#icm-body table tr,body#icm-body table tr:nth-child(even){background:#151515!important;color:#eee!important}
body#icm-body :is(.help,small,.description,.info-text){color:#aaa!important}
body#icm-body :is(#main-footer,footer#main-footer){background:#0c0c0c!important;color:#aaa!important;border-color:#303030!important}
body#icm-body img{max-width:100%;height:auto}
@media(max-width:720px){
 body#icm-body :is(#contents-column,#main-wrapper,.content-width.main-content){width:100%!important;min-width:0!important;margin:0!important}
 body#icm-body #contents-column{padding:12px!important;overflow-x:auto}
 body#icm-body #main-header #main-header-container{height:auto;min-height:60px}
 body#icm-body .fp-inner-container{padding:16px!important}
}

/* The old public logo/navigation/promo are replaced with the current shared navigation.
 * Keep all page content intact and avoid interfering with the old form handlers. */
body#icm-body :is(#main-header-contacts, #main-header, .fp-container){display:none!important}
body#icm-body .stb-classic-header{display:block;position:relative;z-index:100;background:#080808!important;border-bottom:1px solid #292929!important;color:#f2f2f2!important}
body#icm-body .stb-classic-inner{box-sizing:border-box;max-width:1380px;margin:0 auto;min-height:78px;padding:14px 24px;display:flex;align-items:center;gap:20px}
body#icm-body .stb-classic-brand{flex:none;display:flex;flex-direction:column;gap:5px;color:#f6f6f6!important;font-size:28px;font-weight:800;letter-spacing:-.035em;line-height:1.05;text-decoration:none!important}
body#icm-body .stb-classic-brand small{font-size:10px!important;letter-spacing:.13em;color:#a0a0a0!important;font-weight:550}
body#icm-body .stb-classic-links{display:flex;gap:4px;align-items:center;margin-left:auto}
body#icm-body .stb-classic-links a{padding:9px;font-size:12px;white-space:nowrap;color:#dedede!important;text-decoration:none}
body#icm-body .stb-classic-links a:hover{color:#cbdffb!important}
body#icm-body .stb-classic-account a{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 13px;border:1px solid #393939;color:#efefef!important;text-decoration:none;font-weight:650;font-size:12px;white-space:nowrap}
body#icm-body .stb-classic-menu{position:relative;flex:none}
body#icm-body .stb-classic-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:9px 12px;min-height:38px;border:1px solid #383838;color:#eee!important;font-size:13px}
body#icm-body .stb-classic-menu summary::-webkit-details-marker{display:none}
body#icm-body .stb-classic-menu-icon{font-size:22px;color:#dce0e5}
body#icm-body .stb-classic-menu nav{position:absolute;right:0;top:calc(100% + 8px);width:min(90vw,285px);border:1px solid #333;border-radius:0;background:#090909;padding:7px;box-shadow:0 16px 34px rgba(0,0,0,.55)}
body#icm-body .stb-classic-menu nav a{display:block;color:#eee!important;padding:11px 12px;text-decoration:none!important;font-size:13px;border-bottom:1px solid #202020}
body#icm-body .stb-classic-menu nav a:last-child{border-bottom:0}
body#icm-body .stb-classic-menu nav a:hover{background:#1b1b1b;color:#cbdffb!important}
@media(max-width:1110px){body#icm-body .stb-classic-links{display:none}body#icm-body .stb-classic-account{margin-left:auto}}
@media(max-width:540px){body#icm-body .stb-classic-inner{min-height:66px;padding:10px 13px;gap:10px}body#icm-body .stb-classic-brand{font-size:24px}body#icm-body .stb-classic-brand small{font-size:8px}body#icm-body .stb-classic-account a{font-size:11px;padding:7px 9px;min-height:36px}body#icm-body .stb-classic-menu summary{font-size:12px;padding:7px 9px;min-height:36px}}
