.koopo-video-profile {
    --koopo-profile-accent: #000;
    --koopo-profile-accent-deep: #ffba2;
    --koopo-profile-ink: #121212;
    --koopo-profile-soft: #fff5ef;
    --koopo-profile-border: #efefef;
    --koopo-profile-line: #d9d2b6;
    color: var(--koopo-profile-ink);
    padding: clamp(1rem, 2vw, 1.35rem);
    display: grid;
    gap: 1rem;
    box-shadow: 0 20px 48px rgba(60, 32, 18, 0.12);
}

.koopo-video-profile__banner-shell {
    display: grid;
    gap: 0;
}

.koopo-video-profile__banner {
    position: relative;
    height: clamp(220px, 34vw, 450px);
    max-height: 450px;
    overflow: hidden;
    border: 1px solid var(--koopo-profile-border);
    background: radial-gradient(circle at 20% 25%, rgba(255, 242, 185, 0.9) 0, rgba(255, 210, 185, 0) 28%), radial-gradient(circle at 82% 20%, rgb(248 219 77 / 75%) 0, rgba(248, 128, 77, 0) 22%), linear-gradient(135deg, #231711 0%, #4e481f 36%, #efcb39 100%);
    width: 104%;
    margin-left: -25px;
    margin-top: -25px;
}

.koopo-video-profile__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 7, 7, 0.12) 0%, rgba(8, 7, 7, 0.55) 100%);
}

