/* creatyrspace.com stylesheet (forest-green theme).
   Order matters: shared components first, then the page frame (side menu, top bar, panels, headers),
   then page types (home, lore chapters, kit pages, gallery, avatars), then responsive rules.
   Colours: dark navy panels, ice-blue accents; the background picture is images/thumbs/Winter-aurora.webp. */

:root {
  --bg: #0f161d;
  --panel: #161f27;
  --panel-2: #1c2833;
  --ink: #ebf1f7;
  --dim: #9dafc2;
  --accent: #6290c2;
  --violet: #b388ff;
  --warm: #5d9cef;
  --line: rgba(121,154,190,.22);
  --line-strong: rgba(98,144,194,.45);
  --radius: 0;
  --side-w: 262px;
  --c: #6290c2;
  --lb-accent: var(--c);
  --sb-text-dim: var(--dim);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Chrome and Edge: keep the old page on screen until the new one is ready, then fade between them quickly (no flash when switching pages) */
@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: .12s;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: -24px;
  z-index: -1;
  background: url('../images/thumbs/Winter-aurora.webp') center bottom/cover no-repeat;
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 25% 0%,color-mix(in srgb,var(--c) 26%,transparent),transparent 70%),linear-gradient(180deg,rgba(13,20,27,.66),rgba(13,20,27,.84) 55%,rgba(13,20,27,.92));
}

/* pictures carry their real width and height in the page (so their space is reserved before they load); the stylesheet still decides the final size, and the height follows the width */
:where(img[width][height]) {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0;
}

.muted {
  color: var(--dim);
  font-size: 14px;
}

.col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.main {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 24px 32px 10px;
  flex: 1;
}

.lore-page .main,
.md-page .main {
  max-width: 1560px;
}

.main>*+* {
  margin-top: 22px;
}

.side {
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: calc(100vh / var(--z,1));
  width: var(--side-w);
  flex: none;
  overflow-y: auto;
  padding: 18px 14px 30px;
  background: rgba(12,18,23,.9);
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: #324150 transparent;
}

.side-sec {
  padding: 14px 0 4px;
}

.side-sec a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 0;
  color: #d1dbe6;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s,color .15s;
}

.side-sec a svg {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: .8;
}

.side-sec a svg:last-child:not(:first-child) {
  width: 13px;
  height: 13px;
  margin-left: auto;
  opacity: .5;
}

.side-sec a:hover {
  background: rgba(98,144,194,.1);
  color: #ffffff;
}

.side-sec a.ch {
  padding: 5px 10px 5px 14px;
  font-size: 14px;
  font-weight: 600;
}

.side-sec a.ch i {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--c);
  flex: none;
  box-shadow: 0 0 8px var(--c);
}

.side-sec a.ch.on {
  box-shadow: inset 3px 0 0 var(--c);
  background: color-mix(in srgb,var(--c) 16%,transparent);
}

.scrim {
  display: none;
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  background: rgba(12,18,23,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top-brand {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 700;
  font-size: 19px;
}

.searchbox {
  position: relative;
  flex: 1;
  max-width: 520px;
  margin-left: auto;
}

.searchbox input {
  width: 100%;
  padding: 10px 46px 10px 16px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: #0f171e;
  color: var(--ink);
  font: 600 15px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}

.searchbox input::placeholder {
  color: #7d90a5;
}

.searchbox input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98,144,194,.18);
}

.searchbox button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.searchbox button svg {
  width: 19px;
  height: 19px;
}

.results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #131c25;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}

.results a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.results a:last-child {
  border: 0;
}

.results a:hover {
  background: rgba(98,144,194,.12);
}

.results small {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.results .none {
  display: block;
  padding: 14px 16px;
  color: var(--dim);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: #0f171e;
  cursor: pointer;
  position: relative;
  flex: none;
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 0;
}

.burger span:nth-child(1) {
  top: 14px;
}

.burger span:nth-child(2) {
  top: 20px;
}

.burger span:nth-child(3) {
  top: 26px;
}

.box-h a:hover {
  color: #ffffff;
}

.lead {
  color: #d8e2ec;
  margin-bottom: 16px;
}

.two>.box {
  display: flex;
  flex-direction: column;
}

.two>.box>.box-b {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.two>.box {
  margin: 0;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(98,144,194,.12);
  border: 1px solid rgba(98,144,194,.3);
  padding: 2px 10px;
  border-radius: 0;
}

.pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 0;
  background: rgba(8,13,18,.75);
  color: #ffffff;
}

.by {
  font-size: 13px;
  color: var(--dim);
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn-row.left {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 0;
  background: var(--accent);
  color: #0b1723;
  font-weight: 800;
  font-size: 14.5px;
  transition: transform .2s,filter .2s;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn.alt {
  background: rgba(255,255,255,.08);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn.alt:hover {
  background: rgba(255,255,255,.14);
}

.welcome::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(12,18,23,.96) 0%,rgba(12,18,23,.6) 55%,rgba(12,18,23,.15) 100%);
}

.variants {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}

.specimen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 18px;
  background: #dbe4f2;
  color: #242d38;
  border-radius: 0;
  box-shadow: 0 8px 16px rgba(0,0,0,.5);
  transform: rotate(var(--r,0deg));
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.specimen:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
}

.specimen .tape.tl,
.specimen .tape.tr {
  top: 6px;
  width: 76px;
  height: 24px;
  margin: 0;
}

.specimen .tape.tr {
  left: auto;
  right: -22px;
  transform: rotate(38deg);
}

.sp-img {
  display: block;
  aspect-ratio: 4/3;
  background: #0f161c center/cover no-repeat;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,.35);
  margin-bottom: 6px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin: 0 -20px;
}

.tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 10px 4px;
  border-top: 2px dashed #8e9eb5;
  border-left: 1px dashed #8e9eb5;
  background: #d2dcec;
  color: #365b73;
  font: 800 13px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s;
}

.tabs a:first-child {
  border-left: 0;
}

.tabs a span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.tabs a:hover {
  background: #bccbe2;
}

.print {
  --r: 0deg;
  --tr: -3deg;
  --tape: rgba(159,192,246,.62);
  display: inline-block;
  width: 100%;
  margin: 0 0 34px;
  padding: 10px 10px 36px;
  background: #e7ecf4;
  color: #282f39;
  border-radius: 0;
  position: relative;
  break-inside: avoid;
  box-shadow: 0 10px 22px rgba(0,0,0,.5),0 2px 4px rgba(0,0,0,.4);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s;
  transform-origin: 50% 8%;
}

.print img {
  display: block;
  width: 100%;
  border-radius: 0;
  background: #0e1012;
}

.print .cap {
  display: block;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  text-align: center;
  padding: 9px 0 3px;
  color: #2f3947;
}

.tape {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 88px;
  height: 27px;
  margin-left: -44px;
  background: var(--tape,rgba(159,192,246,.62));
  transform: rotate(var(--tr,-3deg));
  box-shadow: 0 1px 4px rgba(0,0,0,.28);
  clip-path: polygon(0 8%,3% 0,6% 10%,9% 0,100% 0,97% 30%,100% 55%,97% 80%,100% 100%,8% 100%,5% 88%,2% 100%,0 80%,3% 50%,0 25%);
}

.print:hover {
  transform: rotate(0deg) scale(1.05) translateY(-4px);
  z-index: 5;
  box-shadow: 0 18px 34px rgba(0,0,0,.6),0 4px 8px rgba(0,0,0,.4);
}

.print:nth-child(7n+1) {
  --r: -2.2deg;
}

.print:nth-child(7n+2) {
  --r: 1.6deg;
}

.print:nth-child(7n+3) {
  --r: -1deg;
}

.print:nth-child(7n+4) {
  --r: 2.4deg;
}

.print:nth-child(7n+5) {
  --r: -2.8deg;
}

.print:nth-child(7n+6) {
  --r: .9deg;
}

.print:nth-child(7n) {
  --r: -1.7deg;
}

.print:nth-child(4n+2) {
  --tape: rgba(176,199,224,.6);
  --tr: 4deg;
}

.print:nth-child(4n+3) {
  --tape: rgba(255,190,215,.6);
  --tr: -5deg;
}

.print:nth-child(4n) {
  --tape: rgba(190,214,240,.6);
  --tr: 2deg;
}

.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.pager:last-child {
  margin: 6px 0 0;
}

.pg {
  min-width: 40px;
  padding: 7px 14px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  font: 800 14px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  cursor: pointer;
  transition: .2s;
}

.pg:hover:not(:disabled) {
  background: rgba(98,144,194,.18);
  border-color: var(--accent);
}

.pg:disabled {
  opacity: .35;
  cursor: default;
}

.kit {
  --k: #6290c2;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,#222d39,#121b23);
  border: 3px solid var(--k);
  border-radius: 0;
  box-shadow: 10px 12px 0 rgba(0,0,0,.42),inset 0 0 0 3px rgba(0,0,0,.35);
  transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s;
  transform: rotate(var(--r,0deg));
}

.kit:nth-child(3n+1) {
  --r: -.8deg;
}

.kit:nth-child(3n+2) {
  --r: .6deg;
}

.kit:nth-child(3n) {
  --r: -.4deg;
}

.kit:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 14px 20px 0 rgba(0,0,0,.36),inset 0 0 0 3px rgba(0,0,0,.35);
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(178px,1fr));
  gap: 30px 22px;
  padding: 14px 4px 6px;
}

.pcard {
  --v: #6290c2;
  --r: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px 30px;
  background: linear-gradient(180deg,transparent 0 calc(100% - 25px),rgba(91,143,199,.22) calc(100% - 25px) calc(100% - 24px),transparent calc(100% - 24px)),#dbe4f2;
  color: #242d38;
  border-radius: 0;
  box-shadow: 0 8px 16px rgba(0,0,0,.5),0 1px 2px rgba(0,0,0,.4);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s;
  transform-origin: 50% 6px;
}

.pcard:nth-child(6n+1) {
  --r: -1.8deg;
}

.pcard:nth-child(6n+2) {
  --r: 1.2deg;
}

.pcard:nth-child(6n+3) {
  --r: -.7deg;
}

.pcard:nth-child(6n+4) {
  --r: 2deg;
}

.pcard:nth-child(6n+5) {
  --r: -1.3deg;
}

.pcard:nth-child(6n) {
  --r: .8deg;
}

.pcard:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.04);
  z-index: 5;
  box-shadow: 0 18px 30px rgba(0,0,0,.6),0 3px 6px rgba(0,0,0,.4);
}

.pin {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 0;
  z-index: 3;
  background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),radial-gradient(circle at 50% 50%,var(--v),color-mix(in srgb,var(--v) 55%,#000000) 88%);
  box-shadow: 0 4px 5px rgba(0,0,0,.5),0 0 0 1px rgba(0,0,0,.3);
}

.pc-photo {
  display: block;
  aspect-ratio: 1/1;
  background: #0c0818 center/cover no-repeat;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,.35);
  margin-bottom: 6px;
}

.pc-name {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.02;
  color: #1a222a;
  min-height: 2.05em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-stamp {
  position: absolute;
  right: 8px;
  bottom: 26px;
  padding: 1px 9px;
  font: 800 11px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: color-mix(in srgb,var(--v) 80%,#000000);
  border: 2px solid color-mix(in srgb,var(--v) 80%,#000000);
  border-radius: 0;
  transform: rotate(-8deg);
  opacity: .82;
  mix-blend-mode: multiply;
  background: rgba(255,255,255,.35);
}

.pc-no {
  position: absolute;
  left: 12px;
  bottom: 6px;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #768496;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter {
  padding: 7px 16px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--dim);
  font: 800 13.5px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  cursor: pointer;
  transition: .2s;
}

.filter:hover {
  color: var(--ink);
}

.search {
  min-width: 220px;
  padding: 8px 16px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: #0f171e;
  color: var(--ink);
  font: 600 14.5px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}

.search:focus {
  outline: none;
  border-color: var(--accent);
}

.empty {
  text-align: center;
  color: var(--dim);
  padding: 30px 0;
}

.lore-tagpill,
.model-tagpill {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  color: var(--dim);
}

.lore-tagpill.lore,
.model-tagpill.lore {
  border-color: var(--c);
  color: var(--c);
}

.theme-ethereal {
  --c: #b388ff;
}

.theme-anatomical {
  --c: #7ca0cb;
}

.theme-luminescent {
  --c: #7a9fc8;
}

.theme-narrative {
  --c: #5d9cef;
}

.theme-threshold {
  --c: #e040fb;
}

.theme-connection {
  --c: #ff4081;
}

.theme-history {
  --c: #176ce8;
}

.theme-vaelkryth {
  --c: #7e8fb5;
}

.lb-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  border-bottom: 3px solid var(--c);
}

.lb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(12,18,23,.95) 0%,rgba(12,18,23,.25) 65%);
}

.lb-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c);
  background: rgba(8,13,18,.7);
  padding: 3px 14px;
  border-radius: 0;
  border: 1px solid var(--c);
  margin-bottom: 8px;
}

.lb-hero-title {
  font-size: clamp(1.8rem,4vw,2.8rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
}

.lb-body {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.lb-main a {
  color: var(--c);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lb-divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 1.8em 0 !important;
}

.lb-list {
  padding-left: 1.3em;
}

.lb-list li {
  margin: .5em 0;
}

.lb-list li::marker {
  color: var(--c);
}

.lb-table-wrap {
  overflow-x: auto;
  border-radius: 0;
  border: 1px solid var(--line);
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.lb-table th,
.lb-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.lb-table th {
  background: rgba(255,255,255,.05);
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c);
}

.lb-table tr:last-child td {
  border-bottom: 0;
}

.lb-quote {
  padding: 18px 22px;
  border-radius: 0;
  border-left: 4px solid var(--c);
  background: rgba(255,255,255,.05);
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff;
}

.lb-note {
  padding: 16px 20px;
  border-radius: 0;
  border: 1px dashed var(--c);
  background: rgba(255,255,255,.03);
}

.lb-note-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 4px;
}

.lb-side {
  position: sticky;
  top: 84px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--c);
  border-radius: 0;
  padding: 18px;
  font-size: 14.5px;
}

.lb-side h3 {
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 10px;
}

.lb-side ul {
  padding-left: 1.1em;
  color: var(--dim);
}

.lb-side li {
  margin: .35em 0;
}

.lb-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.lb-meta-item b {
  color: var(--dim);
  font-weight: 600;
}

.lb-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.lb-side .lb-divider {
  margin: 1.1em 0 !important;
}

.md-back {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
}

.md-back:hover {
  color: #ffffff;
}

.md-hero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line-strong);
}

