#home{--ink:#f3e5bd;position:relative;isolation:isolate;display:block;min-height:100svh;height:100dvh;max-width:none;overflow:hidden;padding:0;margin:0;background:#263522;color:var(--ink);font-family:var(--serif)}
#home .garden-backdrop{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:55% 49%;z-index:-3}
#home::before,#home::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1}
#home::before{background:linear-gradient(90deg,rgba(23,44,24,.91),rgba(23,44,24,.82) 17%,rgba(24,45,27,.61) 22%,transparent 34%)}
#home::after{background:linear-gradient(0deg,#192211a6,transparent 15%,transparent 85%,#18261122)}
.portal-title{position:absolute;left:max(5.35vw,env(safe-area-inset-left));top:15.3%;display:flex;align-items:flex-start;flex-direction:column;gap:0}
.portal-title h1{margin:0;line-height:0}.portal-title h1 img{display:block;width:clamp(168px,min(16.4vw,29vh),350px);height:auto;filter:brightness(0) saturate(100%) invert(91%) sepia(23%) saturate(462%) hue-rotate(353deg) brightness(96%) contrast(87%)}
.portal-rule{width:clamp(26px,2.7vw,52px);height:1px;background:#ecdfb6;margin:clamp(15px,3.15vh,41px) 0 clamp(15px,2.35vh,32px)}
.portal-title p{margin:0;font:italic 400 clamp(22px,2.07vw,42px)/1.23 Georgia,'Times New Roman',serif;letter-spacing:.025em}
#enter{margin-top:clamp(26px,6.3vh,76px);min-width:clamp(170px,15.1vw,320px);height:clamp(46px,6.9vh,75px);padding:0 1.5em;display:inline-flex;align-items:center;justify-content:center;border:1px solid #efe2b9e3;color:var(--ink);border-radius:999px;gap:.69em;background:#243a22a6;font:400 clamp(18px,1.45vw,27px)/1 var(--serif);transition:background .18s,transform .18s}
#enter:hover,.portal-buttons button:hover,.map-preview:hover{background-color:#43583ade}#enter:active{transform:translateY(1px)}#enter svg{width:1.25em;height:1.1em}#enter em,.map-preview em,.foot-english{font-family:Georgia,serif;font-weight:normal}
.portal-tools{position:absolute;right:max(1.5vw,env(safe-area-inset-right));top:max(3.2vh,env(safe-area-inset-top));display:flex;flex-direction:column;align-items:flex-end;gap:clamp(13px,3.4vh,36px)}
.map-preview{width:clamp(142px,15.7vw,290px);background:#233621e3;color:var(--ink);border:1px solid #e0cf9d;border-radius:clamp(10px,1.1vw,20px);padding:0;overflow:hidden;backdrop-filter:blur(4px);text-align:left;box-shadow:0 4px 20px #13190930}
.map-preview canvas{width:100%;height:clamp(58px,11.8vh,136px);display:block;opacity:.94}.map-preview>span{border-top:1px solid #ddceaa99;display:flex;gap:.48em;align-items:center;padding:.59em .90em;font-size:clamp(15px,1.22vw,23px)}.map-preview svg{width:1.1em;margin-left:auto}
.portal-buttons{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.1vh,14px)}.portal-buttons button{color:var(--ink);background:#24361ad9;border:1px solid #e2d7afa8;backdrop-filter:blur(4px)}
.portal-buttons .portal-icon{width:clamp(41px,min(4.4vw,7.5vh),72px);height:clamp(41px,min(4.4vw,7.5vh),72px);padding:0;border-radius:50%;display:grid;place-items:center}.portal-icon svg{width:43%;height:43%}.portal-buttons .lang{border-radius:30px;font:15px Georgia,serif;padding:.48em .64em}.portal-buttons .home-full{width:35px;height:35px}
.portal-foot{position:absolute;left:max(3vw,env(safe-area-inset-left));right:10.7vw;bottom:max(3.1vh,env(safe-area-inset-bottom));border-top:1px solid #ecdfb7d9;display:flex;justify-content:space-between;align-items:center;padding-top:.48em;gap:12px;font-size:clamp(13px,1.04vw,20px);text-shadow:0 1px 3px #192211}
.portal-address{display:flex;align-items:center;gap:.75em}.portal-address svg{height:1.1em;width:1.1em;fill:#f2dfae44}.foot-english{border-left:1px solid #efe1b599;padding-left:.85em;font-style:italic;letter-spacing:.029em}.portal-foot time{white-space:nowrap;font-variant-numeric:tabular-nums}
.portal-compass{position:absolute;bottom:3.1vh;right:1.55vw;width:clamp(60px,6.4vw,123px);pointer-events:none}.portal-compass svg{width:100%;height:auto;stroke:var(--ink);stroke-width:.8;overflow:visible}.portal-compass text{fill:var(--ink);stroke:none;font:14px Georgia,serif;text-anchor:middle}.portal-compass .needle{fill:var(--ink);stroke:none}
html[lang=en] .enter-gloss,html[lang=en] .map-preview em,html[lang=en] .foot-english{display:none}
@media(max-width:1000px){.foot-english{display:none}.portal-title h1 img{width:min(23vw,30vh)}}
@media(max-width:700px) and (orientation:portrait){
 #home .garden-backdrop{object-position:63% 50%}
 #home::before{background:linear-gradient(90deg,#1c301db5 0,transparent 74%),linear-gradient(0deg,#182e1bea 1%,#1c361db3 29%,transparent 71%)}
 .portal-title{top:auto;bottom:19.8%;left:7.3vw}.portal-title h1 img{width:clamp(134px,38vw,205px)}.portal-title p{font-size:23px}.portal-rule{margin:18px 0 12px}
 #enter{margin-top:26px;height:45px;min-width:158px}.portal-tools{right:4vw;top:max(2.6vh,env(safe-area-inset-top));gap:14px}
 .portal-buttons{gap:8px;align-items:flex-end}.portal-buttons .portal-icon{width:38px;height:38px}.portal-buttons .lang{font-size:12px}.portal-buttons .home-full{width:31px;height:31px}
 .portal-foot{left:6vw;right:6vw;bottom:max(3.1vh,env(safe-area-inset-bottom));font-size:13px;align-items:flex-start;flex-direction:column;gap:4px}.portal-foot time{margin-left:1.85em}.portal-compass{right:5vw;bottom:calc(max(3.1vh,env(safe-area-inset-bottom)) + 1px);width:45px}.map-preview{width:147px}.map-preview>span>span{white-space:nowrap}.map-preview canvas{height:43px}.map-preview>span{font-size:14px}
}
@media(max-height:510px) and (orientation:landscape){
 .portal-title{top:10%}.portal-title h1 img{width:min(15vw,31vh)}.portal-title p{font-size:19px}.portal-rule{margin:12px 0 9px}#enter{min-width:136px;height:37px;font-size:16px;margin-top:20px}.portal-buttons{flex-direction:row;gap:6px}.portal-buttons .portal-icon,.portal-buttons .home-full{width:34px;height:34px}.portal-buttons .lang{font-size:12px}.map-preview canvas{height:45px}.map-preview>span{font-size:14px}.portal-foot{font-size:12px}
}
