/* =====================================================================
   undetected.gg — HOSTILE MINIMALIST / TACTICAL STEALTH override skin
   for the MyBB 1.8.x default theme.
   Apply as a NEW "Global (All Pages)" stylesheet, ordered AFTER global.css
   (it layers on top — MyBB's base table/postbit float layout is untouched).
   Palette: Void #050505 / Surface #121212 / Border #262626 /
            Text #F5F5F5 / Muted #8A8A8A / Laser #00FF41 / Red #FF2A2A.
   Fonts loaded via 3 <link> tags in the headerinclude template (see README).
   ===================================================================== */

/* 0. RESET — square everything; kill gradients. box-shadow is SCOPED (not on
      the universal selector) so it won't flatten the editor/captcha widgets. */
*, *::before, *::after { border-radius: 0 !important; }
#container, .tborder, .thead, .tcat, .tfoot, .post, .popup_menu, .button, button,
input, input.textbox, textarea, select, .pagination a, .author_avatar img, img.avatar {
  box-shadow: none !important;
}
.thead, .tfoot, .button, button { background-image: none !important; }

/* 1. PAGE SHELL */
body { background:#050505 !important; color:#F5F5F5 !important; font-family:'Geist',-apple-system,Arial,sans-serif !important; font-size:13px; line-height:1.5; }
#container { background:#050505 !important; border:1px solid #262626 !important; color:#F5F5F5 !important; padding:20px; }
#header { background:#050505 !important; border-bottom:1px solid #262626 !important; }
#header .logo { background:none !important; padding:14px 0 !important; margin-bottom:0 !important; }
#header .logo img { max-height:34px !important; width:auto !important; height:auto !important; border:0 !important; }

.menu ul { color:#8A8A8A !important; }
.menu ul a:link, .menu ul a:visited { color:#8A8A8A !important; font-family:'Geist Mono',monospace !important; text-transform:uppercase; letter-spacing:0.06em; font-size:11px; text-decoration:none; transition:color 100ms linear; }
.menu ul a:hover, .menu ul a:active { color:#00FF41 !important; text-decoration:none !important; }

#panel { background:#121212 !important; color:#8A8A8A !important; border:1px solid #262626 !important; font-size:11px; }
#panel a:link, #panel a:visited { color:#8A8A8A !important; }
#panel a:hover, #panel a:active { color:#00FF41 !important; }

.navigation { color:#8A8A8A !important; }
.navigation a:link, .navigation a:visited { color:#8A8A8A !important; transition:color 100ms linear; }
.navigation a:hover, .navigation a:active { color:#00FF41 !important; text-decoration:none !important; }
.navigation .active { color:#F5F5F5 !important; }

/* 2. LINKS */
a:link, a:visited { color:#F5F5F5 !important; text-decoration:none; transition:color 100ms linear; }
a:hover, a:active { color:#00FF41 !important; text-decoration:none !important; }

/* 3. TABLES / FORUM + THREAD LISTS — kill the MyBB blue */
.tborder { background:#262626 !important; border:1px solid #262626 !important; }
.thead { background:#121212 !important; color:#F5F5F5 !important; border-bottom:1px solid #262626 !important; font-family:'Geist Mono',monospace !important; text-transform:uppercase; letter-spacing:0.08em; font-size:11px; font-weight:700; }
.thead a:link, .thead a:visited { color:#F5F5F5 !important; text-decoration:none !important; }
.thead a:hover, .thead a:active { color:#00FF41 !important; text-decoration:none !important; }
.tcat { background:#0d0d0d !important; color:#8A8A8A !important; border-bottom:1px solid #262626 !important; font-family:'Geist Mono',monospace !important; text-transform:uppercase; letter-spacing:0.07em; font-size:11px; }
.tcat a:link, .tcat a:visited { color:#8A8A8A !important; text-decoration:none !important; }
.tcat a:hover, .tcat a:active { color:#00FF41 !important; text-decoration:none !important; }
.tcat_menu { background:#0d0d0d !important; }
.trow1 { background:#0d0d0d !important; color:#F5F5F5 !important; }
.trow2 { background:#0a0a0a !important; color:#F5F5F5 !important; }
.trow1, .trow2 { transition:background 100ms linear; }
.trow_shaded { background:#1a0d0d !important; }
.trow_selected td { background:#0d1a0d !important; }
.trow_sep { background:#121212 !important; color:#8A8A8A !important; font-family:'Geist Mono',monospace !important; text-transform:uppercase; letter-spacing:0.07em; font-weight:700; border-top:1px solid #262626 !important; }
.tfoot { background:#121212 !important; color:#8A8A8A !important; border-top:1px solid #262626 !important; font-family:'Geist Mono',monospace !important; font-size:11px; }
.tfoot a:link, .tfoot a:visited { color:#8A8A8A !important; text-decoration:none !important; }
.tfoot a:hover, .tfoot a:active { color:#00FF41 !important; text-decoration:none !important; }
.trow_reputation_positive { background:#0d1a0d !important; }
.trow_reputation_negative { background:#1a0d0d !important; }
.selectall { background:#0d1a0d !important; color:#F5F5F5 !important; }
.subforumicon { vertical-align:middle; }
.subject_new { font-weight:700; color:#F5F5F5 !important; }
hr { background-color:#262626 !important; color:#262626 !important; }
/* desaturate the default blue expand/collapse chevrons sitting on the bars */
.thead .expander, .tcat .expander, .expcolimage { filter:grayscale(1) brightness(2) !important; }

/* 4. POSTS / THREADS (showthread) */
.post { border:1px solid #262626 !important; background:#050505 !important; }
.post_content { background:#050505 !important; }
.post_body { color:#F5F5F5 !important; }
.post_author, .author_information { background:#0a0a0a !important; color:#F5F5F5 !important; border-bottom:1px solid #262626 !important; }
.post_head { background:#121212 !important; border-bottom:1px solid #262626 !important; font-family:'Geist Mono',monospace !important; font-size:11px; color:#8A8A8A !important; }
.post_head a:link, .post_head a:visited { color:#8A8A8A !important; }
.post_head a:hover, .post_head a:active { color:#00FF41 !important; }
.post_controls, .postbit_buttons { background:#0a0a0a !important; border-top:1px solid #262626 !important; }
.author_avatar img, img.avatar { border:1px solid #262626 !important; }
blockquote { background:#0d0d0d !important; border:1px solid #262626 !important; color:#F5F5F5 !important; }
blockquote cite { border-bottom:1px solid #262626 !important; color:#8A8A8A !important; }
.codeblock { background:#0d0d0d !important; border:1px solid #262626 !important; }
.codeblock .title { border-bottom:1px solid #262626 !important; color:#8A8A8A !important; }
.codeblock code { font-family:'Geist Mono',monospace !important; color:#F5F5F5 !important; }

/* 5. PAGINATION — mono numbers, flat boxes, hover-invert to laser */
.pagination { font-family:'Geist Mono',monospace !important; font-size:11px; color:#8A8A8A !important; }
.pagination .pages { font-weight:700; color:#8A8A8A !important; }
.pagination a { border:1px solid #262626 !important; background:#0d0d0d !important; color:#F5F5F5 !important; transition:background 100ms linear, color 100ms linear; }
.pagination a:hover { background:#00FF41 !important; color:#050505 !important; text-decoration:none !important; }
.pagination .pagination_current { background:#00FF41 !important; border:1px solid #00FF41 !important; color:#050505 !important; font-weight:700; }
.pagination_breadcrumb { background:#121212 !important; border:1px solid #262626 !important; outline:none !important; color:#8A8A8A !important; font-family:'Geist Mono',monospace !important; }

/* 6. FORMS / BUTTONS — flat, square, mono, hover-invert */
.button, button { background:#121212 !important; color:#F5F5F5 !important; border:1px solid #262626 !important; font-family:'Geist Mono',monospace !important; text-transform:uppercase; letter-spacing:0.06em; font-weight:700; padding:6px 14px; transition:background 100ms linear, color 100ms linear, border-color 100ms linear; cursor:pointer; }
.button:hover, button:hover { background:#00FF41 !important; color:#050505 !important; border-color:#00FF41 !important; }
input.textbox, textarea, select { background:#0d0d0d !important; color:#F5F5F5 !important; border:1px solid #262626 !important; transition:border-color 100ms linear; }
textarea { font-family:'Geist Mono',monospace !important; line-height:1.5; }
input.textbox:focus, textarea:focus, select:focus { border-color:#00FF41 !important; outline:none !important; }
.editor { background:#0d0d0d !important; border:1px solid #262626 !important; }
.editor_control_bar { background:#121212 !important; border:1px solid #262626 !important; }
.popup_menu { background:#121212 !important; border:1px solid #262626 !important; }
.popup_menu .popup_item { background:#121212 !important; color:#F5F5F5 !important; transition:background 100ms linear, color 100ms linear; }
.popup_menu .popup_item:hover { background:#00FF41 !important; color:#050505 !important; }
.autocomplete { background:#121212 !important; border:1px solid #262626 !important; color:#F5F5F5 !important; }
.autocomplete_selected { background:#00FF41 !important; color:#050505 !important; }
.invalid_field { border:1px solid #FF2A2A !important; color:#FF2A2A !important; }
.valid_field { border:1px solid #00FF41 !important; }

/* 7. FOOTER */
#footer { background:#050505 !important; }
.bottommenu { background:#121212 !important; color:#8A8A8A !important; border:1px solid #262626 !important; }
.bottommenu a:link, .bottommenu a:visited { color:#8A8A8A !important; }
.bottommenu a:hover, .bottommenu a:active { color:#00FF41 !important; }
#copyright { font-family:'Geist Mono',monospace !important; font-size:11px; color:#8A8A8A !important; }
#copyright a:link, #copyright a:visited { color:#8A8A8A !important; }
#copyright a:hover, #copyright a:active { color:#00FF41 !important; }
#debug { font-family:'Geist Mono',monospace !important; color:#8A8A8A !important; }

/* 8. ALERTS / VALIDATION / STATUS */
.red_alert { background:#1a0d0d !important; border:1px solid #FF2A2A !important; color:#FF2A2A !important; }
.pm_alert  { background:#121212 !important; border:1px solid #00FF41 !important; color:#F5F5F5 !important; }
div.error { background:#1a0d0d !important; border-top:1px solid #FF2A2A !important; border-bottom:1px solid #FF2A2A !important; color:#F5F5F5 !important; }
div.error p { color:#F5F5F5 !important; }
div.error p em { color:#FF2A2A !important; background:none !important; padding-left:0 !important; }
.validation_error { color:#FF2A2A !important; background:none !important; padding-left:5px !important; }
.validation_success { color:#00FF41 !important; background:none !important; padding-left:5px !important; }
.validation_loading { color:#8A8A8A !important; background:none !important; padding-left:5px !important; }
.error_message { color:#FF2A2A !important; }
.success_message { color:#00FF41 !important; }
.high_warning { color:#FF2A2A !important; }
.moderate_warning { color:#FF2A2A !important; }   /* on-palette (was orange) */
.low_warning { color:#8A8A8A !important; }         /* on-palette (was brown) */

/* status + reputation — green reserved for the ._plus badge / online status */
.online  { color:#00FF41 !important; }
.offline { color:#8A8A8A !important; }
.reputation_positive { color:#F5F5F5 !important; }
.reputation_neutral  { color:#8A8A8A !important; }
.reputation_negative { color:#FF2A2A !important; }
.repbox, ._plus, ._minus, ._neutral { font-family:'Geist Mono',monospace !important; }
._plus    { background:#0d1a0d !important; color:#00FF41 !important; border:1px solid #00FF41 !important; }
._minus   { background:#1a0d0d !important; color:#FF2A2A !important; border:1px solid #FF2A2A !important; }
._neutral { background:#121212 !important; color:#8A8A8A !important; border:1px solid #262626 !important; }

/* 9. MISC */
.smalltext { color:#8A8A8A !important; }
.largetext { font-weight:700; letter-spacing:-0.02em; }
img.attachment { border:1px solid #262626 !important; }
.highlight { background:rgba(0,255,65,0.18) !important; color:#F5F5F5 !important; }


/* =====================================================================
   undetected.gg :: main-site header replica (replaces white MyBB banner)
   ===================================================================== */
#ud-header {
  position: relative;
  z-index: 50;
  margin: -20px -20px 20px -20px;
  background: #050505 !important;
  border-bottom: 1px solid #262626;
  font-family: "Geist","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
#ud-header a { text-decoration: none !important; }
#ud-header svg {
  width: 14px !important; height: 14px !important;
  max-width: 14px !important; max-height: 14px !important;
  flex: 0 0 auto !important; display: inline-block !important; vertical-align: middle;
}
#ud-header .ud-topbar { background: #121212 !important; border-bottom: 1px solid #262626; }
#ud-header .ud-topbar-inner {
  max-width: 1320px; margin: 0 auto; height: 36px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Geist Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
#ud-header .ud-welcome { color: #8a8a8a; }
#ud-header .ud-welcome-name { color: #f5f5f5; }
#ud-header .ud-topbar-right { display: flex; align-items: center; gap: 16px; }
#ud-header .ud-top-link { display: inline-flex; align-items: center; gap: 6px; color: #8a8a8a !important; transition: color .1s ease; }
#ud-header .ud-top-link:hover { color: #f5f5f5 !important; }
#ud-header .ud-top-link svg { width: 13px !important; height: 13px !important; max-width:13px !important; max-height:13px !important; }
#ud-header .ud-dim { color: rgba(245,245,245,.7); }
#ud-header .ud-sep { color: #404040; }
#ud-header .ud-navbar-inner { max-width: 1320px; margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; gap: 32px; }
#ud-header .ud-logo { display: inline-flex; align-items: center; gap: 10px; color: #f5f5f5 !important; }
#ud-header .ud-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #262626; border-radius: 6px; color: #f5f5f5; }
#ud-header .ud-logo-mark svg { width: 18px !important; height: 18px !important; max-width:18px !important; max-height:18px !important; }
#ud-header .ud-logo-text { font-weight: 700; font-size: 17px; letter-spacing: 0.04em; color:#f5f5f5; }
#ud-header .ud-logo-dim { color: #8a8a8a; }
#ud-header .ud-nav { display: flex; align-items: center; gap: 28px; }
#ud-header .ud-nav-link { display: inline-flex; align-items: center; gap: 8px; color: #8a8a8a !important; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color .1s ease; }
#ud-header .ud-nav-link:hover { color: #f5f5f5 !important; }
#ud-header .ud-nav-link.ud-active { color: #f5f5f5 !important; font-weight: 700; }
#ud-header .ud-nav-dot { width: 6px; height: 6px; background: #00ff41; display: inline-block; }
#ud-header .ud-nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
#ud-header .ud-user-handle, #ud-header .ud-user-name { white-space: nowrap; }
#ud-header .ud-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #262626; border-radius: 6px; color: #f5f5f5 !important; transition: background .1s ease; }
#ud-header .ud-icon-btn:hover { background: #1c1c1c; }
#ud-header .ud-icon-btn svg { width: 16px !important; height: 16px !important; max-width:16px !important; max-height:16px !important; }
#ud-header .ud-badge { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; background: #ff3b30; }
#ud-header .ud-user { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; }
#ud-header .ud-avatar { width: 38px; height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: flex-start; padding-left: 8px; background: #1c1c1c; color: #f5f5f5; font-family: "Geist Mono",ui-monospace,monospace; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 6px; overflow: hidden; white-space: nowrap; border-radius: 4px; max-width: 38px; }
#ud-header .ud-user-info { display: flex; flex-direction: column; line-height: 1.2; }
#ud-header .ud-user-name { color: #f5f5f5; font-size: 13px; font-weight: 600; }
#ud-header .ud-user-handle { color: #8a8a8a; font-size: 11px; font-family: "Geist Mono",ui-monospace,monospace; }
#logo { display: none !important; }
@media (max-width: 900px) { #ud-header .ud-nav, #ud-header .ud-user-info, #ud-header .ud-topbar { display: none; } }


/* =====================================================================
   undetected.gg :: main-site footer replica (replaces MyBB footer)
   ===================================================================== */
#ud-footer {
  margin: 40px -20px -20px -20px;
  background: #121212 !important;
  border-top: 1px solid #262626;
  font-family: "Geist","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
#ud-footer a { text-decoration: none !important; }
#ud-footer svg { display: inline-block; }
#ud-footer .ud-foot-inner { max-width: 1320px; margin: 0 auto; padding: 56px 24px 0 24px; }
#ud-footer .ud-foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 980px) {
  #ud-footer .ud-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  #ud-footer .ud-foot-grid { grid-template-columns: 1fr; }
}

/* brand column */
#ud-footer .ud-foot-brand { max-width: 320px; }
#ud-footer .ud-foot-logo { display: inline-flex; align-items: center; gap: 10px; color: #f5f5f5 !important; }
#ud-footer .ud-foot-logo-mark { color: #f5f5f5; display: inline-flex; }
#ud-footer .ud-foot-logo-mark svg { width: 28px !important; height: 28px !important; max-width:28px !important; max-height:28px !important; }
#ud-footer .ud-foot-logo-text { font-weight: 800; font-size: 16px; letter-spacing: 0.16em; color: #f5f5f5; }
#ud-footer .ud-foot-logo-dim { font-family: "Geist Mono",ui-monospace,monospace; font-weight: 400; letter-spacing: 0.04em; }
#ud-footer .ud-foot-tag { margin: 16px 0 0 0; font-size: 13px; line-height: 1.6; color: #8a8a8a; }
#ud-footer .ud-foot-social { margin-top: 20px; display: flex; align-items: center; gap: 8px; }
#ud-footer .ud-foot-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid #262626; color: #8a8a8a !important;
  transition: all .1s ease;
}
#ud-footer .ud-foot-soc:hover { border-color: #f5f5f5; background: #f5f5f5; color: #050505 !important; }
#ud-footer .ud-foot-soc svg { width: 16px !important; height: 16px !important; max-width:16px !important; max-height:16px !important; }

/* link columns */
#ud-footer .ud-foot-head {
  margin: 0 0 16px 0; padding: 0;
  font-family: "Geist Mono",ui-monospace,monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8a8a8a;
  background: none !important; border: 0 !important;
}
#ud-footer .ud-foot-col ul { list-style: none; margin: 0; padding: 0; }
#ud-footer .ud-foot-col li { margin: 0 0 11px 0; padding: 0; background: none !important; border: 0 !important; }
#ud-footer .ud-foot-col a { color: #b5b5b5 !important; font-size: 13px; transition: color .1s ease; }
#ud-footer .ud-foot-col a:hover { color: #f5f5f5 !important; }

/* bottom bar */
#ud-footer .ud-foot-bottom {
  margin-top: 48px; padding: 24px 0; border-top: 1px solid #262626;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
#ud-footer .ud-foot-copy {
  font-family: "Geist Mono",ui-monospace,monospace;
  font-size: 11px; letter-spacing: 0.06em; color: #8a8a8a; text-transform: uppercase;
}
#ud-footer .ud-foot-disc {
  font-family: "Geist Mono",ui-monospace,monospace;
  font-size: 10px; letter-spacing: 0.04em; color: #5a5a5a; text-transform: uppercase;
  max-width: 520px; text-align: right; line-height: 1.5;
}
@media (max-width: 720px) { #ud-footer .ud-foot-disc { text-align: left; } }

/* MyBB functional row (theme selector + required powered-by) kept subtle */
#ud-footer .ud-foot-mybb {
  padding: 14px 0 20px 0; border-top: 1px solid #1c1c1c;
  font-family: "Geist Mono",ui-monospace,monospace; font-size: 10px;
  letter-spacing: 0.04em; color: #4a4a4a; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
#ud-footer .ud-foot-mybb a { color: #5a5a5a !important; }
#ud-footer .ud-foot-mybb a:hover { color: #8a8a8a !important; }
#ud-footer .ud-foot-mybb select {
  background: #050505 !important; color: #8a8a8a !important; border: 1px solid #262626 !important;
  font-family: "Geist Mono",ui-monospace,monospace; font-size: 10px; padding: 4px 6px;
}

/* neutralize old MyBB footer remnants */
#footer { display: none !important; }
