:root{--ink:#1e4338;--muted:#697264;--green:#2d5b49}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:transparent}body{color:var(--ink);font:16px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}h1,h2,h3,p{margin:0}svg{display:block;max-width:100%}
.island-figure{position:relative;margin:0 -11% 0 -9%;min-width:0;text-align:center}
.island-stage{position:relative;isolation:isolate;width:100%;height:clamp(390px,43vw,610px);overflow:visible;cursor:grab;touch-action:pan-y;outline-offset:-10px}
.island-stage:active{cursor:grabbing}
/* Expand the clouds beyond the island while keeping the outer page edge clear. */
.island-stage:before{content:"";position:absolute;inset:-12% -10% -12% -18%;background:url("./island-cloud-background.webp") center/100% 100% no-repeat;z-index:-1;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse at 50% 50%,#000 58%,transparent 78%);mask-image:radial-gradient(ellipse at 50% 50%,#000 58%,transparent 78%)}
.island-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;transition:opacity .65s;touch-action:pan-y}
.island-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.55;transition:opacity .45s;pointer-events:none}
.island-fallback svg{width:90%;height:90%}
.island-loading{position:absolute;left:0;right:0;bottom:8%;font-size:12px;letter-spacing:.08em;color:var(--muted);pointer-events:none}
.island-stage[data-scene-state="ready"] canvas,.island-figure[data-scene-state="ready"] canvas{opacity:1}
.island-stage[data-scene-state="ready"] .island-fallback,.island-figure[data-scene-state="ready"] .island-fallback{opacity:0;visibility:hidden}
.island-stage[data-scene-state="ready"] .island-loading,.island-stage[data-scene-state="fallback"] .island-loading,.island-figure[data-scene-state="ready"] .island-loading,.island-figure[data-scene-state="fallback"] .island-loading{display:none}
.island-stage[data-scene-state="fallback"]{cursor:default}
.island-stage[data-scene-state="fallback"] .island-fallback{opacity:1}
.island-controls{position:relative;z-index:3;display:flex;justify-content:center;align-items:center;gap:4px;visibility:hidden;height:44px;margin-top:-22px;margin-bottom:2px;opacity:0;transition:opacity .2s}
.island-figure:has(.island-stage[data-scene-state="ready"]) .island-controls,.island-figure[data-scene-state="ready"] .island-controls{visibility:visible;opacity:1}
.island-controls:hover,.island-controls:focus-within{opacity:1!important}
.island-controls button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:22px;background:transparent;color:#60725c;font:inherit;font-size:11px;cursor:pointer;transition:background .18s,color .18s}
.island-controls button:hover{background:#e9eddf;color:var(--ink)}
.island-controls button:active{background:#dce5d3}
.island-controls svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.island-figure figcaption{position:relative;z-index:1}
.note-tags{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:6px}
.note-tags span{border:1px solid #e0e5d5;background:#edf0e3;padding:4px 18px;font-size:12px;border-radius:20px;color:#496b52;line-height:1.6}
.note-foot{margin-top:12px;font-size:12px;color:var(--muted)}
.island-hint{margin-top:5px;font-size:10px;letter-spacing:.08em;color:#65705d}
.island-figure:has(.island-stage[data-scene-state="fallback"]) .island-hint{display:none}

.island-figure{margin:0;width:100%;height:100%}.island-stage{height:100%}.island-stage:before{inset:0}.island-controls{display:none!important}.island-figure figcaption,.island-loading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.island-fallback svg{display:none}.island-fallback img{display:block;width:100%;height:100%;object-fit:contain}
