/* da-lle overlay: same visual language as the rest of the site.
   Glass panels, chamfered corners, cyan / coder green / mint green only. */
.bot-overlay{--cutx:10px;background:var(--bg)}
.bot-overlay::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
 background:radial-gradient(circle at 50% 0,rgba(0,240,255,.10),transparent 55%),radial-gradient(circle at 50% 100%,rgba(0,255,65,.12),transparent 55%),
 repeating-linear-gradient(0deg,rgba(0,240,255,.045) 0 1px,transparent 1px 4px)}
.bot-overlay>*{position:relative}
.bot-topbar{position:fixed!important;height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;background:rgba(2,10,12,.78);border-bottom:1px solid var(--line-2);box-shadow:0 0 18px rgba(0,240,255,.15)}
.bot-brand-name{font-size:14px;font-weight:900;letter-spacing:5px;text-transform:uppercase;color:var(--moco-cyan);text-shadow:0 0 10px rgba(0,240,255,.6)}
.bot-tools{gap:6px}

/* shared chamfer shape (same as menu items / buttons) */
.tool,.bot-chip,.bot-composer,.bot-bubble,.history-panel,.history-item,.emotion-dial,.bot-send,.history-close{
 clip-path:polygon(var(--cutx) 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - var(--cutx)),calc(100% - var(--cutx)) 100%,5px 100%,0 calc(100% - 5px),0 var(--cutx));border-radius:0!important}
.tool{width:40px;height:40px;border:0;cursor:pointer;color:var(--moco-cyan);background:rgba(0,240,255,.10);
 box-shadow:inset 0 1px 0 rgba(0,240,255,.25),inset 0 0 12px rgba(0,240,255,.12);transition:background .18s var(--ease),box-shadow .18s var(--ease)}
.tool:hover,.tool.active{background:rgba(0,240,255,.22);box-shadow:inset 0 1px 0 rgba(0,240,255,.4),inset 0 0 16px rgba(0,240,255,.3)}
.tool delluna-icon{width:20px;height:20px}

.bot-stage{padding:calc(70px + env(safe-area-inset-top)) 16px 170px}
.bot-welcome-inner{gap:22px;flex-wrap:wrap}
#welcomeSaturn{filter:drop-shadow(0 0 18px rgba(0,255,65,.55))}
.emotion-dial{width:118px;border:0;background:rgba(0,240,255,.06);box-shadow:inset 0 0 0 1px var(--line-2)}
.emotion-dial-notch{border-radius:0;border-color:var(--moco-cyan);background:rgba(0,240,255,.12);box-shadow:0 0 14px rgba(0,240,255,.35)}
.emotion-dial-item{letter-spacing:2px;font-size:11px;text-transform:uppercase}
.emotion-dial-item.active{color:var(--moco-cyan);text-shadow:0 0 8px rgba(0,240,255,.8);font-size:12px}

.bot-suggestions{max-width:560px;margin-top:22px}
.bot-chip{border:0;background:rgba(0,240,255,.07);color:var(--fg-dim);font-size:12px;letter-spacing:1px;padding:14px;box-shadow:inset 0 0 0 1px var(--line);}
.bot-chip:hover{background:rgba(0,240,255,.16);color:var(--moco-cyan);box-shadow:inset 0 0 0 1px var(--moco-cyan)}

/* messages */
.bot-bubble{font-size:13px;line-height:1.7;padding:12px 16px;}
.bot-msg.bot .bot-bubble{background:rgba(5,28,32,.78);border:0;box-shadow:inset 3px 0 0 var(--moco-cyan),inset 0 0 0 1px var(--line);color:var(--fg-dim)}
.bot-msg.user .bot-bubble{background:rgba(0,255,65,.18);border:0;box-shadow:inset -3px 0 0 var(--mint-green),inset 0 0 0 1px rgba(0,255,65,.4);color:var(--fg)}
.bot-avatar.you{background:rgba(0,240,255,.12);border:0;border-radius:0;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.bot-avatar.you svg,.bot-avatar.you svg *{fill:#00f0ff;stroke:#00f0ff}
.bot-bubble.rich strong{color:var(--moco-cyan)}
.bot-bubble.rich code{font-family:'classy';background:rgba(0,240,255,.1);border:0;border-radius:0}
.rich-link{color:var(--moco-cyan);border-bottom:1px solid rgba(0,240,255,.4)}
.rich-link:hover{color:#fff;border-bottom-color:var(--mint-green)}
.dots span{background:var(--moco-cyan);border-radius:0;box-shadow:0 0 8px var(--moco-cyan)}

/* composer */
.bot-composer-wrap{padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(0deg,var(--bg) 60%,transparent)}
.bot-composer{background:rgba(5,28,32,.85);border:0;padding:7px 7px 7px 18px;box-shadow:inset 0 0 0 1px var(--line-2),inset 0 0 18px rgba(0,240,255,.08)}
.bot-input{font-size:13px;letter-spacing:.5px;color:var(--fg);caret-color:var(--moco-cyan)}
.bot-input::placeholder{color:var(--fg-ghost)}
.bot-send{width:42px;height:42px;background:rgba(0,240,255,.12);box-shadow:inset 0 0 0 1px var(--line-2)}
.bot-send delluna-icon{width:20px;height:20px}
.bot-disclaimer{font-size:10px;letter-spacing:1px;color:var(--fg-ghost);text-transform:uppercase}

/* history */
.history-panel{background:rgba(5,20,24,.96);border:0;box-shadow:inset 0 0 0 1px var(--line-2);top:calc(64px + env(safe-area-inset-top));padding:10px}
.history-head{color:var(--moco-cyan);font-size:11px;letter-spacing:3px;text-transform:uppercase}
.history-close{color:var(--moco-cyan);background:rgba(0,240,255,.1)}
.history-item{background:rgba(0,240,255,.04);border:0;box-shadow:inset 0 0 0 1px var(--line)}
.history-item:hover{background:rgba(0,240,255,.12);box-shadow:inset 0 0 0 1px var(--moco-cyan)}
.history-item.active{background:rgba(0,255,65,.2);box-shadow:inset 0 0 0 1px var(--coder-green)}
.hi-title{font-size:12px}
.history-del,.history-del svg,.history-del svg *{color:#8fc4dd;fill:#8fc4dd}
.history-del:hover,.history-del:hover svg,.history-del:hover svg *{color:#3effb5;fill:#3effb5}
.history-empty{color:var(--fg-mute);font-size:12px}

.bot-welcome-title{margin-top:16px;font-size:clamp(20px,5vw,28px);font-weight:900;letter-spacing:8px;text-indent:8px;text-transform:uppercase;color:var(--moco-cyan);text-shadow:0 0 14px rgba(0,240,255,.6)}
.bot-welcome-sub{margin-top:8px;font-size:12px;letter-spacing:1px;line-height:1.7;color:var(--fg-mute);max-width:420px}
