/* 屏息2 —— 界面
 * 设计：界面尽量像「物件」——纸、铜、旧木；常态只剩摇杆、视角和贴在物件旁的交互提示。
 * 兼容基线：无 flex gap、无 inset、无 min()/max()/clamp()；safe-area 带普通值兜底。 */
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;
  background: #030304; color: #ddd4c2;
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent; touch-action: none;
}
button { font-family: inherit; -webkit-appearance: none; outline: none; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, .sheet, #say, #cine-text, #toast, #room, #objective, #tgt {
  font-family: Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
}

#loading { position: fixed; left: 0; right: 0; top: 50%; margin-top: -10px; text-align: center; font-size: 13px; letter-spacing: 6px; color: #6a6254; z-index: 60; font-family: Georgia, "Songti SC", "STSong", serif; }
#loading .ld-bulb { display: block; width: 10px; height: 13px; margin: -60px auto 34px; border-radius: 50%; background: #ffe2aa;
  box-shadow: 0 0 18px 6px rgba(255,190,110,0.45), 0 0 60px 24px rgba(255,170,80,0.12); -webkit-animation: ldFlick 3.2s infinite; animation: ldFlick 3.2s infinite; }
#loading .ld-bar { display: block; width: 120px; height: 1px; margin: 16px auto 0; background: rgba(160,140,110,0.18); }
#loading .ld-bar u { display: block; height: 1px; width: 2%; background: #b8a27a; -webkit-transition: width 0.6s; transition: width 0.6s; }
@-webkit-keyframes ldFlick { 0%, 60%, 64%, 69%, 100% { opacity: 1; } 62%, 67% { opacity: 0.25; } }
@keyframes ldFlick { 0%, 60%, 64%, 69%, 100% { opacity: 1; } 62%, 67% { opacity: 0.25; } }
#gl, #ext { position: fixed; left: 0; top: 0; width: 100%; height: 100%; display: block; }
#ext { display: none; }
body.ext #ext { display: block; }
body.ext #gl { display: none; }

#grain {
  position: fixed; left: -12px; top: -12px; right: -12px; bottom: -12px; pointer-events: none; opacity: 0.14;   /* 只比屏幕大一圈：手机上 2 倍大的动画层太费显存 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.9'/></svg>");
  -webkit-animation: gameGrain 0.5s steps(3) infinite; animation: gameGrain 0.5s steps(3) infinite;
}
@-webkit-keyframes gameGrain { 0% { -webkit-transform: translate(0,0); } 33% { -webkit-transform: translate(-3px,2px); } 66% { -webkit-transform: translate(2px,-3px); } }
@keyframes gameGrain { 0% { transform: translate(0,0); } 33% { transform: translate(-3px,2px); } 66% { transform: translate(2px,-3px); } }
#vignette {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.75) 100%);
}
#vignette:after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #000; animation: slowDim 7s ease-in-out infinite; -webkit-animation: slowDim 7s ease-in-out infinite; }
@keyframes slowDim { 0%, 100% { opacity: 0; } 50% { opacity: 0.04; } }
@-webkit-keyframes slowDim { 0%, 100% { opacity: 0; } 50% { opacity: 0.04; } }
#mirrorfx { position: fixed; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(220,230,255,0) 0%, rgba(200,215,240,0.35) 45%, rgba(0,0,0,0.95) 75%); }
body.mfx #mirrorfx { -webkit-animation: mfx 0.9s ease-in-out; animation: mfx 0.9s ease-in-out; }
body.mfx #gl { -webkit-animation: mgl 0.9s ease-in-out; animation: mgl 0.9s ease-in-out; }
@-webkit-keyframes mfx { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mfx { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 0; } }
@-webkit-keyframes mgl { 0% { -webkit-filter: none; -webkit-transform: scale(1); } 45% { -webkit-filter: blur(6px) contrast(1.6) hue-rotate(40deg); -webkit-transform: scale(1.12); } 100% { -webkit-filter: none; -webkit-transform: scale(1); } }
@keyframes mgl { 0% { filter: none; transform: scale(1); } 45% { filter: blur(6px) contrast(1.6) hue-rotate(40deg); transform: scale(1.12); } 100% { filter: none; transform: scale(1); } }

.screen { position: fixed; left: 0; top: 0; right: 0; bottom: 0; display: none; }
.screen.active { display: block; }

/* ---------- 首页（背后是一块 2D 画布：黑暗里一只昏黄的灯泡和一群纸蛾，见 js/title3.js） ---------- */
#scr-title { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.72) 75%, #000 100%), linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%); }
#title-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
/* 胶片颗粒 + 扫描线 */
#scr-title:before { content: ''; position: absolute; left: -50%; top: -50%; width: 200%; height: 200%; pointer-events: none; opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.9'/></svg>");
  -webkit-animation: grain 0.9s steps(6) infinite; animation: grain 0.9s steps(6) infinite; }
#scr-title:after { content: ''; position: absolute; inset: 0; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,0.18) 3px); }
@-webkit-keyframes grain { 0% { -webkit-transform: translate(0,0); } 20% { -webkit-transform: translate(-6%,4%); } 40% { -webkit-transform: translate(5%,-3%); } 60% { -webkit-transform: translate(-3%,-6%); } 80% { -webkit-transform: translate(4%,5%); } 100% { -webkit-transform: translate(0,0); } }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-6%,4%); } 40% { transform: translate(5%,-3%); } 60% { transform: translate(-3%,-6%); } 80% { transform: translate(4%,5%); } 100% { transform: translate(0,0); } }
#scr-title h1 { color: #cfc5b0; text-shadow: 0 0 18px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,0.9); -webkit-animation: tflicker 9s infinite; animation: tflicker 9s infinite; }
#scr-title h1 span { color: #7a1e18; text-shadow: 0 0 12px rgba(160,30,20,0.5); }
@-webkit-keyframes tflicker { 0%, 61%, 63.5%, 64.5%, 100% { opacity: 1; -webkit-transform: none; } 62% { opacity: 0.35; -webkit-transform: translateX(3px) skewX(-6deg); } 64% { opacity: 0.8; -webkit-transform: translateX(-2px); } }
@keyframes tflicker { 0%, 61%, 63.5%, 64.5%, 100% { opacity: 1; transform: none; text-shadow: 0 0 18px rgba(0,0,0,0.95); } 62% { opacity: 0.35; transform: translateX(3px) skewX(-6deg); text-shadow: -3px 0 rgba(170,30,25,0.7), 3px 0 rgba(120,170,190,0.4); } 64% { opacity: 0.8; transform: translateX(-2px); } }
#scr-title .tag { color: #8a8070; min-height: 18px; }
#scr-title .title-wrap { bottom: 9%; }
#scr-title .title-wrap, #scr-title .title-foot { -webkit-transition: opacity 0.35s; transition: opacity 0.35s; }
#scr-title.dying .title-wrap, #scr-title.dying .title-foot { opacity: 0; pointer-events: none; }   /* 灯灭：字先退下去 */
#scr-title .tag { margin: 10px 0 34px; }
#scr-title .tag i { font-style: normal; opacity: 0; -webkit-transition: opacity 0.6s; transition: opacity 0.6s; }
#scr-title .tag i.on { opacity: 1; }
#scr-title .btn-main { color: #cfc5b0; background: rgba(0,0,0,0.25); border: 1px solid rgba(207,197,176,0.32); letter-spacing: 9px; text-indent: 9px; font-family: Georgia, "Songti SC","STSong",serif;
  -webkit-transition: border-color 0.4s, background 0.4s, letter-spacing 0.4s; transition: border-color 0.4s, background 0.4s, letter-spacing 0.4s; }
