@charset "UTF-8";
:root {
  --palette-background-red: #76312e;
  --palette-background-yellow: #827428;
  --palette-background-green: #227d2a;
  --palette-background-grey: #60686f;
  --palette-background-red-d5: rgb(99.6524390244, 41.381097561, 38.8475609756);
  --palette-background-yellow-d5: rgb(110.5, 98.6, 34);
  --palette-background-green-d5: rgb(28.5471698113, 104.9528301887, 35.2641509434);
  --palette-background-grey-d5: rgb(84.1739130435, 91.1884057971, 97.3260869565);
  --palette-text-white: #ffffff;
  --palette-text-red: #fe6a64;
  --palette-text-yellow: #ffd666;
  --palette-text-green: #4caf50;
  --palette-text-grey: #aaaaaa;
  --palette-plain-black: #000;
  --palette-plain-green: #0F0;
  --palette-plain-yellow: #CC0;
  --palette-plain-blue: #00F;
  --palette-plain-red: #F00;
}

body {
  --image-background: url("themes/hexagon/background.png");
  --color-background: #020f23;
  --color-foreground: #152f56;
  --color-section: #1f3c67;
  --color-section-lighten-5: rgb(36.8992537313, 71.4179104478, 122.6007462687);
  --color-section-lighten-10: rgb(42.7985074627, 82.8358208955, 142.2014925373);
  --color-section-darken-5: rgb(25.1007462687, 48.5820895522, 83.3992537313);
  --color-table-border: rgb(42.7985074627, 82.8358208955, 142.2014925373);
  --color-section-pending: #1f3c67;
  --color-section-pending-border: #020f23;
  --color-text: #ffffff;
  --color-text-muted: #999999;
  --color-text-white: #ffffff;
  --color-text-table-header: rgb(229.5, 229.5, 229.5);
  --color-link: #b4c7d9;
  --color-link-hover: #e9f2fa;
  --color-link-active: #e8c446;
  --color-button-active: #e8c446;
  --color-link-last-page: #666;
  --color-success: darkgreen;
  --color-success-darken-5: rgb(0, 74.5, 0);
  --color-danger: maroon;
  --color-danger-darken-5: rgb(102.5, 0, 0);
  --color-danger-darken-10: #4d0000;
  --color-warning: sienna;
  --color-warning-darken-5: rgb(140.0975609756, 71.8, 39.4024390244);
  --color-rating-explicit: #e45f5f;
  --color-rating-questionable: hsl(50, 100%, 70%);
  --color-rating-safe: #3e9e49;
  --color-score-positive: #3e9e49;
  --color-score-negative: #e45f5f;
  --color-active-tag: #006ffa;
  --color-dtext-quote: #b4c7d9;
  --color-dtext-code: #ffe380;
  --color-dtext-section: #17a2b8;
  --color-user-member: #b4c7d9;
  --color-user-member-alt: #2e76b4;
  --color-user-privileged: #b4c7d9;
  --color-user-privileged-alt: #2e76b4;
  --color-user-blocked: #b4c7d9;
  --color-user-blocked-alt: #2e76b4;
  --color-user-former-staff: #78dca5;
  --color-user-former-staff-alt: #4da073;
  --color-user-janitor: #d82828;
  --color-user-janitor-alt: #cc5151;
  --color-user-moderator: #d82828;
  --color-user-moderator-alt: #cc5151;
  --color-user-admin: #e69500;
  --color-user-admin-alt: #9d6703;
  --color-tag-general: #b4c7d9;
  --color-tag-general-alt: #2e76b4;
  --color-tag-artist: #f2ac08;
  --color-tag-artist-alt: #fbd67f;
  --color-tag-contributor: #c0c0c0;
  --color-tag-contributor-alt: #71706e;
  --color-tag-copyright: #d0d;
  --color-tag-copyright-alt: #ff5eff;
  --color-tag-character: #0a0;
  --color-tag-character-alt: #2bff2b;
  --color-tag-species: #ed5d1f;
  --color-tag-species-alt: #f6b295;
  --color-tag-invalid: #ff3d3d;
  --color-tag-invalid-alt: rgb(255, 188.5, 188.5);
  --color-tag-meta: #fff;
  --color-tag-meta-alt: #666;
  --color-tag-lore: #282;
  --color-tag-lore-alt: #5fdb5f;
  --color-tag-pool: wheat;
  --color-tag-pool-alt: #d0b27a;
  --color-spoiler-link: #b4c7d9;
  --color-spoiler-link-hover: #e9f2fa;
}

body[data-th-main=pony] {
  --color-background: #250D51;
  --color-foreground: #2f175c;
  --color-section: #453269;
  --color-section-lighten-5: rgb(80.3516129032, 58.2258064516, 122.2741935484);
  --color-section-lighten-10: rgb(91.7032258065, 66.4516129032, 139.5483870968);
  --color-section-darken-5: rgb(57.6483870968, 41.7741935484, 87.7258064516);
  --color-table-border: #2f175c;
  --color-text: #ffffff;
  --color-text-muted: #999999;
  --color-text-table-header: rgb(229.5, 229.5, 229.5);
  --color-link: #b4c7d9;
  --color-link-hover: #e9f2fa;
  --color-link-active: #e8c446;
  --color-button-active: #e8c446;
  --color-active-tag: #6f36da;
  --color-dtext-quote: #67717b;
  --color-dtext-section: #427982;
  --color-user-member: #e5d6ff;
  --color-user-member-alt: #2e76b4;
  --color-user-privileged: #e5d6ff;
  --color-user-privileged-alt: #2e76b4;
  --color-user-blocked: #e5d6ff;
  --color-user-blocked-alt: #2e76b4;
  --color-tag-general: #e5d6ff;
  --color-tag-general-alt: #2e76b4;
}

body[data-th-main=bloodlust] {
  --color-background: #000000;
  --color-foreground: #222222;
  --color-section: #333333;
  --color-section-lighten-5: rgb(63.75, 63.75, 63.75);
  --color-section-lighten-10: rgb(76.5, 76.5, 76.5);
  --color-section-darken-5: rgb(38.25, 38.25, 38.25);
  --color-table-border: #222222;
  --color-section-pending: #333333;
  --color-section-pending-border: #000000;
  --color-text: #ffffff;
  --color-text-muted: #999999;
  --color-text-table-header: rgb(229.5, 229.5, 229.5);
  --color-link: #ffee95;
  --color-link-hover: #f68b00;
  --color-link-active: #ffffff;
  --color-button-active: #e8c446;
  --color-link-last-page: #999999;
  --color-active-tag: #222222;
  --color-dtext-quote: #67717b;
  --color-dtext-section: #427982;
  --color-user-member: #ffee95;
  --color-user-member-alt: #f68b00;
  --color-user-privileged: #ffee95;
  --color-user-privileged-alt: #f68b00;
  --color-user-blocked: #ffee95;
  --color-user-blocked-alt: #f68b00;
  --color-tag-general: #ffee95;
  --color-tag-general-alt: #f68b00;
  --color-spoiler-link: #ffee95;
  --color-spoiler-link-hover: #f68b00;
}

body[data-th-main=serpent] {
  --color-background: #44a544;
  --color-foreground: #dacf6b;
  --color-section: #fff48b;
  --color-section-lighten-5: rgb(255, 246.4181034483, 164.5);
  --color-section-lighten-10: rgb(255, 248.8362068966, 190);
  --color-section-darken-5: rgb(255, 241.5818965517, 113.5);
  --color-table-border: #dacf6b;
  --color-text: #000000;
  --color-text-muted: #555555;
  --color-text-table-header: black;
  --color-link: #005500;
  --color-link-hover: #3A8F3A;
  --color-link-active: #e8c446;
  --color-button-active: #e8c446;
  --color-active-tag: #44a544;
  --color-dtext-quote: #67717b;
  --color-dtext-section: #427982;
  --color-user-member: #005500;
  --color-user-member-alt: #3A8F3A;
  --color-user-privileged: #005500;
  --color-user-privileged-alt: #3A8F3A;
  --color-user-blocked: #005500;
  --color-user-blocked-alt: #3A8F3A;
  --color-tag-general: #005500;
  --color-tag-general-alt: #3A8F3A;
  --color-spoiler-link: #44a544;
  --color-spoiler-link-hover: #e8c446;
}

body[data-th-main=hotdog] {
  --color-background: #ffff00;
  --color-foreground: #ff0000;
  --color-section: #c53c38;
  --color-section-lighten-5: rgb(203.7588932806, 78.4011857708, 74.7411067194);
  --color-section-lighten-10: rgb(209.4031620553, 97.8537549407, 94.5968379447);
  --color-section-darken-5: rgb(177.1442687747, 53.95256917, 50.3557312253);
  --color-table-border: #ff0000;
  --color-text: #000000;
  --color-text-muted: #999999;
  --color-text-table-header: black;
  --color-link: #000000;
  --color-link-hover: #666666;
  --color-link-active: #ffe380;
  --color-button-active: #ffe380;
  --color-active-tag: #ff0000;
  --color-dtext-quote: #67717b;
  --color-dtext-section: #427982;
  --color-user-member: #000000;
  --color-user-member-alt: #999999;
  --color-user-privileged: #000000;
  --color-user-privileged-alt: #999999;
  --color-user-blocked: #000000;
  --color-user-blocked-alt: #999999;
  --color-tag-general: #000000;
  --color-tag-general-alt: #999999;
  --color-spoiler-link: #ffff00;
  --color-spoiler-link-hover: #ff0000;
}

body[data-th-palette=deut] {
  --palette-background-red: #bc4c00;
  --palette-background-yellow: #4b8099;
  --palette-background-green: #794eb1;
  --palette-background-grey: #666664;
  --palette-background-red-d5: rgb(162.5, 65.6914893617, 0);
  --palette-background-yellow-d5: rgb(66.6118421053, 113.6842105263, 135.8881578947);
  --palette-background-green-d5: rgb(108.9, 70.2, 159.3);
  --palette-background-grey-d5: rgb(89.1237623762, 89.1237623762, 87.3762376238);
  --palette-text-white: #ffffff;
  --palette-text-red: #ff6f1b;
  --palette-text-yellow: #fdff94;
  --palette-text-green: #9f98ff;
  --palette-text-grey: #aaaaaa;
  --palette-plain-black: #000;
  --palette-plain-green: #9e1fff;
  --palette-plain-yellow: #CC0;
  --palette-plain-blue: #afb1ff;
  --palette-plain-red: #bc4c00;
}

body[data-th-palette=trit] {
  --palette-background-red: #76312e;
  --palette-background-yellow: #827428;
  --palette-background-green: #8529c9;
  --palette-background-grey: #60686f;
  --palette-background-red-d5: rgb(99.6524390244, 41.381097561, 38.8475609756);
  --palette-background-yellow-d5: rgb(110.5, 98.6, 34);
  --palette-background-green-d5: rgb(118.9855371901, 36.6797520661, 179.8202479339);
  --palette-background-grey-d5: rgb(84.1739130435, 91.1884057971, 97.3260869565);
  --palette-text-white: #ffffff;
  --palette-text-red: #FE6A64;
  --palette-text-yellow: #ffff00;
  --palette-text-green: #c16dff;
  --palette-text-grey: #aaaaaa;
  --palette-plain-black: #000;
  --palette-plain-green: #0F0;
  --palette-plain-yellow: #c4c415;
  --palette-plain-blue: #00F;
  --palette-plain-red: #F00;
}

body[data-th-extra=none] {
  --image-foreground: none;
  --image-foreground-position: unset;
  --image-foreground-repeat: unset;
}

body[data-th-extra=autumn] {
  --image-foreground: url("themes/extras/leaves_bottom.png");
  --image-foreground-position: left bottom;
  --image-foreground-repeat: repeat-x;
  --content-padding-bottom: 6rem;
}

body[data-th-extra=winter] {
  --image-foreground: url("themes/extras/snow_bottom.png"),
                      url("themes/extras/snow_top.png");
  --image-foreground-position: left bottom, left top;
  --image-foreground-repeat: repeat-x;
  --content-padding-bottom: 3rem;
}

body[data-th-extra=spring] {
  --image-foreground: url("themes/extras/spring_bottom.png"),
                      url("themes/extras/spring_bottom_fox.png"),
                      url("themes/extras/spring_top.png"),
                      url("themes/extras/spring_top_sky.png");
  --image-foreground-position: left bottom, right bottom ,right top ,left top;
  --image-foreground-repeat: repeat-x, no-repeat, no-repeat, repeat-x;
  --content-padding-bottom: 3rem;
}

body[data-th-extra=aurora] {
  --image-foreground: url("themes/extras/aurora.png");
  --image-foreground-position: left top;
  --image-foreground-repeat: repeat-x;
}

body {
  --image-foreground: url("themes/extras/hex.png");
  --image-foreground-position: left top;
  --image-foreground-repeat: repeat-x;
  --content-padding-bottom: 0.5rem;
}

body[data-th-extra=space] {
  --image-foreground: url("themes/extras/space.png");
  --image-foreground-position: left top;
  --image-foreground-repeat: repeat-x;
}

body[data-th-extra=stars] {
  --image-foreground: url("themes/extras/stars.png");
  --image-foreground-position: left top;
  --image-foreground-repeat: repeat-x;
}

html, body {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  /*  font-weight: normal;*/
  /*  font-style: normal;*/
  font-size: 100%;
  line-height: 1.25em;
  font-family: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ol, ul {
  list-style: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
}

html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: middle;
}

button,
input {
  line-height: normal;
  *overflow: visible;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input:focus,
textarea:focus,
button:focus {
  outline: none;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

body {
  color: #ffffff;
  color: var(--color-text);
  background-color: #020f23;
  background-color: var(--color-background);
  background-image: var(--image-background);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 85%;
  line-height: 1.25em;
  margin: 0 auto;
}

abbr[title=required] {
  display: none;
}

code {
  font-family: monospace;
  font-size: 1.2em;
}

dd {
  margin-bottom: 1em;
}

dt {
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Verdana, Geneva, sans-serif;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.16667em;
}

h4, h5, h6 {
  font-size: 1em;
}

fieldset {
  margin-bottom: 1em;
}

header {
  margin: 0 0 0.5rem 0;
  padding: 0;
}

img {
  border: none;
  vertical-align: middle;
}

menu, .menu {
  margin: 0;
  padding: 0;
}
menu ul, .menu ul {
  margin: 0;
  padding: 0;
}
menu li, .menu li {
  margin: 0;
  padding: 0 0.2em;
  list-style-type: none;
  display: inline;
}

.menu {
  font-size: 1.16667em;
}

p {
  margin-bottom: 1em;
}
p:last-child {
  margin-bottom: 0;
}

table tfoot {
  margin-top: 2em;
}

.hint {
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 70%;
}

.info {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 80%;
}

a,
a:link,
a:visited,
.link {
  color: #b4c7d9;
  color: var(--color-link);
  text-decoration: none;
}

.link {
  cursor: pointer;
}

a:hover, .link:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}

a:active {
  color: var(--color-link-active);
  text-decoration: none;
}

a.last-page {
  color: var(--color-link-last-page);
}

a.active {
  font-weight: bold;
}

a.wiki-link {
  margin-right: 0.3em;
}

body[data-th-font=Lato] {
  font-family: "Lato", Verdana, Geneva, sans-serif;
}
body[data-th-font=Lexend] {
  font-family: "Lexend", Verdana, Geneva, sans-serif;
}
body[data-th-font=Monospace] {
  font-family: monospace, monospace;
}
body[data-th-font=OpenDyslexic] {
  font-family: "OpenDyslexic", Verdana, Geneva, sans-serif;
}
body[data-th-font=OpenSans] {
  font-family: "OpenSans", Verdana, Geneva, sans-serif;
}
body[data-th-font=ComicSans] {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}

/** Font Definitions **/
@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato/Lato-Regular.woff2") format("woff2"), url("/public/fonts/Lato/Lato-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato/Lato-Bold.woff2") format("woff2"), url("/public/fonts/Lato/Lato-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato/Lato-Italic.woff2") format("woff2"), url("/public/fonts/Lato/Lato-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato/Lato-BoldItalic.woff2") format("woff2"), url("/public/fonts/Lato/Lato-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("/public/fonts/Lexend/Lexend-Regular.woff2") format("woff2"), url("/public/fonts/Lexend/Lexend-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("/public/fonts/Lexend/Lexend-Bold.woff2") format("woff2"), url("/public/fonts/Lexend/Lexend-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("/public/fonts/Lexend/Lexend-Italic.woff2") format("woff2"), url("/public/fonts/Lexend/Lexend-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("/public/fonts/Lexend/Lexend-BoldItalic.woff2") format("woff2"), url("/public/fonts/Lexend/Lexend-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("/public/fonts/OpenDyslexic/OpenDyslexic-Regular.woff2") format("woff2"), url("/public/fonts/OpenDyslexic/OpenDyslexic-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("/public/fonts/OpenDyslexic/OpenDyslexic-Bold.woff2") format("woff2"), url("/public/fonts/OpenDyslexic/OpenDyslexic-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("/public/fonts/OpenDyslexic/OpenDyslexic-Italic.woff2") format("woff2"), url("/public/fonts/OpenDyslexic/OpenDyslexic-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("/public/fonts/OpenDyslexic/OpenDyslexic-BoldItalic.woff2") format("woff2"), url("/public/fonts/OpenDyslexic/OpenDyslexic-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/public/fonts/OpenSans/OpenSans-Regular.woff2") format("woff2"), url("/public/fonts/OpenSans/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/public/fonts/OpenSans/OpenSans-Bold.woff2") format("woff2"), url("/public/fonts/OpenSans/OpenSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/public/fonts/OpenSans/OpenSans-Italic.woff2") format("woff2"), url("/public/fonts/OpenSans/OpenSans-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/public/fonts/OpenSans/OpenSans-BoldItalic.woff2") format("woff2"), url("/public/fonts/OpenSans/OpenSans-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/public/fonts/Roboto/Roboto-Regular.woff2") format("woff2"), url("/public/fonts/Roboto/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/public/fonts/Roboto/Roboto-Bold.woff2") format("woff2"), url("/public/fonts/Roboto/Roboto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/public/fonts/Roboto/Roboto-Italic.woff2") format("woff2"), url("/public/fonts/Roboto/Roboto-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/public/fonts/Roboto/Roboto-BoldItalic.woff2") format("woff2"), url("/public/fonts/Roboto/Roboto-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
.st-button {
  display: flex;
  gap: 0.25rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.5rem;
  height: 2rem;
  box-sizing: border-box;
  background: var(--color-section-lighten-5);
  color: var(--color-text);
}
.st-button:hover, .st-button:active {
  background: var(--color-section-lighten-10);
}
.st-button > svg {
  height: 1.5rem;
  width: 1.5rem;
  margin: -0.5rem 0;
  padding: 0.25rem;
  border-radius: 0.25rem;
}
.st-button > span {
  text-align: left;
  overflow: hidden;
  flex: 1;
}
.st-button.w100 {
  width: 100%;
}
.st-button.stealth {
  background: none;
  padding: 0.5rem 0;
}
.st-button.stealth svg {
  background: var(--color-section-lighten-5);
}
.st-button.stealth span {
  color: var(--color-link);
}
.st-button.stealth:hover svg {
  background: var(--color-section-lighten-10);
}
.st-button.stealth:hover span {
  color: var(--color-link-hover);
}
.st-button.icon {
  padding: 0.5rem 0;
}

.st-button.danger {
  background: var(--palette-background-red);
}
.st-button.danger:hover, .st-button.danger:active {
  background: var(--palette-background-red-d5);
}

label.st-toggle {
  display: flex;
  width: 2.5rem;
  height: 1.5rem;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  font-size: 0;
}
label.st-toggle::before {
  content: "";
  width: 2.5rem;
  height: 0.75rem;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0.375rem;
  background-color: var(--color-foreground);
  border-radius: 0.25rem;
  box-shadow: inset 0 0 0.25rem rgba(0, 0, 0, 0.3764705882);
}
label.st-toggle::after {
  content: "";
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 0.25rem;
  left: 0rem;
  background: var(--color-link);
  border-radius: 0.25rem;
  transition: left 100ms, background-color 200ms;
}

input[type=checkbox][disabled].st-toggle + label.st-toggle {
  cursor: not-allowed;
}
input[type=checkbox][disabled].st-toggle + label.st-toggle::before {
  background: var(--palette-background-grey);
}

input[type=checkbox].st-toggle {
  display: none;
}

input[type=checkbox].st-toggle:checked + label.st-toggle::after {
  content: "";
  left: 1.5rem;
  background: var(--color-link-active);
}

footer.footer-wrapper {
  background: var(--color-foreground);
  margin-top: 1rem;
}
footer.footer-wrapper .footer-grid {
  display: grid;
  grid-template-columns: min-content min-content;
  grid-template-areas: "logo .    " "left right";
  justify-items: center;
  gap: 0.5rem 0;
  width: min-content;
  margin: 0 auto;
  padding: 1rem;
}
footer.footer-wrapper .footer-logo {
  grid-area: logo;
  width: 100%;
  text-align: right;
}
footer.footer-wrapper .footer-logo img {
  width: 5rem;
  height: auto;
  margin-right: -3.25rem;
  background: var(--color-background) var(--image-background);
  border-radius: 25%;
  padding: 0.5rem;
}
footer.footer-wrapper .footer-left, footer.footer-wrapper .footer-right {
  display: flex;
  flex-flow: column;
  box-sizing: border-box;
  width: 100%;
  gap: 0.25rem;
  font-size: 1rem;
}
footer.footer-wrapper .footer-left a, footer.footer-wrapper .footer-left span, footer.footer-wrapper .footer-right a, footer.footer-wrapper .footer-right span {
  white-space: nowrap;
}
footer.footer-wrapper .footer-left span, footer.footer-wrapper .footer-right span {
  line-height: 1.25em;
}
footer.footer-wrapper .footer-left {
  grid-area: left;
  padding-right: 1rem;
  text-align: right;
  border-right: 1px solid var(--color-section-lighten-5);
}
footer.footer-wrapper .footer-right {
  grid-area: right;
  padding-left: 1rem;
}

@media (min-width: 450px) {
  footer.footer-wrapper .footer-grid {
    grid-template-areas: "logo left right";
    padding: 1rem 0;
  }
  footer.footer-wrapper .footer-logo {
    display: flex;
    align-items: center;
    padding-right: 2rem;
    box-sizing: border-box;
  }
  footer.footer-wrapper .footer-logo img {
    width: 6rem;
    margin-right: unset;
  }
}

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

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

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

.bg-highlight {
  background-color: var(--color-section-lighten-10);
}

.border-background {
  border: 1px solid var(--color-background);
}

.border-foreground {
  border: 1px solid var(--color-foreground);
}

.border-section {
  border: 1px solid var(--color-section);
}

.border-highlight {
  border: 1px solid var(--color-section-lighten-10);
}

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

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

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

.vpad-05 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.button, .simple_form div.collection-radio-buttons input + label {
  display: inline-block;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.25rem;
  padding: 0.25rem 0.5rem;
  border: 0;
  color: var(--color-text-white);
}
.button.btn-danger, .simple_form div.collection-radio-buttons input + label.btn-danger {
  color: var(--color-text-white);
  background: var(--color-danger);
}
.button.btn-danger:hover, .simple_form div.collection-radio-buttons input + label.btn-danger:hover {
  background: var(--color-danger-darken-5);
}
.button.btn-warn, .simple_form div.collection-radio-buttons input + label.btn-warn {
  color: var(--color-text-white);
  background: var(--color-warning);
}
.button.btn-warn:hover, .simple_form div.collection-radio-buttons input + label.btn-warn:hover {
  background: var(--color-warning-darken-5);
}
.button.btn-success, .simple_form div.collection-radio-buttons input + label.btn-success {
  color: var(--color-text-white);
  background: var(--color-success);
}
.button.btn-success:hover, .simple_form div.collection-radio-buttons input + label.btn-success:hover {
  background: var(--color-success-darken-5);
}
.button.btn-neutral, .simple_form div.collection-radio-buttons input + label.btn-neutral {
  color: var(--color-text-white);
  background: var(--color-section);
}
.button.btn-neutral:hover, .simple_form div.collection-radio-buttons input + label.btn-neutral:hover {
  background: var(--color-section-lighten-5);
}
.button.score-positive, .simple_form div.collection-radio-buttons input + label.score-positive {
  color: var(--palette-text-white);
  background: var(--palette-background-green);
}
.button.score-positive:hover, .simple_form div.collection-radio-buttons input + label.score-positive:hover {
  background: var(--palette-background-green-d5);
}
.button.score-negative, .simple_form div.collection-radio-buttons input + label.score-negative {
  color: var(--palette-text-white);
  background: var(--palette-background-red);
}
.button.score-negative:hover, .simple_form div.collection-radio-buttons input + label.score-negative:hover {
  background: var(--palette-background-red-d5);
}
.button.score-neutral, .simple_form div.collection-radio-buttons input + label.score-neutral {
  color: var(--palette-text-grey);
  background: var(--color-section);
}
.button.score-neutral:hover, .simple_form div.collection-radio-buttons input + label.score-neutral:hover {
  background: var(--color-section-darken-5);
}

.background-red {
  background: var(--palette-background-red) !important;
}

.text-red {
  color: var(--palette-text-red) !important;
}

.background-yellow {
  background: var(--palette-background-yellow) !important;
}

.text-yellow {
  color: var(--palette-text-yellow) !important;
}

.background-green {
  background: var(--palette-background-green) !important;
}

.text-green {
  color: var(--palette-text-green) !important;
}

.background-grey {
  background: var(--palette-background-grey) !important;
}

.text-grey {
  color: var(--palette-text-grey) !important;
}

.text-error {
  color: var(--palette-text-red) !important;
  font-weight: bold;
}

.text-bold {
  font-weight: bold;
}

#ad-leaderboard {
  margin-bottom: 0.5rem;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
}
#ad-leaderboard .adzone {
  height: 90px;
  width: 768px;
}

.ui-autocomplete {
  font-size: 0.9em;
}
.ui-autocomplete .ui-state-active {
  border: none;
  margin: 0 -1px;
  background-color: var(--color-section-darken-5);
  border-left: 1px solid #C5C5C5;
  border-right: 1px solid #C5C5C5;
}
.ui-autocomplete .ui-menu-item-wrapper {
  padding: 3px 0.5em 3px 0.4em;
}
.ui-autocomplete .ui-menu-item-wrapper a {
  margin-right: 1em;
}
.ui-autocomplete .autocomplete-arrow {
  color: black;
}

/*** Quick Edit Form ***/
#blacklist-edit-dialog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: min-content 1fr min-content;
  gap: 0.5rem;
}
#blacklist-edit-dialog textarea {
  grid-column: -1/1;
}
#blacklist-edit-dialog p {
  margin-bottom: 0;
  text-align: right;
  text-wrap: nowrap;
}
#blacklist-edit-dialog #blacklist-save,
#blacklist-edit-dialog #blacklist-cancel {
  width: min-content;
  height: 2em;
}
#blacklist-edit-dialog #blacklist-cancel {
  justify-self: end;
}

