/*
 * OffersWalls v2 skin — one dark theme for every page.
 * Loaded after theme.css and overrides it; theme.css stays untouched, so
 * removing this file's <link> restores the previous look. Colours come from
 * the variables below, so a second theme would only need another set of them.
 */
:root {
    --ow-bg: #0b1020;
    --ow-surface: #151b2e;
    --ow-surface-2: #1c2440;
    --ow-field: #0f1528;
    --ow-line: #2a3350;
    --ow-text: #f2f5fa;
    --ow-muted: #a9b4cc;
    --ow-accent: #19c37d;
    --ow-accent-ink: #06281a;
    --ow-accent-text: #19c37d;
    --ow-ok-text: #8fe6bf;
    --ow-bonus: #f5b83d;
    --ow-link: #8ab8ff;
    --ow-danger: #ffa3a3;
}

html,
body {
    background: var(--ow-bg) !important;
    color: var(--ow-text);
}

/* ---------- Reset of the old light backgrounds ---------- */
/* theme.css gives dozens of page-specific blocks their own light background.
   Inside the page body every block starts transparent; the cards, tiles and
   controls below then get the new surfaces back. Graphics that are drawn
   with a background (progress fills, the wheel) are left alone. */
:is(body, #ow-a#ow-b#ow-c) main :is(div, section, article, aside, header, footer, span, p, li, ul, ol, table, thead, tbody, tfoot, tr, td, th, form, fieldset, label, small, strong, em, b, h1, h2, h3, h4, h5, h6, details, summary, figure, blockquote, dl, dt, dd):not(.progress-bar):not([class*="wheel"]):not([class*="btn"]):not(.badge):not([class*="fill"]):not([class*="meter"]):not([class*="avatar"]) {
    background-color: transparent !important;
    background-image: none !important;
}

