/* All six links remain available at every viewport size. */
#byk-shared-service-rail.byk-service-menu{display:block!important;position:fixed!important;right:auto!important;left:10px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:94px!important;max-width:none!important;max-height:calc(100dvh - 20px);overflow-y:auto!important;padding:0!important;border:1px solid #dfd9eb!important;border-radius:20px!important;background:#fff!important;box-shadow:0 8px 26px #30205a26;z-index:90;font-family:inherit}
#byk-shared-service-rail nav{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
#byk-shared-service-rail nav a{display:flex!important;visibility:visible!important;opacity:1!important;flex-direction:column!important;gap:7px!important;align-items:center;justify-content:center;margin:0!important;padding:13px 3px!important;min-height:76px!important;box-sizing:border-box;border:0!important;border-radius:0!important;font-size:12px!important;font-weight:700;text-decoration:none;line-height:1.3}
#byk-shared-service-rail .bk-rail-home{background:#f5f3fb!important;color:#41337d!important}
#byk-shared-service-rail .bk-rail-trial{background:#633db0!important;color:#fff!important}
#byk-shared-service-rail .bk-rail-event{background:#f9e1eb!important;color:#733e65!important}
#byk-shared-service-rail .bk-rail-kakao{background:#FEE500!important;color:#17665c!important}
#byk-shared-service-rail .bk-rail-room{background:#e5e7fa!important;color:#414c98!important}
#byk-shared-service-rail .bk-rail-enroll{background:#fff!important;color:#38475e!important}
#byk-shared-service-rail svg{display:block!important;width:24px!important;height:24px!important;flex-shrink:0}
#byk-shared-service-rail .bk-trial-close{position:static!important;display:block!important;width:100%;height:35px;background:#f0eef5;color:#655d73;font-size:12px;border:0;cursor:pointer}
#byk-shared-service-rail a:hover{filter:brightness(.96)}
#byk-shared-service-rail a:focus-visible,#byk-shared-service-rail button:focus-visible{outline:3px solid #9275cc;outline-offset:-3px}
@media(max-width:800px){
 #byk-shared-service-rail.byk-service-menu{top:auto!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;right:auto!important;left:8px!important;transform:none!important;width:min(330px,calc(100vw - 16px))!important;border-radius:14px!important;max-height:calc(100dvh - 100px)}
 #byk-shared-service-rail nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #byk-shared-service-rail nav a{min-height:55px!important;padding:6px 2px!important;gap:3px!important;font-size:11px!important}
 #byk-shared-service-rail svg{width:20px!important;height:20px!important}
 #byk-shared-service-rail .bk-trial-close{height:26px}
}

/* Legacy page-local menus never compete with the shared menu. */
.bk-service-rail:not(#byk-shared-service-rail){display:none!important}


/* Leave the reading column clear when there is no room for a side rail. */
#byk-shared-service-rail .bk-rail-launcher{display:none}
@media(max-width:1420px){
 #byk-shared-service-rail.byk-service-menu{top:auto!important;bottom:20px!important;left:12px!important;right:auto!important;transform:none!important;width:auto!important;max-width:calc(100vw - 24px)!important;border-radius:14px!important;max-height:calc(100dvh - 40px)}
 #byk-shared-service-rail.byk-service-menu:not(.is-open) nav,#byk-shared-service-rail.byk-service-menu:not(.is-open) .bk-trial-close{display:none!important}
 #byk-shared-service-rail .bk-rail-launcher{display:block!important;min-width:96px;min-height:46px;padding:10px 16px;border:0;background:#fff;color:#4d3784;font-family:inherit;font-size:15px;font-weight:700;line-height:1.4;cursor:pointer}
 #byk-shared-service-rail.byk-service-menu.is-open{width:300px!important}
 #byk-shared-service-rail.byk-service-menu nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #byk-shared-service-rail.byk-service-menu nav a{min-height:76px!important;font-size:12px!important;padding:10px 5px!important}
 #byk-shared-service-rail.is-open .bk-rail-launcher{width:100%;border-top:1px solid #e8e2f1}
}
@media(max-width:800px){
 #byk-shared-service-rail.byk-service-menu{bottom:calc(76px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 100px)}
}
