@font-face {
  font-family: "Black Wolf";
  src: url("/assets/Include/BlackWolf.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-display: swap;
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Quicksand-Regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/Orbitron-Medium.woff2") format("woff2");
}

@font-face {
  font-display: block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  src: url("/assets/Include/fontawesome-free/webfonts/fa-solid-900.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --accent: #f0b58e;
  --ink: #eef5fa;
  --muted: #aab9c7;
  --panel: rgb(8 25 40 / 88%);
  --line: rgb(174 214 238 / 28%);
  font-family: Quicksand, "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
  background: #03111d url("/assets/Include/PageBackground.jpg") center / cover fixed;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: #b7dcff;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgb(2 11 20 / 82%);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--ink);
  font-family: "Black Wolf", fantasy;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  text-decoration: none;
}

.site-header nav,
.site-header form {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin: 0;
}

.site-header button {
  background: none;
  border: 0;
  color: #b7dcff;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

main {
  margin: 0 auto;
  max-width: 78rem;
  min-height: calc(100vh - 10rem);
  padding: clamp(1rem, 4vw, 3rem);
}

.hero {
  align-items: center;
  display: grid;
  min-height: 60vh;
  place-content: center;
  position: relative;
  text-align: center;
}

.hero h1 {
  font-family: "Black Wolf", fantasy;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.8;
  margin: 0;
  position: relative;
  text-shadow: 0 0 2rem #02070c;
}

.hero-orbit {
  inset: 5% 20%;
  opacity: 0.78;
  position: absolute;
}

.hero-orbit img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hero p {
  font-size: 1.3rem;
  position: relative;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 1rem 4rem rgb(0 0 0 / 35%);
  margin: 0 auto 2rem;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.story-card {
  background: rgb(255 255 255 / 5%);
  border-radius: 1rem;
  padding: 1rem;
}

.metadata,
.eyebrow {
  color: var(--muted);
}

.publication-header {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr minmax(12rem, 24rem);
}

.cover {
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgb(0 0 0 / 40%);
  max-height: 34rem;
  max-width: 100%;
}

.primary-action,
button.primary-action {
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #24150c;
  display: inline-block;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
}

.section-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem;
}

.reader {
  background: #faf8f3;
  color: #18202a;
  max-width: 56rem;
}

.reader a {
  color: #325b88;
}

.reader > header {
  border-bottom: 1px solid #ccd3d9;
  margin-bottom: 2rem;
  text-align: center;
}

.publication-body {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.72;
}

.publication-body h2 {
  margin-top: 3rem;
}

.publication-body img {
  height: auto;
  max-width: 100%;
}

.publication-body figure {
  margin: 2rem auto;
  text-align: center;
}

.publication-body figcaption {
  color: #536171;
  font-size: 0.9rem;
  font-style: italic;
}

.track-block {
  background: #edf3f6;
  border-left: 0.3rem solid #6388a3;
  margin: 2rem 0;
  padding: 1rem;
}

.track-kicker {
  color: #536171;
  font-size: 0.85rem;
  margin: 0 0 0.25rem;
}

.track-title {
  margin: 0 0 0.8rem;
}

.track-title span {
  color: #536171;
}

.spotify-player {
  border: 0;
  border-radius: 0.75rem;
  display: block;
  height: 152px;
  width: 100%;
}

.track-links {
  font-size: 0.9rem;
  margin: 0.65rem 0 0;
}

.track-unavailable {
  color: #536171;
  font-style: italic;
}

.presentation iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  width: 100%;
}

.author-notes,
.soundtrack {
  background: #edf3f6;
  border-left: 0.3rem solid #7997ad;
  margin-top: 3rem;
  padding: 1rem 1.5rem;
}

.reader-nav {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 3rem;
}

.reader-nav > :last-child {
  text-align: right;
}

.form-panel {
  max-width: 34rem;
}

.form-panel form,
.admin-form form {
  display: grid;
  gap: 1rem;
}

.form-panel label,
.admin-form label {
  display: grid;
  gap: 0.35rem;
}

.form-panel input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  background: #f7fbff;
  border: 1px solid #71889c;
  border-radius: 0.4rem;
  color: #111820;
  padding: 0.65rem;
}

.form-panel .checkbox,
.admin-form .checkbox {
  align-items: center;
  display: flex;
}

.notice.error,
.field-error {
  color: #ffc3b9;
}

input.invalid,
textarea.invalid {
  outline: 2px solid #ffb4a8;
}

.admin-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.admin-list {
  display: grid;
  gap: 0.5rem;
}

.admin-list a {
  background: rgb(255 255 255 / 6%);
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  padding: 0.8rem;
  text-decoration: none;
}

.admin-list span {
  color: var(--muted);
}

.inline-admin-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.inline-admin-form label {
  display: grid;
  gap: 0.35rem;
}

.inline-admin-form input,
.inline-admin-form textarea {
  background: #f7fbff;
  border: 1px solid #71889c;
  border-radius: 0.4rem;
  color: #111820;
  padding: 0.65rem;
}

.checkbox-list {
  display: grid;
  gap: 0.5rem;
  max-height: 24rem;
  overflow: auto;
}

.toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.toolbar form,
.toolbar h1,
.toolbar h2 {
  margin: 0;
}

button.danger {
  background: #7e2d2d;
  border: 0;
  border-radius: 999px;
  color: white;
  padding: 0.7rem 1.2rem;
}

.admin-thumbnail {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  width: 100%;
}

.figure-gallery {
  columns: 18rem;
  gap: 1.5rem;
}

.figure-gallery article {
  break-inside: avoid;
  margin: 0 0 1.5rem;
}

.figure-gallery img {
  border-radius: 0.5rem;
  height: auto;
  width: 100%;
}

.table-scroll {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
}

footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
}

