
#uno-engine-selector{box-sizing:border-box;position:fixed;inset:0 0 auto;z-index:60;height:58px;display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 14px;background:#07182bee;border-bottom:1px solid #24617d;color:#f4f3f9;font:600 13.5px/1.35 "Noto Sans Thai",sans-serif;backdrop-filter:blur(12px)}
#uno-engine-selector .uno-engine-label{font-weight:500;color:#b8d4ec;margin-right:2px;white-space:nowrap}
#uno-engine-selector a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:116px;min-height:40px;padding:6px 14px;border:1px solid #315875;border-radius:10px;text-decoration:none;color:#e6f4ff;background:#102943;font-weight:700;font-size:13.5px;white-space:nowrap;transition:border-color .15s,background .15s}
#uno-engine-selector a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#uno-engine-selector a small{display:none!important}
#uno-engine-selector a[aria-current="page"]{background:linear-gradient(110deg,#13cce0,#007dca);color:#ffffff;border-color:#54e6f3;box-shadow:0 4px 16px rgba(19,204,224,.25)}
#uno-engine-selector a[aria-current="page"] small{color:#e8fbff;opacity:1}
#uno-engine-selector a:hover{border-color:#54e6f3}
#uno-engine-selector a[data-uno-engine-link="narrator"]{border:1.5px solid #a855f7!important;background:linear-gradient(115deg,#21103b,#122949)!important;color:#f3e8ff!important;box-shadow:0 0 14px rgba(168,85,247,.32)!important}
#uno-engine-selector a[data-uno-engine-link="narrator"] small{color:#e9d5ff!important;font-weight:600!important;opacity:1!important}
#uno-engine-selector a[data-uno-engine-link="narrator"][aria-current="page"]{border:2px solid #d8b4fe!important;background:linear-gradient(115deg,#6d28d9 0%,#9333ea 45%,#0284c7 100%)!important;color:#ffffff!important;box-shadow:0 0 0 1px rgba(216,180,254,.52),0 4px 18px rgba(168,85,247,.48)!important}
#uno-engine-selector a[data-uno-engine-link="narrator"][aria-current="page"] small{color:#f3e8ff!important;font-weight:600!important;opacity:1!important}
#uno-engine-selector a[data-uno-engine-link="narrator"]:hover{border-color:#d8b4fe!important;box-shadow:0 0 18px rgba(192,132,252,.52)!important}
#uno-engine-selector a[data-uno-engine-link="uno"]{border:1.5px solid #f59e0b!important;background:linear-gradient(115deg,#2b1c06,#122d4b)!important;color:#fef3c7!important;box-shadow:0 0 14px rgba(245,158,11,.28)!important}
#uno-engine-selector a[data-uno-engine-link="uno"] small{color:#fde68a!important;font-weight:600!important;opacity:1!important}
#uno-engine-selector a[data-uno-engine-link="uno"][aria-current="page"]{border:2px solid #fde047!important;background:linear-gradient(115deg,#b45309 0%,#d97706 42%,#0284c7 100%)!important;color:#ffffff!important;box-shadow:0 0 0 1px rgba(253,224,71,.48),0 4px 18px rgba(245,158,11,.45)!important}
#uno-engine-selector a[data-uno-engine-link="uno"][aria-current="page"] small{color:#fef08a!important;font-weight:600!important;opacity:1!important}
#uno-engine-selector a[data-uno-engine-link="uno"]:hover{border-color:#fde047!important;box-shadow:0 0 18px rgba(251,191,36,.48)!important}
#uno-engine-selector a[data-uno-engine-link="sfx"]{border:1.5px solid #10b981!important;background:linear-gradient(115deg,#052e2b,#0f2b48)!important;color:#d1fae5!important;box-shadow:0 0 14px rgba(16,185,129,.28)!important}
#uno-engine-selector a[data-uno-engine-link="sfx"][aria-current="page"]{border:2px solid #6ee7b7!important;background:linear-gradient(115deg,#047857 0%,#059669 45%,#0284c7 100%)!important;color:#ffffff!important;box-shadow:0 0 0 1px rgba(110,231,183,.52),0 4px 18px rgba(16,185,129,.48)!important}
#uno-engine-selector a[data-uno-engine-link="sfx"]:hover{border-color:#6ee7b7!important;box-shadow:0 0 18px rgba(52,211,153,.5)!important}
#uno-engine-selector a.uno-apk-dl-btn{min-width:0!important;min-height:36px!important;padding:5px 12px!important;border:1.5px solid #34d399!important;border-radius:10px!important;background:linear-gradient(115deg,#063b32,#0e2944)!important;color:#ecfdf5!important;font-size:12.5px!important;font-weight:700!important;box-shadow:0 0 12px rgba(16,185,129,.26)!important}
#uno-engine-selector a.uno-apk-dl-btn:hover{border-color:#6ee7b7!important;box-shadow:0 0 16px rgba(52,211,153,.46)!important;color:#ffffff!important}
#uno-engine-selector a.uno-mcp-hub-btn{min-width:0!important;min-height:36px!important;padding:5px 12px!important;border:1.5px solid #38bdf8!important;border-radius:10px!important;background:linear-gradient(115deg,#082f49,#0f2342)!important;color:#e0f2fe!important;font-size:12.5px!important;font-weight:700!important;box-shadow:0 0 12px rgba(56,189,248,.25)!important}
#uno-engine-selector a.uno-mcp-hub-btn[aria-current="page"]{border:2px solid #7dd3fc!important;background:linear-gradient(115deg,#0284c7,#0369a1)!important;color:#fff!important}
#uno-engine-selector a.uno-mcp-hub-btn:hover{border-color:#7dd3fc!important;box-shadow:0 0 16px rgba(56,189,248,.48)!important;color:#ffffff!important}
#uno-engine-selector a:focus-visible,#uno-engine-selector button:focus-visible{outline:2px solid #54e6f3;outline-offset:2px}
#uno-engine-selector .uno-engine-lang{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:3px;border:1px solid #2b5371;border-radius:10px;background:#0b1f35}
#uno-engine-selector .uno-engine-lang button{min-height:32px;min-width:42px;padding:4px 10px;border:0;border-radius:7px;background:transparent;color:#a9c7df;font:700 12px/1 "Noto Sans Thai",sans-serif;cursor:pointer}
#uno-engine-selector .uno-engine-lang button[aria-pressed="true"]{background:linear-gradient(115deg,#00bfd9,#007cc6);color:#fff}
body[data-uno-engine]{padding-top:58px}
body[data-uno-engine="google"] .topbar,body[data-uno-engine="uno"] .topbar,body[data-uno-engine="narrator"] .narrator-topbar,body[data-uno-engine="sfx"] .narrator-topbar{top:58px}
body[data-uno-engine="google"] .sidebar,body[data-uno-engine="uno"] .sidebar{top:calc(var(--header,72px) + 58px)}
body[data-uno-engine="google"] .sidebar-scrim,body[data-uno-engine="uno"] .sidebar-scrim{top:calc(var(--header,72px) + 58px)}
.wallet-topup-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #2b6cb0;border-radius:10px;background:#0d2742;color:#e6f4ff;font:600 12px/1.3 "Noto Sans Thai",sans-serif;cursor:pointer;white-space:nowrap;transition:border-color .15s,background .15s}
.wallet-topup-pill:hover{border-color:#54e6f3;background:#123558}
.wallet-topup-pill .wallet-topup-cta{color:#45dff0;font-weight:700;padding-left:4px;border-left:1px solid #2a526f}
.sidebar-projects .project-row-item{position:relative;display:flex;align-items:center;gap:4px}
.sidebar-projects .project-row-item .project-row{flex:1;min-width:0;padding-right:54px}
.sidebar-projects .project-row-retry{position:absolute;right:30px;top:50%;transform:translateY(-50%);width:22px;height:22px;min-height:0;padding:0;border:1px solid rgba(245,158,11,.45);border-radius:6px;background:rgba(245,158,11,.14);color:#fde68a;font:700 13px/1 sans-serif;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,border-color .15s}
.sidebar-projects .project-row-retry:hover:not(:disabled){background:#b45309;border-color:#fde047;color:#ffffff}
.sidebar-projects .project-row-delete{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;min-height:0;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#97b5cf;font:700 15px/1 sans-serif;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.sidebar-projects .project-row-delete:hover:not(:disabled){background:#3b1a23;border-color:#7f1d1d;color:#fecaca}
.action-credit-badge,.job-credit-usage{color:#45dff0;font-weight:600}
.uno-retention-top-banner{box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:10px 16px;margin:0 0 14px;border-radius:12px;background:linear-gradient(115deg,rgba(120,53,15,.46) 0%,rgba(12,38,66,.92) 55%,rgba(8,47,73,.92) 100%);border:1px solid rgba(251,191,36,.58);box-shadow:0 4px 16px rgba(0,0,0,.22);color:#fef3c7;font:500 13px/1.45 "Noto Sans Thai",system-ui,sans-serif}
.uno-retention-top-banner .uno-ret-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:rgba(245,158,11,.24);border:1px solid #fbbf24;color:#fde68a;font-weight:800;font-size:12px;white-space:nowrap;flex-shrink:0}
.uno-retention-top-banner .uno-ret-text{color:#f8fafc;min-width:0}
.uno-retention-top-banner .uno-ret-text strong{color:#fde047;font-weight:800}
.uno-retention-top-banner .uno-ret-perm{color:#bae6fd;font-size:12px}
.narrator-retention-wrap{max-width:1480px;margin:12px auto 0;padding:0 24px}
@media(max-width:760px){
  .uno-retention-top-banner{flex-direction:column;align-items:flex-start;gap:6px;padding:9px 12px;font-size:12px}
  .narrator-retention-wrap{padding:0 14px;margin-top:10px}
}

@media(max-width:760px){
  .wallet-topup-pill{padding:5px 8px;font-size:11px;gap:4px}
  #uno-engine-selector{gap:4px;padding:5px 6px;justify-content:space-between;height:52px;max-width:100vw;overflow:hidden}
  #uno-engine-selector .uno-engine-label{display:none}
  #uno-engine-selector a{min-width:0;flex:1;min-height:36px;padding:5px 6px;font-size:11px;border-radius:8px;overflow:hidden;text-overflow:ellipsis}
  #uno-engine-selector a.uno-apk-dl-btn{display:none!important}
  #uno-engine-selector a.uno-mcp-hub-btn{flex:0 0 auto!important;padding:5px 8px!important;font-size:11px!important}
  #uno-engine-selector a small{display:none!important}
  #uno-engine-selector .uno-engine-lang{margin-left:2px;padding:2px;flex-shrink:0}
  #uno-engine-selector .uno-engine-lang button{min-width:28px;min-height:28px;padding:3px 6px;font-size:11px}
  body[data-uno-engine]{padding-top:52px}
  body[data-uno-engine="google"] .topbar,body[data-uno-engine="uno"] .topbar,body[data-uno-engine="narrator"] .narrator-topbar,body[data-uno-engine="sfx"] .narrator-topbar{top:52px}
  body[data-uno-engine="google"] .sidebar,body[data-uno-engine="uno"] .sidebar,body[data-uno-engine="google"] .sidebar-scrim,body[data-uno-engine="uno"] .sidebar-scrim{top:calc(54px + 52px)}
}
@media(max-width:420px){
  #uno-engine-selector a{font-size:10.5px;padding:4px 5px}
}
