#sleep9-testmode[hidden]{display:none!important}
.s9test{margin:18px 0;padding:20px;background:#101823;color:#e8edf5;border:1px solid #38495f;border-radius:14px}
.s9test *{box-sizing:border-box}.s9test-header h4{margin:0 0 6px;font-size:1.2rem}.s9test-header p{margin:0 0 15px;color:#bac8d8}
.s9test-banner{padding:12px 14px;background:#272116;border:1px solid #8b713c;color:#ffe0a4;border-radius:9px;font-size:.84rem;margin-bottom:16px;font-weight:600}
.s9test-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.s9test-controls label{flex:1 1 260px;display:grid;gap:6px;color:#ccd7e4;font-size:.88rem}.s9test-controls select{width:100%;max-width:100%}
.s9test-stage{margin:18px 0;min-height:230px;background:#080d15;border-radius:12px;border:1px solid #283344;display:flex;align-items:center;justify-content:center;overflow:hidden}.s9test-placeholder{color:#8392a5;padding:25px;text-align:center}
.s9test-screen{width:100%;height:320px;display:flex;align-items:center;justify-content:center}.s9test-screen img,.s9test-screen video{width:100%;height:100%;object-fit:contain;background:#05070a}
.s9test-message{border-left:3px solid #58769f;padding:10px 13px;background:#1b2839}.s9test-reporthead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.s9test-report{white-space:pre-wrap;overflow-wrap:anywhere;max-height:290px;overflow:auto;padding:14px;background:#080d15;border:1px solid #29394b;border-radius:8px;font-size:.76rem;color:#c6d4e6}
.s9test-trigger{border:1px solid #c97a6a!important;color:#fff!important;background:#372127!important;border-radius:8px;padding:10px 14px!important}
@media(max-width:650px){.s9test{padding:12px}.s9test-controls>button{flex:1 1 140px}.s9test-screen{height:220px}}
