:root {
  --ink: #123e55;
  --teal: #087f99;
  --sky: #edf7fa;
  --gold: #bd903e;
  --serif: Georgia, "Songti TC", "Noto Serif TC", serif;
  --sans:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Microsoft JhengHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font: 18px/1.7 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--teal);
}
button {
  font: 600 16px/1.4 var(--sans);
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(44px, 5.4vw, 80px);
}
h2 {
  font-size: clamp(36px, 4vw, 60px);
}
h3 {
  font-size: 32px;
}
p {
  margin-top: 22px;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 6px;
}
button[hidden],
[hidden] {
  display: none !important;
}
.container {
  max-width: 1536px;
  margin: auto;
  padding-inline: 80px;
}
.site-header {
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2%;
  gap: 28px;
  box-shadow: 0 1px 0 #123e5510;
}
.brand {
  width: 118px;
  flex-shrink: 0;
}
.brand img {
  width: 110px;
  height: 72px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  gap: 44px;
}
.site-header nav a {
  font-size: 16px;
  line-height: 78px;
  position: relative;
  white-space: nowrap;
}
.site-header nav a[aria-current]:after {
  content: "";
  height: 3px;
  background: var(--teal);
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
}
.site-header a[aria-current] {
  color: var(--teal);
  font-weight: 650;
}
.languages {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
.skip {
  position: fixed;
  top: 0;
  left: 20px;
  transform: translateY(-150%);
  z-index: 50;
  background: white;
  padding: 12px;
}
.skip:focus {
  transform: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 17px 23px;
  color: #fff;
  font: 600 16px/1.4 var(--sans);
  min-height: 56px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.button.secondary {
  background: #fff;
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--sky);
}
.platform-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}
.platform-patreon {
  background: currentColor;
  -webkit-mask: url("./assets/site/patreon.webp") center/contain no-repeat;
  mask: url("./assets/site/patreon.webp") center/contain no-repeat;
}
.platform-afdian {
  background: #946ce6;
  border-radius: 50%;
  padding: 3px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero {
  position: relative;
  height: 790px;
  overflow: hidden;
  background: var(--sky);
}
.hero-scene {
  position: absolute;
  inset: 0;
  background: url("./assets/site/deck.webp") center/cover;
}
.hero-cast {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portrait {
  position: relative;
  width: 100%;
  isolation: isolate;
}
.portrait > img {
  display: block;
  width: 100%;
  height: auto;
}
.portrait > img + img {
  position: absolute;
}
.hero-cast .portrait {
  position: absolute;
  width: 51%;
}
.hero-cast .hero-boar {
  left: 24%;
  top: -80px;
  width: 48%;
  z-index: 1;
}
.hero-cast .hero-bear {
  left: 63%;
  top: 0;
  width: 47%;
  z-index: 1;
  transform: scaleX(-1);
}
.hero-cast .hero-captain {
  left: 42%;
  top: 125px;
  width: 55%;
  z-index: 2;
}
.hero-copy {
  position: relative;
  z-index: 3;
  margin-left: 5.4%;
  padding-top: 42px;
  width: 42%;
  height: 100%;
}
.hero-copy:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 300px -145px 45px -100px;
  background: linear-gradient(
    90deg,
    #ffffffb8 0%,
    #ffffffb2 58%,
    #ffffff97 76%,
    #ffffff00 100%
  );
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
  pointer-events: none;
}
.hero-logo {
  width: 410px;
  height: 290px;
  object-fit: contain;
  margin-left: -15px;
}
.hero h1 {
  font-size: clamp(38px, 4.05vw, 62px);
  line-height: 1.09;
  letter-spacing: -0.035em;
}
.hero-copy > p {
  font-size: 22px;
  margin-top: 13px;
}
.hero .actions {
  position: relative;
  z-index: 5;
  gap: 12px;
  margin-top: 24px;
}
.hero .button {
  padding: 17px 20px;
}
.hero .button svg {
  width: 19px;
}
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 2;
  pointer-events: none;
}
.intro {
  background: var(--sky);
  padding: 35px 0 65px;
}
.intro > div > h2,
.intro-text {
  text-align: center;
}
.intro-text {
  max-width: 1050px;
  margin: 24px auto 0;
}
.facts {
  padding: 25px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gold);
  margin: 32px 7% 0;
  text-align: center;
  font: 600 clamp(19px, 2vw, 29px)/1.3 var(--serif);
}
.facts li + li {
  border-left: 1px solid var(--gold);
}
.footnote {
  text-align: center;
  font-size: 13px;
  margin-top: 14px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 62px;
  margin-bottom: 28px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  line-height: 1.5;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.cast-card {
  display: block;
  text-align: center;
  min-width: 0;
}
.cast-art {
  height: 360px;
  overflow: hidden;
  position: relative;
}
.cast-art .portrait {
  width: 116%;
  margin-left: -8%;
  transform: translateY(-4%);
  transition: transform 0.25s;
}
.cast-card:hover .cast-art .portrait {
  transform: translateY(-4%) scale(1.025);
}
.cast-card h3 {
  margin-top: 18px;
}
.featured .cast-art {
  height: 425px;
}
.featured .cast-art .portrait {
  width: 125%;
  margin-left: -12.5%;
}
.world-section {
  background: #fff;
  padding: 75px 0;
}
.world-split {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 50px;
  align-items: center;
}
.world-split h2:before,
.invitation h2:before {
  content: "";
  display: block;
  width: 75px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}
.world-split p {
  max-width: 440px;
}
.world-split .inline-link {
  margin-top: 27px;
}
.world-map {
  width: 100%;
  height: auto;
}
.invitation {
  background: var(--sky);
  padding: 52px 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.scene {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.invitation h2 {
  font-size: clamp(36px, 3.65vw, 56px);
}
.invitation p {
  margin-top: 20px;
}
.invitation .actions {
  gap: 12px;
}
.invitation .button {
  font-size: 15px;
  padding: 15px 18px;
}
.text-links {
  display: flex;
  gap: 30px;
  margin-top: 23px;
  font-size: 16px;
}
.text-links a {
  border-bottom: 1px solid var(--gold);
}
footer {
  background: var(--ink);
  color: #fff;
  padding: 32px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.studio {
  font: 24px var(--serif);
  letter-spacing: 0.11em;
}
.page-heading {
  padding: 68px 0 48px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.page-heading p {
  max-width: 750px;
  margin: 25px auto 0;
}
.catalogue {
  background: var(--sky);
  padding-bottom: 80px;
}
.main-cast {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
}
.main-cast .cast-art {
  height: 315px;
  background: #dceef3;
}
.main-cast h3 {
  font-size: 29px;
}
.supporting-heading {
  margin-top: 90px;
  border-top: 1px solid #123e5525;
  padding-top: 50px;
}
.supporting {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 35px;
  gap: 24px;
}
.supporting .cast-art {
  height: 225px;
}
.supporting h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
.supporting p {
  font-size: 13px;
  margin-top: 8px;
}
.profile {
  background: var(--sky);
  position: relative;
  overflow: hidden;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  min-height: 760px;
}
.profile-copy {
  padding: 40px 0 45px;
  position: relative;
  z-index: 1;
}
.back svg,
.previous svg {
  transform: rotate(180deg);
}
.back {
  border: 0;
  font-size: 16px;
  margin-bottom: 26px;
}
.profile h1 {
  font-size: clamp(48px, 5.5vw, 84px);
  overflow-wrap: anywhere;
}
.roman-name {
  font: 24px var(--serif);
  margin-top: 10px;
}
.role {
  font: 600 21px/1.5 var(--serif);
  color: #866018;
  margin-top: 16px;
}
.bio {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.75;
  margin-top: 18px;
}
.profile-art {
  position: relative;
  min-width: 0;
  height: 760px;
  overflow: hidden;
}
.profile-art .portrait {
  width: 112%;
  max-width: none;
  margin-left: -5%;
  margin-top: 20px;
}
.wish {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 24px;
}
.wish-status {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}
.wish-button {
  padding: 13px 17px;
  min-height: 50px;
}
.wish-button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.wish-retry {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  padding: 4px;
}
.glimpse {
  margin-top: 30px;
}
.glimpse h2 {
  font-size: 35px;
  margin-bottom: 18px;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 570px;
}
.cg-preview {
  margin: 0;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink);
}
.cg-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cg-preview.locked img {
  filter: blur(3px);
  opacity: 0.35;
  transform: scale(1.08);
}
.cg-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.cg-lock svg {
  width: 27px;
  height: 27px;
}
.caption {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 10px;
}
.ongoing {
  border-top: 1px solid var(--gold);
  padding-top: 24px;
}
.character-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-block: 24px;
}
.character-navigation > .inline-link {
  white-space: nowrap;
  border: 0;
  font-size: 16px;
}
.character-strip {
  display: flex;
  gap: 18px;
  overflow: auto;
  scrollbar-width: thin;
  padding: 5px 3px 12px;
  flex: 1;
  position: relative;
}
.character-strip > a {
  width: 85px;
  flex-shrink: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.mini-art {
  height: 80px;
  overflow: hidden;
  background: var(--sky);
  margin-bottom: 8px;
}
.mini-art .portrait {
  width: 145%;
  margin-left: -22.5%;
  transform: translateY(-4%);
}
.character-strip [aria-current] .mini-art {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.privacy {
  font-size: 12px;
  color: #506875;
  margin-top: 0;
  margin-bottom: 25px;
}
.world-page {
  padding-bottom: 80px;
}
.world-page > .container > .world-map {
  margin: auto;
  max-width: 1200px;
}
.story-block {
  margin-top: 85px;
}
.places {
  margin-top: 90px;
}
.places > p {
  max-width: 850px;
}
.scene-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}
.scene-pair img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.play-page {
  background: var(--sky);
  padding-bottom: 65px;
}
.play-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.play-scene {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.destination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid #123e5530;
  padding: 22px 0;
}
.destination-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}
.destination-logo.platform-afdian {
  padding: 7px;
}
.destination-logo + div {
  margin-right: auto;
}
.destination h2 {
  font-size: 31px;
}
.destination p {
  font-size: 16px;
  margin-top: 7px;
}
.destination:first-child {
  padding-top: 0;
  border-top: 0;
}
.adult-note {
  text-align: center;
  font-weight: 600;
  margin-top: 45px;
}
.release-note {
  text-align: center;
  font-size: 15px;
  margin-top: 7px;
}
.not-found {
  text-align: center;
  min-height: 65vh;
  padding: 100px 24px;
}
.not-found a {
  margin-top: 30px;
}
@media (min-width: 1600px) {
  .hero {
    height: 850px;
  }
  .hero-copy {
    padding-top: 65px;
  }
  .hero-logo {
    width: 460px;
    height: 310px;
  }
  .hero-cast {
    max-width: 1700px;
    left: auto;
    width: 100%;
  }
  .hero-copy {
    max-width: 700px;
  }
}
@media (max-width: 1150px) {
  .container {
    padding-inline: 40px;
  }
  .site-header nav {
    gap: 25px;
  }
  .hero {
    height: 660px;
  }
  .hero-copy {
    width: 45%;
    padding-top: 25px;
  }
  .hero-logo {
    width: 330px;
    height: 240px;
  }
  .hero-copy:before {
    inset: 195px -25px 20px -80px;
    background: linear-gradient(
      90deg,
      #fffffff5 0%,
      #ffffffed 65%,
      #ffffff00 100%
    );
    mask-image: linear-gradient(transparent, #000 18%, #000 85%, transparent);
  }
  .hero-copy > p {
    font-size: 18px;
  }
  .hero .button {
    font-size: 14px;
    padding: 13px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero-cast .hero-boar {
    top: -25px;
  }
  .hero-cast .hero-captain {
    top: 120px;
  }
  .hero-cast .hero-bear {
    top: 20px;
  }
  .featured .cast-art {
    height: 325px;
  }
  .main-cast .cast-art {
    height: 235px;
  }
  .split {
    gap: 38px;
  }
  .world-split {
    gap: 30px;
  }
  .profile-grid {
    gap: 15px;
  }
  .profile-art .portrait {
    width: 125%;
    margin-left: -7%;
    margin-top: 65px;
  }
  .profile h1 {
    font-size: 58px;
  }
  .profile .bio {
    font-size: 17px;
  }
  .supporting .cast-art {
    height: 180px;
  }
  .supporting h3 {
    font-size: 19px;
  }
  .play-layout {
    gap: 35px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .main-cast,
  .supporting {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .main-cast .cast-art {
    height: 280px;
  }
  .supporting .cast-art {
    height: 240px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .container {
    padding-inline: 24px;
  }
  .site-header {
    height: 70px;
    padding-inline: 20px;
    gap: 15px;
  }
  .brand {
    width: 87px;
  }
  .brand img {
    width: 85px;
    height: 60px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: none;
    color: var(--ink);
    margin-left: auto;
    font-size: 14px;
    padding: 12px 0;
  }
  .languages {
    font-size: 13px;
    gap: 8px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 24px 20px;
    box-shadow: 0 12px 20px #123e5515;
  }
  .site-header nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .site-header nav a {
    line-height: 48px;
  }
  .site-header nav a[aria-current]:after {
    bottom: 5px;
    right: auto;
    width: 30px;
  }
  html:not(.js) .site-header {
    height: auto;
    flex-wrap: wrap;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
  html:not(.js) .site-header nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    order: 3;
    gap: 0 24px;
    padding: 0 0 12px;
    box-shadow: none;
  }
  .hero {
    height: 790px;
  }
  .hero-scene {
    background-position: 52% 0;
  }
  .hero-cast {
    top: 0;
    height: 425px;
    overflow: hidden;
  }
  .hero-cast .hero-boar {
    width: 70%;
    left: -10%;
    top: -18px;
  }
  .hero-cast .hero-bear {
    width: 68%;
    left: 48%;
    top: 20px;
  }
  .hero-cast .hero-captain {
    width: 83%;
    left: 12%;
    top: 76px;
  }
  .hero-copy {
    margin: 0;
    width: 100%;
    padding: 340px 24px 0;
    text-align: center;
    background: linear-gradient(
      0deg,
      var(--sky) 0%,
      var(--sky) 43%,
      #edf7fa00 56%
    );
  }
  .hero-copy:before {
    display: none;
  }
  .hero-logo {
    width: 210px;
    height: 126px;
    margin: -16px auto 8px;
    filter: drop-shadow(0 2px 6px #fff);
  }
  .hero h1 {
    font-size: 37px;
    line-height: 1.13;
  }
  .hero-copy > p {
    font-size: 16px;
    margin-top: 12px;
  }
  .hero .actions {
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
  }
  .hero .button {
    font-size: 13px;
    padding: 13px 12px;
    gap: 8px;
    min-height: 49px;
  }
  .hero .button svg {
    width: 15px;
  }
  .wave {
    height: 38px;
  }
  .intro {
    padding: 8px 0 45px;
  }
  .intro h2 {
    font-size: 34px;
  }
  .intro-text {
    margin-top: 20px;
  }
  .facts {
    display: block;
    margin: 25px 0 0;
    padding-top: 10px;
    font-size: 21px;
  }
  .facts li {
    padding: 10px 0;
  }
  .facts li + li {
    border: 0;
  }
  .footnote {
    font-size: 11px;
  }
  .section-title {
    margin-top: 42px;
    align-items: flex-start;
    gap: 20px;
  }
  .section-title h2 {
    font-size: 31px;
  }
  .section-title .inline-link {
    font-size: 13px;
    white-space: nowrap;
    margin-top: 6px;
    gap: 5px;
  }
  .cast-grid.featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .featured .cast-art {
    height: 150px;
  }
  .featured .cast-art .portrait {
    width: 160%;
    margin-left: -30%;
  }
  .featured h3 {
    font-size: 17px;
    letter-spacing: -0.04em;
  }
  .world-section {
    padding: 45px 0;
  }
  .world-split,
  .split,
  .play-layout,
  .story-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .world-split h2 {
    font-size: 43px;
  }
  .world-split .world-map {
    order: -1;
  }
  .world-split h2:before,
  .invitation h2:before {
    margin-bottom: 18px;
    width: 55px;
  }
  .world-split p {
    margin-top: 18px;
  }
  .invitation {
    padding: 36px 0;
  }
  .invitation h2 {
    font-size: 38px;
  }
  .invitation .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .invitation .button {
    font-size: 15px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .studio {
    font-size: 22px;
  }
  .page-heading {
    padding: 42px 0 35px;
  }
  .page-heading h1 {
    font-size: 44px;
  }
  .page-heading p {
    margin-top: 18px;
  }
  .main-cast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }
  .main-cast .cast-art {
    height: 220px;
  }
  .main-cast .cast-art .portrait {
    width: 140%;
    margin-left: -20%;
  }
  .main-cast h3 {
    font-size: 24px;
  }
  .supporting-heading {
    margin-top: 50px;
    padding-top: 35px;
  }
  .supporting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .supporting .cast-art {
    height: 200px;
  }
  .supporting h3 {
    font-size: 23px;
  }
  .profile-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .profile-copy {
    padding-top: 25px;
    padding-bottom: 30px;
  }
  .profile h1 {
    font-size: 49px;
  }
  .profile-art {
    order: -1;
    height: 380px;
    overflow: hidden;
    margin: 0 -24px;
    background: linear-gradient(#d7eff6, var(--sky));
  }
  .profile-art .portrait {
    width: 390px;
    max-width: 110%;
    margin: 0 auto;
    transform: translateY(-3%);
  }
  .profile .back {
    margin-bottom: 16px;
  }
  .profile .role {
    font-size: 19px;
  }
  .profile .bio {
    font-size: 16px;
  }
  .roman-name {
    font-size: 21px;
    margin-top: 6px;
  }
  .glimpse h2 {
    font-size: 31px;
  }
  .wish {
    gap: 12px;
  }
  .wish-button {
    font-size: 14px;
  }
  .character-navigation {
    padding-inline: 16px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .character-strip {
    order: 3;
    flex-basis: 100%;
  }
  .character-strip > a {
    width: 74px;
  }
  .mini-art {
    height: 70px;
  }
  .privacy {
    font-size: 11px;
  }
  .story-block,
  .places {
    margin-top: 45px;
  }
  .story-block h2,
  .places h2 {
    font-size: 35px;
  }
  .scene-pair {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .play-scene {
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .destination h2 {
    font-size: 30px;
  }
  .destination p {
    font-size: 15px;
  }
  .play-layout {
    gap: 35px;
  }
  .world-page {
    padding-bottom: 45px;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero .button {
    font-size: 12px;
    padding: 12px 9px;
  }
  .hero {
    height: 760px;
  }
  .featured h3 {
    font-size: 15px;
  }
  .main-cast .cast-art {
    height: 180px;
  }
  .languages {
    gap: 5px;
  }
  .site-header {
    gap: 12px;
  }
  .menu-toggle span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* Keep forehead silhouettes intact in tight catalogue crops. */
.cast-art .portrait {
  transform: none;
}
.cast-card:hover .cast-art .portrait {
  transform: scale(1.025);
}
@media (max-width: 760px) {
  html[lang^="zh-"] .hero h1 {
    font-size: 28px;
    line-height: 1.35;
  }
  html[lang^="zh-"] .section-title h2 {
    font-size: 24px;
  }
  .section-title {
    gap: 12px;
  }
}
/* Reveal a complete Diced group together; no-JS still gets the static layers. */
.js .portrait:not([data-ready]) {
  visibility: hidden;
}
.portrait {
  transform-origin: center top;
}
@media (min-width: 1151px) {
  .hero-copy {
    padding-top: 48px;
  }
  .hero-logo {
    width: 440px;
    height: 340px;
  }
  .hero-cast .hero-boar {
    left: 26%;
    top: -105px;
    width: 52%;
  }
  .hero-cast .hero-captain {
    left: 40%;
    top: 108px;
    width: 60%;
  }
  .hero-cast .hero-bear {
    left: 62%;
    top: 0;
    width: 49%;
  }
}
@media (max-width: 760px) {
  .main-cast .cast-art {
    background: transparent;
  }
  .profile h1 {
    overflow-wrap: normal;
    font-size: clamp(36px, 10vw, 49px);
  }
}

@media (max-width: 760px) {
  .profile-art .portrait {
    transform: none;
    margin-top: 12px;
  }
}

.map-link {
  display: block;
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  cursor: zoom-in;
}
.map-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
.map-dialog {
  width: min(1500px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: white;
}
.map-dialog::backdrop {
  background: #071f30cc;
}
.map-dialog-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
}
.map-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #123e5520;
}
.map-toolbar button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--ink);
  background: white;
}
.map-viewport {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.map-viewport:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -3px;
}
.map-art {
  display: block;
  position: relative;
  width: 100%;
}
.map-art > .world-map {
  width: 100%;
}
.map-art > .map-location {
  position: absolute;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.map-viewport.original-size .map-art {
  width: 1400px;
  max-width: none;
}
body:has(.map-dialog[open]) {
  overflow: hidden;
}
