@font-face {
  font-family: DM Sans;
  src: url("/brand/Text.ttf") format("truetype");
  font-weight: 100 549;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("/brand/Strong.ttf") format("truetype");
  font-weight: 550 950;
  font-display: swap;
}
:root {
  --ink: #121918;
  --paper: #f3f6ed;
  --mint: #9cf4ce;
  --soft: #b6c3ba;
  --muted: #9daea4;
  --rule: #35463e;
  --panel: #1d2c24;
  --selected: #22382e;
  --bad: #ffaa98;
  --field: #19231f;
  color-scheme: dark;
  font-family: "DM Sans", system-ui, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.48;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select,
input,
textarea {
  touch-action: manipulation;
}
a,
button,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 2px solid var(--mint);
}
button,
summary {
  cursor: pointer;
}
button {
  color: var(--paper);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 2.65rem;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.15rem;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  vertical-align: middle;
}
small,
.muted,
.byline {
  color: var(--muted);
}
.byline {
  font-size: 0.94rem;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 12px;
  padding: 8px 15px;
  background: var(--mint);
  color: var(--ink);
  z-index: 20;
}
.top {
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.top-inner,
.shell,
.site-foot {
  width: min(1300px, calc(100% - 8.88vw));
  margin-inline: auto;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  display: block;
  width: 150px;
  height: auto;
}
.mainnav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 22px;
  border-left: 1px solid var(--rule);
  margin-block: 20px;
  padding-left: 31px;
}
.mainnav a,
.sign-link,
.account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--soft);
  white-space: nowrap;
}
.mainnav a[aria-current],
.mainnav a:hover,
.sign-link:hover,
.account-link:hover {
  color: var(--mint);
}
#account-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.account-link span {
  max-width: 15ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--rule);
  background: var(--field);
  color: var(--paper);
  padding: 11px 19px;
  min-height: 45px;
  border-radius: 9px;
  font-weight: 650;
  line-height: 1.22;
  white-space: nowrap;
  transition:
    background 0.14s,
    border-color 0.14s,
    transform 0.14s;
}
.btn:hover:not(:disabled) {
  background: var(--selected);
  border-color: var(--mint);
}
.btn.mint {
  background: var(--mint);
  color: #14211b;
  border-color: var(--mint);
}
.btn.mint:hover:not(:disabled) {
  background: #b2ffdf;
  color: #14211b;
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.9rem;
}
.btn.small .icon {
  width: 16px;
}
.wide {
  width: 100%;
}
.shell {
  flex: 1;
  padding-block: 30px 64px;
  min-width: 0;
}
.spot {
  position: relative;
  isolation: isolate;
  background: var(--panel);
  width: 100%;
  min-height: 340px;
  height: clamp(340px, 29vw, 415px);
  overflow: hidden;
  border-radius: 13px;
}
.spot-art,
.spot-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.spot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.spot-shade {
  background:
    linear-gradient(
      90deg,
      rgba(10, 24, 18, 0.95) 0%,
      rgba(13, 28, 22, 0.87) 22%,
      rgba(16, 27, 22, 0.43) 48%,
      rgba(16, 24, 20, 0.03) 72%
    ),
    linear-gradient(0deg, rgba(10, 21, 15, 0.37), transparent 35%);
}
.spot-body {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 4.6%;
  gap: 13px;
  max-width: 620px;
}
.spot-game,
.game-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-weight: 650;
  font-size: 0.91rem;
}
.spot-game {
  font-size: 1rem;
}
.spot-game .icon {
  width: 21px;
}
.spot h2 {
  font-size: clamp(2.7rem, 4.3vw, 4.4rem);
  letter-spacing: -0.042em;
  max-width: 14ch;
  text-wrap: balance;
  line-height: 1.015;
}
.spot p {
  max-width: 41ch;
  color: #e3eee5;
  font-size: 1.06rem;
}
.spot-body .btn {
  margin-top: 10px;
}
.spot-pages {
  position: absolute;
  right: 22px;
  bottom: 21px;
  border: 1px solid #829e8b99;
  background: #121d18ed;
  display: flex;
  align-items: center;
  border-radius: 9px;
}
.spot-pages button,
.media-row button {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--paper);
  width: 40px;
  height: 38px;
}
.spot-pages button:hover {
  color: var(--mint);
}
.spot-pages .icon {
  width: 16px;
}
.spot-pages output {
  font-size: 0.8rem;
  color: #d6e6db;
  font-variant-numeric: tabular-nums;
}
.browse {
  margin-top: 34px;
}
.shell > .browse:first-child {
  margin-top: 8px;
}
.section-head,
.section-head > div,
.page-title,
.detail-heading,
.card-foot,
.studio-row,
.pager,
.file-row,
.auth-foot,
.version-row,
.site-foot,
.media-row,
.text-link,
.subtle {
  display: flex;
  align-items: center;
}
.section-head,
.page-title,
.detail-heading {
  justify-content: space-between;
  gap: 18px;
}
.section-head {
  margin-bottom: 20px;
}
.section-head > div {
  gap: 13px;
}
.section-head h1 {
  font-size: 2.1rem;
}
.count {
  color: var(--muted);
  font-size: 0.91rem;
}
.text-link,
.subtle {
  gap: 8px;
  color: var(--mint);
  font-weight: 650;
  font-size: 0.93rem;
}
.text-link:hover,
.subtle:hover,
.sign-link:hover,
.auth-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.subtle,
.danger-link {
  background: none;
  border: 0;
  padding: 6px 0;
}
.tools {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto auto;
  gap: 10px;
  margin: 0 0 22px;
}
.search,
.select-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 9px;
  position: relative;
  min-width: 0;
}
.search,
.select-shell {
  padding: 0 13px;
}
.tools .btn,
.search,
.select-shell {
  min-height: 46px;
}
.search > .icon,
.select-shell > .icon {
  color: var(--soft);
}
.search input,
.select-shell select {
  color: var(--paper);
  background: none;
  border: 0;
  outline: 0;
  font-size: 0.96rem;
  min-width: 0;
  width: 100%;
  height: 44px;
}
.search input::placeholder {
  color: var(--muted);
}
.search:focus-within,
.select-shell:focus-within {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}
.select-shell select {
  appearance: none;
  cursor: pointer;
  padding: 0 20px 0 0;
}
.select-shell > .icon:last-child {
  width: 14px;
  height: 14px;
  position: absolute;
  right: 12px;
  pointer-events: none;
}
.select-shell .icon:first-child {
  width: 17px;
}
.game-select {
  max-width: 235px;
}
.sort {
  min-width: 143px;
}
option {
  color: var(--paper);
  background: var(--field);
}
#filter[aria-expanded="true"] {
  color: var(--mint);
  border-color: var(--mint);
  background: var(--selected);
}
.filter-panel {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 13px;
  padding: 20px 0 8px;
}
.filter-panel .field {
  margin: 0;
}
.filter-panel .subtle {
  min-height: 42px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mod-card {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: #19231e;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.mod-card:hover,
.mod-card:focus-visible {
  border-color: var(--mint);
  background: #1b2d23;
}
.card-art {
  width: 100%;
  aspect-ratio: 2.03/1;
  overflow: hidden;
  background: var(--panel);
}
.card-art img,
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-info {
  padding: 16px 19px 0;
}
.card-info h3 {
  margin: 6px 0;
  font-size: 1.45rem;
}
.card-info .game-label {
  margin-bottom: 3px;
  font-size: 0.8rem;
}
.card-info .byline {
  font-size: 0.88rem;
}
.card-foot {
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  margin-top: 15px;
  padding: 12px 0;
  color: var(--soft);
  font-size: 0.81rem;
}
.card-foot span,
.file-row strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-foot .icon {
  width: 15px;
  height: 15px;
}
.no-art {
  display: grid;
  place-items: center;
  background: var(--panel);
  width: 100%;
  height: 100%;
  color: var(--muted);
}
.no-art .icon {
  width: 42px;
  height: 42px;
}
.empty,
.standalone {
  padding: 46px 32px;
  border-block: 1px solid var(--rule);
  margin: 18px 0;
}
.empty p,
.standalone p {
  color: var(--soft);
  margin: 12px 0 22px;
}
.empty h2 {
  font-size: 1.5rem;
}
.pager {
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.pager span {
  color: var(--muted);
}
.site-foot {
  border-top: 1px solid var(--rule);
  padding-block: 20px 30px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  gap: 20px;
}
.site-foot > span,
.site-foot > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-foot > div {
  gap: 22px;
}
.site-foot a:hover {
  color: var(--mint);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 0.88rem;
  margin: 0 0 27px;
}
.crumb a {
  color: var(--mint);
}
.crumb svg {
  width: 12px;
}
.detail-heading {
  align-items: end;
  margin-bottom: 28px;
}
.detail-heading h1 {
  margin: 8px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.82fr);
  gap: 44px;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--panel);
}
.gallery-main img {
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 10px;
  margin: 12px 0 30px;
  flex-wrap: wrap;
}
.thumbs button {
  background: var(--field);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  width: 84px;
  height: 50px;
}
.thumbs button[aria-pressed="true"] {
  border-color: var(--mint);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead {
  font-size: 1.14rem;
  margin: 13px 0;
}
.prose {
  white-space: pre-wrap;
  color: var(--soft);
  overflow-wrap: anywhere;
  max-width: 70ch;
}
.facts,
.sheet,
.auth-panel {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #19231e;
}
.facts,
.sheet {
  padding: 24px;
}
.facts dl {
  margin: 18px 0;
}
.facts dl div,
.version-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.facts h2,
.sheet h2 {
  font-size: 1.4rem;
}
.facts details,
.sheet details {
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.facts code {
  font-size: 0.8rem;
  display: block;
  margin-top: 8px;
}
.facts .wide {
  margin-top: 18px;
}
.detail-grid + section {
  margin-top: 34px;
}
.version-row span {
  margin-left: auto;
  color: var(--muted);
}
.page-title {
  margin: 12px 0 30px;
}
.page-title p {
  margin-top: 6px;
}
.auth-panel {
  margin: 24px auto 44px;
  padding: 34px;
  width: min(100%, 465px);
}
.auth-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
}
.auth-panel h1 {
  font-size: 2.2rem;
}
.auth-panel > p,
.sheet > p {
  margin: 10px 0 23px;
  color: var(--soft);
}
.auth-panel form {
  margin-top: 20px;
}
.auth-foot {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: 24px;
  color: var(--soft);
  gap: 7px;
  flex-wrap: wrap;
}
.auth-foot a {
  color: var(--mint);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 15px;
  min-width: 0;
}
.field > span {
  font-weight: 600;
  font-size: 0.91rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--ink);
  padding: 10px 12px;
  min-height: 42px;
}
.field textarea {
  resize: vertical;
}
.field input:disabled {
  color: var(--muted);
  opacity: 0.8;
}
.notice {
  color: var(--mint);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.notice:not(:empty) {
  margin: 12px 0;
}
.notice.bad,
.danger-link {
  color: var(--bad);
}
.recovery {
  display: block;
  background: var(--ink);
  padding: 15px;
  border-radius: 8px;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  margin: 18px 0;
}
.auth-panel .wide {
  margin-top: 10px;
}
.studio-list {
  border-block: 1px solid var(--rule);
}
.studio-row {
  gap: 16px;
  padding: 16px 5px;
}
.studio-row + .studio-row {
  border-top: 1px solid var(--rule);
}
.studio-row:hover .row-name strong {
  color: var(--mint);
}
.studio-glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--selected);
  border-radius: 8px;
  color: var(--mint);
}
.row-name {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.row-date {
  color: var(--muted);
  font-size: 0.9rem;
  min-width: 8ch;
}
.state {
  color: var(--muted);
  font-size: 0.88rem;
}
.state.live {
  color: var(--mint);
}
.studio-empty > .icon {
  width: 38px;
  height: 38px;
  color: var(--mint);
  margin-bottom: 15px;
}
.edit-layout,
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}
.settings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sheet {
  margin-bottom: 18px;
}
.sheet h2 {
  margin: 0 0 20px;
}
.sheet h3 {
  margin: 22px 0 12px;
}
.sheet .wide + .wide {
  margin-top: 10px;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.drop {
  display: flex;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 12px;
  border: 1px dashed #648171;
  border-radius: 9px;
  background: var(--ink);
}
.drop:focus-within {
  outline: 2px solid var(--mint);
}
.drop span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-weight: 650;
}
.drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-row,
.media-row {
  gap: 9px;
  overflow-wrap: anywhere;
  padding: 9px 0;
}
.file-row > span,
.media-row > span {
  flex: 1;
  min-width: 0;
}
.media-row img {
  width: 64px;
  height: 42px;
  object-fit: cover;
  border-radius: 5px;
}
.media-row button {
  width: 34px;
}
.file-row .subtle {
  font-size: 0.85rem;
}
.danger-link {
  display: block;
  margin-top: 12px;
}
.sheet ul {
  color: var(--soft);
  padding-left: 18px;
}
.sheet progress {
  width: 100%;
  height: 8px;
  accent-color: var(--mint);
  margin-top: 15px;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .detail-grid,
  .edit-layout {
    gap: 20px;
  }
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-inner {
    gap: 20px;
  }
  .mainnav {
    gap: 16px;
    padding-left: 20px;
  }
  .game-select {
    max-width: 175px;
  }
  .spot-body {
    max-width: 58%;
  }
  .spot h2 {
    font-size: 3rem;
  }
}
@media (max-width: 680px) {
  .top-inner,
  .shell,
  .site-foot {
    width: calc(100% - 32px);
  }
  .top-inner {
    min-height: 65px;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
  }
  .logo img {
    width: 119px;
  }
  .mainnav {
    order: 3;
    flex-basis: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 24px;
  }
  .mainnav a {
    font-size: 0.88rem;
    padding: 8px 0 11px;
  }
  .mainnav a[aria-current] {
    box-shadow: inset 0 -2px var(--mint);
  }
  #account-nav {
    gap: 10px;
  }
  .account-link span {
    max-width: min(42vw, 20ch);
  }
  .shell {
    padding-block: 18px 40px;
  }
  .spot {
    min-height: 320px;
    height: 345px;
  }
  .spot-body {
    max-width: 100%;
    padding: 26px 20px 52px;
    justify-content: flex-end;
    gap: 9px;
  }
  .spot-shade {
    background: linear-gradient(
      0deg,
      rgba(9, 22, 16, 0.96),
      rgba(10, 23, 17, 0.58) 62%,
      rgba(10, 23, 17, 0.12)
    );
  }
  .spot h2 {
    font-size: 2.6rem;
  }
  .spot p {
    font-size: 0.95rem;
    max-width: 35ch;
  }
  .spot-game {
    font-size: 0.88rem;
  }
  .spot-body .btn {
    margin-top: 3px;
  }
  .spot-pages {
    bottom: 13px;
    right: 12px;
  }
  .spot-pages button {
    width: 29px;
    height: 30px;
  }
  .browse {
    margin-top: 25px;
  }
  .section-head {
    margin-bottom: 15px;
    gap: 6px;
  }
  .section-head h1 {
    font-size: 1.8rem;
  }
  .section-head > div {
    gap: 8px;
  }
  .section-head > .text-link {
    font-size: 0.82rem;
  }
  .tools {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    margin-bottom: 16px;
  }
  .search {
    grid-column: 1/-1;
  }
  .game-select {
    max-width: none;
  }
  .sort {
    min-width: 0;
  }
  .tools .btn,
  .select-shell {
    padding-inline: 9px;
    font-size: 0.87rem;
  }
  .select-shell select {
    font-size: 0.87rem;
  }
  .select-shell .icon:first-child {
    display: none;
  }
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    gap: 11px;
  }
  .card-info {
    padding: 11px 11px 0;
  }
  .card-info h3 {
    font-size: 1.09rem;
  }
  .card-info .game-label,
  .card-info .byline {
    font-size: 0.73rem;
  }
  .card-foot {
    font-size: 0.72rem;
    gap: 6px;
    flex-wrap: wrap;
    padding: 8px 0;
    margin-top: 9px;
  }
  .card-foot .icon {
    width: 12px;
  }
  .card-art {
    aspect-ratio: 1.65;
  }
  .detail-grid,
  .edit-layout,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .detail-heading,
  .page-title {
    align-items: start;
    flex-wrap: wrap;
  }
  .detail-heading h1,
  .page-title h1 {
    font-size: 2.1rem;
  }
  .crumb {
    margin-bottom: 17px;
  }
  .sheet,
  .facts,
  .auth-panel {
    padding: 18px;
  }
  .auth-panel {
    margin-top: 12px;
  }
  .duo {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .row-date {
    display: none;
  }
  .site-foot {
    padding-block: 17px 23px;
  }
  .count {
    font-size: 0.8rem;
  }
}
@media (max-width: 370px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .section-head > .text-link {
    font-size: 0;
  }
  .section-head > .text-link .icon {
    width: 20px;
  }
  .site-foot > div {
    gap: 10px;
  }
  .sort > .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