/*** Sidebar Blacklist ***/
.blacklist-ui {
  display: flex;
  flex-flow: column;
}
.blacklist-ui[filters="0"] {
  display: none;
}
.blacklist-ui .blacklist-header {
  display: flex;
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 1.3em;
  position: relative;
  cursor: pointer;
}
.blacklist-ui .blacklist-header .blacklisted-count {
  margin-left: 0.25em;
}
.blacklist-ui .blacklist-header::before {
  content: "";
  position: absolute;
  left: -1.2em;
  border: 0.3em solid transparent;
  border-color: transparent var(--color-text) var(--color-text) transparent;
  transform: rotate(45deg);
  bottom: 0.25em;
  transition: 0.1s ease-in-out;
}
.blacklist-ui[collapsed=true] .blacklist-header::before {
  transform: rotate(-45deg);
}
.blacklist-ui[collapsed=true] .blacklist-filters {
  max-height: 0;
  overflow: hidden;
}
.blacklist-ui[collapsed=false] .blacklist-filters {
  animation: hide-scroll 0.1s backwards;
  overflow-x: hidden;
  overflow-y: auto;
}
@keyframes hide-scroll {
  from, to {
    overflow: hidden;
  }
}
.blacklist-ui .blacklist-filters {
  display: flex;
  flex-flow: column;
  gap: 0.1rem;
  margin: 0.25em 0;
  max-height: 50vh;
  transition: max-height 0.1s ease-in-out;
}
.blacklist-ui .blacklist-filters li {
  display: flex;
  cursor: pointer;
}
.blacklist-ui .blacklist-filters li span {
  color: var(--color-text-muted);
  margin-left: 0.5em;
}
.blacklist-ui .blacklist-filters li::before {
  content: "☐";
  display: block;
  width: 1em;
  margin-right: 0.5em;
}
.blacklist-ui .blacklist-filters li[enabled=true]::before {
  content: "☑";
}
.blacklist-ui .blacklist-filters li[enabled=false] {
  color: var(--color-text-muted);
}
.blacklist-ui .blacklist-filters li[enabled=false] a {
  color: var(--color-text-muted);
}
.blacklist-ui .blacklist-footer {
  display: flex;
}
.blacklist-ui .blacklist-footer a.blacklist-toggle-all {
  cursor: pointer;
}
.blacklist-ui .blacklist-footer .blacklist-help {
  margin-left: auto;
}

/*** Inline Blacklist ***/
.blacklist-ui.blacklist-inline {
  flex-flow: row;
  flex-wrap: wrap;
  padding: 1em 0;
}
.blacklist-ui.blacklist-inline .blacklist-header {
  margin-left: 0;
  font-size: 1em;
}
.blacklist-ui.blacklist-inline .blacklist-header::before {
  display: none;
}
.blacklist-ui.blacklist-inline .blacklist-filters {
  flex-flow: row;
  gap: 0.75rem;
  margin: 0 0.75rem;
  flex-wrap: wrap;
  font-size: 1em;
}
.blacklist-ui.blacklist-inline .blacklist-filters li::before {
  display: none;
}
.blacklist-ui.blacklist-inline[collapsed=true] .blacklist-filters {
  display: none;
}
.blacklist-ui.blacklist-inline[collapsed=true] .blacklist-footer {
  margin-left: 0.75rem;
}
.blacklist-ui.blacklist-inline .blacklist-footer .blacklist-help {
  display: none;
}

#c-users #a-edit #user_blacklisted_tags {
  min-height: 20em;
  width: 100%;
}

#c-posts #a-index .thumbnail.blacklisted,
#c-popular .thumbnail.blacklisted,
#c-favorites .thumbnail.blacklisted {
  display: none !important;
}

#image-container.blacklisted img,
#image-container.blacklisted video,
.post-thumbnail.blacklisted img,
.post-thumbnail.blacklisted video {
  height: 0px !important;
  width: 0px !important;
  padding: 150px 150px 0px 0px !important;
  background: url("blacklisted-preview.png") !important;
}
@media screen and (max-width: 800px) {
  #image-container.blacklisted img,
  #image-container.blacklisted video,
  .post-thumbnail.blacklisted img,
  .post-thumbnail.blacklisted video {
    background-size: 100px !important;
    padding: 100px 100px 0px 0px !important;
  }
}
#image-container.blacklisted video,
.post-thumbnail.blacklisted video {
  pointer-events: none;
}
#image-container.blacklisted #note-container,
.post-thumbnail.blacklisted #note-container {
  display: none;
}

article.thumbnail.blacklisted {
  width: 100%;
}
article.thumbnail.blacklisted > a {
  width: 150px;
  height: 150px;
  background-image: url("blacklisted-preview.png");
  background-size: cover;
  background-position: center;
}
article.thumbnail.blacklisted img {
  display: none;
}

.box-section {
  background-color: var(--color-section);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 3px;
}
.box-section.background-green a:hover, .box-section.background-grey a:hover, .box-section.background-red a:hover, .box-section.background-yellow a:hover {
  color: var(--color-text);
}

.comment-post-grid {
  background: var(--color-section);
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 165px 1fr;
}
.comment-post-grid .author-info {
  padding: 0.25rem 0.5rem;
  grid-column: 1;
  grid-row: 1;
  background: rgba(255, 255, 255, 0.05);
  word-wrap: anywhere;
  overflow-wrap: anywhere;
}
.comment-post-grid .author-info .avatar .post-thumbnail img {
  height: auto;
  width: auto;
  max-height: 150px;
  max-width: 150px;
}
.comment-post-grid .author-info .post-time {
  font-style: italic;
}
.comment-post-grid .content {
  grid-column: 2;
  grid-row: 1;
  padding: 0.25rem 0.5rem;
}

@media screen and (max-width: 800px) {
  body.resp .comment-post-grid {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
  }
  body.resp .comment-post-grid .author-info {
    padding: unset;
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr;
    grid-column-gap: 0.5rem;
  }
  body.resp .comment-post-grid .author-info .name-rank {
    grid-column: 2;
    grid-row: 1;
  }
  body.resp .comment-post-grid .author-info .avatar {
    grid-column: 1;
    grid-row-start: 1;
    grid-row-end: 4;
  }
  body.resp .comment-post-grid .author-info .avatar .post-thumbnail img, body.resp .comment-post-grid .author-info .avatar .post-thumb.placeholder img {
    height: auto;
    width: auto;
    max-height: 100px;
    max-width: 100px;
  }
  body.resp .comment-post-grid .author-info .post-time {
    grid-column: 2;
    grid-row: 2;
  }
  body.resp .comment-post-grid .content {
    grid-column: 1;
    grid-row: 2;
  }
}
.diff-list .added, .diff-list .added a {
  color: green;
  text-decoration: none;
  margin-right: 0.5em;
}
.diff-list .added.obsolete, .diff-list .added.obsolete a {
  color: darkGreen;
  text-decoration: line-through;
}
.diff-list .removed, .diff-list .removed a {
  color: red;
  text-decoration: none;
  margin-right: 0.5em;
}
.diff-list .removed.obsolete, .diff-list .removed.obsolete a {
  text-decoration: line-through;
  color: darkRed;
}

.diff-list ins, .diff-list ins a {
  color: green;
  text-decoration: none;
  margin-right: 0.5em;
}
.diff-list del, .diff-list del a {
  color: red;
  text-decoration: none;
  margin-right: 0.5em;
}
.diff-list ins.obsolete, .diff-list ins.obsolete a {
  text-decoration: line-through;
  color: darkGreen;
}
.diff-list del.obsolete, .diff-list del.obsolete a {
  text-decoration: line-through;
  color: darkRed;
}

.diff ins, .diff del {
  text-decoration: none;
}
.diff ins {
  background-color: rgba(46, 160, 67, 0.25);
}
.diff ins strong {
  background-color: rgba(46, 160, 67, 0.4);
}
.diff del {
  background-color: rgba(248, 81, 73, 0.25);
}
.diff del strong {
  background-color: rgba(248, 81, 73, 0.4);
}
.diff li > span:empty:before {
  content: "​";
}
.diff li > ins > strong:empty:before, .diff li > del > strong:empty:before {
  content: "¶";
}

.dtext-container {
  overflow: hidden;
  word-wrap: anywhere;
  overflow-wrap: anywhere;
}

.styled-dtext {
  font-size: 1rem;
  line-height: 1.25rem;
  word-break: break-word;
}
@media (min-width: 800px) {
  .styled-dtext {
    font-size: 0.9rem;
  }
}
.styled-dtext p {
  line-height: inherit;
}
.styled-dtext .inline-code {
  font-family: monospace;
  white-space: pre-wrap;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0rem 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}
.styled-dtext div.spoiler, .styled-dtext details, .styled-dtext pre, .styled-dtext blockquote, .styled-dtext ul {
  margin-bottom: 0.75em;
}
.styled-dtext pre, .styled-dtext blockquote {
  padding: 0.25rem;
}
.styled-dtext details {
  padding: 0.5rem;
}
.styled-dtext h1, .styled-dtext h2, .styled-dtext h3, .styled-dtext h4, .styled-dtext h5, .styled-dtext h6 {
  line-height: 1em;
  margin-bottom: 0.25em;
}
.styled-dtext h1:not(:first-child), .styled-dtext h2:not(:first-child), .styled-dtext h3:not(:first-child), .styled-dtext h4:not(:first-child), .styled-dtext h5:not(:first-child), .styled-dtext h6:not(:first-child) {
  margin-top: 1.25em;
}
.styled-dtext h1 {
  font-size: 2em;
}
.styled-dtext h2 {
  font-size: 1.8em;
}
.styled-dtext h3 {
  font-size: 1.6em;
}
.styled-dtext h4 {
  font-size: 1.4em;
}
.styled-dtext h5 {
  font-size: 1.2em;
}
.styled-dtext h6 {
  font-size: 1em;
}
.styled-dtext ul {
  margin-left: 1em;
}
.styled-dtext ul ul {
  margin-bottom: 0;
}
.styled-dtext li {
  list-style-type: disc;
}
.styled-dtext pre {
  font-family: monospace;
  white-space: pre-wrap;
}
.styled-dtext details summary {
  font-weight: bold;
  cursor: pointer;
}
.styled-dtext details summary::marker {
  font-size: large;
}
.styled-dtext details > div {
  margin-top: 0.75em;
}
.styled-dtext details > div > :last-child {
  margin-bottom: 0;
}
.styled-dtext a.dtext-external-link::after {
  content: "\f35d";
  font-size: 0.6em;
  padding: 0 0.2em 0 0.3em;
  vertical-align: 1px;
}
.styled-dtext details, .styled-dtext pre, .styled-dtext blockquote {
  border-radius: 3px;
  border: 1px solid var(--color-section);
  border-left: 0.25rem solid var(--color-danger);
  background: var(--color-section-lighten-5);
}
.styled-dtext pre {
  border-left-color: var(--color-dtext-code);
}
.styled-dtext blockquote {
  border-left-color: var(--color-dtext-quote);
}
.styled-dtext details {
  border-left-color: var(--color-dtext-section);
}
.styled-dtext .dtext-color-gen {
  color: var(--color-tag-general);
}
.styled-dtext .dtext-color-general {
  color: var(--color-tag-general);
}
.styled-dtext .dtext-color-art {
  color: var(--color-tag-artist);
}
.styled-dtext .dtext-color-artist {
  color: var(--color-tag-artist);
}
.styled-dtext .dtext-color-cont {
  color: var(--color-tag-contributor);
}
.styled-dtext .dtext-color-contributor {
  color: var(--color-tag-contributor);
}
.styled-dtext .dtext-color-copy {
  color: var(--color-tag-copyright);
}
.styled-dtext .dtext-color-copyright {
  color: var(--color-tag-copyright);
}
.styled-dtext .dtext-color-char {
  color: var(--color-tag-character);
}
.styled-dtext .dtext-color-character {
  color: var(--color-tag-character);
}
.styled-dtext .dtext-color-spec {
  color: var(--color-tag-species);
}
.styled-dtext .dtext-color-species {
  color: var(--color-tag-species);
}
.styled-dtext .dtext-color-inv {
  color: var(--color-tag-invalid);
}
.styled-dtext .dtext-color-invalid {
  color: var(--color-tag-invalid);
}
.styled-dtext .dtext-color-meta {
  color: var(--color-tag-meta);
}
.styled-dtext .dtext-color-meta {
  color: var(--color-tag-meta);
}
.styled-dtext .dtext-color-lor {
  color: var(--color-tag-lore);
}
.styled-dtext .dtext-color-lore {
  color: var(--color-tag-lore);
}

div.post-thumbnail.dtext {
  position: relative;
  display: inline-block;
}

.dtext-formatter {
  display: grid;
  grid-template-columns: min-content auto;
  background: rgba(0, 0, 0, 0.2078431373);
  border-radius: 4px;
  position: relative;
}
.dtext-formatter .dtext-formatter-tabs {
  grid-area: 1/1/1/1;
  white-space: nowrap;
  padding: 0.5rem 0.75rem 0;
}
.dtext-formatter .dtext-formatter-tabs a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin-right: 0.5rem;
  border-radius: 4px 4px 0 0;
  outline: 0;
  font-weight: 500;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Chrome, Edge, Opera and Firefox */
}
.dtext-formatter .dtext-formatter-tabs a:hover {
  background: rgba(255, 255, 255, 0.0823529412);
}
.dtext-formatter .dtext-formatter-buttons {
  grid-area: 1/2/1/2;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding-top: 0.5rem;
}
.dtext-formatter .dtext-formatter-buttons a {
  box-sizing: border-box;
  padding: 0.5rem 0.625rem;
  border-radius: 6px 6px 0 0;
  margin-right: 0.25rem;
  cursor: pointer;
  line-height: 1;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Chrome, Edge, Opera and Firefox */
}
.dtext-formatter .dtext-formatter-buttons a:hover {
  background: rgba(255, 255, 255, 0.0823529412);
}
.dtext-formatter .dtext-formatter-buttons .spacer {
  width: 1em;
}
.dtext-formatter .dtext-formatter-input, .dtext-formatter .dtext-formatter-preview {
  grid-area: 2/1/2/3;
  width: 100% !important;
  max-width: unset !important;
  height: 100%;
  min-height: 8rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, 0.2078431373);
  padding: 0.25rem 0.5rem;
  font-family: inherit;
  font-size: 1em;
}
.dtext-formatter .dtext-formatter-preview[loading=true] {
  position: relative;
}
.dtext-formatter .dtext-formatter-preview[loading=true]::before {
  content: "Loading . . .";
  font-size: 1.25rem;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: loading-pulsate 4s linear infinite;
}
@keyframes loading-pulsate {
  from {
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  to {
    opacity: 0;
  }
}
.dtext-formatter .dtext-formatter-charcount {
  grid-area: 3/1/3/3;
  font-size: 0.75rem;
  line-height: 0.75rem;
  height: 0.75rem;
  position: absolute;
  right: 1.25rem;
  bottom: 0.15rem;
  pointer-events: none;
}
.dtext-formatter .dtext-formatter-charcount::before {
  content: attr(data-count) " / " attr(data-limit);
}
.dtext-formatter .dtext-formatter-charcount[data-limit="0"]::before {
  content: attr(data-count);
}
.dtext-formatter .dtext-formatter-charcount[data-count="0"] {
  visibility: hidden;
}
.dtext-formatter .dtext-formatter-charcount:not([data-limit="0"]).overfill {
  color: orangered !important;
  font-weight: bold;
}
.dtext-formatter[data-editing=true] .dtext-formatter-tabs a[data-action=edit] {
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2509803922);
}
.dtext-formatter[data-editing=true] .dtext-formatter-preview {
  display: none !important;
}
.dtext-formatter[data-editing=true] .dtext-formatter-charcount {
  color: black;
}
.dtext-formatter[data-editing=false] .dtext-formatter-tabs a[data-action=show] {
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2509803922);
}
.dtext-formatter[data-editing=false] .dtext-formatter-buttons {
  visibility: hidden;
}
.dtext-formatter[data-editing=false] .dtext-formatter-input {
  display: none !important;
}

button, input, select, textarea {
  border: 0;
  border-radius: 2px;
  padding: 1px 2px;
}

label {
  font-weight: bold;
  white-space: nowrap;
}

textarea {
  display: block;
  font-family: monospace;
  font-size: 1.2em;
}

textarea.no-block {
  display: inline;
}

input[type=button] {
  min-width: 5rem;
}

input[type=submit] {
  min-width: 5rem;
}

input[type=radio] {
  border-radius: 0;
  box-shadow: none;
}

input:focus {
  background: #FFC;
  color: black;
}

select:focus {
  background: #FFC;
  color: black;
}

textarea:focus {
  background: #FFC;
  color: black;
}

input:disabled {
  background-color: #DDD;
}

.simple_form {
  padding: 0.5rem;
  border-radius: 3px;
  background-color: var(--color-section);
}

.password-input input[type=password] {
  border-radius: 0.25rem 0.25rem 0 0 !important;
  padding-bottom: 0 !important;
}
.password-input .password-strength {
  width: 100%;
  height: 0.25rem;
  border-radius: 0 0 0.25rem 0.25rem !important;
  background: white;
  overflow: hidden;
  margin: 0;
}
.password-input .password-strength .password-progress {
  background: linear-gradient(to right, var(--palette-text-red) 0%, var(--palette-text-yellow) 25%, var(--palette-text-green) 100%);
  background-size: 360px 100%;
  height: 100%;
  transition: width 1s ease-in-out;
}
.password-input .password-feedback {
  display: flex;
  flex-flow: column;
  padding-left: 1em;
}
.password-input .password-feedback span {
  display: list-item;
}
.password-input .password-feedback .password-warning {
  font-weight: bold;
}
.password-input .password-feedback:not([count="0"]) {
  margin-top: 0.5em;
}

span.error {
  display: block;
  font-weight: bold;
  color: red;
}

span.count {
  color: var(--color-text-muted);
  margin-left: 0.5em;
}

kbd.key {
  background: #333;
  padding: 2px 7px;
  color: white;
  /*  width: 1em;*/
  text-align: center;
  display: inline-block;
  border-radius: 3px;
}

span.inactive {
  color: var(--color-text-muted);
}

.ui-widget {
  font-family: Verdana, Geneva, sans-serif;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
  font-family: Verdana, Geneva, sans-serif;
}

div.ui-dialog {
  height: auto;
  overflow: visible;
  font-size: 1em;
  z-index: 999;
  box-shadow: none;
  padding: 0;
}
div.ui-dialog .ui-dialog-titlebar {
  border-radius: 0;
  border: none;
}
div.ui-dialog ul {
  margin-left: 1em;
  margin-bottom: 1em;
}

.ui-state-highlight {
  background-color: var(--color-section);
  color: var(--color-text);
  border: 1px solid var(--color-background);
}
.ui-state-highlight a, .ui-state-highlight a:link, .ui-state-highlight a:active, .ui-state-highlight a:visited {
  color: var(--color-link);
}
.ui-state-highlight a:hover {
  color: var(--color-link-hover);
}

.ui-state-error {
  border: 1px solid rgb(167.2727272727, 28.2272727273, 28.2272727273);
  background: #e45f5f;
}

.ui-button {
  margin: 0;
  padding: 0.25em 1em;
  color: black;
  border: 1px solid silver;
  background-color: white;
}
.ui-button.sub {
  font-size: 90%;
}
.ui-button.tiny {
  font-size: 90%;
  padding: 0.25em 0.5em;
}
.ui-button:hover {
  box-shadow: 1px 1px grey;
  background: rgb(229.5, 229.5, 229.5);
}

.ui-front {
  z-index: 1000;
}

.ui-widget-content {
  border: 1px solid var(--color-text-muted);
  background-color: var(--color-section-lighten-10);
  color: var(--color-text);
}
.ui-widget-content a {
  color: var(--color-link);
}
.ui-widget-content a:hover {
  color: var(--color-link-hover);
}

.ui-widget-header {
  background-color: var(--color-background);
  color: var(--color-text);
}

.link-decoration {
  vertical-align: middle;
  min-height: 16px;
  height: 1em;
  margin-right: 4px;
}

div#search {
  margin-bottom: 1em;
}

body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

div#page {
  flex: 1;
  overflow: visible;
  padding: 0.5rem 0.25rem var(--content-padding-bottom);
  background-color: #152f56;
  background-color: var(--color-foreground);
  background-image: var(--image-foreground);
  background-position: var(--image-foreground-position);
  background-repeat: var(--image-foreground-repeat);
}
@media (min-width: 800px) {
  div#page {
    border-radius: 6px;
    margin: 0.5rem 1rem 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
div#page:after {
  display: block;
  visibility: hidden;
  content: "";
  clear: both;
}
div#page div.site-notice {
  background-color: var(--color-section);
  padding: 0.5rem;
  text-align: center;
  position: relative;
  border: 0;
  margin-bottom: 0.5rem;
}
div#page div.site-notice h1 {
  font-size: 1.5em;
}
div#page div.site-notice p:last-child {
  margin-bottom: 0;
}
div#page aside#sidebar {
  width: 15em;
  float: left;
}
div#page aside#sidebar h1 {
  font-size: 1.16667em;
}
div#page aside#sidebar #search-box input[type=text] {
  /* ensure expanded search box renders above post thumbnails. */
  z-index: 1;
  position: relative;
  width: 13em;
  padding: 0.125rem 0.125rem;
  border-right: 0;
  box-sizing: border-box;
  border-radius: 3px 0 0 3px;
}
div#page aside#sidebar #search-box button[type=submit] {
  padding: 2px 6px;
  background: #eee;
  width: 2em;
  border-left: 1px solid #ccc;
  border-radius: 0 3px 3px 0;
}
div#page aside#sidebar > section {
  margin-bottom: 1em;
}
div#page section#content {
  overflow: visible;
  margin-left: 15em;
  padding-left: 1em;
}

