@charset "UTF-8";
@import url("interlink.css");
:root {
  --main-text-color: black;
  --main-bg-color: white;
  --main-transparent: rgba(0, 0, 0, .15);
  --main-small-text-color: rgba(0, 0, 0, .65);
  --table-header-bg:   #fcfddf;
  --table-row-bg-even: #dcddef;
  --table-row-bg-odd: #ecedff;
  --a-text-color: darkmagenta; }

@media (prefers-color-scheme: dark) {
  :root {
    --main-text-color: white;
    --main-bg-color: #1b1b1b;
    --main-transparent: rgba(255, 255, 255, .15);
    --main-small-text-color: rgba(255, 255, 255, .45);
    --table-header-bg:   #4c4c6c;
    --table-row-bg-even: #393959;
    --table-row-bg-odd: #2f2f4f;
    --a-text-color: violet; } }

body {
  line-height: 1.6;
  font-size: 18px;
  font-family: sans-serif;
  background: var(--main-bg-color);
  color: var(--main-text-color); }

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  clear: both; }

h1 {
  margin-block-start: 0.67rem;
  margin-block-end: 0.67rem;
  font-size: 2.00rem; }

h2 {
  margin-block-start: 0.83rem;
  margin-block-end: 0.83rem;
  font-size: 1.50rem; }

h3 {
  margin-block-start: 1rem;
  margin-block-end: 1rem;
  font-size: 1.17em; }

h4 {
  margin-block-start: 1.33rem;
  margin-block-end: 1.33rem;
  font-size: 1.00rem; }

h5 {
  margin-block-start: 1.67rem;
  margin-block-end: 1.67rem;
  font-size: 0.83rem; }

h6 {
  margin-block-start: 2.33rem;
  margin-block-end: 2.33rem;
  font-size: 0.67rem; }

a {
  color: var(--a-text-color); }
  a:hover {
    background: var(--main-transparent); }

p:has(img:only-child) {
  width: 100%;
  text-align: center; }

img {
  max-width: 100%;
  height: auto; }
  @media (min-width: 100ch) {
    img.illust-left {
      float: left;
      margin-right: 1em;
      margin-bottom: 1em; } }
  img.illust-left, img.border {
    border: 4px solid black;
    margin-left: -4px; }
    @media (max-width: 900px) {
      img.illust-left, img.border {
        max-width: calc(100% - 8px); } }
  img.pixel {
    image-rendering: pixelated; }
  img.drop-shadow {
    border: none;
    transition-duration: 300ms, 100ms;
    filter: drop-shadow(4px 4px black); }
    img.drop-shadow:hover {
      filter: drop-shadow(8px 8px black);
      margin-left: -4px;
      margin-top: -4px;
      padding-right: 4px;
      padding-bottom: 4px; }
      img.drop-shadow:hover.illust-left {
        margin-left: -8px; }
  img.emoji {
    display: inline;
    height: 1em;
    width: 1em;
    margin: 0px 0px; }

blockquote {
  color: var(--main-small-text-color);
  border-left: 3px solid var(--main-transparent);
  padding: 0 1rem;
  margin-left: 0;
  margin-right: 0; }

hr {
  border: none;
  height: 1px;
  background: var(--main-small-text-color); }

code {
  background: var(--main-transparent);
  border-radius: .1875rem; }

small, .moreposts, #nextprev {
  color: var(--main-small-text-color);
  font-size: .95rem; }

#header ul {
  list-style-type: none;
  padding-left: 0; }

#header li {
  display: inline;
  font-size: 1.2rem;
  margin-right: 1.2rem; }

#container {
  margin: 2.5rem auto;
  padding: 1.5rem; }
  @media (min-width: 900px) {
    #container {
      width: 90%;
      max-width: 900px; } }
#postlistdiv ul {
  list-style-type: none;
  padding-left: 0; }

.moreposts {
  padding-left: 0.5rem; }

#nextprev {
  clear: both;
  text-align: center;
  margin-top: 1.4rem; }

#footer {
  color: var(--main-small-text-color); }

table {
  caption-side: bottom;
  font-size: 0.8em;
  width: 100%; }
  table > thead {
    background-color: var(--table-header-bg);
    border-bottom: 2px solid var(--main-text-color);
    font-weight: bold; }
  table > tbody > tr:nth-child(odd) {
    background-color: var(--table-row-bg-even); }
  table > tbody > tr:nth-child(even) {
    background-color: var(--table-row-bg-odd); }
  table td, table th {
    padding: 0 6px; }
  table tr > td:nth-child(n+2) {
    text-align: center; }

sup > a {
  text-decoration: none; }

header a > img {
  width: 16px;
  height: 16px; }

summary.cw {
  text-align: center;
  width: 100%;
  background: rgba(100, 100, 0, 0.5);
  border-radius: 8px; }

article h1:first-of-type {
  margin-block-start: 1.67rem; }

article h1 + h4:first-of-type {
  margin-block-start: 0rem; }

article hr {
  overflow: visible;
  text-align: center;
  background: var(--main-transparent); }
  article hr :not(hr + hr)::after {
    content: "⛤⛤⛤";
    position: relative;
    color: pink;
    top: -0.8em;
    background: var(--main-bg-color);
    padding: 0 0.2em; }

article aside {
  float: right;
  max-width: 250px;
  min-width: 25%;
  box-shadow: -8px 8px var(--table-header-bg);
  margin: 4px -4px 12px 18px;
  padding: 4px 4px 4px 8px;
  background: var(--table-row-bg-odd);
  font-size: 0.9em; }
  article aside blockquote {
    font-size: 0.9em; }

article quote {
  font-style: italic;
  font-family: cursive; }

article kbd {
  background: var(--main-transparent);
  color: var(--main-text-color);
  border: 1px solid var(--main-bg-color);
  border-radius: 4px;
  padding: 2px 4px; }

article div.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px; }
  article div.flex-row img {
    max-width: calc(33% - 24px); }

spoiler-warning {
  display: inline-block;
  border: 1px solid #535;
  background: #5353;
  border-radius: 1em; }
  spoiler-warning button {
    color: inherit;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    display: inline;
    border: 1px solid #535;
    border-radius: 1em;
    background: #7475;
    cursor: pointer; }
  spoiler-warning span {
    margin-left: 0.4em;
    padding-right: 0.4em; }
