#gurenyunOpen{font:inherit;text-align:left;cursor:pointer;background:#fff;color:inherit;width:100%}
#gurenyunOpen .gurenyun-symbol{font-family:'小薇','文学宋体',serif;font-size:36px;color:#315f4e;background:#f0f5f1;border-radius:8px}
#gurenyunDialog{--gy-green:#315f4e;--gy-line:#dce4df;--gy-volume:0;width:min(1000px,calc(100vw - 40px));height:min(820px,calc(100vh - 40px));height:min(820px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:1px solid var(--gy-line);border-radius:10px;background:#fff;color:#233e33;box-shadow:0 14px 70px #20392c20;overflow:hidden;font-family:inherit;font-size:18px;line-height:1.6}
#gurenyunDialog[open]{display:flex;flex-direction:column}#gurenyunDialog::backdrop{background:#233e3340}#gurenyunDialog [hidden]{display:none!important}
#gurenyunDialog{position:fixed;inset:0!important;margin:auto;box-sizing:border-box}
#gurenyunDialog[data-loading=true] .gy-conversation,#gurenyunDialog[data-loading=true] .gy-portraits{visibility:hidden}
#gurenyunDialog *{box-sizing:border-box}#gurenyunDialog button,#gurenyunDialog input,#gurenyunDialog textarea{font:inherit;color:inherit}#gurenyunDialog button{min-height:44px;padding:8px 16px;border:1px solid #c6d3ca;background:#fff;border-radius:5px;cursor:pointer;font-size:17px}#gurenyunDialog button:disabled{opacity:.5;cursor:default}#gurenyunDialog button:focus-visible,#gurenyunDialog a:focus-visible,#gurenyunDialog input:focus-visible,#gurenyunDialog textarea:focus-visible{outline:2px solid var(--gy-green);outline-offset:3px}
#gurenyunDialog .gy-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex:none;padding:18px 26px;border-bottom:1px solid var(--gy-line)}#gurenyunDialog .gy-head>div{display:flex;align-items:center;gap:12px}#gurenyunDialog h2{margin:0;font-size:28px;line-height:1.25;font-weight:500;letter-spacing:.1em}#gurenyunDialog .gy-seal{display:grid;place-items:center;width:36px;height:36px;border:1px solid #a95843;color:#a95843;font-size:25px}
#gurenyunDialog .gy-settings{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 26px;border-bottom:1px solid var(--gy-line);flex:none}#gurenyunDialog #gyPerson{width:150px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #c6d3ca;border-radius:5px;background:#fff;font-size:18px}#gurenyunDialog .gy-tabs{display:flex;gap:8px;margin-left:auto}#gurenyunDialog .gy-tabs button{border-color:transparent}#gurenyunDialog .gy-tabs button[aria-pressed=true]{color:var(--gy-green);background:#eff5f1;border-color:#d6e4da}
#gurenyunDialog .gy-conversation,#gurenyunDialog .gy-portraits{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 32px;scroll-behavior:smooth}#gurenyunDialog .gy-welcome{display:flex;align-items:center;justify-content:center;min-height:160px;text-align:center;font-size:22px;color:#718477;padding:28px 10px}#gurenyunDialog .gy-message{padding:0 0 24px;margin:0 0 18px;border-bottom:1px solid #edf1ee}#gurenyunDialog .gy-message strong{font-size:15px;font-weight:500;color:#708176}#gurenyunDialog .gy-message p{margin:7px 0 0;font-size:19px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}#gurenyunDialog .gy-user{padding-left:14%;text-align:right}#gurenyunDialog .gy-user p{color:#596f61}#gurenyunDialog .gy-assistant{padding-right:8%}#gurenyunDialog .is-speaking strong{color:var(--gy-green)}#gurenyunDialog .is-speaking strong:after{content:' · 正在朗读';font-size:13px}
#gurenyunDialog .gy-live-caption{flex:none;max-height:84px;overflow:auto;padding:8px 26px;color:#496b56;background:#f5f8f5;font-size:17px;min-height:24px;border-left:4px solid #8caa98}#gurenyunDialog[data-phase=listening] .gy-voice{background:rgba(222,238,227,calc(.45 + var(--gy-volume)*.5));border-color:#71967f}
#gurenyunDialog .gy-composer{flex:none;margin:0;padding:16px 26px 20px;border-top:1px solid var(--gy-line);background:#fff}#gurenyunDialog textarea{display:block;width:100%;min-height:72px;max-height:150px;resize:vertical;padding:10px 12px;border:1px solid #c6d3ca;border-radius:5px;background:#fff;font-size:18px;line-height:1.6}#gurenyunDialog .gy-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px}#gurenyunDialog .gy-read{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:15px;color:#607666}#gurenyunDialog .gy-read input{accent-color:var(--gy-green);width:17px;height:17px}#gurenyunDialog #gyStatus{font-size:14px;color:#718477;flex:1;min-width:60px}#gurenyunDialog button.gy-primary{background:var(--gy-green);color:#fff;border-color:var(--gy-green);margin-left:auto;min-width:92px}
#gurenyunDialog figure{margin:0 0 28px}#gurenyunDialog figure img{display:block;max-width:100%;width:auto;max-height:480px;height:auto;object-fit:contain;margin:0 auto}#gurenyunDialog figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px auto 0;max-width:480px;font-size:16px}#gurenyunDialog figcaption a{display:inline-flex;align-items:center;min-height:44px;color:var(--gy-green);text-decoration:underline;text-underline-offset:5px}#gurenyunDialog .gy-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){#gurenyunDialog{width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);border-radius:8px}#gurenyunDialog .gy-head{padding:14px 16px}#gurenyunDialog h2{font-size:25px}#gurenyunDialog .gy-settings{padding:10px 16px;gap:8px}#gurenyunDialog .gy-tabs{width:100%;margin-left:0;display:grid;grid-template-columns:1fr 1fr}#gurenyunDialog .gy-tabs button{padding-inline:8px;font-size:16px}#gurenyunDialog #gyPerson{flex:1}#gurenyunDialog .gy-conversation,#gurenyunDialog .gy-portraits{padding:20px 18px}#gurenyunDialog .gy-message p{font-size:18px}#gurenyunDialog .gy-user{padding-left:6%}#gurenyunDialog .gy-assistant{padding-right:2%}#gurenyunDialog .gy-composer{padding:12px 16px 16px}#gurenyunDialog .gy-actions{gap:8px}#gurenyunDialog .gy-actions button{padding-inline:10px;font-size:16px}#gurenyunDialog #gyStatus{order:4;flex-basis:100%;min-height:0}#gurenyunDialog #gyStatus:empty{display:none}#gurenyunDialog .gy-welcome{font-size:20px;min-height:100px}}
@media(prefers-reduced-motion:reduce){#gurenyunDialog .gy-conversation,#gurenyunDialog .gy-portraits{scroll-behavior:auto}}
#gurenyunDialog #gyImageList{height:100%}#gurenyunDialog figure{height:100%;min-height:240px;display:flex;flex-direction:column;gap:12px}#gurenyunDialog figure img{width:100%;height:calc(100% - 60px);max-height:none;min-height:0;flex:1;object-fit:contain}#gurenyunDialog figcaption{flex:none;width:min(100%,480px);margin:0 auto}
