:root {
    --bg: #fafafa;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;
    --text: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    --border: #e5e5e5;
    --accent: #4a5568;
    --accent-hover: #2d3748;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --transition: 200ms ease;
}

/* 跟随系统：深色模式 */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0a0a0a;
        --bg-card: #161616;
        --bg-hover: #222;
        --text: #f0f0f0;
        --text-secondary: #a0a0a0;
        --text-muted: #666;
        --border: #2a2a2a;
        --accent: #a0aec0;
        --accent-hover: #cbd5e0;
        --shadow: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    }
}

/* 强制深色模式 */
:root[data-theme="dark"] {
    --bg: #0a0a0a;
    --bg-card: #161616;
    --bg-hover: #222;
    --text: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    --border: #2a2a2a;
    --accent: #a0aec0;
    --accent-hover: #cbd5e0;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    min-height: 100vh;
}

.header {
    text-align: center;
    margin-bottom: 48px;
}

.search-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 560px;
}

.search {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px;
    gap: 4px;
    width: 100%;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.search:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.search-engine {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-hover);
    border: none;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    height: 40px;
}

.search-engine:hover { background: var(--border); color: var(--text); }

.engine-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; }

.engine-arrow {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition);
}

.search-engine.active .engine-arrow { transform: rotate(180deg); }

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 16px;
    color: var(--text);
    outline: none;
    min-width: 0;
}

.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.search-btn:hover { background: var(--accent-hover); transform: scale(1.05); }

.search-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.engine-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    padding: 6px;
    z-index: 100;
    animation: dropIn 0.15s ease;
}

.engine-dropdown[hidden] { display: none; }

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.engine-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: background var(--transition);
}

.engine-option:hover { background: var(--bg-hover); }
.engine-option.active { background: var(--bg-hover); font-weight: 500; }

.engine-option::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.engine-option.active::before { opacity: 1; }

.grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.category {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.category-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bookmarks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.bookmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    cursor: pointer;
}

.bookmark:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.bookmark-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--bg-hover);
}

.bookmark-title {
    font-size: 13px;
    text-align: center;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fab { right: 24px; bottom: 24px; }
.fab-help { left: 24px; bottom: 24px; right: auto; }

.fab, .fab-help {
    position: fixed;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    z-index: 100;
}

.fab svg { width: 20px; height: 20px; }
.fab:hover { background: var(--accent); color: white; border-color: var(--accent); }

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal[hidden] { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 { font-size: 16px; font-weight: 500; }

.modal-actions { display: flex; gap: 8px; }

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.btn:hover { background: var(--bg-hover); }
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { color: #e53e3e; border-color: #e53e3e; }
.btn-danger:hover { background: #e53e3e; color: white; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

.section { margin-bottom: 32px; }
.section:last-child { margin-bottom: 0; }
.section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 8px;
}

.item:last-child { margin-bottom: 0; }

.item-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.item-row:last-child { margin-bottom: 0; }

.item-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 14px;
}

.item-row input:focus { outline: none; border-color: var(--accent); }

.item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.item-header input { flex: 1; font-weight: 500; }

.item-drag {
    cursor: grab;
    color: var(--text-muted);
    padding: 4px;
}

.item-drag:active { cursor: grabbing; }

.bookmarks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.bookmark-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.bookmark-item input { flex: 1; min-width: 0; }

.cat-toggle {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-muted);
    transition: transform var(--transition);
    display: flex;
    align-items: center;
}
.cat-toggle .toggle-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition);
}
.cat-toggle.expanded .toggle-icon { transform: rotate(90deg); }
.cat-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-hover);
    padding: 2px 8px;
    border-radius: 10px;
}
.bookmarks-list.collapsed { display: none; }
.bookmarks-list .add-btn { margin-top: 8px; }

.add-btn {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 12px;
}

