/* ==========================================================================
   Whitoo — /earn (Woo Kazan) 2026 redesign
   Scoped under .we-page. Replaces the old whitoo-earn.css entirely.

   Structural contract (whitoo-earn.js):
     - .we-tabs and every [data-we-panel] must stay DIRECT children of .we-page
     - the JS toggles .active on tabs and panels
   Global traps handled: whitoo-brand.css `a{color:...!important}`.
   ========================================================================== */

.we-page {
    --we-bg: #070a12;
    --we-panel: #0e131f;
    --we-panel-2: #131a29;
    --we-line: rgba(255, 255, 255, .07);
    --we-line-soft: rgba(255, 255, 255, .04);
    --we-text: #e9edf7;
    --we-muted: #7c869b;
    --we-teal: #22d3ee;
    --we-purple: #a855f7;
    --we-pink: #ec4899;
    --we-blue: #3b82f6;
    --we-amber: #f59e0b;
    --we-green: #10b981;
    --we-radius: 14px;

    --we-gut: clamp(12px, 1.5vw, 30px);
    --we-gap: clamp(12px, 1.2vw, 20px);

    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(78px + 14px) var(--we-gut) 40px;
    color: var(--we-text);
}

body:has(.we-page) {
    background:
        radial-gradient(1000px 520px at 14% -8%, rgba(168, 85, 247, .15), transparent 60%),
        radial-gradient(900px 480px at 86% 0%, rgba(34, 211, 238, .1), transparent 58%),
        #070a12 !important;
}

.we-page :is(h1, h2, h3, b, strong) {
    letter-spacing: -.015em;
}

.we-page > * + * {
    margin-top: var(--we-gap);
}

/* ============================ HERO ============================ */

.we-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(260px, 300px);
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    border: 1px solid var(--we-line);
    border-radius: 18px;
    background:
        radial-gradient(560px 300px at 58% 50%, rgba(168, 85, 247, .22), transparent 66%),
        radial-gradient(420px 240px at 12% 20%, rgba(34, 211, 238, .12), transparent 62%),
        linear-gradient(140deg, #101827, #0a0e18);
}

.we-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border: 1px solid rgba(34, 211, 238, .3);
    border-radius: 18px;
    background: rgba(34, 211, 238, .1);
    color: var(--we-teal);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
}

.we-hero h1 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 43px);
    font-weight: 900;
    line-height: 1.06;
}

.we-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #a855f7, #ec4899 60%, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.we-hero p {
    margin: 0 0 16px;
    max-width: 430px;
    color: var(--we-muted);
    font-size: 13px;
    line-height: 1.6;
}

.we-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.we-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid var(--we-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    color: var(--we-muted);
    font-size: 11px;
    font-weight: 600;
}

.we-chips i {
    color: var(--we-teal);
    font-size: 13px;
}

/* Trophy art (CSS stand-in — no 3D asset available) */
.we-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(150px, 17vw, 230px);
    height: 172px;
}

.we-trophy {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    font-size: clamp(72px, 8vw, 108px);
    line-height: 1;
    background: linear-gradient(150deg, #22d3ee, #a855f7 55%, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(168, 85, 247, .8)) drop-shadow(0 0 44px rgba(34, 211, 238, .45));
    animation: we-float 5s ease-in-out infinite;
}

.we-trophy-glow {
    position: absolute;
    z-index: 1;
    bottom: 16px;
    left: 50%;
    margin-left: -80px;
    width: 160px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, .7), rgba(34, 211, 238, .25) 55%, transparent 72%);
    filter: blur(8px);
    animation: we-pulse 5s ease-in-out infinite;
}

@keyframes we-float {
    0%, 100% { transform: translateY(-5px); }
    50%      { transform: translateY(7px); }
}

@keyframes we-pulse {
    0%, 100% { opacity: .7;  transform: scale(.92); }
    50%      { opacity: 1;   transform: scale(1.06); }
}