@media (max-width: 700px) {
  .publication-header {
    grid-template-columns: 1fr;
  }

  .cover {
    grid-row: 1;
  }

  .site-header {
    align-items: flex-start;
  }
}

/* Production-inspired shared shell and visual language */

:root {
  --accent: #ffcc99;
  --ink: #f4fbff;
  --muted: #91a7b6;
  --panel: rgb(0 0 0 / 68%);
  --line: rgb(0 200 255 / 48%);
  background: #000;
  color: var(--ink);
  font-family: Quicksand, "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
}

body {
  background-color: #000;
  background-image: url("/assets/Include/PageBackground.jpg");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: max(100%, 1000px) auto;
  background-attachment: fixed;
}

body.menu-is-open {
  overflow: hidden;
}

a {
  color: #fff;
  transition: color 120ms ease, background-color 120ms ease;
}

a:hover {
  color: #fff36d;
}

.site-header {
  align-items: initial;
  backdrop-filter: none;
  background: none;
  border: 0;
  display: block;
  padding: 0;
  position: relative;
  z-index: 20;
}

.nav-bar {
  background: linear-gradient(180deg, rgb(0 0 0 / 20%) 80%, transparent);
  display: flex;
  height: 70px;
  overflow: hidden;
}

.site-title-block {
  flex: 1 1 auto;
}

.site-title {
  color: #dbd8b8;
  display: inline-block;
  font-family: "Black Wolf", fantasy;
  font-size: 24px;
  line-height: 0.9em;
  margin: 6px 0 0 60px;
  text-decoration: none;
  text-shadow: 1px 2px 4px #000;
}

.site-title span {
  padding-left: 0.5rem;
}

.site-title:hover {
  color: #ffeeb0;
}

.site-header .menu-burger,
.menu-close {
  background: linear-gradient(0deg, rgb(112 124 128 / 40%), rgb(167 175 178 / 40%));
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 10px;
  color: rgb(255 255 255 / 50%);
  cursor: pointer;
  height: 38px;
  margin: 10px 16px 12px 8px;
  padding: 0;
  position: fixed;
  text-decoration: none;
  width: 38px;
  z-index: 1000;
}

.site-header .menu-burger {
  box-sizing: content-box;
  font-size: 26px;
  text-align: center;
  z-index: 10000;
}

