/* 入画：每件作品的入场页和场景里的提示，统一成展厅的样子——没有卡片，字直接落在画的暗影上 */
:root { --st-ink: #efe9dd; --st-mute: #a49e93; --st-gold: #c9a45c; --st-line: rgba(239,233,221,.18); }

/* ---------- 入场页 ---------- */
#intro {
  background: #0b0a0d !important; color: var(--st-ink) !important;
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: clamp(24px, 6vh, 72px) clamp(20px, 6vw, 96px) !important; overflow-y: auto; transition: opacity 1.6s ease !important;
}
#intro::before {   /* 画本身，大幅虚化铺满背后 */
  content: ""; position: fixed; inset: -40px; background: var(--st-thumb, none) center / cover no-repeat;
  filter: blur(38px) saturate(1.1) brightness(.42); transform: scale(1.08); z-index: -1;
}
#intro::after { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(11,10,13,0) 0%, rgba(11,10,13,.55) 70%, rgba(11,10,13,.8) 100%); z-index: -1; pointer-events: none; }
#intro .st-plate { justify-self: end; max-width: 100%; max-height: 78vh; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
#intro .st-plate img {
  max-width: 100%; max-height: 70vh; display: block; object-fit: contain;
  box-shadow: 0 0 0 10px #241a0e, 0 0 0 11px #6e5228, 0 0 0 14px #1a130a, 0 30px 80px rgba(0,0,0,.7);
}
#intro .st-plate figcaption { font: 11px/1.5 system-ui, sans-serif; letter-spacing: .18em; color: var(--st-mute); text-transform: uppercase; margin-top: 14px; }
#intro .card {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; max-width: 520px !important;
  color: var(--st-ink) !important; font-family: "Songti SC", "STSong", "SimSun", Georgia, serif !important; font-size: 15px !important; line-height: 1.95 !important;
}
#intro .kicker { font: 11px/1.6 system-ui, sans-serif !important; letter-spacing: .28em !important; color: var(--st-gold) !important; text-transform: uppercase; }
#intro h1 { font-size: clamp(38px, 5.2vw, 64px) !important; font-weight: 400 !important; letter-spacing: .14em !important; line-height: 1.15 !important; margin: 14px 0 4px !important; color: var(--st-ink) !important; }
#intro h2 { font-size: 17px !important; font-weight: 400 !important; font-style: italic !important; color: var(--st-mute) !important; margin: 0 0 26px !important; letter-spacing: .04em !important; }
#intro h2::after { content: ""; display: block; width: 48px; height: 1px; background: var(--st-gold); margin-top: 22px; }
#intro p { margin: 0 0 14px !important; color: #d8d1c4 !important; }
#intro p.lead { font-size: 17px !important; color: var(--st-ink) !important; line-height: 1.9 !important; }
#intro b { color: var(--st-ink) !important; font-weight: 600 !important; }
#intro blockquote {
  position: relative; margin: 26px 0 30px !important; padding: 0 0 0 30px !important; border: 0 !important;
  font-style: italic; color: #cfc6b5 !important; font-size: 15px !important;
}
#intro blockquote::before { content: "“"; position: absolute; left: -4px; top: -18px; font-size: 64px; line-height: 1; color: var(--st-gold); opacity: .7; font-style: normal; }
#intro blockquote small { display: block; font: 11px/1.6 system-ui, sans-serif !important; letter-spacing: .08em; color: var(--st-mute) !important; margin-top: 8px !important; font-style: normal; }
#intro #enter {
  background: none !important; color: var(--st-ink) !important; border: 1px solid var(--st-gold) !important; border-radius: 0 !important;
  padding: 13px 40px !important; font-size: 15px !important; letter-spacing: .6em !important; text-indent: .6em; cursor: pointer; font-family: inherit !important;
  transition: background .25s, color .25s, letter-spacing .25s !important; margin: 4px 0 0 !important;
}
#intro #enter:not(:disabled):hover, #intro #enter:focus-visible { background: var(--st-gold) !important; color: #17140e !important; outline: none; letter-spacing: .8em !important; }
#intro #enter:disabled { opacity: .45 !important; border-color: var(--st-line) !important; letter-spacing: .3em !important; }
#intro .how {
  margin-top: 26px !important; padding-top: 16px; border-top: 1px solid var(--st-line);
  font: 12px/1.9 system-ui, sans-serif !important; color: var(--st-mute) !important; display: grid; grid-template-columns: auto 1fr; column-gap: 14px;
}
#intro .how em { font-style: normal; color: var(--st-gold); letter-spacing: .14em; white-space: nowrap; }
#intro .how span { color: var(--st-mute); }
#intro #status { font: 12px/1.6 system-ui, sans-serif; color: var(--st-mute) !important; margin-top: 10px; }
/* 英文：西文字体排前面（宋体里的西文字形和弯引号不好看），收紧为汉字准备的大字距（和主页英文的做法一样） */
:root[lang="en"] #intro .card { font-family: Georgia, "Songti SC", "STSong", "SimSun", serif !important; }
:root[lang="en"] #intro h1 { letter-spacing: .02em !important; font-size: clamp(34px, 4.4vw, 56px) !important; text-wrap: balance; }
:root[lang="en"] #intro #enter { letter-spacing: .3em !important; text-indent: .3em; }
:root[lang="en"] #intro #enter:not(:disabled):hover, :root[lang="en"] #intro #enter:focus-visible { letter-spacing: .4em !important; }
:root[lang="en"] #intro #enter:disabled { letter-spacing: .12em !important; }
:root[lang="en"] #intro .how em { letter-spacing: .06em; }
@media (max-width: 820px) {
  #intro { grid-template-columns: 1fr !important; align-items: start; }
  #intro .st-plate { justify-self: center; align-items: center; } #intro .st-plate img { max-height: 34vh; }
  #intro .st-plate figcaption { display: none; }
}

