:root {
    --bpc-black: #1a1a1a;
    --bpc-gold: #ffd700;
    --bpc-blue: #4a90e2;
    --bpc-success: #28a745;
    --bpc-danger: #dc3545;
    --bpc-bg-dark: #121212;
    --bpc-bg-light: #2a2a2a;
    --bpc-panel: rgba(255, 255, 255, 0.08);
    --bpc-panel-strong: rgba(255, 255, 255, 0.14);
    --bpc-text: #f5f3ed;
    --bpc-muted: #b6b1a8;
    --bpc-border: rgba(255, 215, 0, 0.18);
    --bpc-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --bpc-radius: 18px;
    --bpc-radius-sm: 12px;
    --bpc-content: 1220px;
    --bpc-nav-height: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--bpc-text);
    line-height: 1.55;
    background:
        radial-gradient(circle at top left, rgba(255, 215, 0, 0.1), transparent 24%),
        radial-gradient(circle at top right, rgba(74, 144, 226, 0.14), transparent 26%),
        linear-gradient(180deg, #17120d 0%, var(--bpc-bg-dark) 28%, #0f0f10 100%);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.page-shell {
    min-height: 100vh;
}

.page-main {
    width: min(calc(100% - 2rem), var(--bpc-content));
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
}

.section {
    margin-top: 1.75rem;
}

.section-card,
.hero-card,
.surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--bpc-border);
    border-radius: var(--bpc-radius);
    box-shadow: var(--bpc-shadow);
    backdrop-filter: blur(16px);
}

.hero-card {
    padding: 2rem;
    overflow: hidden;
}

.section-card,
.surface {
    padding: 1.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--bpc-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero h1,
.section-title {
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    max-width: 14ch;
}

.hero-home {
    display: block;
    padding: 20px;
}

.hero-media {
    border-radius: 18px;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

.hero-content {
    position: relative;
    margin-top: 10px;
}

.hero-home .grid-2 {
    margin-top: 25px;
}

.hero p,
.lede,
.muted {
    color: var(--bpc-muted);
}

.cta-row,
.button-row,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.78rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--bpc-gold), #c6a100);
    color: var(--bpc-black);
}

.btn-secondary {
    background: rgba(74, 144, 226, 0.16);
    border-color: rgba(74, 144, 226, 0.34);
    color: var(--bpc-text);
}

.btn-success {
    background: rgba(40, 167, 69, 0.16);
    border-color: rgba(40, 167, 69, 0.34);
    color: #dbffe4;
}

.btn-danger {
    background: rgba(220, 53, 69, 0.16);
    border-color: rgba(220, 53, 69, 0.35);
    color: #ffe0e5;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--bpc-text);
}

.grid-2,
.grid-3,
.grid-4,
.split-layout,
.dashboard-grid,
.watch-layout {
    display: grid;
    gap: 1.25rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-layout {
    grid-template-columns: 1.3fr 0.9fr;
}

.dashboard-grid {
    grid-template-columns: 1.4fr 1fr;
}

.watch-layout {
    grid-template-columns: 1.6fr 0.9fr;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card,
.reward-card,
.info-card,
.video-card,
.tile {
    padding: 1.2rem;
    border-radius: var(--bpc-radius-sm);
    background: var(--bpc-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.reward-card {
    padding: 1rem;
}

.reward-card h3 {
    margin: 0.2rem 0 0.1rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.reward-card p {
    margin: 0.2rem 0 0;
}

.stat-card .label,
.mini-label {
    color: var(--bpc-muted);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.stat-card .value,
.big-value {
    margin-top: 0.45rem;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 800;
    color: var(--bpc-gold);
}

.list-reset {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stack {
    display: grid;
    gap: 1rem;
}

.progress-wrap {
    display: grid;
    gap: 0.45rem;
}

.progress-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--bpc-muted);
}

.progress-bar {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.progress-bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bpc-blue), var(--bpc-gold));
    transition: width 0.6s ease;
}

.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: #050505;
}

.media-frame video,
.media-frame img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.media-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--bpc-gold);
    font-size: 0.82rem;
}

.video-list {
    display: grid;
    gap: 0.9rem;
}

.video-list button,
.video-card button {
    width: 100%;
    background: transparent;
    border: 0;
    color: inherit;
    padding: 0;
    text-align: left;
}

.video-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.9rem;
    padding: 0.8rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-item:hover,
