/* blogs.getaurora.moe — shared stylesheet.
   Design tokens mirror the main site (getaurora.moe). One file, linked by
   every page, rather than the main site's inlined-and-duplicated approach. */

:root {
  --void: #06070b;
  --surface: #0c0e16;
  --surface-2: #12141f;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #eef0f5;
  --text-dim: #c2cae0;
  --text-faint: #5c6178;
  --jade: #3ddc97;
  --violet: #a78bfa;
  --cyan: #6fe3ff;
  --rose: #ff7a8a;
  --amber: #ffc46b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--jade);
  color: #04120b;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 44px;
  background: rgba(6, 7, 11, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
}

header:hover,
header.scrolled {
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  justify-self: start;
}

.brand svg,
.footer-brand svg {
  width: 20px;
  height: 20px;
  display: block;
}

.brand .brand-sub {
  color: var(--text-faint);
  font-weight: 400;
}

nav.links {
  display: flex;
  gap: 26px;
  justify-self: center;
}

nav.links a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color .2s;
}

nav.links a:hover,
nav.links a.active {
  color: var(--text);
}

.nav-right {
  justify-self: end;
}

.btn-solid {
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  background: linear-gradient(135deg, var(--jade), var(--cyan));
  color: #04140d;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media(max-width:900px) {
  nav.links {
    gap: 18px;
  }

  header {
    padding: 16px 20px;
    grid-template-columns: auto 1fr;
  }

  .nav-right {
    display: none;
  }
}

/* ---------- Page shell ---------- */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 48px 120px;
  min-height: 70vh;
}

.page-narrow {
  max-width: 760px;
}

@media(max-width:760px) {
  .page {
    padding: 120px 22px 80px;
  }
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 14px;
}

.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.page-intro {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
}

/* ---------- Index listing ---------- */
.entry-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entry {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  background: var(--surface);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.entry:hover {
  border-color: rgba(61, 220, 151, 0.4);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.entry h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.entry p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 720px;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-dim);
}

.tag-version {
  border-color: rgba(61, 220, 151, 0.35);
  color: var(--jade);
  font-family: 'JetBrains Mono', monospace;
}

.year-divider {
  margin: 46px 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.year-divider:first-child {
  margin-top: 0;
}

.empty-state {
  margin-top: 56px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 48px 28px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14.5px;
}

/* ---------- Article ---------- */
.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
  margin-bottom: 44px;
}

.back-link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--text-faint);
  margin-bottom: 26px;
  transition: color .2s;
}

.back-link:hover {
  color: var(--jade);
}

.article-hero {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 40px;
  display: block;
}

/* Markdown body */
.prose {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

/* Body copy should start at h2 — the post title is the page's h1. Styled anyway
   so a stray `#` doesn't render as an unstyled browser default. */
.prose h1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  margin-top: 2em;
}

.prose h2 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  margin-top: 2em;
}

.prose h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 1.8em;
}

.prose h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-top: 1.6em;
}

.prose h2 .anchor,
.prose h3 .anchor,
.prose h4 .anchor {
  opacity: 0;
  margin-left: 9px;
  color: var(--jade);
  font-size: 0.72em;
  font-weight: 400;
  transition: opacity .2s;
}

.prose h2:hover .anchor,
.prose h3:hover .anchor,
.prose h4:hover .anchor {
  opacity: 1;
}

.prose a {
  color: var(--jade);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(61, 220, 151, 0.4);
  transition: text-decoration-color .2s;
}

.prose a:hover {
  text-decoration-color: var(--jade);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--text-faint);
}

.prose blockquote {
  border-left: 2px solid var(--jade);
  padding: 4px 0 4px 20px;
  color: var(--text-dim);
  font-style: italic;
}

/* Media. Everything is capped at the column width so the page body never
   scrolls sideways, however large the source file is. */
.prose figure {
  margin: 0;
}

.prose img,
.prose video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
  background: var(--surface);
}

.prose video {
  width: 100%;
}

/* Embeds (YouTube et al) hold a 16:9 box rather than the iframe default 150px. */
.prose iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.prose figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-faint);
  text-align: center;
}

/* Side-by-side images: ![a](x) ![b](y) on one line */
.prose p:has(> img + img) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media(max-width:600px) {
  .prose p:has(> img + img) {
    grid-template-columns: 1fr;
  }
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6em 0;
}

.prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--cyan);
}

.prose pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.table-scroll {
  overflow-x: auto;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}

.prose th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

/* `:---:` / `---:` in the markdown. marked writes these as an `align` attribute,
   which is only a presentational hint — the rule above outranks it, so column
   alignment needs saying again here. */
.prose th[align="center"],
.prose td[align="center"] {
  text-align: center;
}

.prose th[align="right"],
.prose td[align="right"] {
  text-align: right;
}