.site-header .menu-burger:hover,
.menu-close:hover {
  background: linear-gradient(0deg, #707c80, #a7afb2);
  border-color: #ffeeb0;
  color: #ffeeb0;
}

.menu-burger span {
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  height: 38px;
  line-height: 38px;
  width: 38px;
}

.menu-burger span::before {
  content: "\f0c9";
}

.menu-burger span::after {
  content: none;
}

.site-header .account-nav {
  align-items: initial;
  display: block;
  flex: 0 0 auto;
  gap: 0;
  height: 62px;
  padding: 6px 20px 0 0;
  white-space: nowrap;
}

.display-name {
  background: rgb(255 255 255 / 18%);
  border-radius: 20px;
  display: block;
  padding: 0 10px 2px 14px;
  text-decoration: none;
}

.display-name::before {
  content: "●";
  font-size: 0.7em;
  margin-right: 0.45rem;
}

.display-name:hover,
.account-actions a:hover,
.account-actions button:hover {
  background: #ffeeb0;
  color: #8f1515;
}

.site-header .account-actions {
  align-items: center;
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.site-header .account-actions a,
.site-header .account-actions button {
  background: rgb(255 255 255 / 18%);
  border: 0;
  border-radius: 20px;
  color: rgb(255 255 255 / 72%);
  cursor: pointer;
  font-size: 0.88rem;
  margin: 0;
  padding: 1px 9px 3px;
  text-decoration: none;
}

.site-header .account-actions form {
  display: block;
  margin: 0;
}

.menu-backsplash {
  background: rgb(0 0 0 / 24%);
  inset: 0;
  position: fixed;
  z-index: 100000;
}

.menu-backsplash[hidden] {
  display: none;
}

.site-menu {
  background-color: #003c7a;
  background-image: url("/assets/Include/MenuBackground.jpg");
  background-position: left top;
  background-repeat: no-repeat;
  bottom: 0;
  box-shadow: 15px 0 50px rgb(0 0 0 / 90%);
  left: 0;
  overflow-y: auto;
  padding: 0 0.7rem 2rem;
  position: fixed;
  top: 0;
  transition: left 200ms ease, opacity 200ms ease, box-shadow 200ms ease;
  width: min(21.5rem, 92vw);
  z-index: 100001;
}

.site-menu.is-hidden {
  box-shadow: none;
  left: -23rem;
  opacity: 0.25;
}

.site-menu.is-visible {
  left: 0;
  opacity: 1;
}

.menu-title-block {
  background: linear-gradient(180deg, rgb(20 0 0 / 35%) 70%, transparent);
  height: 70px;
  margin: 0 -0.7rem;
}

.menu-title-block .site-title {
  color: #fff;
  margin-left: 0;
}

.menu-close {
  display: inline-block;
  font-size: 1.75rem;
  line-height: 1;
  position: static;
  vertical-align: top;
}

.menu-links {
  display: grid;
  gap: 0.25rem;
}

.menu-links > a,
.menu-links > form button,
.menu-group a {
  background: rgb(0 0 0 / 22%);
  border: 0;
  border-radius: 1rem;
  color: rgb(255 255 255 / 84%);
  cursor: pointer;
  display: block;
  font-size: 1.15rem;
  padding: 0.35rem 0.8rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.menu-links > a:hover,
.menu-links > form button:hover,
.menu-group a:hover {
  background: rgb(116 156 182 / 55%);
  color: #fff;
}

.menu-links > form {
  margin: 0;
}

.menu-links hr {
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 45%);
  margin: 0.7rem 1rem 0.45rem;
}

.menu-group {
  display: grid;
  gap: 0.2rem;
  margin: 0 1rem;
}

.menu-group > span {
  color: rgb(255 255 255 / 62%);
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem 0.1rem;
}

.menu-group a {
  font-size: 0.95rem;
}

#PageContent {
  margin: 0 auto;
  max-width: 82rem;
  min-height: calc(100vh - 9rem);
  padding: 0 0.7rem 1rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 0.6rem 2rem rgb(0 0 0 / 32%);
  margin: 0.5rem auto 0.8rem;
  padding: 1rem;
}

.panel > h1:first-child,
.panel > .toolbar:first-child h1,
.panel > h2:first-child {
  color: var(--accent);
  font-family: Orbitron, "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin: -0.75rem -0.75rem 0.8rem;
  padding: 0.45rem 0.7rem 0.85rem;
  text-shadow: 2px 2px 4px #000;
}

.panel > h1:first-child,
.panel > h2:first-child {
  background: linear-gradient(
    180deg,
    rgb(145 188 221 / 80%),
    rgb(135 172 200 / 50%) 30%,
    rgb(83 111 133 / 30%) 70%,
    transparent
  );
}

.hero {
  min-height: min(72vh, 48rem);
}

.hero h1 {
  color: #cef0f1dd;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: normal;
  text-shadow: 2px 3px 10px rgb(0 0 0 / 60%);
}

.hero-orbit {
  opacity: 0.72;
}

.card-grid {
  gap: 0.35rem;
}

.story-card {
  background: rgb(0 0 0 / 18%);
  border: 1px solid transparent;
  padding: 0.75rem;
}

.story-card:hover {
  background: rgb(0 148 255 / 12%);
  border-color: rgb(255 255 255 / 25%);
}

.story-card h3 {
  margin: 0;
}

.story-card h3 a {
  color: #a6f1ff;
  text-decoration: none;
}

.publication-header {
  gap: 1rem;
}

.cover {
  border-radius: 1rem;
}

.primary-action,
button.primary-action,
button:not(.menu-burger, .menu-close, .danger) {
  background: #be7e59;
  border: 1px solid #8a4458;
  border-radius: 1rem;
  color: #fff;
}

.primary-action:hover,
button.primary-action:hover,
button:not(.menu-burger, .menu-close, .danger):hover {
  background: #ffb949;
  color: #fff;
}

.section-list {
  padding-left: 0;
}

.section-list li {
  list-style: none;
}

.section-list a {
  border-radius: 0.7rem;
  color: #a6f1ff;
  text-decoration: none;
}

.section-list a:hover {
  background: #e9ab5f;
  color: #650909;
}

.reader.panel {
  background: #fff;
  border: 0;
  border-radius: 2rem;
  box-shadow: 5px 10px 12px 5px rgb(0 0 0 / 50%);
  color: #111;
  max-width: 800px;
  padding: clamp(1rem, 4vw, 1.5rem);
}

.reader a {
  color: #c40000;
  text-decoration: none;
}

.reader a:hover {
  color: #f00;
  text-decoration: underline;
}

.reader > header {
  border-bottom: 0;
  color: #787878;
  margin-bottom: 1rem;
}

.reader > header .eyebrow {
  color: #604da4;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.reader > header h1 {
  color: #604da4;
  font-size: clamp(1.7rem, 5vw, 2rem);
  font-weight: 500;
  margin: 0.2rem 0 0.6rem;
}

.reader > header h1 span {
  color: rgb(96 77 164 / 55%);
  font-size: 0.9em;
}

.reader .metadata {
  color: #787878;
  font-size: 0.85rem;
}

.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin: 0 auto 0.7rem;
  max-width: 800px;
}