.mobile-search {
  display: none;
}

div.clearfix {
  clear: both;
}

.search-help {
  float: right;
  font-size: 70%;
}

nav.navigation {
  display: grid;
  grid-template-areas: "logo logo controls";
  grid-template-columns: min-content auto;
  grid-template-rows: min-content min-content min-content min-content auto;
  width: 100%;
  z-index: 200;
  position: relative;
  /* Top bar, always visible */
  /* Offset elements on the left and bottom */
  /* Toggled menus, hidden by default */
}
nav.navigation .nav-logo {
  grid-area: logo;
  background-color: var(--color-background);
  height: 3.75rem;
}
nav.navigation .nav-logo a.nav-logo-link {
  display: flex;
  box-sizing: border-box;
  height: 3.5rem;
  width: 4rem;
  margin: 0.125rem;
  background-image: url("main-logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: center;
}
nav.navigation .nav-controls {
  grid-area: controls;
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
  font-size: 1.15rem;
  background-color: var(--color-background);
  padding-right: 0.25rem;
  height: 3.75rem;
}
nav.navigation .nav-controls > a {
  display: flex;
  padding: 0.625rem 0.5rem;
}
nav.navigation .nav-controls > a > span {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  gap: 0.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  line-height: 1.5rem;
  padding: 0 0.5rem;
  background: var(--color-foreground);
  color: var(--color-link-active);
  border-radius: 0.25rem;
  white-space: nowrap;
}
nav.navigation .nav-controls > a:hover > span, nav.navigation .nav-controls > a:active > span {
  background: var(--color-section);
}
nav.navigation .nav-controls > a:focus {
  outline: none;
}
nav.navigation .nav-controls #nav-toggle .on {
  display: none;
}
nav.navigation .nav-offset-left {
  grid-area: offleft;
  display: none;
  background: rgba(0, 0, 0, 0.3137254902);
}
nav.navigation .nav-offset-bott {
  grid-area: offbott;
  display: none;
  background: rgba(0, 0, 0, 0.3137254902);
}
nav.navigation .nav-primary {
  grid-area: primary;
  display: none;
}
nav.navigation .nav-primary li {
  padding: 0;
}
nav.navigation .nav-primary li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
nav.navigation .nav-primary li > a svg {
  margin: -0.25rem 0;
  color: var(--color-link-active);
}
nav.navigation .nav-secondary {
  grid-area: secondary;
  display: none;
}
nav.navigation .nav-secondary li {
  padding: 0;
}
nav.navigation .nav-secondary li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
nav.navigation .nav-secondary li > a svg {
  margin: -0.25rem 0;
  color: var(--color-link-active);
}
nav.navigation .nav-tools {
  grid-area: tools;
  display: none;
}
nav.navigation .nav-tools li {
  padding: 0;
}
nav.navigation .nav-tools li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
nav.navigation .nav-tools li > a svg {
  margin: -0.25rem 0;
  color: var(--color-link-active);
}
nav.navigation .nav-help {
  grid-area: help;
  display: none;
}
nav.navigation .nav-help li {
  padding: 0;
}
nav.navigation .nav-help li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
nav.navigation .nav-help li > a svg {
  margin: -0.25rem 0;
  color: var(--color-link-active);
}
nav.navigation .nav-primary, nav.navigation .nav-secondary {
  flex-flow: column;
  height: 422px;
  overflow-y: scroll;
}
nav.navigation .nav-primary li a, nav.navigation .nav-secondary li a {
  justify-content: start;
}
nav.navigation .nav-primary {
  background-color: var(--color-section);
  font-size: 1.25rem;
}
nav.navigation .nav-primary li > a {
  border-bottom: 1px solid var(--color-foreground);
  line-height: 1.25rem;
  padding: 1rem 0.5rem;
}
nav.navigation .nav-primary li.current a {
  background-color: var(--color-foreground);
}
nav.navigation .nav-primary li.nav-hidden {
  display: none;
}
nav.navigation .nav-secondary {
  background-color: var(--color-foreground);
  font-size: 1.2rem;
}
nav.navigation .nav-secondary li > a {
  border-bottom: 1px solid var(--color-section);
  line-height: 1.2rem;
  padding: 0.7rem;
  white-space: wrap;
}
nav.navigation .nav-secondary li.divider {
  border-bottom: 1px solid var(--color-section);
  height: 0.25rem;
}
nav.navigation .nav-secondary li form input[type=text] {
  width: 100%;
  box-sizing: border-box;
  font-size: 1.25rem;
  padding: 0.5rem 0.5rem;
}
nav.navigation .nav-tools, nav.navigation .nav-help {
  grid-template-rows: min-content;
  font-size: 1.1rem;
  gap: 1rem;
  background-color: var(--color-section);
}
nav.navigation .nav-tools li > a, nav.navigation .nav-help li > a {
  justify-content: center;
  border-radius: 0.25rem;
  padding: 0.7rem 1rem;
  line-height: 1.1rem;
}
nav.navigation .nav-tools {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-foreground);
  padding: 1rem 1rem 0.5rem;
}
nav.navigation .nav-tools li a {
  background: var(--color-section-lighten-5);
}
nav.navigation .nav-tools li.nav-tools-login {
  grid-column: 1/-1;
}
nav.navigation .nav-tools.anonymous li.nav-tools-themes {
  grid-column: 1/-1;
}
nav.navigation .nav-help {
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0.5rem 1rem 1rem;
}
nav.navigation .nav-help li a {
  background: var(--color-section-darken-5);
}
nav.navigation .nav-help li.nav-help-discord, nav.navigation .nav-help li.nav-help-subscribestar {
  grid-column: 1/-1;
}
nav.navigation .nav-help li > a img {
  height: 1.5rem;
  margin: -0.2rem 0;
}
nav.navigation .nav-help li#nav-more {
  grid-row: 1;
  grid-column: 3;
}

body[data-th-sheader=true] nav.navigation {
  position: sticky;
  top: 0;
}

nav.navigation .nav-primary li.notification {
  position: relative;
}
nav.navigation .nav-primary li.notification::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--palette-text-red);
  position: absolute;
  right: 0.2rem;
  top: 1.25rem;
}
@media (min-width: 800px) {
  nav.navigation .nav-primary li.notification::after {
    top: 0.2rem;
  }
}

html.nav-toggled {
  height: 100%;
  overflow: hidden;
}
html.nav-toggled body {
  padding-top: 3.75rem;
}
html.nav-toggled nav.navigation {
  grid-template-areas: "logo    logo    controls" "offleft primary secondary " "offleft tools   tools     " "offleft help    help      " "offbott offbott offbott   ";
  grid-template-columns: auto minmax(auto, 180px) minmax(auto, 180px);
  position: fixed;
  top: 0;
  height: 100vh;
  max-width: 100vw;
  overflow-y: scroll;
}
html.nav-toggled nav.navigation .nav-primary, html.nav-toggled nav.navigation .nav-secondary, html.nav-toggled nav.navigation .nav-offset-left, html.nav-toggled nav.navigation .nav-offset-bott {
  display: flex;
}
html.nav-toggled nav.navigation .nav-tools, html.nav-toggled nav.navigation .nav-help {
  display: grid;
}
html.nav-toggled nav.navigation .nav-primary, html.nav-toggled nav.navigation .nav-tools, html.nav-toggled nav.navigation .nav-help {
  box-shadow: -3px 3px 5px -1px var(--color-background);
}
html.nav-toggled .nav-controls #nav-toggle .on {
  display: block;
}
html.nav-toggled .nav-controls #nav-toggle .off {
  display: none;
}

@media (min-width: 50rem) {
  nav.navigation, html.nav-toggled nav.navigation {
    grid-template-areas: "logo primary   help      help  controls" "logo secondary secondary tools controls";
    grid-template-columns: min-content min-content minmax(0, 1fr) min-content 4.25rem;
    grid-template-rows: 1.5rem 1.75rem;
    padding: 0 1rem 0.5rem;
    box-sizing: border-box;
    height: unset;
    background: var(--color-background);
    overflow-y: unset;
  }
  nav.navigation .nav-logo a.nav-logo-link, html.nav-toggled nav.navigation .nav-logo a.nav-logo-link {
    height: 3.25rem;
    width: 3.25rem;
    margin: 0.25rem 0.5rem 0 0;
  }
  nav.navigation .mobile, html.nav-toggled nav.navigation .mobile {
    display: none;
  }
  nav.navigation .desktop, html.nav-toggled nav.navigation .desktop {
    display: flex;
    flex-flow: row;
    font-size: 0.875rem;
    box-shadow: unset;
  }
  nav.navigation .desktop li a, html.nav-toggled nav.navigation .desktop li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 0.625rem;
    white-space: nowrap;
  }
  nav.navigation .nav-primary, html.nav-toggled nav.navigation .nav-primary {
    background: unset;
    height: unset;
    padding-left: 0.25rem;
    overflow-y: unset;
  }
  nav.navigation .nav-primary li a, html.nav-toggled nav.navigation .nav-primary li a {
    border-bottom: 0;
  }
  nav.navigation .nav-primary li a svg, html.nav-toggled nav.navigation .nav-primary li a svg {
    display: none;
  }
  nav.navigation .nav-secondary, html.nav-toggled nav.navigation .nav-secondary {
    height: unset;
    padding: 0 0.25rem;
    border-radius: 0.25rem 0 0 0.25rem;
    overflow-y: unset;
    overflow: hidden;
    z-index: 1;
  }
  nav.navigation .nav-secondary li a, html.nav-toggled nav.navigation .nav-secondary li a {
    border-bottom: 0;
  }
  nav.navigation .nav-secondary li.divider, html.nav-toggled nav.navigation .nav-secondary li.divider {
    display: flex;
    align-items: center;
    height: 100%;
  }
  nav.navigation .nav-secondary li.divider::after, html.nav-toggled nav.navigation .nav-secondary li.divider::after {
    content: "|";
  }
  nav.navigation .nav-secondary li form input[type=text], html.nav-toggled nav.navigation .nav-secondary li form input[type=text] {
    width: 12rem;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    border-radius: 0.25rem;
  }
  nav.navigation .nav-tools, nav.navigation .nav-help, html.nav-toggled nav.navigation .nav-tools, html.nav-toggled nav.navigation .nav-help {
    padding: 0;
    background: unset;
    border: none;
    gap: 0;
  }
  nav.navigation .nav-tools li a, nav.navigation .nav-help li a, html.nav-toggled nav.navigation .nav-tools li a, html.nav-toggled nav.navigation .nav-help li a {
    gap: 0.25rem;
    background: unset;
    text-align: unset;
    border-radius: 0;
  }
  nav.navigation .nav-tools, html.nav-toggled nav.navigation .nav-tools {
    background: var(--color-foreground);
    z-index: 1;
    border-radius: 0 0.25rem 0.25rem 0;
    margin-right: 0.25rem;
  }
  nav.navigation .nav-tools li a, html.nav-toggled nav.navigation .nav-tools li a {
    padding: 0 0.5rem;
  }
  nav.navigation .nav-tools li a svg, html.nav-toggled nav.navigation .nav-tools li a svg {
    color: var(--color-link);
    height: 1.25rem;
    width: 1.25rem;
  }
  nav.navigation .nav-tools li a:hover svg, html.nav-toggled nav.navigation .nav-tools li a:hover svg {
    color: var(--color-link-hover);
  }
  nav.navigation .nav-tools li.nav-tools-themes a span, nav.navigation .nav-tools li.nav-tools-settings a span, html.nav-toggled nav.navigation .nav-tools li.nav-tools-themes a span, html.nav-toggled nav.navigation .nav-tools li.nav-tools-settings a span {
    display: none;
  }
  nav.navigation .nav-help, html.nav-toggled nav.navigation .nav-help {
    overflow: hidden;
  }
  nav.navigation .nav-help li a img, html.nav-toggled nav.navigation .nav-help li a img {
    display: none;
  }
  nav.navigation .nav-help li.current a, html.nav-toggled nav.navigation .nav-help li.current a {
    background-color: var(--color-foreground);
  }
  nav.navigation .nav-controls, html.nav-toggled nav.navigation .nav-controls {
    position: absolute;
    right: 0;
    top: 0;
    height: 3.25rem;
    box-sizing: border-box;
    padding: 0;
  }
  nav.navigation .nav-controls #nav-toggle, html.nav-toggled nav.navigation .nav-controls #nav-toggle {
    display: none;
  }
  nav.navigation .nav-controls a, html.nav-toggled nav.navigation .nav-controls a {
    padding: 0;
  }
  nav.navigation .collapse-1, html.nav-toggled nav.navigation .collapse-1 {
    display: none;
  }
}
@media (min-width: 50rem) and (min-width: 77rem) {
  nav.navigation .collapse-1, html.nav-toggled nav.navigation .collapse-1 {
    display: flex;
  }
}
@media (min-width: 50rem) {
  nav.navigation .collapse-2 .avatar-name, html.nav-toggled nav.navigation .collapse-2 .avatar-name {
    display: none;
  }
}
@media (min-width: 50rem) and (min-width: 65rem) {
  nav.navigation .collapse-2 .avatar-name, html.nav-toggled nav.navigation .collapse-2 .avatar-name {
    display: unset;
  }
}

@media (min-width: 50rem) {
  body[data-user-is-anonymous=true] nav.navigation {
    grid-template-columns: min-content min-content minmax(0, 1fr) min-content 3.25rem;
  }
}

@media (min-width: 50rem) {
  body.c-static.a-home nav.navigation {
    grid-template-areas: "logo primary help controls";
    grid-template-columns: repeat(4, min-content);
    justify-content: center;
    width: min-content;
    margin: 0 auto;
    padding: 0 0 0.5rem;
  }
  body.c-static.a-home nav.navigation #nav-subscribestar, body.c-static.a-home nav.navigation #nav-discord, body.c-static.a-home nav.navigation .nav-secondary, body.c-static.a-home nav.navigation .nav-tools {
    display: none;
  }
  body.c-static.a-home nav.navigation, body.c-static.a-home menu.nav-logo, body.c-static.a-home menu.nav-secondary, body.c-static.a-home menu.nav-controls {
    background: unset;
  }
  body.c-static.a-home menu.nav-tools {
    background: var(--bg-color);
  }
  body.c-static.a-home menu.nav-controls {
    position: static;
    height: unset;
    padding: 0;
  }
  body.c-static.a-home menu.nav-controls .avatar-image, body.c-static.a-home menu.nav-controls .login-image, body.c-static.a-home menu.nav-controls .avatar-more {
    display: none;
  }
  body.c-static.a-home menu.nav-controls .simple-avatar-menu {
    top: 2rem;
  }
}
@media (max-width: 50rem) {
  body.c-static.a-home nav.navigation {
    grid-template-areas: "logo    logo    controls" "offleft primary primary " "offleft tools   tools   " "offleft help    help    " "offleft offbott offbott ";
  }
  body.c-static.a-home nav.navigation .nav-secondary {
    display: none;
  }
}

div#page div#news {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 0;
  margin-top: -0.5em;
  border-radius: 0 0 6px 6px;
  max-height: 2rem;
  overflow-y: hidden;
  user-select: none;
  position: relative;
  text-align: unset;
}
div#page div#news.open {
  max-height: none;
}
div#page div#news.open #news-body {
  pointer-events: unset;
}
div#page div#news #news-header {
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  text-align: center;
  padding: 0.5rem;
}
div#page div#news #news-body {
  display: block;
  box-sizing: border-box;
  max-width: 800px;
  padding: 0 0.5rem 0.5rem;
  pointer-events: none;
}
div#page div#news #news-dismiss {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.25rem 1rem;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: bold;
}

div.error-messages {
  margin: 1em 0;
  padding: 1rem;
}
div.error-messages h1 {
  font-size: 1em;
  color: #a00;
}

div#notice {
  padding: 0.25em;
  position: fixed;
  top: 1rem;
  left: 25%;
  width: 50%;
  z-index: 500;
  color: var(--color-text);
  background-color: var(--color-success);
  border: 1px solid var(--color-foreground);
}
div#notice.ui-state-error {
  background-color: var(--color-danger);
}

a#close-notice-link {
  display: flex;
  float: right;
  padding: 0 0.75em;
}

nav.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: var(--color-foreground);
  border-radius: 0.25rem;
  width: max-content;
  margin: 0 auto;
  max-width: calc(100vw - 1rem);
}
nav.pagination > a, nav.pagination > span {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  min-width: 2.15rem;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.75rem 0.3rem;
  border-radius: 0.25rem;
}
nav.pagination > a:hover, nav.pagination > span:hover {
  background: var(--color-section);
}
nav.pagination span.prev, nav.pagination span.next {
  cursor: default;
}
nav.pagination .page {
  order: 20;
}
nav.pagination .page.lg {
  display: none;
}
nav.pagination .page.current {
  cursor: default;
}
nav.pagination .prev {
  order: 1;
  margin-right: auto;
}
nav.pagination .spacer {
  order: 20;
  padding: 0;
}
nav.pagination .spacer:last-child {
  display: none;
}
nav.pagination .spacer svg {
  height: 1rem;
  transform: rotate(90deg);
}
nav.pagination .next {
  order: 9;
  margin-left: auto;
}
nav.pagination .break {
  order: 10;
  width: 100%;
}
@media (min-width: 35rem) {
  nav.pagination {
    justify-content: center;
    gap: 0.125rem;
  }
  nav.pagination a, nav.pagination span {
    order: 0 !important;
    min-width: 2.25rem;
    font-size: 0.9rem;
  }
  nav.pagination .break {
    display: none;
  }
  nav.pagination .spacer {
    padding: inherit;
  }
  nav.pagination .spacer svg {
    transform: unset;
  }
  nav.pagination .prev {
    margin-right: 1rem;
  }
  nav.pagination .next {
    margin-left: 1rem;
  }
}
@media (min-width: 50rem) {
  nav.pagination a, nav.pagination span {
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
  }
  nav.pagination .prev span, nav.pagination .next span {
    display: none;
  }
}
@media (min-width: 65rem) {
  nav.pagination a.page.lg {
    display: flex;
  }
}

nav.pagination.sequential {
  gap: 5rem;
}
nav.pagination.sequential a span {
  display: block;
}

.post-search {
  display: flex;
  flex-wrap: wrap;
}
.post-search .post-search-title {
  flex: 1;
}
.post-search .post-search-help {
  font-size: 90%;
}
.post-search form.post-search-form {
  display: flex;
  width: 100%;
}
.post-search form.post-search-form textarea {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
  vertical-align: unset;
  border: unset;
  width: unset;
  max-width: unset;
  margin-bottom: 0 !important;
  resize: none;
  border-radius: 0.25rem 0 0 0.25rem;
  box-sizing: border-box;
  flex: 1;
}
.post-search form.post-search-form textarea:focus, .post-search form.post-search-form textarea:focus + button[type=submit] {
  background: #FFC;
}
.post-search form.post-search-form button[type=submit] {
  font-size: unset;
  max-width: unset;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
  background: white;
  color: black;
}
.post-search form.post-search-form button[type=submit] svg {
  height: 1.5rem;
  width: 1.5rem;
  margin: -0.25rem 0 -0.25rem;
}
@media (min-width: 800px) {
  .post-search form.post-search-form textarea {
    font-size: 0.85rem;
  }
  .post-search form.post-search-form button[type=submit] svg {
    height: 1.25rem;
    width: 1.25rem;
    margin: -0.125rem 0 -0.125rem;
  }
}

.score-negative,
.score-neutral,
.score-positive,
.post-score-rating {
  font-weight: 700;
}

.score-positive, span.score-positive {
  color: var(--palette-text-green);
}
.score-positive a, span.score-positive a {
  color: var(--palette-text-green);
}

.score-negative, span.score-negative {
  color: var(--palette-text-red);
}
.score-negative a, span.score-negative a {
  color: var(--palette-text-red);
}

.score-neutral, span.score-neutral {
  color: var(--palette-text-grey);
}
.score-neutral a, span.score-neutral a {
  color: var(--palette-text-grey);
}

.post-rating-text-safe {
  color: var(--palette-text-green);
}

.post-rating-text-questionable {
  color: var(--palette-text-yellow);
}

.post-rating-text-explicit {
  color: var(--palette-text-red);
}

.simple_form {
  margin: 0 0 1em 0;
}
.simple_form div.input.boolean label {
  display: inline;
  margin-right: 0.25em;
}
.simple_form div.input {
  margin-bottom: 1em;
}
.simple_form div.input input[type=text], .simple_form div.input input[type=file], .simple_form div.input input[type=password], .simple_form div.input input[type=email] {
  max-width: 80%;
}
.simple_form div.input span.hint {
  display: block;
  font-size: 70%;
}
.simple_form div.input textarea {
  width: 80%;
}
.simple_form div.input label {
  display: block;
  font-weight: bold;
  line-height: 1.5em;
}
.simple_form div.input fieldset {
  border: none;
  display: inline;
  margin: 0;
  padding: 0;
}
.simple_form div.input fieldset label, .simple_form div.input fieldset .input {
  font-weight: normal;
  width: auto;
  margin-right: 2em;
  display: inline;
}
.simple_form div.collection-radio-buttons input {
  display: none;
}
.simple_form div.collection-radio-buttons input + label {
  color: black !important;
  background-color: white;
  margin: 0 0.75rem 0.25rem 0;
  font-weight: normal;
  cursor: pointer;
}
.simple_form div.collection-radio-buttons input:checked + label {
  background-color: var(--color-button-active);
}

.inline-form {
  display: table;
}
.inline-form > div.input {
  display: table-row;
  line-height: 2em;
}
.inline-form > div.input label {
  text-align: right;
}
.inline-form > div.input.boolean label {
  display: table-cell;
}
.inline-form > div.input label, .inline-form > div.input input {
  display: table-cell;
  padding-right: 1rem;
  white-space: nowrap;
}

div.ui-dialog div.input input[type=text] {
  width: 100%;
  max-width: 100%;
}

.styled-dtext .spoiler {
  background: black;
}
.styled-dtext .spoiler, .styled-dtext .spoiler a {
  color: transparent;
  text-shadow: 0 0 0 black;
}
.styled-dtext .spoiler .inline-code, .styled-dtext .spoiler pre, .styled-dtext .spoiler blockquote, .styled-dtext .spoiler details {
  background-color: black;
}
.styled-dtext .spoiler:hover {
  color: white;
}
.styled-dtext .spoiler:hover a {
  animation: delay-pointer-events 50ms;
  color: var(--color-spoiler-link);
}
@keyframes delay-pointer-events {
  0%, 99% {
    pointer-events: none;
  }
}
.styled-dtext .spoiler:hover a:hover {
  color: var(--color-spoiler-link-hover);
}
.styled-dtext .spoiler:hover .inline-code {
  background-color: rgba(255, 255, 255, 0.2);
}

table.striped {
  width: 100%;
}
table.striped *:last-child {
  margin: 0;
}
table.striped td, table.striped th {
  padding: 4px 6px;
}
table.striped tbody tr {
  background-color: var(--color-section);
  border-bottom: 1px solid var(--color-table-border);
}
table.striped tbody tr td {
  padding: 0.5rem 0.25rem;
}
table.striped tbody tr td.full-width-link {
  padding: 0;
  word-break: break-word;
}
table.striped tbody tr td.full-width-link > a {
  width: 100%;
  display: inline-block;
  padding: 0.5rem 0.25rem;
}
table.striped tbody tr:hover {
  background-color: var(--color-section-lighten-10);
}
table.striped tbody tr.selected {
  background-color: var(--color-section-lighten-10);
}
table.striped .number, table.striped .links {
  text-align: right;
}
table.striped thead tr {
  background-color: var(--color-section-darken-5);
  border-bottom: 1px solid var(--color-foreground);
}
table.striped thead th {
  font-weight: bold;
  text-align: left;
  color: var(--color-text-table-header);
}

/*
 * A table where one column expands to fill the screen, while the
 * other columns shrink to fit their contents.
 */
