:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#40352c;background:#fff8ec;font-synthesis:none;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%}body{min-height:100dvh;background:radial-gradient(circle at 15% 0%,#ffe6bf 0,transparent 46%),radial-gradient(circle at 90% 18%,#ffe0d3 0,transparent 42%),linear-gradient(180deg,#fff9ef,#fff3dd)}main{width:min(100%,640px);min-height:100dvh;margin:0 auto;padding:max(18px,env(safe-area-inset-top)) 20px max(28px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:22px}header{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:12px}.logo{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fff;box-shadow:0 8px 20px #be843629;font-size:24px}h1{margin:0;font-size:20px;letter-spacing:.5px}.sub{margin:2px 0 0;color:#a08365;font-size:12px}.conn{display:flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#f1e6d6;color:#8b7560;font-size:12px;white-space:nowrap}.conn.ok{background:#e4f6e9;color:#2f7d4e}.dot{width:8px;height:8px;border-radius:50%;background:currentColor}.settings{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:24px;background:#ffffffc7;box-shadow:0 16px 40px #be84361f}label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#8b7560}input{width:100%;padding:13px 14px;border:1px solid #ecd9bd;border-radius:14px;background:#fffdf8;color:#40352c;font-size:15px;outline:none}input:focus{border-color:#f0aa54;box-shadow:0 0 0 3px #f0aa542e}.actions{display:flex;gap:10px}button{border:0;font:inherit;cursor:pointer}.primary,.ghost{padding:13px 22px;border-radius:14px;font-size:15px;font-weight:600}.primary{flex:1;background:linear-gradient(180deg,#f7bc6e,#ee9f43);color:#fff;box-shadow:0 10px 24px #ee9f434d}.ghost{background:#f3e8d8;color:#8b7560}.ghost.small{align-self:center;margin-top:8px;padding:9px 16px;font-size:13px}.talk{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.talk-btn{position:relative;width:min(62vw,270px);aspect-ratio:1;border-radius:50%;background:linear-gradient(160deg,#ffd08a,#f4a54a 55%,#ea8f2f);color:#fff;box-shadow:0 24px 50px #ea8f2f52,inset 0 2px 2px #ffffff8c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;touch-action:none;-webkit-user-select:none;user-select:none;transition:transform .12s ease,box-shadow .12s ease}.talk-btn:active,.talk-btn.active{transform:scale(.96);box-shadow:0 12px 30px #ea8f2f57,inset 0 2px 6px #a0560a2e}.mic{font-size:50px;filter:drop-shadow(0 6px 10px rgb(140 70 0 / 18%))}.label{font-size:19px;font-weight:700;letter-spacing:1px}.ring{position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px;border-radius:50%;border:2px solid rgb(244 165 74 / 30%);animation:breathe 3.2s ease-in-out infinite}.talk-btn.active .ring{animation:pulse 1s ease-out infinite;border-color:#ffffff8c}@keyframes breathe{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.04);opacity:1}}@keyframes pulse{0%{transform:scale(1);opacity:.8}to{transform:scale(1.16);opacity:0}}.hint{margin:0;color:#a08365;font-size:13px;text-align:center}.bubble{width:100%;padding:14px 16px;border-radius:18px;background:#ffffffd1;box-shadow:0 10px 26px #be84361a}.who{color:#c08a4a;font-size:11px;font-weight:700;letter-spacing:1px}.bubble p{margin:6px 0 0;font-size:16px;line-height:1.5}.toast{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translate(-50%);width:min(90vw,520px);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-radius:16px;background:#4a3a2d;color:#fff6e8;font-size:14px;box-shadow:0 16px 36px #402c1847}.toast button{background:transparent;color:inherit;font-size:20px;line-height:1}@media(max-height:620px){.talk-btn{width:min(48vw,210px)}.mic{font-size:38px}}.capture-row{display:flex;align-items:center;justify-content:center;gap:7vw;margin:2px 0 4px}.cam-btn{width:min(30vw,140px);aspect-ratio:1;border-radius:50%;background:linear-gradient(160deg,#a8dcff,#6cb6ee 55%,#4f9fd6);color:#fff;box-shadow:0 16px 34px #4f9fd64d,inset 0 2px 2px #ffffff8c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:transform .12s ease}.cam-btn:active{transform:scale(.95)}.cam-ic{font-size:36px;filter:drop-shadow(0 4px 8px rgb(20 80 130 / 20%))}.cam-label{font-size:15px;font-weight:700;letter-spacing:1px}.photo-chip{display:flex;align-items:center;gap:10px;background:#fffdf8;border-radius:14px;padding:8px 12px;font-size:13px;color:#7c6247}.photo-chip img{width:48px;height:48px;object-fit:cover;border-radius:10px}.chip-x{border:none;background:transparent;font-size:16px;color:#a08365;padding:4px}.camera-full{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#000;display:flex;flex-direction:column}.camera-full video,.camera-full img{flex:1;width:100%;min-height:0;object-fit:contain;background:#000}.cam-exit{position:absolute;top:16px;left:16px;width:44px;height:44px;border-radius:50%;border:none;background:#ffffff38;color:#fff;font-size:22px;z-index:2}.shutter{align-self:center;width:78px;height:78px;margin:14px auto 22px;border-radius:50%;border:5px solid #fff;background:#fff;box-shadow:0 0 0 3px #ffffff59}.shutter:active{transform:scale(.92)}.preview-actions{display:flex;gap:18px;justify-content:center;padding:16px 0 26px}.preview-actions .primary,.preview-actions .ghost{font-size:18px;padding:12px 22px;border-radius:999px}
