    .cc-wrapper {
        --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        justify-content: center;
        padding: clamp(0px, 5vw, 0px) 20px;
    }

    .cc-panel {
        position: relative;                
        width: 100%;
        max-width: 1100px;
        border-radius: 28px;
        padding: clamp(28px, 5vw, 56px);
    }
    
    #bgCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.5; z-index: 0; }
    .cc-content { position: relative; z-index: 1; }

    /* ---------- INPUT AREA ---------- */
    .cc-app-container {
        background: var(--bg-body);
        border: 2px solid var(--border-color);
        border-radius: 24px;
        padding: 24px;
        transition: all 0.3s var(--ease-out);
        margin-bottom: 24px;
    }
    .cc-app-container:focus-within { border-color: var(--primary-color); background: var(--card-bg); box-shadow: 0 0 0 6px var(--primary-light); }
    
    .search-box-start { display: flex; gap: 16px; }
    @media (max-width: 768px) { .search-box-start { flex-direction: column; } }
    
    .search-input-wrap { flex: 1; position: relative; display: flex; align-items: center; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 0 20px; transition: 0.2s; }
    .search-input-wrap:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-light); }
    .search-input { width: 100%; height: 56px; border: none; background: transparent; padding-left: 12px; font-size: 16px; color: var(--text-main); outline: none; }
    .search-btn { height: 56px; padding: 0 32px; border-radius: 12px; border: none; color: #fff; background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end)); font-size: 16px; font-weight: 800; cursor: pointer; transition: all 0.25s var(--ease-out); white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .search-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px var(--primary-shadow); }
    .search-btn:disabled { opacity: 0.5; cursor: not-allowed; }

    /* ---------- LOADING STATE ---------- */
    .cc-loading { text-align: center; padding: 40px 0; }
    .cc-orb { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-body); border: 2px solid var(--primary-light); margin: 0 auto 24px auto; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 32px; box-shadow: 0 0 0 16px var(--primary-light); transition: all 0.3s; animation: pulse 2s infinite ease-in-out; }
    @keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--primary-light); } 70% { box-shadow: 0 0 0 20px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
    
    .cc-thinking-log { list-style: none; margin: 0; padding: 0 10px; display: flex; flex-direction: column; gap: 14px; max-width: 400px; margin: 0 auto; }
    .cc-thinking-log li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-muted); animation: slideInUp 0.4s ease forwards; }
    .cc-thinking-log li.active { color: var(--text-main); font-weight: 700; }
    .cc-thinking-log li.done { color: var(--text-muted); opacity: 0.7; }
    .cc-log-dot { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s; }
    .cc-log-dot span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
    .cc-thinking-log li.active .cc-log-dot { border-color: var(--primary-color); color: var(--primary-color); background: rgba(99, 102, 241, 0.08); }
    .cc-thinking-log li.done .cc-log-dot { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

    /* ---------- RESULTS DASHBOARD ---------- */
    .cc-result { animation: fadeIn 0.5s ease; }
    .cc-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
    .cc-btn-ghost { background: transparent; border: 1px solid var(--border-color); border-radius: 10px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
    .cc-btn-ghost:hover { border-color: var(--primary-color); color: var(--primary-color); }

    /* Stats Strip */
    .stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
    .sc { background: var(--bg-body); border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; text-align: center; }
    .sc.c-indigo .sc-lbl i { color: #6366f1; }
    .sc.c-blue .sc-lbl i { color: var(--info); }
    .sc.c-purple .sc-lbl i { color: #a855f7; }
    .sc.c-red .sc-lbl i { color: var(--primary-color); }
    .sc-val { font-size: 20px; font-weight: 900; color: var(--text-main); line-height: 1.2; margin-top: 12px; transition: transform 0.3s; }
    .sc-lbl { font-size: 14px; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

    /* Workspace Panel */
    .ws-panel { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; margin-bottom: 30px; }
    .panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--border-color); background: var(--card-bg); flex-wrap: wrap; gap: 12px; }
    .panel-title { font-size: 15px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin: 0; }

    /* Compare Box */
    .compare-box { display: flex; align-items: stretch; margin: 24px; border-radius: 16px; border: 1px solid var(--border-color); background: var(--card-bg); overflow: hidden; }
    @media (max-width: 800px) { .compare-box { flex-direction: column; } .cb-arrow { transform: rotate(90deg); border-left: none; border-right: none; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); height: 40px; width: 100%; } }
    .cb-pane { flex: 1; padding: 24px; position: relative; border: 2px solid transparent; }
    .cb-label { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
    .cb-url { font-size: 15px; font-weight: 600; color: var(--text-main); word-break: break-all; line-height: 1.5; font-family: 'Space Mono', monospace; }
    .cb-arrow { flex-shrink: 0; width: 40px; background: rgba(0,0,0,0.02); border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
    .dark-mode .cb-arrow { background: rgba(255,255,255,0.02); }

    .status-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 4px; }
    .status-badge.pass { background: rgba(16, 185, 129, 0.1); color: #10b981; }
    .status-badge.warn { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
    .status-badge.fail { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

    /* Assessment Box */
    .assessment-box { display: flex; align-items: flex-start; gap: 16px; margin: 0 24px 24px; padding: 20px; border-radius: 16px; border: 1px solid var(--border-color); background: rgba(0,0,0,0.01); }
    .dark-mode .assessment-box { background: rgba(255,255,255,0.01); }
    .ab-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .ab-icon.pass { background: rgba(16, 185, 129, 0.1); color: #10b981; }
    .ab-icon.warn { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
    .ab-icon.fail { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
    .ab-icon.info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
    .ab-content { flex: 1; }
    .ab-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 6px; }
    .ab-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

    /* Code Box */
    .code-box-wrapper { position: relative; margin: 0 24px 24px; }
    .code-box { background: rgba(0,0,0,0.02); padding: 20px; border-radius: 14px; border: 1px solid var(--border-color); font-family: 'Space Mono', monospace; font-size: 13.5px; color: var(--text-main); line-height: 1.7; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; }
    .dark-mode .code-box { background: rgba(255,255,255,0.02); }
    .code-box.missing { color: #ef4444; font-style: italic; }
    .copy-btn { position: absolute; top: 12px; right: 12px; background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-muted); padding: 6px; border-radius: 6px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
    .copy-btn:hover { color: var(--primary-color); border-color: var(--primary-color); }

    /* ---------- HISTORY SECTION ---------- */
    .cc-history-section { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; padding: 24px; margin-top: 30px; }
    .cc-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
    .cc-history-title { font-size: 15px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin: 0; }
    .cc-history-list { display: flex; flex-direction: column; gap: 10px; }
    .cc-history-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: 0.2s; gap: 12px; }
    .cc-history-item:hover { border-color: var(--primary-color); transform: translateY(-1px); }
    .cc-history-info { display: flex; align-items: center; gap: 10px; overflow: hidden; flex: 1; }
    .cc-history-badge { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; font-family: 'Space Mono', monospace; white-space: nowrap; }
    .cc-history-url { font-size: 13.5px; font-weight: 700; color: var(--text-main); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cc-history-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .cc-history-time { font-size: 12px; color: var(--text-muted); }
    .cc-history-del { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 6px; transition: 0.2s; display: flex; align-items: center; }
    .cc-history-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }



    /* Zero-Inline Enhancements */
    .search-input-wrap i { color: var(--primary-color); margin-right: 8px; }
    .cc-log-dot i { width: 13px; height: 13px; }
    .cc-log-dot i.dot-circle { width: 8px; height: 8px; }
    .cc-thinking-log li span.step-title { line-height: 24px; }
    .cc-result { margin-top: 24px; margin-bottom: 24px; }
    .api-err .ae-icon-wrap { width: 64px; height: 64px; border-radius: 16px; background: rgba(239, 68, 68, 0.1); color: #ef4444; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
    .api-err .ae-icon-wrap i { width: 30px; height: 30px; }
    .api-err h3 { font-size: 24px; font-weight: 900; text-align: center; color: var(--text-main); margin-bottom: 12px; }
    .api-err p { font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 500px; margin: 0 auto 24px; text-align: center; }
    .panel-title i { color: var(--primary-color); }
    .cb-label i { width: 14px; height: 14px; }
    .panel-header.code-header { border-top: 1px solid var(--border-color); border-bottom: none; background: transparent; }
    .cc-btn-ghost.btn-sm { padding: 4px 10px; font-size: 12px; }
    .cc-btn-ghost i { width: 12px; height: 12px; }
    .cc-history-badge.static-pos { position: static; }
    .cc-history-del i { width: 14px; height: 14px; }