.md-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(12,18,23,.94),transparent 70%);
}

.md-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(8,13,18,.7);
  padding: 3px 14px;
  border-radius: 0;
  margin-bottom: 8px;
}

.md-hero-title {
  font-size: clamp(1.7rem,4vw,2.6rem);
}

.md-body {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 22px;
  margin-top: 22px;
  align-items: stretch;
}

.two>.box {
  display: flex;
  flex-direction: column;
}

.two>.box>.box-b {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.md-body>div:first-child {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
}

.md-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.md-meta-item {
  padding: 10px 16px;
  border-radius: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.md-meta-item b {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 800;
}

.model-tagpill.lore {
  border-color: var(--accent);
  color: var(--accent);
}

.md-gallery img {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .3s;
  display: block;
}

.md-gallery img:hover {
  transform: scale(1.02);
}

.md-side {
  position: sticky;
  top: 84px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0;
  padding: 18px;
}

.md-side h3 {
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.md-side ul {
  padding-left: 1.1em;
  color: #dde5ee;
  margin-bottom: 16px;
}

.md-cta {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border-radius: 0;
  background: #6f98c4;
  color: #ffffff;
  font-weight: 800;
  font-size: 14.5px;
  transition: filter .2s;
}

.md-cta:hover {
  filter: brightness(1.12);
}

.discord-top-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.discord-header {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line-strong);
}

.discord-header-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.discord-header-title {
  font-size: clamp(1.8rem,4vw,2.6rem);
  margin-bottom: 14px;
}

.discord-header-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.discord-link-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: rgba(8,13,18,.6);
  font-weight: 800;
  font-size: 14px;
  transition: .2s;
}

.discord-link-card:hover {
  border-color: var(--accent);
}

.discord-cta-card:hover {
  filter: brightness(1.12);
}

.discord-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.discord-desc {
  color: #c3d0de;
  font-size: 15px;
  margin-top: 6px;
}

.discord-rules li::marker {
  color: var(--accent);
  font-weight: 800;
}

.credits-faq-label,
.credits-creatures-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.credits-faq-title em,
.credits-creatures-title em {
  font-style: normal;
  color: var(--accent);
}

.credits-creatures-sub {
  color: var(--dim);
}

.credits-divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 12px 0 0;
}

.credits-faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 14px;
}

.credits-faq-sig {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.credits-creatures {
  margin-top: 34px;
}

.credits-creature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 16px;
}

.credits-creature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.credits-creature-img {
  aspect-ratio: 1/1;
  background: #0c0818 center/cover no-repeat;
}

.credits-creature-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.foot {
  margin-top: 40px;
  padding: 22px 28px 30px;
  border-top: 1px solid var(--line);
  background: rgba(12,18,23,.7);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 14px;
}

.foot b {
  color: var(--ink);
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a:hover {
  color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6,9,12,.95);
  display: grid;
  place-items: center;
  padding: 40px 70px;
  animation: lbin .2s;
}

@keyframes lbin {
  from { opacity: 0 }
}

.lightbox img {
  max-width: 100%;
  max-height: calc(88vh / var(--z,1));
  border-radius: 0;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
}

.lb-x,
.lb-nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--line-strong);
  color: #ffffff;
  border-radius: 0;
  width: 46px;
  height: 46px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: .2s;
}

.lb-x:hover,
.lb-nav:hover {
  background: var(--accent);
  color: #0b1723;
}

.lb-x {
  top: 20px;
  right: 22px;
}

.lb-prev {
  left: 16px;
  top: 50%;
}

.lb-next {
  right: 16px;
  top: 50%;
}

.lb-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--dim);
  letter-spacing: .1em;
}

@media (max-width:1100px) {
  .lb-body,
  .md-body {
    grid-template-columns: minmax(0,1fr);
  }

  .lb-side,
  .md-side {
    position: static;
  }

  .discord-top-row {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width:900px) {
  .side {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 70;
    transform: translateX(-102%);
    transition: transform .25s;
    box-shadow: 10px 0 40px rgba(0,0,0,.5);
  }

  body.menu-open .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0,0,0,.55);
  }

  .searchbox {
    max-width: none;
  }

  .lightbox {
    padding: 60px 12px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width:560px) {
  .search {
    min-width: 0;
    width: 100%;
  }
}

.welcome .tag {
  background: rgba(8,13,18,.75);
  border-color: rgba(98,144,194,.6);
}

.box {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.box-h h2 {
  position: relative;
  font-size: clamp(1.5rem,2.2vw,1.9rem);
}

.box-h h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -13px;
  width: 58px;
  height: 3px;
  border-radius: 0;
  background: var(--accent);
}

.box-b {
  padding: 0;
}

.two>.box {
  margin: 0;
}

.box-h h2::after {
  bottom: -10px;
  width: 44px;
  height: 3px;
}

.tabs {
  margin: 0 -18px;
}

.tabs a {
  min-height: 84px;
}

.lead {
  font-size: 15px;
  margin-bottom: 14px;
}

.specimen .sp-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tabs a {
  min-height: 68px;
}

.frames {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 40px 20px;
  align-content: center;
  align-items: start;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 8px 8px;
  flex: 1;
}

.frame {
  --c: #6290c2;
  --r: 0deg;
  --ar: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transform: rotate(var(--r));
  transform-origin: 50% 0;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.frame:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.05);
  z-index: 4;
}

.frame::before {
  content: '';
  position: absolute;
  top: -19px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%,#ffffff,#9a9a9a 60%,#4a4a4a);
  box-shadow: 0 2px 3px rgba(0,0,0,.6);
}

.frame::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 46px;
  height: 16px;
  margin-left: -23px;
  pointer-events: none;
  background: linear-gradient(to top right,transparent calc(50% - .6px),rgba(174,188,211,.85) 50%,transparent calc(50% + .6px)) left/50% 100% no-repeat,linear-gradient(to top left,transparent calc(50% - .6px),rgba(174,188,211,.85) 50%,transparent calc(50% + .6px)) right/50% 100% no-repeat;
}

.fr-in {
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 0;
  box-shadow: 0 10px 16px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.3);
}

.fr-in img {
  display: block;
  width: 100%;
  aspect-ratio: var(--ar);
  object-fit: cover;
  border: 5px solid #e4e9f1;
  box-shadow: inset 0 0 8px rgba(0,0,0,.55),0 0 0 1px rgba(0,0,0,.45);
  background: #0e1012;
}

.frame:hover .fr-in {
  box-shadow: 0 14px 22px rgba(0,0,0,.6),0 0 22px color-mix(in srgb,var(--c) 55%,transparent),inset 0 0 0 1px rgba(0,0,0,.35);
}

.plaque b {
  display: block;
  font: 800 9.5px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}

.two>.box+.box {
  margin-top: 38px;
}

.frames {
  max-width: none;
  flex: none;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 40px 22px;
  padding: 26px 4px 6px;
}

@media (min-width:900px) {
  .tabs {
    grid-column: 1 / -1;
    margin: 18px -20px 0;
  }

  .tabs a {
    min-height: 54px;
  }

  .tabs a span {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

@media (min-width:900px) {
  .tabs {
    margin: 22px -24px 0;
  }

  .tabs a {
    min-height: 68px;
    font-size: 14px;
  }
}

.frames-hub .frame {
  max-width: 300px;
  width: 100%;
  justify-self: center;
}

.fr-ex {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dim);
  text-align: center;
  padding: 0 4px;
}

.lore-page {
  --ci: color-mix(in srgb,var(--c) 58%,#121c28);
}

.lb-hero {
  height: auto;
  min-height: 0;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 14px;
  margin-top: 38px;
  background: linear-gradient(135deg,#85a9e5,#355f9b 42%,#9ebbec 68%,#2a4e80);
  box-shadow: 0 14px 26px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.3);
  aspect-ratio: auto;
}

.fr1 .lb-hero {
  background: repeating-linear-gradient(100deg,rgba(0,0,0,.14) 0 2px,transparent 2px 7px),linear-gradient(135deg,#355373,#203246);
}

.fr2 .lb-hero {
  background: linear-gradient(135deg,#e7ecf3,#bac2cd 55%,#d8dfea);
}

.fr3 .lb-hero {
  background: linear-gradient(135deg,#2a2a31,#121216);
  box-shadow: 0 14px 26px rgba(0,0,0,.55),inset 0 0 0 2px rgba(100,135,190,.55);
}

.lb-hero::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%,#ffffff,#9a9a9a 60%,#4a4a4a);
  box-shadow: 0 2px 3px rgba(0,0,0,.6);
}

.lb-hero::after {
  content: '';
  position: absolute;
  inset: auto;
  top: -24px;
  left: 50%;
  width: 120px;
  height: 26px;
  margin-left: -60px;
  background: linear-gradient(to top right,transparent calc(50% - .7px),rgba(174,188,211,.9) 50%,transparent calc(50% + .7px)) left/50% 100% no-repeat,linear-gradient(to top left,transparent calc(50% - .7px),rgba(174,188,211,.9) 50%,transparent calc(50% + .7px)) right/50% 100% no-repeat;
  pointer-events: none;
}

.lb-body {
  gap: 30px;
  margin-top: 34px;
}

.lb-main::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  background: color-mix(in srgb,var(--c) 55%,#ffffff);
  opacity: .8;
  transform: rotate(-2deg);
  box-shadow: 0 1px 4px rgba(0,0,0,.28);
  clip-path: polygon(0 8%,3% 0,6% 10%,9% 0,100% 0,97% 30%,100% 55%,97% 80%,100% 100%,8% 100%,5% 88%,2% 100%,0 80%,3% 50%,0 25%);
}

.lb-list li::marker {
  color: var(--ci);
}

.lb-side {
  --lb-accent: var(--ci);
  --sb-text-dim: #3a4c66;
  position: sticky;
  top: 96px;
  background: #c8d8f4;
  color: #263346;
  border: 0;
  border-top: 0;
  border-radius: 0;
  padding: 26px 20px 20px;
  box-shadow: 0 10px 18px rgba(0,0,0,.5);
  transform: rotate(1.2deg);
}

.lb-side::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 0;
  background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),radial-gradient(circle at 50% 50%,#78c2f2,#346686 88%);
  box-shadow: 0 4px 5px rgba(0,0,0,.5);
}

.lb-side h3 {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ci);
}

.lb-side ul {
  color: #324158;
}

.lb-side .lb-divider {
  background: rgba(24,39,56,.2);
}

.lb-meta-item {
  border-bottom-color: rgba(24,39,56,.18);
}

.lb-meta-item b {
  color: #4a5b75;
}

.lb-side .lore-tagpill {
  border-color: rgba(24,39,56,.3);
  color: #3a4c66;
}

.lb-side .lore-tagpill.lore {
  border-color: var(--ci);
  color: var(--ci);
}

@media (max-width:1100px) {
  .lb-side {
    position: relative;
    top: 0;
    transform: rotate(.6deg);
  }
}

@media (max-width:560px) {
  .lb-hero {
    padding: 9px;
  }
}

.credits-faq-item {
  --r: 0deg;
  --pin: #6290c2;
  position: relative;
  background: #dde6f3;
  color: #262f39;
  border: 0;
  border-radius: 0;
  padding: 30px 24px 20px;
  box-shadow: 0 9px 18px rgba(0,0,0,.5);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  background-image: repeating-linear-gradient(180deg,transparent 0 27px,rgba(91,138,189,.10) 27px 28px);
}

.credits-faq-item:nth-child(6n+1) {
  --r: -1.2deg;
  --pin: #6290c2;
}

.credits-faq-item:nth-child(6n+2) {
  --r: .9deg;
  --pin: #78c2f2;
}

.credits-faq-item:nth-child(6n+3) {
  --r: -.7deg;
  --pin: #7a9fc8;
}

.credits-faq-item:nth-child(6n+4) {
  --r: 1.3deg;
  --pin: #5d9cef;
}

.credits-faq-item:nth-child(6n+5) {
  --r: -1deg;
  --pin: #b388ff;
}

.credits-faq-item:nth-child(6n) {
  --r: .7deg;
  --pin: #ff7eb6;
}

.credits-faq-item:hover {
  transform: rotate(0deg) translateY(-5px);
}

.credits-faq-item::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 0;
  background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),radial-gradient(circle at 50% 50%,var(--pin),color-mix(in srgb,var(--pin) 55%,#000000) 88%);
  box-shadow: 0 4px 5px rgba(0,0,0,.5);
}

.credits-creature-card {
  --r: 0deg;
  --tape: rgba(159,192,246,.65);
  position: relative;
  background: #e7ecf4;
  color: #262f39;
  border: 0;
  border-radius: 0;
  padding: 12px 12px 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.5);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s;
  overflow: visible;
}

.credits-creature-card:nth-child(6n+1) {
  --r: -1.6deg;
}

.credits-creature-card:nth-child(6n+2) {
  --r: 1.2deg;
  --tape: rgba(176,199,224,.65);
}

.credits-creature-card:nth-child(6n+3) {
  --r: -.8deg;
  --tape: rgba(255,190,215,.65);
}

.credits-creature-card:nth-child(6n+4) {
  --r: 1.8deg;
  --tape: rgba(190,214,240,.65);
}

.credits-creature-card:nth-child(6n+5) {
  --r: -1.2deg;
}

.credits-creature-card:nth-child(6n) {
  --r: .9deg;
  --tape: rgba(176,199,224,.65);
}

.credits-creature-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  border-color: transparent;
}

.credits-creature-card::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  width: 88px;
  height: 27px;
  margin-left: -44px;
  background: var(--tape);
  transform: rotate(-3deg);
  box-shadow: 0 1px 4px rgba(0,0,0,.28);
  clip-path: polygon(0 8%,3% 0,6% 10%,9% 0,100% 0,97% 30%,100% 55%,97% 80%,100% 100%,8% 100%,5% 88%,2% 100%,0 80%,3% 50%,0 25%);
  z-index: 2;
}

.credits-creature-info {
  padding: 12px 4px 0;
}

.credits-creature-name {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: #121c28;
}

.credits-faq-list {
  align-items: start;
}

.credits-creature-grid {
  align-items: start;
}

.discord-top-row {
  gap: 34px;
  align-items: start;
}

.discord-header {
  position: relative;
  display: block;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 14px;
  margin-top: 34px;
  background: linear-gradient(135deg,#85a9e5,#355f9b 42%,#9ebbec 68%,#2a4e80);
  box-shadow: 0 14px 26px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.3);
}

.discord-header::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%,#ffffff,#9a9a9a 60%,#4a4a4a);
  box-shadow: 0 2px 3px rgba(0,0,0,.6);
}

