:root {
  /* 柔光配色：暮色藍紫底、桃子、蜂蜜、薄荷。搶眼但不刺眼。 */
  --bg: #171b34;
  --panel: rgba(30, 35, 66, 0.84);
  --panel-solid: #232948;
  --panel-2: #2b3256;
  --line: #3f4774;
  --text: #f7f1e6;
  --muted: #bec1d8;
  --orange: #f2b38a;
  --gold: #efcf8e;
  --teal: #a6dccf;
  --dark-star: #7d80a8;
  --shadow: 0 8px 24px rgba(6, 8, 24, 0.35);
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; overflow: hidden;
}
body.list { overflow: auto; }
a { color: var(--teal); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 探索畫面 ---------- */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; cursor: grab; }
body.list #world, body.list .hud-zoom { display: none; }

.hud-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: flex-start; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 20, 42, 0.75), rgba(18, 20, 42, 0));
}
.hud-top > * { pointer-events: auto; }
.brand img { display: block; width: 150px; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)); }
.scene { flex: 1; min-width: 0; }
.scene h1 { margin: 0; font-size: 24px; line-height: 1.2; color: var(--orange); text-shadow: 0 2px 8px rgba(6, 8, 24, 0.5); }
.scene p { margin: 2px 0 6px; color: var(--muted); font-size: 13px; }
.explore { width: min(220px, 100%); height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.explore span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 0.6s; }
.hud-buttons { display: flex; gap: 8px; align-items: center; }
.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); font-size: 18px; display: grid; place-items: center; backdrop-filter: blur(6px);
}
.round[aria-pressed="true"]#list-btn { border-color: var(--teal); color: var(--teal); }
.logbook {
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gold);
  background: var(--panel); color: var(--gold); font-weight: 700; white-space: nowrap; backdrop-filter: blur(6px);
}
.logbook span { display: inline-block; min-width: 1.6em; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--gold); color: var(--bg); text-align: center; }
.logbook.pop span { animation: pop 0.6s; }
@keyframes pop { 30% { transform: scale(1.6); } }

.hud-zoom { position: fixed; right: 16px; top: 45%; z-index: 5; display: grid; gap: 8px; }
.preview-note {
  position: fixed; left: 16px; top: calc(120px + env(safe-area-inset-top)); z-index: 4; margin: 0; max-width: 260px;
  padding: 6px 10px; border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 12px;
}
body.list .preview-note { position: static; max-width: none; margin: 0 0 12px; }

.hud-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(5, 10, 22, 0.92), rgba(5, 10, 22, 0));
}
body.has-player .hud-bottom { bottom: 104px; background: none; }
.extras { display: flex; gap: 8px; justify-content: center; padding: 8px 0; flex-wrap: wrap; }
.extra {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); backdrop-filter: blur(6px);
}
.extra[aria-selected="true"] { border-color: var(--teal); color: var(--teal); background: rgba(166, 220, 207, 0.12); }

/* 收音機調頻刻度 */
.tuner {
  display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 20px;
  border: 1px solid rgba(242, 179, 138, 0.35); background:
    repeating-linear-gradient(90deg, rgba(242, 179, 138, 0.25) 0 1px, transparent 1px 12px) bottom / 100% 10px no-repeat,
    linear-gradient(180deg, rgba(44, 40, 68, 0.92), rgba(26, 30, 56, 0.92));
  box-shadow: var(--shadow);
  max-width: 1100px; margin: 0 auto;
}
.dial-step {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--orange);
  background: radial-gradient(circle at 35% 30%, #4a4466, #2a2a48); color: var(--orange); font-size: 24px;
}
.dial-track { display: flex; gap: 6px; margin: 0; padding: 4px 2px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; flex: 1; scrollbar-width: none; }
.dial-track::-webkit-scrollbar { display: none; }
.knob {
  position: relative; scroll-snap-align: center; flex: none; min-width: 108px; min-height: 52px; padding: 6px 10px;
  border-radius: 12px; border: 1px solid transparent; background: transparent; text-align: center; color: var(--muted);
}
.knob b { display: block; font-size: 15px; white-space: nowrap; color: var(--text); }
.knob small { font-size: 11px; }
.knob .first { display: block; color: var(--teal); font-size: 10px; }
.knob[aria-current="true"] { color: var(--gold); background: rgba(242, 179, 138, 0.14); border-color: rgba(242, 179, 138, 0.5); }
.knob[aria-current="true"] b { color: var(--orange); }
.knob[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 3px; height: 16px; margin-left: -1.5px;
  border-radius: 2px; background: #f29a8a;
}
.knob.locked { opacity: 0.4; cursor: not-allowed; }

