/* ================= 未来地图 ================= */
#ch-future { padding: calc(var(--vh) * 12) 0 calc(var(--vh) * 14); }
.fu-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.fu-map { position: relative; width: 100%; height: min(calc(var(--vh) * 52), 470px); overflow: hidden; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--ink), 0 18px 40px rgba(8, 6, 40, .45); background: #1f2a9c; touch-action: pan-y; cursor: grab; }
.fu-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fu-world img { width: 100%; height: 100%; }
.fu-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fl-home { fill: none; stroke: #ffd36b; stroke-width: 11; stroke-linecap: round; opacity: .9; }
.fl-wish { fill: none; stroke: #ff6fa3; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 26 20; filter: drop-shadow(0 0 6px rgba(255, 140, 190, .7)); }
.fu-pins { position: absolute; inset: 0; }
.fu-pin { position: absolute; width: 0; height: 0; }
.fu-pin > * { position: absolute; }
.fu-pin.home .fp-av, .fu-pin.home span, .fu-pin.wish > *, .fu-pin.his > * { transform-origin: 50% 100%; }
.fu-pin .fp-av { left: 0; bottom: 0; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2.5px var(--ink); overflow: hidden; transform: translate(-50%, -6px) scale(var(--iz, 4)); }
.fu-pin .fp-av img { width: 100%; height: 100%; object-fit: cover; }
.fu-pin.home span { left: 0; top: 0; transform: translate(-50%, 0) scale(var(--iz, 4)); transform-origin: 50% 0; white-space: nowrap; font-size: 12px; color: var(--ink); background: var(--gold3); border: 2px solid var(--ink); border-radius: 99px; padding: 0 8px; }
.fu-pin.wish img, .fu-pin.his img { left: 0; bottom: 0; width: 44px; height: 44px; transform: translate(-50%, 4px) scale(var(--iz, 4)); }
.fu-pin.his img { filter: hue-rotate(185deg) saturate(1.2); }
.fu-pin.wish span, .fu-pin.his span { left: 0; top: 0; transform: translate(-50%, 6px) scale(var(--iz, 4)); transform-origin: 50% 0; white-space: nowrap; font-size: 12px; color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 99px; padding: 0 8px; box-shadow: 0 2px 0 rgba(42, 26, 18, .3); }
.fu-pin.his span { background: #d6e8ff; }
.fu-pin.wish .flower { opacity: 0; }
.fu-pin.wish.bloom .flower { opacity: 1; animation: bloom .6s var(--ease-pop); }
.fu-pin.wish.bloom .sprout { opacity: 0; transition: opacity .2s; }
.fu-pin.wish.grow .sprout { animation: sprout .6s var(--ease-pop); }
@keyframes sprout { 0% { transform: translate(-50%, 4px) scale(0); } 100% { transform: translate(-50%, 4px) scale(var(--iz, 4)); } }
@keyframes bloom { 0% { transform: translate(-50%, 4px) scale(calc(var(--iz, 4) * .3)) rotate(-30deg); } 100% { transform: translate(-50%, 4px) scale(var(--iz, 4)); } }
.fu-drag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 12.5px; color: var(--ink); background: rgba(255, 246, 232, .92); border: 2px solid var(--ink); border-radius: 99px; padding: 1px 12px; pointer-events: none; transition: opacity .5s; }
.fu-drag.gone { opacity: 0; }
.fu-hint { font-size: 14px; color: var(--txt2); text-align: center; }
.fu-chips { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fu-chip { font-size: 14px; padding: 4px 13px; color: var(--ink); background: var(--cream); border: 2.5px solid var(--ink); border-radius: 99px; box-shadow: 0 3px 0 var(--ink); transition: transform .12s, background .2s; }
.fu-chip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.fu-chip.on { background: var(--pink); }
.fu-chip.on::before { content: '✿ '; }
.fu-list { width: 100%; padding: 16px 18px; }
.fu-list h4 { font-size: 18px; }
.fu-list h4 b { color: var(--rose); font-size: 22px; }
.fu-list ul { list-style: none; margin: 10px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fu-list li { display: flex; align-items: center; gap: 4px; font-family: var(--f-cute); font-size: 14px; background: var(--pink3); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 4px 2px 12px; }
.fu-list li.empty { background: none; border: 0; color: var(--ink2); font-family: var(--f-hand); padding: 0; }
.fu-list li button { width: 22px; height: 22px; border-radius: 50%; font-family: var(--f-num); font-size: 16px; line-height: 1; color: var(--ink2); }
.fu-actions { display: flex; justify-content: center; }
.fu-list { position: relative; }
.fu-chip.nudge { animation: nudge .5s var(--ease-pop); }
@keyframes nudge { 40% { translate: 0 -6px; } }
/* the stamp on the wish list */
.fu-stamp { position: absolute; right: 14px; top: 10px; width: 86px; height: 86px; border-radius: 50%; border: 3px solid #e2456f; color: #e2456f; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; transform: rotate(-14deg) scale(.4); opacity: 0; pointer-events: none; box-shadow: inset 0 0 0 3px rgba(226, 69, 111, .25); background: rgba(255, 240, 245, .5); }
.fu-stamp::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px dashed rgba(226, 69, 111, .6); }
.fu-stamp b { font-weight: normal; font-size: 18px; letter-spacing: .1em; }
.fu-stamp span { font-size: 12px; }
.fu-stamp.on { opacity: .92; transform: rotate(-14deg); }
.fu-stamp.pop.on { animation: stamp .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes stamp { 0% { transform: rotate(-14deg) scale(2.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-14deg) scale(1); } }
/* sky lanterns rising out of the flowers */
.fu-lantern { position: fixed; z-index: 95; width: 22px; height: 28px; margin-left: -11px; pointer-events: none; border-radius: 45% 45% 28% 28% / 55% 55% 30% 30%;
  background: radial-gradient(ellipse at 50% 70%, #fff6c2 0 18%, #ffc35a 45%, #ff8a3d 100%); box-shadow: 0 0 14px 5px rgba(255, 176, 80, .55), 0 0 40px 12px rgba(255, 150, 60, .25);
  animation: lantern var(--dur, 5s) cubic-bezier(.35, .1, .6, 1) forwards; }
.fu-lantern b { position: absolute; left: 50%; bottom: -4px; width: 6px; height: 7px; margin-left: -3px; border-radius: 50% 50% 40% 40%; background: #fff3b0; box-shadow: 0 0 8px 3px rgba(255, 220, 120, .9); }
@keyframes lantern { 0% { transform: translate(0, 0) scale(.3); opacity: 0; } 12% { opacity: 1; transform: translate(calc(var(--sw) * .3), -30px) scale(1); } 60% { transform: translate(var(--sw), -36vh) scale(.8) rotate(4deg); opacity: 1; } 100% { transform: translate(calc(var(--sw) * -.5), -72vh) scale(.42) rotate(-3deg); opacity: 0; } }
.fu-pre { white-space: pre-wrap; font-family: var(--f-hand); font-size: 16px; background: #fffdf8; border: 2px dashed var(--ink2); border-radius: 12px; padding: 12px; user-select: text; -webkit-user-select: text; }