.discord-header::after {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  width: 120px;
  height: 26px;
  margin-left: -60px;
  pointer-events: none;
  background: linear-gradient(to top right,transparent calc(50% - .7px),rgba(174,188,211,.9) 50%,transparent calc(50% + .7px)) left/50% 100% no-repeat,linear-gradient(to top left,transparent calc(50% - .7px),rgba(174,188,211,.9) 50%,transparent calc(50% + .7px)) right/50% 100% no-repeat;
}

.discord-header-img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: clamp(300px,32vw,420px);
  object-fit: cover;
  border: 7px solid #e4e9f1;
  box-sizing: border-box;
  box-shadow: inset 0 0 10px rgba(0,0,0,.5),0 0 0 1px rgba(0,0,0,.45);
}

.discord-header-overlay {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 21px;
  top: auto;
  height: 62%;
  background: linear-gradient(0deg,rgba(12,18,23,.94),transparent);
  pointer-events: none;
}

.discord-header-content {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 21px;
  padding: 0 26px 22px;
  z-index: 2;
}

.discord-col {
  gap: 26px;
  padding-top: 34px;
}

.discord-col .discord-section {
  --r: 0deg;
  --pin: #78c2f2;
  position: relative;
  flex: none;
  background: #c8d8f4;
  color: #263346;
  border: 0;
  border-radius: 0;
  padding: 26px 22px 18px;
  box-shadow: 0 10px 18px rgba(0,0,0,.5);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.discord-col .discord-section:nth-child(1) {
  --r: -1.3deg;
}

.discord-col .discord-section:nth-child(2) {
  --r: 1deg;
  background: #d7e0ef;
  --pin: #6290c2;
}

.discord-col .discord-section:nth-child(3) {
  --r: -.7deg;
  background: #f9dbe6;
  --pin: #b388ff;
}

.discord-col .discord-section:hover {
  transform: rotate(0deg) translateY(-4px);
}

.discord-col .discord-section::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 0;
  background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),radial-gradient(circle at 50% 50%,var(--pin),color-mix(in srgb,var(--pin) 55%,#000000) 88%);
  box-shadow: 0 4px 5px rgba(0,0,0,.5);
}

.discord-col .discord-section-title {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.05;
  color: #121c28;
  margin-bottom: 4px;
}

.discord-col .discord-desc {
  color: #333d4a;
  font-size: 15px;
}

.discord-col .discord-desc strong {
  color: #0f151d;
}

.discord-section-full {
  position: relative;
  margin-top: 44px;
  padding: 36px 36px 28px;
  background: #dde6f3;
  color: #262f39;
  border: 0;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(0,0,0,.5);
  background-image: repeating-linear-gradient(180deg,transparent 0 31px,rgba(91,138,189,.10) 31px 32px);
}

.discord-section-full::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  background: rgba(159,192,246,.7);
  transform: rotate(-2deg);
  box-shadow: 0 1px 4px rgba(0,0,0,.28);
  clip-path: polygon(0 8%,3% 0,6% 10%,9% 0,100% 0,97% 30%,100% 55%,97% 80%,100% 100%,8% 100%,5% 88%,2% 100%,0 80%,3% 50%,0 25%);
}

.discord-section-full .discord-section-title {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: #121c28;
  margin-bottom: 16px;
}

.discord-rules {
  list-style: none;
  padding: 0;
  counter-reset: rule;
  columns: 2 300px;
  column-gap: 44px;
  color: #262f39;
}

.discord-rules li {
  counter-increment: rule;
  position: relative;
  margin: 0 0 14px;
  padding: 3px 0 0 46px;
  min-height: 34px;
  break-inside: avoid;
  font-size: 16px;
}

.discord-rules li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #3b7aa4;
  border-radius: 0;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: #3b7aa4;
  transform: rotate(-6deg);
}

.discord-section-full .discord-note {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-size: 1.6rem;
  color: #3b7aa4;
  margin-top: 8px;
  transform: rotate(-1deg);
}

@media (max-width:1100px) {
  .discord-top-row {
    grid-template-columns: minmax(0,1fr);
  }

  .discord-col {
    padding-top: 14px;
  }
}

@media (max-width:560px) {
  .discord-header {
    padding: 9px;
  }

  .discord-header-img {
    border-width: 5px;
    height: 300px;
  }

  .discord-header-overlay,
  .discord-header-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .discord-header-content {
    padding: 0 14px 16px;
  }

  .discord-section-full {
    padding: 30px 20px 22px;
  }
}

.mdp-rantichi {
  --mk: #6290c2;
}

.mdp-octochi {
  --mk: #7a9fc8;
}

.mdp-zoichi {
  --mk: #acc3dc;
}