#scr-title .btn-main:hover { border-color: rgba(207,197,176,0.8); background: rgba(207,197,176,0.07); letter-spacing: 13px; text-indent: 13px; }
#scr-title .btn-ghost { background: none; border-color: rgba(207,197,176,0.16); }
.title-wrap { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; padding: 0 24px; }
h1 { margin: 0; font-weight: 300; font-size: 58px; letter-spacing: 20px; text-indent: 20px; color: #efe6d2; text-shadow: 0 0 24px rgba(0,0,0,0.9); }
h1 span { font-size: 28px; letter-spacing: 0; margin-left: 2px; color: #a8997c; vertical-align: 20px; }
.tag { margin: 10px 0 30px; font-size: 13px; letter-spacing: 7px; text-indent: 7px; color: #9a8f7a; }
.phones { margin: 0 0 14px; font-size: 12px; letter-spacing: 5px; color: #b8ac94; }
.ico-phones { display: inline-block; width: 12px; height: 9px; margin-right: 8px; border: 1.5px solid #b8ac94; border-bottom: none; border-radius: 7px 7px 0 0; }
.hint { min-height: 18px; margin: 12px 0 0; font-size: 12px; color: #c89a70; }
.title-foot { position: absolute; left: 0; right: 0; bottom: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 11px; letter-spacing: 3px; color: #5a5244; }
.title-foot span { margin-right: 16px; }
.link { background: none; border: none; color: #6a6254; font-size: 11px; letter-spacing: 3px; padding: 4px; }

.btn {
  display: block; margin: 10px auto 0; min-width: 210px; padding: 13px 26px;
  font-size: 15px; letter-spacing: 5px; text-indent: 5px; color: #ddd4c2;
  background: rgba(24, 21, 18, 0.82); border: 1px solid rgba(190, 172, 140, 0.28); border-radius: 2px;
}
.btn-main { color: #14110d; background: #dccfb2; border-color: #dccfb2; }
.btn-ghost { background: rgba(0,0,0,0.35); color: #b8ad98; }
.btn-small { display: inline-block; min-width: 0; padding: 9px 18px; font-size: 13px; margin: 6px 4px 0; }
.btn:active { -webkit-transform: scale(0.97); transform: scale(0.97); }

/* ---------- 游戏 HUD ---------- */
#zone-joy { position: absolute; left: 0; top: 0; bottom: 0; width: 45%; }
#zone-look { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; }
#joy-base { position: absolute; width: 112px; height: 112px; margin: -56px 0 0 -56px; display: none; pointer-events: none; }
#joy-ring { position: absolute; left: 0; top: 0; width: 110px; height: 110px; border-radius: 50%; border: 1px solid rgba(220,208,186,0.2); background: rgba(16,14,12,0.28); }
#joy-ring:after { content: ''; position: absolute; left: 27px; top: 27px; width: 56px; height: 56px; border-radius: 50%; border: 1px dashed rgba(220,208,186,0.14); }
#joy-knob { position: absolute; left: 37px; top: 37px; width: 38px; height: 38px; border-radius: 50%; background: rgba(226,214,190,0.38); box-shadow: 0 0 12px rgba(0,0,0,0.6); }

/* 理智：低了四周发暗、泛一点旧照片的褐红，见底时轻轻呼吸般起伏 */
#sanfx { position: fixed; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 38%, rgba(60,14,10,0.55) 80%, rgba(8,2,2,0.92) 100%); }

/* 暖的回忆：屏幕四周泛起一圈暖光，慢慢退掉 */
#memfx { position: fixed; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(255,200,130,0) 35%, rgba(255,170,90,0.35) 85%, rgba(255,150,70,0.55) 100%); }
body.mglow #memfx { -webkit-animation: mglow 2.4s ease-out; animation: mglow 2.4s ease-out; }
@-webkit-keyframes mglow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mglow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }

/* 手电电量 / 理智：左上角，一代的样子，做得更安静 */
#status {
  position: absolute; left: 14px; left: calc(14px + env(safe-area-inset-left, 0px)); top: 54px; top: calc(54px + env(safe-area-inset-top, 0px));
  pointer-events: none; font-size: 10px; letter-spacing: 2px; color: rgba(214, 204, 184, 0.62); text-shadow: 0 1px 2px #000; display: none;
}
#status.show { display: block; }
.stat { height: 16px; line-height: 16px; margin-bottom: 4px; white-space: nowrap; }
.stat span { display: inline-block; width: 30px; vertical-align: middle; }
.stat em { font-style: normal; margin-left: 6px; vertical-align: middle; letter-spacing: 0; }
.cells { display: inline-block; vertical-align: middle; position: relative; height: 10px; padding: 1px 4px 1px 1px; border: 1px solid rgba(214, 204, 184, 0.45); border-radius: 2px; }
.cells:after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: rgba(214, 204, 184, 0.45); }
.cells i { display: inline-block; width: 9px; height: 8px; margin-right: 2px; vertical-align: top; background: rgba(226, 214, 180, 0.8); }
.cells i:last-child { margin-right: 0; }
.cells i.off { background: rgba(255,255,255,0.06); }
#st-bat.low .cells i { background: #b0402c; }
#st-bat.low .cells i.off { background: rgba(255,255,255,0.06); }
#st-bat.low em { color: #d06a50; }
#st-bat.dim { opacity: 0.45; }
.sbar { display: inline-block; vertical-align: middle; width: 58px; height: 4px; background: rgba(255,255,255,0.08); border: 1px solid rgba(214, 204, 184, 0.2); }
#san-bar { display: block; height: 100%; width: 100%; background: #7a9aa6; -webkit-transition: width 0.3s linear; transition: width 0.3s linear; }
#san-bar.low { background: #9a3a52; }

#slats {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; display: none;
  background: linear-gradient(to right, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.5) 18%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 68%, rgba(0,0,0,0.5) 82%, rgba(0,0,0,0.97) 100%);
}
#slats.on { display: block; }

#objective {
  position: absolute; left: 60px; left: calc(60px + env(safe-area-inset-left, 0px)); top: 20px; top: calc(20px + env(safe-area-inset-top, 0px));
  font-size: 15px; padding: 5px 12px; border-radius: 2px; background: rgba(10,8,6,0.55); box-sizing: border-box; letter-spacing: 3px; color: #b0a58f; opacity: 0; pointer-events: none;
  -webkit-transition: opacity 1s; transition: opacity 1s;
}
#objective { right: auto; width: -webkit-fit-content; width: fit-content; max-width: calc(100% - 250px); max-width: calc(100% - 250px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); line-height: 21px; letter-spacing: 2px; }   /* 底条只包住文字；右侧留给按钮和胶囊 */
#objective.show { opacity: 0.85; }
#objective.fresh { opacity: 1; color: #efe2c4; text-shadow: 0 0 10px rgba(255,210,150,0.55), 0 1px 2px #000; }
#objective:before { content: '◆ '; font-size: 9px; color: #c8a060; vertical-align: 1px; }
#objective small { display: block; font-size: 12px; line-height: 18px; letter-spacing: 1px; color: #9c927e; margin-top: 1px; }   /* 下一步：具体做什么、在哪 */
#objective.fresh small { color: #d8ccb0; }
#pause-obj .pause-full { color: #8f8572; }
#pause-obj { text-align: left; line-height: 1.7; font-size: 12px; margin-bottom: 10px; }
#pause-obj b { font-weight: normal; color: #e8dcc0; letter-spacing: 2px; }
#room {
  position: absolute; left: 0; right: 0; top: 24%; text-align: center; pointer-events: none;
  font-size: 22px; letter-spacing: 14px; text-indent: 14px; color: #ebe1cc; opacity: 0;
  -webkit-transition: opacity 0.9s; transition: opacity 0.9s; text-shadow: 0 0 14px #000;
}
#room.show { opacity: 0.82; }
#toast {
  position: absolute; left: 10%; right: 10%; bottom: 27%; text-align: center; pointer-events: none;
  font-size: 15px; line-height: 1.75; letter-spacing: 2px; color: #ebe1cf; opacity: 0;
  -webkit-transition: opacity 0.4s; transition: opacity 0.4s; text-shadow: 0 0 10px #000, 0 0 3px #000;
}
#toast.show { opacity: 1; }
/* 字底下一层淡淡的暗影：压在白桌布、亮墙前面也读得出来 */
#toast, #say { padding: 10px 14px; box-sizing: border-box; background: radial-gradient(ellipse 60% 75% at 50% 50%, rgba(0,0,0,0.5), rgba(0,0,0,0.28) 55%, rgba(0,0,0,0) 78%); }
#toast { background: radial-gradient(ellipse 52% 85% at 50% 50%, rgba(8,6,4,0.66), rgba(8,6,4,0.38) 58%, rgba(0,0,0,0) 82%); }   /* 中间深、两边淡出，不拉出一整条横条 */
#toast.big { font-size: 38px; letter-spacing: 18px; text-indent: 18px; color: #f2e8d2; }
#say { position: absolute; left: 12%; right: 12%; bottom: 17%; text-align: center; pointer-events: none; opacity: 0; -webkit-transition: opacity 0.5s; transition: opacity 0.5s; text-shadow: 0 0 10px #000; }
#say.show { opacity: 1; }
#say b { display: block; font-weight: normal; font-size: 11px; letter-spacing: 5px; color: #8a8070; margin-bottom: 6px; }
#say span { font-size: 17px; letter-spacing: 2px; line-height: 1.7; color: #e8dcc4; }
#say.radio span { color: #c9d4d8; letter-spacing: 3px; }
#saved {
  position: absolute; right: 18px; top: 58px; top: calc(58px + env(safe-area-inset-top, 0px));
  font-size: 11px; letter-spacing: 4px; color: #a29680; opacity: 0; pointer-events: none;
  -webkit-transition: opacity 0.6s; transition: opacity 0.6s;
}
#saved.show { opacity: 0.9; }

#tgt {
  position: absolute; left: 0; top: 0; padding: 7px 12px 7px 26px; font-size: 13px; letter-spacing: 2px; color: #efe4cc;
  background: rgba(12, 10, 8, 0.62); border: 1px solid rgba(220, 200, 160, 0.3); border-radius: 2px; white-space: nowrap;
  -webkit-transform: translate(-50%, -130%); transform: translate(-50%, -130%); display: none;
}
#tgt:before { content: ''; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border: 1px solid #e0c890; border-radius: 50%; }
#tgt.show { display: block; }