/* ---------- Nested tables ----------
   A first column cell starting with `>` nests that row under the one above it.
   Collapsing is CSS-only: each parent row carries a hidden checkbox, and one
   generated rule per parent (see enhanceTables in build.mjs) flips --nt-* on its
   descendant rows. Everything below animates off those inherited values. */
/* Every first cell reserves a 22px gutter for the chevron, so a parent's label
   lines up with its siblings' instead of sitting one notch to the right. */
.prose .nt-table td:first-child {
  padding-left: calc(36px + var(--nt-d, 0) * 22px);
}

.prose .nt-parent > td:first-child {
  font-weight: 600;
}

.prose .nt-parent:hover > td {
  background: rgba(255, 255, 255, 0.018);
}

.prose .nt-table tr[data-under] > td {
  color: var(--text-dim);
  padding-top: calc(var(--nt-open, 1) * 10px);
  padding-bottom: calc(var(--nt-open, 1) * 10px);
  border-top-width: calc(var(--nt-open, 1) * 1px);
  border-bottom-width: calc(var(--nt-open, 1) * 1px);
  opacity: var(--nt-open, 1);
  transition: padding-top .34s ease, padding-bottom .34s ease, border-top-width .34s ease,
    border-bottom-width .34s ease, opacity .24s ease;
}

/* Guide rail, lining up with the chevron of the row this one hangs off. */
.prose .nt-table tr[data-under] > td:first-child {
  position: relative;
}

.prose .nt-table tr[data-under] > td:first-child::before {
  content: '';
  position: absolute;
  left: calc(20px + (var(--nt-d, 1) - 1) * 22px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

/* A <tr> cannot animate its own height, so every hideable cell holds a one-track
   grid that goes 1fr -> 0fr while the row's padding and borders shrink with it. */
.prose .nt-fold {
  display: grid;
  grid-template-rows: var(--nt-rows, 1fr);
  transition: grid-template-rows .34s cubic-bezier(.4, 0, .2, 1);
}

.prose .nt-fold-i {
  overflow: hidden;
  min-height: 0;
  /* Widens the clip box leftwards (and pulls it straight back) so a nested
     parent's chevron, which hangs into the gutter, survives the overflow. */
  padding-left: 26px;
  margin-left: -26px;
  /* Takes collapsed rows out of the accessibility tree — but only once they have
     finished folding, hence the delay coming from the collapsed state itself. */
  visibility: var(--nt-vis, visible);
  transition: visibility 0s var(--nt-hide, 0s);
}

.prose .nt-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: -22px;
  border-radius: 7px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.prose .nt-toggle:has(.nt-check:focus-visible) {
  outline: 2px solid var(--jade);
  outline-offset: 4px;
}

/* Visually hidden but still focusable — the chevron is the visible control. The
   long selector is deliberate: it has to outrank the task-list checkbox below. */
.prose input[type="checkbox"].nt-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  opacity: 0;
  clip-path: inset(50%);
}

.prose .nt-chev {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--text-faint);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1), color .2s ease;
}

.prose .nt-chev::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 3px;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.prose .nt-toggle:hover .nt-chev {
  color: var(--jade);
}

.prose .nt-check:checked ~ .nt-chev {
  transform: rotate(-90deg);
}

/* GFM task lists. marked emits these as disabled inputs, and browsers ignore
   accent-color on a disabled control — so draw the box ourselves. Also drops the
   bullet that would otherwise sit next to every checkbox. */
.prose li:has(> input[type="checkbox"]) {
  list-style: none;
  margin-left: -1.4em;
}

.prose input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 9px 0 0;
  vertical-align: -3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  opacity: 1;
  transition: background .2s ease, border-color .2s ease;
}

.prose input[type="checkbox"]:checked {
  background: var(--jade);
  border-color: var(--jade);
}

/* Checkmark, drawn as two borders on a rotated box. */
.prose input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #04140d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Status marks ----------
   `[x]` `[ ]` `[yes]` `[no]` `[~]` `[?]` in a table cell. Markdown only allows a
   task-list checkbox inside a list, so the build draws these itself; the span is
   empty and labelled, and the glyph lives entirely in CSS. */
.prose .tick {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -4px;
}

.prose td.tick-cell,
.prose th.tick-cell {
  text-align: center;
}

.prose .tick-box {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
}

.prose .tick-box.tick-on {
  background: var(--jade);
  border-color: var(--jade);
}

.prose .tick-box.tick-on::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #04140d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.prose .tick-yes,
.prose .tick-no,
.prose .tick-partial,
.prose .tick-unknown {
  border-radius: 50%;
}

.prose .tick-yes {
  background: rgba(61, 220, 151, 0.13);
}

.prose .tick-yes::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--jade);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.prose .tick-no {
  background: rgba(255, 122, 138, 0.13);
}