table.autofit td, table.autofit th, table.autofit .col-fit {
  white-space: nowrap;
  padding-right: 2em;
}
table.autofit .col-expand {
  white-space: normal;
  width: 100%;
}
table.autofit .col-normal {
  white-space: normal;
}

table.search tr {
  height: 2em;
}
table.search th {
  text-align: right;
  padding-right: 1rem;
  vertical-align: top;
}
table.search td {
  vertical-align: top;
}

table.aligned-vertical tr {
  height: 1.75em;
}

.category-0 a, .category-0 a:link, .category-0 a:visited,
a.tag-type-0,
a.tag-type-0:link,
a.tag-type-0:visited,
.ui-widget-content .category-0 a,
.ui-widget-content .category-0 a:link,
.ui-widget-content .category-0 a:visited,
.ui-widget-content a.tag-type-0,
.ui-widget-content a.tag-type-0:link,
.ui-widget-content a.tag-type-0:visited {
  color: var(--color-tag-general);
}
.category-0 a:hover,
a.tag-type-0:hover,
.ui-widget-content .category-0 a:hover,
.ui-widget-content a.tag-type-0:hover {
  color: var(--color-tag-general-alt);
}
.category-0 a.selected,
a.tag-type-0.selected,
.ui-widget-content .category-0 a.selected,
.ui-widget-content a.tag-type-0.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-0 {
  color: var(--color-tag-general-alt);
}
.ui-widget-content .ui-state-active a.tag-type-0:link, .ui-widget-content .ui-state-active a.tag-type-0:visited {
  color: var(--color-tag-general);
}
.ui-widget-content .ui-state-active a.tag-type-0:hover {
  color: var(--color-tag-general-alt);
}
.ui-widget-content .ui-state-active a.tag-type-0.selected {
  color: white;
}

.category-1 a, .category-1 a:link, .category-1 a:visited,
a.tag-type-1,
a.tag-type-1:link,
a.tag-type-1:visited,
.ui-widget-content .category-1 a,
.ui-widget-content .category-1 a:link,
.ui-widget-content .category-1 a:visited,
.ui-widget-content a.tag-type-1,
.ui-widget-content a.tag-type-1:link,
.ui-widget-content a.tag-type-1:visited {
  color: var(--color-tag-artist);
}
.category-1 a:hover,
a.tag-type-1:hover,
.ui-widget-content .category-1 a:hover,
.ui-widget-content a.tag-type-1:hover {
  color: var(--color-tag-artist-alt);
}
.category-1 a.selected,
a.tag-type-1.selected,
.ui-widget-content .category-1 a.selected,
.ui-widget-content a.tag-type-1.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-1 {
  color: var(--color-tag-artist-alt);
}
.ui-widget-content .ui-state-active a.tag-type-1:link, .ui-widget-content .ui-state-active a.tag-type-1:visited {
  color: var(--color-tag-artist);
}
.ui-widget-content .ui-state-active a.tag-type-1:hover {
  color: var(--color-tag-artist-alt);
}
.ui-widget-content .ui-state-active a.tag-type-1.selected {
  color: white;
}

.category-2 a, .category-2 a:link, .category-2 a:visited,
a.tag-type-2,
a.tag-type-2:link,
a.tag-type-2:visited,
.ui-widget-content .category-2 a,
.ui-widget-content .category-2 a:link,
.ui-widget-content .category-2 a:visited,
.ui-widget-content a.tag-type-2,
.ui-widget-content a.tag-type-2:link,
.ui-widget-content a.tag-type-2:visited {
  color: var(--color-tag-contributor);
}
.category-2 a:hover,
a.tag-type-2:hover,
.ui-widget-content .category-2 a:hover,
.ui-widget-content a.tag-type-2:hover {
  color: var(--color-tag-contributor-alt);
}
.category-2 a.selected,
a.tag-type-2.selected,
.ui-widget-content .category-2 a.selected,
.ui-widget-content a.tag-type-2.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-2 {
  color: var(--color-tag-contributor-alt);
}
.ui-widget-content .ui-state-active a.tag-type-2:link, .ui-widget-content .ui-state-active a.tag-type-2:visited {
  color: var(--color-tag-contributor);
}
.ui-widget-content .ui-state-active a.tag-type-2:hover {
  color: var(--color-tag-contributor-alt);
}
.ui-widget-content .ui-state-active a.tag-type-2.selected {
  color: white;
}

.category-3 a, .category-3 a:link, .category-3 a:visited,
a.tag-type-3,
a.tag-type-3:link,
a.tag-type-3:visited,
.ui-widget-content .category-3 a,
.ui-widget-content .category-3 a:link,
.ui-widget-content .category-3 a:visited,
.ui-widget-content a.tag-type-3,
.ui-widget-content a.tag-type-3:link,
.ui-widget-content a.tag-type-3:visited {
  color: var(--color-tag-copyright);
}
.category-3 a:hover,
a.tag-type-3:hover,
.ui-widget-content .category-3 a:hover,
.ui-widget-content a.tag-type-3:hover {
  color: var(--color-tag-copyright-alt);
}
.category-3 a.selected,
a.tag-type-3.selected,
.ui-widget-content .category-3 a.selected,
.ui-widget-content a.tag-type-3.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-3 {
  color: var(--color-tag-copyright-alt);
}
.ui-widget-content .ui-state-active a.tag-type-3:link, .ui-widget-content .ui-state-active a.tag-type-3:visited {
  color: var(--color-tag-copyright);
}
.ui-widget-content .ui-state-active a.tag-type-3:hover {
  color: var(--color-tag-copyright-alt);
}
.ui-widget-content .ui-state-active a.tag-type-3.selected {
  color: white;
}

.category-4 a, .category-4 a:link, .category-4 a:visited,
a.tag-type-4,
a.tag-type-4:link,
a.tag-type-4:visited,
.ui-widget-content .category-4 a,
.ui-widget-content .category-4 a:link,
.ui-widget-content .category-4 a:visited,
.ui-widget-content a.tag-type-4,
.ui-widget-content a.tag-type-4:link,
.ui-widget-content a.tag-type-4:visited {
  color: var(--color-tag-character);
}
.category-4 a:hover,
a.tag-type-4:hover,
.ui-widget-content .category-4 a:hover,
.ui-widget-content a.tag-type-4:hover {
  color: var(--color-tag-character-alt);
}
.category-4 a.selected,
a.tag-type-4.selected,
.ui-widget-content .category-4 a.selected,
.ui-widget-content a.tag-type-4.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-4 {
  color: var(--color-tag-character-alt);
}
.ui-widget-content .ui-state-active a.tag-type-4:link, .ui-widget-content .ui-state-active a.tag-type-4:visited {
  color: var(--color-tag-character);
}
.ui-widget-content .ui-state-active a.tag-type-4:hover {
  color: var(--color-tag-character-alt);
}
.ui-widget-content .ui-state-active a.tag-type-4.selected {
  color: white;
}

.category-5 a, .category-5 a:link, .category-5 a:visited,
a.tag-type-5,
a.tag-type-5:link,
a.tag-type-5:visited,
.ui-widget-content .category-5 a,
.ui-widget-content .category-5 a:link,
.ui-widget-content .category-5 a:visited,
.ui-widget-content a.tag-type-5,
.ui-widget-content a.tag-type-5:link,
.ui-widget-content a.tag-type-5:visited {
  color: var(--color-tag-species);
}
.category-5 a:hover,
a.tag-type-5:hover,
.ui-widget-content .category-5 a:hover,
.ui-widget-content a.tag-type-5:hover {
  color: var(--color-tag-species-alt);
}
.category-5 a.selected,
a.tag-type-5.selected,
.ui-widget-content .category-5 a.selected,
.ui-widget-content a.tag-type-5.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-5 {
  color: var(--color-tag-species-alt);
}
.ui-widget-content .ui-state-active a.tag-type-5:link, .ui-widget-content .ui-state-active a.tag-type-5:visited {
  color: var(--color-tag-species);
}
.ui-widget-content .ui-state-active a.tag-type-5:hover {
  color: var(--color-tag-species-alt);
}
.ui-widget-content .ui-state-active a.tag-type-5.selected {
  color: white;
}

.category-6 a, .category-6 a:link, .category-6 a:visited,
a.tag-type-6,
a.tag-type-6:link,
a.tag-type-6:visited,
.ui-widget-content .category-6 a,
.ui-widget-content .category-6 a:link,
.ui-widget-content .category-6 a:visited,
.ui-widget-content a.tag-type-6,
.ui-widget-content a.tag-type-6:link,
.ui-widget-content a.tag-type-6:visited {
  color: var(--color-tag-invalid);
}
.category-6 a:hover,
a.tag-type-6:hover,
.ui-widget-content .category-6 a:hover,
.ui-widget-content a.tag-type-6:hover {
  color: var(--color-tag-invalid-alt);
}
.category-6 a.selected,
a.tag-type-6.selected,
.ui-widget-content .category-6 a.selected,
.ui-widget-content a.tag-type-6.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-6 {
  color: var(--color-tag-invalid-alt);
}
.ui-widget-content .ui-state-active a.tag-type-6:link, .ui-widget-content .ui-state-active a.tag-type-6:visited {
  color: var(--color-tag-invalid);
}
.ui-widget-content .ui-state-active a.tag-type-6:hover {
  color: var(--color-tag-invalid-alt);
}
.ui-widget-content .ui-state-active a.tag-type-6.selected {
  color: white;
}

.category-7 a, .category-7 a:link, .category-7 a:visited,
a.tag-type-7,
a.tag-type-7:link,
a.tag-type-7:visited,
.ui-widget-content .category-7 a,
.ui-widget-content .category-7 a:link,
.ui-widget-content .category-7 a:visited,
.ui-widget-content a.tag-type-7,
.ui-widget-content a.tag-type-7:link,
.ui-widget-content a.tag-type-7:visited {
  color: var(--color-tag-meta);
}
.category-7 a:hover,
a.tag-type-7:hover,
.ui-widget-content .category-7 a:hover,
.ui-widget-content a.tag-type-7:hover {
  color: var(--color-tag-meta-alt);
}
.category-7 a.selected,
a.tag-type-7.selected,
.ui-widget-content .category-7 a.selected,
.ui-widget-content a.tag-type-7.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-7 {
  color: var(--color-tag-meta-alt);
}
.ui-widget-content .ui-state-active a.tag-type-7:link, .ui-widget-content .ui-state-active a.tag-type-7:visited {
  color: var(--color-tag-meta);
}
.ui-widget-content .ui-state-active a.tag-type-7:hover {
  color: var(--color-tag-meta-alt);
}
.ui-widget-content .ui-state-active a.tag-type-7.selected {
  color: white;
}

.category-8 a, .category-8 a:link, .category-8 a:visited,
a.tag-type-8,
a.tag-type-8:link,
a.tag-type-8:visited,
.ui-widget-content .category-8 a,
.ui-widget-content .category-8 a:link,
.ui-widget-content .category-8 a:visited,
.ui-widget-content a.tag-type-8,
.ui-widget-content a.tag-type-8:link,
.ui-widget-content a.tag-type-8:visited {
  color: var(--color-tag-lore);
}
.category-8 a:hover,
a.tag-type-8:hover,
.ui-widget-content .category-8 a:hover,
.ui-widget-content a.tag-type-8:hover {
  color: var(--color-tag-lore-alt);
}
.category-8 a.selected,
a.tag-type-8.selected,
.ui-widget-content .category-8 a.selected,
.ui-widget-content a.tag-type-8.selected {
  color: white;
}

.ui-widget-content .ui-state-active a.tag-type-8 {
  color: var(--color-tag-lore-alt);
}
.ui-widget-content .ui-state-active a.tag-type-8:link, .ui-widget-content .ui-state-active a.tag-type-8:visited {
  color: var(--color-tag-lore);
}
.ui-widget-content .ui-state-active a.tag-type-8:hover {
  color: var(--color-tag-lore-alt);
}
.ui-widget-content .ui-state-active a.tag-type-8.selected {
  color: white;
}

ul.inline-tag-list {
  display: inline;
}
ul.inline-tag-list li {
  display: inline;
  margin-right: 0.5em;
}

.post-count {
  font-size: 85%;
  font-weight: 500;
  margin-left: 0.2em;
}

.low-post-count {
  color: red;
}

section.posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (min-width: 474px) {
  section.posts-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
section.posts-container h2.posts-container-header {
  grid-column: -1/1;
}
section.posts-container .no-results {
  grid-column: -1/1;
}

article.thumbnail {
  display: inline-flex;
  flex-flow: column;
  max-width: 150px;
  justify-self: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 474px) {
  article.thumbnail {
    width: min-content;
  }
}
article.thumbnail[data-tags~=animated] > a:before {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0.5rem;
  padding: 2px 4px;
  background-color: var(--color-section);
  color: var(--color-text);
  font-size: 60%;
  font-weight: bold;
  text-align: center;
  border-radius: 0 3px 3px 0;
  border: 1px solid var(--color-text-muted);
  border-left: 0;
  content: "ANIM";
}
article.thumbnail[data-file-ext=webm] > a:before {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0.5rem;
  padding: 2px 4px;
  background-color: var(--color-section);
  color: var(--color-text);
  font-size: 60%;
  font-weight: bold;
  text-align: center;
  border-radius: 0 3px 3px 0;
  border: 1px solid var(--color-text-muted);
  border-left: 0;
  content: "WEBM";
}
article.thumbnail a {
  text-align: center;
}
article.thumbnail img {
  box-sizing: border-box;
  max-width: 150px;
  max-height: 150px;
  border-radius: 3px 3px 0 0;
  pointer-events: none;
  width: 100%;
}
@media (min-width: 474px) {
  article.thumbnail img {
    width: unset;
  }
}
article.thumbnail .desc {
  display: flex;
  gap: 0.25em;
  justify-content: center;
  background-color: var(--color-section-lighten-5);
  border-radius: 0 0 3px 3px;
}
article.thumbnail .desc .rating {
  font-weight: 700;
}
article.thumbnail .desc > a {
  text-align: center;
}
article.thumbnail[data-rating=e] .desc .rating {
  color: var(--palette-text-red);
}
article.thumbnail[data-rating=q] .desc .rating {
  color: var(--palette-text-yellow);
}
article.thumbnail[data-rating=s] .desc .rating {
  color: var(--palette-text-green);
}
article.thumbnail.filter-matches .desc {
  background-color: var(--palette-background-red);
}

@media (max-width: 800px) {
  body[data-disable-cropped-thumbnails=false] article.thumbnail {
    width: 100%;
  }
  body[data-disable-cropped-thumbnails=false] article.thumbnail a {
    height: 100%;
  }
  body[data-disable-cropped-thumbnails=false] article.thumbnail img {
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 800px) and (min-width: 474px) {
  body[data-disable-cropped-thumbnails=false] article.thumbnail img.has-cropped-false {
    width: 150px;
  }
}
article.thumbnail.current-post {
  background-color: rgba(0, 0, 0, 0.1);
}

article.thumbnail.has-children img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green);
}
article.thumbnail.has-parent img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-yellow);
}
article.thumbnail.has-children.has-parent img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-yellow) var(--palette-plain-yellow) var(--palette-plain-green);
}
article.thumbnail.deleted img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-black);
}
article.thumbnail.has-children.deleted img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-black) var(--palette-plain-black) var(--palette-plain-green);
}
article.thumbnail.has-parent.deleted img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-yellow) var(--palette-plain-black) var(--palette-plain-black) var(--palette-plain-yellow);
}
article.thumbnail.has-children.has-parent.deleted img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-black) var(--palette-plain-black) var(--palette-plain-yellow);
}
article.thumbnail.pending img, article.thumbnail.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-blue);
}
article.thumbnail.has-children.pending img, article.thumbnail.has-children.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-blue) var(--palette-plain-blue) var(--palette-plain-green);
}
article.thumbnail.has-parent.pending img, article.thumbnail.has-parent.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-yellow) var(--palette-plain-blue) var(--palette-plain-blue) var(--palette-plain-yellow);
}
article.thumbnail.has-children.has-parent.pending img, article.thumbnail.has-children.has-parent.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-blue) var(--palette-plain-blue) var(--palette-plain-yellow);
}

body[data-user-can-approve-posts=true] article.thumbnail.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-red);
}
body[data-user-can-approve-posts=true] article.thumbnail.has-children.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-red) var(--palette-plain-red) var(--palette-plain-green);
}
body[data-user-can-approve-posts=true] article.thumbnail.has-parent.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-yellow) var(--palette-plain-red) var(--palette-plain-red) var(--palette-plain-yellow);
}
body[data-user-can-approve-posts=true] article.thumbnail.has-children.has-parent.flagged img {
  border: 2px solid transparent;
  border-color: var(--palette-plain-green) var(--palette-plain-red) var(--palette-plain-red) var(--palette-plain-yellow);
}

a.user-blocked.with-style {
  color: var(--color-user-blocked);
}
a.user-blocked.with-style:hover {
  color: var(--color-user-blocked-alt);
}

a.user-member.with-style {
  color: var(--color-user-member);
}
a.user-member.with-style:hover {
  color: var(--color-user-member-alt);
}

a.user-privileged.with-style {
  color: var(--color-user-privileged);
}
a.user-privileged.with-style:hover {
  color: var(--color-user-privileged-alt);
}

a.user-former-staff.with-style {
  color: var(--color-user-former-staff);
}
a.user-former-staff.with-style:hover {
  color: var(--color-user-former-staff-alt);
}

a.user-janitor.with-style {
  color: var(--color-user-janitor);
}
a.user-janitor.with-style:hover {
  color: var(--color-user-janitor-alt);
}

a.user-moderator.with-style {
  color: var(--color-user-moderator);
}
a.user-moderator.with-style:hover {
  color: var(--color-user-moderator-alt);
}

a.user-admin.with-style {
  color: var(--color-user-admin);
}
a.user-admin.with-style:hover {
  color: var(--color-user-admin-alt);
}

a.user-blocked.with-style {
  text-decoration: line-through;
}

svg.chexagon {
  height: 1em;
  width: 1em;
  vertical-align: sub;
  color: var(--color-tag-artist);
}
svg.chexagon .check {
  color: var(--color-text);
}

.comment-vote-down-link, .comment-vote-up-link, .post-vote-up-link, .post-vote-down-link {
  cursor: pointer;
}

.profile-avatar .avatar-image {
  display: flex;
  width: 5rem;
  height: 5rem;
  position: relative;
  background: var(--color-section);
  border-radius: 0.25rem;
}
.profile-avatar .avatar-image::after {
  content: attr(data-initial);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5rem;
  font-weight: bold;
  color: var(--color-foreground);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.profile-avatar .avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 0.25rem;
}

nav.navigation .simple-avatar .avatar-name {
  display: none;
  border-radius: 0.25rem 0 0 0.25rem;
}
nav.navigation .simple-avatar .avatar-image {
  padding: 0;
  border-radius: 0;
  border-radius: 0.25rem 0 0 0.25rem;
  overflow: hidden;
  position: relative;
}
nav.navigation .simple-avatar .avatar-image img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  position: absolute;
}
nav.navigation .simple-avatar .avatar-image::before {
  content: attr(data-name);
  color: var(--color-background);
  font-weight: bold;
  font-size: 2.25rem;
}
nav.navigation .simple-avatar .avatar-more {
  border-radius: 0 0.25rem 0.25rem 0;
  padding: 0;
  min-width: unset;
  position: relative;
}
nav.navigation .simple-avatar .avatar-more svg {
  width: 1rem;
}
nav.navigation .simple-avatar[data-has-mail=true] .avatar-more::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0.125rem 0.25rem;
  background: var(--palette-text-red);
  box-shadow: -1px -1px 3px var(--color-section);
  border-radius: 50%;
}
@media (min-width: 34rem) {
  nav.navigation .simple-avatar .avatar-name {
    display: flex;
  }
  nav.navigation .simple-avatar .avatar-image {
    border-radius: 0;
  }
}
@media (min-width: 50rem) {
  nav.navigation .simple-avatar .avatar-name {
    background: none;
    color: inherit;
    height: 1.5rem;
    line-height: 1.25rem;
    font-size: 0.875rem;
  }
  nav.navigation .simple-avatar .avatar-image {
    height: 3rem;
    width: 3rem;
    margin-top: 0.25rem;
    border-radius: 0.25rem 0 0 0.25rem;
  }
  nav.navigation .simple-avatar .avatar-image img {
    height: 3rem;
    width: 3rem;
  }
  nav.navigation .simple-avatar:hover .avatar-name, nav.navigation .simple-avatar:active .avatar-name {
    background: none;
  }
  nav.navigation .simple-avatar .avatar-more {
    height: 3rem;
    margin-top: 0.25rem;
  }
}

nav.navigation .simple-avatar-menu {
  position: absolute;
  top: 3.75rem;
  right: 4.25rem;
  display: flex;
  flex-flow: column;
  box-sizing: border-box;
  min-width: 10rem;
  padding: 0.25rem 0;
  background: var(--color-section);
  box-shadow: 0px 2px 4px -1px var(--color-background);
  border-radius: 0.25rem;
}
nav.navigation .simple-avatar-menu.hidden {
  display: none;
}
nav.navigation .simple-avatar-menu h4 {
  margin: 0.25rem 2.5rem;
  color: var(--color-text-muted);
  cursor: default;
  font-size: 0.9rem;
  line-height: 1rem;
  font-weight: normal;
}
nav.navigation .simple-avatar-menu a {
  display: flex;
  gap: 0.5rem;
  position: relative;
  padding: 0.5rem 0.5rem;
  box-sizing: border-box;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1rem;
}
nav.navigation .simple-avatar-menu a:hover {
  background: var(--color-section-darken-5);
}
nav.navigation .simple-avatar-menu a svg {
  height: 1.5rem;
  margin: -0.25rem 0;
}
nav.navigation .simple-avatar-menu a.secondary {
  padding-left: 1rem;
}
nav.navigation .simple-avatar-menu a.secondary svg {
  color: var(--color-text-muted);
  height: 1.25rem;
}
nav.navigation .simple-avatar-menu hr {
  width: 90%;
  color: var(--color-section-lighten-10);
}
nav.navigation .simple-avatar-menu[data-has-mail=true] .simple-avatar-dmails::before {
  content: "";
  position: absolute;
  right: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0.125rem 0.25rem;
  background: var(--palette-text-red);
  box-shadow: -1px -1px 3px var(--color-section);
  border-radius: 50%;
}
@media (min-width: 50rem) {
  nav.navigation .simple-avatar-menu {
    right: 0;
  }
}

nav.navigation .simple-login .login-name {
  border-radius: 0.25rem 0 0 0.25rem;
}
nav.navigation .simple-login .login-image {
  border-radius: 0 0.25rem 0.25rem 0;
  background: var(--color-section);
}
@media (min-width: 50rem) {
  nav.navigation .simple-login .login-name {
    background: none;
    color: inherit;
    height: 1.5rem;
    line-height: 1.25rem;
    font-size: 0.875rem;
  }
  nav.navigation .simple-login:hover .login-name, nav.navigation .simple-login:active .login-name {
    background: none;
  }
  nav.navigation .simple-login .login-image {
    height: 3rem;
    width: 3rem;
    margin-top: 0.25rem;
    color: inherit;
    border-radius: 0.25rem;
    background: var(--color-foreground);
  }
  nav.navigation .simple-login:hover .login-image {
    background: var(--color-section);
  }
}

.user-record {
  display: flex;
  margin: -0.125rem 0;
  height: 1.25rem;
  width: 1.25rem;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4));
}
.user-record.deleted path {
  fill: var(--palette-background-yellow);
}
.user-record.negative path {
  fill: var(--palette-background-red);
}
.user-record.neutral path {
  fill: var(--palette-background-grey);
}
.user-record.positive path {
  fill: var(--palette-background-green);
}

.user-records-list {
  display: flex;
  flex-flow: row;
  gap: 0.25rem;
}
.user-records-list:hover .user-record.deleted path {
  fill: var(--palette-background-yellow-d5);
}
.user-records-list:hover .user-record.negative path {
  fill: var(--palette-background-red-d5);
}
.user-records-list:hover .user-record.neutral path {
  fill: var(--palette-background-grey-d5);
}
.user-records-list:hover .user-record.positive path {
  fill: var(--palette-background-green-d5);
}

