/*

Hey so fair warning, this is our "Scary File", and everything in here is an insane mess.
Anything you can do to help clean up around here is greatly appreciated. Look around, and see
if you can find any duplicates, similar properties far away from each-other, CSS that isn't
nested and should be, etc. If you find and fix any of this, use the "style:" commit prefix
and then create a branch called "style/cleanup-css" or something similar. Then make a PR.
I've already tried to do a bunch of this (82e59f4), but this is like a 4k line file, and it's easy
to miss stuff in here.

Thanks,
Ari!


DON'T NEST THE CSS!!!1! NESTED CSS DOESN'T WORK ON OLDER BROWSERS
- syrno
*/
@import url('mobile.css') screen and (max-width: 768px);

:root {
  --background-color: #050a0b;
  --background-gradient: #182f3f9e;
  --header-color: #162a38;
  --header-highlight: #2067999e;
  --text-color: #dfdfdf;
  --border-color: #182f3f;
  --border-alt: #4c7f7f;
  --post-color: #162a38;
  --sidebar-background: #0d1a1d;
  --sidebar-border: #395757;
  --button-background: #3c3f41;
  --button-text-color: #c5c8c6;
  --link-color: #fffab2;
  --hover-link-color: #d00;
  --name-color: #82cece;
  --file-info-color: #d5ddea8c;
  --gradient1: #182f3f9e;
  --gradient2: #0d1a1d;
  --button-text: var(--text-color);
  --button-gradient: #244860;
  --input: #232833;
  --subject-color: #8181a9;
  --box-background: #091113;
  --small-button: #0c3a59;
  --gradient3: #255662;
  --main-gradient: linear-gradient(to bottom, #2a3f4f 0%, #213642 48%, #172634 53%, #121f29 100%);
}

@font-face {
  font-family: 'Icons';
  src: url('./fonts/open-iconic.eot');
  src:
    url('./fonts/open-iconic.eot?#iconic-sm') format('embedded-opentype'),
    url('./fonts/open-iconic.woff') format('woff'),
    url('../open-iconic.ttf') format('truetype'),
    url('../open-iconic.otf') format('opentype'),
    url('./fonts/open-iconic.svg#iconic-sm') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DOOM';
  src: url('./fonts/doom.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  src: url('./fonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('./fonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./fonts/fa-brands-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Autoradiographic';
  src: url('./fonts/autoradiographic rg.otf');
  font-style: normal;
}

@font-face {
  font-family: 'Tahoma';
  src: url('./fonts/Tahoma Regular font.ttf');
  font-style: normal;
}

@font-face {
  font-family: 'Tahoma';
  src: url('./fonts/TAHOMAB0.TTF');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'SMW2-Yoshis-Island';
  src: url('/css/fonts/SMW2-Yoshis-Island.ttf') format('truetype');
}

html {
  overscroll-behavior: none;
}

.header-mobile {
  display: none;
}

.mobileShow {
  display: none;
}

a {
  color: var(--link-color);
  text-decoration: none;
  pointer-events: all;
}

a:hover {
  color: var(--hover-link-color);
}

p {
  margin: 0;
}

hr {
  border-bottom: 1px solid var(--border-alt);
  border-left: none;
  border-right: none;
  border-top: none;
}

button {
  border: 1px solid var(--border-alt);
  background: var(--background-color);
  color: var(--text-color);
  cursor: pointer;
}

button:hover {
  color: var(--link-color);
  cursor: pointer;
}

textarea {
  background: var(--background-color);
  border: 1px outset var(--name-color);
  color: var(--text-color);
}

input {
  background: var(--background-color);
  border: 1px outset var(--name-color);
  color: var(--text-color);
  margin: 0;
}

.scroll-header {
  height: 17px;
  padding: 3px;
  width: 100%;
  background: var(--background-gradient);
  border-bottom: 1px solid var(--border-alt);
  border-left: 1px solid var(--sidebar-border);
  color: var(--name-color);
  z-index: 6;
}

#scroll-header {
  position: fixed;
  top: 0;
  left: 200px;
  width: calc(100% - 200px);
  z-index: 999;
}

.sidebar.collapsed + #scroll-header {
  left: 0;
  width: 100%;
}

.sidebar {
  width: 200px;
  padding: 5px;
  box-sizing: border-box;
  font-size: 12px;
  position: sticky;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  font-size: 13.5px;
}

.sidebar.collapsed {
  width: 0 !important;
  padding: 0 !important;
}

.sidebar .box-title {
  font-family: Arial, Helvetica, sans-serif;
  background-image: linear-gradient(to top, var(--background-gradient) 0, transparent 15px);
  font-weight: bold;
  text-shadow: none;
  font-size: 16px;
  padding-bottom: 0px;
}

.sidebar .box {
  background: none;
  border: none;
  box-shadow: none;
}

.sidebar .box-title {
  border-radius: 5px 5px 0 0 !important;
}

.sidebar-disclaimer {
  font-size: 12px;
  padding: 5px;
  border: 1px solid var(--border-alt);
  border-radius: 5px;
  margin: 5px;
  margin-right: 5px;
  margin-right: 10px;
}

#sidebar-toggle:hover {
  cursor: pointer;
  color: var(--hover-link-color);
}

.board-link {
  display: block;
  padding: 0px 10px;
}

#open-sidebar-btn {
  position: fixed;
  left: 10px;
  bottom: 20px;
  display: none;
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#open-sidebar-btn:hover {
  background-color: #555;
}

.content {
  width: calc(100% - 200px);
  border-left: 1px solid var(--sidebar-border);
}

html {
  scroll-padding-top: 35px;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(to bottom, var(--background-gradient) 0, transparent 460px),
    var(--background-color) repeat;
  color: var(--text-color);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 14px;
  overflow-x: hidden;
}

.container {
  display: flex;
  min-height: 100vh;
  margin-top: 110px;
}

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