.md-page {
  --mki: color-mix(in srgb,var(--mk,#6290c2) 58%,#121c28);
}

.md-back {
  display: inline-block;
  margin: 0 0 4px;
  padding: 3px 16px 5px;
  background: #dde6f3;
  color: #262f39;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,.45);
  transform: rotate(-1.5deg);
  transition: transform .2s;
}

.md-back:hover {
  color: #3b7aa4;
  transform: rotate(0deg) translateY(-2px);
}

.md-hero {
  display: block;
  position: relative;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 14px;
  margin-top: 34px;
  background: linear-gradient(135deg,#85a9e5,#355f9b 42%,#9ebbec 68%,#2a4e80);
  box-shadow: 0 14px 26px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.3);
}

.mdp-octochi .md-hero {
  background: repeating-linear-gradient(100deg,rgba(0,0,0,.14) 0 2px,transparent 2px 7px),linear-gradient(135deg,#355373,#203246);
}

.mdp-zoichi .md-hero {
  background: linear-gradient(135deg,#e7ecf3,#bac2cd 55%,#d8dfea);
}

.md-hero::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%,#ffffff,#9a9a9a 60%,#4a4a4a);
  box-shadow: 0 2px 3px rgba(0,0,0,.6);
}

.md-hero::after {
  content: '';
  position: absolute;
  inset: auto;
  top: -24px;
  left: 50%;
  width: 120px;
  height: 26px;
  margin-left: -60px;
  pointer-events: none;
  background: linear-gradient(to top right,transparent calc(50% - .7px),rgba(174,188,211,.9) 50%,transparent calc(50% + .7px)) left/50% 100% no-repeat,linear-gradient(to top left,transparent calc(50% - .7px),rgba(174,188,211,.9) 50%,transparent calc(50% + .7px)) right/50% 100% no-repeat;
}

.md-hero-tag {
  background: rgba(8,13,18,.75);
  border: 1px solid var(--mk,#6290c2);
  color: var(--mk,#6290c2);
}

.md-body {
  gap: 30px;
  margin-top: 36px;
}

.md-body>div:first-child {
  position: relative;
  background: #dde6f3;
  color: #262f39;
  border: 0;
  border-radius: 0;
  padding: 34px 34px 34px 74px;
  box-shadow: 0 12px 24px rgba(0,0,0,.5);
  background-image: linear-gradient(90deg,transparent 54px,rgba(91,151,189,.35) 54px 55px,transparent 55px),repeating-linear-gradient(180deg,transparent 0 31px,rgba(91,138,189,.10) 31px 32px);
}

.md-body>div:first-child::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  background: color-mix(in srgb,var(--mk,#6290c2) 55%,#ffffff);
  opacity: .85;
  transform: rotate(-2deg);
  box-shadow: 0 1px 4px rgba(0,0,0,.28);
  clip-path: polygon(0 8%,3% 0,6% 10%,9% 0,100% 0,97% 30%,100% 55%,97% 80%,100% 100%,8% 100%,5% 88%,2% 100%,0 80%,3% 50%,0 25%);
}

.md-meta {
  gap: 16px;
  margin: 24px 0 20px;
}

.md-meta-item {
  background: color-mix(in srgb,var(--mk,#6290c2) 38%,#ffffff);
  color: #20272d;
  border: 4px solid #ffffff;
  border-radius: 0;
  padding: 8px 18px 9px;
  min-width: 130px;
  box-shadow: 0 5px 10px rgba(0,0,0,.35);
  transform: rotate(var(--r,0deg));
}

.md-meta-item:nth-child(3n+1) {
  --r: -2deg;
}

.md-meta-item:nth-child(3n+2) {
  --r: 1.5deg;
}

.md-meta-item:nth-child(3n) {
  --r: -1deg;
}

.md-meta-item b {
  color: #4a5766;
}

.md-meta-item span {
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.md-tags .model-tagpill {
  background: transparent;
  border: 2px solid #365b73;
  color: #365b73;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1px 12px;
  border-radius: 0;
  transform: rotate(-2deg);
  opacity: .85;
}

.md-tags .model-tagpill:nth-child(even) {
  transform: rotate(1.5deg);
}

.md-tags .model-tagpill.lore {
  border-color: var(--mki);
  color: var(--mki);
}

.md-gallery img:nth-child(4n+1) {
  --r: -2deg;
}

.md-gallery img:nth-child(4n+2) {
  --r: 1.6deg;
}

.md-gallery img:nth-child(4n+3) {
  --r: -1deg;
}

.md-gallery img:nth-child(4n) {
  --r: 2.2deg;
}

.md-gallery img:hover {
  transform: rotate(0deg) scale(1.04) translateY(-3px);
}

.md-side {
  position: sticky;
  top: 96px;
  background: #c8d8f4;
  color: #263346;
  border: 0;
  border-radius: 0;
  padding: 28px 22px 22px;
  box-shadow: 0 10px 18px rgba(0,0,0,.5);
  transform: rotate(1.2deg);
}

.md-side::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 0;
  background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),radial-gradient(circle at 50% 50%,#78c2f2,#346686 88%);
  box-shadow: 0 4px 5px rgba(0,0,0,.5);
}

.md-side h3 {
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mki);
}

.md-side ul {
  color: #333d4a;
  font-size: 16px;
}

.md-side li::marker {
  color: var(--mki);
}

@media (max-width:1100px) {
  .md-side {
    position: relative;
    top: 0;
    transform: rotate(.6deg);
  }
}

@media (max-width:560px) {
  .md-hero {
    padding: 9px;
  }

  .md-body>div:first-child {
    padding: 26px 18px 26px 26px;
    background-image: repeating-linear-gradient(180deg,transparent 0 31px,rgba(91,138,189,.10) 31px 32px);
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@supports (height:100dvh) {
  .shell {
    min-height: calc(100dvh / var(--z,1));
  }

  .side {
    height: calc(100dvh / var(--z,1));
  }

  .lightbox img {
    max-height: calc(88dvh / var(--z,1));
  }
}

@supports (overflow:clip) {
  .main {
    overflow-x: clip;
  }
}

.side {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.menu-open {
  overflow: hidden;
}

@supports (padding:max(0px)) {
  .side {
    padding-left: max(14px,env(safe-area-inset-left));
    padding-bottom: max(30px,env(safe-area-inset-bottom));
  }

  .top {
    padding-left: max(28px,env(safe-area-inset-left));
    padding-right: max(28px,env(safe-area-inset-right));
  }

  .main {
    padding-left: max(32px,env(safe-area-inset-left));
    padding-right: max(32px,env(safe-area-inset-right));
  }

  .foot {
    padding-left: max(28px,env(safe-area-inset-left));
    padding-right: max(28px,env(safe-area-inset-right));
    padding-bottom: max(30px,env(safe-area-inset-bottom));
  }

  @media (max-width:900px) {
    .top {
      padding-left: max(14px,env(safe-area-inset-left));
      padding-right: max(14px,env(safe-area-inset-right));
    }

    .main {
      padding-left: max(14px,env(safe-area-inset-left));
      padding-right: max(14px,env(safe-area-inset-right));
    }

    .foot {
      padding-left: max(14px,env(safe-area-inset-left));
      padding-right: max(14px,env(safe-area-inset-right));
    }
  }
}

.burger {
  width: 44px;
  height: 44px;
}

.pg {
  min-height: 40px;
}

.filter {
  min-height: 38px;
}

@media (max-width:900px) {
  .searchbox input,
  .search {
    font-size: 16px;
  }
}

@media (hover:none) {
  .print:hover,
  .pcard:hover,
  .specimen:hover,
  .frame:hover,
  .credits-faq-item:hover,
  .credits-creature-card:hover,
  .discord-col .discord-section:hover {
    transform: rotate(var(--r,0deg));
  }
}

@supports not (color:color-mix(in srgb,red 50%,blue)) {
  .bg::after {
    background: linear-gradient(180deg,rgba(13,20,27,.66),rgba(13,20,27,.84) 55%,rgba(13,20,27,.92));
  }

  .side-sec a.ch.on {
    background: rgba(255,255,255,.08);
  }

  .lore-page {
    --ci: #293e56;
  }

  .md-page {
    --mki: #3f4c5b;
  }

  .frame:hover .fr-in {
    box-shadow: 0 14px 22px rgba(0,0,0,.6);
  }

  .pin {
    background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),var(--v);
  }

  .credits-faq-item::before,
  .discord-col .discord-section::before {
    background: radial-gradient(circle at 34% 30%,#fff9 0 12%,transparent 28%),var(--pin);
  }

  .pc-stamp {
    color: #293e56;
    border-color: #293e56;
  }

  .lb-main::before,
  .md-body>div:first-child::before {
    background: #d2deeb;
  }

  .md-meta-item {
    background: #cbdcee;
  }

  .kit {
    border-color: var(--v,var(--k,#6290c2));
  }
}

@media (max-width:560px) {
  .lb-table {
    font-size: 13.5px;
  }

  .lb-table th,
  .lb-table td {
    padding: 8px 10px;
  }

  .lb-table th {
    font-size: 12px;
    letter-spacing: .03em;
  }
}

.qa-search {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}

.qa-search input {
  flex: 1;
  min-width: 240px;
  padding: 13px 20px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: #0f171e;
  color: var(--ink);
  font: 600 16px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}

.qa-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98,144,194,.18);
}

.qa-list {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(420px,100%),1fr));
  gap: 40px 28px;
  padding-top: 26px;
  align-items: start;
}

.qa-card {
  --r: -.6deg;
  position: relative;
  background: #dde6f3;
  color: #262f39;
  border-radius: 0;
  padding: 30px 26px 22px;
  box-shadow: 0 10px 20px rgba(0,0,0,.5);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  background-image: repeating-linear-gradient(180deg,transparent 0 27px,rgba(91,138,189,.10) 27px 28px);
}

.qa-card:nth-child(even) {
  --r: .7deg;
}

.qa-card:hover,
.qa-card:target {
  transform: rotate(0deg) translateY(-3px);
}

.qa-card:target {
  outline: 3px solid #508cee;
  outline-offset: 5px;
  animation: qaglow 3s ease 1;
}

@keyframes qaglow {
  0%,60% { box-shadow: 0 0 0 6px rgba(80,140,238,.55),0 10px 20px rgba(0,0,0,.5) }
  100% { box-shadow: 0 10px 20px rgba(0,0,0,.5) }
}

.qa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.qa-link {
  display: inline-flex;
  flex-direction: column;
  padding: 7px 14px 8px;
  border: 2px solid #3b7aa4;
  border-radius: 0;
  color: #346686;
  font: 800 13.5px/1.25 "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  transition: background .2s,transform .2s;
  transform: rotate(-1deg);
}

.qa-link span {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}

.qa-link:hover {
  background: rgba(59,122,164,.1);
  transform: rotate(0deg) translateY(-2px);
}

.qa-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.qa-tags span {
  font-size: 12px;
  font-weight: 700;
  padding: 1px 10px;
  border-radius: 0;
  border: 1px solid rgba(24,39,56,.3);
  color: #3a4c66;
}

.qa-none {
  text-align: center;
  padding: 40px 10px;
  color: var(--dim);
}

.qa-none h3 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.qa-none a,
.qa-ask a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qa-ask {
  margin-top: 44px;
  padding: 18px 22px;
  border: 2px dashed var(--line-strong);
  border-radius: 0;
  color: var(--dim);
  text-align: center;
}

.qa-ask b {
  color: var(--ink);
}

.lb-main [id]:target,
.lb-table tr:target td {
  animation: markpen 7s ease 1 both;
  border-radius: 0;
}

.lb-main p[id]:target {
  padding: .5em .7em;
  margin-left: -.7em;
  margin-right: -.7em;
}

@keyframes markpen {
  0% { background: rgba(107,155,240,0) }
  8%,72% { background: rgba(107,155,240,.75); box-shadow: 0 0 0 3px rgba(107,155,240,.45) }
  100% { background: rgba(107,155,240,0); box-shadow: 0 0 0 0 rgba(107,155,240,0) }
}

@media (prefers-reduced-motion:reduce) {
  .lb-main [id]:target,
  .lb-table tr:target td {
    animation: none;
    background: rgba(107,155,240,.6);
  }

  .qa-card:target {
    animation: none;
  }
}

.qa-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.qa-box input {
  width: 100%;
}

.qa-suggest {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #131c25;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}

.qa-suggest button:hover,
.qa-suggest button.on {
  background: rgba(98,144,194,.14);
}

.sg-none {
  display: block;
  padding: 14px 18px;
  color: var(--dim);
  font-size: 14.5px;
}

.qa-card.flash {
  animation: qaglow 3s ease 1;
  outline: 3px solid #508cee;
  outline-offset: 5px;
}

@media (max-width:560px) {
  .qa-box {
    flex: 1 1 100%;
  }

  .qa-search {
    gap: 8px;
  }
}

.theme-technology {
  --c: #54a7ee;
}

.theme-fleets {
  --c: #668dcb;
}











:root {
  --bg: #0e171f;
  --panel: #182736;
  --panel-2: #24394e;
  --ink: #f3f8fe;
  --dim: #aac7e7;
  --accent: #5da1ef;
  --warm: #86b3f3;
  --line: rgba(167,192,219,.22);
  --line-strong: rgba(128,166,208,.55);
  --radius: 20px;
  --wood: #5079a6;
  --wood-d: #2b4868;
  --wood-dd: #0b141d;
}


.bg::after {
  background: linear-gradient(180deg,rgba(10,17,24,.35),rgba(10,17,24,.25) 45%,rgba(10,17,24,.6));
}

.side {
  background: #182736;
  border-right: 5px solid var(--wood);
  box-shadow: 6px 0 0 var(--wood-dd),10px 0 24px rgba(0,0,0,.35);
  scrollbar-color: #5079a6 transparent;
}

.top {
  background: #182736;
  border-bottom: 5px solid var(--wood);
  box-shadow: 0 6px 0 var(--wood-dd);
  backdrop-filter: none;
}

.side-sec a:hover {
  background: rgba(93,161,239,.18);
  color: #ffffff;
}

.side-sec a.ch.on {
  background: color-mix(in srgb,var(--c) 30%,#182736);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--c);
}

.searchbox input::placeholder {
  color: #8eadd0;
}

.searchbox input:focus {
  border-color: #5da1ef;
  box-shadow: 0 0 0 3px rgba(93,161,239,.25);
}

.btn,
.pg,
.filter {
  border-radius: 0;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 600;
  border: 3px solid rgba(12,23,34,.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #2b6cb5,0 12px 18px rgba(0,0,0,.28);
  filter: none;
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #2b6cb5;
}

.btn.alt {
  background: #f3f8fe;
  color: #060f1a;
  border-color: rgba(12,23,34,.4);
  box-shadow: 0 5px 0 #8eadd0;
}

.btn.alt:hover {
  background: #ffffff;
  box-shadow: 0 7px 0 #8eadd0;
}

.filter,
.pg {
  background: #182736;
  color: #d8e2ed;
  border: 3px solid var(--wood);
  box-shadow: 0 4px 0 var(--wood-dd);
}

.filter:hover,
.pg:hover:not(:disabled) {
  background: #24394e;
  color: #ffffff;
  border-color: var(--wood);
}

.foot a:hover,
.foot-links a:hover {
  color: #5da1ef;
}

.side,
.scrim,
.burger {
  display: none !important;
}

.col {
  min-height: calc(100vh / var(--z,1));
}

.top-brand {
  display: flex !important;
  color: #f3f8fe;
  font-size: 22px;
  white-space: nowrap;
}

.top-brand img {
  width: 36px;
  height: 36px;
  border-radius: 0;
  border: 3px solid #f3f8fe;
}

.yume-nav a {
  padding: 8px 16px;
  border-radius: 0;
  color: #d8e2ed;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition: background .15s,color .15s;
}

.yume-nav a:hover {
  background: rgba(255,255,255,.14);
  color: #ffffff;
}

.searchbox {
  flex: 0 1 250px;
  margin-left: auto;
  min-width: 0;
}

@media (max-width:900px) {
  .yume-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
  }
}

.hero {
  min-height: calc(100vh / var(--z,1) - 110px);
  padding: 40px 20px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .btn {
  font-size: 20px;
  padding: 12px 30px;
}

.box-h h2::after {
  display: none;
}

.tag {
  background: #5da1ef;
  color: #060f1a;
  border: 2px solid rgba(12,23,34,.4);
  box-shadow: 0 2px 0 #2b6cb5;
}

.results a:hover {
  background: rgba(93,161,239,.18);
}

.lightbox {
  background: rgba(8,15,21,.94);
}

.lightbox img {
  border: 6px solid #f3f8fe;
  border-radius: 0;
}

.welcome::after {
  background: linear-gradient(0deg,rgba(10,17,24,.94) 0%,rgba(10,17,24,.55) 55%,rgba(10,17,24,.1) 100%);
}

.lb-hero::after,
.md-hero::after,
.discord-header-overlay {
  background: linear-gradient(0deg,rgba(10,17,24,.92),transparent 70%);
}

.md-cta,
.discord-cta-card {
  background: #5da1ef !important;
  color: #060f1a !important;
  border: 3px solid rgba(12,23,34,.4);
  border-radius: 0;
  box-shadow: 0 5px 0 #2b6cb5;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 600;
}

.md-cta:hover {
  filter: none;
  transform: translateY(-2px);
}

::selection {
  background: #5da1ef;
  color: #060f1a;
}

.credits-divider {
  display: none;
}

.welcome .tag {
  background: #5da1ef;
  color: #060f1a;
  border: 2px solid rgba(12,23,34,.4);
}

.variants .specimen {
  --r: 0deg;
  padding: 0 0 74px;
  background: #182736;
  color: #f3f8fe;
  border: 5px solid #5079a6;
  border-radius: 0;
  overflow: visible;
  box-shadow: 0 8px 0 #0b141d,0 18px 28px rgba(0,0,0,.4),inset 0 0 0 3px #80a2c8;
  gap: 0;
  flex-direction: column !important;
  align-items: stretch !important;
}

.variants .specimen:nth-child(odd) {
  --rr: -.8deg;
}

.variants .specimen:nth-child(even) {
  --rr: .8deg;
}

.variants .specimen:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.01);
}

.variants .specimen .tape.tl {
  left: 50%;
  right: auto;
  top: -14px;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  transform: rotate(-3deg);
}

.variants .specimen>.sp-img {
  flex: none !important;
  width: auto !important;
  aspect-ratio: 16/10 !important;
  margin: 10px !important;
  border: 3px solid #0b141d;
  border-radius: 0;
  box-shadow: none;
  background-position: center;
}

.variants .sp-tag {
  align-self: flex-start;
  font: 700 12px "Trebuchet MS",Verdana,sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #5da1ef;
  color: #060f1a;
  border: 2px solid rgba(12,23,34,.4);
  border-radius: 0;
  padding: 2px 12px;
  transform: none;
  opacity: 1;
  box-shadow: 0 3px 0 #2b6cb5;
  margin: 0;
}

.variants .specimen::after {
  content: 'View kit \2192';
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 22px;
  border-radius: 0;
  background: #5da1ef;
  color: #060f1a;
  font: 600 17px "Trebuchet MS",Verdana,sans-serif;
  border: 3px solid rgba(12,23,34,.4);
  box-shadow: 0 5px 0 #2b6cb5;
  transition: transform .12s,box-shadow .12s;
}

.variants .specimen:hover::after {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #2b6cb5;
}

.md-more {
  margin-top: 56px;
}

.md-back {
  background: #5da1ef;
  color: #060f1a;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 0;
  border: 3px solid rgba(12,23,34,.4);
  padding: 6px 20px;
  box-shadow: 0 5px 0 #2b6cb5;
  transform: none;
}

.md-back:hover {
  color: #060f1a;
  transform: translateY(-2px);
}

.md-hero-title {
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 700;
  text-shadow: 0 4px 0 rgba(7,14,21,.9);
}

.md-hero-tag {
  background: #5da1ef !important;
  color: #060f1a !important;
  border: 2px solid rgba(12,23,34,.4) !important;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  box-shadow: 0 3px 0 #2b6cb5;
}

.chap-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 0;
  background: #182736;
  color: #d8e2ed;
  border: 3px solid #5079a6;
  box-shadow: 0 4px 0 #0b141d;
  font: 600 16px "Trebuchet MS",Verdana,sans-serif;
  transition: transform .12s,box-shadow .12s;
}

.chap-tabs a i {
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.chap-tabs a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #0b141d;
  color: #ffffff;
}

.chap-tabs a[aria-current="page"] i {
  background: #060f1a;
  box-shadow: none;
}

.chap-tabs a.all {
  background: #5da1ef;
  color: #060f1a;
  border-color: rgba(12,23,34,.4);
  box-shadow: 0 4px 0 #2b6cb5;
}

.frames-hub .frame {
  --r: 0deg;
  max-width: none;
  width: 100%;
  align-items: stretch;
  gap: 10px;
  padding: 10px 10px 74px;
  background: #182736;
  border: 5px solid var(--c);
  border-radius: 0;
  box-shadow: 0 8px 0 color-mix(in srgb,var(--c) 40%,#0b141d),0 18px 28px rgba(0,0,0,.4);
  transform: rotate(var(--rr,0deg));
  transform-origin: 50% 50%;
}

.frames-hub .frame:nth-child(odd) {
  --rr: -.7deg;
}

.frames-hub .frame:nth-child(even) {
  --rr: .7deg;
  margin-top: 0;
}

.frames-hub .frame:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.01);
}

.frames-hub .frame::before {
  top: -15px;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 0;
  background: color-mix(in srgb,var(--c) 60%,#ffffff);
  opacity: .85;
  box-shadow: 0 2px 0 rgba(0,0,0,.2);
  transform: rotate(-3deg);
}

.frames-hub .frame::after {
  content: 'Read chapter \2192';
  position: absolute;
  left: 16px;
  bottom: 16px;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 22px;
  border-radius: 0;
  background: #5da1ef;
  color: #060f1a;
  font: 600 17px "Trebuchet MS",Verdana,sans-serif;
  border: 3px solid rgba(12,23,34,.4);
  box-shadow: 0 5px 0 #2b6cb5;
  transition: transform .12s,box-shadow .12s;
}

.frames-hub .frame:hover::after {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #2b6cb5;
}

.frames-hub .fr-in,
.frames-hub .f0 .fr-in,
.frames-hub .f1 .fr-in,
.frames-hub .f2 .fr-in,
.frames-hub .f3 .fr-in {
  padding: 0;
  background: none;
  box-shadow: none;
}

.frames-hub .fr-in img {
  aspect-ratio: 16/10;
  border: 3px solid #0b141d;
  border-radius: 0;
  box-shadow: none;
}

.frames-hub .plaque {
  order: -1;
  align-self: flex-start;
  width: auto;
  margin: 0 6px;
  padding: 4px 16px 5px;
  border-radius: 0;
  background: var(--c);
  color: #060f1a;
  font: 700 16px "Trebuchet MS",Verdana,sans-serif;
  box-shadow: 0 3px 0 rgba(0,0,0,.35);
  text-align: left;
}

.frames-hub .plaque b {
  display: inline;
  margin-right: 8px;
  font: 700 12px "Trebuchet MS",Verdana,sans-serif;
  opacity: .7;
}

.frames-hub .fr-ex {
  text-align: left;
  color: #d8e2ed;
  padding: 0 8px;
  -webkit-line-clamp: 3;
}

.lb-hero,
.fr1 .lb-hero,
.fr2 .lb-hero,
.fr3 .lb-hero {
  background: #182736 !important;
  border: 5px solid var(--c) !important;
  border-radius: 0 !important;
  padding: 10px !important;
  overflow: hidden !important;
  margin-top: 20px !important;
  box-shadow: 0 8px 0 color-mix(in srgb,var(--c) 40%,#0b141d),0 18px 30px rgba(0,0,0,.4) !important;
}

.lb-hero::before,
.lb-hero::after {
  display: none !important;
}

.lb-hero-tag {
  background: var(--c) !important;
  color: #060f1a !important;
  border: 2px solid rgba(12,23,34,.4) !important;
  font-family: "Trebuchet MS",Verdana,sans-serif;
  box-shadow: 0 3px 0 rgba(0,0,0,.35);
}

.lb-hero-title {
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-weight: 700;
  text-shadow: 0 4px 0 rgba(7,14,21,.9);
}

.lb-side {
  border-radius: 0 !important;
}

:root {
  --w-panel: rgba(15,26,37,.95);
  --w-edge: #244b72;
  --w-box: #121b23;
  --w-box-edge: #2a4e76;
  --w-accent: #5291e0;
  --w-accent-2: #aecef7;
  --w-link: #77b0f2;
  --w-link-hover: #d8e2ed;
  --w-muted: #aab6c4;
  --w-bar: #193855;
}

a {
  color: var(--w-link);
}

a:hover {
  color: var(--w-link-hover);
}

.shell {
  display: grid !important;
  grid-template-columns: 250px minmax(0,1fr);
  gap: 18px;
  max-width: 1640px;
  margin: 0 auto;
  padding: 14px 16px 0;
  align-items: start;
}

.side {
  display: flex !important;
  flex-direction: column;
  position: sticky !important;
  top: 14px;
  height: auto;
  max-height: calc(100vh / var(--z,1) - 28px);
  width: auto !important;
  transform: none !important;
  overflow: auto;
  background: var(--w-panel);
  border: 3px solid var(--w-edge);
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5),0 10px 26px rgba(0,0,0,.45);
  padding: 14px 14px 12px;
}

.side-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 3px solid var(--w-accent);
  color: #ffffff;
  text-decoration: none;
}

.side-logo img {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 2px solid #ffffff;
  background: #121b23;
}

.side-logo small {
  display: block;
  margin-top: 2px;
  font: 600 11px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--w-accent);
}

.side-sec h4 {
  margin: 12px 0 6px;
  color: var(--w-accent);
  font: 700 12px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.side-sec a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px;
  border-radius: 0;
  color: #d9e5f2;
  font: 600 14.5px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  box-shadow: none;
}

.side-sec a svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: .8;
}

.side-sec a:hover {
  background: rgba(95,141,191,.14);
  color: #ffffff;
  text-decoration: none;
}

.side-sec a.on {
  background: var(--w-accent);
  color: #0b1927;
  box-shadow: none;
}

.side-sec a.on svg {
  opacity: 1;
}

.side-sec a.ch.on {
  background: color-mix(in srgb,var(--c) 28%,#121b23);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--c);
}

.scrim,
.burger {
  display: none !important;
}

.top {
  position: sticky !important;
  top: 14px;
  z-index: 40;
  margin: 0 !important;
  width: auto !important;
  padding: 8px 12px;
  gap: 12px;
  border: 3px solid var(--w-edge) !important;
  border-radius: 0 !important;
  background: var(--w-panel) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5),0 8px 20px rgba(0,0,0,.4) !important;
}

.top-brand {
  display: none !important;
}

.yume-nav {
  margin: 0;
  gap: 0;
  align-self: stretch;
}

.yume-nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 0;
  font: 700 15px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  color: #d2e0ef;
  border-bottom: 4px solid transparent;
  border-top: 4px solid transparent;
  box-shadow: none;
  background: none;
}

.yume-nav a:hover {
  background: rgba(95,141,191,.12);
  color: #ffffff;
  text-decoration: none;
}

.yume-nav a[aria-current="page"] {
  background: rgba(95,141,191,.16);
  color: #ffffff;
  border-bottom-color: var(--w-accent);
  box-shadow: none;
}

.searchbox input {
  background: #0c0f11;
  border: 2px solid var(--w-edge);
  border-radius: 0;
  color: #ffffff;
  font: 600 14px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}

.searchbox input:focus {
  border-color: var(--w-accent);
  box-shadow: none;
}

.searchbox button {
  color: var(--w-accent);
}

.results {
  background: #121b23;
  border: 2px solid var(--w-edge);
  border-radius: 0;
}

.results a:hover {
  background: rgba(95,141,191,.15);
}

.results small {
  color: var(--w-accent);
}

.main {
  max-width: none;
  margin: 16px 0 0;
  padding: 26px 30px 30px;
  background: var(--w-panel);
  border: 3px solid var(--w-edge);
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5),0 10px 26px rgba(0,0,0,.45);
}

.main>.box {
  margin-top: 34px;
}

.page-title,
.credits-hero {
  text-align: left;
  padding: 0 0 10px;
  margin: 0 0 24px;
  border-bottom: 4px solid var(--w-accent);
}

.page-title h1,
.credits-hero-title {
  font: 600 clamp(1.9rem,3.4vw,2.6rem)/1.15 "Trebuchet MS",Verdana,sans-serif;
  color: var(--w-accent);
  text-shadow: none;
  letter-spacing: 0;
}

.page-title p,
.credits-hero-sub {
  margin: 6px 0 0;
  max-width: 70ch;
  color: #d9e5f2;
  font: 500 1.05rem "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  text-shadow: none;
}

.box-h {
  justify-content: space-between;
  flex-direction: row;
  align-items: baseline;
  text-align: left;
  padding: 0 0 6px;
  margin-bottom: 18px;
  border-bottom: 2px solid #2b5078;
}

.box-h h2 {
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #ffffff;
  font: 600 clamp(1.3rem,2.2vw,1.7rem) "Trebuchet MS",Verdana,sans-serif;
  text-shadow: none;
}

.credits-faq-header {
  text-align: left;
}

.credits-faq-label {
  color: var(--w-accent);
  text-shadow: none;
}

.btn,
.pg,
.filter,
.md-back,
.md-cta {
  border-radius: 0;
  font: 800 15px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  border: 0;
  text-shadow: none;
}

.btn:hover,
.md-back:hover {
  background: var(--w-accent-2);
  color: #0b1927;
  transform: none;
  box-shadow: 0 4px 0 #2b79cf;
  text-decoration: none;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2f5d8f;
}

.btn.alt {
  background: #1d2833;
  color: #ffffff;
  box-shadow: 0 4px 0 #0e151c;
  border: 2px solid var(--w-box-edge);
}

.btn.alt:hover {
  background: #2c3e52;
  color: #ffffff;
}

.md-cta,
.discord-cta-card {
  background: var(--w-accent) !important;
  color: #0b1927 !important;
  border-radius: 0;
  border: 0;
  box-shadow: 0 4px 0 #2f5d8f;
}

.tag,
.md-hero-tag,
.lb-hero-tag {
  background: var(--w-accent) !important;
  color: #0b1927 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 800;
  letter-spacing: .06em;
}

.filter,
.pg {
  background: #1d2833;
  color: #d9e5f2;
  border: 2px solid var(--w-box-edge);
  box-shadow: none;
}

.filter:hover,
.pg:hover:not(:disabled) {
  background: #2c3e52;
  color: #ffffff;
  border-color: var(--w-accent);
}

.filter.on,
.pg.on {
  background: var(--w-accent);
  color: #0b1927;
  border-color: var(--w-accent);
  transform: none;
  box-shadow: none;
}

.chap-tabs {
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 24px;
  max-width: none;
  border-bottom: 2px solid #2b5078;
}

.chap-tabs a {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none !important;
  padding: 9px 18px 10px;
  margin-bottom: -2px;
  border-bottom: 4px solid transparent;
  font: 700 16px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  color: #d2e0ef;
}

.chap-tabs a:hover {
  background: rgba(95,141,191,.12);
  color: #ffffff;
  box-shadow: none;
  text-decoration: none;
}

.chap-tabs a[aria-current="page"] {
  background: rgba(95,141,191,.14);
  color: #ffffff;
  border-color: transparent;
  border-bottom-color: var(--w-accent);
  box-shadow: none;
}

.chap-tabs a.all {
  background: none;
  color: var(--w-link);
  border-color: transparent;
  box-shadow: none;
}

.board,
.welcome,
.lb-hero,
.md-hero,
.discord-header,
.variants .specimen,
.frames-hub .frame {
  border-radius: 0 !important;
  border: 3px solid var(--w-box-edge);
  background: var(--w-box) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.45),0 8px 18px rgba(0,0,0,.35) !important;
}

.variants .specimen,
.frames-hub .frame {
  transform: none !important;
  transition: border-color .15s,transform .15s;
}

.variants .specimen:hover,
.frames-hub .frame:hover {
  transform: translateY(-3px) !important;
  border-color: var(--w-accent);
}

.frames-hub .frame::before,
.variants .specimen .tape {
  display: none;
}

.variants .sp-name {
  font: 600 26px "Trebuchet MS",Verdana,sans-serif;
  text-shadow: none;
}

.variants .sp-tag {
  border-radius: 0;
  background: var(--w-accent);
  color: #0b1927;
  border: 0;
  box-shadow: none;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 800;
}

.variants .sp-tag.free {
  background: var(--w-accent-2);
  box-shadow: none;
}

.variants .specimen::after,
.frames-hub .frame::after {
  border-radius: 0;
  background: var(--w-accent);
  color: #0b1927;
  border: 0;
  box-shadow: 0 3px 0 #2f5d8f;
  font: 800 15px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  padding: 7px 18px;
}

.variants .specimen:hover::after,
.frames-hub .frame:hover::after {
  transform: none;
  box-shadow: 0 3px 0 #2b79cf;
}

.frames-hub .plaque {
  border-radius: 0;
  color: #0b1927;
  box-shadow: none;
  font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-weight: 800;
}

.frames-hub .fr-in img,
.variants .specimen>.sp-img {
  border: 2px solid #081018;
  border-radius: 0;
}

.lb-hero,
.fr1 .lb-hero,
.fr2 .lb-hero,
.fr3 .lb-hero {
  border: 3px solid var(--c) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.45),0 8px 18px rgba(0,0,0,.35) !important;
}

.lb-hero-title,
.md-hero-title {
  font-family: "Trebuchet MS",Verdana,sans-serif;
  text-shadow: none;
}

.hero {
  min-height: 0;
  padding: 10px 0 6px;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
}

.hero .btn {
  font-size: 16px;
  padding: 11px 26px;
}

.foot {
  width: auto;
  margin: 16px 0 14px;
  border: 3px solid var(--w-edge);
  border-radius: 0;
  background: var(--w-panel);
  box-shadow: 0 0 0 2px rgba(0,0,0,.5);
  padding: 14px 22px;
  justify-content: space-between;
  text-align: left;
  color: var(--w-muted);
}

::selection {
  background: var(--w-accent);
  color: #0b1927;
}

html {
  scrollbar-color: #2a4e76 #0c0f11;
}

@media (max-width:1000px) {
  .side {
    position: static !important;
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 24px;
  }

  .side-logo {
    flex: 1 1 100%;
  }

  .side-sec {
    flex: 1 1 200px;
  }

  .yume-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }
}