.we-coin {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(150deg, #a855f7, #6366f1);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 0 14px rgba(168, 85, 247, .8);
    animation: we-float 4.4s ease-in-out infinite;
}

.we-coin-1 { top: 8%;    left: 2%;   animation-delay: .2s; }
.we-coin-2 { top: 24%;   right: 0;   animation-delay: 1.1s; width: 22px; height: 22px; font-size: 10px; }
.we-coin-3 { bottom: 14%; left: 8%;  animation-delay: 1.9s; width: 22px; height: 22px; font-size: 10px; }

/* Wallet */
.we-wallet {
    padding: 18px 20px;
    border: 1px solid var(--we-line);
    border-radius: var(--we-radius);
    background: rgba(6, 9, 16, .6);
}

.we-wallet small {
    display: block;
    color: var(--we-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.we-wallet strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 900;
}

.we-wallet-sep {
    height: 1px;
    margin: 14px 0;
    background: var(--we-line-soft);
}

.we-trust-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11.5px;
}

.we-trust-score span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--we-muted);
    font-weight: 600;
}

.we-trust-score i {
    color: var(--we-teal);
    font-size: 14px;
}

.we-trust-score b {
    color: #fff;
    font-weight: 800;
}

.we-bar {
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.we-bar > span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
}

/* ============================ STATS ============================ */

.we-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.we-stats article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--we-line);
    border-radius: var(--we-radius);
    background: var(--we-panel);
    min-width: 0;
}

.we-si {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 19px;
    font-style: normal;
}

.we-t-purple { background: rgba(168, 85, 247, .14); color: #c084fc; }
.we-t-teal   { background: rgba(34, 211, 238, .14); color: #22d3ee; }
.we-t-pink   { background: rgba(236, 72, 153, .14); color: #f472b6; }
.we-t-blue   { background: rgba(59, 130, 246, .14); color: #60a5fa; }
.we-t-amber  { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.we-t-green  { background: rgba(16, 185, 129, .14); color: #34d399; }

.we-stats div {
    min-width: 0;
    line-height: 1.3;
}

.we-stats b {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.we-stats span {
    display: block;
    color: var(--we-text);
    font-size: 11px;
    font-weight: 600;
}

.we-stats small {
    display: block;
    color: var(--we-muted);
    font-size: 9.8px;
}

/* ============================ TABS ============================ */

.we-tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--we-line);
    border-radius: 12px;
    background: var(--we-panel);
    overflow-x: auto;
    scrollbar-width: none;
}

.we-tabs::-webkit-scrollbar {
    display: none;
}

.we-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--we-muted);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.we-tabs button:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--we-text);
}

.we-tabs button.active {
    background: rgba(168, 85, 247, .16);
    color: #c084fc;
}

/* whitoo-earn.js toggles .active on the panels */
.we-panel {
    display: none;
    padding: 18px;
    border: 1px solid var(--we-line);
    border-radius: var(--we-radius);
    background: var(--we-panel);
}

.we-panel.active {
    display: block;
}

/* ============================ TOOLS ============================ */

.we-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.we-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 280px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid var(--we-line);
    border-radius: 10px;
    background: var(--we-panel-2);
}

.we-search i {
    color: var(--we-muted);
    font-size: 15px;
}

.we-page .we-search input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--we-text) !important;
    font-size: 12.5px;
    outline: 0;
    box-shadow: none !important;
}

.we-page .we-search input::placeholder {
    color: var(--we-muted);
}

.we-filters {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--we-line);
    border-radius: 10px;
    background: var(--we-panel-2);
}

.we-filters button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--we-muted);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.we-filters button:hover {
    color: var(--we-text);
}

.we-filters button.active {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

/* Campaign strip */
.we-campaigns {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.we-campaigns::-webkit-scrollbar {
    display: none;
}

.we-campaigns article {
    flex: 0 0 auto;
    min-width: 200px;
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid var(--we-line);
    border-radius: 11px;
    background: var(--we-panel-2);
}

.we-campaigns span {
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.we-campaigns .is-live { color: var(--we-green); }
.we-campaigns .is-soon { color: var(--we-amber); }

.we-campaigns b {
    color: #fff;
    font-size: 12.5px;
}

.we-campaigns small {
    color: var(--we-muted);
    font-size: 10.5px;
}

/* ============================ TASK GRID ============================ */

.we-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 12px;
}

.we-task {
    display: flex;
    flex-direction: column;
    padding: 15px 14px;
    border: 1px solid var(--we-line);
    border-radius: var(--we-radius);
    background: var(--we-panel-2);
    min-width: 0;
    transition: transform .16s ease, border-color .16s ease;
}

.we-task:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, .4);
}

