/* Borders */
.wrap {
	width: 95%;
	max-width: 2200px;
	margin: 0 auto;
	padding: 0;
	border: 2px solid#242a36;
	border-radius: 15px;
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
	background: repeating-linear-gradient(
		135deg,
		#242a36,
		#242a36 30px,
		#171B24 30px,
		#171B24 60px
	);	
}

#inner-wrap {
	box-shadow: 0 0 10px 10px #171B24;
}

/* high-contrast text */
h2, .panel-container h2, .forumbg .header a, li.row strong, .forabg .header a, th a, .tabs .activetab > a, .tabs .activetab > a:hover, .tabs .tab a:hover, .navigation .active-subsection a, .navigation .active-subsection a:hover, .navigation a:hover, .panel-container .panel li.header dd, .panel-container .panel li.header dt, label:hover, fieldset dl:hover dt label, dl.faq dt, h3, .content h2, .panel h2, fieldset.polls dl.voted, .button .icon, .inputbox, textarea, .message-box textarea, .panel-container table.table1 thead th, li.header dt, li.header dd, a.button1, input.button1, input.button3, a.button2, input.button2, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover, .postbody .content, .pagination li a, select, .button .icon, .button-secondary, .global_read_mine:after, .global_read_locked_mine:after, .global_unread_mine:after, .global_unread_locked_mine:after, .announce_read_mine:after, .announce_read_locked_mine:after, .announce_unread_mine:after, .announce_unread_locked_mine:after, .sticky_read_mine:after, .sticky_read_locked_mine:after, .sticky_unread_mine:after, .sticky_unread_locked_mine:after, .topic_read_mine:after, .topic_read_hot_mine:after, .topic_unread_mine:after, .topic_unread_hot_mine:after, .topic_read_locked_mine:after, .topic_unread_locked_mine:after, .dropdown-extended .header, .dropdown-extended .footer, .pagination li.ellipsis span, .icon.icon-black, a:hover .icon.icon-black, .minitabs a:hover, .minitabs .activetab > a, .minitabs .activetab > a:hover {
	color: #CCCCCC !important;
}


/* subtle text */
html, body, .headerbar p, .copyright, ul.topiclist li, .panel, label, dd label, .signature, .postprofile, .postprofile strong, dl.details dd, dl.details dt, .content, .postbody, fieldset.polls dl, dl.file dd, table.table1 td, .dropdown-extended ul li:hover, .button {
	color: #838b98;
}


/* Light bg colours */
.forabg, .forumbg, ul.forums, li.row, .bg1, .bg2, .bg3, .tabs .activetab > a, .tabs a:hover, ul.cplist, .panel, blockquote blockquote, .dropdown .dropdown-contents, .jumpbox-cat-link, .jumpbox-sub-link, .jumpbox-forum-link, .cp-main .message-box textarea, fieldset.quick-login input.inputbox {
	background: #242a36 !important;
}

/* Dark bg colours */
html, body, #inner-wrap, .wrap, .panel-container .panel, .navigation .active-subsection a, .navigation a:hover, .cp-mini, .codebox, blockquote, blockquote blockquote blockquote, .attachbox, .message-box textarea, .phpbb_alert, select, .minitabs a:hover, .minitabs .activetab > a, .minitabs .activetab > a:hover, .cp-main .pm, .bg3 .topicreview .bg2, .bg3 .topicreview .bg1 {
	background-color: #171b24 !important;
}