.page-toolbar a,
.page-toolbar button {
  background: rgb(70 42 33 / 82%);
  border: 0;
  border-radius: 0.7rem;
  color: #e4dba6;
  cursor: pointer;
  display: grid;
  min-width: 3.1rem;
  padding: 0.4rem 0.5rem 0.5rem;
  place-items: center;
  text-decoration: none;
}

.page-toolbar a:hover,
.page-toolbar button:hover {
  background: #ce702a;
  color: #fff;
}

.page-toolbar span {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

.page-toolbar small {
  font-size: 0.65rem;
  margin-top: 0.25rem;
}

.section-chooser {
  align-items: center;
  display: flex;
  font-size: 0.82rem;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.section-chooser span {
  color: #b4b4b4;
}

.section-chooser select {
  background: #fff;
  border: 1px solid #b8cacf;
  color: #222;
  max-width: min(32rem, 75vw);
}

.publication-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.65;
  margin-top: 1rem;
  overflow-wrap: anywhere;
}

.publication-body h2 {
  color: #2a648f;
  font-size: 1.5rem;
  font-weight: normal;
  margin-top: 1.5rem;
}

.publication-body h3 {
  color: #58b2c2;
  font-size: 1.35rem;
  font-weight: normal;
}

.pause-divider {
  color: #78909a;
  font-size: 0.72rem;
  letter-spacing: 0.55rem;
  margin: 1.4rem 0;
  text-align: center;
}

.publication-body .Figure,
.publication-body figure img {
  border: 1px solid #b8cacf;
  border-radius: 1rem;
  display: block;
  margin: 0.5rem auto 0.25rem;
}

.track-block {
  background: linear-gradient(180deg, #d4e5ea, rgb(212 229 234 / 28%));
  border: 0;
  border-radius: 1rem;
  margin: 0.75rem 1rem;
  padding: 0.6rem;
  text-align: center;
}

.track-kicker {
  color: rgb(0 0 0 / 50%);
  font-size: 0.72rem;
}

.track-title {
  font-size: 0.92rem;
}

.spotify-player {
  margin: 0 auto;
  max-width: 40rem;
}

.track-links {
  margin-bottom: 0;
}

.author-notes,
.soundtrack {
  background: transparent;
  border-left: 0;
  border-top: 1px solid #7c9ba7;
  color: #7c9ba7;
}

.reader-nav {
  align-items: center;
  border-top: 1px solid #d4e5ea;
  padding-top: 1.2rem;
}

.reader-nav a {
  background: #d4e5ea;
  border: 1px solid #b8cacf;
  border-radius: 1rem;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  text-align: center;
}

.form-panel {
  max-width: 38rem;
}

.form-panel.panel {
  background: linear-gradient(180deg, rgb(7 29 47 / 96%), rgb(0 9 21 / 97%));
  overflow: hidden;
  padding: 0 1.25rem 1.25rem;
}

.form-panel.panel > h1:first-child,
.form-panel.panel > h2:first-child {
  margin: 0 -1.25rem 1.15rem;
  padding: 0.7rem 1.25rem 1.15rem;
}

.form-panel.panel > p:last-child,
.form-panel.panel > form:last-child {
  margin-bottom: 0;
}

.form-panel form,
.admin-form form {
  gap: 0.8rem;
}

.form-panel input,
.form-panel select,
.form-panel textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.inline-admin-form input,
.inline-admin-form textarea {
  background: rgb(255 255 255 / 82%);
  border: 1px solid rgb(0 0 0 / 35%);
  border-radius: 0.25rem;
  color: #101820;
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  background: #fff;
  outline: 2px solid #72cde4;
  outline-offset: 1px;
}

.admin-list a {
  border: 1px solid transparent;
  color: #a6f1ff;
}

.admin-list a:hover {
  background: rgb(0 148 255 / 12%);
  border-color: rgb(255 255 255 / 25%);
}

.figure-gallery article {
  background: rgb(0 0 0 / 22%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 1rem;
  padding: 0.7rem;
}

.figure-gallery img {
  border: 1px solid rgb(184 202 207 / 70%);
}

#PageFooter {
  align-items: center;
  color: #896f12;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.8rem;
  justify-content: center;
  padding: 1rem;
}

#PageFooter address {
  background: rgb(0 0 0 / 30%);
  border-radius: 1rem;
  box-shadow: 0 0 6px 6px rgb(0 0 0 / 30%);
  font-style: normal;
  padding: 0 1rem;
}

@media (max-width: 700px) {
  body {
    background-size: auto 100vh;
  }

  #PageContent {
    padding-inline: 0.35rem;
  }

  .panel {
    border-radius: 1rem;
    padding: 0.8rem;
  }

  .publication-header {
    grid-template-columns: 1fr;
  }

  .reader.panel {
    border-radius: 1rem;
  }

  .track-block {
    margin-inline: 0;
  }

  .reader-nav {
    grid-template-columns: 1fr;
  }

  .reader-nav > :last-child {
    text-align: center;
  }
}

