:root {
  --ink: #17110d;
  --ink-soft: rgba(20, 14, 10, 0.72);
  --paper: #f0e4ca;
  --paper-dim: #cbbca0;
  --gold: #caa15a;
  --gold-bright: #e9cb8c;
  --gold-deep: #8d6a35;
  --cinnabar: #8e2018;
  --cinnabar-bright: #b52d20;
  --line: rgba(226, 198, 138, 0.22);
  --serif: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: #17110d;
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
button { font: inherit; color: inherit; }

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#stage:active { cursor: grabbing; }
#stage canvas { display: block; width: 100%; height: 100%; }

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(103deg, rgba(10, 6, 3, 0.58) 0%, rgba(12, 8, 4, 0.3) 20%, rgba(12, 8, 4, 0.06) 38%, transparent 55%),
    linear-gradient(to bottom, rgba(10, 6, 3, 0.24) 0%, transparent 18%, transparent 70%, rgba(9, 5, 2, 0.56) 100%),
    radial-gradient(ellipse at 50% 43%, transparent 38%, rgba(14, 9, 5, 0.22) 78%, rgba(8, 5, 2, 0.56) 100%);
  z-index: 2;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero {
  position: fixed;
  top: clamp(28px, 4.8vh, 52px);
  left: clamp(26px, 4.4vw, 72px);
  z-index: 10;
  pointer-events: none;
  max-width: 420px;
  animation: rise-in 1.25s cubic-bezier(.2,.8,.2,1) both;
}
.hero__brand { display: flex; align-items: center; gap: 15px; margin-bottom: 23px; }
.seal {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237, 210, 151, .6);
  background: linear-gradient(145deg, rgba(151,35,25,.95), rgba(104,19,14,.94));
  box-shadow: inset 0 0 0 3px rgba(20, 11, 7, .22), 0 8px 26px rgba(0,0,0,.2);
  transform: rotate(-2deg);
}
.seal span {
  font-family: var(--serif);
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(240, 225, 194, .66);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9.5px;
  letter-spacing: .22em;
  white-space: nowrap;
  text-transform: uppercase;
}
.kicker-rule { display: block; width: 26px; height: 1px; background: var(--gold-deep); }
h1 {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(54px, 6.1vw, 92px);
  line-height: .95;
  letter-spacing: .13em;
  color: #f4e8cf;
  text-shadow: 0 5px 30px rgba(0,0,0,.34), 0 1px 1px rgba(255,242,210,.16);
  transform: translateX(-4px);
}
.hero__latin {
  margin-top: 15px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: .48em;
  opacity: .9;
}
.hero__intro {
  margin: 23px 0 0;
  max-width: 300px;
  color: rgba(244, 231, 204, .82);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
  letter-spacing: .13em;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 20px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  color: rgba(235, 214, 173, .56);
  font-size: 9px;
  letter-spacing: .13em;
}
.hero__meta span { display: flex; align-items: center; gap: 6px; }
.hero__meta i {
  width: 4px; height: 4px; border-radius: 50%;
  background: #d8a649;
  box-shadow: 0 0 8px #d7a54a;
}

.status {
  position: fixed;
  top: clamp(28px, 4.8vh, 52px);
  right: clamp(24px, 4vw, 64px);
  z-index: 11;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 15px 11px 13px;
  border: 1px solid rgba(224, 193, 131, .17);
  background: rgba(21, 14, 9, .38);
  backdrop-filter: blur(12px) saturate(.85);
  -webkit-backdrop-filter: blur(12px) saturate(.85);
  box-shadow: 0 10px 35px rgba(0,0,0,.1);
  animation: fade-in 1.3s .35s both;
}
.status__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(228, 193, 125, .4);
  animation: pulse 2.5s infinite;
  flex: 0 0 auto;
}
.status.is-paused .status__pulse { background: rgba(238,224,195,.45); animation: none; }
.status strong {
  display: block;
  font-family: var(--serif);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .13em;
  color: #e8d8ba;
}
.status small {
  display: block;
  margin-top: 3px;
  color: rgba(232, 216, 186, .4);
  font-size: 9px;
  letter-spacing: .06em;
}

