@import"https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap";:root{font-family:Noto Sans KR,Apple SD Gothic Neo,system-ui,sans-serif;color:#403930;background:#f8f3e9;font-synthesis:none;font-smooth:always}*{box-sizing:border-box}html,body{margin:0;min-height:100%}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid #bc9c6c;outline-offset:3px}body{background:radial-gradient(circle at 49% -6%,#fffaf1 1%,#f8f3e9 42%,#ede6db)}.hidden{display:none!important}.mast{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 max(23px,calc((100vw - 1280px)/2));background:#fffcf7e8;border-bottom:1px solid #e9ddcb}.identity{display:flex;align-items:center;gap:11px}.identity .logo{width:40px;height:44px;display:grid;place-items:center;font:34px Georgia,serif;color:#ae8660}.identity b{display:block;font-family:AppleMyungjo,Batang,"Noto Serif CJK KR",Georgia,serif;font-size:19px;letter-spacing:-1px}.identity small{display:block;margin-top:5px;letter-spacing:2.8px;font-size:8px;color:#a4896b}.mast-actions{display:flex;gap:10px;align-items:center}.visitor-name{color:#9b8069;font-size:12px;margin-right:4px}.mast button{background:#fff8ee;border:1px solid #e7d5c0;border-radius:10px;padding:8px 13px;color:#765b45;min-height:36px;font-size:12px}.mast button.on{background:#9a7957;color:#fff}.page{max-width:1280px;margin:auto;padding:25px 22px 38px}.heading{text-align:center;margin:0 auto 21px}.overline{font-size:10px;color:#b28f63;letter-spacing:3.3px;font-weight:700}.heading h1{font:700 clamp(24px,3.6vw,35px) "AppleMyungjo","Batang","Noto Serif CJK KR",Georgia,serif;margin:10px 0 8px;line-height:1.3;color:#514235}.heading p{font-size:13px;color:#997c65;margin:0}.experience{display:grid;grid-template-columns:minmax(0,1fr) 254px;gap:0;background:#fff9ef;border:1px solid #e8ddcf;border-radius:20px;overflow:hidden;box-shadow:0 20px 65px #6b50331a,0 3px 14px #7c63400e}.scene{position:relative;min-height:0;height:min(64vw,620px);max-height:620px;overflow:hidden;background:linear-gradient(170deg,#c4d8d0,#ead1a7)}#world3d{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair;outline:none}.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#282b2029 0,transparent 18%,transparent 84%,#3d241d28 100%);pointer-events:none}.scene-top,.scene-bottom{position:absolute;left:18px;right:18px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:3;gap:10px}.scene-top{top:18px}.location,.camera-label,.toast{background:#fff8e9e8;color:#6a513e;border:1px solid #fff8ef88;border-radius:40px;padding:9px 14px;font-size:11px;box-shadow:0 3px 11px #38291d21;backdrop-filter:blur(8px)}.camera-label{background:#56463794;color:#fff5e7;border:0}.toast{max-width:80%;line-height:1.5}.scene-bottom button{pointer-events:auto;background:#fff8e9e9;color:#785d44;border:1px solid #ead6bd;border-radius:20px;padding:9px 12px;font-size:11px}.crosshair{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px;color:#fff8df66;pointer-events:none;display:none}.experience-rail{display:flex;flex-direction:column;justify-content:space-between;min-width:0;background:linear-gradient(168deg,#fff9ee,#f5ebdd);padding:28px 18px 21px;border-left:1px solid #e5d6c4}.rail-kicker{color:#b19772;letter-spacing:2px;font-size:9px;font-weight:700}.experience-rail h2{font:700 21px AppleMyungjo,Batang,"Noto Serif CJK KR",Georgia,serif;margin:12px 0;color:#634c3c;line-height:1.5}.experience-rail p{font-size:12px;line-height:1.9;color:#897563;margin:0}.rail-controls small{display:block;font-size:10px;color:#a99886;line-height:1.8;margin-top:15px}.actions{display:flex;flex-direction:column;gap:8px;max-height:340px;overflow-y:auto}.actions button,.dialog-actions button{border-radius:11px;border:1px solid #e4d3bd;background:#fffdf8;color:#69513f;min-height:42px;padding:10px 12px;font-size:12px;font-weight:600;transition:background .2s,transform .2s}.actions button:hover,.dialog-actions button:hover{background:#f4e4ce;transform:translateY(-1px)}.actions button.primary,.primary{border-color:#99734f;background:#99734f;color:#fff9ea}.actions button.primary:hover,.primary:hover{background:#876343}.rooms{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:15px}.rooms button{border:1px solid #e7d9c6;color:#8b7663;border-radius:12px;background:#fffcf7;padding:14px 5px;font-size:12px;transition:.15s}.rooms button:hover{background:#f4eadb}.rooms button.current{background:#8d7253;color:#fff9ed;border-color:#8d7253;box-shadow:0 4px 12px #74503f2a}.lower{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:23px 0}.lower p{color:#aa9682;font-size:11px;margin:0}.lower div{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.lower a,.lower button{color:#9f8067;font-size:11px;text-decoration:none}.lower a:hover{text-decoration:underline}.lower button{border:0;background:none;padding:3px}.cover,.dialog{position:fixed;inset:0;z-index:100;background:#2b2824a3;display:grid;place-items:center;padding:14px;backdrop-filter:blur(7px);overflow-y:auto}.welcome{max-width:540px;width:100%;max-height:96vh;overflow-y:auto;background:#fffaf2;border:1px solid #e8d7bf;border-radius:23px;box-shadow:0 28px 85px #1d171535;padding:27px 33px 24px;text-align:center}.spark{color:#b8905f;font:40px Georgia,serif;line-height:1;margin-bottom:8px}.welcome h2{font:700 31px AppleMyungjo,Batang,"Noto Serif CJK KR",Georgia,serif;letter-spacing:-1px;margin:12px 0 14px}.welcome p{color:#887666;font-size:12px;line-height:1.95;margin:0 0 20px}.welcome label{display:block;text-align:left;color:#745f4d;font-size:12px;font-weight:700;margin:17px 0 7px}.welcome input{display:block;width:100%;border:1px solid #decbb2;background:#fff;border-radius:10px;padding:12px 13px;color:#58483a}.avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.avatar-item{border:2px solid #eddfcd;background:#fffdf9;border-radius:13px;padding:7px 4px 9px;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.avatar-item.selected{background:#f9eddb;border-color:#aa855b;box-shadow:0 3px 12px #8d6b4230}.avatar-item:hover{border-color:#b69977}.avatar-item svg{width:min(90%,82px);height:91px;object-fit:contain}.avatar-item span{font-size:10px;color:#756450;white-space:nowrap}.welcome button.enter{display:flex;justify-content:center;align-items:center;gap:15px;width:100%;border:0;border-radius:11px;margin:21px 0 12px;padding:13px 15px;font-size:13px;font-weight:700}.welcome small{display:block;color:#a59989;font-size:10px;line-height:1.8}.dialog{z-index:150}.dialog-panel{background:#fffbf4;border:1px solid #e8d6bc;border-radius:19px;width:min(94vw,510px);padding:26px 28px;position:relative;box-shadow:0 20px 70px #1a140b39}.dialog-panel h2{font:700 24px AppleMyungjo,Batang,"Noto Serif CJK KR",Georgia,serif;color:#5a4636;margin:7px 0 20px}.dialog-panel p{color:#756451;font-size:13px;line-height:1.9}.close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:27px;color:#826c58}.dialog textarea{width:100%;min-height:165px;resize:vertical;background:#fff;border:1px solid #e1d1be;padding:12px;border-radius:9px;line-height:1.6}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.note-small{font-size:11px!important;color:#ae9b89!important}.scripture{font:18px/2 AppleMyungjo,Batang,"Noto Serif CJK KR",Georgia,serif!important;background:#f6eee1;border-left:3px solid #bd9671;padding:17px;color:#6d523c!important}.joystick{position:absolute;bottom:57px;left:24px;width:112px;height:112px;border:1px solid #fffbe4a8;background:#564e477a;border-radius:50%;z-index:7;display:none;touch-action:none;align-items:center;justify-content:center;box-shadow:0 5px 20px #3c2f2550;backdrop-filter:blur(5px)}.joystick:before,.joystick:after{content:"";position:absolute;background:#fff7e966}.joystick:before{width:1px;height:84px}.joystick:after{height:1px;width:84px}#joystickKnob{position:relative;z-index:2;width:46px;height:46px;border-radius:50%;background:#fff9eacf;border:1px solid white;box-shadow:0 3px 14px #0002}.webgl-error{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;background:#f4e7d1;text-align:center;color:#725d4c}.webgl-error h2{font:26px Georgia,serif}.scene:fullscreen{height:100vh;max-height:none;background:#1e1b1a}.scene:fullscreen .joystick{display:flex}.scene:fullscreen .scene-shade{display:none}@media(pointer:coarse){.joystick{display:flex}.camera-label{display:none}}@media(max-width:1000px){.page{padding:20px 11px}.experience{grid-template-columns:minmax(0,1fr) 205px}.experience-rail{padding:18px 13px}.scene{height:min(65vw,540px)}.rail-controls small{display:none}.experience-rail h2{font-size:19px}.actions button{font-size:11px;min-height:39px}}@media(max-width:720px){.mast{height:64px;padding:0 13px}.identity b{font-size:15px}.identity .logo{font-size:25px;width:27px}.identity small{font-size:7px;letter-spacing:1.6px}.mast-actions{gap:5px}.visitor-name{display:none}.mast button{padding:6px 8px;font-size:11px;min-height:32px}.page{padding:15px 8px 25px}.heading{margin-bottom:12px}.heading h1{font-size:23px;margin:8px 0}.heading p{font-size:11px}.overline{font-size:9px;letter-spacing:1.7px}.experience{display:block;border-radius:13px}.scene{height:min(77vh,630px);max-height:none}.experience-rail{display:block;border-left:0;border-top:1px solid #e4d5c1;padding:15px 14px 17px}.rail-kicker,.experience-rail h2,.experience-rail p{display:none}.actions{flex-direction:row;flex-wrap:wrap;max-height:none;gap:7px}.actions button{min-height:36px;font-size:11px;flex:1;white-space:nowrap;padding:9px 10px}.rooms{display:flex;overflow-x:auto;scrollbar-width:thin;gap:6px;padding-bottom:6px;margin-top:9px}.rooms button{min-width:102px;padding:11px 6px;font-size:11px}.scene-top{left:9px;right:9px;top:10px}.scene-bottom{left:9px;right:9px;bottom:10px}.location,.toast{font-size:10px;padding:7px 9px}.toast{max-width:62%}.joystick{left:15px;bottom:56px;width:98px;height:98px}.joystick:before{height:73px}.joystick:after{width:73px}.lower{display:block;padding:14px 4px}.lower p{font-size:10px;margin-bottom:9px}.welcome{padding:19px 17px}.welcome h2{font-size:25px}.welcome p{font-size:11px}.avatar-item{padding:5px 2px}.avatar-item svg{height:68px}.avatar-item span{font-size:9px}.dialog-panel{padding:23px 19px}}@media(max-width:390px){.scene{height:69vh}.joystick{width:83px;height:83px;bottom:61px}.joystick:after{width:66px}.joystick:before{height:66px}#joystickKnob{width:37px;height:37px}}@media(prefers-reduced-motion:reduce){.actions button,.rooms button{transition:none}.cover,.dialog{backdrop-filter:none}}.book-reader{background:linear-gradient(90deg,#eee0c6,#fffaed 5%,#fff9e8 49%,#e7d9bd,#fff9e8 51%,#fffaed 95%,#ead8b8);border:1px solid #d8bea0;border-radius:8px 14px 14px 8px;box-shadow:0 15px 38px #6b4c3040,inset 9px 0 13px #9f76531a;min-height:285px;padding:24px 30px;color:#614b37}.book-head{font-size:10px;letter-spacing:2px;color:#ae8e6d;text-align:center}.book-reader h3{font:700 22px/1.4 AppleMyungjo,Batang,Georgia,serif;text-align:center;margin:16px 0}.book-reader p{font-size:14px!important;line-height:2.15!important;color:#5d4b39!important;min-height:110px;white-space:pre-line}.book-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #d8c4a7;padding-top:13px;font-size:12px;color:#a98b6a}.book-foot div{display:flex;gap:7px}.book-foot button{background:#fff8e9;border:1px solid #d7bea0;color:#76573d;border-radius:6px;padding:7px 10px;font-size:12px}.book-foot button:disabled{opacity:.35;cursor:default}@media(max-width:720px){.book-reader{padding:20px 14px;min-height:250px}.book-reader p{font-size:13px!important}}.scene-inline-buttons{display:flex;align-items:center;gap:7px;pointer-events:auto}.map-panel{position:absolute;right:13px;top:59px;z-index:10;display:flex;flex-direction:column;align-items:center;width:197px;padding:10px 9px 9px;background:#fdf6e9f0;border:1px solid #d8c4a8;border-radius:13px;box-shadow:0 12px 35px #30231945;color:#79624b;backdrop-filter:blur(12px)}.map-panel span{font-size:12px;font-weight:700;margin-bottom:6px}.map-panel canvas{display:block;width:176px;height:215px;border-radius:7px;max-width:100%}.map-panel small{font-size:9px;line-height:1.6;text-align:center;color:#94795e;margin-top:5px}@media(max-width:720px){.map-panel{width:174px;right:7px;top:48px;padding:7px 5px}.map-panel canvas{width:156px;height:190px}.scene-inline-buttons{gap:5px}}.experience{display:block;background:#201b1c;border-color:#77695d;box-shadow:0 26px 70px #261d1f50}.experience-rail{display:none!important}.scene{width:100%;height:min(78vh,840px);max-height:840px;background:#4b4442}.scene-shade{background:linear-gradient(180deg,#130d0d3c,transparent 24%,transparent 76%,#20161752)}.interaction-tip{position:absolute;top:69px;left:18px;background:#2d2626ae;color:#f6e6d0;border:1px solid #9c876e66;border-radius:30px;padding:8px 13px;font-size:11px;pointer-events:none;z-index:3}.scene-top,.scene-bottom{z-index:4}.map-panel{z-index:14}.rooms{grid-template-columns:repeat(5,minmax(0,1fr))}.heading h1{color:#584339}.mast{background:#faf6ed;border-color:#d5c5b2}@media(max-width:720px){.experience{display:block}.scene{height:min(77dvh,770px);max-height:none}.interaction-tip{left:8px;top:47px;right:8px;font-size:9px;text-align:center;padding:5px 8px}.rooms{display:flex}.rooms button{min-width:118px}}.mast{height:64px;background:#fff9ed;border-bottom:1px solid #d4c1a5}.mast .identity b{font-size:18px;color:#65482f}.heading{padding-top:10px;margin-bottom:9px}.heading h1{font-size:29px;margin:6px 0 8px;font-family:Nanum Myeongjo,AppleMyungjo,Georgia,serif;color:#634a35}.heading .overline,.heading p{display:none}.page{max-width:1600px;padding-top:8px}.scene{height:min(81vh,920px);max-height:none;border-radius:17px}.scene-shade{background:linear-gradient(180deg,rgba(53,34,24,.12),transparent 18%,transparent 82%,rgba(48,27,18,.22))}.scene-top{top:15px;left:18px;right:18px}.scene-bottom{bottom:16px}.location{font-weight:600;background:#fff8e9e3}.camera-label{background:#2f231f7d;color:#fff3df}.interaction-tip{top:58px;background:#29242091;border-color:#d6bd9d40}.rooms{margin-top:11px}.rooms button{border-radius:10px;font-size:13px;padding:12px 6px}.rooms button.current{background:#87613b;color:#fff3dc}.lower{opacity:.68;gap:10px}.map-panel{background:#fff8ebed}@media(max-width:720px){.mast{height:54px;padding:0 12px}.identity b{font-size:14px!important}.identity small{font-size:6px!important}.mast .logo{font-size:25px}.page{padding:6px 5px 12px}.heading{margin:4px 0 7px}.heading h1{font-size:20px!important;margin:5px 0!important}.scene{height:calc(100dvh - 173px);min-height:390px;max-height:none;border-radius:10px}.interaction-tip{top:48px;left:8px;right:auto;font-size:10px;max-width:86%}.location,.toast{font-size:11px}.rooms{margin-top:6px;gap:6px;padding-bottom:5px}.rooms button{font-size:11px;min-height:44px;min-width:115px;padding:9px 6px}.joystick{left:13px;bottom:69px;width:96px;height:96px}.lower{padding:5px 3px;font-size:10px}.lower>p{display:none}.map-panel{top:53px;right:9px}.scene-top{top:9px;left:9px;right:9px}}.dialog-panel:has(.dialog-actions):not(:has(.book-reader)):not(:has(textarea)){width:min(88vw,350px);padding:17px 19px;border-radius:15px}.dialog-panel:has(.dialog-actions):not(:has(.book-reader)):not(:has(textarea)) h2{font-size:clamp(15px,4vw,18px);line-height:1.5;margin:7px 26px 13px 0}.dialog-panel:has(.dialog-actions):not(:has(.book-reader)):not(:has(textarea)) .dialog-actions button{font-size:13px;padding:9px 12px}:root,body,button,input,select,textarea,.dialog-panel,.dialog-panel h2,.heading h1,.identity b{font-family:Malgun Gothic,맑은 고딕,Noto Sans KR,Apple SD Gothic Neo,Arial,sans-serif!important}.dialog-panel:has(.dialog-actions):not(:has(textarea)):not(:has(.book-reader)){box-sizing:border-box;width:min(84vw,330px)!important;padding:15px 17px!important;border-radius:14px!important}.dialog-panel:has(.dialog-actions):not(:has(textarea)):not(:has(.book-reader)) h2{font-family:Malgun Gothic,맑은 고딕,Noto Sans KR,sans-serif!important;font-size:15px!important;line-height:1.48!important;font-weight:600!important;letter-spacing:-.045em;margin:5px 29px 12px 0!important;overflow-wrap:break-word}.dialog-panel:has(.dialog-actions):not(:has(textarea)):not(:has(.book-reader)) .dialog-actions{gap:7px;margin-top:10px}.dialog-panel:has(.dialog-actions):not(:has(textarea)):not(:has(.book-reader)) .dialog-actions button{font-family:inherit!important;font-size:12px!important;padding:8px 10px!important}.dialog-panel:has(.dialog-actions):not(:has(textarea)):not(:has(.book-reader)) .close{font-size:22px;right:10px;top:7px}.dialog-panel:has(.crucifix-preview){width:min(95vw,880px);max-height:90vh;overflow-y:auto;box-sizing:border-box}.crucifix-preview{display:block;width:100%;aspect-ratio:16/10;min-height:300px;border:1px solid #dac5a8;border-radius:10px;background:#e9e5df}@media(max-width:720px){.crucifix-preview{min-height:240px;aspect-ratio:4/5}}