.level-badge {
  font-weight: bold;
  font-size: 0.65rem;
  color: black;
  background: var(--color-user-member);
  padding: 0.1rem 0.25rem;
  border-radius: 0.25rem;
}
.level-badge.level-unactivated {
  background: var(--color-user-unactivated);
}
.level-badge.level-blocked {
  background: var(--color-user-blocked);
}
.level-badge.level-member {
  background: var(--color-user-member);
}
.level-badge.level-privileged {
  background: var(--color-user-privileged);
}
.level-badge.level-former-staff {
  background: var(--color-user-former-staff);
}
.level-badge.level-janitor {
  background: var(--color-user-janitor);
}
.level-badge.level-moderator {
  background: var(--color-user-moderator);
}
.level-badge.level-admin {
  background: var(--color-user-admin);
}
.level-badge.level-moderator {
  color: #ffffff;
}
.level-badge.level-janitor {
  color: #ffffff;
}
.level-badge.level-unactivated {
  background: var(--palette-background-red);
  color: #ffffff;
}

body.c-maintenance-user-passwords.a-edit input[type=password] {
  width: 100%;
  max-width: unset;
  box-sizing: border-box;
  border-radius: 0.25rem;
  padding: 0.25rem;
  font-size: 1rem;
}
@media (min-width: 50rem) {
  body.c-maintenance-user-passwords.a-edit input[type=password] {
    font-size: 0.85rem;
  }
}
body.c-maintenance-user-passwords.a-edit input[type=submit], body.c-maintenance-user-passwords.a-edit .cancel-btn {
  font-size: 1.25rem;
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  vertical-align: middle;
  background: var(--color-section-lighten-5);
}
body.c-maintenance-user-passwords.a-edit input[type=submit]:hover, body.c-maintenance-user-passwords.a-edit input[type=submit]:active, body.c-maintenance-user-passwords.a-edit .cancel-btn:hover, body.c-maintenance-user-passwords.a-edit .cancel-btn:active {
  background: var(--color-section-lighten-10);
}
body.c-maintenance-user-passwords.a-edit input[type=submit] {
  background: var(--color-tag-artist);
}
body.c-maintenance-user-passwords.a-edit input[type=submit]:hover, body.c-maintenance-user-passwords.a-edit input[type=submit]:active {
  background: var(--color-tag-artist-alt);
}
body.c-maintenance-user-passwords.a-edit form.simple_form {
  background: unset;
  padding: unset;
  margin: unset;
  max-width: unset;
}
body.c-maintenance-user-passwords.a-edit .settings-container {
  max-width: 50rem;
  margin-top: 0.5rem;
}
body.c-maintenance-user-passwords.a-edit .settings-container-header {
  background: var(--color-section-lighten-5);
  border-radius: 0.25rem 0.25rem 0 0;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.5rem;
}
body.c-maintenance-user-passwords.a-edit .settings-container-content {
  background: var(--color-section);
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 50rem) {
  body.c-maintenance-user-passwords.a-edit .settings-container-content {
    grid-template-columns: 1fr 360px;
  }
}
body.c-maintenance-user-passwords.a-edit .settings-container-content .settings-input {
  max-width: 360px;
}
body.c-maintenance-user-passwords.a-edit .settings-container-content .settings-confirm {
  grid-column: 1/-1;
  text-align: right;
}

h5.tag-list-header {
  font-size: 1.25rem;
  cursor: pointer;
}
h5.tag-list-header.hidden-category::before {
  content: "► ";
}

ul.tag-list {
  display: flex;
  flex-flow: column;
  gap: 0.5rem 0;
  margin: 0.5rem 0;
}
ul.tag-list li {
  display: flex;
  width: fit-content;
  background: var(--color-section);
  border: 0.125rem solid var(--color-section-lighten-5);
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}
ul.tag-list li.tag-general {
  border-left-color: var(--color-tag-general);
}
ul.tag-list li.tag-general:hover {
  border-left-color: var(--color-tag-general-alt);
}
ul.tag-list li.tag-general a, ul.tag-list li.tag-general a:link {
  color: var(--color-tag-general);
}
ul.tag-list li.tag-general a:hover, ul.tag-list li.tag-general a:active {
  color: var(--color-tag-general-alt);
}
ul.tag-list li.tag-artist {
  border-left-color: var(--color-tag-artist);
}
ul.tag-list li.tag-artist:hover {
  border-left-color: var(--color-tag-artist-alt);
}
ul.tag-list li.tag-artist a, ul.tag-list li.tag-artist a:link {
  color: var(--color-tag-artist);
}
ul.tag-list li.tag-artist a:hover, ul.tag-list li.tag-artist a:active {
  color: var(--color-tag-artist-alt);
}
ul.tag-list li.tag-contributor {
  border-left-color: var(--color-tag-contributor);
}
ul.tag-list li.tag-contributor:hover {
  border-left-color: var(--color-tag-contributor-alt);
}
ul.tag-list li.tag-contributor a, ul.tag-list li.tag-contributor a:link {
  color: var(--color-tag-contributor);
}
ul.tag-list li.tag-contributor a:hover, ul.tag-list li.tag-contributor a:active {
  color: var(--color-tag-contributor-alt);
}
ul.tag-list li.tag-copyright {
  border-left-color: var(--color-tag-copyright);
}
ul.tag-list li.tag-copyright:hover {
  border-left-color: var(--color-tag-copyright-alt);
}
ul.tag-list li.tag-copyright a, ul.tag-list li.tag-copyright a:link {
  color: var(--color-tag-copyright);
}
ul.tag-list li.tag-copyright a:hover, ul.tag-list li.tag-copyright a:active {
  color: var(--color-tag-copyright-alt);
}
ul.tag-list li.tag-character {
  border-left-color: var(--color-tag-character);
}
ul.tag-list li.tag-character:hover {
  border-left-color: var(--color-tag-character-alt);
}
ul.tag-list li.tag-character a, ul.tag-list li.tag-character a:link {
  color: var(--color-tag-character);
}
ul.tag-list li.tag-character a:hover, ul.tag-list li.tag-character a:active {
  color: var(--color-tag-character-alt);
}
ul.tag-list li.tag-species {
  border-left-color: var(--color-tag-species);
}
ul.tag-list li.tag-species:hover {
  border-left-color: var(--color-tag-species-alt);
}
ul.tag-list li.tag-species a, ul.tag-list li.tag-species a:link {
  color: var(--color-tag-species);
}
ul.tag-list li.tag-species a:hover, ul.tag-list li.tag-species a:active {
  color: var(--color-tag-species-alt);
}
ul.tag-list li.tag-invalid {
  border-left-color: var(--color-tag-invalid);
}
ul.tag-list li.tag-invalid:hover {
  border-left-color: var(--color-tag-invalid-alt);
}
ul.tag-list li.tag-invalid a, ul.tag-list li.tag-invalid a:link {
  color: var(--color-tag-invalid);
}
ul.tag-list li.tag-invalid a:hover, ul.tag-list li.tag-invalid a:active {
  color: var(--color-tag-invalid-alt);
}
ul.tag-list li.tag-meta {
  border-left-color: var(--color-tag-meta);
}
ul.tag-list li.tag-meta:hover {
  border-left-color: var(--color-tag-meta-alt);
}
ul.tag-list li.tag-meta a, ul.tag-list li.tag-meta a:link {
  color: var(--color-tag-meta);
}
ul.tag-list li.tag-meta a:hover, ul.tag-list li.tag-meta a:active {
  color: var(--color-tag-meta-alt);
}
ul.tag-list li.tag-lore {
  border-left-color: var(--color-tag-lore);
}
ul.tag-list li.tag-lore:hover {
  border-left-color: var(--color-tag-lore-alt);
}
ul.tag-list li.tag-lore a, ul.tag-list li.tag-lore a:link {
  color: var(--color-tag-lore);
}
ul.tag-list li.tag-lore a:hover, ul.tag-list li.tag-lore a:active {
  color: var(--color-tag-lore-alt);
}
ul.tag-list li a {
  font-size: 1rem;
  line-height: 1.25rem;
}
ul.tag-list .tag-list-wiki,
ul.tag-list .tag-list-inc,
ul.tag-list .tag-list-exl,
ul.tag-list .tag-list-count {
  padding: 0.25rem 0.5rem;
  user-select: none;
}
ul.tag-list .tag-list-search {
  display: flex;
}
ul.tag-list .tag-list-search .tag-list-name {
  border: 1px solid var(--color-section-lighten-5);
  border-width: 0 1px 0 1px;
  padding: 0.25rem;
}
ul.tag-list .tag-list-search .tag-list-name .hisc {
  color: transparent;
}
ul.tag-list .tag-list-search .tag-list-count {
  color: var(--color-text-muted);
  font-size: 85%;
}
ul.tag-list .tag-list-search .tag-list-count.low-post-count {
  color: var(--palette-text-red);
}
ul.tag-list .tag-list-actions {
  display: none;
  align-items: baseline;
  margin-left: auto;
}
ul.tag-list .tag-list-actions button {
  display: flex;
  align-items: center;
  color: var(--color-link);
  padding: 0;
  border-radius: 0;
  background: none;
}
ul.tag-list .tag-list-actions button:hover {
  color: var(--color-link-hover);
}
ul.tag-list .tag-list-actions button svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 50rem) {
  h5.tag-list-header {
    font-size: 0.85rem;
  }
  ul.tag-list {
    gap: 0;
    margin: 0 -0.5rem 0.25rem;
  }
  ul.tag-list li {
    border: 0;
    border-radius: 0;
    width: 100%;
    background: none;
  }
  ul.tag-list li a {
    font-size: 0.85rem;
    line-height: 1rem;
  }
  ul.tag-list .tag-list-wiki,
  ul.tag-list .tag-list-inc,
  ul.tag-list .tag-list-exl {
    padding: 0 0.25rem;
  }
  ul.tag-list .tag-list-search {
    display: block;
    padding: 0 0.25rem;
  }
  ul.tag-list .tag-list-search .tag-list-name {
    border: 0;
    padding: 0;
  }
  ul.tag-list .tag-list-search .tag-list-count {
    display: inline-block;
    padding: 0 0.25rem;
  }
  ul.tag-list .tag-list-actions {
    display: flex;
  }
  ul.tag-list .tag-list-actions button {
    padding: 0 0.075rem;
  }
  ul.tag-list .tag-list-actions button svg {
    width: 0.85rem;
    height: 0.85rem;
  }
  ul.tag-list .tag-list-quick-blacklist {
    visibility: hidden;
  }
  ul.tag-list li:hover .tag-list-quick-blacklist, ul.tag-list li.blacklisted .tag-list-quick-blacklist {
    visibility: visible;
  }
  ul.tag-list li.blacklisted .tag-list-quick-blacklist svg {
    color: var(--color-text-muted);
  }
  ul.tag-list li.blacklisted .tag-list-quick-blacklist svg:hover {
    color: var(--color-link-hover);
  }
  ul.tag-list li.blacklisted .tag-list-quick-blacklist svg .line {
    color: transparent;
  }
}
body.c-posts.a-index #page, body.c-favorites.a-index #page {
  background: var(--color-foreground);
  padding: 0;
}
body.c-posts.a-index #page, body.c-posts.a-index #c-posts, body.c-posts.a-index #c-favorites, body.c-posts.a-index #a-index, body.c-favorites.a-index #page, body.c-favorites.a-index #c-posts, body.c-favorites.a-index #c-favorites, body.c-favorites.a-index #a-index {
  display: flex;
  flex-flow: column;
  flex: 1;
}

.post-index {
  display: grid;
  grid-template-areas: "search " "content" "sidebar";
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  flex: 1;
}
.post-index > .search {
  grid-area: search;
  padding: 0.5rem 0.25rem;
  box-shadow: inset 0px -0.25rem 0.25rem -0.25rem var(--color-background);
}
.post-index > .search h1 {
  font-size: 1.16667em;
}
.post-index > .search .search-controls {
  display: none;
}
.post-index > .content {
  display: flex;
  flex-flow: column;
  grid-area: content;
  padding: 0.5rem 0.25rem var(--content-padding-bottom);
  background-color: #152f56;
  background-color: var(--color-foreground);
  background-image: var(--image-foreground);
  background-position: var(--image-foreground-position);
  background-repeat: var(--image-foreground-repeat);
}
.post-index > .content #edit-dialog textarea {
  margin-bottom: 0.25rem;
}
.post-index > .content .post-index-gallery {
  display: flex;
  flex-flow: column;
  gap: 1rem;
  flex: 1;
}
.post-index > .content .post-index-gallery .posts-container {
  flex: 1;
  grid-auto-rows: min-content;
}
.post-index > .sidebar {
  grid-area: sidebar;
  display: flex;
  flex-flow: column;
  gap: 1em;
  padding: 0.5rem 0.25rem;
  box-shadow: inset 0px 0.25rem 0.25rem -0.25rem var(--color-background);
}
.post-index > .sidebar #mode-box-mode, .post-index > .sidebar #mode-box #set-id {
  width: 100%;
  padding: 0.5em;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1.05em;
}

@media (min-width: 50rem) {
  .post-index {
    grid-template-areas: "search  content" "sidebar content";
    grid-template-columns: 16rem 1fr;
    grid-template-rows: min-content 1fr;
  }
  .post-index .search {
    box-shadow: inset -0.25rem 0px 0.25rem -0.25rem var(--color-background);
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    position: relative;
  }
  .post-index .search .search-controls {
    display: flex;
    flex-flow: row;
    justify-content: right;
    z-index: 1;
    position: absolute;
    bottom: -1.633rem;
    right: 0.5rem;
    padding: 0.25rem;
    gap: 0.5rem;
    background: var(--color-foreground);
    border-radius: 0 0 0.25rem 0.25rem;
  }
  .post-index .search .search-controls button {
    height: 1.5rem;
    padding: 0;
  }
  .post-index .search .search-controls button svg {
    height: 1.25rem;
    width: 1.25rem;
    padding: 0.25rem;
    margin: -0.125rem 0;
  }
  .post-index .sidebar {
    box-shadow: inset -0.25rem 0px 0.25rem -0.25rem var(--color-background);
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  }
  .post-index .content {
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.5rem 0.75rem var(--content-padding-bottom);
  }
}
body.c-posts.a-show #page {
  background: var(--color-foreground);
  padding: 0;
}
body.c-posts.a-show #page, body.c-posts.a-show #c-posts, body.c-posts.a-show #a-show {
  display: flex;
  flex-flow: column;
  flex: 1;
}

#c-posts #post-information .user-feedback-list, #a-show #post-information .user-feedback-list {
  word-break: break-all;
}
#c-posts #post-information .user-feedback-list span, #a-show #post-information .user-feedback-list span {
  margin: 0.125rem;
}
#c-posts #post-information .user-feedback-list::before, #a-show #post-information .user-feedback-list::before {
  content: "(";
}
#c-posts #post-information .user-feedback-list::after, #a-show #post-information .user-feedback-list::after {
  content: ")";
}

#page[data-mode-menu=edit] .content {
  background-color: var(--palette-background-yellow);
}

#page[data-mode-menu=add-fav] .content {
  background-color: #104e17;
}

#page[data-mode-menu=remove-fav] .content {
  background-color: rgb(7.3191489362, 35.6808510638, 10.5212765957);
}

#page[data-mode-menu=add-to-set] .content {
  background-color: #A51;
}

#page[data-mode-menu=remove-from-set] .content {
  background-color: rgb(123.6363636364, 61.8181818182, 12.3636363636);
}

#page[data-mode-menu=vote-up] .content {
  background-color: var(--palette-background-green);
}

#page[data-mode-menu=vote-down] .content {
  background-color: var(--palette-background-red);
}

#page[data-mode-menu=rating-s] .content {
  background-color: rgb(26.0681818182, 66.4318181818, 30.6931818182);
}

#page[data-mode-menu=rating-q] .content {
  background-color: hsl(50, 100%, 20%);
}

#page[data-mode-menu=rating-e] .content {
  background-color: rgb(167.2727272727, 28.2272727273, 28.2272727273);
}

#page[data-mode-menu=tag-script] .content {
  background-color: #4f114f;
}

#page[data-mode-menu=remove-parent] .content {
  background-color: #38F;
}

#page[data-mode-menu=lock-rating] .content {
  background-color: #AA3;
}

#page[data-mode-menu=lock-note] .content {
  background-color: #3AA;
}

#page[data-mode-menu=approve] .content {
  background-color: #48C;
}

#page[data-mode-menu=delete] .content {
  background-color: #4e1010;
}

#page[data-mode-menu=undelete] .content {
  background-color: #818;
}

#page[data-mode-menu=unflag] .content {
  background-color: #304;
}

#tag-script-ui {
  display: flex;
  margin-top: 0.5em;
  gap: 0.5em;
}
#tag-script-ui input {
  flex: 1;
}
#tag-script-ui button {
  padding: 0 0.25em;
}

.wiki-excerpt {
  display: flex;
  flex-flow: column;
  position: relative;
  background: var(--color-section);
  border-radius: 0.25rem;
}
.wiki-excerpt.hidden {
  display: none;
}
.wiki-excerpt h3 {
  display: flex;
  align-items: center;
  font-size: 1rem;
  padding: 0.5rem;
  cursor: pointer;
}
.wiki-excerpt h3 > svg {
  transition: transform 0.25s;
  height: 1.5rem;
  width: 1.5rem;
}
.wiki-excerpt h3 .wiki-excerpt-dismiss {
  margin-left: auto;
}
.wiki-excerpt .styled-dtext {
  background: linear-gradient(to top, var(--color-section), var(--color-text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-height: 0rem;
  max-height: 0rem;
  max-width: 50rem;
  overflow: hidden;
  padding: 0 0.5rem;
  transition: max-height 0.25s;
  pointer-events: none;
  cursor: unset;
}
.wiki-excerpt .styled-dtext a {
  color: unset;
  text-decoration: underline;
}
.wiki-excerpt .styled-dtext a::after {
  content: none;
}
.wiki-excerpt .styled-dtext blockquote {
  background: unset;
}
.wiki-excerpt .styled-dtext p:last-child {
  margin-bottom: 0;
}
.wiki-excerpt .wiki-excerpt-readmore {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3rem;
  max-width: 50rem;
  box-sizing: border-box;
  transition: visibility 0s 0.125s;
  visibility: hidden;
}
.wiki-excerpt .wiki-excerpt-readmore span {
  padding: 0.5rem 1rem;
  background: var(--color-section);
  border-radius: 0.25rem;
}
.wiki-excerpt.open .wiki-excerpt-toggle svg {
  transform: rotate(90deg);
}
.wiki-excerpt.open .styled-dtext {
  max-height: 10rem;
  min-height: 2rem;
}
.wiki-excerpt.open .wiki-excerpt-readmore {
  visibility: visible;
}
.wiki-excerpt.loading h3::after, .wiki-excerpt.loading .styled-dtext {
  transition: none;
}

.posts-index-stats {
  display: flex;
  justify-content: end;
  margin: -0.5rem 0rem 0.25rem;
  font-size: 0.75rem;
  line-height: 0.75rem;
  color: rgba(255, 255, 255, 0.6666666667);
  font-family: monospace;
}
.posts-index-stats > span {
  cursor: help;
}

@media (min-width: 50rem) {
  body[data-st-fullscreen=true] .post-index {
    grid-template-areas: "search " "content";
    grid-template-columns: 1fr;
  }
  body[data-st-fullscreen=true] .post-index .search {
    display: flex;
    border-radius: 0.25rem 0.25rem 0 0;
    box-shadow: inset 0px -0.25rem 0.25rem -0.25rem var(--color-background);
    margin: 0.25rem 0 0;
    padding: 0.5rem;
    flex-wrap: wrap;
    justify-content: right;
    z-index: 11;
  }
  body[data-st-fullscreen=true] .post-index .search .post-search {
    width: 100%;
  }
  body[data-st-fullscreen=true] .post-index .search #search-fullscreen {
    background: var(--color-button-active);
    color: black;
  }
  body[data-st-fullscreen=true] .post-index .search .search-controls {
    right: 0.25rem;
  }
  body[data-st-fullscreen=true] .post-index .sidebar {
    display: none;
  }
  body[data-st-fullscreen=true] .post-index .content {
    border-radius: 0 0 0.25rem 0.25rem;
  }
  body[data-st-fullscreen=true] .post-index .content .posts-index-stats {
    margin-right: 5rem;
  }
  body[data-st-fullscreen=true] #c-posts #a-show .post-index .search {
    padding-bottom: 1.25rem;
  }
  body[data-st-fullscreen=true] #c-posts #a-show .post-index .search-controls {
    bottom: -0.883rem;
  }
  body[data-st-fullscreen=true] #c-posts #a-show .post-index .content {
    padding-top: 1rem;
  }
  body[data-st-ssearch=true] .post-index .search {
    position: sticky;
    top: 0;
    background: var(--color-foreground);
    border-radius: 0.25rem;
    z-index: 11;
  }
  body[data-st-ssearch=true] .post-index .search #search-sticky {
    background: var(--color-button-active);
    color: black;
  }
  body[data-st-ssearch=true][data-th-sheader=true] .post-index .search {
    top: 3.75rem;
  }
}
#c-users #a-show,
#c-users #a-upload-limit {
  display: flex;
  flex-flow: column;
  gap: 0.75rem;
}
#c-users #a-show > div,
#c-users #a-upload-limit > div {
  max-width: 100rem;
  box-sizing: border-box;
}
#c-users #a-show .blacklist-ui,
#c-users #a-upload-limit .blacklist-ui {
  padding: 0;
}

body.c-users.a-show tabs-menu, body.c-users.a-show tabs-content {
  max-width: 100rem;
}
body.c-users.a-show #profile-tabs[data-has-about=false][data-has-artinfo=false] {
  display: none;
}
body.c-users.a-show .profile-readmore {
  flex-flow: column;
  align-items: start;
}
body.c-users.a-show .profile-readmore tab-head {
  font-weight: bold;
  font-size: 1rem;
}
body.c-users.a-show .profile-readmore .content {
  position: relative;
  max-height: 25rem;
}
body.c-users.a-show .profile-readmore .content.expanded {
  max-height: unset;
}
@media (min-width: 50rem) {
  body.c-users.a-show .profile-readmore .content {
    max-height: unset;
  }
}
body.c-users.a-show .profile-readmore .content .content-readmore {
  display: none;
  justify-content: center;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  line-height: 1rem;
  background: var(--color-section-lighten-10);
  color: var(--color-text);
}
body.c-users.a-show .profile-readmore .content .content-readmore:hover {
  background: var(--color-section-lighten-5);
}
body.c-users.a-show .profile-readmore .content.expandable {
  padding-bottom: 2rem;
}
body.c-users.a-show .profile-readmore .content.expandable .content-readmore {
  display: flex;
}
@media (min-width: 50rem) {
  body.c-users.a-show tabs-menu {
    display: none;
  }
  body.c-users.a-show tabs-content {
    display: grid;
    grid-template-columns: 15rem 1fr;
    grid-template-rows: min-content min-content;
    gap: 1rem;
  }
  body.c-users.a-show .profile-user-info {
    display: grid !important;
    grid-template-areas: unset;
    grid-row: 1/4;
    height: min-content;
  }
  body.c-users.a-show .profile-about-section {
    display: flex !important;
    grid-column: 2/-1;
  }
  body.c-users.a-show .profile-artinfo-section {
    display: flex !important;
    grid-column: 2/-1;
  }
}
body.c-users.a-show .profile-ban {
  background: var(--palette-background-red);
  padding: 0.5rem;
  border-radius: 0.25rem;
}
body.c-users.a-show .profile-ban .styled-dtext p:last-child {
  margin-bottom: 0;
}
body.c-users.a-show .posts-section {
  display: flex;
  flex-flow: column;
  gap: 1em;
  margin-top: 1rem;
}
@media (min-width: 50rem) {
  body.c-users.a-show .posts-section {
    margin-top: 0;
  }
}
body.c-users.a-show .posts-section .profile-sample {
  display: grid;
  grid-template: "p-header" "p-links" "p-posts";
  gap: 0.5em 0;
}
@media (min-width: 50rem) {
  body.c-users.a-show .posts-section .profile-sample {
    grid-template: "p-header p-links" "p-posts p-posts";
    grid-template-columns: 12em 1fr;
    gap: 0 0.5em;
  }
}
body.c-users.a-show .posts-section .profile-sample-header a, body.c-users.a-show .posts-section .profile-sample-links a {
  display: block;
  box-sizing: border-box;
  align-content: center;
  text-align: center;
  height: 100%;
  padding: 0.5em;
  border-radius: 6px;
  background-color: var(--color-section);
}
body.c-users.a-show .posts-section .profile-sample-header a:hover, body.c-users.a-show .posts-section .profile-sample-links a:hover {
  background-color: var(--color-section-lighten-5);
}
body.c-users.a-show .posts-section .profile-sample-header a:focus, body.c-users.a-show .posts-section .profile-sample-header a:active, body.c-users.a-show .posts-section .profile-sample-links a:focus, body.c-users.a-show .posts-section .profile-sample-links a:active {
  outline: 0;
  color: var(--color-link-active);
}
body.c-users.a-show .posts-section .profile-sample-header {
  grid-area: p-header;
  display: flex;
}
body.c-users.a-show .posts-section .profile-sample-header a {
  font-size: 1.25em;
  font-weight: bold;
  width: 100%;
}
@media (min-width: 800px) {
  body.c-users.a-show .posts-section .profile-sample-header a {
    border-radius: 6px 6px 0 0;
  }
}
body.c-users.a-show .posts-section .profile-sample-links {
  grid-area: p-links;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}