.sidebar h3 {
  margin: 0;
  border-bottom: 1px solid var(--border-alt);
  font-size: 18px;
  padding-bottom: 5px;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar a {
  color: var(--link-color);
  text-decoration: none;
  border: 1px solid transparent;
}

.sidebar a:hover {
  color: var(--link-color);
  background: linear-gradient(to right, var(--button-gradient) 0, transparent 185px);
  border-right: none;
}

.content {
  flex-grow: 1;
}

header {
  background-color: var(--button-background);
  padding: 10px;
  margin-bottom: 20px;
}

.edit-profile-btn {
  box-shadow: inset 0px -3px 7px 0px #29bbff;
  background: linear-gradient(to bottom, #2dabf9 5%, #0688fa 100%);
  background-color: #2dabf9;
  border: 1px solid #0b0e07;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 15px;
  padding: 4px 12px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #263666;
  font-weight: bold;
  position: relative;
  bottom: 10px;
}

.edit-profile-btn:hover {
  background: #0688fa linear-gradient(to bottom, #0688fa 5%, #2dabf9 100%);
}

.edit-profile-btn:active {
  position: relative;
  bottom: 9px;
}

.op {
  height: auto;
}

.thread {
  padding: 5px 10px;
  border-radius: 5px;
  clear: left;
}

.board-hr {
  clear: left;
  margin: 0px 10px;
  margin-top: 5px;
  border-bottom: 3.7px double var(--border-alt);
}

.thread-header {
  /*! border-bottom: 1px solid var(--border-alt); */
  padding-bottom: 5px;
}

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

.post-info {
  color: var(--text-color);
}

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

.youName::after {
  content: ' (You)';
  font-style: italic;
}

.you::after {
  content: ' (You)';
  font-style: italic;
}

.opReply::after {
  content: ' (OP)';
  font-style: italic;
}

.you.opReply::after {
  content: ' (You) (OP)';
  font-style: italic;
}

.admin-name {
  color: red;
  font-weight: bold;
}

.admin-name a {
  color: red;
}

.admin-name a:hover {
  color: var(--link-color);
}

.mod-name {
  color: #800080;
  font-weight: bold;
}

.file-link {
  display: inline-block;
  vertical-align: bottom;
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-shrink: 1;
  color: var(--link-color);
  pointer-events: all;
  font-size: 14px;
  text-decoration: underline;
}

.file-link:hover {
  display: contents;
  overflow-wrap: anywhere;
  white-space: normal;
}

.watch-thread-off::before {
  content: url('/icon/h3watch.webp');
  cursor: pointer;
  top: 3px;
  position: relative;
}

.img-icon {
  position: relative;
  top: 3px;
}

.thread-image {
  max-width: 250px;
  max-height: 250px;
  margin-right: 20px;
  float: left;
  object-fit: contain;
  margin-top: 2px;
  margin-bottom: 10px;
}

.thread-image.expanded {
  max-width: 100%;
  max-height: 100vh;
  float: left;
  display: block;
}

.board-description {
  text-align: center;
  font-size: 18px;
  line-height: 7px;
  font-weight: bold;
}

.thread-content {
  margin: 10px;
  color: var(--text-color);
  margin-top: 5px;
}

.thread-footer {
  margin: 5px;
}

.sidebar-footer a {
  margin-right: 5px;
}

.additional-replies {
  font-size: 14px;
}

.reply {
  border-radius: 7px;
  border: 1px solid var(--border-alt);
  margin-top: 5px;
  padding: 2px 6px;
  display: table;
  background: var(--post-color);
}

.reply-avatar {
  width: 25px;
  height: 25px;
  border: 1px solid white;
  vertical-align: middle;
}

.reply-image {
  max-width: 150px;
  margin-right: 10px;
  margin-top: 5px;
  float: left;
  margin-bottom: 6px;
  max-height: 170px;
}

.reply-image.expanded {
  max-width: 100%;
  max-height: 100vh;
  float: left;
  display: block;
}

.reply-content {
  margin: 10px 9px 10px 22px;
  color: var(--text-color);
}

.quoteLink {
  color: var(--hover-link-color);
  text-decoration: underline;
}

.pagination {
  display: flex;
  margin: 5px 15px;
  padding: 0;
  border-radius: 5px;
  width: fit-content;
}

.page-nav {
  padding: 5px;
  border-bottom: 1px solid var(--border-alt);
  border-top: 1px solid var(--border-alt);
  font-size: 14px;
  clear: both;
}

.page-link {
  text-decoration: none;
  color: var(--text-color);
  padding: 4px 8px;
  border: 1px solid var(--border-alt);
  margin: 2px;
}

.page-link:hover {
  background: var(--button-gradient);
  color: var(--button-text);
}

.page-link.active {
  background-color: var(--button-gradient);
  color: var(--button-text);
  padding: 4px 8px;
}

.page-button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-color);
  font-size: 14px;
}

.page-button:hover {
  color: var(--text-color);
}

#search-box {
  height: 16px;
  line-height: 16px;
  margin-left: 2px;
  padding: 0 2px;
  width: 150px;
  border: 1px solid var(--border-alt);
  background: var(--background-color);
  color: var(--text-color);
  border-radius: 5px;
  border-right: none;
  outline: none;
}

@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  #search-box {
    height: 15px;
  }
}

.search-button {
  position: relative;
  bottom: 13px;
  padding: 4px 12px;
  border: 1px solid var(--border-alt);
  border-radius: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  font-family: Arial;
  font-weight: bold;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--header-color);
  z-index: 1000;
  padding: 0;
  height: 94px;
  background-image: url('/img/header-bg.png');
  background-repeat: no-repeat;
  background-size: 125px;
  background-position-x: right;
}

.header .dropdown {
  width: fit-content;
  display: inline-block;
}

.header .dropdown:hover .dropdown-content {
  display: block;
}

.header .dropbtn {
  text-align: center;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  background: none;
  border: none;
  margin: 3px;
  border-bottom: 2px solid var(--name-color);
  margin-bottom: 0;
  line-height: 24px;
  display: inline-block;
  padding: 0 10px;
}

.header .dropbtn:hover {
  text-shadow: 0px 0px 5px #00ffe7;
  border-bottom: 2px solid white;
  background: linear-gradient(to bottom, rgba(42, 172, 179, 0) 66%, #00ffe742 100%);
}

.header .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--sidebar-background);
  width: 118px;
  z-index: 1;
  border: 1px solid var(--border-alt);
  margin-left: 3px;
}

.header .dropdown-content a {
  color: var(--link-color);
  padding: 6px 12px;
  text-decoration: none;
  display: block;
  font-weight: bold;
  font-size: 13px;
  text-align: left;
}

.header .dropdown-content a:hover {
  background-color: var(--hover-link-color);
}

.header-links {
  float: right;
  font-size: 18px;
  font-weight: bold;
  margin: 29px;
  margin-right: 80px;
}

.header-links2 {
  float: right;
  margin-right: 10px;
}

.dropdowns {
  position: relative;
  width: 100%;
  display: block;
  background: var(--sidebar-background);
  padding: 0 5px;
  text-align: center;
  box-shadow: 3px 5px 9px 0px rgba(0, 0, 0, 0.43);
  border-bottom: 1px solid var(--border-alt);
  white-space: nowrap;
  overflow-x: hidden;
}

.top-links {
  position: absolute;
  top: 10px;
  font-size: 11px;
  background-color: #182f3f;
  padding: 5px;
  width: 718px;
  text-align: center;
}

@media screen and (max-width: 1037px) {
  .header-links {
    margin: 0;
    margin-right: 80px;
    margin-top: 28px;
  }
}

@media screen and (max-width: 1008px) {
  .header-links {
    display: none;
  }
}

.small-button:not(:empty)::before {
  content: '[';
  color: var(--text-color);
  padding-right: 1px;
}

.small-button:not(:empty)::after {
  content: ']';
  color: var(--text-color);
  padding-left: 1px;
}

.small-button-box {
  padding: 3px 6px;
  position: relative;
  top: 2px;
  background: var(--box-background);
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: none;
  margin: 0 5px;
  height: 16px;
}

.small-button-box:hover {
  color: var(--box-background);
  background: var(--link-color);
}

.greenText {
  color: #429406;
}

.redText {
  color: #af0a0f;
  font-weight: bold;
  font-size: 125%;
}

.board-title {
  margin: 5px;
  font-size: 32px;
  text-align: left;
  color: #fff;
  font-weight: bold;
  position: absolute;
  z-index: 3;
  top: 128px;
  text-shadow: 2px 3px 3px black;
  margin-left: 20px;
}

.board-top {
  text-align: center;
  margin: 10px;
}

.box {
  border: 1px solid var(--border-alt);
  background: var(--box-background);
  margin: 5px;
  border-radius: 4px;
  box-shadow: 3px 2px 4px 0px rgba(0, 0, 0, 0.6);
}

