/* Public navigation is isolated from page and game styles. */
:root{--hs-height:76px}
html{scroll-padding-top:calc(var(--hs-height) + 20px)}
.hs-header{height:var(--hs-height);box-sizing:border-box;position:sticky;top:0;z-index:40;width:100%;margin:0;border:0;border-bottom:1px solid #d7dbd0;background:#f5f3eef5;color:#263e34;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font:14px/1.5 Hanlife,'Pretendard Variable',Pretendard,system-ui,sans-serif}
.hs-header .hs-inner{width:min(1260px,100%);height:calc(var(--hs-height) - 1px);min-height:0;box-sizing:border-box;padding:0 40px;margin:auto;display:flex;align-items:center;justify-content:flex-start;gap:40px}
.hs-brand{display:inline-flex;flex:none;text-decoration:none}
.hs-brand img{display:block;width:112px;height:auto;aspect-ratio:184/64;object-fit:contain}
.hs-header a,.hs-menu a{color:#263e34;text-decoration:none}
.hs-header .hs-desktop{display:flex;gap:28px;align-items:center;font-size:14px}
.hs-actions{margin-left:auto;display:flex;align-items:center;gap:20px}
.hs-actions>a[data-service-account]{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.hs-header svg,.hs-menu svg{width:20px;height:20px;flex:none;display:block}
.hs-header .hs-start{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #315242;border-radius:6px;background:#315242;color:#fffdf7;font-weight:600;white-space:nowrap}
.hs-context{font-size:12px;color:#64736a;white-space:nowrap}
.hs-header .hs-menu-button,.hs-menu [data-service-close]{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:6px;background:transparent;color:#263e34;font:inherit;cursor:pointer}
.hs-header a:hover,.hs-menu a:hover{color:#a85139}
.hs-header .hs-start:hover{color:#fff;background:#243e31}
.hs-menu-button:hover,.hs-menu [data-service-close]:hover{background:#e8ece2}
.hs-desktop [aria-current=page]{font-weight:650;text-decoration:underline;text-decoration-color:#315242;text-underline-offset:8px}
.hs-header :is(a,button):focus-visible,.hs-menu :is(a,button):focus-visible{outline:3px solid #a85139;outline-offset:3px}
.hs-skip{position:fixed;left:16px;top:-120px;z-index:1000;background:#fffdf7;color:#263e34;padding:12px;text-decoration:none}
.hs-skip:focus{top:12px}
.hs-menu{position:fixed;inset:0 0 0 auto;box-sizing:border-box;width:min(420px,100%);height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-left:1px solid #d7dbd0;border-radius:0;padding:24px 28px calc(24px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;background:#f5f3ee;color:#263e34;font:16px/1.5 Hanlife,'Pretendard Variable',Pretendard,system-ui,sans-serif;box-shadow:-12px 0 50px #172d2520}
.hs-menu::backdrop{background:#1c302750;backdrop-filter:blur(3px)}
.hs-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
.hs-menu h2{font:650 22px/1.4 Hanlife,'Pretendard Variable',Pretendard,system-ui,sans-serif;letter-spacing:-.6px;margin:0}
.hs-menu nav{display:grid;gap:28px;font:inherit}
.hs-menu-group{display:grid;gap:4px}
.hs-menu-group p{margin:0 0 10px;color:#69776e;font-size:12px}
.hs-menu-group a{min-height:48px;box-sizing:border-box;padding:12px 10px;display:flex;align-items:center;gap:10px;border-radius:6px;line-height:1.5;word-break:keep-all}
.hs-menu-group a:hover{background:#e8ece2}
.hs-menu-group a[aria-current=page]{background:#e5ebdf;font-weight:650}
.hs-menu-help{display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid #d7dbd0;padding-top:24px;margin-top:28px;font-size:13px}
body[data-service-page=play] #one-life .hanlife-brand,body[data-service-page=play] #one-life .account-entry{display:none}
body[data-service-page=play] #one-life .life-topbar{top:var(--hs-height);scroll-margin-top:var(--hs-height)}
body[data-service-page=play] #one-life .life-topbar:has(#life-explore[hidden]){display:none}
body[data-service-page=play] #one-life #life-reader{top:calc(var(--hs-height) + 60px)}
body[data-service-page=policy]:has(.hs-policy){max-width:none;padding:0;margin:0}
.hs-policy{max-width:640px;margin:36px auto;padding:0 24px 48px}
@media(max-width:900px){.hs-header .hs-inner{padding-inline:24px;gap:24px}.hs-header .hs-desktop{gap:20px}.hs-actions{gap:12px}.hs-context{display:none}}
@media(max-width:760px){:root{--hs-height:64px}.hs-header .hs-inner{padding-inline:20px;gap:12px}.hs-brand img{width:98px}.hs-header .hs-desktop,.hs-header .hs-start{display:none}.hs-actions{gap:8px}.hs-actions>a[data-service-account]{font-size:13px;padding:0 8px}.hs-menu-button span{display:none}.hs-menu{padding:20px 24px calc(24px + env(safe-area-inset-bottom))}.hs-header .hs-menu-button{padding:10px}.hs-menu-group a{font-size:16px}}
@media(max-width:359px){.hs-header .hs-inner{padding-inline:12px}.hs-actions{gap:2px}.hs-brand img{width:92px}.hs-actions>a[data-service-account]{font-size:12px;gap:6px;padding:0 4px}}
@media(prefers-reduced-transparency:reduce){.hs-header{background:#f5f3ee;backdrop-filter:none}.hs-menu::backdrop{backdrop-filter:none}}