/* ---------- 清單模式 ---------- */
main { padding: calc(150px + env(safe-area-inset-top)) 16px 260px; max-width: 1100px; margin: 0 auto; }
body.has-player main { padding-bottom: 300px; } /* 播放器出現時，清單最後幾集也捲得出來 */
.level { padding: 16px; border-radius: var(--radius); background: var(--panel-solid); margin-bottom: 12px; }
.level h2 { margin: 0 0 4px; font-size: 24px; }
.level .meta { color: var(--muted); margin: 0 0 8px; }
.zones { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.zones button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); font-size: 14px; }
.zones button[aria-pressed="true"] { border-color: var(--orange); color: var(--orange); }
.search { display: block; margin: 0 0 12px; }
.search input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-solid); color: var(--text); font-size: 16px; }
.stops { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.stop {
  width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; text-align: left;
  padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-solid);
}
.stop .ch { grid-row: span 2; min-width: 52px; padding: 4px 6px; border-radius: 10px; background: var(--panel-2); text-align: center; font-weight: 700; font-size: 14px; }
.stop .ch small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.stop .t { font-weight: 700; }
.stop .tags { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.badge { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); }
.badge.vip { border-color: var(--gold); color: var(--gold); }
.badge.soon { color: var(--dark-star); }
.badge.can { border-color: #2fb36a; color: #1f8f52; font-weight: 700; }
.badge.lab { border-color: var(--teal); color: var(--teal); }
.stop.vip { box-shadow: 0 0 0 2px var(--gold) inset; }
.stop.unreleased { opacity: 0.55; }
.stamps { color: var(--orange); letter-spacing: 2px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 32px 16px; }

/* ---------- 頻道卡、實驗、日誌 ---------- */
dialog { color: var(--text); background: var(--panel-solid); border: 1px solid var(--line); border-radius: 18px; padding: 0; }
dialog::backdrop { background: rgba(3, 8, 18, 0.55); backdrop-filter: blur(2px); }
.sheet { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 48px); box-shadow: 0 16px 40px rgba(6, 8, 24, 0.45); }
.sheet[open] { animation: rise 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
@keyframes rise { from { transform: translateY(30px) scale(0.96); opacity: 0; } }
.sheet .inner { padding: 20px; overflow-y: auto; }
.sheet .hero { font-size: 56px; line-height: 1; margin: 0 0 8px; filter: drop-shadow(0 4px 10px rgba(6, 8, 24, 0.4)); }
.sheet h2 { margin: 0 0 4px; font-size: 22px; }
/* ✕ 一定在最上層：大圖示有陰影濾鏡，會自己疊一層蓋住浮動的按鈕；捲動長內容時也一直留在右上角 */
.sheet .jl { all: unset; cursor: pointer; border-radius: 6px; }
.sheet .jl:hover { text-decoration: underline; }
.sheet .jl:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sheet .close { position: sticky; top: 0; z-index: 3; float: right; min-width: 48px; min-height: 48px; margin: -6px -6px 0 8px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--panel-solid); color: var(--text); font-size: 22px; box-shadow: var(--shadow); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--orange); color: var(--bg); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.btn.alt { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn.gold { background: var(--gold); }
/* 頻道卡上的 Apple Podcasts、Spotify */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.platforms .pf-cap { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.pf.soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.hold { position: relative; overflow: hidden; }
.hold .fill { position: absolute; inset: 0; width: 0; background: rgba(255, 255, 255, 0.35); transition: width 2s linear; }
.hold.holding .fill { width: 100%; }
.hold { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.hold.ready .fill { background: rgba(255, 255, 255, 0.5); }
/* 沒有原生 <dialog> 的舊瀏覽器（compat.js） */
.no-dialog dialog:not([open]) { display: none; }
.no-dialog dialog[open] { display: block; position: fixed; inset: 0; margin: auto; z-index: 50; height: fit-content; box-shadow: 0 0 0 100vmax rgba(3, 8, 18, 0.55); }
.no-dialog dialog.labsheet[open] { height: 100vh; }
.hint { color: var(--muted); font-size: 13px; }
.card { margin: 12px 0; padding: 14px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid rgba(239, 207, 142, 0.5); }
.card h3 { margin: 0 0 6px; color: var(--gold); }
.takeaways { list-style: none; margin: 8px 0; padding: 0; }
.takeaways li { padding: 6px 8px; border-radius: 8px; transition: background 0.3s; }
.takeaways li.on { background: #2a2416; color: var(--orange); }
.question { margin-top: 12px; padding: 12px; border-left: 3px solid var(--teal); background: var(--panel-2); border-radius: 8px; }

.labsheet { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
.labbar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--panel-2); }
.labbar span { flex: 1; font-weight: 700; }
.labbar button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--orange); background: transparent; color: var(--orange); }
.labsheet iframe { width: 100%; height: calc(100% - 60px); border: 0; background: #fff; }

.toast {
  position: fixed; left: 50%; top: 40%; z-index: 20; transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none;
  padding: 16px 24px; border-radius: 20px; background: rgba(44, 38, 52, 0.94); border: 2px solid var(--gold);
  color: var(--gold); font-size: 22px; font-weight: 700; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4), opacity 0.4s;
}
.toast.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }

