/**
 * Beach v1.0.6 - custom CSS theme for TinyIB imageboard engine
 *
 * beach.de.cool, April 2025
 */

html {
  --font-size: 16px;

  color-scheme: light dark;

  --fg: #333333;
  --bg: #f6f6f6;

  --red: #ff4136;
  --green: #2ecc40;
  --blue: #0074d9;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark light;

    --fg: #e8e6e3;
    --bg: #212121;
  }
}

html {
  background-color: var(--bg);
  color: var(--fg);

  margin: 0 auto;
  max-width: 800px;

  font-family: sans-serif;
  font-size: var(--font-size);
}

a {
  color: var(--blue);
  text-decoration: solid underline 1px;
}

a:hover {
  color: var(--red) !important;
}

hr {
  border: none;
  background: none;

  border-top: solid 2px var(--fg);
}

input,
select,
textarea {
  font-size: var(--font-size);
}

.message {
  margin: 12px 12px;

  line-height: 1.5;
  overflow-wrap: anywhere;
}

.logo {
  color: var(--fg);
}

.replymode {
  display: none;
}

.manageinfo {
  color: var(--bg);
  background-color: var(--fg);
  text-align: center;
  padding: 2px;
  width: 100%;
}

.catalogmode {
  color: var(--bg);
  background-color: var(--fg);
  text-align: center;
  padding: 2px;
  width: 100%;
}

.rules {
  width: 468px;
}

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

.postblock {
  background-color: var(--bg);
  font-weight: 600;
}

.passvalid {
  text-align: center;
  width: 100%;
}

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

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

.managehead {
  color: var(--bg);
  background-color: var(--fg);
  padding: 0;
}

.postlists {
  padding: 0;
  width: 100%;
}

.unkfunc {
  background-color: inherit;
  color: var(--green);

  font-style: italic;
}

.filesize {
  text-decoration: none;
}

.filetitle {
  background-color: inherit;
  font-weight: 900;
}

.postertrip {
  color: var(--green);
  font-style: italic;
}

.oldpost {
  font-weight: 600;
}

.omittedposts {
  display: inline-block;
  margin: 0 25px 8px;

  font-style: italic;
}

.message .omittedposts {
  border-top: dashed 1px;

  margin: 0 0 0;
  padding: 8px 0 8px;

  width: 100%;
}

.reply {
  color: var(--fg) !important;
  background-color: var(--bg) !important;
  border: dashed 1px;
  border-radius: 3px;
}

.replyhl {
  background-color: var(--bg);
}

.replytitle {
  font-weight: 600;
}

.hoverpost {
  background-color: var(--bg);
}

.commentpostername {
  font-weight: 600;
}

.highlight {
  border: 2px dashed var(--fg);
}

.refop {
  font-style: italic;
}

.doubledash {
  display: none;
}

table,
td {
  border: none;
}

.postblock + td {
  width: 100%;
}

.postblock + td textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;

  resize: vertical;
}

.spoiler {
  text-decoration: unset;
  text-shadow: none;

  background-color: var(--fg);
  border-radius: 3px;

  transition: background-color 0.2s;
}

.spoiler:hover {
  background-color: var(--bg);
}
