/* 首页在线服务组件：保留原有链接和表单，只优化视觉与触控层级。 */
body.is-home .online{right:22px;bottom:96px;z-index:40;width:68px;display:flex;flex-direction:column;gap:10px}
body.is-home .online dl{position:relative;width:64px;height:64px;margin:0;padding:0;border:1px solid var(--home-line);border-radius:18px;background:rgba(16,24,39,.78);box-shadow:0 14px 36px rgba(0,0,0,.2);backdrop-filter:blur(16px);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform .25s,border-color .25s,background .25s}
body.is-home .online dl:hover{transform:translateX(-5px);border-color:var(--home-accent);background:rgba(22,34,55,.94)}
body.is-home .online dl dd{display:block;float:none;width:auto;height:auto;margin:0;padding:0;background:none;color:var(--home-text);text-align:center;line-height:1}
body.is-home .online dl dd:first-of-type{font-size:21px;color:var(--home-accent);margin-bottom:7px}
body.is-home .online dl dd:last-of-type{font-size:10px;white-space:nowrap;color:var(--home-muted)}
body.is-home .online dl dt{position:absolute;right:78px;bottom:0;width:250px!important;max-width:calc(100vw - 120px);max-height:calc(100vh - 40px);box-sizing:border-box;overflow-x:hidden;overflow-y:auto;padding:18px;border:1px solid var(--home-line);border-radius:14px;background:rgba(16,24,39,.96);box-shadow:0 18px 55px rgba(0,0,0,.3);color:var(--home-text);opacity:0;visibility:hidden;transform:translateX(8px);transition:opacity .2s,transform .2s,visibility .2s}
body.is-home .online dl:hover dt{opacity:1;visibility:visible;transform:none}
body.is-home .online dl dt h3{margin:0 0 12px;color:var(--home-text);font-size:14px;font-weight:600}
body.is-home .online dl dt h3 i{color:var(--home-accent);margin-right:7px}
body.is-home .online dl dt h3 .remove{float:right;color:var(--home-muted);cursor:pointer}
body.is-home .online dl dt p{margin:8px 0;color:var(--home-muted);font-size:12px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.is-home .online dl dt a{color:var(--home-text);font-size:12px}
body.is-home .online dl dt a:hover{color:var(--home-accent);text-decoration:none}
body.is-home .online dl dt a img{width:25px!important;height:25px;object-fit:cover;border-radius:7px;vertical-align:middle;margin-right:6px}
body.is-home .online dl dt input{width:100%;height:36px;padding:0 10px;border:1px solid var(--home-line);border-radius:7px;background:transparent;color:var(--home-text);outline:none}
body.is-home .online dl dt input:focus{border-color:var(--home-accent)}
body.is-home .online dl dt button{width:100%;height:36px;border:0;border-radius:7px;background:var(--home-accent);color:#05101c;font-weight:700}
body.is-home .online dl.scroll-top{cursor:pointer}
body.is-home .online dl.scroll-top dd:first-of-type{margin-bottom:0}
body.is-home .online dl.scroll-top dd:last-of-type{margin-top:7px}
body.is-home .online .home-theme-toggle{position:static;right:auto;bottom:auto;width:64px;height:64px;flex:0 0 64px;border:1px solid var(--home-line);border-radius:18px;background:rgba(16,24,39,.78);color:var(--home-text);box-shadow:0 14px 36px rgba(0,0,0,.2);backdrop-filter:blur(16px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:21px;line-height:1;cursor:pointer}
body.is-home .online .home-theme-toggle:hover{border-color:var(--home-accent);background:rgba(22,34,55,.94);transform:translateX(-5px)}
body.is-home .online .home-theme-toggle small{font-size:10px;color:var(--home-muted)}
body.is-home .fixed-bottom{height:64px;background:rgba(16,24,39,.9)!important;border-top:1px solid var(--home-line);backdrop-filter:blur(18px);z-index:40}
body.is-home .fixed-bottom .col-4{border-color:var(--home-line)!important}
body.is-home .fixed-bottom a{height:64px;padding:0!important;display:flex!important;align-items:center;justify-content:center;gap:7px;color:var(--home-text)!important;font-size:11px;letter-spacing:.02em}
body.is-home .fixed-bottom a i{color:var(--home-accent);font-size:15px}
body.is-home.home-light .online dl{background:rgba(255,255,255,.86)}
body.is-home.home-light .online dl:hover{background:#fff}
body.is-home.home-light .online dl dt{background:rgba(255,255,255,.96)}
body.is-home.home-light .fixed-bottom{background:rgba(255,255,255,.9)!important}
@media(min-width:768px) and (max-width:1100px){body.is-home .online dl dt{right:74px;width:min(250px,calc(100vw - 100px))!important}}
@media(max-width:767px){body.is-home .online{display:none!important}body.is-home .home-theme-mobile-cell{flex:0 0 25%;max-width:25%;padding:0;text-align:center;border-left:1px solid var(--home-line)}body.is-home .fixed-bottom .col-4{flex:0 0 25%;max-width:25%}body.is-home .home-theme-mobile-cell .home-theme-toggle{position:static;right:auto;bottom:auto;width:100%;height:64px;border:0;border-radius:0;background:transparent;color:var(--home-text);box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:16px;line-height:1}body.is-home .home-theme-mobile-cell .home-theme-toggle small{font-size:10px;color:var(--home-muted)}}
