:root {
	--bg-body: #141a22;
	--bg-card: #222529;
	--bg-elevated: #242e3d;
	--bg-gradient: #1a222d;
	--border: #36373b;
	--border-light: #45474c;

	--header: #1e2734;
	--header-sub: #1a222d;
	--footer: #242e3d;
	--menu-bg: #2b384a;

	--text-primary: #d1d2d3;
	--text-secondary: #a2a8b0;
	--text-amber: #1d9bd1;
	--text-gold: #f2f3f4;
	--text-white: #f2f3f4;

	--accent: #1d9bd1;
	--accent-hover: #4fb3e0;
	--primary: #01579b;
	--primary-hover: #0167b8;
	--success: #4cc38a;
	--success-bg: #005e46;
	--error: #e5574f;
	--error-bg: #6b1f24;
	--warning: #e6b83f;

	--radius-sm: 3px;
	--radius-md: 4px;
	--radius-lg: 4px;

	--font-main: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-mono: 'Cascadia Code', 'Fira Code', Consolas, monospace;
	--font-size: 14px;

	--transition: all 0.15s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
del,
em,
img,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
tr,
th,
td,
textarea,
input,
select {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th,
td {
	text-align: left;
	font-weight: normal;
}

table,
td,
th {
	vertical-align: middle;
}

a img {
	border: none;
}

:focus {
	outline: 0;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

html {
	height: 100%;
}

body {
	background:
		linear-gradient(rgba(20,26,34,.62), rgba(20,26,34,.94) 520px),
		url('https://csomod.com/images/humans2.jpg') center / cover no-repeat fixed,
		var(--bg-body);
	color: var(--text-primary);
	font: var(--font-size) var(--font-main);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--text-white);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0.3em;
}

h1 {
	font-size: 24px;
	font-weight: 700;
	cursor: pointer;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.15em;
	font-weight: 700;
}

h5 {
	font-size: 1.05em;
	font-weight: 700;
}

h6 {
	font-size: 1em;
	font-weight: 700;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: var(--transition);
}

a:hover,
a:focus {
	color: var(--accent-hover);
}

p {
	margin-bottom: 1em;
}

strong,
dfn {
	font-weight: bold;
}

pre,
code,
tt {
	font: 0.95em var(--font-mono);
	line-height: 1.5;
}

li ul,
li ol {
	margin-left: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1.5em;
}

ul {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

ul.plain-list li,
ul.nice-list li,
ul.tabbed li {
	list-style: none;
}

ul.tabbed {
	display: inline;
	margin: 0;
}

ul.tabbed li {
	float: left;
}

ul.plain-list {
	margin: 0;
}

ul.nice-list {
	margin-left: 0;
}

ul.nice-list li {
	list-style: none;
	border-top: 1px solid var(--border);
	padding: 6px 0;
	font-size: 11px;
}

ul.nice-list li:first-child {
	border-top: none;
}

ul.nice-list li .right {
	color: var(--text-secondary);
}

table {
	margin-bottom: 1.4em;
	width: 100%;
}

th {
	font-weight: bold;
}

th,
td,
caption {
	padding: 5px 10px 5px 6px;
}

tfoot {
	font-style: italic;
}

.admin_list tr {
	border-bottom: solid 1px var(--border);
}

.error,
.notice,
.success {
	border-radius: var(--radius-md);
	margin-bottom: 1em;
	padding: 8px 14px;
	font-weight: 600;
	font-size: 13px;
	border: 1px solid;
}

.error {
	background: #6b1f24;
	color: #f6cfd1;
	border-color: #87282e;
}

.notice {
	background: #5c4a0b;
	color: #f3e7b8;
	border-color: #76600f;
}

.success {
	background: #005e46;
	color: #cfe8de;
	border: 1px solid #007154;
	border-radius: var(--radius-md);
	font-size: 14px;
	padding: 12px 18px;
	margin-bottom: 20px;
}

label {
	font-weight: bold;
	cursor: pointer;
}

fieldset {
	padding: 1.2em;
	margin: 0 0 1.5em 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

legend {
	font-weight: bold;
	font-size: 1.1em;
	color: var(--text-secondary);
	padding: 0 6px;
}

textarea {
	overflow: auto;
}

input.text,
textarea,
select,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"] {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	margin: 0.4em 0;
	padding: 6px 8px;
	font-family: var(--font-main);
	font-size: inherit;
	transition: var(--transition);
}

input.text:focus,
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus {
	background: #27334a;
	border-color: var(--accent);
	box-shadow: none;
}

select {
	background: var(--bg-elevated);
	color: var(--text-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 4px 6px;
}

input.button,
button,
input[type="submit"] {
	background: var(--primary);
	border: 1px solid var(--primary);
	border-radius: var(--radius-md);
	color: #e7ecf5;
	padding: 6px 14px;
	cursor: pointer;
	font-weight: 600;
	font-size: inherit;
	font-family: var(--font-main);
	transition: var(--transition);
}

input.button:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--primary-hover);
	border-color: var(--primary-hover);
	color: #fff;
}

input.button:active,
button:active,
input[type="submit"]:active {
	transform: translateY(1px);
}

button:disabled,
input[type="submit"]:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.biginput {
	font-size: 160%;
	text-align: center;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-elevated);
	color: var(--text-primary);
}

.center,
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.left,
.alignleft {
	float: left;
}

.right,
.alignright {
	float: right;
}

.clear,
.clearer {
	clear: both;
}

.clearer {
	display: block;
	font-size: 0;
	line-height: 0;
	height: 0;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}

.text-separator {
	padding: 0 5px;
}

.small {
	font-size: 0.9em;
}

.smaller {
	font-size: 0.8em;
}

.smallest {
	font-size: 0.7em;
}

.large {
	font-size: 1.15em;
}

.larger {
	font-size: 1.25em;
}

.largest {
	font-size: 1.35em;
}

.hidden {
	display: none;
}

.quiet {
	color: var(--text-secondary);
}

.highlight {
	background: rgba(29, 155, 209, 0.18);
	color: var(--text-amber);
}

.smallfont {
	font-size: 10px;
}

.fat {
	font-weight: bold;
	color: var(--accent);
}

td.b {
	font-weight: bold;
}

.errored {
	font-weight: bold;
	color: var(--error);
}

.center-wrapper {
	margin: 0 auto;
	width: 95%;
	max-width: 1200px;
}

.spacer {
	height: 16px;
}

.img_input {
	border: none;
	outline: none;
}

#top-header {
	background: var(--header);
	position: relative;
	z-index: 20;
}

