/* Native shortcuts share the menu's chrome, with a top-down entrance. */
html body #brv23-native-panel:not([hidden]){inset:env(safe-area-inset-top,0px) 0 0!important;max-height:calc(100dvh - env(safe-area-inset-top,0px));padding:12px 14px 0!important;border:3px solid #e1e1e1!important;border-radius:0 0 20px 20px!important;background:linear-gradient(120deg,#102c45dd,#061a2bef),url('assets/chrome-detail-v2261.webp') center/cover!important;box-shadow:0 0 14px #979797!important;color:white!important;animation:brvNativeDrop .32s cubic-bezier(.2,.75,.25,1) both;overflow:hidden}
@keyframes brvNativeDrop{from{transform:translate3d(0,-105%,0)}to{transform:translate3d(0,0,0)}}
html body #brv23-native-panel .brv23-panel-head,html body #brv23-native-panel #brv23-panel-close,html body #brv23-native-panel #brv23-panel-status:not(:empty),html body #brv23-native-panel #brv23-panel-rows>button,html body #brv23-native-panel .brv23-news-row,html body #brv23-native-panel .brv23-empty,html body #brv23-native-panel .brv24-rank-refresh,html body #brv23-native-panel .brv24-rank-jump,html body #brv23-native-panel .brv24-course-tabs button{border:3px solid transparent!important;background:var(--v63-dark) padding-box,var(--brv-silver-frame) border-box!important;color:white!important;box-shadow:var(--v63-shadow)!important;border-radius:10px!important;text-shadow:0 1px 2px #001526!important}
html body #brv23-native-panel .brv23-panel-head{padding:10px 12px!important;min-height:60px!important;margin:0 0 12px!important}
html body #brv23-native-panel .brv23-panel-head strong{color:white!important;font-size:19px!important}
html body #brv23-native-panel #brv23-panel-close{flex:none;width:42px;height:42px}
html body #brv23-native-panel .brv23-panel-content{padding:0 0 calc(24px + env(safe-area-inset-bottom,0px))!important;overscroll-behavior:contain}
html body #brv23-native-panel #brv23-panel-status:not(:empty){padding:8px 12px!important;font-size:15px!important;font-weight:800!important;margin:6px 0 9px!important}
html body #brv23-native-panel #brv23-panel-rows{gap:8px!important}
html body #brv23-native-panel #brv23-panel-rows>button{margin:0!important;min-height:44px!important;padding:9px 12px!important;text-align:left!important;font-size:14px!important;font-weight:800!important}
html body #brv23-native-panel .brv23-news-row small,html body #brv23-native-panel .brv23-news-row span,html body #brv23-native-panel .brv23-empty a{color:#dcefff!important}
html body #brv23-native-panel .brv24-rank-row{border:3px solid transparent!important;background:var(--v63-light) padding-box,var(--brv-silver-frame) border-box!important;color:#102b43!important;box-shadow:var(--v63-shadow)!important}
html body #brv23-native-panel .brv24-place,html body #brv23-native-panel .brv24-person small{color:#36536b!important}
html body #brv23-native-panel .brv24-course-tabs button.active{background:linear-gradient(145deg,#168bce,#073b66) padding-box,var(--brv-silver-frame) border-box!important}
@media(prefers-reduced-motion:reduce){html body #brv23-native-panel:not([hidden]){animation:none!important}}
/* v0.23.21: shared shortcut panel ends at the measured category bar. */
html body #brv23-native-panel:not([hidden]){inset:env(safe-area-inset-top,0px) 0 var(--brv-menu-bottom,calc(72px + env(safe-area-inset-bottom,0px)))!important;height:auto!important;max-height:none!important;min-height:0!important;}
html body #brv23-native-panel .brv23-panel-content{padding-bottom:18px!important;min-height:0!important;overflow-y:auto!important}
html body:has(#brv23-native-panel:not([hidden])) > nav{z-index:3301!important}

/* Keep a visible gap and complete rounded silver frame above navigation. */
html body #brv23-native-panel:not([hidden]){bottom:calc(var(--brv-menu-bottom,72px) + 40px)!important;top:calc(env(safe-area-inset-top,0px) + 8px)!important;left:0!important;right:0!important;border:3px solid transparent!important;border-radius:20px!important;background:linear-gradient(120deg,#102c45ed,#061a2bf5) padding-box,var(--brv-silver-frame) border-box!important;box-shadow:0 2px 5px #0006!important;box-sizing:border-box!important;}

/* Stable shortcut bounds: same fixed viewport as the category bar; independent of menu measurements. */
html body #brv23-native-panel:not([hidden]){bottom:calc(72px + env(safe-area-inset-bottom,0px) + 40px)!important;}
