/* Preserve each card's fixed header and its original flex viewport. */
body #ui .screen.ls .ls-card>.yq-detail-scroll-host{position:relative;display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden}
body #ui .screen.ls .yq-detail-scroll-host>.ls-card-body{flex:1;min-width:0;min-height:0;box-sizing:border-box}
/* The padded inner layer survives scrollbar initialization and card rerenders. */
body #ui .screen.ls .ls-card-body{display:block!important;padding:0!important}
body #ui .screen.ls .ls-card-body>.yq-detail-content{
 display:flex;flex-direction:column;gap:12px;min-width:0;min-height:100%;width:100%;
 box-sizing:border-box;padding:16px 18px 20px;
}
body #ui .screen.ls .yq-detail-content>.ls-sec+.ls-sec,
body #ui .screen.ls .yq-detail-content>.ls-ult+.ls-sec{border-top:2px dashed var(--line);padding-top:12px}
body #ui .screen.ls .yq-detail-content>.ls-sec:last-child{display:flex;flex-direction:column;flex:1 0 auto}
body #ui .screen.ls .yq-detail-content>.ls-sec:last-child>.ls-kit{flex:1;grid-auto-rows:1fr}
@media(max-width:680px){
 body #ui .screen.ls .ls-card-body>.yq-detail-content{padding:14px 16px 18px;gap:10px}
}
body #ui .screen.ls .yq-detail-scroll-host>.os-scrollbar{
 --os-size:8px!important;--os-padding-perpendicular:2px!important;--os-padding-axis:3px!important;
 --os-track-bg:transparent!important;--os-track-bg-hover:transparent!important;--os-track-bg-active:transparent!important;
 --os-track-border:none!important;--os-handle-border:none!important;--os-handle-border-radius:999px!important;
 --os-handle-min-size:30px!important;--os-handle-bg:#90a18099!important;--os-handle-bg-hover:#aaba8f!important;--os-handle-bg-active:#c9b77e!important;
}
/* Library-unavailable fallback: same thin track, without arrow buttons. */
body #ui .screen.ls .ls-card-body:not([data-overlayscrollbars-viewport]){scrollbar-width:thin!important;scrollbar-color:#90a18099 transparent!important}
body #ui .screen.ls .ls-card-body[data-yq-scroll-state="idle"]:not([data-overlayscrollbars-viewport]){scrollbar-color:transparent transparent!important}
@supports selector(::-webkit-scrollbar){
 body #ui .screen.ls .ls-card-body:not([data-overlayscrollbars-viewport]){scrollbar-width:auto!important}
 body #ui .screen.ls .ls-card-body::-webkit-scrollbar{width:5px!important;height:5px!important}
 body #ui .screen.ls .ls-card-body::-webkit-scrollbar-track{background:transparent!important}
 body #ui .screen.ls .ls-card-body::-webkit-scrollbar-thumb{background:#90a18099;border:0;border-radius:999px}
 body #ui .screen.ls .ls-card-body::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
 body #ui .screen.ls .ls-card-body[data-yq-scroll-state="idle"]::-webkit-scrollbar-thumb{background:transparent!important}
}
