
    .sng-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;
    }

    .sng-panel {
        position: relative;                
        width: 100%;
        max-width: 1200px;
        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; }
    .sng-content { position: relative; z-index: 1; }

    /* ---------- SEARCH BAR ---------- */
    .sng-prompt { display: flex; align-items: center; gap: 10px; background: var(--bg-body); border: 2px solid var(--border-color); border-radius: 999px; padding: 8px 8px 8px 22px; transition: all 0.3s var(--ease-out); max-width: 760px; margin: 0 auto 40px; }
    [dir="rtl"] .sng-prompt { padding: 8px 22px 8px 8px; }
    .sng-prompt:focus-within { border-color: var(--primary-color); background: var(--card-bg); box-shadow: 0 0 0 6px var(--primary-light); }
    .sng-prompt-icon { color: var(--primary-color); flex-shrink: 0; width: 18px; height: 18px; }
    .sng-prompt-input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--text-main); font-size: 15px; padding: 10px 0; font-family: 'Space Mono', monospace; }
    .sng-prompt-input::placeholder { color: var(--text-muted); }

    .sng-prompt-submit {
        flex-shrink: 0; height: 46px; padding: 0 24px; border-radius: 999px; border: none; color: #fff;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end));
        display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14px; cursor: pointer;
        transition: transform 0.25s var(--ease-out), filter 0.2s, box-shadow 0.25s;
    }
    .sng-prompt-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px var(--primary-shadow); }
    .sng-prompt-submit:disabled { opacity: 0.45; cursor: not-allowed; }

    /* ---------- WORKSPACE GRID ---------- */
    .workspace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
    @media (max-width: 900px) { .workspace-grid { grid-template-columns: 1fr; } }
    
    .ws-panel { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
    .panel-header { padding: 16px 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--card-bg); }
    .panel-title { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--text-main); margin: 0; }
    .panel-body { padding: 24px; flex: 1; }
    
    .act-btn { background: transparent; border: 1px solid var(--border-color); padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
    .act-btn:hover { background: var(--card-bg); color: var(--primary-color); border-color: var(--primary-color); }
    
    .input-group { margin-bottom: 20px; }
    .ig-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
    .ig-label { font-size: 13.5px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
    .ig-counter { font-size: 12px; font-weight: 700; font-family: 'Space Mono', monospace; color: var(--text-muted); }
    
    .c-input { width: 100%; border: 1px solid var(--border-color); border-radius: 12px; background: var(--card-bg); padding: 12px 16px; font-size: 14px; color: var(--text-main); outline: none; transition: border-color 0.2s; }
    .c-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-light); }
    textarea.c-input { min-height: 90px; resize: vertical; line-height: 1.5; }
    
    .prog-wrap { width: 100%; height: 4px; background: var(--border-color); border-radius: 4px; margin-top: 8px; overflow: hidden; }
    .prog-fill { height: 100%; transition: width 0.3s var(--ease-out), background 0.3s; background: var(--success, #10b981); border-radius: 4px; }
    .prog-fill.warn { background: #f59e0b; }
    .prog-fill.danger { background: var(--danger, #ef4444); }

    .sw-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 8px; cursor: pointer; user-select: none; transition: 0.2s; }
    .sw-row:hover { border-color: var(--primary-color); }
    .sw-label { font-size: 13.5px; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
    .sw-track { width: 36px; height: 20px; background: var(--border-color); border-radius: 100px; position: relative; transition: 0.3s; }
    .sw-track.on { background: var(--primary-color); }
    .sw-thumb { width: 14px; height: 14px; background: #fff; border-radius: 50%; position: absolute; top: 3px; left: 3px; transition: 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
    .sw-track.on .sw-thumb { left: 19px; }

    /* ---------- SERP MOCKUP ---------- */
    .device-tabs { display: flex; gap: 8px; margin-bottom: 20px; background: var(--card-bg); padding: 4px; border-radius: 10px; border: 1px solid var(--border-color); width: fit-content; margin-left: auto; margin-right: auto; }
    .dev-tab { background: transparent; border: none; padding: 6px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
    .dev-tab.active { background: var(--bg-body); color: var(--primary-color); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

    .serp-container { min-height: 200px; display: flex; justify-content: center; align-items: flex-start; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--border-color); font-family: arial, sans-serif; margin-bottom: 20px; }
    .light-mode .serp-container { background: #fff; }
    .dark-mode .serp-container { background: #202124; }
    
    .serp-mockup { text-align: left; transition: width 0.3s; width: 100%; }
    .serp-mockup.desktop { max-width: 600px; }
    .serp-mockup.mobile { max-width: 375px; padding: 16px; background: #fff; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .dark-mode .serp-mockup.mobile { background: #202124; border: 1px solid #3c4043; }

    .sm-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
    .sm-favicon { width: 28px; height: 28px; background: #f1f3f4; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
    .dark-mode .sm-favicon { background: #303134; }
    .sm-favicon img { width: 16px; height: 16px; object-fit: contain; }
    .sm-url-text { display: flex; flex-direction: column; overflow: hidden; }
    
    .sm-site-name { font-size: 14px; color: #202124; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dark-mode .sm-site-name { color: #dadce0; }
    
    .sm-url-path { font-size: 12px; color: #4d5156; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dark-mode .sm-url-path { color: #bdc1c6; }
    
    .sm-title { font-size: 20px; color: #1a0dab; text-decoration: none; line-height: 1.3; display: inline-block; margin-bottom: 4px; padding-top: 4px; }
    .sm-title:hover { text-decoration: underline; }
    .dark-mode .sm-title { color: #8ab4f8; }
    
    .sm-rating { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #70757a; margin-bottom: 4px; }
    .sm-stars { color: #fbbc04; }
    .dark-mode .sm-rating { color: #9aa0a6; }
    
    .sm-desc-wrap { font-size: 14px; color: #4d5156; line-height: 1.58; word-wrap: break-word; }
    .dark-mode .sm-desc-wrap { color: #bdc1c6; }
    .sm-date { color: #70757a; font-weight: bold; margin-right: 4px; }
    .dark-mode .sm-date { color: #9aa0a6; }
    .sm-bold { font-weight: bold; color: #202124; }
    .dark-mode .sm-bold { color: #e8eaed; }

    /* Evaluation Boxes */
    .eval-box { display: flex; gap: 16px; flex-wrap: wrap; }
    .eb-card { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 12px; background: var(--card-bg); border: 1px solid var(--border-color); padding: 14px; border-radius: 12px; }
    .eb-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
    .eb-icon.good { background: var(--success, #10b981); }
    .eb-icon.warn { background: #f59e0b; }
    .eb-icon.bad { background: var(--danger, #ef4444); }
    .eb-info h4 { font-size: 13px; font-weight: 800; color: var(--text-main); margin: 0 0 2px 0; }
    .eb-info p { font-size: 12px; color: var(--text-muted); margin: 0; }

    /* ---------- HISTORY SECTION ---------- */
    .sng-history-section { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; padding: 24px; margin-top: 30px; }
    .sng-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
    .sng-history-title { font-size: 15px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin: 0; }
    .sng-history-list { display: flex; flex-direction: column; gap: 10px; }
    .sng-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; }
    .sng-history-item:hover { border-color: var(--primary-color); transform: translateY(-1px); }
    .sng-history-info { display: flex; align-items: center; gap: 10px; overflow: hidden; flex: 1; }
    .sng-history-url { font-size: 13.5px; font-weight: 700; color: var(--text-main); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sng-history-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .sng-history-time { font-size: 12px; color: var(--text-muted); }
    .sng-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; }
    .sng-history-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }
    
    .sng-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; }
    .sng-btn-ghost:hover { border-color: var(--primary-color); color: var(--primary-color); }

    .rich-group { margin-bottom: 12px; }
    .rich-group .sw-row { margin-bottom: 0; }
    .rich-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; font-family: 'Space Mono', monospace; }
    .rich-badge.detected { background: rgba(16, 185, 129, 0.15); color: var(--success, #10b981); }
    .rich-badge.simulated { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
    .rich-badge.missing { background: rgba(239, 68, 68, 0.15); color: var(--danger, #ef4444); }

    .rich-sub-inputs { padding: 12px 14px; background: var(--card-bg); border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; animation: slideInUp 0.25s var(--ease-out); }
    .rich-sub-inputs.single { grid-template-columns: 1fr; }
    .rich-sub-inputs .c-input { padding: 8px 12px; font-size: 13px; }
    .rich-sub-label { font-size: 11.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; }

    /* ---------- BENTO BOX FEATURES ---------- */
    .console-features { margin-top: 40px; width: 100%; }
    .bento-features-cluster { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(130px, auto); gap: 20px; width: 100%; position: relative; z-index: 2; }
    .bento-card { background: rgba(255, 255, 255, 0.015); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-color); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
    
    .bento-card::before {
        content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 150px; height: 150px; background-size: contain; background-repeat: no-repeat; background-position: center;
        opacity: 0.03; transition: all 0.5s ease; pointer-events: none; z-index: 0;
    }
    .bento-card:hover::before { opacity: 0.08; transform: translate(-50%, -50%) scale(1.1); }
    .dark-mode .bento-card::before { filter: invert(1); opacity: 0.05; }
    
    .feat-icon-eye::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>'); }
    .feat-icon-download::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>'); }
    .feat-icon-type::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 7 4 4 20 4 20 7"/><line x1="9" y1="20" x2="15" y2="20"/><line x1="12" y1="4" x2="12" y2="20"/></svg>'); }
    .feat-icon-sparkles::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>'); }
    .feat-icon-barchart::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="20" x2="12" y2="10"/><line x1="18" y1="20" x2="18" y2="4"/><line x1="6" y1="20" x2="6" y2="16"/></svg>'); }
    .feat-icon-monitor::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>'); }

    .bento-card::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%); pointer-events: none; }
    .bento-card:hover { transform: translateY(-4px) scale(1.01); border-color: var(--primary-color); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
    .bento-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; gap: 12px; }
    
    .dashed-ring-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; width: 44px; height: 44px; }
    .dashed-ring-wrapper::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border: 1px dashed var(--border-color); border-radius: 16px; opacity: 0.5; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: 0; transform-origin: center center; }
    .bento-card:hover .dashed-ring-wrapper::after { opacity: 1; transform: scale(1.1) rotate(180deg); border-color: var(--primary-color); }
    .bc-icon-wrapper { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-body); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.4s ease; margin-bottom: 0; position: relative; z-index: 1; }
    .bento-card:hover .bc-icon-wrapper { background: linear-gradient(135deg, var(--primary-color), var(--border-color)); color: white; border-color: transparent; transform: scale(1.1) rotate(4deg); }
    .bc-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin: 0; }
    .bc-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; font-weight: 500; }
    
    @media (max-width: 900px) {
        .bento-features-cluster { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
        .bento-features-cluster { grid-template-columns: 1fr; }
    }

    /* Floating Scroll-to-Top Button */
    .sng-scroll-top-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--card-bg);
        border: 1.5px solid var(--border-color);
        color: var(--text-main);
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99999;
        outline: none;
        animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .sng-scroll-top-btn:hover {
        background: var(--primary-color);
        color: #ffffff;
        border-color: var(--primary-color);
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 16px 32px var(--primary-shadow, rgba(239, 68, 68, 0.35));
    }
    .sng-scroll-top-btn:active {
        transform: translateY(-1px) scale(0.96);
    }

    /* Smooth Scrolling */
    #page-content, .page-content, .sng-wrapper, html {
        scroll-behavior: smooth;
    }

    /* Zero-Inline Enhancements */
    .sng-prompt-submit i { width: 18px; height: 18px; }
    .panel-title i { color: var(--primary-color); }
    .panel-title i.text-blue { color: #3b82f6; }
    .panel-actions { display: flex; gap: 8px; }
    .ig-label i { width: 14px; height: 14px; }
    .ig-label.mb-8 { margin-bottom: 8px; }
    .ig-label i.text-gold { color: var(--warning, #f59e0b); }
    .sw-label i.text-gold { width: 14px; height: 14px; color: #f59e0b; }
    .sw-label i.text-blue { width: 14px; height: 14px; color: #3b82f6; }
    hr.solid-divider { border: 0; border-bottom: 1px solid var(--border-color); margin: 16px 0; }
    .input-group.mb-0 { margin-bottom: 0; }
    .ig-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; display: block; }
    .panel-body.bg-body { background: var(--bg-body); }
    .sng-history-title i { color: var(--primary-color); }
    .sng-btn-ghost.btn-xs { padding: 4px 10px; font-size: 12px; }
    .sng-btn-ghost.btn-xs i { width: 12px; height: 12px; }
    .sng-history-del i { width: 14px; height: 14px; }
    .sng-scroll-top-btn span, .sng-scroll-top-btn i { pointer-events: none; width: 22px; height: 22px; }