[hidden] { display: none !important; }
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--panel-2); border-top: 1px solid var(--line); display: grid; gap: 6px; }
.player audio { width: 100%; }
.player .now { display: flex; flex-direction: column; font-size: 14px; }
.player #now-takeaway { color: var(--orange); }

@media (max-width: 640px) {
  .brand img { width: 96px; }
  .round { width: 40px; height: 40px; font-size: 16px; }
  .logbook { min-height: 40px; }
  .logbook .label { display: none; }
  .logbook::before { content: "📔"; }
  .preview-note { display: none; }
  .scene h1 { font-size: 19px; }
  .logbook { padding: 0 10px; font-size: 14px; }
  .hud-top { flex-wrap: wrap; }
  .scene { order: 3; flex-basis: 100%; }
  .preview-note { top: calc(150px + env(safe-area-inset-top)); max-width: 200px; }
  /* 手機：縮放鍵放到標題下面，避開導覽框（它的 ✕ 也在右邊）和下方旋鈕；導覽框出現時先收起來，雙指一樣能縮放 */
  .hud-zoom { top: calc(168px + env(safe-area-inset-top)); bottom: auto; right: 10px; }
  body:has(#guide:not([hidden])) .hud-zoom { visibility: hidden; }
  .knob { min-width: 92px; }
  .toast { width: min(86vw, 360px); font-size: 18px; }
  .extras { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .extra { min-height: 38px; padding: 0 12px; font-size: 14px; white-space: nowrap; flex: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---------- 科學隊長與好奇博士 ---------- */
.guide-btn { padding: 0; overflow: hidden; border-color: var(--orange); }
.guide-btn img { width: 100%; height: 100%; display: block; }
.mission { margin: 4px 0 0; font-size: 13px; color: var(--gold); }
.mission.done { color: var(--teal); }
.guide {
  position: fixed; left: 16px; bottom: 190px; z-index: 7; width: min(460px, calc(100vw - 32px));
  display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: start;
  padding: 12px 12px 22px; border-radius: 20px; cursor: pointer;
  background: rgba(30, 35, 66, 0.95); border: 2px solid var(--orange);
  box-shadow: var(--shadow);
}
.guide[data-who="curious"] { border-color: var(--teal); }
.guide.bounce { animation: guide-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
@keyframes guide-in { from { transform: translateY(16px) scale(0.95); opacity: 0.4; } }
.guide-avatar { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--orange); background: #142036; }
.guide[data-who="curious"] .guide-avatar { border-color: var(--teal); animation: wobble 2.4s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-6deg); } }
.guide-name { margin: 0; font-weight: 700; color: var(--orange); font-size: 14px; }
.guide[data-who="curious"] .guide-name { color: var(--teal); }
.guide-text { margin: 2px 0 0; font-size: 17px; line-height: 1.55; min-height: 2.4em; }
.guide-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.guide-action { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--orange); color: var(--bg); font-weight: 700; }
.guide[data-who="curious"] .guide-action { background: var(--teal); }
.guide-tools { display: grid; gap: 6px; }
.guide-tools button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; }
.guide-tools .guide-voice[aria-pressed="true"] { border-color: var(--gold); }
.guide-next { position: absolute; right: 16px; bottom: 4px; font-size: 11px; color: var(--muted); opacity: 0; }
.guide.typed .guide-next { opacity: 1; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
body.has-player .guide { bottom: 294px; }
/* 頻道卡等視窗開著時，導覽框先藏起來（它在背景按不到，看到反而以為關不掉） */
body:has(dialog[open]) .guide { visibility: hidden; }

/* 頻道卡上的兩人對話 */
.duo { display: grid; gap: 8px; margin: 4px 0 12px; }
.say { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: start; }
.say img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); }
.say p { margin: 0; padding: 8px 12px; border-radius: 4px 16px 16px 16px; background: var(--panel-2); font-size: 15px; }
.say.captain img { border-color: var(--orange); }
.say.captain p { border: 1px solid rgba(242, 179, 138, 0.5); }

@media (max-width: 640px) {
  .guide { left: 8px; right: 8px; width: auto; bottom: 178px; grid-template-columns: 56px 1fr auto; }
  .guide-avatar { width: 56px; height: 56px; }
  .guide-text { font-size: 16px; }
}

/* 3D 版 */
.warp-flash { position: fixed; inset: 0; pointer-events: none; opacity: 0; z-index: 3;
  background: radial-gradient(circle at 50% 50%, rgba(255,246,234,0.7), rgba(200,188,240,0.35) 40%, rgba(23,27,52,0) 72%); }
.tip3d { position: fixed; z-index: 6; transform: translate(-50%, -100%); pointer-events: none; max-width: 260px;
  padding: 6px 10px; border-radius: 10px; background: rgba(30,35,66,0.94); border: 1px solid rgba(166,220,207,0.45);
  color: var(--text); font-size: 14px; line-height: 1.35; box-shadow: var(--shadow); }