main.hero {
  margin: 16px 0 0;
  padding: 70px 40px 44px;
  background: var(--w-panel);
  border: 3px solid var(--w-edge);
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5),0 10px 26px rgba(0,0,0,.45);
  min-height: min(520px,calc(100vh / var(--z,1) - 170px));
}

@media (max-width:1000px) {
  main.hero {
    padding: 60px 18px 30px;
  }
}

.shell {
  grid-template-columns: 235px minmax(0,1fr) 210px;
  gap: 18px 20px;
  max-width: 1700px;
  padding-top: 0;
}

.side {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  max-height: none;
  top: 0;
  gap: 0;
}

.side-logo {
  display: block;
  margin: 26px 0 22px 14px;
  padding: 6px 14px 8px;
  background: #070a0c;
  border: 5px solid #ffffff;
  border-radius: 0;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
  position: relative;
}

.side-logo:after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -22px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  clip-path: polygon(100% 0,100% 100%,0 0);
}

.side-logo img {
  display: none;
}

.side-logo span {
  font: 700 26px/1 "Trebuchet MS",Verdana,sans-serif;
  color: #ffffff;
}

.side-logo small {
  margin-top: 4px;
  color: var(--w-accent);
}

.side-panel {
  background: var(--w-panel);
  border: 3px solid var(--w-edge);
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5),0 10px 26px rgba(0,0,0,.45);
  padding: 12px 14px 14px;
  max-height: calc(100vh / var(--z,1) - 190px);
  overflow: auto;
}

.side-sec h4 {
  color: #ffffff;
  font: 600 15px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  letter-spacing: 0;
  text-transform: none;
  margin: 14px 0 6px;
}

.side-sec a {
  padding: 3px 4px;
  color: var(--w-link);
  font: 600 14px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  border-radius: 0;
}

.side-sec a svg {
  display: none;
}

.side-sec a:hover {
  background: none;
  color: var(--w-link-hover);
  text-decoration: underline;
}

.side-sec a.ch.on {
  background: none;
  box-shadow: none;
  color: #ffffff;
}

.side-sec a.ch i {
  width: 9px;
  height: 9px;
}

.col {
  display: contents;
}

.top {
  grid-column: 2/4;
  grid-row: 1;
  position: static !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 34px 0 0 !important;
  justify-content: flex-end;
  width: auto !important;
  height: 78px;
}

.yume-nav {
  display: none;
}

.searchbox {
  flex: 0 1 300px;
  margin-left: 0;
}

.searchbox input {
  height: 44px;
  border-width: 3px;
  border-radius: 0;
  background: rgba(30,27,25,.92);
}

.side {
  grid-column: 1;
  grid-row: 1/4;
}

.main,
main.hero {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}

.foot {
  grid-column: 2/4;
  grid-row: 3;
}

.more {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  position: sticky;
  top: 14px;
  background: var(--w-panel);
  border: 3px solid var(--w-edge);
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5),0 10px 26px rgba(0,0,0,.45);
  padding: 14px 16px 16px;
}

.more h4 {
  margin: 0 0 10px;
  font: 600 15px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  color: #ffffff;
}

.more a {
  display: block;
  padding: 2px 0;
  font: 600 14px "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  line-height: 1.7;
}

.more a:hover {
  text-decoration: underline;
}

@media (max-width:1250px) {
  .more {
    display: none;
  }
}

@media (max-width:1000px) {
  .top {
    grid-column: 1;
    grid-row: auto;
    height: auto;
    padding: 10px 0 0 !important;
  }

  .side {
    grid-column: 1;
    grid-row: auto;
  }

  .main,
  main.hero,
  .foot {
    grid-column: 1;
    grid-row: auto;
  }
}

.side-panel {
  scrollbar-width: thin;
  scrollbar-color: #3a3d46 transparent;
}

:root {
  --bev-hi: #6b7388;
  --bev-lo: #050709;
  --bar-a: #2e71b9;
  --bar-b: #1d4f7f;
  --box2: #151e26;
}

body *:not(svg):not(svg *):not(.lb-main *):not(.lb-side *) {
  font-family: Tahoma,Verdana,'Trebuchet MS',sans-serif !important;
}

a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.more h4 {
  margin: -14px -16px 10px !important;
}

.side-sec a {
  text-decoration: underline;
  padding: 2px 2px 2px 14px;
  position: relative;
  font-size: 12.5px;
}

.side-sec a:before {
  content: "\25AA";
  position: absolute;
  left: 2px;
  color: #4b77a7;
}