.box-title {
  font-size: 21px;
  padding: 5px;
  border-bottom: 1px solid var(--border-alt);
  background: var(--main-gradient);
  border-radius: 3px 3px 0 0;
  text-shadow: 2px 2px 4px black;
  color: #e0e0e0;
  font-family: Autoradiographic;
}

.wrapper .box-title {
  display: flex;
}

.box-title img {
  margin-right: 5px;
  background: var(--background-color);
  border-radius: 5px;
}

.box-content {
  padding: 5px;
}

.post-label {
  color: var(--text-color);
  font-size: 13px;
  width: 57px;
  display: inline-block;
  text-align: center;
  background: var(--background-gradient);
  padding: 3px;
  border: 1px solid var(--border-alt);
}

.board-banner {
  position: relative;
  overflow: hidden;
  height: 170px;
  border-bottom: 1px solid var(--border-alt);
  text-align: center;
}

.banner-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(10px);
  z-index: 1;
  height: 170px;
}

.blurred-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.main-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.post-form-top {
  position: absolute;
  display: unset;
  top: 15em;
  z-index: 1002;
  box-sizing: border-box;
  background: var(--background-color);
  padding: 10px;
  min-width: 400px;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--border-alt);
  border-radius: 5px;
}

.modal-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #00000070;
  z-index: 1001;
}

.hideFileButton {
  display: inline-block;
  width: 16px;
  height: 16px;
  pointer-events: all;
  cursor: pointer;
}

.hideFileButton::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f146';
  font-weight: 900;
  cursor: pointer;
  pointer-events: all;
}

.hideFileButton:hover {
  color: var(--hover-link-color);
}

details:not([open]) .hideFileButton::before {
  content: '\f0fe';
}

.file-info {
  color: var(--file-info-color);
  width: 100%;
  display: block;
  margin-top: 1px;
  font-size: 9pt;
  pointer-events: none;
}

.file-info details summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.file-info details::-webkit-details-marker {
  display: none;
}

.file-info details::marker {
  display: none;
}

.quote {
  float: left;
  position: relative;
  top: 9px;
  left: 10px;
  font-style: italic;
  width: 200px;
  text-align: left;
}

.banner-image {
  border: 2px inset white;
}

.other-banner {
  text-align: center;
  padding-top: 5px;
}

.thread-qcontrols {
  float: right;
  font-size: 20px;
}

.page-content {
  clear: both;
  overflow: hidden;
  margin: 10px;
}

.reply-form-container {
  clear: both;
}

#reply-form {
  width: 400px;
}

.linkQuote {
  color: var(--text-color);
}

.footer-logo {
  font-family: SMW2-Yoshis-Island;
  font-size: 38px;
  text-align: center;
}

.footer-part {
  font-family: Autoradiographic;
  font-size: 28px;
  text-align: center;
  letter-spacing: 1px;
}

.footer-links {
  text-align: center;
  margin-top: -5px;
  margin-bottom: 10px;
}

.footer-link {
  font-size: 12px;
  padding: 2px 1em;
  border: 1px solid var(--border-alt);
  border-top: none;
  border-right: none;
}

.footer-link:hover {
  background: var(--border-color);
}

.random-thread {
  clear: both;
  margin: 1px;
  height: 90px;
  padding: 5px;
  background: var(--background-gradient);
  font-size: 11px;
  width: 292px;
  color: var(--text-color);
}

.random-thread:hover {
  background: var(--button-gradient);
}

.footer-image {
  width: 93px;
  height: 60px;
  object-fit: cover;
  float: left;
  margin-right: 5px;
  border: 1px solid white;
}

.footer-title {
  border-top: 1px solid var(--sidebar-border);
  border-bottom: 1px solid var(--sidebar-border);
}

.footer-section {
  display: flex;
  justify-content: center;
  padding: 5px;
  position: relative;
}

.thread-nav-btn {
  background: var(--background-gradient);
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  padding: 0 7px;
  margin: 1px;
}

.thread-nav-btn:hover {
  opacity: 1;
}

.random-threads-container {
  display: flex;
  overflow: hidden;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  padding: 5px;
}

.catalog-controls {
  padding: 5px 10px;
  border-bottom: 1px solid var(--border-alt);
  margin-bottom: 10px;
  border-top: 1px solid var(--border-alt);
}

.catalog-sort {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;
}

.catalog-buttons {
  display: flex;
  gap: 5px;
}

.catalog-button {
  text-decoration: none;
  color: var(--link-color);
}

.catalog-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-threads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 5px 15px;
  justify-content: center;
}

.catalog-thread {
  padding: 5px;
  width: 180px;
  height: 210px;
  margin: 0;
  display: inline-block;
  font-size: 11px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
}

.catalog-content {
  width: 180px;
  overflow: hidden;
  text-align: center;
  font-size: 13px;
  color: var(--text-color);
}

.catalog-thread.size-large {
  width: 200px;
  height: 300px;
}

.thread-stats {
  font-size: 11px;
}

.reply-count {
  font-weight: bold;
}
.image-count {
  font-weight: bold;
}

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

.catalog-image {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  box-shadow: 0 0 3px #000;
  padding: 2px;
}

.size-large .catalog-image {
  max-width: 190px;
  max-height: 190px;
}