.tip3d[hidden] { display: none; }
.hint3d { position: fixed; left: 50%; top: 58%; z-index: 4; transform: translate(-50%, -50%); margin: 0; pointer-events: none;
  padding: 10px 18px; border-radius: 999px; background: rgba(30,35,66,0.9); border: 1px solid rgba(166,220,207,0.45);
  color: var(--text); font-size: 15px; white-space: pre; text-align: center; transition: opacity 0.5s; animation: hint-in 0.6s ease-out; }
.hint3d.bye { opacity: 0; }
@keyframes hint-in { from { opacity: 0; transform: translate(-50%, -30%); } }
@media (max-width: 700px) { .hint3d { font-size: 14px; } }
/* 上方標題後面一層淡淡的暗帶，亮的星球在後面也讀得清楚 */
body.gl::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 170px; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 20, 42, 0.6), rgba(18, 20, 42, 0)); }
body.gl.list::before { display: none; }
.debug3d { position: fixed; left: 8px; bottom: 8px; z-index: 30; margin: 0; max-width: calc(100vw - 16px); white-space: pre-wrap;
  padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.7); color: #cfe; font: 11px/1.4 ui-monospace, monospace; pointer-events: none; }
/* 一打開時的載入畫面：3D 準備好第一格就淡出 */
.loading { position: fixed; inset: 0; z-index: 40; display: grid; place-content: center; justify-items: center; gap: 12px;
  background: radial-gradient(circle at 50% 45%, #2b3158, var(--bg) 70%); color: var(--text); text-align: center; transition: opacity 0.6s; }
.loading img { border-radius: 50%; box-shadow: var(--shadow); animation: float 2.4s ease-in-out infinite; }
.loading p { margin: 0; font-size: 18px; color: var(--muted); }
body.ready .loading { opacity: 0; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .loading img { animation: none; } }

/* ---------- 一路放大縮小（zoom.html） ---------- */
.zoom-page::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 160px; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 20, 42, 0.6), rgba(18, 20, 42, 0)); }
.zoom-page #layer-size { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.zoom-flash { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 248, 236, 0.95), rgba(214, 204, 244, 0.8) 45%, rgba(40, 44, 82, 0.6) 100%); }

/* 萬物電梯：由大到小，一眼看出你在哪一層 */
.elevator { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 5; padding: 10px 8px; border-radius: 22px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.elevator .ev-cap { margin: 0 0 6px; text-align: center; font-size: 12px; color: var(--muted); }
.elevator ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.elevator ol::before { content: ""; position: absolute; left: 50%; top: 18px; bottom: 18px; width: 2px; margin-left: -1px; background: var(--line); }
.floor { position: relative; display: grid; grid-template-columns: 34px auto; align-items: center; gap: 6px; width: 100%; min-height: 44px;
  padding: 4px 10px 4px 6px; border: 1px solid transparent; border-radius: 14px; background: var(--panel-solid); color: var(--muted); text-align: left; }
.floor .em { font-size: 24px; text-align: center; }
.floor .nm { font-size: 14px; white-space: nowrap; }
.floor .you { position: absolute; right: -8px; top: -6px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--bg); font-size: 10px; font-weight: 700; }
.floor.here { border-color: var(--gold); color: var(--text); background: rgba(239, 207, 142, 0.16); }
.floor.here .nm { font-weight: 700; }

/* 下方兩顆大按鈕：退出來（變大）／鑽進去（變小） */
.zoom-controls { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 5; display: flex; gap: 14px; }
body.has-player .zoom-controls { bottom: 118px; }
.zoom-btn { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; justify-items: start;
  min-width: 150px; min-height: 64px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel); color: var(--text);
  box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.zoom-btn .ico { grid-row: span 2; font-size: 30px; }
.zoom-btn .txt { font-size: 18px; font-weight: 700; }
.zoom-btn small { font-size: 13px; color: var(--muted); }
.zoom-btn.in { border-color: var(--gold); }
.zoom-btn.in .txt { color: var(--gold); }
.zoom-btn.out { border-color: var(--teal); }
.zoom-btn.out .txt { color: var(--teal); }
.zoom-btn:disabled { opacity: 0.4; }
.zoom-page .guide { bottom: calc(100px + env(safe-area-inset-bottom)); left: 150px; }
body.zoom-page.has-player .guide { bottom: 200px; }

/* 東西的集數清單 */
.eps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ep { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text); text-align: left; }
.ep .ic { grid-row: span 2; font-size: 28px; align-self: center; }
.ep .tt { font-size: 16px; font-weight: 700; line-height: 1.4; }
.ep .tg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ep.subscriber { border-color: rgba(239, 207, 142, 0.5); }
.badge.seen { border-color: var(--teal); color: var(--teal); }
.btn.dive { margin-top: 14px; width: 100%; justify-content: center; min-height: 56px; font-size: 18px; background: var(--gold); }