/* ---------- Surfaces ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-page-shell,
:is(body, #ow-a#ow-b#ow-c#ow-d) .box-style,
:is(body, #ow-a#ow-b#ow-c#ow-d) #blue-box,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-form-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-table-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-surface-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-dashboard-hero,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-page-hero,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) #sidebar-block,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-wheel-hero,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-offer-frame-wrap,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-withdraw-history,
:is(body, #ow-a#ow-b#ow-c#ow-d) .membership-option,
:is(body, #ow-a#ow-b#ow-c#ow-d) .card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .card-header,
:is(body, #ow-a#ow-b#ow-c#ow-d) .card-body,
:is(body, #ow-a#ow-b#ow-c#ow-d) .card-footer,
:is(body, #ow-a#ow-b#ow-c#ow-d) .jumbotron,
:is(body, #ow-a#ow-b#ow-c#ow-d) .list-group-item,
:is(body, #ow-a#ow-b#ow-c#ow-d) .modal-content,
:is(body, #ow-a#ow-b#ow-c#ow-d) .dropdown-menu,
:is(body, #ow-a#ow-b#ow-c#ow-d) .popover,
:is(body, #ow-a#ow-b#ow-c#ow-d) .bg-white,
:is(body, #ow-a#ow-b#ow-c#ow-d) .bg-light {
    background: var(--ow-surface) !important;
    border-color: var(--ow-line) !important;
    box-shadow: none !important;
    color: var(--ow-text) !important;
}

/* A page shell that only wraps other cards should not add a second frame. */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-page-shell,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-page-shell.bg-white {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

/* Tiles that sit inside a surface */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-metric-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-dashboard-stat,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-task-item,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-action-tile,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-quest-item,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-checkin-day,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-leaderboard-row,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-game-tile,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-social-tile,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-offer-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-badge-tile,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-streak-day,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-gift-preview,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-proof-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-level-card,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-ticker,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-payout-ticker,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-summary-strip > div,
:is(body, #ow-a#ow-b#ow-c#ow-d) #blue-box .title,
:is(body, #ow-a#ow-b#ow-c#ow-d) .progress,
:is(body, #ow-a#ow-b#ow-c#ow-d) pre,
:is(body, #ow-a#ow-b#ow-c#ow-d) code {
    background: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    box-shadow: none !important;
    color: var(--ow-text) !important;
}

/* ---------- Text ---------- */
/* theme.css hard-codes dark ink on hundreds of selectors; inside the page
   body every text element takes its container's colour instead. */
:is(body, #ow-a#ow-b#ow-c) main :is(h1, h2, h3, h4, h5, h6, p, li, label, legend, dt, dd, th, td, tr, strong, b, span, small, div, section, article, summary, figcaption, blockquote, u, em, i, font, center, ol, ul, table, form, details),
:is(body, #ow-a#ow-b#ow-c) .modal-content :is(h1, h2, h3, h4, h5, h6, p, li, label, strong, b, span, small, div),
:is(body, #ow-a#ow-b#ow-c) .site-sidebar :is(h1, h2, h3, h4, h5, h6, p, li, label, strong, b, span, small, div) {
    color: inherit !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) main,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar {
    color: var(--ow-text);
}

:is(body, #ow-a#ow-b#ow-c#ow-d) main :is(small, .small, .text-muted, .form-text, .site-inline-note, figcaption),
:is(body, #ow-a#ow-b#ow-c#ow-d) main .site-metric-card > span,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .site-dashboard-stat > span,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .site-task-item small,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .site-table-head p,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .site-page-hero p,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar small {
    color: var(--ow-muted) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) main a:not([class*="btn"]):not(.page-link):not(.dropdown-item):not(.site-action-tile):not(.site-offer-card):not(.site-social-tile):not(.site-game-tile),
:is(body, #ow-a#ow-b#ow-c#ow-d) .modal-content a:not([class*="btn"]) {
    color: var(--ow-link) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-success,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-success * { color: var(--ow-accent-text) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-danger,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-danger * { color: var(--ow-danger) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-warning,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-warning * { color: var(--ow-bonus) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-dark,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .text-body { color: var(--ow-text) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) main [data-ow-bal="bonus"] { color: var(--ow-bonus) !important; }

:is(body, #ow-a#ow-b#ow-c#ow-d) .site-section-kicker {
    background: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-link) !important;
}

/* ---------- Forms ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) main :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]), select, textarea),
:is(body, #ow-a#ow-b#ow-c#ow-d) .modal-content :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]), select, textarea),
:is(body, #ow-a#ow-b#ow-c#ow-d) .form-control,
:is(body, #ow-a#ow-b#ow-c#ow-d) .custom-select {
    background-color: var(--ow-field) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-text) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .form-control::placeholder,
:is(body, #ow-a#ow-b#ow-c#ow-d) main input::placeholder,
:is(body, #ow-a#ow-b#ow-c#ow-d) main textarea::placeholder {
    color: var(--ow-muted) !important;
    opacity: 1;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .form-control:focus,
:is(body, #ow-a#ow-b#ow-c#ow-d) .custom-select:focus,
:is(body, #ow-a#ow-b#ow-c#ow-d) main :is(input, select, textarea):focus {
    border-color: var(--ow-accent) !important;
    box-shadow: 0 0 0 2px rgba(25, 195, 125, 0.25) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .input-group-text {
    background: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-muted) !important;
}

/* ---------- Tables ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .table,
:is(body, #ow-a#ow-b#ow-c#ow-d) main table {
    color: var(--ow-text) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .table th,
:is(body, #ow-a#ow-b#ow-c#ow-d) .table td,
:is(body, #ow-a#ow-b#ow-c#ow-d) main table th,
:is(body, #ow-a#ow-b#ow-c#ow-d) main table td {
    background: transparent !important;
    border-color: var(--ow-line) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .table thead th,
:is(body, #ow-a#ow-b#ow-c#ow-d) .table tfoot th,
:is(body, #ow-a#ow-b#ow-c#ow-d) .thead-dark th,
:is(body, #ow-a#ow-b#ow-c#ow-d) .thead-light th {
    background: var(--ow-surface-2) !important;
    color: var(--ow-muted) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .table-striped tbody tr:nth-of-type(odd) > * {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* ---------- Alerts ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .alert {
    background: var(--ow-surface-2) !important;
    border: 1px solid var(--ow-line) !important;
    color: var(--ow-text) !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .alert-danger { border-color: #8a3a3a !important; color: var(--ow-danger) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .alert-success { border-color: #1f7a56 !important; color: var(--ow-ok-text) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .alert-warning { border-color: #8a6a1c !important; color: var(--ow-bonus) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .alert-info { border-color: #2f5f9e !important; color: var(--ow-link) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .alert * { color: inherit !important; }

/* ---------- Buttons ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-primary-btn,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-success,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-primary,
:is(body, #ow-a#ow-b#ow-c#ow-d) main input[type="submit"],
:is(body, #ow-a#ow-b#ow-c#ow-d) main button[type="submit"]:not(.close) {
    background: var(--ow-accent) !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--ow-accent-ink) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .site-primary-btn *,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-success *,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-primary * {
    color: inherit !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .site-ghost-btn,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-secondary,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-light,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-outline-primary,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-outline-secondary,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-outline-success,
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-default,
:is(body, #ow-a#ow-b#ow-c#ow-d) main .btn:not(.btn-success):not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-link) {
    background: var(--ow-surface-2) !important;
    border: 1px solid var(--ow-line) !important;
    box-shadow: none !important;
    color: var(--ow-text) !important;
}

:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-danger { background: #b23b3b !important; border: 0 !important; color: #fff !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-warning { background: var(--ow-bonus) !important; border: 0 !important; color: #2b1d00 !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .btn-link { color: var(--ow-link) !important; }

:is(body, #ow-a#ow-b#ow-c#ow-d) .page-link {
    background: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-text) !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .page-item.active .page-link {
    background: var(--ow-accent) !important;
    border-color: var(--ow-accent) !important;
    color: var(--ow-accent-ink) !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .page-item.disabled .page-link { color: var(--ow-muted) !important; }

/* ---------- Menus and dialogs ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .dropdown-item,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-dropdown-item { color: var(--ow-text) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .dropdown-item:hover,
:is(body, #ow-a#ow-b#ow-c#ow-d) .dropdown-item:focus { background: var(--ow-surface-2) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .dropdown-divider,
:is(body, #ow-a#ow-b#ow-c#ow-d) .modal-header,
:is(body, #ow-a#ow-b#ow-c#ow-d) .modal-footer,
:is(body, #ow-a#ow-b#ow-c#ow-d) hr { border-color: var(--ow-line) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .close { color: var(--ow-text) !important; text-shadow: none !important; }

/* ---------- Header: short brand, balance always visible ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
}

.ow-topbar-balance {
    align-items: center;
    background: var(--ow-surface);
    border: 1px solid var(--ow-line);
    border-radius: 12px;
    color: var(--ow-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: auto;
    margin-right: 10px;
    min-height: 44px;
    padding: 4px 12px;
    text-decoration: none;
    white-space: nowrap;
}
.ow-topbar-balance:hover { color: var(--ow-text); text-decoration: none; }
.ow-topbar-balance .ow-topbar-coins { font-size: 0.85rem; font-weight: 700; }
.ow-topbar-balance .ow-topbar-bonus { color: var(--ow-bonus); font-size: 0.75rem; font-weight: 600; }
/* The same figures used to sit inside the collapsed menu. */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-nav-shell .site-balance-pill { display: none !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-theme-toggle { display: none !important; }

/* ---------- Bottom tab bar (phones, signed-in members) ---------- */
.ow-tabbar { display: none; }

@media (max-width: 991.98px) {
    .ow-tabbar {
        background: var(--ow-field);
        border-top: 1px solid var(--ow-line);
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        left: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
        position: fixed;
        right: 0;
        z-index: 1030;
    }
    .ow-tabbar a {
        align-items: center;
        color: var(--ow-muted);
        display: flex;
        flex-direction: column;
        font-size: 0.72rem;
        font-weight: 600;
        gap: 3px;
        justify-content: center;
        min-height: 58px;
        text-decoration: none;
    }
    .ow-tabbar a .fa { font-size: 1.15rem; }
    .ow-tabbar a.is-active { color: var(--ow-accent-text); }
    body.ow-has-tabbar { padding-bottom: 72px; }
    body.ow-has-tabbar .site-footer { padding-bottom: 84px; }
}

/* ---------- Leftovers found by the contrast check ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand-mark,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand-mark * { color: var(--ow-accent-ink) !important; }

/* Sidebar: inner blocks had their own light backgrounds. */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar :is(div, a, span, p, section, ul, li):not(.progress):not(.progress-bar):not([class*="btn"]) {
    background-color: transparent !important;
    background-image: none !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar :is(.site-sidebar-action, .site-sidebar-spotlight a, .site-sidebar-link) {
    background-color: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-text) !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar a,
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar a * { color: var(--ow-text) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-sidebar .progress { background-color: var(--ow-surface-2) !important; }

:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.site-proof-ticker, .site-proof-ticker-label, .site-proof-ticker-item, .site-proof-ticker-track) {
    background: var(--ow-surface) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-text) !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.site-eyebrow, .site-section-kicker, .site-pill, .site-chip, .badge-light) {
    background: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    color: var(--ow-link) !important;
}

/* ---------- More tiles and states found by the contrast check ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.site-proof-ticker-item em, .site-task-item > span, .site-quest-badge, .site-badge, .site-wheel-prize-chip, .site-affiliate-metric, .site-rank-pill, .site-job-card, .site-job-head, .site-job-body, .site-status-pill, .site-level-pill, .site-streak-pill, .site-checkin-streak, .site-wheel-prizes, .membership-option) {
    background: var(--ow-surface-2) !important;
    border-color: var(--ow-line) !important;
    box-shadow: none !important;
    color: var(--ow-text) !important;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-reward-wheel-core { color: #fff !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-wheel-hero { border: 1px solid var(--ow-line) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-wheel-hero :is(h2, h3, p, span, strong, small, div):not([class*="disc"]):not([class*="pin"]) { color: var(--ow-text) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.site-checkin-day.is-claimed, .site-quest-item.is-claimed, .site-task-item.is-complete) { border-color: var(--ow-accent) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.site-checkin-day.is-active, .site-quest-item.is-ready) { border-color: var(--ow-bonus) !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) main tr[class*="bg-"] > * { color: var(--ow-text) !important; }

:is(body, #ow-a#ow-b#ow-c#ow-d) .site-reward-wheel-label :is(strong, span, small) { color: #06162e !important; text-shadow: none !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.blockquote-footer, .blockquote-footer *) { color: var(--ow-muted) !important; }

/* ---------- Phone layout: one-row header, content first ---------- */
@media (max-width: 991.98px) {
    /* theme.css lays the phone header out as a grid: brand, balance, menu button in one row. */
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-topbar { align-items: center; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto auto; padding: 10px 12px; }
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand { display: flex; grid-column: 1; grid-row: 1; min-width: 0; }
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand-copy { align-items: flex-start; min-width: 0; text-align: left; }
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ow-topbar-balance { grid-column: 2; grid-row: 1; margin: 0; }
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-nav-toggle { grid-column: 3; grid-row: 1; margin-left: 0; }
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-topbar > .navbar-collapse { grid-column: 1 / -1; }
    /* The tab bar and the menu replace the sidebar shortcuts on phones, so
       every page opens on its own content. */
    :is(body, #ow-a#ow-b#ow-c#ow-d).site-authenticated .site-sidebar { display: none !important; }
}
@media (max-width: 359.98px) {
    :is(body, #ow-a#ow-b#ow-c#ow-d) .site-brand-copy { display: none; }
}

/* ---------- Spacing ---------- */
/* The balance sits next to the menu button on wide screens too. */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-topbar .site-nav-toggle { margin-left: 0; }
/* Cards that used to be transparent now have a surface and need breathing room. */
:is(body, #ow-a#ow-b#ow-c#ow-d) :is(.site-form-card, .site-table-card, .site-surface-card):not(#blue-box) { padding: 18px !important; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-hero-highlight { background: var(--ow-surface-2) !important; border: 1px solid var(--ow-line) !important; border-radius: 16px; padding: 16px !important; }

/* ---------- Home page ---------- */
.ow-home { display: flex; flex-direction: column; gap: 16px; }
.ow-home-hero,
.ow-home-block {
    background: var(--ow-surface);
    border: 1px solid var(--ow-line);
    border-radius: 20px;
    padding: 28px 24px;
}
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 800; line-height: 1.15; margin: 0 0 12px; max-width: 18ch; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-lead { color: var(--ow-muted) !important; font-size: 1.05rem; line-height: 1.55; margin: 0 0 20px; max-width: 56ch; }
.ow-home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ow-home-actions a { min-height: 48px; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-login { color: var(--ow-muted) !important; font-size: 0.92rem; margin: 14px 0 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-block h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 14px; }
.ow-home-steps { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-steps li { background: var(--ow-surface-2) !important; border: 1px solid var(--ow-line); border-radius: 16px; padding: 18px; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-step-num { align-items: center; background: var(--ow-accent) !important; border-radius: 10px; color: var(--ow-accent-ink) !important; display: inline-flex; font-weight: 800; height: 32px; justify-content: center; margin-bottom: 12px; width: 32px; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-steps h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-steps p { color: var(--ow-muted) !important; font-size: 0.93rem; line-height: 1.5; margin: 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-note { color: var(--ow-muted) !important; font-size: 0.9rem; margin: 0 0 12px; }
.ow-home-payouts { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-payouts li { align-items: center; background: var(--ow-surface-2) !important; border: 1px solid var(--ow-line); border-radius: 14px; display: flex; gap: 10px; min-height: 52px; padding: 10px 14px; }
.ow-home-payout-who { flex: 1 1 auto; font-weight: 600; min-width: 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-payout-how { color: var(--ow-muted) !important; font-size: 0.88rem; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-payout-amount { color: var(--ow-accent-text) !important; font-weight: 800; }
.ow-home-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-chips li { background: var(--ow-surface-2) !important; border: 1px solid var(--ow-line); border-radius: 999px; font-size: 0.9rem; font-weight: 600; padding: 8px 14px; }
.ow-home-faq { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-faq details { background: var(--ow-surface-2) !important; border: 1px solid var(--ow-line); border-radius: 14px; padding: 0 16px; }
.ow-home-faq summary { cursor: pointer; font-weight: 600; min-height: 48px; padding: 13px 0; }
:is(body, #ow-a#ow-b#ow-c#ow-d) .ow-home-faq details p { color: var(--ow-muted) !important; line-height: 1.55; margin: 0; padding: 0 0 14px; }
.ow-home-end { align-items: center; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.ow-home-end .ow-home-note { margin: 0; }
@media (max-width: 767.98px) {
    .ow-home-hero, .ow-home-block { border-radius: 16px; padding: 22px 16px; }
    .ow-home-steps, .ow-home-payouts { grid-template-columns: 1fr; }
    .ow-home-actions a { justify-content: center; width: 100%; }
}

/* ---------- Page ground follows the theme ---------- */
:is(body, #ow-a#ow-b#ow-c#ow-d) .site-frame { background: var(--ow-bg) !important; background-image: none !important; }