.header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	height: 58px;
}

.logo-container { flex: none; display: flex; align-items: center; }
.logo-container img { height: 34px; width: auto; display: block; }

.site-menu {
	display: flex;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}
.site-menu::-webkit-scrollbar { display: none; }
.site-menu a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #e0e3e6;
	font-size: 14.5px;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	white-space: nowrap;
}
.site-menu a i { font-size: 13px; opacity: .8; }
.site-menu a:hover { background: var(--menu-bg); color: #fff; }
.site-menu a.current { background: var(--menu-bg); color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }

#main-nav-bar {
	background: var(--header-sub);
	border-bottom: 1px solid #10161e;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	margin-bottom: 28px;
}

.nav-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 50px;
	flex-wrap: wrap;
	padding: 6px 0;
}

.main-menu-centered {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu-centered li a {
	display: block;
	color: #b3b6b9;
	font-size: 14px;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.main-menu-centered li a:hover {
	color: #fff;
	background: var(--menu-bg);
}

.login-container { margin: 0; }

.login-grid { display: flex; align-items: center; gap: 6px; }

.login-inputs {
	display: flex;
	gap: 6px;
	margin: 0;
}

.login-inputs input {
	background: var(--footer) !important;
	border: 1px solid var(--border) !important;
	padding: 6px 10px !important;
	margin: 0 !important;
	color: #fff !important;
	border-radius: var(--radius-sm) !important;
	width: 150px;
	height: 34px;
}

.login-inputs input:focus {
	border-color: var(--accent) !important;
	background: #27334a !important;
	box-shadow: none !important;
}

.btn-login {
	background: var(--primary) !important;
	color: #e7ecf5 !important;
	height: 34px;
	padding: 0 16px !important;
	border: none !important;
	border-radius: var(--radius-sm) !important;
	font-weight: 600;
	transition: background 0.15s;
}

.btn-login:hover {
	background: var(--primary-hover) !important;
}

.logged-in-panel {
	display: flex;
	gap: 6px;
}

a.button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--primary);
	color: #e7ecf5;
	padding: 6px 14px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 13.5px;
}
a.button:hover { background: var(--primary-hover); color: #fff; }
a.button.button-ghost { background: var(--menu-bg); color: #e0e3e6; }
a.button.button-ghost:hover { background: #34445a; color: #fff; }

#navigation {
	margin-bottom: 20px;
}

#navigation a {
	display: block;
	text-decoration: none;
}

#main-nav a {
	color: var(--text-secondary);
	font-size: 1.3em;
	padding: 10px 14px;
	transition: var(--transition);
}