@media (max-width: 700px) {
  .elevator { left: 6px; top: calc(150px + env(safe-area-inset-top)); transform: none; padding: 6px 4px; }
  .elevator .ev-cap, .floor .nm { display: none; }
  .floor { grid-template-columns: 34px; padding: 4px; justify-items: center; min-height: 42px; }
  .floor .you { right: -10px; top: -4px; font-size: 9px; }
  .zoom-controls { gap: 10px; width: calc(100vw - 24px); }
  .zoom-btn { flex: 1; min-width: 0; padding: 8px 12px; }
  .zoom-btn .ico { font-size: 26px; }
  .zoom-page .guide { left: 8px; bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.zoom-page.has-player .guide { bottom: 196px; }
}

/* ---------- 宇宙地圖（mindmap.html）：迷宮開圖 ---------- */
.map-page { background: #0c0e22; }
.map-page::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 150px; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 12, 30, 0.7), rgba(10, 12, 30, 0)); }
#stage { position: fixed; inset: 0; touch-action: none; overflow: hidden; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#stage:active { cursor: grabbing; }
#stage #world { position: absolute; inset: 0; width: 100%; height: 100%; }
#nodes { position: absolute; inset: 0; pointer-events: none; }
.map-page #map-progress { margin: 2px 0 4px; color: var(--muted); font-size: 14px; }

.mm-node { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: auto; padding: 0; border: 0; outline: none;
  background: none; color: var(--text); will-change: transform; -webkit-tap-highlight-color: transparent; }
/* 節點本身是 0×0 的錨點：球的中心對準它在地圖上的位置，名字掛在球下面 */
.mm-node .orb { position: absolute; left: 0; top: 0; translate: -50% -50%; display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, hsl(var(--h) 70% 90%), hsl(var(--h) 45% 62%) 70%, hsl(var(--h) 40% 45%));
  box-shadow: 0 0 0 3px hsl(var(--h) 60% 80% / 0.55), 0 6px 18px rgba(4, 6, 20, 0.5), 0 0 28px hsl(var(--h) 80% 70% / 0.45);
  transition: transform 0.2s, box-shadow 0.2s; }