/* Striped headers */
li.header {
	background-image: linear-gradient(135deg, #252c39 25%, #242a36 25%, #242a36 50%, #252c39 50%, #252c39 75%, #242a36 75%, #242a36 100%);
	background-size: 56.57px 56.57px;
}

/* Middle grey (dark bg) */
.tabs .tab > a {
	background: rgba(255,255,255,0.04);
}

/* Middle grey (light bg) */
.navigation a, .minitabs .tab > a {
	background: rgba(0,0,0,0.15);
}





/* Really light elements (buttons / forms etc) */
.inputbox, .button, a.button1, input.button1, input.button3, a.button2, input.button2, .pagination li a {
	background: rgba(255,255,255,0.1);
}

/* button hover */
.button:hover, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover,  .search-results li:hover, .search-results li.active {
	background: rgba(255,255,255,0.2);
}





/* Super subtle borders */
.forumbg, .forabg, .navbar, .post, .bg3  {
	border: 1px solid rgba(255,255,255,0.04);
}

li.row, ul.linklist li, h3, ul.linklist, ul.topiclist dd, .postprofile, .signature, .tabs .activetab > a, .tabs .activetab > a:hover, .panel-container h3, .panel-container .panel li.row, .panel-container hr, .cp-menu hr, table.table1 tbody tr, table.table1 tbody td, hr, .panel h2, .content h2, .codebox, .codebox p, fieldset.polls dl, .attach-image img, .attachbox, .attachbox dd, .inputbox, .phpbb_alert, a.button1, input.button1, input.button3, a.button2, input.button2, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover, .dropdown li.separator, select, .dropdown li, .dropdown li li, .jumpbox .dropdown li, .dropdown-extended .header, .dropdown-extended .footer, input.button1:focus, input.button2:focus, input.button3:focus, .caret, .pm .postprofile {
	border-color: rgba(255,255,255,0.04) !important;
}


/*A less subtle border for overlapping elements (dropdowns) */
.dropdown .dropdown-contents {
	border-color: rgba(255,255,255,0.15);
}




/* Super subtle hover effects */
li.row:hover, .dropdown-extended ul li:hover, table.table1 tbody tr:hover, table.table1 tbody tr.hover {
	background: rgba(0,0,0,0.05) !important;
}


/* Hacky overrides here, because..reasons */
li.row.reported, p.post-notice, .rules {
	background-color: rgba(211,17,65,0.2) !important;
	color: #BC2A4D;
}

.dropdown .pointer-inner, .jumpbox .dropdown .pointer-inner {
	border-color: #242a36 transparent;
}

.online {
	background-image: url("./en/icon_user_online.gif") !important;
	background-position: 100% 0 !important;
	background-repeat: no-repeat !important;
}


input#keywords::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #CCCCCC;
}
input#keywords::-moz-placeholder { /* Firefox 19+ */
  color: #CCCCCC;
}
input#keywords:-ms-input-placeholder { /* IE 10+ */
  color: #CCCCCC;
}
input#keywords:-moz-placeholder { /* Firefox 18- */
  color: #CCCCCC;
}

input#search_keywords::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #CCCCCC;
}
input#search_keywords::-moz-placeholder { /* Firefox 19+ */
  color: #CCCCCC;
}
input#search_keywords:-ms-input-placeholder { /* IE 10+ */
  color: #CCCCCC;
}
input#search_keywords:-moz-placeholder { /* Firefox 18- */
  color: #CCCCCC;
}


/* Structural changes */
.button {
	padding: 6px 8px !important;
	border: 0px;
}

.button-search,
.button-search-end {
	padding: 6;
}

.search-header .button-search,
.search-header .button-search-end {
	border-top-width: 0;
	border-bottom-width: 0;
	padding: 6px;
	margin-left: 1px;

}

.forumbg .header a:hover, .forabg .header a:hover, th a:hover {
	color: #FFFFFF;
}

select {
	padding: 6px;
}

fieldset.fields1 div {
	margin-bottom: 10px;
}

.format-buttons {
	margin: 15px 0;
}

.inputbox {
	border: 0px solid transparent;
	padding: 6px;
}

.inputbox:hover, .inputbox:focus {
	border: 0px solid transparent;
	outline-style: none;
}

a.button1, input.button1, input.button3, a.button2, input.button2 {
	width: auto !important;
	padding: 6px;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	background: transparent none repeat-x top left;
	line-height: 1.5;
}

