.cabin-library[hidden]{display:none}
.cabin-library{position:fixed;inset:0;z-index:65;display:flex;align-items:center;justify-content:flex-end;padding:clamp(18px,5vw,76px);box-sizing:border-box;background:linear-gradient(90deg,#080c0808,#080c085c);color:#f0e5ca}
.library-card{width:360px;max-width:100%;max-height:85dvh;overflow:auto;box-sizing:border-box;padding:27px;background:linear-gradient(145deg,#17231cf2,#101b18f5);border:1px solid #bea56966;box-shadow:0 25px 90px #0006;border-radius:5px}
.library-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.library-eyebrow{font:9px system-ui;letter-spacing:.18em;color:#c9ad70}
.library-close{border:0;background:none;color:#d8cba9;font-size:24px;cursor:pointer;padding:0 3px}
.library-card h2{font:30px Georgia,serif;margin:24px 0 8px;font-weight:400}
.library-intro{font:12px system-ui;color:#b4b7a6;margin:0 0 24px}
.library-volumes{display:flex;flex-direction:column;gap:10px}
.library-volume{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:19px 16px;color:#eee2bf;background:#d6b46208;border:1px solid #c8ab6440;border-left:3px solid #b4995b;cursor:pointer;border-radius:2px;transition:background .15s,border-color .15s}
.library-volume span:first-child{font:10px monospace;color:#bba36c}
.library-volume strong{flex:1;font:21px Georgia,serif;font-weight:400}
.library-volume span:last-child{color:#c4a35f}
.library-volume:hover,.library-volume[aria-pressed=true]{background:#d6b4621c;border-color:#d4b56f99}
.library-volume:focus-visible,.library-close:focus-visible{outline:2px solid #ead09a;outline-offset:4px}
.library-selection{font:11px system-ui;color:#cbb47c;min-height:15px;margin:16px 0 24px}
.library-card footer{font:10px system-ui;text-align:right;color:#a8ac9b}
.library-card kbd{margin-left:6px;border:1px solid #c9b57a44;padding:3px 5px;border-radius:3px;font:9px system-ui}