.mm-node .em { font-size: calc(var(--s) * 0.52); line-height: 1; filter: drop-shadow(0 2px 3px rgba(40, 20, 10, 0.3)); }
.mm-node .orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mm-node .nm { position: absolute; left: 0; top: calc(var(--s) / 2 + 5px); translate: -50% 0; max-width: 160px; padding: 2px 10px; border-radius: 999px; background: rgba(14, 16, 40, 0.82); font-weight: 700; font-size: var(--f);
  line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.mm-node:hover .orb, .mm-node:focus-visible .orb { transform: scale(1.08); }
.mm-node:focus-visible .orb { outline: 3px solid var(--gold); outline-offset: 4px; }
.mm-node.d0 { --s: 104px; --f: 18px; }
.mm-node.d0 .orb { box-shadow: 0 0 0 4px #efcf8e, 0 0 50px rgba(246, 220, 156, 0.6); }
.mm-node.d1 { --s: 78px; --f: 17px; }
.mm-node.d2 { --s: 56px; --f: 14px; }
.mm-node.d3 { --s: 42px; --f: 12px; }
/* 大主題、小主題外圈的進度環：聽過幾成 */
.mm-node.d1 .orb::after, .mm-node.d2 .orb::after { content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(#efcf8e calc(var(--p, 0) * 1%), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.mm-node.vip .orb { box-shadow: 0 0 0 3px #e7c27a, 0 6px 18px rgba(4, 6, 20, 0.5), 0 0 26px rgba(240, 200, 120, 0.5); }
.mm-node.soon .orb { filter: saturate(0.25) brightness(0.75); }
.mm-node .mk { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; border-radius: 10px; font-size: 12px; line-height: 20px; background: #232948; }
.mm-node .mk.ok { background: #8fd8bf; color: #1f4a3c; font-weight: 800; }
/* 還在雲裡的地方：只看得到模糊的影子和「？」，會一閃一閃 */
.mm-node.fog .orb { background: radial-gradient(circle at 35% 30%, rgba(200, 196, 240, 0.55), rgba(70, 66, 120, 0.55)); box-shadow: 0 0 0 2px rgba(220, 214, 255, 0.45), 0 0 30px rgba(220, 214, 255, 0.35);
  animation: fog-glow 2.4s ease-in-out infinite; }
.mm-node.fog .em { filter: blur(2px) grayscale(1) brightness(1.3); opacity: 0.45; }
.mm-node.fog .q { position: absolute; font-size: calc(var(--s) * 0.5); font-weight: 900; color: #fff6e6; text-shadow: 0 0 12px rgba(255, 240, 200, 0.9); }
.mm-node.fog .nm { display: none; } /* 還沒打開的地方不顯示名字，只有發光的「？」 */
@keyframes fog-glow { 50% { box-shadow: 0 0 0 3px rgba(255, 240, 200, 0.7), 0 0 44px rgba(255, 240, 200, 0.55); } }
.mm-node.appear .orb { animation: pop-in 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.5) both, fog-glow 2.4s ease-in-out 0.6s infinite; }
.mm-node.appear:not(.fog) .orb { animation: pop-in 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.5) both; }
@keyframes pop-in { from { transform: scale(0.2); opacity: 0; } }
.mm-node.hint .orb { animation: hint 0.5s ease-in-out 4 alternate; }
/* 一閃一閃很耗電：拉遠時、一集一集的小「？」只靠地圖上的光暈呼吸就好 */
#nodes:is([data-lod="far"], [data-lod="galaxy"]) .mm-node.fog:not(.hint) .orb, .mm-node.d3.fog:not(.hint) .orb { animation: none; }
.mm-node.d3.fog.appear:not(.hint) .orb { animation: pop-in 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.5) both; }
#nodes[data-lod="far"] .mm-node.appear .orb, #nodes[data-lod="galaxy"] .mm-node.appear .orb { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .mm-node .orb, .mm-node.fog .orb, .mm-node.appear .orb { animation: none !important; transition: none; }
}
@keyframes hint { to { transform: scale(1.35); box-shadow: 0 0 0 5px #efcf8e, 0 0 60px rgba(246, 220, 156, 0.8); } }
/* 遠近：拉遠時只剩光點，拉近才看得到名字（galaxy：整張地圖，最遠） */
#nodes[data-lod="galaxy"] .d0 { --s: 60px; }
#nodes[data-lod="galaxy"] .d1 { --s: 26px; }
#nodes[data-lod="galaxy"] .d2 { --s: 9px; }
#nodes[data-lod="galaxy"] :is(.d1, .d2) :is(.nm, .q, .mk), #nodes[data-lod="galaxy"] .d2 .em, #nodes[data-lod="galaxy"] :is(.d1, .d2) .orb::after { display: none; }
#nodes[data-lod="galaxy"] .d0 .nm { display: none; }
#nodes[data-lod="far"] .d3 { --s: 8px; }
#nodes[data-lod="far"] .d2 { --s: 34px; }
#nodes[data-lod="far"] .d3 :is(.em, .nm, .q, .mk), #nodes[data-lod="far"] .d2 .nm { display: none; }
#nodes[data-lod="mid"] .d3 { --s: 28px; }
#nodes[data-lod="mid"] .d3 :is(.nm, .mk) { display: none; }
#nodes[data-lod="near"] .d3 .nm { display: none; }
.mm-node.d3 .nm { max-width: 100px; }

.minimap { position: fixed; right: 14px; top: calc(96px + env(safe-area-inset-top)); z-index: 5; width: 132px; height: 132px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--line), var(--shadow); cursor: pointer; }
.map-zoom { top: auto; bottom: calc(24px + env(safe-area-inset-bottom)); }
.map-page .guide { bottom: calc(24px + env(safe-area-inset-bottom)); }
body.map-page.has-player .guide, body.map-page.has-player .map-zoom { bottom: 120px; }
@media (max-width: 700px) {
  /* 手機：小地圖放進標題那一列的右邊，不擋地圖 */
  .minimap { width: 60px; height: 60px; top: calc(58px + env(safe-area-inset-top)); right: 12px; }
  .map-page .scene { padding-right: 68px; }
  .map-page .hud-zoom.map-zoom { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); right: 8px; }
  body:has(#guide:not([hidden])) .map-page .map-zoom, .map-page:has(#guide:not([hidden])) .map-zoom { visibility: hidden; }
  .mm-node.d0 { --s: 88px; --f: 16px; }
  .mm-node.d1 { --s: 66px; --f: 15px; }
  .mm-node.d2 { --s: 48px; --f: 13px; }
}
/* 很窄的手機（320 寬）：節點小一號，第一圈的「？」才不會擠在一起 */
@media (max-width: 360px) {
  .mm-node.d0 { --s: 72px; --f: 14px; }
  .mm-node.d1 { --s: 52px; --f: 13px; }
  .mm-node.d2 { --s: 42px; --f: 12px; }
  .mm-node.d3 { --s: 36px; }
}
/* 很矮的畫面（手機橫拿）：標題、小地圖、縮放鍵、對話框都縮小，留空間給地圖 */
@media (max-height: 520px) {
  .map-page .hud-top { padding-top: calc(6px + env(safe-area-inset-top)); padding-bottom: 4px; }
  .map-page .brand img { width: 96px; }
  .map-page .scene h1 { font-size: 17px; }
  .map-page .scene p { font-size: 12px; margin: 0 0 3px; }
  .map-page .round { width: 38px; height: 38px; font-size: 15px; }
  .map-page .logbook { min-height: 38px; }
  .minimap { width: 76px; height: 76px; top: calc(60px + env(safe-area-inset-top)); right: 8px; }
  .map-page .hud-zoom.map-zoom { bottom: calc(8px + env(safe-area-inset-bottom)); right: 8px; gap: 6px; }
  .map-page .guide { left: 8px; bottom: calc(6px + env(safe-area-inset-bottom)); width: min(360px, 46vw); grid-template-columns: 40px 1fr auto; gap: 8px; padding: 6px 8px 14px; border-radius: 16px; }
  .map-page .guide-avatar { width: 40px; height: 40px; }
  .map-page .guide-name { font-size: 12px; }
  .map-page .guide-text { font-size: 14px; line-height: 1.4; min-height: 0; }
  .map-page .guide-action { min-height: 34px; padding: 0 10px; font-size: 13px; }
  .map-page .guide-tools button { width: 30px; height: 30px; }
  .mm-node.d0 { --s: 64px; --f: 13px; }
  .mm-node.d1 { --s: 46px; --f: 13px; }
  .mm-node.d2 { --s: 40px; --f: 12px; }
  .mm-node.d3 { --s: 36px; }
}

/* ---------- 宇宙群島（islands.html）：明亮的白天太空 ---------- */
.isle-page {
  --bg: #fffaf2; --panel: rgba(255, 255, 255, 0.9); --panel-solid: #ffffff; --panel-2: #f4f1ff; --line: #dcd6f4;
  --text: #2c2f4a; --muted: #6a6e8e; --orange: #e8783c; --gold: #c08a22; --teal: #23917f; --dark-star: #8a8cb0;
  --shadow: 0 8px 24px rgba(80, 70, 140, 0.18);
  color-scheme: light; background: #bfe2ff;
}
.isle-page .hud-top { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)); }
.isle-page .scene h1 { color: #3a3f8a; text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9); }
.isle-page .scene p { color: #4a4f7a; font-weight: 600; }
.isle-page .btn { color: #fff; }
.isle-page .btn.alt { color: var(--teal); }
.isle-page dialog::backdrop { background: rgba(70, 60, 130, 0.3); }
.isle-page .guide { background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 30px rgba(80, 70, 140, 0.25); }
/* 隊長泡泡永遠在下面大按鈕的上方、上面標題的下方；放不下就在泡泡裡面捲動。
   --bar-h、--player-h、--top-h 由 islands.js 量好（按鈕、播放器、上方標題實際的高度） */
body.isle-page { --below: calc(16px + var(--bar-h, 64px) + 10px + env(safe-area-inset-bottom)); }
body.isle-page.has-player { --below: calc(var(--player-h, 106px) + 10px + var(--bar-h, 64px) + 10px); }
body.isle-page .guide { bottom: var(--below); max-height: calc(100dvh - var(--below) - var(--top-h, 80px) - 8px); overflow-y: auto; overscroll-behavior: contain; }
.isle-page .guide-text { color: var(--text); }
.isle-page .toast { background: rgba(255, 255, 255, 0.97); color: var(--orange); border-color: #ffc98a; }
.isle-page .takeaways li.on { background: #fff1dc; }
.isle-page .loading { background: linear-gradient(#9fd4ff, #ffe0ef); color: var(--text); }
.isle-page .sheet .hero { filter: drop-shadow(0 4px 8px rgba(80, 70, 140, 0.25)); }

/* 下面：一顆主要的「🚀 去別的島」，旁邊一顆小的「🗺️ 全部的島」（在全景時變「🏝️ 回到島上」）。
   「居民」是這座島的事，放在上面島名下面 */
/* 寬度跟著按鈕（不被 left: 50% 擠成一半寬） */
.isle-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; width: max-content; max-width: calc(100vw - 16px); }
body.isle-page.has-player .isle-bar { bottom: calc(var(--player-h, 106px) + 10px); }
/* 手機或矮螢幕：播放器只留一行標題，讓出空間給島 */
@media (max-width: 640px), (max-height: 600px) {
  .isle-page .player { padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); gap: 4px; }
  .isle-page .player .now strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .isle-page .player #now-takeaway { display: none; }
  .isle-page .player audio { height: 40px; }
}
.isle-btn { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 28px 8px 20px; border-radius: 999px; border: 3px solid #ffd2c4;
  background: linear-gradient(#ff8a6b, #ff6a5c); color: #fff; box-shadow: 0 6px 18px rgba(200, 80, 60, 0.3); }
.isle-btn .ico { font-size: 30px; line-height: 1; }
.isle-btn .txt { font-size: 20px; font-weight: 900; white-space: nowrap; letter-spacing: 0.04em; }
.isle-map { display: grid; place-items: center; align-content: center; gap: 1px; width: 64px; height: 64px; padding: 0; border-radius: 22px; border: 3px solid #fff;
  background: rgba(255, 255, 255, 0.92); color: var(--text); box-shadow: 0 6px 18px rgba(80, 70, 140, 0.22); }
.isle-map .ico { font-size: 24px; line-height: 1; }
.isle-map .txt { font-size: 11px; font-weight: 800; white-space: nowrap; }
:is(.isle-btn, .isle-map):active { transform: scale(0.96); }
.isle-map:hover { background: #fff; }
/* 島名下面：這座島的居民（一整塊都可以按） */
.isle-people { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: 100%; margin-top: 4px; padding: 4px 10px 4px 6px; border-radius: 16px;
  border: 2px solid #fff; background: rgba(255, 255, 255, 0.82); color: #3a3f8a; text-align: left; box-shadow: 0 3px 10px rgba(80, 70, 140, 0.16); }
.isle-people:hover { background: #fff; }
.isle-people .who { font-size: 14px; font-weight: 900; white-space: nowrap; padding: 1px 4px; }
.isle-people .more { font-size: 16px; color: var(--orange); }
.isle-people .legend-row { display: contents; }

/* 島名標籤（跟著島在畫面上移動） */
#isle-labels { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.isle-label { position: absolute; left: 0; top: 0; translate: -50% -100%; display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px;
  border: 2px solid #fff; background: rgba(255, 255, 255, 0.9); color: var(--text); font-weight: 800; font-size: 15px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(80, 70, 140, 0.25); pointer-events: auto; will-change: transform; }
.isle-label .em { font-size: 20px; line-height: 1; }
.isle-label .ct { min-width: 22px; padding: 0 6px; border-radius: 999px; background: #ffe2c8; color: #a8551c; font-size: 12px; text-align: center; }
.isle-label.far { padding: 3px 9px 3px 6px; font-size: 13px; opacity: 0.88; }
.isle-label.far .ct { display: none; }
.isle-label:hover { background: #fff; }
/* 全景：群島的名字（動物群島、科學群島…），淡淡的、不能按 */
.group-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; pointer-events: none;
  background: rgba(58, 63, 138, 0.55); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: 0.08em; white-space: nowrap; will-change: transform;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.group-label .em { font-size: 18px; }
@media (max-width: 640px) { .group-label { font-size: 13px; padding: 3px 10px; } .group-label .em { font-size: 15px; } }
.isle-label.mini { padding: 4px; gap: 0; }
.isle-label.mini :is(.nm, .ct) { display: none; }
.isle-tip { position: fixed; left: 0; top: 0; z-index: 4; max-width: 280px; padding: 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); color: var(--text);
  font-weight: 700; font-size: 14px; box-shadow: 0 4px 14px rgba(80, 70, 140, 0.25); pointer-events: none; }

/* 火箭站：一格一格的島 */
.isle-group { margin: 16px 0 0; font-size: 15px; color: #3a3f8a; }
.isle-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.isle-pick { position: relative; display: grid; justify-items: center; gap: 2px; width: 100%; min-height: 104px; padding: 10px 6px; border-radius: 18px;
  border: 2px solid var(--line); background: linear-gradient(#ffffff, #f4f1ff); color: var(--text); text-align: center; }
.isle-pick .em { font-size: 34px; line-height: 1.1; }
.isle-pick .nm { font-weight: 800; font-size: 15px; }
.isle-pick .ct { font-size: 12px; color: var(--muted); }
.isle-pick .you { position: absolute; top: -8px; right: -4px; padding: 0 8px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; }
.isle-pick .been { position: absolute; top: 6px; right: 8px; color: var(--teal); font-weight: 900; }
.isle-pick.here { border-color: var(--orange); background: linear-gradient(#fff6ee, #ffe8d6); }
.isle-pick:hover { border-color: #b8a8ff; }

@media (max-width: 640px) {
  .isle-bar { gap: 8px; }
  .isle-btn { min-height: 56px; padding: 6px 22px 6px 16px; }
  .isle-btn .ico { font-size: 26px; }
  .isle-btn .txt { font-size: 18px; }
  .isle-map { width: 56px; height: 56px; border-radius: 20px; }
  .isle-people .who { font-size: 13px; }
  .isle-grid { grid-template-columns: repeat(2, 1fr); }
  .isle-label { font-size: 13px; padding: 4px 9px 4px 6px; }
  .isle-label .em { font-size: 17px; }
}
@media (max-height: 520px) {
  .isle-btn { min-height: 48px; padding: 4px 20px 4px 14px; }
  .isle-btn .ico { font-size: 22px; }
  .isle-map { width: 48px; height: 48px; }
  .isle-map .txt { display: none; }
  .isle-page .guide { width: min(380px, 50vw); }
}

/* 能不能聽：綠色 ▶ 可以聽、金色 👑 VIP、灰色 💤 準備中（跟島上居民頭上的徽章、腳下的光圈同一套顏色） */
.isle-page #isle-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.lg { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; border: 2px solid #fff; }
.lg.can { background: #d9f7e4; color: #1a7f48; }
.lg.vip { background: #fff1c8; color: #9a6a0c; }
.lg.soon { background: #ebeaf4; color: #6a6e8e; }
.lg-seen { font-size: 12px; color: #4a4f7a; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.isle-tip small.st { display: block; margin-top: 2px; font-size: 12px; font-weight: 800; }
.isle-tip small.public { color: #1f8f52; }
.isle-tip small.subscriber { color: #9a6a0c; }
.isle-tip small.unreleased { color: #6a6e8e; }
@media (max-width: 640px) { .lg { font-size: 12px; padding: 0 7px; } .isle-people { gap: 3px 4px; padding: 3px 8px 3px 4px; } }

/* 文字版（給搜尋引擎和螢幕閱讀器）：畫面上收起來，內容和島上的一致 */
.text-version { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
