@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg: #111310;
  --surface: #1b1e18;
  --surface-raised: #23271f;
  --line: #33382d;
  --muted: #a2a798;
  --text: #f3f4eb;
  --accent: #d5ed83;
  --font:
    "DM Sans", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system,
    sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", var(--font);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px;
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 96px;
  width: min(1344px, calc(100% - 96px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1.7px;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.2px;
  color: var(--muted);
  margin-top: 6px;
}
.brand-symbol {
  font-family: var(--display);
  position: relative;
  background: var(--accent);
  color: var(--bg);
  height: 39px;
  width: 37px;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  transform: skew(-7deg);
  line-height: 39px;
}
.brand-symbol span {
  font-family: var(--font);
  font-size: 16px;
  position: absolute;
  right: -6px;
  top: -11px;
  color: var(--text);
}
nav {
  display: flex;
  gap: 34px;
  align-items: center;
}
nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
nav a:hover,
nav .nav-active {
  color: var(--text);
}
nav .nav-active:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
}
.language-control {
  display: flex;
  gap: 8px;
  align-items: center;
}
.language-control > span:first-child {
  font-size: 23px;
  color: var(--muted);
}
select {
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 8px 24px 8px 0;
  font-size: 12px;
}
option {
  background: var(--surface);
}
.hero {
  min-height: 478px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 25px;
  align-items: center;
  padding-block: 55px 44px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
}
.status-dot {
  height: 6px;
  width: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px #d5ed8344;
}
h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(50px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.8px;
  margin: 0 0 23px;
}
.accent {
  color: var(--accent);
}
.hero-description {
  max-width: 425px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 12px;
  border-radius: 3px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: #191d11;
}
.button-primary:hover {
  background: #e2f4ac;
}
.button-secondary {
  background: var(--surface-raised);
  border: 1px solid var(--line);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 27px;
}
.hero-meta strong {
  font-size: 13px;
  color: var(--text);
  margin-right: 3px;
}
.meta-divider {
  height: 12px;
  width: 1px;
  background: var(--line);
}
.hero-art {
  position: relative;
  height: 345px;
  isolation: isolate;
  background-image:
    linear-gradient(#33382d33 1px, transparent 1px),
    linear-gradient(90deg, #33382d33 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 90%,
    transparent
  );
}
.orbit {
  position: absolute;
  border: 1px solid #515a3c50;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-23deg);
  z-index: -1;
}
.orbit-one {
  width: 420px;
  height: 220px;
}
.orbit-two {
  width: 330px;
  height: 320px;
  border-style: dashed;
}
.art-label {
  position: absolute;
  left: 15%;
  top: 8px;
  color: var(--muted);
  font: 9px monospace;
  letter-spacing: 1.5px;
}
.art-cross {
  position: absolute;
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
}
.cross-one {
  left: 10%;
  top: 41%;
}
.cross-two {
  right: 11%;
  bottom: 6%;
}
.portrait {
  position: absolute;
  padding: 7px;
  background: var(--surface-raised);
  border: 1px solid #666f5355;
  box-shadow: 0 12px 28px #0005;
  border-radius: 4px;
}
.portrait img {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.85);
}
.portrait span {
  font: 8px monospace;
  letter-spacing: 0.8px;
  color: #c8cdba;
  display: block;
  padding: 8px 2px 2px;
}
.portrait-one {
  left: 13%;
  top: 41px;
  transform: rotate(-12deg);
}
.portrait-two {
  left: 43%;
  top: 100px;
  transform: rotate(8deg);
  z-index: 2;
  border-color: #d5ed8377;
}
.portrait-three {
  right: 1%;
  top: 12px;
  transform: rotate(17deg);
  z-index: 1;
}
.art-stamp {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 3px;
  line-height: 1.15;
  color: #7b8860;
  position: absolute;
  left: 20%;
  bottom: 15px;
  transform: rotate(-9deg);
}
.art-stamp b {
  color: var(--accent);
  font-weight: 700;
}
.art-caption {
  position: absolute;
  font: 8px monospace;
  letter-spacing: 2px;
  color: var(--muted);
  right: 3%;
  bottom: 55px;
  writing-mode: vertical-rl;
}
.update-strip {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 17px 21px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  background: #1b1e1880;
}
.update-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--accent);
  white-space: nowrap;
}
.update-strip p {
  margin: 0;
  color: #bdc2b3;
  font-size: 12px;
}
.update-strip a {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
}
.update-strip a:hover {
  color: var(--accent);
}
.collection {
  padding-top: 65px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 27px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
h2 {
  font-family: var(--display);
  font-size: 39px;
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.collection-total {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 4px;
}
.collection-total span:first-child {
  color: var(--text);
}
.filters {
  display: flex;
  gap: 12px;
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.search-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  flex-shrink: 0;
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 14px 0;
  font-size: 12px;
  outline-offset: 0;
}
.search-field input::placeholder {
  color: #9ca490;
}
.search-field:focus-within {
  border-color: var(--accent);
}
.search-field input:focus {
  outline: none;
}
kbd {
  padding: 0 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 3px;
  font-size: 11px;
}
.select-field {
  padding-left: 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  display: flex;
  align-items: center;
  min-width: 175px;
}
.select-field select {
  padding-block: 13px;
  padding-right: 12px;
  width: 100%;
}
.sort-field {
  min-width: 156px;
}
.results-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.results-bar p {
  font-size: 10px;
  color: var(--muted);
}
.file-type {
  margin-left: auto;
  font: 9px monospace;
  color: var(--muted);
  letter-spacing: 0.8px;
}
.file-type span {
  font: 8px var(--font);
}
.text-button {
  background: none;
  padding: 4px;
  color: var(--accent);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.mod-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
}
.mod-card:hover {
  border-color: #718049;
  transform: translateY(-4px);
}
.card-art {
  height: 224px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(
      ellipse at 50% 75%,
      var(--card-glow, #46513a) 0,
      transparent 75%
    ),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 14px,
      #ffffff03 14px,
      #ffffff03 15px
    );
  overflow: hidden;
}
.card-art:before,
.card-art:after {
  content: "+";
  position: absolute;
  font: 13px monospace;
  color: #909c6e66;
  top: 13px;
  right: 13px;
}
.card-art:after {
  top: auto;
  bottom: 13px;
  left: 13px;
}
.card-number {
  position: absolute;
  top: 13px;
  left: 13px;
  font: 9px monospace;
  color: #c5ccaf88;
  letter-spacing: 1px;
}
.card-art .character-avatar {
  width: 152px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 20px #0006;
  transition: transform 0.3s;
  transform: none;
  border: 1px solid #b4c78c40;
}
.mod-card:nth-child(even) .card-art .character-avatar {
  transform: none;
}
.mod-card:hover .card-art .character-avatar {
  transform: translateY(-2px);
}
.card-body {
  padding: 17px 17px 14px;
}
.card-title {
  font-size: 17px;
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin: 0 0 6px;
  font-weight: 600;
}
.card-hero {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.card-hero span {
  color: #d1d6c6;
}
.card-hero svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.card-footer {
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.file-size {
  font: 10px monospace;
  color: var(--muted);
}
.download-button {
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 0 4px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.download-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.download-button:hover {
  color: #efffbe;
}
.card-extra {
  font-size: 10px;
  color: var(--muted);
  padding-top: 10px;
  margin: 0;
}
.card-extra a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mod-card.is-highlighted {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
  border: 1px dashed var(--line);
  border-radius: 5px;
  color: var(--muted);
}
.empty-state > span {
  font-size: 45px;
}
.empty-state h3 {
  color: var(--text);
  font-size: 22px;
  margin: 10px;
}
.empty-state p {
  margin-bottom: 24px;
}
.guide {
  margin-top: 78px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 46px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
}
.guide h2 {
  font-size: 39px;
  max-width: 370px;
  margin-bottom: 24px;
}
.text-link {
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.guide-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.guide-steps li {
  display: flex;
  gap: 20px;
  padding-bottom: 23px;
}
.guide-steps li:last-child {
  padding-bottom: 0;
}
.guide-steps li > span {
  font: 11px monospace;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 33px;
  min-width: 33px;
  display: grid;
  place-items: center;
}
.guide-steps h3 {
  font-size: 13px;
  margin: 3px 0 6px;
}
.guide-steps p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.credits {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credits .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.credits p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.credits strong {
  color: #ced3c3;
  font-weight: 500;
  margin-left: 6px;
}
.credit-separator {
  margin: 0 18px;
  color: #58634a;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-block: 30px 36px;
}
.footer-brand {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  white-space: nowrap;
}
.footer-brand span {
  color: var(--accent);
  margin-left: 7px;
}
.site-footer p {
  font-size: 9px;
  color: var(--muted);
  max-width: 520px;
  margin: 0;
}
.site-footer > a:last-child {
  margin-left: auto;
  white-space: nowrap;
  font-size: 10px;
  color: #d0d6c6;
}
.download-status {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 5;
  background: #252b1f;
  border: 1px solid #6e7e48;
  border-radius: 7px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  width: calc(100% - 44px);
  box-shadow: 0 10px 60px #0007;
}
.download-status-icon {
  color: var(--accent);
  font-size: 25px;
}
.download-status-copy {
  flex: 1;
  min-width: 0;
}
.download-status-copy strong {
  font-size: 13px;
  display: block;
}
.download-status-copy > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.download-status-copy a {
  display: block;
  margin-top: 6px;
}
progress {
  height: 4px;
  border: 0;
  display: block;
  width: 100%;
  margin-top: 9px;
  accent-color: var(--accent);
}
progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 3px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 3px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.icon-button:hover {
  background: var(--surface-raised);
}
dialog {
  width: min(570px, calc(100% - 32px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  margin: auto;
  padding: 24px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid #586641;
  color: var(--text);
  box-shadow: 0 30px 120px #0009;
}
dialog::backdrop {
  background: #060804bb;
  backdrop-filter: blur(6px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-heading .eyebrow {
  margin: 0;
  font-size: 9px;
}
.download-confirmation {
  display: flex;
  gap: 13px;
  margin-bottom: 22px;
}
.download-confirmation > span {
  color: var(--accent);
  background: #d5ed8312;
  border-radius: 50%;
  height: 34px;
  min-width: 34px;
  display: grid;
  place-items: center;
}
.download-confirmation h2 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
}
.download-confirmation p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
}
#ad-slot {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  min-height: 210px;
}
#ad-slot iframe {
  width: 100%;
  height: 220px;
  display: block;
  border: 0;
  background: #11140f;
}
.ad-footnote {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
dialog > .button {
  width: 100%;
  margin-top: 10px;
}
html:lang(zh) h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.3;
  letter-spacing: -2px;
}
html:lang(zh) h2 {
  font-family: var(--font);
  font-size: 31px;
  font-weight: 600;
}
html:lang(zh) .eyebrow {
  letter-spacing: 1.5px;
}
html:lang(zh) .hero-description {
  line-height: 1.9;
}
html:lang(zh) .card-title {
  font-size: 16px;
}
html:lang(zh) .download-confirmation h2 {
  font-size: 18px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 505px;
  }
  .hero-art {
    height: 375px;
  }
  .portrait-three {
    right: 6%;
    top: 20px;
  }
  .portrait-two {
    top: 125px;
  }
}
@media (max-width: 1050px) {
  .shell,
  .site-header {
    width: calc(100% - 56px);
  }
  .mod-grid {
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero {
    gap: 10px;
  }
  .hero-art {
    transform: scale(0.88);
    transform-origin: right center;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero-description {
    font-size: 13px;
  }
  .portrait-one {
    left: 0;
  }
  .portrait-two {
    left: 32%;
  }
  .portrait-three {
    right: -10%;
  }
  .guide {
    gap: 35px;
  }
  .file-type {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 82px;
    gap: 10px;
  }
  .brand {
    font-size: 16px;
  }
  .brand small {
    font-size: 6px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  .site-header nav a:last-child {
    display: none;
  }
  .language-control {
    gap: 3px;
  }
  .language-control > span:first-child {
    display: none;
  }
  .language-control select {
    font-size: 11px;
    padding-right: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 44px 28px;
    gap: 4px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hero-description {
    max-width: 450px;
  }
  .hero-art {
    height: 265px;
    width: 400px;
    max-width: 100%;
    margin-inline: auto;
    transform: scale(0.88);
    transform-origin: center center;
    margin-block: 2px -15px;
  }
  .portrait-one {
    left: 4%;
    top: 10px;
  }
  .portrait-two {
    top: 85px;
    left: 35%;
  }
  .portrait-three {
    top: 0;
    right: -1%;
  }
  .art-label {
    top: -14px;
    left: 6%;
  }
  .art-stamp {
    left: 10%;
    bottom: -5px;
    font-size: 26px;
  }
  .orbit-one {
    width: 360px;
  }
  .orbit-two {
    height: 280px;
  }
  .cross-one {
    left: 0;
    top: 60%;
  }
  .art-caption {
    right: 0;
    bottom: 0;
  }
  .update-strip {
    gap: 10px;
    padding: 14px;
    flex-wrap: wrap;
  }
  .update-label {
    width: 100%;
    font-size: 8px;
  }
  .update-strip p {
    font-size: 11px;
    flex: 1;
  }
  .collection {
    padding-top: 43px;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .collection-total {
    font-size: 9px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 9px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .select-field {
    min-width: 0;
    flex: 1;
  }
  .mod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .card-art {
    height: 188px;
  }
  .card-body {
    padding: 14px;
  }
  .card-title {
    font-size: 16px;
  }
  .card-hero {
    font-size: 10px;
  }
  .download-button {
    font-size: 10px;
    gap: 4px;
  }
  .file-size {
    font-size: 9px;
  }
  .guide {
    grid-template-columns: 1fr;
    margin-top: 48px;
    padding-top: 35px;
    gap: 30px;
  }
  .guide h2 {
    font-size: 34px;
    max-width: none;
  }
  .credits p {
    line-height: 2;
  }
  .credit-separator {
    margin: 0 8px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 16px;
  }
  .site-footer p {
    order: 3;
    max-width: 100%;
  }
  .site-footer > a:last-child {
    font-size: 10px;
  }
  .eyebrow {
    font-size: 9px;
  }
  html:lang(zh) .hero h1 {
    font-size: 49px;
  }
  html:lang(zh) .section-heading h2 {
    font-size: 28px;
  }
}
@media (max-width: 440px) {
  .shell,
  .site-header {
    width: calc(100% - 36px);
  }
  .site-header nav a:nth-child(2) {
    display: none;
  }
  .brand-symbol {
    width: 29px;
    height: 33px;
    line-height: 33px;
    font-size: 28px;
  }
  .brand {
    gap: 9px;
    font-size: 14px;
  }
  .brand small {
    letter-spacing: 1.3px;
  }
  .site-header nav {
    gap: 10px;
  }
  .site-header nav .nav-active:before {
    display: none;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero-art {
    margin-top: 6px;
  }
  .hero-meta {
    font-size: 9px;
    gap: 11px;
  }
  .card-art {
    height: 178px;
  }
  .card-art .character-avatar {
    width: 122px;
    height: auto;
  }
  .mod-grid {
    gap: 11px;
  }
  .card-body {
    padding: 12px;
  }
  .card-title {
    font-size: 14px;
    min-height: 19px;
  }
  .card-footer {
    gap: 3px;
  }
  .download-button {
    font-size: 10px;
  }
  .download-button svg {
    width: 13px;
  }
  .file-size {
    font-size: 8px;
  }
  .card-number {
    font-size: 8px;
    top: 8px;
    left: 8px;
  }
  .card-art:before {
    right: 7px;
    top: 5px;
  }
  .card-extra {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .collection-total {
    max-width: 75px;
    text-align: right;
  }
  .download-status {
    bottom: 12px;
    right: 12px;
    width: calc(100% - 24px);
    padding: 14px;
    gap: 10px;
  }
  dialog {
    padding: 18px;
  }
  html:lang(zh) .hero h1 {
    font-size: 43px;
  }
}
.hero > div {
  min-width: 0;
}
.hero-art {
  overflow: clip;
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    width: 100%;
    max-width: 400px;
  }
  .hero-meta {
    flex-wrap: wrap;
  }
  .guide-intro {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover,
  .mod-card:hover {
    transform: none;
  }
}

/* Character art and the original hero are separate assets, with a reserved
   lower rail so the minimap badge never overlaps the character portrait. */
.card-art {
  align-items: flex-start;
  padding: 16px 16px 48px;
}
.card-art .character-avatar {
  border-radius: 9px;
}
.hero-badge {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #12160f;
  border: 1px solid #637546;
  border-radius: 7px;
  box-shadow: 0 3px 10px #0005;
}
.hero-badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.hero-badge:hover {
  border-color: var(--accent);
}
@media (max-width: 760px) {
  .card-art {
    height: 198px;
    padding: 12px 12px 48px;
  }
  .card-art .character-avatar {
    width: 126px;
  }
  .hero-badge {
    right: 10px;
    bottom: 8px;
    width: 36px;
    height: 36px;
  }
  .hero-badge img {
    width: 30px;
    height: 30px;
  }
}
