
#emv-hd-open{width:100%!important;min-height:52px;margin:9px 0 0;padding:12px 16px!important;box-sizing:border-box;border:1px solid #777daf!important;border-radius:15px!important;background:linear-gradient(105deg,#24243c,#172e37)!important;color:#edf0ff!important;font:650 16px system-ui,sans-serif!important;display:flex!important;align-items:center;gap:10px;cursor:pointer}
#emv-hd-open svg{color:#b4b0ff;flex:none}#emv-hd-open .hd-launch-text{flex:1;text-align:left}#emv-hd-open small{font-size:10px;letter-spacing:.08em;color:#8ce6d6;border:1px solid #42756f;padding:4px 7px;border-radius:6px;white-space:nowrap}#emv-hd-open .hd-launch-arrow{color:#a7c8db}#emv-hd-open:disabled{opacity:.55;cursor:default}
#emv-hd-dialog{color-scheme:dark;color:#edf2ff;background:radial-gradient(ellipse at 92% 0,#292342 0,transparent 44%),#111722;border:1px solid #444c65;border-radius:24px;padding:20px;max-width:min(520px,calc(100vw - 24px));width:100%;max-height:90dvh;overflow:auto;box-sizing:border-box;font:14px system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 28px 100px #000b;margin:auto}
#emv-hd-dialog::backdrop{background:#040711de;backdrop-filter:blur(5px)}#emv-hd-dialog [hidden]{display:none!important}#emv-hd-dialog .hd-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#emv-hd-dialog .hd-kicker{font-size:10px;letter-spacing:.18em;font-weight:750;color:#b7b4fa;display:flex;align-items:center;gap:7px}#emv-hd-dialog .hd-brand-dot{display:inline-block;width:8px;height:8px;background:linear-gradient(135deg,#aa92ff,#62daca);border-radius:50%}#emv-hd-dialog h2{font-size:26px;line-height:1.12;letter-spacing:-.045em;margin:6px 0 2px;font-weight:700;color:#f6f7ff}
#emv-hd-dialog button,#emv-hd-dialog select,#emv-hd-dialog a{font:600 14px system-ui;border:1px solid #424b65;border-radius:12px;background:#202837;color:#eff2ff;padding:11px;text-align:center;text-decoration:none;cursor:pointer;box-sizing:border-box}
#emv-hd-dialog #emv-hd-close{border-radius:50%;height:40px;width:40px;flex:none;font-size:26px;line-height:1;padding:0;color:#bdc5d9;background:#202533}
#emv-hd-dialog .hd-format{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:16px 0 10px;font-size:10px;font-weight:750;letter-spacing:.09em;color:#a3b0c9}#emv-hd-dialog .hd-format span:first-child{color:#8ce1d3;display:flex;align-items:center;gap:6px}#emv-hd-dialog .hd-format i{width:6px;height:6px;background:#8ce1d3;border-radius:100%}
#emv-hd-dialog .hd-monitor{padding:14px 14px 10px;background:linear-gradient(155deg,#101724,#0b111b);border:1px solid #34425a;border-radius:18px;box-shadow:inset 0 1px 0 #ffffff08}#emv-hd-dialog .hd-monitor-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.11em;color:#8390a9;font-weight:700}#emv-hd-state{color:#a5e2db}#emv-hd-dialog[data-state="recording"] #emv-hd-state{color:#ff8898}#emv-hd-dialog[data-state="paused"] #emv-hd-state{color:#e4c58a}
#emv-hd-time{text-align:center;font:500 clamp(38px,11vw,53px)/1.2 system-ui;font-variant-numeric:tabular-nums;letter-spacing:-.055em;margin:10px 0;color:#f5f7ff}#emv-hd-dialog .hd-wave-wrap{background:repeating-linear-gradient(90deg,transparent 0 24px,#c3d1fb0b 24px 25px),linear-gradient(0deg,transparent 49%,#6477a04d 49% 51%,transparent 51%);border-radius:8px;overflow:hidden}#emv-hd-wave{display:block;width:100%;height:66px}
#emv-hd-dialog label{display:block;margin:10px 0 5px;font-size:10px;letter-spacing:.09em;font-weight:750;color:#b1bdd4}#emv-hd-db{float:right;font-variant-numeric:tabular-nums;color:#85e0d1;font-size:11px}#emv-hd-dialog meter{width:100%;height:13px;display:block;accent-color:#65d7ba}#emv-hd-dialog meter::-webkit-meter-bar{background:#293244;border:0;border-radius:3px}#emv-hd-dialog meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#4085ac,#6bdcc0);border-radius:3px}#emv-hd-dialog meter::-webkit-meter-suboptimum-value{background:#e5b96a}#emv-hd-dialog meter::-webkit-meter-even-less-good-value{background:#ef7589}#emv-hd-dialog .hd-scale{display:flex;justify-content:space-between;font-size:9px;color:#8c9bb4;margin:4px 0}
#emv-hd-clip{font-size:11px;color:#acb8cc;min-height:2.2em;margin:8px 0 0;line-height:1.4}
#emv-hd-dialog .hd-config{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;margin:5px 0 14px}#emv-hd-dialog select{width:100%;min-width:0;text-align:left;font-size:12px;padding:11px 8px;white-space:nowrap;text-overflow:ellipsis}#emv-hd-dialog button:disabled,#emv-hd-dialog select:disabled{opacity:.44;cursor:default}
#emv-hd-dialog .hd-controls{display:flex;flex-direction:column;gap:12px}#emv-hd-dialog #emv-hd-check{width:100%;background:linear-gradient(105deg,#7774c4,#386f7c);border-color:#8c92d0;min-height:43px}
#emv-hd-dialog .hd-transport{display:flex;justify-content:center;align-items:center;gap:24px;padding:4px 0 1px}#emv-hd-dialog .hd-transport button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;font-size:12px;color:#dce3f3;padding:0;min-width:52px}
#emv-hd-dialog .hd-transport button::before{display:grid;place-items:center;width:48px;height:48px;background:#252d3c;border:1px solid #49536c;border-radius:50%;font-size:19px;font-weight:700;line-height:1}
#emv-hd-pause::before{content:"Ⅱ"}#emv-hd-dialog[data-state="paused"] #emv-hd-pause::before{content:"▶";font-size:16px}#emv-hd-stop::before{content:"■";font-size:16px!important}
#emv-hd-dialog #emv-hd-record::before{content:"";width:64px;height:64px;background:#ee5369;border:5px solid #222836;box-shadow:0 0 0 2px #f77889,0 6px 20px #e54d5535;box-sizing:border-box}#emv-hd-dialog[data-state="recording"] #emv-hd-record::before{box-shadow:0 0 0 2px #f77889,0 0 22px #f45d70a0}
#emv-hd-dialog[data-state="result"] .hd-controls,#emv-hd-dialog[data-state="recording"] #emv-hd-check,#emv-hd-dialog[data-state="paused"] #emv-hd-check,#emv-hd-dialog[data-state="transition"] #emv-hd-check,#emv-hd-dialog[data-state="stopping"] #emv-hd-check{display:none}
#emv-hd-dialog[data-state="ready"] #emv-hd-check{background:#202837;border-color:#424b65;font-size:12px;min-height:36px;padding:8px}#emv-hd-dialog[data-state="recording"] .hd-config,#emv-hd-dialog[data-state="paused"] .hd-config,#emv-hd-dialog[data-state="transition"] .hd-config,#emv-hd-dialog[data-state="stopping"] .hd-config,#emv-hd-dialog[data-state="result"] .hd-config{display:none}
#emv-hd-status{min-height:2.5em;text-align:center;color:#a5e5dd;font-size:12px;line-height:1.4;margin:12px 0 7px}#emv-hd-result{background:#171f2e;border:1px solid #394760;border-radius:15px;padding:13px}#emv-hd-dialog .hd-result-heading{color:#d9e9f4;font-size:14px;font-weight:650;margin:0 0 10px}#emv-hd-dialog .hd-result-heading span{color:#75dfc8;margin-right:6px}#emv-hd-dialog audio{width:100%;height:44px}#emv-hd-dialog .hd-buttons{display:grid;gap:8px;margin:12px 0 8px}#emv-hd-dialog #emv-hd-use{background:linear-gradient(105deg,#a19bfa,#76dfd5);color:#131a2a;border:0}#emv-hd-dialog #emv-hd-again{width:100%;background:transparent;font-size:12px;padding:8px}
#emv-hd-dialog .hd-diagnostics{border-top:1px solid #323c51;margin-top:12px;padding-top:12px;font-size:12px;color:#aebbd3}#emv-hd-dialog summary{cursor:pointer;font-weight:600}#emv-hd-info,#emv-hd-dialog .hd-copy{font-size:11px;color:#9caac0;line-height:1.5;overflow-wrap:anywhere;margin:8px 0 0}
#emv-hd-dialog button:focus-visible,#emv-hd-dialog a:focus-visible,#emv-hd-dialog select:focus-visible,#emv-hd-dialog summary:focus-visible,#emv-hd-open:focus-visible{outline:2px solid #b0bcff!important;outline-offset:3px}
@media(max-width:380px){#emv-hd-dialog{padding:14px;border-radius:18px}#emv-hd-dialog .hd-transport{gap:17px}#emv-hd-dialog .hd-config{gap:7px}#emv-hd-dialog .hd-format{font-size:9px}}
