fanfiction.lol Sans skin by fanfiction.lol

The default fanfiction.lol theme with sans-serif fonts throughout.
Role:
user
Media:
screen
Condition:
Normal

CSS

/* fanfiction.lol site skin
 *
 * Built on a small set of tokens (:root below). Every text and background pairing
 * used here is chosen to reach WCAG AAA (7:1) for body text and at least AA
 * (4.5:1) for everything else.
 */

/* Font overhaul */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Public+Sans:wght@400;500;600;700&display=swap');

body {
  font-family: 'EB Garamond', Georgia, serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: normal !important;
  font-size: 125% !important;
  line-height: 1.125 !important;
}

/* Sans-serif (Public Sans) for interface,
   serif (EB Garamond) for reading text. */
h1, h2, h3, h4, h5, h6, .heading, #header, #footer, #dashboard, .btn, input, select, textarea, button, .button, .action, .actions, .actions a, .navigation, .navigation a,
.pagination, .pagination a, .dropdown, .dropdown a, .menu, .menu a, .current, label, legend, dt, th, thead td, .toggled form, .dynamic form, .secondary, .filters, .tabs, .tabs a {
  font-family: 'Public Sans', sans-serif !important;
}
.userstuff dt, .userstuff th, .userstuff thead td, .userstuff label, .userstuff legend, .userstuff button {
  font-family: inherit !important;
  font-weight: inherit !important;
}

/* Weights: navigation boldest, controls and labels medium */
#header .primary a, #header .primary > li > a, #header ul.user a, #header #login a, #header .dropdown > a, #header .menu a {
  font-family: 'Public Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95em !important;
}
.actions a, .actions button, .actions input, .action, input[type="submit"], button, .button, .current, #dashboard a, #dashboard span, .pagination a, .pagination span, .tabs a {
  font-weight: 500 !important;
}
input[type="submit"], button[type="submit"], .actions .submit input, .btn {
  font-weight: 600 !important;
}
label, dt, th, legend {
  font-weight: 500 !important;
}
th, legend {
  font-weight: 600 !important;
}
#footer a, #footer li, #footer p {
  font-weight: 500 !important;
}
#footer h4, #footer .heading {
  font-weight: 700 !important;
}
.userstuff dt, .userstuff th, .userstuff label, .userstuff legend {
  font-weight: inherit !important;
}


/* ============================================================
   Tokens
   ============================================================ */
:root {
  --ff-primary: #4347b5;
  --ff-primary-dark: #33368a;
  --ff-primary-light: #e3e5fb;
  --ff-link: #3f43a8;
  --ff-link-visited: #5b2a86;
  --ff-link-hover: #1f2260;
  --ff-heading: #33368a;
  --ff-ink: #2a2a2a;
  --ff-button-bg: #e3e5fb;
  --ff-button-hover: #d0d4f7;
  --ff-button-text: #1f2260;
  --ff-border: #6a6fa8;
  --ff-header-from: #4347b5;
  --ff-header-to: #5a4aa8;
  --ff-surface: #eef0fa;
  --ff-notice-bg: #d1e1ef;
  --ff-notice-text: #2d3070;
  --ff-error-bg: #f6dcdc;
  --ff-error-text: #7a1020;
  --ff-caution-bg: #ffe9a6;
  --ff-caution-text: #5a3d00;
}

/* ============================================================
   Links, headings and text
   ============================================================ */
a[href], a[href]:link {
  color: var(--ff-link) !important;
}
a[href]:visited {
  color: var(--ff-link-visited) !important;
}
a[href]:hover, a[href]:focus {
  color: var(--ff-link-hover) !important;
  background-color: transparent !important;
  background-image: none !important;
}
a[href].heading, a[href].title, .heading a[href], .title a[href], a[href].tag {
  color: var(--ff-link) !important;
}
a[href].tag:hover {
  color: var(--ff-link-hover) !important;
}
h1, h2, h3, h4, h5, h6, .heading, .group .heading {
  color: var(--ff-heading) !important;
}
.required {
  color: var(--ff-link) !important;
}
.error:not(.notice), .comment_error, .kudos_error {
  color: var(--ff-error-text) !important;
}

:focus-visible {
  outline: 2px solid var(--ff-primary-dark) !important;
  outline-offset: 2px !important;
}

