/* Liquid Glass theme — warm spatial dashboard language, applied site-wide. */
/* v25: aurora background on every device + button layout specificity fix */
html.theme-glass {
  --lg-ink:#151922; --lg-muted:#4b5563; --lg-surface:#f4f6f8;
  --lg-rim:rgb(255 255 255 / 72%); --lg-edge:rgb(255 255 255 / 92%);
  --lg-shade:rgb(31 41 55 / 14%); --lg-gloss:rgb(255 255 255 / 48%);
  --lg-shadow:31 41 55; --lg-card:rgb(255 255 255 / 42%);
  color-scheme:light; font-family:"Manrope Variable",Manrope,system-ui,sans-serif;
}
html.theme-glass body {
  --bg:#f7f8fa; --surface:rgb(255 255 255 / 42%); --s2:rgb(226 230 236 / 54%); --s3:rgb(214 222 232 / 68%);
  --text:var(--lg-ink); --dim:#4b5563; --muted:#6b7280; --line:rgb(31 41 55 / 12%); --line2:rgb(31 41 55 / 18%);
  background:#f7f8fa !important; color:var(--lg-ink);
  background-image:linear-gradient(145deg,#fbfcfe 0%,#eef1f5 52%,#e3e8ef 100%) !important;
  background-attachment:scroll !important;
}
/* Aurora dua layer, fixed di belakang konten. Animasi transform/opacity
   (GPU-friendly) — sengaja bukan background-attachment:fixed yang sering
   mati/berkedip di Safari iOS. Z-index -1 + pointer-events:none aman buat
   nav, modal, dan konten; tidak ada media query yang matiin di HP. */
html.theme-glass body::before,
html.theme-glass body::after {
  content:""; position:fixed; inset:-22vmax; z-index:-1;
  pointer-events:none; will-change:transform,opacity; transform-origin:center;
}
html.theme-glass body::before {
  background:
    radial-gradient(48% 38% at 18% 22%,rgb(10 132 255 / 34%),transparent 70%),
    radial-gradient(42% 34% at 78% 12%,rgb(124 92 255 / 30%),transparent 72%),
    radial-gradient(50% 40% at 52% 88%,rgb(0 200 255 / 24%),transparent 72%);
  animation:lgAuroraDrift 18s ease-in-out infinite;
}
html.theme-glass body::after {
  background:
    radial-gradient(38% 30% at 82% 58%,rgb(255 120 200 / 24%),transparent 72%),
    radial-gradient(44% 34% at 10% 76%,rgb(56 189 248 / 22%),transparent 70%);
  animation:lgAuroraGlow 24s ease-in-out infinite;
}
@keyframes lgAuroraDrift {
  0%,100%{transform:translate3d(-2%,-1%,0) scale(1) rotate(0deg);opacity:.72}
  33%{transform:translate3d(4%,3%,0) scale(1.08) rotate(4deg);opacity:.95}
  66%{transform:translate3d(-3%,2%,0) scale(1.03) rotate(-3deg);opacity:.8}
}
@keyframes lgAuroraGlow {
  0%,100%{transform:translate3d(2%,1%,0) scale(1.04) rotate(-2deg);opacity:.85}
  50%{transform:translate3d(-4%,-3%,0) scale(.96) rotate(3deg);opacity:.6}
}
@media (prefers-reduced-motion:reduce) {
  html.theme-glass body::before,
  html.theme-glass body::after { animation:none; }
}
html.theme-glass .glass,
html.theme-glass .tool-card,
html.theme-glass .fact-card,
html.theme-glass .ep-card,
html.theme-glass .docs-hero,
html.theme-glass .docs-palette-panel,
html.theme-glass .admin-character-card,
html.theme-glass .tool-modal-wrap,
html.theme-glass .support-card,
html.theme-glass .product-card,
html.theme-glass .dash-card,
html.theme-glass .dash-stat-card,
html.theme-glass .dash-panel,
html.theme-glass .dash-widget {
  background:linear-gradient(144deg,rgb(255 255 255 / 42%),transparent 66%),rgb(255 255 255 / 30%) !important;
  border:1px solid var(--lg-rim) !important; border-radius:20px !important;
  box-shadow:inset 1px 1px 1px var(--lg-edge),inset -1px -1px 1px var(--lg-shade),0 12px 30px rgb(var(--lg-shadow) / 14%) !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
}
html.theme-glass .nav,
html.theme-glass .nav.scrolled,
html.theme-glass .nav-mobile-menu,
html.theme-glass .dash-sidebar,
html.theme-glass .docs-sidebar,
html.theme-glass .docs-topbar,
html.theme-glass .chat-panel,
html.theme-glass .composer,
html.theme-glass .composer-dock,
html.theme-glass .ai-modal-card,
html.theme-glass .mem-panel {
  background:linear-gradient(165deg,rgb(255 255 255 / 48%),transparent 32% 73%,rgb(255 255 255 / 20%)),rgb(226 230 236 / 28%) !important;
  border-color:var(--lg-rim) !important;
  box-shadow:inset 1px 1px 1px var(--lg-edge),inset -1px -1px 1px var(--lg-shade),0 12px 30px rgb(var(--lg-shadow) / 18%) !important;
  backdrop-filter:blur(8px) saturate(120%) !important; -webkit-backdrop-filter:blur(8px) saturate(120%) !important;
}
html.theme-glass .nav { border-bottom:0 !important; background:transparent !important; box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; padding:0 24px; }
html.theme-glass .nav::before { content:""; position:absolute; z-index:-1; inset:8px 18px; border:1px solid var(--lg-rim); border-radius:999px; background:linear-gradient(165deg,rgb(255 255 255 / 58%),rgb(255 255 255 / 24%)); box-shadow:inset 1px 1px 1px var(--lg-edge),inset -1px -1px 1px var(--lg-shade),0 10px 28px rgb(var(--lg-shadow) / 12%); backdrop-filter:blur(8px) saturate(120%); -webkit-backdrop-filter:blur(8px) saturate(120%); pointer-events:none; }
html.theme-glass .nav.scrolled::before { background:linear-gradient(165deg,rgb(255 255 255 / 68%),rgb(255 255 255 / 34%)); }
html.theme-glass .nav-links { gap:2px; padding:4px; border:1px solid rgb(255 255 255 / 58%); border-radius:999px; background:rgb(255 255 255 / 20%); box-shadow:inset 0 1px rgb(255 255 255 / 55%); }
html.theme-glass .nav-link { display:inline-flex; align-items:center; height:36px; padding:.5rem .9rem; border-radius:999px; color:var(--text-dim); transition:background .3s ease,color .3s ease,transform .3s ease; }
html.theme-glass .nav-link::after { bottom:3px; width:0; height:2px; background:var(--accent); opacity:.8; }
html.theme-glass .nav-link:hover { background:rgb(255 255 255 / 52%) !important; color:var(--text) !important; transform:translateY(-1px); }
html.theme-glass .nav-link:hover::after { width:42%; }
html.theme-glass .nav-cta { min-height:36px; padding:.5rem 1rem; }
html.theme-glass .nav-store { margin-right:.25rem; }
html.theme-glass .nav-mobile-btn { border-radius:999px !important; }
html.theme-glass .nav-mobile-menu { top:calc(var(--nav-h) - 2px); margin:0 12px; border:1px solid var(--lg-rim) !important; border-radius:0 0 22px 22px; }
@media(max-width:768px) { html.theme-glass .nav { padding:0 12px; } html.theme-glass .nav::before { inset:8px 8px; } html.theme-glass .nav-mobile-menu { margin:0 8px; } }
/* Tool pages use pf.css classes instead of shared site classes. */
html.theme-glass .hb {
  background:linear-gradient(165deg,rgb(255 255 255 / 58%),rgb(255 255 255 / 24%)) !important;
  border:1px solid var(--lg-rim) !important;
  box-shadow:inset 1px 1px 1px var(--lg-edge),inset -1px -1px 1px var(--lg-shade),0 10px 28px rgb(var(--lg-shadow) / 12%) !important;
  backdrop-filter:blur(8px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(8px) saturate(120%) !important;
}
html.theme-glass .mw nav {
  background:linear-gradient(165deg,rgb(255 255 255 / 72%),rgb(226 230 236 / 54%)) !important;
  border:1px solid var(--lg-rim) !important;
  box-shadow:inset 1px 1px 1px var(--lg-edge),0 18px 42px rgb(var(--lg-shadow) / 18%) !important;
  backdrop-filter:blur(8px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(8px) saturate(120%) !important;
}
html.theme-glass .mw a:hover,html.theme-glass .mw a:active { background:rgb(255 255 255 / 58%) !important; }
html.theme-glass .card,html.theme-glass .pre,html.theme-glass .fi,html.theme-glass .stats {
  background:linear-gradient(144deg,rgb(255 255 255 / 44%),transparent 66%),rgb(255 255 255 / 30%) !important;
  border-color:var(--lg-rim) !important;
  box-shadow:inset 1px 1px 1px var(--lg-edge),inset -1px -1px 1px var(--lg-shade),0 10px 24px rgb(var(--lg-shadow) / 10%) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
html.theme-glass .field,html.theme-glass .pb .m { background:rgb(255 255 255 / 42%) !important; border-color:var(--lg-rim) !important; box-shadow:inset 0 1px var(--lg-gloss) !important; }
/* Nimbus Waterline bottom bar: luminous water pill, moving lens indicator. */
html.theme-glass .bn > div { --water-x:50%; --water-y:50%; }
html.theme-glass .waterline-canvas { position:absolute; inset:0; z-index:3; width:100%; height:100%; pointer-events:none; border-radius:inherit; }
html.theme-glass .bn .ind { background:transparent !important; border:0 !important; box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
html.theme-glass .bn .ind::before,html.theme-glass .bn .ind::after { display:none !important; }
.waterline-canvas { display:none; }
html.theme-glass .bn > div::after { content:""; position:absolute; width:90px; height:34px; left:calc(var(--water-x) - 45px); top:calc(var(--water-y) - 17px); border-radius:50%; pointer-events:none; opacity:.28; background:radial-gradient(ellipse,rgba(255,255,255,.7),transparent 68%); filter:blur(7px); transition:left .15s ease,top .15s ease; z-index:4; }
html.theme-glass .bn > div {
  background:
    linear-gradient(135deg,rgb(255 255 255 / 24%),rgb(255 255 255 / 5%) 42%,transparent 62%),
    rgb(255 255 255 / 14%) !important;
  border:1px solid rgb(255 255 255 / 72%) !important;
  box-shadow:
    inset 0 1.5px .5px rgb(255 255 255 / 92%),
    inset 0 -1px .5px rgb(255 255 255 / 42%),
    inset 2.5px 0 3px -1px rgb(0 162 255 / 30%),
    inset -2.5px 0 3px -1px rgb(255 120 180 / 22%),
    0 20px 48px -12px rgb(31 41 55 / 28%),
    0 4px 16px -2px rgb(31 41 55 / 16%) !important;
  backdrop-filter:blur(10px) saturate(120%) brightness(1.08) !important;
  -webkit-backdrop-filter:blur(10px) saturate(120%) brightness(1.08) !important;
  isolation:isolate;
  animation:none !important;
}
html.theme-glass .bn > div::before {
  display:block !important; content:"" !important; position:absolute !important; inset:0 !important; z-index:-1 !important;
  border-radius:inherit !important; pointer-events:none !important;
  background:linear-gradient(105deg,transparent 28%,rgb(255 255 255 / 30%) 48%,rgb(255 255 255 / 9%) 54%,rgb(255 255 255 / 22%) 60%,transparent 76%) !important;
  background-size:260% 100% !important; animation:lgWaterGleam 6.5s cubic-bezier(.4,0,.2,1) infinite alternate !important;
}
@keyframes lgWaterGleam { 0% { background-position:-90% 0; } 100% { background-position:190% 0; } }
html.theme-glass .bn a { color:rgb(11 19 43 / 58%) !important; text-shadow:none !important; }
html.theme-glass .bn a.on { color:#0b132b !important; text-shadow:0 1px 12px rgb(255 255 255 / 72%),0 0 20px rgb(83 160 220 / 28%) !important; }
html.theme-glass .bn a.on svg { filter:drop-shadow(0 2px 5px rgb(0 70 140 / 24%)); }
html.theme-glass .bn .ind {
  background:
    radial-gradient(ellipse 100% 85% at 50% -10%,rgb(255 255 255 / 92%) 0%,rgb(255 255 255 / 20%) 55%,transparent 85%),
    linear-gradient(180deg,rgb(255 255 255 / 38%) 0%,rgb(255 255 255 / 5%) 45%,rgb(124 92 255 / 30%) 100%),
    linear-gradient(135deg,rgb(124 92 255 / 58%),rgb(56 189 248 / 48%)) !important;
  border:1px solid rgb(255 255 255 / 78%) !important;
  box-shadow:
    inset 0 2px 1px rgb(255 255 255 / 98%),
    inset 0 -1.5px 1px rgb(255 255 255 / 50%),
    inset 2px 0 2px rgb(56 189 248 / 52%),
    inset -2px 0 2px rgb(255 120 200 / 38%),
    0 10px 28px -2px rgb(124 92 255 / 34%),
    0 2px 10px rgb(56 189 248 / 30%) !important;
  backdrop-filter:blur(2px) saturate(120%) contrast(108%) !important;
  -webkit-backdrop-filter:blur(2px) saturate(120%) contrast(108%) !important;
  filter:none !important;
}
html.theme-glass .bn .ind::before { opacity:1 !important; background:linear-gradient(180deg,rgb(255 255 255 / 95%),rgb(255 255 255 / 15%)) !important; }
html.theme-glass .bn .ind::after { opacity:1 !important; background:radial-gradient(ellipse at 50% 100%,rgb(255 255 255 / 72%),transparent) !important; }
html.theme-glass .bn .ind { transform:translateX(0); }
html.theme-glass .bn a { transition:color .25s,transform .2s !important; }
html.theme-glass .bn a:active { transform:scale(.92) !important; }
html.theme-glass .bn a.on svg { transform:translateY(-2px) scale(1.16) !important; transition:transform .45s cubic-bezier(.3,1.6,.5,1) !important; }
html.theme-glass .t { background:rgb(255 255 255 / 84%) !important; color:var(--lg-ink) !important; border-color:var(--lg-rim) !important; box-shadow:0 14px 30px rgb(var(--lg-shadow) / 16%) !important; backdrop-filter:blur(8px) !important; }
html.theme-glass .tool-card,html.theme-glass .fact-card,html.theme-glass .ep-card,html.theme-glass .admin-character-card,html.theme-glass .dash-card,html.theme-glass .dash-stat-card,html.theme-glass .dash-panel,html.theme-glass .dash-widget { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
/* Docs renders many endpoint cards. Keep glass look, avoid per-card GPU work. */
html.theme-glass .docs-body { background-attachment:scroll !important; }
html.theme-glass .docs-hero,html.theme-glass .ep-card,html.theme-glass .docs-palette-panel { box-shadow:inset 0 1px 0 rgb(255 255 255 / 78%),0 5px 16px rgb(31 41 55 / 8%) !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
html.theme-glass .docs-sidebar,.theme-glass .dash-sidebar { border-right:1px solid var(--lg-rim) !important; }
html.theme-glass .nav-logo span,.theme-glass .dash-logo span { color:var(--accent) !important; }
html.theme-glass .nav-logo-icon { background:var(--accent-gradient) !important; border:1px solid var(--lg-rim); color:#fff; box-shadow:inset 0 1px var(--lg-edge),0 4px 12px rgb(var(--lg-shadow) / 18%); }
html.theme-glass .nav-link:hover,html.theme-glass .dash-nav-item:hover,html.theme-glass .docs-nav-ep:hover { background:rgb(255 251 245 / 34%) !important; color:var(--text) !important; }
html.theme-glass .dash-nav-item.active,html.theme-glass .docs-nav-ep.active { background:rgb(255 251 245 / 45%) !important; color:var(--accent) !important; box-shadow:inset 0 1px var(--lg-edge); }
html.theme-glass .dash-nav-item.active::before { border-radius:999px !important; }
html.theme-glass .btn,.theme-glass .nav-cta,.theme-glass .auth-btn,.theme-glass .btn-upgrade,.theme-glass .dash-upgrade-btn,.theme-glass .dash-btn-primary,.theme-glass .admin-tier-save,.theme-glass .admin-product-form-submit,.theme-glass .exec-btn,#sendBtn {
  border-radius:999px !important; font-weight:750;
}
html.theme-glass .btn-primary,html.theme-glass .nav-cta,html.theme-glass .auth-btn,html.theme-glass .btn-upgrade,html.theme-glass .dash-upgrade-btn,html.theme-glass .dash-btn-primary,html.theme-glass .admin-tier-save,html.theme-glass .admin-product-form-submit,html.theme-glass .exec-btn,html.theme-glass #sendBtn {
  background:var(--primary) !important; color:#fffaf5 !important; border:1px solid var(--lg-rim) !important;
  box-shadow:inset 0 1px var(--lg-edge),0 8px 18px rgb(var(--lg-shadow) / 18%) !important;
}
html.theme-glass .btn-ghost,html.theme-glass .nav-store,html.theme-glass .nav-mobile-btn,html.theme-glass .nav-back,html.theme-glass .theme-toggle,html.theme-glass .dash-mobile-toggle,html.theme-glass .docs-mob-toggle,.theme-glass .icon-btn {
  background:rgb(255 255 255 / 48%) !important; border:1px solid var(--lg-rim) !important; color:var(--text) !important; border-radius:999px !important; box-shadow:inset 0 1px var(--lg-edge),0 6px 16px rgb(var(--lg-shadow) / 14%) !important;
}
/* Input standalone dapat treatment kaca. Input yang sudah punya kotak dari
   komponennya dikecualikan (daftar sinkron dengan style.css) supaya tidak
   muncul outline dobel / placeholder sesak di kolom search & composer. */
html.theme-glass input:not([type=radio]):not([type=checkbox]):not(:where(.character-search,.tools-search,.admin-search-bar,.xv-input-row,.ai-field,.input-box,.prompt-maker) input):not(.tool-input):not(.docs-search-input):not(.admin-character-dialog input),
html.theme-glass textarea:not(:where(.composer,.v2-composer,.ai-field,.admin-character-dialog) textarea),
html.theme-glass select {
  background:rgb(255 255 255 / 42%) !important; border:1px solid var(--lg-rim) !important; color:var(--text) !important; border-radius:12px !important; box-shadow:inset 0 1px var(--lg-gloss) !important;
}
html.theme-glass input:not([type=radio]):not([type=checkbox]):not(:where(.character-search,.tools-search,.admin-search-bar,.xv-input-row,.ai-field,.input-box,.prompt-maker) input):not(.tool-input):not(.docs-search-input):not(.admin-character-dialog input):focus,
html.theme-glass textarea:not(:where(.composer,.v2-composer,.ai-field,.admin-character-dialog) textarea):focus,
html.theme-glass select:focus { border-color:var(--accent) !important; box-shadow:0 0 0 3px rgb(var(--accent-rgb) / 16%),inset 0 1px var(--lg-edge) !important; }
html.theme-glass .theme-toggle { width:48px; height:48px; background:linear-gradient(145deg,rgb(255 255 255 / 72%),rgb(255 255 255 / 34%)) !important; border:1px solid rgb(255 255 255 / 88%) !important; color:var(--text) !important; box-shadow:inset 1px 1px 1px rgb(255 255 255 / 92%),inset -1px -1px 1px rgb(57 40 28 / 12%),0 10px 24px rgb(57 40 28 / 18%) !important; }
html.theme-glass .theme-toggle:hover,html.theme-glass .theme-toggle.active { color:var(--accent) !important; border-color:var(--accent) !important; background:rgb(255 255 255 / 78%) !important; }
html.theme-glass .theme-popup { background:linear-gradient(145deg,rgb(255 255 255 / 88%),rgb(238 241 245 / 82%)) !important; border:1px solid rgb(255 255 255 / 92%) !important; border-radius:22px !important; padding:12px !important; box-shadow:inset 1px 1px 1px #fff,0 20px 60px rgb(57 40 28 / 24%) !important; backdrop-filter:blur(8px) !important; }
html.theme-glass .theme-popup-title { color:var(--text-dim) !important; }
html.theme-glass .theme-btn { border-color:transparent !important; border-radius:15px !important; }
html.theme-glass .theme-btn:hover { transform:scale(1.04); }
html.theme-glass .theme-btn.active { border-color:var(--accent) !important; box-shadow:0 0 0 3px rgb(var(--accent-rgb) / 18%) !important; }
html.theme-glass .theme-swatch { border-radius:12px !important; box-shadow:inset 1px 1px rgb(255 255 255 / 70%),inset -1px -1px rgb(57 40 28 / 16%),0 4px 10px rgb(57 40 28 / 12%); }
html.theme-glass .theme-swatch .theme-name { color:#fff !important; text-shadow:0 1px 3px rgb(0 0 0 / 65%); }
html.theme-glass .tool-modal-bg,html.theme-glass .ai-modal-backdrop { background:rgb(31 41 55 / 28%) !important; backdrop-filter:blur(8px) !important; }
html.theme-glass .chat-message.bot,html.theme-glass .message-bubble.bot,html.theme-glass .prompt-card,html.theme-glass .character-card,html.theme-glass .conversation-item,html.theme-glass .v2-media-card { background:rgb(255 255 255 / 58%) !important; border-color:var(--lg-rim) !important; color:var(--lg-ink) !important; }

/* Modal and typography contrast. */
html.theme-glass .support-overlay { background:rgb(15 23 42 / 42%) !important; }
html.theme-glass .support-modal {
  background:linear-gradient(145deg,rgb(255 255 255 / 92%),rgb(241 245 249 / 88%)) !important;
  border:1px solid rgb(255 255 255 / 96%) !important;
  color:var(--lg-ink) !important;
  box-shadow:inset 1px 1px 0 #fff,0 28px 70px rgb(15 23 42 / 30%) !important;
}
html.theme-glass .support-modal-title,
html.theme-glass .support-modal-body,
html.theme-glass .support-modal-points li { color:var(--lg-ink) !important; }
html.theme-glass .support-modal-desc,
html.theme-glass .support-modal-later { color:#475569 !important; }
html.theme-glass .support-modal-close { background:rgb(15 23 42 / 72%) !important; color:#fff !important; border-color:rgb(255 255 255 / 65%) !important; }
html.theme-glass .support-modal-later { background:transparent !important; border:0 !important; box-shadow:none !important; }
html.theme-glass .support-modal-points .sp-ico { background:rgb(var(--accent-rgb) / 14%) !important; color:var(--accent) !important; }
html.theme-glass .support-modal-btn { color:#fff !important; }
html.theme-glass .support-modal-media::after { background:linear-gradient(180deg,transparent 35%,rgb(15 23 42 / 58%) 100%) !important; }
html.theme-glass .support-modal-chip { color:#fff !important; }
html.theme-glass label,html.theme-glass .form-label,html.theme-glass .field-label,html.theme-glass .muted,html.theme-glass small { color:#475569; }
html.theme-glass input::placeholder,html.theme-glass textarea::placeholder { color:#64748b !important; opacity:1; }
/* Unified liquid-glass controls: every button gets the same opaline surface. */
/* Posisi button sengaja pakai selector :where() (specificity 0) supaya posisi
   dari komponen (close modal, minimize, nav-back, dll) tetap menang. Dulu
   position:relative di rule glass di bawah nge-overwrite position:absolute
   tombol close → X nyasar ke kiri-atas modal. */
:where(html.theme-glass) :where(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.tool-btn,.support-btn,.social-btn,.pbtn,.support-modal-btn,.prompt-maker-btn,.chat-field-btn,.v2-field-btn){position:relative}
html.theme-glass button:not(.nav-mobile-btn):not(.nav-back):not(.theme-toggle):not(.docs-tool-btn):not(.toggle-eye-btn):not(.dash-btn-icon):not(.icon-btn):not(.chat-bar):not(.chat-panel-close):not(.chat-btn):not(.chat-send):not(.chat-suggest):not(.chat-suggestion),
html.theme-glass input[type="button"],
html.theme-glass input[type="submit"],
html.theme-glass input[type="reset"],
html.theme-glass .btn,
html.theme-glass .tool-btn,
html.theme-glass .support-btn,
html.theme-glass .social-btn,
html.theme-glass .pbtn,
html.theme-glass .support-modal-btn,
html.theme-glass .prompt-maker-btn,
html.theme-glass .chat-field-btn,
html.theme-glass .v2-field-btn {
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgb(255 255 255 / 76%) !important;
  border-radius:999px !important;
  background:
    linear-gradient(135deg,rgb(255 255 255 / 64%),rgb(255 255 255 / 20%) 52%,rgb(255 255 255 / 34%)) !important;
  color:var(--text) !important;
  box-shadow:
    inset 1px 1px 0 rgb(255 255 255 / 86%),
    inset -1px -1px 0 rgb(31 41 55 / 10%),
    0 8px 20px -10px rgb(var(--lg-shadow) / 30%) !important;
  backdrop-filter:blur(10px) saturate(145%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(145%) !important;
  transition:transform .22s cubic-bezier(.34,1.56,.64,1),box-shadow .22s ease,filter .22s ease !important;
}
html.theme-glass button:not(.nav-mobile-btn):not(.nav-back):not(.theme-toggle):not(.docs-tool-btn):not(.toggle-eye-btn):not(.dash-btn-icon):not(.icon-btn):not(.chat-bar):not(.chat-panel-close):not(.chat-btn):not(.chat-send):not(.chat-suggest):not(.chat-suggestion)::before,
html.theme-glass .btn::before,
html.theme-glass .tool-btn::before,
html.theme-glass .support-btn::before,
html.theme-glass .support-modal-btn::before,
html.theme-glass .prompt-maker-btn::before,
html.theme-glass .chat-field-btn::before,
html.theme-glass .v2-field-btn::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 28%,rgb(255 255 255 / 34%) 48%,transparent 68%);
  background-size:220% 100%;
  opacity:.55;
  transition:background-position .6s ease;
}
html.theme-glass button:not(.nav-mobile-btn):not(.nav-back):not(.theme-toggle):not(.docs-tool-btn):not(.toggle-eye-btn):not(.dash-btn-icon):not(.icon-btn):not(.chat-bar):not(.chat-panel-close):not(.chat-btn):not(.chat-send):not(.chat-suggest):not(.chat-suggestion):hover:not(:disabled),
html.theme-glass input[type="button"]:hover,
html.theme-glass input[type="submit"]:hover,
html.theme-glass input[type="reset"]:hover,
html.theme-glass .btn:hover,
html.theme-glass .tool-btn:hover:not(:disabled),
html.theme-glass .support-btn:hover,
html.theme-glass .social-btn:hover,
html.theme-glass .pbtn:hover,
html.theme-glass .support-modal-btn:hover,
html.theme-glass .prompt-maker-btn:hover,
html.theme-glass .chat-field-btn:hover,
html.theme-glass .v2-field-btn:hover {
  transform:translateY(-1px) scale(1.015) !important;
  filter:brightness(1.04) saturate(1.08);
  box-shadow:
    inset 1px 1px 0 rgb(255 255 255 / 94%),
    0 12px 26px -10px rgb(var(--lg-shadow) / 38%),
    0 0 0 3px rgb(var(--accent-rgb) / 10%) !important;
}
html.theme-glass button:not(.nav-mobile-btn):not(.nav-back):not(.theme-toggle):not(.docs-tool-btn):not(.toggle-eye-btn):not(.dash-btn-icon):not(.icon-btn):not(.chat-bar):not(.chat-panel-close):not(.chat-btn):not(.chat-send):not(.chat-suggest):not(.chat-suggestion):hover::before,
html.theme-glass .btn:hover::before,
html.theme-glass .tool-btn:hover::before,
html.theme-glass .support-btn:hover::before,
html.theme-glass .support-modal-btn:hover::before,
html.theme-glass .prompt-maker-btn:hover::before,
html.theme-glass .chat-field-btn:hover::before,
html.theme-glass .v2-field-btn:hover::before { background-position:100% 0; }
html.theme-glass button:not(.nav-mobile-btn):not(.nav-back):not(.theme-toggle):not(.docs-tool-btn):not(.toggle-eye-btn):not(.dash-btn-icon):not(.icon-btn):not(.chat-bar):not(.chat-panel-close):not(.chat-btn):not(.chat-send):not(.chat-suggest):not(.chat-suggestion):active:not(:disabled),
html.theme-glass input[type="button"]:active,
html.theme-glass input[type="submit"]:active,
html.theme-glass input[type="reset"]:active,
html.theme-glass .btn:active,
html.theme-glass .tool-btn:active:not(:disabled),
html.theme-glass .support-btn:active,
html.theme-glass .social-btn:active,
html.theme-glass .pbtn:active,
html.theme-glass .support-modal-btn:active,
html.theme-glass .prompt-maker-btn:active,
html.theme-glass .chat-field-btn:active,
html.theme-glass .v2-field-btn:active { transform:scale(.96) !important; }
html.theme-glass button:not(.nav-mobile-btn):not(.nav-back):not(.theme-toggle):not(.docs-tool-btn):not(.toggle-eye-btn):not(.dash-btn-icon):not(.icon-btn):not(.chat-bar):not(.chat-panel-close):not(.chat-btn):not(.chat-send):not(.chat-suggest):not(.chat-suggestion):disabled,
html.theme-glass input[type="button"]:disabled,
html.theme-glass input[type="submit"]:disabled,
html.theme-glass input[type="reset"]:disabled { opacity:.45; cursor:not-allowed; filter:saturate(.6); }
html.theme-glass .btn-primary,
html.theme-glass .btn.p,
html.theme-glass .tool-btn:not(.oe-pick-btn),
html.theme-glass .support-btn:not(.support-btn-outline),
html.theme-glass .support-modal-btn,
html.theme-glass .prompt-maker-btn {
  background:
    linear-gradient(135deg,rgb(var(--accent-rgb) / 78%),rgb(var(--accent-rgb) / 42%) 58%,rgb(255 255 255 / 34%)) !important;
  color:#fff !important;
  text-shadow:0 1px 2px rgb(0 0 0 / 20%);
}
@media (prefers-reduced-transparency:reduce), (forced-colors:active) { html.theme-glass body { background-image:none !important; } html.theme-glass body::before,html.theme-glass body::after { display:none !important; } html.theme-glass .glass,html.theme-glass .nav,html.theme-glass .dash-sidebar,html.theme-glass .docs-sidebar { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; background:var(--lg-surface) !important; } }
