/* Shared eager surface polish for account/settings shells plus image/gallery chrome. */

.action-btn {
    min-height: 34px;
    line-height: 1.15;
    white-space: nowrap;
}

.topbar-leading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.topbar-title {
    min-width: 0;
}

.topbar-title .sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#obs-image .gallery-toolbar {
    position: sticky;
    top: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(16, 16, 16, 0.92));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

#obs-image .topbar,
#obs-image .topbar-actions,
#obs-image .obs-model-picker {
    position: relative;
}

#obs-image .topbar {
    z-index: 22;
}

#obs-image .topbar-actions {
    z-index: 24;
}

#obs-image .obs-model-picker {
    z-index: 26;
}

#obs-image .obs-model-menu {
    z-index: 90;
}

#obs-image .gallery-toolbar-actions,
#obs-image .gallery-toolbar-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#obs-image .gallery-toolbar-center {
    min-width: 0;
    display: grid;
    gap: 5px;
    justify-items: center;
    text-align: center;
}

#obs-image .gallery-toolbar-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

#obs-image .gallery-toolbar-copy {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.45;
}

#obs-image .gallery-toolbar-btn,
#obs-image .gallery-sort-select {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(20, 20, 20, 0.94);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

#obs-image .gallery-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#obs-image .gallery-toolbar-btn:hover,
#obs-image .gallery-toolbar-btn:focus-visible,
#obs-image .gallery-sort-select:hover,
#obs-image .gallery-sort-select:focus-visible {
    border-color: var(--accent-mid);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

#obs-image .gallery-toolbar-btn-danger {
    border-color: rgba(239, 68, 68, 0.32);
    color: #fca5a5;
}

#obs-image .gallery-sort-label,
.queue-header-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
}

#obs-settings .account-billing-side {
    display: grid;
    gap: 8px;
    align-content: start;
}

#obs-settings .account-billing-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

#obs-settings .account-billing-actions .action-btn {
    width: 100%;
}

.action-btn.action-btn--danger {
    border-color: rgba(255, 102, 129, 0.28);
    background: linear-gradient(180deg, rgba(64, 19, 31, 0.92), rgba(38, 13, 20, 0.86));
    color: #ffd7df;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.action-btn.action-btn--danger:hover,
.action-btn.action-btn--danger:focus-visible {
    border-color: rgba(255, 132, 154, 0.4);
    background: linear-gradient(180deg, rgba(78, 24, 38, 0.96), rgba(44, 14, 24, 0.9));
    color: #fff1f4;
}

#obs-community .community-hero-panel,
#obs-community .community-profile-panel,
#obs-community .community-featured-signal,
#obs-community .community-compose-panel,
#obs-community .community-feed-panel,
#obs-community .community-profile-detail,
#obs-community .community-public-profile-view,
#obs-community .community-post-panel,
.desktop-profile-detail-card,
.desktop-profile-post-card,
.desktop-profile-post-preview,
.desktop-profile-panel-empty,
.subscription-plan-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(18, 18, 18, 0.94));
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
}

.community-kicker,
.community-field-label,
.desktop-profile-detail-label,
.subscription-plan-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
}

#obs-community .community-panel-heading,
.desktop-profile-detail-value,
.subscription-plan-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

#obs-community .community-panel-copy,
#obs-community .community-profile-detail-bio,
#obs-community .community-post-panel-copy,
#obs-community .community-empty-copy,
.desktop-profile-detail-copy,
.desktop-profile-post-meta,
.desktop-profile-post-note,
.subscription-plan-copy,
.subscription-plan-meta {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.6;
}

#obs-community .community-chip-row,
#obs-community .community-action-row,
.subscription-plan-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#community-post-modal {
    z-index: 1500;
    backdrop-filter: blur(10px);
}

#community-post-modal .community-post-modal {
    width: min(1220px, calc(100vw - 40px));
    max-height: calc(100vh - 32px);
    padding: 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 91, 125, 0.1), transparent 22%),
        radial-gradient(circle at top left, rgba(255, 184, 108, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(24, 24, 28, 0.985), rgba(12, 13, 18, 0.985));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
    display: grid;
    gap: 18px;
}

#community-post-modal .community-sheet-handle {
    display: none;
}

#community-post-modal .community-public-profile-top {
    align-items: center;
    gap: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

#community-post-modal .community-post-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.82fr);
    gap: 22px;
    min-height: min(720px, calc(100vh - 176px));
}

#community-post-modal .community-post-modal-main,
#community-post-modal .community-post-modal-side {
    min-width: 0;
    min-height: 0;
}

#community-post-modal .community-post-modal-main {
    display: grid;
}

#community-post-modal .community-post-modal-side {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
}

#community-post-modal #community-post-modal-media,
#community-post-modal #community-post-modal-media .community-post-media {
    min-height: 100%;
    height: 100%;
}

#community-post-modal #community-post-modal-media .community-post-media {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 34%),
        rgba(8, 10, 14, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#community-post-modal #community-post-modal-media .community-post-media img,
#community-post-modal #community-post-modal-media .community-post-media video,
#community-post-modal #community-post-modal-media .community-post-media-video-preview {
    object-fit: contain;
    background: rgba(8, 10, 14, 0.98);
}

#community-post-modal #community-post-modal-media .community-post-media--note {
    padding: 24px;
}

#community-post-modal #community-post-modal-media .community-post-media--note .community-note-paper {
    min-height: 100%;
    border-radius: 26px;
    padding: 26px;
}

