html,body{width:100%;height:100%;overflow:hidden;background:#25251f}body{--ink:#3b493b}button,a{-webkit-user-select:none;user-select:none}.layout{position:fixed;inset:0;display:block;width:100%;height:100dvh;min-height:0}.sanctuary,.night .sanctuary{position:absolute;inset:0;width:100%;height:100%;min-height:0;background:#282820;overflow:hidden}#scene{position:absolute;inset:0!important;width:100%;height:100%;touch-action:none;outline:none}#scene canvas{cursor:grab}#loading{background:#25251f;color:#d5c9b1}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#11161250,transparent 18%,transparent 72%,#11161280),radial-gradient(ellipse,transparent 55%,#11161225);z-index:1}.topbar{position:fixed;z-index:4;left:26px;top:24px;right:auto;width:auto;height:auto;border:1px solid #f5edda38;border-radius:40px;padding:11px 21px 11px 14px;gap:15px;background:#20271d85;backdrop-filter:blur(12px);color:#f6efdf}.brand{color:inherit;gap:10px}.brand-mark{height:31px;width:24px;border:none}.brand-mark svg{height:27px}.brand strong{font-family:var(--serif);font-size:20px;letter-spacing:3px}.brand-divider{width:1px;height:25px;background:#f5edda35}.place-label{font-size:12px;letter-spacing:.5px}.place-label small{display:block;font-size:8px;letter-spacing:.4px;color:#d0cfbb;margin-top:4px}.scene-heading{position:absolute;top:29px;left:50%;transform:translateX(-50%);text-align:center;color:#eee8d6;text-shadow:0 2px 10px #0008;z-index:2}.scene-heading .eyebrow{font-size:9px;letter-spacing:4px;color:#eee3cc}.scene-heading p,.night .scene-heading p{font-size:10px;color:#e7dfca;margin-top:10px;white-space:nowrap}.scene-tools{position:absolute;top:25px;right:24px;gap:5px;z-index:4;border:1px solid #f5edda38;border-radius:30px;padding:6px;background:#20271d85;backdrop-filter:blur(12px)}.scene-tools .round-button,.night .scene-tools .round-button{border:none;color:#f0e7d2;background:none;width:34px;height:34px;font-size:23px}.scene-tools .round-button:hover{background:#f8f2dd25}.scene-tools svg,.night .scene-tools svg{color:#f0e7d2;width:17px}#crosshair{position:absolute;top:50%;left:50%;width:5px;height:5px;border-radius:50%;transform:translate(-50%,-50%);background:#fff8d8bb;box-shadow:0 0 3px #0008;z-index:2;pointer-events:none;transition:width .2s,height .2s}#crosshair.targeted{width:13px;height:13px;background:none;border:1px solid #f0dfab}#target-label{position:absolute;top:calc(50% + 22px);left:50%;transform:translateX(-50%);color:#ffefd2;font-size:11px;text-shadow:0 1px 8px #000;z-index:2;pointer-events:none;white-space:nowrap}.scene-help{position:absolute;bottom:116px;left:0;width:100%;text-align:center;z-index:2;color:#e6dfcbbf;font-size:10px;text-shadow:0 2px 5px #0008;pointer-events:none}.scene-help span{padding:0}.scene-help i{font-style:normal;padding:0 10px;color:#ffffff50}.scene-help kbd{font-family:var(--sans);font-size:10px;letter-spacing:2px}.mobile-help{display:none}.toolbar.navigation{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;align-items:center;gap:3px;width:auto;max-width:calc(100% - 35px);padding:8px 13px;margin:0;border-radius:40px;border:1px solid #fff3d842;background:#20271dc7;backdrop-filter:blur(16px);box-shadow:0 6px 25px #0003;z-index:4;white-space:nowrap}.toolbar button{color:#efe8d6;display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:400;min-width:62px;padding:9px 11px;border-radius:17px}.toolbar button:hover,.toolbar button.selected{background:#e4dab02b;color:#fff5d3}.toolbar svg{color:#e3d9be;width:21px;height:21px}.toolbar small{position:absolute;font-size:7px;bottom:7px;right:18px;color:#afa991}.toolbar #sound{position:relative;padding-bottom:15px}.toolbar #sound span{font-size:9px}.toolbar-divider{height:27px;background:#f0e5cf25;margin:0 4px}.visitor{position:absolute;bottom:42px;left:28px;z-index:2;font-size:10px;color:#ded6c2;gap:8px;pointer-events:none}.visitor-dot{width:5px;height:5px;border-radius:50%;background:#b4c29b}.quiet-clock{bottom:12px;color:#ccc5b0;z-index:2;font-size:8px;pointer-events:none}.quiet-clock b{color:#eee5cf}.night .visitor,.night .scene-help,.night .quiet-clock{color:#e0dac5}.panel-backdrop{background:#10181130;backdrop-filter:blur(1px)}.activity-panel{top:18px;bottom:18px;right:18px;background:#fbf8efef;backdrop-filter:blur(20px)}.toast{bottom:130px}.fallback-scene{z-index:2;inset:20% 20%;background:#e5dcc4}.navigation button.active{background:#e4dab02b}#joystick{display:none}.scene-tools button:focus-visible,.toolbar button:focus-visible{outline-color:#f6d493}.scene-heading,#target-label,.scene-help,.visitor,.quiet-clock{user-select:none}
.calendar-card{display:flex;gap:12px;align-items:center;margin:24px 0;padding:17px;border:1px solid #d9d5c7;border-radius:12px}.calendar-card strong{font-size:14px}.calendar-card small{display:block;margin-top:7px;color:#7b7b6d;font-size:11px}.calendar-dot{height:14px;width:14px;flex-shrink:0;border-radius:50%;border:2px solid #ffffffb0;box-shadow:0 0 0 1px #7773}.date-controls{display:flex;gap:10px;margin:8px 0 14px}.date-controls input{min-width:0;border:1px solid #d8d4c8;border-radius:7px;padding:12px;background:#fffcf6;color:#3b493b;font:inherit;font-size:13px}.date-controls input[type=date]{flex:1}.rite-details{margin-top:24px;padding:15px 0;border-top:1px solid #d8d4c8;border-bottom:1px solid #d8d4c8}.rite-details summary{cursor:pointer;font-size:13px}.rite-details label{display:block;margin-top:15px}.scene-heading{max-width:36vw}.scene-heading p{white-space:normal;line-height:1.6}.vignette{background:linear-gradient(#11161235,transparent 15%,transparent 75%,#11161260)}
.date-controls input[type=time]{width:140px;flex:0 0 140px}.date-controls input[type=date]{width:160px;flex:1 1 160px}.activity-panel{background:rgba(251,248,239,.97)}
@media(max-width:1100px){.scene-heading{top:97px;max-width:80vw}.visitor{bottom:132px;left:25px;font-size:9px}.scene-help{bottom:120px}.toolbar.navigation{bottom:35px}}
@media(max-width:700px){.topbar{top:16px;left:14px;padding:9px 13px 9px 9px;gap:9px}.brand{gap:4px}.brand strong{font-size:17px;letter-spacing:2px}.place-label{font-size:10px}.place-label small{font-size:7px}.brand-divider{height:22px}.scene-tools{right:12px;top:17px;padding:4px;gap:0}.scene-tools .round-button{width:30px;height:30px;font-size:21px}.scene-tools svg{width:16px}.scene-tools #pointer-lock,.scene-tools #fullscreen{display:none}.scene-heading{top:94px;width:100%;left:0;transform:none}.scene-heading .eyebrow{font-size:8px;letter-spacing:3px}.scene-heading p{font-size:9px}.toolbar.navigation{bottom:24px;padding:7px 5px;border-radius:23px;width:calc(100% - 20px);max-width:440px;gap:0;justify-content:space-around}.toolbar button{min-width:0;flex:1;padding:8px 2px;font-size:8px;border-radius:12px;gap:5px}.toolbar svg{width:20px;height:20px}.toolbar-divider{display:none}.toolbar small{right:4px;bottom:0;font-size:6px}.toolbar #sound{padding-bottom:8px}.toolbar #sound span{font-size:8px}.toolbar #sit span,.toolbar #pray span{max-width:50px;overflow:hidden;text-overflow:ellipsis}.quiet-clock{bottom:7px;font-size:7px}.visitor{bottom:113px;left:auto;right:20px;font-size:9px}.scene-help{bottom:93px;font-size:8px}.desktop-help{display:none}.mobile-help{display:inline}.scene-help i{padding:0 4px}#joystick{display:grid;place-items:center;position:absolute;left:24px;bottom:145px;width:94px;height:94px;border-radius:50%;border:1px solid #f9edcf55;background:#15201855;backdrop-filter:blur(8px);z-index:4;touch-action:none}#joystick:before{content:'↑';position:absolute;top:5px;color:#e6ddc66b;font-size:13px}#joystick-stick{display:block;width:42px;height:42px;border-radius:50%;background:#ebdfc350;border:1px solid #fff3d65e;box-shadow:0 3px 10px #0003;pointer-events:none}.activity-panel{right:10px;top:10px;bottom:10px;padding:20px 23px}.toast{bottom:110px}#crosshair{width:4px;height:4px}}
@media(max-height:500px) and (orientation:landscape){.scene-heading{display:none}.toolbar.navigation{bottom:15px;padding:3px 8px}.toolbar button{padding:5px 9px;font-size:9px}.scene-help{bottom:87px}.visitor{bottom:100px}.quiet-clock{bottom:2px}#joystick{bottom:100px;width:75px;height:75px}}
@media(max-width:700px) and (orientation:portrait){
 .toolbar.navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 0;padding:7px 6px;border-radius:22px}
 .toolbar button{grid-column:auto;min-height:49px;font-size:9px;padding:6px 2px}
 .toolbar #sit,.toolbar #kneel,.toolbar #pray,.toolbar #amen{min-height:50px}
 .toolbar #sit span,.toolbar #kneel span,.toolbar #pray span{max-width:none;overflow:visible;text-overflow:clip}
 .toolbar #sound span{font-size:9px}.toolbar #sound small{right:9px;bottom:0}
 .scene-help{bottom:155px}.visitor{bottom:177px}.toast{bottom:180px}#joystick{bottom:185px}
}
.amen-bubble{position:absolute;z-index:3;left:50%;bottom:165px;transform:translate(-50%,8px) scale(.96);min-width:112px;padding:16px 30px;border:1px solid #d9c79e;border-radius:24px;background:#fff9eb;color:#403b2c;font-family:var(--serif);font-size:24px;font-weight:600;text-align:center;line-height:1.4;box-shadow:0 6px 24px #171b1633;opacity:0;visibility:hidden;pointer-events:none;user-select:none;transition:opacity .18s,transform .18s,visibility .18s}
.amen-bubble:after{content:'';position:absolute;bottom:-9px;left:50%;width:16px;height:16px;background:#fff9eb;border-right:1px solid #d9c79e;border-bottom:1px solid #d9c79e;transform:translateX(-50%) rotate(45deg);border-radius:0 0 3px 0}
.amen-bubble.show{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1)}
@media(max-width:700px) and (orientation:portrait){.amen-bubble{left:max(50%,178px);bottom:230px;padding:13px 25px;font-size:22px;min-width:100px}}
@media(max-height:500px) and (orientation:landscape){.amen-bubble{bottom:135px;padding:10px 24px;font-size:20px}}
@media(prefers-reduced-motion:reduce){.amen-bubble{transition:none}}
.place-label{min-width:0}.church-name{display:block;font-weight:600;letter-spacing:.25px}.place-label small{font-size:9px;line-height:1.4;letter-spacing:.1px}
.support-menu{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:20px;text-align:left;min-height:46px;font-size:12px}
.support-menu span{display:flex;align-items:center;gap:10px}
.activity-panel.support-panel{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:440px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);height:auto;overscroll-behavior:contain;animation:support-in .2s ease-out}
.support-panel h2{font-size:26px;margin-top:20px}
.support-panel .panel-lead{font-size:13px;color:#6c7665;margin-bottom:20px;word-break:keep-all;overflow-wrap:break-word}
.support-panel .panel-lead p{margin:0 0 12px}
.support-panel #support-external-notice{color:#6c7665;margin:0 0 10px;font-size:11px}
.support-methods{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.support-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;text-decoration:none;color:var(--ink);font-size:12px;line-height:1.6}
.support-qr{margin:14px 0 0;text-align:center}
.support-qr img{display:block;width:160px;height:160px;object-fit:contain;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:7px;padding:8px}
.support-qr figcaption{margin:8px 0 0;color:#6c7665}
.support-panel .primary{margin-bottom:0;min-height:46px}
@keyframes support-in{from{opacity:0}to{opacity:1}}
@media(max-width:700px),(hover:none) and (pointer:coarse){.support-qr{display:none}}
@media(prefers-reduced-motion:reduce){.activity-panel.support-panel{animation:none}}
@media(max-width:700px){.church-name{font-size:11px}.place-label small{font-size:8px}}
@media(max-width:520px){.topbar{right:14px;border-radius:24px}.scene-tools{top:82px;right:14px}.scene-heading{top:84px;left:16px;width:calc(100% - 144px);max-width:none;transform:none;text-align:left}.scene-heading .eyebrow{letter-spacing:2px}.scene-heading p{margin-top:6px;font-size:8px}}

/* Votive offerings reuse the chapel's ivory and olive dialog controls. */
.offering-block{margin:24px 0;text-align:start}
.offering-block .section-label{margin-top:0}
.offering-amount-row{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;align-items:stretch}
.offering-amount-row .secondary{margin:0;min-height:46px;padding:8px;font-size:21px}
.offering-amount-row input{min-width:0;width:100%;margin:0;text-align:center;font:inherit;font-size:16px;color:var(--ink);border:1px solid var(--line);border-radius:5px;background:transparent;padding:10px}
.offering-block .support-link{width:100%;box-sizing:border-box;text-align:start;overflow-wrap:anywhere}
.support-qr img{width:180px;max-width:100%;height:auto;aspect-ratio:750/925;padding:0}
.coffee-pending:disabled{opacity:.65;cursor:default}
.coffee-pending>span:last-child{font-size:11px;white-space:nowrap}
.offering-message{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;line-height:1.9;overflow-wrap:break-word}
.offering-message h4{margin:0 0 10px;font-size:13px;font-weight:600}
.offering-message p{margin:0 0 14px}
.offering-note{font-size:12px;color:#67715f}
.offering-error{color:#8a4437;font-size:12px;line-height:1.7}
.offering-error[hidden]{display:none}

/* Presence sits directly under the Pyeongon wordmark. */
.brand-label{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:64px}
.brand-label strong{line-height:1.15}
.brand-label .online-count{font-family:var(--sans);font-size:8px;line-height:1.3;letter-spacing:0;font-weight:400;color:#e4e3cf;max-width:120px;white-space:normal;overflow-wrap:anywhere}
.online-count[data-state="error"]{color:#bcbba8}
@media(max-width:700px){.brand-label{min-width:56px}.brand-label .online-count{font-size:7px;max-width:78px}.topbar{min-height:44px}.brand-divider{height:30px}}