/* Links: content links are always underlined
   (Archive's own underline is a border-bottom,
   removed to avoid a double line). Navigation,
   buttons and tabs are styled by rules below. */
a[href]:where(:not(.button, .action, .symbol, .help, .landmark, [role="button"])) {
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  border-bottom: 0;
}
a.tag, ul.tags a, .tags a, .heading a, .title a {
  border-bottom: 0 !important;
}
#header a[href], #header .primary a[href], .actions a[href], .navigation a[href], .pagination a[href], #dashboard a[href], .dropdown a[href], .menu a[href], .tabs a[href],
.modal-close, a.close {
  text-decoration: none !important;
}
#footer a[href] {
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* Links that look like buttons use the button text colour (the plain link colour is slightly too light on button backgrounds) */
.navigation a[href]:not(.current), .actions a[href]:not(.current), #dashboard a[href]:not(.current), .pagination a[href]:not(.current) {
  color: var(--ff-button-text) !important;
}

/* Chevrons before the browse-fandoms links (Archive makes them red) */
.splash .browse li a:before {
  color: var(--ff-primary) !important;
}

/* Intro module, left align text instead of centre */
.intro.module .stats, .intro.module .parent, .intro.module.odd .parent, .intro.module.odd p.parent, .intro.module.odd > p, .splash .intro.module.odd > p, .splash .intro .stats, .splash .parent {
  text-align: left !important;
}

/* Make intro module wider for logged-in users to reduce white space */
.logged-in .splash .intro.module {
  width: 100%;
  float: none;
}

/* =================================================================
   Surfaces (replace Archive's flat grey so links reach AAA on them)
   ================================================================= */
fieldset, form dl, fieldset dl dl, dd.hideme, form blockquote.userstuff, .listbox, fieldset fieldset.listbox, dl.index dd, .statistics .index li:nth-of-type(even),
.item dl.visibility, .reading h4.viewed, .comment h4.byline, .thread .even, .annotation, .splash .favorite li:nth-of-type(odd) a {
  background-color: var(--ff-surface) !important;
  background-image: none !important;
  color: var(--ff-ink);
}
fieldset fieldset, fieldset dl dl dl {
  background-color: #ffffff !important;
}
table, thead td, tfoot, caption {
  background: var(--ff-surface) !important;
  background-image: none !important;
  color: var(--ff-ink);
}
th, col.name, tr:hover, tr:hover td, tr:hover th {
  background: #ffffff !important;
}
.own, .draft, .draft .wrapper, .unread, .child, .unwrangled, .unreviewed {
  background: var(--ff-surface) !important;
}
span.unread, .replied, span.claimed, .actions span.defaulted {
  background: var(--ff-button-hover) !important;
  color: var(--ff-button-text) !important;
}
.qtip-content, span.question, .symbol.question {
  background: var(--ff-notice-bg) !important;
  color: var(--ff-notice-text) !important;
}

/* ============================================================
   Header and footer
   ============================================================ */
#header, #header .primary, #footer {
  background: linear-gradient(90deg, var(--ff-header-from), var(--ff-header-to)) !important;
  background-image: linear-gradient(90deg, var(--ff-header-from), var(--ff-header-to)) !important;
  color: #ffffff !important;
  position: relative;
}
#header {
  border-bottom: 7px solid transparent !important;
  border-image: linear-gradient(90deg, #c4b5fd, #93c5fd, #86efac, #fcd34d, #fca5a5) 1 !important;
}
#header .logo {
  margin-right: 0.5em;
}
#header .heading a[href] {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}
#header a[href], #header a[href]:link, #header a[href]:visited, #header .primary a[href], #header .primary a[href]:visited,
#header .primary .heading a, #header .primary .title a {
  color: #ffffff !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}