.we-task header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.we-ti {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    font-size: 16px;
    font-style: normal;
}

.we-type {
    color: var(--we-muted);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.we-task h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.we-task p {
    margin: 0 0 11px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--we-muted);
    font-size: 10.8px;
    line-height: 1.5;
}

.we-task-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    margin: 0 0 10px;
    padding: 6px 10px;
    border: 1px solid rgba(34, 211, 238, .28);
    border-radius: 8px;
    background: rgba(34, 211, 238, .08);
    color: var(--we-teal) !important;
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none;
}

.we-reward {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    margin-bottom: 11px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 900;
}

.we-reward i {
    font-size: 15px;
}

.we-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--we-muted);
    font-size: 9.5px;
    font-weight: 600;
}

.we-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.we-meta i {
    font-size: 11px;
}

.we-progress {
    height: 4px;
    margin-bottom: 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.we-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
}

/* Action: <details> styled as the reference's button */
.we-action {
    margin-top: auto;
}

.we-action > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 9px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    transition: filter .15s ease;
}

.we-action > summary::-webkit-details-marker {
    display: none;
}

.we-action > summary:hover {
    filter: brightness(1.1);
}

.we-action[open] > summary {
    background: rgba(255, 255, 255, .07);
    margin-bottom: 10px;
}

.we-action form,
.we-history details form {
    display: grid;
    gap: 8px;
}

.we-page .we-action label,
.we-page .we-history label {
    display: grid;
    gap: 4px;
    color: var(--we-muted);
    font-size: 10.5px;
    font-weight: 600;
}

.we-page .we-action input,
.we-page .we-action textarea,
.we-page .we-history input,
.we-page .we-history textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--we-line) !important;
    border-radius: 8px !important;
    background: rgba(6, 9, 16, .6) !important;
    color: var(--we-text) !important;
    font-size: 11.5px;
    box-shadow: none !important;
}

.we-upload {
    display: flex !important;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border: 1px dashed rgba(255, 255, 255, .16);
    border-radius: 8px;
    cursor: pointer;
}

.we-upload i {
    color: var(--we-teal);
    font-size: 15px;
}

.we-mystatus {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: var(--we-text);
    font-size: 10.5px;
    font-weight: 700;
}

.we-primary,
.we-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.we-go {
    margin-top: auto;
}

.we-primary:hover,
.we-go:hover {
    filter: brightness(1.1);
}

.we-upcoming {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding: 9px 11px;
    border-radius: 8px;
    background: rgba(245, 158, 11, .1);
    color: #fbbf24;
    font-size: 10.5px;
    font-weight: 800;
}

.we-upcoming small {
    margin-left: auto;
    opacity: .8;
}

/* ============================ HISTORY / BADGES ============================ */

.we-history {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.we-history article {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--we-line);
    border-radius: 11px;
    background: var(--we-panel-2);
}

.we-history article > div {
    flex: 1;
    min-width: 0;
}

.we-history h3 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
}

.we-history p {
    margin: 0;
    color: var(--we-muted);
    font-size: 10.5px;
}

.we-history small {
    display: block;
    margin-top: 3px;
    color: var(--we-muted);
    font-size: 10px;
    font-style: italic;
}

.we-history > .we-history article > b,
.we-history article > b {
    flex-shrink: 0;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 900;
}

.we-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: var(--we-muted);
    font-size: 9.8px;
    font-weight: 800;
    white-space: nowrap;
}

.we-status i {
    font-size: 11px;
}

