/* CactusBox mini app: dense controls, lavender surfaces, lime rewards. */
:root {
    color-scheme: light;
    --bg: #d9d6e3;
    --surface: #ece9f1;
    --text: #1d1c21;
    --muted: #686373;
    --violet: #8b6ded;
    --violet-dark: #6a49d1;
    --lime: #e2ff7c;
    --line: #f5f3f9;
    --dark: #202022;
    --done: #b6e8bb;
    --radius: 24px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { min-height: 100dvh; background: #a5a8b3; color: var(--text); font-family: 'Manrope', Arial, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.45; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input, summary { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--violet-dark); outline-offset: 3px; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
[x-cloak] { display: none !important; }

/* A compact account header instead of a marketing masthead. */
.shell { max-width: 480px; min-height: 100dvh; margin: 0 auto; padding-top: max(10px, env(safe-area-inset-top)); background: var(--bg); }
.topbar { display: flex; align-items: center; gap: 9px; margin: 0 12px 12px; padding: 7px 9px; border: 4px solid #efedf5; border-radius: 22px; background: #e6e2ed; }
.topbar__profile { flex: 1; min-width: 0; }
.topbar__profile strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; }
.topbar__profile a { display: flex; align-items: center; gap: 3px; width: fit-content; max-width: 100%; font-size: 11px; color: #694bc1; text-decoration: none; font-weight: 600; }
.topbar__profile a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__profile a svg { width: 12px; height: 12px; }
.topbar__app-name { font-size: 11px; color: #694bc1; }
.help-button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--lime); color: var(--text); }
.help-button svg { width: 20px; height: 20px; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: var(--violet); color: white; font-size: 12px; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 32px; height: 32px; font-size: 10px; }
.scroll { padding: 0 12px calc(94px + env(safe-area-inset-bottom)); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.guest { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 10px; border-radius: 9px; background: #c9c4d8; color: #514a60; font-size: 10px; }
.guest svg { width: 13px; height: 13px; }
.guest strong { font-weight: 800; }
.screen-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 0 4px; }
.screen-heading h1 { font-size: 25px; font-weight: 800; letter-spacing: -.9px; line-height: 1.15; }
.screen-heading__actions { display: flex; align-items: center; gap: 12px; }
.history-intro { margin: 8px 0 12px; }
.admin-shell { max-width: 1120px; }
.admin-shell .topbar { justify-content: space-between; }
.admin-workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 14px; padding: 0 12px 30px; }
.admin-sidebar { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; padding: 14px; border: 4px solid #efedf5; border-radius: 22px; background: #e6e2ed; }
.admin-sidebar__heading { display: flex; flex-direction: column; gap: 3px; }
.admin-sidebar__eyebrow { color: #694bc1; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.admin-sidebar__heading strong { font-size: 14px; font-weight: 800; }
.admin-nav { display: flex; flex-direction: column; gap: 6px; }
.admin-nav__link { display: flex; align-items: center; min-height: 42px; padding: 9px 11px; border: 1px solid #d2c9e0; border-radius: 12px; background: #f4f0fa; color: var(--text); font-size: 11px; font-weight: 800; text-decoration: none; cursor: pointer; user-select: none; }
.admin-nav__link--active { border-color: var(--violet); background: var(--violet); color: #fff; }
.admin-nav__link:not([aria-disabled="true"]):hover { border-color: var(--violet-dark); background: #ded3f4; color: var(--text); }
.admin-nav__link--active:not([aria-disabled="true"]):hover { background: var(--violet-dark); color: #fff; }
.admin-nav__link[aria-disabled="true"] { cursor: default; }
.admin-sidebar__back { display: block; width: 100%; padding: 11px; border: 0; border-top: 1px solid #d0c9dc; background: transparent; color: #694bc1; font-size: 10px; font-weight: 800; text-align: left; text-decoration: none; }
.admin-entry-link { text-decoration: none; }
.admin-content { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-bottom: 30px; }
.admin-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-stats strong { display: block; margin-top: 5px; font-size: 27px; font-weight: 800; }
.admin-stats .field-help { display: block; margin: 0; }
.admin-shortcuts, .admin-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; font-size: 12px; }
.admin-table th { background: #dacef4; font-weight: 800; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid #d7d0e3; }
.admin-table small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-users-table { min-width: 920px; }
.admin-user-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.impersonation-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 2px solid #9a6a25; border-radius: 14px; background: #fff1cd; color: #49330e; font-size: 11px; font-weight: 700; }
.admin-columns, .admin-post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.admin-post-grid .post__body { overflow-wrap: anywhere; }
.admin-shell .notice, .admin-shell .field-help { overflow-wrap: anywhere; }
@media (max-width: 759px) {
    .admin-workspace { grid-template-columns: minmax(0, 1fr); }
    .admin-sidebar { position: static; gap: 10px; padding: 11px; }
    .admin-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-nav__link { white-space: normal; }
    .admin-content { padding-inline: 12px; }
}
@media (min-width: 760px) {
    .admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .admin-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .admin-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.screen-heading__badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--lime); font-size: 10px; font-weight: 700; }
.screen-heading__badge svg { width: 17px; height: 17px; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 32px; padding: 7px 13px; border: 0; border-radius: 999px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; }
.pill-button svg { width: 14px; height: 14px; }

.balance-card { padding: 15px; border: 4px solid #eeedf5; border-radius: var(--radius); background: var(--lime); }
.balance-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; }
.balance-card__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: #f2ffbe; font-size: 10px; }
.balance-card__badge svg { width: 13px; height: 13px; }
.balance-card__value { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 7px; margin: 7px 0 0; }
.balance-card__value strong { max-width: 100%; font-size: clamp(38px, 12vw, 56px); font-weight: 800; letter-spacing: -2.5px; line-height: 1.15; overflow-wrap: anywhere; }
.balance-card__value > span { font-size: 15px; font-weight: 700; }
.balance-card > p { text-align: center; font-size: 11px; font-weight: 600; color: #526027; }
.balance-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 10px 14px; border: 0; border-radius: 999px; background: var(--violet); color: white; font-size: 11px; font-weight: 700; line-height: 1.3; transition: background .15s ease, transform .15s ease; }
.btn svg { width: 15px; height: 15px; }
.btn__content { display: inline-flex; align-items: center; gap: 5px; }
.btn--primary { background: var(--violet); }
.btn--dark { background: var(--dark); }
.btn--small { min-height: 32px; padding: 8px 14px; font-size: 10px; }
.btn--full { width: 100%; justify-content: space-between; }
.btn:active:not(:disabled), .pill-button:active, .action-tile:active { transform: scale(.98); }
.btn[data-loading] { opacity: .6; pointer-events: none; }

/* Tile-sized counters and shortcuts fit above the task list. */
.quick-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-stats > div { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 3px solid #f0edf5; border-radius: 18px; background: var(--surface); }
.stat-icon { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #d4c8f7; color: #5c3aaf; }
.stat-icon--lime { background: #e3f5b4; color: #657830; }
.stat-icon svg { width: 15px; height: 15px; }
.quick-stats strong { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; }
.quick-stats small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; white-space: nowrap; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.action-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px; min-width: 0; border: 3px solid #efebf6; border-radius: 20px; background: var(--surface); color: var(--text); text-align: left; transition: transform .15s; }
.action-tile--violet { background: var(--violet); border-color: #aa91f4; color: #fff; }
.action-tile__icon { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 7px; }
.action-tile__icon > svg { width: 22px; height: 22px; }
.action-tile__icon > .action-tile__arrow { width: 16px; height: 16px; opacity: .7; }
.action-tile strong { font-size: 13px; font-weight: 800; letter-spacing: -.3px; }
.action-tile small { font-size: 10px; color: var(--muted); }
.action-tile--violet small { color: #f1ebff; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 3px; }
.section-heading h2 { font-size: 15px; font-weight: 800; letter-spacing: -.4px; }
.section-heading > span:not(.eyebrow):not(.chip) { font-size: 10px; color: var(--muted); }
.section-heading > svg { width: 16px; height: 16px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 3px 0; border: 0; background: transparent; color: #6142b6; font-size: 10px; font-weight: 700; white-space: nowrap; }
.text-button svg { width: 13px; height: 13px; }

/* Publisher-led task cards with a swipeable featured row. */
.task-card { overflow: hidden; border: 3px solid #f2eff7; border-radius: 20px; background: var(--surface); }
.task-card__head { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 2px solid #f2eff7; background: #b6a1f1; }
.task-card__avatar { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; overflow: hidden; border: 2px solid #f2eff7; border-radius: 13px; background: #ebe4fb; color: #51329c; font-size: 15px; font-weight: 800; }
.task-card__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.task-card__publisher { flex: 1; min-width: 0; }
.task-card__eyebrow { display: block; color: #493276; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.task-card__publisher strong { display: block; overflow-wrap: anywhere; color: #2d1d4b; font-size: 13px; font-weight: 800; }
.task-card__stats { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.task-card__remaining { color: #3d2a65; font-size: 9px; }
.task-card__content { padding: 14px; }
.task-carousel { min-width: 0; }
.task-carousel__slides { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.task-carousel__slides::-webkit-scrollbar { display: none; }
.task-carousel__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.task-carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.task-carousel__arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #bcb6cb; border-radius: 50%; background: var(--surface); color: #6142b6; }
.task-carousel__arrow svg { width: 14px; height: 14px; }
.task-carousel__position { color: var(--muted); font-size: 10px; font-weight: 700; }
.task-carousel__position > span:last-child { font-weight: 500; }
.task-card--featured { border: 2px solid #40315b; border-radius: 24px; background: #faf8ff; box-shadow: 0 5px 0 #40315b; }
.task-card--featured .task-card__head { padding: 18px 14px; gap: 12px; border-bottom: 2px solid #40315b; background: linear-gradient(135deg, #8666ed, #b8a1ff); }
.task-card--featured .task-card__avatar { width: 60px; height: 60px; border: 3px solid #faf8ff; border-radius: 17px; box-shadow: 0 3px 0 #40315b40; font-size: 21px; }
.task-card--featured .task-card__eyebrow { color: #33234e; font-size: 9px; }
.task-card--featured .task-card__publisher strong { font-size: 17px; line-height: 1.3; }
.task-card--featured .reward { padding: 8px 10px; border: 1px solid #40315b; box-shadow: 0 2px 0 #40315b; font-size: 11px; }
.task-card--featured .task-card__content { padding: 16px; }
.task-card--featured h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.5px; }
.task-card--featured .task-card__type { font-size: 10px; }
.task-card__funding { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 14px 0 0; }
.task-card__funding > div { display: flex; flex-direction: column-reverse; gap: 3px; padding: 9px 5px; border: 1px solid #d6c9f2; border-radius: 12px; background: #efe8ff; text-align: center; }
.task-card__funding > div:nth-child(2) { border-color: #b4d2c6; background: #def6e9; }
.task-card__funding > div:last-child { border-color: #c3d76e; background: #edffaf; }
.task-card__funding dt { color: #514560; font-size: 8px; font-weight: 700; }
.task-card__funding dd { margin: 0; color: #28202f; font-size: 22px; font-weight: 800; line-height: 1.1; }
.task-card--featured .task-link { min-height: 46px; border: 1px solid #40315b; border-radius: 14px; background: #7652df; box-shadow: 0 3px 0 #40315b; font-size: 13px; }
.task-card--featured .task-link:hover { background: #6240c4; }
.task-carousel__slides { padding: 2px 0 8px; }
.task-carousel__slide { flex-basis: calc(100% - 16px); }
.task-carousel__controls { margin-top: 6px; }
.task-carousel__dots { display: flex; align-items: center; justify-content: center; gap: 7px; overflow-x: auto; padding: 6px 3px; scrollbar-width: none; }
.task-carousel__dot { position: relative; flex: 0 0 20px; height: 20px; padding: 0; border: 0; background: transparent; }
.task-carousel__dot::after { content: ''; position: absolute; top: 6px; left: 6px; width: 8px; height: 8px; border-radius: 999px; background: #aaa0bf; transition: background .2s, transform .2s; }
.task-carousel__dot--active::after { background: #6a49d1; transform: scale(1.4); }
@media (prefers-reduced-motion: reduce) { .task-carousel__dot::after { transition: none; } }
.task-icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 2px solid white; border-radius: 50%; background: #d9cdf7; color: #6545ba; }
.task-icon svg { width: 17px; height: 17px; }
.task-card__body { flex: 1; min-width: 0; }
.task-card h3 { margin-bottom: 3px; font-size: 15px; font-weight: 800; letter-spacing: -.2px; line-height: 1.35; overflow-wrap: anywhere; }
.task-card__type { color: var(--muted); font-size: 9px; }
.reward { flex-shrink: 0; padding: 5px 9px; border-radius: 999px; background: var(--lime); color: #272b1d; font-size: 10px; font-weight: 800; white-space: nowrap; }
.task-details { margin-top: 10px; }
.task-details summary { width: fit-content; cursor: pointer; color: var(--muted); font-size: 9px; }
.task-details p { padding: 6px 0 3px; color: #514b5d; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.task-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-top: 12px; }
.task-card__owner-actions { display: flex; align-items: center; gap: 9px; }
.task-card__note { color: var(--muted); font-size: 9px; }
.task-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 42px; padding: 10px; border-radius: 12px; background: var(--violet); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.task-link:hover { background: var(--violet-dark); }
.task-card__footer > .btn, .task-card__footer > .completed, .task-card__footer > .task-card__owner-actions { margin-left: auto; }
.task-link svg { width: 13px; height: 13px; }
.completed { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 5px 9px; border-radius: 999px; color: #315b34; font-size: 10px; font-weight: 700; }
.completed svg { width: 13px; height: 13px; }
.task-card--done { background: var(--done); border-color: #d4f1d7; }
.task-card--done .task-card__head { background: #9cdaa5; border-color: #d4f1d7; }
.task-card--done .task-icon { background: #8cd594; color: #254d29; border-color: #def8e1; }
.task-card--done .task-card__type, .task-card--done .task-card__note { color: #4d7450; }
.empty-card { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 88px; padding: 18px; border: 3px solid #ece8f3; border-radius: 20px; background: #d1ccde; }
.empty-card svg { width: 21px; height: 21px; color: #7e6c9c; }
.empty-card h3 { font-size: 12px; font-weight: 700; color: #645a76; }
.task-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.task-summary > span { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 12px; border: 3px solid #f1edf6; border-radius: 20px; background: var(--surface); font-size: 10px; color: var(--muted); }
.task-summary > span:first-child { background: #d3c7f4; }
.task-summary strong { color: var(--text); font-size: 19px; font-weight: 800; }
.task-summary svg { display: none; }
.filters { display: flex; gap: 6px; overflow-x: auto; padding: 2px 1px; scrollbar-width: none; }
.filter { flex-shrink: 0; min-height: 34px; padding: 8px 14px; border: 1px solid #bcb6cb; border-radius: 999px; background: transparent; color: #57505f; font-size: 10px; font-weight: 600; }
.filter--active { background: var(--dark); border-color: var(--dark); color: #fff; }

.card { border: 3px solid #f1edf6; border-radius: 20px; background: var(--surface); }
.card--pad { padding: 14px; }
.card > .section-heading { margin-bottom: 10px; }
.card__meta { color: var(--muted); font-size: 9px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 999px; background: #dacef4; color: #6442b6; font-size: 9px; font-weight: 700; }
.chip svg { width: 12px; height: 12px; }
.screen-intro { padding: 0 4px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.group-card .section-heading { margin-bottom: 10px; }
.group-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.group-card__reward { margin-top: 10px; color: #6242b7; font-size: 10px; font-weight: 800; }
.group-task-card { overflow: hidden; border: 1px solid #cfc4e4; border-radius: 20px; background: #f8f5fd; box-shadow: 0 3px 10px #3d285608; }
.group-task-card__head { display: flex; align-items: center; gap: 10px; padding: 15px; background: #eee7fc; }
.group-task-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: #dacdf8; color: #6642b8; }
.group-task-card__icon svg { width: 21px; height: 21px; }
.group-task-card__heading { flex: 1; min-width: 0; }
.group-task-card__eyebrow { display: block; margin-bottom: 3px; color: #79618f; font-size: 8px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.group-task-card h3 { font-size: 13px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.group-task-card__subtitle { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.group-task-card__reward { flex-shrink: 0; text-align: right; }
.group-task-card__reward strong { display: inline-block; padding: 6px 9px; border-radius: 10px; background: var(--lime); color: #30391b; font-size: 10px; font-weight: 800; }
.group-task-card__reward > span { display: block; margin-top: 4px; color: #79618f; font-size: 8px; }
.group-task-card__content { padding: 12px 15px 15px; }
.group-task-card__hint { color: var(--muted); font-size: 10px; line-height: 1.6; }
.group-task-card__status { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.group-task-card__status > span { display: inline-flex; align-items: center; gap: 5px; color: #28724e; font-size: 10px; font-weight: 800; }
.group-task-card__status svg { width: 15px; height: 15px; }
.group-task-card__status small { color: #557366; font-size: 9px; }
.group-task-card__instructions { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e2d9ee; }
.group-task-card__instructions summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: #79618f; font-size: 10px; font-weight: 600; }
.group-task-card__instructions summary::-webkit-details-marker { display: none; }
.group-task-card__instructions summary svg { width: 13px; height: 13px; }
.group-task-card__instructions[open] summary svg { transform: rotate(90deg); }
.group-task-card__instructions p { padding-top: 8px; color: #5c556a; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.group-task-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.group-task-card__actions .btn { min-height: 36px; padding: 8px 12px; border-radius: 11px; }
.group-task-card__link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 8px 10px; border: 1px solid #d4c6e8; border-radius: 11px; color: #6642b8; background: #f1eafa; font-size: 10px; font-weight: 700; text-decoration: none; }
.group-task-card__link svg { width: 13px; height: 13px; }
.group-task-card__link:hover { background: #e5d9f6; }
.group-task-card--approved { border-color: #bfd5c8; }
.group-task-card--approved .group-task-card__head { background: #eef5f0; }
.group-task-card--approved .group-task-card__reward strong { background: #def0e4; color: #28724e; }
.group-card__actions .btn { min-height: 34px; }
.group-status { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; font-weight: 700; }
.group-status svg { width: 13px; height: 13px; }
.group-status--joined { color: #315b34; }
.post-composer { display: flex; flex-direction: column; gap: 6px; }
.task-card__submission { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; }
.task-card__submission .field-help { margin: 0; }
.post-composer .field-label { margin: 5px 0 0; }
.post-composer .field-label span { color: var(--muted); font-size: 9px; font-weight: 500; }
.post-composer .field-help { margin: 0; }
.post-composer .input { border-color: #d0c6e0; background: #f4f0fa; }
.post-composer__body { min-height: 110px; resize: vertical; line-height: 1.5; }
.post-composer__upload { position: relative; overflow: hidden; border: 1px dashed #ad98d1; border-radius: 16px; background: #f4f0fa; }
.post-composer__upload:focus-within { outline: 2px solid #6442b6; outline-offset: 2px; }
.post-composer__upload-label { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 20px 12px; text-align: center; color: #6442b6; }
.post-composer__upload-label svg { width: 26px; height: 26px; }
.post-composer__upload-label strong { font-size: 12px; }
.post-composer__upload-label span { color: var(--muted); font-size: 10px; }
.post-composer__file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.post-composer__preview { display: block; width: 100%; max-height: 320px; border-radius: 14px; background: #f1edf6; object-fit: contain; }
.post-composer__attachment { overflow: hidden; border: 1px solid #d0c6e0; border-radius: 16px; }
.post-composer__attachment-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; font-size: 10px; }
.post-composer__attachment-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-composer__attachment-meta button { flex-shrink: 0; }
.post-composer__progress progress { width: 100%; height: 6px; accent-color: #6442b6; }
.post-composer__button-fields { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 10px 0; padding: 12px; border: 1px solid #d0c6e0; border-radius: 16px; }
.post__inline-button { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; margin-top: 8px; padding: 12px 30px; border-radius: 10px; background: #358c3b; color: #fff; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; }
.post__inline-button--primary { background: #1671e8; }
.post__inline-button--success { background: #358c3b; }
.post__inline-button--danger { background: #d94752; }
.post__inline-button span { overflow-wrap: anywhere; }
.post__inline-button svg { position: absolute; top: 8px; right: 8px; width: 14px; height: 14px; }
a.post__inline-button:hover { background: #2d7832; }
a.post__inline-button--primary:hover { background: #105fc8; }
a.post__inline-button--success:hover { background: #2d7832; }
a.post__inline-button--danger:hover { background: #bc3540; }
a.post__inline-button:focus-visible { outline: 2px solid #6442b6; outline-offset: 3px; }
.post-destination-step { display: flex; flex-direction: column; gap: 10px; }
.post-composer__group-options { display: flex; flex-direction: column; gap: 8px; }
.post-composer__group-option { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 11px 12px; border: 3px solid #f1edf6; border-radius: 20px; background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.post-composer__group-option:hover { border-color: #c9b8f0; }
.post-composer__group-option:has(input:checked) { border-color: #beabea; background: #eee7fd; }
.post-composer__group-option input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--violet-dark); }
.post-composer__group-copy, .post-composer__group-fee { display: flex; flex-direction: column; gap: 2px; }
.post-composer__group-copy { flex: 1; min-width: 0; }
.post-composer__group-copy strong { overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
.post-composer__group-copy small, .post-composer__group-fee small { color: var(--muted); font-size: 9px; }
.post-composer__group-fee { flex: 0 0 auto; align-items: flex-end; text-align: right; }
.post-composer__group-fee .screen-heading__badge { white-space: nowrap; }
.post-composer__total { padding: 10px 12px; border-radius: 14px; background: #ded8e9; color: var(--muted); font-size: 10px; }
.post-composer__total strong { color: var(--text); font-size: 12px; font-weight: 800; }
.post-composer__browse-groups { margin-top: 12px; }
.field-error { color: #a22e45; font-size: 10px; font-weight: 700; }
.post-card > .section-heading { margin-bottom: 10px; }
.post__image { display: block; width: 100%; max-height: 400px; margin-bottom: 12px; border-radius: 16px; background: #f1edf6; object-fit: contain; }
.post__title { margin-bottom: 7px; font-size: 16px; font-weight: 800; letter-spacing: -.4px; line-height: 1.4; }
.post__body { color: #5c556a; font-size: 12px; line-height: 1.7; white-space: pre-line; }
.post__body + .card__meta { margin-top: 12px; }
.post__byline { margin-top: 10px; color: var(--muted); font-size: 9px; }
.row { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid #d7d0e3; }
.row:first-child { padding-top: 0; }
.row:last-child { padding-bottom: 0; border-bottom: 0; }
.row__ico { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #dacef4; color: #6442b6; }
.row__ico svg { width: 15px; height: 15px; }
.row__body { min-width: 0; flex: 1; }
.row__title { font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.row__sub { font-size: 9px; color: var(--muted); margin-top: 2px; }
.row__amount { padding: 5px 8px; border-radius: 999px; background: var(--lime); font-size: 11px; font-weight: 800; white-space: nowrap; }
.row__amount small, .ref__grid small { font-size: 9px; font-weight: 500; }
.rank__no { width: 15px; flex-shrink: 0; font-size: 12px; font-weight: 800; color: #6d597e; }
.row--me { margin-inline: -6px; padding-inline: 6px; border-radius: 9px; background: #dacef4; }
.ref__link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px; border: 0; border-radius: 14px; background: #d9cdf7; color: #5c3aad; text-align: left; }
.ref__link svg { width: 15px; height: 15px; }
.ref__link strong { font-size: 10px; font-weight: 800; }
.ref__text { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 600; }
.ref__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
.ref__grid > div { padding: 10px; border-radius: 13px; background: #ded8e9; }
.ref__grid dt { font-size: 9px; color: var(--muted); }
.ref__grid dd { margin: 3px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.7px; }
.empty { padding: 5px 0; font-size: 11px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }

/* The home referral explainer uses a slow violet-to-lime outline pulse. */
.referral-guide { border-color: var(--violet); animation: referral-outline 4.8s ease-in-out infinite; }
.referral-guide > .section-heading { margin-bottom: 10px; }
.referral-guide__prompt { display: flex; align-items: center; gap: 7px; padding: 11px; border-radius: 14px; background: #d9cdf7; color: #5c3aad; font-size: 10px; font-weight: 700; }
.referral-guide__prompt svg { width: 16px; height: 16px; }
.referral-guide__steps { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr); align-items: center; gap: 3px; margin-top: 12px; }
.referral-step { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 78px; padding: 8px 4px; border: 2px solid #fff; border-radius: 16px; color: var(--text); text-align: center; }
.referral-step svg { width: 19px; height: 19px; }
.referral-step strong { font-size: 9px; font-weight: 800; line-height: 1.2; }
.referral-step--violet { background: #d9cdf7; color: #5c3aad; }
.referral-step--teal { background: #bcefe4; color: #245d55; }
.referral-step--lime { background: #f0f7c8; color: #566327; }
.referral-step-arrow { color: var(--muted); font-size: 21px; font-weight: 800; text-align: center; }
.referral-guide__reward { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 16px; background: #e3dcf3; }
.referral-guide__reward > div { display: flex; flex-direction: column; gap: 2px; }
.referral-guide__eyebrow, .referral-guide__counts h3 { font-size: 9px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.referral-guide__reward strong { font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1.1; }
.referral-guide__reward small { font-size: 11px; letter-spacing: 0; }
.referral-guide__reward p { color: var(--muted); font-size: 10px; font-weight: 700; text-align: right; }
.referral-guide__counts { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.referral-guide__count-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.referral-guide__count-grid > div { display: flex; align-items: center; gap: 7px; min-height: 47px; padding: 7px; border: 2px solid #f1edf6; border-radius: 15px; background: #e8e4ee; }
.referral-guide__count-grid strong { font-size: 9px; font-weight: 800; line-height: 1.2; }
.referral-guide__count-icon { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 10px; background: #d9cdf7; color: #5c3aad; }
.referral-guide__count-icon--blue { background: #bcefe4; color: #245d55; }
.referral-guide__count-icon svg { width: 15px; height: 15px; }
.referral-guide__counts > p { color: var(--muted); font-size: 9px; line-height: 1.5; }

@keyframes referral-outline {
    0%, 100% { border-color: var(--violet); box-shadow: 0 0 0 0 #8b6ded00; }
    50% { border-color: var(--lime); box-shadow: 0 0 0 3px #8b6ded2e; }
}

/* Dark navigation anchors the light app, like the reference. */
.tabbar { position: fixed; bottom: 0; inset-inline: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none; }
.tabbar__inner { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; max-width: 480px; padding: 10px 12px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #303034; background: var(--dark); pointer-events: auto; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 48px; padding: 7px 2px; border: 0; border-radius: 12px; background: transparent; color: #a49fae; transition: color .15s; }
.tab__icon { display: grid; place-items: center; width: 40px; height: 28px; border-radius: 10px; }
.tab svg { width: 23px; height: 23px; }
.tab > span { font-size: 8px; font-weight: 500; }
.tab--on { color: var(--lime); }
.tab--on .tab__icon { background: #353830; }
.tab--on > span { font-weight: 800; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(85px + env(safe-area-inset-bottom)); width: max-content; max-width: min(90%, 440px); padding: 11px 15px; border: 1px solid #48444f; border-radius: 13px; background: var(--dark); color: white; font-size: 11px; font-weight: 600; text-align: center; transform: translateX(-50%); }

/* Native dialogs contain focus and support Escape without extra JavaScript. */
.dialog { width: calc(100% - 24px); max-width: 450px; max-height: calc(100dvh - 30px); padding: 0; border: 4px solid #f1edf6; border-radius: 25px; background: var(--bg); color: var(--text); overscroll-behavior: contain; box-shadow: 0 20px 80px #17132040; }
.dialog::backdrop { background: #211b366e; backdrop-filter: blur(3px); }
.dialog__content { padding: 18px; }
.dialog h2 { margin: 12px 0 9px; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.8px; }
.dialog .section-heading h2 { margin: 0; font-size: 20px; }
.dialog p { font-size: 11px; line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 700; color: var(--muted); }
.close-button { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 0; border-radius: 50%; background: #c9c1da; color: #41374e; font-size: 23px; line-height: 1; }
.close-button svg { width: 18px; height: 18px; }
.package-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.package { display: flex; align-items: center; gap: 10px; padding: 12px; border: 3px solid #f1edf6; border-radius: 19px; background: var(--surface); color: var(--text); text-align: left; }
.package > span:nth-child(2) { flex: 1; }
.package strong { display: block; font-size: 14px; font-weight: 800; }
.package small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.package__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #d8ccf6; color: #6442b6; }
.package__radio { width: 16px; height: 16px; border: 1px solid #b6adc6; border-radius: 50%; }
.package--selected { border-color: #beabea; background: #d8ccf6; }
.package--selected .package__radio { border: 5px solid var(--violet-dark); background: white; }
.notice { display: flex; align-items: flex-start; gap: 7px; margin: 14px 0; padding: 10px; border-radius: 12px; background: #cbc5d8; color: #53475f; font-size: 10px; line-height: 1.6; }
.notice svg { width: 15px; height: 15px; margin-top: 1px; }
.dialog__alternative { display: flex; width: 100%; margin-top: 10px; text-align: center; white-space: normal; }
.steps { display: flex; gap: 5px; margin: 13px 0 17px; }
.steps > span { width: 34px; height: 5px; border-radius: 999px; background: #bdb6cc; }
.steps > .steps--active { background: var(--violet); }
.field-label { display: block; margin: 17px 0 7px; font-size: 11px; font-weight: 800; }
.input { display: block; width: 100%; min-height: 47px; padding: 12px; border: 2px solid #c3b6dc; border-radius: 13px; background: #f4f0fa; color: var(--text); font-size: 16px; }
.monetag-code-input { min-height: 230px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.5; }
.input::placeholder { color: #9690a1; }
.field-help { display: block; margin: 7px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.input--budget { font-size: 28px; font-weight: 800; }
.budget-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.budget-stepper .input { min-width: 0; text-align: center; }
.budget-stepper__button { min-height: 47px; border: 2px solid #c3b6dc; border-radius: 13px; background: var(--surface); color: var(--text); font-size: 24px; font-weight: 800; }
.budget-stepper__button:disabled { opacity: .45; cursor: not-allowed; }
.budget-equation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; margin: 10px 0; padding: 12px; border-radius: 14px; background: var(--lime); }
.budget-equation strong { font-size: 13px; font-weight: 800; color: #292e1c; }
.task-preview { margin-top: 15px; padding: 13px; border: 3px solid #f1edf6; border-radius: 19px; background: var(--surface); }
.task-preview p { margin-top: 10px; color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.task-preview dl { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #d0c9dc; }
.task-preview dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.task-preview dt { font-size: 10px; color: var(--muted); }
.task-preview dd { margin: 0; font-size: 12px; font-weight: 800; }
.help-steps { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.help-steps > div { display: flex; align-items: center; gap: 10px; }
.help-steps strong { font-size: 12px; font-weight: 700; }

/* Manual TON deposit instructions and the admin review queue. */
.deposit-dialog { max-height: calc(100dvh - 62px); overflow-y: auto; overscroll-behavior: contain; }
.deposit-package { min-height: 66px; }
.deposit-package__label { flex: 1; min-width: 0; }
.deposit-package__price { flex: 0 0 auto; padding: 7px 10px; border: 2px solid #25242a; border-radius: 999px; background: #fbfaff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.deposit-package:disabled { opacity: .52; cursor: not-allowed; }
.deposit-retry-signin { margin: -6px 0 12px; }
.deposit-balance { margin: 8px 0 12px; font-weight: 700; }
.deposit-instructions { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 9px; align-items: start; margin: 15px 0 8px; }
.deposit-qr { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 7px; border: 3px solid #25242a; border-radius: 15px; background: white; }
.deposit-qr__image { display: block; width: 100%; max-width: 180px; aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; }
.deposit-qr small { color: var(--muted); font-size: 8px; text-align: center; }
.deposit-qr .field-help { margin: 0; text-align: center; }
.deposit-instructions__fields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.deposit-copy-field { min-width: 0; }
.deposit-copy-field .field-label { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .35px; }
.deposit-copy-field__value { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 46px; padding: 7px 8px; border: 2px solid #25242a; border-radius: 13px; background: var(--surface); }
.deposit-copy-field__value strong { font-size: 13px; font-weight: 800; }
.deposit-copy-field__value code { min-width: 0; overflow: hidden; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.deposit-copy-button { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 0; border-radius: 9px; background: #50d6b2; color: #13251f; }
.deposit-copy-button svg { width: 16px; height: 16px; }
.deposit-copy-field > small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.deposit-copy-field--memo { margin: 10px 0; }
.deposit-copy-field--memo .deposit-copy-field__value { min-height: 48px; background: #f5df72; }
.deposit-copy-field--memo code { font-size: 13px; letter-spacing: .4px; }
.deposit-copy-status { min-height: 15px; margin: 0 0 7px; color: var(--muted); font-size: 9px; }
.deposit-tonkeeper-button { display: flex; align-items: center; justify-content: center; gap: 8px; background: #0865df; }
.deposit-tonkeeper-button:hover:not(:disabled) { background: #0756bd; }
.deposit-tonkeeper-button svg { width: 17px; height: 17px; }
.deposit-pending { display: flex; flex-direction: column; gap: 8px; margin: 15px 0; padding: 14px; border: 2px solid #c3b6dc; border-radius: 16px; background: var(--surface); }
.deposit-pending p { margin: 0; }
.deposit-pending .field-help { margin: 0; overflow-wrap: anywhere; }
.deposit-admin-card { display: flex; flex-direction: column; gap: 12px; }
.deposit-admin-card .section-heading { margin-bottom: 0; }
.deposit-admin-card h2 { margin: 0; font-size: 16px; }
.deposit-status { text-transform: capitalize; }
.deposit-status--pending { background: #f5df72; color: #4a3b00; }
.deposit-status--approved { background: #bcefe4; color: #245d55; }
.deposit-status--rejected { background: #f4c1c5; color: #762832; }
.deposit-admin-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.deposit-admin-details > div { min-width: 0; }
.deposit-admin-details dt, .deposit-admin-wallet > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.deposit-admin-details dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
.deposit-admin-wallet { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 10px; border-radius: 12px; background: var(--surface); }
.deposit-admin-wallet code { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }

/* Language picker: search, popular languages, and a scrollable full list. */
.language-button { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border: 0; border-radius: 12px; background: #c9c1da; color: #41374e; font-size: 11px; font-weight: 800; }
.language-button__flag { font-size: 15px; line-height: 1; }
.language-button__code { letter-spacing: .4px; }
.language-button svg { width: 14px; height: 14px; }
.language-dialog { max-width: 460px; }
.language-dialog .dialog__content { max-height: calc(100dvh - 62px); overflow-y: auto; overscroll-behavior: contain; }
.language-section-label { margin: 16px 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.language-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.language-option { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 9px 11px; border: 2px solid #e4dfea; border-radius: 14px; background: var(--surface); color: var(--text); text-align: left; }
.language-option__flag { font-size: 19px; line-height: 1; }
.language-option__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.language-option__text strong { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-option__text small { color: var(--muted); font-size: 10px; }
.language-option__code { padding: 4px 7px; border-radius: 8px; background: #ece7f4; color: #4a3f5c; font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.language-option--selected { border-color: var(--violet); background: #eee7fd; }
.language-option--selected .language-option__code { background: var(--violet); color: #fff; }
@media (hover: hover) {
    .language-option:hover { border-color: #c9b8f0; background: #f3eefd; }
}

@media (hover: hover) {
    .btn:hover:not(:disabled), .pill-button:hover { background: var(--violet-dark); }
    .btn--dark:hover:not(:disabled) { background: #36333d; }
    .filter:hover:not(.filter--active) { background: #cec6de; }
    .tab:hover:not(.tab--on) { color: white; }
    .text-button:hover, .task-link:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 350px) {
    .topbar { margin-inline: 9px; }
    .scroll { padding-inline: 9px; }
    .balance-card { padding: 12px; }
    .quick-stats > div { padding-inline: 8px; gap: 6px; }
    .quick-stats small { font-size: 8px; }
    .task-card { padding: 9px; }
    .reward { padding-inline: 7px; font-size: 9px; }
    .task-card h3 { font-size: 11px; }
    .dialog__content { padding: 15px; }
}
@media (min-width: 520px) {
    .shell { border-inline: 1px solid #c6c1d2; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