#btns, #bars, #toast, #say { z-index: 2; }   /* 在屏息的暗边（#breathfx）上面 */
#bars { position: absolute; left: 50%; bottom: 22px; width: 170px; margin-left: -85px; pointer-events: none; }
#bars div { position: relative; height: 3px; margin-top: 8px; background: rgba(255,255,255,0.08); opacity: 0; -webkit-transition: opacity 0.3s; transition: opacity 0.3s; }
#bars div.show { opacity: 1; }
#bars i { display: block; height: 100%; width: 100%; background: rgba(230, 220, 200, 0.6); }
#breath i { background: rgba(200, 225, 240, 0.8); }
#breath em { position: absolute; left: 0; top: -18px; font-style: normal; font-size: 10px; letter-spacing: 3px; color: #9ab0c0; }

#btns {
  position: absolute; right: 22px; right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: 26px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); width: 200px; height: 180px; pointer-events: none;
}
.rbtn {
  position: absolute; width: 64px; height: 64px; border-radius: 50%; padding: 0;
  font-size: 12px; line-height: 1.3; letter-spacing: 1px; color: #eadfca;
  background: rgba(22, 19, 16, 0.5); border: 1px solid rgba(220, 205, 175, 0.25);
  pointer-events: auto; display: none;
}
.rbtn.show { display: block; }
.rbtn.hot { border-color: rgba(240, 225, 195, 0.75); background: rgba(70, 52, 36, 0.62); }
#btn-act { right: 0; bottom: 0; width: 80px; height: 80px; font-size: 13px; font-family: Georgia, "Songti SC", "STSong", serif; }
#btn-act svg { position: absolute; left: -1px; top: -1px; width: 82px; height: 82px; pointer-events: none; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); }
#act-ring { fill: none; stroke: #e8dcc0; stroke-width: 3; stroke-dasharray: 182.2; stroke-dashoffset: 182.2; }
#act-label { position: relative; display: block; padding: 0 6px; }
#btn-sprint { right: 94px; bottom: 6px; }
#btn-throw { right: 94px; bottom: 80px; }
#btn-hold { right: 6px; bottom: 98px; width: 72px; height: 72px; }
#btn-torch { right: 14px; bottom: 184px; width: 54px; height: 54px; font-size: 11px; }
#btn-ring { right: 14px; bottom: 308px; width: 54px; height: 54px; font-size: 11px; font-family: Georgia, "Songti SC","STSong",serif; border-color: rgba(200,120,100,0.4); }
#btn-shout { right: 14px; bottom: 246px; width: 54px; height: 54px; font-size: 11px; font-family: Georgia, "Songti SC","STSong",serif; }
#btn-torch.off { color: rgba(234, 223, 202, 0.45); border-style: dashed; }
#btn-hold.cue { -webkit-animation: cue 1.1s ease-in-out infinite; animation: cue 1.1s ease-in-out infinite; border-color: rgba(220,235,250,0.9); }
@-webkit-keyframes cue { 50% { -webkit-transform: scale(1.12); box-shadow: 0 0 22px rgba(200,225,255,0.7); } }
@keyframes cue { 50% { transform: scale(1.12); box-shadow: 0 0 22px rgba(200,225,255,0.7); } }
#btn-hold.on { background: rgba(160, 190, 210, 0.35); border-color: rgba(200, 225, 240, 0.85); }

