/* JBlock look for SourceBans++ (loaded after main.css and responsive.css). Styling only: no markup or script changes, so every
   link, form, expanding row and admin tool works as before. Fonts come from /site/assets/skin.css (Big Shoulders Display, DM Sans, Roboto Mono). */
html body{--jb-line:#2b3448;--jb-panel:#0c101b;--jb-panel2:#111624;--jb-txt:#f8fcf8;--jb-mute:#a4adc2;--jb-or:#eb6423;--jb-cy:#7fd4ff;--jb-ct:#7fa8ff;
  background:#06070b;color:var(--jb-txt);font-family:"DM Sans","Segoe UI",system-ui,sans-serif}

/* ---- header: the site bar above already carries the logo, so this row is just the two searches ---- */
html body #header{width:auto!important;max-width:1240px;height:auto!important;min-height:0;margin:0 auto;padding:14px 20px;display:flex;justify-content:flex-end;align-items:center;background:none;border:0;box-sizing:border-box}
html body #head-logo{display:none}
html body #search{position:static;float:none;width:100%;max-width:720px;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:flex-end}
html body #search form{display:flex;flex:1 1 250px;gap:6px;min-width:0;margin:0}
html body .searchbox{flex:1 1 auto;width:auto!important;min-width:0;height:auto;padding:9px 12px;background:#070a12;border:1px solid var(--jb-line);border-radius:0;color:var(--jb-txt);font:14px/1.3 "DM Sans",sans-serif;letter-spacing:0}
html body .searchbox:focus{border-color:var(--jb-cy);outline:0}

/* ---- buttons: one shape for the whole panel ---- */
html body .button,html body #content input[type=submit],html body #content input[type=button],html body #content button,html body .btn,html body .btnhvr,html body #dialog-control input,html body #dialog-control button{
  font:800 15px/1 "Big Shoulders Display",Impact,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase;padding:10px 16px!important;height:auto!important;min-height:0;border:0!important;border-radius:0!important;cursor:pointer;
  background:var(--jb-or)!important;color:#160500!important;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);transition:filter .12s}
html body .button:hover,html body #content input[type=submit]:hover,html body #content input[type=button]:hover,html body #content button:hover,html body .btn:hover,html body .btnhvr,html body #dialog-control input:hover{filter:brightness(1.12)}
html body .btn.cancel,html body input.cancel,html body button.cancel,html body .btn-secondary,html body #dialog-control .cancel{background:rgba(255,255,255,.1)!important;color:var(--jb-txt)!important}
html body #content input[type=submit]:focus-visible,html body #content button:focus-visible,html body .btn:focus-visible,html body .button:focus-visible{outline:2px solid var(--jb-cy);outline-offset:2px}
html body #content input[type=file]{clip-path:none}

/* ---- section tabs ---- */
html body #tabsWrapper{background:var(--jb-panel);border-top:1px solid var(--jb-line);border-bottom:1px solid var(--jb-line)}
html body #tabsWrapper .jb-nav-outer{max-width:1240px!important;margin:0 auto}
html body #tabsWrapper .jb-nav-row a{font-family:"Big Shoulders Display",Impact,sans-serif!important;font-weight:700;font-size:1.12rem!important;letter-spacing:.05em}
html body #tabsWrapper .jb-nav-row a:hover{color:var(--jb-cy)!important}
html body #tabsWrapper .jb-nav-outer>div:last-child{background:none!important}
html body #tabsWrapper .jb-nav-outer>div:last-child a{font:800 15px/1 "Big Shoulders Display",Impact,sans-serif!important;letter-spacing:.06em!important;padding:10px 16px!important;border-radius:0!important;background:var(--jb-or)!important;color:#160500!important;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}
html body #tabsWrapper .jb-nav-outer>div:last-child a[href*="logout"]{background:rgba(255,255,255,.1)!important;color:var(--jb-txt)!important}

/* ---- page title and trail ---- */
html body #mainwrapper{max-width:1240px;box-sizing:border-box}
html body #content_title{margin:6px 0 4px;padding:0;border:0;background:none}
html body #content_title b{font:900 clamp(2.3rem,5vw,3.7rem)/1 "Big Shoulders Display",Impact,sans-serif;letter-spacing:.02em;text-transform:uppercase;color:var(--jb-ct)}
html body #breadcrumb{font:12px/1.4 "Roboto Mono",ui-monospace,monospace;letter-spacing:.08em;color:var(--jb-mute);margin-bottom:18px}
html body #breadcrumb a{color:var(--jb-mute)}html body #breadcrumb>a:last-child{color:var(--jb-or)}
html body h3,html body .front-module-header,html body .front-module-header td{font:600 12px/1.4 "Roboto Mono",ui-monospace,monospace;letter-spacing:.14em;color:var(--jb-or)}

/* ---- tables ---- */
html body table.listtable{background:var(--jb-panel);box-shadow:0 0 0 1px var(--jb-line)}
html body td.listtable_top{font:600 12px/1.3 "Roboto Mono",ui-monospace,monospace;letter-spacing:.1em;color:var(--jb-mute);background:#080b13;border-bottom:1px solid var(--jb-line)}
html body td.listtable_1,html body td.listtable_2,html body td.listtable_1_unbanned,html body td.listtable_1_permanent,html body td.listtable_1_banned{color:#e3e7ef;border-bottom:1px solid rgba(43,52,72,.6)}
html body td.listtable_1{background:var(--jb-panel)}html body td.listtable_2{background:var(--jb-panel2)}
html body tr.opener{cursor:pointer}
html body .tbl_hover,html body tr.opener:hover>td.listtable_1{background:rgba(127,212,255,.08)!important}
html body .tbl_out{background:var(--jb-panel)!important}
html body #content a{color:var(--jb-cy)}html body #content a:hover{color:var(--jb-or)}
html body .front-module-line{background:rgba(235,100,35,.1);border-left:2px solid var(--jb-or)}

/* ---- dashboard: latest bans across the top, the two block lists side by side under it ---- */
html body .front-module{width:100%!important;float:none!important;margin:0 0 26px!important;box-sizing:border-box}
html body .dashboard-blocks-separate{display:none!important}
@media (min-width:900px){
  html body .dashboard-ban-blocks,html body .dashboard-comm-blocks{display:inline-block;vertical-align:top;width:calc(50% - 12px)!important}
  html body .dashboard-ban-blocks{margin-right:20px!important}
}

/* ---- forms ---- */
html body #content input[type=text],html body #content input[type=password],html body #content input[type=email],html body #content input[type=number],html body #content select,html body #content textarea,html body .textbox,html body .inputbox{
  background:#070a12;border:1px solid var(--jb-line);border-radius:0;color:var(--jb-txt);font:15px/1.3 "DM Sans",sans-serif;padding:8px 11px;max-width:100%;box-sizing:border-box}
html body #content input[type=text]:focus,html body #content input[type=password]:focus,html body #content input[type=email]:focus,html body #content select:focus,html body #content textarea:focus{border-color:var(--jb-cy);outline:0}
html body #content select option{background:#0c101b;color:var(--jb-txt)}

/* ---- admin area and footer ---- */
html body #admin-page-menu>a{font:600 12px/1.3 "Roboto Mono",ui-monospace,monospace;letter-spacing:.08em;background:var(--jb-panel);border-radius:0}
html body #admin-page-content{background:var(--jb-panel);border:1px solid var(--jb-line);border-radius:0}
html body #footer{background:none;border-top:1px solid var(--jb-line);margin-top:34px;padding:16px 0}
html body #footqversion{font:12px/1.5 "Roboto Mono",ui-monospace,monospace;letter-spacing:.06em;text-transform:none;color:var(--jb-mute)}

@media (max-width:700px){
  html body #header{padding:12px 14px}html body #search{max-width:none}
  html body #content_title b{font-size:2.2rem}
  html body td.listtable_1,html body td.listtable_2,html body td.listtable_1_unbanned,html body td.listtable_1_permanent,html body td.listtable_1_banned{font-size:14px;padding:10px}
}

/* tablets: the content column was a fixed 1100px, wider than the screen between phone and desktop sizes */
@media (max-width:1140px){html body #mainwrapper{width:auto!important;max-width:100%!important;margin-left:14px!important;margin-right:14px!important}html body #footer #mainwrapper{margin:0!important}}
