#mobileStreamModal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--stream-add-bg, #fff);
    color: var(--stream-add-text, #111);
    z-index: 999999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#mobileStreamModal input,
#mobileStreamModal textarea,
#mobileStreamModal select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--stream-add-input-border, rgba(0,0,0,0.16)) !important;
    border-radius: 12px;
    background: var(--stream-add-input-bg, #fff) !important;
    background-color: var(--stream-add-input-bg, #fff) !important;
    color: var(--stream-add-text, #111) !important;
    -webkit-text-fill-color: var(--stream-add-text, #111) !important;
    caret-color: var(--stream-add-text, #111) !important;
    color-scheme: light dark;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
}

html body #mobileStreamModal input[type="text"]#stream-title,
html body #mobileStreamModal textarea#stream-url,
html body #mobileStreamModal textarea#stream-description,
html body #mobileStreamModal select#stream-platform {
    background: var(--stream-add-input-bg, #fff) !important;
    background-color: var(--stream-add-input-bg, #fff) !important;
    color: var(--stream-add-text, #111) !important;
    -webkit-text-fill-color: var(--stream-add-text, #111) !important;
    caret-color: var(--stream-add-text, #111) !important;
}

#mobileStreamModal input::placeholder,
#mobileStreamModal textarea::placeholder {
    color: var(--stream-add-hint, rgba(0,0,0,0.52)) !important;
    -webkit-text-fill-color: var(--stream-add-hint, rgba(0,0,0,0.52)) !important;
}

#mobileStreamModal select {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
}

#mobileStreamModal select option {
    background: var(--stream-add-bg, #fff) !important;
    color: var(--stream-add-text, #111) !important;
}

#stream-url,
#stream-description {
    resize: vertical;
}

#stream-url {
    min-height: 52px;
}

#stream-description {
    min-height: 72px;
}

.mobile-stream-add-shell {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom)) 18px;
}

.mobile-stream-add-header {
    margin-bottom: 16px;
    text-align: center;
}

.mobile-stream-add-header h2 {
    margin: 0 0 8px;
    color: var(--stream-add-text, #111);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mobile-stream-add-header p {
    margin: 0;
    color: var(--stream-add-hint, rgba(0,0,0,0.52));
    font-size: 13px;
}

.mobile-stream-add-card {
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid rgba(255,75,43,0.28);
    border-radius: 16px;
    background: rgba(255,75,43,0.08);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mobile-stream-add-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #ff4b2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
}

.mobile-stream-add-card-body {
    min-width: 0;
}

.mobile-stream-add-card-title {
    color: var(--stream-add-text, #111);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 3px;
}

.mobile-stream-add-card-copy {
    color: var(--stream-add-hint, rgba(0,0,0,0.52));
    font-size: 12px;
    line-height: 1.35;
}

.mobile-stream-add-field {
    display: none;
    margin-bottom: 14px;
}

.mobile-stream-add-field label {
    color: var(--stream-add-label, rgba(0,0,0,0.78));
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.mobile-stream-add-field label.is-strong {
    color: var(--stream-add-text, #111);
    font-weight: 600;
}

.mobile-stream-add-select-wrap {
    position: relative;
}

.mobile-stream-add-select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--stream-add-text, #111);
    opacity: 0.6;
    pointer-events: none;
    font-size: 14px;
}

.mobile-stream-add-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--stream-add-hint, rgba(0,0,0,0.52));
}

.mobile-stream-add-preview {
    display: none;
    margin-bottom: 14px;
    border: 1px solid var(--stream-add-input-border, rgba(0,0,0,0.16));
    border-radius: 16px;
    overflow: hidden;
    background: var(--stream-add-input-bg, #fff);
}

.mobile-stream-add-preview-head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--stream-add-input-border, rgba(0,0,0,0.16));
    color: var(--stream-add-label, rgba(0,0,0,0.78));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-stream-add-preview-stage {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stream-add-input-bg, #fff);
    overflow: hidden;
}

.mobile-stream-add-preview-note {
    display: none;
    padding: 10px 12px;
    border-top: 1px solid var(--stream-add-input-border, rgba(0,0,0,0.16));
    color: var(--stream-add-hint, rgba(0,0,0,0.52));
    font-size: 12px;
    line-height: 1.35;
}

.mobile-stream-add-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-stream-add-button {
    width: 100%;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-stream-add-button--primary {
    min-height: 50px;
    background: #ff4b2b;
    border: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(255,75,43,0.28);
}

.mobile-stream-add-button--secondary {
    background: var(--stream-add-input-bg, #fff);
    border: 2px solid var(--stream-add-input-border, rgba(0,0,0,0.16));
    color: var(--stream-add-text, #111);
}

.mobile-stream-add-button--ghost {
    background: transparent;
    border: 2px solid var(--stream-add-input-border, rgba(0,0,0,0.16));
    color: var(--stream-add-text, #111);
    font-size: 16px;
    font-weight: 600;
}

.mobile-stream-add-status {
    display: none;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,75,43,0.32);
    background: rgba(255,75,43,0.12);
    color: var(--stream-add-text, #111);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
