    .ue-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;
    }

    .ue-panel {
        position: relative;                
        width: 100%;
        max-width: 1400px;
        border-radius: 28px;
        padding: clamp(28px, 5vw, 56px);
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    }
    
    #bgCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.5; z-index: 0; }
    .ue-content { position: relative; z-index: 1; }

    /* ---------- START BUTTON ---------- */
    .search-box-start { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 0 auto; position: relative; z-index: 10; box-shadow: 0 12px 30px rgba(0,0,0,0.03); transition: all 0.3s; align-items: center; justify-content: center;}
    .search-btn { height: 60px; border-radius: 14px; width: 100%; 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); display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
    .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 ---------- */
    .ue-loading { text-align: center; padding: 40px 0; }
    .ue-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; }
    
    .ue-thinking-log { list-style: none; margin: 0; padding: 0 10px; display: flex; flex-direction: column; gap: 12px; max-width: 400px; margin: 0 auto; }
    .ue-thinking-log li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-muted); animation: slideInUp 0.4s ease forwards; }
    .ue-thinking-log li.active { color: var(--text-main); font-weight: 700; }
    .ue-thinking-log li.done { color: var(--text-muted); opacity: 0.6; }
    .ue-log-dot { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
    .ue-thinking-log li.active .ue-log-dot { border-color: var(--primary-color); color: var(--primary-color); }
    .ue-thinking-log li.done .ue-log-dot { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

    /* ---------- RESULTS DASHBOARD ---------- */
    .ue-result { animation: fadeIn 0.5s ease; }
    .ue-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
    .ue-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; }
    .ue-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: 30px; }
    .sc { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; overflow: hidden;}
    .sc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent); pointer-events: none; }
    .sc-lbl { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); position: relative; z-index: 1;}
    .sc-val { font-size: 28px; font-weight: 900; color: var(--text-main); font-family: 'Space Mono', monospace; line-height: 1; position: relative; z-index: 1;}

    /* Workspace Grid */
    .workspace-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
    @media (min-width: 1000px) { .workspace-grid { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
    
    /* Workspace Panel */
    .ws-panel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 400px; }
    .panel-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--border-color); background: var(--bg-body); 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; }
    .panel-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--border-color); background: var(--bg-body); flex-wrap: wrap; gap: 8px; }
    
    /* Forms & Textarea */
    textarea.c-input { flex: 1; width: 100%; padding: 24px; background: transparent; border: none; font-size: 15px; color: var(--text-main); transition: 0.2s; resize: none; font-family: 'Space Mono', monospace; line-height: 1.6; }
    textarea.c-input:focus { outline: none; }
    textarea.c-input[readonly] { background: rgba(0,0,0,0.02); }

    /* Modes Tab */
    .mode-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 8px; flex-wrap: wrap; }
    .mtab { background: var(--bg-body); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
    .mtab:hover { border-color: var(--primary-color); color: var(--text-main); }
    .mtab.active { background: var(--primary-color); border-color: var(--primary-color); color: white; box-shadow: 0 4px 12px var(--primary-shadow); }
    
    .swap-btn { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--bg-body); border: 1px solid var(--border-color); color: var(--text-muted); cursor: pointer; transition: 0.3s; margin: auto; }
    .swap-btn:hover { background: var(--primary-light); color: var(--primary-color); border-color: var(--primary-color); transform: rotate(180deg); }

    /* Action Bar Bottom */
    .action-bar { display: flex; gap: 16px; justify-content: center; margin-top: 24px; }
    .main-btn { padding: 16px 32px; border-radius: 16px; font-size: 16px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s; border: none; color: white; }
    .main-btn.encode { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2); }
    .main-btn.encode:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(16, 185, 129, 0.3); }
    .main-btn.decode { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 8px 20px rgba(244, 63, 94, 0.2); }
    .main-btn.decode:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(244, 63, 94, 0.3); }

    /* ---------- HISTORY SECTION ---------- */
    .ue-history-section { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; padding: 24px; margin-top: 30px; }
    .ue-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
    .ue-history-title { font-size: 15px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin: 0; }
    .ue-history-list { display: flex; flex-direction: column; gap: 10px; }
    .ue-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; }
    .ue-history-item:hover { border-color: var(--primary-color); transform: translateY(-1px); }
    .ue-history-info { display: flex; align-items: center; gap: 10px; overflow: hidden; flex: 1; }
    .ue-history-badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
    .ue-history-badge.encode { background: rgba(16, 185, 129, 0.1); color: #10b981; }
    .ue-history-badge.decode { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }
    .ue-history-text { font-size: 13.5px; color: var(--text-main); font-family: 'Space Mono', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ue-history-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .ue-history-time { font-size: 12px; color: var(--text-muted); }
    .ue-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; }
    .ue-history-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

    /* ---------- INFO SECTION (Tool Specs) ---------- */
    .info-section { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; margin-top: 40px; }
    .info-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
    
    .chars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 12px; margin-bottom: 30px; }
    .char-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; cursor: pointer; transition: 0.2s; }
    .char-card:hover { border-color: var(--primary-color); background: var(--primary-light); transform: translateY(-2px); }
    .char-orig { font-size: 20px; font-weight: 900; color: var(--text-main); margin-bottom: 4px; font-family: 'Space Mono', monospace; }
    .char-enc { font-size: 11px; font-weight: 700; color: var(--text-muted); }

    .info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
    @media (min-width: 800px) { .info-grid { grid-template-columns: 1fr 1fr; } }
    .i-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; }
    .ic-title { font-size: 15px; font-weight: 800; color: var(--text-main); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
    .ic-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
    
    .cmp-table { width: 100%; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; }
    .cmp-row { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; border-bottom: 1px solid var(--border-color); }
    .cmp-row:last-child { border-bottom: none; }
    .cmp-row.header { background: var(--bg-body); font-weight: 800; color: var(--text-main); font-size: 13px; }
    .cmp-cell { padding: 16px; font-size: 14px; color: var(--text-muted); display: flex; align-items: center; word-break: break-all; }
    .cmp-cell span.enc { background: rgba(16, 185, 129, 0.1); color: #10b981; padding: 4px 8px; border-radius: 6px; font-family: 'Space Mono', monospace; font-size: 12px; }
    .cmp-cell span.b64 { background: rgba(59, 130, 246, 0.1); color: #3b82f6; padding: 4px 8px; border-radius: 6px; font-family: 'Space Mono', monospace; font-size: 12px; }

    /* ---------- BENTO BOX FEATURES (.ue-) ---------- */
    .console-features { margin-top: 50px; 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; }
    
    .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; }
        .workspace-grid { grid-template-columns: 1fr; }
    }

    /* Smooth Scrolling */
    #page-content, .page-content, .ue-wrapper, html {
        scroll-behavior: smooth;
    }

    /* Zero-Inline Enhancements */
    .mtab i { width: 14px; height: 14px; }
    .mode-desc-wrap { text-align: center; margin-bottom: 30px; }
    .mode-desc-text { font-size: 13px; color: var(--text-muted); font-family: 'Space Mono', monospace; }
    .sc.c-red { border-top: 3px solid #ef4444; }
    .sc.c-red .sc-lbl i { width: 16px; height: 16px; color: #ef4444; }
    .sc.c-blue { border-top: 3px solid #3b82f6; }
    .sc.c-blue .sc-lbl i { width: 16px; height: 16px; color: #3b82f6; }
    .sc.c-green { border-top: 3px solid #10b981; }
    .sc.c-green .sc-lbl i { width: 16px; height: 16px; color: #10b981; }
    .sc.c-gold { border-top: 3px solid #f59e0b; }
    .sc.c-gold .sc-lbl i { width: 16px; height: 16px; color: #f59e0b; }
    .panel-title i { color: var(--primary-color); }
    .panel-title i.text-purple { color: #a855f7; }
    .panel-actions { display: flex; gap: 8px; }
    .ue-btn-ghost i { width: 13px; height: 13px; }
    .swap-btn-wrap { display: flex; align-items: center; justify-content: center; }
    .swap-btn i { width: 20px; height: 20px; }
    .main-btn i { width: 18px; height: 18px; }
    .ue-history-title i { color: var(--primary-color); }
    .ue-btn-ghost.btn-xs { padding: 4px 10px; font-size: 12px; }
    .ue-btn-ghost.btn-xs i { width: 12px; height: 12px; }
    .ue-history-del i { width: 14px; height: 14px; }
    .info-title i { color: var(--primary-color); }
    .info-title i.text-green { color: #10b981; }
    .info-title.mt-20 { margin-top: 20px; }
    .ic-title i.text-blue { color: #3b82f6; }
    .ic-title i.text-gold { color: #f59e0b; }
    code.code-primary { color: var(--primary-color); }
    code.code-warning { color: var(--warning, #f59e0b); }