    * { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --primary-color: #2cb2f3;
      --primary-color-hover: #4fc0f5;
      --bg-color: #f1f5f9;
      --card-bg: #ffffff;
      --card-border: #e5e7eb;
      --text-primary: #1f2937;
      --text-secondary: #6b7280;
      --text-muted: #9ca3af;
      --sider-bg: #ffffff;
      --sider-width: 240px;
      --transition: all 0.3s ease;
    }
    [data-theme="dark"] {
      --bg-color: #1c1c1c;
      --card-bg: #232323;
      --card-border: #282828;
      --text-primary: #ffffff;
      --text-secondary: #a1a1a1;
      --text-muted: #6b7280;
      --sider-bg: #232323;
    }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-primary);
      min-height: 100vh;
      overflow-x: hidden;
    }
    .app-container { display: flex; min-height: 100vh; }
    .sider {
      width: var(--sider-width);
      background-color: var(--sider-bg);
      border-right: 1px solid var(--card-border);
      position: fixed;
      left: 0;
      top: 0;
      height: 100vh;
      overflow: hidden;
      z-index: 100;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .sider.collapsed { transform: translateX(-100%); }
    #menuToggle svg { transition: transform 0.28s ease; display: block; }
    #menuToggle.rotated svg { transform: rotate(90deg); }
    .hero-wrapper { position: relative; display: block; text-decoration: none; overflow: hidden; }
    .hero-gradient { width: 100%; height: auto; margin-top: -65px; }
    .hero-text { position: absolute; left: 0; width: 100%; text-align: center; top: 16px; color: #fff; }
    .hero-title { font-size: 25px; font-weight: 600; }
    .hero-divider { width: 50px; height: 2px; border-radius: 4px; background-color: var(--primary-color); margin: 0 auto 5px; }
    .hero-subtitle { font-size: 16px; }
    .sider-content { flex: 1; padding-top: 20px; padding-bottom: 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: transparent transparent; }
    .sider-content:hover { scrollbar-color: var(--card-border) transparent; }
    .sider-content::-webkit-scrollbar { width: 6px; }
    .sider-content::-webkit-scrollbar-track { background: transparent; }
    .sider-content::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 3px; }
    .sider-content:hover::-webkit-scrollbar-thumb { background-color: var(--card-border); }
    .menu-category { margin-top: 4px; position: relative; }
    .menu-category-header {
      display: flex;
      align-items: center;
      width: 100%;
      padding: 10px 16px;
      cursor: pointer;
      border: none;
      background: transparent;
      text-align: left;
      transition: all 0.2s ease;
    }
    .menu-category-header:hover { background-color: rgba(44, 178, 243, 0.08); }
    .menu-category-header.active { background-color: rgba(44, 178, 243, 0.14); color: var(--text-primary); }
    .menu-category-header.active .menu-category-icon,
    .menu-category-header.active .menu-category-arrow { color: var(--primary-color); }
    .menu-category-icon { width: 18px; height: 18px; margin-right: 10px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); flex-shrink: 0; }
    .menu-category-icon svg { width: 18px; height: 18px; }
    .menu-category-title { flex: 1; font-size: 14px; color: var(--text-primary); font-weight: 500; }
    .menu-category-arrow { width: 14px; height: 14px; color: var(--text-secondary); transition: transform 0.2s ease; flex-shrink: 0; }
    .menu-items-wrapper { display: flex; position: relative; overflow: hidden; max-height: 2000px; opacity: 1; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; }
    .menu-items-wrapper.collapsed { max-height: 0; opacity: 0; }
    .menu-vertical-line { width: 2px; background-color: var(--card-border); margin-left: 26px; border-radius: 1px; min-height: 20px; transition: opacity 0.3s ease; }
    .menu-items { flex: 1; padding-left: 8px; overflow: hidden; max-height: 2000px; opacity: 1; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; }
    .menu-items.collapsed { max-height: 0; opacity: 0; }
    .menu-item { display: flex; align-items: center; padding: 8px 12px 8px 8px; margin: 2px 8px 2px 0; color: var(--text-secondary); text-decoration: none; font-size: 14px; border-radius: 4px; transition: all 0.2s ease; }
    .menu-item:hover { background-color: rgba(44, 178, 243, 0.08); color: var(--primary-color); }
    .menu-item-icon { width: 20px; height: 20px; margin-right: 10px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); flex-shrink: 0; opacity: 0.7; }
    .menu-item-icon svg { width: 18px; height: 18px; stroke-width: 2.5; }
    .sider-logo { display: flex; justify-content: center; align-items: center; padding: 20px 0 16px; border-top: 1px solid var(--card-border); background-color: var(--sider-bg); }
    .sider-logo img { width: 60px; height: 60px; object-fit: contain; border-radius: 60px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
    .sider-footer { text-align: center; color: #838587; padding: 12px 0; font-size: 12px; background-color: var(--sider-bg); }
    .sider-footer a { color: var(--primary-color); text-decoration: none; }
    .main-content { flex: 1; margin-left: var(--sider-width); min-height: 100vh; transition: var(--transition); }
    .main-content.full-width { margin-left: 0; }
    .navbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 26px; background-color: var(--bg-color); position: sticky; top: 0; z-index: 50; }
    .navbar-left { display: flex; align-items: center; gap: 8px; flex: 1; }
    .navbar-right { display: flex; align-items: center; gap: 8px; }
    .user-avatar { width: 36px; height: 36px; border-radius: 50%; background-color: var(--primary-color); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; transition: var(--transition); }
    .user-avatar:hover { background-color: var(--primary-color-hover); }
    .toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(-100%); background-color: var(--card-bg); color: var(--text-primary); padding: 10px 16px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08); border: 1px solid var(--card-border); z-index: 1000; opacity: 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 200px; max-width: 400px; }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
    .toast-icon { width: 18px; height: 18px; flex-shrink: 0; }
    .toast-success { border-left: 3px solid #5fb93a; }
    .toast-error { border-left: 3px solid #ef4569; }
    .toast-info { border-left: 3px solid #2cb2f3; }
    .nav-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; background: transparent; border-radius: 50%; cursor: pointer; color: var(--text-secondary); transition: var(--transition); }
    .nav-btn:hover { background-color: rgba(44, 178, 243, 0.1); color: var(--primary-color); }
    .nav-btn svg { width: 20px; height: 20px; }
    .search-box { position: relative; flex: 1; max-width: 420px; }
    .search-input { width: 100%; padding: 8px 12px 8px 36px; border: 1px solid var(--card-border); border-radius: 20px; background-color: var(--card-bg); color: var(--text-primary); font-size: 14px; outline: none; transition: var(--transition); }
    .search-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(44, 178, 243, 0.2); }
    .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; opacity: 0.5; }
    .search-shortcut { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--text-muted); background-color: var(--bg-color); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--card-border); }
    .search-popover { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 999; background-color: var(--card-bg); border: 1px solid rgba(203, 213, 225, 0.85); box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12); border-radius: 18px; padding: 10px; max-height: 420px; overflow-y: auto; backdrop-filter: blur(18px); overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease; }
    .search-popover.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .search-result-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(248, 250, 252, 0.92); color: var(--text-primary); text-decoration: none; border: 1px solid transparent; transition: background 0.2s ease, border-color 0.2s ease; margin-bottom: 10px; }
    .search-result-item:hover { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.18); }
    .search-result-item:last-child { margin-bottom: 0; }
    .search-result-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55)); border: 1px solid rgba(255, 255, 255, 0.66); box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 10px 24px rgba(15, 23, 42, 0.08); color: var(--primary-color); }
    .search-result-icon svg { width: 22px; height: 22px; }
    .search-result-info { flex: 1; min-width: 0; }
    .search-result-title { font-size: 14px; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .search-result-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.4; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .highlighted-term { background: rgba(44, 178, 243, 0.18); color: var(--primary-color); border-radius: 4px; padding: 0 4px; white-space: nowrap; }
    .search-popover-empty { text-align: center; color: var(--text-muted); padding: 18px 10px; font-size: 13px; }
    .content-wrapper { padding: 0 26px 26px; }
    body { font-size: 14px; line-height: 1.65; }
    .tool-detail-card, .panel { background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; }
    .tool-detail-header { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
    .tool-detail-icon { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(66, 150, 223, 0.12), rgba(44, 178, 243, 0.18)); color: var(--primary-color); }
    .tool-detail-icon svg { width: 28px; height: 28px; }
    .tool-detail-title { font-size: 24px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
    .tool-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; color: var(--text-secondary); font-size: 13px; }
    .tool-detail-meta span { display: inline-flex; align-items: center; gap: 6px; background: rgba(44, 178, 243, 0.08); color: var(--text-primary); padding: 8px 12px; border-radius: 999px; }
    .tool-detail-desc { font-size: 15px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 24px; }
    .tool-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .tool-detail-actions a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; background-color: var(--primary-color); color: #fff; text-decoration: none; font-weight: 600; transition: var(--transition); }
    .tool-detail-actions a:hover { background-color: var(--primary-color-hover); }
    .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 99; }
    .overlay.active { display: block; }
    @media (max-width: 1024px) { .content-wrapper { padding: 0 20px 20px; } }
    @media (max-width: 768px) {
      .sider { transform: translateX(-100%); }
      .sider.open { transform: translateX(0); }
      .main-content { margin-left: 0; }
      .navbar { padding: 12px 16px; }
    }
    /* Page specific layout */
    .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
      color: var(--text-primary);
      font-size: 14px;
      border-radius: 12px;
      margin: 18px 0 14px;
      box-shadow: 0 6px 18px rgba(15,23,42,0.06);
      border: 1px solid rgba(15,23,42,0.04);
      backdrop-filter: blur(6px);
    }
    .breadcrumb-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease; }
    .breadcrumb-nav a:hover { color: var(--text-primary); }
    .breadcrumb-nav .separator { opacity: 0.5; }
    .breadcrumb-nav .current { font-weight: 600; color: var(--text-primary); }
    .tool-detail-container {
      display: flex;
      gap: 26px;
      padding: 0;
    }
    .tool-left-column { flex: 1; min-width: 0; }
    .tool-right-column { width: 280px; flex-shrink: 0; }
    .tool-section {
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 16px;
      margin-bottom: 16px;
    }
    .tool-section:last-child { margin-bottom: 0; }
    .tool-section-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 12px;
      padding-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .tool-ops-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 12px 0 16px;
      justify-content: center;
      align-items: center;
    }
    .token-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 8px;
      background: rgba(255,255,255,0.08);
      color: #f8fafc;
      backdrop-filter: blur(16px);
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
      white-space: nowrap;
    }
    .token-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
      background: rgba(255,255,255,0.14);
      border-color: rgba(255,255,255,0.28);
    }
    .token-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
    .tool-component-body .tool-ops-controls { margin-bottom: 18px; }
    .btn-primary { background: #38bdf8; color: #ffffff; border-color: rgba(56, 189, 248, 0.45); }
    .btn-primary:hover { background: #7dd3fc; color: #ffffff; }
    .btn-secondary { background: #34d399; color: #ffffff; border-color: rgba(52, 211, 153, 0.45); }
    .btn-secondary:hover { background: #6ee7b7; color: #ffffff; }
    .btn-favorite { background: #facc15; color: #ffffff; border-color: rgba(250, 204, 21, 0.5); }
    .btn-favorite:hover { background: #fde047; color: #ffffff; }
    .btn-favorite.active { background: #f59e0b; color: #ffffff; border-color: rgba(245, 158, 11, 0.5); }
    .btn-favorite.active:hover { background: #fbbf24; color: #ffffff; }
    .btn-favorite.active svg { fill: currentColor; stroke: currentColor; }
    .btn-share { background-color: rgba(66, 150, 223, 0.15); color: #4296df; border: 1px solid rgba(66, 150, 223, 0.3); }
    .btn-share:hover { background-color: rgba(66, 150, 223, 0.25); border-color: rgba(66, 150, 223, 0.5); }
    .fly-star {
      position: fixed;
      width: 28px;
      height: 28px;
      color: #ef4569;
      pointer-events: none;
      z-index: 2000;
      transition: transform 0.9s ease, opacity 0.9s ease;
    }
    .fly-star svg {
      width: 100%;
      height: 100%;
      fill: currentColor;
      filter: drop-shadow(0 2px 8px rgba(239, 69, 105, 0.5));
    }
    .tool-ops-frame { min-height: 280px; border: 1px dashed var(--card-border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5)); padding: 20px; }
        [data-theme="dark"] .tool-ops-frame { background: linear-gradient(180deg, rgba(40,40,40,0.7), rgba(35,35,35,0.5)); }
        /* Dark mode overrides for component inline styles */
        [data-theme="dark"] .tool-component-body input,
        [data-theme="dark"] .tool-component-body textarea,
        [data-theme="dark"] .tool-component-body select { background-color: #2a2a2a !important; border-color: #444 !important; color: var(--text-primary) !important; }
        [data-theme="dark"] .tool-component-body .tool-component-result,
        [data-theme="dark"] .tool-component-body [style*="background:#f8fafc"],
        [data-theme="dark"] .tool-component-body [style*="background:white"],
        [data-theme="dark"] .tool-component-body [style*="background: white"] { background-color: #2a2a2a !important; border-color: #444 !important; color: var(--text-primary) !important; }
        [data-theme="dark"] .tool-component-body [style*="background:white"],
        [data-theme="dark"] .tool-component-body [style*="background: white"] { background-color: #333 !important; }
        [data-theme="dark"] .tool-component-body [style*="background:#f0f9ff"],
        [data-theme="dark"] .tool-component-body [style*="background: #f0f9ff"] { background-color: rgba(59,130,246,0.1) !important; border-color: #444 !important; }
        [data-theme="dark"] .tool-component-body .result-pane,
        [data-theme="dark"] .tool-component-body [style*="border:1px solid #e5e7eb"],
        [data-theme="dark"] .tool-component-body [style*="border: 1px solid #e5e7eb"] { border-color: #444 !important; }
    .tool-component { width: 100%; }
    .tool-placeholder { color: var(--text-muted); padding: 28px; line-height: 1.6; text-align: center; }
    .tool-feedback .feedback-input-wrapper { position: relative; }
    .tool-tutorial ol,
    .tool-scenarios ul {
      padding-left: 28px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin: 0 0 0 0;
    }
    .tool-tutorial ol { padding-left: 22px; }
    .tool-tutorial li { margin-bottom: 10px; }
    .usage-tutorial li,
    .tool-scenarios li,
    .feature-list li {
      margin-bottom: 8px;
      font-size: 14px;
    }
    .usage-tutorial li:last-child,
    .tool-scenarios li:last-child { margin-bottom: 0; }
    .tool-faq .faq-item { margin-bottom: 12px; }
    .tool-faq .faq-item:last-child { margin-bottom: 0; }
    .tool-faq .faq-question { font-weight: 500; color: var(--text-primary); margin-bottom: 4px; font-size: 14px; }
    .tool-faq .faq-answer { color: var(--text-secondary); line-height: 1.6; font-size: 14px; }
    #feedbackInput { width: 100%; min-height: 108px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--card-border); resize: vertical; font-size: 14px; line-height: 1.65; background: var(--bg-color); color: var(--text-primary); }
    .feedback-meta { position: absolute; bottom: 12px; right: 16px; font-size: 12px; color: var(--text-muted); background: rgba(241,245,249,0.95); padding: 2px 8px; border-radius: 6px; pointer-events: none; }
    .feedback-actions { margin-top: 18px; display: flex; justify-content: flex-end; }
    .feedback-actions .btn-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; background-color: var(--primary-color); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; min-width: 140px; min-height: 40px; }
    .feedback-actions .btn-submit:hover { background-color: var(--primary-color-hover); }
    .feedback-actions .btn-submit svg { width: 16px; height: 16px; flex: 0 0 16px; display: inline-block; vertical-align: middle; }
    .feedback-actions .btn-submit span { display: inline-block; vertical-align: middle; }
    .tool-name { margin: 0 0 10px 0; font-size: 22px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
    .tool-meta div { margin-bottom: 10px; color: var(--text-secondary); font-size: 14px; }
    .tool-short { color: var(--text-secondary); font-size: 14px; margin-top: 14px; line-height: 1.75; }
    .tool-info-list { display: flex; flex-direction: column; gap: 8px; }
    .tool-info-item { display: flex; align-items: center; padding: 8px 12px; font-size: 14px; border-radius: 8px; }
    .tool-info-label { width: 100px; color: var(--text-secondary); flex-shrink: 0; font-weight: 600; }
    .tool-info-value { flex: 1; color: var(--text-primary); font-weight: 600; font-size: 15px; }
    .tool-info-item + .tool-info-item { border-top: 1px solid rgba(0,0,0,0.04); padding-top: 12px; }
    .tool-info-value.category { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background-color: rgba(44,178,243,0.1); color: var(--primary-color); border-radius: 999px; font-size: 13px; width: fit-content; }
    .tool-info-value.description { color: var(--text-secondary); font-weight: normal; line-height: 1.6; }
    .tool-features .feature-list { display: flex; flex-direction: column; gap: 8px; }
    .tool-features .feature-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px; background-color: var(--bg-color); border-radius: 12px; }
    .tool-features .feature-icon { width: 18px; height: 18px; color: var(--primary-color); flex-shrink: 0; margin-top: 2px; }
    .tool-features .feature-text { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

    /* Floating favorites */
    .floating-favorites { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1200; display: flex; align-items: center; }
    .floating-favorites-trigger {
      width: 40px;
      height: 120px;
      background: linear-gradient(180deg, #1a8bc9 0%, #2cb2f3 100%);
      border-radius: 8px 0 0 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: -4px 0 16px rgba(44, 178, 243, 0.3);
      transition: all 0.4s ease;
      writing-mode: vertical-rl;
      text-orientation: upright;
      color: #fff;
      font-weight: 500;
      font-size: 14px;
      letter-spacing: 4px;
      padding: 12px 0;
    }
    .floating-favorites:hover .floating-favorites-trigger { background: linear-gradient(180deg, #2cb2f3 0%, #1a8bc9 100%); }
    .floating-favorites-panel {
      width: 0;
      max-height: 280px;
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      border-right: none;
      border-radius: 8px 0 0 8px;
      overflow: hidden;
      transition: all 0.5s ease;
      box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
      opacity: 0;
      transform: translateX(20px);
    }
    .floating-favorites:hover .floating-favorites-panel { width: 880px; opacity: 1; transform: translateX(0); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--card-border) transparent; }
        .floating-favorites:hover .floating-favorites-panel::-webkit-scrollbar { width: 6px; }
        .floating-favorites:hover .floating-favorites-panel::-webkit-scrollbar-track { background: transparent; }
        .floating-favorites:hover .floating-favorites-panel::-webkit-scrollbar-thumb { background-color: var(--card-border); border-radius: 3px; }
        .floating-favorites:hover .floating-favorites-panel::-webkit-scrollbar-thumb:hover { background-color: var(--text-muted); }
    .floating-favorites-list { padding: 12px; max-height: 260px; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; scrollbar-width: thin; scrollbar-color: transparent transparent; }
        .floating-favorites-list:hover { scrollbar-color: var(--card-border) transparent; }
        .floating-favorites-list::-webkit-scrollbar { width: 6px; }
        .floating-favorites-list::-webkit-scrollbar-track { background: transparent; }
        .floating-favorites-list::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 3px; }
        .floating-favorites-list:hover::-webkit-scrollbar-thumb { background-color: var(--card-border); }
        .floating-favorites-list::-webkit-scrollbar-thumb:hover { background-color: var(--text-muted); }
    .floating-favorites-list .favorites-item { display: flex; align-items: center; gap: 8px; padding: 10px; background-color: var(--bg-color); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
    .floating-favorites-list .favorites-item:hover { background-color: rgba(44,178,243,0.1); }
    .floating-favorites-list .favorites-item-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background-color: var(--card-bg); border-radius: 6px; color: var(--primary-color); flex-shrink: 0; }
    .floating-favorites-list .favorites-item-icon svg { width: 14px; height: 14px; }
    .floating-favorites-list .favorites-item-name { flex: 1; font-size: 14px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
    .floating-favorites-empty { text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; grid-column: span 3; }

    @media (max-width: 1024px) {
      .tool-detail-container { flex-direction: column; }
      .tool-right-column { width: 100%; }
      .floating-favorites:hover .floating-favorites-panel { width: 760px; }
      .floating-favorites-list { grid-template-columns: repeat(2, 1fr); }
      .floating-favorites-empty { grid-column: span 2; }
      .token-btn { padding: 8px 12px; font-size: 13px; }
    }