#header a[href]:hover, #header a[href]:focus, #header .primary a[href]:hover, #header .primary a[href]:focus,
#header .dropdown:hover > a, #header .open > a {
  color: #ffffff !important;
  background-color: rgba(10, 12, 60, 0.4) !important;
  background-image: none !important;
}
#header .search, #header form.search, #header #search, #header form, #header fieldset {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}
#header sup, #header .tagline {
  color: #ffffff !important;
}
#header :focus-visible, #footer :focus-visible {
  outline-color: #ffffff !important;
}
#header h2.collections {
  color: #ffffff !important;
}
#header #login a[href], #header #login a[href]:visited {
  background-color: #ffffff !important;
  color: var(--ff-primary-dark) !important;
  font-weight: 600 !important;
  border: 1px solid #ffffff !important;
}
#header #login a[href]:hover, #header #login .open a:hover, #header #login .open a:focus {
  background-color: var(--ff-primary-light) !important;
  color: var(--ff-primary-dark) !important;
}
#header .menu, #header .dropdown .menu {
  background: var(--ff-primary-dark) !important;
  background-image: none !important;
  border: 1px solid #ffffff !important;
}
#header .dropdown .menu a, #header .dropdown .menu a:visited, #header .menu a {
  color: #ffffff !important;
  background-color: transparent !important;
}
#header .dropdown .menu a:hover, #header .dropdown .menu a:focus, #header .menu a:hover, #header .menu a:focus {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
}
#small_login {
  background: var(--ff-surface) !important;
  background-image: none !important;
  color: var(--ff-ink) !important;
  border: 1px solid var(--ff-border) !important;
}

#footer a[href], #footer a[href]:visited {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#footer a[href]:hover {
  color: #ffffff !important;
  background: rgba(10, 12, 60, 0.4) !important;
}
#footer h4, #footer .heading, #footer .module h4, #footer .module .heading {
  color: #ffffff !important;
  font-weight: 700 !important;
}
#footer .module, #footer .module.group, #footer p, #footer li {
  background-color: transparent !important;
  color: #ffffff !important;
}
.footer-logo {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}
.footer-logo-img {
  max-width: 300px;
  height: auto;
}

/* ===============================================================
   Buttons, action links (secondary by default, submit = primary)
   =============================================================== */
.actions a, .actions a:link, .actions a:visited, .action, .action:link, .action:visited, .actions button, .actions input, .actions label,
input[type="submit"], input[type="button"], input[type="reset"], button, .button, a.button {
  background-color: var(--ff-button-bg) !important;
  background-image: none !important;
  color: var(--ff-button-text) !important;
  border: 1px solid var(--ff-border) !important;
  box-shadow: none !important;
}
.actions a:hover, .actions a:focus, .action:hover, .action:focus, .actions button:hover, .actions button:focus, .actions input:hover, .actions input:focus, label.action:hover,
input[type="button"]:hover, button:hover, button:focus, .button:hover, a.button:hover {
  background-color: var(--ff-button-hover) !important;
  background-image: none !important;
  color: var(--ff-link-hover) !important;
  border-color: var(--ff-primary-dark) !important;
  box-shadow: none !important;
}
.actions a:active, .current, a.current, a:link.current, .current a:visited, .actions .current, #dashboard .current {
  background-color: var(--ff-primary) !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: var(--ff-primary-dark) !important;
  box-shadow: none !important;
}
input[type="submit"], button[type="submit"], .actions input[type="submit"], .actions .submit input, p.submit input, dd.submit input, .submit.actions input,
.btn {
  background-color: var(--ff-primary) !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 1px solid var(--ff-primary-dark) !important;
  font-weight: 600 !important;
}
input[type="submit"]:hover, input[type="submit"]:focus, button[type="submit"]:hover, button[type="submit"]:focus, .actions input[type="submit"]:hover, .actions .submit input:hover,
p.submit input:hover, dd.submit input:hover, .submit.actions input:hover, .btn:hover {
  background-color: var(--ff-primary-dark) !important;
  color: #ffffff !important;
  border-color: var(--ff-primary-dark) !important;
}
.actions label.disabled, #tos_prompt [disabled], button[disabled], input[type="submit"][disabled] {
  background-color: #e6e6e6 !important;
  background-image: none !important;
  color: #595959 !important;
  border-color: #8a8a8a !important;
}
.delete a, span.delete {
  color: var(--ff-error-text) !important;
}

/* Collapsible section toggles (expander buttons) read as links, not buttons */
button.expander, button.expanded, button.collapsed.expander, dt button, .toggle button, .actions.expandable button {
  background-color: transparent !important;
  background-image: none !important;
  color: var(--ff-button-text) !important;
  border: none !important;
}
button.expander:hover, button.expanded:hover, dt button:hover, .toggle button:hover {
  background-color: transparent !important;
  color: var(--ff-link-hover) !important;
}

