:root {
  --ink: #28251f;
  --paper: #f8f5ee;
  --line: #c9c1af;
  --muted: #666051;
  --gold: #b8924a;
  --red: #923a2d;
  --serif:
    Georgia, "Songti TC", "Noto Serif CJK TC", "PMingLiU", "SimSun", serif;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
}
button,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
  padding: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ae672e;
  outline-offset: 4px;
}
button:hover,
a:hover {
  filter: brightness(0.94);
}
button[hidden],
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
p {
  line-height: 1.72;
}
h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.25rem);
  letter-spacing: -0.05em;
}
h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: -0.035em;
}
:lang(zh-Hant) h1,
:lang(zh-Hans) h1,
:lang(zh-Hant) h2,
:lang(zh-Hans) h2,
:lang(zh-Hant) h3,
:lang(zh-Hans) h3 {
  letter-spacing: 0.018em;
  line-height: 1.23;
}
:lang(zh-Hant) h1 i,
:lang(zh-Hans) h1 i {
  font-style: normal;
}
.wrap {
  width: min(calc(100% - 112px), 1280px);
  margin-inline: auto;
}
.section {
  padding-block: clamp(48px, 6vw, 92px);
}
[id] {
  scroll-margin-top: 90px;
}
.eyebrow,
.micro,
.product-label,
.plate {
  font-family: var(--sans);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow b {
  width: 29px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.micro {
  font-size: 0.76rem;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.headrow {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font: 600 1.34rem/1 var(--serif);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.045em;
}
.brand i {
  font-weight: 400;
}
.mark,
.small-seal,
.art-seal {
  font:
    400 1.05rem/1 "KaiTi",
    "DFKai-SB",
    var(--serif);
  background: #923a2d;
  color: #fff5dc;
  display: inline-grid;
  place-items: center;
  outline: 1px solid #bb7059;
  outline-offset: -4px;
  width: 33px;
  height: 33px;
  border-radius: 2px;
}
.headrow nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
}
.headrow nav a {
  text-decoration: none;
  font-size: 0.9rem;
}
.headrow nav a:hover,
.network a:hover {
  text-decoration: underline;
}
.languages {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 50px;
  align-items: center;
}
.languages button {
  min-width: 35px;
  min-height: 30px;
  padding: 2px 8px;
  font-size: 0.8rem;
  border-radius: 40px;
}
.languages button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.sectionhead h2,
.section h2 {
  margin-bottom: 22px;
}
.storebadge {
  display: inline-flex;
  align-items: center;
  width: auto;
}
.storebadge img {
  width: auto;
  height: 43px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 10px 19px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 44px;
}
.downloads,
.poster-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.qrtrigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.875rem;
}
.qr-symbol {
  font-size: 1.4rem;
}
.hero-note {
  max-width: 43ch;
}
.hero-sub {
  font: 400 clamp(1.45rem, 2.5vw, 2.25rem) / 1.35 var(--serif);
  text-wrap: balance;
}
.duo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 98px);
  align-items: center;
}
.duo p {
  max-width: 61ch;
}
.section > p {
  margin-bottom: 24px;
}
footer {
  background: #252a26;
  color: #f3efe5;
}
.foot {
  padding-block: 48px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 31px;
}
.foot p {
  color: #d3d4c9;
  max-width: 52ch;
  font-size: 0.88rem;
  margin-top: 16px;
}
.footlinks,
.network {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-content: flex-start;
}
.footlinks {
  justify-content: flex-end;
}
.foot a {
  font-size: 0.86rem;
}
.foot .brand {
  font-size: 1.45rem;
}
.network {
  grid-column: 1/-1;
  border-top: 1px solid #65675a;
  padding-top: 19px;
}
.network a {
  text-decoration: none;
}
.studio {
  background: #f7f4ec;
}
.studio-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 0 35px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 24px;
}
.studio-intro .eyebrow {
  color: #745642;
}
.studio-intro h1 {
  font-family: Georgia, var(--serif);
  font-size: clamp(4.75rem, 7vw, 7.3rem);
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
}
.studio-intro h1 i {
  font-style: italic;
  font-weight: 400;
}
.small-seal {
  display: inline-grid;
  vertical-align: top;
  margin: 7px 0 0 15px;
  width: 25px;
  height: 45px;
  font-size: 0.88rem;
  line-height: 1.08;
  letter-spacing: 0;
}
.studio-intro p {
  max-width: 25ch;
  font: italic 1.38rem/1.4 var(--serif);
  color: #615846;
  text-wrap: balance;
}
.posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px;
}
.poster {
  border: 1px solid #514d3f;
}
.poster-art {
  position: relative;
  margin: 12px 12px 0;
  overflow: hidden;
  height: clamp(218px, 21vw, 325px);
}
.poster-art > a,
.poster-art img {
  width: 100%;
  height: 100%;
  display: block;
}
.poster-art img {
  object-fit: cover;
  transition: transform 0.45s ease;
}
.poster-art:hover img {
  transform: scale(1.025);
}
.bazi-poster .poster-art img {
  object-position: 50% 47%;
}
.plate {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #231e16;
  color: #fff5db;
  padding: 5px 11px;
  pointer-events: none;
  font-size: 0.74rem;
}
.duba-poster .plate {
  background: #fff7e6;
  color: #664633;
}
.bazi-poster {
  background: #203f3f;
  color: #faf2d9;
}
.duba-poster {
  background: #f4e7cd;
  color: #463b2f;
  border-color: #c8b795;
}
.poster-caption {
  padding: 23px clamp(21px, 2.6vw, 42px) 27px;
}
.product-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.product-label img {
  border-radius: 6px;
}
.poster-caption h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 8px 0 12px;
}
.poster-caption p {
  max-width: 54ch;
  font-size: 0.98rem;
  min-height: 3.4em;
}
.poster-actions {
  gap: 15px;
  margin-top: 20px;
}
.poster-actions .storebadge img {
  height: 40px;
}
.poster-actions .button {
  min-height: 40px;
  padding: 6px 17px;
}
.bazi-poster .button {
  background: #efe1bf;
  color: #263d3a;
  border-color: #efe1bf;
}
.duba-poster .button {
  background: #624d39;
  color: white;
  border-color: #624d39;
}
.atelier,
.support-section {
  margin-block: 70px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  padding-block: 25px;
  gap: 28px;
}
.principles article + article {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.glyph {
  font: italic 2.25rem/1.3 var(--serif);
  color: #84643c;
}
.principles h3 {
  margin: 9px 0;
}
.support-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
}
.support-section h2 {
  margin-bottom: 12px;
}
.supportline {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.supportline div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  margin-top: 8px;
}
.bazi {
  --paper: #f4ecdd;
  --ink: #221e19;
  --line: #c6b89c;
  background: var(--paper);
}
.bazi .masthead,
.bazi-hero {
  background: #15110e;
  color: #f4ecdd;
}
.bazi .masthead {
  border-color: #534b38;
}
.bazi .languages {
  border-color: #776c56;
}
.bazi .languages button[aria-pressed="true"] {
  background: #ebddc0;
  color: #24201b;
}
.bazi-hero {
  overflow: hidden;
  background: radial-gradient(
    ellipse at 78% 45%,
    #343328 0%,
    #1b1914 32%,
    #15110e 66%
  );
}
.bazi-layout,
.duba-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}
.bazi-layout {
  min-height: 560px;
  padding-block: 30px 40px;
}
.bazi-copy {
  padding-left: 1.5vw;
}
.bazi-copy .eyebrow,
.gallery-section .eyebrow {
  color: #e2bd79;
}
.bazi-copy h1 {
  font-size: clamp(4.35rem, 6.65vw, 7.3rem);
  line-height: 0.98;
  letter-spacing: -0.063em;
  margin: 24px 0;
}
.bazi-copy h1 i {
  color: #dbb878;
}
.bazi-copy .hero-sub {
  max-width: 27ch;
}
.bazi-copy .hero-note {
  color: #c9c0ac;
  margin: 14px 0 25px;
}
.instrument {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}
.orbit,
.ring {
  position: absolute;
  width: min(88%, 460px);
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
}
.orbit {
  border: 1px solid #7c6948;
  border-radius: 50%;
  width: min(95%, 494px);
  outline: 1px dashed #655940;
  outline-offset: 6px;
}
.outer {
  animation: turn 110s linear infinite;
}
.inner {
  animation: turn 76s linear infinite reverse;
}
.phone {
  width: 158px;
  position: relative;
  background: #25211a;
  padding: 5px;
  border-radius: 21px;
  box-shadow:
    0 0 0 1px #c5bda8,
    0 12px 30px #0009;
}
.phone img {
  width: 100%;
  aspect-ratio: 1290/2796;
  object-fit: cover;
  border-radius: 16px;
}
.screen-nav {
  position: absolute;
  bottom: -3px;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px 10px;
  color: #e3d7bf;
  border: 1px solid #625945;
  background: #1f1c15;
  border-radius: 25px;
}
.screen-nav span {
  font-size: 0.76rem;
  margin-right: 7px;
}
.screen-nav button {
  width: 23px;
  height: 26px;
  display: grid;
  place-items: center;
}
.screen-nav button:after {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid #cdbb97;
  border-radius: 50%;
}
.screen-nav button[aria-pressed="true"]:after {
  background: #e0be81;
}
@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}
.bazi-index {
  background: #244b50;
  color: #f5e9cb;
}
.bazi-index > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 17px;
}
.bazi-index a {
  font-family: var(--serif);
  text-decoration: none;
}
.reading-card,
.solar-display,
.book-page {
  border: 1px solid #bda984;
  background: #faf4e7;
}
.banner {
  width: 100%;
  aspect-ratio: 3.6;
  object-fit: cover;
}
.reading-body {
  padding: 21px;
}
.tabs,
.city-buttons,
.pet-picker,
.pet-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tabs button,
.city-buttons button {
  border: 1px solid #ad9f85;
  padding: 7px 12px;
  font-size: 0.875rem;
  min-height: 36px;
}
.tabs button[aria-pressed="true"],
.city-buttons button[aria-pressed="true"] {
  background: #244b50;
  color: #fff7e7;
  border-color: #244b50;
}
.reading-body p {
  margin-top: 17px;
  min-height: 4.7em;
}
.solar-section {
  background: #e8decb;
  border-block: 1px solid #cbbca2;
}
.city-buttons {
  margin-top: 18px;
}
.solar-display {
  padding: clamp(20px, 3vw, 44px);
  box-shadow: 5px 5px 0 #d2c6b1;
}
.display-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.display-label span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.clocks {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 22px 0;
}
.clocks small {
  display: block;
}
.clocks strong {
  font: 400 clamp(2.6rem, 4.2vw, 4.6rem) / 1.2 var(--serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
}
.clocks > span {
  color: #946c32;
}
.solar-display h3 {
  color: #714526;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.solar-display p {
  font-size: 0.9rem;
}
.gallery-section {
  background: #1f211b;
  color: #f2e6cd;
}
.gallery-section p {
  color: #d1c8b5;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 18px;
}
.art-card {
  display: block;
  text-align: left;
  background: #302e24;
  border: 1px solid #776a4e;
  padding: 8px;
}
.art-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.art-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 4px 4px;
  font-family: var(--serif);
}
.art-card i {
  font-style: normal;
  color: #dbbd81;
}
.book-page {
  padding: 8px;
  box-shadow: 5px 5px 0 #dfcfb3;
}
.book-page > div {
  padding: 20px 24px 26px;
}
.book-page h3 {
  margin: 12px 0;
}
.book-page blockquote,
.letters blockquote {
  font: italic 1.2rem/1.65 var(--serif);
}
.book-intro details {
  margin-top: 16px;
}
.match {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
}
.match img {
  aspect-ratio: 3;
  object-fit: cover;
  width: 100%;
}
.match h3 {
  margin-bottom: 6px;
}
.faq {
  background: #e8decb;
}
.faq .duo {
  align-items: start;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
summary {
  list-style: none;
  position: relative;
  padding-right: 28px;
  font-weight: 550;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 0;
}
details[open] > summary::after {
  content: "−";
}
details p,
details .toc {
  padding: 12px 0 0;
}
.toc {
  list-style-position: inside;
  margin: 0;
}
.toc li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toc li img {
  width: 74px;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #958869;
  max-height: 88dvh;
  overflow: auto;
  width: min(90vw, 700px);
  padding: 22px;
  box-shadow: 0 15px 75px #0005;
}
dialog::backdrop {
  background: #15110ecc;
}
.dialogtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 17px;
  font-size: 0.87rem;
  letter-spacing: 0.04em;
}
.dialogtop button {
  font-size: 1.65rem;
  width: 44px;
  height: 40px;
}
.art-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.art-detail img {
  width: 100%;
}
.art-detail h2,
.qr h2 {
  font-size: 2rem;
  margin-block: 14px;
}
.art-detail p {
  font-size: 0.96rem;
}
.qr {
  max-width: 360px;
  text-align: center;
}
.qr > img {
  margin: 12px auto;
}
.qr p {
  margin: 12px;
}
.qr .storebadge {
  margin: 4px auto;
}

