/* Iron Warden Classic Guild Command, v0.11.80 */
body:has(.igwd){background:#100e0b!important;color:#e8d3aa!important}
body:has(.igwd) :is(.entry-header,.page-header,.wp-block-post-title,.entry-title){display:none!important}
body:has(.igwd) :is(.site-main,.entry-content,.wp-block-post-content,.site-content,.content-area){max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body:has(.igs-shared-nav) .igwd{box-sizing:border-box!important;width:calc(100% - 285px)!important;max-width:none!important;margin:0 16px 32px 265px!important;padding:24px 12px 32px!important;color:#ead6b1!important;font:15px/1.5 Arial,sans-serif!important;min-width:0!important}
.igwd *{box-sizing:border-box}
.igwd header,.igwd section,.igwd-stats>div{background:linear-gradient(145deg,#302519,#19140f)!important;border:2px ridge #856537!important;border-radius:3px!important;padding:20px!important;margin:0 0 14px!important;min-width:0!important;box-shadow:inset 0 0 16px #120d08}
.igwd header{padding:20px 24px!important}
.igwd small{color:#d7a755!important;letter-spacing:.09em;font-size:11px;font-weight:700}
.igwd h1{font:700 clamp(26px,2.5vw,36px)/1.2 Georgia,serif!important;color:#f1cd83!important;margin:4px 0 8px!important;text-shadow:1px 2px 2px #000}
.igwd h2{font:700 clamp(20px,1.7vw,26px)/1.2 Georgia,serif!important;color:#f1cd83!important;margin:0 0 10px!important;text-shadow:1px 1px #000}
.igwd p,.igwd label{color:#d5c09b!important}
.igwd a{color:#edc679!important;text-decoration:none}.igwd a:hover{color:#ffe7b0!important;text-decoration:underline}
.igwd-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 14px!important}
.igwd-stats>div{margin:0!important;padding:16px 18px!important}
.igwd-stats strong{display:block;font:700 22px Georgia,serif;color:#f5d38b;margin-top:7px}
.igwd label{display:block;margin:12px 0 8px!important;font-weight:600}
.igwd :is(input:not([type=checkbox]),select,textarea){display:block!important;width:100%!important;max-width:680px!important;min-width:0!important;padding:10px 12px!important;background:#16110d!important;border:1px solid #78603c!important;color:#f0dcb5!important;border-radius:2px!important;font:inherit!important}
.igwd input[type=checkbox]{display:inline-block!important;width:auto!important;margin-right:8px!important;accent-color:#bb8d46}
.igwd :is(input,select,textarea):focus{outline:2px solid #cba35c!important;outline-offset:1px}
.igwd button{background:linear-gradient(#76532b,#3d2918)!important;border:1px solid #ad8246!important;color:#ffe2a5!important;padding:10px 17px!important;border-radius:2px!important;cursor:pointer!important;font:700 15px Georgia,serif!important}
.igwd button:hover{background:linear-gradient(#906938,#4c311a)!important}
.igwd-scroll{overflow-x:auto!important;max-width:100%!important;overscroll-behavior-x:contain}
.igwd table{width:100%!important;min-width:660px!important;border-collapse:collapse!important;font-size:14px!important}
.igwd th,.igwd td{padding:10px!important;text-align:left!important;border-bottom:1px solid #59442a!important;overflow-wrap:anywhere}
.igwd th{color:#f2c777!important;background:#20170f!important;white-space:nowrap}
.igwd tbody tr:nth-child(even){background:#241b13}
.igwd code{background:transparent!important;color:#e9c68c!important;white-space:nowrap;font-size:12px}
.igwd-good{color:#a6d69c!important}.igwd-bad{color:#f0a9a1!important}
@media(max-width:950px){body:has(.igs-shared-nav) .igwd{width:auto!important;margin:0 12px 28px!important;padding:12px 0!important}}
@media(max-width:680px){.igwd-stats{grid-template-columns:1fr!important}.igwd header,.igwd section{padding:14px!important}}

/* v0.11.87 readability, navigation and centering */
body:has(.igs-shared-nav) .igwd{width:calc(100% - 285px)!important;max-width:1240px!important;margin:0 auto 32px max(265px,calc((100% - 1240px + 265px)/2))!important;padding:24px 18px 32px!important}
.igwd-jump{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:0;z-index:5;padding:12px;background:#19140f;border:1px solid #856537;margin-bottom:14px}
.igwd-jump a,.igwd-pages a{display:inline-block;padding:7px 10px;border:1px solid #76552d;background:#302519;border-radius:3px}
.igwd-pages{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.igwd-pages a[aria-current=page]{background:#735328;color:#fff}
.igwd-timezone{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0 18px}.igwd-timezone label{margin:0!important;flex:1;max-width:340px}.igwd-timezone button{margin-bottom:0}
.igwd section{scroll-margin-top:78px}.igwd table{table-layout:auto!important;min-width:0!important}.igwd td{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;vertical-align:top}.igwd-detail{white-space:pre-wrap;overflow-wrap:anywhere;min-width:230px;max-width:100%;line-height:1.55}.igwd td:last-child{max-width:600px}
@media(max-width:950px){body:has(.igs-shared-nav) .igwd{width:auto!important;max-width:none!important;margin:0 12px 28px!important;padding:12px 0!important}.igwd-jump{position:static}}

/* v0.12.2: Moderation Command Center */
.igwd-command-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:18px 0 24px}
.igwd-command-grid>div{border:1px solid rgba(184,160,110,.3);border-radius:8px;padding:14px;background:rgba(15,22,30,.42);display:flex;flex-direction:column;gap:7px}
.igwd-command-grid small{font-size:11px;letter-spacing:.07em;opacity:.8}
.igwd-command-grid strong{font-size:23px;line-height:1.2;overflow-wrap:anywhere}
.igwd-command-grid span{font-size:12px;opacity:.8}
.igwd-command-flags{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 22px}
.igwd-command-flags span{border:1px solid rgba(184,160,110,.3);border-radius:6px;padding:8px 11px;font-size:13px}
.igwd-command-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px}
.igwd-command-columns>div{min-width:0}
.igwd-command-feed{max-height:360px;overflow:auto}
.igwd-command-feed>div{padding:9px 0;border-bottom:1px solid rgba(184,160,110,.18)}
.igwd-command-feed small{opacity:.8}
.igwd-command-feed p{margin:5px 0;overflow-wrap:anywhere;white-space:normal}
.igwd-command-links{margin-top:20px}
@media(max-width:760px){.igwd-command-columns{grid-template-columns:1fr}}


/* v0.13.8: prevent nested centered container and double sidebar offset. */
@media(min-width:951px){
  body:has(.igs-shared-nav) .igwd{position:relative!important;left:0!important;max-width:none!important;margin:0!important;padding:18px 0 36px!important;min-width:0!important;box-sizing:border-box!important}
  body:has(.igs-shared-nav) .igwd :is(header,section,.igwd-jump,.igwd-stats,.igwd-command-columns){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body:has(.igs-shared-nav) .igwd :is(.igwd-command-grid,.igwd-command-columns)>*{min-width:0!important}
}

/* v0.13.9 — Follow the Staff Dashboard's centered theme content column.
   Do not offset for the sidebar again; do not translate or use viewport widths. */
body:has(.igs-shared-nav) .igwd {
  position:static!important;left:auto!important;transform:none!important;
  width:100%!important;max-width:100%!important;
  margin:0 0 28px!important;padding:20px 0 40px!important;
  min-width:0!important;box-sizing:border-box!important;
}
body:has(.igs-shared-nav) .igwd :is(header,section,.igwd-jump,.igwd-stats,.igwd-command-columns){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body:has(.igs-shared-nav) .igwd :is(.igwd-command-grid,.igwd-command-columns)>*{min-width:0!important}
body:has(.igs-shared-nav) .igwd .igwd-scroll{overflow-x:auto!important;max-width:100%!important}
@media(max-width:950px){body:has(.igs-shared-nav) .igwd{padding:12px 0 30px!important}}

/* v0.14.2: separate Iron Warden workspaces */
.igwd-workspace-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px;padding:12px;background:#17120e;border:1px solid #594226;border-radius:10px}
.igwd-workspace-tabs a{display:inline-flex;padding:9px 13px;border:1px solid #564025;border-radius:7px;color:#e4c48a;text-decoration:none;font-size:13px;line-height:1.35}
.igwd-workspace-tabs a:hover,.igwd-workspace-tabs a:focus-visible{border-color:#d2a45b;background:#302317;color:#fff0c9}
.igwd-workspace-tabs a.is-active{background:#49331d;border-color:#c4944b;color:#ffe0a2;box-shadow:inset 3px 0 #d7a04b}
@media(max-width:640px){.igwd-workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.igwd-workspace-tabs a{font-size:12px;padding:9px}}