@media (max-width: 450px) {
  .site-header .account-nav {
    display: none;
  }

  .site-menu {
    width: 100vw;
  }

  .site-menu.is-hidden {
    left: -100vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  #PageHeader,
  #PageFooter,
  .menu-backsplash,
  .page-toolbar {
    display: none !important;
  }

  #PageContent {
    max-width: none;
    padding: 0;
  }

  .panel,
  .reader.panel {
    background: #fff;
    border: 0;
    box-shadow: none;
    color: #000;
    margin: 0;
    max-width: none;
  }

  .spotify-player,
  .track-block,
  .presentation,
  .reader-nav {
    display: none;
  }
}

/* Production component vocabulary retained by the v2 templates */

.FlowBlock {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0.5em;
}

a.FlowBlock {
  text-decoration: none;
}

a.FlowBlock:hover {
  background-color: rgb(0 148 255 / 10%);
}

.FlowPanel {
  background-color: rgb(0 0 0 / 60%);
  border: 1px solid rgb(0 200 255 / 50%);
  border-radius: 20px;
  margin: 0.4em;
  margin-bottom: 0.6em;
  overflow: hidden;
  padding: 0.8em;
}

.FlowPanel.LastPanel {
  background-image: url("/assets/Include/LastPanelBottom.png");
  background-position: bottom;
  background-repeat: repeat-x;
  padding-bottom: 140px;
}

.FlowPanel > h1:first-child,
.FlowPanel h2,
.FlowPanel form > h2:first-child {
  background: linear-gradient(
    180deg,
    rgb(145 188 221 / 80%) 0%,
    rgb(135 172 200 / 50%) 30%,
    rgb(83 111 133 / 30%) 70%,
    transparent 100%
  );
  color: #ffcc99;
  font-family: Orbitron, "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4em;
  font-weight: normal;
  margin: -0.6em -1.2em -0.5em -0.6em;
  padding: 0.4em 0.4em 0.8em 0.7em;
  text-shadow: 2px 2px 4px #000;
}

.PanelWithExtraHeaders h2,
.Panel2Column h2,
.Panel3Column h2 {
  background: none;
  margin-bottom: -1em;
  margin-top: 0;
}

.PanelWithExtraHeaders h2:not(:first-child),
.Panel2Column h2:not(:first-child),
.Panel3Column h2:not(:first-child) {
  margin-top: 1em;
}

.FlowPanel h2 .Button {
  background-color: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 1em;
  color: #fff;
  font-family: Quicksand, sans-serif;
  font-size: 0.7em;
  margin-left: 0.3em;
  margin-top: -0.1em;
  padding: 0.1em 0.5em 0.2em;
  text-decoration: none;
  vertical-align: top;
}

.FlowPanel h2 .Button:first-of-type {
  margin-left: 0.7em;
}

.FlowPanel h2 .Button:hover {
  background-color: #fff;
  color: rgb(0 50 200);
}

.FlowPanel h3 {
  font-size: 1.2em;
  margin-top: 0.5em;
}

.FlowPanel .ButtonBar {
  padding: 0.5em 1.2em 0 2em;
  text-align: right;
}

.FlowListHeader {
  background-color: rgb(165 138 181 / 20%);
  border-radius: 1em;
  color: #2a1844;
  display: block;
  font-size: 1.2em;
  margin: 0.5em 0 0.2em;
  padding: 0 0.5em;
  text-decoration: none;
}

a.FlowListHeader:hover {
  background-color: #b53d83;
  color: #fff;
}