.koopo-video-profile__banner img,
.koopo-video-profile__banner-fallback {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.koopo-video-profile__banner img[hidden],
.koopo-video-profile__banner-fallback[hidden] {
    display: none;
}

.koopo-video-profile__banner-fallback {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #231711 0%, #1f4e36 36%, #efc739 100%);
}

.koopo-video-profile__identity {
    position: relative;
    margin: -4.6rem clamp(0.75rem, 3vw, 2rem) 0;
    padding: clamp(1rem, 2vw, 1.25rem);
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    border: 1px solid var(--koopo-profile-border);
    border-radius:25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(57, 57, 57, 0.14);
}

.koopo-video-profile__avatar {
    position: relative;
    display: block;
    width: clamp(96px, 12vw, 148px);
    aspect-ratio: 1;
    border-radius: 28px;
    border: 5px solid #fff7f2;
    background: linear-gradient(145deg, #edfff4 0%, #fff3c2 100%);
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(59, 29, 16, 0.18);
}

.koopo-video-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-profile__media-edit {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(255, 253, 242, 0.9);
    background: rgba(18, 18, 18, 0.8);
    color: #fff7f2;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(18, 18, 18, 0.18);
}

.koopo-video-profile__media-edit:hover,
.koopo-video-profile__media-edit:focus-visible {
    background: rgba(18, 18, 18, 0.92);
}

.koopo-video-profile__media-edit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.koopo-video-profile__media-edit--banner {
    top: 1rem;
    right: 1rem;
}

.koopo-video-profile__media-edit--avatar {
    right: 0.45rem;
    bottom: 0.45rem;
    padding-inline: 0.65rem;
}

.koopo-video-profile__media-input {
    display: none !important;
}

.koopo-video-profile__crop-modal {
    z-index: 10020;
}

.koopo-video-profile__crop-panel {
    width: min(760px, 100%);
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    border-color: var(--koopo-profile-border);
    gap: 1rem;
}

.koopo-video-profile__crop-copy {
    display: grid;
    gap: 0.35rem;
    padding-right: 2rem;
}

.koopo-video-profile__crop-copy h3,
.koopo-video-profile__crop-copy p {
    margin: 0;
}

.koopo-video-profile__crop-copy p {
    color: #6b6640;
    font-size: 0.9rem;
}

.koopo-video-profile__cropper {
    border-color: var(--koopo-profile-border);
    background: #fffefb;
}

.koopo-video-profile__crop-zoom {
    display: grid;
    gap: 0.35rem;
    color: var(--koopo-profile-ink);
    font-weight: 700;
}

.koopo-video-profile__crop-zoom input {
    width: 100%;
}

.koopo-video-profile__crop-stage {
    max-height: min(62vh, 560px);
    overflow: auto;
    border-color: var(--koopo-profile-border);
    background: #140f0c;
}

.koopo-video-profile__crop-stage img {
    width: 100%;
    height: auto;
    display: block;
}

.koopo-video-profile__cropper .koopo-video-thumb-cropper__box {
    border-color: var(--koopo-profile-accent);
    background: rgba(239, 111, 57, 0.18);
}

.koopo-video-profile__identity-copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    min-width: 500px;
}

.koopo-video-profile__hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.koopo-video-profile__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

.koopo-video-profile__title {
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.02;
    text-transform: capitalize;
}

.koopo-video-profile__subtitle {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    color:#fff;
}

.koopo-video-profile__subtitle span {
    font-size: 0.92rem;
}

.koopo-video-profile__member-link {
    color: var(--koopo-profile-accent-deep);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.koopo-video-profile__member-link:hover,
.koopo-video-profile__member-link:focus-visible {
    text-decoration: underline;
}

.koopo-video-profile__channel-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.koopo-video-profile__channel-name-wrap > span {
    color: var(--koopo-profile-ink);
    font-weight: 700;
}

.koopo-video-profile__inline-edit {
    width: 30px;
    height: 30px;
    border: 1px solid #d7caa7;
    border-radius: 999px;
    background: #fffcef;
    color: var(--koopo-profile-accent-deep);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.koopo-video-profile__inline-edit:hover,
.koopo-video-profile__inline-edit:focus-visible {
    background: #fff5d8;
}

.koopo-video-profile__inline-edit .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: inherit;
}

.koopo-video-profile__channel-panel {
    width: min(480px, 100%);
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    border-color: var(--koopo-profile-border);
}

.koopo-video-profile__channel-form {
    display: grid;
    gap: 0.75rem;
}

.koopo-video-profile__channel-form label {
    display: grid;
    gap: 0.35rem;
}

.koopo-video-profile__audience {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    color: #615c3f;
    font-size: 0.86rem;
}

.koopo-video-profile__audience strong {
    color: var(--koopo-profile-ink);
}

.koopo-video-profile__member-state {
    margin: 0;
    width: fit-content;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #d7cfa7;
    background: #fffaea;
    font-size: 0.8rem;
    color: #8d7e31;
}

.koopo-video-profile__member-state.is-member {
    border-color: #1e5f42;
    background: #e4f5eb;
    color: #124b31;
    font-weight: 700;
}

.koopo-video-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    justify-content: flex-end;
}

.koopo-video-profile__actions .koopo-video-btn.is-active {
    border-color: #1e5f42;
    background: #e4f5eb;
    color: #124b31;
}

.koopo-video-profile__subscribe-status {
    margin: 0;
    min-height: 1.1rem;
    font-size: 0.78rem;
    color: #2f2f2f;
    flex-basis: 100%;
    text-align: right;
}

.koopo-video-profile__action-note {
    margin: 0;
    width: 100%;
    font-size: 0.82rem;
    color: #6f5631;
    text-align: right;
}

.koopo-video-profile__action-note a {
    color: var(--koopo-profile-accent-deep);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.35rem;
    padding: 10px;
    border: solid 1px;
    border-radius: 12px;
}

.koopo-video-profile__action-note a:hover,
.koopo-video-profile__action-note a:focus-visible {
    padding: 8px;

}

.koopo-video-profile__media-status {
    margin: 0;
    width: 100%;
    font-size: 0.82rem;
    color: #3f3f3f;
    text-align: right;
}

.koopo-video-profile__toolbar {
    display: flex;
    justify-content: start;
}

.koopo-video-profile__search-wrap {
    width: min(100%, 420px);
}

.koopo-video-profile__search {
    width: 100%;
    border: 1px solid var(--koopo-profile-border);
    background: #fffdfa;
    color: var(--koopo-profile-ink);
    padding: 0.82rem 0.95rem;
    font-size: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.koopo-video-profile__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.9rem;
}

.koopo-video-profile__tab {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    color: var(--koopo-profile-ink);
    padding: 0.72rem 1rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: capitalize;
    border-radius:12px;
}

.koopo-video-profile__tab:hover {
    background: #000000;
    color:#fff !important;
}

.koopo-video-profile__tab.is-active {
    background: linear-gradient(135deg, #241712 0%, #635b26 36%, #2dd349 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(187, 157, 23, 0.2);
}

.koopo-video-profile__panels {
    display: grid;
}

.koopo-video-profile__panel {
    display: grid;
    gap: 1rem;
}

.koopo-video-profile__panel[hidden] {
    display: none;
}

.koopo-video-profile .koopo-video-loop {
    background: transparent;
    color: var(--koopo-profile-ink);
    padding: 0;
    border: 0;
}

.koopo-video-profile__membership-focus,
.koopo-video-profile__lockbox,
.koopo-video-buddyboss-tab__locked {
    border: 1px solid var(--koopo-profile-border);
    background: linear-gradient(180deg, #fffcf2 0%, #fffefb 100%);
    color: var(--koopo-profile-ink);
    padding: clamp(1rem, 2vw, 1.2rem);
    border-radius:12px;
    display: grid;
    gap: 0.7rem;
}

.koopo-video-profile__membership-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    color: #6a6548;
    font-size: 0.9rem;
}

.koopo-video-profile__membership-meta span:first-child {
    color: var(--koopo-profile-accent-deep);
    font-weight: 700;
}

.koopo-video-profile__membership-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.koopo-video-profile__membership-benefits span {
    border: 1px solid #d6ceaa;
    background: #fff;
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
    color: #615b3f;
}

.koopo-video-profile__membership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.koopo-video-profile__membership-state {
    color: #7f764c;
    font-size: 0.84rem;
}

.koopo-video-profile__membership-state.is-active {
    color: #124b31;
    font-weight: 700;
}

.koopo-video-profile__membership-state.is-pending-cancel {
    color: #8b2f1f;
    font-weight: 700;
}

.koopo-video-profile__tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 375px));
    gap: 0.9rem;
    place-content: center;
}

.koopo-video-profile__tier-card {
    appearance: none;
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    color: var(--koopo-profile-ink);
    padding: 1rem;
    text-align: left;
    display: grid;
    gap: 0.48rem;
    cursor: pointer;
    overflow: hidden;
    border-radius:12px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.koopo-video-profile__tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(82, 39, 19, 0.12);
}

