:root{--bg:#07111f;--panel:#101e31;--line:#263b55;--blue:#38bdf8;--text:#e8f4ff;--muted:#9bb0c6;--green:#4ade80;--red:#fb7185}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 20%,#142b48,#050a12 70%);color:var(--text);font:16px system-ui,-apple-system,Segoe UI,sans-serif;min-height:100vh}button,input,textarea,select{font:inherit}button{border:1px solid var(--line);border-radius:12px;padding:10px 13px;background:#172a42;color:var(--text);cursor:pointer}button.primary{background:linear-gradient(135deg,#0284c7,#38bdf8);color:#04111d;border:0;font-weight:750}button:disabled{opacity:.45;cursor:not-allowed}.wrap{max-width:900px;margin:auto;padding:14px}.top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.brand{font-weight:800;letter-spacing:.08em;color:var(--blue)}.status{font-size:12px;color:var(--muted)}.panel{background:#0d1929eF;border:1px solid var(--line);border-radius:18px;padding:14px;margin-top:12px;box-shadow:0 12px 35px #0005}.facePanel{min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.eyes{display:flex;gap:clamp(32px,10vw,72px);align-items:center;margin:25px 0}.eye{width:clamp(55px,17vw,88px);height:clamp(78px,23vw,112px);border-radius:48%;background:var(--blue);box-shadow:0 0 30px #38bdf899,inset 0 0 12px #fff8;transition:.25s}.eye.blink{height:9px;border-radius:8px}.eye.happy{height:70px;border-radius:60% 60% 20% 20%;background:var(--green);box-shadow:0 0 28px #4ade8088}.eye.love{background:#fb7185;box-shadow:0 0 30px #fb718599;transform:scale(1.06)}.eye.thinking{height:82px;background:#a78bfa;box-shadow:0 0 28px #a78bfa99}.eye.doubt{background:#facc15}.eye.alert{background:#ef4444;box-shadow:0 0 32px #ef4444aa}.eye.sleep{height:10px;opacity:.55;border-radius:8px}.mouth{display:flex;gap:5px;height:38px;align-items:center}.bar{width:7px;height:7px;border-radius:8px;background:var(--blue);box-shadow:0 0 10px #38bdf8}.faceEmoji{position:absolute;left:50%;top:7%;transform:translateX(-50%) scale(.8);font-size:clamp(30px,8vw,44px);opacity:0;transition:opacity .2s,transform .25s;filter:drop-shadow(0 0 12px #38bdf899);z-index:2}.faceEmoji.show{opacity:1;transform:translateX(-50%) scale(1);animation:emojiPop .35s ease-out}@keyframes emojiPop{0%{transform:translateX(-50%) scale(.3) rotate(-18deg)}70%{transform:translateX(-50%) scale(1.18) rotate(7deg)}100%{transform:translateX(-50%) scale(1)}}.eye.sad{height:60px;background:#60a5fa;border-radius:50% 50% 15% 15%;opacity:.8}.eye.angry{height:62px;background:#f97316;transform:skewY(-12deg);box-shadow:0 0 30px #f97316aa}.eye.surprised{height:100px;width:clamp(62px,18vw,94px);background:#fef08a;box-shadow:0 0 30px #facc15aa}.eye.devil{height:66px;background:#ef4444;transform:rotate(-8deg);box-shadow:0 0 32px #ef4444aa}.eye.music{background:#c084fc;box-shadow:0 0 30px #c084fcaa;animation:musicPulse .45s ease-in-out infinite alternate}.eye.cool{height:42px;background:#22d3ee;border-radius:8px;box-shadow:0 0 28px #22d3ee99}@keyframes musicPulse{to{transform:scale(1.12) translateY(-5px)}}.facePanel.dancing .eyes{animation:faceDance .42s ease-in-out infinite alternate}.facePanel.dancing .mouth{animation:faceDance .3s ease-in-out infinite alternate}@keyframes faceDance{from{transform:translateX(-9px) rotate(-4deg)}to{transform:translateX(9px) rotate(4deg)}}.featureNote{font-size:12px;color:var(--muted);line-height:1.45}@media(max-width:520px){.wrap{padding:10px}.panel{padding:12px}.facePanel{min-height:260px}.grid{grid-template-columns:1fr}}.faceName{font-size:12px;letter-spacing:.18em;color:var(--muted)}.caption{color:#d5e6f7;text-align:center;max-width:95%;margin-top:12px;min-height:24px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.grid button{width:100%}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.row>*{flex:1}.field{display:grid;gap:5px;margin:9px 0}.field label{font-size:13px;color:var(--muted)}input,textarea,select{width:100%;padding:11px;border:1px solid var(--line);border-radius:11px;background:#071321;color:var(--text)}textarea{min-height:70px;resize:vertical}.chat{height:210px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:4px}.msg{padding:9px 11px;border-radius:12px;max-width:90%;white-space:pre-wrap;overflow-wrap:anywhere}.user{align-self:flex-end;background:#123d5c}.bot{align-self:flex-start;background:#17283d}.small{font-size:12px;color:var(--muted)}.toggle{display:flex;align-items:center;gap:8px}.toggle input{width:auto}.hidden{display:none!important}video{width:100%;max-height:220px;object-fit:cover;border-radius:12px;background:#000}.warn{border-left:3px solid #f59e0b;padding:9px 11px;background:#33271066;border-radius:8px;color:#f9dfad;font-size:13px}.sectionTitle{font-weight:750;margin-bottom:8px}.footer{text-align:center;color:var(--muted);font-size:11px;padding:18px}

.pcFallbackNotice{width:30px;height:30px;flex:0 0 30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #22c55e;border-radius:50%;background:#052e1a;color:#86efac;font-size:15px;line-height:1;box-shadow:0 0 10px #22c55e55;cursor:help}.pcFallbackNotice[hidden]{display:none}

/* Navegação compacta e modo companheiro */
.menuBtn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;font-size:21px;flex:0 0 42px}.sideMenu{position:fixed;z-index:30;inset:0 auto 0 0;width:min(82vw,300px);padding:22px 16px;background:#091525;border-right:1px solid var(--line);box-shadow:18px 0 50px #0009;transform:translateX(-110%);transition:transform .22s ease;display:flex;flex-direction:column;gap:9px}.sideMenu.open{transform:translateX(0)}.sideMenu button{text-align:left}.sideMenu .menuClose{align-self:flex-end;width:40px}.menuBrand{font-weight:850;letter-spacing:.12em;color:var(--blue);padding:8px 4px 16px}.menuShade{position:fixed;z-index:29;inset:0;background:#0009;opacity:0;pointer-events:none;transition:opacity .2s}.menuShade.open{opacity:1;pointer-events:auto}.viewPanel{display:none}.viewPanel.active{display:block}.facePanel{display:flex}.facePanel.idle-donut:after{content:'🍩';position:absolute;right:12%;bottom:12%;font-size:34px;animation:donutFloat 3s ease-in-out infinite}.facePanel.idle-beer:after{content:'🍺';position:absolute;right:12%;bottom:12%;font-size:32px;animation:donutFloat 3s ease-in-out infinite}.idleLabel{font-size:11px;color:var(--muted);min-height:14px;margin-top:4px}@keyframes donutFloat{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-9px) rotate(8deg)}}@media(orientation:landscape) and (max-height:600px){.wrap{max-width:1100px;padding:8px}.facePanel{min-height:calc(100vh - 90px);max-height:calc(100vh - 90px)}.eyes{margin:12px 0;gap:clamp(35px,8vw,90px)}.eye{width:clamp(48px,8vw,82px);height:clamp(58px,16vh,95px)}.faceEmoji{top:4%}.caption{margin-top:6px}.panel{margin-top:7px;padding:10px}}@media(orientation:portrait){.facePanel{min-height:min(56vh,430px)}}