.FlowListItem {
  border-radius: 0.7em;
  color: #a6f1ff;
  display: block;
  font-size: 1.2em;
  margin-bottom: 0.2em;
  padding: 0 0.5em;
  text-decoration: none;
}

a.FlowListItem:hover {
  background-color: #e9ab5f;
  color: #650909;
}

.FlowListStat {
  display: block;
}

.FlowListStat label {
  color: #688096;
  display: inline-block;
  font-size: 0.8em;
}

.FlowListStat label.LabelBefore {
  margin-right: 0.7em;
  text-align: right;
  width: 5em;
}

.FlowListStat label.LabelAfter {
  margin-left: 0.7em;
}

.FlowListStat span {
  display: inline-block;
}

.FlowListStat span.LabelAfter {
  text-align: right;
  width: 4em;
}

.Panel2Column,
.Panel3Column {
  display: inline-block;
  padding-right: 3%;
  vertical-align: top;
}

.Panel2Column {
  width: 46%;
}

.Panel3Column {
  width: 29%;
}

.LabeledField {
  display: inline-block;
  margin-bottom: 0.4em;
  margin-right: 0.5em;
  max-width: 100%;
  text-align: left;
  white-space: normal;
}

.LabeledField label {
  color: #91a7b6;
  font-size: 0.9em;
}

.LabeledField label:hover {
  color: #fff;
}

.LabeledField input:not([type="checkbox"]),
.LabeledField select,
.LabeledField textarea {
  background-color: rgb(255 255 255 / 72%);
  border: 1px solid rgb(0 0 0 / 30%);
  border-radius: 0.2em;
  color: #111;
  max-width: 100%;
  padding: 0.2em;
}

.LabeledField input:focus,
.LabeledField select:focus,
.LabeledField textarea:focus {
  background-color: #fff;
}

.LabeledField .StaticText {
  border: 1px solid rgb(0 0 0 / 10%);
  padding: 0.1em 0.25em;
}

.ActionButtons {
  margin-top: 1em;
  padding-right: 0.5em;
  text-align: right;
}

.auth-credentials,
.auth-identity,
.auth-privacy,
.account-identity,
.account-session {
  max-width: 22em;
  width: 100%;
}

.auth-about,
.account-intro {
  max-width: 31em;
}

.auth-flow .LabeledField,
.account-flow .LabeledField {
  display: block;
  margin-right: 0;
}

.auth-flow .LabeledField input:not([type="checkbox"]),
.account-flow .LabeledField input:not([type="checkbox"]) {
  box-sizing: border-box;
  width: 100%;
}

.auth-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  justify-content: flex-end;
  margin-top: 1em;
}

.auth-secondary-actions .Button {
  font-size: 0.85em;
  margin: 0;
}

.field-error {
  color: #ffaaa0;
  display: block;
  font-size: 0.8em;
  white-space: normal;
}

.password-form {
  border-top: 1px solid rgb(0 200 255 / 25%);
  margin-top: 1.2em;
  padding-top: 1em;
}

.account-reading-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
}

.message-panel {
  max-width: 36em;
}

.StoryTiles {
  align-items: stretch;
}

.StoryTiles > .FlowPanel {
  width: 100%;
}

.CoverPanel {
  max-width: 28em;
  padding: 0;
}

.CoverPanel .cover {
  border-radius: 1em;
  display: block;
  max-height: none;
  width: 100%;
}

.AboutBlock {
  display: flex;
  flex-direction: column;
  max-width: 30em;
}

.NarrativeText {
  margin-left: auto;
  margin-right: auto;
  max-width: 50em;
  text-align: justify;
}

.AboutBlock .NarrativeText {
  flex: 1 1 auto;
  font-size: 0.9em;
  margin-top: 1em;
}

.publication-stats {
  display: flex;
  flex-wrap: wrap;
}

.AboutLinks {
  border-top: 1px solid rgb(100 200 255 / 30%);
  color: #e7bf90;
  margin: 0.5em 0 0;
  padding: 0.5em 0 0 1.3em;
}

.AboutLinks a {
  color: #e7bf90;
  font-size: 1.2em;
  text-decoration: none;
}

.AboutLinks a:hover {
  color: #ffff64;
  text-decoration: underline;
}

.AboutButtons {
  display: flex;
  height: 5.6em;
  justify-content: center;
  margin-top: 1em;
  text-align: center;
}

.AboutButtons a {
  display: block;
  width: 48%;
}

.AboutButtons img {
  max-height: 5.2em;
  max-width: 100%;
}

.AboutButtons img:hover {
  filter: brightness(1.2);
}

.SectionList {
  display: flex;
  flex-direction: column;
  max-width: 25em;
}

.SectionList .Scrollable {
  flex: 1 1 auto;
  max-height: 40em;
  overflow-y: auto;
  padding-right: 0.5em;
}

