/* زرعه وقيض — community platform styles. Uses the theme :root palette vars. */
body.zwq-app{ padding-bottom:0; }
.zwq-wrap{ width:100%; max-width:1200px; margin-inline:auto; padding-inline:16px; }
.zwq-narrow{ max-width:860px; }
.zwq-main{ min-height:60vh; }
.zwq-ic{ width:1.15em; height:1.15em; vertical-align:-.2em; }
.zwq-muted{ color:var(--muted); }
.zwq-center{ text-align:center; }
.zwq-pad{ padding:14px; }

/* ---------- Top bar ---------- */
.zwq-top{ position:sticky; top:0; z-index:60; background:rgba(251,249,242,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.zwq-top-in{ display:flex; align-items:center; gap:14px; padding-block:10px; }
.zwq-logo{ display:flex; align-items:center; gap:10px; }
.zwq-logo-ic{ display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:var(--brand); color:#fff; }
.zwq-logo-ic .zwq-ic{ width:24px; height:24px; }
.zwq-logo-t{ display:flex; flex-direction:column; line-height:1.25; }
.zwq-logo-t strong{ font-size:17px; color:var(--brand-dark); }
.zwq-logo-t small{ font-size:11px; color:var(--muted); max-width:220px; }
.zwq-nav{ display:flex; gap:2px; margin-inline:auto; }
.zwq-nl{ display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:var(--pill); font-size:14px; font-weight:600; color:var(--ink-2); position:relative; }
.zwq-nl:hover{ background:var(--brand-soft); color:var(--brand-dark); }
.zwq-nl.on{ background:var(--brand); color:#fff; }
.zwq-badge{ position:absolute; top:0; inset-inline-end:0; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--accent); color:#fff; font-size:11px; line-height:18px; text-align:center; font-weight:700; }
.zwq-top-actions{ display:flex; align-items:center; gap:8px; margin-inline-start:auto; }
.zwq-iconbtn{ position:relative; display:grid; place-items:center; width:40px; height:40px; border-radius:12px; color:var(--ink-2); }
.zwq-iconbtn:hover{ background:var(--brand-soft); color:var(--brand-dark); }
.zwq-iconbtn .zwq-badge{ top:-2px; inset-inline-end:-2px; }
.zwq-me{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:14px; }
.zwq-me img{ width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid var(--brand-line); }
.zwq-mobilenav{ display:none; gap:4px; overflow-x:auto; padding:6px 14px; border-top:1px solid var(--line); }
.zwq-mobilenav .zwq-nl{ white-space:nowrap; font-size:13px; padding:7px 10px; }

/* ---------- Buttons ---------- */
.zwq-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px; border:1px solid transparent; border-radius:var(--pill); font-weight:600; font-size:14px; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s; }
.zwq-btn:hover{ transform:translateY(-1px); }
.zwq-btn-main{ background:var(--brand); color:#fff; box-shadow:0 6px 16px rgba(35,69,48,.25); }
.zwq-btn-main:hover{ background:var(--brand-dark); color:#fff; }
.zwq-btn-ghost{ background:transparent; border-color:var(--line-2); color:var(--ink-2); }
.zwq-btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.zwq-btn-ghost.on{ background:var(--brand-soft); border-color:var(--brand-line); color:var(--brand-dark); }
.zwq-btn-danger{ background:#b32d2e; color:#fff; }
.zwq-btn-danger:hover{ background:#8f2424; color:#fff; }
.zwq-btn-light{ background:#fff; color:var(--brand-dark); }
.zwq-btn-line{ background:transparent; border-color:rgba(255,255,255,.7); color:#fff; }
.zwq-btn-line:hover{ background:rgba(255,255,255,.15); color:#fff; }
.zwq-btn-s{ min-height:36px; padding:0 14px; font-size:13px; }
.zwq-btn-block{ width:100%; }
.zwq-mini{ display:inline-flex; align-items:center; gap:5px; border:0; background:none; font:inherit; font-size:13px; color:var(--muted); cursor:pointer; padding:4px 8px; border-radius:8px; }
.zwq-mini:hover{ background:var(--brand-soft); color:var(--brand-dark); }
.zwq-mini.on{ color:var(--accent-ink); }
.zwq-mini.zwq-danger:hover{ background:#fbeaea; color:#b32d2e; }
.zwq-x{ border:0; background:none; color:var(--muted); cursor:pointer; font-size:14px; }
.zwq-inline{ display:inline-flex; }

/* ---------- Notices / chips / misc ---------- */
.zwq-note{ max-width:1200px; margin:12px auto; padding:12px 18px; border-radius:var(--radius-sm); font-weight:600; }
.zwq-ok{ background:#e7f4e9; color:#1e5c30; border:1px solid #bfe0c6; }
.zwq-err{ background:#fbeaea; color:#8f2424; border:1px solid #ecc; }
.zwq-chip{ display:inline-flex; align-items:center; gap:5px; padding:3px 12px; border-radius:var(--pill); background:var(--brand-soft); color:var(--brand-dark); font-size:12px; font-weight:600; }
.zwq-chip-soft{ background:var(--panel); color:var(--ink-2); }
.zwq-chip-badge{ background:var(--accent-soft); color:var(--accent-ink); }
.zwq-chip-big{ font-size:14px; padding:8px 18px; }
.zwq-chip-available{ background:#e7f4e9; color:#1e5c30; }
.zwq-chip-traded{ background:var(--accent-soft); color:var(--accent-ink); }
.zwq-chip-unavailable{ background:#eee; color:#777; }
.zwq-chip-question{ background:#fdf3e0; color:#8a5a2b; }
.zwq-chip-tip{ background:#e7f4e9; color:#1e5c30; }
.zwq-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.zwq-crumbs{ font-size:13px; color:var(--muted); margin:18px 0; }
.zwq-crumbs a{ color:var(--brand); }
.zwq-count{ color:var(--muted); font-size:14px; }

.zwq-panel{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; margin-bottom:18px; box-shadow:var(--shadow); }
.zwq-empty{ text-align:center; padding:60px 20px; background:#fff; border:1px dashed var(--line-2); border-radius:var(--radius); margin:18px 0; }
.zwq-bigic{ display:inline-grid; place-items:center; width:56px; height:56px; border-radius:16px; background:var(--brand-soft); color:var(--brand); margin-bottom:10px; }
.zwq-bigic .zwq-ic{ width:28px; height:28px; }

/* ---------- Hero ---------- */
.zwq-hero{ background-size:cover; background-position:center; color:#fff; }
.zwq-hero-in{ padding:90px 16px 60px; text-align:center; }
.zwq-hero-kicker{ display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.14); padding:7px 18px; border-radius:var(--pill); font-size:14px; font-weight:600; }
.zwq-hero h1{ color:#fff; font-size:clamp(30px,5vw,52px); margin:18px 0 8px; font-weight:700; }
.zwq-hero p{ font-size:clamp(15px,2vw,19px); opacity:.92; max-width:560px; margin:0 auto 24px; }
.zwq-hero-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.zwq-hero-stats{ display:flex; gap:36px; justify-content:center; flex-wrap:wrap; margin:44px 0 0; padding:0; list-style:none; }
.zwq-hero-stats li{ text-align:center; }
.zwq-hero-stats strong{ display:block; font-size:28px; }
.zwq-hero-stats span{ font-size:13px; opacity:.85; }

/* ---------- Sections ---------- */
.zwq-sec{ margin:44px 0; }
.zwq-sec-t{ font-size:22px; margin-bottom:16px; color:var(--brand-dark); }
.zwq-sec-head{ display:flex; align-items:baseline; justify-content:space-between; }
.zwq-more{ color:var(--brand); font-weight:600; font-size:14px; }
.zwq-pagehead{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:26px 0 18px; flex-wrap:wrap; }
.zwq-pagehead h1{ font-size:26px; margin:0; color:var(--brand-dark); }

/* ---------- Steps ---------- */
.zwq-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.zwq-step{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px 22px; text-align:center; box-shadow:var(--shadow); transition:transform .2s; }
.zwq-step:hover{ transform:translateY(-3px); }
.zwq-step-n{ position:absolute; top:14px; inset-inline-start:16px; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--accent-soft); color:var(--accent-ink); font-weight:700; }

/* ---------- Cards / grid ---------- */
.zwq-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.zwq-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease; }
.zwq-card:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(28,38,32,.11); }
.zwq-item-img{ position:relative; display:block; aspect-ratio:4/3; background:var(--brand-soft); overflow:hidden; }
.zwq-item-img img{ width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.zwq-card:hover .zwq-item-img img{ transform:scale(1.04); }
.zwq-item-state{ position:absolute; top:10px; inset-inline-start:10px; background:rgba(0,0,0,.65); color:#fff; font-size:12px; font-weight:600; padding:3px 10px; border-radius:var(--pill); }
.zwq-item-body{ padding:14px 16px 16px; }
.zwq-item-body h3{ font-size:16px; margin:8px 0 4px; }
.zwq-want{ display:flex; align-items:center; gap:6px; font-size:13px; color:var(--accent-ink); margin:0 0 8px; }
.zwq-item-meta{ display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid var(--line); padding-top:10px; }
.zwq-miniuser{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; }
.zwq-miniuser img{ width:28px; height:28px; border-radius:50%; object-fit:cover; }
.zwq-miniuser small{ display:block; font-weight:400; color:var(--muted); font-size:11px; }
.zwq-region{ display:inline-flex; align-items:center; gap:4px; font-size:12px; }

/* ---------- Members ---------- */
.zwq-members{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.zwq-members-grid{ grid-template-columns:repeat(6,1fr); margin-top:16px; }
.zwq-member{ display:flex; flex-direction:column; align-items:center; gap:6px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 12px; text-align:center; box-shadow:var(--shadow); transition:transform .18s; }
.zwq-member:hover{ transform:translateY(-3px); }
.zwq-member img{ width:64px; height:64px; border-radius:50%; object-fit:cover; border:3px solid var(--brand-line); }
.zwq-member strong{ font-size:14px; }
.zwq-member .zwq-muted{ font-size:12px; }

/* ---------- Tabs / filters ---------- */
.zwq-tabs{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:18px; }
.zwq-tabs a{ padding:8px 16px; border-radius:var(--pill); border:1px solid var(--line); font-size:14px; font-weight:600; color:var(--ink-2); background:#fff; }
.zwq-tabs a.on{ background:var(--brand); border-color:var(--brand); color:#fff; }
.zwq-filters{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:14px; }
.zwq-filters input[type=search], .zwq-filters input[type=text]{ flex:1 1 180px; }
.zwq-filters select{ flex:0 1 160px; }

/* ---------- Forms ---------- */
.zwq-form label{ display:block; font-weight:600; font-size:14px; margin-bottom:12px; }
.zwq-form input[type=text], .zwq-form input[type=search], .zwq-form input[type=number], .zwq-form input[type=file], .zwq-form select, .zwq-form textarea,
.zwq-filters input, .zwq-filters select, .zwq-report-form input, .zwq-comment-form input, .zwq-send input[type=text]{
	display:block; width:100%; margin-top:5px; padding:10px 14px; border:1px solid var(--line-2); border-radius:var(--radius-sm); background:#fff; font:inherit; font-size:14px;
}
.zwq-form input:focus, .zwq-form select:focus, .zwq-form textarea:focus, .zwq-filters input:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.zwq-row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.zwq-imgkeep{ border:1px dashed var(--line-2); border-radius:var(--radius-sm); padding:12px; margin-bottom:12px; }
.zwq-imgkeep legend{ font-size:13px; font-weight:600; }
.zwq-imgkeep label{ display:inline-flex; align-items:center; gap:6px; margin-inline-end:14px; font-weight:400; }
.zwq-imgkeep img{ width:56px; height:56px; object-fit:cover; border-radius:8px; }
.zwq-check{ display:flex; align-items:center; gap:8px; font-weight:400; }
.zwq-check input{ width:auto; margin:0; }

/* ---------- Item page ---------- */
.zwq-itempage{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start; }
.zwq-gallery-main{ width:100%; border-radius:var(--radius); aspect-ratio:4/3; object-fit:cover; background:var(--brand-soft); }
.zwq-gallery-thumbs{ display:flex; gap:8px; margin-top:10px; }
.zwq-gallery-thumbs img{ width:72px; height:72px; object-fit:cover; border-radius:10px; cursor:pointer; border:2px solid transparent; }
.zwq-gallery-thumbs img:hover{ border-color:var(--brand); }
.zwq-iteminfo h1{ font-size:26px; margin:10px 0; }
.zwq-desc{ color:var(--ink-2); }
.zwq-facts{ list-style:none; padding:0; margin:14px 0; }
.zwq-facts li{ display:flex; align-items:center; gap:8px; padding:6px 0; font-size:14px; }
.zwq-facts strong{ min-width:110px; }
.zwq-owner{ display:flex; align-items:center; gap:12px; background:var(--brand-soft); border-radius:var(--radius); padding:12px 16px; margin:14px 0; }
.zwq-owner img{ width:52px; height:52px; border-radius:50%; object-fit:cover; }
.zwq-owner small{ display:block; color:var(--muted); }
.zwq-item-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; align-items:center; }
.zwq-swapbox{ margin-top:18px; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.zwq-swapbox h3{ margin-top:0; }
.zwq-report{ position:relative; display:inline-block; }
.zwq-report summary{ list-style:none; }
.zwq-report summary::-webkit-details-marker{ display:none; }
.zwq-report-form{ position:absolute; top:calc(100% + 6px); inset-inline-end:0; z-index:20; display:flex; gap:6px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:10px; box-shadow:var(--shadow); width:240px; }

/* ---------- Swap rows / detail ---------- */
.zwq-swaplist{ display:flex; flex-direction:column; gap:10px; }
.zwq-swaprow{ display:flex; align-items:center; gap:14px; padding:12px 16px; }
.zwq-swaprow img{ width:56px; height:56px; object-fit:cover; border-radius:12px; background:var(--brand-soft); }
.zwq-swaprow > div{ flex:1; display:flex; flex-direction:column; }
.zwq-swapbadge{ padding:4px 12px; border-radius:var(--pill); font-size:12px; font-weight:700; white-space:nowrap; }
.zwq-st-pending{ background:#fdf3e0; color:#8a5a2b; }
.zwq-st-negotiating{ background:#e8f0fb; color:#2b5a8a; }
.zwq-st-agreed{ background:var(--brand-soft); color:var(--brand-dark); }
.zwq-st-completed, .zwq-st-approved, .zwq-st-delivered{ background:#e7f4e9; color:#1e5c30; }
.zwq-st-rejected, .zwq-st-cancelled{ background:#fbeaea; color:#8f2424; }
.zwq-swaptop{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.zwq-timeline{ display:flex; gap:0; list-style:none; padding:0; margin:16px 0 22px; }
.zwq-timeline li{ flex:1; text-align:center; font-size:13px; color:var(--muted); position:relative; padding-top:26px; }
.zwq-timeline li::before{ content:""; position:absolute; top:12px; inset-inline:0; height:3px; background:var(--line-2); }
.zwq-timeline li:first-child::before{ inset-inline-start:50%; }
.zwq-timeline li:last-child::before{ inset-inline-end:50%; }
.zwq-timeline li span{ position:absolute; top:0; inset-inline-start:calc(50% - 13px); width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:var(--line-2); color:#fff; font-size:12px; font-weight:700; }
.zwq-timeline li.done{ color:var(--brand-dark); font-weight:600; }
.zwq-timeline li.done span, .zwq-timeline li.done::before{ background:var(--brand); }
.zwq-swap-sides{ display:grid; grid-template-columns:1fr auto 1fr; gap:14px; align-items:center; background:var(--panel); border-radius:var(--radius); padding:18px; }
.zwq-side{ display:flex; flex-direction:column; gap:6px; }
.zwq-side small{ font-weight:700; color:var(--accent-ink); }
.zwq-side img{ width:64px; height:64px; object-fit:cover; border-radius:12px; }
.zwq-side-arrow{ color:var(--brand); }
.zwq-side-arrow .zwq-ic{ width:30px; height:30px; }
.zwq-offertext{ font-weight:600; }
.zwq-swapmsg{ border-inline-start:4px solid var(--brand-line); margin:14px 0; padding:10px 16px; color:var(--ink-2); background:#fff; border-radius:8px; }
.zwq-swap-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.zwq-confirms{ font-size:13px; }
.zwq-ratebox{ margin-top:18px; border-top:1px solid var(--line); padding-top:16px; }
.zwq-stars-input{ display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:2px; margin-bottom:10px; }
.zwq-stars-input input{ display:none; }
.zwq-stars-input label{ font-size:26px; color:var(--line-2); cursor:pointer; }
.zwq-stars-input input:checked ~ label, .zwq-stars-input label:hover, .zwq-stars-input label:hover ~ label{ color:#e7a83c; }
.zwq-star{ color:var(--line-2); font-size:16px; }
.zwq-star.on{ color:#e7a83c; }

/* ---------- Chat ---------- */
.zwq-chat{ display:grid; grid-template-columns:300px 1fr; gap:0; background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; min-height:520px; box-shadow:var(--shadow); }
.zwq-convos{ border-inline-end:1px solid var(--line); overflow-y:auto; max-height:70vh; }
.zwq-convo{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid var(--line); position:relative; }
.zwq-convo:hover{ background:var(--brand-soft); }
.zwq-convo.on{ background:var(--brand-soft); }
.zwq-convo img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.zwq-convo-t{ flex:1; display:flex; flex-direction:column; min-width:0; }
.zwq-convo-t small{ color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.zwq-convo .zwq-badge{ position:static; }
.zwq-thread{ display:flex; flex-direction:column; max-height:70vh; }
.zwq-thread-empty{ margin:auto; text-align:center; color:var(--muted); padding:40px; }
.zwq-thread-empty .zwq-ic{ width:52px; height:52px; opacity:.4; }
.zwq-thread-head{ display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid var(--line); }
.zwq-thread-head img{ width:36px; height:36px; }
.zwq-thread-tools{ display:flex; align-items:center; gap:4px; }
.zwq-msgs{ flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:10px; background:var(--bg); }
.zwq-msg{ display:flex; }
.zwq-msg.mine{ justify-content:flex-start; flex-direction:row-reverse; }
.zwq-bubble{ max-width:72%; padding:10px 14px; border-radius:16px; background:#fff; border:1px solid var(--line); font-size:14px; }
.zwq-msg.mine .zwq-bubble{ background:var(--brand); color:#fff; border-color:var(--brand); }
.zwq-bubble img{ border-radius:10px; margin-bottom:6px; max-width:240px; }
.zwq-bubble small{ display:block; margin-top:4px; font-size:11px; opacity:.7; }
.zwq-send{ display:flex; align-items:center; gap:8px; padding:12px 14px; border-top:1px solid var(--line); }
.zwq-send input[type=text]{ flex:1; margin:0; }
.zwq-send-img{ display:grid; place-items:center; width:42px; height:42px; border-radius:12px; color:var(--brand); cursor:pointer; }
.zwq-send-img:hover{ background:var(--brand-soft); }

/* ---------- Community ---------- */
.zwq-commsplit{ display:grid; grid-template-columns:1fr 300px; gap:22px; align-items:start; }
.zwq-feed{ display:flex; flex-direction:column; gap:14px; }
.zwq-feed-3{ display:grid; grid-template-columns:repeat(3,1fr); }
.zwq-feed-3 .zwq-post{ display:flex; flex-direction:column; }
.zwq-post{ padding:18px; }
.zwq-post-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.zwq-post-head img{ width:40px; height:40px; }
.zwq-post-body{ font-size:15px; }
.zwq-post-img{ border-radius:var(--radius-sm); margin:10px 0; }
.zwq-post-actions{ display:flex; align-items:center; gap:8px; border-top:1px solid var(--line); padding-top:8px; margin-top:8px; }
.zwq-comments{ margin-top:10px; border-top:1px dashed var(--line); padding-top:8px; }
.zwq-comment{ display:flex; gap:8px; font-size:13px; margin-bottom:8px; }
.zwq-comment img{ width:26px; height:26px; border-radius:50%; object-fit:cover; }
.zwq-comment-form{ display:flex; gap:8px; margin-top:8px; }
.zwq-comment-form input{ flex:1; margin:0; }
.zwq-composer textarea{ width:100%; margin:10px 0; }
.zwq-composer-head{ display:flex; align-items:center; gap:10px; }
.zwq-composer-head img{ width:40px; height:40px; border-radius:50%; object-fit:cover; }
.zwq-composer-head select{ margin:0; width:auto; }
.zwq-composer-foot{ display:flex; align-items:center; justify-content:space-between; }
.zwq-chal{ border-inline-start:4px solid var(--accent); }
.zwq-chal-i{ padding:8px 0; border-bottom:1px dashed var(--line); }
.zwq-chal-i:last-child{ border-bottom:0; }
.zwq-toplist{ margin:0; padding-inline-start:18px; }
.zwq-toplist li{ display:flex; justify-content:space-between; padding:4px 0; }
.zwq-toplist span{ font-weight:700; color:var(--brand); }

/* ---------- Profile ---------- */
.zwq-profile-head{ display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; margin-top:26px; }
.zwq-avatar{ width:110px; height:110px; border-radius:50%; object-fit:cover; border:4px solid var(--brand-line); }
.zwq-profile-t{ flex:1; min-width:240px; }
.zwq-profile-t h1{ margin:0; font-size:24px; }
.zwq-joined{ display:flex; align-items:center; gap:6px; font-size:13px; }
.zwq-rating{ display:flex; align-items:center; gap:6px; }
.zwq-profile-actions{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.zwq-avatar-edit{ display:flex; align-items:center; gap:16px; margin-bottom:14px; }
.zwq-avatar-edit img{ width:80px; height:80px; border-radius:50%; object-fit:cover; }

/* ---------- Stats ---------- */
.zwq-statgrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:18px 0; }
.zwq-statgrid-3{ grid-template-columns:repeat(3,1fr); }
.zwq-stat{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; text-align:center; box-shadow:var(--shadow); }
.zwq-stat strong{ display:block; font-size:24px; color:var(--brand-dark); }
.zwq-stat span{ font-size:13px; color:var(--muted); }
.zwq-stat-big{ background:var(--brand); color:#fff; }
.zwq-stat-big strong{ color:#fff; font-size:30px; }
.zwq-stat-big span{ color:#d5e6d8; }
.zwq-stat-big .zwq-bigic{ background:rgba(255,255,255,.16); color:#fff; }

/* ---------- Wallet / rewards / notifs ---------- */
.zwq-earnlist{ list-style:none; padding:0; margin:0; }
.zwq-earnlist li{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--line); }
.zwq-earnlist strong{ color:var(--brand); }
.zwq-table{ width:100%; border-collapse:collapse; font-size:14px; }
.zwq-table th{ text-align:start; padding:8px 10px; border-bottom:2px solid var(--line); color:var(--muted); font-size:13px; }
.zwq-table td{ padding:9px 10px; border-bottom:1px solid var(--line); }
.zwq-pos{ color:#1e5c30; font-weight:700; }
.zwq-neg{ color:#8f2424; font-weight:700; }
.zwq-reward-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.zwq-cost{ display:inline-flex; align-items:center; gap:6px; font-weight:700; color:var(--accent-ink); font-size:17px; }
.zwq-notifs{ list-style:none; padding:0; margin:0; }
.zwq-notif a{ display:flex; gap:12px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:12px 16px; margin-bottom:8px; }
.zwq-notif.unread a{ border-inline-start:4px solid var(--brand); background:var(--brand-soft); }
.zwq-notif-ic{ display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:var(--panel); color:var(--brand); flex:none; }
.zwq-notif small{ display:block; }
.zwq-rate{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

/* ---------- CTA ---------- */
.zwq-cta{ background:linear-gradient(135deg,var(--brand),var(--brand-dark)); color:#fff; border-radius:var(--radius); padding:50px 30px; text-align:center; margin:50px 0; }
.zwq-cta h2{ color:#fff; }
.zwq-cta p{ opacity:.9; }

/* ---------- Footer ---------- */
.zwq-foot{ background:var(--brand-dark); color:#d5e6d8; margin-top:60px; padding:44px 0 22px; }
.zwq-foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:26px; }
.zwq-foot h4{ color:#fff; margin-bottom:10px; }
.zwq-foot a{ display:block; color:#d5e6d8; padding:3px 0; font-size:14px; }
.zwq-foot a:hover{ color:#fff; }
.zwq-foot-logo .zwq-logo-ic{ background:rgba(255,255,255,.15); }
.zwq-foot-logo strong{ color:#fff; }
.zwq-foot .zwq-muted{ color:#a9c4ae; }
.zwq-foot-base{ border-top:1px solid rgba(255,255,255,.12); margin-top:26px; padding-top:16px; text-align:center; font-size:13px; color:#a9c4ae; }
.zwq-danger-zone{ border-color:#ecc; }
.zwq-content h1{ font-size:24px; }

/* ---------- Pager ---------- */
.zwq-pager{ display:flex; gap:6px; justify-content:center; margin:24px 0; }
.zwq-pager a, .zwq-pager span{ min-width:38px; height:38px; display:grid; place-items:center; border-radius:10px; border:1px solid var(--line); background:#fff; font-weight:600; }
.zwq-pager span.on{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width:1020px){
	.zwq-grid{ grid-template-columns:repeat(3,1fr); }
	.zwq-members{ grid-template-columns:repeat(4,1fr); }
	.zwq-members-grid{ grid-template-columns:repeat(4,1fr); }
	.zwq-nav{ display:none; }
	.zwq-mobilenav{ display:flex; }
	.zwq-commsplit{ grid-template-columns:1fr; }
	.zwq-foot-grid{ grid-template-columns:1fr 1fr; }
	.zwq-itempage{ grid-template-columns:1fr; }
}
@media (max-width:720px){
	.zwq-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
	.zwq-members{ grid-template-columns:repeat(3,1fr); }
	.zwq-members-grid{ grid-template-columns:repeat(3,1fr); }
	.zwq-steps{ grid-template-columns:1fr; }
	.zwq-statgrid{ grid-template-columns:repeat(2,1fr); }
	.zwq-feed-3{ grid-template-columns:1fr; }
	.zwq-hero-in{ padding:60px 16px 40px; }
	.zwq-hero-stats{ gap:20px; }
	.zwq-me span{ display:none; }
	.zwq-row2{ grid-template-columns:1fr; }
	.zwq-chat{ grid-template-columns:1fr; min-height:auto; }
	.zwq-convos{ display:none; }
	.zwq-chat.open .zwq-convos{ display:block; max-height:40vh; }
	.zwq-chat:not(.open) .zwq-thread{ display:none; }
	.zwq-top-actions .zwq-btn{ padding:0 12px; min-height:38px; font-size:13px; }
	.zwq-logo-t small{ display:none; }
	.zwq-filters{ flex-direction:column; }
	.zwq-filters select{ flex:1; }
	.zwq-foot-grid{ grid-template-columns:1fr; }
	.zwq-bubble{ max-width:88%; }
	.zwq-swap-sides{ grid-template-columns:1fr; text-align:center; }
	.zwq-side{ align-items:center; }
	.zwq-side-arrow{ transform:rotate(90deg); margin:auto; }
}