.video-item.is-active {
    background: rgba(255, 215, 0, 0.08);
    transform: translateY(-1px);
}

.video-thumb {
    width: 96px;
    min-height: 72px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.35), rgba(255, 215, 0, 0.25));
}

.video-item h4,
.video-card h3,
.reward-card h3,
.info-card h3,
.tile h3 {
    margin: 0 0 0.35rem;
}

.meta-line,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--bpc-muted);
    font-size: 0.92rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 30px;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-access .sidebar-quick-link {
    justify-content: center;
    text-align: center;
    min-height: 52px;
    padding: 0.875rem 1.125rem;
    margin-bottom: 0.875rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--bpc-black);
    background: rgba(255, 215, 0, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.quick-access .sidebar-quick-link:last-child {
    margin-bottom: 0;
}

.quick-access .sidebar-quick-link:hover,
.quick-access .sidebar-quick-link.is-active {
    background: var(--bpc-gold);
    border-color: var(--bpc-gold);
    color: var(--bpc-black);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.84rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--bpc-text);
}

.field textarea {
    min-height: 132px;
    resize: vertical;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.check-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.check-pill input {
    width: auto;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.9rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
    color: var(--bpc-gold);
    font-weight: 700;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.status.success {
    color: #8ce4a1;
}

.status.warning {
    color: #ffd27a;
}

.status.danger {
    color: #ff8f9e;
}

.status.info {
    color: #8ac5ff;
}

.component-slot {
    display: contents;
}

.site-header {
    background: #111;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}

.nav-container {
    width: min(calc(100% - 2rem), var(--bpc-content));
    min-height: var(--bpc-nav-height);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 15px 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--bpc-text);
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    gap: 25px;
}

.desktop-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.desktop-nav a.is-active,
.desktop-nav a:hover,
.mobile-nav a.is-active,
.mobile-nav a:hover {
    color: var(--bpc-gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-pill {
    background: #ffd700;
    color: black;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.wallet-connect {
    min-height: 42px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    color: var(--bpc-gold);
    font-weight: 700;
}

.wallet-connect-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--bpc-text);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    display: block;
    border-radius: 2px;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid #333;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #222;
}

.mobile-nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-overlay {
    position: fixed;
    top: var(--bpc-nav-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--bpc-nav-height));
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 999;
}

.nav-overlay.show {
    display: block;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(5, 5, 5, 0.82);
}

.site-footer .footer-inner {
    width: min(calc(100% - 2rem), var(--bpc-content));
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    gap: 1.25rem;
}

.footer-top,
.footer-links,
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    justify-content: space-between;
}

.footer-links a,
.social-links a {
    color: var(--bpc-muted);
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--bpc-gold);
}

.notice,
.empty-state {
    padding: 1rem;
    border-radius: var(--bpc-radius-sm);
    border: 1px dashed rgba(255, 215, 0, 0.25);
    background: rgba(255, 215, 0, 0.05);
    color: var(--bpc-muted);
}

.toast-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.75rem;
    z-index: 100;
}

.toast {
    min-width: 260px;
    max-width: 340px;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 18, 0.92);
    box-shadow: var(--bpc-shadow);
}

.modal-root {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 120;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
}

.modal-root.is-open {
    display: grid;
}

.modal-card {
    width: min(100%, 540px);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.16);
    background: #171719;
}

.bpc-verify-overlay {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(7, 10, 16, 0.78);
}

.bpc-verify-box {
    width: min(100%, 420px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.18);
    background: #161a22;
    box-shadow: var(--bpc-shadow);
    text-align: center;
}

.bpc-verify-box.is-success {
    border-color: rgba(88, 196, 122, 0.4);
}

.bpc-verify-spinner {
    width: 52px;
    height: 52px;
    margin: 0.5rem auto 1rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--bpc-gold);
    animation: bpc-spin 1s linear infinite;
}

.bpc-verify-timer {
    margin: 0.75rem 0 1rem;
    color: var(--bpc-muted);
}

@keyframes bpc-spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

.earn-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    border-top: 1px solid #333;
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 2000;
}

.earn-bar-left {
    display: flex;
    flex-direction: column;
}

.earn-reward {
    font-weight: bold;
    color: #ffd700;
}

.earn-status {
    font-size: 14px;
    color: #aaa;
}

.earn-claim {
    min-width: 140px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.watch-feed {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: auto;
    scroll-snap-type: y mandatory;
}

.video-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--bpc-shadow);
}

