:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--page:#eee5d7;--surface:#fcf9f3;--surface-soft:#f2eadf;--ink:#29241f;--ink-muted:#685e53;--wood:#765039;--accent:#8e4f32;--accent-ink:#fffaf4;--brass:#c59b62;--sage:#64725c;--danger:#9c4437;--focus:#315d88;--line:#ded1bf;--scene-wash:#fcf9f3;--scene-background:#d9c9b3;--scene-wall:#dfd1bd;--scene-wall-shadow:#b8a58d;--scene-floor:#b38a64;--scene-wood-light:#9a704d;--scene-upholstery:#65715d;--scene-stained-1:#879790;--scene-stained-2:#b28268;--scene-stained-3:#d0b47b;--scene-lamp:#f1c777;--scene-light-warm:#fff2da;--scene-light-ground:#735b46;--scene-legs:#49443f;--avatar-young-coat:#64725c;--avatar-young-skin:#d6a47f;--avatar-young-hair:#3b2d25;--avatar-adult-coat:#765039;--avatar-adult-skin:#c9916d;--avatar-adult-hair:#332821;--avatar-senior-coat:#586b78;--avatar-senior-skin:#d4ad8f;--avatar-senior-hair:#b8b1a4;--seat-halo:#f3d9a0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:system-ui,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Malgun Gothic,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#201c19;--surface:#302923;--surface-soft:#3b332b;--ink:#f5eee4;--ink-muted:#d1c3b0;--accent:#d49a70;--accent-ink:#24180f;--brass:#d5b681;--sage:#a3b397;--danger:#ef9c8f;--focus:#a9d2fb;--line:#55483c;--scene-wash:#302923;--scene-background:#473b30;--scene-wall:#675b4f;--scene-wall-shadow:#55483c;--scene-floor:#765039;--scene-wood-light:#9a704d;--scene-upholstery:#65715d;--scene-stained-1:#71817c;--scene-stained-2:#9a705e;--scene-stained-3:#aa9266;--scene-lamp:#d5b681;--scene-light-warm:#d4b986;--scene-light-ground:#302923;--scene-legs:#29241f;--avatar-young-coat:#a3b397;--avatar-young-skin:#d6a47f;--avatar-young-hair:#3b2d25;--avatar-adult-coat:#d49a70;--avatar-adult-skin:#c9916d;--avatar-adult-hair:#332821;--avatar-senior-coat:#a9c0cc;--avatar-senior-skin:#d4ad8f;--avatar-senior-hair:#b8b1a4;--seat-halo:#d5b681}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--text:#f4f3e8;--muted:#cfcec2;--glass:#1b251f85;--glass-border:#eceed857;--glass-active:#f0e0ab21;--gold:#eee0ad;--ui-radius:28px;--dock-height:72px;--safe-bottom:max(10px, env(safe-area-inset-bottom))}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0}body{color:var(--text);background:#26312b;overflow:hidden}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:0}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:hover:not(:disabled){background-color:#ffffff14}[hidden]{display:none!important}.app-shell{top:var(--viewport-offset-top,0px);isolation:isolate;position:relative;overflow:hidden;height:var(--app-height,100dvh)!important}#chapel-canvas,#avatar-overlay{width:100%;height:100%;position:absolute;inset:0}#chapel-canvas{touch-action:none;outline:none;display:block}#avatar-overlay{pointer-events:none;overflow:hidden}.glass{background:var(--glass);border:1.5px solid var(--glass-border);-webkit-backdrop-filter:blur(19px);box-shadow:inset 0 1px #ffffff14,0 6px 24px #0000001f}.scene-header{top:max(14px, env(safe-area-inset-top));pointer-events:none;justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:absolute;left:12px;right:12px}.scene-header>*{pointer-events:auto}.room-pill,.tools-pill{border-radius:30px;align-items:center;height:50px;display:flex}.room-pill{gap:1px;padding:2px 9px 2px 3px}.tools-pill{height:var(--toolbar-height);background-color:var(--control-surface);flex-shrink:0;padding:2px}.icon-button{background:0 0;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:42px;padding:8px;display:inline-grid}.toolbar-button{justify-content:center;gap:var(--space-half);width:var(--control-target);height:var(--control-target);padding:var(--space-half) 0;border-radius:var(--space-3);font-size:var(--font-meta);flex-direction:column;line-height:1.2;display:flex}.toolbar-button .icon{width:var(--space-5);height:var(--space-5)}.icon{vertical-align:middle;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.icon svg{fill:currentColor;width:100%;height:100%}.room-name{white-space:nowrap;background:0 0;align-items:center;gap:4px;padding:8px 4px;font-size:14px;display:flex}.room-name strong{font-weight:650}.room-name .icon{width:11px;height:11px}.room-count{color:var(--muted);font-variant-numeric:tabular-nums;background:0 0;padding:8px 0 8px 5px;font-size:12px}.secondary-pill{right:16px;top:calc(max(14px, env(safe-area-inset-top)) + 57px);border-radius:26px;height:42px;padding:0 15px;font-size:14px;position:absolute}.connection-status{color:var(--gold);text-shadow:0 1px 3px #222;max-width:53%;font-size:11px;position:absolute;top:79px;left:18px}.connection-status[data-state=live]{display:none}.action-dock{left:22px;right:22px;bottom:var(--safe-bottom);height:var(--dock-height);border-radius:42px;grid-template-columns:repeat(4,1fr);max-width:440px;margin:auto;padding:5px 7px;display:grid;position:absolute}.action-dock>button{background:0 0;border:1.5px solid #0000;border-radius:34px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:12px;display:flex;position:relative}.action-dock>button[aria-pressed=true]{background:var(--glass-active);color:var(--gold);border-color:#eee0ad80}.unread-badge{background:var(--gold);color:#26312b;border-radius:10px;min-width:17px;height:17px;padding:1px 4px;font-size:10px;font-weight:700;position:absolute;top:3px;right:16px}.seat-pill{bottom:calc(var(--dock-height) + var(--safe-bottom) + 12px);white-space:nowrap;border-radius:30px;align-items:center;gap:8px;padding:10px 19px;font-size:14px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.scene-hint{white-space:nowrap;border-radius:24px;align-items:center;max-width:calc(100% - 30px);padding:4px 5px 4px 14px;font-size:12px;display:flex;position:absolute;top:123px;left:50%;transform:translate(-50%)}.scene-hint .icon-button{width:32px;height:32px}.scene-hint .icon{width:16px;height:16px}.welcome-panel{background-color:#1b251fd1;border-radius:28px;max-width:380px;margin:auto;padding:25px;position:absolute;bottom:28px;left:16px;right:16px}.welcome-panel .eyebrow{color:var(--gold);margin:0 0 14px;font-size:12px}.welcome-panel .eyebrow a{color:inherit;text-underline-offset:.2em}h1{letter-spacing:-.8px;margin:0 0 12px;font-size:28px;line-height:1.25}p{color:var(--muted);font-size:14px;line-height:1.65}label{margin:16px 0 7px;font-size:13px;display:block}input,textarea,select{border:1px solid var(--glass-border);background:#00000026;border-radius:16px;width:100%;padding:12px 14px;font-size:16px}input::placeholder,textarea::placeholder{color:#c8c9bd;opacity:.7}textarea{resize:vertical;min-height:100px}select option{color:var(--text);background:#26312b}.avatar-choices{grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0 18px;display:grid}.avatar-choices button{border:1px solid var(--glass-border);background:0 0;border-radius:16px;padding:12px 3px;font-size:14px}.avatar-choices button[aria-pressed=true]{color:var(--gold);border-color:var(--gold);background:var(--glass-active)}.wardrobe-entry{width:100%;min-height:var(--control-target);margin-block:var(--space-4);padding:var(--space-3);border:1px solid var(--glass-border);border-radius:var(--radius-row);background:var(--glass-active);color:var(--text);justify-content:space-between;align-items:center;font-size:16px;display:flex}dialog[data-view=avatar]{max-width:800px}#app:has(dialog[data-view=avatar][open]) :is(.scene-header,#welcome-panel){visibility:hidden}dialog[data-view=avatar] #dialog-body{padding-top:var(--space-2);flex:1;display:flex;overflow:hidden}#avatar-editor{gap:var(--space-3);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.wardrobe-layout{gap:var(--space-6);flex:1;grid-template-columns:240px minmax(0,1fr);align-items:start;min-height:0;display:grid}.wardrobe-options{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.avatar-preview{background:var(--glass-active);border-radius:var(--radius-row);min-width:0;overflow:hidden}#avatar-preview-canvas{width:100%;height:280px;display:block}.avatar-turn{justify-content:center;align-items:center;gap:var(--space-3);padding:var(--space-2);color:var(--muted);font-size:var(--font-meta);display:flex}.avatar-turn button{width:var(--control-target);height:var(--control-target);border:1px solid var(--glass-border);border-radius:var(--space-3);color:var(--text);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;flex-shrink:0;place-items:center;display:grid}.avatar-turn button .icon{width:24px;height:24px}.avatar-turn button[data-turning]{background:var(--glass-active)}.wardrobe-categories{gap:var(--space-2);background:0 0;flex-wrap:wrap;flex-shrink:0;margin-block-end:var(--space-3);padding-block-end:var(--space-3);display:flex}.wardrobe-categories button{min-height:var(--control-target);min-width:var(--control-target);padding:var(--space-2) var(--space-3);border:1px solid var(--glass-border);border-radius:var(--space-3);color:var(--text);background:0 0;font-size:14px}.wardrobe-categories button[aria-pressed=true]{color:var(--gold);background:0 0}.wardrobe-choices button[aria-pressed=true]{background:var(--glass-active);color:var(--gold)}.wardrobe-fields{gap:var(--space-6);overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.wardrobe-fields fieldset{border:0;min-inline-size:0;margin:0;padding:0}.wardrobe-fields legend{color:var(--text);margin-block-end:var(--space-3);font-size:16px;font-weight:600}.wardrobe-choices{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.wardrobe-choices button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-target);padding:var(--space-2);color:var(--text);border:1px solid var(--glass-border);border-radius:var(--space-3);font-size:var(--font-meta);overflow-wrap:anywhere;background:0 0;flex-direction:column;display:flex}.wardrobe-swatch{border-radius:var(--radius-circle);background:var(--swatch-color);width:24px;height:24px;box-shadow:inset 0 0 0 1px var(--glass-border)}.wardrobe-status{min-height:24px;color:var(--muted);margin:0;font-size:14px}.wardrobe-status.error{color:var(--gold)}.church-source{color:var(--muted);font-size:var(--font-meta)}.church-content-body .small-note{font-size:var(--font-label);line-height:1.6}.church-content-tabs{gap:var(--space-2);margin-block:var(--space-4) var(--space-6);flex-wrap:wrap;display:flex}.church-content-tabs button{min-height:var(--control-target);padding:var(--space-3);border:1px solid var(--glass-border);border-radius:var(--space-3);color:var(--text);background:0 0;flex:1;font-size:14px}.church-content-tabs button[aria-pressed=true]{color:var(--gold);background:var(--glass-active)}.church-record{padding-block:var(--space-4);border-block-end:1px solid var(--glass-border)}.church-record summary{cursor:pointer;min-height:var(--control-target);padding-block:var(--space-3);overflow-wrap:anywhere;font-size:16px;line-height:1.5}.church-record-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.church-record .text-button{min-height:var(--control-target);text-underline-offset:.2em;align-items:center;display:inline-flex}.qt-entry-link{text-align:center;margin-block-start:var(--space-6);text-decoration:none;display:block}:root{--qt-dialog-width:1000px}#app:has(dialog[data-view=deepenqt][open]) .scene-header{visibility:hidden}dialog[data-view=deepenqt]{inset:var(--space-4);width:calc(100% - var(--space-8));max-width:var(--qt-dialog-width);height:calc(var(--app-height,100dvh) - var(--space-8))}dialog[data-view=deepenqt] .dialog-body{gap:var(--space-3);min-height:0;padding:var(--space-3);flex-direction:column;flex:1;display:flex;overflow:hidden}.qt-reader-toolbar{justify-content:space-between;align-items:center;gap:var(--space-2);flex-shrink:0;display:flex}.qt-reader-toolbar .qt-reader-date{min-height:var(--control-target);padding:var(--space-2) var(--space-3);border-radius:var(--space-3);font-size:var(--font-body)}.qt-reader-day{color:var(--muted);font-size:var(--font-meta);font-variant-numeric:tabular-nums}.qt-reader-reload{width:var(--control-target);height:var(--control-target);border-radius:var(--space-3);color:var(--text);background:0 0;flex-shrink:0;place-items:center;display:grid}.qt-reader-status{color:var(--muted);font-size:var(--font-body);overflow-wrap:anywhere;line-height:1.6}.qt-reader-frame{border-radius:var(--space-3);background:var(--surface);flex:1;min-height:0;display:flex;overflow:hidden}.qt-reader-frame iframe{background:var(--surface);border:0;width:100%;height:100%;min-height:0;display:block}.wardrobe-categories button:hover{background:0 0}.wardrobe-choices button:hover,.avatar-turn button:hover,.wardrobe-entry:hover{background:var(--glass-active)}#avatar-editor[aria-busy=true] .wardrobe-options{pointer-events:none;opacity:.6}@media (max-width:620px){.wardrobe-layout{gap:var(--space-4);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}#avatar-preview-canvas{height:min(160px,22dvh)}.avatar-turn{padding-block:0}.wardrobe-categories{gap:var(--space-1);grid-template-columns:repeat(5,minmax(0,1fr));margin-block-end:var(--space-4);display:grid}.wardrobe-categories button{padding-inline:var(--space-1)}}.primary-button{background:var(--gold);color:#29342e;border-radius:20px;width:100%;padding:13px 18px;font-size:15px;font-weight:650}.primary-button:hover:not(:disabled){background-color:#f6eccb}.small-note,.privacy-note{margin-bottom:0;font-size:11px;line-height:1.6}.welcome-panel .small-note{font-size:var(--font-body)}.toast{z-index:5;bottom:calc(var(--dock-height) + var(--safe-bottom) + 65px);color:#243028;text-align:center;background:#f0e7c9;border-radius:20px;width:max-content;max-width:calc(100% - 40px);padding:12px 18px;font-size:13px;position:absolute;left:50%;transform:translate(-50%)}dialog{color:var(--text);inset:56px 16px calc(var(--dock-height) + var(--safe-bottom) + 7px);width:calc(100% - 32px);max-width:580px;height:calc(var(--app-height,100dvh) - 56px - var(--dock-height) - var(--safe-bottom) - 7px);border-radius:28px;max-height:none;margin:0 auto;padding:0;position:absolute;background-color:#1b251fcc!important}dialog[open]{flex-direction:column;display:flex}dialog::backdrop{background:#00000026}.dialog-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 12px 0 22px;display:flex}.dialog-header h2{letter-spacing:-.4px;margin:0;font-size:20px;font-weight:650}.close-button{border:2px solid var(--gold);width:52px;height:52px;color:var(--text);background:0 0;border-radius:50%;flex-shrink:0;place-items:center;display:grid}.close-button .icon{width:23px;height:23px}.dialog-body{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:0 22px 22px;overflow-y:auto}.dialog-body>p:first-child{margin:8px 0 26px}.room-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin:0 0 16px;font-size:12px;display:flex}.text-button{color:var(--text);background:0 0;padding:7px 0;font-size:12px}.room-freshness{margin:0 0 14px;font-size:11px}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.room-card{text-align:left;border:1px solid var(--glass-border);background:#ffffff0f;border-radius:18px;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;min-height:70px;padding:12px;display:flex}.room-card strong{font-size:13px;font-weight:600}.room-card span{color:var(--muted);font-size:12px}.room-card[aria-current=true]{background:var(--glass-active);border-color:#eee0ada6}.people-list,.schedule-list{margin:12px 0;padding:0;list-style:none}.people-list li,.schedule-list li{border-bottom:1px solid #ffffff26;justify-content:space-between;gap:14px;padding:13px 0;font-size:14px;display:flex}.people-list span,.schedule-list span:last-child{color:var(--muted)}.dialog-body hr{border:0;border-top:1px solid var(--glass-border);margin:22px 0}.prayer-list{margin-top:24px}.prayer-item{border-top:1px solid var(--glass-border);padding:15px 0}.prayer-meta,.prayer-actions{justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.prayer-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}.prayer-actions button{background:#ffffff14;border-radius:16px;padding:8px 12px}.prayer-actions button[aria-pressed=true]{color:var(--gold)}dialog[data-view=chat]{inset:auto 16px calc(var(--dock-height) + var(--safe-bottom) + 7px);height:min(540px, calc(var(--app-height,100dvh) - 140px))}dialog[data-view=chat] .dialog-body{flex-direction:column;flex:1;padding:0 15px 15px;display:flex;overflow:hidden}.chat-note{font-size:11px;margin:5px 7px 10px!important}.chat-messages{overscroll-behavior:contain;scrollbar-width:thin;flex:1;padding:5px 4px;overflow-y:auto}.chat-message{flex-direction:column;align-items:flex-start;margin:0 0 12px;display:flex}.chat-message.mine{align-items:flex-end}.chat-meta{color:var(--muted);align-items:center;gap:6px;margin:0 5px 4px;font-size:10px;display:flex}.chat-text{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;background:#ffffff21;border-radius:16px;max-width:92%;margin:0;padding:9px 12px;font-size:14px;line-height:1.5}.mine .chat-text{color:#27332c;background:#e1d9bb}.message-delete{color:var(--muted);background:0 0;padding:2px 3px;font-size:10px}.chat-compose{align-items:center;gap:8px;padding-top:10px;display:flex}.chat-compose input{border-radius:24px;flex:1;min-width:0;padding:12px 14px}.chat-compose button{background:var(--gold);color:#27332c;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.avatar-label{will-change:transform;flex-direction:column;align-items:center;gap:5px;display:flex;position:absolute;top:0;left:0}.avatar-name{color:#404738;white-space:nowrap;background:#f1edd7;border:1px solid #fff9;border-radius:20px;padding:6px 10px;font-size:11px;box-shadow:0 2px 8px #00000024}.speech-bubble{color:#27332c;overflow-wrap:anywhere;text-align:center;background:#fbf8ec;border-radius:16px 16px 16px 3px;width:max-content;max-width:215px;padding:9px 12px;font-size:13px;line-height:1.5;box-shadow:0 2px 8px #0000002e}.fatal-error{border-radius:24px;padding:24px;position:absolute;inset:30%}@media (min-width:700px){.scene-header{top:22px;left:24px;right:24px}.room-pill{gap:6px;height:56px;padding-right:16px}.room-name{font-size:16px}.room-count{font-size:14px}.tools-pill{gap:8px;height:54px;padding:2px 10px}.secondary-pill{top:88px;right:28px}.connection-status{top:89px;left:30px}.action-dock{bottom:22px}.welcome-panel{width:380px;bottom:40px;left:40px;right:auto}.scene-hint{top:30px}dialog{height:calc(var(--app-height,100dvh) - 215px);top:100px;bottom:115px}dialog[data-view=chat]{width:380px;bottom:110px;left:auto;right:25px}}@media (max-height:560px){.welcome-panel{padding:16px 22px;bottom:12px}.welcome-panel h1{font-size:23px}.welcome-panel>p:not(.eyebrow){display:none}.welcome-panel label{margin-top:10px}dialog{height:calc(var(--app-height,100dvh) - 24px);top:12px;bottom:12px}}:root{--devotion-target:144px;--devotion-count:40px;--font-body:14px}.secondary-actions{left:var(--space-3);flex-wrap:wrap;justify-content:flex-end}.sound-button{width:var(--control-target);height:var(--control-target);border-radius:var(--radius-circle);flex-shrink:0;place-items:center;padding:0;display:grid}.sound-button:hover,.sound-button:active{background:var(--control-surface)}#app:has(dialog[open]) .secondary-actions{visibility:hidden}.shared-service{padding:var(--space-4);border-radius:var(--radius-row);background:var(--glass-active)}.shared-service h3{margin:var(--space-2) 0;font-size:var(--font-subheading)}.shared-service p,.devotion-view>p,.bell-view>p{font-size:var(--font-body);overflow-wrap:anywhere;line-height:1.6}.shared-service p{margin:var(--space-2) 0}.tool-feedback:empty{display:none}.devotion-view .tool-privacy,.devotion-view .tool-feedback,.bell-view .tool-feedback{font-size:var(--font-meta);word-break:keep-all}.service-secondary{justify-content:space-between;gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.service-secondary button,.devotion-actions button{min-height:var(--control-target)}.service-countdown{font-variant-numeric:tabular-nums;color:var(--gold)}.shared-service .tool-privacy,.tool-privacy{font-size:var(--font-meta);color:var(--muted);line-height:1.6}.tool-feedback{min-height:1.6em;font-size:var(--font-meta);overflow-wrap:anywhere;line-height:1.6}.personal-hymn-heading{margin:var(--space-6) 0 var(--space-2);font-size:var(--font-subheading)}.tool-intro{font-size:var(--font-body);line-height:1.6}.prayer-tools{flex-direction:column;display:flex}.prayer-tools button{align-items:center;gap:var(--space-4);min-height:var(--track-height);padding:var(--space-3) var(--space-2);text-align:left;border-bottom:var(--stroke-ui) solid var(--glass-border);background:0 0;display:flex}.prayer-tools button>.icon{color:var(--gold);flex-shrink:0}.prayer-tools button>span:last-child{gap:var(--space-1);flex-direction:column;display:flex}.prayer-tools strong{font-size:var(--font-body)}.prayer-tools small{font-size:var(--font-meta);color:var(--muted)}.devotion-view,.bell-view{text-align:center}.devotion-view h3{margin:var(--space-6) 0 var(--space-2);font-size:var(--font-subheading)}.devotion-orb{width:var(--devotion-target);height:var(--devotion-target);border:var(--stroke-ui) solid var(--glass-border);border-radius:var(--radius-circle);color:var(--gold);background:var(--glass-active);margin:var(--space-6) auto;touch-action:none;place-items:center;display:grid}.devotion-orb:hover,.devotion-orb:active{background:var(--control-surface)}.devotion-orb .icon{width:var(--space-16);height:var(--space-16)}.devotion-orb>span:not(.icon),.devotion-view .devotion-time{font-size:var(--devotion-count);font-variant-numeric:tabular-nums;font-weight:500}.devotion-time{margin:var(--space-8) 0}.devotion-actions{justify-content:center;align-items:center;gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.devotion-actions .primary-button{width:auto;min-width:var(--devotion-target)}.devotion-steps{justify-content:center;gap:var(--space-3);font-size:var(--font-meta);color:var(--muted);flex-wrap:wrap;padding:0;list-style:none;display:flex}.devotion-steps [aria-current=true]{color:var(--gold);text-underline-offset:var(--space-1);font-weight:600;text-decoration:underline}.shared-service progress,.devotion-view progress{width:100%;height:var(--space-2);accent-color:var(--gold);margin:var(--space-4) 0;display:block}.sound-settings{border-bottom:var(--stroke-ui) solid var(--glass-border);padding-bottom:var(--space-5);margin-bottom:var(--space-5)}.sound-settings h3{font-size:var(--font-subheading)}dialog[data-view=settings] .small-note{font-size:var(--font-meta)}.sound-switch{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--control-target);font-size:var(--font-body);display:flex}.sound-switch input{appearance:none;border-radius:var(--space-4);width:var(--space-12);height:var(--control-target);cursor:pointer;background:0 0;border:0;flex-shrink:0;margin:0;padding:0;position:relative}.sound-switch input:before{content:"";inset:var(--space-2) 0;border-radius:var(--ui-radius);background:var(--control-surface);border:var(--stroke-ui) solid var(--glass-border);position:absolute}.sound-switch input:after{content:"";left:var(--space-1);top:var(--space-3);width:var(--space-5);height:var(--space-5);border-radius:var(--radius-circle);background:var(--muted);transition:transform var(--scene-reveal-duration) var(--scene-reveal-ease);position:absolute}.sound-switch input:checked:before{background:var(--glass-active);border-color:var(--gold)}.sound-switch input:checked:after{transform:translateX(var(--space-5));background:var(--gold)}.sound-range{margin:var(--space-3) 0;font-size:var(--font-body);display:block}.sound-range>span{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.sound-range output{font-size:var(--font-meta);font-variant-numeric:tabular-nums;color:var(--muted)}.sound-range input{width:100%;min-height:var(--control-target);accent-color:var(--gold);background:0 0;border:0;padding:0;display:block}@media (prefers-reduced-motion:reduce){.sound-switch input:after{transition:none}}.support-entry{min-height:var(--control-target);margin-top:var(--space-4)}.support-link{min-height:var(--control-target);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.support-account{gap:var(--space-3);font-size:var(--font-body);grid-template-columns:auto minmax(0,1fr);line-height:1.6;display:grid}.support-account dt{color:var(--muted)}.support-account dd{overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;margin:0}@media (prefers-reduced-transparency:reduce){.glass{-webkit-backdrop-filter:none;backdrop-filter:none;background:#29372e!important}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}#app:has(dialog[open]) #avatar-overlay{visibility:hidden}#app:has(dialog[open]) .secondary-pill{visibility:hidden}#app:has(dialog[open]) .scene-hint{visibility:hidden}#app:has(dialog[open]) #chapel-canvas{filter:blur(8px)}dialog[data-view=rooms]{bottom:calc(var(--dock-height) + var(--safe-bottom) - 27px);height:calc(var(--app-height,100dvh) - 56px - var(--dock-height) - var(--safe-bottom) + 27px)}dialog[data-view=rooms] .dialog-body>p:first-child{margin-bottom:18px}.room-meta{margin-bottom:12px}@media (max-width:699px){.scene-header{left:var(--space-2);right:var(--space-2);gap:var(--space-1)}.room-pill{width:182px}.room-name{flex:1;justify-content:center}.tools-pill{justify-content:space-between;width:auto}}@media (max-width:360px){.scene-header{gap:4px;left:8px;right:8px}.room-pill{width:auto;padding-right:7px}.room-name{font-size:12px}.room-count{font-size:11px}.tools-pill{width:auto}}@media (min-width:700px){dialog[data-view=rooms]{height:calc(var(--app-height,100dvh) - 215px);bottom:115px}}@media (max-height:560px){dialog[data-view=rooms]{height:calc(var(--app-height,100dvh) - 24px);bottom:12px}}:root{--light-scene-background:#dce6df;--light-scene-floor:#c9d8d4;--light-wood:#788e91;--light-scene-wood-light:#bec7bc;--light-scene-wall:#eceee5;--light-scene-wall-shadow:#b5c7c2;--light-scene-upholstery:#7e9e9a;--light-brass:#b29b6a;--light-window:#b7d3d5;--garden-scene-background:#bfd1cc;--garden-scene-floor:#536d4a;--garden-wood:#92765a;--garden-scene-wood-light:#a7a28c;--garden-scene-wall:#cabf9f;--garden-scene-wall-shadow:#657c60;--garden-scene-upholstery:#7e8761;--garden-brass:#d4be83;--garden-foliage:#385d40;--player-height:48px;--track-height:64px;--control-target:44px;--toolbar-height:52px;--row-wash:#eee0ad21;--control-surface:#333f35;--stroke-ui:1px;--space-half:3px;--space-tight:6px;--space-row:10px;--space-inset:14px;--edge-dock:22px;--header-secondary-offset:60px;--header-secondary-wide:88px;--player-wide-bottom:106px;--radius-row:18px;--radius-circle:50%;--icon-small:18px;--map-choice-height:92px;--dock-max-width:440px;--play-target:52px;--font-caption:11px;--font-small:11px;--font-meta:12px;--font-label:13px;--font-subheading:18px;--font-display-compact:25px;--player-ink:#27332c}.secondary-actions{right:var(--space-4);top:calc(max(var(--space-inset), env(safe-area-inset-top)) + var(--header-secondary-offset));gap:var(--space-2);display:flex;position:absolute}.secondary-actions .secondary-pill{align-items:center;gap:var(--space-tight);height:var(--control-target);display:inline-flex;position:static}.secondary-actions .icon{width:var(--icon-small);height:var(--icon-small)}@media (max-width:340px){.scene-header{gap:var(--space-2);flex-wrap:wrap}.tools-pill{margin-inline-start:auto}.secondary-actions{top:calc(max(var(--space-inset), env(safe-area-inset-top)) + 50px + var(--space-2) + var(--toolbar-height) + var(--space-2))}.connection-status{top:calc(max(var(--space-inset), env(safe-area-inset-top)) + 50px + var(--space-2) + var(--toolbar-height) + var(--space-2) + var(--control-target) + var(--space-2))}.scene-hint{top:calc(max(var(--space-inset), env(safe-area-inset-top)) + 50px + var(--space-2) + var(--toolbar-height) + var(--space-2) + var(--control-target) + var(--space-8))}}.action-dock{grid-template-columns:repeat(5,minmax(0,1fr))}.action-dock>button{min-width:0;min-height:var(--control-target);font-size:var(--font-small);padding:0}.action-dock .icon{width:var(--space-6);height:var(--space-6)}.welcome-map{width:100%;margin:0 0 var(--space-3);min-height:var(--control-target);color:var(--gold);border:var(--stroke-ui) solid var(--glass-border);border-radius:var(--space-4);font-size:var(--font-label);background:0 0;display:block}.mini-player{bottom:calc(var(--dock-height) + var(--safe-bottom) + var(--space-3));left:var(--edge-dock);right:var(--edge-dock);max-width:var(--dock-max-width);height:var(--player-height);border-radius:var(--ui-radius);padding:var(--stroke-ui) var(--space-half) var(--stroke-ui) var(--space-3);align-items:center;gap:var(--space-1);margin:auto;display:flex;position:absolute}.mini-player .icon-button{width:var(--control-target);height:var(--control-target)}.mini-player .icon-button .icon{width:var(--space-5);height:var(--space-5)}.mini-title{align-items:center;gap:var(--space-2);min-width:0;min-height:var(--control-target);text-align:left;font-size:var(--font-meta);background:0 0;flex:1;padding:0;display:flex}.mini-title .icon{width:var(--icon-small);height:var(--icon-small);flex-shrink:0}#mini-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#app:has(dialog[open]) .mini-player{visibility:hidden}@media (max-height:500px){#app:has(dialog[open]) .scene-header{visibility:hidden}}.map-choices{gap:var(--space-2);margin-top:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.map-choice{justify-content:center;align-items:center;gap:var(--space-tight);min-height:var(--map-choice-height);min-width:0;padding:var(--space-row) var(--space-1);color:var(--text);background:var(--control-surface);border:var(--stroke-ui) solid var(--glass-border);border-radius:var(--radius-row);flex-direction:column;display:flex}.map-choice strong{font-size:var(--font-meta);white-space:nowrap;font-weight:600}.map-count{font-size:var(--font-caption);color:var(--muted)}.map-choice[aria-pressed=true]{color:var(--gold);background:var(--row-wash)}.map-description{font-size:var(--font-meta);margin:var(--space-3) 0 var(--space-4)}.music-intro{font-size:var(--font-label);margin:var(--space-2) 0 var(--space-5)!important}.music-player{padding-bottom:var(--space-5)}.music-player h3{margin:var(--space-2) 0;font-size:var(--font-subheading);font-weight:600;line-height:1.4}#music-state{margin:0 0 var(--space-3);min-height:var(--space-5);font-size:var(--font-meta);line-height:1.6}#music-state[data-error=true]{color:var(--gold)}.music-transport{align-items:center;gap:var(--space-4);margin:0 0 var(--space-2);display:flex}.play-control{width:var(--play-target);height:var(--play-target);border-radius:var(--radius-circle);color:var(--player-ink);background:var(--gold);place-items:center;display:grid}.play-control .icon{width:var(--space-6);height:var(--space-6)}.repeat-control{align-items:center;gap:var(--space-tight);padding:var(--space-row) var(--space-3);min-height:var(--control-target);border-radius:var(--space-6);border:var(--stroke-ui) solid var(--glass-border);background:var(--control-surface);font-size:var(--font-meta);display:flex}.repeat-control[aria-pressed=true]{color:var(--gold);background:var(--row-wash)}.repeat-control .icon{width:var(--icon-small);height:var(--icon-small)}#music-seek{width:100%;height:var(--control-target);accent-color:var(--gold);cursor:pointer;background:0 0;margin:0;padding:0}.music-time{font-size:var(--font-meta);font-variant-numeric:tabular-nums;text-align:right;margin:0}.hymn-list{gap:var(--space-2);display:grid}.hymn-row{width:100%;min-height:var(--track-height);align-items:center;gap:var(--space-row);padding:var(--space-3);border:var(--stroke-ui) solid var(--glass-border);border-radius:var(--radius-row);text-align:left;background:var(--control-surface);display:flex}.hymn-row[aria-pressed=true]{background:var(--row-wash)}.track-number{color:var(--gold);font-size:var(--font-meta);font-variant-numeric:tabular-nums}.track-label{gap:var(--space-1);flex-direction:column;flex:1;min-width:0;display:flex}.track-label strong{font-size:var(--font-label);font-weight:600;line-height:1.45}.track-label>span{font-size:var(--font-caption);color:var(--muted);overflow-wrap:anywhere}.track-state{font-size:var(--font-small);color:var(--gold);flex-shrink:0}.music-source{margin-top:var(--space-6);font-size:var(--font-meta)}.music-source summary{min-height:var(--control-target);cursor:pointer;color:var(--muted);align-items:center;display:flex}.music-source p{font-size:var(--font-meta)}.hymn-sources{gap:var(--space-row);padding:0;list-style:none;display:grid}.hymn-sources a{color:var(--gold);text-underline-offset:var(--space-half)}.sr-only{width:var(--stroke-ui);height:var(--stroke-ui);clip-path:inset(50%);white-space:nowrap;position:absolute;overflow:hidden}button:active:not(:disabled){background-color:var(--row-wash)}::selection{background:var(--gold);color:var(--player-ink)}input,textarea{caret-color:var(--gold)}@media (min-width:700px){.secondary-actions{top:var(--header-secondary-wide);right:var(--ui-radius)}.mini-player{bottom:var(--player-wide-bottom)}}@media (max-height:680px){.welcome-panel{padding:var(--radius-row) var(--edge-dock);bottom:var(--space-inset)}.welcome-panel p:not(.eyebrow):not(.small-note){display:none}.welcome-panel h1{font-size:var(--font-display-compact)}.welcome-panel .avatar-choices{margin:var(--space-row) 0}.welcome-panel label{margin-top:var(--space-row)}}.play-control:hover:not(:disabled),.play-control:active:not(:disabled){background-color:var(--gold)}:root{--light-sun:#fffef6;--light-ground:#8daba3;--garden-sun:#fff7e6;--garden-ground:#6a7d5c}:is(#app:has(canvas[data-map-id=light]),#app:has(canvas[data-map-id=garden])){--glass:#141e18d6}.room-freshness{font-size:var(--font-meta)}:root{--scene-send-width:64px;--chat-panel-surface:#1c2822;--chat-field-surface:#293a30;--scene-reveal-duration:.18s;--scene-reveal-ease:cubic-bezier(.22,1,.36,1);--scene-reveal-offset:6px;--scene-reveal-reduced-duration:80ms;--font-input:16px;--speech-max-width:240px;--speech-surface:#fbf8ec;--speech-ink:#27332c}.scene-controls{left:var(--edge-dock);right:var(--edge-dock);bottom:var(--safe-bottom);max-width:var(--dock-max-width);pointer-events:none;flex-direction:column;gap:0;margin:auto;display:flex;position:absolute}.scene-controls>.mini-player,.scene-controls>.action-dock,.scene-chat{pointer-events:auto;flex-shrink:0;width:100%;max-width:none;margin:0;position:static}.scene-controls>.mini-player{margin-bottom:var(--space-3)}.scene-chat{padding:var(--space-2);border:var(--stroke-ui) solid var(--glass-border);border-radius:var(--space-4);background:var(--chat-panel-surface)}.scene-chat[data-open=true]{animation:scene-chat-enter var(--scene-reveal-duration) var(--scene-reveal-ease)}@keyframes scene-chat-enter{0%{opacity:0;transform:translateY(var(--scene-reveal-offset))}to{opacity:1;transform:translateY(0)}}.scene-chat-header{align-items:center;gap:var(--space-2);display:flex}#scene-chat-channel{min-width:0;font-size:var(--font-meta);color:var(--muted);flex:1;font-weight:600}.scene-chat-header button{width:var(--control-target);height:var(--control-target);border-radius:var(--space-2);color:var(--muted);background:0 0;flex-shrink:0;place-items:center;display:grid}.scene-chat-header .icon{width:var(--space-5);height:var(--space-5)}.scene-chat-header button:hover,.scene-chat-header button:active{color:var(--text);background:var(--row-wash)}.scene-chat-form{align-items:center;gap:var(--space-2);margin:0;display:flex}.scene-chat-form input{min-width:0;height:var(--control-target);background:var(--chat-field-surface);width:0;padding:var(--space-2) var(--space-3);font-size:var(--font-input);border-radius:var(--space-2);border:0;flex:1}.scene-chat-form input::placeholder{color:var(--muted);opacity:1}.scene-chat-form button{width:var(--scene-send-width);height:var(--control-target);border-radius:var(--space-2);color:var(--player-ink);background:var(--gold);font-size:var(--font-label);flex-shrink:0;place-items:center;padding:0;font-weight:600;display:grid}.scene-chat-form button:hover:not(:disabled),.scene-chat-form button:active:not(:disabled){background:var(--gold)}.scene-chat :focus-visible{outline-offset:-2px}.scene-chat-form input:focus-visible{outline-width:var(--stroke-ui)}.scene-chat-feedback{margin:0 0 var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--space-2);overflow-wrap:anywhere;font-size:var(--font-meta);color:var(--speech-ink);background:var(--speech-surface)}.scene-chat-active .scene-controls>.action-dock,.scene-chat-active .scene-controls>.mini-player{display:none}.scene-controls:has(.action-dock[hidden]){bottom:calc(var(--dock-height) + var(--safe-bottom) + var(--space-3))}.toast{bottom:calc(var(--scene-controls-height,var(--dock-height)) + var(--safe-bottom) + var(--space-3))}.speech-bubble{color:var(--speech-ink);background:var(--speech-surface);max-width:var(--speech-max-width);border-radius:var(--space-4);position:relative}.speech-bubble:after{content:"";width:var(--space-2);height:var(--space-2);bottom:calc(-1 * var(--space-1));left:calc(50% - var(--space-1));background:var(--speech-surface);position:absolute;transform:rotate(45deg)}.speech-text{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.avatar-label{max-width:calc(100% - var(--space-6));gap:var(--space-5)}#app:has(dialog[open]) .scene-chat{visibility:hidden}.scene-keyboard-open .scene-controls>.action-dock,.scene-keyboard-open .scene-controls>.mini-player{display:none}.scene-keyboard-open .scene-header,.scene-keyboard-open .secondary-actions,.scene-keyboard-open .scene-hint{visibility:hidden}@media (min-width:700px){.scene-controls{bottom:var(--edge-dock)}}@media (prefers-reduced-motion:reduce){.scene-chat[data-open=true]{animation-name:scene-chat-fade;animation-duration:var(--scene-reveal-reduced-duration)}@keyframes scene-chat-fade{0%{opacity:0}to{opacity:1}}}@media (max-height:560px){:is(#app:has(.scene-chat:focus-within) .scene-controls>.action-dock,#app:has(.scene-chat:focus-within) .scene-controls>.mini-player){display:none}:is(#app:has(.scene-chat:focus-within) .scene-header,#app:has(.scene-chat:focus-within) .secondary-actions,#app:has(.scene-chat:focus-within) .scene-hint){visibility:hidden}}:root{--gratitude-stone:#d9cfb7;--gratitude-wood:#8a6243;--gratitude-groove:#58412f;--gratitude-count:32px;--gratitude-count-compact:24px;--gratitude-grab-target:80px;--gratitude-stage-min:180px;--gratitude-stage-max:360px}dialog[data-view=devotion][data-devotion-kind=gratitude]{max-height:calc(var(--app-height,100dvh) - var(--space-6));overflow:clip}dialog[data-view=devotion][data-devotion-kind=gratitude] .dialog-header{z-index:1;position:relative}.gratitude-view h3{margin:var(--space-3) 0 var(--space-2)}.gratitude-view #devotion-prompt{margin:0 0 var(--space-3)}.gratitude-stage{width:100%;height:clamp(var(--gratitude-stage-min), 38dvh, var(--gratitude-stage-max));margin:var(--space-3) 0;border-radius:var(--space-6);background:var(--control-surface);position:relative;overflow:hidden}.gratitude-stage canvas{touch-action:pan-y;width:100%;height:100%;display:block}.gratitude-handle{width:var(--gratitude-grab-target);height:var(--gratitude-grab-target);border-radius:var(--radius-circle);touch-action:none;cursor:grab;position:absolute;top:0;left:0}.gratitude-stage[data-dragging=true] .gratitude-handle{cursor:grabbing}.gratitude-meter{left:var(--space-4);bottom:var(--space-3);align-items:flex-start;gap:var(--space-1);pointer-events:none;flex-direction:column;display:flex;position:absolute}.gratitude-meter #devotion-counter{font-size:var(--gratitude-count);font-variant-numeric:tabular-nums;color:var(--text);line-height:1.2}.gratitude-meter>span:last-child{font-size:var(--font-meta);color:var(--muted)}.gratitude-sound{right:var(--space-2);bottom:var(--space-2);border-radius:var(--radius-circle);background:var(--control-surface);border:var(--stroke-ui) solid var(--glass-border);position:absolute}.gratitude-loading{color:var(--text);font-size:var(--font-body);place-items:center;margin:0;display:grid;position:absolute;inset:0}.gratitude-count-action{min-height:var(--control-target);margin:0}.gratitude-view .devotion-actions:has(#devotion-primary[hidden]):has(#devotion-reset[hidden]){display:none}.gratitude-view #devotion-feedback{margin:var(--space-3) 0 var(--space-2)}.gratitude-view #devotion-rounds,.gratitude-view .tool-privacy{margin:var(--space-2) 0}.gratitude-fallback{inset:var(--space-8) var(--space-4) var(--space-16);align-content:center;gap:var(--space-3);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:absolute}.gratitude-fallback span{aspect-ratio:1.3;background:var(--gratitude-stone);opacity:.5;border-radius:48% 52% 44% 56%}.gratitude-fallback span[data-placed=true]{opacity:1;background:var(--gold)}@media (max-height:560px){.gratitude-stage{height:var(--gratitude-stage-min)}}@media (max-height:560px),(max-width:359px){.gratitude-meter #devotion-counter{font-size:var(--gratitude-count-compact)}}.gratitude-view .devotion-actions .primary-button{width:100%}
