.world3d{position:relative;background:#d2c5a5;height:clamp(460px,65vh,690px);isolation:isolate;overflow:hidden}
.world-canvas,.world-canvas canvas{display:block;position:absolute;inset:0;width:100%;height:100%}.world-canvas canvas{touch-action:none;outline-offset:-4px;cursor:grab}.world-canvas canvas:active{cursor:grabbing}
.world-heading{position:absolute;left:20px;right:20px;top:18px;display:flex;justify-content:space-between;gap:10px;align-items:center;pointer-events:none}.world-heading>span{color:#fff8e7;text-shadow:0 1px 5px #2c231b;background:#342c21b8;border:1px solid #e8d0a54a;border-radius:30px;padding:8px 14px;font-size:15px;letter-spacing:1px;backdrop-filter:blur(8px)}
.world-heading button,.view-controls button{pointer-events:auto;color:#3c3023;background:#fff8e9ed;border:1px solid #bba47c;box-shadow:0 3px 12px #39271320;border-radius:7px;min-height:46px;padding:8px 14px;font-size:16px}
.world-help{position:absolute;left:50%;top:70px;transform:translateX(-50%);background:#fff8e8e8;border:1px solid #d5c09a;border-radius:30px;color:#5e4c31;box-shadow:0 4px 14px #45321d15;padding:8px 18px;margin:0;white-space:nowrap;font-size:16px;pointer-events:none;transition:opacity .5s}.has-moved .world-help{opacity:0}
.direction-pad{position:absolute;left:20px;bottom:22px;display:grid;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(3,46px);gap:4px;background:#4e402336;border:1px solid #fff3d87a;border-radius:26px;padding:6px;backdrop-filter:blur(7px);touch-action:none;user-select:none;-webkit-user-select:none}
.direction-pad button{border:1px solid #c5b18c;background:#fff8e9ed;color:#51412b;font-size:27px;line-height:1;border-radius:12px;touch-action:none;min-height:46px;box-shadow:0 2px 6px #34221623}
.direction-pad button.is-held{background:#ab8148;color:#fff}.direction-pad>span{grid-column:2;grid-row:2;display:grid;place-items:center;color:#fff5df;font-family:var(--serif);font-size:19px;pointer-events:none;text-shadow:0 1px 4px #332313}.move-forward{grid-column:2;grid-row:1}.move-left{grid-column:1;grid-row:2}.move-right{grid-column:3;grid-row:2}.move-back{grid-column:2;grid-row:3}
.view-controls{position:absolute;right:20px;bottom:25px;display:grid;gap:9px}.view-controls button{font-size:26px;width:48px;height:48px;padding:0}
.world-seat-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:17px 24px 0;color:#e9d7b6}.world-seat-picker label{font-size:17px;margin-right:3px}.world-seat-picker select{font:inherit;font-size:18px;min-height:48px;padding:7px 26px 7px 10px;color:#f2e0bd;background:#4b3c2d;border:1px solid #aa8957;border-radius:5px;max-width:100%}.world-seat-picker button{min-height:48px;padding:8px 15px;font-size:18px;color:#f4dfb8;border:1px solid #aa8957;border-radius:5px;background:#493626}.world-seat-picker #takeSeat{background:#d3b178;color:#30261b;border-color:#d3b178}
.world-fallback{margin:0;padding:14px 20px;background:#4b3b2a;color:#efdcba;font-size:16px}.scene-actions:has(#prayerButton:not([hidden])){grid-template-columns:repeat(3,1fr)}.scene-actions:has(#prayerButton:not([hidden])) .action-btn{font-size:17px;padding:9px 5px}.scene-actions:has(#prayerButton:not([hidden])) .action-btn svg{display:none}
.focus-mode .hall-layout{max-width:1280px}.focus-mode main{max-width:1400px}.focus-mode .world3d{height:70svh;min-height:420px;max-height:800px}.focus-mode .world-seat-picker{padding-top:14px}.focus-mode .scene-bottom{padding-bottom:16px}.focus-mode .scene-bottom p{min-height:0}
@media(max-width:650px){.world3d{height:560px;max-height:78svh;min-height:430px}.world-heading{left:12px;right:12px;top:12px;gap:6px}.world-heading>span{font-size:13px;padding:7px 9px;letter-spacing:0}.world-heading button{font-size:15px;padding:6px 10px}.world-help{font-size:14px;padding:7px 12px;top:69px}.direction-pad{left:12px;bottom:18px;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:3px;padding:5px;border-radius:22px}.direction-pad button{min-height:44px;font-size:26px}.view-controls{right:13px;bottom:20px}.world-seat-picker{padding:16px 14px 0;gap:8px}.world-seat-picker label{width:100%;font-size:17px}.world-seat-picker select{flex:1;min-width:130px;font-size:18px}.world-seat-picker button{font-size:17px;padding:8px 11px}.scene-actions:has(#prayerButton:not([hidden])){gap:7px}.scene-actions:has(#prayerButton:not([hidden])) .action-btn{font-size:17px}.focus-mode .world3d{height:65svh;min-height:400px}.focus-mode .scene-toolbar{padding:12px 14px}}
@media(orientation:landscape) and (max-height:600px){.world3d,.focus-mode .world3d{height:75svh;min-height:270px;max-height:none}.direction-pad{grid-template-columns:repeat(3,40px);grid-template-rows:repeat(3,40px);bottom:12px}.direction-pad button{min-height:40px;font-size:23px}.world-help{top:66px;font-size:14px}.focus-mode .hall-header{display:none}.focus-mode .hall-layout{margin:0 auto}.focus-mode main{padding:0}.focus-mode .world3d{height:calc(100svh - 176px);min-height:235px}.focus-mode .scene-toolbar{display:none}.focus-mode .world-seat-picker{padding:8px 14px 0}.focus-mode .world-seat-picker label{width:auto}.focus-mode .scene-bottom{padding:8px 14px}.focus-mode .scene-bottom p{margin-bottom:6px;font-size:15px}.focus-mode .action-btn{min-height:44px}}
@media(prefers-reduced-motion:reduce){.world-help{transition:none}}
.flat-scene .shrine{background:radial-gradient(circle at 50% 39%,#e5d5a8 0 22%,#f1e8d7 22.3% 100%)}
.flat-scene .shrine img{object-fit:contain;padding:2% 0 5%}
.flat-scene .shrine-shade{background:linear-gradient(transparent 78%,#d2c3a580)}
.flat-scene .sanctuary-caption{color:#665036;text-shadow:none}