.duba {
  --paper: #fffdf7;
  --ink: #3d312a;
  --line: #d8c9b4;
  background: var(--paper);
}
.duba .mark {
  background: #7b5940;
}
.duba-hero {
  background-color: #f7efdf;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 5px, #9a704408 5px 6px),
    repeating-linear-gradient(90deg, transparent 0 4px, #9a704409 4px 5px);
  border-bottom: 1px solid #cebea7;
}
.duba-layout {
  gap: clamp(30px, 6vw, 94px);
  padding: 55px 2vw 46px;
  min-height: 558px;
}
.duba-copy .eyebrow,
.duba .section .eyebrow {
  color: #856146;
}
.duba-copy h1 {
  font-size: clamp(4.3rem, 7vw, 7.8rem);
  letter-spacing: -0.07em;
  margin-bottom: 16px;
}
.duba-copy h1 i {
  display: block;
  color: #a44b2f;
}
.duba-copy:lang(zh-Hant) h1 i,
.duba-copy:lang(zh-Hans) h1 i {
  display: inline;
}
.duba-copy .hero-note {
  margin: 16px 0 25px;
  color: #655444;
}
.stage-board {
  background: #fffcf2;
  position: relative;
  border: 1px solid #cab99a;
  border-radius: 9px 9px 15px 15px;
  box-shadow:
    2px 5px 0 -1px #fbf3e2,
    2px 6px 0 #c9b897,
    4px 10px 0 -1px #f6edda,
    4px 11px 0 #ccbb9f,
    7px 15px 23px #583d1c19;
  padding: 13px 15px 11px;
  transform: rotate(0.65deg);
}
.binder {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -12px;
  left: 13%;
  right: 13%;
  pointer-events: none;
}
.binder i {
  width: 8px;
  height: 25px;
  background: #837b63;
  border: 1px solid #514f3e;
  border-radius: 6px;
  box-shadow: 0 2px 0 2px #dbcca9;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: italic 1rem var(--serif);
  padding: 4px 4px 8px;
  border-bottom: 1px dashed #bbaa8c;
  color: #6c7158;
}
.tiny-flower {
  font-size: 1.55rem;
  line-height: 1;
  color: #a45934;
}
.pet-scene {
  height: 232px;
  position: relative;
  display: grid;
  place-items: end center;
  background: #eee3ce url(/web-assets/stage-room.webp) center/cover;
  border-radius: 4px;
  margin-top: 9px;
}
.pet-scene button {
  width: 195px;
  height: 185px;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}
.pet-scene img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pet-scene picture {
  width: 100%;
  height: 100%;
}
#bubble {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 94%;
  width: max-content;
  background: #fff8e7;
  color: #523d31;
  border: 1px solid #ae9571;
  border-radius: 15px 13px 13px 2px;
  padding: 5px 13px;
  font-size: 0.86rem;
  text-align: center;
  pointer-events: none;
}
.pet-picker {
  justify-content: center;
  gap: 5px;
  margin: 12px 0 9px;
}
.pet-picker button,
.pet-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #c9bca2;
  border-radius: 30px;
  font-size: 0.88rem;
  padding: 4px 10px;
  min-height: 36px;
}
.pet-picker img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
}
.pet-picker button[aria-pressed="true"] {
  border-color: #697d5c;
  background: #e7eadd;
  color: #324b38;
}
.pet-actions {
  justify-content: center;
  gap: 9px;
}
.pet-actions button {
  background: #f3e4cb;
  padding: 5px 15px;
  border-color: #cbb697;
}
.pet-actions button:nth-child(2) {
  background: #eadcc2;
}
.tap-hint {
  display: block;
  text-align: center;
  font-size: 0.76rem;
  color: #6c5b4f;
  margin-top: 7px;
}
.almanac-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 65px;
}
.almanac-list details {
  padding: 17px 0;
}
.almanac-list summary {
  font: 400 1.45rem var(--serif);
}
.scene-print {
  padding: 10px 10px 7px;
  background: #fbf6eb;
  border: 1px solid #cdbc9e;
  transform: rotate(-1deg);
}
.scene-print img {
  width: 100%;
  aspect-ratio: 2.05;
  object-fit: cover;
}
.scene-print figcaption,
.screens figcaption {
  font-size: 0.8rem;
  margin-top: 7px;
  text-align: center;
}
.treehouse {
  background: #e6ecdf;
  border-block: 1px solid #c1cfba;
}
.letters {
  border: 1px solid #bbc5ad;
  background: #fffdf4;
  padding: clamp(20px, 3vw, 42px);
  box-shadow: 5px 5px 0 #d5dbc7;
}
.letters .tabs button[aria-pressed="true"] {
  background: #495e49;
  border-color: #495e49;
}
.letters small {
  display: block;
  margin: 18px 0 8px;
  color: #6d725b;
}
.letters blockquote {
  border-top: 1px dashed #b7bda8;
  padding-top: 10px;
  margin-top: 12px;
}
.collection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wardrobe-card,
.stamp-card {
  background: #f6efe2;
  border: 1px solid var(--line);
  padding: 22px;
  text-align: center;
  border-radius: 10px;
}
.collection label {
  display: block;
  font: 400 1.55rem var(--serif);
}
.wardrobe-card > img {
  width: 100%;
  height: 225px;
  object-fit: contain;
  margin: 12px 0;
}
.stamp-frame {
  max-width: 320px;
  margin: 20px auto;
  background: #fff9e8;
  border: 6px dotted #e5d8bb;
  padding: 5px;
  transform: rotate(-2deg);
}
.stamp-frame img {
  width: 100%;
  height: 186px;
  object-fit: cover;
}
.ward-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.collection select {
  background: #fffcf2;
  color: #403729;
  border: 1px solid #b4a384;
  padding: 8px 10px;
  max-width: 100%;
  border-radius: 5px;
}
.duba-store {
  background: #f1e8d7;
}
.store-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.screens {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}
.screens img {
  width: 100%;
  border: 1px solid #c8b99f;
  border-radius: 7px;
}
.duba footer {
  background: #35483d;
}
@media (min-width: 1600px) {
  .bazi-layout,
  .duba-layout {
    min-height: 630px;
  }
  .instrument {
    min-height: 515px;
  }
  .phone {
    width: 180px;
  }
}
@media (max-width: 960px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .headrow {
    gap: 20px;
  }
  .headrow nav {
    gap: 16px;
  }
  .bazi-layout,
  .duba-layout {
    gap: 18px;
  }
  .bazi-copy,
  .duba-layout {
    padding-inline: 0;
  }
  .bazi-copy h1,
  .duba-copy h1 {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }
  .instrument {
    min-height: 400px;
  }
  .phone {
    width: 136px;
  }
  .bazi-layout {
    min-height: 485px;
  }
  .studio-intro h1 {
    font-size: clamp(3.1rem, 8vw, 5.4rem);
  }
  .studio-intro p {
    max-width: 19ch;
    font-size: 1.1rem;
  }
  .pet-picker button {
    padding: 3px 7px;
  }
  .pet-picker img {
    width: 22px;
    height: 22px;
  }
  .duo {
    gap: 30px;
  }
  .bazi-index .micro {
    display: none;
  }
  .poster-caption {
    padding: 20px;
  }
  .poster-actions {
    flex-wrap: wrap;
  }
  .almanac-grid {
    gap: 30px;
  }
  .art-card > span {
    font-size: 0.9rem;
  }
  .footlinks {
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .headrow {
    min-height: 55px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .headrow nav {
    display: none;
  }
  .languages {
    margin-left: auto;
  }
  .brand {
    font-size: 1.18rem;
  }
  .mark {
    width: 28px;
    height: 28px;
  }
  .languages button {
    min-height: 31px;
    min-width: 32px;
  }
  .eyebrow {
    font-size: 0.73rem;
    letter-spacing: 0.095em;
    gap: 8px;
    margin-bottom: 12px;
  }
  .eyebrow b {
    width: 20px;
  }
  .section {
    padding-block: 42px;
  }
  .foot,
  .support-section,
  .duo,
  .almanac-grid,
  .collection,
  .art-detail {
    grid-template-columns: 1fr;
  }
  .foot {
    padding-block: 34px;
    gap: 22px;
  }
  .footlinks,
  .network {
    gap: 12px 16px;
  }
  .studio-intro {
    display: block;
    padding: 31px 0 19px;
    margin-bottom: 16px;
  }
  .studio-intro h1 {
    font-size: clamp(2.85rem, 12vw, 5.5rem);
  }
  .studio-intro p {
    max-width: 100%;
    font-size: 1.04rem;
    margin-top: 13px;
    text-wrap: pretty;
  }
  .small-seal {
    width: 18px;
    height: 31px;
    font-size: 0.65rem;
    margin: 3px 0 0 7px;
  }
  .posters {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .poster-art {
    height: clamp(180px, 48vw, 280px);
    margin: 9px 9px 0;
  }
  .poster-caption h2 {
    margin: 8px 0;
    font-size: 2.55rem;
  }
  .poster-caption p {
    min-height: 0;
  }
  .poster-caption {
    padding: 16px 18px 20px;
  }
  .poster-actions {
    margin-top: 15px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .principles article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }
  .principles .glyph {
    float: right;
  }
  .atelier,
  .support-section {
    margin-block: 41px;
  }
  .support-section {
    gap: 20px;
  }
  .bazi-layout,
  .duba-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bazi-layout {
    padding: 31px 0 28px;
  }
  .bazi-copy h1 {
    font-size: clamp(3.25rem, 12.6vw, 5.3rem);
    margin: 14px 0;
  }
  .hero-sub {
    font-size: 1.38rem;
  }
  .bazi-copy .hero-note,
  .duba-copy .hero-note {
    font-size: 0.94rem;
    margin: 10px 0 15px;
  }
  .bazi-copy .hero-sub {
    max-width: 100%;
  }
  .qrtrigger {
    display: none;
  }
  .storebadge img {
    height: 40px;
  }
  .instrument {
    min-height: 300px;
    margin: 3px auto 0;
    width: min(100%, 400px);
  }
  .ring {
    width: 254px;
  }
  .orbit {
    width: 275px;
  }
  .phone {
    width: 103px;
    border-radius: 16px;
    padding: 3px;
  }
  .phone img {
    border-radius: 13px;
  }
  .screen-nav {
    bottom: -9px;
  }
  .bazi-index > .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 14px;
    padding: 11px 0;
  }
  .bazi-index a {
    font-size: 0.88rem;
    padding-block: 3px;
  }
  .section h2,
  .sectionhead h2 {
    margin-bottom: 15px;
  }
  .duo {
    gap: 22px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .art-card {
    padding: 5px;
  }
  .art-card > span {
    font-size: 0.87rem;
  }
  .clocks {
    gap: 20px;
  }
  .reading-body {
    padding: 14px;
  }
  .reading-body p {
    min-height: 0;
  }
  .tabs button,
  .city-buttons button {
    font-size: 0.83rem;
  }
  .match {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .art-detail {
    gap: 15px;
  }
  .art-detail img {
    max-height: 31dvh;
    object-fit: contain;
  }
  .duba-layout {
    padding: 31px 0 30px;
    gap: 25px;
  }
  .duba-copy h1 {
    font-size: clamp(3.2rem, 12vw, 5rem);
    margin-bottom: 8px;
  }
  .duba-copy h1 i {
    display: inline;
    margin-left: 0.15em;
  }
  .duba-copy:lang(zh-Hant) h1 i,
  .duba-copy:lang(zh-Hans) h1 i {
    margin-left: 0;
  }
  .stage-board {
    margin: 0 4px;
    padding: 10px;
  }
  .pet-scene {
    height: 160px;
  }
  .pet-scene button {
    height: 127px;
    width: 143px;
  }
  .pet-picker {
    margin: 8px 0;
  }
  .pet-picker img {
    width: 24px;
    height: 24px;
  }
  #bubble {
    top: 6px;
    font-size: 0.8rem;
  }
  .pet-actions button {
    min-height: 35px;
  }
  .almanac-grid {
    gap: 22px;
  }
  .collection {
    gap: 16px;
  }
  .store-head {
    display: block;
  }
  .screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 7px;
  }
  .wardrobe-card > img {
    height: 180px;
  }
  .stamp-frame img {
    height: auto;
  }
  .foot p {
    line-height: 1.55;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .pet-picker {
    gap: 3px;
  }
  .clocks {
    gap: 13px;
  }
  .headrow {
    gap: 6px;
  }
  .languages button {
    min-width: 29px;
    padding: 2px 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.shot-dialog {
  width: auto;
  max-width: 94vw;
}
.shot-dialog > img {
  height: 68dvh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.compact-nav {
  display: none;
}
.bazi-poster {
  background: #203331;
}
.other-reactions {
  padding: 5px 0 0;
  text-align: center;
  border: 0;
}
.other-reactions summary {
  display: inline-block;
  font-size: 0.79rem;
  font-weight: 400;
  padding-right: 14px;
}
.other-reactions summary:after {
  right: 0;
}
.other-reactions .pet-actions {
  margin-top: 6px;
}
@media (max-width: 700px) {
  .compact-nav {
    display: block;
    position: relative;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
  }
  .compact-nav summary {
    width: 36px;
    height: 38px;
    padding: 6px;
    text-align: center;
    font: 1.12rem/26px var(--sans);
  }
  .compact-nav summary:after {
    display: none;
  }
  .headrow .compact-nav nav {
    position: absolute;
    right: 0;
    top: 44px;
    display: grid;
    z-index: 9;
    min-width: 145px;
    padding: 6px;
    gap: 0;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 6px 16px #18130f24;
  }
  .compact-nav nav a {
    padding: 9px 12px;
    white-space: nowrap;
  }
  .headrow .languages {
    margin-left: 0;
  }
  .headrow {
    gap: 7px;
  }
}