#main-nav li {
	border-left: 1px solid var(--border);
}

#main-nav li:first-child {
	border-left: none;
}

#main-nav li.current-tab a,
#main-nav a:hover {
	color: var(--text-white);
}

#sub-nav {
	background: var(--bg-gradient);
	font: bold 10pt var(--font-main);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	color: var(--accent);
	border-radius: var(--radius-sm);
}

#sub-nav a {
	color: var(--accent);
	font: bold 1.1em var(--font-main);
	padding: 8px 12px;
	transition: var(--transition);
}

#sub-nav li a:hover {
	background: rgba(255, 255, 255, 0.08);
}

.main {
	margin-bottom: 18px;
}

.main#main-two-columns .sidebar {
	width: 260px;
}

.main#main-two-columns #main-left {
	width: 70%;
}

.sidebar a {
	text-decoration: none;
}

.sidebar a:hover {
	text-decoration: underline;
}

tr.title {
	background: var(--header);
	font: 600 14px var(--font-main);
	border-top: 3px solid var(--accent);
	border-bottom: 1px solid var(--border);
	color: var(--text-white);
}

tr.title td {
	padding: 15px 10px;
}

.main thead th {
	padding: 10px;
	background: var(--header);
	color: #fff;
	font-weight: 600;
	border-bottom: 1px solid var(--border);
}

.list {
	border-bottom: 1px solid var(--border);
	transition: var(--transition);
	background: var(--bg-card);
}

.list td {
	padding: 12px 10px;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
}

.list:hover {
	background: #262a2f;
}

.info {
	border-bottom: 1px solid var(--border);
}

tr.settings_line {
	background-color: transparent;
	border-bottom: 1px solid var(--border);
}

tr.htable,
tr.htabletop,
tr.htablebottom {
	background: var(--bg-elevated);
	font: 11px var(--font-main);
	font-weight: bold;
}

tr.htable {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

tr.htabletop {
	border-top: 1px solid var(--border);
}

tr.htablebottom {
	border-bottom: 1px solid var(--border);
}

.section {
	margin-bottom: 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.section-title {
	background: var(--bg-gradient);
	font: bold 10pt var(--font-main);
	border-bottom: 1px solid var(--border);
	color: var(--accent);
	margin: 0;
	padding: 6px 10px;
	overflow: hidden;
	clear: left;
}

.section-content {
	padding: 6px 10px;
}

td.server-info {
	padding: 12px 24px;
}

td.server-info table {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding-left: 5px;
}

.m_over {
	background-color: var(--bg-elevated);
	color: var(--text-amber);
	cursor: pointer;
}

.m_out {
	background-color: transparent;
	color: var(--text-primary);
	cursor: pointer;
}

.offline {
	background: rgba(229, 87, 79, 0.15);
	color: #f6cfd1;
}

.vtop {
	vertical-align: top;
}

.details {
	width: 100%;
	text-align: left;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-card);
}

.details tr.title {
	background: var(--header);
}

.details tr.title td {
	font-weight: 700;
	font-size: 15px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
}

.details td {
	padding: 14px 20px;
}

._right {
	text-align: right;
}

._left {
	text-align: left;
}

._center {
	text-align: center;
}

td.enter {
	width: 5%;
}

.rcon_box {
	color: #4cc38a;
	background: #10151c;
	padding: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.icons-stats {
	display: inline-block;
	background-image: url('../../../images/stats.png');
	background-repeat: no-repeat;
	width: 16px;
	height: 16px;
	margin: 0;
}

.icon-stats {
	background-position: 0 0;
}

.icon-clock {
	background-position: -16px 0;
}

.icon-kicks {
	background-position: -32px 0;
}

.icons-func {
	display: inline-block;
	background-image: url('../../../images/functions.png');
	background-repeat: no-repeat;
	width: 15px;
	height: 17px;
	cursor: pointer;
	margin: 0;
}

#footer {
	padding: 10px 0;
}

#footer a {
	color: var(--accent);
	text-decoration: none;
}

#footer .right,
#footer .right a {
	color: var(--text-secondary);
	text-decoration: none;
}

