.eeg-telemetry-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px!important}
.eeg-telemetry-row>div{min-width:0;padding:7px!important;overflow-wrap:anywhere}
.eeg-telemetry-row [id^="eeg-q-"]{font-size:11px!important;line-height:1.6}
.eeg-telemetry-value{display:block;font-size:10px;font-weight:500;color:#526b7a}
.eeg-contact-line{font-size:10px;color:#66818b;margin-top:8px;line-height:1.6}
.eeg-live-wave{position:relative;width:100%;height:100px;border-radius:10px;background:#f3f8f7;overflow:hidden;text-align:left}
.eeg-live-wave canvas{display:block;width:100%;height:100%}
.eeg-live-wave-label{position:absolute;left:9px;top:6px;color:#476d63;font-size:10px;pointer-events:none}
.eeg-live-wave-note{font-size:10px;color:#617d76;line-height:1.6;margin:5px 0;text-align:left}
.eeg-assessment-overlay{position:fixed;inset:0;z-index:200000;min-width:0;width:100%;height:100vh;height:100dvh;color:#184fc2;background:#bdd4df url('/eeg-guides/ocean-meditation.jpg') center 46%/cover no-repeat;display:flex;flex-direction:column;padding:calc(16px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box;overflow:hidden;font-family:'Microsoft YaHei',sans-serif}
.eeg-assessment-overlay:before{content:'';position:absolute;inset:0;background:linear-gradient(#f6f9ff85,#edf5ff05 47%,#06324d38);pointer-events:none}
.eeg-assessment-overlay>*{position:relative}
.eeg-guide-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:none}
.eeg-guide-brand{font-size:clamp(12px,1.7vw,19px);color:#1b4ba6;font-weight:700;line-height:1.6;text-shadow:0 1px 6px white}
.eeg-guide-timer{background:#ffffffc9;border:1px solid #ffffff8f;box-shadow:0 5px 24px #3e59921a;padding:8px 24px;border-radius:18px;min-width:130px;text-align:center;font-size:clamp(27px,4vw,47px);line-height:1.2;font-weight:800;letter-spacing:.16em;font-variant-numeric:tabular-nums;color:#4774ef}
.eeg-guide-top small{display:block;font-size:10px;letter-spacing:0;color:#4e668b;font-weight:400;margin-top:4px}
.eeg-guide-content{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:16px 0;gap:14px}
.eeg-guide-instruction{width:min(600px,88vw);box-sizing:border-box;padding:clamp(22px,4vw,38px);background:#ffffffe0;box-shadow:0 12px 55px #0d3a6714;border-radius:22px;text-align:center}
.eeg-guide-instruction h2{font-size:clamp(19px,3vw,31px);line-height:1.75;margin:0;font-weight:700;color:#1351c3}
.eeg-guide-instruction strong{display:block;margin-top:20px;font-size:clamp(24px,3vw,36px);font-variant-numeric:tabular-nums}
.eeg-guide-instruction p{margin:14px 0 0;font-size:12px;color:#526d8b;line-height:1.7}
.eeg-guide-instruction button,.eeg-guide-actions button{border:0;background:#3a72ef;color:white;font:inherit;font-weight:600;padding:12px 23px;border-radius:11px;cursor:pointer}
.eeg-guide-instruction button{margin-top:16px}
.eeg-guide-instruction button[hidden]{display:none}
.eeg-guide-rest-title{font-size:clamp(15px,2vw,23px);background:#ffffffb3;padding:8px 19px;border-radius:30px;line-height:1.6;text-align:center}
.eeg-guide-grid-card{width:min(780px,90vw);padding:clamp(14px,2vw,25px);box-sizing:border-box;background:#ffffffd6;border-radius:20px;box-shadow:0 12px 50px #13356320}
.eeg-guide-grid-card h2{font-size:clamp(16px,2.3vw,26px);margin:0 0 12px;text-align:center}
.eeg-guide-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:clamp(4px,.9vw,10px);width:100%;aspect-ratio:10/6;max-height:46dvh}
.eeg-guide-grid i{display:block;min-width:0;min-height:0;aspect-ratio:1;visibility:hidden;border:1px solid transparent;border-radius:3px}
.eeg-guide-grid i.is-shown{visibility:visible;background:#36be64;border-color:#21a34f;box-shadow:0 1px 4px #22b94e33}
.eeg-guide-grid-note{font-size:11px;text-align:center;line-height:1.5;color:#557181;margin:10px 0 0}
.eeg-guide-bottom{flex:none;width:min(1100px,100%);align-self:center}
.eeg-guide-bottom .eeg-live-wave{height:clamp(76px,13dvh,130px);background:#ffffffe5;border:1px solid #d5e8e8}
.eeg-guide-bottom .eeg-live-wave-note{background:#ffffffd6;border-radius:6px;padding:3px 8px;margin:4px 0;color:#456257;font-size:10px}
.eeg-guide-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.eeg-guide-state{font-size:12px;line-height:1.6;color:white;text-shadow:0 1px 4px #16374f;min-width:0}
.eeg-guide-actions button{flex:none;background:#2c62d9;box-shadow:0 4px 14px #13346a20}
@media(orientation:landscape) and (max-height:550px){.eeg-assessment-overlay{padding-top:10px;padding-bottom:8px}.eeg-guide-top{align-items:center}.eeg-guide-timer{font-size:25px;padding:5px 18px}.eeg-guide-content{padding:6px 0;gap:4px}.eeg-guide-instruction{padding:15px 23px;width:min(580px,76vw)}.eeg-guide-instruction h2{font-size:19px;line-height:1.6}.eeg-guide-instruction strong{margin-top:5px;font-size:23px}.eeg-guide-instruction p{margin-top:4px;font-size:10px}.eeg-guide-grid-card{width:330px;padding:10px}.eeg-guide-grid{max-height:39dvh;gap:4px}.eeg-guide-grid-card h2{font-size:15px;margin-bottom:5px}.eeg-guide-grid-note{font-size:9px;margin-top:5px}.eeg-guide-bottom .eeg-live-wave{height:62px}.eeg-guide-bottom .eeg-live-wave-note{display:none}.eeg-guide-actions{margin-top:5px}.eeg-guide-actions button{padding:7px 14px}}
@media(min-width:1000px) and (min-height:700px){.eeg-guide-content{padding:22px 0}.eeg-guide-grid{max-height:49dvh}.eeg-guide-instruction{width:640px}}
@media(max-width:360px){.eeg-guide-brand{font-size:11px}.eeg-guide-timer{min-width:104px;padding:8px 12px}.eeg-guide-instruction{width:92vw;padding:21px}.eeg-guide-grid-card{width:94vw}.eeg-telemetry-row{gap:4px!important}}
