:root { --primary:#2563EB; --bg-soft:#F8FAFC; --surface:#FFFFFF; --vad-width:134px; }
body { background-color:var(--bg-soft); font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI",Roboto,sans-serif; color:#1E293B; height:100vh; overflow:hidden; -webkit-tap-highlight-color:transparent; }
.hide-scroll::-webkit-scrollbar{display:none}.hide-scroll{-ms-overflow-style:none;scrollbar-width:none}
.niuniu-card{background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,0.04);border:1px solid rgba(0,0,0,0.02);transition:transform .2s}
.niuniu-header{background:linear-gradient(180deg,#EBF5FF 0%,#F8FAFC 100%)}
.nav-item{position:relative;transition:color .3s}.nav-item.active{color:var(--primary);font-weight:600}.nav-item.active::after{content:'';position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);width:4px;height:4px;background:var(--primary);border-radius:50%}
.md-body h3{color:var(--primary);font-weight:700;margin-top:.8em;font-size:.95rem}.md-body p{margin-bottom:.5em;line-height:1.6;font-size:.9rem;color:#334155}.md-body ul{list-style:disc;padding-left:1.2em;color:#475569;font-size:.9rem}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot-green{background:#22C55E;box-shadow:0 0 8px rgba(34,197,94,0.4)}.dot-red{background:#EF4444}.dot-gray{background:#CBD5E1}.dot-pulse{animation:pulse 2s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}
.wave-bar{width:4px;background:linear-gradient(180deg,#93c5fd,#2563EB);border-radius:3px;transition:height .08s;min-height:4px;box-shadow:0 2px 6px rgba(37,99,235,.25)}
.start-btn{width:48px;height:48px;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.12);border:2px solid rgba(255,255,255,.6)}
.start-btn--play{background:linear-gradient(135deg,#22C55E,#16A34A);color:#fff}
.start-btn--pause{background:linear-gradient(135deg,#F59E0B,#F97316);color:#fff}
.glass-bar{background:rgba(255,255,255,.85);backdrop-filter:saturate(160%) blur(8px);border:1px solid rgba(255,255,255,.6);border-radius:20px;box-shadow:0 12px 30px rgba(2,6,23,.12);height:56px;padding:0 12px;display:flex;align-items:center;gap:12px}
.glass-bar.glass-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.seg{display:flex;gap:6px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9999px;padding:2px;align-items:center;height:28px}
.vad-inline{width:var(--vad-width);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;margin-top:6px;margin-left:auto;position:relative;padding-bottom:14px}
.vad-hints{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#94a3b8}
.glass-bar--sticky{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 8px);z-index:30}
.manual-btn{width:40px;height:40px;border-radius:9999px;background:#fff;color:#0f172a;border:1px solid rgba(15,23,42,.06);box-shadow:0 6px 16px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;font-weight:700}
.status-pill{background:rgba(255,255,255,.9);backdrop-filter:saturate(160%) blur(6px);border:1px solid rgba(255,255,255,.6);border-radius:14px;box-shadow:0 8px 20px rgba(2,6,23,.08)}
.vad-range{accent-color:#2563EB}
.round-btn{width:40px;height:40px;border-radius:9999px;background:#fff;color:#0f172a;border:1px solid rgba(15,23,42,.06);box-shadow:0 6px 16px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;font-weight:700}
.wave-bucket{flex:1;min-width:80px;margin-top:4px}
.vad-inline .vad-range{width:100%}
.vad-dot{width:2ch;text-align:center}