#community-post-modal #community-post-modal-meta,
#community-post-modal #community-post-modal-comments {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014)),
        rgba(10, 12, 18, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#community-post-modal #community-post-modal-meta {
    display: grid;
    gap: 14px;
    order: 1;
}

#community-post-modal .community-post-modal-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

#community-post-modal .community-post-modal-author-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

#community-post-modal .community-post-modal-author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

#community-post-modal .community-post-modal-author-subline {
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.5;
}

#community-post-modal .community-post-modal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#community-post-modal .community-post-modal-metric {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#community-post-modal #community-post-modal-body {
    padding: 4px 2px 2px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    order: 2;
}

#community-post-modal #community-post-modal-body p {
    margin: 0;
}

#community-post-modal #community-post-modal-body.is-empty p {
    color: var(--text-2);
}

#community-post-modal #community-post-modal-actions {
    display: grid;
    gap: 10px;
}

#community-post-modal .community-post-action-row {
    display: grid;
    gap: 10px;
}

#community-post-modal .community-post-action-row--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#community-post-modal .community-post-action-row--secondary {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

#community-post-modal #community-post-modal-actions .community-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border-radius: 14px;
}

#community-post-modal:not(.community-post-modal--mobile) #community-post-modal-actions {
    display: grid;
    gap: 8px;
    order: 4;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#community-post-modal:not(.community-post-modal--mobile) .community-post-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

#community-post-modal:not(.community-post-modal--mobile) .community-post-action-row--primary {
    justify-content: flex-start;
}

#community-post-modal:not(.community-post-modal--mobile) .community-post-action-row--secondary {
    justify-content: flex-start;
}

#community-post-modal:not(.community-post-modal--mobile) #community-post-modal-actions .community-btn {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

#community-post-modal #community-post-modal-comments {
    min-height: 0;
    overflow: hidden;
    order: 3;
}

#community-post-modal:not(.community-post-modal--mobile) #community-post-modal-comments {
    background:
        radial-gradient(circle at top right, rgba(255, 91, 125, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(10, 12, 18, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 12px 28px rgba(0, 0, 0, 0.18);
}

#community-post-modal #community-post-modal-comments .community-post-panel {
    min-height: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
}

#community-post-modal #community-post-modal-comments .community-post-panel-list {
    min-height: 0;
    max-height: none;
    overflow: auto;
    padding-right: 6px;
}

#community-post-modal #community-post-modal-comments .community-panel-inline-form {
    display: grid;
    gap: 10px;
}

#community-post-modal #community-post-modal-comments .community-textarea--compact {
    min-height: 110px;
}

#community-avatar-picker-modal {
    z-index: 1600;
    backdrop-filter: blur(10px);
}

#community-avatar-picker-modal .community-avatar-picker-modal {
    width: min(1040px, calc(100vw - 40px));
    max-height: calc(100vh - 36px);
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 91, 125, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(24, 24, 28, 0.985), rgba(12, 13, 18, 0.985));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 16px;
}

#community-avatar-picker-modal .community-avatar-picker-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

#community-avatar-picker-modal .community-avatar-picker-heading {
    min-width: 0;
    display: grid;
    gap: 6px;
}

#community-avatar-picker-modal .community-avatar-picker-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--text);
}

#community-avatar-picker-modal .community-avatar-picker-copy {
    max-width: 56ch;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.6;
}

#community-avatar-picker-modal .community-avatar-picker-close {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
        rgba(10, 12, 18, 0.82);
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

#community-avatar-picker-modal .community-avatar-picker-close span {
    display: block;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

#community-avatar-picker-modal .community-avatar-picker-close:hover,
#community-avatar-picker-modal .community-avatar-picker-close:focus-visible {
    border-color: rgba(255, 91, 125, 0.28);
    background:
        radial-gradient(circle at top right, rgba(255, 91, 125, 0.14), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
        rgba(10, 12, 18, 0.88);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2), var(--accent-glow);
}

#community-avatar-picker-modal .community-avatar-picker-close:focus-visible {
    outline: none;
}

#community-avatar-picker-modal .community-avatar-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
}

#community-avatar-picker-modal .community-avatar-picker-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.014)),
        rgba(11, 13, 18, 0.52);
    padding: 10px;
    display: grid;
    gap: 10px;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    contain: layout paint style;
    content-visibility: auto;
    contain-intrinsic-size: 220px;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#community-avatar-picker-modal .community-avatar-picker-card:hover,
#community-avatar-picker-modal .community-avatar-picker-card:focus-visible {
    border-color: var(--accent-mid);
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24), var(--accent-glow);
}

#community-avatar-picker-modal .community-avatar-picker-card.is-selected {
    border-color: rgba(255, 91, 125, 0.24);
    background:
        radial-gradient(circle at top right, rgba(255, 91, 125, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.016)),
        rgba(11, 13, 18, 0.58);
}

#community-avatar-picker-modal .community-avatar-picker-card-media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

#community-avatar-picker-modal .community-avatar-picker-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#community-avatar-picker-modal .community-avatar-picker-card-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

#community-avatar-picker-modal .community-avatar-picker-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

#community-avatar-picker-modal .community-avatar-picker-card-meta {
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.45;
}

#community-avatar-picker-modal #community-avatar-picker-status {
    justify-self: start;
}