.koopo-video-profile__tier-card.is-selected {
    box-shadow: 0 0 8px 5px rgb(255 217 50 / 19%);
}

.koopo-video-profile__tier-card.is-active-member {
    border-color: #1e5f42;
    background: linear-gradient(180deg, #effbf4 0%, #ffffff 100%);
}

.koopo-video-profile__tier-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.koopo-video-profile__tier-card-head strong {
    font-size: 1rem;
}

.koopo-video-profile__tier-card-head em {
    font-style: normal;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--koopo-profile-accent-deep);
}

.koopo-video-profile__tier-card-price {
    color: var(--koopo-profile-accent-deep);
    font-weight: 700;
}

.koopo-video-profile__tier-card-members,
.koopo-video-profile__tier-card-description,
.koopo-video-profile__tier-card-benefits {
    color: #6a6448;
    font-size: 0.86rem;
}

.koopo-video-profile__tier-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #26150f 0%, #efcb39 100%);
}

.koopo-video-profile__tier-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-profile__tier-card-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fffcef;
    font-size: 2rem;
    font-weight: 800;
}

.koopo-video-profile__tier-card-actions {
    display: flex;
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.koopo-video-profile__tier-card-state {
    font-size: 0.82rem;
    font-weight: 700;
    color: #124b31;
}

.koopo-video-profile__membership-builder {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    border-radius:12px;
    padding: clamp(1rem, 2vw, 1.25rem);
    display: grid;
    gap: 0.95rem;
}

.koopo-video-profile__membership-builder-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    flex-wrap: wrap;
}

.koopo-video-profile__membership-builder h3 {
    margin: 0.15rem 0 0;
}

.koopo-video-profile__membership-builder p {
    margin: 0;
    color: #6a5348;
}

.koopo-video-profile__membership-form {
    display: grid;
    gap: 0.8rem;
}

.koopo-video-profile__membership-form label,
.koopo-video-profile__collections-form label {
    display: grid;
    gap: 0.42rem;
    font-weight: 700;
    color: #2a1d17;
}

.koopo-video-profile__membership-form input,
.koopo-video-profile__membership-form textarea,
.koopo-video-profile__membership-form select,
.koopo-video-profile__collections-form input,
.koopo-video-profile__collections-form textarea {
    width: 100%;
    border: 1px solid var(--koopo-profile-border);
    background: #fffdfa;
    font: inherit;
    color: var(--koopo-profile-ink);
}

.koopo-video-profile__membership-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.koopo-video-profile__membership-panel {
    width: min(720px, 100%);
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    border-color: var(--koopo-profile-border);
}

.koopo-video-profile__membership-image-preview {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.koopo-video-profile__membership-image-preview img {
    width: min(240px, 100%);
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    border: 1px solid var(--koopo-profile-border);
    background: #fffdfa;
    box-shadow: 0 14px 28px rgba(18, 18, 18, 0.08);
}

.koopo-video-profile__video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.koopo-video-profile__video-main .koopo-video-loop__grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.koopo-video-profile__video-sidebar {
    display: grid;
    gap: 0.85rem;
    border-radius: 12px;
}

.koopo-video-profile__video-sidebar .koopo-video-loop__grid {
    grid-template-columns: 1fr;
}

.koopo-video-profile__video-sidebar .koopo-video-loop__status {
    min-height: 0;
}

.koopo-video-profile__sidebar-head h3 {
    margin: 0.18rem 0 0;
}

.koopo-video-profile__collections-shell {
    display: grid;
    gap: 1rem;
}

.koopo-video-profile__collections-manager {
    display: grid;
    gap: 1rem;
}

.koopo-video-profile__collections-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1rem;
}

.koopo-video-profile__collections-list,
.koopo-video-profile__collections-editor,
.koopo-video-profile__collections-browser,
.koopo-video-profile__collection-detail {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    border-radius:12px;
    padding: 1rem;
}

