/* LUNA · Asistente de La Red Mundial (diseño de Billy; servido como asset) */
#luna-root{position:fixed;right:18px;bottom:18px;z-index:9999;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none}
#luna-root>*{pointer-events:auto}
#luna-root *{box-sizing:border-box}
.luna-fab{width:62px;height:62px;border-radius:50%;border:3px solid #fff;box-shadow:0 10px 26px rgba(0,0,0,.3);padding:0;overflow:hidden;cursor:pointer;background:#FDEBD2;position:relative;transition:transform .15s}
.luna-fab img{width:100%;height:100%;object-fit:cover;display:block}
.luna-fab:hover{transform:scale(1.06)}
.luna-panel{display:none;width:min(336px,calc(100vw - 36px));max-height:min(560px,78vh);flex-direction:column;background:#fff;border:1px solid #eadfce;border-radius:20px;box-shadow:0 18px 50px rgba(60,30,5,.28);overflow:hidden;color:#2B2118;text-align:left}
.luna-panel.open{display:flex}
.luna-head{color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px}
.luna-head img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.7);background:#FDEBD2}
.luna-head .who{flex:1}.luna-head .who b{display:block;font-size:15.5px;line-height:1.2}.luna-head .who small{opacity:.92;font-size:12px;font-weight:700}
.luna-x{background:rgba(255,255,255,.18);border:0;color:#fff;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:15px}
.luna-player{margin:12px 12px 0;background:#FFF3DF;border:1.5px solid #EBDCC3;border-radius:14px;padding:10px 12px;display:flex;align-items:center;gap:10px}
.luna-play{flex:0 0 40px;width:40px;height:40px;border-radius:50%;border:0;background:#0E7C6F;color:#fff;font-size:15px;cursor:pointer}
.luna-player b{display:block;font-size:13.5px;line-height:1.25;color:#2B2118}.luna-player small{color:#6B5D4F;font-weight:700;font-size:12px}
.luna-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;min-height:170px}
.luna-msg{max-width:88%;padding:9px 12px;border-radius:16px;font-size:14px;line-height:1.45;color:#2B2118}
.luna-msg.bot{background:#FFF6E8;border:1.5px solid #EBDCC3;border-bottom-left-radius:5px;align-self:flex-start}
.luna-msg.user{color:#fff;border-bottom-right-radius:5px;align-self:flex-end;font-weight:600}
.luna-msg ul{margin:6px 0 2px;padding-left:18px}.luna-msg li{margin:4px 0}
.luna-msg a{color:#C93A22;text-decoration:underline}.luna-msg li a{color:#2B2118;text-decoration:none}.luna-msg li a:hover b{text-decoration:underline}
.luna-chips{display:flex;gap:6px;flex-wrap:wrap;padding:0 12px 10px}
.luna-chip{border:1.5px solid #EBDCC3;background:#fff;border-radius:999px;padding:6px 11px;font-size:12.5px;font-weight:700;cursor:pointer;color:#2B2118}
.luna-form{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid #EBDCC3;margin:0}
.luna-form input{flex:1;min-width:0;border:1.5px solid #EBDCC3;border-radius:999px;padding:10px 14px;font:inherit;font-size:16px;color:#2B2118;background:#fff}
.luna-send{flex:0 0 42px;width:42px;height:42px;border-radius:50%;border:0;color:#fff;font-size:16px;cursor:pointer}
@media (max-width:600px){#luna-root{right:12px;bottom:12px}.luna-fab{width:54px;height:54px}.luna-panel{width:calc(100vw - 24px);max-height:min(560px,calc(100dvh - 96px))}}
@media print{#luna-root{display:none}}
