:root { color: #15202b; background: radial-gradient(circle at top left, rgba(108, 145, 255, 0.16), transparent 32%), radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 24%), linear-gradient(180deg, #f5f8fc 0%, #edf2f7 100%); font-family: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; --panel: rgba(255, 255, 255, 0.76); --panel-strong: rgba(255, 255, 255, 0.94); --panel-border: rgba(148, 163, 184, 0.18); --shadow: 0 20px 60px rgba(15, 23, 42, 0.08); --text: #0f172a; --muted: #526277; --muted-soft: #7b8aa2; --badge-bg: rgba(226, 232, 240, 0.7); --badge-text: #344256; --accent: #2f6fed; --accent-soft: rgba(47, 111, 237, 0.12); --chrome: #2563eb; --edge: #0891b2; --brave: #ea580c; } * { box-sizing: border-box; } html, body, #app { margin: 0; min-height: 100%; } body { min-height: 100vh; color: var(--text); } button, input, textarea, select { font: inherit; } button { border: 0; } .app-shell { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: 100vh; padding: 14px; gap: 14px; overflow: hidden; } .sidebar, .content-panel { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } .sidebar { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; min-height: 0; border: 1px solid var(--panel-border); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.7)); box-shadow: var(--shadow); } .sidebar-toolbar h1, .state-panel h2, .profile-topline h4, .extension-topline h4, .bookmark-topline h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; } .sidebar-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 2px 8px; } .sidebar-title-group { min-width: 0; } .sidebar-toolbar h1 { font-size: 1.52rem; line-height: 1.02; letter-spacing: -0.04em; } .sidebar-title-group p { margin: 6px 0 0; color: var(--muted); font-size: 0.84rem; line-height: 1.35; } .state-panel p, .meta-line, .profile-email, .bookmark-url, .browser-nav-body span, .sidebar-empty p { margin: 0; color: var(--muted); } .refresh-button { flex-shrink: 0; margin-top: 2px; padding: 9px 13px; border-radius: 12px; background: linear-gradient(135deg, #10213f 0%, #213f75 100%); color: #fff; cursor: pointer; font-size: 0.86rem; font-weight: 600; transition: transform 160ms ease, box-shadow 160ms ease; box-shadow: 0 12px 24px rgba(20, 44, 82, 0.18); } .refresh-button:hover { transform: translateY(-1px); } .browser-nav { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: auto; padding-right: 2px; } .browser-nav-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px; border-radius: 16px; text-align: left; cursor: pointer; background: rgba(255, 255, 255, 0.54); border: 1px solid transparent; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; } .browser-nav-item:hover { transform: translateY(-1px); border-color: var(--panel-border); } .browser-nav-item.active { background: var(--accent-soft); border-color: rgba(47, 111, 237, 0.18); } .browser-nav-item.chrome.active { background: rgba(37, 99, 235, 0.12); } .browser-nav-item.edge.active { background: rgba(8, 145, 178, 0.12); } .browser-nav-item.brave.active { background: rgba(234, 88, 12, 0.12); } .browser-nav-item.utility.active { background: rgba(15, 23, 42, 0.08); border-color: rgba(15, 23, 42, 0.1); } .browser-nav-icon, .profile-avatar, .extension-icon { display: grid; place-items: center; flex-shrink: 0; overflow: hidden; } .browser-nav-icon { width: 42px; height: 42px; border-radius: 0; color: #fff; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.08em; background: transparent; overflow: visible; } .browser-nav-icon img, .config-icon img { display: block; width: auto; height: auto; max-width: 38px; max-height: 38px; object-fit: contain; } .config-nav-icon { background: transparent; } .sidebar-utility-nav { margin-top: auto; } .browser-nav-body { min-width: 0; } .browser-nav-body strong { display: block; color: var(--text); } .browser-nav-body span { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sidebar-empty { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.58); border: 1px dashed rgba(148, 163, 184, 0.35); } .content-panel { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 4px 0; overflow: hidden; } .section-tabs, .content-section, .state-panel { border: 1px solid var(--panel-border); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); } .content-section { padding: 16px; } .inline-error { margin-bottom: 12px; padding: 10px 12px; border: 1px solid rgba(239, 68, 68, 0.18); border-radius: 12px; background: rgba(254, 242, 242, 0.92); color: #b42318; font-size: 0.86rem; } .config-form-card, .config-card { border-radius: 18px; padding: 12px; border: 1px solid rgba(148, 163, 184, 0.18); background: var(--panel-strong); } .config-form-header h3, .config-title-row h4 { margin: 0; font-size: 0.94rem; } .config-form-header p, .config-meta-row p { margin: 6px 0 0; color: var(--muted); font-size: 0.82rem; } .config-form-grid { display: none; } .config-form-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr); gap: 14px; margin-top: 12px; } .config-form-fields, .config-form-side { display: grid; gap: 10px; } .config-form-side { align-content: start; padding: 10px 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.8)); border: 1px solid rgba(148, 163, 184, 0.14); } .icon-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .icon-option-button { display: grid; justify-items: center; gap: 5px; min-height: 86px; padding: 9px 8px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 12px; background: rgba(255, 255, 255, 0.9); color: var(--text); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; } .icon-option-button img { width: 26px; height: 26px; object-fit: contain; } .icon-option-button span { font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.25; } .icon-option-button.active { border-color: rgba(47, 111, 237, 0.3); background: rgba(232, 240, 255, 0.8); box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1); } .field-group { display: grid; gap: 6px; } .path-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; } .field-group span, .config-label { color: var(--muted); font-size: 0.8rem; font-weight: 600; } .field-group input { width: 100%; padding: 9px 11px; border: 1px solid rgba(148, 163, 184, 0.24); border-radius: 12px; background: rgba(255, 255, 255, 0.94); color: var(--text); outline: none; } .field-group input:focus { border-color: rgba(47, 111, 237, 0.42); box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12); } .field-span { grid-column: 1 / -1; } .config-form-actions { display: flex; justify-content: flex-end; margin-top: 2px; } .primary-button, .secondary-button, .danger-button { padding: 9px 14px; border-radius: 12px; font-size: 0.84rem; font-weight: 600; cursor: pointer; } .primary-button { background: linear-gradient(135deg, #10213f 0%, #213f75 100%); color: #fff; } .secondary-button { border: 1px solid rgba(148, 163, 184, 0.24); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92)); color: var(--text); } .danger-button { border: 1px solid rgba(239, 68, 68, 0.18); background: rgba(254, 242, 242, 0.96); color: #b42318; } .primary-button:disabled, .secondary-button:disabled, .danger-button:disabled { cursor: default; opacity: 0.72; } .config-card-header, .config-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .config-card-lead { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1; } .config-icon { width: 36px; height: 36px; border-radius: 0; font-size: 0.8rem; overflow: visible; } .config-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; } .config-meta-row { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: rgba(248, 250, 252, 0.78); border: 1px solid rgba(148, 163, 184, 0.12); } .config-meta-row p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sort-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; } .sort-dropdown { display: inline-flex; align-items: center; gap: 8px; position: relative; } .sort-dropdown-label { color: var(--muted); font-size: 0.84rem; } .sort-dropdown-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 152px; padding: 7px 10px; border: 1px solid rgba(148, 163, 184, 0.26); border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92)); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; } .sort-dropdown-trigger:hover { border-color: rgba(100, 116, 139, 0.36); } .sort-dropdown-trigger.open { border-color: rgba(47, 111, 237, 0.42); box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8); } .sort-dropdown-caret { width: 10px; height: 10px; flex-shrink: 0; border-right: 1.8px solid #64748b; border-bottom: 1.8px solid #64748b; transform: rotate(45deg) translateY(-1px); transition: transform 160ms ease; } .sort-dropdown-trigger.open .sort-dropdown-caret { transform: rotate(-135deg) translate(-2px, -2px); } .sort-dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 100%; padding: 6px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } .sort-dropdown-option { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; text-align: left; color: var(--text); background: transparent; cursor: pointer; transition: background 140ms ease, color 140ms ease; } .sort-dropdown-option:hover { background: rgba(241, 245, 249, 0.92); } .sort-dropdown-option.active { color: #fff; background: linear-gradient(135deg, #213f75, #325ca8); } .section-tabs { display: flex; gap: 10px; margin-top: 0; padding: 8px; flex-shrink: 0; } .content-scroll-area { min-height: 0; overflow: auto; padding-right: 2px; } .section-tab { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; flex: 1; padding: 10px 12px; border-radius: 15px; color: var(--muted); background: rgba(255, 255, 255, 0.58); cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease; } .section-tab:hover { transform: translateY(-1px); } .section-tab.active { color: var(--text); background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 240, 255, 0.92)); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); } .count-pill, .badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.82rem; font-weight: 600; } .count-pill { min-width: 44px; padding: 6px 10px; } .badge { padding: 6px 10px; } .badge.neutral { background: var(--badge-bg); color: var(--badge-text); } .stack-list, .bookmark-list { display: flex; flex-direction: column; gap: 10px; } .profile-card, .extension-card, .bookmark-card, .empty-card { border-radius: 18px; padding: 14px; border: 1px solid rgba(148, 163, 184, 0.18); background: var(--panel-strong); } .profile-card, .extension-card, .bookmark-card { display: flex; gap: 12px; } .profile-avatar { width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, #dbeafe, #eff6ff); color: #1d4ed8; font-size: 1.1rem; font-weight: 700; } .profile-avatar img, .extension-icon img { width: 100%; height: 100%; object-fit: cover; } .profile-body, .extension-body, .bookmark-body { min-width: 0; flex: 1; } .profile-topline, .extension-topline, .bookmark-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .profile-topline h4, .extension-topline h4, .bookmark-topline h4 { font-size: 0.96rem; line-height: 1.35; } .profile-actions { display: inline-flex; align-items: center; gap: 8px; } .profile-email, .meta-line, .bookmark-url { margin-top: 6px; font-size: 0.87rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .extension-icon { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #e2e8f0, #f8fafc); color: #475569; font-weight: 700; } .source-disclosure { margin-top: 10px; } .disclosure-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: fit-content; min-width: 120px; padding: 7px 10px; border-radius: 12px; background: rgba(241, 245, 249, 0.9); color: var(--badge-text); cursor: pointer; } .card-action-button { padding: 6px 10px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92)); border: 1px solid rgba(148, 163, 184, 0.24); color: var(--text); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; } .card-action-button:hover { border-color: rgba(100, 116, 139, 0.36); background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(226, 232, 240, 0.9)); } .card-action-button:disabled { cursor: default; opacity: 0.7; border-color: rgba(148, 163, 184, 0.2); } .card-action-button:active { box-shadow: inset 0 2px 4px rgba(148, 163, 184, 0.18); } .disclosure-panel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .state-panel, .empty-card { display: grid; gap: 8px; } .eyebrow { margin: 0 0 6px; color: var(--muted-soft); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; } .state-panel { min-height: 320px; place-content: center; padding: 28px; } .sidebar-refresh { margin-top: 10px; align-self: stretch; } .browser-nav, .content-scroll-area { scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, 0.42) transparent; } .browser-nav::-webkit-scrollbar, .content-scroll-area::-webkit-scrollbar { width: 10px; } .browser-nav::-webkit-scrollbar-track, .content-scroll-area::-webkit-scrollbar-track { background: transparent; } .browser-nav::-webkit-scrollbar-thumb, .content-scroll-area::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: linear-gradient(180deg, rgba(148, 163, 184, 0.72), rgba(100, 116, 139, 0.58)); background-clip: padding-box; } .browser-nav::-webkit-scrollbar-thumb:hover, .content-scroll-area::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(100, 116, 139, 0.82), rgba(71, 85, 105, 0.72)); background-clip: padding-box; } .state-panel.error { background: linear-gradient(180deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.86)); } @media (max-width: 1180px) { .app-shell { grid-template-columns: 1fr; height: auto; min-height: 100vh; padding: 12px; overflow: visible; } .content-panel { padding: 0; overflow: visible; } .browser-nav, .content-scroll-area { overflow: visible; } } @media (max-width: 720px) { .config-form-layout { grid-template-columns: 1fr; } .icon-option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sort-bar { justify-content: stretch; } .sort-dropdown { width: 100%; } .sort-dropdown-trigger { min-width: 0; width: 100%; } .profile-card, .extension-card, .bookmark-card { flex-direction: column; } .config-meta { grid-template-columns: 1fr; } .profile-avatar, .extension-icon { width: 50px; height: 50px; } }