/* Content-only refinements: chapter shell and scroll geometry remain untouched. */
.chapter-one .chapter-footnote,.task-copy .chapter-footnote,.belonging-copy .chapter-footnote{margin-top:auto;padding-top:30px;line-height:1.65}
.city-scene:after,.task-scene:after,.memories-scene:after{display:none}
.city-scene>img,.task-scene>img{filter:none;object-position:center}
.city-node{position:absolute;left:var(--x);top:var(--y);width:36px;height:36px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;padding:0;z-index:2}
.city-node>span{width:17px;height:17px;background:#d8cff2;border:5px solid #d8cff2;box-shadow:0 2px 10px #10182038;border-radius:50%;transition:scale .2s,filter .2s}
.city-node>span:after{content:'';display:block;width:100%;height:100%;border-radius:50%;background:#323438}
.city-node:nth-of-type(2)>span{background:#e4dbb8;border-color:#e4dbb8}.city-node:nth-of-type(3)>span{background:#dec4bd;border-color:#dec4bd}.city-node:nth-of-type(4)>span{background:#cee0c4;border-color:#cee0c4}.city-node:nth-of-type(5)>span{background:#f2f2f7;border-color:#f2f2f7}
.city-node:hover>span,.city-node:focus-visible>span,.city-node[aria-expanded=true]>span{scale:1.2;filter:brightness(1.12)}
.city-detail{position:absolute;width:245px;max-width:calc(100% - 24px);padding:20px 26px 19px 20px;background:#f2f2f7f2;border:1px solid #ffffffb3;color:#202325;box-shadow:0 10px 30px #17242226;border-radius:14px;z-index:5;backdrop-filter:blur(12px);animation:detail-appear .2s ease both}
.city-detail[hidden]{display:none}.city-detail strong{font-size:17px;font-weight:500;display:block;line-height:1.2}.city-detail p{font-size:12px;color:#626872;margin-top:9px}.city-detail small{font-size:12px;color:#626872;display:block;margin-top:5px}.city-close{position:absolute;right:5px;top:3px;font-size:18px;color:#676b73;padding:4px}
@keyframes detail-appear{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
.task-copy{justify-content:flex-start}.task-scene .rewarded-task{position:absolute;left:6%;top:50%;transform:translateY(-50%);width:min(340px,75%);margin:0;padding:23px;background:#f2f2f7f2;border:1px solid #ffffffa6;border-radius:17px;color:#1c2321;box-shadow:0 12px 40px #0002;backdrop-filter:blur(10px);z-index:2}
.task-scene .task-topline{padding:0;border:0;font-size:10px;letter-spacing:1px}.task-scene .task-state{color:#5744b4}.task-scene .task-reward{color:#504268;letter-spacing:0;font-size:12px}.task-scene .rewarded-task h3{font-size:23px;letter-spacing:-.6px;margin-top:20px}.task-person{font-size:12px;color:#68706d;margin-top:12px}.task-scene .task-meta{font-size:12px;color:#343b37;line-height:1.6;margin-top:7px}.task-scene .task-meta span{margin:0 3px}.task-steps{list-style:none;display:flex;padding:15px 0 0;margin:17px 0 0;border-top:1px solid #20202017;justify-content:space-between;font-size:10px;color:#858c88}.task-steps li{display:flex;align-items:center;gap:5px}.task-steps li:before{content:'';width:5px;height:5px;background:#d1d5d3;border-radius:50%}.task-steps li.is-current{color:#5744b4}.task-steps li.is-current:before{background:#7a63f3}.task-steps li.is-complete{color:#527565}.task-steps li.is-complete:before{background:#8ab8a0}
.task-scene .task-bottom{margin-top:19px}.task-scene .task-action{width:100%;min-width:0;background:#17211e;color:#fff;justify-content:center;border-radius:30px;font-size:13px;padding:14px 12px}.task-scene .task-action:hover{background:#303d36}.task-scene .task-action:disabled{background:#c4ddce;color:#21382b}.task-scene .task-progress{background:#dce1dc;margin-top:15px}.task-scene .task-progress span{background:#8e79dc}.task-scene .task-status-note{font-size:10px;color:#647069;min-height:25px;margin-top:10px}
.memories-scene{background:transparent;overflow:hidden;isolation:isolate;min-width:0}.memory-photo{position:absolute;padding:0;border-radius:7px;overflow:hidden;transition:transform .45s ease,filter .45s ease;box-shadow:0 8px 25px #0003;transform:rotate(var(--turn,0deg));background:#dfded8}.memory-photo img{filter:none;object-fit:cover;width:100%;height:100%}.memory-main{left:3%;top:11%;width:73%;height:78%;--turn:-3deg}.memory-tennis{left:70%;top:3%;width:27%;height:44%;border:5px solid #dcdad3;border-bottom-width:17px;--turn:5deg;z-index:2}.memory-bookstore{left:68%;top:52%;width:29%;height:44%;border:5px solid #dcdad3;border-bottom-width:17px;--turn:-5deg;z-index:3}.memories-scene:has(.memory-photo:hover) .memory-photo:not(:hover){filter:brightness(.9);transform:rotate(var(--turn)) scale(.985)}.memory-photo:hover,.memory-photo:focus-visible{transform:translateY(-5px) rotate(var(--turn)) scale(1.02);z-index:4}.memory-invite{position:absolute;z-index:5;background:#f2f2f7e8;color:#202525;padding:13px 17px;border:1px solid #fff9;border-radius:15px;font-size:12px;line-height:1.3;box-shadow:0 5px 20px #0002;pointer-events:none;opacity:.83;transition:opacity .35s,translate .35s}.invite-movie{left:39%;top:15%}.invite-coffee{right:4%;bottom:10%}.memories-scene:hover .memory-invite,.memories-scene:focus-within .memory-invite{opacity:1;translate:0 -3px}
/* A quiet node cloud. All detail stays behind an explicit click. */
.universe-node .node-dot{width:10px;height:10px;background:#beb1eb}.universe-node.is-dot .node-dot{width:7px;height:7px;background:#b6adc7}.universe-node .node-message{font-size:15px;transition:opacity .25s,color .25s}.universe-you{position:absolute;left:60%;top:49%;display:flex;align-items:center;gap:10px;color:#d5cbea;font-size:13px;pointer-events:none;z-index:85}.universe-you:before{content:'';height:15px;width:15px;border-radius:50%;background:#c5b7ed}.universe-detail-avatar{width:34px;height:34px;display:block;border-radius:50%;background:#c5b8dd;color:#302838;text-align:center;line-height:34px;font-size:13px;margin-bottom:12px}.universe-detail{animation:detail-appear .2s ease both}.universe-connections line{opacity:.12}
@media(max-width:1100px){.task-scene .rewarded-task{padding:18px;width:min(300px,84%)}.task-scene .rewarded-task h3{font-size:20px}.memory-invite{font-size:10px;padding:10px 12px}}
@media(max-width:700px){.chapter-two .chapter-body{grid-template-rows:auto minmax(0,1fr);gap:15px}.chapter-two .chapter-visual{display:block}.chapter-two .task-copy{padding:5px 8px 0}.chapter-two .task-copy h2{font-size:35px;margin:8px 0}.task-scene .rewarded-task{left:5%;padding:14px;width:83%;top:50%}.task-scene .rewarded-task h3{font-size:19px;margin-top:10px}.task-person{margin-top:7px}.task-scene .task-meta{font-size:11px;margin-top:5px}.task-steps{padding-top:10px;margin-top:10px}.task-scene .task-bottom{margin-top:12px}.task-scene .task-action{padding:11px}.task-scene .task-progress{margin-top:10px}.task-scene .task-status-note{margin-top:6px;font-size:9px;min-height:22px}.city-detail{padding:15px;width:210px}.city-detail strong{font-size:15px}.city-node>span{width:15px;height:15px;border-width:4px}.memories-scene{min-height:0}.memory-main{left:2%;width:78%;height:73%;top:12%}.memory-tennis{left:69%;width:29%;height:37%;border-width:3px;border-bottom-width:11px}.memory-bookstore{left:68%;top:55%;width:30%;height:39%;border-width:3px;border-bottom-width:11px}.invite-movie{left:22%;top:19%}.invite-coffee{right:4%;bottom:13%}.memory-invite{font-size:10px;padding:9px 11px}.universe-node .node-message{font-size:12px;max-width:135px}.universe-you{left:60%;top:48%}}
@media(max-height:720px) and (max-width:700px){.chapter-two .task-copy h2{font-size:28px}.chapter-two .task-copy .chapter-support{font-size:12px}.task-scene .rewarded-task{padding:11px}.task-scene .task-status-note{display:none}.task-scene .task-topline{font-size:8px}.task-scene .rewarded-task h3{font-size:16px}.task-scene .task-action{padding:8px}.task-steps{padding-top:7px;margin-top:7px}.task-scene .task-bottom{margin-top:8px}.chapter-two .chapter-body{gap:10px}}
@media(prefers-reduced-motion:reduce){.memory-photo,.memory-invite{transition:none}.city-detail,.universe-detail{animation:none}}
.universe-node:not(.is-dot){width:30px;height:30px;padding:10px;max-width:none}.universe-node .node-message{position:absolute;left:28px;top:50%;transform:translateY(-50%);width:max-content;pointer-events:none}.universe-node.label-left .node-message{left:auto;right:28px;text-align:right}
@media(max-width:700px){.task-scene>img{object-position:75% center}}