/* Header search button and the login modal keep the same compact styling */
#header #search input[type="submit"], #header form#search .button {
  background-color: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
}
#header #search input[type="submit"]:hover, #header form#search .button:hover {
  background-color: rgba(10, 12, 60, 0.4) !important;
  color: #ffffff !important;
}
#header #small_login input[type="submit"], #header #small_login .button {
  background-color: var(--ff-primary) !important;
  border: 1px solid var(--ff-primary-dark) !important;
  color: #ffffff !important;
}
#header #small_login input[type="submit"]:hover, #header #small_login .button:hover {
  background-color: var(--ff-primary-dark) !important;
  color: #ffffff !important;
}
#login-modal a[href], #login-modal a[href]:visited, .modal a[href], .modal a[href]:visited, #small_login a[href], #small_login a[href]:visited,
.simple.login a[href], .simple.login a[href]:visited, .footnote.actions a[href], .footnote.actions a[href]:visited {
  color: var(--ff-link) !important;
  font-weight: 600 !important;
}
#login-modal a[href]:hover, .modal a[href]:hover, #small_login a[href]:hover, .simple.login a[href]:hover, .footnote.actions a[href]:hover {
  color: var(--ff-link-hover) !important;
  text-decoration: underline !important;
}
#new_subscription input[type="submit"] {
  background-color: #ffffff !important;
  color: var(--ff-primary-dark) !important;
  border: 1px solid var(--ff-primary) !important;
}
#new_subscription input[type="submit"]:hover {
  background-color: var(--ff-primary-light) !important;
}

/* ============================================================
   Dashboard, notices and misc surfaces
   ============================================================ */
#dashboard.own {
  border-top: 15px solid var(--ff-primary) !important;
  border-bottom: 15px solid var(--ff-primary) !important;
}
#dashboard a, #dashboard a:visited {
  color: var(--ff-link) !important;
}
#dashboard a:hover, #dashboard a:focus {
  color: var(--ff-link-hover) !important;
}
.work.blurb .header {
  border-left: 3px solid var(--ff-primary) !important;
}
.group .blurb .header {
  border-bottom: 3px solid var(--ff-primary) !important;
}
.system .notice, .notice, .comment_notice, .kudos_notice, ul.notes, .announcement .userstuff {
  color: var(--ff-notice-text) !important;
  border-color: var(--ff-primary) !important;
}
.notice a[href], .comment_notice a[href], .kudos_notice a[href], ul.notes a[href], .announcement .userstuff a[href], .system .notice a[href] {
  color: var(--ff-notice-text) !important;
  text-decoration: underline;
}
.error a[href], .comment_error a[href], .kudos_error a[href], #proxy-notice a[href] {
  color: var(--ff-error-text) !important;
  text-decoration: underline;
}
.caution a[href], .alert .userstuff a[href] {
  color: var(--ff-caution-text) !important;
  text-decoration: underline;
}
.error, .comment_error, .kudos_error, #proxy-notice {
  background: var(--ff-error-bg) !important;
  color: var(--ff-error-text) !important;
}
.caution, .alert .userstuff {
  background: var(--ff-caution-bg) !important;
  color: var(--ff-caution-text) !important;
}
.splash .module div.account {
  background: var(--ff-surface) !important;
  color: var(--ff-ink) !important;
}
/* Mark for Later sits in the actions nav and should look like its sibling
   action links, not a primary submit button (indigo-on-indigo otherwise). */
.mark button {
  background-color: var(--ff-button-bg) !important;
  background-image: none !important;
  border: 1px solid var(--ff-border) !important;
  color: var(--ff-button-text) !important;
}
.mark button:hover, .mark button:focus {
  background-color: var(--ff-button-hover) !important;
  border-color: var(--ff-primary-dark) !important;
  color: var(--ff-link-hover) !important;
}
.primary.header.module {
  min-height: 100px !important;
  overflow: visible !important;
}
.primary.header.module .icon {
  height: 100px !important;
  width: 100px !important;
}

/* Terms of Service overlay */
#tos_prompt h2.heading, #tos_prompt .heading {
  background: var(--ff-primary) !important;
  color: #ffffff !important;
}
#tos_prompt h2.heading span {
  color: #ffffff !important;
}

/* ============================================================
   Social buttons, badges, misc
   ============================================================ */
#tumblr-button,
#mastodon-button,
#website-button,
#email-button {
  display: inline-block !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 8px 16px !important;
  margin: 4px !important;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  font-weight: 600 !important;
  font-size: 0.9em !important;
}

