@charset "UTF-8";
.temple-presence{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 24px 10px;color:#d9c6a5;font-size:9px;line-height:1.7}.presence-count{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#e7dcbf}.presence-count i{width:5px;height:5px;border-radius:50%;background:#bca477;box-shadow:0 0 7px #c4a46e44}.temple-presence[data-state=online] .presence-count i{background:#b4d4b9;box-shadow:0 0 7px #b4d4b966}#presenceHint{font-size:8px;color:#bbaa8d;text-align:right}.temple-presence[data-state=reconnecting] .presence-count{color:#e4b889}@media(max-width:680px){.temple-presence{padding:5px 17px 8px;font-size:9px;gap:7px}#presenceHint{font-size:8px;max-width:175px}}@media(max-width:360px){#presenceHint{max-width:147px;font-size:7px}}
:root{--bg:#f6f3eb;--paper:#fcfaf5;--ink:#3c4035;--muted:#969487;--line:#e5e0d4;--red:#a64d3b;--red-dark:#8e3d30;--gold:#ac8853;--sage:#748169;--serif:"Songti TC","Noto Serif TC","PMingLiU",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:13px var(--sans);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}a{color:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--red);outline-offset:4px}button:disabled{cursor:wait;opacity:.65}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.sprite{position:absolute;width:0;height:0;overflow:hidden}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:3}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-seal{width:43px;height:43px;display:grid;place-items:center;background:#a64d3b;border-radius:15px 15px 17px 17px;color:#f9eed8;transform:rotate(-5deg)}.brand-seal svg{width:28px;height:28px;stroke-width:1.2;transform:rotate(5deg)}.brand strong{font:500 23px var(--serif);letter-spacing:5px}.brand small{display:block;font:8px Georgia,serif;letter-spacing:2.8px;color:#928b76;margin-top:5px}.header-caption{font-size:11px;color:#9b9584;letter-spacing:1.6px;display:flex;align-items:center;gap:11px}.header-caption i{width:5px;height:5px;background:#b69a69;border-radius:50%}.header-actions{display:flex;align-items:center;gap:15px}.icon-button{width:34px;height:34px;border-radius:50%;display:inline-grid;place-items:center;color:#989382}.icon-button:hover{background:#ede9de}.records-button{display:flex;align-items:center;gap:9px;border:1px solid #dfd8c9;border-radius:6px;height:39px;padding:0 14px;color:#6e6b59;font-size:11px;letter-spacing:.6px}.records-button svg{width:17px}.records-button:hover{background:#f0eadf}.records-button i{width:5px;height:5px;background:var(--red);border-radius:50%}.workspace{display:grid;grid-template-columns:250px minmax(300px,1fr) 326px;min-height:700px;height:calc(100dvh - 122px);max-height:1200px;max-width:1920px;margin:auto}.story-panel{padding:36px 25px 22px 30px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;overflow:auto;scrollbar-width:thin}.eyebrow{font-size:8px;letter-spacing:1.9px;line-height:1.6;color:#a39880;font-weight:500}.story-panel h1{font:500 31px/1.65 var(--serif);letter-spacing:1.7px;margin:17px 0}.intro{font-size:11px;line-height:2.2;color:#959181;letter-spacing:.2px}.story-divider{display:flex;align-items:center;gap:10px;margin:33px 0 27px;color:#bfa884}.story-divider span{height:1px;background:#e5dfd0;flex:1}.story-divider svg{width:12px;height:12px}.section-label{font-size:10px;letter-spacing:.8px;color:#83816f}.ritual-steps{list-style:none;margin:21px 0 0;padding:0;display:grid;gap:24px}.ritual-steps li{display:flex;align-items:center;gap:13px}.ritual-steps b{height:30px;width:30px;flex-shrink:0;border:1px solid #ddd2bb;border-radius:50%;font:11px var(--serif);display:grid;place-items:center;color:#ac8853}.ritual-steps strong{font-weight:500;font-size:11px;letter-spacing:.4px}.ritual-steps p{font-size:9px;line-height:1.7;color:#a19b8c;margin-top:6px}.island-note{border-top:1px solid var(--line);padding-top:17px;margin-top:40px;display:flex;gap:8px;color:#8e947b;align-items:flex-start}.island-note svg{width:13px;height:13px;margin-top:3px}.island-note p{font-size:9px;line-height:2}.island-note span{font-size:8px;color:#aaa18b}.scene-panel{min-width:0;position:relative;display:flex;flex-direction:column;overflow:hidden;background:var(--scene-bg,#f3f1e7);transition:background 1s}.scene-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:31px 30px 0;z-index:1;pointer-events:none}.scene-heading h2{font:500 22px var(--serif);letter-spacing:1.3px;margin-top:8px}.scene-subtitle{font-size:10px;letter-spacing:.7px;color:#9f9987;margin-top:10px}.scene-clock{display:grid;grid-template-columns:17px auto;column-gap:6px;align-items:center;border:1px solid #d9d6c566;border-radius:6px;padding:8px 10px;color:#898d76;margin-top:1px;min-width:85px}.scene-clock svg{height:14px;width:14px}.scene-clock span{font:14px Georgia,serif;font-variant-numeric:tabular-nums}.scene-clock small{grid-column:1/-1;text-align:center;margin-top:4px;font-size:8px;letter-spacing:1.2px}.stage{position:relative;flex:1;min-height:300px;touch-action:none;outline:none}.stage canvas{position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:none}.stage canvas:active{cursor:grabbing}.scene-watermark{position:absolute;left:23px;top:31%;writing-mode:vertical-rl;font:italic 10px Georgia,serif;color:#b6b29b;letter-spacing:1px;pointer-events:none;opacity:.8}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:19px;background:var(--bg);z-index:2;color:var(--gold)}.loading>span{width:64px;height:64px;border:1px solid #dcd3bf;display:grid;place-items:center;border-radius:50%;animation:breathe 2s ease-in-out infinite}.loading svg{width:31px;height:31px}.loading p{font-size:11px;letter-spacing:2px}.scene-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:30px;text-align:center;line-height:1.9;color:#9c8c70}.scene-error>svg{width:64px;height:64px}.scene-error small{font-size:11px}.scene-controls{z-index:1;display:flex;align-items:center;flex-direction:column;gap:13px;padding:0 12px 22px}.view-switch{display:flex;gap:3px;align-items:center;background:#fcfaf2ed;border:1px solid #e2ddcf;border-radius:8px;padding:5px;box-shadow:0 5px 17px #54472a06}.view-switch button{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;padding:9px 10px;color:#97917e;border-radius:5px;font-size:10px}.view-switch button svg{width:15px;height:15px}.view-switch button.active{background:#eae5d8;color:#7d6745}.view-switch button:hover{background:#eee9dd}.view-switch>span{height:18px;width:1px;background:#ddd7c8;margin:0 3px}.view-switch .reset-button{padding:9px 6px}.drag-hint{font-size:8px;letter-spacing:.8px;color:#a29e8b}.scene-foot{min-height:37px;border-top:1px solid #dcd8c480;padding:10px 21px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#96947d;font-size:9px;line-height:1.8}.scene-foot>span:first-child{display:flex;gap:7px;align-items:center}.scene-foot i{width:4px;height:4px;border-radius:50%;background:#8c9c72;flex-shrink:0}.flow-label{font-size:8px;letter-spacing:.5px;white-space:nowrap}.offering-panel{border-left:1px solid var(--line);padding:32px 26px 20px;background:var(--paper);overflow:auto;scrollbar-width:thin;scrollbar-color:#d8d0bf transparent}.offering-heading{position:relative;margin-bottom:28px}.offering-heading h2{font:500 25px/1.5 var(--serif);letter-spacing:1.5px;margin-top:10px}.little-seal{position:absolute;right:0;top:30px;font:20px var(--serif);color:#ab6652;border:1px solid #bc8d76;padding:5px 6px;border-radius:3px;transform:rotate(5deg);opacity:.65}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.3px;margin-bottom:9px}.field-label i{font-style:normal;font-size:8px;color:#b0a892;margin-left:5px}.field-label small{font-size:8px;color:#b0a892;font-variant-numeric:tabular-nums}input,textarea{width:100%;background:#f8f5ed;border:1px solid #e1dacb;border-radius:5px;outline:none;padding:12px;color:#514f42;font-size:11px;line-height:1.8;resize:vertical;transition:border-color .2s}input{height:43px}textarea{min-height:85px;max-height:180px}input::placeholder,textarea::placeholder{color:#b2a995;font-size:10px}input:focus,textarea:focus{border-color:#b18a63;background:#fffdf7}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--red)}.field-hint{font-size:8px;color:#aaa28f;margin-top:7px;letter-spacing:.4px}.wish-fieldset{border:0;padding:0;margin:24px 0 0;min-width:0}.wish-fieldset legend{font-size:11px;padding:0;margin-bottom:12px;letter-spacing:.3px}.wish-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wish-options button{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 6px;background:#f5f2e9;border:1px solid #e9e2d4;border-radius:5px;color:#97907d;font-size:10px;letter-spacing:.2px}.wish-options svg{width:16px;height:16px}.wish-options button.selected{color:#98533e;background:#f6eae0;border-color:#ba8a70}.wish-options button:hover{border-color:#ba8a70}.intention-label{margin-top:24px}.button{width:100%;height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;letter-spacing:.5px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-1px)}.button svg{width:18px;height:18px}.button-red{background:var(--red);color:#fff7e9;margin-top:20px;position:relative;border:1px solid var(--red)}.button-red:hover{background:var(--red-dark)}.button-arrow{position:absolute;right:14px;width:16px!important}.button-gold{background:#f5eedf;border:1px solid #d8c3a0;color:#9b7948;margin-top:10px}.button-gold:hover{background:#ece0c8}.button-quiet{background:#ede9de;color:#857862;border:1px solid var(--line)}.offering-note{text-align:center;font-size:8px;color:#aaa18e;margin-top:12px;letter-spacing:.3px;line-height:1.7}.form-error{font-size:10px;line-height:1.8;color:var(--red);padding:10px 0 0}.personal-summary{display:flex;align-items:center;gap:19px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 1px;margin-top:25px}.personal-summary>div{display:flex;flex-direction:column;gap:7px}.personal-summary strong{font:23px Georgia,serif;color:#8e7a52}.personal-summary span{font-size:8px;color:#a19a86}.personal-summary .summary-line{width:1px;height:32px;background:var(--line)}.personal-summary>button{margin-left:auto;border-radius:50%;height:28px;width:28px;background:#f0ebde;display:grid;place-items:center;color:#9f9277}.personal-summary>button svg{width:14px;height:14px}.storage-note{font-size:8px;line-height:1.9;color:#aaa18c;margin-top:17px;text-align:center}.storage-note.warning{color:var(--red)}.latest-lamp{display:flex;gap:11px;background:#f5eedc;border:1px solid #e9dcc0;border-radius:5px;padding:12px;margin-top:15px;align-items:center;color:#b79556}.latest-lamp>svg{width:27px;height:30px}.latest-lamp>div{display:grid;gap:4px;min-width:0}.latest-lamp span{font-size:8px;color:#a39879}.latest-lamp strong{font:15px var(--serif);font-weight:500;color:#8d7449;overflow-wrap:anywhere}.latest-lamp small{font-size:9px;color:#ac9772}.back-to-island{display:none}.page-footer{height:39px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 32px;background:var(--paper);color:#aaa18d;font-size:8px;letter-spacing:.6px}.page-footer i{display:inline-block;height:8px;border-left:1px solid #d8d0be;margin:0 9px}.ritual-message{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);max-width:90%;background:#fcf8edef;border:1px solid #e6d8b6;border-radius:7px;padding:13px 23px;color:#9c7640;font:16px/1.6 var(--serif);text-align:center;box-shadow:0 5px 25px #382e1b09;pointer-events:none;z-index:1;overflow-wrap:anywhere}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);max-width:calc(100vw - 30px);border:1px solid #d4c7ae;background:#fcf8ee;color:#7c6644;padding:12px 20px;border-radius:6px;font-size:11px;line-height:1.7;box-shadow:0 5px 30px #4d34191a;z-index:10;opacity:0;visibility:hidden;transition:.25s;pointer-events:none;text-align:center}.toast.visible{transform:translate(-50%,0);opacity:1;visibility:visible}.modal{border:1px solid #ded4bf;border-radius:14px;padding:36px;width:520px;max-width:calc(100vw - 28px);max-height:85dvh;color:var(--ink);background:var(--paper);box-shadow:0 25px 100px #2f251d33;overflow:auto}.modal::backdrop{background:#29292066;backdrop-filter:blur(5px)}.modal-close{position:absolute;top:12px;right:12px}.modal h2{font:500 25px/1.7 var(--serif);letter-spacing:1px;margin-top:9px}.modal-intro{font-size:11px;line-height:1.9;color:#9e937d;margin:10px 0 25px}.record-heading{font-size:12px;font-weight:500;margin:24px 0 12px;display:flex;align-items:center;gap:7px;color:#8e744e}.record-heading svg{width:16px;height:16px}.record-list{display:grid;gap:9px}.record-card{padding:13px 15px;background:#f3eee2;border:1px solid #e8dfca;border-radius:6px;display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}.record-card strong{font:16px var(--serif);font-weight:500;overflow-wrap:anywhere;min-width:0}.record-card .wish-tag{font-size:9px;color:#a2814c;background:#eae0c8;padding:4px 6px;border-radius:4px}.record-card p{grid-column:1/-1;font-size:10px;color:#93866e;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.record-card time{font-size:8px;color:#a99b83}.record-card button{font-size:9px;color:#a17359;padding:4px;text-decoration:underline;text-underline-offset:3px}.empty-records{text-align:center;color:#a39780;font-size:11px;line-height:2.1;padding:26px 12px;background:#f5f1e6;border-radius:6px}.text-button{font-size:10px;text-decoration:underline;text-underline-offset:4px;color:#a69275;padding:5px 0}.clear-area{margin-top:28px;border-top:1px solid var(--line);padding-top:18px}#clearConfirmation{display:flex;gap:9px;flex-wrap:wrap;padding-top:13px}#clearConfirmation p{width:100%;font-size:10px;line-height:1.9;color:var(--red);margin-bottom:4px}#clearConfirmation .button{width:auto;flex:1;margin:0;height:39px}.about-copy h3{font:500 17px var(--serif);margin:22px 0 10px}.about-copy p{font-size:11px;line-height:2;color:#9b907a}.about-copy .about-source{border-top:1px solid var(--line);padding-top:18px;margin-top:25px;font-size:9px}.about-source a{color:#9b784e;text-underline-offset:3px}.scene-panel.is-night .scene-heading h2{color:#e0dfc9}.scene-panel.is-night .scene-subtitle,.scene-panel.is-night .eyebrow,.scene-panel.is-night .scene-clock,.scene-panel.is-night .drag-hint,.scene-panel.is-night .scene-foot{color:#a8b2a3}.scene-panel.is-night .scene-watermark{color:#7f9391}.scene-panel.is-night .scene-foot{border-color:#99ad9c22}.scene-panel.is-night .view-switch{border-color:#e1d6bc33;background:#f6f0e3f2}
@keyframes breathe{50%{opacity:.5;transform:translateY(-3px)}}
@media(min-width:1600px){.workspace{grid-template-columns:280px minmax(300px,1fr) 354px}.story-panel{padding:43px 30px 24px 36px}.story-panel h1{font-size:35px}.offering-panel{padding:38px 30px}.offering-heading{margin-bottom:35px}.offering-heading h2{font-size:28px}.wish-fieldset{margin-top:29px}.intention-label{margin-top:28px}}
@media(max-width:1200px) and (min-width:961px){.workspace{grid-template-columns:212px minmax(300px,1fr) 296px}.story-panel{padding:30px 19px}.story-panel h1{font-size:27px}.intro{font-size:10px}.scene-heading{padding:28px 22px 0}.scene-heading h2{font-size:19px}.scene-clock{min-width:68px;padding:7px}.scene-heading .eyebrow{font-size:7px}.offering-panel{padding:29px 21px}.view-switch button{font-size:9px;padding:9px 7px}.flow-label{display:none}}
@media(max-width:960px){.topbar{height:70px;padding:0 23px}.brand-seal{width:36px;height:36px;border-radius:13px}.brand-seal svg{width:25px;height:25px}.brand strong{font-size:20px;letter-spacing:4px}.brand small{font-size:7px;letter-spacing:2px}.header-caption{font-size:10px}.workspace{height:auto;min-height:0;max-height:none;display:grid;grid-template-columns:minmax(0,1fr) 320px}.story-panel{grid-column:1/-1;border:0;padding:29px 25px 25px}.story-main{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.story-panel .eyebrow{grid-column:1/-1}.story-panel h1{font-size:29px;line-height:1.6;margin:10px 0 0}.story-panel h1 br{display:none}.intro{font-size:10px;align-self:end;line-height:1.9;margin-top:10px}.story-divider,.section-label,.ritual-steps,.island-note{display:none}.scene-panel{min-height:670px;border-top:1px solid var(--line)}.scene-heading{padding:23px 22px 0;gap:8px}.scene-heading h2{font-size:19px}.scene-clock{min-width:70px;padding:6px}.scene-subtitle{font-size:9px}.scene-heading .eyebrow{font-size:7px}.scene-controls{padding-bottom:20px}.view-switch button{padding:9px 7px;font-size:9px}.scene-foot{padding:9px 16px}.flow-label{display:none}.offering-panel{border-top:1px solid var(--line);padding:25px 25px}.offering-heading h2{font-size:24px}.page-footer{padding:15px 23px;height:auto;font-size:7px;line-height:1.9}.page-footer>span:first-child{display:none}}
@media(max-width:680px){.topbar{height:66px;padding:0 18px}.header-caption{display:none}.header-actions{gap:7px}.records-button{height:35px;padding:0 10px;font-size:10px;gap:7px}.records-button svg{width:15px}.icon-button{width:32px;height:32px}.brand{gap:9px}.brand strong{font-size:20px;letter-spacing:4px}.brand small{font-size:6px;letter-spacing:1.8px;margin-top:4px}.workspace{display:flex;flex-direction:column}.story-panel{padding:25px 23px 22px;overflow:visible}.story-main{display:block}.story-panel .eyebrow{font-size:7px;letter-spacing:1.8px}.story-panel h1{font-size:25px;letter-spacing:1px;margin:8px 0 0;line-height:1.6}.story-panel h1 br{display:none}.intro{margin-top:8px;font-size:10px;line-height:1.9}.intro br{display:none}.scene-panel{height:505px;min-height:0;flex:none}.scene-heading{padding:21px 21px 0}.scene-heading h2{font-size:18px;letter-spacing:.6px;margin-top:7px}.scene-heading .eyebrow{font-size:6px;letter-spacing:1.3px}.scene-subtitle{font-size:9px;margin-top:7px;letter-spacing:.2px}.scene-clock{padding:6px 7px;min-width:65px;column-gap:3px}.scene-clock span{font-size:12px}.scene-clock svg{width:12px;height:12px}.scene-clock small{font-size:7px}.stage{min-height:0}.scene-watermark{left:13px;font-size:8px}.scene-controls{gap:10px;padding:0 10px 15px}.view-switch{padding:4px;gap:1px;border-radius:7px}.view-switch button{font-size:9px;gap:5px;min-height:35px;padding:8px}.view-switch button svg{width:14px;height:14px}.view-switch .reset-button{padding:8px 5px}.view-switch>span{margin:0 3px}.drag-hint{font-size:7px}.scene-foot{font-size:8px;min-height:33px;padding:8px 18px}.offering-panel{border-left:0;overflow:visible;padding:29px 25px 25px}.offering-heading{margin-bottom:25px}.offering-heading h2{font-size:26px;line-height:1.5}.offering-heading h2 br{display:none}.offering-heading .eyebrow{font-size:7px}.little-seal{top:22px;font-size:19px;padding:3px 6px}.field-label,.wish-fieldset legend{font-size:12px}.field-label small{font-size:9px}.field-label i{font-size:9px}.field-hint{font-size:9px}input,textarea{font-size:16px;padding:12px}input{height:48px}input::placeholder,textarea::placeholder{font-size:12px}.wish-options button{font-size:12px;padding:12px}.wish-fieldset,.intention-label{margin-top:25px}textarea{min-height:94px}.button{height:48px;font-size:12px}.button-red{margin-top:21px}.button-gold{margin-top:10px}.offering-note{font-size:9px;margin-top:14px}.personal-summary{justify-content:center;gap:29px;margin-top:26px;padding:22px 10px}.personal-summary>button{margin-left:10px}.personal-summary strong{font-size:25px}.personal-summary span{font-size:9px}.storage-note{font-size:9px;margin-top:19px}.latest-lamp{padding:14px;margin-top:19px}.latest-lamp strong{font-size:17px}.latest-lamp span{font-size:9px}.latest-lamp small{font-size:10px}.back-to-island{display:block;text-align:center;font-size:10px;color:#9d8a66;text-decoration:none;margin-top:22px;padding:9px}.back-to-island span{margin-left:7px}.modal{padding:30px 22px}.modal h2{font-size:23px}.record-card{padding:12px}.record-card strong{font-size:16px}.modal-intro{font-size:10px}.toast{bottom:18px;width:max-content;font-size:10px;max-width:calc(100vw - 28px)}.ritual-message{font-size:14px;padding:10px 17px;bottom:4%}.page-footer{justify-content:center;padding:17px 12px;font-size:8px}.form-error{font-size:11px}.text-button{font-size:11px}}
@media(max-width:360px){.topbar{padding:0 13px}.brand strong{font-size:18px}.header-actions{gap:3px}.story-panel{padding:22px 18px 20px}.story-panel h1{font-size:23px}.scene-panel{height:455px}.scene-heading{padding:19px 17px 0}.scene-heading h2{font-size:16px}.scene-clock{min-width:60px;padding:5px}.scene-heading .eyebrow{font-size:6px;letter-spacing:1px}.view-switch button{font-size:8px;gap:4px;padding:8px 6px}.view-switch button svg{width:13px}.scene-foot{font-size:7px;padding:8px 14px}.offering-panel{padding:26px 20px}.offering-heading h2{font-size:24px}.personal-summary{gap:23px}.personal-summary>button{margin-left:auto}.page-footer{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:680px){.offering-heading .little-seal{top:-5px;font-size:15px;padding:3px 5px}}

/* A larger island and a second, immersive space share the same ritual. */
.workspace{grid-template-columns:222px minmax(300px,1fr) 306px}.story-panel{padding-left:25px;padding-right:20px}.story-panel h1{font-size:28px;letter-spacing:1px}.offering-panel{padding-left:23px;padding-right:23px}.scene-heading{padding-top:24px}.scene-controls{gap:10px;padding-bottom:15px}.scene-panel .stage{min-height:280px}.location-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 30px 0;z-index:1;min-height:35px}.location-bar>span{font-size:8px;letter-spacing:1px;color:#9f977e}.location-bar>button{display:flex;align-items:center;gap:7px;background:#fcf6e7;color:#8e6c40;border:1px solid #d9bd85;border-radius:5px;padding:8px 12px;font-size:10px}.enter-temple{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 18px;border:1px solid #bd9870;background:#a54d38;color:#fff3db;border-radius:6px;font-size:11px;letter-spacing:.6px;box-shadow:0 4px 15px #7149220b}.enter-temple:hover{background:#8e3e2f}.enter-temple>svg{width:16px;height:16px}.enter-temple>svg:last-child{width:14px;margin-left:5px}.scene-transition{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:#594332;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s,visibility .3s;color:#e4c690;z-index:3}.scene-transition>svg{width:36px;height:36px}.scene-transition>span{font:17px var(--serif);letter-spacing:2px}.changing-location .scene-transition{opacity:1;visibility:visible}.interior-actions{display:flex;align-items:center;justify-content:center;gap:9px}.interior-actions button{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;background:#b46d4c;border:1px solid #d1a16b;border-radius:6px;color:#fff0d1;font-size:11px;letter-spacing:.5px}.interior-actions button:last-child{background:#e7d2a9;color:#76552d}.interior-actions svg{width:17px;height:17px}.interior-actions button:hover{filter:brightness(1.1)}.scene-panel.is-interior .scene-heading h2{color:#f0dec0}.scene-panel.is-interior .scene-heading .eyebrow,.scene-panel.is-interior .scene-subtitle,.scene-panel.is-interior .scene-clock,.scene-panel.is-interior .location-bar>span,.scene-panel.is-interior .drag-hint,.scene-panel.is-interior .scene-foot{color:#c6b28c}.scene-panel.is-interior .scene-clock{border-color:#b49a6e44}.scene-panel.is-interior .scene-watermark{display:none}.scene-panel.is-interior .view-switch{display:none}.scene-panel.is-interior .scene-foot{border-top-color:#d4b47e22}.scene-panel.is-interior .scene-controls{padding-top:12px;background:#574330}.scene-panel.is-interior .location-bar{padding-top:9px;padding-bottom:6px;min-height:44px}.scene-panel.is-interior .ritual-message{background:#f5e6c7ed;color:#8b602a}.scene-panel.is-interior .scene-foot i{background:#d1ae67}
@media(min-width:1600px){.workspace{grid-template-columns:240px minmax(300px,1fr) 326px}.story-panel{padding-left:29px;padding-right:22px}.story-panel h1{font-size:30px}.offering-panel{padding-left:27px;padding-right:27px}.scene-heading{padding-top:29px}}
@media(max-width:1200px) and (min-width:961px){.workspace{grid-template-columns:185px minmax(300px,1fr) 280px}.story-panel{padding-left:19px;padding-right:17px}.story-panel h1{font-size:25px}.offering-panel{padding-left:18px;padding-right:18px}.scene-heading{padding-top:23px}.location-bar{padding-left:22px;padding-right:22px}.enter-temple{font-size:10px}}
@media(max-width:960px){.workspace{grid-template-columns:minmax(0,1fr) 306px}.story-panel{padding:25px}.story-panel h1{font-size:28px}.scene-panel{min-height:740px}.scene-heading{padding-top:22px}.location-bar{padding-left:22px;padding-right:22px}.offering-panel{padding:26px 23px}.scene-panel .stage{min-height:280px}.interior-actions{flex-wrap:wrap;gap:7px}.interior-actions button{padding:11px 13px}}
@media(max-width:680px){.story-panel{padding:20px 22px 18px}.story-panel h1{font-size:25px}.story-panel .intro{font-size:9px;line-height:1.8;margin-top:5px}.scene-panel{height:610px;min-height:0}.scene-panel .stage{min-height:0}.scene-heading{padding:20px 20px 0}.scene-heading h2{font-size:18px}.location-bar{min-height:29px;padding:8px 21px 0}.location-bar>span{font-size:7px}.location-bar>button{font-size:10px;min-height:35px;padding:8px 10px}.scene-controls{padding-bottom:15px;gap:10px}.enter-temple{padding:12px 19px;font-size:11px;min-height:42px}.scene-panel.is-interior{height:650px}.scene-panel.is-interior .scene-heading h2{font-size:18px;letter-spacing:.4px}.scene-panel.is-interior .scene-subtitle{font-size:8px}.scene-panel.is-interior .scene-heading .eyebrow{font-size:6px;letter-spacing:.8px}.scene-panel.is-interior .location-bar{padding:10px 20px 5px}.interior-actions{gap:8px;width:100%}.interior-actions button{font-size:11px;padding:12px 11px;min-height:44px}.scene-panel.is-interior .scene-controls{padding-top:11px;padding-bottom:15px}.offering-panel{padding:28px 25px}.scene-panel.is-interior .ritual-message{bottom:7%}}
@media(max-width:360px){.story-panel{padding:19px 18px 17px}.story-panel h1{font-size:23px}.scene-panel{height:560px}.scene-panel.is-interior{height:605px}.scene-heading{padding:18px 17px 0}.scene-panel.is-interior .scene-heading h2{font-size:16px}.location-bar{padding-left:17px;padding-right:17px}.scene-panel.is-interior .scene-subtitle{font-size:8px;max-width:215px}.location-bar>button{font-size:9px;padding:8px}.offering-panel{padding:25px 20px}.interior-actions button{font-size:10px;padding:12px 10px}}
@media(prefers-reduced-motion:reduce){.scene-transition{transition:none}}
.location-actions{display:flex;align-items:center;gap:7px}.location-actions>button{display:flex;align-items:center;gap:6px;background:#fcf6e7;color:#8e6c40;border:1px solid #d9bd85;border-radius:5px;padding:8px 10px;font-size:9px;white-space:nowrap;min-height:33px}.location-actions>button svg{width:13px;height:13px}.location-actions>button:hover{background:#eee1c7}.scene-expanded{overflow:hidden}.scene-expanded .scene-panel{position:fixed;inset:0;z-index:8;width:100vw;height:100dvh;min-height:0;max-height:none;border:0}.scene-expanded .scene-panel .stage{min-height:0}.scene-expanded .location-bar{padding-bottom:5px}.scene-expanded .scene-controls{padding-bottom:17px}.scene-expanded .scene-heading{padding-top:max(20px,env(safe-area-inset-top))}.scene-expanded #expandScene{background:#a34e38;color:#fff3d8;border-color:#ba7d55}
@media(max-width:680px){.location-actions{gap:6px}.location-actions>button{padding:8px;font-size:9px;min-height:35px}.location-actions>button svg{width:12px;height:12px}.location-bar{padding-bottom:5px}.scene-expanded .scene-panel.is-interior{height:100dvh}.scene-expanded .scene-controls{padding-bottom:max(14px,env(safe-area-inset-bottom))}}
.scene-panel{transition:none}.scene-panel.is-interior{background:#574330!important}
.stock-form{padding-bottom:20px;border-bottom:1px solid var(--line);position:relative}.stock-form .button-gold{margin-top:15px;background:#ad6a39;border-color:#ad6a39;color:#fff1d5}.stock-form .button-gold:hover{background:#99562b}.stock-suggestions{list-style:none;padding:5px;margin:6px 0 0;background:#fffaf0;border:1px solid #dac9a8;border-radius:5px;max-height:210px;overflow:auto}.stock-suggestions li{margin:0;padding:0}.stock-suggestions button{display:block;width:100%;font-size:10px;text-align:left;line-height:1.6;padding:9px 7px;border-radius:3px;overflow-wrap:anywhere}.stock-suggestions button:hover,.stock-suggestions button[aria-selected=true]{background:#f0dfbd;color:#976439}.stock-match{font-size:10px;line-height:1.8;padding:9px 10px;background:#f1ead7;color:#876d3c;border-radius:4px;margin-top:8px;overflow-wrap:anywhere}.prayer-section-label{display:flex;gap:7px;align-items:center;color:#9d7b50;font-size:11px;margin:23px 0 16px}.prayer-section-label svg{width:17px;height:17px}.hanging-stocks{display:flex;justify-content:center;align-items:center;gap:9px;padding:5px 20px 12px;max-width:100%;font-size:8px;color:#928464}.hanging-stocks>span{white-space:nowrap}.hanging-stocks ul{display:flex;gap:5px;list-style:none;overflow:auto;max-width:70%;padding:3px;margin:0;scrollbar-width:thin}.hanging-stocks li{font:11px Georgia,serif;color:#9c5438;border:1px solid #d8c7a5;border-radius:4px;padding:4px 7px;background:#f9f0dc;white-space:nowrap}.scene-panel.is-interior .hanging-stocks{color:#c5b18b;background:#574330}.scene-panel.is-night .hanging-stocks{color:#bfc5b3}.offering-heading{margin-bottom:22px}.offering-heading h2{font-size:24px}.stock-form+.prayer-section-label+form .wish-fieldset{margin-top:20px}#stockError{padding-top:8px}#stockQuery{-webkit-appearance:none;appearance:none}.offering-note{line-height:1.8}
@media(max-width:680px){.stock-suggestions button{font-size:12px;min-height:42px}.stock-match{font-size:12px;padding:11px}.prayer-section-label{font-size:12px;margin-top:26px}.stock-form{padding-bottom:24px}.hanging-stocks{padding:3px 13px 10px;font-size:8px;gap:6px}.hanging-stocks li{font-size:11px;padding:5px}.offering-heading h2{font-size:25px}.stock-form .button-gold{font-size:12px}.stock-form .field-hint{font-size:10px}.hanging-stocks ul{max-width:78%}}
.walk-hud{position:absolute;inset:0;z-index:2;pointer-events:none}.walk-status{position:absolute;top:13px;left:50%;transform:translateX(-50%);font-size:10px;line-height:1.7;white-space:nowrap;max-width:94%;padding:7px 12px;border:1px solid #d8bd8555;border-radius:20px;background:#423222d9;color:#f1dcb7;text-align:center}.walk-pad{--stick-x:0px;--stick-y:0px;position:absolute;bottom:16px;left:18px;width:120px;height:120px;border:2px solid #f5e1ab66;border-radius:50%;background:#f6d9940c;box-shadow:inset 0 0 22px #ffe5af08;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;isolation:isolate}.walk-pad::before{content:"";position:absolute;inset:12%;border:1px solid #f5e1ab17;border-radius:50%;pointer-events:none}.walk-pad button{position:absolute;width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:50%;color:#f5e1ab99;font:0/1 sans-serif;touch-action:none;z-index:2}.walk-pad button::before{content:"";width:0;height:0;border:8px solid transparent;pointer-events:none}.walk-pad [data-move="w"]{top:0;left:calc(50% - 22px)}.walk-pad [data-move="w"]::before{border-bottom-color:currentColor;transform:translateY(-5px)}.walk-pad [data-move="s"]{bottom:0;left:calc(50% - 22px)}.walk-pad [data-move="s"]::before{border-top-color:currentColor;transform:translateY(5px)}.walk-pad [data-move="a"]{left:0;top:calc(50% - 22px)}.walk-pad [data-move="a"]::before{border-right-color:currentColor;transform:translateX(-5px)}.walk-pad [data-move="d"]{right:0;top:calc(50% - 22px)}.walk-pad [data-move="d"]::before{border-left-color:currentColor;transform:translateX(5px)}.joystick-thumb{position:absolute;left:50%;top:50%;width:43%;height:43%;border:2px solid #f8e9c18c;border-radius:50%;background:#fae9c017;box-shadow:0 0 15px #ffe2a20c;transform:translate(calc(-50% + var(--stick-x)),calc(-50% + var(--stick-y)));pointer-events:none;transition:transform .12s ease-out}.walk-pad[data-active="true"]{border-color:#ffe6afa6;background:#f6d99412}.walk-pad[data-active="true"] .joystick-thumb{transition:none;border-color:#ffecc1b3;background:#fae9c025}.walk-pad button:focus-visible{outline:2px solid #fff0c1;outline-offset:-4px;background:#f5e1ab22}.context-action{position:absolute;right:21px;bottom:55px;display:flex;align-items:center;gap:10px;min-width:122px;min-height:49px;padding:12px 20px;background:#f5d99f;border:1px solid #fff0be;border-radius:25px;color:#75502b;font:16px var(--serif);pointer-events:auto;box-shadow:0 4px 24px #2f1c1444;touch-action:manipulation}.context-action:hover{background:#ffedc7}.context-action kbd{font:11px Georgia,serif;border:1px solid #bd9d61;border-radius:4px;padding:3px 5px}.context-action:disabled{opacity:.75}.scene-panel.is-interior .ritual-message{bottom:43%;font-size:13px;max-width:75%}.scene-panel.is-interior .stage{touch-action:none}
@media(max-width:680px){.walk-pad{left:max(12px,env(safe-area-inset-left));bottom:12px;width:120px;height:120px}.walk-status{font-size:9px;top:8px;padding:5px 9px}.context-action{right:12px;bottom:54px;min-width:105px;min-height:48px;padding:11px 17px;font-size:15px;gap:7px}.context-action kbd{display:none}.scene-panel.is-interior .ritual-message{bottom:48%;font-size:12px}.scene-panel.is-interior .drag-hint{font-size:7px}}
.ranking-heading{margin-bottom:17px}.ranking-title{display:flex;align-items:center;gap:11px;max-width:calc(100% - 37px);margin-top:9px}.ranking-heading h2{font-size:30px;letter-spacing:4px;white-space:nowrap;margin:0}.ranking-scope{font-size:8px;white-space:nowrap;color:#947342;background:#f3ead6;border:1px solid #e3d2ae;border-radius:20px;padding:4px 7px;letter-spacing:.4px}.ranking-heading>p{font-size:10px;line-height:1.8;color:#a19680;margin-top:10px}.ranking-heading .little-seal{top:27px;font-size:17px;padding:4px 5px}.leaderboard{padding-bottom:19px;border-bottom:1px solid var(--line)}.ranking-summary{font-size:10px;letter-spacing:.3px;color:#9a7c4f;padding:11px 0;border-top:1px solid var(--line)}.ranking-columns{display:flex;justify-content:space-between;padding:9px 0 8px;color:#aaa18e;font-size:8px;border-bottom:1px solid var(--line)}.lamp-ranking{list-style:none;padding:0;margin:0;max-height:320px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d9cfbb transparent}.lamp-ranking li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:56px;padding:11px 7px 11px 0;border-bottom:1px solid #e8e1d480}.rank-number{font:italic 16px Georgia,serif;text-align:center;color:#aaa18e;font-variant-numeric:tabular-nums}.rank-target{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:7px;row-gap:3px;min-width:0}.rank-code{font:500 15px Georgia,serif;letter-spacing:.3px;color:#5c5c4d}.rank-name{font-size:10px;color:#8e8775;line-height:1.6;overflow-wrap:anywhere;min-width:0}.rank-count{font:17px Georgia,serif;color:#9a7b4b;font-variant-numeric:tabular-nums;white-space:nowrap}.rank-count small{font:8px var(--sans);color:#ada18a;margin-left:4px}.lamp-ranking li[data-rank="1"]{background:linear-gradient(90deg,#f3e7cd80,transparent)}.lamp-ranking li[data-rank="1"] .rank-number{color:#ac7b36}.lamp-ranking li[data-rank="2"] .rank-number{color:#8a938c}.lamp-ranking li[data-rank="3"] .rank-number{color:#b18a70}.ranking-empty{display:flex;align-items:center;flex-direction:column;gap:11px;text-align:center;padding:23px 10px 22px;background:linear-gradient(#f8f1df66,transparent);border-radius:6px}.ranking-empty>svg{width:28px;height:28px;color:#b99a60}.ranking-empty strong{font:500 14px var(--serif);letter-spacing:1px;color:#8e7c5d}.ranking-empty p{font-size:9px;line-height:1.9;color:#afa38b}.ranking-note{font-size:8px;line-height:1.9;color:#aaa18f;margin-top:13px}.ranking-toggle{display:block;width:100%;min-height:38px;font-size:10px;color:#9c7947;background:#f4eddf;border-radius:4px;margin-top:10px}.ranking-toggle:hover{background:#ede1ca}.lamp-form-heading{margin-top:22px}
@media(max-width:680px){.ranking-heading h2{font-size:30px}.ranking-scope{font-size:9px}.ranking-heading>p{font-size:11px}.ranking-summary{font-size:11px}.ranking-columns{font-size:10px}.rank-name{font-size:12px}.rank-code{font-size:17px}.rank-number{font-size:18px}.rank-count{font-size:20px}.rank-count small{font-size:10px}.lamp-ranking li{min-height:60px}.ranking-note{font-size:10px}.ranking-empty strong{font-size:16px}.ranking-empty p{font-size:11px}.ranking-toggle{min-height:44px;font-size:12px}}

.garden-close{display:none}body[data-garden-view="true"] .garden-close{display:inline}body[data-garden-view="true"] .garden-open{display:none}#interiorGarden[aria-pressed="true"]{background:#f0d396;color:#73512d}.interior-actions{gap:7px}@media(max-width:680px){.interior-actions button{padding:10px 9px;font-size:10px}.interior-actions button svg{width:15px;height:15px}.walk-status{white-space:normal;width:max-content}}

body[data-garden-view="true"] .scene-panel.is-interior .ritual-message{bottom:4%;font-size:11px;max-width:85%}

#lampButton:hover{transform:none}

.ranking-sync{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;line-height:1.6;color:var(--muted);margin:12px 0 4px}.ranking-sync button{flex-shrink:0;border:0;background:transparent;color:var(--red);font:inherit;cursor:pointer;padding:5px}.ranking-sync [data-status="error"]{color:#94602d}.pending-lamp{margin-top:10px;padding:12px;border-radius:10px;background:#f5e8cd;border:1px solid #cba772;color:#6a4b28;font-size:11px;line-height:1.7}.pending-lamp p{margin:0 0 5px}.pending-lamp button{font-size:11px}.button[disabled]{cursor:wait}

.pose-controls{display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;padding:2px 6px}.pose-controls>span{font-size:9px;color:#c6b28c;margin-right:4px;white-space:nowrap}.pose-controls button{min-height:38px;padding:8px 12px;border:1px solid #c5a87566;border-radius:20px;background:#483626;color:#d8c29c;font-size:10px;white-space:nowrap;touch-action:manipulation}.pose-controls button:hover{background:#654932}.pose-controls button[aria-pressed=true]{color:#65421f;background:#f2d6a1;border-color:#f9e5bc}.pose-controls button:focus-visible{outline-color:#f5d99f}@media(max-width:680px){.pose-controls{gap:5px;padding:0 7px}.pose-controls>span{display:none}.pose-controls button{min-height:44px;padding:8px 11px;font-size:10px}.scene-panel.is-interior .scene-controls{gap:6px}}@media(max-width:360px){.pose-controls button{padding:8px 9px;font-size:9px}}

@media(max-width:360px){.walk-pad{width:112px;height:112px}}
@media(max-height:500px) and (orientation:landscape){.scene-expanded .scene-panel.is-interior .scene-heading{display:none}.scene-expanded .scene-panel.is-interior .scene-controls{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:6px 10px;padding:7px 12px}.scene-expanded .scene-panel.is-interior .interior-actions{width:auto}.scene-expanded .scene-panel.is-interior .interior-actions button{min-height:38px;padding:9px 12px}.scene-expanded .scene-panel.is-interior .pose-controls{padding:0;gap:5px}.scene-expanded .scene-panel.is-interior .pose-controls>span{display:none}.scene-expanded .scene-panel.is-interior .pose-controls button{min-height:38px}.scene-expanded .scene-panel.is-interior .drag-hint{width:100%;text-align:center}.scene-expanded .scene-panel.is-interior .scene-foot{display:none}.scene-expanded .scene-panel.is-interior .walk-pad{width:112px;height:112px;bottom:10px}.scene-expanded .scene-panel.is-interior .context-action{bottom:35px}.scene-expanded .scene-panel.is-interior .location-bar{padding-top:6px}.scene-expanded .scene-panel.is-interior .temple-presence{padding-top:3px;padding-bottom:5px}}