.hint {
  position: fixed;
  left: clamp(26px, 4.4vw, 72px);
  bottom: clamp(28px, 5vh, 52px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(236, 219, 184, .6);
  animation: fade-in 1.2s .8s both;
  pointer-events: none;
}
.mouse {
  width: 18px; height: 27px;
  border: 1px solid rgba(226, 203, 156, .38);
  border-radius: 9px;
  position: relative;
}
.mouse span {
  position: absolute;
  top: 5px; left: 50%;
  width: 2px; height: 5px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-wheel 2.2s infinite;
}
.hint b { display: block; font-weight: 400; font-size: 9.5px; letter-spacing: .08em; color: rgba(235, 220, 189, .62); }
.hint span { display: block; margin-top: 4px; font-size: 8.5px; letter-spacing: .05em; opacity: .7; }

.bgm-credit {
  position: fixed;
  left: clamp(26px, 4.4vw, 72px);
  bottom: 10px;
  z-index: 10;
  color: rgba(226, 203, 156, .3);
  font-size: 8px;
  letter-spacing: .08em;
  pointer-events: none;
  animation: fade-in 1.2s 1s both;
}

.scene-nav {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: clamp(25px, 4.6vh, 48px);
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 9px 6px 18px;
  background: rgba(20, 13, 8, .48);
  border: 1px solid rgba(232, 205, 151, .16);
  box-shadow: 0 18px 55px rgba(0,0,0,.2);
  backdrop-filter: blur(16px) saturate(.8);
  -webkit-backdrop-filter: blur(16px) saturate(.8);
  animation: rise-in 1.1s .45s cubic-bezier(.2,.8,.2,1) both;
  max-width: calc(100vw - 40px);
}
.scene-nav__label {
  color: rgba(229, 203, 148, .4);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: .3em;
  white-space: nowrap;
  border-right: 1px solid rgba(225,197,137,.14);
  padding-right: 18px;
}
.scene-nav__list { display: flex; align-items: center; gap: 1px; overflow-x: auto; scrollbar-width: none; }
.scene-nav__list::-webkit-scrollbar { display: none; }
.view {
  border: 0;
  background: transparent;
  padding: 10px 13px;
  cursor: pointer;
  color: rgba(239, 223, 191, .63);
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: color .3s ease, background .3s ease;
  position: relative;
}
.view span {
  display: inline-block;
  margin-right: 5px;
  color: rgba(208, 172, 106, .34);
  font-family: Georgia, serif;
  font-size: 7.5px;
  letter-spacing: .05em;
  vertical-align: 1px;
  transition: color .3s ease;
}
.view:hover { color: #eedfbe; background: rgba(240, 217, 170, .045); }
.view.is-active { color: #f1dfba; background: rgba(222, 186, 117, .09); }
.view.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 17px; height: 1px;
  transform: translateX(-50%);
  background: var(--gold);
  box-shadow: 0 0 8px rgba(233,198,126,.4);
}
.view.is-active span { color: var(--gold); }

.actions {
  position: fixed;
  z-index: 12;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(25px, 4.6vh, 48px);
  display: flex;
  align-items: stretch;
  gap: 8px;
  animation: fade-in 1.2s .9s both;
}
.mode-switch {
  position: fixed;
  right: clamp(24px, 4vw, 64px);
  bottom: calc(clamp(25px, 4.6vh, 48px) + 56px);
  z-index: 12;
  display: flex;
  align-items: stretch;
  height: 48px;
  padding: 3px 4px;
  border: 1px solid rgba(231, 205, 152, .17);
  background: rgba(20, 13, 8, .46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fade-in 1.2s .9s both;
}
.mode-switch__label {
  display: flex;
  align-items: center;
  padding: 0 10px 0 8px;
  border-right: 1px solid rgba(225, 197, 137, .14);
  color: rgba(229, 203, 148, .4);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: .24em;
}
.mode-btn {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 12px;
  color: rgba(235, 219, 184, .55);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .12em;
  white-space: nowrap;
  transition: color .3s ease, background .3s ease;
}
.mode-btn:hover { color: #eedfbe; background: rgba(240, 217, 170, .05); }
.mode-btn.is-active {
  color: #f6e6c4;
  background: linear-gradient(135deg, rgba(150, 40, 27, .5), rgba(60, 36, 18, .55));
  box-shadow: inset 0 0 0 1px rgba(224, 186, 111, .26);
}
.mode-btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 12px; height: 1px;
  transform: translateX(-50%);
  background: var(--gold);
  box-shadow: 0 0 7px rgba(233,198,126,.45);
}
.label-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 48px;
  border: 1px solid rgba(231, 205, 152, .17);
  background: rgba(20, 13, 8, .46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(235, 219, 184, .58);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .12em;
  transition: all .3s ease;
}
.label-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.label-toggle:hover, .label-toggle[aria-pressed="true"] {
  color: #eddcba;
  border-color: rgba(231, 205, 152, .35);
  background: rgba(34, 23, 14, .64);
}
.tour-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  min-width: 146px;
  padding: 0 17px 0 12px;
  border: 1px solid rgba(224, 186, 111, .36);
  background: linear-gradient(135deg, rgba(124, 30, 22, .55), rgba(37, 22, 13, .65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  color: #f0dfbd;
  transition: border-color .3s ease, background .3s ease;
}
.tour-btn:hover { border-color: rgba(238, 204, 134, .6); background: linear-gradient(135deg, rgba(145,37,26,.6), rgba(48,29,16,.7)); }
.tour-btn__icon {
  width: 25px; height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227, 195, 132, .3);
  border-radius: 50%;
}
.tour-btn svg { width: 10px; height: 10px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tour-btn .icon-play { display: none; margin-left: 1px; }
.tour-btn:not(.is-playing) .icon-pause { display: none; }
.tour-btn:not(.is-playing) .icon-play { display: block; }
.tour-btn__text { text-align: left; }
.tour-btn__text small {
  display: block;
  font-size: 7.5px;
  letter-spacing: .19em;
  color: rgba(229, 198, 139, .45);
  text-transform: uppercase;
}
.tour-btn__text b {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
}
.tour-btn__progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, rgba(208,163,81,.2), var(--gold-bright));
  box-shadow: 0 0 8px rgba(238,200,120,.35);
  transition: opacity .3s ease;
}
.tour-btn:not(.is-playing) .tour-btn__progress { opacity: 0; }

.landmarks { position: fixed; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.map-label {
  position: absolute;
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity .35s ease;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(250, 236, 206, .86);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .16em;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.map-label::after {
  content: "";
  width: 4px; height: 4px;
  border: 1px solid rgba(243, 212, 143, .8);
  border-radius: 50%;
  background: rgba(15,10,6,.4);
  box-shadow: 0 0 0 3px rgba(225, 190, 119, .08);
}
.map-label i {
  display: block;
  width: 1px; height: 16px;
  background: linear-gradient(to bottom, rgba(233,204,145,.65), rgba(233,204,145,.05));
  order: 2;
}
.landmarks.is-visible .map-label.is-front { opacity: .9; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 112px;
  z-index: 30;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 14px;
  border: 1px solid rgba(228,199,140,.18);
  background: rgba(20,13,8,.58);
  backdrop-filter: blur(12px);
  color: rgba(242,224,189,.78);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .12em;
  transition: opacity .35s ease, transform .35s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(108, 48, 27, .45), transparent 55%),
    #15100c;
  transition: opacity 1s ease, visibility 1s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; }
.loader__seal {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border: 1px solid rgba(237, 205, 143, .55);
  background: linear-gradient(145deg, #98271c, #65140f);
  margin-bottom: 28px;
  animation: seal-breathe 2.7s ease-in-out infinite;
}
.loader__seal span { font-family: var(--serif); font-size: 34px; color: var(--gold-bright); }
.loader__title {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .38em;
  color: rgba(241, 223, 186, .84);
  padding-left: .38em;
}
.loader__sub {
  margin-top: 10px;
  font-family: Georgia, serif;
  font-size: 7px;
  letter-spacing: .3em;
  color: rgba(225, 196, 138, .35);
}
.loader__line {
  width: 160px; height: 1px;
  margin-top: 27px;
  background: rgba(228, 198, 139, .12);
  overflow: hidden;
}
.loader__line span {
  display: block;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loading-line 1.6s ease-in-out infinite;
}

.error {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-content: center;
  text-align: center;
  background: #17110d;
  padding: 30px;
}
.error h2 { font-family: var(--serif); font-weight: 400; color: var(--gold-bright); letter-spacing: .15em; }
.error p { color: rgba(238,221,188,.6); font-size: 13px; line-height: 1.8; max-width: 420px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 193, 125, .38); }
  70% { box-shadow: 0 0 0 7px rgba(228, 193, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 193, 125, 0); }
}
@keyframes scroll-wheel { 0%, 100% { transform: translateY(0); opacity: .2; } 35% { opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } }
@keyframes seal-breathe { 0%,100% { transform: scale(1); box-shadow: 0 0 0 rgba(153,41,28,0); } 50% { transform: scale(1.035); box-shadow: 0 0 38px rgba(153,41,28,.26); } }
@keyframes loading-line { from { transform: translateX(-110%); } to { transform: translateX(280%); } }

@media (max-width: 1100px) {
  .hint { display: none; }
  .bgm-credit { left: clamp(20px, 4vw, 40px); }
  .scene-nav { left: clamp(20px, 4vw, 40px); translate: none; max-width: calc(100vw - 240px); }
  .actions { right: clamp(20px, 4vw, 40px); }
}
@media (max-width: 760px) {
  .hero { top: 22px; left: 20px; }
  .hero__brand { margin-bottom: 14px; }
  .seal { width: 34px; height: 34px; }
  .seal span { font-size: 19px; }
  .hero__kicker { font-size: 7px; gap: 6px; letter-spacing: .12em; }
  .kicker-rule { width: 12px; }
  h1 { font-size: 45px; }
  .hero__latin { font-size: 7.5px; letter-spacing: .35em; margin-top: 11px; }
  .hero__intro { display: none; }
  .hero__meta { display: none; }
  .status { top: 20px; right: 16px; padding: 9px 11px; }
  .status small { display: none; }
  .status strong { font-size: 9.5px; }
  .scene-nav {
    left: 12px; right: 12px; bottom: 82px;
    max-width: none; padding: 5px 6px;
  }
  .scene-nav__label { display: none; }
  .scene-nav__list { width: 100%; justify-content: flex-start; }
  .view { font-size: 10.5px; padding: 9px 10px; }
  .actions { right: 12px; bottom: 17px; gap: 6px; }
  .mode-switch {
    position: static;
    right: auto; bottom: auto;
    height: 42px; padding: 2px 3px;
    animation: none;
  }
  .mode-switch__label { display: none; }
  .mode-btn { padding: 0 8px; font-size: 9.5px; letter-spacing: .08em; }
  .label-toggle { height: 42px; padding: 0 11px; }
  .tour-btn { height: 42px; min-width: 118px; padding: 0 10px 0 8px; }
  .bgm-credit { left: 12px; bottom: 4px; font-size: 7px; }
  .toast { bottom: 138px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.error[hidden] { display: none; }

/* Test hook: ?ui=0 hides every overlay for clean 3D captures. */
body.ui-hidden .hero,
body.ui-hidden .status,
body.ui-hidden .landmarks,
body.ui-hidden .hint,
body.ui-hidden .bgm-credit,
body.ui-hidden .scene-nav,
body.ui-hidden .actions,
body.ui-hidden .toast,
body.ui-hidden .loader,
body.ui-hidden .vignette,
body.ui-hidden .grain {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Stage 4: guided caption, building dossier, music toggle             */
/* ------------------------------------------------------------------ */

.tour-caption {
  position: fixed;
  left: 50%;
  bottom: clamp(148px, 19vh, 208px);
  translate: -50% 0;
  z-index: 14;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}
.tour-caption.is-visible { opacity: 1; transform: translateY(0); }
.tour-caption span {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: .34em;
  padding-left: .34em;
  color: rgba(250, 236, 206, .95);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .6), 0 0 32px rgba(222, 181, 103, .16);
}
.tour-caption small {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7.5px;
  letter-spacing: .34em;
  color: rgba(233, 203, 140, .62);
  text-transform: uppercase;
}

.info-card {
  position: fixed;
  top: 118px;
  right: clamp(24px, 4vw, 64px);
  z-index: 22;
  width: min(360px, calc(100vw - 48px));
  padding: 24px 26px 20px;
  border: 1px solid rgba(224, 190, 124, .3);
  background:
    linear-gradient(150deg, rgba(58, 26, 16, .78), rgba(18, 12, 8, .86) 62%),
    rgba(20, 13, 8, .8);
  backdrop-filter: blur(18px) saturate(.9);
  -webkit-backdrop-filter: blur(18px) saturate(.9);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 224, 157, .045);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .38s ease, transform .38s ease;
  pointer-events: auto;
}
.info-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(181, 46, 32, .9), rgba(142, 32, 24, .18));
}
.info-card.is-visible { opacity: 1; transform: translateY(0); }
.info-card__close {
  position: absolute;
  top: 10px; right: 12px;
  width: 30px; height: 30px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(236, 213, 172, .48);
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.info-card__close:hover {
  color: var(--gold-bright);
  border-color: rgba(226, 192, 124, .28);
  background: rgba(240, 217, 170, .05);
}
.info-card__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: rgba(228, 199, 141, .5);
  font-family: var(--serif);
  font-size: 8.5px;
  letter-spacing: .28em;
  white-space: nowrap;
}
.info-card__kicker i { width: 22px; height: 1px; background: rgba(206, 166, 94, .42); }
.info-card__kicker small {
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: Georgia, serif;
  font-size: 7px;
  letter-spacing: .2em;
  color: rgba(226, 196, 139, .36);
}
.info-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .16em;
  color: #f4e6c8;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .36);
}
.info-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-top: 9px;
}
.info-card__meta span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--gold);
}
.info-card__meta em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: .08em;
  color: rgba(232, 214, 178, .46);
}
.info-card p {
  margin: 17px 0 0;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 2.05;
  letter-spacing: .07em;
  color: rgba(244, 231, 205, .78);
}
.info-card__rule {
  height: 1px;
  margin: 17px 0 11px;
  background: linear-gradient(90deg, rgba(218, 180, 110, .28), rgba(218, 180, 110, .02));
}
.info-card__hint {
  font-size: 8px;
  letter-spacing: .1em;
  color: rgba(232, 214, 178, .3);
}

.music-toggle.is-on {
  color: #f0dcb2;
  border-color: rgba(231, 205, 152, .38);
  background: linear-gradient(135deg, rgba(94, 46, 22, .5), rgba(26, 17, 10, .62));
}
.music-toggle.is-on svg { color: var(--gold-bright); animation: music-breathe 2.6s ease-in-out infinite; }

@keyframes music-breathe {
  0%, 100% { opacity: .72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1100px) {
  .info-card { top: 100px; width: min(330px, calc(100vw - 40px)); }
}
@media (max-width: 760px) {
  .tour-caption { bottom: 190px; }
  .tour-caption span { font-size: 18px; }
  .info-card {
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 188px;
    width: auto;
    max-height: 44vh;
    overflow-y: auto;
    padding: 20px 20px 16px;
  }
  .info-card h2 { font-size: 24px; }
  .info-card p { font-size: 11.5px; line-height: 1.95; }
}

body.ui-hidden .info-card,
body.ui-hidden .tour-caption {
  display: none !important;
}