.add-btn:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 768px) {
    .app { padding: 32px 16px; }
    .header { margin-bottom: 32px; position: relative; }
    .grid { gap: 32px; }
    .bookmarks { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .bookmark { padding: 16px 8px; }
    .fab { right: 16px; bottom: 16px; width: 44px; height: 44px; }
    .modal-content { width: 95%; max-height: 90vh; border-radius: 8px; }
    .modal-header { padding: 12px 16px; }
    .modal-header h2 { font-size: 14px; }
    .modal-body { padding: 12px; }
    .modal-actions { gap: 6px; }
    .btn { padding: 6px 12px; font-size: 13px; }
    .btn-sm { padding: 4px 8px; font-size: 11px; }
    .section { margin-bottom: 20px; }
    .item { padding: 10px; }
    .item-row { flex-wrap: wrap; }
    .item-row input { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 13px; padding: 8px 10px; }
    .item-row .btn { flex: 0 0 100%; margin-top: 4px; }
    .item-header { flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
    .item-header input { flex: 1; min-width: 120px; font-size: 13px; padding: 6px 10px; }
    .bookmark-item { flex-wrap: wrap; padding: 6px; gap: 6px; }
    .bookmark-item input { flex: 1 1 100%; font-size: 13px; padding: 8px 10px; }
    .bookmark-item .item-drag { order: -1; }
    .bookmark-item .btn { flex-shrink: 0; }
    .add-btn { padding: 8px; font-size: 12px; }
    .cat-count { font-size: 11px; padding: 2px 6px; }
    .search { max-width: 100%; }
    .search-engine { padding: 8px 12px; height: 36px; }
    .engine-name { max-width: 60px; font-size: 12px; }
    .search-input { padding: 10px 12px; font-size: 16px; }
    .search-btn { width: 36px; height: 36px; }
    .search-btn svg { width: 16px; height: 16px; }
    .engine-dropdown { left: 0; right: auto; min-width: 140px; }
}

@media (max-width: 480px) {
    .app { padding: 24px 12px; }
    .bookmarks { grid-template-columns: repeat(3, 1fr); }
    .bookmark { padding: 12px 6px; }
    .bookmark-icon { width: 24px; height: 24px; }
    .bookmark-title { font-size: 12px; }
    .modal-content { width: 100%; max-height: 100vh; border-radius: 0; }
    .modal-header { position: sticky; top: 0; background: var(--bg-card); z-index: 10; }
    .item-row input { flex: 1 1 100%; }
    .item-header { gap: 4px; }
    .item-header input { min-width: 80px; }
    .bookmark-item input { flex: 1 1 100%; }
    .search-engine { padding: 6px 10px; height: 32px; }
    .engine-name { max-width: 50px; }
    .search-input { padding: 8px 10px; font-size: 16px; }
    .search-btn { width: 32px; height: 32px; }
}

[hidden] { display: none !important; }

/* ========== Paste 分享模式 ========== */

/* 搜索框展开动画 */
.search, .search-input {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.search.paste-mode {
    border-radius: 16px;
    padding: 8px;
}

.search.paste-mode .search-input {
    min-height: 60px;
    padding: 12px 16px;
}

/* 结果卡片 - 更紧凑 */
.paste-result {
    position: relative;
    margin-top: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
    animation: pasteSlideDown 250ms ease;
    box-shadow: var(--shadow);
}

/* 关闭按钮 */
.paste-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: var(--bg-hover);
    color: var(--text-muted);
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms;
}

.paste-close:hover {
    background: var(--border);
    color: var(--text);
}

.paste-code {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
}

.paste-pin-info {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.paste-link {
    display: inline-block;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 150ms;
    background: var(--bg-hover);
    margin-bottom: 6px;
}

.paste-link:hover {
    background: var(--border);
    color: var(--text);
}

.paste-link:active {
    transform: scale(0.98);
}

.paste-expiry {
    font-size: 11px;
    color: var(--text-muted);
}

/* 收到的内容样式 */
.paste-content-result {
    text-align: left;
    padding: 16px;
}

.paste-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.paste-content-text {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px;
    font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.paste-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

.paste-copy-btn, .paste-close-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 150ms;
}

.paste-copy-btn {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.paste-copy-btn:hover {
    opacity: 0.9;
}

.paste-close-btn {
    background: transparent;
    color: var(--text-secondary);
}

.paste-close-btn:hover {
    background: var(--bg-hover);
}

@keyframes pasteSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 帮助弹窗 */
.help-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.help-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.help-content h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text);
}

.help-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-hover);
    color: var(--text-muted);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-close:hover {
    background: var(--border);
    color: var(--text);
}

.help-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.help-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.help-section strong {
    display: block;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
}

.help-section p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
    line-height: 1.5;
}