.side-sec a.ch:before {
  display: none;
}

.side-sec a.ch {
  padding-left: 4px;
}

.more a {
  padding-left: 14px;
  position: relative;
  font-size: 12.5px;
}

.more a:before {
  content: "\25AA";
  position: absolute;
  left: 2px;
  color: #4b77a7;
}

.side-logo {
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--w-accent);
}

.btn:hover,
.md-back:hover,
.md-cta:hover {
  background: linear-gradient(#ffffff,#c9ddf2) !important;
  color: #14293e !important;
}

.btn:active {
  box-shadow: none !important;
  transform: translate(2px,2px);
}

.btn.alt {
  background: linear-gradient(#2f5e8f,#183654) !important;
  color: #ffffff !important;
  border-color: #7a8b9e #0c1014 #0c1014 #7a8b9e !important;
}

.searchbox input {
  border-radius: 0 !important;
  border: 2px solid !important;
  border-color: #050709 #6b7388 #6b7388 #050709 !important;
  background: #0c0f11 !important;
  font-size: 12.5px;
}

.portal {
  font-size: 13px;
}

.p-ticker {
  margin: 0 0 16px;
  background: #040608;
  border: 2px solid;
  border-color: var(--bev-lo) var(--bev-hi) var(--bev-hi) var(--bev-lo);
  overflow: hidden;
  white-space: nowrap;
}

.p-ticker span {
  display: inline-block;
  padding: 4px 0;
  color: #6b97c6;
  font: 12px "Courier New",monospace !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-left: 100%;
  animation: pTick 38s linear infinite;
}

@keyframes pTick {
  to { transform: translateX(-100%) }
}

@media (prefers-reduced-motion:reduce) {
  .p-ticker span {
    animation: none;
    padding-left: 8px;
  }
}

.p-row {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
}

.p-b {
  grid-template-columns: minmax(0,1fr) minmax(0,1.5fr);
}

.p-box {
  background: var(--box2);
  padding: 0 0 14px;
  min-width: 0;
}

.p-box h2 {
  margin: 0 0 12px;
  padding: 5px 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 1px 1px 0 #14293d;
  background: linear-gradient(#2e71b9,#1d4f7f);
  border-bottom: 1px solid #14293d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-welcome {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.p-welcome img {
  width: 96px;
  height: auto;
  flex: none;
  image-rendering: auto;
  border: 2px solid;
  border-color: #050709 #6b7388 #6b7388 #050709;
  background: #0c0f11;
  padding: 4px;
}

.p-welcome p {
  margin: 0 0 10px;
  line-height: 1.55;
  color: #e8eff6;
}

.p-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding-top: 6px;
  border-top: 1px dotted #3b516a;
}

.p-links a:before {
  content: "\2022\00a0";
  color: #ffffff;
}

.p-start li {
  margin: 0 0 10px;
  line-height: 1.35;
}

.p-start li::marker {
  color: #739dca;
  font-weight: 700;
}

.p-start a {
  font-weight: 700;
  font-size: 13.5px;
}

.p-start small {
  display: block;
  color: #abbacb;
  font-size: 12px;
}

.foot {
  flex-wrap: wrap;
  gap: 12px 24px !important;
  font-size: 12px;
}

.foot .badges {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dotted #3b516a;
}

.foot .badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  text-align: center;
  font: 700 9px/1.1 Tahoma,Verdana,sans-serif !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
  border: 2px solid;
  border-color: #ccdbeb #173755 #173755 #ccdbeb;
  background: linear-gradient(#366ea8,#173755);
}

.foot .badges span:nth-child(2) {
  background: linear-gradient(#2e71b9,#184570);
  border-color: #aac7e7 #0d1b29 #0d1b29 #aac7e7;
}

.foot .badges span:nth-child(3) {
  background: linear-gradient(#8a4bd0,#4b1f86);
  border-color: #dcc2f7 #260f47 #260f47 #dcc2f7;
}

.foot .badges span:nth-child(4) {
  background: linear-gradient(#3a7cd0,#16457e);
  border-color: #a9caf6 #0a2544 #0a2544 #a9caf6;
  color: #060f1a;
}

.foot .lastup {
  margin-left: auto;
  font-family: "Courier New",monospace !important;
  letter-spacing: 1px;
  color: #6b97c6;
}

@media (max-width:900px) {
  .p-welcome {
    flex-direction: column;
  }
}

.main:is(.art,:has(.lb-hero)) .lb-hero,
.main:is(.art,:has(.lb-hero)) .lb-side {
  display: none !important;
}

.main:is(.art,:has(.lb-hero)) .lb-body {
  display: block;
  margin: 0;
}

.main:is(.art,:has(.lb-hero)) .lb-main {
  position: static;
  background: none !important;
  background-image: none !important;
  color: #e5edf5 !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  border-radius: 0 !important;
}

.main:is(.art,:has(.lb-hero)) .lb-main::before {
  display: none !important;
}

.main:is(.art,:has(.lb-hero)) .lb-main,
.main:is(.art,:has(.lb-hero)) .lb-main * {
  font-family: Tahoma,Verdana,'Trebuchet MS',sans-serif !important;
}

.main:is(.art,:has(.lb-hero)) .lb-main>*+* {
  margin-top: .9em;
}

.main:is(.art,:has(.lb-hero)) .lb-main strong {
  color: #ffffff;
}

.main:is(.art,:has(.lb-hero)) .lb-main a {
  color: var(--w-link) !important;
  text-decoration: underline;
}

.main:is(.art,:has(.lb-hero)) .lb-main a:hover {
  color: var(--w-link-hover) !important;
}

.main:is(.art,:has(.lb-hero)) .lb-list li::marker {
  color: #739dca;
}

.main:is(.art,:has(.lb-hero)) .lb-divider {
  background: #334252;
}

.main:is(.art,:has(.lb-hero)) .lb-quote {
  background: rgba(40,73,109,.22);
  border-left: 4px solid #2e71b9;
  color: #eaf3fd;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  border-radius: 0;
}

.main:is(.art,:has(.lb-hero)) .lb-note {
  background: rgba(255,255,255,.04);
  border: 1px dashed #3b516a;
  color: #e5edf5;
  border-radius: 0;
}

.main:is(.art,:has(.lb-hero)) .lb-note-label {
  color: #a2bcd9;
}

.main:is(.art,:has(.lb-hero)) .lb-table-wrap {
  background: none;
  border: 1px solid #334252;
  border-radius: 0;
}

.main:is(.art,:has(.lb-hero)) .lb-table th {
  background: #1d4f7f;
  color: #ffffff;
  font-size: 12px;
}

.main:is(.art,:has(.lb-hero)) .lb-table th,
.main:is(.art,:has(.lb-hero)) .lb-table td {
  border-bottom-color: #334252;
}











.main:is(.art,:has(.lb-hero)) .chap-tabs {
  justify-content: flex-start;
  align-items: center;
  gap: 4px 16px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px dashed #3b516a;
  background: rgba(0,0,0,.28);
}

.main:is(.art,:has(.lb-hero)) .chap-tabs a {
  padding: 0;
  border: 0;
  margin: 0;
  background: none !important;
  font-size: 13px;
  color: var(--w-link);
  text-decoration: underline;
}

.main:is(.art,:has(.lb-hero)) .chap-tabs a i {
  width: 8px;
  height: 8px;
  margin-right: 4px;
}

.main:is(.art,:has(.lb-hero)) .ct-label {
  padding: 0;
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.a-tabs {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin: 0 0 14px;
  padding: 0 4px;
  font-size: 13px;
  border-bottom: 1px solid #334252;
}

.a-tabs a {
  padding: 3px 2px 8px;
  color: var(--w-link);
  text-decoration: none;
  margin-bottom: -1px;
}

.a-tabs a:hover {
  text-decoration: underline;
}

.a-tabs a.on {
  color: #ffffff;
  border-bottom: 3px solid var(--w-accent);
  font-weight: 700;
}

.a-tabs .sp {
  flex: 1;
}

.a-infobox {
  float: right;
  width: 300px;
  margin: 4px 0 16px 24px;
  background: var(--box2);
  border: 2px solid;
  border-color: var(--bev-hi) var(--bev-lo) var(--bev-lo) var(--bev-hi);
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
  font-size: 12.5px;
  line-height: 1.45;
}

.a-infobox .hd {
  padding: 5px 10px;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(#2e71b9,#1d4f7f);
  border-bottom: 1px solid #14293d;
  text-shadow: 1px 1px 0 #14293d;
}

.a-infobox figure {
  margin: 0;
  padding: 8px 8px 4px;
}

.a-infobox img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #050709;
  background: #000000;
}

.a-infobox figcaption {
  padding: 5px 2px 2px;
  color: #abbacb;
  text-align: center;
}

.a-infobox table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 0;
}

.a-infobox th,
.a-infobox td {
  padding: 4px 10px;
  text-align: left;
  vertical-align: top;
  border-top: 1px dotted #3b516a;
  font-weight: 400;
}

.a-infobox th {
  width: 34%;
  color: #a2bcd9;
  font-weight: 700;
}

.a-toc {
  display: inline-block;
  min-width: 270px;
  max-width: 100%;
  margin: 6px 0 10px;
  background: var(--box2);
  border: 2px solid;
  border-color: var(--bev-hi) var(--bev-lo) var(--bev-lo) var(--bev-hi);
  font-size: 13px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
}

.a-toc .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 5px 12px;
  background: linear-gradient(#2e71b9,#1d4f7f);
  border-bottom: 1px solid #14293d;
  color: #ffffff;
}

.a-toc .hd b {
  font-size: 13px;
  text-shadow: 1px 1px 0 #14293d;
}

.a-toc button {
  background: none;
  border: 0;
  color: #d3e6fb;
  font: 12px Tahoma,sans-serif;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.a-toc ol {
  margin: 0;
  padding: 8px 14px 10px 36px;
}

.a-toc li {
  margin: 2px 0;
  line-height: 1.5;
}

.a-toc li::marker {
  color: #708eaf;
}

.a-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 2.2em !important;
  padding-top: 12px;
  border-top: 2px solid #2e71b9;
  clear: both;
}

.a-pager a {
  padding: 5px 14px;
  background: linear-gradient(#f3f8fe,#aaccf1);
  color: #14293e !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid;
  border-color: #ffffff #4b77a7 #4b77a7 #ffffff;
  box-shadow: 2px 2px 0 rgba(0,0,0,.55);
}

.a-pager a:hover {
  background: linear-gradient(#ffffff,#c9ddf2);
}

.a-pager span {
  min-width: 1px;
}

.main:is(.art,:has(.lb-hero)) .lb-main:after {
  content: "";
  display: block;
  clear: both;
}

.frames-hub {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px 16px !important;
  padding: 0 !important;
  max-width: none !important;
}

.frames-hub .frame {
  display: grid !important;
  grid-template-columns: 150px minmax(0,1fr);
  grid-template-areas: "img pl" "img ex";
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 8px !important;
  border-left: 6px solid var(--c) !important;
  width: auto;
  max-width: none;
}

.frames-hub .frame::after {
  display: none !important;
}

.frames-hub .fr-in {
  grid-area: img;
  align-self: stretch;
}

.frames-hub .fr-in img {
  aspect-ratio: 4/3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frames-hub .plaque {
  grid-area: pl;
  order: 0;
  margin: 0 !important;
  align-self: start;
  background: none !important;
  padding: 0 !important;
  font-size: 14.5px !important;
  text-decoration: underline;
  color: var(--w-link) !important;
}

.frames-hub .plaque b {
  color: #a2bcd9;
  opacity: 1;
  margin-right: 6px;
}

.frames-hub .fr-ex {
  grid-area: ex;
  padding: 0 !important;
  font-size: 12.5px;
  line-height: 1.5;
  -webkit-line-clamp: 4;
  color: #c8d6e6;
}

@media (max-width:1100px) {
  .frames-hub {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

.credits-faq-list {
  display: block;
  padding: 0;
  gap: 0;
}

.credits-faq-item {
  --r: 0deg;
  position: static;
  transform: none !important;
  background: none !important;
  color: #e5edf5 !important;
  border: 0 !important;
  border-bottom: 1px dotted #3b516a !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 4px 12px !important;
  margin: 0;
}

.credits-faq-item::before,
.credits-faq-item .pin {
  display: none !important;
}

.credits-faq-q {
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #a2bcd9 !important;
  margin: 0 0 4px;
}

.credits-faq-a {
  font-size: 13.5px !important;
  line-height: 1.65;
  color: #e5edf5 !important;
}

.credits-faq-sig {
  font-size: 12px !important;
  font-style: italic;
  color: #a0b5cb !important;
  margin-top: 4px;
}

.credits-creature-grid {
  gap: 16px;
  padding-top: 0;
}

.credits-creature-card {
  --r: 0deg;
  transform: none !important;
  background: var(--box2) !important;
  color: #e5edf5 !important;
  border: 2px solid !important;
  border-color: var(--bev-hi) var(--bev-lo) var(--bev-lo) var(--bev-hi) !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.5) !important;
  padding: 8px 8px 12px !important;
}

.credits-creature-card::before {
  display: none !important;
}

.credits-creature-card:hover {
  transform: none !important;
  border-color: #a2bcd9 #050709 #050709 #a2bcd9 !important;
}

.credits-creature-img {
  border: 2px solid #050709 !important;
  box-shadow: none !important;
}

.credits-creature-name {
  font-size: 15px !important;
  font-weight: 700;
  color: #a2bcd9 !important;
}

.credits-creature-desc {
  font-size: 12.5px !important;
  color: #d8e2ec !important;
}

.credits-faq-label,
.credits-creatures-label {
  font-size: 11px;
  color: #a2bcd9 !important;
}

.qa-card {
  --r: 0deg;
  transform: none !important;
  background: var(--box2) !important;
  color: #e5edf5 !important;
  border: 2px solid !important;
  border-color: var(--bev-hi) var(--bev-lo) var(--bev-lo) var(--bev-hi) !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.5) !important;
}

.qa-card * {
  color: inherit;
}

.qa-card h2,
.qa-card h3,
.qa-card .qa-q {
  color: #a2bcd9 !important;
  font-family: Tahoma,Verdana,sans-serif !important;
}

.qa-card .pin,
.qa-card::before {
  display: none !important;
}

.qa-card h2,
.qa-card h3,
.qa-card h4,
.qa-card .qa-q {
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 0 0 8px;
}

.qa-card p,
.qa-card .qa-a {
  font-size: 13px !important;
  line-height: 1.65;
}

:root {
  --m-edge: #354454;
  --m-box: #131e29;
  --m-box-edge: #2a4e76;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn,
.side-logo,
.yume-nav a,
.chap-tabs a,
.pg,
.frame,
.specimen,
.md-back,
.md-cta,
.a-pager a,
.pcard,
.print {
  text-decoration: none !important;
}

.side-panel,
.main,
.more,
.top,
.foot,
main.hero {
  border: 2px solid var(--m-edge) !important;
  border-radius: 0 !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.5),0 10px 26px rgba(0,0,0,.4) !important;
}

.p-box {
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0 !important;
  background: var(--m-box) !important;
  box-shadow: none !important;
}

.side-sec h4,
.more h4 {
  margin: 16px 0 6px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.more h4 {
  margin: 0 0 8px !important;
}

.side-sec a:before,
.more a:before {
  display: none !important;
}

.side-sec a.on {
  background: none !important;
  border: 0 !important;
  color: #ffffff !important;
  font-weight: 800;
}

.side-sec a.ch {
  padding-left: 2px;
}

.p-box {
  padding: 18px 22px 20px;
}

.p-box>*:not(h2) {
  margin-left: 0;
  margin-right: 0;
}

.p-welcome img {
  border-radius: 0;
  border: 2px solid var(--m-box-edge);
}

.p-links {
  border-top: 1px solid #2d4258;
}

.p-start {
  padding-left: 20px;
  margin-right: 0;
}

.p-ticker,
.foot .badges {
  display: none !important;
}

.foot {
  font-size: 13px;
}

.btn,
.md-back,
.md-cta,
.a-pager a {
  border-radius: 0 !important;
  background: var(--w-accent) !important;
  color: #0b1927 !important;
  border: 0 !important;
  box-shadow: 0 3px 0 #2f5d8f !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
  text-shadow: none;
}

.btn:hover,
.md-back:hover,
.md-cta:hover,
.a-pager a:hover {
  background: var(--w-accent-2) !important;
  color: #0b1927 !important;
}

.btn.alt {
  background: #172533 !important;
  color: #ffffff !important;
  border: 2px solid var(--m-box-edge) !important;
  box-shadow: none !important;
}

.btn.alt:hover {
  background: #24394e !important;
  color: #ffffff !important;
}

.searchbox input,
.qa-search input,
input[type=search],
input[type=text] {
  border-radius: 0 !important;
  border: 2px solid var(--m-edge) !important;
  background: #0c141c !important;
}

.filter,
.pg {
  border-radius: 0;
  background: #172533;
  border: 2px solid var(--m-box-edge);
}

.a-infobox,
.a-toc {
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none !important;
  background: var(--m-box);
}

.a-infobox th,
.a-infobox td {
  border-top: 1px solid #2d4258;
}

.a-infobox img {
  border: 0;
  border-radius: 0;
}





.main:is(.art,:has(.lb-hero)) .lb-quote,
.main:is(.art,:has(.lb-hero)) .lb-note,
.main:is(.art,:has(.lb-hero)) .lb-table-wrap {
  border-radius: 0;
}

.a-pager {
  border-top: 2px solid #2d4258;
}

.board,
.welcome,
.variants .specimen,
.frames-hub .frame,
.md-hero,
.discord-header,
.results,
.credits-creature-card,
.qa-card {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pcard,
.print,
.frame,
.specimen,
.credits-creature-card,
.qa-card {
  transform: none !important;
  rotate: 0deg;
}

.pcard:hover,
.print:hover,
.frame:hover,
.specimen:hover,
.credits-creature-card:hover,
.qa-card:hover {
  transform: none !important;
}

.pin,
.tape,
.pc-no,
.pc-stamp {
  display: none !important;
}

.pc-grid {
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
  gap: 14px;
  padding: 0;
}

.pcard {
  padding: 8px 8px 10px !important;
  gap: 2px;
  background: var(--m-box) !important;
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #ffffff;
}

.pcard:hover {
  border-color: var(--w-accent) !important;
}

.pc-photo {
  aspect-ratio: 1/1;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  margin-bottom: 6px;
}

.pc-name {
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff !important;
  min-height: 0 !important;
  -webkit-line-clamp: 2;
}

.pc-by {
  font-size: 12px !important;
  font-weight: 600;
  color: #a0b5cb !important;
}

.print {
  display: block;
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: hidden;
}

.print:hover {
  border-color: var(--w-accent) !important;
}

.md-gallery img {
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  background: #0c141c;
}

.md-gallery img:hover {
  border-color: var(--w-accent) !important;
  transform: none !important;
}

.variants .specimen,
.frames-hub .frame {
  border: 2px solid var(--m-box-edge) !important;
  background: var(--m-box) !important;
}

.variants .specimen:hover,
.frames-hub .frame:hover {
  transform: none !important;
  border-color: var(--w-accent) !important;
}

.variants .specimen::after,
.frames-hub .frame::after {
  border-radius: 0;
}

.credits-creature-card {
  border: 2px solid var(--m-box-edge) !important;
  background: var(--m-box) !important;
}

.credits-creature-img {
  border: 0 !important;
  border-radius: 0;
}

.top {
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

.side-sec a,
.more a,
.p-start a,
.p-links a,
.main a {
  text-decoration: none;
}

.side-sec a:hover,
.more a:hover,
.p-start a:hover,
.p-links a:hover,
.main a:hover {
  text-decoration: underline;
}

.main a.btn:hover,
.main a.pcard:hover,
.main a.print:hover,
.main .a-pager a:hover {
  text-decoration: none;
}

.p-tiles {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.p-tile {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0;
  border: 2px solid var(--m-box-edge);
  background: #0c141c;
}

.p-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.p-tile:hover {
  border-color: var(--w-accent);
  text-decoration: none !important;
}

.p-tile:hover img {
  transform: scale(1.04);
}

.p-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 14px 11px;
  background: linear-gradient(0deg,rgba(5,10,14,.94),transparent);
  color: #ffffff;
}

.p-tile b {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.p-tile small {
  display: block;
  margin-top: 2px;
  color: #b9d0ea;
  font-size: 12px;
}

.p-index {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0 34px;
  padding: 0 4px;
}

.p-index h3 {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--w-accent);
}

.p-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-index li {
  border-bottom: 1px dotted #334252;
}

.p-index li:last-child {
  border-bottom: 0;
}

.p-index a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
}

.p-index a:hover {
  text-decoration: none;
  padding-left: 4px;
  color: #ffffff;
}

@media (max-width:1250px) {
  .p-tiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

.variants,
.variants.pair {
  grid-template-columns: minmax(0,1fr) !important;
  gap: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

.variants .specimen {
  display: grid !important;
  grid-template-columns: 210px minmax(0,1fr) !important;
  column-gap: 18px;
  align-items: start;
  padding: 12px 4px 14px !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px dotted #334252 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex-direction: row !important;
  overflow: visible;
}

.variants .specimen:last-child {
  border-bottom: 0 !important;
}

.variants .specimen::after {
  display: none !important;
}

.variants .specimen>.sp-img {
  width: auto !important;
  margin: 0 !important;
  aspect-ratio: 16/9 !important;
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0;
}

.variants .specimen .sp-text {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.variants .sp-name {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--w-link) !important;
}

.variants .specimen:hover {
  border-color: #334252 !important;
}

.variants .specimen:hover .sp-name {
  text-decoration: underline;
}

.variants .specimen:hover>.sp-img {
  border-color: var(--w-accent) !important;
}

.variants .sp-blurb {
  font-size: 13.5px;
  line-height: 1.55;
  color: #d8e2ec;
}

.pc-grid {
  grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
  gap: 18px 14px;
}

.pcard {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.pcard:hover {
  border-color: transparent !important;
}

.pc-photo {
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0 !important;
  margin-bottom: 6px;
}

.pcard:hover .pc-photo {
  border-color: var(--w-accent) !important;
}

.pc-name {
  font-size: 13px !important;
  color: var(--w-link) !important;
  font-weight: 700;
}

.pcard:hover .pc-name {
  text-decoration: underline;
}

.pc-by {
  font-size: 11.5px !important;
}

.p-a {
  grid-template-columns: minmax(0,1fr) !important;
}

#board.board {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#board .pager {
  justify-content: flex-start;
  margin: 0 0 14px;
}

#board .pager:last-child {
  margin: 16px 0 0;
}

#galleryGrid.wall {
  columns: auto !important;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  padding: 0;
}

#galleryGrid .print {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
  overflow: hidden;
  background: #0c141c !important;
  border: 2px solid var(--m-box-edge) !important;
  border-radius: 0 !important;
}

#galleryGrid .print img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .25s;
}

#galleryGrid .print:hover {
  border-color: var(--w-accent) !important;
}

#galleryGrid .print:hover img {
  transform: scale(1.04);
}

@media (max-width:1100px) {
  #galleryGrid.wall {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width:600px) {
  #galleryGrid.wall {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
}

.shell {
  grid-template-columns: 235px minmax(0,1fr) !important;
}

.top {
  grid-column: 2 !important;
}

.foot {
  grid-column: 2 !important;
}

.more {
  display: none !important;
}

@media (max-width:1000px) {
  .shell {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .top,
  .foot {
    grid-column: 1 !important;
  }
}

.side-panel {
  max-height: none;
  overflow: visible;
  padding: 14px 16px 16px;
}

.side-sec a {
  display: block;
  padding: 4px 8px !important;
  margin: 1px -8px;
  border-radius: 0;
  font-size: 14px;
}

.side-sec a:hover {
  background: rgba(95,141,191,.12);
  text-decoration: none !important;
}

.side-sec a.on {
  background: rgba(95,141,191,.2) !important;
  color: #ffffff !important;
}

:root {
  --hb-a: #2e71b9;
  --hb-b: #1d4f7f;
  --hb-edge-hi: #9cb3cc;
  --hb-edge-lo: #0d1b29;
}

.page-title,
.credits-hero {
  background: linear-gradient(var(--hb-a),var(--hb-b)) !important;
  border: 2px solid !important;
  border-color: var(--hb-edge-hi) var(--hb-edge-lo) var(--hb-edge-lo) var(--hb-edge-hi) !important;
  border-radius: 0 !important;
  padding: 9px 16px 10px !important;
  margin: 0 0 18px !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.45);
}

.page-title h1,
.credits-hero-title {
  color: #ffffff !important;
  font-size: clamp(1.25rem,2.2vw,1.65rem) !important;
  font-weight: 700 !important;
  letter-spacing: .3px;
  text-shadow: 1px 1px 0 var(--hb-edge-lo) !important;
}

.page-title p,
.credits-hero-sub {
  color: #e6f1fc !important;
  font-size: 13px !important;
  font-weight: 400;
  margin: 3px 0 0;
  text-shadow: none;
}

.box-h,
.p-qhead,
.credits-faq-title,
.credits-creatures-title {
  background: linear-gradient(var(--hb-a),var(--hb-b)) !important;
  border: 2px solid !important;
  border-color: var(--hb-edge-hi) var(--hb-edge-lo) var(--hb-edge-lo) var(--hb-edge-hi) !important;
  border-radius: 0 !important;
  padding: 5px 12px !important;
  margin: 0 0 14px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.box-h h2,
.p-qhead,
.credits-faq-title,
.credits-creatures-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .2px;
  text-shadow: 1px 1px 0 var(--hb-edge-lo) !important;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.p-qhead,
.credits-faq-title,
.credits-creatures-title {
  display: block;
}

.box-h a,
.box-h span,
.box-h small {
  color: #dcebfc !important;
  font-size: 12px;
  font-weight: 700;
  text-shadow: none !important;
}

.credits-faq-title em {
  color: #ffffff;
  font-style: normal;
}

.credits-faq-label,
.credits-creatures-label {
  display: none;
}

.credits-faq-header,
.credits-creatures-header {
  margin-bottom: 0;
}

.p-box {
  overflow: hidden;
}

.p-box h2 {
  margin: -18px -22px 14px !important;
  padding: 7px 16px !important;
  background: linear-gradient(var(--hb-a),var(--hb-b)) !important;
  border: 0 !important;
  border-bottom: 2px solid var(--hb-edge-lo) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .2px;
  text-shadow: 1px 1px 0 var(--hb-edge-lo) !important;
}

.p-index h3 {
  padding: 0 0 4px;
  border-bottom: 2px solid #2e71b9;
  font-family: Verdana,Geneva,sans-serif !important;
  color: #ffffff;
  font-size: 12px;
}

.a-infobox .hd,
.a-toc .hd {
  background: linear-gradient(var(--hb-a),var(--hb-b)) !important;
  border-bottom: 2px solid var(--hb-edge-lo) !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 0 var(--hb-edge-lo) !important;
}

.a-infobox .hd {
  font-size: 13px;
  font-weight: 700;
}

.a-toc button {
  color: #ffffff;
}

.main:is(.art,:has(.lb-hero)) .lb-h2 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  padding: 5px 12px !important;
  margin-top: 1.7em !important;
  border: 0 !important;
  border-left: 8px solid var(--w-accent) !important;
  border-bottom: 2px solid #2d4258 !important;
  background: linear-gradient(90deg,rgba(60,134,215,.35),rgba(60,134,215,0) 75%) !important;
  border-radius: 0 !important;
}

.side-panel {
  overflow: hidden;
}

.side-sec h4 {
  margin: 16px -16px 8px !important;
  padding: 5px 16px !important;
  background: linear-gradient(var(--hb-a),var(--hb-b)) !important;
  border-top: 1px solid var(--hb-edge-hi) !important;
  border-bottom: 1px solid var(--hb-edge-lo) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  text-shadow: 1px 1px 0 var(--hb-edge-lo);
}

.side-sec:first-child h4 {
  margin-top: -14px !important;
}

.a-tabs a {
  font-size: 12.5px;
  font-weight: 700;
}

@media (max-width:900px) {
  .p-box h2 {
    margin: -18px -22px 12px !important;
  }
}

.lore-title {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 12px !important;
}

.lore-title h1 {
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lore-tabs {
  min-height: 34px;
  margin-bottom: 10px !important;
}

.lore-tabs .pn.off {
  color: #5b7087;
  pointer-events: none;
  text-decoration: none;
}

.lore-strip {
  min-height: 40px;
  margin: 0 0 16px !important;
}

.a-lead {
  margin: 0 0 16px;
  max-width: 75ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: #d8e2ec;
}

.a-body .md-desc {
  color: #e5edf5 !important;
  font-size: 14px !important;
  line-height: 1.7;
  margin: 0 0 .9em;
}

.a-body .md-desc strong {
  color: #ffffff !important;
}

.a-body .a-h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.5em 0 .8em;
  padding: 5px 12px;
  border: 0;
  border-left: 8px solid var(--w-accent);
  border-bottom: 2px solid #2d4258;
  background: linear-gradient(90deg,rgba(60,134,215,.35),rgba(60,134,215,0) 75%);
  font-family: Verdana,Geneva,Tahoma,sans-serif !important;
}

.a-body .md-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px !important;
  margin: 0;
}

.a-body .md-gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.a-infobox .md-cta {
  display: block;
  margin: 10px;
  text-align: center;
}

.md-page .md-wrap {
  margin: 0;
}

.md-wrap>.box,
.md-wrap>section.box {
  margin-top: 28px;
}

@media (max-width:700px) {
  .a-body .md-gallery {
    grid-template-columns: minmax(0,1fr);
  }
}

.lore-strip {
  height: 42px !important;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 0 !important;
  flex-wrap: nowrap;
}

.md-wrap>#avatarGrid {
  display: none !important;
}

.p-meet p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #e5edf5;
}

.p-kits {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.p-kits span {
  display: block;
  aspect-ratio: 16/10;
  border: 2px solid var(--m-box-edge);
  border-radius: 0;
  background: #0c141c center/cover no-repeat;
}

.p-kits a:hover span {
  border-color: var(--w-accent);
}

.p-kits b {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--w-link);
}

.p-kits a:hover b {
  text-decoration: underline;
}

.p-kits small {
  display: block;
  font-size: 11.5px;
  color: #a0b5cb;
}

.p-more {
  margin: 0 !important;
  padding-top: 10px;
  border-top: 1px dotted #334252;
}

.lore-strip {
  display: grid !important;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 0 !important;
  padding: 0 !important;
  height: 54px !important;
  align-items: stretch;
  border: 1px solid #334252 !important;
  border-radius: 0 !important;
  background: rgba(8,14,19,.55) !important;
  overflow: hidden;
}

.lore-strip a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding: 4px 2px !important;
  border-right: 1px solid #2d4258;
  text-decoration: none !important;
  color: #d2e1f2 !important;
  text-align: center;
}

.lore-strip a:last-child {
  border-right: 0;
}

.lore-strip a b {
  font-size: 15px;
  line-height: 1;
  color: #a2bcd9;
  font-weight: 700;
}

.lore-strip a span {
  font-size: 11px;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #aec2d8;
}

.lore-strip a:hover {
  background: rgba(95,141,191,.16);
}

.lore-strip a[aria-current="page"] b,
.lore-strip a[aria-current="page"] span {
  color: #ffffff !important;
  font-weight: 700;
}

@media (max-width:900px) {
  .lore-strip {
    grid-template-columns: repeat(6,minmax(0,1fr));
    height: auto !important;
  }

  .lore-strip a {
    border-bottom: 1px solid #2d4258;
    padding: 6px 2px !important;
  }
}

.main:is(.art,:has(.lb-hero)) .lore-strip a {
  padding: 4px 2px !important;
  border: 0 !important;
  border-right: 1px solid #2d4258 !important;
  border-radius: 0 !important;
}

.main:is(.art,:has(.lb-hero)) .lore-strip a:last-child {
  border-right: 0 !important;
}

.main:is(.art,:has(.lb-hero)) .lore-strip a[aria-current="page"],
.main .lore-strip a[aria-current="page"] {
  background: linear-gradient(#4088d7,#1c5798) !important;
}

.main:is(.art,:has(.lb-hero)) .lore-strip a:hover:not([aria-current]) {
  background: rgba(95,141,191,.16) !important;
}

@media (max-width:1000px) {
  .shell {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    padding: 10px 10px 0 !important;
  }

  .side {
    display: contents !important;
  }

  .side-logo {
    order: 1;
    align-self: flex-start;
    margin: 6px 0 20px 4px !important;
    padding: 4px 12px 6px !important;
  }

  .side-logo span {
    font-size: 21px !important;
  }

  .top {
    order: 2;
    position: static !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 10px;
    height: auto !important;
    padding: 0 !important;
  }

  .burger {
    display: flex !important;
    flex: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 44px;
    padding: 0 11px;
    background: #172533;
    border: 2px solid var(--m-box-edge);
    border-radius: 0;
    cursor: pointer;
  }

  .burger span {
    display: block;
    height: 3px;
    border-radius: 0;
    background: #ffffff;
  }

  .yume-nav,
  .top-brand {
    display: none !important;
  }

  .searchbox {
    flex: 1 1 auto !important;
    margin: 0 !important;
    min-width: 0;
  }

  .side-panel {
    order: 3;
    display: none !important;
    max-height: none !important;
    padding: 12px 16px 14px !important;
  }

  body.menu-open .side-panel {
    display: block !important;
  }

  .side-sec a {
    padding: 9px 8px !important;
    font-size: 15px !important;
  }

  .main,
  main.hero {
    order: 4;
    margin-top: 0 !important;
  }

  .foot {
    order: 5;
    margin: 4px 0 14px !important;
  }

  .main {
    padding: 16px 14px 22px !important;
  }

  .page-title,
  .credits-hero {
    padding: 8px 12px !important;
  }

  .lore-title {
    min-height: 44px;
  }

  .p-tiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .variants .specimen {
    grid-template-columns: minmax(0,1fr) !important;
    row-gap: 8px;
  }

  .a-infobox {
    float: none !important;
    width: 100% !important;
    margin: 10px 0 16px !important;
  }

  .a-tabs {
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .a-tabs .sp {
    display: none;
  }

  .p-row,
  .p-a,
  .p-b {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .p-kits {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .p-index {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 16px !important;
  }

  #galleryGrid.wall {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:520px) {
  .p-tiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }

  .p-tile b {
    font-size: 14px;
  }

  .p-kits {
    grid-template-columns: minmax(0,1fr);
  }

  .p-kits a {
    display: grid;
    grid-template-columns: 110px 1fr;
    column-gap: 10px;
    align-items: center;
  }

  .p-kits a span {
    grid-row: 1/3;
  }

  .p-kits b {
    margin-top: 0;
  }

  .p-box {
    padding: 14px 14px 16px;
  }

  .p-box h2 {
    margin: -14px -14px 12px !important;
  }

  .credits-creature-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:520px) {
  .lore-title h1 {
    white-space: normal !important;
  }
}

/* Winter old-web layer: aurora, Christmas lights, falling snow, ticker, pixel graphics (the GIFs are drawn by tools/make-gifs.py, the stamps by tools/make-stamps.py) */
html {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' shape-rendering='crispEdges'%3E%3Cpolygon points='1,1 1,13 4,10 6,14 8,13 6,9 10,9' fill='%23dfebfc' stroke='%23142c41'/%3E%3C/svg%3E") 1 1,auto;
}

a,
button,
label,
summary {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' shape-rendering='crispEdges'%3E%3Cpolygon points='1,1 1,13 4,10 6,14 8,13 6,9 10,9' fill='%234382df' stroke='%23142c41'/%3E%3C/svg%3E") 1 1,pointer;
}

.ticker {
  grid-column: 2/4;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  overflow: hidden;
  height: 28px;
  margin: 4px 0 0;
  padding: 3px 12px;
  background: #0f161d;
  border: 2px solid #142c41;
  color: #4382df;
  font: 12px/1.4 "Courier New",Courier,monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.marq {
  overflow: hidden;
}

.track {
  display: inline-flex;
  animation: lf-roll 45s linear infinite;
}

.track > span {
  padding-right: 2ch;
}

.marq:hover .track {
  animation-play-state: paused;
}

.new {
  color: #4579ed;
  animation: lf-blink 1s steps(1) infinite;
}

.sign-wrap {
  flex: 0 0 100%;
  text-align: center;
}

.sign {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: 40px;
  margin: 6px auto 4px;
  image-rendering: pixelated;
}

.foot {
  position: relative;
  margin-top: 28px;
}

.foot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
  background: url('../images/gifs/bar-winter.gif') left bottom/64px 12px repeat-x;
  image-rendering: pixelated;
  pointer-events: none;
}

.critters {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  margin: 0 0 8px;
}

.critters img {
  display: block;
  width: auto;
  height: 40px;
  image-rendering: pixelated;
}

.critters a {
  display: block;
}

.stamps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
}

.stamps img {
  display: block;
  width: 99px;
  height: 56px;
  image-rendering: pixelated;
}

.stamps small {
  flex: 0 0 100%;
  font-size: 11px;
  opacity: .8;
}

.page-title h1::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  vertical-align: -3px;
  background: url('../images/gifs/flake-a.gif') center/contain no-repeat;
  image-rendering: pixelated;
}

.snow {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  pointer-events: none;
}

.sf {
  position: absolute;
  top: -40px;
  opacity: .9;
  will-change: transform;
  animation: lf-fall linear infinite;
}

.sf img {
  display: block;
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
  animation: lf-sway 4s ease-in-out infinite alternate;
}

@keyframes lf-fall {
  to {
    transform: translateY(calc(100vh + 60px));
  }
}

@keyframes lf-sway {
  from {
    transform: translateX(-28px);
  }

  to {
    transform: translateX(28px);
  }
}

@keyframes lf-roll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes lf-blink {
  50% {
    opacity: 0;
  }
}

@media (max-width:1000px) {
  .ticker {
    margin: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .snow {
    display: none;
  }

  .track,
  .new,
  .sf img {
    animation: none;
  }
}

/* stamps sit in their own row above the page content */
@media (min-width:1001px) {
  .shell .stamps { grid-column: 2; grid-row: 2; margin: 0; }
  .shell .main, .shell main.hero { grid-row: 3; }
  .shell .foot { grid-row: 4; }
  .shell .side { grid-row: 1/5; }
}

@media (max-width:1000px) {
  .stamps { order: 4; margin: 0; }
}

.stamps {
  padding: 8px 10px 6px;
  background: rgba(15,22,29,.88);
  border: 2px solid #142c41;
}

.stamps small {
  text-align: center;
  color: #a7c1e2;
}

@media (max-width:1000px) {
  .ticker { width: 100%; max-width: 100%; box-sizing: border-box; }
  .stamps { width: 100%; box-sizing: border-box; }
}



/* ===== Winter look ===== */
:root {
  --w-accent: #6fd3ff;
  --w-accent-2: #d6f1ff;
  --w-link: #8fd0ff;
  --w-link-hover: #ffffff;
}

body {
  padding-top: 26px;
}

/* northern lights: two slow curtains of light over the picture */
.bg::before,
.bg::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  top: 0;
  height: 64%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(to bottom,transparent 0,#000 30%,rgba(0,0,0,.6) 60%,transparent 100%),repeating-linear-gradient(90deg,#000 0 9px,rgba(0,0,0,.45) 9px 14px);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom,transparent 0,#000 30%,rgba(0,0,0,.6) 60%,transparent 100%),repeating-linear-gradient(90deg,#000 0 9px,rgba(0,0,0,.45) 9px 14px);
  mask-composite: intersect;
}

.bg::before {
  background: linear-gradient(90deg,transparent 0,rgba(60,255,170,.5) 20%,rgba(80,225,255,.42) 40%,rgba(60,255,170,.34) 60%,rgba(140,100,255,.28) 80%,transparent 100%);
  opacity: .45;
  animation: aurora-a 24s ease-in-out infinite alternate;
}

.bg::after {
  top: 6%;
  height: 52%;
  background: linear-gradient(90deg,transparent 0,rgba(255,110,190,.34) 25%,rgba(150,110,255,.36) 50%,rgba(70,230,200,.3) 75%,transparent 100%);
  opacity: .3;
  animation: aurora-b 33s ease-in-out infinite alternate;
}

@keyframes aurora-a {
  0% { transform: translateX(-7%) skewX(-7deg); opacity: .3; }
  50% { opacity: .62; }
  100% { transform: translateX(6%) skewX(6deg); opacity: .4; }
}

@keyframes aurora-b {
  0% { transform: translateX(6%) skewX(5deg); opacity: .18; }
  55% { opacity: .46; }
  100% { transform: translateX(-6%) skewX(-6deg); opacity: .26; }
}

/* a string of Christmas lights along the top of the page */
.lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  z-index: 45;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}

.lights i {
  position: relative;
  flex: 0 0 36px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14'%3E%3Cpath d='M0 2Q18 14 36 2' fill='none' stroke='%2310202e' stroke-width='2'/%3E%3Cpath d='M0 2Q18 14 36 2' fill='none' stroke='%232b4358' stroke-width='1'/%3E%3C/svg%3E") 0 0/36px 14px no-repeat;
}

.lights i::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  width: 4px;
  height: 4px;
  background: #1b2c3d;
}

.lights i::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 11px;
  width: 8px;
  height: 12px;
  border-radius: 50% 50% 46% 46%;
  background: var(--bulb);
  box-shadow: 0 0 7px 2px var(--bulb);
  animation: bulb 2.4s ease-in-out infinite alternate;
  animation-delay: var(--d,0s);
}

.lights i:nth-child(5n+1) { --bulb: #ff4d5e; }
.lights i:nth-child(5n+2) { --bulb: #3be08a; }
.lights i:nth-child(5n+3) { --bulb: #ffd45c; }
.lights i:nth-child(5n+4) { --bulb: #55b8ff; }
.lights i:nth-child(5n)   { --bulb: #ff86c8; }
.lights i:nth-child(3n)   { --d: -1.1s; }
.lights i:nth-child(3n+1) { --d: -.4s; }
.lights i:nth-child(4n+2) { --d: -1.7s; }

@keyframes bulb {
  from { opacity: .4; }
  to { opacity: 1; }
}

.ticker {
  color: #ffe9a8;
}

.new {
  color: #7dffb0;
}

.sf img {
  filter: drop-shadow(0 0 3px rgba(190,230,255,.7));
}

@media (prefers-reduced-motion:reduce) {
  .bg::before,
  .bg::after,
  .lights i::after {
    animation: none;
  }

  .lights i::after {
    opacity: .9;
  }
}


.snow-toggle {
  margin-left: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--w-link);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.snow-toggle:hover {
  color: #ffffff;
}

/* buttons inside the lore text keep dark text on their light background (the chapter link colour must not win) */
.main:is(.art,:has(.lb-hero)) .lb-main .a-pager a,
.main:is(.art,:has(.lb-hero)) .lb-main a.btn,
.main:is(.art,:has(.lb-hero)) .lb-main a.md-cta {
  color: #0b1927 !important;
}

.main:is(.art,:has(.lb-hero)) .lb-main .a-pager a:hover,
.main:is(.art,:has(.lb-hero)) .lb-main a.btn:hover,
.main:is(.art,:has(.lb-hero)) .lb-main a.md-cta:hover {
  color: #0b1927 !important;
}

.theme-culture {
  --c: #6ec9b0;
}