.catalog-thread .thread-subject {
  color: var(--subject-color);
  font-weight: bold;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-thread .thread-text {
  font-size: 11px;
  line-height: 1.3;
  max-height: 100%;
  overflow: hidden;
  word-wrap: break-word;
}

.catalog-thread.size-large .catalog-content {
  width: 100%;
}

.new-thread-btn {
  background: linear-gradient(to bottom, var(--button-gradient) 7%, var(--input) 100%);
  color: var(--button-text);
  cursor: pointer;
  padding: 4px 15px;
  border-radius: 6px;
  width: fit-content;
  border: 1px solid var(--button-gradient);
}

.new-thread-btn:hover {
  color: white;
  background: linear-gradient(to bottom, gray 7%, var(--button-gradient) 100%);
}

.new-thread-btn:active {
  position: relative;
  top: 1px;
}

@keyframes rainbow {
  0% {
    color: #ff0000;
  }
  16.67% {
    color: #ff7f00;
  }
  33.33% {
    color: #ffff00;
  }
  66.67% {
    color: #0000ff;
  }
  83.33% {
    color: #8b00ff;
  }
  100% {
    color: #ff0000;
  }
}

.divFortune {
  animation: rainbow 2s infinite;
  font-weight: bold;
  text-shadow: 0px 0px 10px white;
}

.divFortune:before {
  content: 'Your fortune: ';
}

.excellentLuck {
  font-weight: bold;
  color: #fd4d32;
  margin: 5px;
  text-shadow: 0px 0px 10px #fd4d32;
}

.goodLuck {
  font-weight: bold;
  color: #e7890c;
  margin: 5px;
  text-shadow: 0px 0px 10px #e7890c;
}

.averageLuck {
  font-weight: bold;
  color: #bac200;
  margin: 5px;
  text-shadow: 0px 0px 10px #bac200;
}

.badLuck {
  font-weight: bold;
  color: #7fec11;
  margin: 5px;
  text-shadow: 0px 0px 10px #7fec11;
}

.tellYouNow {
  font-weight: bold;
  color: #2a56fb;
  margin: 5px;
  text-shadow: 0px 0px 10px #2a56fb;
}

.outlookGood {
  font-weight: bold;
  color: #6023f8;
  margin: 5px;
  text-shadow: 0px 0px 10px #6023f8;
}

.veryBadLuck {
  font-weight: bold;
  color: #9d05da;
  margin: 5px;
  text-shadow: 0px 0px 10px #9d05da;
}

.godlyLuck {
  font-weight: bold;
  color: #d302a7;
  margin: 5px;
  text-shadow: 0px 0px 10px #d302a7;
}

.youAreBanned {
  font-weight: bold;
  color: red;
  margin: 5px;
  text-shadow: 0px 0px 10px red;
}

.hehe {
  font-weight: bold;
  color: #f58aff;
  margin: 5px;
  text-shadow: 0px 0px 10px #f58aff;
}

.bigBeautifulWoman {
  font-weight: bold;
  color: #2200ff;
  margin: 5px;
  text-shadow: 0px 0px 10px #2200ff;
}

.darkHandsomeStranger {
  font-weight: bold;
  color: #214d99;
  margin: 5px;
  text-shadow: 0px 0px 10px #214d99;
}

.shrimpDick {
  font-weight: bold;
  color: #176e57;
  margin: 5px;
  text-shadow: 0px 0px 10px #176e57;
}

.kao {
  font-weight: bold;
  color: #619936;
  margin: 5px;
  text-shadow: 0px 0px 10px #619936;
}

.s1 {
  font-size: 70%;
}

.s2 {
  font-size: 120%;
}

.s3 {
  font-size: 140%;
}

.s4 {
  font-size: 160%;
}

.s5 {
  font-size: 180%;
}

.s6 {
  font-size: 200%;
}

.s7 {
  font-size: 220%;
}

.powerful {
  animation: rainbow 0.5s infinite;
  text-shadow:
    -1px 0 4px var(--border-color),
    1px 1px 1px var(--menu-color),
    2px 0 10px var(--marked-color);
}

.c1 {
  color: red;
}

.c2 {
  color: orange;
}

.c3 {
  color: brown;
}

.c4 {
  color: purple;
}

.c5 {
  color: pink;
}

.c6 {
  color: yellow;
}

.c7 {
  color: green;
}

.c8 {
  color: blue;
}

.c9 {
  color: lightblue;
}

.wrapper {
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}

.header-logo:hover {
  filter: brightness(115%);
}

#drop-zone {
  border: 2px dashed var(--border-alt);
  padding: 10px;
  text-align: center;
  background-color: var(--background-gradient);
  cursor: pointer;
  color: var(--file-info-color);
  font-size: 10pt;
}

#file-name {
  display: inline-block;
  max-width: 70px;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10pt;
}

#file-size {
  font-size: 10pt;
}

footer {
  background-image: linear-gradient(to top, var(--background-gradient) 0, transparent 260px);
}

.thread-content p {
  white-space: pre-wrap;
}

.reply-content p {
  white-space: pre-wrap;
}

.greenText {
  color: #429406;
}

.redText {
  color: #af0a0f;
  font-weight: bold;
  font-size: 125%;
}

.doomText {
  color: #cd3b2b;
  font-family: 'DOOM', serif;
}

.emote-summary,
.emote-summary-qr {
  cursor: pointer;
  color: var(--link-color);
}

.emote-summary:hover,
.emote-summary-qr:hover {
  color: var(--hover-link-color);
}

.emote-btn,
.emote-btn-qr {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.emote-btn-qr {
  width: 38px;
}

.emote-btn:hover,
.emote-btn-qr:hover {
  background: none;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
  top: 1px;
}

.dropdown-toggle {
  cursor: pointer;
  font-size: 8pt;
  color: white;
  &:hover {
    color: var(--hover-link-color);
  }
}

.dropdown-menu {
  position: absolute;
  background-color: var(--background-color);
  border: 1px solid var(--border-alt);
  min-width: fit-content;
  box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  z-index: 1;
  border-radius: 3px;
  font-size: 10pt;
  padding-top: 1px;
  padding-bottom: 3px;
}

.dropdown-item {
  padding: 2px 10px;
  text-decoration: none;
  display: block;
  min-width: 70px;
  text-align: left;
  background: none;
  cursor: pointer;
  border: none;
  font-size: 10pt;
  font-family: 'Arial', sans-serif;
}

.dropdown-item:hover {
  background-color: var(--small-button);
  font-weight: normal;
  border: none;
}

#delete-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: var(--background-color);
  margin: 15% auto;
  border: 1px solid var(--border-alt);
  width: 300px;
  border-radius: 5px;
}

.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
}

.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 1000;
}

.op-upload-cell {
  display: inline-block;
}

.preview-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-item {
  position: relative;
  width: 125px;
  margin-bottom: 10px;
}

.preview-item img {
  max-width: 125px;
  height: auto;
  display: block;
  margin-bottom: 5px;
}

.preview-item .file-info {
  font-size: 12px;
  word-break: break-all;
}

.remove-file {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

#preview-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-text {
  margin-bottom: 5px;
  padding: 0 2px;
  white-space: pre-line;
  text-overflow: ellipsis;
  overflow: hidden;
}

.thread-box-content {
  text-align: center;
  padding: 5px 12px;
  width: 617px;
}

.active-thread-img {
  display: inline-block;
}

.thread-separator {
  border: none;
  border-top: 1px solid #d9bfb7;
  margin: 10px 0;
}

.active-thread {
  vertical-align: top;
  display: inline-block;
  word-wrap: break-word;
  overflow: hidden;
  margin-top: 5px;
  position: relative;
  width: 150px;
  max-height: 320px;
  /*! margin-bottom: 10px; */
}

.active-thread .thread-header {
  margin-bottom: 8px;
}

.active-thread .subject {
  color: #0f0c5d;
  margin-left: 8px;
}

.active-thread .post-count {
  float: right;
  color: #707070;
}

.active-thread .thread-file {
  margin-top: 5px;
}

.active-thread .thread-file img {
  max-width: 150px;
  max-height: 150px;
}

.active-thread .thread-message {
  overflow: hidden;
  max-height: 150px;
  word-break: break-word;
}

.active-thread .thread-message {
  overflow: hidden;
  flex: 1;
  font-size: 0.9em;
  color: var(--text-color);
  word-break: break-word;
  text-overflow: ellipsis;
  padding-top: 5px;
}

.active-thread .thread-header {
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-alt);
  padding-bottom: 5px;
}

.active-thread .board-tag {
  font-weight: bold;
  color: var(--name-color);
  font-size: 9pt;
  overflow: hidden;
  white-space: nowrap;
  display: block;
}

.active-thread .subject {
  color: var(--subject-color);
  margin-left: 8px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-thread .post-count {
  float: right;
  color: var(--file-info-color);
}

.active-thread .thread-file {
  width: auto;
}

.active-thread .thread-file img {
  object-fit: contain;
  border: 1px solid var(--border-alt);
  max-height: 140px;
  max-width: 140px;
}

.active-thread .thread-file img:hover {
  border: 1px solid var(--name-color);
}

.thread-separator {
  display: none;
}

.image-box-content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 10px;
}

.image-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  width: 90px;
  height: 90px;
  border: 1px solid var(--border-alt);
}