.help-section .help-tip {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 2px 12px;
}

.help-section .help-tip::before {
    content: "•";
    margin-right: 6px;
}

.help-section code {
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 11px;
}

.help-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search.paste-mode .search-input {
        min-height: 50px;
    }

    .paste-result {
        padding: 14px 16px;
        margin-top: 10px;
    }

    .paste-close {
        top: 6px;
        right: 6px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .paste-code {
        font-size: 18px;
        padding-right: 20px;
    }

    .paste-link {
        padding: 10px 20px;
        font-size: 14px;
    }

    .paste-content-text {
        max-height: 150px;
        font-size: 12px;
    }

    .paste-actions {
        flex-direction: column;
        gap: 6px;
    }

    .paste-copy-btn, .paste-close-btn {
        width: 100%;
        padding: 10px;
    }

    .fab, .fab-help { width: 44px; height: 44px; }
    .fab { right: 16px; bottom: 16px; }
    .fab-help { left: 16px; bottom: 16px; }

    .help-content {
        padding: 20px;
    }
}

/* ========== Settings Row ========== */
.setting-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.setting-row:last-child {
    border-bottom: none;
}

.setting-row label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
    font-size: 14px;
    color: var(--text);
}

.setting-row select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 14px;
    min-width: 140px;
    cursor: pointer;
    transition: border-color var(--transition);
}

.setting-row select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ========== Text-Only Bookmark Mode ========== */
.bookmark-text-only {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    cursor: pointer;
    min-height: auto;
}

.bookmark-text-only:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
    background: var(--bg-hover);
}

.bookmark-text-only:active {
    transform: translateY(0);
}

.bookmark-text-only .bookmark-title {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    display: block;
    -webkit-line-clamp: 1;
}

/* Mobile optimizations for text-only mode */
@media (max-width: 768px) {
    .bookmark-text-only {
        padding: 16px 14px;
        min-height: 52px;
    }
    
    .bookmark-text-only .bookmark-title {
        font-size: 15px;
    }
    
    .setting-row {
        padding: 12px 0;
    }
    
    .setting-row label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .setting-row select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bookmark-text-only {
        padding: 14px 12px;
        min-height: 48px;
    }

    .bookmark-text-only .bookmark-title {
        font-size: 14px;
    }
}

/* ========== 收藏书签模糊检索 ========== */

/* 检索模式样式 */
.search.fav-search-mode {
    border-color: var(--accent);
}

.search.fav-search-mode .search-btn {
    background: #f59e0b;
}

.search.fav-search-mode .search-btn svg {
    fill: currentColor;
    stroke: none;
}

/* 检索下拉 */
.fav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    animation: dropIn 0.15s ease;
}

.fav-dropdown[hidden] { display: none; }

.fav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.fav-item:last-child { border-bottom: none; }
.fav-item:hover, .fav-item.selected { background: var(--bg-hover); }

.fav-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    object-fit: contain;
    background: var(--bg-hover);
    flex-shrink: 0;
}

.fav-info {
    flex: 1;
    min-width: 0;
}

.fav-title {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-title mark {
    background: #fef08a;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .fav-title mark {
        background: #854d0e;
    }
}

:root[data-theme="dark"] .fav-title mark {
    background: #854d0e;
}

.fav-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-muted);
}

.fav-category {
    background: var(--bg-hover);
    padding: 1px 5px;
    border-radius: 3px;
    color: var(--text-secondary);
    font-size: 10px;
}