#footer .text-separator {
	padding: 0 3px;
	color: var(--border);
}

#footer a:hover {
	color: var(--accent-hover);
}

.noborder {
	border: 0;
}

.notborder {
	border-top: 0;
}

.norborder {
	border-right: 0;
}

.nobborder {
	border-bottom: 0;
}

.nolborder {
	border-left: 0;
}

.nomargin {
	margin: 0;
}

.notmargin {
	margin-top: 0;
}

.normargin {
	margin-right: 0;
}

.nobmargin {
	margin-bottom: 0;
}

.nolmargin {
	margin-left: 0;
}

.nopadding {
	padding: 0;
}

.notpadding {
	padding-top: 0;
}

.norpadding {
	padding-right: 0;
}

.nobpadding {
	padding-bottom: 0;
}

.nolpadding {
	padding-left: 0;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--text-secondary);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.main,
#navigation,
.section {
	animation: fadeIn 0.2s ease;
}

.badge-2k26 {
	display: inline-block;
	background: var(--primary);
	color: #e7ecf5;
	font-size: 9px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 3px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	vertical-align: middle;
	margin: 0 2px;
}

#footer-red {
	background: var(--footer);
	border-top: 1px solid #10161e;
	padding: 28px 0 32px;
	margin-top: 56px;
	width: 100%;
	text-align: center;
}