.status-paid,
.status-approved,
.status-verified   { background: rgba(16, 185, 129, .14); color: #34d399; }
.status-pending_review,
.status-processing,
.status-risk_review,
.status-appealed   { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.status-rejected,
.status-failed,
.status-account_not_linked { background: rgba(244, 63, 94, .14); color: #fb7185; }

.we-history details {
    flex-basis: 100%;
}

.we-history summary {
    color: var(--we-muted);
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
}

.we-badges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.we-badges article {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 18px 14px;
    border: 1px solid var(--we-line);
    border-radius: var(--we-radius);
    background: var(--we-panel-2);
    text-align: center;
    opacity: .5;
}

.we-badges article.earned {
    opacity: 1;
    border-color: rgba(168, 85, 247, .45);
    background: linear-gradient(160deg, rgba(168, 85, 247, .12), var(--we-panel-2));
}

.we-badges i {
    font-size: 28px;
    color: #c084fc;
}

.we-badges h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.we-badges p {
    margin: 0;
    color: var(--we-muted);
    font-size: 10px;
    line-height: 1.4;
}

.we-badges span {
    margin-top: 4px;
    padding: 3px 9px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: var(--we-muted);
    font-size: 9.5px;
    font-weight: 800;
}

.we-badges article.earned span {
    background: rgba(16, 185, 129, .16);
    color: #34d399;
}

.we-empty {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 34px 12px;
    color: var(--we-muted);
    text-align: center;
}

.we-empty i {
    font-size: 30px;
    opacity: .5;
}

.we-empty h2 {
    margin: 0;
    color: var(--we-text);
    font-size: 14px;
    font-weight: 800;
}

.we-empty p {
    margin: 0;
    font-size: 11.5px;
}

/* ============================ TRUST BANNER ============================ */

.we-trust {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 20px 24px;
    border: 1px solid var(--we-line);
    border-radius: var(--we-radius);
    background:
        radial-gradient(340px 200px at 8% 50%, rgba(34, 211, 238, .16), transparent 66%),
        var(--we-panel);
}

.we-trust-art {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(34, 211, 238, .28), rgba(16, 185, 129, .2));
    color: var(--we-teal);
    font-size: 32px;
    box-shadow: 0 0 26px rgba(34, 211, 238, .35);
}

.we-trust-copy h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.we-trust-copy p {
    margin: 0;
    color: var(--we-muted);
    font-size: 11.5px;
    line-height: 1.55;
}

.we-trust-feats {
    display: flex;
    gap: 26px;
}

.we-trust-feats > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
}

.we-trust-feats .we-si {
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.we-trust-feats b {
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
}

.we-trust-feats small {
    color: var(--we-muted);
    font-size: 9.8px;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1240px) {
    .we-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .we-trust {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .we-trust-feats {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
}

@media (max-width: 1000px) {
    .we-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .we-wallet {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .we-hero {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        padding: 24px 18px;
    }

    .we-hero p {
        margin-inline: auto;
    }

    .we-chips {
        justify-content: center;
    }

    .we-hero-art {
        order: -1;
        justify-self: center;
    }

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

    .we-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .we-search {
        flex: 1 1 auto;
    }

    .we-filters {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .we-trust {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .we-trust-feats {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .we-trust-feats > div {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .we-stats {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .we-history article {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .we-trophy,
    .we-trophy-glow,
    .we-coin {
        animation: none;
    }
}

/* ==========================================================================
   MOBILE COMPACT — keep small cards 2-up; tighten spacing instead of stacking.
   ========================================================================== */

@media (max-width: 640px) {
    .we-page { --we-gut: 10px; --we-gap: 10px; padding-bottom: 24px; }
    .we-hero { padding: 20px 14px; gap: 12px; }
    .we-hero h1 { font-size: clamp(23px, 7.4vw, 31px); margin: 10px 0 8px; }
    .we-hero p { font-size: 12px; margin-bottom: 12px; }
    .we-hero-art { height: 130px; }
    .we-chips { gap: 6px; }
    .we-chips span { padding: 5px 9px; font-size: 10px; }
    .we-wallet { padding: 14px 15px; }

    .we-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .we-stats article { padding: 11px 12px; gap: 9px; }
    .we-si { width: 32px; height: 32px; font-size: 16px; }
    .we-stats b { font-size: 15px; }
    .we-stats span { font-size: 10px; }
    .we-stats small { font-size: 9px; }

    .we-panel { padding: 12px; }
    .we-tabs button { padding: 8px 12px; font-size: 11.5px; }

    .we-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .we-task { padding: 12px 11px; }
    .we-ti { width: 28px; height: 28px; font-size: 14px; }
    .we-task h2 { font-size: 11.5px; }
    .we-task p { -webkit-line-clamp: 2; font-size: 10px; }
    .we-meta { gap: 6px; }

    .we-trust { padding: 16px 14px; gap: 12px; }
}

/* Small phones: still 2-up, not a single tall column. */
@media (max-width: 480px) {
    .we-stats,
    .we-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