.post-number-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--name-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  padding: 2px 0;
  border-bottom: 1px solid var(--border-alt);
  font-size: 12px;
}

.image-item:hover .post-number-overlay {
  opacity: 1;
}

.image-item:hover {
  border: 1px solid var(--border-alt);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splitTable {
  width: 100%;
}

.splitTd {
  vertical-align: top;
}

.latest-post {
  /*! border-bottom: 1px solid var(--border-alt); */
  width: 295px;
  font-weight: bold;
  font-size: 10pt;
  line-height: 15px;
}

.latest-post:last-child {
  border-bottom: none;
}

.latest-post a {
  color: var(--subject-color);
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px;
}

.latest-post a:hover {
  background: var(--small-button);
}

.stat-item {
  padding: 5px 10px;
  font-size: 13px;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  color: var(--name-color);
  font-weight: bold;
}

.stat-value {
  color: var(--text-color);
}

.blotter-post {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
  margin: 5px 3px;
  background: var(--background-gradient);
  padding: 4px 0;
}

* {
  scrollbar-color: var(--name-color) var(--background-color) !important;
}

.featured-thread {
  padding: 5px;
  height: 60px;
  display: block;
  color: var(--text-color);
}

.featured-thread:nth-child(odd) {
  background: var(--background-color);
}

.featured-thread:nth-child(even) {
  background: var(--background-gradient);
}

.featured-thread a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
}