.search-box .inputbox {
	background-image: none;
	border-right-width: 0;
	border-radius: 4px 0 0 4px;
	float: left;
	height: 30px;
	padding: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.panel-container .panel li.row {
	border-top: none;
}

ul.cplist {
	margin-bottom: 15px;
}

.tabs .tab > a, .minitabs .tab > a {
	display: block;
	padding: 8px 10px;
}

.tabs .tab > a {
	border-bottom: none;
}

.tabs .activetab > a {
	margin-top: 0;
	padding-bottom: 9px;
}

/* Link styles for the sub-section links */
.navigation a {
	padding: 8px;
}

.row .list-inner img {max-width: 100%;}

p.author {
	margin-bottom: 1em;
}

blockquote {
		padding: 10px;
		border: 0;
}

.codebox {
	border: none;
}

.codebox p {
	padding: 8px;
}

.codebox code {
	padding: 10px 8px;
}

.panel {
	margin-bottom: 15px;
}

.cp-main .panel {
	padding: 15px;
}
dl.details dt {
	font-weight: bold;
}

.action-bar {
	margin: 15px 0;
}

.action-bar .button-search {
	margin-right: 0;
	margin-left: 1px;
	margin-right: 1px;
}

.pagination li a, .pagination li span {
	border-radius: 2px;
	padding: 2px 7px;
}

.pagination .arrow a {
	padding: 2px 2px;
}

.row .pagination li a, .row .pagination li span {
	border-radius: 2px;
	padding: 2px 6px;
	font-size: 1em;
}


div.rules {
	margin: 10px 0;
	font-size: 1.1em;
	padding: 15px;
	border-radius: 7px;
}

.dropdown-extended .header {
	background: none;
}

.forumbg .header a:hover, .forabg .header a:hover, th a:hover {
	color: #FFFFFF;
}

.post:target .content,
.post:target h3 a {
	color: inherit;
}

.button {
	box-shadow: none;
}

.button:hover {
	text-shadow: none;
}

.search-header {
	box-shadow: none;
}

.tabs .tab > a {
	color: inherit;
}

.tabs .activetab > a,
.tabs .activetab > a:hover {
	color: inherit;
	box-shadow: none;
}

.minitabs .activetab > a,
.minitabs .activetab > a:hover {
	color: inherit;
}

.dropdown-extended .header {
	text-shadow: none;
}

/* Dark Arena modern 2026 tweaks by ChatGPT */
:root {
	--da-bg: #10141d;
	--da-panel: #1b2230;
	--da-panel-2: #242c3a;
	--da-border: rgba(255, 255, 255, 0.08);
	--da-orange: #ff992c;
	--da-orange-soft: rgba(255, 153, 44, 0.24);
	--da-text: #d7dce7;
	--da-muted: #919aaa;
}

html, body {
	background-color: #0d1119 !important;
}

.wrap {
	width: 95%;
	max-width: 2200px;
	margin: 0 auto;
	border: 1px solid var(--da-border);
	border-radius: 18px;
	box-shadow: 0 0 35px rgba(0,0,0,0.45), 0 0 45px rgba(255,153,44,0.06);
	background:
		linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
		repeating-linear-gradient(135deg, #242a36, #242a36 30px, #171B24 30px, #171B24 60px) !important;
}

#inner-wrap {
	box-shadow: inset 0 0 32px rgba(0,0,0,0.32);
	border-radius: 16px;
	overflow: hidden;
}

.headerbar {
	border-bottom: 1px solid rgba(255,153,44,0.20);
	box-shadow: inset 0 -70px 80px rgba(0,0,0,0.28);
}

.site_info {
	background: rgba(0, 0, 0, 0.58);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	box-shadow: 0 12px 35px rgba(0,0,0,0.32);
}

.site_info h1,
.site_info h1 a {
	letter-spacing: 0.04em;
	text-shadow: 0 0 18px rgba(255,153,44,0.25);
}

.navbar {
	background:
		linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
		#171b24 !important;
	border: 1px solid var(--da-border);
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.22);
}

.forabg,
.forumbg,
.panel,
.post,
.bg1,
.bg2,
.bg3 {
	border-radius: 14px;
	border: 1px solid var(--da-border) !important;
	box-shadow: 0 12px 28px rgba(0,0,0,0.18);
	overflow: hidden;
}

