.ui-modal.library-auto-dialog{border-radius:16px 16px 0 0;flex-direction:column;gap:0;width:100%;max-width:100%;height:80svh;min-height:min(500px,100svh);max-height:min(768px,100svh);margin:0;padding:0;display:flex;position:fixed;inset:auto 0 0;overflow:hidden}.library-auto-dialog .ui-modal-header{flex-shrink:0;margin:0;padding:24px 80px 24px 24px}.library-auto-dialog .ui-modal-header h1{letter-spacing:normal;font-size:18px;font-weight:600;line-height:18px}.library-auto-dialog .ui-modal-description{color:var(--theme-text-secondary,#a1a1a1);margin:6px 0 0;font-size:14px;line-height:21px}.library-auto-list{overscroll-behavior:contain;flex:1;min-height:0;padding:0 8px;overflow-y:auto}.library-auto-group{width:100%;height:72px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:8px;display:flex}.library-auto-group:hover{background:var(--theme-surface-1,#171717)}.library-auto-group:focus-visible{outline:2px solid var(--theme-text-primary,#fafafa);outline-offset:-2px}.library-auto-group>.character-avatar{border:1px solid var(--theme-line-subtle,#333);object-fit:cover;border-radius:12px;flex-shrink:0;width:56px;height:56px}.library-auto-label{flex:1;min-width:0}.library-auto-label strong,.library-auto-room strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:21px;display:block;overflow:hidden}.library-auto-label small{color:var(--theme-text-secondary,#a1a1a1);align-items:center;gap:2px;font-size:12px;line-height:18px;display:flex}.library-auto-room{align-items:center;gap:8px;height:64px;padding:8px;display:flex}.library-auto-room .character-avatar{border:1px solid var(--theme-line-subtle,#333);object-fit:cover;border-radius:50%;flex-shrink:0;width:48px;height:48px}.library-auto-room>span{flex:1;min-width:0}.library-auto-room small{text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text-secondary,#a1a1a1);font-size:12px;line-height:18px;display:block;overflow:hidden}.library-auto-status{color:var(--theme-text-secondary,#a1a1a1);padding:24px 16px;font-size:14px;line-height:21px}.library-auto-dialog footer{flex-shrink:0;gap:8px;padding:16px;display:flex}.library-auto-dialog footer .ui-button{background:var(--theme-surface-2,#262626);height:44px;color:var(--theme-text-primary,#fafafa);border:0;border-radius:8px;flex:1;font-size:14px}.library-auto-dialog footer .ui-button:last-child{background:var(--theme-text-primary,#fafafa);color:var(--theme-surface-0,#0a0a0a)}@media (min-width:768px){.ui-modal.library-auto-dialog{border-radius:16px;width:444px;margin:auto;inset:0}}@media (min-width:640px){.library-auto-dialog footer{justify-content:flex-end;gap:16px}.library-auto-dialog footer .ui-button{flex:none;min-width:88.2px}}.library-auto-list>section{margin:0;padding:0}.ui-modal.library-auto-dialog{background:var(--theme-surface-0,#0a0a0a)}.library-auto-label strong{font-weight:400;line-height:20px}.library-auto-label small{background:var(--theme-surface-2,#27272a);border-radius:4px;gap:1px;width:max-content;height:16px;padding:1.5px 4px 2.5px;font-size:10px;line-height:10px;display:flex}
.chat-library{min-height:0;color:var(--theme-text-primary,#ededed);flex-direction:column;flex:1;font-size:14px;display:flex}.consumer-menu nav .consumer-menu-image{text-align:left;border:0;border-radius:4px;height:37px;min-height:37px;padding:8px;font-size:14px;font-weight:500;line-height:21px;display:block}.library-tabs.ui-tab-list{border-bottom:1px solid var(--theme-line-subtle,#333);background:0 0;border-radius:0;flex-shrink:0;gap:0;width:100%;height:48px;padding:0;display:flex}.library-tabs.ui-tab-list .ui-button{width:50%;height:48px;color:var(--theme-text-muted,#737373);background:0 0;border:0;border-radius:0;padding:14px 0;font-size:14px;font-weight:500;line-height:20px}.library-tabs.ui-tab-list .ui-button[aria-selected=true]{color:var(--theme-text-primary,#ededed);border-bottom:2px solid var(--theme-text-primary,#ededed)}.library-folders{flex-shrink:0;width:100%;margin:0;padding:0 8px 8px}.library-section-title{text-align:left;width:100%;color:var(--theme-text-muted,#737373);cursor:pointer;background:0 0;border:0;padding:14px 8px 8px;font-size:14px;line-height:20px;display:block}.library-no-folders{text-align:center;padding:0 12px 8px}.library-no-folders>strong{font-size:14px;font-weight:600;line-height:20px}.library-no-folders p{color:var(--theme-text-secondary,#a3a3a3);white-space:pre-line;margin:2px 0 16px;font-size:12px;line-height:18px}.library-no-folders>div{justify-content:center;gap:8px;display:flex}.library-no-folders .ui-button{border:0;border-radius:4px;gap:4px;height:24px;min-height:24px;padding:4px 8px;font-size:12px;line-height:16px}.library-no-folders .ui-button:first-child{background:var(--color-action);color:var(--color-on-action)}.library-no-folders .ui-button:last-child{background:var(--theme-surface-inverse,#fafafa);color:var(--theme-text-inverse,#171717)}.library-folder-row{align-items:center;gap:8px;height:80px;padding:8px;display:flex;position:relative}.library-folder-row>button{text-align:left;min-width:0;color:inherit;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:0;display:flex}.library-folder-icon{background:var(--theme-surface-2,#292929);width:48px;height:48px;color:var(--theme-text-muted,#737373);border-radius:8px;flex:0 0 48px;place-items:center;display:grid}.library-folder-row>button>span:last-child{gap:4px;min-width:0;display:grid}.library-folder-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;line-height:20px;overflow:hidden}.library-folder-row small{color:var(--theme-text-secondary,#a3a3a3);align-items:center;gap:4px;font-size:12px;line-height:16px;display:flex}.library-folder-row>.ui-button,.library-room>.ui-button{width:16px;height:16px;min-height:16px;color:var(--theme-text-secondary,#a3a3a3);background:0 0;border:0;padding:0;position:absolute;top:16px;right:8px}.library-folder-row>button:first-child{padding-right:20px}.library-section-heading{border-top:1px solid var(--theme-line-subtle,#333);height:48px;color:var(--theme-text-muted,#737373);justify-content:space-between;align-items:center;margin:0 8px;padding:0 8px;display:flex}.library-section-heading>.ui-button{background:0 0;border:0;width:20px;height:20px;min-height:20px;padding:0}.library-rooms{flex:1;width:100%;min-height:0;margin:0;padding:0}.library-room{align-items:center;gap:8px;min-height:64px;padding:8px 16px;display:flex;position:relative}.library-room>a{width:100%;min-width:0;color:inherit;align-items:center;gap:8px;text-decoration:none;display:flex}.library-room .character-avatar,.library-selection-row .character-avatar{object-fit:cover;border-radius:50%;flex:0 0 48px;width:48px;height:48px}.library-room-text{flex:1;gap:4px;min-width:0;display:grid}.library-room-text strong{white-space:nowrap;text-overflow:ellipsis;padding-right:20px;font-size:14px;font-weight:600;line-height:20px;display:block;overflow:hidden}.library-room-text small,.library-inline-rename>small{white-space:nowrap;text-overflow:ellipsis;color:var(--theme-text-secondary,#a3a3a3);font-size:12px;line-height:16px;display:block;overflow:hidden}.library-room:hover{background:rgb(var(--theme-overlay-rgb,255 255 255) / .04)}.library-room>.ui-button{right:20px}.library-inline-rename{flex:1;min-width:0}.library-inline-rename>div{align-items:center;gap:4px;margin-bottom:4px;display:flex}.library-inline-rename .ui-input{background:0 0;border:0;border-radius:0;width:100%;min-width:0;height:16px;min-height:16px;padding:0;font-size:14px;font-weight:600;line-height:16px}.library-inline-rename .ui-button{border:0;flex:0 0 16px;width:16px;height:16px;min-height:16px;padding:0}.library-folder-header{flex-shrink:0;align-items:center;gap:8px;height:48px;padding:8px 12px;display:flex}.library-folder-header strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.library-folder-header .ui-button{background:0 0;border:0;width:24px;height:24px;min-height:24px;padding:2px}.library-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;min-height:200px;padding:20px 16px;display:flex}.library-empty-art{width:80px;height:80px;margin-bottom:8px;position:relative}.library-empty-art img{width:120px;max-width:none;height:120px;position:absolute;top:-20px;left:-20px}.library-empty>strong{font-size:16px;line-height:22px}.library-empty>p{color:var(--theme-text-secondary,#a3a3a3);margin:0;font-size:14px;line-height:20px}.library-empty .ui-button{border:0;border-radius:4px;height:24px;min-height:24px;margin-top:8px;padding:4px 8px;font-size:12px}.library-add-folder{min-height:28px;margin:12px auto;padding:4px 8px}.library-more{width:calc(100% - 24px);margin:12px}.library-edit-toolbar{flex-shrink:0;align-items:center;gap:8px;height:48px;padding:8px 12px;display:flex}.library-edit-toolbar .ui-button{height:28px;min-height:28px;padding:4px 8px;font-size:14px}.library-edit-toolbar .ui-button:first-child{margin-right:auto}.library-room-selection{cursor:pointer;align-items:center;gap:8px;width:100%;display:flex}.library-room-selection .character-avatar{flex-basis:48px;width:48px;height:48px}.library-error{color:var(--theme-error-text,#f6aaa4);padding:8px 12px;font-size:13px;line-height:20px}.ui-modal.library-dialog{background:var(--theme-surface-0,#141414);border-color:rgb(var(--theme-line-rgb,255 255 255) / .2);border-radius:16px 16px 0 0;width:100%;max-width:100%;max-height:80dvh;margin:auto 0 0;padding:24px 20px 16px}.library-dialog .ui-modal-header{flex-shrink:0;min-height:22px;margin:0 4px}.library-dialog .ui-modal-header h1{letter-spacing:normal;font-size:18px;font-weight:600;line-height:22px}.library-dialog-description{color:var(--theme-text-secondary,#a3a3a3);margin:8px 4px 0;font-size:14px;line-height:20px}.library-name-field{flex-shrink:0;margin-top:32px;position:relative}.library-name-field .ui-input{background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);border-radius:12px;width:100%;height:40px;min-height:40px;padding:8px 12px;font-size:14px;line-height:21px;display:block}.library-name-field>.ui-button{border:0;width:24px;height:24px;min-height:24px;padding:4px;position:absolute;top:8px;right:8px}.library-select-label{color:var(--theme-text-secondary,#a3a3a3);flex-shrink:0;margin:16px 0 8px;font-size:14px;line-height:20px}.library-create-dialog[open]{flex-direction:column;height:80dvh;display:flex}.library-selection-list{scrollbar-width:thin;flex:1;min-height:0;margin:0 -20px 0 0;overflow-y:auto}.library-selection-row{cursor:pointer;align-items:center;gap:8px;min-height:72px;padding:8px;display:flex;position:relative}.library-selection-row>.ui-checkbox{flex-shrink:0;width:16px;height:16px}.library-selection-row .character-avatar{flex-basis:56px;width:56px;height:56px}.library-selection-row .library-room-text strong{padding-right:52px}.library-selection-row time{color:var(--theme-text-secondary,#a3a3a3);font-size:12px;line-height:16px;position:absolute;top:18px;right:8px}.library-dialog footer{flex-shrink:0;gap:8px;margin-top:16px;display:flex}.library-dialog footer .ui-button{border:0;border-radius:8px;flex:1;height:44px;min-height:44px;padding:8px 16px;font-size:14px;line-height:21px}.library-dialog footer .ui-button:last-child{background:var(--theme-surface-inverse,#fafafa);color:var(--theme-text-inverse,#171717)}.library-rename-dialog .library-name-field,.library-rename-dialog footer{margin-top:24px}.ui-modal.library-rename-dialog{padding:24px}.library-rename-dialog footer .ui-button:first-child{border:1px solid var(--theme-line-subtle,#333);background:0 0}.library-move-dialog .ui-radio-group{max-height:50dvh;margin:24px 0;overflow-y:auto}@media (min-width:768px){.chat-library{scrollbar-width:thin;overflow-y:auto}}@media (min-width:640px){.ui-modal.library-dialog{border-radius:16px;width:444px;max-width:calc(100% - 24px);margin:auto}}.consumer-menu .chat-library{flex:1 0 auto}.library-room-selection .ui-checkbox{width:16px;height:16px;min-height:16px}.library-selection-row .ui-checkbox{min-height:16px}.library-room-selection .ui-checkbox:checked:after,.library-selection-row .ui-checkbox:checked:after{width:4px;height:8px;top:1px;left:4px}.library-room>.ui-button svg,.library-folder-row>.ui-button svg{transform:rotate(90deg)}.library-create-dialog .ui-modal-header,.library-create-dialog .ui-modal-header h1{min-height:18px;line-height:18px}.library-create-dialog .library-dialog-description{margin-top:6px;line-height:21px}.library-create-dialog .library-name-field{margin-top:28px}.library-create-dialog .library-select-label{margin-bottom:0;line-height:21px}.library-folder-header>.ui-button:first-child svg{transform:rotate(90deg)}.library-mode-filter{gap:4px;padding:8px 12px;display:flex}.library-mode-filter [aria-pressed=true]{background:var(--theme-surface-2,#242424);color:var(--theme-text-primary,#fafafa)}.library-novel-label{color:var(--theme-text-secondary,#a3a3a3);font-size:11px}.party-library{flex-direction:column;gap:12px;min-width:0;padding:12px;display:flex}.party-library header{justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.party-library ul{margin:0;padding:0;list-style:none}.party-library li>a{border-bottom:1px solid var(--theme-line-subtle,#303030);flex-direction:column;gap:5px;padding:12px 4px;display:flex}.party-library li[data-active=true]{background:var(--theme-surface-2,#242424)}.party-library strong,.party-library span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.party-library small,.party-library p{color:var(--theme-text-secondary,#a3a3a3);font-size:12px}.party-library>a{text-underline-offset:3px;font-size:12px;text-decoration:underline}.party-library a{color:var(--theme-text-primary,#fafafa);text-decoration:none}.party-library li>a:hover{background:var(--theme-surface-2,#242424)}.party-library a:focus-visible{outline:2px solid var(--theme-brand,#dfb635);outline-offset:3px}.party-library strong{font-size:14px;line-height:1.4}.party-library li span{color:var(--theme-text-secondary,#a3a3a3);font-size:12px}.party-library header a,.party-library>a{text-underline-offset:3px;font-size:12px;text-decoration:underline}