.video-wrapper {
    position: relative;
}

.watch-video-container,
.embed-preview {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-video {
    width: 100%;
    border-radius: 15px;
    background: #050505;
    min-height: 420px;
}

.watch-video-container iframe,
.embed-preview iframe,
.feed-video iframe {
    width: 100%;
    min-height: 420px;
    display: block;
    border: 0;
    background: #050505;
}

.platform-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--bpc-gold);
    text-transform: capitalize;
}

.video-placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 1.25rem;
    color: var(--bpc-muted);
    text-align: center;
}

.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    pointer-events: none;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 10px;
}

.video-reward-pill {
    background: #ffd700;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
}

.video-description {
    margin-top: 0;
}

.video-skeleton {
    height: 300px;
    background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
    animation: skeleton 1.2s infinite;
}

@keyframes skeleton {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.video-fallback {
    display: none;
    gap: 0.75rem;
    place-items: center;
    min-height: 300px;
    padding: 1rem;
}

.video-fallback.show {
    display: flex;
    flex-direction: column;
}

.video-info h2,
.video-info p {
    margin: 0;
}

.video-info p {
    margin-top: 0.5rem;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.85);
}

.reward-pill {
    background: #ffd700;
    color: black;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

.video-card-body {
    padding: 1.25rem;
}

.reward-popup {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background: #ffd700;
    color: black;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 3000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.wallet-panel {
    padding: 1.25rem;
    border-radius: 15px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
}

.token-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.token-balance-label {
    color: var(--bpc-text);
    font-weight: 700;
}

.token-balance-value {
    color: #c9d1d9;
}

.token-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.summary-row .token-balance {
    justify-content: flex-end;
    width: 100%;
}

.wallet-panel h3 {
    margin-top: 0;
}

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

.stepper-panel,
.funding-main,
.summary-panel {
    position: sticky;
    top: calc(var(--bpc-nav-height) + 1rem);
}

.stepper-panel {
    display: grid;
    gap: 0.9rem;
}

.step-card {
    width: 100%;
    text-align: left;
    padding: 1rem;
    border-radius: 14px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--bpc-text);
}

.step-card.is-active {
    border-color: rgba(255, 215, 0, 0.35);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.11), rgba(255, 255, 255, 0.04));
}

.package-grid,
.payment-grid,
.business-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

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

.payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.campaign-card {
    background: linear-gradient(180deg, rgba(21, 25, 32, 0.94), rgba(14, 17, 22, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.campaign-card.is-selected {
    border-color: rgba(255, 209, 0, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 209, 0, 0.18);
}

.campaign-card-header,
.campaign-card-meta,
.campaign-card-actions,
.campaign-manager-toolbar,
.campaign-detail-grid,
.refill-option-grid,
.campaign-completion-summary {
    display: flex;
    gap: 14px;
}

.campaign-card-header,
.campaign-manager-toolbar,
.campaign-card-actions,
.campaign-completion-summary {
    align-items: center;
    justify-content: space-between;
}

.campaign-card-meta,
.campaign-detail-grid,
.refill-option-grid {
    flex-wrap: wrap;
}

.campaign-card-title {
    margin: 0;
    font-size: 1.2rem;
}

.campaign-meta-pill {
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.campaign-meta-pill .muted,
.campaign-detail-tile .muted {
    display: block;
    margin-bottom: 6px;
}

.campaign-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
}

.status-active {
    background: rgba(34, 197, 94, .15);
    color: #22c55e;
}

.status-paused {
    background: rgba(234, 179, 8, .15);
    color: #eab308;
}

.status-completed {
    background: rgba(148, 163, 184, .15);
    color: #94a3b8;
}

.status-draft {
    background: rgba(59, 130, 246, .15);
    color: #60a5fa;
}

.status-funded {
    background: rgba(168, 85, 247, .15);
    color: #c084fc;
}

.campaign-card-actions {
    flex-wrap: wrap;
}

.campaign-card-actions .btn {
    flex: 1 1 160px;
}

.campaign-progress {
    height: 8px;
    background: #1c2430;
    border-radius: 6px;
    overflow: hidden;
}

.campaign-progress-fill {
    height: 100%;
    background: #ffd100;
    border-radius: 6px;
}

.campaign-performance-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.campaign-performance-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.campaign-performance-item strong {
    display: block;
    margin-top: 4px;
}

.campaign-activity-state {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.campaign-health-good {
    color: #22c55e;
}

.campaign-health-average {
    color: #eab308;
}

.campaign-health-needs {
    color: #f97316;
}

.campaign-detail-tile {
    flex: 1 1 180px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.campaign-detail-tile strong {
    font-size: 1.05rem;
}

.campaign-completion-summary {
    flex-wrap: wrap;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 209, 0, 0.08);
    border: 1px solid rgba(255, 209, 0, 0.16);
}

.refill-option-grid .btn {
    flex: 1 1 140px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 80;
    padding: 20px;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-card {
    width: min(560px, 100%);
    background: #11161d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 24px;
}

.package-card,
.payment-card,
.history-card,
.comparison-box {
    padding: 1.2rem;
    border-radius: 16px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--bpc-shadow);
}

.package-card {
    background: #0f1218;
    border: 1px solid rgba(255, 209, 0, 0.15);
    padding: 1.5rem;
    border-radius: 18px;
    text-align: left;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
}

.package-card,
.payment-card {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.package-card:hover,
.payment-card:hover,
.package-card.is-selected,
.payment-card.is-selected {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.32);
    background: #0f1218;
}

.payment-card.is-bpc {
    border-color: rgba(255, 215, 0, 0.35);
}

.step-card h3,
.package-card h3,
.payment-card h3 {
    margin: 0.35rem 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.package-card p,
.payment-card p,
.step-card p {
    margin: 0.35rem 0 0;
    font-size: 0.93rem;
}

.package-card .muted,
.package-card span,
.package-card li {
    color: #c9d1d9;
}

.package-card strong,
.package-card .summary-row strong,
.package-card .package-metrics strong {
    color: #fff;
}

.package-number {
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--bpc-gold);
    margin: 0.35rem 0 0.85rem;
}

.package-divider {
    height: 1px;
    background: rgba(255, 209, 0, 0.14);
    margin: 1rem 0;
}

.package-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bpc-gold);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.package-features {
    margin: 0;
    padding-left: 1.1rem;
    color: #c9d1d9;
    font-size: 0.9rem;
    line-height: 1.6;
}

.package-features li {
    margin-bottom: 0.35rem;
}

.package-metrics {
    display: grid;
    gap: 0.65rem;
}

.package-metrics div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #c9d1d9;
    font-size: 0.9rem;
}

.package-metrics strong {
    color: #fff;
}

.package-card .summary-row strong {
    color: #fff;
}

.package-card .summary-row span {
    color: #c9d1d9;
}

.campaign-creatives {
    border: 1px solid rgba(255, 215, 0, 0.12);
}

.creative-item {
    align-items: end;
    gap: 1rem;
}

.creative-remove-field {
    min-width: 140px;
}

.funding-layout .btn {
    min-height: 42px;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
}

.bonus-badge,
.best-value-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    color: var(--bpc-gold);
    font-size: 0.82rem;
    font-weight: 700;
}

.summary-list,
.history-list {
    display: grid;
    gap: 0.75rem;
}

.summary-row,
.history-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.summary-row strong,
.history-row strong {
    color: var(--bpc-text);
}

.pricing-table td,
.pricing-table th {
    white-space: nowrap;
}

.custom-package-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.custom-package-form .form-grid {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.custom-package-form .form-grid > .field {
    flex: 1 1 0;
    min-width: 0;
}

.custom-package-form .field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    gap: 6px;
    margin-top: 0;
    padding-top: 0;
}

.custom-package-form .field label {
    margin: 0 0 6px;
    line-height: 1.2;
    min-height: 0;
    display: block;
}

.custom-package-form .field input {
    margin-top: 0;
    min-height: 52px;
}

.custom-package-form .muted {
    margin-top: 6px;
}

#custom-views {
    height: 52px;
}

#custom-budget {
    height: 52px;
}

