.bookmark-drawer-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--theme-bg-overlay);backdrop-filter:blur(var(--theme-blur-amount));z-index:400;opacity:0;visibility:hidden;transition:opacity 0.3s ease, visibility 0.3s ease;}.bookmark-drawer-overlay--open{opacity:1;visibility:visible;}.bookmark-drawer-overlay--hidden{display:none;}.bookmark-drawer{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--theme-bg-card);border:none;box-shadow:none;container-type:inline-size;--theme-type-label-sm:11px;--theme-type-label-md:12px;--theme-type-body:14px;--theme-type-body-lg:16px;--theme-type-title:16px;--theme-type-title-lg:clamp(1.125rem, calc(1rem + 0.3333cqw), 1.25rem);--theme-type-headline:clamp(1.25rem, calc(1rem + 0.6667cqw), 1.5rem);display:flex;flex-direction:column;overflow:hidden;z-index:400;}.bookmark-search-wrapper{position:relative;display:flex;align-items:center;gap:0.5rem;width:300px;max-width:100%;}.bookmark-search-wrapper .bookmark-search-icon{position:absolute;left:0.625rem;top:0;bottom:0;display:flex;align-items:center;z-index:1;pointer-events:none;color:var(--theme-text-muted);font-size:var(--theme-type-body);}.bookmark-search-input{width:100%;padding:0.5rem 0.75rem 0.5rem 1.75rem;font-size:var(--theme-type-body);border-radius:var(--theme-shape-sm);background:var(--theme-bg-card);border:1px solid var(--theme-border);transition:border-color 0.3s ease;color:var(--theme-text-main);outline:none;}.bookmark-search-input:focus{border-color:var(--theme-accent-cyan);}.bookmark-search-input::placeholder{color:var(--theme-text-muted);}.bookmark-toolbar{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.75rem;border-bottom:1px solid var(--theme-border);flex-shrink:0;}.bookmark-toolbar .bookmark-search-wrapper{flex:1;max-width:360px;}.bookmark-view-toggle{display:flex;gap:2px;background:var(--theme-bg-overlay-alpha);border-radius:var(--theme-shape-sm);padding:3px;flex-shrink:0;}.bookmark-view-btn{position:relative;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--theme-shape-sm);color:var(--theme-text-dim);cursor:pointer;font-size:var(--theme-type-body);transition:color 0.2s ease, background 0.2s ease;}.bookmark-view-btn:not(.bookmark-view-btn--active):hover{color:var(--theme-accent-cyan);}.bookmark-view-btn--active{background:var(--theme-accent-cyan-alpha);color:var(--theme-accent-cyan);}.bookmark-view-btn__tip{position:absolute;top:calc(100% + 6px);left:0;right:0;margin:0 auto;width:max-content;z-index:2;padding:5px 10px;border-radius:var(--theme-shape-sm);background:var(--theme-bg-card);border:1px solid var(--theme-border);font-size:var(--theme-type-label-sm);line-height:var(--theme-lh-none);color:var(--theme-text-main);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s ease;}.bookmark-view-btn:focus-visible .bookmark-view-btn__tip{opacity:1;}@media (hover:hover){.bookmark-view-btn:hover .bookmark-view-btn__tip{opacity:1;}}.bookmark-list-view{display:flex;flex-direction:column;gap:1px;}.bookmark-list-group{margin-bottom:0.75rem;}.bookmark-list-group-body{display:flex;flex-direction:column;}.bookmark-list-row{display:flex;align-items:center;gap:0.75rem;padding:0.5rem 0.75rem;cursor:pointer;border-radius:var(--theme-shape-sm);}.bookmark-list-row:hover{background:var(--theme-accent-cyan-alpha);}.bookmark-list-icon{flex-shrink:0;width:28px;text-align:center;font-size:var(--theme-type-body-lg);}.bookmark-list-name{flex:1;min-width:0;font-size:var(--theme-type-label-md);font-weight:500;color:var(--theme-text-main);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.bookmark-list-url{font-size:var(--theme-type-label-sm);color:var(--theme-text-dim);margin-left:12px;}.bookmark-list-type{width:60px;flex-shrink:0;font-size:var(--theme-type-label-sm);color:var(--theme-accent-cyan);text-align:center;padding:2px 6px;border-radius:var(--theme-shape-sm);background:var(--theme-accent-cyan-alpha);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.bookmark-list-actions{display:none;gap:4px;flex-shrink:0;}.bookmark-list-row:hover .bookmark-list-actions{display:flex;}.bookmark-list-group-header{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;border-bottom:1px solid var(--theme-border);margin-bottom:2px;cursor:pointer;user-select:none;border-radius:var(--theme-shape-sm);transition:background 0.15s ease;}.bookmark-list-group-header:hover{background:var(--theme-accent-cyan-alpha);}.bookmark-group-arrow{font-size:var(--theme-type-label-sm);color:var(--theme-text-muted);transition:color 0.2s ease;width:12px;flex-shrink:0;}.bookmark-list-group--collapsed .bookmark-list-row{display:none;}.bookmark-list-actions .bookmark-edit-btn, .bookmark-list-actions .bookmark-delete-btn{background:transparent;border:none;color:var(--theme-text-dim);cursor:pointer;padding:4px 6px;border-radius:var(--theme-shape-sm);font-size:var(--theme-type-label-md);}.bookmark-list-actions .bookmark-edit-btn:hover{color:var(--theme-primary);background:var(--theme-accent-cyan-alpha);}.bookmark-list-actions .bookmark-delete-btn:hover{color:var(--theme-error);background:var(--theme-error-alpha);}.bookmark-drawer-close{width:28px;height:28px;background:transparent;border:none;cursor:pointer;color:var(--theme-text-dim);transition:color 0.2s ease;font-size:var(--theme-type-headline);}.bookmark-drawer-close:hover{color:var(--theme-error);}#bookmark-drawer-body{flex:1;overflow:hidden;display:flex;flex-direction:column;}.bookmark-main-container{display:flex;flex:1;min-height:0;position:relative;overflow:hidden;}.bookmark-sidebar{width:clamp(100px, 6.94cqw, 150px);flex-shrink:0;border-right:1px solid var(--theme-border);overflow-y:auto;padding:0.5rem 0;}.bookmark-nav-item{padding:0.5rem 0.75rem 0.5rem calc(0.75rem + 2px);margin:0.25rem 0;text-align:center;font-size:var(--theme-type-label-sm);font-weight:500;color:var(--theme-text-dim);cursor:pointer;transition:background 0.2s ease, color 0.2s ease;border-radius:var(--theme-shape-sm);word-break:break-word;}.bookmark-nav-item:not(.bookmark-nav-item--active):hover{background:var(--theme-accent-cyan-alpha);color:var(--theme-accent-cyan);}.bookmark-nav-item--active{background:var(--theme-accent-cyan-alpha);color:var(--theme-accent-cyan);}.bookmark-content-area{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0;}.bookmark-list-container{flex:1;overflow-y:auto;padding:0.75rem;min-height:0;}.bookmark-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(clamp(200px, 13.89cqw, 280px), 1fr));gap:clamp(12px, 0.83cqw, 20px);}.bookmark-card{background:var(--theme-bg-overlay-alpha);backdrop-filter:blur(var(--theme-blur-amount));border:1px solid var(--theme-border);border-radius:var(--theme-shape-md);padding:clamp(12px, 0.83cqw, 16px);transition:border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;position:relative;overflow:hidden;display:flex;align-items:center;gap:clamp(12px, 0.83cqw, 20px);}.bookmark-card:hover{border-color:var(--theme-accent-cyan);}.bookmark-icon{width:clamp(36px, 2.5cqw, 48px);height:clamp(36px, 2.5cqw, 48px);display:flex;align-items:center;justify-content:center;background:var(--theme-accent-cyan-alpha);border-radius:var(--theme-shape-md);flex-shrink:0;}.bookmark-icon i{font-size:var(--theme-type-title-lg);}.bookmark-info{flex:1;min-width:0;}.bookmark-name{font-size:var(--theme-type-label-md);font-weight:500;color:var(--theme-text-main);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.bookmark-url{font-size:var(--theme-type-label-sm);color:var(--theme-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.bookmark-actions{display:flex;gap:0.25rem;opacity:0;transition:opacity 0.2s ease;}.bookmark-card:hover .bookmark-actions{opacity:1;}.bookmark-edit-btn, .bookmark-delete-btn{width:28px;height:28px;border-radius:var(--theme-shape-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;transition:background 0.2s ease, color 0.2s ease;}.bookmark-edit-btn{background:var(--theme-accent-cyan-alpha);color:var(--theme-accent-cyan);}.bookmark-edit-btn:hover{background:var(--theme-accent-cyan-alpha-hover);}.bookmark-delete-btn{background:var(--theme-error-alpha);color:var(--theme-error);}.bookmark-delete-btn:hover{background:var(--theme-error-alpha-hover);}.bookmark-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:2rem;color:var(--theme-text-muted);}.bookmark-empty i{font-size:3rem;margin-bottom:1rem;opacity:0.4;color:var(--theme-accent-cyan);}.bookmark-empty-hint{font-size:var(--theme-type-label-md);margin-top:0.25rem;color:var(--theme-text-muted);}.bookmark-loading{display:flex;align-items:center;justify-content:center;height:100%;color:var(--theme-text-muted);padding:2rem;}.bookmark-form-overlay{position:absolute;top:0;left:0;right:0;bottom:0;z-index:20;background:var(--theme-bg-card);backdrop-filter:blur(var(--theme-blur-amount));border-radius:0;display:flex;flex-direction:column;overflow:hidden;animation:bookmarkFormFadeIn 0.25s ease-out;}.bookmark-form-overlay.bookmark-hidden{display:none;}@keyframes bookmarkFormFadeIn{from{opacity:0;}to{opacity:1;}}.bookmark-form-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid var(--theme-border);flex-shrink:0;}.bookmark-form-title{font-size:var(--theme-type-title-lg);font-weight:700;display:flex;align-items:center;}.bookmark-form-title i{color:var(--theme-accent-cyan);margin-right:0.5rem;}.bookmark-form-title span{color:var(--theme-primary);}.bookmark-form-content{flex:1;overflow-y:auto;padding:1.25rem;}.bookmark-form-group{margin-bottom:1rem;}.bookmark-form-label{display:block;font-size:var(--theme-type-label-md);font-weight:500;color:var(--theme-accent-cyan);margin-bottom:0.375rem;}.bookmark-form-label .bookmark-form-required{color:var(--theme-accent-orange);}.bookmark-form-input, .bookmark-form-select{width:100%;padding:0.5rem 0.75rem;font-size:var(--theme-type-body);border-radius:var(--theme-shape-sm);background:var(--theme-bg-card);border:1px solid var(--theme-border);transition:border-color 0.3s ease;color:var(--theme-text-main);outline:none;}.bookmark-form-input:focus, .bookmark-form-select:focus{border-color:var(--theme-accent-cyan);}.bookmark-icon-input-wrapper{position:relative;}.bookmark-icon-prefix{position:absolute;inset-y:0;left:0;display:flex;align-items:center;padding-left:0.75rem;color:var(--theme-accent-cyan);font-size:var(--theme-type-label-md);}.bookmark-icon-input{width:100%;padding:0.5rem 0.75rem 0.5rem 2.25rem;font-size:var(--theme-type-body);border-radius:var(--theme-shape-sm);background:var(--theme-bg-card);border:1px solid var(--theme-border);color:var(--theme-text-main);outline:none;}.bookmark-icon-input:focus{border-color:var(--theme-accent-cyan);}.bookmark-type-group{display:flex;gap:0.5rem;align-items:center;}.bookmark-type-select{flex:1;padding:0.5rem 0.75rem;font-size:var(--theme-type-body);border-radius:var(--theme-shape-sm);background:var(--theme-bg-card);border:1px solid var(--theme-border);color:var(--theme-text-main);outline:none;cursor:pointer;}.bookmark-type-select:focus{border-color:var(--theme-accent-cyan);}.bookmark-type-input{flex:1;padding:0.5rem 0.75rem;font-size:var(--theme-type-body);border-radius:var(--theme-shape-sm);background:var(--theme-bg-card);border:1px solid var(--theme-border);color:var(--theme-text-main);outline:none;}.bookmark-type-input:focus{border-color:var(--theme-accent-cyan);}.bookmark-type-toggle{padding:0.375rem 0.75rem;font-size:var(--theme-type-label-sm);border-radius:var(--theme-shape-sm);background:var(--theme-accent-cyan-alpha);border:1px solid var(--theme-border);color:var(--theme-accent-cyan);cursor:pointer;white-space:nowrap;}.bookmark-type-toggle:hover{background:var(--theme-accent-cyan-alpha-hover);}.bookmark-form-hint{font-size:var(--theme-type-label-md);color:var(--theme-text-muted);margin-top:0.25rem;}.bookmark-form-footer{padding:1rem 1.25rem;display:flex;justify-content:flex-end;gap:0.75rem;border-top:1px solid var(--theme-border);flex-shrink:0;}.bookmark-form-cancel{display:inline-flex;align-items:center;gap:0.4rem;padding:0.625rem 1.25rem;font-size:var(--theme-type-body);font-weight:500;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);color:var(--theme-text-muted);background:transparent;cursor:pointer;transition:border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);}.bookmark-form-cancel:not(:disabled):hover{border-color:var(--theme-accent-cyan);}.bookmark-form-cancel:disabled, .bookmark-form-submit:disabled{opacity:0.5;cursor:not-allowed;}.bookmark-form-submit{display:inline-flex;align-items:center;gap:0.4rem;padding:0.625rem 1.25rem;font-size:var(--theme-type-body);font-weight:500;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);background:transparent;color:var(--theme-accent-cyan);cursor:pointer;transition:border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);}.bookmark-form-submit:not(:disabled):hover{border-color:var(--theme-accent-cyan);}.bookmark-form-submit i{font-size:var(--theme-type-label-md);}.bookmark-group{margin-bottom:1.5rem;}.bookmark-group:last-child{margin-bottom:0;}.bookmark-group-header{display:flex;align-items:baseline;gap:0.5rem;margin-bottom:0.75rem;padding-bottom:0.5rem;border-bottom:1px solid var(--theme-border);}.bookmark-group-title{font-size:var(--theme-type-label-md);font-weight:600;color:var(--theme-accent-cyan);letter-spacing:0.5px;}.bookmark-group-count{font-size:var(--theme-type-label-sm);color:var(--theme-text-muted);background:var(--theme-accent-cyan-alpha);padding:0.125rem 0.375rem;border-radius:var(--theme-shape-md);}.bookmark-group-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(clamp(200px, 13.89cqw, 280px), 1fr));gap:clamp(12px, 0.83cqw, 20px);}.bookmark-drawer-footer{padding:clamp(16px, 1.11cqw, 24px) clamp(20px, 1.39cqw, 32px);border-top:1px solid var(--theme-border);flex-shrink:0;background:var(--theme-bg-card-solid);display:flex;justify-content:space-between;align-items:center;}.bookmark-footer-info{font-size:var(--theme-type-label-md);color:var(--theme-text-dim);}.bookmark-footer-info span{color:var(--theme-accent-cyan);font-weight:600;}.bookmark-footer-buttons{display:flex;justify-content:flex-end;gap:0.75rem;}.bookmark-add-btn, .bookmark-close-btn{display:inline-flex;align-items:center;gap:0.4rem;padding:0.625rem 1.25rem;font-size:var(--theme-type-body);font-weight:500;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);background:transparent;cursor:pointer;transition:border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);}.bookmark-add-btn{color:var(--theme-accent-cyan);}.bookmark-add-btn:not(:disabled):hover{border-color:var(--theme-accent-cyan);}.bookmark-close-btn{color:var(--theme-text-muted);}.bookmark-close-btn:not(:disabled):hover{border-color:var(--theme-accent-cyan);}.bookmark-add-btn:disabled, .bookmark-close-btn:disabled{opacity:0.5;cursor:not-allowed;}.bookmark-color-primary i, i.bookmark-color-primary{color:var(--theme-accent-purple);}.bookmark-color-secondary i, i.bookmark-color-secondary{color:var(--theme-accent-cyan);}.bookmark-color-accent i, i.bookmark-color-accent{color:var(--theme-accent-pink);}.bookmark-color-idea i, i.bookmark-color-idea{color:var(--theme-accent-orange);}.bookmark-color-blue i, i.bookmark-color-blue{color:var(--theme-info);}.bookmark-color-green i, i.bookmark-color-green{color:var(--theme-success);}.bookmark-color-red i, i.bookmark-color-red{color:var(--theme-error);}.bookmark-color-yellow i, i.bookmark-color-yellow{color:var(--theme-warning);}.bookmark-color-teal i, i.bookmark-color-teal{color:var(--theme-accent-teal);}.bookmark-color-indigo i, i.bookmark-color-indigo{color:var(--theme-accent-indigo);}.bookmark-hidden{display:none;}.bookmark-mt-2{margin-top:0.5rem;}.bookmark-mr-1{margin-right:0.25rem;}.bookmark-mr-2{margin-right:0.5rem;}.bookmark-mr-1-5{margin-right:0.375rem;}.bookmark-input-error, .bookmark-form-input.bookmark-input-error, .bookmark-form-select.bookmark-input-error, .bookmark-icon-input.bookmark-input-error, .bookmark-type-input.bookmark-input-error, .bookmark-type-select.bookmark-input-error{border-color:var(--theme-error);}.bookmark-animate-shake{animation:bookmarkShake 0.5s ease-in-out;}@keyframes bookmarkShake{0%, 100%{background:var(--theme-bg-card);}50%{background:var(--theme-error-alpha);}}@media (max-width:1024px){.bookmark-sidebar{display:none;}.bookmark-nav-item{font-size:var(--theme-type-label-sm);padding:0.375rem 0.5rem;}.bookmark-group-grid{grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));gap:0.5rem;}.bookmark-card{padding:0.5rem;}.bookmark-icon{width:28px;height:28px;}.bookmark-icon i{font-size:var(--theme-type-body-lg);}.bookmark-name{font-size:var(--theme-type-label-sm);}.bookmark-search-wrapper{order:1;width:100%;max-width:none;}.bookmark-toolbar{flex-wrap:wrap;}.bookmark-toolbar .bookmark-search-wrapper{max-width:none;}.bookmark-search-input{width:100%;}.bookmark-drawer-close{order:2;width:44px;height:44px;}.bookmark-search-input{font-size:var(--theme-type-body-lg);}.bookmark-view-btn{width:40px;height:40px;}.bookmark-nav-item{padding:12px 8px;}.bookmark-actions{opacity:1;}.bookmark-edit-btn, .bookmark-delete-btn{width:32px;height:32px;}.bookmark-form-content{padding:0.75rem;}.bookmark-form-header{padding:0.75rem;}.bookmark-form-footer{padding:0.75rem;flex-direction:column;gap:0.5rem;}.bookmark-form-cancel, .bookmark-form-submit{width:100%;justify-content:center;}.bookmark-type-group{flex-direction:column;align-items:stretch;}.bookmark-type-toggle{width:100%;}.bookmark-drawer-footer{padding:0.5rem 0.75rem;align-items:center;}.bookmark-footer-buttons{flex-direction:row;gap:0.5rem;}.bookmark-add-btn, .bookmark-close-btn{padding:10px 12px;font-size:var(--theme-type-body);white-space:nowrap;}.bookmark-group-grid{gap:0.5rem;}.bookmark-list-url, .bookmark-list-type{display:none;}}@media (min-width:1470px){.bookmark-sidebar{width:clamp(100px, 6.94cqw, 178px);}}