#obs-community .community-btn,
.desktop-profile-panel .community-btn,
#obs-feedback .community-btn,
.community-remix-modal .community-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#obs-community .community-btn:hover,
.desktop-profile-panel .community-btn:hover,
#obs-feedback .community-btn:hover,
#obs-community .community-btn:focus-visible,
.desktop-profile-panel .community-btn:focus-visible,
#obs-feedback .community-btn:focus-visible,
.community-remix-modal .community-btn:hover,
.community-remix-modal .community-btn:focus-visible {
    border-color: var(--accent-mid);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

#obs-community .community-btn--primary,
.desktop-profile-panel .community-btn--primary,
#obs-feedback .community-btn--primary,
.community-remix-modal .community-btn--primary {
    border-color: var(--accent-mid);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 72%, #fff 28%), var(--accent));
    color: var(--bg-0);
    box-shadow: var(--accent-glow);
}

#obs-community .community-btn--ghost,
.desktop-profile-panel .community-btn--ghost,
#obs-feedback .community-btn--ghost,
.community-remix-modal .community-btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-2);
}

.community-remix-modal .community-btn:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
    box-shadow: none;
}

#obs-community .community-input,
#obs-community .community-textarea,
.desktop-profile-panel .community-input,
#obs-feedback .community-input,
#obs-feedback .community-textarea,
.community-remix-modal .community-input,
.community-remix-modal .community-textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(8, 10, 16, 0.88);
    color: var(--text);
    font: inherit;
    padding: 12px 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#obs-community .community-textarea,
#obs-feedback .community-textarea,
.community-remix-modal .community-textarea {
    resize: vertical;
    min-height: 110px;
}

#obs-community .community-input:focus,
#obs-community .community-textarea:focus,
.desktop-profile-panel .community-input:focus,
#obs-feedback .community-input:focus,
#obs-feedback .community-textarea:focus,
.community-remix-modal .community-input:focus,
.community-remix-modal .community-textarea:focus {
    outline: none;
    border-color: var(--accent-mid);
    box-shadow: 0 0 0 1px var(--accent-mid);
}

#obs-community .community-field-group,
#obs-feedback .community-field-group {
    display: grid;
    gap: 8px;
}

#obs-community .community-status,
#obs-feedback .community-status,
.community-remix-modal .community-status {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-2);
    font-size: 12px;
}

#obs-community .community-post-panel-list,
#obs-community .community-comment-children,
.desktop-profile-usage-list,
.desktop-profile-post-grid,
.community-profile-post-grid {
    display: grid;
    gap: 12px;
}

#obs-community .community-remix-chain,
.community-remix-modal .community-remix-chain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: linear-gradient(180deg, rgba(10, 16, 26, 0.92), rgba(10, 14, 22, 0.78));
    color: rgba(224, 242, 254, 0.92);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

#obs-community button.community-remix-chain,
.community-remix-modal button.community-remix-chain {
    cursor: pointer;
}

#obs-community .community-remix-chain-icon,
.community-remix-modal .community-remix-chain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.12);
    color: rgba(125, 211, 252, 0.96);
    font-size: 11px;
    line-height: 1;
}

