/* ===== ASTRAL THEME OVERRIDES ===== */

body, html { background-color: #101010 !important; color: #EBF0F7 !important; }
.pun { color: #EBF0F7; }
.pun .box { background-color: #1a1a1a; border-color: #232323; }
.pun h2 { background-color: #141414; border-color: #232323; color: #EBF0F7; }
.pun th { background-color: #1a1a1a; border-color: #232323; }
.pun .rowodd, .pun .roweven { background-color: #141414; }
.pun .rowodd:hover, .pun .roweven:hover { background-color: #1e1e1e; }
.pun .blockpost .box, .pun .postright, .pun .postfootright, .pun .postleft, .pun .postfootleft { background-color: #1a1a1a; }
.pun .postright, .pun .postfootright { border-left-color: #232323; }
.pun .codebox, .pun .quotebox { background-color: #0A0A0A; border-color: #232323; }
.pun .blockpost h2 { background-color: #141414; }
.pun td { border-color: #232323; }
.pun fieldset { border-color: #232323; }
.pun input, .pun select, .pun textarea { background-color: #0A0A0A; color: #EBF0F7; border: 1px solid #232323; }
.pun input:focus, .pun select:focus, .pun textarea:focus { border-color: #c7c7c7; outline: 0; }
.pun a:link, .pun a:visited { color: #c7c7c7; }
.pun a:hover, .pun a:active, .pun a:focus { color: #e1e1e1; }
.pun .tcl h3 a { color: #EBF0F7; }
.pun .tcl h3 a:hover { color: #c7c7c7; }
#brdmenu { background-color: #141414; border-color: #232323; }
#brdmenu a:link, #brdmenu a:visited { color: #EBF0F7; }
#brdmenu a:hover, #brdmenu a:active { color: #c7c7c7; }

.pun .inbox thead .tc2, .pun .inbox thead .tc3, .pun .inbox thead .tcl, .pun .inbox thead .tcr { background-color: #141414; border-bottom: 2px solid #c7c7c7; }
.pun .button { background-color: #0A0A0A; color: #EBF0F7 !important; border: 1px solid #232323; }
.pun .button:hover { background-color: #c7c7c7; border-color: #c7c7c7; color: #101010 !important; }
.pun .forminfo { background-color: #141414; border-color: #232323; }
#adminconsole fieldset td, #adstats dd, #brdfooter #modcontrols, #postpreview, #viewprofile dd, .pun .blockmenu .box, .pun .forminfo, .pun td.tc2, .pun td.tc3, .pun td.tcmod { background-color: #141414; }
.pun legend { color: #c7c7c7; }
.pun .inew .icon { border-color: #c7c7c7 #c7c7c7 #c7c7c7 #c7c7c7; }
#brdfooter .box { background-color: #0A0A0A; border-color: #232323; }

/* Title — monospace pixel style matching main site */
#brdtitle h1 { font-family: 'Courier New', Courier, monospace; font-size: 1.8em; font-weight: 700; letter-spacing: 0.05em; }
/* Override Cobalt's Raleway font — keep Verdana everywhere else */
.pun, .pun input, .pun select, .pun textarea, .pun table, .pun td, .pun th { font-family: Verdana, Helvetica, Arial, sans-serif; }
#brdtitle h1 a { color: #EBF0F7; text-decoration: none; }
#brdtitle h1 a span { color: #c7c7c7; }
#brdtitle #brddesc p span { color: #8f8f8f; font-size: 0.9em; }

/* User group colors — Astral silver */
.pun .usergroup-1 { color: #c7c7c7 !important; font-weight: 700; }
.pun a:hover.usergroup-1 { color: #e1e1e1 !important; }
.pun .usergroup-2 { color: #c7c7c7 !important; font-weight: 700; }
.pun a:hover.usergroup-2 { color: #e1e1e1 !important; }
.pun .usergroup-5 { color: #c7c7c7 !important; font-weight: 700; }
.pun a:hover.usergroup-5 { color: #e1e1e1 !important; }
.pun .usergroup-7 { color: #c7c7c7 !important; font-weight: 700; }
.pun a:hover.usergroup-7 { color: #e1e1e1 !important; }
.pun .usergroup-8 { color: #c7c7c7 !important; font-weight: 700; }
.pun a:hover.usergroup-8 { color: #e1e1e1 !important; }

/* Notification bar — replace purple */
.pun .notice-bar { background-color: #232323; border-color: #c7c7c7; color: #EBF0F7; }
.pun .notice-bar a { color: #c7c7c7; }
.pun .notice-bar-update { display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: auto; min-height: 20px; }
.pun .notice-bar-update .notice-bar-message { flex: 1; padding-left: 62px; }
.pun .notice-bar-update form { margin: 0; padding: 0; }
.pun .notice-bar-update .notice-bar-dismiss { padding: 2px 6px; border: 0; background: transparent; color: #c7c7c7; font: inherit; font-size: 0.9em; cursor: pointer; }
.pun .notice-bar-update .notice-bar-dismiss:hover, .pun .notice-bar-update .notice-bar-dismiss:focus { color: #fff; text-decoration: underline; outline: 0; }

@media only screen and (max-width: 520px) {
	.pun .notice-bar-update .notice-bar-message { padding-left: 0; text-align: left; }
}

/* Notification badge — replace red */
.badge-unread:after { background: #c7c7c7; border-color: #c7c7c7; }

/* Avatar sizing constraints (overriding anything else) */
.pun .postleft .postavatar img, #profileavatar img { 
	max-width: 120px !important; 
	max-height: 120px !important;
	width: auto !important;
	height: auto !important;
}
