/* 星際航誌閱讀版（logbook.py；2026-10-27 資訊處）。沒有 .js-lg（沒程式／減少動態效果）＝全部文字直接顯示 */
body:has(.lg) { overflow-x: clip; }
/* 網站本身的頁名大標留給讀屏與搜尋，畫面上由封面直排標題代替（不重複出現兩次） */
body:has(.lg) main > .page-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lg { position: relative; width: 100vw; margin: 0 0 0 calc(50% - 50vw); color: #e6ebf4;
  background: radial-gradient(1px 1px at 12% 18%, #ffffff55, transparent), radial-gradient(1px 1px at 78% 42%, #ffffff44, transparent), radial-gradient(1.5px 1.5px at 34% 71%, #f1e3bd55, transparent), radial-gradient(1px 1px at 91% 86%, #ffffff40, transparent), linear-gradient(180deg, #070b16, #0a1226 40%, #070b16);
  background-size: 420px 520px, 380px 460px, 520px 600px, 300px 360px, 100% 100%; }
.lg-c { font-style: normal; }
.lg section { position: relative; box-sizing: border-box; }

/* 進度：頁頂細線＋左側站點 */
.lg-bar { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.lg-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #d8c79f00, #d8c79f 30%, #f6efdc); box-shadow: 0 0 10px #f1e3bd99; }
.lg-rail { display: none; }
@media (min-width: 1180px) {
  .lg-rail { display: block; position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 40; }
  .lg-rail ol { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
  .lg-rail ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(#d8c79f00, #d8c79f66, #d8c79f00); }
  .lg-rail a { position: relative; display: flex; align-items: center; gap: 12px; height: 34px; color: #b9c4d6; text-decoration: none; font: 400 13px/1 "Noto Sans TC", sans-serif; letter-spacing: .14em; }
  .lg-rail i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid #d8c79f88; background: #070b16; transition: background .4s, box-shadow .4s, transform .4s; }
  .lg-rail span { opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s; white-space: nowrap; }
  .lg-rail:hover span, .lg-rail a.is-on span { opacity: 1; transform: none; }
  .lg-rail a.is-on { color: #f1e3bd; }
  .lg-rail a.is-on i { background: #f1e3bd; box-shadow: 0 0 12px #f1e3bdcc; transform: scale(1.15); }
  .lg-rail a.is-past i { background: #d8c79f88; }
}

/* 封面＝首頁中欄同一套入口視覺（curation_home.center_parts）：星雲滿版、切面＋四段標題＋直排引言在 602×556 畫板，等比放大（--s 由程式依畫面算） */
.lg-cover { --s: 1.25; min-height: calc(100vh - 120px); min-height: calc(100svh - 120px); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 50px 4vw 100px; }
.lg-neb { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lg-neb .rt-nebula { position: absolute; inset: -40px; background: url('/assets/bg-galaxy.jpg') 79% 56% / cover; opacity: .5; }
.lg-neb .rt-nebula::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, #03071100 0%, #03071199 70%, #030711 100%), linear-gradient(0deg, #070b16 0%, #070b1600 28%); }
.js-lg .lg-neb .rt-nebula { animation: lg-neb 14s ease-in-out infinite alternate; }
@keyframes lg-neb { from { transform: translate(-14px, 8px) scale(1.02); } to { transform: translate(16px, -9px) scale(1.08); } }
.lg-cv { position: relative; z-index: 1; --rt-serif: 'Noto Serif TC', 'PMingLiU', serif; }
.lg-cv-stage { position: relative; width: 602px; height: 556px; transform: scale(var(--s)); transform-origin: 0 0; margin: 0 calc(602px * (var(--s) - 1)) calc(556px * (var(--s) - 1)) 0; font-family: var(--rt-serif); color: #e8eef6; }
.lg-cv-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.lg-cv-hd { position: absolute; left: 22px; right: 22px; top: 26px; display: flex; align-items: center; justify-content: space-between; margin: 0; font: 500 15px var(--rt-serif); letter-spacing: .2em; color: #e4d4ae; }
.lg-cv-hd small { font-size: 12px; letter-spacing: .12em; color: #b9c4d6; }
.lg-cv .rt-title { position: absolute; left: 28px; top: 109px; width: 295px; height: 316px; margin: 0; font-family: var(--rt-serif); font-weight: 500; line-height: 1; letter-spacing: 0; color: #e8eef6; }
.lg-cv .rt-title > span { position: absolute; white-space: nowrap; display: block; font-family: var(--rt-serif); font-weight: 500; }
.lg-cv .rt-lead { left: 2px; top: 0; font-size: 24px; letter-spacing: .18em; color: #d8c79f; }
.lg-cv .rt-year { left: 27px; top: 53px; font-size: 86px; letter-spacing: .045em; background: linear-gradient(115deg, #8ea6c2 0%, #f8fbff 28%, #d6e5f3 48%, #8aa6c6 68%, #f6fbff 88%, #a6b9cf 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 13px #c4ddff33); }
.js-lg .lg-cv .rt-year { animation: lg-sheen 8s ease-in-out infinite alternate; }
@keyframes lg-sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.lg-cv .rt-unsaid { left: 246px; top: 38px; writing-mode: vertical-rl; font-size: 25px; letter-spacing: .14em; color: #e8eef6; }
.lg-cv .rt-last { left: 125px; top: 236px; font-size: 43px; letter-spacing: .12em; color: #e1d6bc; text-shadow: 0 0 15px #bfd8ff24; }
.lg-cv .rt-title.rt-plain { writing-mode: vertical-rl; font-size: 34px; letter-spacing: .16em; line-height: 1.5; height: auto; max-height: 360px; }
.lg-cv .rt-lede { position: absolute; left: 345px; right: 27px; top: 229px; height: 238px; margin: 0; color: #bac9da; font: 14px/1.8 var(--rt-serif); letter-spacing: .09em; text-shadow: 0 0 9px #000; text-align: left !important; }
.lg-cv .rt-lede > span { position: absolute; top: 0; right: calc(var(--k, 0) * 31px); white-space: nowrap; writing-mode: vertical-rl; }
.lg-cv .rt-lede > .rt-dialogue { left: 0; right: auto; top: 217px; writing-mode: horizontal-tb; font-size: 18px; letter-spacing: .015em; color: #e7d9b5; }
/* 進場：標題四段依序浮現，引言一欄一欄出來，最後一句對白點亮 */
.js-lg .lg-cv .rt-title > span, .js-lg .lg-cv .rt-lede > span, .js-lg .lg-cv-hd, .js-lg .lg-cv-stage > svg { opacity: 0; filter: blur(8px); transition: opacity 1.3s ease, filter 1.3s ease; }
.js-lg .lg-cv .rt-lead { transition-delay: .2s; } .js-lg .lg-cv .rt-year { transition-delay: .6s; } .js-lg .lg-cv .rt-unsaid { transition-delay: 1s; } .js-lg .lg-cv .rt-last { transition-delay: 1.4s; }
.js-lg .lg-cv .rt-lede > span { transition-delay: calc(1.9s + var(--k, 0) * .45s); }
.js-lg .lg-cv .rt-lede > .rt-dialogue { transition-delay: 3.4s; }
.js-lg .lg-cover.is-in .lg-cv .rt-title > span, .js-lg .lg-cover.is-in .lg-cv .rt-lede > span, .js-lg .lg-cover.is-in .lg-cv-hd, .js-lg .lg-cover.is-in .lg-cv-stage > svg { opacity: 1; filter: none; }
.js-lg .lg-cover.is-in .lg-cv .rt-dialogue { text-shadow: 0 0 16px #f1e3bd88; }
.lg-down { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #d8c79f; text-decoration: none; font: 400 13px/1 "Noto Sans TC", sans-serif; letter-spacing: .4em; z-index: 1; }
.lg-down i { width: 1px; height: 38px; background: linear-gradient(#d8c79f, #d8c79f00); }
.js-lg .lg-down i { animation: lg-drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes lg-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 過場 */
.lg-tr { position: relative; min-height: 64vh; display: flex; align-items: center; justify-content: center; padding: 80px 8vw; text-align: center; overflow: hidden; }
.lg-tr::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 80px; background: linear-gradient(#d8c79f00, #d8c79f88); }
.lg-tr-t { position: relative; z-index: 1; max-width: 22em; margin: 0; font: 500 clamp(20px, 2.2vw, 26px)/2 "Noto Serif TC", serif; color: #f1e3bd; letter-spacing: .12em; }
.lg-year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 300 clamp(120px, 22vw, 280px)/1 "Cormorant Garamond", serif; color: transparent; -webkit-text-stroke: 1px #d8c79f44; letter-spacing: .06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.js-lg .lg-year { opacity: 0; transition: opacity 1.2s ease; }
.js-lg .lg-tr.is-in .lg-year { opacity: 1; }

/* 故事 */
.lg-story { padding: 0 6vw 90px; }
.lg-page { position: relative; max-width: 35em; margin: 0 auto; padding: 56px 0 10px; font-size: 19px; }
.lg-st-hd { display: flex; align-items: baseline; gap: 14px; margin: 0 0 36px; }
.lg-st-no { font: 600 46px/1 "Noto Serif TC", serif; color: #d8c79f; text-shadow: 0 0 22px #d8c79f55; }
.lg-st-of { font: 400 13px/1 "Noto Sans TC", sans-serif; letter-spacing: .4em; color: #b9c4d6; }
.lg-st-hd::after { content: ""; flex: 1; height: 1px; align-self: center; background: linear-gradient(90deg, #d8c79f66, #d8c79f00); }
.lg-page p { margin: 0 0 1.25em; font: 400 1em/2.15 "Noto Serif TC", serif; letter-spacing: .04em; text-align: justify; color: #e6ebf4; }
.lg-s { transition: opacity .9s ease, filter .9s ease, color .6s; }
.js-lg [data-lg-p] .lg-s { opacity: 0; filter: blur(3px); }
.js-lg [data-lg-p].is-in .lg-s { opacity: 1; filter: none; transition-delay: min(calc(var(--i) * 150ms), 1.5s); }
.js-lg [data-lg-p] .lg-s.is-typing, .js-lg [data-lg-p] .lg-s.is-typed { opacity: 1; filter: none; transition: none; }
.lg-c { transition: opacity .12s; }
.js-lg [data-lg-p].is-in .lg-s[data-lg-type]:not(.is-typing):not(.is-typed) { opacity: 0; }
.is-typing .lg-c { opacity: 0; }
.is-typing .lg-c.on { opacity: 1; }
.lg-s[data-lg-type] { color: #f6efdc; }
/* 刪掉的那一段：一字一字退掉，留殘影 */
.lg-c.off { opacity: .3; color: #8fa0bd; transition: opacity .5s, color .5s; }
[data-lg-erase-from].is-erased { text-decoration: line-through; text-decoration-color: #d8c79f33; }
/* 被扯一下 */
.lg-tug { position: relative; left: 0; }
.js-lg .lg-tug.is-pull { animation: lg-tug .6s ease-in-out 2; }
@keyframes lg-tug { 0%, 100% { left: 0; } 30% { left: -5px; } 60% { left: 2px; } }
/* 壓低聲音 */
.lg-whisper { font-size: .88em; letter-spacing: .22em; color: #b9c4d6; }
.js-lg [data-lg-p].is-in .lg-whisper { transition: opacity 2.2s ease, filter 2.2s ease, letter-spacing 2.2s ease; transition-delay: min(calc(var(--i) * 150ms + .6s), 2s); }
.js-lg [data-lg-p] .lg-whisper { letter-spacing: .5em; }
.js-lg [data-lg-p].is-in .lg-whisper { letter-spacing: .22em; }
/* 桃花 */
.lg-petals { position: absolute; inset: -40px -16vw 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lg-petals i { position: absolute; top: -20px; width: 10px; height: 7px; border-radius: 70% 0 70% 0; background: #f2b8c6; opacity: 0; box-shadow: 0 0 8px #f2b8c655; }
.lg-petals.is-on i { animation: lg-fall var(--d) linear var(--w) infinite; }
@keyframes lg-fall { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 10% { opacity: .75; } 50% { transform: translate(var(--x), 50vh) rotate(200deg); } 90% { opacity: .6; } 100% { opacity: 0; transform: translate(calc(var(--x) * -.4), 105vh) rotate(420deg); } }
.lg-has-petals .lg-page > :not(.lg-petals) { position: relative; z-index: 1; }
/* 群組小窗 */
.lg-chat { width: min(300px, 86%); margin: 6px auto 34px; padding: 12px 14px 14px; border-radius: 18px; border: 1px solid #d8c79f55; background: linear-gradient(180deg, #121c35f2, #0a1124f2); box-shadow: 0 10px 40px #00000080, inset 0 0 0 1px #ffffff08; font: 400 14px/1.6 "Noto Sans TC", sans-serif; }
.lg-chat-hd { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid #2a3a5c; text-align: center; color: #b9c4d6; font-size: 12px; letter-spacing: .2em; }
.lg-chat-msg { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.lg-chat-msg i { flex: 0 0 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f1e3bd, #8a7444); }
.lg-chat-msg span { padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #24314f; color: #f6efdc; }
.lg-chat-in { display: flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid #2f4268; color: #f6efdc; }
.lg-chat-in b { width: 1px; height: 16px; margin-left: 2px; background: #f1e3bd; }
.js-lg .lg-chat-in b { animation: lg-caret 1s steps(1) infinite; }
@keyframes lg-caret { 50% { opacity: 0; } }
.js-lg .lg-chat { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .8s ease, transform .8s ease; }
.js-lg .lg-chat.is-in { opacity: 1; transform: none; }
.js-lg .lg-chat-msg { opacity: 0; transform: translateY(8px); transition: opacity .5s ease .5s, transform .5s ease .5s; }
.js-lg .lg-chat.is-in .lg-chat-msg { opacity: 1; transform: none; }

/* 停一下 */
.lg-quiz { padding: 30px 6vw 100px; }
.lg-q-box { max-width: 34em; margin: 0 auto; padding: 40px 44px 34px; border: 1px solid #d8c79f8c; box-shadow: inset 0 0 0 4px #070b16, inset 0 0 0 5px #d8c79f40, 0 0 60px #d8c79f14; background: radial-gradient(120% 90% at 50% 0%, #17223f, #0a1124); }
.lg-q-k { margin: 0 0 10px; font: 500 12px/1 "Noto Sans TC", sans-serif; color: #d8c79f; letter-spacing: .5em; }
.lg-q { margin: 0 0 26px; font: 600 clamp(21px, 2.2vw, 26px)/1.65 "Noto Serif TC", serif; color: #f6efdc; letter-spacing: .06em; }
.lg-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lg-opts button { position: relative; width: 100%; min-height: 50px; display: flex; align-items: center; gap: 16px; padding: 10px 18px; text-align: left; background: #0c1426cc; color: #e6ebf4; border: 1px solid #2f4268; border-radius: 26px; font: 400 16px/1.6 "Noto Sans TC", sans-serif; cursor: pointer; overflow: hidden; transition: border-color .3s, background .3s, opacity .4s, transform .3s; }
.lg-opts button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #f1e3bd00 30%, #f1e3bd22 50%, #f1e3bd00 70%); transform: translateX(-100%); }
.lg-opts button:hover::after, .lg-opts button:focus-visible::after { transform: translateX(100%); transition: transform .9s ease; }
.lg-opts button b { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d8c79f88; font: 600 14px/1 "Cormorant Garamond", serif; color: #d8c79f; }
.lg-opts button:hover, .lg-opts button:focus-visible { border-color: #d8c79f99; transform: translateX(3px); }
.lg-opts button[aria-pressed="true"] { border-color: #d8c79f; background: #1a2442; }
.lg-opts button[aria-pressed="true"] b { background: #f1e3bd; color: #070b16; }
.lg-opts.is-chosen button[aria-pressed="false"] { opacity: .4; }
.lg-reply { margin: 12px 8px 4px 60px; font: 500 18px/1.9 "Noto Serif TC", serif; color: #f1e3bd; letter-spacing: .04em; }
.js-lg .lg-q-box { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.js-lg .lg-quiz.is-in .lg-q-box { opacity: 1; transform: none; }

/* 策展短箋 */
.lg-note { padding: 40px 6vw 100px; }
.lg-letter { position: relative; max-width: 33em; margin: 0 auto; padding: 50px 52px 40px; background: linear-gradient(180deg, #f3ead6, #e9dcc0); color: #2a2418; box-shadow: 0 20px 60px #000000a0; transform: rotate(-.6deg); }
.lg-letter::before { content: ""; position: absolute; right: 26px; top: 22px; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #9a3b2f88; box-shadow: inset 0 0 0 4px #e9dcc0, inset 0 0 0 5px #9a3b2f55; }
.lg-letter::after { content: "✦"; position: absolute; right: 26px; top: 22px; width: 58px; height: 58px; display: grid; place-items: center; font-size: 20px; color: #9a3b2fbb; }
.lg-letter h2 { margin: 0 0 22px; font: 600 22px/1.4 "Noto Serif TC", serif; letter-spacing: .2em; color: #4a3a1e; }
.lg-letter p { margin: 0 0 1.1em; font: 400 17px/2.05 "Noto Serif TC", serif; text-align: justify; color: #2a2418; }
.js-lg .lg-letter { opacity: 0; transform: translateY(40px) rotate(2deg); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.js-lg .lg-note.is-in .lg-letter { opacity: 1; transform: rotate(-.6deg); }

/* 書目 */
.lg-books { max-width: 1040px; margin: 0 auto; padding: 60px 6vw 80px; }
.lg-books h2 { margin: 0 0 30px; text-align: center; font: 600 26px/1.4 "Noto Serif TC", serif; color: #f1e3bd; letter-spacing: .3em; }
.lg-books ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.lg-books a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 18px; color: inherit; text-decoration: none; border: 1px solid #2a3a5c; background: #0b1328cc; transition: border-color .3s, transform .3s, box-shadow .3s; }
.lg-books a:hover { border-color: #d8c79f88; transform: translateY(-3px); box-shadow: 0 10px 30px #00000066, 0 0 24px #d8c79f1a; }
.lg-bk-cv img { width: 96px; aspect-ratio: 2 / 3; object-fit: cover; display: block; box-shadow: 0 6px 18px #000000aa; }
.lg-bk-tx b { display: block; font: 600 17px/1.5 "Noto Serif TC", serif; color: #f6efdc; }
.lg-bk-tx em { display: block; margin-top: 8px; font: normal 400 14px/1.9 "Noto Sans TC", sans-serif; color: #b9c4d6; text-align: justify; }
.js-lg .lg-books li { opacity: 0; transform: translateY(30px) rotateX(18deg); transition: opacity .9s ease, transform .9s ease; transition-delay: calc(var(--i) * .18s); }
.js-lg .lg-books.is-in li { opacity: 1; transform: none; }
.lg-end { margin: 40px 0 0; text-align: center; }
.lg-end a { display: inline-block; padding: 12px 34px; border: 1px solid #d8c79f88; border-radius: 24px; color: #f1e3bd; text-decoration: none; letter-spacing: .3em; }
.lg-end a:hover { background: #d8c79f1f; }

@media (max-width: 760px) {
  .lg-page { font-size: 17px; padding-top: 40px; }
  .lg-story { padding: 0 20px 70px; }
  .lg-st-no { font-size: 38px; }
  .lg-tr { min-height: 52vh; padding: 60px 22px; }
  .lg-quiz, .lg-note { padding: 20px 16px 70px; }
  .lg-q-box { padding: 30px 20px 24px; }
  .lg-reply { margin-left: 8px; }
  .lg-letter { padding: 40px 24px 30px; }
  .lg-letter::before { width: 40px; height: 40px; right: 16px; top: 16px; }
  .lg-books { padding: 40px 16px 60px; }
  .lg-books ol { grid-template-columns: 1fr; }
  .lg-books a { grid-template-columns: 76px minmax(0, 1fr); padding: 14px; }
  .lg-bk-cv img { width: 76px; }
}

/* 各站場景（logbook.py SCENE_DECO）：裝飾只在兩側與背後，⛔ 不壓字 */
.lg-stage { position: relative; margin: 0 -6vw; padding: 0 6vw; }
.lg-stage > .lg-page { z-index: 1; }
.lg-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lg-deco .lg-petals { inset: 0; }
/* 第一站：頂樓燈串 */
.lg-deco-lights svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
.lg-deco-lights i { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 7px; margin: -3px; border-radius: 50%; background: #5a5340; box-shadow: none; transition: background .5s, box-shadow .5s; transition-delay: calc(var(--k) * .14s); }
.lg-sc-lights.is-gem .lg-deco-lights i, html:not(.js-lg) .lg-deco-lights i { background: #ffe9b0; box-shadow: 0 0 10px #ffd88aee, 0 0 26px #ffcf7088; }
.js-lg .lg-sc-lights.is-gem .lg-deco-lights i { animation: lg-bulb 3.6s ease-in-out calc(var(--k) * .3s + 2s) infinite; }
@keyframes lg-bulb { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.lg-sc-lights { background: radial-gradient(60% 40% at 50% 0%, #2a2a3f55, #0000); }
.lg-sc-lights.is-gem { background: radial-gradient(70% 45% at 50% 0%, #6a552a44, #0000); transition: background 1.6s; }
/* 第二站：1895 年舊紐約——褐色紙紋、暗角、兩側窗簾 */
.lg-sc-sepia { background: radial-gradient(85% 70% at 50% 50%, #2b2216 0%, #15100b 70%, #070b16 100%); }
.lg-sc-sepia .lg-page p, .lg-sc-sepia .lg-st-of { color: #ead9bb; }
.lg-sc-sepia .lg-s[data-lg-type] { color: #fff1d0; }
.lg-deco-sepia::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(0deg, #ffffff05 0 1px, #0000 1px 3px), repeating-linear-gradient(90deg, #00000010 0 2px, #0000 2px 7px); mix-blend-mode: overlay; }
.lg-curtain { position: absolute; top: 0; bottom: 0; width: 13vw; max-width: 200px; background: repeating-linear-gradient(90deg, #4a1d18 0 14px, #6b2a22 14px 22px, #3a1612 22px 30px); box-shadow: inset 0 -60px 80px #00000099; transition: width 1.6s cubic-bezier(.3, .7, .2, 1); }
.lg-curtain.l { left: 0; border-right: 1px solid #00000055; } .lg-curtain.r { right: 0; border-left: 1px solid #00000055; }
.lg-lamp { position: absolute; left: 50%; top: 18%; width: 60vw; height: 50vh; transform: translateX(-50%); background: radial-gradient(closest-side, #ffcf8018, #0000); transition: background 1.6s; }
.lg-sc-sepia.is-gem .lg-curtain { width: 3vw; }
.lg-sc-sepia.is-gem .lg-lamp { background: radial-gradient(closest-side, #ffcf8040, #0000); }
/* 第三站：山霧、桃花 */
.lg-deco-mist b { position: absolute; left: -20%; width: 140%; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, #c9d6e81c, #0000); filter: blur(10px); }
.lg-deco-mist b:nth-child(1) { top: 8%; } .lg-deco-mist b:nth-child(2) { top: 45%; } .lg-deco-mist b:nth-child(3) { top: 78%; }
.js-lg .lg-deco-mist b { animation: lg-mist 26s ease-in-out infinite alternate; }
.js-lg .lg-deco-mist b:nth-child(2) { animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes lg-mist { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.lg-sc-mist { background: linear-gradient(180deg, #070b16, #0f1a2b 50%, #070b16); }
.lg-petals i.is-burst { background: #f6c7d2; }
/* 第四站：過年前的雨 */
.lg-sc-rain { background: linear-gradient(180deg, #070b16, #0b1424 50%, #070b16); }
.lg-rain { position: absolute; inset: -20% 0 0; background: repeating-linear-gradient(104deg, #0000 0 11px, #b9c8e01a 11px 12px, #0000 12px 37px); background-size: 100% 220px; opacity: .8; transition: opacity 2s; }
.js-lg .lg-rain { animation: lg-rain .7s linear infinite; }
@keyframes lg-rain { to { background-position: -40px 220px; } }
.lg-umb { position: absolute; right: 7vw; top: 30%; width: 120px; opacity: 0; transform: translateY(30px) rotate(-12deg) scale(.6); transition: opacity 1.2s, transform 1.2s cubic-bezier(.2, .9, .3, 1.3); }
.lg-sc-rain.is-gem .lg-rain { opacity: .12; }
.lg-sc-rain.is-gem .lg-umb { opacity: .9; transform: none; }
/* B 版第一站：頂樓夜空——兩側星點；點到人孔蓋＝夜空裡畫出一道星座線（「拿手指在夜空裡畫畫」） */
.lg-sc-roof { background: radial-gradient(70% 50% at 50% 0%, #1c2440aa, #0000); }
.lg-deco-roof i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: #dfe7ff; opacity: .45; box-shadow: 0 0 6px #dfe7ff88; }
.js-lg .lg-deco-roof i { animation: lg-bulb 4.2s ease-in-out calc(var(--k) * .37s) infinite; }
.lg-drawn { position: absolute; right: 2vw; top: 4%; width: min(26vw, 260px); opacity: 0; transition: opacity 1s; }
.lg-drawn path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 2.6s ease .3s; filter: drop-shadow(0 0 4px #f1e3bdaa); }
.lg-sc-roof.is-gem .lg-drawn, html:not(.js-lg) .lg-drawn { opacity: .85; }
.lg-sc-roof.is-gem .lg-drawn path, html:not(.js-lg) .lg-drawn path { stroke-dashoffset: 0; }
/* B 版第二站：壁爐——下緣火光；點到壁爐＝火光轉旺、火星往上飄 */
.lg-sc-hearth { background: linear-gradient(180deg, #070b16, #1a120c 70%, #2a160c); }
.lg-sc-hearth .lg-page p { color: #f0dfc2; }
.lg-fire { position: absolute; left: -10%; right: -10%; bottom: -60px; height: 220px; background: radial-gradient(50% 60% at 50% 100%, #ff8a3d33, #0000); transition: background 1.6s; }
.lg-sc-hearth.is-gem .lg-fire { background: radial-gradient(55% 70% at 50% 100%, #ff9a4a66, #0000); }
.lg-deco-hearth i { position: absolute; left: var(--x); bottom: 8%; width: 3px; height: 3px; border-radius: 50%; background: #ffb36a; opacity: 0; }
.js-lg .lg-sc-hearth.is-gem .lg-deco-hearth i { animation: lg-ember 3.4s ease-out calc(var(--k) * .55s) infinite; }
@keyframes lg-ember { 0% { opacity: 0; transform: none; } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(10px, -260px); } }
/* B 版第三站：聖骨匣——兩側細碎金光；點到聖骨匣＝金光閃一輪（鑽石都還在） */
.lg-sc-relic { background: radial-gradient(80% 60% at 50% 40%, #1d1a2c, #070b16); }
.lg-deco-relic i { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; opacity: .25; background: radial-gradient(circle, #fff3cf 0 18%, #0000 60%); }
.lg-deco-relic i::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#0000 46%, #f1e3bd 46% 54%, #0000 54%), linear-gradient(90deg, #0000 46%, #f1e3bd 46% 54%, #0000 54%); }
.lg-sc-relic.is-gem .lg-deco-relic i, html:not(.js-lg) .lg-deco-relic i { opacity: .8; }
.js-lg .lg-sc-relic.is-gem .lg-deco-relic i { animation: lg-twinkle 1.6s ease-in-out calc(var(--k) * .2s) 3; }
/* B 版第 3 站（10-27 換書）：台北公寓，對面樓窗燈；點亮棉被後窗燈一格格亮起 */
.lg-sc-flat { background: linear-gradient(180deg, #0c1424, #10172a 60%, #1a1a26); }
.lg-deco-flat i { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 22px; margin: -11px -9px; border: 1px solid #f1e3bd22; background: #f6c97a14; transition: background .8s calc(var(--k) * .12s), box-shadow .8s calc(var(--k) * .12s); }
.lg-sc-flat.is-gem .lg-deco-flat i, html:not(.js-lg) .lg-deco-flat i { background: #f6c97a88; box-shadow: 0 0 14px #f6c97a55; }
@media (max-width: 560px) { .lg-deco-flat i { width: 12px; height: 15px; margin: -7px -6px; } }
/* B 版第四站：凌晨一點的頂樓房間——角落一點藍；點到咖啡壺＝瓦斯點起一圈藍火 */
.lg-sc-gas { background: linear-gradient(180deg, #05070f, #0a0f1d 60%, #05070f); }
.lg-gasglow { position: absolute; right: -10%; bottom: -80px; width: 60%; height: 260px; background: radial-gradient(closest-side, #4f8cff14, #0000); transition: background 1.4s; }
.lg-flame { position: absolute; right: 7vw; bottom: 10%; width: 120px; opacity: 0; transform: scale(.6); transition: opacity 1s, transform 1s cubic-bezier(.2, .9, .3, 1.3); filter: drop-shadow(0 0 8px #7fb4ff); }
.lg-sc-gas.is-gem .lg-gasglow { background: radial-gradient(closest-side, #4f8cff3a, #0000); }
.lg-sc-gas.is-gem .lg-flame { opacity: .9; transform: none; }
@media (max-width: 760px) { .lg-drawn { width: 120px; right: 4px; } .lg-flame { right: 6px; width: 70px; } }
/* 電梯樓層 */
.lg-elev { position: fixed; right: 22px; bottom: 90px; z-index: 45; display: flex; align-items: baseline; gap: 6px; padding: 10px 16px; border: 1px solid #d8c79f66; border-radius: 6px; background: #05080fe6; color: #ffb35a; font: 500 30px/1 "Cormorant Garamond", "Noto Serif TC", serif; letter-spacing: .06em; box-shadow: 0 0 24px #ffb35a22, inset 0 0 12px #000; font-variant-numeric: tabular-nums; }
.lg-elev b { font-size: 13px; color: #ffb35a; } .lg-elev small { font-size: 15px; color: #c9a06a; }
.lg-elev.is-off { opacity: 0; transition: opacity 1.4s; }

/* 藏在故事裡的東西：原文字本身，微微發亮、點了會動 */
.lg-gem { all: unset; position: relative; cursor: pointer; color: #f6e7bd; text-shadow: 0 0 10px #f1e3bd55; border-bottom: 1px dotted #d8c79f88; }
.lg-gem::after { content: ""; position: absolute; right: -7px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff4cf; box-shadow: 0 0 8px #ffe9a8; }
.js-lg .lg-gem::after { animation: lg-twinkle 2.4s ease-in-out infinite; }
@keyframes lg-twinkle { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
.lg-gem:hover, .lg-gem:focus-visible { color: #fff6da; text-shadow: 0 0 14px #f1e3bdaa; outline: none; }
.lg-gem.is-found { color: #ffe39a; border-bottom-style: solid; border-bottom-color: #ffd06a; }
.lg-gem.is-found::after { animation: none; opacity: 0; }
.lg-gem-pop { position: absolute; left: 50%; bottom: 130%; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border: 1px solid #d8c79f88; border-radius: 12px; background: #0a1124f2; color: #f1e3bd; font: 400 12px/1.4 "Noto Sans TC", sans-serif; letter-spacing: .1em; text-shadow: none; pointer-events: none; animation: lg-pop 2.4s ease forwards; }
@keyframes lg-pop { 0% { opacity: 0; transform: translate(-50%, 6px); } 15%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -8px); } }

/* 左下小籤：收集進度 */
.lg-pouch { position: fixed; left: 18px; bottom: 18px; z-index: 46; display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 12px; border: 1px solid #d8c79f66; border-radius: 22px; background: #070b16e6; color: #d9e0ec; text-decoration: none; font: 400 13px/1 "Noto Sans TC", sans-serif; letter-spacing: .06em; box-shadow: 0 6px 24px #00000080; transition: border-color .4s, box-shadow .4s, opacity .5s; }
.lg-pouch b { color: #f1e3bd; font-weight: 600; }
.lg-pouch-env { width: 22px; height: 15px; border: 1px solid #d8c79f; border-radius: 2px; background: linear-gradient(155deg, #0000 48%, #d8c79f 49% 51%, #0000 52%), linear-gradient(25deg, #0000 48%, #d8c79f 49% 51%, #0000 52%); }
.lg-pouch.is-bump { border-color: #f1e3bd; box-shadow: 0 0 20px #f1e3bd66; }
.js-lg .lg-pouch { opacity: 0; pointer-events: none; }
.js-lg .lg-pouch.is-on { opacity: 1; pointer-events: auto; }
.lg-q-foot { margin: 22px 0 0; font: 400 13px/1.6 "Noto Sans TC", sans-serif; letter-spacing: .1em; color: #a9b4c7; }

/* 你的信籤 */
.lg-card { max-width: 1100px; margin: 0 auto; padding: 60px 6vw 90px; }
.lg-card h2 { margin: 0 0 10px; text-align: center; font: 600 26px/1.4 "Noto Serif TC", serif; color: #f1e3bd; letter-spacing: .3em; }
.lg-card-sub { margin: 0 0 34px; text-align: center; font: 400 15px/1.8 "Noto Sans TC", sans-serif; color: #b9c4d6; letter-spacing: .08em; }
.lg-card-wrap { display: grid; grid-template-columns: minmax(0, 432px) minmax(0, 1fr); gap: 40px; align-items: start; justify-content: center; }
.lg-card canvas { width: 100%; height: auto; display: block; box-shadow: 0 24px 70px #000000b0, 0 0 40px #d8c79f14; }
.lg-card-q { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.lg-card-q li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 14px; border: 1px solid #2a3a5c; background: #0b1328cc; font: 400 14px/1.7 "Noto Sans TC", sans-serif; color: #b9c4d6; }
.lg-card-q li b { font: 600 18px/1 "Noto Serif TC", serif; color: #d8c79f; }
.lg-card-q li.is-done { border-color: #d8c79f66; color: #f1e3bd; }
.lg-card-q a { color: inherit; }
.lg-card-say { display: block; margin: 0 0 20px; }
.lg-card-say span { display: block; margin-bottom: 8px; font: 400 14px/1.6 "Noto Sans TC", sans-serif; color: #d9e0ec; letter-spacing: .06em; }
.lg-card-say textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; resize: none; border: 1px solid #2f4268; border-radius: 8px; background: #0a1124; color: #f6efdc; font: 400 17px/1.7 "Noto Serif TC", serif; }
.lg-card-say textarea:focus { outline: none; border-color: #d8c79f; }
.lg-card-say small { display: block; margin-top: 4px; text-align: right; color: #8f9bb0; font-size: 12px; }
.lg-card-dl { min-width: 200px; min-height: 48px; padding: 0 30px; border: 1px solid #d8c79f; border-radius: 24px; background: linear-gradient(180deg, #2a2a3f, #141b30); color: #f6efdc; font: 500 16px/1 "Noto Sans TC", sans-serif; letter-spacing: .3em; cursor: pointer; }
.lg-card-dl:hover, .lg-card-dl:focus-visible { box-shadow: 0 0 22px #f1e3bd55; }
.lg-card-priv { margin: 12px 0 0; font: 400 12px/1.7 "Noto Sans TC", sans-serif; color: #8f9bb0; }
.js-lg .lg-card-wrap { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.js-lg .lg-card.is-in .lg-card-wrap { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .lg-cover { --s: .6; padding: 30px 8px 90px; }
  .lg-stage { margin: 0 -20px; padding: 0 20px; }
  .lg-curtain { width: 16px; } .lg-sc-sepia.is-gem .lg-curtain { width: 4px; }
  .lg-umb { right: 6px; top: 6%; width: 70px; }
  .lg-elev { right: 12px; bottom: 76px; font-size: 24px; padding: 8px 12px; }
  .lg-pouch { left: 10px; bottom: 10px; padding: 8px 12px 8px 10px; gap: 9px; font-size: 12px; }
  .lg-card { padding: 40px 16px 70px; }
  .lg-card-wrap { grid-template-columns: 1fr; gap: 26px; }
}

/* 照亮句（fable 規劃 10-27）：讀者選的答案決定下一站哪一句亮；色系沿用亮點金，⛔ 不另開新色、⛔ 不加提示字 */
.lg-s.is-lit { color: #f6e7bd !important; text-shadow: 0 0 14px #f1e3bd55; }
.lg-s.is-lit::before { content: "✦"; display: inline-block; margin: 0 .35em 0 .1em; font-size: .62em; vertical-align: .25em; color: #f1e3bd; text-shadow: 0 0 8px #ffe9a8; }
.js-lg [data-lg-p].is-in .lg-s.is-lit::before { animation: lg-drop .7s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: min(calc(var(--i) * 150ms + .2s), 1.7s); }
@keyframes lg-drop { from { opacity: 0; transform: translateY(-14px) scale(.4); } to { opacity: 1; transform: none; } }
.js-lg [data-lg-p].is-in .lg-s.is-lit:not([data-lg-type]) { transition-duration: 2.2s; }
.lg-fly { position: fixed; z-index: 70; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none; background: radial-gradient(circle, #fff6d6 0 30%, #f1e3bd88 45%, #0000 70%); border-radius: 50%; box-shadow: 0 0 14px #ffe9a8; transition: transform .9s cubic-bezier(.5, -0.3, .4, 1), opacity .9s ease-in; }
/* 左下小籤：四格＝四題 */
.lg-pouch-slots { display: inline-flex; gap: 4px; }
.lg-pouch-slots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #d8c79f88; transition: background .5s, box-shadow .5s; }
.lg-pouch-slots i.on { background: #f1e3bd; box-shadow: 0 0 8px #f1e3bdcc; border-color: #f1e3bd; }
.lg-pouch-env { transition: transform .8s; }
.lg-pouch.is-full .lg-pouch-env { transform: rotateX(180deg); background: #d8c79f; }
/* 亮點（每站藏的小物）：Lighter 10-27「每題的小物可以在明顯一點」⇒ 字一直帶暖金色＋旁邊一顆常亮小星，那段出現後每隔幾秒輕閃一次（不只三下）；找到後收起小星 */
.js-lg .lg-gem:not(.is-found)::after { width: 7px; height: 7px; right: -9px; top: -4px; opacity: .85; animation: lg-twinkle 2.6s ease-in-out infinite; }
.js-lg .lg-gem { color: #f3e2b4; text-shadow: 0 0 8px #f1e3bd44; border-bottom: 1px dashed #e8d29a; transition: color .6s, text-shadow .6s; }
.js-lg [data-lg-p].is-in .lg-gem:not(.is-found) { animation: lg-gemhint 6s ease-in-out 1.5s infinite; }
@keyframes lg-gemhint { 0%, 70%, 100% { color: #f3e2b4; text-shadow: 0 0 8px #f1e3bd44; } 80% { color: #fff6d8; text-shadow: 0 0 16px #ffe9a8, 0 0 30px #f1e3bd88; } }
.js-lg .lg-gem.is-found { color: #ffe39a; text-shadow: 0 0 10px #f1e3bd66; }
/* 點到之後，回報落在文字層 */
.lg-story .lg-page p { transition: text-shadow 1.2s ease; }
.lg-story.is-glow .lg-page p { text-shadow: 0 0 18px #ffcf7055; }
.lg-sc-sepia.is-gem { background: radial-gradient(85% 70% at 50% 50%, #3a2d1c 0%, #1a130c 70%, #070b16 100%); transition: background 1.6s; }
.lg-sc-rain.is-gem .lg-elev { opacity: .45; }

/* ===== 故事 B 版「夜間郵路」（Lighter 10-27「故事B版要讓讀者有完全不同於A版的介面感受」）：A＝金色星空往下讀；B＝銅紅與航空藍、頁頂橫向郵路、每站一封從信封抽出的信、選項是三枚郵票 ===== */
.lg-post { --pc: #d27a5a; --pb: #8fb3e8; --pp: #efe6d2; color: #e9e3d6;
  background: repeating-linear-gradient(0deg, #8fb3e80a 0 1px, #0000 1px 64px), repeating-linear-gradient(90deg, #8fb3e80a 0 1px, #0000 1px 64px), linear-gradient(180deg, #060a14, #0b1220 50%, #060a14); background-size: auto; }
/* 進度：頁頂細線改成航空信封紅藍斜紋 */
.lg-post .lg-bar { height: 3px; }
.lg-post .lg-bar i { background: repeating-linear-gradient(135deg, var(--pc) 0 10px, var(--pp) 10px 14px, var(--pb) 14px 24px, var(--pp) 24px 28px); box-shadow: 0 0 8px #d27a5a66; }
/* 郵路：所有寬度都在頁頂橫排，站點是郵戳 */
.lg-post .lg-rail { display: block; position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 40; padding: 6px 16px; border: 1px solid #8fb3e833; border-radius: 22px; background: #060a14d9; backdrop-filter: blur(6px); }
.lg-post .lg-rail ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.lg-post .lg-rail ol::before { display: none; }
.lg-post .lg-rail li { display: flex; align-items: center; }
.lg-post .lg-rail li + li::before { content: ""; width: clamp(12px, 3vw, 34px); height: 0; border-top: 1px dashed #8fb3e877; }
.lg-post .lg-rail a { display: flex; align-items: center; gap: 6px; height: 28px; color: #aab6c8; text-decoration: none; font: 500 12px/1 "Noto Sans TC", sans-serif; letter-spacing: .08em; }
.lg-post .lg-rail i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed #8fb3e8aa; background: none; box-shadow: none; transform: none; transition: background .4s, border-color .4s; }
.lg-post .lg-rail span { opacity: 1; transform: none; white-space: nowrap; }
.lg-post .lg-rail a.is-on { color: #f4d9c9; }
.lg-post .lg-rail a.is-on i { border: 2px solid var(--pc); background: radial-gradient(circle, var(--pc) 0 35%, #0000 40%); }
.lg-post .lg-rail a.is-past i { border-style: solid; border-color: var(--pc); background: #d27a5a55; }
@media (max-width: 1179px) { .lg-post .lg-rail span { display: none; } }
/* 過場：一張明信片＋郵戳 */
.lg-post .lg-tr { min-height: 48vh; }
.lg-post .lg-tr::before { display: none; }
.lg-post .lg-year { display: none; }
.lg-post .lg-tr-t { max-width: 24em; padding: 34px 40px 30px; border: 10px solid transparent; border-image: repeating-linear-gradient(135deg, var(--pc) 0 12px, var(--pp) 12px 18px, var(--pb) 18px 30px, var(--pp) 30px 36px) 10; background: #0d1526f2; color: #f4e7d4; font-size: clamp(18px, 2vw, 23px); letter-spacing: .08em; text-align: left; box-shadow: 0 18px 50px #000000aa; transform: rotate(-1.2deg); }
.lg-post .lg-tr-t::after { content: ""; position: absolute; right: -26px; top: -30px; width: 74px; height: 74px; border-radius: 50%; border: 2px solid #d27a5aaa; box-shadow: inset 0 0 0 5px #0d1526, inset 0 0 0 6px #d27a5a77; background: repeating-linear-gradient(0deg, #0000 0 9px, #d27a5a44 9px 10px); }
/* 故事：半透明信紙、橫線、上緣航空斜紋；進場＝從信封抽出攤開 */
.lg-post .lg-page { max-width: 34em; margin-top: 30px; padding: 46px 48px 30px; background: linear-gradient(180deg, #efe6d214, #efe6d208), repeating-linear-gradient(180deg, #0000 0 calc(2.15em - 1px), #8fb3e81c calc(2.15em - 1px) 2.15em); border: 1px solid #efe6d22a; box-shadow: 0 30px 80px #000000b0, inset 0 0 60px #00000055; }
.lg-post .lg-page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(135deg, var(--pc) 0 12px, #0000 12px 18px, var(--pb) 18px 30px, #0000 30px 36px); opacity: .85; }
.lg-post .lg-page p { color: #ece5d6; }
.lg-post .lg-s[data-lg-type] { color: #fff2e4; }
.lg-post .lg-st-hd { gap: 16px; margin-bottom: 28px; }
.lg-post .lg-st-no { width: 54px; height: 62px; display: grid; place-items: center; font: 600 30px/1 "Noto Serif TC", serif; color: #1a1410; background: var(--pp); text-shadow: none;
  -webkit-mask: radial-gradient(circle 3px at 3px 3px, #0000 95%, #000) -3px -3px / 9px 9px; mask: radial-gradient(circle 3px at 3px 3px, #0000 95%, #000) -3px -3px / 9px 9px; }
.lg-post .lg-st-of { color: #f4d9c9; letter-spacing: .3em; }
.lg-post .lg-st-hd::after { height: 0; border-top: 1px dashed #d27a5a77; background: none; }
.js-lg .lg-post .lg-page { opacity: 0; transform: perspective(900px) translateY(60px) rotateX(24deg); transform-origin: 50% 100%; transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.2, .8, .2, 1); }
.js-lg .lg-post .lg-story.is-in .lg-page { opacity: 1; transform: none; }
/* 小物：郵票格虛線框、銅色 */
.js-lg .lg-post .lg-gem, .lg-post .lg-gem { color: #f6c9b3; border: 1px dashed #d27a5acc; border-radius: 2px; padding: 0 3px; text-shadow: 0 0 8px #d27a5a66; }
.lg-post .lg-gem::after { background: #ffd9c6; box-shadow: 0 0 8px #d27a5a; }
.js-lg .lg-post .lg-gem.is-found { color: #ffe0cf; border-style: solid; border-color: var(--pc); background: #d27a5a22; }
/* 停一下：三枚郵票橫排，選定的那枚蓋郵戳 */
.lg-post .lg-q-box { max-width: 46em; border: 0; box-shadow: none; background: none; text-align: center; }
.lg-post .lg-q-k { color: var(--pb); }
.lg-post .lg-q { color: #f4e7d4; }
.lg-post .lg-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.lg-post .lg-opts li { text-align: left; }
.lg-post .lg-opts button { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 16px 16px; border: 0; border-radius: 0; background: var(--pp); color: #1d1712; font: 500 16px/1.6 "Noto Serif TC", serif;
  -webkit-mask: radial-gradient(circle 4px at 4px 4px, #0000 95%, #000) -4px -4px / 12px 12px; mask: radial-gradient(circle 4px at 4px 4px, #0000 95%, #000) -4px -4px / 12px 12px; box-shadow: inset 0 0 0 7px var(--pp), inset 0 0 0 8px #1d171233; transform: rotate(var(--r, 0deg)); transition: transform .4s, filter .4s; }
.lg-post .lg-opts li:nth-child(1) button { --r: -1.5deg; } .lg-post .lg-opts li:nth-child(2) button { --r: .8deg; } .lg-post .lg-opts li:nth-child(3) button { --r: -.4deg; }
.lg-post .lg-opts button b { flex: 0 0 auto; width: auto; height: auto; border: 0; border-radius: 0; font: 700 26px/1 "Cormorant Garamond", serif; color: var(--pc); }
.lg-post .lg-opts button:hover, .lg-post .lg-opts button:focus-visible { transform: rotate(0deg) translateY(-4px); filter: brightness(1.06); }
.lg-post .lg-opts button::after { inset: auto 10px 10px auto; width: 58px; height: 58px; border-radius: 50%; border: 2px solid #b0452ccc; background: repeating-linear-gradient(0deg, #0000 0 7px, #b0452c55 7px 8px); transform: scale(1.6) rotate(-20deg); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.lg-post .lg-opts button:hover::after, .lg-post .lg-opts button:focus-visible::after { transform: scale(1.6) rotate(-20deg); transition: none; }
.lg-post .lg-opts button[aria-pressed="true"] { background: var(--pp); filter: none; }
.lg-post .lg-opts button[aria-pressed="true"]::after { opacity: 1; transform: none; }
.lg-post .lg-opts button[aria-pressed="true"] b { background: none; color: #b0452c; }
.lg-post .lg-reply { margin: 14px 4px 0; font-size: 16px; color: #f6c9b3; }
.lg-post .lg-q-foot { color: #aab6c8; }
/* 短箋與書：藍色航空信封 */
.lg-post .lg-letter { background: linear-gradient(180deg, #dfe8f4, #cfdbea); color: #1b2333; }
.lg-post .lg-letter p, .lg-post .lg-letter h2 { color: #1b2333; }
.lg-post .lg-books h2, .lg-post .lg-card h2 { color: #f4d9c9; }
.lg-post .lg-books a { border-color: #8fb3e833; background: #0b1220cc; }
.lg-post .lg-books a:hover { border-color: #d27a5a88; box-shadow: 0 10px 30px #00000066, 0 0 24px #d27a5a1a; }
@media (max-width: 760px) {
  .lg-post .lg-rail { top: 8px; padding: 4px 10px; }
  .lg-post .lg-page { padding: 36px 20px 22px; }
  .lg-post .lg-tr-t { padding: 26px 22px 22px; }
  .lg-post .lg-tr-t::after { right: -6px; top: -26px; width: 54px; height: 54px; }
  .lg-post .lg-opts { grid-template-columns: 1fr; gap: 14px; }
  .lg-post .lg-opts button { min-height: 96px; }
}

/* 六期快速切換卡（Lighter 10-27「最底下在回首頁上方應該加上六期已經核定的快速切換卡片頁」）：本期亮、已出刊可點、未出刊只寫出刊日 */
.lg-issues { margin: 56px 0 0; }
.lg-issues h3 { margin: 0 0 18px; text-align: center; font: 500 14px/1 "Noto Sans TC", sans-serif; letter-spacing: .5em; color: #d8c79f; }
.lg-books .lg-issues ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lg-books .lg-issues li { opacity: 1; transform: none; }
.lg-books .lg-issues a, .lg-issues li > div { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 16px 14px 14px; border: 1px solid #2a3a5c; background: #0b1328cc; color: inherit; text-decoration: none; grid-template-columns: none; }
.lg-is-no { font: 600 13px/1 "Cormorant Garamond", serif; letter-spacing: .14em; color: #d8c79f; }
.lg-issues b { font: 600 15px/1.55 "Noto Serif TC", serif; color: #f6efdc; }
.lg-issues small { font: 400 12px/1.5 "Noto Sans TC", sans-serif; color: #8f9bb0; }
.lg-issues em { margin-top: auto; font: normal 500 12px/1 "Noto Sans TC", sans-serif; letter-spacing: .12em; color: #b9c4d6; }
.lg-is.is-cur > * { border-color: #d8c79f; background: radial-gradient(120% 100% at 50% 0%, #2a2a3f, #0b1328); box-shadow: 0 0 24px #d8c79f22, inset 0 0 0 1px #d8c79f33; }
.lg-is.is-cur em { color: #f1e3bd; }
.lg-is.is-cur em::before { content: "✦ "; }
.lg-is.is-soon > * { opacity: .62; border-style: dashed; }
.lg-books .lg-issues a:hover { border-color: #d8c79f88; transform: translateY(-3px); }
.lg-post .lg-issues h3, .lg-post .lg-is-no { color: #d27a5a; }
.lg-post .lg-is.is-cur > * { border-color: #d27a5a; background: radial-gradient(120% 100% at 50% 0%, #2a1c1c, #0b1220); box-shadow: 0 0 24px #d27a5a22; }
.lg-post .lg-is.is-cur em { color: #f6c9b3; }
@media (max-width: 1023px) { .lg-books .lg-issues ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lg-books .lg-issues ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* B 版封面＝一只航空信封（10-27 驗收時 B 版封面與 A 版同構圖，第一屏分不出兩版；Lighter「故事B版要讓讀者有完全不同於A版的介面感受」）
   A 版是星空裡的玻璃切面與直排標題；B 版改成米色信封：收件人那一行是標題、地址欄三行是引言、右上郵票、郵戳壓過齒孔 */
.lg-post .lg-neb .rt-nebula { opacity: .22; filter: saturate(.6); }
.lg-post .lg-cv-stage > svg { display: none; }
.lg-post .lg-cv-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; bottom: 40px; z-index: 0; border: 12px solid transparent;
  border-image: repeating-linear-gradient(45deg, #c4574a 0 14px, #f3ead6 14px 20px, #5b8fd6 20px 34px, #f3ead6 34px 40px) 12;
  background: linear-gradient(160deg, #f6eedb, #ece0c4); box-shadow: 0 30px 60px #0009, 0 0 0 1px #0003; transform: rotate(-1.4deg); }
.lg-post .lg-cv-stage::after { content: "✦"; position: absolute; right: 40px; top: 74px; z-index: 1; width: 78px; height: 94px; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #f1e3bd; background: #23395e; outline: 4px dotted #f3ead6; outline-offset: -2px; box-shadow: 0 0 0 5px #f3ead6, 0 2px 6px #0004; transform: rotate(3deg); }
.lg-post .lg-cv-hd { left: 52px; right: 150px; top: 76px; z-index: 2; flex-direction: column; align-items: flex-start; gap: 8px; color: #23395e; }
.lg-post .lg-cv-hd small { color: #6b5a3a; }
.lg-post .lg-cv .rt-title { left: 52px; right: 52px; top: 214px; width: auto; height: auto; z-index: 2; padding-bottom: 14px; border-bottom: 1px solid #23395e55; }
.lg-post .lg-cv .rt-title > span { position: static; display: inline; writing-mode: horizontal-tb; font-size: 40px; letter-spacing: .06em; line-height: 1.2; color: #23395e; text-shadow: none; }
.lg-post .lg-cv .rt-year { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #9a2f24; filter: none; animation: none !important; }
.lg-post .lg-cv .rt-title::before { content: ""; position: absolute; right: 30px; top: -152px; width: 104px; height: 104px; border-radius: 50%; border: 2px solid #9a2f24aa;
  background: repeating-linear-gradient(0deg, #0000 0 9px, #9a2f2466 9px 11px) 50% 50% / 64% 40% no-repeat; transform: rotate(-12deg); pointer-events: none; }
.lg-post .lg-cv .rt-lede { left: 52px; right: 52px; top: 300px; height: auto; z-index: 2; color: #2c3a52; text-shadow: none; }
.lg-post .lg-cv .rt-lede > span { position: static; display: block; writing-mode: horizontal-tb; white-space: normal; font-size: 18px; letter-spacing: .08em; line-height: 1.5; padding: 10px 0 6px 6px; border-bottom: 1px solid #23395e33; }
.lg-post .lg-cv .rt-lede > .rt-dialogue { color: #9a2f24; font-size: 18px; border: 0; }
.js-lg .lg-post .lg-cv-stage::before, .js-lg .lg-post .lg-cv-stage::after { opacity: 0; transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.js-lg .lg-post .lg-cv-stage::before { transform: translateY(40px) rotate(-5deg); }
.js-lg .lg-post .lg-cv-stage::after { transform: translate(14px, -14px) rotate(12deg); transition-delay: 1.6s; }
.js-lg .lg-post .lg-cover.is-in .lg-cv-stage::before { opacity: 1; transform: rotate(-1.4deg); }
.js-lg .lg-post .lg-cover.is-in .lg-cv-stage::after { opacity: 1; transform: rotate(3deg); }
.js-lg .lg-post .lg-cv .rt-title::before { opacity: 0; transform: scale(1.6) rotate(-12deg); transition: opacity .25s ease 2.3s, transform .35s cubic-bezier(.3, 1.6, .5, 1) 2.3s; }
.js-lg .lg-post .lg-cover.is-in .lg-cv .rt-title::before { opacity: 1; transform: rotate(-12deg); }
/* B 版郵路站別列：還在封面時收起（頂端那排會壓到網站字標與主選單；離開封面才滑下來） */
.lg-post .lg-rail { transition: opacity .4s, transform .4s; }
.lg-post .lg-rail:has(li:first-child a.is-on) { opacity: 0; pointer-events: none; transform: translate(-50%, -16px); }
.lg-post .lg-cv-hd { text-shadow: none; }
/* 手機上窗燈會疊到內文欄，收起；棉被一詞照樣點亮 */
@media (max-width: 560px) { .lg-deco-flat { display: none; } }

/* ===== 10-27 晚 Lighter 七點回饋 ===== */
/* 書卡（「書卡要排整齊一點，要加作者小字，書封要完整呈現」）：兩欄等高、書封照原比例不裁、書名下作者小字 */
.lg-books ol[data-lg-books] { align-items: stretch; }
.lg-books ol[data-lg-books] li { display: flex; }
.lg-books ol[data-lg-books] a { flex: 1; grid-template-columns: 108px minmax(0, 1fr); align-items: start; gap: 22px; padding: 22px; }
.lg-bk-cv { display: block; width: 108px; }
.lg-bk-cv img { width: 108px; height: auto; aspect-ratio: auto; object-fit: contain; }
.lg-bk-tx b { line-height: 1.4; }
.lg-bk-tx small { display: block; margin-top: 6px; font: 400 13px/1.4 "Noto Sans TC", sans-serif; letter-spacing: .06em; color: #d8c79f; }
.lg-bk-tx em { margin-top: 12px; padding-top: 12px; border-top: 1px solid #ffffff14; }
.lg-post .lg-bk-tx small { color: #f0b49a; }
@media (max-width: 760px) { .lg-books ol[data-lg-books] a { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 16px; } .lg-bk-cv, .lg-bk-cv img { width: 84px; } }

/* 六期卡（「六期卡片設計不好看，要包含各自的主視覺圖」）：上半主視覺星球、下半期名；本期金框發光，未出刊壓暗 */
.lg-books .lg-issues ol { gap: 16px; }
.lg-books .lg-issues a, .lg-issues li > div { padding: 0; gap: 0; overflow: hidden; border-radius: 4px; background: linear-gradient(180deg, #0a1226, #070b16); }
.lg-is-art { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(70% 70% at 50% 42%, #1b2a4a, #070b16 75%); }
.lg-is-art img { position: absolute; left: 50%; top: 46%; width: 112%; max-width: none; transform: translate(-50%, -50%); object-fit: contain; transition: transform .6s ease; }
.lg-is-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #07091600 55%, #070b16 100%); }
.lg-is-orbit { position: absolute; left: 50%; top: 46%; width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed #d8c79f55; box-shadow: inset 0 0 30px #1b2a4a; }
.lg-is-orbit::before { content: ""; position: absolute; inset: -14% -34%; border-radius: 50%; border: 1px solid #d8c79f33; transform: rotate(-14deg); }
.lg-is-art .lg-is-no { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 15px; }
.lg-is-tx { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 12px 14px 14px; }
.lg-books .lg-issues a:hover .lg-is-art img { transform: translate(-50%, -50%) scale(1.06); }
.lg-is.is-cur > * { border-color: #d8c79f; }
.lg-is.is-soon .lg-is-art { filter: saturate(.5) brightness(.75); }
.lg-is.is-soon > * { opacity: 1; }
.lg-is.is-soon .lg-is-tx { opacity: .7; }

/* B 版站號郵票與選項郵票：原本用遮罩整面打洞，字被打穿看不到（「壹貳參肆全部被蓋掉了」）⇒ 只在邊緣打齒孔 */
.lg-post .lg-st-no { -webkit-mask: none; mask: none; outline: 5px dotted #0a1120; outline-offset: -2px; box-shadow: 0 0 0 2px var(--pp); }
.lg-post .lg-opts button { -webkit-mask: none; mask: none; outline: 6px dotted #0a1120; outline-offset: -3px; box-shadow: 0 0 0 3px var(--pp), inset 0 0 0 10px var(--pp), inset 0 0 0 11px #1d171233; }
/* 第一期星球在入口圖上半部，卡片框內往下移、整顆露出 */
.lg-is-art img { top: 64%; width: 118%; }

/* 信籤燙金光澤（Codex CDXN5W 燙金層當遮罩）：只在網頁上流動，下載的 PNG 是靜態；送出去了＝朱紅戳版遮罩（不含金戳） */
.lg-cv-box { position: relative; }
.lg-foil { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/assets/curation/letter/foil-stamp-v11.webp) 0 0 / 100% 100% no-repeat; mask: url(/assets/curation/letter/foil-stamp-v11.webp) 0 0 / 100% 100% no-repeat; background: linear-gradient(115deg, #fff6d400 38%, #fff6d4b3 50%, #fff6d400 62%) 0 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: lgFoil 7s linear infinite; }
.lg-foil.is-red { -webkit-mask-image: url(/assets/curation/letter/foil-red.webp); mask-image: url(/assets/curation/letter/foil-red.webp); }
@keyframes lgFoil { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .lg-foil { display: none; } }

/* ===== 六期：幾何章＋虛線軌道（Lighter 10-27 晚「每一期的幾何星系」「參考 codex 一開始做的那個預告版本」＝Codex v5「一年六次，替閱讀換一片星空」）；蓋過上面兩輪卡片樣式 ===== */
.lg-books .lg-issues { margin-top: 72px; }
.lg-books .lg-issues h3 { margin: 0 0 6px; padding-bottom: 18px; border-bottom: 1px solid #9bb9da33; text-align: left; font: 400 clamp(20px, 2.4vw, 28px)/1.4 "Noto Serif TC", serif; letter-spacing: .15em; color: #e0e9f4; }
.lg-is-map { position: relative; padding-top: 44px; }
.lg-is-path { position: absolute; top: 6px; left: 1%; width: 98%; height: 100px; overflow: visible; pointer-events: none; }
.lg-books .lg-issues ol { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lg-books .lg-issues li { --acc: #d8c79f; }
.lg-books .lg-issues a, .lg-books .lg-issues li > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0; height: 100%; padding: 0 8px 12px 2px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; color: inherit; text-decoration: none; opacity: 1; transition: transform .4s ease; }
.lg-books .lg-issues a:hover { transform: translateY(-4px); border: 0; }
.lg-is-med { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 0 20px; color: var(--acc); }
.lg-is-med::before { content: ""; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--acc) 78%, transparent); transform: rotate(45deg); background: #070c18; box-shadow: 0 0 18px color-mix(in srgb, var(--acc) 22%, transparent); }
.lg-is-med::after { content: ""; position: absolute; inset: 0; border: 1px dotted color-mix(in srgb, var(--acc) 58%, transparent); border-radius: 50%; }
.lg-is-med svg { position: relative; z-index: 1; width: 40px; height: 40px; overflow: visible; }
.lg-is-orb { position: absolute; inset: -7px; z-index: 2; }
.lg-is-orb i { position: absolute; inset: 0; border-radius: 50%; animation: lg-is-orbit 12s linear infinite; animation-delay: var(--d); }
.lg-is-orb i::before { content: ""; position: absolute; left: 50%; top: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.lg-is-orb i + i { inset: 6px; animation-duration: 8s; animation-direction: reverse; }
.lg-is-orb i + i::before { width: 3px; height: 3px; opacity: .7; }
@keyframes lg-is-orbit { to { transform: rotate(360deg); } }
.lg-books .lg-issues .lg-is-no { position: static; font: 600 12px/1 "Cormorant Garamond", serif; letter-spacing: .2em; color: var(--acc); }
.lg-is-pd { margin-top: 8px; font: 400 12px/1.5 "Noto Sans TC", sans-serif; letter-spacing: .12em; color: color-mix(in srgb, var(--acc) 70%, #9fb0c6); }
.lg-books .lg-issues b { margin: 10px 0 0; font: 400 17px/1.55 "Noto Serif TC", serif; letter-spacing: .1em; color: #dce7f5; }
.lg-books .lg-issues em { margin-top: 14px; padding-top: 10px; width: 100%; border-top: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); font: normal 500 12px/1 "Noto Sans TC", sans-serif; letter-spacing: .14em; color: #aab8cb; }
.lg-books .lg-is.is-cur .lg-is-med::before { background: color-mix(in srgb, var(--acc) 18%, #070c18); box-shadow: 0 0 28px color-mix(in srgb, var(--acc) 50%, transparent); }
.lg-books .lg-is.is-cur em { color: #f1e3bd; }
.lg-books .lg-is.is-soon .lg-is-med { opacity: .75; }
.lg-books .lg-is.is-soon b { color: #b9c6d8; }
.lg-post .lg-books .lg-issues h3 { color: #f4e7d4; }
@media (max-width: 1023px) { .lg-is-path { display: none; } .lg-books .lg-issues ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; } }
@media (max-width: 560px) { .lg-books .lg-issues ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lg-is-med { width: 64px; height: 64px; } .lg-is-med svg { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .lg-is-orb i { animation: none; } }

/* B 版四站各自的背景、常駐動態與轉場郵戳（Lighter 10-27 晚「A版每個故事都有專屬的動畫和背景，B版就都同一款」）
   頂樓＝深靛夜空、星點閃爍、樓頂剪影／壁爐＝琥珀褐、磚紋、爐火呼吸、餘燼／公寓＝暮紫灰、對面樓窗燈明滅／凌晨＝冷黑藍、藍火脈動、蒸氣
   ⛔ 裝飾只在兩側與下緣，不壓字 */
.lg-post .lg-sc-roof { --sc: #9fb8ff; --sc2: #e9eefc; --scb: #0a1030; }
.lg-post .lg-sc-hearth { --sc: #ff9a4a; --sc2: #ffe2b8; --scb: #1e1009; }
.lg-post .lg-sc-flat { --sc: #c9a4e0; --sc2: #f6c97a; --scb: #181427; }
.lg-post .lg-sc-gas { --sc: #6fb0ff; --sc2: #d8ecff; --scb: #040a16; }
.lg-post .lg-sc-roof { background: radial-gradient(90% 55% at 50% 0%, #1b2a6a 0%, #0c1238 45%, #060a1c 100%); }
.lg-post .lg-sc-hearth { background: radial-gradient(90% 60% at 50% 100%, #4a240f 0%, #24130a 45%, #0d0806 100%); }
.lg-post .lg-sc-flat { background: linear-gradient(180deg, #221a36 0%, #1a1729 45%, #2a2236 100%); }
.lg-post .lg-sc-gas { background: radial-gradient(70% 50% at 80% 100%, #0d2348 0%, #050b18 55%, #02040a 100%); }
.lg-post .lg-sc-roof .lg-page p { color: #e3e8fa; }
.lg-post .lg-sc-flat .lg-page p { color: #ece2f2; }
.lg-post .lg-sc-gas .lg-page p { color: #dde9f8; }
.lg-post .lg-story .lg-st-hd::after { border-top-color: var(--sc, #d27a5a); opacity: .6; }
/* 頂樓：滿天細星（兩層錯開閃）＋下緣樓頂剪影 */
.lg-post .lg-deco-roof::before, .lg-post .lg-deco-roof::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lg-post .lg-deco-roof::before { background:
  radial-gradient(1px 1px at 7% 12%, #fff 98%, #0000), radial-gradient(1px 1px at 18% 34%, #dfe7ff 98%, #0000), radial-gradient(1.5px 1.5px at 11% 62%, #fff 98%, #0000),
  radial-gradient(1px 1px at 4% 80%, #cdd8ff 98%, #0000), radial-gradient(1px 1px at 92% 18%, #fff 98%, #0000), radial-gradient(1.5px 1.5px at 85% 42%, #dfe7ff 98%, #0000),
  radial-gradient(1px 1px at 96% 66%, #fff 98%, #0000), radial-gradient(1px 1px at 89% 84%, #cdd8ff 98%, #0000), radial-gradient(1px 1px at 24% 8%, #fff 98%, #0000), radial-gradient(1px 1px at 74% 6%, #fff 98%, #0000);
  opacity: .8; }
.lg-post .lg-deco-roof::after { top: auto; height: 90px; background: #04061299;
  clip-path: polygon(0 100%, 0 55%, 6% 55%, 6% 30%, 9% 30%, 9% 55%, 16% 55%, 16% 40%, 22% 40%, 22% 70%, 78% 70%, 78% 35%, 84% 35%, 84% 18%, 86% 18%, 86% 35%, 92% 35%, 92% 50%, 100% 50%, 100% 100%); }
.js-lg .lg-post .lg-deco-roof::before { animation: lg-bulb 5.5s ease-in-out infinite; }
.lg-post .lg-deco-roof i { width: 3px; height: 3px; background: var(--sc2); box-shadow: 0 0 8px var(--sc); opacity: .9; }
/* 壁爐：下緣磚紋、爐火一直在呼吸、餘燼常駐少量往上飄 */
.lg-post .lg-deco-hearth::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; opacity: .22;
  background: repeating-linear-gradient(0deg, #00000088 0 2px, #0000 2px 24px), repeating-linear-gradient(90deg, #00000088 0 2px, #0000 2px 52px), linear-gradient(#0000, #7a3a1c);
  -webkit-mask: linear-gradient(90deg, #000 0 18%, #0000 30% 70%, #000 82%); mask: linear-gradient(90deg, #000 0 18%, #0000 30% 70%, #000 82%); }
.lg-post .lg-fire { background: radial-gradient(55% 70% at 50% 100%, #ff8a3d55, #0000); }
.js-lg .lg-post .lg-fire { animation: lg-breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes lg-breathe { 0%, 100% { opacity: .75; transform: scaleY(.92); } 50% { opacity: 1; transform: scaleY(1.06); } }
.js-lg .lg-post .lg-sc-hearth .lg-deco-hearth i { animation: lg-ember 5.6s ease-out calc(var(--k) * .9s) infinite; }
.js-lg .lg-post .lg-sc-hearth.is-gem .lg-deco-hearth i { animation-duration: 3.2s; }
/* 公寓：對面樓窗燈各自隨機明滅（點亮棉被後全部亮起） */
.lg-post .lg-deco-flat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0b18cc 0 15%, #0000 22% 78%, #0d0b18cc 85%); }
.lg-post .lg-deco-flat i { border-color: #c9a4e033; background: #f6c97a1c; }
.js-lg .lg-post .lg-sc-flat .lg-deco-flat i { animation: lg-win 7s steps(1) calc(var(--k) * -1.3s) infinite; }
.js-lg .lg-post .lg-sc-flat.is-gem .lg-deco-flat i { animation: none; }
@keyframes lg-win { 0% { background: #f6c97a1c; box-shadow: none; } 30% { background: #f6c97a77; box-shadow: 0 0 12px #f6c97a44; } 55% { background: #c9a4e033; box-shadow: none; } 80% { background: #f6c97a55; box-shadow: 0 0 8px #f6c97a33; } }
/* 凌晨：右下藍火環一直微微脈動、蒸氣從下緣往上飄 */
.lg-post .lg-gasglow { background: radial-gradient(closest-side, #4f8cff26, #0000); }
.js-lg .lg-post .lg-gasglow { animation: lg-pulse 2.6s ease-in-out infinite; }
@keyframes lg-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.lg-post .lg-sc-gas .lg-flame { opacity: .3; transform: scale(.85); }
.lg-post .lg-sc-gas.is-gem .lg-flame { opacity: .95; transform: none; }
.lg-post .lg-deco-gas::before, .lg-post .lg-deco-gas::after { content: ""; position: absolute; bottom: -40px; width: 160px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, #d8ecff14, #0000); filter: blur(6px); }
.lg-post .lg-deco-gas::before { right: 6vw; } .lg-post .lg-deco-gas::after { left: 4vw; width: 120px; }
.js-lg .lg-post .lg-deco-gas::before, .js-lg .lg-post .lg-deco-gas::after { animation: lg-steam 9s ease-in infinite; }
.js-lg .lg-post .lg-deco-gas::after { animation-delay: -4.5s; }
@keyframes lg-steam { 0% { opacity: 0; transform: translateY(0) scale(.8); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-320px) scale(1.4); } }
/* 轉場：每站換色調＋背後一枚大郵戳（雙圈、波浪銷印線、站內物件；不帶字），段落出現時蓋下去 */
.lg-post .lg-story .lg-tr { background: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--sc, #d27a5a) 14%, transparent), #0000); }
.lg-post .lg-story .lg-tr-t { border-image: repeating-linear-gradient(135deg, var(--sc, #d27a5a) 0 12px, var(--pp) 12px 18px, var(--sc2, #8fb3e8) 18px 30px, var(--pp) 30px 36px) 10; background: color-mix(in srgb, var(--scb, #0d1526) 94%, transparent); position: relative; z-index: 1; }
.lg-post .lg-story .lg-tr-t::after { border-color: color-mix(in srgb, var(--sc, #d27a5a) 70%, transparent); box-shadow: inset 0 0 0 5px var(--scb, #0d1526), inset 0 0 0 6px color-mix(in srgb, var(--sc, #d27a5a) 50%, transparent); background: repeating-linear-gradient(0deg, #0000 0 9px, color-mix(in srgb, var(--sc, #d27a5a) 30%, transparent) 9px 10px); }
.lg-pm { display: none; }
.lg-post .lg-pm { display: block; position: absolute; left: 50%; top: 50%; z-index: 0; width: min(560px, 92vw); color: var(--sc, #d27a5a); opacity: .2; transform: translate(-30%, -50%) rotate(-14deg); pointer-events: none; }
.js-lg .lg-post .lg-pm { opacity: 0; transform: translate(-30%, -50%) rotate(-14deg) scale(1.5); transition: opacity .4s ease .5s, transform .5s cubic-bezier(.3, 1.5, .5, 1) .5s; }
.js-lg .lg-post .lg-tr:has(.lg-tr-t.is-in) .lg-pm { opacity: .22; transform: translate(-30%, -50%) rotate(-14deg); }
@media (max-width: 560px) { .lg-post .lg-pm { width: 360px; transform: translate(-40%, -50%) rotate(-14deg); } .js-lg .lg-post .lg-tr:has(.lg-tr-t.is-in) .lg-pm { transform: translate(-40%, -50%) rotate(-14deg); } }
@media (prefers-reduced-motion: reduce) { .lg-post .lg-deco-roof::before, .lg-post .lg-fire, .lg-post .lg-deco-hearth i, .lg-post .lg-deco-flat i, .lg-post .lg-gasglow, .lg-post .lg-deco-gas::before, .lg-post .lg-deco-gas::after { animation: none !important; } .js-lg .lg-post .lg-pm { transition: none; } }
/* 六期卡（設計部 10-27 驗收第 5 點）：題名不留單字到第二行；手機浮動進度列不蓋住最後一排 */
.lg-books .lg-issues b { display: block; font-size: 16px; letter-spacing: .04em; text-wrap: balance; }
@media (max-width: 760px) { .lg-books .lg-issues { padding-bottom: 76px; } }
/* Lighter 10-27「一年六次，替閱讀換一片星空　主題名稱排整齊一點」：題名區一律留兩行高、出刊日分隔線推到卡底，六張卡的線與日期同一高度；手機取消左右對齊撐開的字距 */
.lg-books .lg-issues b { min-height: 3.1em; text-align: left !important; text-align-last: left !important; text-justify: none; }
.lg-books .lg-issues em { margin-top: auto; }
.lg-books .lg-issues a > b, .lg-books .lg-issues li > div > b { margin-bottom: 14px; }
/* Lighter 10-27 第二輪「鐵灰色印紙增強光效，那幾個圓框剛好就可以做宇宙效果的增強優化」：只在網頁上動（下載的 PNG 是靜態，圓框星雲已畫進 PNG）
   ①掃過整張信紙的斜光 ②四個亮點圓框各有繞行光點與呼吸光暈，找到的那幾個更亮 ③座標＝卡面圓心 x965、y430／580／730／880（以 1080×1350 換算百分比） */
.lg-cv-box { overflow: hidden; }
.lg-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, #ffffff00 40%, #f4f7ff2e 48%, #fff4dc1f 52%, #ffffff00 60%) 0 0 / 320% 100% no-repeat; mix-blend-mode: screen; animation: lgSheen 11s ease-in-out infinite; }
@keyframes lgSheen { 0%, 15% { background-position: 110% 0; } 70%, 100% { background-position: -10% 0; } }
.lg-orbs { position: absolute; inset: 0; pointer-events: none; }
.lg-orbs i { --c: 170, 150, 240; position: absolute; left: 89.352%; width: 9.2%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.lg-orbs i:nth-child(1) { top: 31.852%; } .lg-orbs i:nth-child(2) { top: 42.963%; --c: 120, 220, 200; } .lg-orbs i:nth-child(3) { top: 54.074%; --c: 245, 200, 120; } .lg-orbs i:nth-child(4) { top: 65.185%; --c: 235, 140, 190; }
.lg-orbs i::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: 0 0 14px 2px rgba(var(--c), .28); animation: lgOrbPulse 4.5s ease-in-out infinite; }
.lg-orbs i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 0, rgba(var(--c), .95) 0 2.2%, rgba(var(--c), 0) 6%); animation: lgOrbit 9s linear infinite; }
.lg-orbs i:nth-child(2)::after { animation-duration: 11s; animation-direction: reverse; } .lg-orbs i:nth-child(3)::after { animation-duration: 8s; } .lg-orbs i:nth-child(4)::after { animation-duration: 12s; animation-direction: reverse; }
.lg-orbs i:nth-child(2)::before { animation-delay: -1.2s; } .lg-orbs i:nth-child(3)::before { animation-delay: -2.4s; } .lg-orbs i:nth-child(4)::before { animation-delay: -3.4s; }
.lg-orbs i.is-on::before { box-shadow: 0 0 22px 6px rgba(var(--c), .55); }
.lg-orbs i.is-on::after { background: radial-gradient(circle at 50% 0, #fff 0 2.6%, rgba(var(--c), .8) 4%, rgba(var(--c), 0) 8%); }
@keyframes lgOrbPulse { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes lgOrbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lg-sheen, .lg-orbs { display: none; } }

/* Lighter 10-27「手機板、平板版感覺版面配置不佳」
   ①開頭信封的縮放在 logbook.js fit()：平板左右各留 56、手機各留 18（原本只留 8，B 版斜放的信封四角被切）
   ②平板：信籤原本左右兩欄、信紙只剩 430 寬 ⇒ 改上下排，信紙與答題區同寬置中
   ③手機：信紙左右貼齊螢幕邊（多出 32px），字大一點 */
@media (min-width: 761px) and (max-width: 1023px) {

  .lg-card-wrap { grid-template-columns: minmax(0, 560px); gap: 30px; }
}
@media (max-width: 760px) {
  .lg-card .lg-cv-box { margin: 0 -16px; }
  .lg-card canvas { box-shadow: none; }
}
/* Lighter 10-27「中間有一區白白的」＝上面那道掃過整張信紙的斜光（實測中段亮度 37.5→52.5）⇒ 撤斜光，改成一段金白光沿信紙外框（卡面 x46–1034、y46–1304）繞行，不經過文字區 */
@property --lgA { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.lg-sheen { inset: 3.41% 4.26%; padding: 2px; mix-blend-mode: screen; background: conic-gradient(from var(--lgA), #fff4d600 0 78%, #fff4d6aa 88%, #ffffffee 90%, #fff4d600 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: lgFrameRun 9s linear infinite; }
@keyframes lgFrameRun { to { --lgA: 360deg; } }
/* Lighter 10-27「一年六次，替閱讀換一片星空那邊的光效也很不協調，但我喜歡目前的星際動畫」⇒ 撤三種光：本期那張卡的整塊光暈底、菱形章外的發光、航線上那條粗光帶；
   保留＝菱形章外繞行的小光點（lg-is-orb）與虛線航線 */
.lg-books .lg-issues .lg-is.is-cur > *, .lg-post .lg-books .lg-issues .lg-is.is-cur > * { background: none !important; box-shadow: none !important; border-color: transparent; }
.lg-books .lg-is-med::before, .lg-books .lg-is.is-cur .lg-is-med::before { box-shadow: none !important; }
.lg-is-path path + path { display: none; }

/* Lighter 10-27「版AB的故事行距、版B的選項卡有點不夠精緻，版B的進度條有點阻礙閱讀」
   ①行距 2.15→1.95；A 版段間縮小；B 版信紙改成真的寫在格線上（段間不空行、首行空兩字，字落在線上） */
.lg-page p { line-height: 1.95; margin-bottom: .8em; }
.lg-post .lg-page { background: linear-gradient(180deg, #efe6d214, #efe6d208), repeating-linear-gradient(180deg, #0000 0 calc(1.95em - 1px), #8fb3e81c calc(1.95em - 1px) 1.95em); background-origin: content-box; background-clip: border-box; }
.lg-post .lg-page p { margin: 0; text-indent: 2em; }
/* ②B 版選項郵票：不歪斜、齒孔改細、字母上方一條細線分開、字放大 */
.lg-post .lg-opts { gap: 26px; }
.lg-post .lg-opts li:nth-child(n) button { --r: 0deg; }
.lg-post .lg-opts button { min-height: 128px; justify-content: flex-start; gap: 12px; padding: 22px 22px 20px; font: 500 17px/1.6 "Noto Serif TC", serif; letter-spacing: .03em;
  background: radial-gradient(120% 90% at 100% 0, #fff8 0, #fff0 45%), var(--pp);
  outline: 4px dotted #0a1120; outline-offset: -2px; box-shadow: 0 0 0 2px var(--pp), inset 0 0 0 9px var(--pp), inset 0 0 0 10px #1d171238, 0 16px 34px #00000070; transform: none; }
.lg-post .lg-opts button b { display: block; width: 100%; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); font: 600 22px/1 "Cormorant Garamond", serif; letter-spacing: .1em; }
.lg-post .lg-opts button:hover, .lg-post .lg-opts button:focus-visible { transform: translateY(-4px); filter: none; box-shadow: 0 0 0 2px var(--pp), inset 0 0 0 9px var(--pp), inset 0 0 0 10px color-mix(in srgb, var(--pc) 60%, transparent), 0 22px 40px #00000080; }
@media (max-width: 760px) { .lg-post .lg-opts { gap: 16px; } .lg-post .lg-opts button { min-height: 0; padding: 18px 18px 16px; } }
/* ③讀故事往下捲時頂端站點條收起（logbook.js 加 html.lg-tuck），往上捲就回來 */
html.lg-tuck .lg-post .lg-rail { opacity: 0; pointer-events: none; transform: translate(-50%, -16px); }
/* 首行空兩字只給段落本身，段內反白詞（人孔蓋等）不跟著空；斷行避開單字孤行 */
.lg-post .lg-page p * { text-indent: 0; }
.lg-page p { text-wrap: pretty; }
.lg-post .lg-opts button > :not(b) { text-wrap: pretty; }
@media (min-width: 1024px) { .lg-post .lg-q-box { max-width: 58em; } }

/* ── 兩批模擬讀者試玩優化（2026-10-27 晚；Lighter「優化建議都採納不過不存答案」）── */
/* 字的浮現縮到約 0.3 秒、每句間隔縮短；快速捲動時整段直接顯示（logbook.js instant） */
.lg-s { transition: opacity .3s ease, filter .3s ease, color .6s; }
.js-lg [data-lg-p].is-in .lg-s { transition-delay: min(calc(var(--i) * 60ms), .4s); }
.js-lg [data-lg-p].is-instant .lg-s { transition: none; opacity: 1; filter: none; }
/* 對白短行不左右撐開（一字一空） */
.lg-page p:has(> .lg-s:first-child[data-lg-type]) { text-align: left; }
/* 亮點：點擊範圍至少 44px 高；「收進信籤」小框改出現在詞的下方；第一個亮點的一次性提示 */
.lg-gem::before { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.lg-gem-pop { bottom: auto; top: 135%; z-index: 3; }
.lg-gem-tip { position: absolute; left: 50%; top: 140%; transform: translateX(-50%); z-index: 3; white-space: nowrap; padding: 5px 12px; border: 1px solid #f1e3bdaa; border-radius: 14px; background: #0a1124f5; color: #fff4d6; font: 500 13px/1.4 "Noto Sans TC", sans-serif; letter-spacing: .08em; text-shadow: none; pointer-events: none; box-shadow: 0 0 18px #f1e3bd44; animation: lg-tipin .5s ease both; }
.lg-gem-tip::before { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); border-left: 1px solid #f1e3bdaa; border-top: 1px solid #f1e3bdaa; background: #0a1124; }
@keyframes lg-tipin { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translateX(-50%); } }
.lg-post .lg-gem-tip { border-color: #d27a5aaa; }
/* 亮起的句子：效果加強＋段前小標說明是哪一題的選擇點亮的 */
.lg-s.is-lit { color: #fff3cf !important; text-shadow: 0 0 16px #f1e3bd88, 0 0 2px #fff3cf; background: linear-gradient(transparent 62%, #d8c79f33 62%); }
.lg-page p.lg-litnote { margin: 0 0 .5em; font: 500 13px/1.6 "Noto Sans TC", sans-serif; letter-spacing: .12em; color: #e8d29a; text-align: left; animation: lg-notein .6s ease both; }
@keyframes lg-notein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lg-post .lg-page p.lg-litnote { color: #f0b49a; }
.lg-page p.lg-litnote { text-indent: 0; }
@media (max-width: 480px) { .lg-page p.lg-litnote { letter-spacing: .03em; font-size: 12.5px; } }
.lg-post .lg-s.is-lit { background: linear-gradient(transparent 62%, #d27a5a33 62%); }
/* 電梯樓層：hidden 真的藏起來；平板手機改排在那一段下方 */
.lg-elev[hidden] { display: none; }
.lg-elev.is-inline { position: static; display: inline-flex; margin: 0 0 1.4em; font-size: 22px; padding: 6px 12px; }
.lg-elev.is-inline[hidden] { display: none; }
/* 左下計數列：讀到選項區時縮成信封小圖示 */
.lg-pouch.is-mini { padding: 9px; gap: 0; }
.lg-pouch.is-mini > span:not(.lg-pouch-env) { display: none; }
/* 頂端站別：B 版平板顯示目前在第幾站；A 版平板保留左側站點 */
@media (max-width: 1179px) { .lg-post .lg-rail a.is-on span { display: inline; } }
@media (min-width: 761px) and (max-width: 1179px) {
  .lg:not(.lg-post) .lg-rail { display: block; position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 40; }
  .lg:not(.lg-post) .lg-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
  .lg:not(.lg-post) .lg-rail a { display: flex; align-items: center; height: 30px; }
  .lg:not(.lg-post) .lg-rail i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #d8c79f88; background: #070b16; }
  .lg:not(.lg-post) .lg-rail span { display: none; }
  .lg:not(.lg-post) .lg-rail a.is-on i { background: #f1e3bd; box-shadow: 0 0 10px #f1e3bdcc; }
  .lg:not(.lg-post) .lg-rail a.is-past i { background: #d8c79f88; }
}
/* 封面玩法小字 */
.lg-cv-how { position: relative; z-index: 2; margin: 22px auto 0; max-width: 28em; padding: 0 16px; text-align: center; font: 400 14px/1.8 "Noto Sans TC", sans-serif; letter-spacing: .1em; color: #c8d1df; }
.lg-cv { flex-direction: column; }
/* 信籤：預覽可放大、下載前提醒 */
.lg-cv-box { cursor: zoom-in; }
.lg-cv-box:focus-visible { outline: 2px solid #f1e3bd; outline-offset: 4px; }
.lg-dl-warn { margin: 14px 0 0; padding: 14px 16px; border: 1px solid #d8c79f88; border-radius: 8px; background: #0b1328f2; }
.lg-dl-warn p { margin: 0 0 12px; font: 400 15px/1.7 "Noto Sans TC", sans-serif; color: #f1e3bd; }
.lg-dl-warn button { min-height: 44px; margin: 0 10px 0 0; padding: 0 20px; border: 1px solid #d8c79f; border-radius: 22px; background: #141b30; color: #f6efdc; font: 500 15px/1 "Noto Sans TC", sans-serif; letter-spacing: .12em; cursor: pointer; }
.lg-dl-warn button:first-of-type { background: #d8c79f; color: #141b30; }
.lg-zoom { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: #02040ae8; cursor: zoom-out; }
.lg-zoom img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 20px 60px #000; }
.lg-zoom-x { position: absolute; right: 16px; top: 16px; min-width: 64px; min-height: 44px; border: 1px solid #d8c79f; border-radius: 22px; background: #0b1328; color: #f6efdc; font: 500 14px/1 "Noto Sans TC", sans-serif; letter-spacing: .12em; cursor: pointer; }
html.lg-zoomed { overflow: hidden; }
/* 書區：引導句、定價、看書鈕、電子書標籤、出刊提醒 */
.lg-bk-lead { margin: 0 0 18px; text-align: center; font: 400 15px/1.8 "Noto Sans TC", sans-serif; letter-spacing: .12em; color: #b9c4d6; }
.lg-bk-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.lg-bk-e { padding: 2px 8px; border: 1px solid #8fb3e8aa; border-radius: 10px; font: normal 500 12px/1.5 "Noto Sans TC", sans-serif; letter-spacing: .1em; color: #bcd3f2; }
.lg-bk-pr { font: 500 14px/1.4 "Noto Sans TC", sans-serif; letter-spacing: .04em; color: #f1e3bd; }
.lg-bk-go { margin-left: auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 18px; background: #d8c79f; color: #141b30; font: 600 14px/1 "Noto Sans TC", sans-serif; letter-spacing: .2em; }
.lg-bk-nw { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lg-books a:hover .lg-bk-go { background: #f1e3bd; }
.lg-post .lg-bk-go { background: #e9b79e; }
.lg-bk-tx { display: flex; flex-direction: column; height: 100%; }
.lg-bk-tx .lg-bk-ft { margin-top: auto; padding-top: 14px; }
@media (max-width: 1023px) { .lg-post .lg-books ol[data-lg-books] { grid-template-columns: 1fr; } }
.lg-ics { margin: 26px 0 0; text-align: center; }
.lg-ics a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px; border: 1px solid #d8c79f88; border-radius: 22px; color: #f1e3bd; text-decoration: none; font: 500 14px/1 "Noto Sans TC", sans-serif; letter-spacing: .12em; }
.lg-ics a:hover { border-color: #f1e3bd; box-shadow: 0 0 18px #f1e3bd33; }
.lg-ics i { width: 14px; height: 14px; border: 1px solid currentColor; border-top-width: 4px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .lg-gem-tip, .lg-page p.lg-litnote { animation: none; } }

/* 異源驗收 10-27 夜：行事曆鈕被各期卡片的 a 規則蓋掉（無框、靠左、圖示掉行）⇒ 用 id 拉高層級 */
#lg-books .lg-ics { margin: 26px 0 0; text-align: center; }
#lg-books .lg-ics a { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; width: auto; height: auto; min-height: 44px; padding: 0 22px; border: 1px solid #d8c79f88; border-radius: 22px; background: none; color: #f1e3bd; text-decoration: none; font: 500 14px/1 "Noto Sans TC", sans-serif; letter-spacing: .12em; overflow: visible; }
#lg-books .lg-ics a:hover { border-color: #f1e3bd; box-shadow: 0 0 18px #f1e3bd33; transform: none; }
#lg-books .lg-ics i { position: static; display: inline-block; flex: none; width: 14px; height: 14px; border: 1px solid currentColor; border-top-width: 4px; border-radius: 2px; }
.lg-post #lg-books .lg-ics a { color: #f3d9c8; border-color: #d27a5a88; }
/* 孤字成行：玩法小字平均分行；書名、推薦語、內文末行不留一兩個字 */
.lg-cv-how { text-wrap: balance; }
.lg-page p, .lg-books p, .lg-books b, .lg-bk-lead { text-wrap: pretty; }

/* 2026-10-28 紀念章 v10：燙金遮罩改 foil-stamp-v10.webp（與章同位置 300×300、左上 95,905、正放）；點章放大（熱區＝透明按鈕，版位由 logbook.js STAMP_BOX 寫入） */
.lg-stamp-hit { position: absolute; z-index: 3; padding: 0; border: 0; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.lg-stamp-hit:focus-visible { outline: 2px solid #f1e3bd; outline-offset: 2px; }
.lg-zoom-stamp { background: #02040a; }   /* 章是透明底，放大時底下的頁面不可透出來干擾讀字 */
.lg-zoom-stamp img { width: min(80vw, 86vh); max-width: none; max-height: none; height: auto; box-shadow: none; filter: drop-shadow(0 0 24px #d8bc7826); }