body.c-users.a-show .posts-section .profile-sample-links span {
  padding: 0.5em;
  color: var(--color-text-muted);
}
body.c-users.a-show .posts-section .profile-sample-links .spacer {
  display: none;
}
body.c-users.a-show .posts-section .profile-sample-links .profile-comments-link {
  grid-row: 1/3;
  grid-column: 3;
}
@media (min-width: 50rem) {
  body.c-users.a-show .posts-section .profile-sample-links {
    display: flex;
  }
  body.c-users.a-show .posts-section .profile-sample-links a {
    height: min-content;
  }
  body.c-users.a-show .posts-section .profile-sample-links .spacer {
    display: block;
  }
}
body.c-users.a-show .posts-section .profile-sample-posts {
  grid-area: p-posts;
  display: flex;
  overflow: auto;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  padding: 0.5em;
  background: var(--color-section);
  border-radius: 6px;
}
@media (min-width: 50rem) {
  body.c-users.a-show .posts-section .profile-sample-posts {
    flex-wrap: nowrap;
    border-top-left-radius: 0;
    justify-content: flex-start;
  }
}
body.c-users.a-show .profile-section {
  background: var(--color-section);
}
body.c-users.a-show .profile-section .profile-section-header {
  background: var(--color-section-lighten-5);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}
body.c-users.a-show .profile-section .profile-section-header::before {
  content: "⮟";
  display: inline-flex;
  transition: transform 200ms;
  margin-right: 0.25rem;
}
body.c-users.a-show .profile-section .profile-section-body {
  padding: 0.25rem 0.5rem;
  border-radius: 0 0 0.25rem 0.25rem;
  overflow: hidden;
}
body.c-users.a-show .profile-section.hidden .profile-section-header::before {
  transform: rotate(-90deg);
}
body.c-users.a-show .profile-section.hidden .profile-section-body {
  padding: 0 0.5rem;
  height: 0;
}
body.c-users.a-show .profile-staff-info {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 0.25rem 1rem;
}
body.c-users.a-show .profile-staff-info h4 {
  white-space: nowrap;
}
body.c-users.a-show .profile-staff-info .block {
  grid-column: 1/-1;
}
body.c-users.a-show .profile-staff-info h4.block {
  margin-bottom: -0.25rem;
}
@media (min-width: 50rem) {
  body.c-users.a-show .profile-staff-info {
    grid-template-columns: min-content 1fr min-content 1fr;
  }
}
body.c-users.a-show .profile-user-info {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto-fit, minmax(min-content, 5rem));
  background: var(--color-section);
  border-radius: 0.25rem;
}
@media (min-width: 38rem) {
  body.c-users.a-show .profile-user-info {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 50rem) {
  body.c-users.a-show .profile-user-info {
    grid-template-columns: 1fr;
  }
}
body.c-users.a-show .profile-user-info .profile-line {
  display: grid;
  grid-template-columns: 1fr min-content;
  padding: 1rem 0;
  border-bottom: 2px solid var(--color-foreground);
}
body.c-users.a-show .profile-user-info .profile-line h4 {
  display: flex;
  align-items: center;
  gap: 0.25em;
}
body.c-users.a-show .profile-user-info .profile-line h4 svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
body.c-users.a-show .profile-user-info .profile-line-number {
  white-space: nowrap;
}
body.c-users.a-show .profile-user-info .profile-line-number a {
  display: flex;
  font-weight: bold;
  padding: 1rem;
  margin: -1rem 0;
  position: relative;
}
body.c-users.a-show .profile-user-info .profile-line-extra {
  grid-column: 1/-1;
  font-size: 90%;
  color: var(--color-text-muted);
  margin-left: 1.25em;
}
body.c-users.a-show .profile-user-info .profile-line-show {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 0.5rem;
}
body.c-users.a-show .profile-user-info .profile-line-show .entry {
  text-align: center;
  width: 5rem;
}
body.c-users.a-show .profile-user-info .profile-line-show .entry > span {
  color: var(--color-text-muted);
}
body.c-users.a-show .profile-user-info .profile-line-list {
  display: flex;
  gap: 0.25em;
}
body.c-users.a-show .profile-user-info .profile-line-list a:not(:last-child)::after {
  content: "•";
  margin-left: 0.25rem;
  color: var(--color-text-muted);
}
body.c-users.a-show .profile-user-info .profile-line:last-child {
  border-bottom: none;
}

.profile-card {
  display: grid;
  grid-template-columns: min-content auto;
  gap: 1rem;
}
.profile-card .profile-info {
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 0.25rem;
}
.profile-card .profile-name {
  display: flex;
  flex-flow: row;
  gap: 0.5rem;
  align-items: center;
}
.profile-card .profile-name a, .profile-card .profile-name a:link {
  color: var(--color-text);
  font-size: 1.25rem;
}
.profile-card .profile-name a:hover, .profile-card .profile-name a:active {
  color: var(--color-link-hover);
}
.profile-card .profile-joined {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: -0.25rem;
}

.profile-quickie {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.profile-quickie .entry {
  display: flex;
  flex-flow: column;
  align-items: center;
}
.profile-quickie .entry > a {
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-template-areas: "icon header" "icon title ";
  column-gap: 0.25rem;
  align-items: center;
  width: 7rem;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  background: var(--color-section);
}
.profile-quickie .entry > a:hover {
  background: var(--color-section-lighten-5);
}
.profile-quickie .entry > a .entry-icon {
  grid-area: icon;
  height: 1.5rem;
  width: 1.5rem;
  color: var(--color-link-active);
}
.profile-quickie .entry > a .entry-header {
  grid-area: header;
  font-size: 1.1rem;
  line-height: 1.1rem;
  white-space: nowrap;
}
.profile-quickie .entry > a .entry-title {
  grid-area: title;
  font-size: 0.9rem;
  line-height: 0.9rem;
  white-space: nowrap;
}
.profile-quickie .entry-extra a, .profile-quickie .entry-extra a:visited {
  color: var(--color-text-muted);
}
.profile-quickie .entry-extra a:hover, .profile-quickie .entry-extra a:active {
  color: var(--color-link-active);
}

body.c-users.a-edit form.simple_form {
  background: unset;
  padding: unset;
  margin: unset;
}
body.c-users.a-edit form.simple_form input[type=text], body.c-users.a-edit form.simple_form input[type=number], body.c-users.a-edit form.simple_form textarea, body.c-users.a-edit form.simple_form select {
  width: 100%;
  max-width: unset;
  box-sizing: border-box;
  border-radius: 0.25rem;
  font-size: 1rem;
  padding: 0.25rem;
}
body.c-users.a-edit #settings-account-buttons tab-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
body.c-users.a-edit #settings-account-buttons tab-body .st-button {
  white-space: nowrap;
  justify-content: center;
}
body.c-users.a-edit tab-submit input[type=submit] {
  background: var(--color-tag-artist);
  font-size: 1.25rem;
  padding: 0.25rem 1rem;
  margin: 0.5rem;
  border-radius: 0.25rem;
}
body.c-users.a-edit tab-submit input[type=submit]:hover, body.c-users.a-edit tab-submit input[type=submit]:active {
  background: var(--color-tag-artist-alt);
}

tabs-menu {
  margin-top: 0.5rem;
  display: flex;
  width: 100%;
  max-width: 50rem;
  flex-wrap: wrap;
  overflow: auto;
}
tabs-menu > button {
  background: unset;
  color: var(--color-link);
  padding: 0.5rem 1rem;
  border-bottom: 2px solid var(--color-section);
  font-size: 1rem;
  line-height: 1rem;
}
tabs-menu > button.active {
  background: var(--color-section);
  border-radius: 0.25rem 0.25rem 0 0;
}
tabs-menu > button.active:first-child {
  border-bottom-left-radius: 0.25rem;
}
tabs-menu span.spacer {
  flex: 1;
  border-bottom: 2px solid var(--color-section);
}
tabs-menu input[name=search] {
  border-radius: 0 0 0.25rem 0.25rem;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.25rem;
  width: 100%;
  box-sizing: border-box;
}

tabs-content {
  display: flex;
  flex-flow: column;
  max-width: 50rem;
}
tabs-content tab-group {
  display: none;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.5rem 0.75rem 0.5rem;
  margin: 0.5rem 0 0;
  background: var(--color-section-lighten-5);
  border-radius: 0.25rem 0.25rem 0 0;
}
tabs-content tab-group.active {
  display: flex;
}
tabs-content tab-entry {
  display: none !important;
  grid-template-areas: "head" "body" "hint";
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-section);
  padding: 0.5rem;
}
tabs-content tab-entry.active {
  display: grid !important;
}
tabs-content tab-entry.flex.active {
  display: flex !important;
}
tabs-content tab-entry tab-head {
  grid-area: head;
  margin-left: 0.25em;
  font-size: 0.85rem;
}
tabs-content tab-entry tab-head label {
  font-weight: normal;
}
tabs-content tab-entry tab-body {
  grid-area: body;
}
tabs-content tab-entry tab-hint {
  grid-area: hint;
  font-size: 90%;
  color: var(--color-text-muted);
}
tabs-content tab-entry.inline {
  grid-template-areas: "head body" "hint hint";
  grid-template-columns: 2fr 1fr;
}
tabs-content tab-entry.inline tab-body {
  justify-self: end;
}
tabs-content tab-entry.blocky {
  grid-template-areas: "body";
  grid-template-columns: 1fr;
}
tabs-content tab-entry.bigtext {
  grid-template-columns: 1fr;
  grid-template-areas: "head" "body" "hint";
}
tabs-content tab-entry.with-button tab-body {
  display: grid;
  grid-template-columns: 1fr;
}
tabs-content tab-entry.with-button tab-body a.st-button {
  justify-content: center;
}
tabs-content tab-entry.with-buttons tab-body {
  display: grid;
  grid-template-columns: 1fr 4rem;
}
tabs-content tab-entry.with-buttons tab-body input[type=text] {
  border-radius: 0.25rem 0 0 0.25rem !important;
}
tabs-content tab-entry.with-buttons tab-body input[disabled] {
  cursor: not-allowed;
}
tabs-content tab-entry.with-buttons tab-body a.st-button {
  border-radius: 0 0.25rem 0.25rem 0 !important;
  justify-content: center;
}

tab-submit {
  position: sticky;
  bottom: 0;
  background: var(--color-section);
  border-radius: 0.25rem;
  width: min-content;
  margin-top: 0.5rem;
}

@media (min-width: 50rem) {
  tabs-menu input[name=search] {
    width: unset;
    border-radius: 0.25rem 0.25rem 0.25rem 0;
    border-bottom: 2px solid var(--color-section);
  }
  tabs-content tab-entry {
    grid-template-areas: "head body" ". hint";
    grid-template-columns: 1fr 1fr;
  }
  tabs-content tab-entry.inline {
    grid-template-areas: "head hint body";
    grid-template-columns: 8fr 7fr 1fr;
  }
}
body.c-users.a-upload-limit .profile-container {
  background: var(--color-section);
  border-radius: 0.25rem;
  padding: 0.5rem;
}
body.c-users.a-upload-limit .profile-container p:last-child {
  margin-bottom: 0;
}
body.c-users.a-upload-limit .profile-notice {
  background: var(--palette-background-red);
  border-radius: 0.25rem;
  padding: 0.25rem;
}
body.c-users.a-upload-limit .upload-limit-formula {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  line-height: 1rem;
  margin-bottom: 1em;
}
body.c-users.a-upload-limit .upload-limit-formula .upl-element {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  gap: 0.5rem;
  border-radius: 0.25rem;
  background: var(--color-foreground);
}
body.c-users.a-upload-limit .upload-limit-explanation {
  display: grid;
  grid-template-columns: min-content auto;
  gap: 1rem 0.5rem;
  margin-left: 0.5rem;
}
body.c-users.a-upload-limit .upload-limit-explanation .ul-exp {
  align-items: center;
}
body.c-users.a-upload-limit .upload-limit-formula abbr, body.c-users.a-upload-limit .upload-limit-explanation abbr {
  display: inline-flex;
  justify-content: center;
  min-width: 1rem;
  text-decoration: none;
  line-height: 1rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  cursor: help;
}
body.c-users.a-upload-limit .upload-limit-formula abbr.upl-base, body.c-users.a-upload-limit .upload-limit-explanation abbr.upl-base {
  background: var(--palette-background-grey);
}
body.c-users.a-upload-limit .upload-limit-formula abbr.upl-approved, body.c-users.a-upload-limit .upload-limit-explanation abbr.upl-approved {
  background: var(--palette-background-green);
}
body.c-users.a-upload-limit .upload-limit-formula abbr.upl-deleted, body.c-users.a-upload-limit .upload-limit-explanation abbr.upl-deleted {
  background: var(--palette-background-red);
}
body.c-users.a-upload-limit .upload-limit-formula abbr.upl-pending, body.c-users.a-upload-limit .upload-limit-explanation abbr.upl-pending {
  background: var(--palette-background-yellow);
}
body.c-users.a-upload-limit .upload-limit-formula abbr.upl-total, body.c-users.a-upload-limit .upload-limit-explanation abbr.upl-total {
  background: var(--color-section-lighten-5);
}

body.c-static.a-home {
  background: #012e57 no-repeat center 0;
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-position-y: 3.75rem;
}
@media (min-width: 50rem) {
  body.c-static.a-home {
    background-position-y: unset;
  }
}
body.c-static.a-home #page {
  background: none;
  margin: 20rem auto 0;
  width: 100%;
  max-width: 480px;
  padding: 0;
}
@media (min-width: 50rem) {
  body.c-static.a-home #page {
    margin-top: 25rem;
  }
}
body.c-static.a-home .home-section {
  background-color: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(8px);
  padding: 1rem;
  margin: 0.5rem;
  border-radius: 0.25rem;
  text-align: center;
}
body.c-static.a-home .home-search {
  display: flex;
  margin-bottom: 1rem;
}
body.c-static.a-home .home-search input[type=text] {
  flex: 1;
  display: flex;
  padding: 0.5rem;
  border: 0;
  border-radius: 0.25rem 0 0 0.25rem;
  background: white;
  color: black;
  font-size: 1rem;
  line-height: 1.25rem;
  font-family: "Roboto", Verdana, Geneva, sans-serif;
}
body.c-static.a-home .home-search input[type=text]:focus {
  background: #ffc;
}
body.c-static.a-home .home-search input[type=text]:focus + button[type=submit] {
  background: #ffc;
}
body.c-static.a-home .home-search button[type=submit] {
  background: white;
  border-radius: 0 0.25rem 0.25rem 0;
  padding: 0 0.5rem;
}
body.c-static.a-home .home-search button[type=submit] svg {
  height: 1.25rem;
  width: 1.25rem;
  margin: -0.125rem 0 -0.125rem;
}
body.c-static.a-home .home-buttons {
  display: flex;
  gap: 0.5rem;
}
body.c-static.a-home .home-buttons a {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  background: #25477b;
  font-size: 0.9rem;
  line-height: 1rem;
  font-family: "Roboto", Verdana, Geneva, sans-serif;
  font-weight: bold;
  color: white;
  padding: 0.5rem;
  border-radius: 0.25rem;
}
body.c-static.a-home .home-buttons a:hover {
  background: #2b538e;
}
body.c-static.a-home .home-buttons a svg {
  height: 1.25rem;
  margin: -0.125rem 0;
  color: #e8c446;
}
body.c-static.a-home #home-search-form:not(.empty) .home-buttons a span::before {
  content: "Search ";
}
body.c-static.a-home .home-footer-top {
  background-color: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(8px);
  margin: 3rem 0 0;
  padding: 1rem;
  gap: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.25rem 0.25rem 0 0;
}
@media (min-width: 480px) {
  body.c-static.a-home .home-footer-top {
    margin: 0.5rem 0.5rem 0;
  }
}
body.c-static.a-home .home-footer-top a#mascot-swap {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  background: #25477b;
  font-size: 0.85rem;
  line-height: 1rem;
  font-family: "Roboto", Verdana, Geneva, sans-serif;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
body.c-static.a-home .home-footer-top a#mascot-swap:hover {
  background: #2b538e;
}
body.c-static.a-home .home-footer-bottom {
  background: #1f3c67;
  text-align: center;
  margin: 0;
  padding: 0.5rem;
  border-radius: 0 0 0.25rem 0.25rem;
}
@media (min-width: 480px) {
  body.c-static.a-home .home-footer-bottom {
    margin: 0 0.5rem;
  }
}
body.c-static.a-home .home-footer-bottom .home-footer-counter img {
  height: 4rem;
}
body.c-static.a-home .home-footer-bottom .home-footer-links {
  margin-top: 0.5rem;
  line-height: 1.5rem;
  font-size: 0.85rem;
}
body.c-static.a-home .home-footer-bottom .home-footer-links .separator {
  display: inline-flex;
  width: 4px;
  position: relative;
  margin: 0 0.25em;
}
body.c-static.a-home .home-footer-bottom .home-footer-links .separator:before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--color-text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: 0.25em;
}

#c-admin-dashboards .section {
  margin-bottom: 2em;
}

#c-maintenance-user-api-keys .button_to {
  display: inline-block;
}

div#c-artists ul ul {
  margin-left: 1em;
}
div#c-artists div#a-edit #artist_other_names_string, div#c-artists div#a-new #artist_other_names_string {
  width: 100%;
}
div#c-artists div.recent-posts {
  margin-top: 1em;
}
div#c-artists div.recent-posts h1 {
  font-size: 1.5em;
  margin: 0;
}

#c-static #a-avoid-posting {
  margin-left: 0.25em;
}
#c-static #a-avoid-posting #avoid-posting-list h2 {
  margin-top: 1.25em;
  font-size: 1.8em;
  line-height: 1em;
  margin-bottom: 0.25em;
}
#c-static #a-avoid-posting #avoid-posting-list ul {
  margin-left: 1em;
}
#c-static #a-avoid-posting #avoid-posting-list ul li {
  list-style-type: disc;
}

#c-avoid-postings #a-index table.dnp-list td.dnp-artist, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-artist {
  grid-area: artist;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-artist .dnp-artist-names, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-artist .dnp-artist-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 0.5em;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-artist .dnp-artist-names span, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-artist .dnp-artist-names span {
  text-wrap: pretty;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-details, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-details {
  grid-area: details;
  width: 60%;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-details span.avoid-posting-staff-notes, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-details span.avoid-posting-staff-notes {
  display: flex;
  flex-flow: column;
  margin-top: 0.5em;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-creator, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-creator {
  grid-area: creator;
  text-wrap: nowrap;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-status, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-status {
  grid-area: status;
}
#c-avoid-postings #a-index table.dnp-list td.dnp-links, #c-avoid-posting-versions #a-index table.dnp-list td.dnp-links {
  grid-area: links;
  white-space: nowrap;
}
@media screen and (max-width: 800px) {
  #c-avoid-postings #a-index table.dnp-list thead, #c-avoid-posting-versions #a-index table.dnp-list thead {
    display: block;
  }
  #c-avoid-postings #a-index table.dnp-list thead tr, #c-avoid-posting-versions #a-index table.dnp-list thead tr {
    display: flex;
    justify-content: space-around;
  }
  #c-avoid-postings #a-index table.dnp-list thead tr th.dnp-links, #c-avoid-posting-versions #a-index table.dnp-list thead tr th.dnp-links {
    display: none;
  }
  #c-avoid-postings #a-index table.dnp-list tbody, #c-avoid-posting-versions #a-index table.dnp-list tbody {
    display: block;
  }
  #c-avoid-postings #a-index table.dnp-list tbody tr, #c-avoid-posting-versions #a-index table.dnp-list tbody tr {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr min-content min-content;
    grid-template-areas: "artist status creator links" "details details details details";
    grid-column-gap: 1em;
  }
  #c-avoid-postings #a-index table.dnp-list tbody tr td.dnp-details, #c-avoid-posting-versions #a-index table.dnp-list tbody tr td.dnp-details {
    width: unset;
    padding-top: 0;
  }
}

#c-bans #a-index tr[data-expired=true] {
  background-color: green;
}
#c-bans #a-index tr[data-expired=true]:hover {
  background-color: rgb(0, 102.5, 0);
}
#c-bans #a-index tr[data-expired=false] {
  background-color: #822828;
}
#c-bans #a-index tr[data-expired=false]:hover {
  background-color: rgb(110.5, 34, 34);
}

div#c-blips article.blip {
  margin-bottom: 1rem;
}
div#c-blips article.blip[data-is-deleted=true] {
  background-color: var(--palette-background-red);
}

div.comments-for-post div.notices {
  margin: 1em 0;
}
div.comments-for-post div.list-of-comments article.comment {
  border-radius: 3px;
  margin-bottom: 0.5rem;
}
div.comments-for-post div.list-of-comments article.comment:target {
  background-color: rgba(255, 255, 255, 0.25);
}
div.comments-for-post div.list-of-comments article.comment[data-is-sticky=true] {
  background: var(--color-section-lighten-10);
}
div.comments-for-post div.list-of-comments article.comment[data-is-deleted=true] {
  background: var(--palette-background-red);
}
div.comments-for-post div.list-of-comments article.comment div.content .comment-vote-up-link:hover, div.comments-for-post div.list-of-comments article.comment div.content .comment-vote-down-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
div.comments-for-post div.list-of-comments article.comment.below-threshold:not([data-is-sticky=true]) {
  opacity: 0.3;
}
div.comments-for-post div.list-of-comments article.comment.below-threshold:hover {
  opacity: 1;
}

div#c-comments div#a-index div.header .post-info, div#c-comments div#a-show div.header .post-info {
  margin-right: 1.5em;
}
div#c-comments div#a-index div.header strong, div#c-comments div#a-index div.header time, div#c-comments div#a-show div.header strong, div#c-comments div#a-show div.header time {
  margin-right: 0.3em;
}
div#c-comments div#a-index div.header div.notices, div#c-comments div#a-show div.header div.notices {
  margin: 1em 0;
}
div#c-comments div#a-index div.header div.list-of-tags .comment-tag-hide-link::before, div#c-comments div#a-show div.header div.list-of-tags .comment-tag-hide-link::before {
  content: "Hide Tags";
}
div#c-comments div#a-index div.header div.list-of-tags.hidden .tag-list, div#c-comments div#a-show div.header div.list-of-tags.hidden .tag-list {
  display: none;
}
div#c-comments div#a-index div.header div.list-of-tags.hidden .comment-tag-hide-link::before, div#c-comments div#a-show div.header div.list-of-tags.hidden .comment-tag-hide-link::before {
  content: "Show Tags";
}

div#c-comments div#a-index .comment-post {
  border-left: 0.25rem solid var(--color-dtext-section);
  background: var(--color-section-lighten-5);
  box-sizing: border-box;
  padding-left: 0.5rem;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}
