/* Fonts are applied after all compatibility and appearance styles. */
body.founda-app.founda-streaming{font-family:var(--founda-font-stack,system-ui,sans-serif)}
body.founda-app.founda-streaming :is(p,a,button,input,textarea,select,label,small,strong,table,.logo,.stream-brand,.panel-label,.zed-player-title,.music-song-info,.app-song-copy,.connect-kicker){font-family:var(--founda-font-stack,system-ui,sans-serif)}
body.founda-app.founda-streaming :is(h1,h2,h3,h4,h5,h6){font-family:var(--founda-heading-font-stack,var(--founda-font-stack,system-ui,sans-serif))}
html.founda-upload-result-open{overflow:hidden}
body.founda-streaming .founda-upload-modal[hidden]{display:none}
body.founda-streaming .founda-upload-modal:not([hidden]){display:grid;place-items:center;position:fixed;inset:0;z-index:100005;padding:24px;background:rgba(2,8,20,.78);backdrop-filter:blur(7px);overflow-y:auto}
body.founda-streaming .founda-upload-dialog{position:relative;isolation:isolate;width:min(100%,480px);max-height:calc(100dvh - 48px);overflow-y:auto;padding:38px 30px 30px;background:var(--app-surface,#101d35);color:var(--app-ink,#f5f7fc);border:1px solid var(--app-line,#293954);border-top:4px solid #3cdb9c;border-radius:0;box-shadow:0 24px 90px #0006;text-align:center}
body.founda-streaming .founda-upload-dialog.is-error{border-top-color:#ff6884}
body.founda-streaming .founda-upload-dismiss{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--app-line);background:transparent;color:var(--app-muted);font-size:26px;line-height:1}
body.founda-streaming .founda-result-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 22px;border-radius:50%;background:#123b31;color:#68efba;border:1px solid #28755d;font-size:34px;font-weight:700}
body.founda-streaming .is-error .founda-result-icon{background:#3d2032;color:#ff91a6;border-color:#854056}
body.founda-streaming .founda-upload-kicker{display:block;color:var(--app-muted);font-size:10px;font-weight:750;letter-spacing:1.8px;margin-bottom:10px}
body.founda-streaming .founda-upload-dialog h2{color:var(--app-ink);font-size:clamp(24px,5vw,30px);line-height:1.2;letter-spacing:-.7px;margin:0 0 16px}
body.founda-streaming .founda-upload-message{color:var(--app-muted);font-size:14px;line-height:1.8;margin:0 0 26px;white-space:pre-line;overflow-wrap:anywhere}
body.founda-streaming .founda-upload-close{display:flex;justify-content:center;align-items:center;min-height:46px;width:100%;padding:12px 18px;background:var(--music-accent,#bb1932);color:#fff;border:1px solid transparent;font-weight:700;font-size:13px;border-radius:0;cursor:pointer}
body.founda-streaming .founda-upload-close:hover{filter:brightness(1.1)}
body.founda-streaming .founda-upload-dialog button:focus-visible{outline:3px solid var(--app-ink);outline-offset:4px}
html[data-founda-theme=light] body.founda-streaming .founda-upload-dialog{background:#fff;color:#111b2e;border-color:#cbd5e1;border-top-color:#087e55;box-shadow:0 22px 80px #0f172a33}
html[data-founda-theme=light] body.founda-streaming .founda-upload-dialog.is-error{border-top-color:#b91c40}
html[data-founda-theme=light] body.founda-streaming .founda-result-icon{background:#e7f9f0;color:#08724c;border-color:#93cfb3}
html[data-founda-theme=light] body.founda-streaming .is-error .founda-result-icon{background:#fff0f3;color:#a41739;border-color:#e4a2b2}
body.founda-streaming :is(.zed-submit-notice,.zed-submit-result-page){padding:24px;background:var(--app-surface);color:var(--app-ink);border:0;border-left:4px solid #208c64}
body.founda-streaming :is(.zed-submit-notice.error,.zed-upload-failed){border-left-color:#c32d50}
@media(max-width:600px){body.founda-streaming .founda-upload-modal:not([hidden]){padding:16px}body.founda-streaming .founda-upload-dialog{padding:34px 22px 24px;max-height:calc(100dvh - 32px)}body.founda-streaming .founda-upload-message{font-size:13px}}

body.founda-app.founda-streaming :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong){font-family:inherit}