.koopo-video-profile__collections-list {
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.koopo-video-profile__collection-list-item {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    padding: 0.75rem 0.85rem;
    text-align: left;
    cursor: pointer;
    display: grid;
    gap: 0.2rem;
}

.koopo-video-profile__collection-list-item.is-active {
    background: #e1e1e1;
    border-color: var(--koopo-profile-accent-deep);
}

.koopo-video-profile__collections-editor,
.koopo-video-profile__collections-browser {
    display: grid;
    gap: 0.9rem;
}

.koopo-video-profile__collections-browser--owner {
    gap: 1rem;
}

.koopo-video-profile__collections-form {
    display: grid;
    gap: 0.85rem;
}

.koopo-video-profile__collection-image-preview {
    width: min(100%, 320px);
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.koopo-video-profile__collection-image-preview img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.koopo-video-profile__collection-editor-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.koopo-video-profile__collection-editor-section {
    display: grid;
    gap: 0.6rem;
}

.koopo-video-profile__collection-editor-section h4 {
    margin: 0;
}

.koopo-video-profile__collection-choice-grid {
    display: grid;
    gap: 0.55rem;
    max-height: 360px;
    overflow: auto;
    padding-right: 0.2rem;
}

.koopo-video-profile__choice-card {
    border: 1px solid #d8d4a9;
    background: #fff;
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.koopo-video-profile__choice-card.is-video {
    grid-template-columns: auto 88px 1fr;
}

.koopo-video-profile__choice-card input {
    width: auto;
    margin: 0;
}

.koopo-video-profile__choice-card img,
.koopo-video-profile__choice-placeholder {
    width: 88px;
    height: 56px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: #eae6c5;
}

.koopo-video-profile__choice-card strong {
    display: block;
}

.koopo-video-profile__choice-card small {
    color: #77704f;
}

.koopo-video-profile__collection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.koopo-video-profile__collection-detail-actions {
    display: grid;
    gap: 0.75rem;
    justify-items: end;
}

.koopo-video-profile__collections-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.koopo-video-profile__collection-card {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    color: var(--koopo-profile-ink);
    text-align: left;
    text-decoration: none;
    overflow: hidden;
    display: grid;
    gap: 0;
    cursor: pointer;
}

.koopo-video-profile__collection-card img,
.koopo-video-profile__collection-card-fallback {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #26150f 0%, #efc139 100%);
}

.koopo-video-profile__collection-card-fallback::before {
    content: "Collection";
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.koopo-video-profile__collection-card > span {
    padding: 0.85rem;
    display: grid;
    gap: 0.2rem;
}

.koopo-video-profile__collection-card.is-locked {
    opacity: 0.9;
}

.koopo-video-profile__collection-card.is-active {
    border-color: var(--koopo-profile-accent-deep);
    box-shadow: 0 0 0 2px rgba(180, 68, 23, 0.16);
    background: #fff4ec;
}

.koopo-video-profile__collection-detail {
    display: grid;
    gap: 0.9rem;
}

.koopo-video-profile__collection-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    flex-wrap: wrap;
}

.koopo-video-profile__collection-detail-copy h3 {
    margin: 0.18rem 0 0.35rem;
}

.koopo-video-profile__collection-detail-copy p {
    margin: 0;
}

.koopo-video-profile__collection-panel {
    width: min(900px, 100%);
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    border-color: var(--koopo-profile-border);
}

.koopo-video-profile__collection-videos {
    display: grid;
    gap: 0.65rem;
}

.koopo-video-profile__collection-video {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: var(--koopo-profile-ink);
    border: 1px solid #d8d4a9;
    background: #fff;
    padding: 0.65rem;
}

.koopo-video-profile__collection-video img {
    width: 100%;
    height: 68px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.koopo-video-profile__collection-video strong {
    display: block;
}

.koopo-video-profile__collection-video small {
    color: #77704f;
}

.koopo-video-profile__playlists .koopo-video-playlists {
    border-color: var(--koopo-profile-border);
}

.koopo-video-profile__store-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.koopo-video-profile__store-brand {
    position: relative;
    border: 1px solid var(--koopo-profile-border);
    border-radius: 18px;
    overflow: hidden;
    background: #20120b;
    margin-bottom: 1rem;
}

.koopo-video-profile__store-brand-media {
    position: absolute;
    inset: 0;
}

.koopo-video-profile__store-brand-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 11, 7, 0.74) 0%, rgba(17, 11, 7, 0.32) 55%, rgba(17, 11, 7, 0.82) 100%);
}

.koopo-video-profile__store-brand-media img,
.koopo-video-profile__store-brand-fallback {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    object-fit: cover;
}

.koopo-video-profile__store-brand-fallback {
    background: #000;
}

.koopo-video-profile__store-brand-body {
    position: relative;
    z-index: 1;
    min-height: 220px;
    padding: clamp(1rem, 3vw, 1.5rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.koopo-video-profile__store-brand-avatar {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.koopo-video-profile__store-brand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-profile__store-brand-copy {
    display: grid;
    gap: 0.3rem;
    color: #FFF !important;
}
.koopo-video-profile__store-brand-copy h3 {
    
    color: #FFF;
}

.koopo-video-profile__store-brand-copy h3,
.koopo-video-profile__store-brand-copy p {
    margin: 0;
}

.koopo-video-profile__store-brand-copy p:last-child {
    color: rgba(255, 250, 235, 0.82);
}

.koopo-video-profile__store-head h3 {
    margin: 0.18rem 0 0;
}

.koopo-video-profile__store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
    gap: 0.9rem;
}

.koopo-video-profile__store-card {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    color: var(--koopo-profile-ink);
    text-decoration: none;
    overflow: hidden;
    display: grid;
}

.koopo-video-profile__store-media {
    background: #f3e2d8;
    aspect-ratio: 1;
}

.koopo-video-profile__store-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-profile__store-copy {
    padding: 0.85rem 0.9rem 0.95rem;
    display: grid;
    gap: 0.4rem;
}

.koopo-video-profile__store-copy strong {
    font-size: 0.98rem;
}

.koopo-video-profile__store-copy em {
    font-style: normal;
    color: var(--koopo-profile-accent-deep);
    font-weight: 700;
}

.koopo-video-profile__store-setup {
    border: 1px solid var(--koopo-profile-border);
    background:
        radial-gradient(circle at top right, rgba(241, 187, 64, 0.18), transparent 24%),
        linear-gradient(180deg, #fffef6 0%, #ffffff 100%);
    border-radius: 18px;
    padding: clamp(1rem, 2.4vw, 1.4rem);
    display: grid;
    gap: 1rem;
}

.koopo-video-profile__store-setup-copy {
    display: grid;
    gap: 0.35rem;
    max-width: 720px;
}

.koopo-video-profile__store-setup-copy h3,
.koopo-video-profile__store-setup-copy p {
    margin: 0;
}

.koopo-video-profile__store-setup-copy p:last-child {
    color: #6a5348;
}

.koopo-video-profile__store-setup-disclosure {
    display: grid;
    gap: 0;
}

.koopo-video-profile__store-setup-toggle {
    width: fit-content;
    cursor: pointer;
    list-style: none;
}

.koopo-video-profile__store-setup-toggle::-webkit-details-marker {
    display: none;
}

.koopo-video-profile__store-setup-toggle::marker {
    content: "";
}

.koopo-video-profile__store-setup-panel {
    margin-top: 0.9rem;
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
}

.koopo-video-profile__store-setup-panel h2 {
    margin: 0 0 1rem;
}

.koopo-video-profile__store-setup-panel .woocommerce-error,
.koopo-video-profile__store-setup-panel .woocommerce-info,
.koopo-video-profile__store-setup-panel .woocommerce-message {
    margin: 0 0 1rem;
}

.koopo-video-profile__store-setup-panel .dokan-become-seller,
.koopo-video-profile__store-setup-panel form.update-customer-to-vendor.register {
    display: grid;
    gap: 0.9rem;
}

.koopo-video-profile__store-setup-panel .split-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.koopo-video-profile__store-setup-panel .form-row {
    margin: 0;
}

.koopo-video-profile__store-setup-panel label {
    font-weight: 700;
    color: #2a1d17;
}

.koopo-video-profile__store-setup-panel input.input-text,
.koopo-video-profile__store-setup-panel textarea,
.koopo-video-profile__store-setup-panel select {
    border: 1px solid var(--koopo-profile-border);
    background: #fffdfa;
    font: inherit;
    color: var(--koopo-profile-ink);
    width:96%
}

.koopo-video-profile__store-setup-panel small {
    color: #6a5348;
}

.koopo-video-profile__store-setup-panel .dokan-btn {
    border: 0;
    border-radius: 999px;
    background: var(--koopo-profile-accent-deep);
    color: #fff;
    padding: 0.8rem 1.25rem;
    font-weight: 700;
    line-height: 1.1;
}

.koopo-video-profile__donate-panel {
    width: min(520px, 100%);
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    border-color: var(--koopo-profile-border);
}

.koopo-video-profile__donate-copy {
    display: grid;
    gap: 0.45rem;
    padding-right: 2rem;
}

.koopo-video-profile__donate-copy h3,
.koopo-video-profile__donate-copy p {
    margin: 0;
}

.koopo-video-profile__donate-copy p:last-child {
    color: #6a5348;
}

.koopo-video-profile__donate-form {
    display: grid;
    gap: 0.8rem;
}

.koopo-video-profile__donate-form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 700;
}

.koopo-video-profile__donate-form input {
    width: 100%;
    border: 1px solid var(--koopo-profile-border);
    background: #fffdfa;
    font: inherit;
    color: var(--koopo-profile-ink);
}

.koopo-video-profile__donate-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.koopo-video-profile__donate-chip {
    border: 1px solid #d7d0a7;
    background: #fff;
    color: var(--koopo-profile-ink);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.koopo-video-profile__donate-chip:hover,
.koopo-video-profile__donate-chip:focus-visible {
    background: #fff0e7;
    border-color: var(--koopo-profile-accent-deep);
}

.koopo-video-profile__checkout-panel {
    width: min(1100px, 100%);
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    border-color: var(--koopo-profile-border);
}

.koopo-video-profile__checkout-head {
    padding: 1.1rem 1.15rem 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.koopo-video-profile__checkout-copy {
    display: grid;
    gap: 0.35rem;
    padding-right: 2rem;
}

.koopo-video-profile__checkout-copy h3,
.koopo-video-profile__checkout-copy p {
    margin: 0;
}

.koopo-video-profile__checkout-frame-wrap {
    position: relative;
    min-height: min(74vh, 820px);
    border-top: 1px solid var(--koopo-profile-border);
    background:
        radial-gradient(circle at top left, rgba(255, 186, 18, 0.18), transparent 32%),
        linear-gradient(180deg, #fffdf8 0%, #f8f2e8 100%);
}

.koopo-video-profile__checkout-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background: rgba(255, 252, 246, 0.84);
    backdrop-filter: blur(12px);
}

.koopo-video-profile__checkout-loading[hidden] {
    display: none;
}

.koopo-video-profile__checkout-frame {
    width: 100%;
    height: min(74vh, 820px);
    border: 0;
    display: block;
    background: #fff;
}

.koopo-video-profile__checkout-frame.is-loading {
    visibility: hidden;
}

.koopo-video-profile__checkout-success {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(255, 186, 18, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(248, 242, 232, 0.98) 100%);
}

.koopo-video-profile__checkout-success-inner {
    width: min(540px, 100%);
    display: grid;
    gap: 0.9rem;
    padding: clamp(1.2rem, 2vw, 1.6rem);
    border: 1px solid var(--koopo-profile-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 48px rgba(50, 35, 22, 0.14);
}

.koopo-video-profile__checkout-success-inner h3,
.koopo-video-profile__checkout-success-inner p {
    margin: 0;
}

.koopo-video-profile__checkout-success-icon {
    width: 60px;
    height: 60px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f7a49 0%, #27b36a 100%);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 14px 28px rgba(15, 122, 73, 0.22);
}

.koopo-video-profile__checkout-success-meta {
    display: grid;
    gap: 0.65rem;
}

.koopo-video-profile__checkout-success-meta:empty {
    display: none;
}

.koopo-video-profile__checkout-success-meta div {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #efe6d7;
    border-radius: 16px;
    background: #fffdf9;
}

.koopo-video-profile__checkout-success-meta span {
    color: #7b654f;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.koopo-video-profile__checkout-success-meta strong {
    color: var(--koopo-profile-ink);
    font-size: 0.94rem;
    text-align: right;
}

.koopo-video-profile__analytics-head {
    border: 1px solid var(--koopo-profile-border);
    background: linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius:12px;
    gap: 1rem;
    align-items: start;
}

.koopo-video-profile__analytics-head h3,
.koopo-video-profile__analytics-head p {
    margin: 0;
}

.koopo-video-profile__analytics-head p:last-child {
    color: #6a5348;
    max-width: 720px;
}

.koopo-video-profile__analytics-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.koopo-video-profile__analytics-range {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    color: var(--koopo-profile-ink);
    text-decoration: none;
    font-weight: 700;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
}

.koopo-video-profile__analytics-range.is-active {
    background: linear-gradient(135deg, #241712 0%, #1c4d30 36%, #efcb39 100%);
    color: #fff;
    border-color: #241712;
}

.koopo-video-profile__analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.koopo-video-profile__analytics-card {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    display: grid;
    gap: 0.35rem;
}

.koopo-video-profile__analytics-card.is-tone-dark {
    background: linear-gradient(135deg, #241712 0%, #1c4d30 36%, #efcb39 100%);
    color: #fff;
}

.koopo-video-profile__analytics-card span,
.koopo-video-profile__analytics-card small {
    color: inherit;
    opacity: 0.82;
}

.koopo-video-profile__analytics-card strong {
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1;
}

.koopo-video-profile__analytics-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.koopo-video-profile__analytics-side {
    display: grid;
    gap: 1rem;
}

.koopo-video-profile__analytics-panel {
    border: 1px solid var(--koopo-profile-border);
    background: #fff;
    padding: 1rem;
    display: grid;
    border-radius:12px;
    gap: 1rem;
}

.koopo-video-profile__analytics-panel-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: end;
}

.koopo-video-profile__analytics-panel-head h4,
.koopo-video-profile__analytics-panel-head p,
.koopo-video-profile__analytics-panel-head span {
    margin: 0;
}

.koopo-video-profile__analytics-panel-head span {
    color: #4c4c4c;
    font-size: 0.88rem;
}

.koopo-video-profile__analytics-chart {
    min-height: 260px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(34px, 1fr);
    gap: 0.5rem;
    align-items: end;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.koopo-video-profile__analytics-bar {
    min-height: 100%;
    display: grid;
    gap: 0.45rem;
    align-items: end;
    text-align: center;
    color: var(--koopo-profile-ink);
    text-decoration: none;
}

.koopo-video-profile__analytics-bar em {
    font-style: normal;
    font-size: 0.72rem;
    color: #7d764c;
}

.koopo-video-profile__analytics-bar i {
    display: block;
    width: 100%;
    min-height: 10px;
    height: var(--koopo-analytics-bar-height, 10%);
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, #f8e47d 0%, #efcb39 100%);
}

.koopo-video-profile__analytics-bar small {
    color: #7d764c;
    font-size: 0.68rem;
}

.koopo-video-profile__analytics-split {
    display: grid;
    gap: 0.75rem;
}

.koopo-video-profile__analytics-split article {
    border: 1px solid #d8d4a9;
    background: #fff;
    padding: 0.85rem 0.9rem;
    display: grid;
    gap: 0.22rem;
}

.koopo-video-profile__analytics-split span,
.koopo-video-profile__analytics-split small {
    color: #77704f;
}

.koopo-video-profile__analytics-split strong {
    font-size: 1.2rem;
}

.koopo-video-profile__analytics-top-list {
    display: grid;
    gap: 0.75rem;
}

.koopo-video-profile__analytics-video {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: var(--koopo-profile-ink);
    border: 1px solid #d8d4a9;
    background: #fff;
    padding: 0.65rem;
}

.koopo-video-profile__analytics-video-thumb,
.koopo-video-profile__analytics-video-fallback {
    width: 112px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #26150f 0%, #efcb39 100%);
    display: block;
}

.koopo-video-profile__analytics-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-profile__analytics-video-copy {
    display: grid;
    gap: 0.25rem;
}

.koopo-video-profile__analytics-video-copy strong {
    display: block;
}

.koopo-video-profile__analytics-video-copy small {
    color: #77704f;
}

.koopo-video-buddyboss-tab__header {
    margin-bottom: 0.2rem;
    border: 1px solid var(--koopo-profile-border);
    background: linear-gradient(135deg, #241712 0%, #ffffff 36%, #efcb39 100%);
    color: #fff;
    padding: 0.95rem;
    border-radius: 25px;
}

.koopo-video-buddyboss-tab__header--viewer {
    background:
        radial-gradient(circle at top left, rgba(255, 186, 18, 0.28), transparent 28%),
        linear-gradient(135deg, #0e0e0e 0%, #1d1d1d 48%, #3f2c06 100%);
    border-color: rgba(255, 186, 18, 0.24);
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.18);
}

.koopo-video-buddyboss-tab__header--viewer .koopo-video-profile__eyebrow,
.koopo-video-buddyboss-tab__header--viewer .koopo-video-profile__subtitle,
.koopo-video-buddyboss-tab__header--viewer .koopo-video-profile__audience,
.koopo-video-buddyboss-tab__header--viewer .koopo-video-profile__subscribe-status {
    color: rgba(255, 255, 255, 0.86);
}

.koopo-video-buddyboss-tab__header--viewer .koopo-video-profile__audience strong {
    color: #fff;
}

.koopo-video-buddyboss-tab {
    display: grid;
    gap: 0.85rem;
}

.koopo-video-buddyboss-tab__channel,
.koopo-video-buddyboss-tab__channel-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.koopo-video-buddyboss-tab__channel-card-link {
    width: 100%;
}

.koopo-video-buddyboss-tab__avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.12);
}

.koopo-video-buddyboss-tab__avatar.is-large {
    width: 82px;
    height: 82px;
}

.koopo-video-buddyboss-tab__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-buddyboss-tab__copy {
    display: grid;
    gap: 0.25rem;
}

.koopo-video-buddyboss-tab__copy strong {
    font-size: 1.1rem;
    color:#fff;
}

.koopo-video-buddyboss-tab__copy small {
    color: #d7ddf3;
}

.koopo-video-buddyboss-tab__panel {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(36, 24, 18, 0.12);
    background: linear-gradient(145deg, #fffdf9 0%, #fff3db 100%);
    box-shadow: 0 18px 36px rgba(42, 24, 12, 0.08);
}

.koopo-video-buddyboss-tab__panel--viewer {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 1.15rem;
    align-items: stretch;
    background:
        radial-gradient(circle at top right, rgba(255, 186, 18, 0.18), transparent 34%),
        linear-gradient(145deg, #fffef9 0%, #fff7e8 100%);
}

.koopo-video-buddyboss-tab__content {
    display: grid;
    gap: 0.55rem;
}

.koopo-video-buddyboss-tab__content h3,
.koopo-video-buddyboss-tab__content p {
    margin: 0;
}

.koopo-video-buddyboss-tab__feature-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.3rem;
    color: #5f4c33;
}

.koopo-video-buddyboss-tab__viewer-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.koopo-video-buddyboss-tab__viewer-stat {
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(36, 24, 18, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: grid;
    gap: 0.18rem;
}

.koopo-video-buddyboss-tab__viewer-stat strong {
    font-size: 1.15rem;
    line-height: 1;
    color: #121212;
}

.koopo-video-buddyboss-tab__viewer-stat span {
    font-size: 0.78rem;
    color: #6e6245;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.koopo-video-buddyboss-tab__viewer-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.koopo-video-buddyboss-tab__viewer-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.04);
    border: 1px solid rgba(36, 24, 18, 0.08);
    color: #433826;
    font-size: 0.82rem;
    font-weight: 600;
}

.koopo-video-buddyboss-tab__viewer-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffba12;
    box-shadow: 0 0 0 3px rgba(255, 186, 18, 0.14);
}

.koopo-video-buddyboss-tab__panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.koopo-video-buddyboss-tab__channel-card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(36, 24, 18, 0.08);
}

.koopo-video-buddyboss-tab--viewer .koopo-video-buddyboss-tab__channel-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 227, 0.96) 100%);
    border-color: rgba(255, 186, 18, 0.2);
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
    align-content: start;
}

.koopo-video-buddyboss-tab--viewer .koopo-video-buddyboss-tab__channel-card-link {
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(36, 24, 18, 0.08);
}

.koopo-video-buddyboss-tab--viewer .koopo-video-buddyboss-tab__copy small:first-child {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8e6f15;
    font-weight: 700;
}

.koopo-video-buddyboss-tab__channel-note {
    margin: 0;
    color: #54462f;
    font-size: 0.84rem;
    line-height: 1.5;
}

.koopo-video-settings-memberships {
    display: grid;
    gap: 1rem;
}

.koopo-video-settings-memberships__hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(255, 186, 18, 0.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 186, 18, 0.18), transparent 34%),
        linear-gradient(145deg, #fffef9 0%, #fff7e8 100%);
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
}

.koopo-video-settings-memberships__hero-copy {
    display: grid;
    gap: 0.45rem;
    max-width: 760px;
}

.koopo-video-settings-memberships__hero-copy h2,
.koopo-video-settings-memberships__hero-copy p {
    margin: 0;
}

.koopo-video-settings-memberships__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.koopo-video-settings-memberships__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.koopo-video-settings-memberships__summary-card {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(36, 24, 18, 0.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(42, 24, 12, 0.06);
}

.koopo-video-settings-memberships__summary-card strong {
    font-size: 1.4rem;
    line-height: 1;
}

.koopo-video-settings-memberships__summary-card span {
    color: #6e6245;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.koopo-video-settings-memberships__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 375px));
    gap: 1rem;
}

.koopo-video-settings-memberships__card {
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(36, 24, 18, 0.08);
    background: #fff;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.06);
}

.koopo-video-settings-memberships__card-media {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #231711 0%, #4e481f 36%, #efcb39 100%);
}

.koopo-video-settings-memberships__card-media img,
.koopo-video-settings-memberships__card-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    object-fit: cover;
}

.koopo-video-settings-memberships__card-fallback {
    color: #fff;
    font-size: 2rem;
}

.koopo-video-settings-memberships__card-body {
    display: grid;
    gap: 0.75rem;
}

.koopo-video-settings-memberships__card-body p {
    margin: 0;
    color: #54462f;
}

.koopo-video-settings-memberships__card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.koopo-video-settings-memberships__card-head strong {
    font-size: 1.05rem;
}

.koopo-video-settings-memberships__card-head span {
    color: #8e6f15;
    font-weight: 700;
    white-space: nowrap;
}

.koopo-video-settings-memberships__creator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.koopo-video-settings-memberships__creator-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 auto;
    background: rgba(17, 17, 17, 0.08);
}

.koopo-video-settings-memberships__creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.koopo-video-settings-memberships__creator-copy {
    display: grid;
    gap: 0.18rem;
}

.koopo-video-settings-memberships__creator-copy small {
    color: #6e6245;
}

.koopo-video-settings-memberships__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    color: #6e6245;
    font-size: 0.82rem;
}

.koopo-video-settings-memberships__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.koopo-video-settings-memberships__status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #124b31;
    background: #e8f7ef;
    border: 1px solid rgba(18, 75, 49, 0.2);
}