@media (max-width: 900px) {
    .custom-package-form .form-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.social-model-note {
    border-color: rgba(255, 215, 0, 0.24);
    background: rgba(255, 215, 0, 0.06);
}

video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .split-layout,
    .dashboard-grid,
    .grid-4,
    .grid-2,
    .form-grid,
    .package-grid,
    .payment-grid,
    .campaign-grid,
    .funding-layout {
        grid-template-columns: 1fr;
    }

    .campaign-performance-block {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .watch-layout {
        display: flex;
        flex-direction: column;
    }

    .stepper-panel,
    .funding-main,
    .summary-panel {
        position: static;
    }

    .video-card {
        height: 85vh;
        display: flex;
        align-items: center;
    }

    .feed-video {
        height: 70vh;
        object-fit: cover;
    }

    .watch-video-container iframe,
    .embed-preview iframe,
    .feed-video iframe {
        min-height: 70vh;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 15px;
    }

    .earn-bar {
        display: flex;
    }

    .page-main {
        padding-bottom: 90px;
    }

    .action-row {
        flex-direction: column;
    }

    .action-row .btn {
        width: 100%;
    }

    .earn-bar .action-row {
        flex-direction: row;
        margin-top: 0;
    }

    .earn-bar .action-row .btn {
        width: auto;
    }

    .video-card-body .action-row .btn {
        width: 100%;
    }

    .footer-top,
    .footer-links,
    .social-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .page-main {
        width: min(calc(100% - 1rem), var(--bpc-content));
        padding-top: 1rem;
    }

    .hero-card,
    .section-card,
    .surface {
        padding: 1.15rem;
    }

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

    .video-thumb {
        width: 100%;
        min-height: 120px;
    }
}

.watch-player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 1.25rem;
    align-items: start;
}

.watch-player-shell,
.watch-sidebar {
    min-width: 0;
}

.watch-player {
    max-width: 900px;
    margin: 0 auto;
}

.watch-stage {
    display: grid;
    gap: 0.85rem;
}

.watch-stage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.campaign-detail-grid {
    display: grid;
    gap: 0.85rem;
}

.campaign-detail-grid div {
    display: grid;
    gap: 0.2rem;
}

.progress-meta {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.progress-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 6px 12px;
    border-radius: 20px;
    background: #111;
    border: 1px solid #2a2a2a;
    font-size: 12px;
    color: var(--bpc-text);
}

.progress-pill.complete {
    background: #0f2a1b;
    border: 1px solid #1f7a4d;
    color: #4ade80;
}

.progress-pill.active {
    border: 1px solid #c9a646;
    color: #ffd700;
}

.progress-pill.engagement {
    background: transparent;
    color: #ffb020;
    border-color: #ffb020;
    opacity: 1;
}

.progress-pill.engagement.complete {
    background: transparent;
    color: #18c964;
    border-color: #18c964;
}

.reward-progress-pill {
    font-weight: 700;
}