div#c-comments div#a-index .comment-post .comments {
  margin-left: 2rem;
}
div#c-comments div#a-index .post-container {
  display: flex;
}
div#c-comments div#a-index .post-container .post {
  width: 165px;
}
div#c-comments div#a-index div.comments-for-post .comment-post {
  display: flex;
}
div#c-comments div#a-index div.comments-for-post .comment-post .comments {
  margin-left: 0;
  width: 100%;
}

@media screen and (max-width: 800px) {
  body.resp div#c-comments div#a-index .comment-post .comments {
    margin-left: 1rem;
  }
  body.resp div#c-comments div#a-index .post-container .post-information {
    margin-left: 0.5rem;
  }
  body.resp div#c-comments div#a-index .post-container .post {
    width: unset;
  }
  body.resp div#c-comments div#a-index div.comments-for-post .comment-post {
    display: block;
  }
  body.resp div#c-comments div#a-index div.comments-for-post .comment-post .comments {
    width: unset;
  }
}
form.edit_comment div.input.boolean {
  display: inline-block;
}
form.edit_comment div.input.boolean label {
  font-weight: normal;
  vertical-align: initial;
}

#c-admin-destroyed-posts tr[data-notify=false] {
  background-color: #822828;
}

div#c-dmails tr.read-false {
  font-weight: bold;
}

#c-edit-history .edit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
}
#c-edit-history .original {
  white-space: pre-wrap;
}

ul.backtrace {
  font-family: monospace;
  font-size: 1.2em;
  list-style-type: none;
  background: var(--color-section);
  padding: 1em;
  margin-bottom: 1em;
}

div#c-favorites section#content > h1 {
  font-size: 1.16667em;
}

div.list-of-forum-posts article {
  margin: 1em 0em;
}
div.list-of-forum-posts article a.voted {
  font-weight: bold;
}
div.list-of-forum-posts article span.desc {
  color: grey;
}
div.list-of-forum-posts article:target {
  background-color: rgba(255, 255, 255, 0.25);
}
div.list-of-forum-posts article[data-is-hidden=true] {
  background-color: var(--palette-background-red);
}
div.list-of-forum-posts article .vote-score-up {
  color: var(--palette-text-green);
}
div.list-of-forum-posts article .vote-score-meh {
  color: var(--palette-text-yellow);
}
div.list-of-forum-posts article .vote-score-down {
  color: var(--palette-text-red);
}
div.list-of-forum-posts article div.content-menu .edit_forum_post, div.list-of-forum-posts article div.content-menu .edit_forum_topic {
  display: none;
}
div.list-of-forum-posts article div.content-menu menu {
  margin-top: 0.5em;
}
div.list-of-forum-posts article div.content-menu menu li {
  margin-right: 1em;
}
div.list-of-forum-posts article div.content-menu .forum-post-votes-list {
  margin-top: 0.5em;
  margin-left: 0.2em;
}

.forum-post-votes-list li {
  display: inline;
  margin-right: 1em;
}

div#c-forum-topics span.new {
  font-size: 80%;
  color: red;
  margin-right: 0.5em;
}
div#c-forum-topics span.locked-topic {
  color: var(--color-link-last-page);
}
div#c-forum-topics tr.forum-topic-row[data-topic-is-hidden=true] {
  background-color: var(--palette-background-red);
}
div#c-forum-topics tr.forum-topic-row td:last-child {
  white-space: nowrap;
}
div#c-forum-topics tr.forum-topic-row .forum-post-link {
  word-break: break-word;
}

#c-forum-posts #a-index tr[data-topic-is-hidden=true] .forum-post-topic-title::after,
#c-forum-posts #a-index tr[data-is-hidden=true] .forum-post-excerpt::after {
  content: " (hidden)";
  color: gray;
}
#c-forum-posts #a-index tr[data-is-hidden=true], #c-forum-posts #a-index tr[data-topic-is-hidden=true] {
  background-color: var(--palette-background-red);
}

.guest-warning {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  background: var(--color-background);
}
.guest-warning .guest-warning-dialog {
  margin: 20vh 0.5em 0;
  height: min-content;
  max-width: 360px;
}
.guest-warning .guest-warning-dialog .dialog-header {
  padding: 0 0.5em;
  margin-bottom: 0.5em;
}
.guest-warning .guest-warning-dialog .dialog-content {
  background: var(--color-foreground);
  padding: 2em 1em 1em;
  border-radius: 3px 3px 0 0;
}
.guest-warning .guest-warning-dialog .dialog-content p:last-child {
  margin-bottom: 0;
}
.guest-warning .guest-warning-dialog .dialog-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  background: var(--color-foreground);
  padding: 1em 1em 2em;
  border-radius: 0 0 3px 3px;
}
.guest-warning .guest-warning-dialog .dialog-footer button {
  background: var(--color-section-lighten-5);
  color: var(--color-link);
  padding: 0.5em 1em;
  border-radius: 3px;
}
.guest-warning .guest-warning-dialog .dialog-footer button:hover {
  background: var(--color-section-lighten-10);
  color: var(--color-link-hover);
}

.fursona-check {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--color-background);
  background-image: var(--image-background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.fursona-check .fursona-check-dialog {
  margin: 0.5em;
  margin-bottom: 2.5em;
  height: min-content;
  width: 500px;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
}
.fursona-check .fursona-check-dialog .dialog-header {
  padding: 0 0.5em;
  margin-bottom: 0.5em;
}
.fursona-check .fursona-check-dialog .dialog-content {
  background: var(--color-foreground);
  padding: 2em 1em 1em;
  border-radius: 3px 3px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fursona-check .fursona-check-dialog .dialog-content p:last-child {
  margin-bottom: 0;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-top: 1em;
  width: 400px;
  max-width: 100%;
  touch-action: none;
  overscroll-behavior: none;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area canvas {
  border: 1px solid #ccc;
  background: #fff;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .drawing-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease-in-out, background 0.2s ease-in-out;
  background: var(--color-section-lighten-5);
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .drawing-button:hover {
  transform: scale(1.1);
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .drawing-button.selected {
  border-color: #fff;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .color-picker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 0.5em;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
  margin-top: 0.5em;
  width: 100%;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .tools {
  display: flex;
  gap: 0.5em;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .tools #eraser,
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .tools #undo {
  font-size: 1.2em;
  color: var(--color-text);
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .brush-picker {
  display: flex;
  gap: 0.5em;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .brush-picker .brush-size .brush-dot {
  border-radius: 50%;
  background: #000;
  transition: background 0.1s ease-in-out;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .brush-picker .brush-size .brush-small {
  width: 10px;
  height: 10px;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .brush-picker .brush-size .brush-medium {
  width: 16px;
  height: 16px;
}
.fursona-check .fursona-check-dialog .dialog-content #drawing-area .brush-controls .brush-picker .brush-size .brush-large {
  width: 24px;
  height: 24px;
}
.fursona-check .fursona-check-dialog .dialog-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5em;
  background: var(--color-foreground);
  padding: 1em 1em 2em;
  border-radius: 0 0 3px 3px;
}
.fursona-check .fursona-check-dialog .dialog-footer button {
  background: var(--color-section-lighten-5);
  color: var(--color-link);
  padding: 0.5em 1em;
  border-radius: 3px;
  transition: background 0.1s ease-in-out;
}
.fursona-check .fursona-check-dialog .dialog-footer button:hover {
  background: var(--color-section-lighten-10);
  color: var(--color-link-hover);
}

div#c-iqdb-queries div#a-show article.thumbnail {
  width: 180px;
  border: lightgrey solid 1px;
}
div#c-iqdb-queries div#a-show article.thumbnail img {
  margin-top: 10px;
}

div#c-static div#a-keyboard-shortcuts {
  overflow: visible;
}
div#c-static div#a-keyboard-shortcuts section {
  min-width: 20%;
  float: left;
  margin-bottom: 1em;
  padding-right: 1em;
}
div#c-static div#a-keyboard-shortcuts section h1 {
  font-size: 1.16667em;
}
div#c-static div#a-keyboard-shortcuts section li {
  margin-bottom: 0.5em;
}

.settings-section {
  background-color: var(--color-section);
  border-radius: 3px;
  padding: 0.5em 0.75em;
  margin-bottom: 0.5em;
}
.settings-section .simple_form {
  background-color: unset !important;
  padding: 0 !important;
}

form.lockdown-form div.input {
  display: flex;
  gap: 0.75em;
  margin-bottom: 0.25em;
}
form.lockdown-form div.input input[type=checkbox] {
  order: -1;
}

#c-meta-searches section {
  margin-bottom: 2em;
}

div#c-moderator-dashboards .activity-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  column-gap: 2em;
}
div#c-moderator-dashboards .activity-container .activity {
  margin-bottom: 1em;
}
div#c-moderator-dashboards div#activity-search {
  margin-bottom: 2em;
}
div#c-moderator-dashboards caption {
  font-size: 1.1em;
  font-weight: bold;
  text-align: left;
}

div#c-news-updates div#a-edit .hint, div#c-news-updates div#a-new .hint {
  display: block;
}

div#note-container {
  position: absolute;
  z-index: 50;
}
div#note-container[data-resizing=true] {
  display: none;
}
div#note-container div.note-body {
  position: absolute;
  border: 1px solid black;
  background: #FFE;
  color: black;
  min-width: 140px;
  min-height: 1em;
  line-height: normal;
  cursor: pointer;
  padding: 4px;
  z-index: 150;
  overflow: auto;
}
div#note-container div.note-box {
  position: absolute;
  border: 1px solid white;
  min-width: 5px;
  min-height: 5px;
  width: 100px;
  height: 100px;
  cursor: move;
  background: transparent;
  line-height: normal;
}
div#note-container div.note-box div.note-box-inner-border {
  border: 1px solid black;
  background: #FFE;
}
div#note-container div.note-box div.note-box-inner-border.unsaved {
  border: 1px solid red;
}
div#note-container div.note-box.note-box-highlighted {
  outline: 2px solid var(--palette-plain-blue);
}

div#note-preview {
  position: absolute;
  border: 1px solid red;
  opacity: 0.6;
  display: none;
  background: white;
}

div.note-edit-dialog {
  font-size: 0.8em;
}

div#add-to-pool-dialog {
  font-size: 0.8em;
}
div#add-to-pool-dialog form {
  margin-bottom: 1em;
}
div#add-to-pool-dialog li {
  margin-left: 1em;
  cursor: pointer;
}
div#add-to-pool-dialog .hint {
  display: block;
}

div#c-pools div#a-show #blacklist-box {
  display: inline;
}
div#c-pools div#a-show div#description {
  margin-bottom: 1em;
}

div#c-pool-orders div#a-edit ul.ui-sortable {
  list-style-type: none;
}
div#c-pool-orders div#a-edit ul.ui-sortable li {
  cursor: pointer;
  margin-right: 20px;
  margin-bottom: 20px;
  min-width: 150px;
  min-height: 150px;
  padding: 10px;
  display: inline-block;
}
div#c-pool-orders div#a-edit ul.ui-sortable li.ui-state-default {
  background: none;
}
div#c-pool-orders div#a-edit ul.ui-sortable li.ui-state-placeholder {
  background: none;
}

div#c-popular header {
  text-align: center;
}
div#c-popular header h1 {
  font-size: 3em;
}
div#c-popular header p.byline {
  font-size: 1.2em;
  font-style: italic;
}
div#c-popular div.posts {
  padding: 1em;
  margin-bottom: 2em;
}

div#c-confirm-delete #reason {
  width: 100%;
}
div#c-confirm-delete #delreason-clear {
  width: 5rem;
}
div#c-confirm-delete .post_delete_options {
  display: flex;
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button {
  display: block;
  cursor: pointer;
  width: fit-content;
  margin: 0.125rem 0;
  padding: 0;
  color: var(--color-link);
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button::before {
  content: "+";
  margin-right: 0.5em;
  font-family: monospace;
  font-size: 1.25em;
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button input[type=text] {
  background: transparent;
  border: 0;
  background: rgba(255, 255, 255, 0.062745098);
  border-radius: 0.125rem;
  padding: 0 0.25rem;
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button.enabled::before {
  content: "-";
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button:hover {
  color: var(--color-link-hover);
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button:hover input[type=text] {
  color: var(--color-link-hover);
  border-color: var(--color-link-hover);
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button input[type=text] {
  border-bottom: 1px solid var(--color-link);
  color: var(--color-link);
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button input[type=text]:focus {
  color: var(--color-link) !important;
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button.enabled {
  color: var(--color-link-active);
}
div#c-confirm-delete #delreason-prebuilt a.delreason-button.enabled input[type=text] {
  color: var(--color-link-active);
  border-color: var(--color-link-active);
}

div#c-post-flags tr.flag-resolved-true {
  background: #822828 !important;
}
div#c-post-flags .flag-reason-title, div#c-post-flags .flag-reason-text {
  white-space: pre-wrap;
}

.dtext-container.post-flag-note {
  background: var(--color-section);
  padding: 0.25rem 0.5rem;
  margin: 0.25rem 0.5rem;
  border: 1px solid var(--color-section-lighten-5);
  border-left: 0.25rem solid var(--color-dtext-quote);
  border-radius: 0.25rem;
  max-height: 1.5rem;
  cursor: pointer;
}
.dtext-container.post-flag-note.expanded {
  max-height: unset;
}

div#c-posts div.notice .dtext-container.post-flag-note p {
  margin-bottom: 1em;
}
div#c-posts div.notice .dtext-container.post-flag-note p:last-child {
  margin-bottom: 0;
}

body.c-post-flags.a-new .flag-dialog-body label {
  font-weight: normal;
  font-size: 1rem;
  cursor: pointer;
}
body.c-post-flags.a-new .flag-dialog-body div.styled-dtext {
  margin: 0.125rem 1.25rem;
  filter: brightness(85%);
}
body.c-post-flags.a-new .flag-dialog-body input[type=radio] {
  width: 1rem;
}
body.c-post-flags.a-new .flag-dialog-body .post_flag_parent_id {
  display: flex;
  margin: -0.5rem 0 0 1.25rem;
}
body.c-post-flags.a-new .flag-dialog-body form.simple_form div.input label {
  font-weight: normal;
  margin-right: 1rem;
  cursor: default;
}
body.c-post-flags.a-new .flag-dialog-body form.simple_form div.input span.error {
  margin-left: 1rem;
}
body.c-post-flags.a-new .flag-dialog-body hr {
  margin: 0.75rem 1.25rem;
}
body.c-post-flags.a-new .flag-dialog-body h3 {
  margin: 0.5rem 1.25rem;
  font-weight: normal;
}
body.c-post-flags.a-new .flag-dialog-body .flag-notes {
  margin: 1rem 0;
}
body.c-post-flags.a-new .flag-dialog-body input[type=submit] {
  background: var(--color-tag-artist);
  font-size: 1.25rem;
  padding: 0.5rem 2rem;
  margin: 0.5rem;
  border-radius: 0.25rem;
}

#has-parent-relationship-preview, #has-children-relationship-preview {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#has-parent-relationship-preview article.thumbnail, #has-children-relationship-preview article.thumbnail {
  border: none;
  margin: 0;
  padding: 5px 5px 10px;
}

div#c-posts .source-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}
div#c-posts .source-link:hover {
  overflow: visible;
  height: auto;
  z-index: 2;
  position: relative;
  max-width: none;
}
div#c-posts .source-link:hover a {
  background: var(--color-background);
}
div#c-posts .fav-buttons {
  font-size: 14pt;
}
div#c-posts .fav-buttons button.ui-button {
  padding: 0.25em 0.75em;
}
div#c-posts .fav-buttons-true #add-fav-button {
  display: none;
}
div#c-posts .fav-buttons-false #remove-fav-button {
  display: none;
}
div#c-posts .fav-buttons .button > i, div#c-posts .fav-buttons .simple_form div.collection-radio-buttons input + label > i, .simple_form div.collection-radio-buttons div#c-posts .fav-buttons input + label > i,
div#c-posts #image-download-link .button > i,
div#c-posts #image-download-link .simple_form div.collection-radio-buttons input + label > i,
.simple_form div.collection-radio-buttons div#c-posts #image-download-link input + label > i {
  display: none;
}
@media only screen and (max-width: 500px) {
  div#c-posts #image-extra-controls {
    justify-content: center;
  }
  div#c-posts .fav-buttons .button > i, div#c-posts .fav-buttons .simple_form div.collection-radio-buttons input + label > i, .simple_form div.collection-radio-buttons div#c-posts .fav-buttons input + label > i,
  div#c-posts #image-download-link .button > i,
  div#c-posts #image-download-link .simple_form div.collection-radio-buttons input + label > i,
  .simple_form div.collection-radio-buttons div#c-posts #image-download-link input + label > i {
    display: inline-block;
  }
  div#c-posts .fav-buttons .button > span, div#c-posts .fav-buttons .simple_form div.collection-radio-buttons input + label > span, .simple_form div.collection-radio-buttons div#c-posts .fav-buttons input + label > span,
  div#c-posts #image-download-link .button > span,
  div#c-posts #image-download-link .simple_form div.collection-radio-buttons input + label > span,
  .simple_form div.collection-radio-buttons div#c-posts #image-download-link input + label > span {
    display: none;
  }
}
div#c-posts div.parent-children {
  display: flex;
  margin: 0 -0.25rem;
  margin-bottom: 0.25rem;
}
div#c-posts div.parent-children div.notice {
  margin: 0 0.25rem;
}
div#c-posts div.parent-children div.notice-parent {
  flex-grow: 1;
}
div#c-posts div.notice {
  border-radius: 3px;
  padding: 0.5em;
  margin-bottom: 0.5em;
  overflow: hidden;
}
div#c-posts div.notice ul {
  margin-left: 1em;
}
div#c-posts div.notice p {
  margin: 0;
}
div#c-posts div.notice .resolved {
  margin-left: 0.5em;
  font-weight: bold;
}
div#c-posts div.notice.notice-parent, div#c-posts div.notice.notice-child, div#c-posts div.notice.notice-pending, div#c-posts div.notice.notice-resized {
  background-color: var(--color-section);
  border: 1px solid var(--color-foreground);
}
div#c-posts div.notice.notice-no-shortcuts, div#c-posts div.notice.notice-flagged, div#c-posts div.notice.notice-deleted {
  background-color: var(--color-danger-darken-10);
  border: 1px solid var(--color-foreground);
}
div#c-posts div.nav-notice {
  display: flex;
  flex-flow: column;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
  background-color: var(--color-section);
  position: relative;
}
div#c-posts div.nav-notice p {
  margin: 0;
  text-align: center;
}
div#c-posts aside#sidebar #tag-list h2 {
  font-size: 1em;
}
div#c-posts div#a-index menu#post-sections {
  margin-bottom: 0.5em;
  font-size: 1.16667em;
}
div#c-posts div#a-index menu#post-sections li {
  padding: 0 1em 0.5em 0;
}
div#c-posts div#a-index menu#post-sections li.active {
  font-weight: bold;
}
div#c-posts div#a-show .active, div#c-posts div#a-show .pool-selected-true {
  font-weight: bold;
}
div#c-posts div#a-show menu#post-sections {
  margin: 0;
  font-size: 1.16667em;
}
div#c-posts div#a-show menu#post-sections li {
  padding: 0 1em 0 0;
}
div#c-posts div#a-show menu#post-sections div.share a {
  margin: 0;
}
div#c-posts div#a-show div.notices {
  margin: 1em 0;
}
div#c-posts div#a-show #pending-approval-notice .notice-pending-toolbar {
  display: none;
}
div#c-posts div#a-show #pending-approval-notice.enabled .notice-pending-status {
  display: none;
}
div#c-posts div#a-show #pending-approval-notice.enabled .notice-pending-toolbar {
  display: block;
}
div#c-posts div#a-show div.quick-mod .quick-mod-group {
  display: flex;
  color: var(--color-text-muted);
  align-items: center;
  flex-wrap: wrap;
  margin: 0.25em 0;
}
div#c-posts div#a-show div.quick-mod .quick-mod-group a {
  text-wrap: nowrap;
}
div#c-posts div#a-show div.quick-mod .btn-important {
  font-weight: 700;
}
div#c-posts div#a-show textarea {
  margin-bottom: 0.25em;
}
div#c-posts div#a-show #edit .edit-submit {
  position: sticky;
  bottom: 0;
  background: var(--color-section);
  width: min-content;
  padding: 1rem 1rem 1rem 0.5rem;
  margin: 0;
}
div#c-posts div#a-show #edit textarea {
  width: 100%;
}
div#c-posts div#a-show #edit #post_rating_e:checked + label {
  background-color: var(--color-rating-explicit);
}
div#c-posts div#a-show #edit #post_rating_q:checked + label {
  background-color: var(--color-rating-questionable);
}
div#c-posts div#a-show #edit #post_rating_s:checked + label {
  background-color: var(--color-rating-safe);
}
div#c-posts div#a-show .nav-block {
  background: var(--color-section);
}
div#c-posts div#a-show .nav-block li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
div#c-posts div#a-show .nav-block li .nav-link {
  flex-shrink: 2;
  padding: 0.5em;
}
div#c-posts div#a-show .nav-block li a.nav-link:hover {
  background: var(--color-section-lighten-5);
}
div#c-posts div#a-show .nav-block li span.nav-name {
  flex-grow: 2;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 0;
}
div#c-posts div#a-show span.close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
div#c-posts div#a-show div.comments-for-post {
  width: 100%;
}
div#c-posts div#quick-edit-div textarea {
  width: 70%;
  height: 4em;
  display: block;
}

div#avoid-posting-notice {
  font-size: 1.25rem;
  line-height: 1.5rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--color-section);
  border: 1px solid var(--color-foreground);
}
div#avoid-posting-notice ul {
  list-style: disc;
}
div#avoid-posting-notice li .artist, div#avoid-posting-notice li .separator, div#avoid-posting-notice li .details {
  display: table-cell;
}
div#avoid-posting-notice li .separator {
  color: var(--color-text-muted);
  padding: 0 0.3rem;
}

div#c-post-versions div#a-index a, div#c-artist-versions div#a-index a {
  word-wrap: break-word;
  word-break: keep-all;
}

div#c-popular a.desc {
  font-weight: bold;
  margin: 0 0.5em;
}
div#c-popular #popular-nav-links {
  text-align: center;
}
div#c-popular .period {
  margin: 0 4.75em;
}

div#unapprove-dialog p {
  margin-bottom: 1em;
}

textarea[data-autocomplete=tag-edit] {
  font-family: monospace;
}

#image.fit-window {
  max-width: 100%;
}
#image.fit-window-vertical {
  max-width: 100%;
  max-height: 95vh;
}

section#image-extra-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0.5em 0;
}

.image-vote-buttons .post-score {
  padding: 0 0.5rem;
}

div#image-and-nav {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(5, auto);
}
[data-th-nav=bottom] div#image-and-nav #nav-links-top {
  display: none;
}
[data-th-nav=top] div#image-and-nav #nav-links-bottom {
  display: none;
}
[data-th-nav=none] div#image-and-nav #nav-links-top, [data-th-nav=none] div#image-and-nav #nav-links-bottom {
  display: none;
}

body[data-user-can-approve-posts=true] .notice.notice-flagged .button, body[data-user-can-approve-posts=true] .notice.notice-flagged .simple_form div.collection-radio-buttons input + label, .simple_form div.collection-radio-buttons body[data-user-can-approve-posts=true] .notice.notice-flagged input + label, body[data-user-can-approve-posts=true] .notice.notice-deleted .button, body[data-user-can-approve-posts=true] .notice.notice-deleted .simple_form div.collection-radio-buttons input + label, .simple_form div.collection-radio-buttons body[data-user-can-approve-posts=true] .notice.notice-deleted input + label, body[data-user-can-approve-posts=true] .notice.notice-pending .button, body[data-user-can-approve-posts=true] .notice.notice-pending .simple_form div.collection-radio-buttons input + label, .simple_form div.collection-radio-buttons body[data-user-can-approve-posts=true] .notice.notice-pending input + label {
  font-size: 1.25rem;
  line-height: 1.5rem;
  padding: 0.25rem 0.5rem;
}

/* Flag page */
@media only screen and (min-width: 550px) {
  .flag-dialog-preview {
    display: flex;
  }
}
.flag-dialog-preview blockquote {
  border: 0;
  text-align: center;
}
.flag-dialog-preview blockquote h3 {
  padding: 0;
}
.flag-dialog-preview p {
  margin-bottom: 0.25em;
}

