.story-map-viewer{--map-bg:var(--color-surface);--map-ink:var(--color-ink);--map-muted:var(--color-ink-3);--map-line:var(--color-line);padding:20px;overflow:hidden}.dark .story-map-viewer{--map-bg:var(--color-dark-surface);--map-ink:var(--color-dark-ink);--map-muted:var(--color-dark-ink-3);--map-line:var(--color-dark-line)}.story-map-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.story-map-hint,.story-map-footnote{color:var(--map-muted);margin-top:5px;font-size:12px}.story-map-modes{border:1px solid var(--map-line);border-radius:9px;gap:3px;padding:3px;display:flex}.story-map-modes button{cursor:pointer;border-radius:6px;padding:7px 12px;font-size:13px}.story-map-modes button[aria-pressed=true]{background:var(--color-accent);color:#fff}.story-map-toolbar{flex-wrap:wrap;align-items:center;gap:12px;padding-block:14px;display:flex}.story-map-toolbar select{max-width:220px;padding:5px 8px;font-size:12px}.story-map-camera{align-items:center;gap:4px;margin-left:auto;font-size:12px;display:flex}.story-map-camera button,.story-map-export summary{border:1px solid var(--map-line);cursor:pointer;border-radius:6px;padding:5px 8px}.story-map-camera output{text-align:center;min-width:41px;color:var(--map-muted);font-variant-numeric:tabular-nums}.story-map-export{font-size:12px;position:relative}.story-map-export>div{z-index:10;background:var(--map-bg);border:1px solid var(--map-line);border-radius:8px;width:120px;padding:5px;position:absolute;top:33px;right:0;box-shadow:0 8px 24px #0001}.story-map-export button{text-align:left;cursor:pointer;width:100%;padding:8px;display:block}.story-map-key{color:var(--map-muted);flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:12px;font-size:11px;display:flex}.story-map-key>span{align-items:center;gap:5px;display:inline-flex}.story-map-key i{background:#64748b;border-radius:50%;width:7px;height:7px}.story-map-key i[data-kind=chapter]{background:#3b82f6}.story-map-key i[data-kind=choice]{background:#8b5cf6}.story-map-key i[data-kind=ending]{background:#e45d62}.story-map-key .story-map-count{margin-left:auto}.story-map-viewport{border:1px solid var(--map-line);background:radial-gradient(var(--map-line) .8px, transparent .8px) 0 0 / 18px 18px;overscroll-behavior:contain;border-radius:10px;min-height:420px;max-height:72vh;overflow:auto}.story-map-size{position:relative}.story-map-tree{transform-origin:0 0;padding:28px 24px;position:absolute;inset:0 auto auto 0}.story-map-lines{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:visible}.story-map-content{z-index:1;position:relative}.story-map-branch{align-items:center;gap:36px;min-width:0;display:flex}.story-map-children{flex:1;gap:20px;min-width:0;display:grid}.story-map-root>.story-map-node{flex:0 0 180px}.story-map-route>.story-map-node{flex:0 0 156px}.story-map-node{background:var(--map-bg);border:1px solid var(--map-line);border-left:3px solid var(--node-color);min-width:0;color:var(--map-ink);border-radius:9px;position:relative;box-shadow:0 2px 5px #00000004}.story-map-node-body{text-align:left;flex-direction:column;gap:3px;width:100%;min-width:0;padding:11px 15px;text-decoration:none;display:flex}.story-map-node a:hover,.story-map-node button:hover{background:color-mix(in srgb, var(--node-color) 4%, transparent)}.story-map-node button{cursor:pointer;padding-right:45px}.story-map-node-kind{color:var(--node-color);letter-spacing:.03em;font-size:10px}.story-map-node-title{overflow-wrap:anywhere;white-space:normal;font-size:14px;font-weight:500;line-height:1.55}.story-map-node-sub{color:var(--map-muted);overflow-wrap:anywhere;font-size:11px;line-height:1.5}.story-map-node-toggle{color:var(--node-color);font-size:18px;line-height:1;position:absolute;top:18px;right:15px}.story-map-node-details{text-align:center;width:23px;color:var(--map-muted);border-radius:4px;font-size:15px;position:absolute;bottom:9px;right:11px}.story-map-node:focus-within{outline:2px solid var(--node-color);outline-offset:3px}.story-map-node button:focus-visible,.story-map-node a:focus-visible{outline:none}.story-map-chapter-items{gap:12px;margin:14px 0 6px 21px;display:grid}.story-map-choice-group{gap:20px;display:grid}.story-map-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-inline:4px;display:grid}.story-map-choice-note,.story-map-empty{color:var(--map-muted);padding:7px 8px;font-size:12px;line-height:1.8}.story-map-choice-group>.story-map-node[data-parents]{margin-inline:18px}.story-map-footnote{margin-top:11px}.story-map-mobile{padding:20px 14px}.story-map-mobile .story-map-branch{flex-direction:column;align-items:stretch;gap:18px}.story-map-mobile .story-map-root>.story-map-node,.story-map-mobile .story-map-route>.story-map-node{flex-basis:auto}.story-map-mobile .story-map-children{gap:18px;padding-left:14px}.story-map-mobile .story-map-chapter-items{margin-left:14px}.story-map-mobile .story-map-node-title{font-size:13px}.story-map-mobile .story-map-options{gap:10px;padding-inline:0}.story-map-mobile .story-map-options .story-map-node-body{padding-inline:9px}.story-map-viewer:fullscreen{background:var(--map-bg);padding:24px;overflow:auto}.story-map-viewer:fullscreen .story-map-viewport{max-height:calc(100vh - 210px)}@media (width<=640px){.story-map-viewer{padding:13px}.story-map-header{gap:12px}.story-map-modes{width:100%}.story-map-modes button{flex:1;padding-inline:7px;font-size:12px}.story-map-toolbar{gap:10px}.story-map-camera{flex-wrap:wrap;margin-left:0}.story-map-key{gap:10px}.story-map-key .story-map-count{margin-left:0}.story-map-viewport{max-height:65vh}}.node-dot[data-astro-cid-cbflwmey]{border-radius:50%;width:10px;height:10px;display:inline-block}.node-start[data-astro-cid-cbflwmey]{background:#10b981}.node-route[data-astro-cid-cbflwmey]{background:#f59e0b}.node-chapter[data-astro-cid-cbflwmey]{background:#3b82f6}.node-choice[data-astro-cid-cbflwmey]{background:#8b5cf6}.node-event[data-astro-cid-cbflwmey]{background:#64748b}.node-ending[data-astro-cid-cbflwmey]{background:#ef4444}.node-character[data-astro-cid-cbflwmey]{background:#f59e0b}.node-foreshadowing[data-astro-cid-cbflwmey]{background:#8b5cf6}.node-reveal[data-astro-cid-cbflwmey]{background:#ec4899}.node-location[data-astro-cid-cbflwmey]{background:#14b8a6}.edge-line[data-astro-cid-cbflwmey]{background:#94a3b8;width:16px;height:2px;display:inline-block}.edge-entry[data-astro-cid-cbflwmey]{background:#f59e0b}.edge-contains[data-astro-cid-cbflwmey]{background:#3b82f6}.edge-branch[data-astro-cid-cbflwmey]{background:#8b5cf6}.edge-leads[data-astro-cid-cbflwmey]{background:#64748b}.edge-to_ending[data-astro-cid-cbflwmey]{background:#ef4444}.edge-unlocks[data-astro-cid-cbflwmey]{background:#10b981}.edge-planted[data-astro-cid-cbflwmey]{background:#8b5cf6}.edge-payoff[data-astro-cid-cbflwmey]{background:#ec4899}.edge-contradicts[data-astro-cid-cbflwmey]{background:#ef4444}.edge-supersedes[data-astro-cid-cbflwmey]{background:#10b981}.edge-related[data-astro-cid-cbflwmey]{background:#94a3b8}.graph-node[data-astro-cid-cbflwmey]:hover rect[data-astro-cid-cbflwmey]{stroke-width:2.5px}.graph-edge-label[data-astro-cid-cbflwmey]{paint-order:stroke;stroke:var(--color-bg,#fff);stroke-width:3px}