#topbar {
  position: absolute; left: 14px; right: 14px; top: 12px;
  left: calc(14px + env(safe-area-inset-left, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); top: calc(12px + env(safe-area-inset-top, 0px));
  display: -webkit-box; display: flex; pointer-events: none;
}
#topbar .grow { -webkit-box-flex: 1; flex: 1; }
.chip {
  position: relative; height: 32px; padding: 0 14px; margin-right: 8px; font-size: 12px; letter-spacing: 3px; color: #c4b9a4;
  background: rgba(16, 14, 12, 0.55); border: 1px solid rgba(200, 186, 160, 0.2); border-radius: 16px; pointer-events: auto;
}
#topbar .chip:last-child { margin-right: 0; }
#btn-pause { width: 32px; padding: 0; letter-spacing: 0; }
.dot { position: absolute; right: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #d8a860; display: none; }
.dot.on { display: block; }

/* ---------- 面板（纸 / 旧木） ---------- */
.panel { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: none; background: rgba(0,0,0,0.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 20; }
.panel.show { display: block; }
.sheet {
  position: absolute; left: 50%; top: 50%; width: 600px; max-width: 92%; max-height: 88%; overflow-y: auto;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
  padding: 18px 20px 22px; box-sizing: border-box; color: #d8cfbd;
  background: #15120f; background-image: radial-gradient(ellipse at 30% 0%, rgba(120,90,50,0.16), rgba(0,0,0,0) 60%), linear-gradient(180deg, #1a1612, #100d0b);
  border: 1px solid rgba(200,170,120,0.18); box-shadow: 0 30px 80px #000, inset 0 0 0 6px rgba(0,0,0,0.25); border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}
.sheet.small { width: 300px; text-align: center; color: #ddd4c2; background: #16130f; background-image: none; box-shadow: 0 20px 60px #000; border: 1px solid rgba(200,180,140,0.2); }
.sheet.small h3 { color: #ddd4c2; }
.sheet header { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; margin-bottom: 10px; border-bottom: 1px solid rgba(200,170,120,0.18); padding-bottom: 8px; }
.sheet h3 { margin: 0; font-weight: normal; font-size: 18px; letter-spacing: 8px; -webkit-box-flex: 1; flex: 1; }
.sheet h4 { margin: 14px 0 6px; font-weight: normal; font-size: 13px; letter-spacing: 4px; color: rgba(200,170,120,0.6); }
.sheet .note { font-size: 13px; line-height: 1.8; color: #a89c86; margin: 6px 0 10px; }
.sheet.small .note { color: #8a8070; }
.x { width: 32px; height: 32px; font-size: 22px; line-height: 28px; background: none; border: none; color: #cfc4ae; padding: 0; }
#bag-count { font-size: 12px; color: rgba(200,180,140,0.5); margin-right: 10px; letter-spacing: 2px; }

.grid { overflow: hidden; }
.slot {
  float: left; position: relative; width: 31%; margin: 0 3.5% 3.5% 0; padding-top: 24%; box-sizing: border-box;
  background: rgba(200, 170, 120, 0.05); border: 1px solid rgba(200, 170, 120, 0.16); border-radius: 3px;
  -webkit-transition: background 0.2s, border-color 0.2s; transition: background 0.2s, border-color 0.2s;
}
.slot:nth-child(3n) { margin-right: 0; }
.slot canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.slot span { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 12px; letter-spacing: 1px; color: #d8cfbd; }
.slot.sel { border-color: #c8a060; background: rgba(200, 160, 96, 0.12); }
.slot.empty { opacity: 0.4; }
#chest-wrap { display: none; }
#bag.chest #chest-wrap { display: block; }
#item-info { min-height: 76px; border-top: 1px solid rgba(200,170,120,0.16); padding-top: 10px; }
#item-info b { font-weight: normal; font-size: 16px; letter-spacing: 4px; }
#item-info p { margin: 6px 0; font-size: 13px; line-height: 1.7; color: #a89c86; }
.acts .btn-small { margin-left: 0; margin-right: 8px; }

/* 笔记：深色皮面本子。左边目录（分组 + 未读红点），右边一张按类型换的纸 */
#docs { background: rgba(0,0,0,0.78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet.book { width: 920px; max-width: 94%; height: 86%; max-height: 86%; overflow: hidden; display: -webkit-box; display: flex; -webkit-box-orient: vertical; flex-direction: column;
  padding: 16px 18px 18px; color: #d8cfbd; background: #15120f; background-image: radial-gradient(ellipse at 30% 0%, rgba(120,90,50,0.16), rgba(0,0,0,0) 60%), linear-gradient(180deg, #1a1612, #100d0b);
  border: 1px solid rgba(200,170,120,0.18); box-shadow: 0 30px 80px #000, inset 0 0 0 6px rgba(0,0,0,0.25); border-radius: 4px; }
.sheet.book header { border-bottom: 1px solid rgba(200,170,120,0.18); }
.sheet.book h3 { color: #e6dcc6; -webkit-box-flex: 0; flex: none; }
#doc-count { -webkit-box-flex: 1; flex: 1; font-style: normal; font-size: 11px; letter-spacing: 2px; color: rgba(200,180,140,0.5); margin-left: 12px; }
.sheet.book .x { color: #cfc4ae; }
.book .cols { display: -webkit-box; display: flex; -webkit-box-flex: 1; flex: 1; min-height: 0; }
#doc-list { list-style: none; margin: 0 16px 0 0; padding: 0 6px 0 0; width: 30%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#doc-list li.grp { margin: 14px 0 6px; font-size: 11px; letter-spacing: 4px; color: rgba(200,170,120,0.55); }
#doc-list li.grp:first-child { margin-top: 2px; }
#doc-list li.it { position: relative; padding: 8px 10px 8px 12px; margin-bottom: 2px; border-left: 2px solid transparent; cursor: pointer; border-radius: 2px;
  -webkit-transition: background 0.2s, border-color 0.2s; transition: background 0.2s, border-color 0.2s; }
#doc-list li.it b { display: block; font-weight: normal; font-size: 14px; letter-spacing: 1px; color: #d8cfbd; }
#doc-list li.it small { display: block; font-size: 10px; letter-spacing: 1px; margin-top: 3px; color: rgba(200,180,140,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#doc-list li.it:hover { background: rgba(200,170,120,0.06); }
#doc-list li.it.sel { background: rgba(200,170,120,0.1); border-left-color: #c8a060; }
#doc-list li.it.new:after { content: ''; position: absolute; right: 8px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: #b03a2a; box-shadow: 0 0 6px rgba(200,60,40,0.8); }
#doc-read { -webkit-box-flex: 1; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 4px 10px; }
#doc-paper { position: relative; min-height: 70%; padding: 22px 24px 26px; font-size: 15px; line-height: 2.0; letter-spacing: 1px; white-space: pre-wrap; color: #241a10;
  background: #e9e0cb; box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 50px rgba(120,80,30,0.28); -webkit-animation: paperIn 0.35s ease-out; animation: paperIn 0.35s ease-out; }
@-webkit-keyframes paperIn { from { opacity: 0; -webkit-transform: translateY(8px) rotate(-0.4deg); } }
@keyframes paperIn { from { opacity: 0; transform: translateY(8px) rotate(-0.4deg); } }
#doc-paper .src { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed rgba(90,70,40,0.35); font-size: 11px; letter-spacing: 0.12em; color: #8a7458; white-space: normal; }
#doc-paper .ttl { margin: 0 0 10px; font-weight: normal; font-size: 17px; letter-spacing: 3px; color: #2a1e12; white-space: normal; }
#doc-paper .margin { display: block; margin-top: 14px; font-size: 12px; color: #7a6448; font-family: "Bradley Hand", "Segoe Print", "Kaiti SC", "STKaiti", KaiTi, serif; }
#doc-paper .margin.red { color: #a02a1a; }
#doc-paper .hand { font-family: "Bradley Hand", "Segoe Print", "Kaiti SC", "STKaiti", KaiTi, serif; font-size: 17px; color: #1a1d2c; }
#doc-paper .ink { opacity: 0; -webkit-transition: opacity 1.0s, letter-spacing 1.0s; transition: opacity 1.0s, letter-spacing 1.0s; letter-spacing: 4px; }
#doc-paper .ink.in { opacity: 1; letter-spacing: 1px; }
/* 我的笔记本：横线、左边一道红线、蓝黑墨水的手写 */
#doc-paper.t-note { background-color: #ece4cf; background-image: linear-gradient(90deg, rgba(0,0,0,0) 34px, rgba(170,60,50,0.35) 34px, rgba(170,60,50,0.35) 35px, rgba(0,0,0,0) 35px),
  repeating-linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 33px, rgba(70,90,130,0.22) 33px, rgba(70,90,130,0.22) 34px); background-position: 0 0, 0 52px; padding-left: 48px; line-height: 34px; }
#doc-paper.t-note .src { border-bottom: none; color: #7a6e5a; }
/* 信、明信片：泛黄的旧纸，四角发暗 */
#doc-paper.t-letter { background: #e6d9bb; box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 70px rgba(110,70,20,0.4); }
/* 机构文件 / 日志：打字机字体、灰白纸、右上角一个红章 */
#doc-paper.t-record { background: #e4e2dc; color: #1c1c1c; font-family: "Courier New", Georgia, "Songti SC", "STSong", monospace; font-size: 14px; line-height: 1.9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 40px rgba(60,60,60,0.18); }
#doc-paper .stamp { position: absolute; right: 16px; top: 50px; padding: 4px 10px; font-style: normal; font-size: 13px; letter-spacing: 4px; color: rgba(170,30,25,0.75);
  border: 2px solid rgba(170,30,25,0.6); border-radius: 3px; -webkit-transform: rotate(8deg); transform: rotate(8deg); font-family: Georgia, "Songti SC", "STSong", serif; }
/* 铜牌 / 工牌 / 登记簿：小卡片，居中，铜色边框 */
#doc-paper.t-card { max-width: 440px; margin: 10px auto; background: #ddd3bc; border: 1px solid #8a6a32; box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 0 4px rgba(138,106,50,0.25); }
/* 磁带：深色的录音转写单，像在暗房里读 */
#doc-paper.t-tape { background: #1d1b18; color: #d8d0bc; box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(200,170,120,0.2); font-size: 14px; }
#doc-paper.t-tape .src, #doc-paper.t-tape .margin { color: rgba(200,180,140,0.55); border-color: rgba(200,170,120,0.2); }
#doc-paper.t-tape .ttl { color: #e6dcc6; }
#doc-paper.t-tape .ttl:before { content: '▶ '; color: #b03a2a; font-size: 12px; }
/* 短信：终端的小屏幕，一条一条的气泡 */
#doc-paper.t-sms { max-width: 380px; margin: 6px auto; background: #0c1210; color: #cfe0d4; border-radius: 18px; border: 6px solid #222; box-shadow: 0 10px 30px rgba(0,0,0,0.7); padding: 20px 16px; }
#doc-paper.t-sms .src, #doc-paper.t-sms .margin { color: rgba(170,200,180,0.5); border-color: rgba(170,200,180,0.15); }
#doc-paper.t-sms .ttl { color: #cfe0d4; font-size: 14px; text-align: center; }
#doc-paper .sms .bub { max-width: 86%; margin: 0 0 10px; padding: 8px 12px; background: #1f2c25; border-radius: 4px 14px 14px 14px; line-height: 1.6; white-space: normal; }
#doc-paper .sms .bub small { display: block; font-size: 10px; color: rgba(150,200,170,0.6); margin-bottom: 2px; }
#doc-paper canvas { display: block; width: 100%; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
#doc-paper canvas.pic { margin: 4px auto 14px; max-width: 420px; transform: rotate(-0.6deg); -webkit-transform: rotate(-0.6deg); box-shadow: none; -webkit-filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45)); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45)); }

.safe { background: #2a2622; background-image: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,0,0,0.3)); color: #d8ccb0; width: 360px; text-align: center; }
.safe h3 { color: #d8ccb0; }
.safe .note { color: #a89878; }
.safe .x { color: #a89878; }
#dials { margin: 10px 0 14px; white-space: nowrap; }
.dial { display: inline-block; width: 58px; margin: 0 5px; vertical-align: top; }
.dial button { display: block; width: 100%; height: 30px; background: rgba(0,0,0,0.3); border: 1px solid rgba(200,170,110,0.25); color: #c8b890; font-size: 14px; }
.dial b { display: block; height: 58px; line-height: 58px; font-size: 32px; font-weight: normal; color: #f0e2c0; background: radial-gradient(circle at 50% 40%, #6a5230, #2a1e10); border: 2px solid #8a6a38; border-radius: 50%; margin: 6px 0; font-family: Georgia, serif; }

.wide { width: 620px; text-align: center; }
#shadow-cv { width: 100%; max-width: 560px; background: #1a1612; box-shadow: inset 0 0 30px #000; }
#shadow-btns { margin-top: 10px; }
#shadow-btns .btn-small { min-width: 90px; }

.photo { width: 520px; text-align: center; }
#photo-card { position: relative; width: 100%; max-width: 480px; margin: 0 auto; -webkit-perspective: 900px; perspective: 900px; }
#photo-card canvas { display: block; width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,0.5); -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transition: -webkit-transform 0.8s; transition: transform 0.8s; }
#photo-back { position: absolute; left: 0; top: 0; -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
#photo-card.flip #photo-front { -webkit-transform: rotateY(-180deg); transform: rotateY(-180deg); }
#photo-card.flip #photo-back { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); }

#breathfx { position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; z-index: 1; opacity: 0; --bk: 62%;
  background: radial-gradient(ellipse 66% 58% at 50% 46%, rgba(0,0,0,0) var(--bk), rgba(2,5,10,0.62) calc(var(--bk) + 22%), rgba(2,4,8,0.97) 100%); -webkit-transition: opacity 0.35s; transition: opacity 0.35s; }
#breathfx.gasp { opacity: 1 !important; background: radial-gradient(ellipse at 50% 48%, rgba(230,236,244,0.55), rgba(230,236,244,0.15) 60%, rgba(0,0,0,0.6) 100%); -webkit-transition: none; transition: none; }
#fade { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #000; opacity: 0; pointer-events: none; z-index: 30; }

#debug {
  position: absolute; left: 14px; top: 52px; width: 290px; max-height: 70%; overflow-y: auto; display: none; z-index: 25;
  padding: 10px; font-size: 11px; line-height: 1.55; color: #cfc6b4; background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(200, 190, 170, 0.15); border-radius: 4px;
}
#debug.show { display: block; }
#debug pre { margin: 0 0 8px; font-family: Menlo, monospace; font-size: 10.5px; white-space: pre-wrap; }
#debug button { margin: 2px; padding: 5px 8px; font-size: 11px; color: #ddd; background: #262420; border: 1px solid #3c3831; border-radius: 3px; }
#debug b { display: block; margin: 6px 0 2px; color: #8f8674; font-weight: normal; }

/* ---------- 过场字幕 / 结局卡 ---------- */
#scr-cine { z-index: 40; }
#cine-text {
  position: absolute; left: 10%; right: 10%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%);
  text-align: center; font-size: 19px; line-height: 2.1; letter-spacing: 3px; color: #ebe1cc; white-space: pre-wrap;
  opacity: 0; -webkit-transition: opacity 1.2s; transition: opacity 1.2s; text-shadow: 0 0 16px #000, 0 0 4px #000;
}
#cine-text.show { opacity: 1; }
#cine-skip { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 11px; letter-spacing: 4px; color: #6a6254; }
#scr-result { background: #060505; z-index: 45; overflow-y: auto; touch-action: pan-y; }
.result-wrap { padding: 20px 16px 30px; text-align: center; }
#card { width: 360px; max-width: 86%; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.result-wrap .acts { margin-top: 12px; }
#save-img { width: 100%; margin: 10px 0; -webkit-touch-callout: default; }

#rotate-tip {
  position: fixed; left: 0; right: 0; top: 0; padding: 8px; text-align: center; font-size: 12px; letter-spacing: 2px; z-index: 50;
  color: #bdb3a0; background: rgba(0,0,0,0.6); display: none; pointer-events: none;
}
#rotate-tip.show { display: block; }

@media (orientation: portrait) {
  #btns { bottom: 64px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  #bars { bottom: 40px; }
  /* 竖屏：字放在画面下方、右边那列按钮的左边，不挡画面中间 */
  #toast { left: 10px; right: 96px; bottom: 24%; font-size: 14px; }
  #say { left: 10px; right: 96px; bottom: 14%; }
  #say span { font-size: 16px; }
  #objective { font-size: 14px; }
  #tgt { font-size: 14px; }
  #room { font-size: 18px; letter-spacing: 6px; text-indent: 6px; padding: 0 12px; white-space: nowrap; }
  /* 竖屏：目录变成顶上一行横着滑的标签，下面是纸 */
  .sheet.book { height: 90%; max-height: 90%; padding: 12px 12px 14px; }
  .book .cols { -webkit-box-orient: vertical; flex-direction: column; }
  #doc-list { width: auto; margin: 0 0 10px; padding: 0 0 6px; white-space: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-box-flex: 0; flex: none; scrollbar-width: none; }
  #doc-list::-webkit-scrollbar { display: none; }
  #doc-list li.grp { display: inline-block; vertical-align: middle; margin: 0 6px 0 4px; writing-mode: vertical-rl; font-size: 10px; letter-spacing: 2px; }
  #doc-list li.it { display: inline-block; vertical-align: middle; margin: 0 4px 0 0; padding: 7px 18px 7px 10px; border-left: none; border-bottom: 2px solid transparent; background: rgba(200,170,120,0.05); }
  #doc-list li.it.sel { border-bottom-color: #c8a060; }
  #doc-list li.it b { font-size: 13px; }
  #doc-list li.it small { display: none; }
  #doc-list li.it.new:after { right: 6px; top: 8px; }
  #doc-paper { padding: 18px 16px 22px; }
  #doc-paper.t-note { padding-left: 40px; background-image: linear-gradient(90deg, rgba(0,0,0,0) 28px, rgba(170,60,50,0.35) 28px, rgba(170,60,50,0.35) 29px, rgba(0,0,0,0) 29px), repeating-linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 33px, rgba(70,90,130,0.22) 33px, rgba(70,90,130,0.22) 34px); }
  h1 { font-size: 46px; }
}

/* 面板里的滚动条：细、铜色，跟纸面 UI 一套（原来是系统灰条） */
.panel, .sheet, #doc-read, #doc-list { scrollbar-width: thin; scrollbar-color: rgba(122,92,52,0.55) transparent; }
.panel ::-webkit-scrollbar, .panel::-webkit-scrollbar, .sheet::-webkit-scrollbar { width: 5px; height: 5px; }
.panel ::-webkit-scrollbar-track, .panel::-webkit-scrollbar-track, .sheet::-webkit-scrollbar-track { background: transparent; }
.panel ::-webkit-scrollbar-thumb, .panel::-webkit-scrollbar-thumb, .sheet::-webkit-scrollbar-thumb { background: rgba(122,92,52,0.5); border-radius: 3px; }
.panel ::-webkit-scrollbar-thumb:hover, .sheet::-webkit-scrollbar-thumb:hover { background: rgba(122,92,52,0.8); }
.title-foot .link + .link { margin-left: 14px; }

/* 屏息Ⅲ：开场黑屏字幕 */
#intro { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: #000; z-index: 42; display: none; cursor: pointer; }
#intro.show { display: block; }
#intro-text { position: absolute; left: 10%; right: 10%; top: 44%; text-align: center; color: #e6dccb; font-family: Georgia, "Songti SC", "STSong", serif; font-size: 20px; letter-spacing: 0.12em; line-height: 1.9; white-space: pre-line; opacity: 0; -webkit-transition: opacity 0.8s; transition: opacity 0.8s; }
#intro-text.show { opacity: 1; }
#intro-text.red { color: #e0261c; font-family: "Menlo", "Courier New", monospace; font-size: 28px; letter-spacing: 0.3em; -webkit-transition: none; transition: none; }
/* 来电卡片：右上角，铃响时一直在抖 */
#call3 { position: fixed; right: 24px; top: 70px; top: calc(70px + env(safe-area-inset-top, 0px)); width: 210px; padding: 16px 18px 14px; z-index: 46; display: none;
  background: rgba(14, 16, 15, 0.88); border: 1px solid rgba(160, 200, 170, 0.35); border-radius: 4px; text-align: center; font-family: Georgia, "Songti SC","STSong",serif; color: #dfe8de;
  box-shadow: 0 0 24px rgba(120, 190, 140, 0.18); }
#call3.on { display: block; -webkit-animation: callShake 3.2s infinite; animation: callShake 3.2s infinite; }
#call3 .who { font-size: 20px; letter-spacing: 6px; text-indent: 6px; }
#call3 .sub { margin: 6px 0 12px; font-size: 11px; letter-spacing: 2px; color: rgba(200, 220, 205, 0.55); }
#call3 button { width: 100%; padding: 11px 0; font-size: 15px; letter-spacing: 8px; text-indent: 8px; color: #0e1a12; background: #8fc79c; border: none; border-radius: 3px; font-family: inherit; cursor: pointer;
  -webkit-animation: callPulse 1.1s ease-in-out infinite; animation: callPulse 1.1s ease-in-out infinite; }
#call3.talk { -webkit-animation: none; animation: none; width: auto; padding: 8px 14px; opacity: 0.85; }
#call3.talk .who { display: inline; font-size: 13px; letter-spacing: 3px; }
#call3.talk .sub { display: inline; margin: 0 0 0 10px; color: rgba(143,199,156,0.8); }
#call3.talk .sub:before { content: '● '; color: #8fc79c; -webkit-animation: callPulse 1.1s infinite; animation: callPulse 1.1s infinite; }
#call3.talk button, #call3.talk .key { display: none; }
#call3 .key { margin-top: 6px; font-size: 11px; color: rgba(200, 220, 205, 0.45); }
@-webkit-keyframes callShake { 0%, 30%, 100% { -webkit-transform: none; } 3%, 9%, 15%, 21% { -webkit-transform: translateX(-3px) rotate(-1deg); } 6%, 12%, 18%, 24% { -webkit-transform: translateX(3px) rotate(1deg); } }
@keyframes callShake { 0%, 30%, 100% { transform: none; } 3%, 9%, 15%, 21% { transform: translateX(-3px) rotate(-1deg); } 6%, 12%, 18%, 24% { transform: translateX(3px) rotate(1deg); } }
@-webkit-keyframes callPulse { 50% { box-shadow: 0 0 16px rgba(143, 199, 156, 0.8); } }
@keyframes callPulse { 50% { box-shadow: 0 0 16px rgba(143, 199, 156, 0.8); } }
#split3 { position: fixed; left: 0; right: 0; top: 30%; display: none; z-index: 45; pointer-events: none; }
#split3.on { display: flex; }
#split3 > div { flex: 1; padding: 0 6%; font-size: 20px; line-height: 1.8; }
#split3 b { display: block; font-size: 12px; letter-spacing: 0.3em; opacity: 0.55; font-weight: normal; margin-bottom: 8px; }
#split3 .l { color: #ece6da; font-family: "Bradley Hand", "Segoe Print", "Kaiti SC", "STKaiti", serif; text-align: right; border-right: 1px solid rgba(255,255,255,0.18); }
#split3 .r { color: #e0261c; font-family: "PingFang SC", "Heiti SC", sans-serif; font-weight: 600; text-align: left; }
#split3.loud > div { -webkit-animation: split3shake 0.08s infinite; animation: split3shake 0.08s infinite; }
#split3.crack > div { filter: blur(2px); opacity: 0.4; letter-spacing: 0.5em; }
@keyframes split3shake { 0% { transform: translate(0, 0); } 50% { transform: translate(2px, -1px); } 100% { transform: translate(-2px, 1px); } }
@-webkit-keyframes split3shake { 0% { -webkit-transform: translate(0, 0); } 50% { -webkit-transform: translate(2px, -1px); } 100% { -webkit-transform: translate(-2px, 1px); } }
#intro-skip, #cine-skip { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: rgba(230,220,200,0.3); font-size: 12px; letter-spacing: 0.2em; }
#cine-text { white-space: pre-line; }

/* 密码锁 */
#keypad { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 40; display: none; background: rgba(0,0,0,0.72); }
#keypad.show { display: flex; align-items: center; justify-content: center; }
#keypad.brass .kp-box { background: linear-gradient(160deg, #6a5226, #3a2c14); border-color: rgba(230,190,120,0.45); box-shadow: inset 0 0 0 3px rgba(0,0,0,0.25), 0 20px 50px #000; }
#keypad.brass .kp-title { color: rgba(250,226,180,0.75); }
#keypad.brass .kp-screen { background: linear-gradient(180deg, #1a140a, #3a2c14 45%, #1a140a); color: #f0d8a0; font-family: Georgia, "Songti SC", "STSong", serif; text-shadow: 0 1px 0 #000; }
#keypad.brass .kp-keys button, #keypad.brass .kp-row button { background: #2a2010; color: #e8cf98; border-color: rgba(230,190,120,0.3); }
#keypad .kp-box { width: 264px; padding: 18px 18px 14px; background: #15161a; border: 1px solid rgba(230,220,200,0.18); border-radius: 6px; }
#keypad .kp-title { color: rgba(230,220,200,0.6); font-size: 12px; letter-spacing: 0.12em; text-align: center; margin-bottom: 12px; }
#keypad .kp-screen { height: 46px; line-height: 46px; text-align: center; font: 26px/46px "Menlo", monospace; color: #9fd0a8; background: #050806; border-radius: 4px; letter-spacing: 0.3em; margin-bottom: 12px; }
#keypad .kp-keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
#keypad button { height: 42px; background: #24262b; color: #e6dccb; border: 1px solid rgba(230,220,200,0.12); border-radius: 4px; font-size: 18px; cursor: pointer; }
#keypad .kp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#keypad .kp-row button { font-size: 14px; letter-spacing: 0.2em; }

/* 引擎内过场：上下黑边 + 字幕 */
#cine3 { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 41; pointer-events: none; }
#cine3.show { pointer-events: auto; }
#cine3 .cb { position: absolute; left: 0; right: 0; height: 0; background: #000; -webkit-transition: height 0.6s; transition: height 0.6s; }
#cine3 .top { top: 0; } #cine3 .bot { bottom: 0; }
#cine3.show .cb { height: min(14vh, max(0px, calc((100vh - 100vw / 2.35) / 2))); }
#cine3 .cs { position: absolute; left: 8%; right: 8%; bottom: 13.5vh; text-align: center; color: #efe6d4; font-family: Georgia, "Songti SC", "STSong", serif; font-size: 19px; letter-spacing: 0.1em; line-height: 1.8; white-space: pre-line; text-shadow: 0 0 6px #000, 0 0 2px #000; opacity: 0; -webkit-transition: opacity 0.6s; transition: opacity 0.6s; }
#cine3 .cs.in { opacity: 1; }
#cine3 .ck { position: absolute; right: 18px; bottom: 3.5vh; color: rgba(230,220,200,0.35); font-size: 12px; letter-spacing: 0.2em; display: none; }
#cine3.show .ck { display: block; }
body.cine3 #btns, body.cine3 #topbar, body.cine3 #objective, body.cine3 #bars, body.cine3 #tgt, body.cine3 #joy-base, body.cine3 #room { visibility: hidden; }
body.ending #scr-game { visibility: hidden; }
/* 过场时：屏幕底下是过场字幕，人物的话往上挪，不叠在一起 */
body.cine3 #say { bottom: 24%; }
body.vhs #btns, body.vhs #topbar, body.vhs #objective, body.vhs #bars, body.vhs #tgt, body.vhs #joy-base, body.vhs #room, body.vhs #toast, body.vhs #say { visibility: hidden; }

/* 二选一（评分台） */
#chooser { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 40; display: none; background: rgba(0,0,0,0.72); }
#chooser.show { display: flex; align-items: center; justify-content: center; }
#chooser .ch-box { width: min(420px, 88vw); padding: 18px; background: #0d1210; border: 1px solid rgba(159,208,168,0.25); border-radius: 6px; font-family: "Menlo", "PingFang SC", monospace; }
#chooser .ch-title { color: rgba(159,208,168,0.6); font-size: 12px; letter-spacing: 0.12em; margin-bottom: 10px; }
#chooser .ch-q { color: #cfe8d2; font-size: 17px; margin-bottom: 14px; line-height: 1.6; }
#chooser .ch-opts button { display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 10px 12px; background: #16201b; color: #e6dccb; border: 1px solid rgba(159,208,168,0.2); border-radius: 4px; font-size: 15px; line-height: 1.5; cursor: pointer; }
#chooser .ch-quit { margin-top: 4px; width: 100%; height: 36px; background: transparent; color: rgba(230,220,200,0.5); border: 1px solid rgba(230,220,200,0.12); border-radius: 4px; letter-spacing: 0.2em; cursor: pointer; }

/* 烧掉的残句 / 终端红字 */
#frag { position: fixed; right: 6%; top: 30%; color: rgba(255,190,130,0.0); font-family: Georgia, "Songti SC", serif; font-size: 15px; letter-spacing: 0.15em; pointer-events: none; z-index: 30; }
#frag.on { -webkit-animation: frag3 2.2s ease-out forwards; animation: frag3 2.2s ease-out forwards; }
@keyframes frag3 { 0% { color: rgba(255,190,130,0); transform: translateY(6px); } 15% { color: rgba(255,190,130,0.75); } 100% { color: rgba(255,190,130,0); transform: translateY(-26px); } }
@-webkit-keyframes frag3 { 0% { color: rgba(255,190,130,0); } 15% { color: rgba(255,190,130,0.75); } 100% { color: rgba(255,190,130,0); } }
/* 终端串线：屏幕中间一条故障带，红字带错位重影，闪进来、闪出去 */
#flash3 { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 45; display: none; pointer-events: none; background: rgba(20,0,0,0.28); }
#flash3.on { display: block; }
#flash3 .fl-band { position: absolute; left: 0; right: 0; top: 40%; padding: 14px 6% 16px; text-align: center; background: rgba(6,0,0,0.88);
  border-top: 1px solid rgba(255,59,48,0.45); border-bottom: 1px solid rgba(255,59,48,0.45); box-shadow: 0 0 40px rgba(255,40,30,0.25);
  -webkit-animation: flIn 0.22s steps(4) both, flJit 0.9s steps(2) 0.22s infinite; animation: flIn 0.22s steps(4) both, flJit 0.9s steps(2) 0.22s infinite; }
#flash3.out .fl-band { -webkit-animation: flOut 0.25s steps(3) both; animation: flOut 0.25s steps(3) both; }
#flash3 .fl-hd { font: 11px/1.4 "Menlo", "PingFang SC", monospace; letter-spacing: 0.3em; color: rgba(255,120,110,0.7); margin-bottom: 6px; }
#flash3 .fl-tx { position: relative; font: bold 22px/1.5 "Menlo", "PingFang SC", monospace; letter-spacing: 0.1em; color: #ff3b30; white-space: pre-line; text-shadow: 0 0 12px rgba(255,40,30,0.6); }
#flash3 .fl-tx:before, #flash3 .fl-tx:after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 0; opacity: 0.55; }
#flash3 .fl-tx:before { color: #39e0ff; -webkit-transform: translate(-3px, 1px); transform: translate(-3px, 1px); clip-path: inset(0 0 55% 0); }
#flash3 .fl-tx:after { color: #ff3b30; -webkit-transform: translate(4px, -1px); transform: translate(4px, -1px); clip-path: inset(50% 0 0 0); }
@-webkit-keyframes flIn { 0% { opacity: 0; -webkit-transform: scaleY(0.05); } 50% { opacity: 1; -webkit-transform: scaleY(1.3) translateX(-8px); } 100% { opacity: 1; -webkit-transform: none; } }
@keyframes flIn { 0% { opacity: 0; transform: scaleY(0.05); } 50% { opacity: 1; transform: scaleY(1.3) translateX(-8px); } 100% { opacity: 1; transform: none; } }
@-webkit-keyframes flOut { 0% { opacity: 1; } 60% { opacity: 0.6; -webkit-transform: scaleY(0.4) translateX(10px); } 100% { opacity: 0; -webkit-transform: scaleY(0.02); } }
@keyframes flOut { 0% { opacity: 1; } 60% { opacity: 0.6; transform: scaleY(0.4) translateX(10px); } 100% { opacity: 0; transform: scaleY(0.02); } }
@-webkit-keyframes flJit { 0%, 85% { -webkit-transform: none; } 90% { -webkit-transform: translateX(-4px); } 95% { -webkit-transform: translateX(3px) skewX(-4deg); } }
@keyframes flJit { 0%, 85% { transform: none; } 90% { transform: translateX(-4px); } 95% { transform: translateX(3px) skewX(-4deg); } }

/* 回忆房间：屋里暖了起来 */
#warm3 { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 29; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 55%, rgba(255,170,90,0.28), rgba(150,70,20,0.35)); mix-blend-mode: screen; -webkit-transition: opacity 1.4s; transition: opacity 1.4s; }
#warm3.on { opacity: 1; }

/* 「转」之后笔记本里的红笔批注 */
.margin.red { color: #b3261e !important; font-weight: bold; }
/* 第 9 天的闪回：录像带画面 */
body.vhs #gl { filter: grayscale(0.75) sepia(0.25) contrast(1.15) brightness(0.9); }
#vhs3 { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 44; display: none; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0 2px, rgba(0,0,0,0) 2px 4px); }
#vhs3.on { display: block; }
#vhs3 .rec { position: absolute; left: 24px; top: 20px; color: #ff4a3a; font: bold 18px "Menlo", monospace; letter-spacing: 0.1em; }
#vhs3 .clock { position: absolute; right: 24px; top: 20px; color: #e6dccb; font: 20px "Menlo", monospace; }
#vhs3 .sub { position: absolute; left: 8%; right: 8%; bottom: 22vh; text-align: center; color: #efe6d4; font-family: Georgia, "Songti SC", serif; font-size: 20px; line-height: 1.8; text-shadow: 0 0 6px #000; white-space: pre-line; }
#vhs3 button { pointer-events: auto; position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); width: 168px; height: 64px; border-radius: 10px; background: #8a1410; color: #fff; border: 2px solid #ff6a5a; font-size: 18px; letter-spacing: 0.2em; cursor: pointer; box-shadow: 0 0 22px rgba(255,60,40,0.45); }
#vhs3 .skip { pointer-events: auto; position: absolute; right: 22px; bottom: 3vh; color: rgba(230,220,200,0.4); font-size: 12px; letter-spacing: 0.2em; cursor: pointer; }
/* 重放：消息裂开，露出底下的原文 */
#montage3 { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 46; display: none; background: #000; color: #e6dccb; font-family: "PingFang SC", serif; }
#montage3.on { display: flex; align-items: center; justify-content: center; flex-direction: column; }
#montage3 .a { font-size: 22px; letter-spacing: 0.08em; transition: opacity 0.3s; }
#montage3 .b { margin-top: 18px; font: bold 22px "Menlo", "PingFang SC", monospace; color: #ff3b30; letter-spacing: 0.08em; opacity: 0; transition: opacity 0.2s; }
#montage3.crack .a { opacity: 0.25; text-decoration: line-through; }
#montage3.crack .b { opacity: 1; }
/* 背包里原件的画面（念念的画、底片） */
#item-pic { display: block; width: 100%; max-width: 300px; height: auto; margin: 8px 0 4px; border-radius: 2px; transform: rotate(-0.8deg); -webkit-transform: rotate(-0.8deg); -webkit-filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); }
/* 第 9 天录像带：监控截帧铺满（竖屏时对准她和闸刀那一侧），慢慢推近，偶尔一跳；扫描线压在上面 */
#vhs3 .still { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #000 72% 50% / cover no-repeat; opacity: 0; }
@media (max-aspect-ratio: 1/1) { #vhs3 .still { background-size: auto 60%; background-position: 77% 30%; } #vhs3 .rec { left: 16px; font-size: 15px; } #vhs3 .clock { left: 16px; right: auto; top: 46px; font-size: 16px; } }   /* 竖屏：她的背影和红闸刀都要在画面里，上下留黑边 */
#vhs3 .still video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
@media (max-aspect-ratio: 1/1) { #vhs3 .still video { height: 60%; object-position: 77% 30%; } }
#vhs3 .still::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 2px, rgba(0,0,0,0) 2px 4px); }
#vhs3.on .still { -webkit-animation: vhsIn 2.5s ease-out forwards, vhsPush 46s linear forwards; animation: vhsIn 2.5s ease-out forwards, vhsPush 46s linear forwards; }
@keyframes vhsIn { to { opacity: 0.92; } }
@keyframes vhsPush { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 40.4% { transform: scale(1.04) translate(1.2%, -1%); } 41% { transform: scale(1.04); } 85% { transform: scale(1.08); } 85.3% { transform: scale(1.08) translate(-1%, 1.4%); } 86%, 100% { transform: scale(1.09); } }
@-webkit-keyframes vhsIn { to { opacity: 0.92; } }
@-webkit-keyframes vhsPush { 0% { -webkit-transform: scale(1); } 40% { -webkit-transform: scale(1.04); } 40.4% { -webkit-transform: scale(1.04) translate(1.2%, -1%); } 41% { -webkit-transform: scale(1.04); } 85% { -webkit-transform: scale(1.08); } 85.3% { -webkit-transform: scale(1.08) translate(-1%, 1.4%); } 86%, 100% { -webkit-transform: scale(1.09); } }
/* 结局 03 的插画：字幕底下慢慢浮出来 */
#cine-art { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: center 35% / cover no-repeat; opacity: 0; transition: opacity 4s ease; pointer-events: none; }
#cine-art.show { opacity: 0.55; }
#cine-art video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
#cine-art.show.vid { opacity: 1; }   /* 结局影像本身是完整画面：开始播放后不再透出后面的游戏场景（还没出画面时仍是半透明插画） */
/* 首页：自动播放被拦下时的一行小提示（点一下就开始放主题曲） */
.tmusic { margin: -6px 0 14px; font-size: 11px; letter-spacing: 4px; color: rgba(184,172,148,0.6); opacity: 0; height: 0; overflow: hidden; -webkit-transition: opacity 0.8s; transition: opacity 0.8s; }
.tmusic.show { opacity: 1; height: auto; -webkit-animation: tmusicPulse 2.8s ease-in-out infinite; animation: tmusicPulse 2.8s ease-in-out infinite; }
@keyframes tmusicPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@-webkit-keyframes tmusicPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
/* 在 TapTap 里：右上角有官方胶囊按钮，顶栏右边的「笔记 / 背包」往左让开 */
body.in-tap #topbar { padding-right: var(--capsule, 170px); }

/* 线索全屏阅读：目录与正文各自滚动，关闭按钮始终可达。 */
#docs { background: #100d0b; padding: 0; }
#docs .sheet.book { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; box-sizing: border-box; padding: 16px 18px; padding: calc(16px + env(safe-area-inset-top, 0px)) calc(18px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(18px + env(safe-area-inset-left, 0px)); }
#doc-read { touch-action: pan-y; }
#doc-paper { font-size: 16px; line-height: 1.9; }
#doc-paper .replay-controls { white-space: normal; padding: 0 0 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(200,170,120,0.25); }
.replay-status { display: block; font: 13px/1.6 system-ui; color: #b5a68b; padding-top: 8px; }
.replay-caption { font-size: 16px; line-height: 1.8; margin-top: 8px; color: #eee0c5; }
@media (orientation: portrait) { #docs .sheet.book { padding: 12px 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } #doc-paper { font-size: 16px; } }

#docs #doc-paper { font-size: 16px; }

/* 横线与正文共用行距和起点，来源标题不参与正文纸格。 */
#docs #doc-paper.t-note { --note-line: 34px; line-height: var(--note-line); background-image: linear-gradient(90deg, transparent 34px, rgba(170,60,50,.35) 34px 35px, transparent 35px); background-position: 0 0; }
#docs #doc-paper.t-note .src { line-height: 24px; padding-bottom: 0; margin-bottom: 12px; }
#doc-paper.t-note .note-body { min-height: 360px; line-height: var(--note-line); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--note-line) - 2px), rgba(70,90,130,.22) calc(var(--note-line) - 2px), rgba(70,90,130,.22) calc(var(--note-line) - 1px), transparent var(--note-line)); }
#doc-paper.t-note .note-body .hand { line-height: inherit; }
@media (max-width: 700px) { #docs #doc-paper.t-note { background-image: linear-gradient(90deg, transparent 28px, rgba(170,60,50,.35) 28px 29px, transparent 29px); } }

/* 首页只留灯泡和飞蛾：标题、副标题、耳机提示（挪进开场视频）、难度 / 画质（暂停菜单里能改）都不显示；
 * 「进去」按钮铺满整屏、完全透明，点哪里都进。 */
#scr-title h1, #scr-title .tag, #scr-title .phones, #scr-title .tmusic, #scr-title .title-foot, #scr-title #btn-continue { display: none !important; }
#scr-title #btn-enter { position: fixed; left: 0; top: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: transparent; opacity: 0; z-index: 3; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#scr-title #audio-hint { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; z-index: 4; pointer-events: none; }

/* ---------- 片尾字幕：灯泡和飞蛾在上半屏，字幕从下往上滚，上下两头淡出 ---------- */
#scr-credits { z-index: 200; background: #030304; overflow: hidden; -webkit-transition: opacity 0.9s; transition: opacity 0.9s; }
#scr-credits.leaving { opacity: 0; }
#scr-credits #title-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
#scr-credits .credits-view { position: absolute; left: 0; right: 0; top: 42%; bottom: 0; overflow: hidden; z-index: 1;   /* 字幕只在下半屏滚，上半屏留给灯泡 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 84%, transparent 100%); }
#scr-credits .credits-roll { position: absolute; left: 0; right: 0; top: 0; text-align: center; color: #cfc5b0; font-family: Georgia, "Songti SC", "STSong", serif; will-change: transform; }
#scr-credits .cr-h { font-size: 30px; letter-spacing: 12px; text-indent: 12px; color: #e6dcc6; margin: 0 0 10px; }
#scr-credits .cr-t { font-size: 14px; letter-spacing: 3px; color: #9a8f7a; margin: 6px 0; padding: 0 16px; }
#scr-credits .cr-r { margin: 12px 0; }
#scr-credits .cr-r span { display: block; font-size: 12px; letter-spacing: 4px; color: #8a8070; margin-bottom: 4px; }
#scr-credits .cr-r b { display: block; font-weight: normal; font-size: 16px; letter-spacing: 1px; color: #e2d8c2; padding: 0 16px; }
#scr-credits .credits-skip { position: absolute; right: 18px; bottom: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 2; font-size: 11px; letter-spacing: 3px; color: rgba(200,190,170,0.45); }

/* 章节卡背景：去色的旧开场画面，压到很暗，字在上面 */
#intro video.card-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; -webkit-transition: opacity 1.6s; transition: opacity 1.6s; }
#intro video.card-bg.on { opacity: 0.34; }
#intro-text { z-index: 1; text-shadow: 0 0 18px #000, 0 0 4px #000; }

/* VR 入口：盖在铺满首页的「进去」按钮上面（只有浏览器支持 immersive-vr 才显示） */
#scr-title #btn-vr { position: fixed; left: 50%; bottom: 9vh; transform: translateX(-50%); z-index: 4; margin: 0; padding: 12px 34px; font-size: 17px; letter-spacing: 0.12em; color: #e8dfcc; background: rgba(10,10,14,0.55); border: 1px solid rgba(232,223,204,0.45); border-radius: 2px; cursor: pointer; }
#scr-title #btn-vr[hidden] { display: none; }
