/*
  KonChan - dark theme with bright orange accents for TinyIB
  Based on css/futaba.css, with every color remapped and form controls styled.

  Palette
    page      #131313   neutral charcoal
    panel     #1D1D1F   reply boxes, inputs
    border    #3A3A3A
    text      #EDEDED
    orange    #FF8F1F   accent: logo, borders, focus, hr
    soft      #FFB466   label and heading text
    label bg  #2A2622   warm charcoal for label cells and bars
    link      #FFA24D   (hover #FFC47A)

  Orange is used as an accent (text, borders), not as a fill.
*/

html {
	color-scheme: dark;
}

html, body {
	background: #131313;
	color: #EDEDED;
	line-height: 1.35;
}

::selection {
	background: #FF8F1F;
	color: #1A1000;
}

a {
	color: #FFA24D;
}

a:visited {
	color: #E3B27E;
}

a:hover {
	color: #FFC47A;
}

:focus-visible {
	outline: 2px solid #FF8F1F;
	outline-offset: 1px;
}

hr {
	color: #FF8F1F;
	background-color: #FF8F1F;
	background-image: linear-gradient(to right, rgba(19,19,19,1), rgba(255,143,31,0.8), rgba(19,19,19,1));
}

.reflink a:hover {
	font-weight: bold;
}

.logo {
	clear: both;
	text-align: center;
	font-size: 2em;
	color: #FF8F1F;
	width: 100%;
}

/* ---- Bars ---- */

.replymode {
	background: #2A2218;
	text-align: center;
	padding: 3px;
	color: #FFB466;
	font-weight: bold;
	border-top: 1px solid #FF8F1F;
	border-bottom: 1px solid #FF8F1F;
	width: 100%;
}

.manageinfo {
	background: #1F7A3E;
	text-align: center;
	padding: 2px;
	color: #FFFFFF;
	width: 100%;
}

.catalogmode {
	background: #2A55B8;
	text-align: center;
	padding: 2px;
	color: #FFFFFF;
	width: 100%;
}

/* ---- Post form ---- */

.rules {
	width: 468px;
	font-size: 10px;
	font-family: sans-serif;
	color: #BDBDBD;
}

.rules li {
	margin-left: 1em;
}

.postblock {
	background: #2A2622;
	color: #FFB466;
	font-weight: bold;
	border-left: 3px solid #FF8F1F;
	padding: 2px 8px;
}

.passvalid {
	background: #2A2218;
	text-align: center;
	width: 100%;
	color: #FFB466;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input:not([type]),
textarea,
select {
	background: #1D1D1F;
	color: #EDEDED;
	border: 1px solid #3A3A3A;
	border-radius: 2px;
	padding: 3px 5px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input:not([type]):focus,
textarea:focus,
select:focus {
	border-color: #FF8F1F;
	outline: none;
}

::placeholder {
	color: #7A7A7A;
	opacity: 1;
}

input[type="submit"],
input[type="button"],
button,
input[type="file"]::file-selector-button {
	background: #2A2A2D;
	color: #EDEDED;
	border: 1px solid #55555C;
	border-radius: 2px;
	padding: 3px 10px;
	cursor: pointer;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
input[type="file"]::file-selector-button:hover {
	background: #3A2A18;
	border-color: #FF8F1F;
	color: #FFD3A1;
}

/* ---- Tables (pager, accounts, bans, keywords use border="1") ---- */

table[border="1"] {
	border-collapse: collapse;
	border: 1px solid #3A3A3A;
}

table[border="1"] th,
table[border="1"] td {
	border: 1px solid #3A3A3A;
	padding: 3px 8px;
}

table[border="1"] th {
	background: #2A2622;
	color: #FFB466;
}

/* ---- Footer, management ---- */

.footer {
	font-size: 12px;
	font-family: serif;
}

.dellist {
	font-weight: bold;
	text-align: center;
}

.delbuttons {
	text-align: center;
	padding-bottom: 4px;
}

.managehead {
	background: #2A2622;
	color: #FFB466;
	padding: 0;
}

.postlists {
	background: #1A1A1C;
	width: 100%;
	padding: 0;
	color: #EDEDED;
}

.row1 {
	background: #1D1D1F;
	color: #EDEDED;
}

.row2 {
	background: #242426;
	color: #EDEDED;
}

/* ---- Posts ---- */

.unkfunc {
	background: inherit;
	color: #A5D04F;
}

.filesize {
	text-decoration: none;
}

.filetitle {
	background: inherit;
	font-size: 1.2em;
	color: #FF6B4A;
	font-weight: 800;
}

.postername {
	color: #7ED29A;
	font-weight: bold;
}

.postertrip {
	color: #5FBF84;
}

.oldpost {
	color: #FF6B4A;
	font-weight: 800;
}

.omittedposts {
	color: #9A9A9A;
}

.reply {
	background: #1D1D1F !important;
	color: #EDEDED !important;
	border: 1px solid #2E2E31;
}

.replyhl {
	background: #2E2619;
	color: #EDEDED;
}

.replytitle {
	font-size: 1.2em;
	color: #FF6B4A;
	font-weight: 800;
}

.hoverpost {
	background: #18181A;
	color: #EDEDED;
	border: 1px solid #8A5A1F;
}

.commentpostername {
	color: #7ED29A;
	font-weight: 800;
}

.thumbnailmsg {
	font-size: small;
	color: #EDEDED;
}

.abbrev {
	color: #9A9A9A;
}

.highlight {
	background: #1D1D1F;
	color: #EDEDED;
	border: 2px dashed #FF8F1F;
}