/* Tumblr | blue gradient */
#tumblr-button {
  background: linear-gradient(90deg, #36465d, #537199) !important;
  background-image: linear-gradient(90deg, #36465d, #537199) !important;
  background-color: #36465d !important;
}
#tumblr-button:hover {
  background: linear-gradient(90deg, #465671, #6381a9) !important;
  background-image: linear-gradient(90deg, #465671, #6381a9) !important;
  background-color: #465671 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(54, 70, 93, 0.3) !important;
}

/* Mastodon | black-grey gradient */
#mastodon-button {
  background: linear-gradient(90deg, #1a1a1a, #4a4a4a) !important;
  background-image: linear-gradient(90deg, #1a1a1a, #4a4a4a) !important;
  background-color: #1a1a1a !important;
}
#mastodon-button:hover {
  background: linear-gradient(90deg, #2a2a2a, #5a5a5a) !important;
  background-image: linear-gradient(90deg, #2a2a2a, #5a5a5a) !important;
  background-color: #2a2a2a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Website | rainbow gradient (darker) */
#website-button {
  background: linear-gradient(90deg, #7c3aed, #2563eb, #059669, #d97706, #dc2626) !important;
  background-image: linear-gradient(90deg, #7c3aed, #2563eb, #059669, #d97706, #dc2626) !important;
  background-color: #7c3aed !important;
}
#website-button:hover {
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #10b981, #f59e0b, #ef4444) !important;
  background-image: linear-gradient(90deg, #8b5cf6, #3b82f6, #10b981, #f59e0b, #ef4444) !important;
  background-color: #8b5cf6 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

/* Email | dark gray */
#email-button {
  background: #4a4a4a !important;
  background-image: none !important;
}
#email-button:hover {
  background: #5a5a5a !important;
  background-image: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.social.module .resp-sharing-button__icon {
  display: inline-block !important;
  margin-right: 8px !important;
  font-size: 1.1em !important;
}

/* Share buttons keep their brand backgrounds; the link colour and underline
   rules above would otherwise make the white button text unreadable */
#share a.resp-sharing-button__link, .social.module a.resp-sharing-button__link {
  color: #ffffff !important;
  text-decoration: none !important;
}
.resp-sharing-button--bluesky, .resp-sharing-button--bluesky:active {
  background-color: #0168d6 !important;
  border-color: #0168d6 !important;
}
.resp-sharing-button--bluesky:hover, a:focus .resp-sharing-button--bluesky {
  background-color: #0159b8 !important;
  border-color: #0159b8 !important;
}
.resp-sharing-button--tumblr, .resp-sharing-button--tumblr:active {
  background-color: #35465c !important;
  border-color: #35465c !important;
}
.resp-sharing-button--tumblr:hover, a:focus .resp-sharing-button--tumblr {
  background-color: #222d3c !important;
  border-color: #222d3c !important;
}
.social.module ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.social.module li {
  display: inline-block;
  margin: 5px;
}

/* Badges section */
.badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}
.badges-container .badge {
  width: 88px;
  height: 31px;
  margin: 4px;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.badges-container .badge:hover {
  transform: scale(1.1);
}

#workskin {
  max-width: 55em !important;
}

/* ============================================================
   Category icons: pride flag gradients
   ============================================================ */

/* Slash (M/M) | Gay men's flag */
.required-tags .category-slash {
  background: linear-gradient(to bottom,
    #3d1a8e 0%, #3d1a8e 20%,
    #7bade2 20%, #7bade2 40%,
    #ffffff 40%, #ffffff 60%,
    #26ceaa 60%, #26ceaa 80%,
    #078d70 80%, #078d70 100%
  ) !important;
}

/* Femslash (F/F) | Lesbian flag */
.required-tags .category-femslash {
  background: linear-gradient(to bottom,
    #d62900 0%, #d62900 20%,
    #ff9b55 20%, #ff9b55 40%,
    #ffffff 40%, #ffffff 60%,
    #d461a6 60%, #d461a6 80%,
    #a50062 80%, #a50062 100%
  ) !important;
}

/* Hetero (F/M) | Black & white */
.required-tags .category-het {
  background: linear-gradient(to bottom,
    #000000 0%, #000000 50%,
    #ffffff 50%, #ffffff 100%
  ) !important;
}

/* General (non relationship-focused) | Blurple background with GEN label */
.required-tags .category-gen {
  background: #5865F2 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.required-tags .category-gen::after {
  content: "GEN";
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  pointer-events: none;
}
.required-tags .category-gen span.text {
  display: none !important;
}

/* Poly/Ensemble | Polyamory flag */
.required-tags .category-poly {
  background: linear-gradient(to bottom,
    #0000ff 0%, #0000ff 33.3%,
    #ff0000 33.3%, #ff0000 66.6%,
    #000000 66.6%, #000000 100%
  ) !important;
}

/* Queerplatonic Relationship | QPR flag */
.required-tags .category-qpr {
  background: linear-gradient(to bottom,
    #c8c800 0%, #c8c800 50%,
    #000000 50%, #000000 100%
  ) !important;
}

/* Asexual | Asexual flag */
.required-tags .category-asexual {
  background: linear-gradient(to bottom,
    #000000 0%, #000000 25%,
    #808080 25%, #808080 50%,
    #ffffff 50%, #ffffff 75%,
    #800080 75%, #800080 100%
  ) !important;
}

/* Aromantic | Aromantic flag */
.required-tags .category-aromantic {
  background: linear-gradient(to bottom,
    #3d8026 0%, #3d8026 20%,
    #a8d379 20%, #a8d379 40%,
    #ffffff 40%, #ffffff 60%,
    #aaaaaa 60%, #aaaaaa 80%,
    #000000 80%, #000000 100%
  ) !important;
}

/* Genderqueer | Genderqueer flag */
.required-tags .category-genderqueer {
  background: linear-gradient(to bottom,
    #b57edc 0%, #b57edc 33.3%,
    #ffffff 33.3%, #ffffff 66.6%,
    #4a8123 66.6%, #4a8123 100%
  ) !important;
}

/* Nonbinary | Non-binary flag */
.required-tags .category-nb {
  background: linear-gradient(to bottom,
    #fcf434 0%, #fcf434 25%,
    #ffffff 25%, #ffffff 50%,
    #9c59d1 50%, #9c59d1 75%,
    #2c2c2c 75%, #2c2c2c 100%
  ) !important;
}

/* Y/N (reader insert) | Dark green with Y/N label */
.required-tags .category-yn {
  background: #1b5e20 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.required-tags .category-yn::after {
  content: "Y/N";
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  pointer-events: none;
}
.required-tags .category-yn span.text {
  display: none !important;
}

/* Getting Together | solid pink with "GT" label */
.required-tags .category-getting-together {
  background: #e91e8c !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.required-tags .category-getting-together::after {
  content: "GT";
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  pointer-events: none;
}
.required-tags .category-getting-together span.text {
  display: none !important;
}

/* Casual | solid indigo with "CAS" label */
.required-tags .category-casual {
  background: #5c6bc0 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.required-tags .category-casual::after {
  content: "CAS";
  color: #ffffff;
  font-size: 7px;
  font-weight: 700;
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  pointer-events: none;
}
.required-tags .category-casual span.text {
  display: none !important;
}

/* Queer | Rainbow flag */
.required-tags .category-queer {
  background: linear-gradient(to bottom,
    #ff0000 0%, #ff0000 16.6%,
    #ff8c00 16.6%, #ff8c00 33.3%,
    #ffff00 33.3%, #ffff00 50%,
    #008026 50%, #008026 66.6%,
    #004dff 66.6%, #004dff 83.3%,
    #750787 83.3%, #750787 100%
  ) !important;
}

/* Other | Questioning flag with ? label */
.required-tags .category-other {
  background: linear-gradient(to bottom,
    #FF9F43 0%, #FF9F43 25%,
    #FDCB6E 25%, #FDCB6E 50%,
    #00B894 50%, #00B894 75%,
    #0984E3 75%, #0984E3 100%
  ) !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.required-tags .category-other::after {
  content: "?";
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  pointer-events: none;
}
.required-tags .category-other span.text {
  display: none !important;
}

/* Multi | solid purple with "MULTI" label */
.required-tags .category-multi {
  background: #9c27b0 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.required-tags .category-multi::after {
  content: "MULTI";
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  pointer-events: none;
}
.required-tags .category-multi span.text {
  display: none !important;
}

/* === Sans-serif variant: everything in Public Sans instead of EB Garamond === */
body {
  font-family: 'Public Sans', sans-serif !important;
}