.koopo-video-settings-memberships__status.is-pending-cancel {
    color: #8b2f1f;
    background: #fdece8;
    border-color: rgba(139, 47, 31, 0.22);
}

.koopo-video-settings-memberships__status-note {
    margin: 0;
    color: #7b3d2a;
    font-size: 0.83rem;
}

@media (max-width: 900px) {
    .koopo-video-profile__identity {
        grid-template-columns: auto 1fr;
    }

    .koopo-video-profile__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .koopo-video-profile__subscribe-status {
        text-align: left;
    }

    .koopo-video-profile__media-status {
        text-align: left;
    }

    .koopo-video-profile__membership-form-grid,
    .koopo-video-profile__collection-editor-sections,
    .koopo-video-profile__video-layout,
    .koopo-video-profile__collections-grid,
    .koopo-video-profile__analytics-layout {
        grid-template-columns: 1fr;
    }

    .koopo-video-profile__analytics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koopo-video-profile__video-main .koopo-video-loop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koopo-video-profile__store-brand-body {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

    .koopo-video-profile__checkout-panel {
        width: min(100%, calc(100vw - 1.5rem));
    }

    .koopo-video-profile__checkout-copy {
        padding-right: 0;
    }

    .koopo-video-profile__checkout-frame-wrap,
    .koopo-video-profile__checkout-frame {
        min-height: 68vh;
        height: 68vh;
    }

    .koopo-video-profile__store-brand-body .koopo-video-btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .koopo-video-profile__store-setup-panel .split-row {
        grid-template-columns: 1fr;
    }

    .koopo-video-buddyboss-tab__panel--viewer {
        grid-template-columns: 1fr;
    }

    .koopo-video-buddyboss-tab__viewer-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .koopo-video-settings-memberships__summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .koopo-video-buddyboss-tab__viewer-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .koopo-video-profile {
        padding: 0.8rem;
    }

    .koopo-video-profile__membership-builder-head {
        align-items: stretch;
    }

    .koopo-video-profile__crop-panel {
        padding: 0.9rem;
    }

    .koopo-video-profile__crop-stage {
        max-height: 54vh;
    }

    .koopo-video-profile__identity {
        margin: -3.1rem 0.45rem 0;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .koopo-video-profile__avatar {
        width: 92px;
        border-radius: 24px;
    }

    .koopo-video-profile__media-edit--banner {
        top: 0.75rem;
        right: 0.75rem;
    }

    .koopo-video-profile__tabs {
        gap: 0.4rem;
    }

    .koopo-video-profile__tab {
        flex: 1 1 calc(50% - 0.4rem);
        text-align: center;
    }

    .koopo-video-profile__search-wrap {
        width: 100%;
    }

    .koopo-video-profile__video-main .koopo-video-loop__grid,
    .koopo-video-profile__collections-public-grid,
    .koopo-video-profile__analytics-grid {
        grid-template-columns: 1fr;
    }

    .koopo-video-profile__collection-video {
        grid-template-columns: 1fr;
    }

    .koopo-video-profile__analytics-video {
        grid-template-columns: 1fr;
    }

    .koopo-video-profile__store-brand-body {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .koopo-video-profile__store-brand-avatar {
        width: 76px;
        height: 76px;
    }

    .koopo-video-profile__store-setup-toggle {
        width: 100%;
        text-align: center;
    }
}