#obs-community .community-remix-chain-copy,
.community-remix-modal .community-remix-chain-copy {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#obs-community .community-remix-chain--modal,
.community-remix-modal .community-remix-chain--modal {
    margin-bottom: 12px;
}

#obs-community .community-remix-source-link,
.community-remix-modal .community-remix-source-link {
    appearance: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

#obs-community .community-remix-source-link:hover,
#obs-community .community-remix-source-link:focus-visible,
.community-remix-modal .community-remix-source-link:hover,
.community-remix-modal .community-remix-source-link:focus-visible {
    border-color: rgba(125, 211, 252, 0.34);
    background: linear-gradient(180deg, rgba(12, 20, 32, 0.96), rgba(10, 16, 26, 0.82));
    transform: translateY(-1px);
}

body.community-remix-open {
    overflow: hidden;
}

.community-remix-overlay {
    padding: 20px;
    background:
        radial-gradient(circle at top, rgba(255, 159, 94, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(3, 5, 9, 0.82), rgba(4, 6, 10, 0.9));
    backdrop-filter: blur(14px);
}

#obs-community .community-remix-modal,
#community-remix-picker-modal .community-remix-modal,
.modal.community-remix-modal,
.community-remix-modal {
    position: relative;
    width: min(1160px, calc(100vw - 40px));
    max-height: min(88vh, 820px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 18px;
    padding: 26px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 184, 108, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(15, 18, 26, 0.98), rgba(9, 12, 18, 0.96));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

#obs-community .community-remix-close,
.community-remix-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

#obs-community .community-remix-close:hover,
#obs-community .community-remix-close:focus-visible,
.community-remix-close:hover,
.community-remix-close:focus-visible {
    outline: none;
    border-color: rgba(255, 184, 108, 0.34);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

#obs-community .community-remix-head,
.community-remix-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding-right: 60px;
}

#obs-community .community-remix-heading,
.community-remix-heading {
    display: grid;
    gap: 8px;
    min-width: 0;
}

#obs-community .community-remix-title,
.community-remix-title {
    margin: 0;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
}

#obs-community .community-remix-copy,
.community-remix-copy {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.6;
    max-width: 54ch;
}

#obs-community .community-remix-flow,
.community-remix-flow {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: end;
    align-content: start;
    gap: 10px;
}

#obs-community .community-remix-flow-chip,
.community-remix-flow-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#obs-community .community-remix-flow-chip--accent,
.community-remix-flow-chip--accent {
    border-color: rgba(255, 184, 108, 0.28);
    background: rgba(255, 184, 108, 0.1);
    color: #ffd39b;
}

#obs-community .community-remix-body,
.community-remix-body {
    display: grid;
    grid-template-columns: minmax(380px, 1fr) minmax(320px, 360px);
    gap: 18px;
    align-items: stretch;
    min-height: 0;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-head,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-head,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-head,
.community-remix-modal[data-layout="desktop"] .community-remix-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-flow,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-flow,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-flow,
.community-remix-modal[data-layout="desktop"] .community-remix-flow {
    justify-content: start;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-body,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-body,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-body,
.community-remix-modal[data-layout="desktop"] .community-remix-body {
    grid-template-columns: minmax(470px, 1.04fr) minmax(352px, 0.96fr);
    gap: 18px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-source-thumb,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-source-thumb,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-source-thumb,
.community-remix-modal[data-layout="desktop"] .community-remix-source-thumb {
    width: 100%;
    min-height: clamp(292px, 38vh, 400px);
    aspect-ratio: auto;
    align-self: stretch;
    justify-self: stretch;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-form,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-form,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-form,
.community-remix-modal[data-layout="desktop"] .community-remix-form {
    padding: 16px;
    gap: 14px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-source,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-source,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-source,
.community-remix-modal[data-layout="desktop"] .community-remix-source {
    gap: 10px;
    padding: 14px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-source-frame,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-source-frame,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-source-frame,
.community-remix-modal[data-layout="desktop"] .community-remix-source-frame {
    width: 100%;
    height: 100%;
    min-height: clamp(292px, 38vh, 400px);
    aspect-ratio: auto;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-source-copy,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-source-copy,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-source-copy,
.community-remix-modal[data-layout="desktop"] .community-remix-source-copy {
    gap: 6px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-flow-chip,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-flow-chip,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-flow-chip,
.community-remix-modal[data-layout="desktop"] .community-remix-flow-chip {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-route-copy,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-route-copy,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-route-copy,
.community-remix-modal[data-layout="desktop"] .community-remix-route-copy,
#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-selection-preview,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-selection-preview,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-selection-preview,
.community-remix-modal[data-layout="desktop"] .community-remix-selection-preview {
    padding: 11px 12px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-suggestion-grid,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-suggestion-grid,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-suggestion-grid,
.community-remix-modal[data-layout="desktop"] .community-remix-suggestion-grid {
    gap: 7px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-suggestion,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-suggestion,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-suggestion,
.community-remix-modal[data-layout="desktop"] .community-remix-suggestion {
    min-height: 70px;
    padding: 10px 11px;
    gap: 4px;
    border-radius: 16px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-suggestion-name,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-suggestion-name,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-suggestion-name,
.community-remix-modal[data-layout="desktop"] .community-remix-suggestion-name {
    font-size: 13px;
}

#obs-community .community-remix-modal[data-layout="desktop"] .community-remix-suggestion-summary,
#community-remix-picker-modal .community-remix-modal[data-layout="desktop"] .community-remix-suggestion-summary,
.modal.community-remix-modal[data-layout="desktop"] .community-remix-suggestion-summary,
.community-remix-modal[data-layout="desktop"] .community-remix-suggestion-summary {
    font-size: 11px;
    line-height: 1.4;
}

#obs-community .community-remix-source,
.community-remix-source {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(11, 14, 21, 0.94), rgba(8, 11, 16, 0.82));
}

#obs-community .community-remix-source-thumb,
.community-remix-source-thumb {
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

#obs-community .community-remix-source-frame,
.community-remix-source-frame {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, rgba(11, 14, 21, 0.72), rgba(8, 11, 16, 0.94));
}

#obs-community .community-remix-source-frame img,
#obs-community .community-remix-source-frame video,
.community-remix-source-frame img,
.community-remix-source-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#obs-community .community-remix-source-frame--live-video video,
.community-remix-source-frame--live-video video {
    background: #06080d;
}

#obs-community .community-remix-source-frame--missing,
.community-remix-source-frame--missing {
    background:
        linear-gradient(180deg, rgba(20, 24, 34, 0.98), rgba(10, 13, 20, 0.96)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 12px, rgba(255, 255, 255, 0.01) 12px 24px);
}

#obs-community .community-remix-source-empty,
.community-remix-source-empty {
    min-height: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
}

#obs-community .community-remix-source-badge,
.community-remix-source-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 16, 0.72);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#obs-community .community-remix-source-badge--video,
.community-remix-source-badge--video {
    border-color: rgba(125, 211, 252, 0.24);
    color: #c7f0ff;
}

#obs-community .community-remix-source-play,
.community-remix-source-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(8, 10, 16, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#obs-community .community-remix-source-copy,
.community-remix-source-copy {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 8px;
}

#obs-community .community-remix-source-label,
.community-remix-source-label {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#obs-community .community-remix-source-title,
.community-remix-source-title {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

#obs-community .community-remix-source-meta,
.community-remix-source-meta,
#obs-community .community-remix-source-note,
.community-remix-source-note,
#obs-community .community-remix-route-copy,
.community-remix-route-copy,
#obs-community .community-remix-helper,
.community-remix-helper {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
}

#obs-community .community-remix-chain-slot:empty,
.community-remix-chain-slot:empty {
    display: none;
}

#obs-community .community-remix-form,
.community-remix-form {
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
    min-height: 0;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(11, 14, 21, 0.94), rgba(8, 11, 16, 0.82));
    overflow: auto;
}

#obs-community .community-remix-field,
.community-remix-field {
    display: grid;
    gap: 10px;
    min-width: 0;
}

#obs-community .community-remix-field-head,
.community-remix-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

#obs-community .community-remix-field-note,
.community-remix-field-note {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#obs-community .community-remix-select-wrap,
.community-remix-select-wrap {
    position: relative;
}

#obs-community .community-remix-select-wrap .community-input,
.community-remix-select-wrap .community-input {
    appearance: none;
    padding-right: 42px;
}

#obs-community .community-remix-select-icon,
.community-remix-select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
    font-size: 14px;
}

#obs-community .community-remix-route-copy,
.community-remix-route-copy {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    min-height: 64px;
}

#obs-community .community-remix-helper,
.community-remix-helper {
    margin-top: -2px;
}

#obs-community .community-remix-suggestion-grid,
.community-remix-suggestion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#obs-community .community-remix-suggestion,
.community-remix-suggestion {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 78px;
    padding: 11px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 20, 31, 0.94), rgba(10, 14, 24, 0.84));
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#obs-community .community-remix-suggestion:hover,
#obs-community .community-remix-suggestion:focus-visible,
.community-remix-suggestion:hover,
.community-remix-suggestion:focus-visible {
    outline: none;
    border-color: rgba(255, 184, 108, 0.28);
    background: linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(11, 16, 28, 0.92));
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

#obs-community .community-remix-suggestion.is-active,
.community-remix-suggestion.is-active {
    border-color: rgba(72, 187, 120, 0.34);
    background: linear-gradient(180deg, rgba(18, 31, 28, 0.98), rgba(12, 22, 20, 0.92));
    box-shadow: inset 0 0 0 1px rgba(72, 187, 120, 0.16), 0 16px 28px rgba(0, 0, 0, 0.22);
}

#obs-community .community-remix-suggestion-name,
.community-remix-suggestion-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

#obs-community .community-remix-suggestion-summary,
.community-remix-suggestion-summary {
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    #obs-community .community-remix-modal,
    .community-remix-modal {
        width: min(960px, calc(100vw - 28px));
        padding: 24px 22px 20px;
        gap: 18px;
    }

    #obs-community .community-remix-body,
    .community-remix-body {
        grid-template-columns: 1fr;
    }

    #obs-community .community-remix-source,
    .community-remix-source {
        grid-template-columns: minmax(132px, 176px) minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    #obs-community .community-remix-source-thumb,
    .community-remix-source-thumb {
        min-height: 0;
    }

    #obs-community .community-remix-source-frame,
    .community-remix-source-frame {
        aspect-ratio: 3 / 4;
    }

    #obs-community .community-remix-form,
    .community-remix-form {
        padding: 16px;
    }

    #obs-community .community-remix-suggestion-grid,
    .community-remix-suggestion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#obs-community .community-remix-suggestion[data-remix-suggestion-source="saved"] .community-remix-suggestion-summary,
.community-remix-suggestion[data-remix-suggestion-source="saved"] .community-remix-suggestion-summary {
    color: #ffd39b;
}

#obs-community .community-remix-suggestion--custom,
.community-remix-suggestion--custom {
    place-items: center;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(72, 187, 120, 0.1), transparent 56%),
        linear-gradient(180deg, rgba(15, 20, 31, 0.94), rgba(10, 14, 24, 0.84));
}

#obs-community .community-remix-suggestion--custom .community-remix-suggestion-name,
.community-remix-suggestion--custom .community-remix-suggestion-name {
    font-size: 28px;
    line-height: 1;
}

#obs-community .community-remix-selection-preview,
.community-remix-selection-preview {
    display: grid;
    gap: 7px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

#obs-community .community-remix-selection-preview[data-state="ready"],
.community-remix-selection-preview[data-state="ready"] {
    border-color: rgba(72, 187, 120, 0.22);
    background: linear-gradient(180deg, rgba(17, 28, 26, 0.9), rgba(11, 18, 17, 0.84));
}

#obs-community .community-remix-selection-title,
.community-remix-selection-title {
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

#obs-community .community-remix-selection-body,
.community-remix-selection-body {
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.5;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-copy,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-copy,
#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-flow,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-flow,
#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-helper,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-helper {
    display: none;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-head,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-head {
    gap: 8px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-title,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-title {
    font-size: clamp(20px, 5vw, 24px);
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-thumb,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source-thumb {
    min-height: 92px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-frame,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source-frame {
    aspect-ratio: 1 / 1;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-copy,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source-copy {
    gap: 6px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-title,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source-title {
    font-size: 16px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-meta,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source-meta,
#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-note,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-source-note,
#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-route-copy,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-route-copy,
#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-selection-body,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-selection-body {
    font-size: 12px;
    line-height: 1.45;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-form,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-form {
    gap: 12px;
    padding: 14px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-route-copy,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-route-copy {
    min-height: 0;
    padding: 10px 12px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-selection-preview,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-selection-preview {
    gap: 6px;
    padding: 11px 12px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-selection-title,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-selection-title {
    font-size: 12px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-grid,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(124px, 1fr);
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion {
    min-height: 66px;
    padding: 10px 11px;
    gap: 5px;
    border-radius: 16px;
    scroll-snap-align: start;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-name,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-name {
    font-size: 13px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-summary,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-summary {
    font-size: 11px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion--custom .community-remix-suggestion-name,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion--custom .community-remix-suggestion-name {
    font-size: 22px;
}

#obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-textarea,
.community-remix-modal[data-layout="mobile-quick"] .community-remix-textarea {
    min-height: 110px;
}

#obs-community .community-remix-custom-wrap,
.community-remix-custom-wrap {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(12, 17, 28, 0.92), rgba(10, 14, 24, 0.84));
}

#obs-community .community-remix-custom-wrap[hidden],
.community-remix-custom-wrap[hidden] {
    display: none !important;
}

#obs-community .community-remix-save-toggle,
.community-remix-save-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

#obs-community .community-remix-save-toggle input,
.community-remix-save-toggle input {
    width: 16px;
    height: 16px;
    accent-color: #49d17d;
}

#obs-community .community-remix-textarea,
.community-remix-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.58;
}

#obs-community .community-remix-status,
.community-remix-status {
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 8px 14px;
    line-height: 1.45;
    flex-wrap: wrap;
}

#obs-community .community-remix-status[data-state="error"],
.community-remix-status[data-state="error"] {
    border-color: rgba(255, 106, 123, 0.2);
    background: rgba(88, 18, 28, 0.34);
    color: #ffd7de;
}

#obs-community .community-remix-actions,
.community-remix-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 2px;
}

@media (max-width: 780px) {
    .community-remix-overlay {
        padding: 10px;
        align-items: flex-end;
    }

    #obs-community .community-remix-modal,
    .community-remix-modal {
        width: min(calc(100vw - 12px), 100%);
        max-height: calc(100vh - 12px);
        padding: 18px 16px 16px;
        gap: 14px;
    }

    #obs-community .community-remix-close,
    .community-remix-close {
        top: 14px;
        right: 14px;
    }

    #obs-community .community-remix-head,
    .community-remix-head {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding-right: 48px;
    }

    #obs-community .community-remix-flow,
    .community-remix-flow {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    #obs-community .community-remix-body,
    .community-remix-body {
        grid-template-columns: 1fr;
    }

    #obs-community .community-remix-modal[data-layout="mobile-quick"],
    .community-remix-modal[data-layout="mobile-quick"] {
        padding: 16px 14px 14px;
        gap: 12px;
    }

    #obs-community .community-remix-source-thumb,
    .community-remix-source-thumb {
        min-height: 0;
    }

    #obs-community .community-remix-source,
    .community-remix-source {
        grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    #obs-community .community-remix-source-frame,
    .community-remix-source-frame {
        aspect-ratio: 3 / 4;
    }

    #obs-community .community-remix-source-copy,
    .community-remix-source-copy {
        gap: 8px;
    }

    #obs-community .community-remix-source-title,
    .community-remix-source-title {
        font-size: 17px;
    }

    #obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source,
    .community-remix-modal[data-layout="mobile-quick"] .community-remix-source {
        grid-template-columns: 86px minmax(0, 1fr);
        padding: 12px;
    }

    #obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-thumb,
    .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-thumb {
        min-height: 86px;
    }

    #obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-frame,
    .community-remix-modal[data-layout="mobile-quick"] .community-remix-source-frame {
        aspect-ratio: 1 / 1;
    }

    #obs-community .community-remix-form,
    .community-remix-form {
        padding: 14px;
        gap: 12px;
    }

    #obs-community .community-remix-suggestion-grid,
    .community-remix-suggestion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-grid,
    .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(118px, 1fr);
        gap: 8px;
    }

    #obs-community .community-remix-suggestion,
    .community-remix-suggestion {
        min-height: 84px;
        padding: 12px;
    }

    #obs-community .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion,
    .community-remix-modal[data-layout="mobile-quick"] .community-remix-suggestion {
        min-height: 62px;
        padding: 9px 10px;
    }

    #obs-community .community-remix-textarea,
    .community-remix-textarea {
        min-height: 132px;
    }

    #obs-community .community-remix-actions,
    .community-remix-actions {
        justify-content: stretch;
        position: sticky;
        bottom: -16px;
        margin: 0 -16px -16px;
        padding: 12px 16px 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        background: linear-gradient(180deg, rgba(9, 12, 18, 0), rgba(9, 12, 18, 0.92) 28%, rgba(9, 12, 18, 0.98));
    }

    #obs-community .community-remix-actions .community-btn,
    .community-remix-actions .community-btn {
        flex: 1 1 0;
        min-height: 44px;
    }
}

@media (max-width: 390px) {
    #obs-community .community-remix-suggestion-grid,
    .community-remix-suggestion-grid {
        grid-template-columns: 1fr;
    }
}

.app-update-banner {
    margin: 10px 18px 0;
    padding: 10px 14px;
    border: 1px solid var(--accent-mid);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.96), rgba(18, 18, 18, 0.92));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.app-update-banner-inner {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.app-update-banner-copy {
    min-width: 0;
    flex: 1 1 320px;
    display: grid;
    gap: 2px;
}

.app-update-banner-version {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.app-update-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.app-update-banner-message {
    display: none !important;
}

.app-update-banner-list {
    display: none !important;
}

.app-update-banner-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.app-update-banner-actions .action-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

#obs-settings #account-pricing-list {
    display: grid;
    gap: 14px;
}

#obs-settings #account-pricing-list .sr {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 190, 92, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(16, 20, 28, 0.94), rgba(10, 13, 19, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#obs-settings #account-pricing-list .sr > div:first-child {
    min-width: 0;
}

#obs-settings #account-pricing-list .sr-label {
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

#obs-settings #account-pricing-list .sr-desc {
    color: var(--text-2);
    line-height: 1.55;
}

#obs-settings #account-pricing-list .account-inline-value {
    flex: 0 0 auto;
    min-width: 88px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: rgba(12, 20, 30, 0.84);
    color: #dff7ff;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.obs-feedback-shell {
    align-items: stretch;
    padding: 28px 18px 40px;
}

.obs-feedback-stack {
    max-width: 920px;
    gap: 18px;
}

.obs-feedback-intro,
.obs-feedback-form {
    margin-bottom: 0;
}

.obs-feedback-form {
    display: grid;
    gap: 14px;
}

.obs-feedback-heading {
    margin-bottom: 12px;
}

.obs-feedback-copy {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.65;
}

.subscription-sheet {
    width: min(1080px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid var(--border-bright);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 132, 66, 0.12), transparent 24%),
        radial-gradient(circle at top left, rgba(255, 91, 125, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(34, 22, 20, 0.985), rgba(18, 16, 18, 0.985));
    padding: 28px;
    box-shadow: 0 40px 96px rgba(0, 0, 0, 0.48);
    display: grid;
    gap: 22px;
}

.subscription-sheet-plan-grid {
    align-items: stretch;
}

.subscription-sheet-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 396px);
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.subscription-sheet-copy {
    min-width: 0;
    display: grid;
    gap: 10px;
    flex: 1 1 520px;
}

.subscription-sheet-title {
    font-size: clamp(40px, 4.8vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.subscription-sheet-description {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.6;
    max-width: 720px;
}

.subscription-sheet-actions {
    display: grid;
    gap: 14px;
    align-content: start;
    justify-items: stretch;
    width: min(100%, 396px);
    min-width: 0;
}

.subscription-sheet-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: 100%;
}

.subscription-sheet-pill {
    padding: 9px 16px;
    justify-self: stretch;
    border-color: rgba(255, 91, 125, 0.18);
    background: linear-gradient(180deg, rgba(24, 20, 25, 0.92), rgba(16, 14, 18, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.subscription-sheet-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 136px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscription-sheet-btn--primary {
    border-color: var(--accent-mid);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 74%, #fff 26%), var(--accent));
    color: var(--bg-0);
    box-shadow: var(--accent-glow);
}

.subscription-sheet-btn--secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
}

#account-subscription-billing-btn {
    min-width: 180px;
}

.subscription-sheet-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.subscription-sheet-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 91, 125, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(24, 24, 28, 0.96), rgba(16, 16, 20, 0.95));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    display: grid;
    gap: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.subscription-sheet-summary-panel,
.subscription-sheet-topup-panel {
    align-content: start;
}

.subscription-sheet-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-2);
    display: grid;
    gap: 8px;
}

.subscription-sheet-list li {
    display: grid;
    gap: 4px;
}

.subscription-sheet-list strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.subscription-sheet-list span {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
}

.subscription-sheet-summary-meta {
    color: var(--text-3);
    font-size: 12px;
}

.set-body #account-plans-grid,
.set-body #account-topups-grid {
    align-items: stretch;
}

.set-body .subscription-plan-card {
    border-radius: 24px;
}

.set-body .subscription-topup-card {
    min-height: 224px;
}

#obs-feedback {
    width: 100%;
    min-width: 0;
    min-height: 0;
}

#obs-feedback .content-area {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

#obs-feedback .feed-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
}

#obs-feedback .sg {
    margin-bottom: 0;
}

.subscription-plan-card {
    display: grid;
    gap: 15px;
    padding: 22px;
    min-height: 100%;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    background:
        linear-gradient(180deg, rgba(28, 28, 32, 0.98), rgba(18, 18, 22, 0.97)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.subscription-plan-card.is-highlight,
.subscription-plan-card.is-popular,
.subscription-plan-card.is-upgrade {
    border-color: var(--accent-mid);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28), var(--accent-glow);
    transform: translateY(-4px);
}

.subscription-plan-card.is-current {
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.subscription-plan-card.is-included {
    opacity: 0.88;
}

.subscription-plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.subscription-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    flex-wrap: wrap;
    color: var(--text);
}

.subscription-plan-price-currency {
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.subscription-plan-price-amount {
    font-size: clamp(34px, 3.5vw, 46px);
    line-height: 0.94;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.subscription-plan-price-suffix {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    padding-bottom: 4px;
}

.subscription-plan-meta-wrap {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.subscription-plan-meta {
    font-size: 13px;
    line-height: 1.55;
}

.subscription-plan-meta-primary {
    color: var(--text);
    font-weight: 600;
}

.subscription-plan-meta-secondary {
    color: var(--text-2);
}

.subscription-plan-feature-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.subscription-plan-feature-list li {
    position: relative;
    padding-left: 16px;
}

.subscription-plan-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 91, 125, 0.12);
}

.subscription-plan-feature-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.5;
}

.subscription-plan-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: var(--accent-glow);
}

.subscription-plan-feature-list li.subscription-plan-feature-section {
    padding-left: 0;
    padding-top: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.75;
    margin-top: 2px;
}
.subscription-plan-feature-list li.subscription-plan-feature-section::before {
    display: none;
}
.subscription-plan-feature-list li.subscription-plan-feature-section:first-child {
    padding-top: 2px;
}

.subscription-plan-cta {
    width: 100%;
    justify-content: center;
}

.subscription-plan-cta.is-primary {
    border-color: var(--accent-mid);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 72%, #fff 28%), var(--accent));
    color: var(--bg-0);
}

.subscription-plan-cta.is-secondary {
    background: rgba(255, 255, 255, 0.03);
}

.subscription-topup-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 200px;
    background:
        linear-gradient(180deg, rgba(27, 27, 31, 0.98), rgba(18, 18, 22, 0.97)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.subscription-topup-card.is-custom {
    grid-column: span 1;
}

.subscription-topup-label {
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 700;
}

.subscription-topup-price {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text);
}

.subscription-topup-copy {
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.subscription-topup-meta {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.6;
}

.subscription-topup-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(8, 10, 16, 0.88);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.subscription-topup-input:focus {
    outline: none;
    border-color: var(--accent-mid);
    box-shadow: 0 0 0 1px var(--accent-mid);
}

.subscription-topup-card .subscription-plan-cta {
    margin-top: auto;
}

.subscription-topup-intro {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.subscription-topup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.022));
}

.subscription-topup-item + .subscription-topup-item {
    margin-top: 10px;
}

.subscription-topup-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.community-mobile-actionbar,
.community-mobile-compose-scrim {
    display: none;
}

@media (max-width: 1280px) {

    #obs-image .gallery-toolbar {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    #obs-image .gallery-toolbar-center {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 980px) {

    #community-post-modal .community-post-modal-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #community-post-modal .community-post-modal {
        width: min(100vw - 18px, 920px);
        max-height: calc(100vh - 12px);
        padding: 18px;
        border-radius: 24px;
    }

    #community-post-modal .community-post-modal-side {
        grid-template-rows: auto auto auto minmax(280px, 1fr);
    }

    #community-post-modal .community-post-action-row--primary,
    #community-post-modal .community-post-action-row--secondary {
        grid-template-columns: 1fr;
    }

    #community-avatar-picker-modal .community-avatar-picker-modal {
        width: min(100vw - 18px, 760px);
        padding: 18px;
        border-radius: 24px;
    }

    #community-avatar-picker-modal .community-avatar-picker-head {
        gap: 12px;
    }

    #community-avatar-picker-modal .community-avatar-picker-heading h2 {
        font-size: 30px;
    }

    #community-avatar-picker-modal .community-avatar-picker-grid {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    }

    #obs-settings .account-billing-actions {
        grid-template-columns: 1fr;
    }

    .app-update-banner-inner,
    .subscription-sheet-header {
        flex-direction: column;
        align-items: stretch;
    }

    .app-update-banner-actions,
    .desktop-profile-actions,
    .subscription-sheet-actions {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 820px) {

    .app-update-banner {
        margin: 10px 10px 0;
        padding: 10px 12px;
    }

    .app-update-banner-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
    }

    .app-update-banner-copy {
        min-width: 0;
        flex: initial;
    }

    .app-update-banner-actions,
    .subscription-sheet-actions,
    .desktop-profile-actions {
        width: auto;
    }

    .app-update-banner-actions {
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 6px;
        align-self: start;
    }

    .subscription-sheet-actions {
        justify-items: stretch;
        width: 100%;
        min-width: 0;
    }

    .subscription-sheet-action-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        width: 100%;
    }

    .app-update-banner-actions .action-btn,
    .subscription-sheet-actions .action-btn,
    .desktop-profile-actions .action-btn {
        flex: 0 0 auto;
        justify-content: center;
    }

    .subscription-sheet-actions .action-btn {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
    }

    .app-update-banner-actions .action-btn {
        min-width: 0;
        padding: 0 10px;
        font-size: 11px;
    }

    #app-update-banner-close.action-btn {
        width: 34px;
        min-width: 34px;
        padding: 0;
    }

    .subscription-sheet,
    .desktop-profile-panel {
        width: min(100vw - 16px, 720px);
        max-height: calc(100dvh - 16px);
        padding: 16px;
        border-radius: 22px;
    }

    .subscription-sheet-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .subscription-sheet-title {
        font-size: clamp(30px, 9vw, 40px);
    }

    .subscription-plan-price-currency {
        font-size: 22px;
    }

    .subscription-plan-price-amount {
        font-size: clamp(28px, 8vw, 38px);
    }

    .subscription-plan-price-suffix {
        font-size: 11px;
        padding-bottom: 3px;
    }

    .subscription-sheet-panels,
    .subscription-sheet-plan-grid,
    #account-plans-grid,
    #account-topups-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .subscription-sheet-panel,
    .subscription-plan-card,
    .subscription-topup-card {
        padding: 16px;
        border-radius: 18px;
    }

    .subscription-sheet-list {
        gap: 6px;
        padding-left: 16px;
    }

    .community-mobile-compose-scrim {
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(0, 0, 0, 0.56);
        backdrop-filter: blur(6px);
    }

    .community-mobile-actionbar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 74;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(11, 13, 18, 0.78);
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(18px);
    }

    .community-mobile-action {
        min-height: 58px;
        padding: 8px 6px;
        border-radius: 16px;
        border: 1px solid transparent;
        background: transparent;
        color: rgba(255, 255, 255, 0.72);
        display: grid;
        gap: 4px;
        justify-items: center;
        align-content: center;
    }

    .community-mobile-action--active {
        background: rgba(255, 71, 109, 0.14);
        border-color: rgba(255, 71, 109, 0.34);
        color: #fff;
    }

    .community-mobile-action--create {
        background: linear-gradient(180deg, rgba(255, 137, 58, 0.82), rgba(255, 77, 113, 0.8));
        color: #0e0f12;
        border-color: rgba(255, 168, 119, 0.42);
        font-weight: 800;
    }

    .community-mobile-action-icon {
        font-size: 20px;
        line-height: 1;
    }

    .community-mobile-action-label {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }
}