.featured-thread .board-tag {
  color: var(--name-color);
  font-weight: bold;
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.featured-thread .board-info {
  font-size: 11px;
  font-weight: bold;
  display: block;
  color: var(--border-alt);
  margin-top: 3px;
}

.featured-thread .thread-file {
  float: left;
  margin-right: 8px;
  margin-bottom: 4px;
}

.featured-thread .thread-file img {
  width: 60px;
  height: 60px;
  /*! border: 1px solid var(--border-color); */
  object-fit: cover;
  object-position: left;
}

.featured-thread .thread-message {
  overflow: hidden;
  font-size: 10px;
  height: 25px;
  text-overflow: ellipsis;
}

.featured-thread:hover {
  background: var(--small-button);
  color: var(--text-color);
}

.no-featured {
  padding: 10px;
  text-align: center;
  color: var(--text-color-alt);
}

.file-preview {
  position: relative;
  display: inline-block;
}

.file-preview img {
  max-width: 100px;
  max-height: 100px;
}

.remove-file {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--button-background);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.welcome-content {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.welcome-header h2 {
  margin: 0;
  color: var(--text-color);
}

.close-welcome {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
  padding: 0;
  margin: 0;
  width: 30px;
}

.close-welcome:hover {
  color: var(--hover-link-color);
}

.welcome-body {
  color: var(--text-color);
  padding: 15px;
  width: 770px;
}

.welcome-body ul {
  padding-left: 20px;
}

.welcome-body li {
  margin: 5px 0;
}

.column {
  float: left;
  width: 10em;
  text-align: left;
}

.column-last {
  float: left;
}

.container-boards {
  display: flex;
  justify-content: center;
  position: relative;
  left: 20px;
}

.quote-preview {
  position: fixed;
  z-index: 1000;
  background: var(--background-color);
  border: 1px solid var(--border-alt);
  border-radius: 8px;
  padding: 8px;
  overflow: auto;
  box-shadow: 0px 0px 3px 0.1px rgba(255, 255, 255, 0.6);
}

.quote-preview .thread,
.quote-preview .reply {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.quote-preview .post-info {
  margin-bottom: 4px;
}

.quote-preview .backlinks {
  display: none;
}

.quote-preview .small-button {
  display: none;
}

.quote-preview .dropdown-toggle {
  display: none;
}

.quote-preview .fa-heart {
  display: none;
}

.highlight {
  background: linear-gradient(var(--button-gradient) 50%, var(--gradient3));
}

.backlinks {
  display: inline;
  margin-left: 8px;
}

.backlink {
  color: var(--link-color);
  text-decoration: underline;
  margin-right: 4px;
  font-size: 13px;
}

.backlink:hover {
  color: #ff0000;
  text-decoration: underline;
}

.global-message-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--name-color);
  border-radius: 5px;
  float: left;
  margin-right: 5px;
}

.search-preview-container {
  position: absolute;
  top: 77%;
  left: 340px;
  width: 390px;
  max-height: 500px;
  background: var(--sidebar-background);
  border: 1px solid var(--border-alt);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: none;
}

.search-section {
  padding: 10px;
}

.search-section h4 {
  color: var(--text-color);
  border-bottom: 1px solid var(--border-alt);
  padding-bottom: 5px;
  margin-top: 0;
}

.search-result {
  margin-bottom: 10px;
  padding: 5px;
}

.search-result a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.search-result:hover {
  background: var(--post-color);
}

.search-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.search-content {
  flex: 1;
}

.search-title {
  font-weight: bold;
  color: var(--name-color);
  margin-bottom: 3px;
}

.search-text {
  font-size: 0.9em;
  color: var(--text-color);
}

.no-results {
  padding: 20px;
  text-align: center;
  color: #666;
}

.search-header {
  padding: 20px;
  border-radius: 4px;
}

.search-header h2 {
  margin: 0;
}

.search-stats {
  margin: 5px 0 0 0;
}

.search-empty {
  text-align: center;
  padding: 40px;
  color: #666;
}

.search-section {
  margin-bottom: 0;
}

.search-section h3 {
  border-bottom: 2px solid var(--border-alt);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.search-result-item {
  margin-bottom: 10px;
  border: 1px solid var(--border-alt);
  border-radius: 10px;
  background: var(--post-color);
}

.search-result-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-result-link {
  display: flex;
  padding: 15px;
  text-decoration: none;
  color: inherit;
}

.search-result-thumb {
  margin-right: 15px;
}

.search-result-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-content {
  flex: 1;
}

.search-result-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.board-tag {
  color: var(--name-color);
  font-weight: bold;
}

.post-date {
  font-size: 0.9em;
}

.search-result-title {
  margin: 0 0 10px 0;
  color: #34345c;
}

.search-result-message {
  font-size: 13.5px;
  line-height: 1.4;
}

.spoiler {
  background: #000;
  color: #000;
  padding: 0 1px;
}

.spoiler a {
  color: inherit !important;
}

.spoiler:hover {
  color: white !important;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.faq-answer {
  line-height: 1.4;
  padding-left: 15px;
}

.team-list {
  padding-left: 20px;
  margin: 10px 0;
}

.team-list p {
  margin: 8px 0;
}

.team-list b {
  color: var(--name-color);
}

.questions-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.questions-nav h4 {
  margin: 15px 0 8px 0;
  color: var(--subject-color);
}

.question-link {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--name-color);
  background-color: var(--background-gradient);
  font-weight: bold;
}

.question-link:hover {
  background-color: var(--button-gradient);
  color: var(--name-color);
}

.rules-disclaimer {
  margin-bottom: 10px;
  padding: 10px;
  background: var(--post-color);
  border: 1px solid var(--border-alt);
  border-radius: 5px;
  line-height: 1.4;
}

.rules-list {
  padding: 0 10px;
}

.rule-item {
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 10pt;
}

.rule-item:last-child {
  margin-bottom: 0;
}

.rule-note {
  color: var(--file-info-color);
  font-style: italic;
  margin-top: 5px;
  padding-left: 20px;
}

.board-rules {
  line-height: 1.4;
  padding: 0 10px;
}

.friend-sites {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 100%;
  padding: 10px;
}

.site-card {
  display: flex;
  overflow: hidden;
}

.site-image {
  width: 425px;
  flex-shrink: 0;
}

.site-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.site-info h3 {
  margin: 0 0 10px 0;
  color: var(--name-color);
  font-size: 20px;
}

.site-info p {
  margin: 0 0 15px 0;
  line-height: 1.4;
  flex-grow: 1;
}

.visit-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--small-button);
  border: 1px solid var(--border-alt);
  border-radius: 4px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.visit-link:hover {
  background: var(--button-gradient);
  color: var(--text-color);
}

.irc-container {
  margin-top: 15px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.irc-frame {
  width: 700px;
  height: 500px;
  border: none;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.staff-card {
  border-radius: 8px;
  padding: 10px 15px;
}

.staff-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.staff-name {
  margin: 0;
  color: var(--name-color);
  font-size: 20px;
}

.staff-role {
  color: var(--file-info-color);
  font-size: 14px;
  font-style: italic;
}

.contact-methods {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.contact-item i {
  width: 16px;
  color: var(--file-info-color);
}

.contact-item a {
  color: var(--link-color);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--hover-link-color);
  text-decoration: underline;
}

.content-section {
  padding: 20px;
  line-height: 1.6;
}

.page-subtitle {
  font-size: 20px;
  color: var(--name-color);
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-alt);
}

.page-section {
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-section:last-child {
  margin-bottom: 0;
}

.page-section ul {
  list-style: disc;
}

.page-section li {
  margin-bottom: 12px;
  line-height: 1.4;
}

.page-section li:last-child {
  margin-bottom: 0;
}

.page-notice {
  margin: 20px 0;
  padding: 15px;
  background: var(--background-gradient);
  border: 1px solid var(--border-alt);
  border-radius: 5px;
  font-weight: bold;
}

.page-note {
  color: var(--file-info-color);
  font-style: italic;
  margin-top: 8px;
}

.page-footer-section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border-alt);
  color: var(--file-info-color);
}

.page-footer-section a {
  color: var(--link-color);
  text-decoration: none;
}

.page-footer-section a:hover {
  color: var(--hover-link-color);
  text-decoration: underline;
}

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

.example-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tegaki-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tegaki-controls input[type='number'] {
  width: 70px;
  padding: 2px 5px;
}

.tegaki-controls label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.thread-preview {
  opacity: 0;
  border-radius: 10px;
  overflow-x: hidden;
  overflow-y: auto;
}

.thread-preview .op {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.thread-preview .reply {
  margin: 0;
  padding: 4px;
  background: var(--background-color);
  border-bottom: 1px solid var(--border-alt);
  display: flow-root;
  border-radius: 0;
}

.thread-preview .image-container {
  float: left;
  margin: 0 8px 4px 0;
}

.thread-preview .post-info {
  padding: 2px 0;
  margin-bottom: 4px;
}

.thread-preview .subject {
  color: var(--subject-color);
  font-weight: bold;
  margin-right: 5px;
}

.thread-preview .name {
  color: var(--name-color);
  font-weight: bold;
  margin-right: 5px;
}

.thread-preview .time-info {
  color: var(--date-color);
}

.thread-preview .replies {
  clear: both;
}

.thread-preview .thread-image,
.thread-preview .reply-image {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

.thread-preview .thread-content,
.thread-preview .reply-content {
  overflow: hidden;
  word-break: break-word;
}

.flash-item {
  color: var(--text-color);
  padding: 5px;
  border: 1px solid var(--border-color);
}

.flash-item:nth-child(odd) {
  background: var(--post-color);
}

.flash-item:nth-child(even) {
  background: var(--background-color);
}

.flash-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.flash-id {
  text-decoration: none;
  color: var(--name-color);
  font-weight: bold;
  font-size: 14px;
}

.flash-id:hover {
  text-decoration: underline;
}

.flash-name {
  color: var(--name-color);
  font-weight: bold;
  font-size: 13px;
}

.flash-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.flash-thumb {
  position: relative;
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  display: flex;
  background: var(--sidebar-background);
  border: 1px solid var(--border-color);
}

.overlay-button {
  background-image: url('/img/Play.webp');
  position: absolute;
  background-size: contain;
  width: 75%;
  height: 75%;
  opacity: 0;
}
.overlay-button:hover {
  opacity: 0.75;
}

.flash-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flash-title {
  font-weight: bold;
  color: var(--name-color);
  font-size: 16px;
  margin-bottom: 4px;
}

.flash-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--file-info-color);
}

.flash-filename {
  color: var(--text-color);
  text-decoration: none;
}

.flash-filename:hover {
  text-decoration: underline;
}

.flash-size,
.flash-date,
.flash-replies {
  color: var(--file-info-color);
}

.flash-thumbnail {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.f-board {
  width: 990px;
  margin: 10px auto;
}

.f-post-button {
  background: var(--button-background);
  border: 1px solid var(--border-alt);
  padding: 4px 8px;
  cursor: pointer;
  margin-left: 10px;
  color: var(--button-text-color);
}

.f-post-button:hover {
  background: var(--button-gradient);
}

.flash-thread-title {
  font-weight: bold;
  color: var(--name-color);
  font-size: 23px;
}

.flash-thread-name {
  color: var(--name-color);
  font-size: 15px;
  font-weight: bold;
}

.flash-thread-id {
  font-size: 13px;
  padding: 3px 5px;
  border: 1px solid var(--border-alt);
  border-radius: 5px;
  margin-left: 10px;
}

.flash-thread-date {
  color: var(--file-info-color);
  font-size: 13px;
}

.flash-size-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  float: left;
  margin-top: 10px;
}

.flash-size-button {
  box-shadow: inset 0px -3px 7px 0px #29bbff;
  background: linear-gradient(to bottom, #2dabf9 5%, #0688fa 100%);
  background-color: #2dabf9;
  border: 1px solid #0b0e07;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 13px;
  padding: 4px 12px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #263666;
  font-weight: bold;
  position: relative;
  bottom: 10px;
}

.flash-size-button:hover {
  background: #0688fa linear-gradient(to bottom, #0688fa 5%, #2dabf9 100%);
}

.flash-size-button:active {
  position: relative;
  bottom: 9px;
}
.no-thumb {
  color: var(--file-info-color);
  font-size: 0.75em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.flash-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
}

#flash-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
}

.flash-modal-close {
  float: right;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}

.flash-modal-close:hover {
  color: white;
}

#ruffle-container {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flash-thumbnail-container {
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flash-thumbnail {
  max-width: 65px;
  max-height: 65px;
  object-fit: contain;
}

#report-modal,
#delete-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

#report-modal button,
#delete-modal button {
  padding: 5px 10px;
}

#report-reason {
  width: 100%;
  margin-bottom: 10px;
  padding: 5px;
  height: 60px;
  resize: vertical;
}

.poll-wrapper {
  display: flex;
  align-items: flex-start;
}

.poll-container {
  border-radius: 10px;
  margin: 10px 0 0;
  width: 550px;
  display: inline-block;
}

.poll-header h4 {
  margin: 0 0 5px 0;
}

.poll-options {
  margin: 15px 0;
}

.poll-option {
  margin-bottom: 8px;
}

