/* 81-chapter map: a long scroll of nine paper islands with a winding path, and the full-text reader. */
#chapList{justify-content:flex-start;gap:0;padding:6px 2px 16px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);cursor:grab}
#chapList.dragging{cursor:grabbing}
#chapList > .btn{flex:0 0 auto}
.isle{position:relative;flex:0 0 auto;margin:0 4px;border-radius:42% 58% 46% 54%/5% 6% 5% 6%;
  --tint:143,179,138;
  background:
    radial-gradient(ellipse 60% 22% at 30% 12%,rgba(var(--tint),.22),transparent 70%),
    radial-gradient(ellipse 55% 30% at 75% 55%,rgba(var(--tint),.18),transparent 70%),
    radial-gradient(ellipse 70% 25% at 35% 88%,rgba(var(--tint),.2),transparent 70%),
    radial-gradient(ellipse at 50% 50%,rgba(251,248,240,.75),rgba(239,231,214,.55));
  box-shadow:inset 0 0 36px rgba(var(--tint),.35),0 6px 16px rgba(60,55,45,.12)}
.isleHead{position:absolute;top:10px;left:0;right:0;display:flex;flex-direction:column;align-items:center;pointer-events:none}
.isleHead b{font-size:19px;font-weight:900;letter-spacing:.12em;padding:2px 16px;border-radius:14px 18px 12px 20px;background:rgba(246,241,230,.85);box-shadow:inset 0 -3px 0 rgba(var(--tint),.55)}
.isleHead small{font-size:12px;opacity:.6;margin-top:2px;font-weight:700}
.isle svg.path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.isle svg.path path{fill:none;stroke:rgba(46,45,56,.32);stroke-width:3;stroke-dasharray:2 9;stroke-linecap:round;vector-effect:non-scaling-stroke}
.isle .node{position:absolute;width:76%;min-height:68px;align-self:auto;animation-delay:calc(var(--i)*35ms)}
.isle .node.L{left:calc(18% - 34px);flex-direction:row;text-align:left}
.isle .node.R{right:calc(18% - 34px);flex-direction:row-reverse;text-align:right}
.isle .node.L .seal{left:44px;right:auto}
.isle .node.R .seal{right:44px;left:auto}
.isle .node .nt b{font-size:18px}
/* chapters not made yet: pale, dashed and locked */
.node.soon .ring{background:rgba(255,253,246,.45);box-shadow:none;border:3px dashed rgba(46,45,56,.28);color:rgba(46,45,56,.38);font-size:20px;position:relative}
.node.soon .nt{opacity:.42}
.lk{position:absolute;right:-4px;bottom:-2px;width:16px;height:13px;border-radius:3px;background:rgba(46,45,56,.45)}
.lk::before{content:"";position:absolute;left:3px;top:-8px;width:6px;height:7px;border:2.5px solid rgba(46,45,56,.45);border-bottom:0;border-radius:6px 6px 0 0}
.strait{flex:0 0 auto;height:44px;margin:0 10%;opacity:.55}
.strait svg{width:100%;height:100%}
.strait path{fill:none;stroke:#7f96b8;stroke-width:2.2;stroke-linecap:round;vector-effect:non-scaling-stroke}

/* full-text reader */
#cardPanel.ft #cardSage{display:none}
.ftPage{display:flex;flex-direction:column;gap:18px;padding:10px 2px 4px;min-height:280px}
.ftOrig{font-size:24px;font-weight:900;line-height:1.65;letter-spacing:.06em}
.ftGloss{margin-top:4px;padding-left:10px;border-left:3px solid var(--jade);font-size:15px;line-height:1.6;color:#55536a}
.ftNum{text-align:center;font-size:14px;font-weight:700;opacity:.6;letter-spacing:.1em}
#cardBtns .btn:disabled{opacity:.35;pointer-events:none}