.fav-host {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-empty {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* 管理面板收藏区域 */
.fav-stats {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.fav-stats code {
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 12px;
}

.fav-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.fav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 收藏管理器 */
.fav-manager-header {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.fav-manager-search {
    flex: 1;
    min-width: 150px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

.fav-manager-search:focus {
    outline: none;
    border-color: var(--accent);
}

.fav-category-filter {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    min-width: 120px;
}

.fav-manager-stats {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding: 0 4px;
}

.fav-manager-list {
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
}

.fav-manager-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 6px;
}

.fav-manager-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.fav-manager-info {
    flex: 1;
    min-width: 0;
}

.fav-manager-title {
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-manager-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fav-manager-title-link:hover .fav-manager-title {
    color: var(--accent);
    text-decoration: underline;
}

.fav-manager-url {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.fav-manager-category {
    font-size: 10px;
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.fav-manager-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.fav-manager-footer {
    margin-top: 12px;
}

.fav-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fav-page-info {
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: center;
}

/* 添加/编辑对话框 */
.fav-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
}

.fav-dialog {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.fav-dialog h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.fav-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fav-form input,
.fav-form select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

.fav-form input:focus,
.fav-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.fav-category-row {
    display: flex;
    gap: 8px;
}

.fav-category-row select {
    flex: 1;
    min-width: 0;
}

.fav-category-row input {
    flex: 1;
    min-width: 0;
}

.fav-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fav-dropdown {
        max-height: 60vh;
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        animation: slideUpMobile 0.2s ease;
    }

    @keyframes slideUpMobile {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .fav-item {
        padding: 12px 14px;
        gap: 12px;
        -webkit-tap-highlight-color: transparent;
    }

    .fav-item:active {
        background: var(--bg-hover);
    }

    .fav-icon {
        width: 22px;
        height: 22px;
    }

    .fav-title {
        font-size: 15px;
    }

    .fav-meta {
        font-size: 12px;
    }

    /* 管理界面优化 */
    .fav-manager-header {
        flex-direction: column;
        gap: 8px;
    }

    .fav-manager-header .btn {
        align-self: flex-start;
    }

    .fav-manager-search {
        width: 100%;
        font-size: 16px; /* 防止 iOS 自动缩放 */
        padding: 12px 14px;
    }

    .fav-category-filter {
        width: 100%;
        font-size: 16px;
        padding: 10px 12px;
    }

    .fav-manager-list {
        max-height: 50vh;
    }

    .fav-manager-item {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .fav-manager-icon {
        display: none;
    }

    .fav-manager-info {
        flex: 1 1 100%;
        order: 1;
    }

    .fav-manager-title {
        font-size: 15px;
    }

    .fav-manager-category {
        order: 2;
    }

    .fav-manager-actions {
        order: 3;
        margin-left: auto;
    }

    .fav-manager-actions .btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .fav-pagination {
        padding: 8px 0;
    }

    .fav-pagination .btn {
        padding: 10px 16px;
    }

    /* 对话框优化 */
    .fav-dialog-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .fav-dialog {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
        animation: slideUpMobile 0.25s ease;
    }

    .fav-form input,
    .fav-form select {
        font-size: 16px;
        padding: 12px 14px;
    }

    .fav-category-row {
        flex-direction: column;
    }

    .fav-dialog-actions {
        gap: 10px;
    }

    .fav-dialog-actions .btn {
        flex: 1;
        padding: 12px;
        font-size: 15px;
    }

    .fav-actions {
        flex-direction: column;
    }

    .fav-actions .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .fav-dropdown {
        max-height: 70vh;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
    }

    .fav-item {
        padding: 10px 12px;
    }

    .fav-manager-list {
        max-height: 45vh;
    }

    .fav-manager-item {
        padding: 8px 10px;
    }

    .fav-manager-title {
        font-size: 14px;
    }

    .fav-manager-url {
        font-size: 10px;
    }
}

/* iPad / 平板适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .fav-dropdown {
        max-height: 450px;
    }

    .fav-manager-header {
        flex-wrap: nowrap;
    }

    .fav-manager-list {
        max-height: 450px;
    }

    .fav-manager-item {
        padding: 10px 14px;
    }

    .fav-dialog {
        max-width: 500px;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .fav-dropdown {
        max-height: 80vh;
        position: fixed;
        top: 10px;
        bottom: 10px;
        left: 50%;
        right: auto;
        width: 400px;
        transform: translateX(-50%);
        border-radius: var(--radius);
    }

    .fav-dialog-overlay {
        align-items: center;
    }

    .fav-dialog {
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .fav-item,
    .fav-manager-item,
    .btn {
        -webkit-tap-highlight-color: transparent;
    }

    .fav-item:active,
    .fav-manager-item:active {
        background: var(--bg-hover);
        transition: none;
    }

    /* 增大触摸区域 */
    .fav-manager-actions .btn {
        min-height: 36px;
        min-width: 60px;
    }

    .fav-pagination .btn {
        min-height: 40px;
        min-width: 80px;
    }
}

/* ========== 版本更新提示 ========== */

/* ========== WebDAV 远程备份 ========== */

.webdav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.webdav-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.webdav-status-dot.active {
    background: #22c55e;
}

.webdav-last-backup {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.webdav-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.webdav-row {
    display: flex;
    gap: 8px;
}

.webdav-row input[type="url"],
.webdav-row input[type="text"],
.webdav-row input[type="password"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

.webdav-row input:focus {
    outline: none;
    border-color: var(--accent);
}

.webdav-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.webdav-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.webdav-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.webdav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.webdav-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    min-height: 20px;
}

.webdav-message:empty {
    display: none;
}

.webdav-message.success {
    background: #dcfce7;
    color: #166534;
}

.webdav-message.error {
    background: #fee2e2;
    color: #991b1b;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .webdav-message.success {
        background: #14532d;
        color: #86efac;
    }
    :root:not([data-theme="light"]) .webdav-message.error {
        background: #450a0a;
        color: #fca5a5;
    }
}

:root[data-theme="dark"] .webdav-message.success {
    background: #14532d;
    color: #86efac;
}

:root[data-theme="dark"] .webdav-message.error {
    background: #450a0a;
    color: #fca5a5;
}

.webdav-loading {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* WebDAV 恢复对话框 */
.webdav-restore-dialog {
    max-width: 500px;
}

.webdav-backup-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.webdav-backup-item {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all var(--transition);
}

.webdav-backup-item:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.webdav-backup-item:last-child {
    margin-bottom: 0;
}

.webdav-backup-info {
    flex: 1;
    min-width: 0;
}

.webdav-backup-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.webdav-backup-actions .btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}

.webdav-backup-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    word-break: break-all;
}

.webdav-backup-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .webdav-row-half {
        grid-template-columns: 1fr;
    }

    .webdav-actions {
        flex-direction: column;
    }

    .webdav-actions .btn {
        width: 100%;
    }

    .webdav-status {
        flex-wrap: wrap;
    }

    .webdav-last-backup {
        flex-basis: 100%;
        margin-left: 16px;
        margin-top: 4px;
    }

    .webdav-restore-dialog {
        max-width: 100%;
    }

    .webdav-backup-list {
        max-height: 50vh;
    }
}

/* ========== 版本更新提示 (continued) ========== */

/* 帮助按钮更新徽章 */
.fab-help.has-update::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* 新功能区块 */
.help-new-features {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .help-new-features {
        background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
        border-color: #b45309;
    }
}

:root[data-theme="dark"] .help-new-features {
    background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
    border-color: #b45309;
}

.help-new-features-header {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .help-new-features-header {
        color: #fbbf24;
    }
}

:root[data-theme="dark"] .help-new-features-header {
    color: #fbbf24;
}

.help-new-features-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .help-new-features-list {
        color: #fde68a;
    }
}

:root[data-theme="dark"] .help-new-features-list {
    color: #fde68a;
}

.help-new-features-list li {
    margin-bottom: 4px;
}

.help-new-features-list li:last-child {
    margin-bottom: 0;
}

/* ========== 可折叠区块 ========== */

.section-collapsible {
    margin-bottom: 32px;
}

.section-collapsible:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.section-header:hover {
    color: var(--accent);
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-toggle-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition);
}

.section-header.expanded .section-toggle-icon {
    transform: rotate(90deg);
}

.section-body {
    padding-top: 12px;
}

.section-body.collapsed {
    display: none;
}

/* ========== 恢复选项 ========== */

.restore-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.restore-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.restore-option:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.restore-option input[type="radio"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.restore-option span {
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

/* ========== 批量操作栏 ========== */

.fav-batch-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
}

.fav-select-all {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.fav-select-all input {
    cursor: pointer;
}

.fav-selected-count {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

/* ========== 分类拖放区 ========== */

.fav-category-zones {
    display: none; /* 已被树状分类替代 */
}

/* ========== 分割布局 ========== */

.fav-manager-split {
    display: flex;
    gap: 16px;
    height: 100%;
    min-height: 400px;
}

.fav-manager-sidebar {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    padding-right: 12px;
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.sidebar-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}

.fav-manager-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ========== 树状分类 ========== */

.category-tree {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}

.category-tree-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition);
    user-select: none;
}

.category-tree-item:hover {
    background: var(--bg-hover);
    color: var(--text);
}

.category-tree-item.active {
    background: var(--accent);
    color: white;
}

.category-tree-item.drag-over {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 0 2px var(--accent-hover);
}

.tree-toggle {
    width: 12px;
    font-size: 10px;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.tree-toggle-placeholder {
    width: 12px;
    flex-shrink: 0;
}

.tree-item-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.tree-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tree-item-count {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg);
    padding: 1px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}

.category-tree-item.active .tree-item-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

.category-tree-children {
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.category-tree-children.collapsed {
    display: none;
}

.category-tree-new {
    border: 1px dashed var(--border);
    margin-top: 8px;
    color: var(--text-muted);
}

.category-tree-new:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

/* 分类编辑按钮 */
.tree-item-edit {
    display: none;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 4px;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 4px;
}

.category-tree-item:hover .tree-item-edit {
    display: inline-block;
}

.tree-item-edit:hover {
    color: var(--accent);
}

.category-tree-item.active .tree-item-edit {
    color: rgba(255,255,255,0.7);
}

.category-tree-item.active .tree-item-edit:hover {
    color: white;
}

/* 分类编辑输入框 */
.tree-item-edit-input {
    flex: 1;
    min-width: 60px;
    padding: 2px 6px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    outline: none;
}

.tree-item-name.editing {
    display: none;
}

/* ========== 书签拖拽 ========== */

.fav-drag-handle {
    cursor: grab;
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px;
    flex-shrink: 0;
}

.fav-drag-handle:active {
    cursor: grabbing;
}

.fav-manager-item.dragging {
    opacity: 0.5;
    background: var(--bg-hover);
}

.fav-manager-item[draggable="true"] {
    cursor: default;
}

.fav-checkbox {
    flex-shrink: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fav-batch-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fav-batch-bar .btn {
        flex: 1;
        min-width: 100px;
    }

    /* 树状分类移动端适配 */
    .fav-manager-split {
        flex-direction: column;
    }

    .fav-manager-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 12px;
        max-height: 180px;
    }

    .category-tree {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0;
    }

    .category-tree-item {
        padding: 6px 10px;
        font-size: 12px;
        border: 1px solid var(--border);
        border-radius: 16px;
    }

    .category-tree-children {
        display: none;
    }

    .tree-toggle,
    .tree-toggle-placeholder {
        display: none;
    }

    .restore-options {
        gap: 10px;
    }

    .restore-option {
        padding: 10px;
    }

    .restore-option span {
        font-size: 13px;
    }

    .fav-drag-handle {
        display: none;
    }
}

/* 帮助弹窗标题优化 */
.help-content h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fab-help.has-update::after {
        top: 6px;
        right: 6px;
        width: 8px;
        height: 8px;
    }

    .help-new-features {
        padding: 10px 12px;
        margin-bottom: 14px;
    }

    .help-new-features-header {
        font-size: 13px;
    }

    .help-new-features-list {
        font-size: 12px;
        padding-left: 16px;
    }
}