.poll-bar-container {
  background: rgba(0, 0, 0, 0.1);
  height: 20px;
  border-radius: 10px;
  margin-top: 5px;
  position: relative;
  overflow: hidden;
}

.poll-bar {
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 10px;
  opacity: 0.7;
}

.poll-stats {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  color: var(--text-color);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.poll-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.poll-expired {
  color: var(--text-muted);
}

.collapsed-post {
  background: var(--post-color);
  border: 1px solid var(--border-alt);
  padding: 4px 8px;
  margin: 4px 0;
}

.collapsed-post .post-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.collapsed-post .expand-post {
  color: var(--link-color);
  text-decoration: none;
  cursor: pointer;
}

.collapsed-post .expand-post:hover {
  color: var(--hover-link-color);
}

.staff-logs {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.staff-logs h1 {
  margin-bottom: 2rem;
  color: var(--text-color);
}

.logs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: var(--post-background);
  border: 1px solid var(--border-color);
}

.logs-table th,
.logs-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.logs-table th {
  background: var(--thread-background);
  font-weight: bold;
}

.log-type {
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.ban {
  background: #ffebee;
  color: #c62828;
}

.mediadeletion {
  background: #ffebee;
  color: #c69c28;
}

.threadtransfer {
  background: #ffebee;
  color: #c628b1;
}

.filedeletion {
  background: #ffebee;
  color: #aec628;
}

.globalrolechange {
  background: #ffebee;
  color: #6228c6;
}

.boardtransfer,
.deletion {
  background: #fff3e0;
  color: #ef6c00;
}

.banlift {
  background: #e8f5e9;
  color: #2e7d32;
}

.reportclosure {
  background: #e3f2fd;
  color: #1565c0;
}

.page-info {
  color: var(--text-color);
  padding: 10px;
}

.total-count {
  text-align: center;
  color: var(--text-color);
  font-style: italic;
}

.watch-thread-on {
  content: url('/icon/h3watch2.webp');
  top: 3px;
  position: relative;
  cursor: pointer;
}

.dropdown-toggle {
  cursor: pointer;
  padding: 1px 1px;
  border-radius: 3px;
  background: var(--main-gradient);
  border: 1px solid var(--border-alt);
  position: relative;
  top: 2px;
}

.watch-list-modal {
  position: fixed;
  top: 100px;
  left: 100px;
  width: 400px;
  max-height: 500px;
  background: var(--background-color);
  border: 1px solid var(--border-alt);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  resize: both;
  overflow: auto;
}

.close-watch-list {
  float: right;
}

.watch-list-header {
  padding: 5px;
  border-bottom: 1px solid var(--border-alt);
  cursor: move;
}

.watch-list-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.watch-list-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.watch-list-body .unread-count {
  color: #ffffff;
  font-weight: bold;
}

.watch-list-item {
  height: 19px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.remove-watch {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0 5px;
  font-size: 16px;
  line-height: 1;
}

.remove-watch:hover {
  color: #ff0000;
}

.unread-count {
  color: #ff4444;
  margin-left: 5px;
}

.no-watched-threads {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
}

.site-notification {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2ecc70a6, #27ae5fa9);
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  font-size: 13px;
  transition: top 0.3s ease-in-out;
  white-space: nowrap;
  width: 600px;
  font-weight: bold;
  max-width: 90%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.site-notification.show {
  top: 20px;
}

.site-notification a {
  color: white;
  text-decoration: underline;
}

@keyframes headerFlash {
  0% {
    background-color: var(--background-gradient);
  }
  30% {
    background-color: var(--header-highlight);
  }
  100% {
    background-color: var(--background-gradient);
  }
}

.header-flash {
  animation: headerFlash 0.3s ease-out;
}

.hikariShow {
  display: none;
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.gallery-modal-content {
  position: relative;
  background-color: rgba(0, 0, 0, 0.8);
  margin: 2% auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  box-sizing: border-box;
}

.close-gallery {
  position: absolute;
  right: 25px;
  top: 10px;
  color: #f1f1f1;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-gallery:hover {
  color: #999;
}

.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100% - 100px);
  width: 100%;
}

.gallery-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0 50px;
}

#gallery-current-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.gallery-nav {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 1001;
  transition: background-color 0.3s;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-thumbnails {
  position: relative;
  height: 80px;
  margin-top: 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.gallery-thumb {
  height: 60px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
}

.gallery-counter {
  color: white;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

.ban-message {
  color: #ff0000;
  font-weight: bold;
  margin: 5px 0;
}

.embed-container > summary {
  list-style: none;
}

.embed-container > summary::-webkit-details-marker {
  display: none;
}

.qr-upload-form {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}

.side-catalog-thread {
  display: flex;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid var(--border-alt);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: 5px;
}

.side-catalog-thread:hover {
  color: var(--hover-link-color);
}

.side-catalog-thumb {
  width: 100px;
  height: 100px;
  margin-right: 10px;
  object-fit: cover;
}

.side-catalog-info {
  flex: 1;
  font-size: 0.9em;
}

.side-catalog-info .replies {
  color: var(--secondary-text-color);
  font-size: 0.8em;
}

.side-catalog {
  position: fixed;
  top: 0;
  right: -330px;
  width: 300px;
  height: 100vh;
  background: var(--background-color);
  border-left: 1px solid var(--border-alt);
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 1001;
  padding: 10px;
}

#board-stats-btn {
  cursor: pointer;
}

#board-stats-btn:hover {
  color: var(--hover-link-color);
}

.board-stats-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.board-stats-modal-content {
  background-color: var(--background-color);
  margin: 5% auto;
  padding: 0;
  border: 1px solid var(--border-alt);
  border-radius: 5px;
}

.board-stats-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.board-stats-modal-close {
  color: var(--text-color);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

#board-stats-table {
  width: 97%;
  border-collapse: collapse;
  margin: 10px;
}

#board-stats-table th,
#board-stats-table td {
  padding: 8px;
  text-align: left;
  border: 1px solid var(--border-alt);
}

.ascii {
  font-family: Mona, 'MS PGothic' !important;
}

.scroll {
  overflow: scroll;
  max-height: 200px;
}

.codeblock {
  background-color: #181a1b;
  padding: 20px;
  border-radius: 10px;
}

code {
  font-size: 13px;
  background-color: #181a1b;
  display: inline-block;
  border-radius: 6px;
  padding: 0 0.25em;
  max-width: 100%;
  overflow-x: auto;
}

.news-title {
  font-weight: bold;
  margin: 5px;
  font-size: 20px;
  font-style: italic;
  border-bottom: 1px solid var(--border-alt);
  padding-bottom: 5px;
}

.news-content {
  font-size: 10pt;
  padding: 10px;
}

.pages-header {
  padding: 3px;
  margin: 10px;
  border: 1px solid var(--border-alt);
  border-radius: 5px;
  margin-bottom: 0;
  text-align: center;
  font-size: 10pt;
  font-weight: bold;
  background: var(--background-color);
  box-shadow: 3px 2px 4px 0px rgba(0, 0, 0, 0.6);
}

.pages-header-link {
  padding: 3px 10px;
  border-right: 1px solid var(--border-alt);
}

.pages-header-link:first-child {
  border-left: 1px solid var(--border-alt);
}

.pages-header-link:hover {
  background-color: var(--border-color);
}

.pages-header-link.active {
  background-color: var(--border-color);
  color: var(--text-color);
}

.quote-button:hover {
  background: var(--link-color);
  color: var(--small-button);
}

.quote-button {
  background: var(--small-button);
  color: var(--link-color);
  border: 1px solid var(--border-alt);
}

/* Settings Modal */
#settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#settings-modal .modal-content {
  position: fixed;
  display: unset;
  z-index: 1000;
  max-width: calc(100% - 10px);
  max-height: calc(100% - 50px);
  box-sizing: border-box;
  background: var(--background-color);
  padding: 10px;
  min-width: 400px;
  overflow: auto;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--border-alt);
  border-radius: 5px;
  overflow-x: hidden;
}