/* ---------- 场景里的提示：不要卡片，只是一行字落在画面左下 ---------- */
#hud {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 0 0 14px !important;
  color: var(--st-ink) !important; font: 12px/1.8 system-ui, sans-serif !important; letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.45); max-width: min(380px, calc(100% - 32px)) !important; width: auto !important;
}
#hud::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--st-gold); opacity: .8; }
#hud > span:first-child, #hud > b:first-child { font: 16px/1.6 "Songti SC", "STSong", serif; letter-spacing: .08em; display: inline-block; margin-bottom: 2px; }
:root[lang="en"] #hud > span:first-child, :root[lang="en"] #hud > b:first-child { font-family: Georgia, "Songti SC", "STSong", serif; letter-spacing: .02em; }
#hud button { background: rgba(11,10,13,.25) !important; border: 1px solid rgba(239,233,221,.4) !important; color: var(--st-ink) !important; border-radius: 999px !important; padding: 1px 10px !important; font-size: 11px !important; margin-left: 10px !important; text-shadow: none; cursor: pointer; }
#hud #meter, #hud #dawn, #hud #age { background: rgba(239,233,221,.18) !important; height: 2px !important; margin: 6px 0 6px !important; box-shadow: none !important; border: 0 !important; }
#hud #meter i, #hud #dawn i, #hud #age i { box-shadow: none !important; }
#hud input[type=range] { accent-color: var(--st-gold); }

/* ---------- 进入 VR / AR：收在右下角，和左下的提示字分开 ---------- */
#st-xr { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 8px; align-items: center; pointer-events: none; }
#st-xr:empty { display: none; }
html body #st-xr .st-xrbtn {
  position: static !important; left: auto !important; right: auto !important; bottom: auto !important; width: auto !important; min-width: 0 !important;
  pointer-events: auto; padding: 9px 16px !important; margin: 0 !important; border: 1px solid rgba(201,164,92,.75) !important; border-radius: 999px !important;
  background: rgba(11,10,13,.45) !important; color: var(--st-ink) !important; font: 11px/1 system-ui, sans-serif !important; letter-spacing: .2em !important;
  opacity: .85 !important; white-space: nowrap; text-decoration: none !important; box-sizing: border-box;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, color .2s;
}
html body #st-xr button.st-xrbtn:not([disabled]):hover { background: var(--st-gold) !important; color: #17140e !important; opacity: 1 !important; }
html body #st-xr a.st-xrbtn { border-color: rgba(239,233,221,.25) !important; opacity: .55 !important; letter-spacing: .12em !important; }
/* 窄屏：按钮占底部一行居中，提示字整体抬到按钮上面 */
@media (max-width: 720px) {
  #st-xr { left: 16px; right: 16px; justify-content: center; }
  #hud { bottom: 64px !important; }
}
/* 画廊主页：右下角是计数和箭头，VR / AR 放到右上角「目录」的左边 */
.mp-home #st-xr { top: 24px; bottom: auto; right: 110px; left: auto; justify-content: flex-end; }
@media (max-width: 720px) { .mp-home #st-xr { top: 64px; right: 16px; left: 16px; } }