.SectionNumber {
  color: #83a9ad;
  font-size: 0.9em;
}

.SectionStats {
  color: rgb(255 255 255 / 50%);
  font-size: 0.68em;
  margin-left: 0.5em;
  padding-bottom: 0.3em;
}

.SectionStats span {
  color: rgb(255 255 255 / 72%);
}

.FigureTiles {
  align-items: flex-start;
  gap: 0.65em;
}

.FigureTile {
  max-width: 14em;
}

.FigureTile .Figure {
  background: rgb(117 127 131 / 90%);
  border: 1px solid #000;
  border-radius: 0.7em;
  display: block;
  overflow: hidden;
}

.FigureTile .Figure:hover {
  border-color: #fff;
}

.FigureTile .Figure img {
  display: block;
  height: 12em;
  object-fit: cover;
  width: 14em;
}

.FigureTileDetails {
  display: grid;
  font-size: 0.8em;
  gap: 0.15em;
  padding: 0.35em;
  text-align: center;
}

.FigureTileDetails > span,
.FigureTileDetails > small {
  color: #91a7b6;
}

body.home-page {
  background-image: url("/assets/PageSplash.jpg");
  background-position: center center;
  background-size: cover;
  color: #fff;
}

.home-page #PageContent {
  color: #fff;
  font-size: 1.1em;
  margin: 430px 0 0;
  max-width: none;
  min-height: 0;
  padding: 0 0.7em 0.7em;
}

.home-stage {
  isolation: isolate;
  overflow: visible;
  position: static;
}

#Clockwork {
  height: 100vh;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

#ClockPinion {
  height: 1px;
  left: 50%;
  position: relative;
  top: 50%;
  transform: scale(1);
  width: 1px;
}

#ClockFace1,
#ClockFace2 {
  background-position: center;
  background-size: cover;
  border-radius: 1000px;
  box-shadow: inset 2px 7px 20px #000;
  height: 384px;
  left: -192px;
  opacity: 0;
  position: absolute;
  top: -192px;
  width: 384px;
}

.ClockGear {
  position: absolute;
  transform-origin: center;
}

#Planet {
  pointer-events: none;
  position: fixed;
  z-index: -3;
}

#SiteTitleFader {
  color: #cef0f1cc;
  display: block;
  font-family: "Black Wolf", fantasy;
  font-size: 3.5em;
  font-weight: normal;
  left: 0;
  margin: 0;
  position: fixed;
  right: 0;
  text-align: center;
  text-shadow: rgb(0 0 0 / 30%) 2px 3px 10px;
  z-index: -1;
}

#ScrollDown {
  bottom: 1vh;
  color: #fff;
  font-size: 3em;
  left: 49%;
  line-height: 1;
  opacity: 0.5;
  position: absolute;
}

.ScrollChevron::before {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.ScrollChevron {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

#BelowTheFold {
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 100vh;
  width: 100%;
  z-index: 1;
}

.RollInBlock {
  perspective: 2000px;
}

.RollInBlock > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 40em;
  opacity: 0;
  transform-origin: top left;
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
}

.RollInBlock.Right > * {
  transform-origin: top right;
}

.home-page #DiscordBlock {
  border: 0;
  min-height: 300px;
  width: 100%;
}

.home-page #News {
  margin-left: auto;
  margin-right: auto;
  max-width: 40em;
}

.home-page #News > .FlowPanel {
  max-width: 800px;
  width: 100%;
}

.home-page #NewsBlock {
  margin-top: 1em;
}

.home-page .SectionStats {
  font-size: 0.8em;
  padding-bottom: 0;
}

.home-page #NewsBlock .Figure,
.home-page #NewsBlock .FigureBlock img {
  border: 1px solid rgb(42 72 113);
  border-radius: 1em;
  display: block;
  margin: 0.5em auto 0.25em;
  max-width: 100%;
}

.home-page #NewsBlock .FigureSubtitle {
  font-size: 0.8em;
  text-align: center;
}

.home-page #NewsBlock .YouTubeVidFrame {
  background-color: #000;
  border: 1px solid rgb(42 72 113);
  border-radius: 1em;
  height: 460px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  width: 100%;
}

.home-page #NewsBlock .YouTubeVid {
  border: 0;
  height: 100%;
  width: 100%;
}

.home-page #PageFooter {
  display: none;
}

@media (max-width: 700px) {
  .home-page #PageContent {
    font-size: 1em;
  }
}

.admin-flow {
  align-items: flex-start;
}

.admin-editor-panel {
  margin-left: auto;
  margin-right: auto;
  max-width: 52em;
}