.status-banner {
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-overlay-note {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    max-width: min(320px, calc(100% - 2rem));
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    background: rgba(17, 17, 17, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--bpc-text);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.player-overlay-note.active {
    border-color: rgba(255, 215, 0, 0.45);
    color: var(--bpc-gold);
}

.player-overlay-note.paused {
    border-color: rgba(255, 255, 255, 0.15);
}

.player-overlay-note.reward-ready {
    border-color: rgba(74, 222, 128, 0.65);
    color: #4ade80;
}

.player-inline-note {
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(17, 17, 17, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.18);
    color: var(--bpc-muted);
}

.player-inline-note.active {
    border-color: rgba(255, 215, 0, 0.45);
    color: var(--bpc-gold);
}

.player-inline-note.paused {
    border-color: rgba(255, 255, 255, 0.15);
}

.player-inline-note.reward-ready {
    border-color: rgba(74, 222, 128, 0.65);
    color: #4ade80;
}

.watch-player-actions {
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
}

.watch-player-actions .btn,
.watch-player-actions a.btn {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 12px;
    min-height: 44px;
}

.watch-player-live {
    border-color: rgba(255, 215, 0, 0.28);
}

.reward-ready-state {
    border-color: rgba(74, 222, 128, 0.45);
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15), 0 0 28px rgba(74, 222, 128, 0.18);
}

.reward-check {
    color: #4ade80;
    font-weight: 700;
}

.engagement-bar {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.engagement-btn {
    background: #111;
    border: 1px solid #2a2a2a;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--bpc-text);
}

.engagement-btn.active {
    border: 1px solid #ffd700;
    color: #ffd700;
}

@media (max-width: 900px) {
    .watch-player-layout {
        grid-template-columns: 1fr;
    }

    .watch-stage-top,
    .video-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .player-overlay-note {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

.player-position-indicator {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: var(--bpc-muted);
}

.engagement-note {
    font-size: 0.82rem;
}


.progress-meta {
    margin-top: 18px;
    margin-bottom: 12px;
    gap: 12px;
}

.progress-pill {
    padding: 5px 11px;
    font-size: 11px;
}

.progress-pill.locked {
    opacity: 0.6;
}

.progress-pill.active {
    border: 1px solid #c9a646;
    color: #ffd700;
}

.progress-pill.complete {
    background: #0f2a1b;
    border: 1px solid #1f7a4d;
    color: #4ade80;
}

.progress-countdown {
    font-size: 0.9rem;
    color: var(--bpc-gold);
}

.watch-active {
    border: 1px solid #c9a646;
    box-shadow: 0 0 20px rgba(199, 143, 66, 0.25);
}

.reward-ready-state {
    animation: rewardPulse 1.2s ease-in-out 2;
}

@keyframes rewardPulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.35); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.engagement-bar {
    align-items: center;
}

.engagement-btn {
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.engagement-btn.active {
    background: #1a1a1a;
    border: 1px solid #ffd700;
    color: #ffd700;
    transform: scale(1.05);
}

.watch-player .player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 10px;
}

.watch-player .player-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
}

.watch-player .player-header-right > * {
    align-self: center;
    margin: 0;
}

.watch-player .player-header .platform-badge,
.watch-player .reward-pill {
    box-sizing: border-box;
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    transform: none;
}

.watch-player .player-header .platform-badge {
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--bpc-gold);
    text-transform: capitalize;
}

.watch-player .reward-pill {
    background: #ffd700;
    color: #000;
    border: 1px solid transparent;
    font-weight: 700;
    gap: 0.45rem;
}

.watch-player .reward-pill img {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.video-container {
    margin-top: 10px;
    position: relative;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    display: block;
    background: #000;
}

.watch-video-container .video-frame {
    min-height: 0;
    height: auto;
}

.instagram-player {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 16;
    pointer-events: auto;
}

.ig-overlay {
    pointer-events: auto;
}

.instagram-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}

.ig-actions {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.profile-page-main {
    display: grid;
    gap: 1.75rem;
    min-width: 0;
}

.profile-panel-grid {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.profile-panel-grid-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-panel-grid-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-detail-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
}

.profile-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.75rem;
    padding: 1.5rem;
    min-width: 0;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.24);
}

.profile-title {
    margin: 0.15rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--bpc-gold);
    overflow-wrap: anywhere;
}

.profile-header-copy {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.profile-header-copy .wallet {
    margin: 0;
    color: var(--bpc-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-header-actions {
    display: grid;
    gap: 0.85rem;
    justify-items: end;
    min-width: 0;
}

.profile-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.profile-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-score-badge,
.verification-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.08);
    color: var(--bpc-gold);
    font-weight: 700;
}

.verification-pill {
    background: rgba(74, 144, 226, 0.12);
    border-color: rgba(74, 144, 226, 0.28);
    color: #c8e0ff;
}

.social-list,
.verification-list,
.oauth-route-list,
.settings-list {
    display: grid;
    gap: 0.75rem;
}

.social-row,
.verification-row,
.oauth-route-item,
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.social-row > *,
.verification-row > *,
.oauth-route-item > *,
.toggle-row > * {
    min-width: 0;
}

.social-row-copy,
.oauth-route-item,
.verification-row span,
.toggle-row span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.social-row-copy {
    display: grid;
    gap: 0.2rem;
}

.social-connect-btn {
    min-width: 140px;
}

.social-connected {
    background: #dff5e3;
    border-color: rgba(26, 127, 55, 0.35);
    color: #1a7f37;
}

.social-connect {
    background: rgba(255, 255, 255, 0.06);
    color: var(--bpc-text);
}

.toggle-row {
    min-height: 56px;
}

.toggle-row input,
.toggle-row select {
    flex: 0 0 auto;
}

.settings-select-row select {
    min-width: 140px;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(17, 17, 17, 0.92);
    color: var(--bpc-text);
}

.avatar-upload-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
}

.avatar-upload-copy {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

@media (max-width: 768px) {
    .instagram-player {
        max-width: 100%;
        aspect-ratio: 9 / 16;
    }
}

.campaign-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.progress-section {
    margin-top: 14px;
    margin-bottom: 14px;
}

.campaign-body {
    padding-top: 10px;
}

.campaign-meta {
    margin-top: 10px;
}

.instagram-campaign .campaign-title,
.instagram-campaign .campaign-description,
.instagram-campaign .watch-source-btn,
.instagram-campaign .ig-actions,
.instagram-campaign .status-banner {
    display: none;
}

.instagram-campaign .campaign-body {
    padding-top: 10px;
}

.instagram-campaign .campaign-meta {
    margin-top: 10px;
}

.instagram-campaign .progress-section {
    margin-top: 12px;
    margin-bottom: 8px;
}

.mission-box {
    margin-top: 14px;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 142, 66, 0.2);
}