.prose .tick-no::before,
.prose .tick-no::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  width: 2px;
  height: 10px;
  border-radius: 1px;
  background: var(--rose);
}

.prose .tick-no::before {
  transform: rotate(45deg);
}

.prose .tick-no::after {
  transform: rotate(-45deg);
}

.prose .tick-partial {
  background: rgba(255, 196, 107, 0.14);
}

.prose .tick-partial::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--amber);
}

.prose .tick-unknown {
  background: var(--surface-2);
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.prose .tick-unknown::after {
  content: '?';
}


.prose .footnotes {
  margin-top: 3em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-faint);
}

/* ---------- Prev/next ---------- */
.article-nav {
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width:640px) {
  .article-nav {
    grid-template-columns: 1fr;
  }
}

.article-nav a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color .25s ease, background .25s ease;
}

.article-nav a:hover {
  border-color: rgba(61, 220, 151, 0.4);
  background: var(--surface);
}

.article-nav span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 7px;
}

.article-nav strong {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

.article-nav .next {
  text-align: right;
}

/* ---------- Landing ---------- */
.landing-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media(max-width:860px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

.landing-col h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.landing-col .entry-list {
  margin-top: 0;
}

.see-all {
  display: inline-block;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--jade);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 70px 48px 40px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media(max-width:760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    padding: 50px 22px 34px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-grid p {
  color: var(--text-faint);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 11px;
}

.footer-col a:hover {
  color: var(--text);
}

.copyright {
  max-width: 1180px;
  margin: 60px auto 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

.prose .card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.prose .card-grid > *,
.prose details.game > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.prose .card-grid > * {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.prose .card-grid > * > span:first-of-type,
.prose details.game > summary > span:first-of-type {
  flex: 1;
}

.prose .card-grid img,
.prose details.game > summary img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.prose .tag,
.prose .tag-jade,
.prose .tag-violet,
.prose .tag-cyan,
.prose .tag-rose,
.prose .tag-grey,
.prose .tag-supported,
.prose .tag-unknown,
.prose .tag-planned,
.prose .tag-scrapped {
  display: inline-block;
  flex: none;
  padding: 3px 8px;
  border: 1px solid rgba(242, 184, 85, 0.3);
  border-radius: 999px;
  background: rgba(242, 184, 85, 0.1);
  color: var(--amber);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.prose td .tag {
  margin: 1px 2px 1px 0;
}

.prose td:has(> .tag) {
  white-space: nowrap;
}

.prose details.game td:first-child {
  white-space: nowrap;
}

.prose details.game th:last-child,
.prose details.game td:last-child {
  min-width: 260px;
}

.prose td .warn {
  display: block;
  margin-top: 7px;
  padding-left: 9px;
  border-left: 2px solid rgba(242, 184, 85, 0.4);
  color: var(--amber);
  font-size: 13px;
  line-height: 1.5;
}

.prose details.game tbody tr:has(> td:first-child > strong):has(> td:nth-child(2):empty) > td {
  background: var(--surface-2);
  border-right-color: transparent;
  padding-top: 14px;
  padding-bottom: 8px;
}

.prose details.game tbody tr:has(> td:first-child > strong):has(> td:nth-child(2):empty) > td:last-child {
  border-right-color: var(--line);
}

.prose details.game tbody tr:has(> td:first-child > strong):has(> td:nth-child(2):empty) > td > strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.prose .tag-jade {
  border-color: rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.1);
  color: var(--jade);
}

.prose .tag-violet {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.1);
  color: var(--violet);
}

.prose .tag-cyan {
  border-color: rgba(111, 227, 255, 0.3);
  background: rgba(111, 227, 255, 0.1);
  color: var(--cyan);
}

.prose .tag-rose {
  border-color: rgba(255, 128, 152, 0.3);
  background: rgba(255, 128, 152, 0.1);
  color: var(--rose);
}

.prose .tag-grey {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

/* Status tags — supported / unknown / planned / scrapped */
.prose .tag-supported {
  border-color: rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.1);
  color: var(--jade);
}

.prose .tag-unknown {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.prose .tag-planned {
  border-color: rgba(255, 196, 107, 0.3);
  background: rgba(255, 196, 107, 0.1);
  color: var(--amber);
}

.prose .tag-scrapped {
  border-color: rgba(255, 122, 138, 0.3);
  background: rgba(255, 122, 138, 0.1);
  color: var(--rose);
}

.prose details.game {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.prose details.game > summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.prose details.game > summary::-webkit-details-marker {
  display: none;
}

.prose details.game > summary:hover {
  background: var(--surface-2);
}

.prose details.game > summary::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.prose details.game[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.prose details.game[open] > summary {
  border-bottom: 1px solid var(--line);
}

.prose details.game > :not(summary) {
  margin: 14px;
}