#settings-modal .tabs {
  display: flex;
  border-bottom: 1px solid var(--border-alt);
  margin-bottom: 15px;
  background-image: linear-gradient(to top, var(--background-gradient) 0, transparent 15px);
}

#settings-modal button {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  color: var(--text-color);
}

#settings-modal button.active {
  border-bottom: 2px solid var(--accent-color);
}

#settings-modal .modal-close {
  float: right;
}

#settings-modal textarea {
  width: 100%;
  height: 300px;
  padding: 10px;
}

#settings-modal .save-button {
  margin-top: 15px;
  padding: 5px 15px;
}

.archive-table {
  margin: 10px;
  background: var(--post-color);
  width: 98.5%;
}

.archive-header {
  background: var(--header-highlight);
  font-weight: bold;
}

.archive-header th {
  border: 1px solid var(--border-alt);
  text-align: center;
}

.archive-thread {
  background: var(--post-color);
  border: 1px solid var(--border-alt);
}

.archive-thread-expiring {
  border: 1px solid orange;
}

.archive-thread td {
  border: 1px solid var(--border-alt);
}

.archive-col-id {
  width: 8%;
  text-align: center;
}

.archive-col-content {
  width: 65%;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 800px;
}

.archive-col-date,
.archive-col-expiration {
  width: 12%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-subject {
  font-weight: bold;
  color: var(--subject-color);
}

.archived-warning {
  margin: 0px;
  padding: 0px;
  text-align: center;
  margin-top: 0;
  color: red;
  display: inline-block;
  vertical-align: middle;
}

.filtered-post {
  display: none !important;
}

.filter-unhide-button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 5px;
  margin: 5px 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.filters-list {
  margin-top: 15px;
}

.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  margin: 5px 0;
  border: 1px solid var(--border-color);
}

.filtered-post {
  display: none !important;
}

.filter-unhide-button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 5px;
  margin: 5px 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.filters-list {
  margin-top: 15px;
}

.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  margin: 5px 0;
  border: 1px solid var(--border-color);
}

.options-list {
  margin-top: 15px;
}

.option-item {
  display: flex;
  align-items: center;
  padding: 8px 5px;
  margin: 5px 0;
  border: 1px solid var(--border-color);
}

.option-item label {
  margin-left: 10px;
  cursor: pointer;
}

.friend-button {
  display: inline-block;
  margin: 4px;
  /*! border: 1px solid var(--border-alt); */
}

.name-label {
  font-weight: bold;
  font-style: italic;
  width: 160px;
  display: block;
}

.name-row {
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
  display: block;
}

.formatting-toolbar {
  display: flex;
  gap: 2px;
  background-color: var(--background-gradient);
  padding: 5px;
  border: 1px solid var(--border-alt);
  border-radius: 5px 5px 0 0;
}

.formatting-toolbar button {
  background: var(--background-color);
  border-radius: 5px;
  padding: 0px 8px;
  cursor: pointer;
  text-align: center;
}

.submit-summary {
  cursor: pointer;
  padding: 3px;
  background-color: var(--background-color);
  border: 1px solid var(--border-alt);
}

.emote-container {
  padding: 5px;
  background-color: var(--background-color);
}

.moeText {
  position: relative;
  word-wrap: normal;
}

.moeText:before {
  content: '';
  background: url('/img/moesparkle.gif') repeat-x;
  background-size: 8em;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.classic-logo {
  display: none;
}

.sidebar-panel-title {
  display: none;
}

.emote-grid,
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 5px;
  /*! padding: 10px; */
}

.emote-item,
.style-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--border-alt);
  border-radius: 5px;
}

.emote-code,
.style-code {
  margin-top: 8px;
  font-family: monospace;
  font-size: 12px;
  border-radius: 3px;
  word-break: break-all;
}

.style-preview {
  margin-bottom: 8px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-controls {
  display: inline-block;
}

.nsfw-toggle-label {
  cursor: pointer;
  float: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 5px;
}

.nsfw-toggle-input {
  margin-right: 5px;
}

.announcement {
  width: 990px;
  margin: auto;
  text-align: center;
  height: 193px;
}

.captcha-title {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 14px;
}

.captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
  max-width: 320px;
}

.captcha-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}

.captcha-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: 2px solid #000;
  box-sizing: border-box;
}

.captcha-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.captcha-checkbox:checked + .captcha-image {
  border: 2px solid #4caf50;
}

.captcha-button {
  cursor: pointer;
  color: var(--link-color);
  font-size: 22px;
  font-weight: bold;
}

.captcha-button:hover {
  color: var(--hover-link-color);
}

.no-js-form {
  display: none;
}

.reply-number {
  font-size: 11px;
}

.emote {
  width: 30px;
}

.outerbox {
  background: var(--background-gradient);
  border: 1px outset var(--border-alt);
  padding: 7px;
  margin: 1em;
  margin-left: 2.5%;
  margin-right: 2.5%;
  clear: both;
}

.innerbox {
  border: 1px inset var(--border-alt);
  padding: 6px;
}

.innerbox h1 {
  font-size: 1.5em;
  font-weight: normal;
  padding: 0px;
  margin: 0px;
}

.innerbox h2 {
  font-size: 1.2em;
  font-weight: normal;
  padding: 0px;
  margin: 0px;
}

.innerbox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.innerbox li {
  display: inline-block;
}

.textthread {
  margin-left: 2.5%;
  margin-right: 2.5%;
  position: relative;
  background: var(--post-color);
  border: 1px outset var(--border-alt);
  padding: 7px;
  margin-bottom: 2em;
  clear: both;
}

.textthread h2 {
  font-weight: bold;
  margin: 0px 0px -1px 0px;
  padding: 0.3em 0em 0em 0.3em;
  border-top: 1px inset var(--border-alt);
  border-left: 1px inset var(--border-alt);
  border-right: 1px inset var(--border-alt);
}

.textthread h2 a {
  color: var(--subject-color);
}

.textthread h2 a:hover {
  text-decoration: underline;
}

.textreplies {
  padding: 3px;
  border-left: 1px inset var(--border-alt);
  border-right: 1px inset var(--border-alt);
  border-bottom: 1px inset var(--border-alt);
  clear: both;
  margin: 0px;
}

.textreplies .reply {
  background: #fff0;
  border: none;
  margin: 0px;
  padding: 0px;
  display: block;
}

.textthreadpage h2 {
  font-weight: bold;
  margin: 0px 0px -1px 0px;
}

.textthreadpage h2 a {
  color: var(--subject-color);
}

.textthreadpage h2 a:hover {
  text-decoration: underline;
}

.thread-nav {
  float: right;
  margin-right: 10px;
}

.thread-nav-link {
  color: var(--link-color) !important;
}
