:root {
  --void: #05060c;
  --night: #08070f;
  --ink: #12101a;
  --dusk: #1c1628;
  --rose: #c45c6a;
  --rose-deep: #8a3848;
  --gold: #d4a054;
  --gold-bright: #f0c070;
  --cream: #f3e6d0;
  --mist: #c9b8a8;
  --mute: rgba(243, 230, 208, 0.58);
  --line: rgba(212, 160, 84, 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti TC", "Noto Serif TC", serif;
  --sans: "PingFang TC", "Hiragino Sans TC", "Noto Sans TC", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--sans);
  background: var(--void);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--gold-bright);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--night);
}

.skip:focus {
  top: 12px;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 22px 0;
  background: rgba(8, 7, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.mark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  min-width: 5.5rem;
  padding-bottom: 10px;
}

.mark-zh {
  font-family: var(--serif);
  letter-spacing: 0.42em;
  font-size: 0.98rem;
}

.mark-en {
  font-size: 0.58rem;
  letter-spacing: 0.48em;
  color: var(--gold);
}

.catbar {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  margin-left: auto;
  flex: 1;
  min-width: 0;
}

.catbar > a,
.catbar .menu > a,
.catbar .menu-caret {
  display: block;
  padding: 10px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.catbar .menu {
  position: relative;
  display: flex;
  align-items: stretch;
}

.catbar .menu > a {
  padding-right: 6px;
}

.catbar .menu-caret {
  padding: 10px 10px 10px 2px;
  cursor: pointer;
  color: var(--gold);
}

.catbar .cat-home { border-bottom-color: #6a5a9a; }
.catbar .cat-works > a,
.catbar .cat-works > button { border-bottom-color: #d4a054; }
.catbar .cat-travel > a,
.catbar .cat-travel > button { border-bottom-color: #7eb8b0; }
.catbar .cat-forum { border-bottom-color: #6a5a9a; }
.catbar .cat-news > a,
.catbar .cat-news > button { border-bottom-color: #c45c6a; }
.catbar .cat-about { border-bottom-color: #7eb8b0; }
.catbar .cat-contact { border-bottom-color: #c9b8a8; }

.catbar > a:hover,
.catbar > a:focus-visible,
.catbar > a.is-active,
.catbar > a[aria-current="page"],
.catbar .menu > a:hover,
.catbar .menu > a:focus-visible,
.catbar .menu-caret:hover,
.catbar .menu-caret:focus-visible,
.catbar .menu.is-active > a,
.catbar .menu.is-active > button,
.catbar .menu.is-open > a,
.catbar .menu.is-open > button,
.catbar .menu:hover > a,
.catbar .menu:hover > button {
  color: var(--gold-bright);
  background: rgba(243, 230, 208, 0.06);
}

.menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 260px;
  max-width: min(420px, 92vw);
  max-height: 70vh;
  overflow: auto;
  padding: 8px;
  background: #1a1424;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(4, 4, 12, 0.55);
}

.catbar .menu:hover .menu-panel,
.catbar .menu.is-open .menu-panel {
  display: grid;
}

.menu-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 3px;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: rgba(240, 192, 112, 0.12);
  color: var(--gold-bright);
}

.menu-more {
  color: var(--gold) !important;
  font-weight: 700 !important;
}

.tag {
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
}

.staff-quiet {
  color: rgba(243, 230, 208, 0.22);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.staff-quiet:hover,
.staff-quiet:focus-visible {
  color: rgba(243, 230, 208, 0.55);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #16121c;
  color: var(--cream);
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}

.drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px 16px;
  background: #100e16;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 19;
}

.drawer > a,
.drawer-cat-row > a {
  color: var(--cream);
  text-decoration: none;
  padding: 10px 4px;
}

.drawer a[aria-current="page"],
.drawer .is-active > a,
.drawer .drawer-cat-row > a[aria-current="page"] {
  color: var(--gold-bright);
}

.drawer-cat-row {
  display: flex;
  align-items: center;
}

.drawer-cat-row > a {
  flex: 1;
}

.drawer .menu-caret {
  border: 0;
  background: transparent;
  color: var(--gold);
  padding: 10px 8px;
  font: inherit;
  cursor: pointer;
}

.drawer .menu-panel {
  position: static;
  display: none;
  min-width: 0;
  max-width: none;
  max-height: none;
  margin: 0 0 8px;
  background: #16121c;
  box-shadow: none;
}

.drawer .menu.is-open .menu-panel {
  display: grid;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 72% 22%, rgba(240, 192, 112, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 18% 70%, rgba(196, 92, 106, 0.2), transparent 62%);
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(90, 40, 56, 0.28) 28%, rgba(196, 92, 106, 0.35) 52%, rgba(224, 138, 98, 0.42) 72%, rgba(20, 12, 18, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 7vw 9vh;
  max-width: 44rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--gold-bright);
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.brand-zh {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  letter-spacing: 0.72em;
  color: rgba(243, 230, 208, 0.42);
}

.brand-en {
  margin: 0.35rem 0 1.4rem;
  font-size: clamp(0.62rem, 1.6vw, 0.74rem);
  letter-spacing: 0.56em;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 6.4vw, 4.1rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: 0 16px 48px rgba(5, 6, 12, 0.55);
}

.lede-en {
  margin: 1rem 0 0;
  color: var(--gold);
  font-size: 1.02rem;
}

.lede {
  margin: 0.7rem 0 1.5rem;
  color: var(--mist);
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-gold {
  border: 0;
  background: var(--gold);
  color: var(--night);
  font-weight: 600;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-bright);
  color: var(--night);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(8, 7, 15, 0.4);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.soon-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 1.1rem 0 0;
  color: var(--mute);
  font-size: 0.88rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.strip,
.works,
.news,
.about-band,
.contact-band,
.page-body {
  position: relative;
  z-index: 1;
}

.strip {
  border-block: 1px solid var(--line);
  background: rgba(16, 14, 24, 0.94);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 7vw;
}

.strip p {
  margin: 0;
}

.strip strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
}

.strip span {
  color: var(--mute);
  font-size: 0.82rem;
}

.works,
.news,
.about-band,
.contact-band,
.page-body {
  padding: 5.4rem 7vw;
}

.works,
.page-body {
  background: rgba(10, 9, 16, 0.94);
}

.news {
  background: rgba(14, 11, 18, 0.96);
}

.about-band {
  background:
    radial-gradient(ellipse 80% 70% at 0% 80%, rgba(196, 92, 106, 0.16), transparent 55%),
    rgba(12, 10, 18, 0.96);
}

.contact-band {
  background: rgba(8, 7, 14, 0.96);
}

.sec-head {
  max-width: 42rem;
  margin: 0 auto 2.6rem;
}

.sec-en {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.sec-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
}

.sec-sub {
  margin: 0;
  color: var(--mute);
}

.work-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  background: var(--ink);
  border: 1px solid var(--line);
  min-height: 100%;
  overflow: hidden;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: var(--gold);
  color: inherit;
}

.work-poster {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.work-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 15, 0.92));
}

.poster-mcrp {
  background:
    radial-gradient(circle at 78% 28%, #f0c070 0 8%, transparent 26%),
    linear-gradient(180deg, #2a1620 0%, #c45c6a 46%, #e08a62 68%, #1c1014 68.2%);
}

.poster-mcrp::before {
  content: "";
  position: absolute;
  left: 18%;
  bottom: 18%;
  width: 64%;
  height: 44%;
  background:
    linear-gradient(135deg, transparent 40%, #140c12 40% 56%, transparent 56%),
    linear-gradient(160deg, transparent 28%, #1a1010 28% 46%, transparent 46%);
}

.poster-mv {
  background:
    radial-gradient(circle at 50% 38%, rgba(240, 192, 112, 0.35) 0 6%, transparent 28%),
    radial-gradient(ellipse at 50% 100%, #3a2a68 0 30%, transparent 55%),
    linear-gradient(180deg, #080814, #1a1838 55%, #0c0c18);
}

.poster-mv::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 88px;
  height: 88px;
  transform: translateX(-50%);
  border: 2px solid rgba(240, 192, 112, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(240, 192, 112, 0.25);
}

.poster-games {
  background:
    radial-gradient(circle at 22% 30%, rgba(240, 192, 112, 0.4) 0 8%, transparent 28%),
    linear-gradient(180deg, #1a1018 0%, #8a3848 48%, #d4a054 70%, #120c12 70.4%);
}

.poster-anime {
  background:
    linear-gradient(90deg, rgba(8, 7, 15, 0.2), transparent 40%),
    linear-gradient(180deg, #1c1020 0%, #c45c6a 42%, #f0c070 78%, #140c14 78.4%);
}

.poster-travel {
  background:
    radial-gradient(circle at 70% 30%, rgba(126, 184, 176, 0.45) 0 10%, transparent 32%),
    linear-gradient(180deg, #101820 0%, #3a4a68 46%, #d4a054 72%, #0c1014 72.3%);
}

.poster-myst {
  background:
    radial-gradient(circle at 50% 18%, rgba(240, 192, 112, 0.28) 0 4%, transparent 18%),
    radial-gradient(ellipse at 50% 100%, #2a1848 0 28%, transparent 55%),
    linear-gradient(180deg, #08060e, #1a1028 60%, #0a0812);
}

.poster-aut {
  background:
    linear-gradient(180deg, #140c14 0 18%, transparent 18% 82%, #140c14 82%),
    linear-gradient(180deg, #2a1624 0%, #c45c78 52%, #3a2218 100%);
}

.poster-aut::before {
  content: "";
  position: absolute;
  left: 38%;
  bottom: 22%;
  width: 18px;
  height: 42px;
  background: #120c12;
  box-shadow: 28px 0 0 #120c12;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.work-body {
  padding: 16px 16px 18px;
}

.work-meta {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.work-en {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.86rem;
}

.work-body p {
  margin: 0;
  color: var(--mist);
  font-size: 0.92rem;
}

.status-pill {
  display: inline-block;
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  padding: 3px 9px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
}

.news-list li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 18px;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.news-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.news-list a {
  text-decoration: none;
  color: inherit;
}

.news-list strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.18rem;
  margin-bottom: 0.25rem;
}

.news-list a:hover strong,
.news-list a:focus-visible strong {
  color: var(--gold-bright);
}

.news-list .excerpt {
  margin: 0;
  color: var(--mist);
}

.about-grid,
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-copy p,
.contact-copy p {
  margin: 0 0 0.9rem;
  color: var(--mist);
  max-width: 38rem;
}

.about-aside,
.contact-aside {
  padding: 22px 20px;
  background: var(--ink);
  border: 1px solid var(--line);
}

.about-aside p,
.contact-aside p {
  margin: 0 0 0.6rem;
  color: var(--mist);
}

.about-aside p:last-child,
.contact-aside p:last-child {
  margin-bottom: 0;
}

.page-banner {
  position: relative;
  z-index: 1;
  padding: 4.2rem 7vw 2.6rem;
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(240, 192, 112, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(24, 18, 36, 0.92) 0%, rgba(8, 7, 15, 0.96) 100%);
  border-bottom: 1px solid var(--line);
}

.page-banner .kicker {
  margin-bottom: 0.4rem;
}

.page-banner h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.1em;
}

.page-banner .lede {
  margin: 0.8rem 0 0;
  max-width: 36rem;
}

.prose {
  max-width: 40rem;
  margin: 0 auto;
}

.prose h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--mist);
}

.prose .lede-en {
  margin-bottom: 1.2rem;
}

.site-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr 0.8fr;
  gap: 32px;
  padding: 2.6rem 7vw 3.2rem;
  border-top: 1px solid var(--line);
  background: #07060c;
}

.library-featured {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 22px;
  background: var(--ink);
  border: 1px solid var(--line);
}

.library-featured .poster {
  min-height: 240px;
}

.library-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.shelf {
  max-width: 1100px;
  margin: 0 auto;
}

.shelf h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.empty-slot {
  border: 1px dashed var(--line);
  padding: 22px 18px;
  color: var(--mute);
  min-height: 160px;
}

.limit-banner {
  max-width: 1100px;
  margin: 0 auto 1.6rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(196, 92, 106, 0.1);
  color: var(--mist);
  font-size: 0.92rem;
}

.subbar {
  position: relative;
  z-index: 18;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 22px;
  background: rgba(12, 10, 18, 0.92);
  border-bottom: 1px solid var(--line);
}

.subbar a {
  color: var(--mist);
  text-decoration: none;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.subbar a[aria-current="page"],
.subbar a:hover {
  color: var(--gold-bright);
}

.form-stack {
  display: grid;
  gap: 10px;
  max-width: 28rem;
}

.form-stack label {
  display: grid;
  gap: 4px;
  color: var(--mist);
  font-size: 0.9rem;
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  font: inherit;
  color: var(--cream);
  background: #120e18;
  border: 1px solid var(--line);
  padding: 8px 10px;
}

.form-error {
  color: #e08a8a;
  min-height: 1.2em;
  margin: 0;
}

.tos-check {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
}

.tos-check input {
  margin-top: 4px;
}

.foot-zh {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: 0.32em;
  font-size: 1.2rem;
}

.foot-en {
  margin: 0.35rem 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.foot-note,
.foot-col p {
  margin: 0 0 0.4rem;
  color: var(--mute);
  font-size: 0.86rem;
}

.foot-col h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.foot-col a {
  display: block;
  margin: 0 0 0.35rem;
  text-decoration: none;
}

.foot-staff {
  color: rgba(243, 230, 208, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.err {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 8vh 24px;
}

.err h1 {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.12em;
}

[id] {
  scroll-margin-top: 5.5rem;
}

@media (max-width: 860px) {
  .catbar {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .drawer.is-open {
    display: flex;
  }

  .strip-inner,
  .work-grid,
  .about-grid,
  .contact-grid,
  .library-featured,
  .site-foot {
    grid-template-columns: 1fr;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    padding: 10px 14px;
  }

  .strip-inner,
  .works,
  .news,
  .about-band,
  .contact-band,
  .page-body,
  .page-banner {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero-copy {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .work-poster {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dot {
    box-shadow: none;
  }
}