.forabg,
.forumbg {
	background:
		linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
		#1a202b !important;
}

li.header {
	background:
		linear-gradient(90deg, rgba(255,153,44,0.18), transparent 45%),
		linear-gradient(135deg, #252c39 25%, #242a36 25%, #242a36 50%, #252c39 50%, #252c39 75%, #242a36 75%, #242a36 100%) !important;
	border-bottom: 1px solid rgba(255,153,44,0.14);
}

li.row {
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

li.row:hover {
	background: rgba(255,153,44,0.065) !important;
	transform: translateY(-1px);
	box-shadow: inset 3px 0 0 var(--da-orange);
}

a,
a:visited {
	transition: color .18s ease, text-shadow .18s ease, background .18s ease;
}

a.forumtitle,
a.topictitle,
.forumbg .header a,
.forabg .header a {
	color: #eeeeee !important;
	text-shadow: 0 0 10px rgba(255,153,44,0.12);
}

a.forumtitle:hover,
a.topictitle:hover,
.forumbg .header a:hover,
.forabg .header a:hover {
	color: var(--da-orange) !important;
	text-shadow: 0 0 12px rgba(255,153,44,0.34);
}

.button,
a.button1,
input.button1,
input.button3,
a.button2,
input.button2,
.pagination li a {
	border-radius: 9px !important;
	border: 1px solid rgba(255,255,255,0.08) !important;
	background: rgba(255,255,255,0.075) !important;
}

.button:hover,
a.button1:hover,
input.button1:hover,
a.button2:hover,
input.button2:hover,
input.button3:hover,
.pagination li a:hover {
	background: rgba(255,153,44,0.18) !important;
	border-color: rgba(255,153,44,0.28) !important;
	color: #fff !important;
}

.inputbox,
textarea,
select {
	border-radius: 9px !important;
	background: rgba(0,0,0,0.24) !important;
	border: 1px solid rgba(255,255,255,0.08) !important;
	color: var(--da-text) !important;
}

.inputbox:focus,
textarea:focus,
select:focus {
	box-shadow: 0 0 0 3px rgba(255,153,44,0.12);
	border-color: rgba(255,153,44,0.35) !important;
}

.badge {
	background: linear-gradient(135deg, #ff992c, #ff5f2c) !important;
	box-shadow: 0 0 12px rgba(255,153,44,0.35);
}

.postprofile {
	background: rgba(0,0,0,0.10);
}

.postbody .content {
	line-height: 1.65;
}

.copyright {
	opacity: .85;
}

@media only screen and (min-width: 1800px) {
	.headerbar {
		min-height: 260px;
	}
}

@media only screen and (max-width: 920px), only screen and (max-device-width: 920px) {
	.wrap,
	#wrap {
		width: auto !important;
		max-width: none !important;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}

	.headerbar {
		min-height: 150px;
		background-size: cover;
		border-radius: 0;
	}
}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
	.headerbar {
		min-height: 120px;
		padding: 0 12px;
	}

	.site_info {
		margin: 24px 0;
		padding: 8px 10px;
	}

	.site_info h1 {
		font-size: 2em;
	}

	.forabg,
	.forumbg,
	.panel,
	.post,
	.bg1,
	.bg2,
	.bg3,
	.navbar {
		border-radius: 10px;
	}
}


/* Dark Arena Dark/Light switcher */
.da-theme-switcher{position:fixed;top:18px;right:18px;z-index:99999;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:999px;cursor:pointer;user-select:none;background:rgba(12,14,22,.76);border:1px solid rgba(255,153,44,.32);box-shadow:0 10px 28px rgba(0,0,0,.35),0 0 20px rgba(255,153,44,.12);backdrop-filter:blur(12px);transition:transform .18s ease,background .18s ease,border-color .18s ease}
.da-theme-switcher:hover{transform:translateY(-2px) scale(1.03);border-color:rgba(255,153,44,.62)}
.da-theme-icon{font-size:22px;line-height:1}.da-theme-sun{display:none}html.da-light-theme .da-theme-moon{display:none}html.da-light-theme .da-theme-sun{display:inline}
html.da-light-theme,html.da-light-theme body{background:#eef2f8!important;color:#1d2430!important}
html.da-light-theme .da-theme-switcher{background:rgba(255,255,255,.82);border-color:rgba(28,36,50,.14);box-shadow:0 10px 28px rgba(30,42,60,.16)}
html.da-light-theme .wrap{background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.72)),repeating-linear-gradient(135deg,#f6f8fc,#f6f8fc 30px,#eef2f8 30px,#eef2f8 60px)!important;border-color:rgba(20,30,46,.12)!important;box-shadow:0 18px 48px rgba(30,42,60,.14)!important}
html.da-light-theme #inner-wrap{box-shadow:inset 0 0 28px rgba(30,42,60,.06)}
html.da-light-theme .headerbar{border-bottom-color:rgba(20,30,46,.12);box-shadow:inset 0 -55px 70px rgba(255,255,255,.10)}
html.da-light-theme .navbar,html.da-light-theme .forabg,html.da-light-theme .forumbg,html.da-light-theme .panel,html.da-light-theme .post,html.da-light-theme .bg1,html.da-light-theme .bg2,html.da-light-theme .bg3{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.78)),#fff!important;border-color:rgba(20,30,46,.12)!important;box-shadow:0 12px 28px rgba(30,42,60,.10)!important;color:#1f2937!important}
html.da-light-theme li.header{background:linear-gradient(90deg,rgba(255,153,44,.16),transparent 45%),linear-gradient(135deg,#f3f5fa 25%,#fff 25%,#fff 50%,#f3f5fa 50%,#f3f5fa 75%,#fff 75%,#fff 100%)!important;border-bottom-color:rgba(20,30,46,.10);color:#1f2937!important}
html.da-light-theme li.row:hover{background:rgba(255,153,44,.10)!important;box-shadow:inset 3px 0 0 #ff992c}
html.da-light-theme a,html.da-light-theme a:visited,html.da-light-theme a.forumtitle,html.da-light-theme a.topictitle,html.da-light-theme .forumbg .header a,html.da-light-theme .forabg .header a{color:#1d2430!important;text-shadow:none!important}
html.da-light-theme a:hover,html.da-light-theme a.forumtitle:hover,html.da-light-theme a.topictitle:hover{color:#d96f00!important}
html.da-light-theme .site_info{background:rgba(255,255,255,.74);color:#1d2430!important;border-color:rgba(20,30,46,.12);box-shadow:0 12px 35px rgba(30,42,60,.12)}
html.da-light-theme .site_info h1,html.da-light-theme .site_info h1 a{color:#111827!important;text-shadow:none!important}
html.da-light-theme .inputbox,html.da-light-theme textarea,html.da-light-theme select{background:rgba(255,255,255,.92)!important;border-color:rgba(20,30,46,.16)!important;color:#111827!important}
html.da-light-theme .button,html.da-light-theme a.button1,html.da-light-theme input.button1,html.da-light-theme input.button3,html.da-light-theme a.button2,html.da-light-theme input.button2,html.da-light-theme .pagination li a{background:rgba(20,30,46,.06)!important;border-color:rgba(20,30,46,.12)!important;color:#111827!important}
html.da-light-theme .button:hover,html.da-light-theme a.button1:hover,html.da-light-theme input.button1:hover,html.da-light-theme a.button2:hover,html.da-light-theme input.button2:hover,html.da-light-theme input.button3:hover,html.da-light-theme .pagination li a:hover{background:rgba(255,153,44,.18)!important;border-color:rgba(255,153,44,.34)!important}
html.da-light-theme .postprofile{background:rgba(30,42,60,.04)}
html.da-light-theme .copyright,html.da-light-theme .footer-row,html.da-light-theme .footer-link{color:#334155!important}
@media only screen and (max-width:700px),only screen and (max-device-width:700px){.da-theme-switcher{width:42px;height:42px;top:10px;right:10px}}
