/* A scrollable pass editor above a stable two-action footer. */
#overlay.home-world-edge .cw-edge-pass>.cw-pass-station{display:flex!important;flex-direction:column;min-height:0;overflow:hidden!important;padding-bottom:8px!important;gap:7px}
#overlay.home-world-edge .cw-edge-pass .cw-pass-tabs{flex:none;margin-bottom:0}
#overlay.home-world-edge .cw-edge-pass .cw-pass-scroll{flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 10px;scrollbar-width:thin;scrollbar-color:#cda6b2 transparent}
#overlay.home-world-edge .cw-pass-scroll .cw-section-title{margin:5px 0 8px}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-display{height:clamp(230px,36dvh,360px);min-height:230px;max-height:360px;flex:none;width:100%;margin:0 0 12px;padding:3px 0}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-scene{height:100%;min-height:0}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-readable{height:100%;max-height:100%;padding-bottom:30px}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-readable>.cw-pass-art{height:100%;max-height:100%;width:auto;max-width:100%}
#overlay.home-world-edge .cw-pass-scroll :is(.cw-pass-fields,.cw-pass-ratio,.cw-swatches){margin-left:0;margin-right:0}
#overlay.home-world-edge .cw-pass-scroll .cw-control-label{padding:0}
#overlay.home-world-edge .cw-pass-scroll .cw-note{font-size:10px;line-height:1.5;margin:10px 0 0}
#overlay.home-world-edge .cw-pass-station>.cw-pass-actions{position:relative;flex:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0 12px;padding:8px 0 0;border-top:1px solid #c599a755;min-width:0;background:#462531}
#overlay.home-world-edge .cw-pass-station>.cw-pass-actions button{width:100%;min-width:0;min-height:44px;margin:0;padding:9px 6px;font-size:12px;line-height:1.2;letter-spacing:.5px;white-space:normal;box-sizing:border-box;border-radius:10px}
#overlay.home-world-edge .cw-pass-station>.cw-pass-actions [data-cw=printPass]{background:linear-gradient(110deg,#f2c6dc,#eab9cc);color:#3e212a;border:1px solid #ffe2f1;font-weight:900}
#overlay.home-world-edge .cw-edge-pass>.cw-profile-station{overflow-y:auto!important;min-height:0}
@media(max-height:600px){#overlay.home-world-edge .cw-pass-scroll .cw-pass-display{height:230px;min-height:230px}#overlay.home-world-edge .cw-pass-station>.cw-pass-actions button{font-size:11px;min-height:42px}}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-scene{grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden}
#overlay.home-world-edge .cw-pass-scroll :is(.cw-pass-worn,.cw-pass-readable){position:relative;min-height:0;height:100%!important;max-height:100%!important;overflow:hidden;align-self:stretch;padding:0}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-readable>.cw-pass-art{position:absolute;top:0;left:0;width:100%!important;height:calc(100% - 32px)!important;max-height:none!important}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-worn>svg{position:absolute;top:0;left:0;width:100%;height:calc(100% - 20px);max-height:none}
#overlay.home-world-edge .cw-pass-scroll .cw-pass-worn>span{position:absolute;bottom:0;left:0;right:0;text-align:center}