.social-icons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.social-icons a {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--menu-bg);
	font-size: 19px;
	transition: transform .2s, background .2s;
}
.social-icons a:hover { transform: translateY(-3px); background: #34445a; }
.social-icons .fa-discord    { color: #8c95ff; }
.social-icons .fa-instagram  { color: #f06b86; }
.social-icons .fa-tiktok,
.social-icons .fa-steam      { color: #fff; }
.social-icons .fa-facebook-f { color: #5aa2ff; }
.social-icons .fa-comments   { color: var(--accent); }

.footer-content {
	font-size: 13px;
	color: #b6b8b9;
}

.footer-content strong { color: #fff; }
.footer-content a { color: var(--accent); text-decoration: none; }
.footer-content a:hover { color: var(--accent-hover); }

@media (max-width: 760px) {
	.header-flex { gap: 12px; }
	.site-menu a span { display: none; }
	.site-menu a i { font-size: 15px; opacity: 1; }
	.nav-flex { flex-direction: column; align-items: stretch; padding: 10px 0; }
	.main-menu-centered { justify-content: center; }
	.login-grid { flex-wrap: wrap; }
	.login-inputs { flex: 1 1 100%; }
	.login-inputs input { width: 100%; flex: 1; }
	.btn-login { flex: 1; }
}

/* =====================================================================
   CSOMOD "Dark Ops" skin — matches the csomod.com forum (style #24).
   Appended last so it overrides everything above.
   ===================================================================== */
:root {
	--bg-body: #0f141b;
	--bg-card: #18212d;
	--bg-elevated: #1f2b3a;
	--bg-gradient: #121a22;
	--border: #26323f;
	--border-light: #34455a;

	--header: #121a22;
	--header-sub: #0f151c;
	--footer: #0b1016;
	--menu-bg: rgba(255,255,255,.06);

	--text-primary: #c7d5e0;
	--text-secondary: #8f98a0;
	--text-amber: #66c0f4;
	--text-gold: #ffffff;
	--text-white: #ffffff;

	--accent: #66c0f4;
	--accent-hover: #ffffff;
	--primary: #e0201b;
	--primary-hover: #ff5a4e;
	--primary-lo: #9e0b0b;
	--success: #8fd14f;
	--success-bg: rgba(143,209,79,.12);
	--error: #ff5a4e;
	--error-bg: rgba(224,32,27,.14);
	--warning: #ffc04a;

	--font-main: 'Exo 2', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-head: 'Rajdhani', 'Exo 2', system-ui, sans-serif;
}

html { scrollbar-color: #7a1512 #0d1218; scrollbar-width: thin; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0d1218; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #9e0b0b, #7a1512); border: 2px solid #0d1218; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ff5a4e, #e0201b); }
::selection { background: rgba(224,32,27,.85); color: #fff; }

body {
	background-color: var(--bg-body);
	background-image:
		radial-gradient(ellipse 1200px 520px at 50% -160px, rgba(224,32,27,.22), transparent 70%),
		linear-gradient(rgba(15,20,27,.55), #0f141b 520px),
		url("https://csomod.com/images/style-24/csomod-header.jpg"),
		linear-gradient(rgba(102,192,244,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(102,192,244,.025) 1px, transparent 1px);
	background-size: auto, auto, 100% 520px, 32px 32px, 32px 32px;
	background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
	background-position: center top, center top, center top, 0 0, 0 0;
	background-attachment: scroll, scroll, scroll, fixed, fixed;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); letter-spacing: .03em; }
h1, h2, h3 { text-transform: uppercase; }

/* ---------- header ---------- */
#top-header {
	background: rgba(18,26,34,.97);
	border-bottom: 1px solid rgba(224,32,27,.55);
	box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.header-flex { height: 62px; }
.logo-container img { height: 44px; filter: drop-shadow(0 2px 8px rgba(224,32,27,.35)); }
.site-menu a {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #c7d5e0;
}
.site-menu a:hover { background: rgba(255,255,255,.05); color: #fff; }
.site-menu a.current { background: rgba(224,32,27,.12); color: #fff; box-shadow: inset 0 -2px 0 var(--primary); }
.site-menu a.current i { color: var(--primary-hover); opacity: 1; }

#main-nav-bar {
	background: rgba(15,21,28,.96);
	border-bottom: 1px solid var(--border);
}
.main-menu-centered li a { color: var(--text-secondary); font-weight: 600; }
.main-menu-centered li a:hover { color: #fff; background: rgba(255,255,255,.05); box-shadow: inset 0 -2px 0 var(--primary); }

.login-inputs input {
	background: #0d1218 !important;
	border: 1px solid var(--border-light) !important;
}
.login-inputs input:focus {
	border-color: var(--primary-hover) !important;
	background: #111821 !important;
	box-shadow: 0 0 0 3px rgba(224,32,27,.2) !important;
}

/* ---------- buttons ---------- */
.btn-login,
a.button,
input[type="submit"],
input[type="button"],
button.button {
	background: linear-gradient(180deg, #ff5a4e, #e0201b 55%, #9e0b0b) !important;
	border: 1px solid rgba(255,90,78,.7) !important;
	color: #fff !important;
	font-family: var(--font-head) !important;
	font-weight: 700 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(224,32,27,.3);
	text-shadow: 0 1px 1px rgba(0,0,0,.4);
}
.btn-login:hover,
a.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background: linear-gradient(180deg, #ff7066, #ff5a4e 55%, #e0201b) !important;
	box-shadow: 0 6px 20px rgba(224,32,27,.5);
}
a.button.button-ghost {
	background: rgba(255,255,255,.05) !important;
	border-color: var(--border-light) !important;
	box-shadow: none;
	text-shadow: none;
}
a.button.button-ghost:hover { background: rgba(255,255,255,.1) !important; border-color: rgba(102,192,244,.45) !important; }

/* ---------- inputs ---------- */
input[type="text"], input[type="password"], input[type="email"], select, textarea {
	background: #0d1218 !important;
	border: 1px solid var(--border-light) !important;
	color: #fff !important;
	border-radius: 3px;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
	border-color: var(--primary-hover) !important;
	box-shadow: 0 0 0 3px rgba(224,32,27,.2) !important;
}

/* ---------- panels: forum-style corner brackets ----------
   Drawn as pseudo-elements ON TOP of the content, so notices and
   coloured table rows can never cover them. */
.main, .section, .paginator {
	position: relative;
	background: linear-gradient(180deg, #1c2633, #18212d);
	border: 1px solid var(--border);
	border-radius: 3px;
	box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.main { padding: 14px; }
.main::before, .main::after,
.section::before, .section::after,
.paginator::before, .paginator::after {
	content: "";
	height: 14px;
	pointer-events: none;
	position: absolute;
	width: 14px;
	z-index: 3;
}
.main::before, .section::before, .paginator::before {
	border-left: 2px solid #e0201b;
	border-top: 2px solid #e0201b;
	border-top-left-radius: 3px;
	left: -1px;
	top: -1px;
}
.main::after, .section::after, .paginator::after {
	border-bottom: 2px solid rgba(224,32,27,.65);
	border-bottom-right-radius: 3px;
	border-right: 2px solid rgba(224,32,27,.65);
	bottom: -1px;
	right: -1px;
}
.section { overflow: visible; }
.section > .section-content { border-radius: 0 0 3px 3px; }

/* inside the panel: notice and table get their own rounded edges */
.main .success, .main .error, .main .notice { border-radius: 3px; }
.main .post > table { border-radius: 3px; overflow: hidden; }
/* the page list sits inside the main panel: keep it flat, no second set of corners */
.main .paginator { background: rgba(10,14,20,.45); box-shadow: none; margin-bottom: 0; }
.main .paginator::before, .main .paginator::after { display: none; }
.details { background: rgba(10,14,20,.45); border: 1px solid var(--border); border-radius: 3px; }

.section-title {
	background: rgba(10,14,20,.6);
	color: #fff;
	font: 700 15px var(--font-head);
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 9px 12px;
	border-left: 3px solid var(--primary);
}

/* ---------- tables ---------- */
.main thead th,
tr.title td,
.details tr.title td,
tr.htabletop {
	background: rgba(10,14,20,.6) !important;
	color: var(--text-secondary) !important;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--border);
}
.list { background: transparent; }
.list:hover { background: rgba(224,32,27,.06); }
.list td { border-bottom: 1px solid rgba(255,255,255,.04); }
.info { color: var(--text-primary); }

/* ---------- messages ---------- */
.error  { background: rgba(224,32,27,.14); color: #ffd3cf; border-color: rgba(255,90,78,.45); border-left: 3px solid #e0201b; }
.notice { background: rgba(255,192,74,.1); color: #f6e2b0; border-color: rgba(255,192,74,.4); border-left: 3px solid #ffc04a; }
.success { background: rgba(143,209,79,.1); color: #d3f0b8; border-color: rgba(143,209,79,.4); border-left: 3px solid #8fd14f; }

.badge-2k26 { background: linear-gradient(180deg, #ff5a4e, #e0201b); color: #fff; }

/* ---------- paginator ---------- */
.paginator span a:hover { color: #ff5a4e; }
.paginator span strong { color: #fff; background: #e0201b; border-radius: 3px; padding: 2px 8px; }

/* ---------- footer ---------- */
#footer-red {
	background: var(--footer);
	border-top: 3px solid transparent;
	border-image: repeating-linear-gradient(90deg, #e0201b 0 24px, transparent 24px 34px) 3;
	margin-top: 72px;
}
.social-icons a { background: var(--bg-card); border: 1px solid var(--border); transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.social-icons a:hover { background: var(--bg-elevated); border-color: rgba(224,32,27,.5); box-shadow: 0 6px 18px rgba(224,32,27,.25); }
.social-icons .fa-comments { color: #ff5a4e; }
.footer-content { color: #6b7787; }

@media (max-width: 760px) {
	.header-flex { height: 56px; }
	.logo-container img { height: 36px; }
}

/* table header lines in red instead of blue */
tr.title { border-top-color: #e0201b !important; }
.ban-legend, .gag-legend { color: var(--text-secondary); }

/* =====================================================================
   Phones: ban list / gag list / search results scroll sideways inside
   their own box (the page itself stays still), details fit the screen
   ===================================================================== */
@media (max-width: 760px) {
	.main { padding: 10px !important; }

	.main .post > table,
	.main fieldset > table {
		display: block;
		font-size: 13px;
		max-width: 100%;
		overflow-x: auto !important;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
	}

	.main .post > table > tbody,
	.main fieldset > table > tbody { display: table; min-width: 100%; }

	.main .post > table td { padding: 8px 7px !important; }
	.main .post > table tr.list > td { white-space: nowrap; }
	.main .post > table tr.list > td:nth-child(5) { min-width: 140px; white-space: normal; }

	/* opened details stay on screen while the list is scrolled */
	.main .post > table tr[id^="layer_"] > td { padding: 6px 0 !important; }
	.main .post > table tr[id^="layer_"] > td > div {
		left: 0;
		max-width: calc(100vw - 58px);
		position: sticky;
		width: calc(100vw - 58px);
	}
	.main table.details { display: table !important; margin: 0 !important; max-width: 100%; table-layout: fixed; width: 100% !important; }
	.main table.details td { overflow-wrap: anywhere; padding: 7px 8px !important; white-space: normal !important; }
	.main table.details td:first-child { width: 40%; }

	/* top menu icons: swipe instead of being cut off */
	.site-menu { flex-wrap: nowrap !important; max-width: calc(100vw - 150px); overflow-x: auto; scrollbar-width: none; }
	.site-menu::-webkit-scrollbar { display: none; }
	.site-menu a { flex: 0 0 auto; }

	.gag-search input[type=text] { flex-basis: 100%; }
}
