/* HalalVerified Rewards — uses the theme's variables when available. */
.hvr { --hvr-g: var(--hv-green, #0f7b4b); --hvr-ink: var(--hv-ink, #14251c); --hvr-muted: var(--hv-muted, #5b6b61); --hvr-line: var(--hv-line, #e1e8e3); --hvr-bg: var(--hv-bg, #f4f7f5); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hvr h2 { margin: 0 0 12px; font-size: 1.3rem; }
.hvr-muted { color: var(--hvr-muted); font-size: .95rem; }
.hvr-wallet { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, var(--hvr-g), #0b5c38); color: #fff; }
.hvr-wallet > div { display: flex; flex-direction: column; }
.hvr-wallet__label { opacity: .85; font-size: .9rem; }
.hvr-wallet__bal { font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.hvr-wallet__unit { opacity: .9; }
.hvr-wallet--out { display: block; background: var(--hvr-bg); color: var(--hvr-ink); border: 1px solid var(--hvr-line); }
.hvr-wallet--out p { margin: 0 0 10px; }
.hvr-earn ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.hvr-earn li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; background: var(--hvr-bg); border-radius: 12px; }
.hvr-earn__pts { flex: none; min-width: 52px; text-align: center; font-weight: 800; color: var(--hvr-g); }
.hvr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.hvr-card { display: flex; flex-direction: column; border: 1px solid var(--hvr-line); border-radius: 16px; overflow: hidden; background: #fff; }
.hvr-card__img img { display: block; width: 100%; height: 150px; object-fit: cover; }
.hvr-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hvr-card h3 { margin: 0; font-size: 1.05rem; }
.hvr-card__desc { color: var(--hvr-muted); font-size: .93rem; }
.hvr-card__desc p { margin: 0 0 6px; }
.hvr-card__cost { margin: auto 0 4px; font-weight: 800; color: var(--hvr-g); }
.hvr-card__cost span { font-weight: 400; color: var(--hvr-muted); font-size: .9rem; }
.hvr-card__why { margin: 0; font-size: .9rem; color: var(--hvr-muted); }
.hvr-card form { margin: 0; display: grid; gap: 8px; }
.hvr-ask span { display: block; font-size: .9rem; margin-bottom: 4px; }
.hvr-ask textarea { width: 100%; box-sizing: border-box; }
.hvr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hvr-list li { padding: 12px 14px; border: 1px solid var(--hvr-line); border-radius: 12px; }
.hvr-code code { font-size: 1.05rem; padding: 2px 8px; background: var(--hvr-bg); border-radius: 6px; user-select: all; }
.hvr-reply { margin-top: 6px; padding: 8px 10px; background: var(--hvr-bg); border-radius: 8px; font-size: .93rem; }
.hvr-tag { display: inline-block; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: var(--hvr-bg); }
.hvr-tag--fulfilled { background: #e3f4ea; color: #0b5c38; }
.hvr-tag--pending { background: #fff4d6; color: #7a5600; }
.hvr-tag--cancelled { background: #f1f1f1; color: #555; }
.hvr-table { width: 100%; border-collapse: collapse; }
.hvr-table td { padding: 9px 6px; border-bottom: 1px solid var(--hvr-line); vertical-align: top; }
.hvr-pts { text-align: right; font-weight: 700; white-space: nowrap; }
.hvr-pts.is-pos { color: var(--hvr-g); }
.hvr-pts.is-neg { color: #a33; }
.hvr-msg { padding: 12px 16px; border-radius: 12px; }
.hvr-msg--ok { background: #e3f4ea; color: #0b5c38; }
.hvr-msg--err { background: #fdecec; color: #8a1f1f; }
.hvr-formnote { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #e3f4ea; color: #0b5c38; font-size: .93rem; }
.hvr-panel__bal { font-size: 1.15rem; margin: 0 0 4px; }
@media (max-width: 600px) { .hvr-wallet__bal { font-size: 2.1rem; } }

/* Invite friends (1.1.0) */
.hvr-invite { min-width: 0; margin: 0; padding: 1.5rem; border-radius: 18px; background: var(--hv-dark, #0b4d2c); color: #fff; }
.hvr-invite h2 { margin: 0 0 .5rem; color: #fff; }
.hvr-invite h3 { margin: 1.25rem 0 .5rem; font-size: 1rem; color: #fff; }
.hvr-invite > p { color: #d6e8dc; margin: 0 0 1rem; max-width: 60ch; }
.hvr-invite .hvr-muted { color: #b9d3c2; font-size: .85rem; margin-top: 1rem; }
.hvr-invite__link label { display: block; font-weight: 600; margin-bottom: .4rem; }
.hvr-invite__row { display: flex; gap: .5rem; }
.hvr-invite__row input { flex: 1; min-width: 0; font: inherit; padding: .7rem .8rem; border-radius: 12px; border: 0; background: #fff; color: var(--hv-ink, #16201a); }
.hvr-invite__row .hv-btn { background: var(--hv-accent, #f2a516); color: #16201a; }
.hvr-share { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 0; padding: 0; }
.hvr-share a, .hvr-share button { display: flex; flex-direction: column; align-items: center; gap: .35rem; font: inherit; font-size: .8rem; font-weight: 600; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; min-width: 56px; }
.hvr-share__ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.hvr-share__ico svg { width: 22px; height: 22px; }
.hvr-share a:focus-visible .hvr-share__ico, .hvr-share button:focus-visible .hvr-share__ico { outline: 2px solid #fff; outline-offset: 2px; }
.hvr-qrbox { margin-top: 1rem; padding: 1rem; background: #fff; color: var(--hv-ink, #16201a); border-radius: 14px; max-width: 260px; }
.hvr-qrbox p { margin: 0 0 .5rem; font-size: .85rem; }
.hvr-qrbox svg { width: 100%; height: auto; display: block; }
.hvr-invite__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.25rem 0 0; background: rgba(255, 255, 255, .08); border-radius: 14px; text-align: center; }
.hvr-invite__stats div { padding: .75rem .25rem; }
.hvr-invite__stats div + div { border-left: 1px solid rgba(255, 255, 255, .15); }
.hvr-invite__stats dt { font-size: .75rem; color: #b9d3c2; order: 2; } .hvr-invite__stats dd { margin: 0; font-size: 1.4rem; font-weight: 800; }
.hvr-invite__stats div { display: flex; flex-direction: column-reverse; }
.hvr-invite__list { list-style: none; margin: 0; padding: 0; }
.hvr-invite__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }
.hvr-invite__list .is-paid { color: #9be3b3; } .hvr-invite__list .is-wait { color: var(--hv-accent, #f2a516); font-weight: 600; text-align: right; }
.hvr-note--invite { padding: .85rem 1rem; border-radius: 12px; background: #fff4dc; color: #6b4600; }