div#c-post-replacements .replacement-pending-row {
  background-color: var(--color-danger-darken-10);
}
div#c-post-replacements .replacement-processing-row {
  background-color: var(--color-warning-darken-5);
}
div#c-post-replacements .replacement-reason {
  white-space: pre-wrap;
}
div#c-post-replacements .disabled-link {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: var(--color-text-muted);
}
div#c-post-replacements .upload_preview_img {
  max-width: 100%;
}
div#c-post-replacements .upload_preview_container {
  margin-top: 0.5rem;
}
div#c-post-replacements .error_message, div#c-post-replacements .source_warning {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  width: fit-content;
}
div#c-post-replacements #avoid-posting-notice ul {
  margin-left: 1em;
}

div#c-post-versions div#a-index .desc-show {
  cursor: pointer;
}
div#c-post-versions div#a-index .desc-popup {
  display: none;
  z-index: 10;
  width: 800px;
  height: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: auto;
  margin-left: -400px;
  margin-top: -200px;
  box-shadow: 0px 0px 15px #07162D, 0px 0px 15px #07162D, 0px 0px 15px #07162D !important;
}
div#c-post-versions div#a-index .desc-popup-inner {
  height: 370px;
  overflow: auto;
}
div#c-post-versions div#a-index .closebutton {
  float: right;
  cursor: pointer;
  margin-right: 10px;
  font-size: 14pt;
  font-weight: bold;
  color: white;
  vertical-align: center;
  margin-top: -3px;
}
div#c-post-versions div#a-index .pv-label {
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  background: var(--color-section);
  padding: 0.25rem 0.5rem;
}
div#c-post-versions div#a-index .pv-content {
  background: inherit;
  padding: 0.25rem 0.5rem;
}
div#c-post-versions div#a-index .post-version {
  display: grid;
  border: 1px solid black;
  margin-bottom: 0.5rem;
  grid-template-columns: 2rem repeat(12, 1fr);
  grid-auto-rows: auto;
}
div#c-post-versions div#a-index .pv-check {
  grid-row-start: 1;
  grid-row-end: 5;
  grid-column: 1;
  background-color: var(--color-section-lighten-5);
}
div#c-post-versions div#a-index .pv-post-label {
  grid-row: 1;
  grid-column-start: 2;
  grid-column-end: 3;
}
div#c-post-versions div#a-index .pv-post {
  grid-row: 2;
  grid-column-start: 2;
  grid-column-end: 3;
  border-dir: 1px solid black;
}
div#c-post-versions div#a-index .pv-date-label {
  grid-row: 1;
  grid-column-start: 3;
  grid-column-end: 5;
}
div#c-post-versions div#a-index .pv-date {
  grid-row: 2;
  grid-column-start: 3;
  grid-column-end: 5;
  border-dir: 1px solid black;
}
div#c-post-versions div#a-index .pv-reason-label {
  grid-row: 1;
  grid-column-start: 5;
  grid-column-end: 7;
}
div#c-post-versions div#a-index .pv-reason {
  grid-row: 2;
  grid-column-start: 5;
  grid-column-end: 7;
  border-dir: 1px solid black;
}
div#c-post-versions div#a-index .pv-description-label {
  grid-row: 1;
  grid-column-start: 7;
  grid-column-end: 9;
}
div#c-post-versions div#a-index .pv-description {
  grid-row: 2;
  grid-column-start: 7;
  grid-column-end: 9;
  border-dir: 1px solid black;
}
div#c-post-versions div#a-index .pv-tags-locked-label {
  grid-row: 1;
  grid-column-start: 9;
  grid-column-end: 13;
}
div#c-post-versions div#a-index .pv-tags-locked {
  grid-row: 2;
  grid-column-start: 9;
  grid-column-end: 13;
  border-dir: 1px solid black;
}
div#c-post-versions div#a-index .pv-tags-label {
  grid-row: 3;
  grid-column-start: 2;
  grid-column-end: 10;
}
div#c-post-versions div#a-index .pv-tags {
  grid-row: 4;
  grid-column-start: 2;
  grid-column-end: 10;
  border-dir: 1px solid black;
}
div#c-post-versions div#a-index .pv-sources-label {
  grid-row: 3;
  grid-column-start: 10;
  grid-column-end: 14;
}
div#c-post-versions div#a-index .pv-sources {
  grid-row: 4;
  grid-column-start: 10;
  grid-column-end: 14;
}
div#c-post-versions div#a-index .pv-actions {
  grid-row: 2;
  grid-column: 13;
}
div#c-post-versions div#a-index .pv-spacer {
  grid-row: 1;
  grid-column: 13;
}

div.related-tags {
  width: 100%;
  margin-bottom: 1em;
  background: var(--color-section-lighten-5);
  overflow: hidden;
  border-radius: 3px;
  display: flex;
  flex-wrap: wrap;
}
div.related-tags .related-section {
  display: flex;
  flex-direction: row;
  flex: 0 1 10%;
  padding: 5px 10px;
}
div.related-tags .related-section .related-title {
  padding: 0 5px;
  font-weight: bold;
}
div.related-tags .related-items {
  display: flex;
  flex-direction: column;
  margin: 0 -5px;
  padding: 0 5px;
}
div.related-tags .related-items .related-item {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(1, 1, 1, 0.15);
  border-radius: 2px;
  padding: 0 5px;
  max-width: 15rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
div.related-tags .tag-active {
  background: var(--color-active-tag);
  color: white;
}
div.related-tags .tag-preview {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(1, 1, 1, 0.15);
  border-radius: 2px;
  padding: 3px;
  margin-right: 5px;
  box-sizing: border-box;
}
div.related-tags .tag-preview .tag-preview-alias {
  background-color: rgba(150, 0, 0, 0.25);
}
div.related-tags .tag-preview .tag-preview-implication {
  background-color: rgba(0, 150, 0, 0.25);
}

@media only screen and (orientation: portrait), (max-width: 1100px) {
  .related-section {
    flex: 0 1 50%;
  }
}
div#c-sessions div#a-new label[for=session_remember] {
  display: inline;
  font-weight: normal;
  font-style: italic;
}

div#c-static div#a-site-map {
  display: flex;
  flex-flow: row wrap;
  max-width: 80em;
}
div#c-static div#a-site-map section {
  width: 20em;
}
div#c-static div#a-site-map section ul {
  margin-bottom: 1.5em;
}

.staff-note-list h4.author-name {
  font-size: 1em;
}

.staff-note {
  margin-bottom: 0.5rem;
}
.staff-note[data-is-deleted=true] {
  background: var(--palette-background-red);
}

.stats-column {
  width: 400px;
  display: inline-block;
  vertical-align: top;
  padding-right: 1em;
}
.stats-column table {
  margin-bottom: 1em;
  box-shadow: 2px 2px 5px var(--color-background);
}
.stats-column table .stats-pct {
  text-align: right;
  padding-right: 0.5em;
}

div#c-tags div#a-index table.striped td:nth-child(1), div#c-tags div#a-index table.striped th:nth-child(1) {
  width: 5em;
  text-align: right;
}
div#c-tags div#a-index table.striped td:nth-child(2), div#c-tags div#a-index table.striped th:nth-child(2) {
  padding-left: 1em;
  width: 40em;
}

#tags-container {
  max-width: 70em;
}
#tags-container div.header {
  margin: 0;
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
}
#tags-container div.header label {
  grid-column: 1;
}
#tags-container div.header .options {
  grid-column: 2;
  justify-self: end;
}
#tags-container div.header .options .count {
  text-decoration: italic;
  margin-left: 0.25em;
  padding-bottom: 0.2em;
}
#tags-container div.header .options i {
  margin-left: 0.25em;
  font-size: 11pt;
}
#tags-container div.header .options .fa-face-frown {
  color: red;
}
#tags-container div.header .options .fa-face-meh {
  color: darkkhaki;
}
#tags-container div.header .options .fa-face-smile {
  color: green;
}

div#c-takedowns .takedown-vericode {
  border-radius: 3px;
  padding: 1rem;
  font-weight: bold;
  cursor: default;
}
div#c-takedowns .takedown-instructions-header {
  font-size: 16pt;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}
div#c-takedowns #takedown-posts {
  overflow: hidden;
}
div#c-takedowns #takedown-add-posts-tags-warning {
  display: none;
}
div#c-takedowns #takedown-add-posts-tags-confirm, div#c-takedowns #takedown-add-posts-tags-cancel {
  display: none;
  background-color: #FFEB7E;
}
div#c-takedowns #takedown-post-buttons {
  margin-bottom: 20px;
}
div#c-takedowns .takedown-post-label {
  display: inline-block;
  height: 20px;
  width: 80px;
  vertical-align: middle;
  line-height: 20px;
  margin-bottom: 2px;
  margin-right: 5px;
  cursor: pointer;
}
div#c-takedowns .takedown-postall-label {
  text-align: center;
}
div#c-takedowns .takedown-post-label span {
  position: relative;
  top: -2px;
}
div#c-takedowns .takedown-post-remove {
  width: 20px;
  background-color: #e45f5f;
  text-align: center;
}
div#c-takedowns .takedown-post-keep {
  background-color: #3e9e49;
}
div#c-takedowns .takedown-post-delete {
  background-color: #e45f5f;
}

div#c-static div#a-takedown ul {
  list-style: disc;
  padding: revert;
}

div#c-static div#a-terms-of-service {
  width: 40em;
}
div#c-static div#a-terms-of-service h1 {
  font-size: 1.5em;
}
div#c-static div#a-terms-of-service p {
  margin-bottom: 1em;
}
div#c-static div#a-terms-of-service ul {
  margin-left: 1em;
  margin-bottom: 1em;
}
div#c-static div#a-terms-of-service li {
  list-style-type: disc;
}
div#c-static div#a-terms-of-service section {
  margin-bottom: 2em;
}

.theme-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
}
@media (min-width: 30rem) {
  .theme-form {
    grid-template-columns: min-content auto;
    max-width: 30rem;
    gap: 1rem;
  }
  .theme-form h3, .theme-form br, .theme-form p.theme-info {
    grid-column: 1/-1;
  }
  .theme-form label {
    text-align: right;
  }
  .theme-form .hint {
    grid-column: 2;
  }
}
.theme-form h3, .theme-form br, .theme-form p.theme-info {
  text-align: center;
}
.theme-form h3 {
  margin-top: 0.5em;
}
.theme-form .hint {
  max-width: unset;
}

.theme-variable-form {
  display: grid;
  grid-template-columns: auto min-content min-content;
  gap: 0.5rem 1rem;
  max-width: 30rem;
}
.theme-variable-form h3 {
  grid-column: 1/-1;
}
.theme-variable-form label, .theme-variable-form span {
  align-content: center;
}

#c-tickets #a-new .section {
  max-width: 80em;
}
#c-tickets #a-new form.simple_form {
  background-color: transparent;
}
#c-tickets #a-new .ticket-warning {
  display: block;
  background: var(--color-section-lighten-5);
  border-radius: 6px;
  padding: 0.5em;
  margin-bottom: 1em;
}
#c-tickets #a-new .ticket-warning ul {
  list-style: disc;
  margin: 0.5em 1.2em;
}

.approved-ticket {
  color: var(--palette-text-green);
  font-weight: bold;
}

.partial-ticket {
  color: var(--palette-text-yellow);
  font-weight: bold;
}

div#c-uploads div#a-new {
  /* Need to override this so it shows up at all. */
}
div#c-uploads div#a-new .toggle-button {
  box-sizing: border-box;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: center;
  user-select: none;
  padding: 0.175em 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
}
div#c-uploads div#a-new .toggle-button:last-child {
  margin-right: 0;
}
div#c-uploads div#a-new .toggle-button.active {
  background-color: var(--color-button-active);
}
div#c-uploads div#a-new .rating-e.active {
  background-color: var(--color-rating-explicit);
}
div#c-uploads div#a-new .rating-q.active {
  background-color: var(--color-rating-questionable);
}
div#c-uploads div#a-new .rating-s.active {
  background-color: var(--color-rating-safe);
}
div#c-uploads div#a-new .flex-grid-outer {
  display: flex;
  padding: 10px 0;
}
div#c-uploads div#a-new .upload_preview_container.in-editor {
  display: none;
}
div#c-uploads div#a-new .upload_preview_container.in-sidebar {
  position: sticky;
  top: 20px;
}
div#c-uploads div#a-new .upload_preview_img {
  max-width: 100%;
}
div#c-uploads div#a-new .flex-grid {
  display: flex;
  padding: 10px 0;
}
div#c-uploads div#a-new .flex-wrap {
  display: flex;
  flex-wrap: wrap;
}
div#c-uploads div#a-new .col {
  flex: 1 0 0;
  margin-right: 5px;
}
div#c-uploads div#a-new .col2 {
  flex: 2 1 0;
}
div#c-uploads div#a-new .border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
div#c-uploads div#a-new .section-label {
  white-space: normal;
  font-weight: bold;
}
div#c-uploads div#a-new .come-together-now {
  padding-bottom: 0;
}
div#c-uploads div#a-new .over-me {
  padding-top: 0;
}
div#c-uploads div#a-new .tag-textarea {
  display: inline-block; /* Why were we even unsetting this? It breaks EVERYTHING. */
  font-size: 1rem;
  width: 100%;
  resize: vertical;
}
div#c-uploads div#a-new #whitelist-warning {
  display: block;
  float: none;
}
div#c-uploads div#a-new .upload-source-row button {
  width: 1.5em;
}
div#c-uploads div#a-new .upload-source-row input {
  margin-bottom: 2px;
  width: 100%;
}
@media only screen and (orientation: portrait), (max-width: 1100px) {
  div#c-uploads div#a-new #preview-sidebar {
    display: none;
  }
  div#c-uploads div#a-new .upload_preview_container.in-editor {
    display: flex;
    flex-direction: column-reverse;
  }
  div#c-uploads div#a-new .upload_preview_container.in-sidebar {
    display: none;
  }
  div#c-uploads div#a-new .upload_preview_dims {
    text-align: center;
  }
  div#c-uploads div#a-new .upload_preview_img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 500px;
  }
  div#c-uploads div#a-new .below-upload > .upload_preview_img {
    max-height: 150px;
  }
  div#c-uploads div#a-new .related-section {
    flex: 0 1 50%;
  }
  div#c-uploads div#a-new .flex-grid {
    flex-direction: column;
  }
  div#c-uploads div#a-new input {
    max-width: 90%;
  }
}
div#c-uploads div#a-index .post-info {
  margin-right: 1.5em;
}
div#c-uploads div.upload-preview {
  display: inline-block;
}
div#c-uploads div.upload-preview > a {
  width: 154px;
  height: 154px;
  margin: 0 10px 10px 0;
  display: inline-block;
}
div#c-uploads div.upload-preview > a img {
  margin: auto;
  border: 2px solid transparent;
  max-width: 154px;
  max-height: 154px;
}
div#c-uploads div.upload-preview .caption-top {
  font-size: 0.8em;
  margin-bottom: 0;
}

.uploader-file-input {
  display: block;
  max-width: 800px;
}
.uploader-file-input[file-enabled=true] label.fileinput {
  border-radius: 6px;
}
.uploader-file-input[link-enabled=true] label.linkinput {
  border-radius: 6px;
}
.uploader-file-input[file-enabled=true][link-enabled=true] label.fileinput {
  border-radius: 6px 6px 0 0;
}
.uploader-file-input[file-enabled=true][link-enabled=true] label.linkinput {
  border-radius: 0 0 6px 6px;
  flex-flow: column;
  margin-top: -0.5em;
}
.uploader-file-input label.fileinput {
  display: flex;
  flex-flow: column;
  align-items: center;
  position: relative;
  gap: 0.5em;
  padding: 1em;
  font-weight: unset;
  border-radius: 6px;
  background: var(--color-section-lighten-10);
  border: 2px dashed var(--color-section-lighten-10);
}
.uploader-file-input label.fileinput[dragging=true] {
  border-color: #fff;
}
.uploader-file-input label.fileinput input[type=file] {
  opacity: 0;
  position: absolute;
  bottom: 0;
  height: 0px;
}
.uploader-file-input label.fileinput > span {
  pointer-events: none;
  text-align: center;
  text-wrap: wrap;
}
.uploader-file-input label.fileinput > span.title {
  font-size: 1.3em;
}
.uploader-file-input label.fileinput > span.subtitle {
  color: var(--palette-text-grey);
}
.uploader-file-input label.fileinput > span.subtitle u {
  text-decoration: none;
  border-bottom: 1px solid var(--palette-text-grey);
}
.uploader-file-input label.fileinput:hover {
  cursor: pointer;
}
.uploader-file-input button.btn-clear {
  display: block;
  margin: 1em auto 0;
  font-size: 1.1em;
  width: 10em;
}
.uploader-file-input label.linkinput {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  padding: 1em;
  background: var(--color-section-lighten-5);
}
.uploader-file-input label.linkinput input[type=text] {
  font-family: monospace;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  flex: 1;
}
.uploader-file-input #whitelist-warning {
  padding: 0.25em 1em;
}

div#c-maintenance-user-deletions ul {
  margin-left: 1em;
  margin-bottom: 1em;
}
div#c-maintenance-user-deletions li {
  list-style-type: disc;
}

.user-feedback-positive {
  color: var(--palette-text-green);
}

.user-feedback-neutral {
  color: var(--palette-text-grey);
}

.user-feedback-negative {
  color: var(--palette-text-red);
}

.user-feedback-deleted {
  color: var(--palette-text-yellow);
}

div#c-user-feedbacks .feedback-category-positive, div#c-moderator-dashboards .activity-container .feedback-category-positive {
  background: var(--palette-background-green);
}
div#c-user-feedbacks .feedback-category-neutral, div#c-moderator-dashboards .activity-container .feedback-category-neutral {
  background: var(--palette-background-grey);
}
div#c-user-feedbacks .feedback-category-negative, div#c-moderator-dashboards .activity-container .feedback-category-negative {
  background: var(--palette-background-red);
}
div#c-user-feedbacks tr.user-feedback[data-is-deleted=true], div#c-moderator-dashboards .activity-container tr.user-feedback[data-is-deleted=true] {
  background: var(--palette-background-yellow);
}
div#c-user-feedbacks blockquote, div#c-moderator-dashboards .activity-container blockquote {
  padding: 0.5em;
}
div#c-user-feedbacks .show-all-user-feedbacks-link, div#c-moderator-dashboards .activity-container .show-all-user-feedbacks-link {
  font-size: 1.5em;
  width: 100%;
  text-align: center;
  padding: 0.5em 0;
}

.user-warning em {
  color: var(--color-rating-explicit);
}

.user-greeting-outer {
  padding: 0.25rem 0 0.25rem;
}
.user-greeting-outer span.user-greeting {
  color: gold;
  cursor: help;
}

#c-users #a-new,
#c-sessions #a-new,
#c-maintenance-user-password-resets #a-new,
#c-maintenance-user-login-reminders #a-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(auto, 360px));
  gap: 1em;
  margin-bottom: 1em;
}

.simple_form.session_form {
  box-sizing: border-box;
  max-width: 360px;
  margin: 0;
}
.simple_form.session_form h1 {
  margin-bottom: 0.5em;
  text-align: center;
}
.simple_form.session_form div.input input[type=text], .simple_form.session_form div.input input[type=email], .simple_form.session_form div.input input[type=password], .simple_form.session_form div.input select {
  width: 100% !important;
  max-width: unset !important;
  box-sizing: border-box;
}

.session_info {
  display: flex;
  flex-flow: column;
  justify-content: center;
  box-sizing: border-box;
  max-width: 360px;
  padding: 0.5rem;
  border-radius: 3px;
  background-color: var(--color-section);
}
.session_info h3 {
  margin-bottom: 1em;
}

#c-wiki-pages #a-show .wiki-page-redirect,
#c-wiki-page-versions .wiki-page-redirect {
  margin-left: 1em;
  color: var(--color-text-muted);
}
#c-wiki-pages #a-show .wiki-page-redirect > i,
#c-wiki-page-versions .wiki-page-redirect > i {
  display: inline-flex;
  margin-right: 0.25em;
}
#c-wiki-pages #a-show .wiki-redirect-history,
#c-wiki-page-versions .wiki-redirect-history {
  color: var(--color-text-muted);
  margin-bottom: 1em;
}
#c-wiki-pages #a-show #wiki-page-body,
#c-wiki-page-versions #wiki-page-body {
  margin-top: 0.25em;
}

div#c-wiki-page-versions #a-index table {
  margin-bottom: 1em;
}
div#c-wiki-page-versions #a-show span.version {
  color: var(--color-text-muted);
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 900px) {
  #ad-leaderboard {
    height: 50px;
    justify-content: center;
  }
  #ad-leaderboard .adzone {
    height: 50px;
    width: 320px;
  }
}
@media screen and (max-width: 800px) {
  .mobile-only {
    display: unset;
  }
  body.resp {
    /* Make the quick search box in the navbar full width. */
  }
  body.resp #c-posts #a-show .nav-block li {
    padding: 0 0.5em;
  }
  body.resp #c-posts #a-show .nav-block li .first span, body.resp #c-posts #a-show .nav-block li .last span {
    display: none;
  }
  body.resp .mobile-search {
    display: block;
    margin: 0.5rem 0.5rem 1.5rem;
  }
  body.resp .mobile-search .search-help {
    font-size: 85%;
  }
  body.resp .mobile-search > .search-form > form {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    margin-bottom: 0.25rem;
  }
  body.resp .mobile-search > .search-form > form .search-input {
    width: 100%;
    flex-grow: 1;
  }
  body.resp .mobile-search > .search-form > form .search-input input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 3px 0 0 3px;
  }
  body.resp .mobile-search > .search-form > form .search-button > button {
    width: 32px;
    height: 32px;
    border-left: 1px solid #ccc;
    border-radius: 0 3px 3px 0;
  }
  body.resp div#page > div > div {
    display: flex;
    flex-direction: column;
    /* Move #sidebar below #content. */
  }
  body.resp div#page > div > div > aside#sidebar {
    font-size: 1.5em;
    float: none;
    width: auto;
    order: 2;
  }
  body.resp header {
    position: relative;
  }
  body.resp header#top menu form input {
    width: auto;
  }
  body.resp form select, body.resp form input, body.resp form textarea, body.resp form button {
    max-width: 100%;
  }
  body.resp form select {
    vertical-align: top;
    font-size: 18pt;
  }
  body.resp form input[type=text], body.resp form input[type=email], body.resp form input[type=password], body.resp form input[type=number] {
    vertical-align: top;
    font-size: 18pt;
    border: 1px solid #c5c5c5;
    width: 90%;
  }
  body.resp form textarea {
    width: 90%;
    vertical-align: top;
    border: 1px solid #c5c5c5;
  }
  body.resp form button, body.resp form input[type=button] {
    font-size: 160%;
  }
  body.resp form input[type=submit] {
    font-size: 160%;
  }
  body.resp form input[type=submit].tiny {
    font-size: 120%;
    vertical-align: top;
  }
  body.resp form.simple_form div.input input[type=text], body.resp form.simple_form div.input input[type=email], body.resp form.simple_form div.input input[type=password], body.resp form.simple_form div.input input[type=number] {
    width: 90%;
    max-width: 90%;
  }
  body.resp form.simple_form div.input textarea {
    width: 90%;
    max-width: 90%;
  }
  body.resp div#page section#content {
    margin: 0;
    padding: 0;
  }
  body.resp div#options {
    margin-top: 10px;
    font-size: 24pt;
    font-weight: bold;
  }
  body.resp div#tags {
    margin-top: 30px;
  }
  body.resp div#tags li {
    margin: 10px 0;
  }
  body.resp div#tags a.search-tag {
    font-size: 24pt;
    font-weight: bold;
  }
  body.resp header {
    text-align: center;
    line-height: 2em;
  }
  body.resp header h1 {
    display: inline;
  }
}
@media screen and (max-width: 660px) {
  body.resp #c-forum-topics .creator, body.resp #c-forum-posts .creator {
    display: none;
  }
  body.resp #c-forum-topics .created-at, body.resp #c-forum-posts .created-at {
    display: none;
  }
}
@media screen and (max-width: 440px) {
  body.resp body {
    width: 100%;
  }
  body.resp #post-sections {
    font-size: 1em;
  }
}

/*# sourceMappingURL=style.css.map */

