:root {
  --text-color: #404040;
  --main-bg-color: white;
  --banner-color: #404040;
  --banner-text-color: white;
  --border-color: black;
  --subsection-border-color: #404040;
  --comment-border-color: #b0b0b0;
  --heading-color: #bababa;
  --link-color: black;
  --subtle: #d4d4d4;
  --tag-color: black;
  --highlight: #d1d1d1;
  
  --th-color: black;
  --td-odd-color: #e6e6e6;
  --td-even-color: white;
  
  --grey: #d4d4d4;
}
body {
  font-family: Verdana, sans-serif;
  font-size: 14px;
  margin: 0;
  color: var(--text-color);
  }

#cursor {position:fixed;z-index:-1;top:0px;left:0px;width:100%;height:100%;cursor: url(/ocs/materials/soycur.png), url(/ocs/materials/soycur.png), progress !important;} 

html {scroll-behavior: smooth;}
details > summary {cursor: pointer;}
* {box-sizing: border-box;}
::selection {background:#d1d1d1;
  color: black;}
main a {color: var(--link-color);}
main a:visited {color: var(--subtle);}
main a:hover {color: var(--link-color);}
a:hover {
  color: var(--link-color);
  text-decoration: none;
}
header, footer {
  background: var(--banner-color);
  color: var(--banner-text-color);
}
header h1 {
  margin: 0;
  padding: 12px 24px;
  max-width: 900px;
}
header a {
  text-decoration: none;
  color: var(--banner-text-color);
}
header a:visited, 
header a:hover {color: var(--banner-text-color);}
main {
  width: 900px;
  max-width: 100%;
  background: var(--main-bg-color);
  border: 3px solid var(--border-color);
  border-radius: .25em;
  margin: 20px auto;
  padding: 12px 48px;
}
li {margin-bottom: 4px;}
.icon {
  height: 32px;
  width: 32px;
  border-radius: .2em;
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 8px;
  image-rendering: pixelated;
}
.character-name {
  background-color: var(--heading-color);
  padding: .5em;
  font-size: 24px;
}
main h2,
main h3 {
  background-color: var(--heading-color);
  padding: .4em .5em;
}
main h4 {border-bottom: 2px dashed var(--subsection-border-color);}
dt {font-weight: bold;}
dd {margin-bottom: 8px;}
main img,
.bio img {
  max-width: 100%;
  display: block;
  margin: auto;
}
.bio {
  float: right;
  border: 2px solid var(--border-color);
  margin-left: 16px;
  max-width: 280px;
  /*bg color isnt shown unless your portrait image is transparent*/
  background: white;
}
.bio::after {
  content: "";
  clear: both;
  display: table;
}
.bio table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}
.bio th,
.bio td {
  padding: 0.4em;
  vertical-align: top;
}
.bio th {
  background: var(--th-color);
  color: white;
}
.bio td {
  font-size: small;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bio td:first-of-type {
  font-weight: bold;
  width: 35%;
}
.bio tr:nth-child(odd) {background: var(--td-odd-color);}
.bio tr:nth-child(even) {background: var(--td-even-color);}
.quote {
  border-left: 6px solid var(--heading-color);
  padding: .5em 1em;
  font-style: italic;
}
.spoilers {
  background: var(--highlight);
  border: dashed 2px #ea426d80;
  margin: .5em 2px;
  padding: .5em;
}
.spoilers summary {
  color: #ea426d;
  font-weight: bold;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--pages), minmax(150px, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 1rem;
}
.gallery-page {
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  grid-column: 1 / -1;
  grid-row: 1 / span 3;
}
.gallery-page::details-content {
  grid-row: 2;
  grid-column: 1 / -1;
  padding: 1rem;
}
.gallery-page:not([open])::details-content {display: none;}
.gallery-page > summary {
  grid-column: var(--n) / span 1;
  grid-row: 1;
  display: grid;
  padding: .5rem;
  border: 2px solid var(--heading-color);
  text-align: center;
}
.gallery-page[open] > summary {
  background: var(--tag-color);
  font-weight: bold;
}
.gallery-page > summary:hover {
  background: var(--highlight);
  border: 2px solid var(--subtle);\
}
.gallery-page a,
.gallery-page details,
.gallery-page summary {z-index: 1;}

.img-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.img-gallery details > summary,
.img-gallery figure {
  margin: 10px;
  max-width: 200px;
  border: 2px solid var(--border-color);
  background: white;
}
.img-gallery details > summary:hover,
.img-gallery figure:hover {
  border: 2px solid var(--link-color);
}
.img-gallery img {
  max-height: 200px;
  max-width: 196px;
}
.img-gallery figcaption {
  font-size: small;
  text-align: center;
  margin: auto;
  padding: 4px 20px;
  background: var(--heading-color);
  color: var(--text-color);
}
.img-gallery a {text-decoration: none;}
.img-gallery details > summary {
  background: var(--heading-color);
  padding: 40px;
  list-style-type: none;
  text-align: center;
  font-weight: bold;
}
.img-gallery details[open] > summary {display:none;}
.comment {
  border: 2px solid var(--comment-border-color);
  border-radius: .3em;
  padding: .5em 1em;
  margin-bottom: 10px;
}
.reply {margin-left: 20px;}
.reply summary {
  text-decoration: underline;
  list-style-type: none;
  color: var(--subtle);
}
.reply summary:hover {
  color: var(--subtle);
  text-decoration: none;
}
.reply[open] summary {display:none;}
.user {font-weight:bold;}
.user small {font-weight: normal; margin-left: 8px;}
.grey {background: var(--grey)!important;}
nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
}
nav a {color: var(--subtle);}
nav a:hover {color: var(--subtle);}
nav li {padding-left: 4px;}
nav li:after {content: " /"}
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  font-size: 12px;
  opacity: 50%;
  padding: 6px;
  text-align: center;
  z-index: 2;
}
@media only screen and (max-width: 800px) {
  h1 {font-size: 24px; padding-inline: 12px;}
  main {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding-inline: 1.5em;
  }
  .bio {
    float:none;
    max-width: 100%;
    width: 280px;
    margin: 0 auto;
  }
  .gallery-grid {grid-template-columns: repeat(var(--pages), minmax(60px, 1fr));}
}
<style type="text/css">body, a:hover {cursor: url(/ocs/materials/soycur.png), progress !important;}</style>