/* A quiet discovery that becomes a tactile emergency switch on activation. */
.jazz-rescue {padding:12px 0 26px;color:#EFE9DC;}
.jazz-rescue-button {display:inline-flex;align-items:center;gap:16px;min-height:60px;padding:8px 4px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;}
.jazz-rescue-icon {position:relative;display:grid;place-items:center;width:38px;height:38px;margin:4px;border:1px solid rgba(239,233,220,.4);border-radius:50%;background:transparent;color:#EFE9DC;box-shadow:none;transition:width .28s ease,height .28s ease,background .2s,border .2s,box-shadow .2s,transform .16s;flex-shrink:0;}
.jazz-rescue-play {font:500 21px/1 Inter,sans-serif;}
.jazz-rescue-button:hover .jazz-rescue-icon {background:rgba(239,233,220,.08);border-color:#EFE9DC;}
.jazz-rescue-button:active .jazz-rescue-icon {transform:translateY(2px);}
.jazz-rescue:is([data-state="playing"],[data-state="loading"]) .jazz-rescue-icon {width:64px;height:64px;border:4px solid #071D32;background:#A34F3E;box-shadow:0 0 0 1px #EFE9DC,0 0 0 5px rgba(239,233,220,.1),inset 0 2px 0 rgba(255,255,255,.16),inset 0 -5px 0 rgba(7,29,50,.3),0 4px 0 rgba(0,0,0,.25);}
.jazz-rescue-button:focus-visible {outline:2px solid #EFE9DC;outline-offset:6px;border-radius:2px;}
.jazz-rescue-title {display:block;font-size:13px;font-weight:500;line-height:1.5;opacity:.85;}
.jazz-rescue-hint {display:block;margin-top:3px;font-size:11px;line-height:1.7;opacity:.55;}
.jazz-rescue-stop {display:none;width:18px;height:18px;}
.jazz-rescue:is([data-state="playing"],[data-state="loading"]) .jazz-rescue-title {opacity:1;}
.jazz-rescue:is([data-state="playing"],[data-state="loading"]) .jazz-rescue-play {display:none;}
.jazz-rescue:is([data-state="playing"],[data-state="loading"]) .jazz-rescue-stop {display:block;}
/* Compact playback status; the emergency switch remains the main element. */
.jazz-rescue-panel:not([hidden]) {position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;width:fit-content;max-width:100%;min-width:min(360px,100%);margin-top:12px;padding:14px 18px;background:rgba(239,233,220,.055);color:#EFE9DC;border-radius:2px;animation:jazz-arrive .25s ease-out;}
.jazz-rescue-message {min-width:0;}
.jazz-rescue-eyebrow,.jazz-rescue-orbit {display:none;}
.jazz-rescue-panel .jazz-rescue-status {color:#EFE9DC;margin:0;font-size:15px;font-weight:600;letter-spacing:0;line-height:1.5;overflow-wrap:anywhere;}
.jazz-rescue-panel .jazz-rescue-instruments {color:#EFE9DC;margin:3px 0 0;font-size:12px;line-height:1.6;opacity:.65;}
.jazz-rescue-visual {display:grid;place-items:center;width:64px;height:30px;flex-shrink:0;}
.jazz-rescue-meter {display:flex;align-items:center;gap:3px;height:28px;}
.jazz-rescue-meter i {display:block;width:2px;height:5px;background:currentColor;border-radius:1px;transition:height .08s linear;}
.jazz-rescue-progress {position:absolute;bottom:0;left:0;width:100%;height:2px;background:#D68D78;transform:scaleX(var(--jazz-progress,0));transform-origin:left;}
@keyframes jazz-arrive {from {opacity:0;transform:translateY(5px);}to {opacity:1;transform:translateY(0);}}
@media(max-width:400px) {.jazz-rescue-panel:not([hidden]) {gap:14px;padding:12px 14px;}.jazz-rescue-visual {width:42px;}.jazz-rescue-meter {gap:2px;}.jazz-rescue-panel .jazz-rescue-status {font-size:14px;}}
@media(prefers-reduced-motion:reduce) {.jazz-rescue *, .jazz-rescue *::before,.jazz-rescue *::after {animation:none!important;transition:none!important;}.jazz-rescue-meter i {height:8px!important;}}