.admin-editor-panel > h1,
.admin-editor-panel > h2 {
  background: linear-gradient(
    180deg,
    rgb(145 188 221 / 80%),
    rgb(135 172 200 / 50%) 30%,
    rgb(83 111 133 / 30%) 70%,
    transparent
  );
  color: #ffcc99;
  font-family: Orbitron, "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4em;
  font-weight: normal;
  margin: 0.3em -0.6em 0.5em;
  padding: 0.4em 0.7em 0.8em;
  text-shadow: 2px 2px 4px #000;
}

.FlowPanel.admin-form form {
  align-items: end;
  display: flex;
  flex-flow: row wrap;
  gap: 0.65em;
}

.FlowPanel.admin-form form > label {
  color: #91a7b6;
  display: grid;
  flex: 1 1 12em;
  font-size: 0.9em;
  gap: 0.25em;
}

.FlowPanel.admin-form form > label:has(textarea),
.FlowPanel.admin-form form > fieldset,
.FlowPanel.admin-form form > .toolbar {
  flex-basis: 100%;
}

.FlowPanel.admin-form form input:not([type="checkbox"]),
.FlowPanel.admin-form form select,
.FlowPanel.admin-form form textarea {
  box-sizing: border-box;
  width: 100%;
}

.FlowPanel.admin-form .checkbox {
  align-items: center;
  display: flex;
}

.FlowPanel.admin-form form > .LabeledField {
  flex: 0 1 13em;
}

.FlowPanel.admin-form form > .LabeledField.WideField {
  flex: 1 1 22em;
}

.FlowPanel.admin-form form > .LabeledField.FullField,
.FlowPanel.admin-form form > .ActionButtons {
  flex-basis: 100%;
}

.FlowPanel.admin-form .LabeledField input:not([type="checkbox"]),
.FlowPanel.admin-form .LabeledField select,
.FlowPanel.admin-form .LabeledField textarea {
  box-sizing: border-box;
  width: 100%;
}

.FlowPanel.admin-form .CheckField {
  align-self: center;
  padding-top: 1em;
}

.TrackEditor {
  max-width: 50em;
  width: 80%;
}

.TrackList .TrackTitle {
  color: #ffffc8;
}

.Figure .ThumbnailLink {
  border: 1px solid #000;
  border-radius: 0.9em;
  display: block;
  overflow: hidden;
}

.Figure .Thumbnail {
  border-radius: 0.9em;
  display: block;
  height: 200px;
  margin-inline: auto;
}

.Figure .Title {
  display: block;
  font-size: 0.9em;
  margin: 0.3em 0 0.1em;
  padding-inline: 0.5em;
  text-align: center;
}

.ReportList a {
  text-decoration: none;
}

.ReportList a:hover {
  text-decoration: underline;
}

.Soft {
  color: rgb(255 255 255 / 50%);
}

.ItemDetail {
  color: rgb(255 255 255 / 40%);
  font-size: 0.9em;
}

.ItemDetail label {
  font-size: 0.8em;
}

.ItemDetail a {
  color: rgb(200 220 255 / 60%);
}

.ChartBlock {
  margin-inline: 0.3em;
  max-width: 900px;
  width: 100%;
}

.mail-editor {
  max-width: 40em;
}

.admin-list-panel {
  margin-left: auto;
  margin-right: auto;
  max-width: 68em;
}

.admin-related-panel {
  max-width: 38em;
  width: 100%;
}

.incomplete-notice {
  background: #6e1d1d;
  border: 2px solid #ffb4a8;
  border-radius: 0.7em;
  color: #fff;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.4em 0 1em;
  padding: 0.8em 1em;
}

.admin-preview-panel {
  max-width: 62em;
  width: 100%;
}

.figure-admin-list {
  align-items: flex-start;
}

.figure-admin-card {
  max-width: 20em;
  width: 100%;
}

.report-panel {
  margin-left: auto;
  margin-right: auto;
  max-width: 76em;
}

.FlowPanel > .toolbar:first-child h1,
.FlowPanel > .toolbar:first-child h2 {
  color: #ffcc99;
  font-family: Orbitron, "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  font-weight: normal;
  margin: 0;
  text-shadow: 2px 2px 4px #000;
}

.Button,
a.Button {
  background-color: #be7e59;
  border: 1px solid #8a4458;
  border-radius: 1em;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.4em;
  padding: 0.2em 0.7em;
  text-decoration: none;
}

.Button:hover,
a.Button:hover {
  background-color: #ffb949;
  color: #fff;
}

@media (max-width: 700px) {
  .FlowBlock {
    margin: 0.25em;
  }

  .FlowPanel {
    margin-inline: 0;
    width: 100%;
  }

  a.FlowListItem {
    border: 1px solid rgb(0 0 0 / 10%);
    padding-bottom: 0.4em;
    padding-top: 0.4em;
  }

  .Panel2Column,
  .Panel3Column {
    width: 100%;
  }
}
