/* Shared geometry from first paint, with no measured or animated positioning. */
.pg-bottom-nav{display:none}
@media(max-width:780px){
html,html body{transform:none!important;filter:none!important;perspective:none!important;contain:none!important;will-change:auto!important;scroll-behavior:auto!important}
html body{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;min-height:100svh}
html body.academy>.pg-bottom-nav.pg-bottom-nav,html body>.pg-bottom-nav.pg-bottom-nav{position:fixed!important;z-index:950!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;gap:2px!important;left:16px!important;right:16px!important;top:auto!important;bottom:calc(3px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:440px!important;box-sizing:border-box!important;height:64px!important;min-height:64px!important;max-height:64px!important;margin:0 auto!important;padding:6px!important;border-radius:24px!important;border:1px solid #ffffff36!important;background:rgba(24,29,35,.38)!important;box-shadow:0 8px 28px #13203224,inset 0 1px 0 #ffffff24!important;backdrop-filter:blur(14px) saturate(150%)!important;-webkit-backdrop-filter:blur(14px) saturate(150%)!important;animation:none!important;transition:none!important;transform:none!important;opacity:1!important}
html:not([data-pg-theme=dark]) body>.pg-bottom-nav.pg-bottom-nav{background:rgba(255,255,255,.38)!important;border-color:#ffffffb0!important}
html body>.pg-bottom-nav.pg-bottom-nav>a{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;box-sizing:border-box!important;min-width:0!important;height:50px!important;min-height:50px!important;max-height:50px!important;padding:0!important;margin:0!important;border:0!important;border-radius:18px!important;background:transparent!important;color:#aab6c4!important;text-decoration:none!important;transform:none!important;transition:background-color .15s ease!important;-webkit-tap-highlight-color:transparent}
html:not([data-pg-theme=dark]) body>.pg-bottom-nav.pg-bottom-nav>a{color:#111111!important}
html body>.pg-bottom-nav.pg-bottom-nav>a[aria-current=page]{background:#ffffff1a!important;color:white!important}
html:not([data-pg-theme=dark]) body>.pg-bottom-nav.pg-bottom-nav>a[aria-current=page]{background:#e4e5e7!important;color:#000000!important}
html body>.pg-bottom-nav.pg-bottom-nav>a svg{display:block!important;width:26px!important;height:26px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.5!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:none!important}
html body>.pg-bottom-nav .pg-tab-label,html body>.pg-bottom-nav .pg-selected-pill{display:none!important}
html body>.pg-bottom-nav>a:focus-visible{outline:2px solid currentColor!important;outline-offset:-2px}
}

/* Native page transitions retain the navigation shell and move only its selection. */
@view-transition{navigation:auto}
@media(max-width:780px){
 html body .pg-bottom-nav.pg-nav-ready{view-transition-name:pg-navigation}
 html body>.pg-site-header{view-transition-name:pg-site-header}
 html body .pg-bottom-nav.pg-bottom-nav.pg-nav-ready>a[aria-current=page]{background:transparent!important;color:#1e2024!important}
 html body .pg-bottom-nav.pg-nav-ready>a svg{position:relative;z-index:1}
 html body .pg-bottom-nav.pg-nav-ready .pg-nav-indicator{position:absolute;inset:0;display:block;pointer-events:none;border-radius:18px;background:#e4e5e7;view-transition-name:pg-nav-indicator;z-index:0}
 html body .pg-bottom-nav.pg-nav-ready>a{isolation:isolate}
 ::view-transition-group(pg-navigation),::view-transition-group(pg-site-header){animation-duration:.2s;animation-timing-function:ease}
 ::view-transition-old(pg-navigation),::view-transition-old(pg-site-header){display:none}
 ::view-transition-new(pg-navigation),::view-transition-new(pg-site-header){animation:none}
 ::view-transition-group(pg-nav-indicator){animation-duration:.32s;animation-timing-function:cubic-bezier(.22,.75,.2,1);z-index:10}
 ::view-transition-old(pg-nav-indicator){display:none}
 ::view-transition-new(pg-nav-indicator){animation:none}
}
::view-transition-group(root){animation-duration:.2s}
::view-transition-old(root){animation-duration:.16s}
::view-transition-new(root){animation-duration:.2s}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation-duration:.001s!important}
}
/* Keep icon snapshots above the moving selection surface. */
@media(max-width:780px){
 ::view-transition-group(pg-nav-icon-0),::view-transition-group(pg-nav-icon-1),::view-transition-group(pg-nav-icon-2),::view-transition-group(pg-nav-icon-3),::view-transition-group(pg-nav-icon-4){z-index:20;animation-duration:.2s}
 ::view-transition-old(pg-nav-icon-0),::view-transition-old(pg-nav-icon-1),::view-transition-old(pg-nav-icon-2),::view-transition-old(pg-nav-icon-3),::view-transition-old(pg-nav-icon-4){display:none}
 ::view-transition-new(pg-nav-icon-0),::view-transition-new(pg-nav-icon-1),::view-transition-new(pg-nav-icon-2),::view-transition-new(pg-nav-icon-3),::view-transition-new(pg-nav-icon-4){animation:none}
}

/* Quiet selection surface; the same element still travels between tabs. */
@media(max-width:780px){
 html[data-pg-theme=dark] body .pg-bottom-nav.pg-bottom-nav.pg-nav-ready>a[aria-current=page]{color:#f4f4f5!important}
 html[data-pg-theme=dark] body .pg-bottom-nav.pg-nav-ready .pg-nav-indicator{background:#3a3c40;box-shadow:inset 0 1px 0 #ffffff0c}
 html:not([data-pg-theme=dark]) body>.pg-bottom-nav.pg-bottom-nav>a[aria-current=page]{background:#e4e5e7!important}
 html body .pg-bottom-nav.pg-bottom-nav.pg-nav-ready>a[aria-current=page]{background:transparent!important}
}
/* 2026-11: text labels under the bottom-tab icons */
html body .pg-bottom-nav.pg-bottom-nav>a{flex-direction:column!important;gap:3px!important}
html body .pg-bottom-nav.pg-bottom-nav>a svg{width:22px!important;height:22px!important;stroke-width:1.7!important}
html body .pg-bottom-nav .pg-tab-text{display:block;font:700 10.5px/1 Pretendard,'Noto Sans KR',system-ui,sans-serif;letter-spacing:-.2px;white-space:nowrap}
html body .pg-bottom-nav .pg-tab-text{position:relative;z-index:2}