.mission-box-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.mission-header-meta {
    display: grid;
    gap: 0.35rem;
    justify-items: end;
}

.mission-title {
    margin: 0.2rem 0 0;
}

.mission-total-reward,
.mission-header-status,
.mission-required-timer,
.mission-status,
.mission-code-row {
    color: var(--bpc-muted);
}

.mission-total-reward {
    color: var(--bpc-gold);
    font-weight: 700;
}

.mission-header-status {
    font-size: 0.92rem;
}

.mission-breakdown,
.mission-progress {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.mission-breakdown-row,
.mission-step {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mission-step.done {
    border-color: rgba(74, 222, 128, 0.4);
    color: #4ade80;
}

.mission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mission-actions .btn {
    flex: 1 1 180px;
}

.mission-mini-tracker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.mission-mini-tracker .mission-step {
    flex: 0 0 auto;
    justify-content: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.instagram-campaign .progress-bar,
.instagram-campaign .progress-bar > span {
    height: 8px;
    border-radius: 10px;
}

.unlock-timer {
    color: #ffd700;
    font-weight: 600;
    margin-top: 6px;
}

.progress-bar.complete > span {
    background: linear-gradient(90deg, #1f7a4d, #4ade80);
}

.progress-text.complete {
    color: #4ade80;
    font-weight: 600;
}

.btn.completed {
    background: #0f2a1b;
    border: 1px solid #1f7a4d;
    color: #4ade80;
    cursor: default;
}

.btn.disabled,
.btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.engagement-bar {
    margin-top: 18px;
}

.engagement-btn {
    padding: 10px 16px;
    min-height: 44px;
}

@media (max-width: 1200px) {
    .watch-player {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .watch-layout {
        display: flex;
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .watch-player {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .watch-layout {
        display: block;
    }

    .sidebar {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .watch-player .player-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .watch-player .player-header-right {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .watch-player .reward-pill {
        align-self: flex-end;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.watch-player-shell {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-main {
    padding-bottom: 100px;
}

.action-row {
    flex-wrap: wrap;
    gap: 8px;
}

.action-row .btn {
    flex: 1 1 120px;
    min-width: 120px;
}

.connect-wallet {
    padding: 8px 14px;
    font-size: 13px;
}

.nav {
    align-items: center;
}

@media (max-width: 900px) {
    .watch-layout {
        display: flex;
        flex-direction: column;
    }

    .watch-sidebar {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    #currency-toggle,
    .currency-pill,
    .header-currency {
        display: none;
    }

    .wallet-connect,
    .wallet-pill {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 14px;
    }

    .nav-right {
        gap: 6px;
    }

    body[data-page="watch"] .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    body[data-page="watch"] .action-row .btn {
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        padding: 9px 12px;
        font-size: 13px;
        line-height: 1.2;
    }

    body[data-page="watch"] .action-row .btn,
    body[data-page="watch"] .action-row a.btn {
        border-radius: 10px;
    }

    .section-card {
        padding: 16px;
    }

    .stack {
        gap: 14px;
    }

    .player-header-right {
        flex-wrap: wrap;
        gap: 6px;
    }

    .hero-home {
        padding: 15px;
    }

    .hero-media {
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .hero-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .watch-player-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .watch-player-actions .btn,
    .watch-player-actions a.btn {
        width: 100%;
    }

    body[data-page="watch"] .mission-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        align-items: stretch;
    }

    body[data-page="watch"] .mission-actions .btn,
    body[data-page="watch"] .mission-actions a.btn {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 6px;
        font-size: 11px;
        line-height: 1.15;
        white-space: normal;
        text-align: center;
        border-radius: 10px;
    }

    .profile-header {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 1rem;
        padding: 1rem;
    }

    .profile-header-actions {
        width: 100%;
        justify-items: stretch;
    }

    .profile-quick-links {
        width: 100%;
        justify-content: stretch;
    }

    .profile-quick-links .btn {
        flex: 1 1 100%;
    }

    .quick-access .sidebar-quick-link {
        min-height: 46px;
        padding: 0.75rem 1rem;
        margin-bottom: 0.625rem;
        font-size: 1rem;
    }

    .profile-panel-grid-top,
    .profile-panel-grid-bottom,
    .profile-detail-layout {
        grid-template-columns: 1fr;
    }

    .profile-avatar {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .profile-title {
        font-size: clamp(1.5rem, 7vw, 2.1rem);
    }

    .profile-trust-row {
        width: 100%;
    }

    .trust-score-badge,
    .verification-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .social-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem;
    }

    .social-row button {
        width: 100%;
        margin-top: 0.5rem;
    }

    .toggle-row,
    .verification-row,
    .oauth-route-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem;
    }

    .avatar-upload-panel {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .mission-box-header,
    .mission-header-meta,
    .mission-breakdown-row,
    .mission-step,
    .mission-actions {
        flex-direction: column;
    }

    .mission-mini-tracker {
        flex-direction: row;
    }
}

@media (max-width: 640px) {
    .hero-home {
        padding: 1rem;
    }

    .page-main {
        width: min(calc(100% - 0.75rem), var(--bpc-content));
    }

    .profile-page-main,
    .profile-panel-grid,
    .profile-detail-layout {
        gap: 1rem;
    }
}

#referral-link,
.wallet-panel div,
.summary-row span,
.summary-row strong,
.history-row span,
.history-row strong {
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .page-main {
        width: min(calc(100% - 1.5rem), var(--bpc-content));
    }

    .nav-container {
        width: min(calc(100% - 1.5rem), var(--bpc-content));
        gap: 0.9rem;
    }

    .business-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-grid,
    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .funding-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .stepper-panel,
    .funding-main,
    .summary-panel {
        position: static;
    }

    .watch-player-layout {
        grid-template-columns: 1fr;
    }

    .watch-sidebar {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .nav-container {
        min-height: 72px;
        padding: 12px 0;
    }

    .logo {
        font-size: 1.05rem;
    }

    .cta-row,
    .button-row,
    .action-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cta-row .btn,
    .button-row .btn,
    .action-row .btn,
    .cta-row a.btn,
    .button-row a.btn,
    .action-row a.btn {
        width: auto;
        min-width: 0;
        flex: 1 1 180px;
    }

    .history-card .action-row .btn,
    .history-card .action-row a.btn,
    .section-card .action-row .btn,
    .section-card .action-row a.btn {
        flex: 1 1 160px;
    }

    .summary-row,
    .history-row {
        align-items: flex-start;
    }

    .mobile-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }

    .funding-layout .btn {
        min-height: 40px;
        padding: 0.68rem 0.92rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 640px) {
    .page-main {
        width: min(calc(100% - 1rem), var(--bpc-content));
        padding-top: 1rem;
    }

    .hero-card,
    .section-card,
    .surface,
    .wallet-panel,
    .package-card,
    .payment-card,
    .history-card,
    .comparison-box,
    .reward-card,
    .stat-card {
        padding: 1rem;
    }

    .business-stat-grid {
        grid-template-columns: 1fr;
    }

    body:not([data-page="watch"]) .cta-row,
    body:not([data-page="watch"]) .button-row,
    body:not([data-page="watch"]) .action-row {
        flex-direction: column;
    }

    body:not([data-page="watch"]) .cta-row .btn,
    body:not([data-page="watch"]) .button-row .btn,
    body:not([data-page="watch"]) .action-row .btn,
    body:not([data-page="watch"]) .cta-row a.btn,
    body:not([data-page="watch"]) .button-row a.btn,
    body:not([data-page="watch"]) .action-row a.btn {
        width: 100%;
        flex: 1 1 auto;
        min-height: 42px;
        padding: 0.72rem 0.95rem;
        font-size: 0.94rem;
        border-radius: 14px;
    }

    .summary-row,
    .history-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .table-wrap table {
        min-width: 560px;
    }

    .wallet-connect {
        min-height: 38px;
        padding: 0.55rem 0.8rem;
        font-size: 0.82rem;
    }

    .step-card h3,
    .package-card h3,
    .payment-card h3 {
        font-size: 1rem;
    }

    .funding-layout .btn {
        width: 100%;
    }

    .nav-right {
        gap: 8px;
    }

    .stack {
        gap: 0.9rem;
    }

}

