:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #15171a;
  --panel2: #202226;
  --text: #f5f5f6;
  --muted: #a5a5ae;
  --accent: #f5f5f6;
  --line: #2b2b2e;
  --good: #ededf0;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--app-safe-top, 0px));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--app-safe-bottom, 0px));
  --safe-left: max(env(safe-area-inset-left, 0px), var(--app-safe-left, 0px));
  --safe-right: max(env(safe-area-inset-right, 0px), var(--app-safe-right, 0px));
  --dock-clearance: 124px;
  --dock-circle: clamp(44px, calc((100vw - 64px - var(--safe-left) - var(--safe-right)) / 5), 72px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-bottom: var(--dock-clearance); }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; min-height: 100dvh; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; font-weight: 650; touch-action: manipulation; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ambient { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 30% at 100% 0%, #f5f5f60c, transparent); }
.app { position: relative; width: 100%; max-width: 600px; margin: auto; padding: calc(24px + var(--safe-top) + var(--app-content-safe-top, 0px)) calc(clamp(16px, 4.7vw, 26px) + var(--safe-right) + var(--app-content-safe-right, 0px)) var(--dock-clearance) calc(clamp(16px, 4.7vw, 26px) + var(--safe-left) + var(--app-content-safe-left, 0px)); }
.registration .app { padding-bottom: 40px; }
.screen-enter { animation: screen-enter .18s ease-out; }
.opening { text-align: center; padding: 100px 0; }
.opening h1 { font-size: 1.5rem; margin-top: 20px; }
.opening p, .muted { color: var(--muted); }
.brand-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 17px; background: var(--accent); color: #121212; font-size: 1.75rem; font-weight: 800; }
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #232529; color: var(--accent); font-size: 1.25rem; font-weight: 750; object-fit: cover; }
.identity { flex: 1; min-width: 0; background: none; border: 0; text-align: left; padding: 4px 0; }
.identity strong { display: block; font-size: 1.0625rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity span { display: block; margin-top: 5px; font-size: .8125rem; color: var(--muted); font-weight: 500; }
.service-word { max-width: 112px; text-align: right; font-size: .8125rem; font-weight: 750; color: var(--accent); overflow-wrap: anywhere; }
.balance-card { border: 1px solid #393b40; border-radius: 24px; padding: clamp(18px, 4.6vw, 26px); background: linear-gradient(130deg, #232529, #141414 75%); }
.balance-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #b7b9bf; font-size: .875rem; line-height: 1.5; }
.currency { flex-shrink: 0; background: #25272b; border: 1px solid #3a3c42; border-radius: 12px; padding: 7px 10px; color: #c8cbd2; font-size: .75rem; font-weight: 700; }
.balance-number { font-size: clamp(2rem, 9.4vw, 3.25rem); line-height: 1.18; letter-spacing: -1.4px; font-weight: 800; overflow-wrap: anywhere; margin: 18px 0 6px; }
.pending { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin-top: 12px; }
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 30px; align-items: start; }
.quick { min-width: 0; background: none; border: 0; padding: 0 2px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: .875rem; font-weight: 700; line-height: 1.35; }
.quick-label { width: 100%; overflow-wrap: anywhere; }
.action-circle { flex: 0 0 auto; width: clamp(56px, 15vw, 72px); height: clamp(56px, 15vw, 72px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #202226; border: 1px solid #323234; color: var(--accent); }
.action-circle .icon { width: 27px; height: 27px; }
.quick.primary .action-circle { background: var(--accent); color: #151619; border-color: #ffffff; box-shadow: 0 5px 18px #f5f5f617; }
.banner { position: relative; width: 100%; min-height: 106px; aspect-ratio: 10 / 3; border: 1px solid #34363c; border-radius: 22px; overflow: hidden; background: linear-gradient(115deg, #171717, #1c1e22); margin-bottom: 28px; display: flex; align-items: center; padding: 22px; color: var(--text); text-decoration: none; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-copy { z-index: 1; max-width: 75%; overflow-wrap: anywhere; }
.banner-copy strong { font-size: 1.5rem; display: block; letter-spacing: -.6px; font-weight: 800; }
.banner-copy span { font-size: .8125rem; color: #aeb1b9; display: block; margin-top: 8px; line-height: 1.4; }
.banner:not(:has(img))::after { content: '✓'; position: absolute; right: 22px; font-size: 4.5rem; color: var(--accent); font-weight: 700; opacity: .75; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 28px 0 16px; overflow-wrap: anywhere; }
h1 { font-size: 1.625rem; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.2px; margin: 0; font-weight: 750; }
.section-head small { font-size: .75rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric { min-width: 0; border: 1px solid var(--line); background: #151515; border-radius: 20px; padding: 20px 16px; }
.metric.wide { grid-column: 1 / -1; }
.metric strong { display: block; font-size: 1.375rem; line-height: 1.3; letter-spacing: -.4px; font-weight: 750; overflow-wrap: anywhere; }
.metric span { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.45; margin-top: 10px; overflow-wrap: anywhere; }
.menu-list { display: flex; flex-direction: column; gap: 12px; }
.menu-item, .task-card { display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; min-height: 68px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 17px 18px; text-align: left; font-size: .9375rem; font-weight: 650; line-height: 1.45; text-decoration: none; color: var(--text); transition: background .15s, border-color .15s; }
.menu-item:active, .task-card:active { background: #24262b; border-color: #696c74; }
.menu-item .menu-icon { width: 36px; height: 36px; border-radius: 11px; background: #282a30; display: grid; place-items: center; color: var(--accent); flex: 0 0 36px; }
.menu-item .menu-icon .icon { width: 23px; height: 23px; }
.menu-item .label, .task-card .label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.chevron { flex: 0 0 6px; width: 6px; height: 6px; border-top: 1.5px solid #89898f; border-right: 1.5px solid #89898f; transform: rotate(45deg); margin: 0 3px; }
.menu-item.primary { background: var(--accent); border-color: var(--accent); color: #111215; font-weight: 750; }
.menu-item.primary .menu-icon { background: #e2e3e6; color: #141519; }
.menu-item.primary .chevron { border-color: #303136; }
.screen-header { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.back-control { border: 1px solid var(--line); background: #1a1a1a; border-radius: 14px; width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; }
.screen-header h1 { min-width: 0; overflow-wrap: anywhere; margin: 0; font-size: 1.5rem; }
.rich { font-size: .9375rem; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.rich b, .rich strong { font-weight: 750; }
.rich .tg-spoiler { background: #303033; color: transparent; border-radius: 4px; }
.rich .tg-spoiler:hover, .rich .tg-spoiler:focus { color: var(--text); }
.rich blockquote { padding: 12px 16px; border-left: 3px solid var(--accent); margin: 16px 0; background: #1c1d22; border-radius: 0 14px 14px 0; }
.rich code { font-family: ui-monospace, Consolas, monospace; font-size: .875rem; background: #252528; padding: 2px 5px; border-radius: 5px; white-space: pre-wrap; }
.rich pre { background: #1a1a1c; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 16px 0; white-space: pre-wrap; word-break: break-word; font: .875rem/1.6 ui-monospace, Consolas, monospace; }
.message-block { margin-bottom: 26px; }
.message-block > .rich + .menu-list, .message-block > .message-media + .menu-list { margin-top: 24px; }
.message-block > .rich + .rich { margin-top: 20px; }
.message-media { display: block; width: 100%; max-height: 420px; object-fit: contain; border-radius: 20px; margin: 20px 0; background: #151515; }
.media-loader { height: 90px; display: grid; place-items: center; color: var(--muted); border-radius: 20px; background: #171717; margin: 16px 0; }
.task-card { min-height: 76px; }
.task-dot { background: #292b31; color: var(--accent); border-radius: 13px; width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; }
.pagination { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding: 8px 0; }
.page-control { background: #1b1b1d; border: 1px solid var(--line); border-radius: 14px; width: 48px; min-height: 46px; font-size: 1.125rem; }
.page-control.previous { grid-column: 1; grid-row: 1; }
.page-control.next { grid-column: 3; grid-row: 1; }
.pager-count { grid-column: 2; grid-row: 1; text-align: center; color: var(--muted); font-size: .8125rem; padding: 7px 0; }
.list-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.quiet { width: 100%; background: #111; border: 1px solid var(--line); border-radius: 14px; padding: 15px; color: #b0b0b8; font-size: .875rem; min-height: 48px; line-height: 1.4; }
.feature-card { border: 1px solid var(--line); background: linear-gradient(130deg, #202226, #151515 65%); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.feature-card, .info-card, .error-card { min-width: 0; overflow-wrap: anywhere; }
.feature-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--accent); background: #2b2d33; border: 1px solid #42454e; border-radius: 18px; margin-bottom: 20px; }
.feature-icon .icon { width: 28px; height: 28px; }
.feature-card h2 { font-size: 1.25rem; }
.feature-card p, .info-card p { font-size: .9375rem; line-height: 1.65; margin: 12px 0 0; }
.feature-card .rich { margin-top: 22px; }
.field-label { display: block; font-size: .8125rem; line-height: 1.4; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.feature-card > .field-label { margin-top: 26px; }
.referral-url { display: block; width: 100%; min-width: 0; background: #0e0e0f; color: #d6d7dc; border: 1px solid #393b43; border-radius: 13px; padding: 15px; font: .8125rem/1.5 ui-monospace, Consolas, monospace; }
.send-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 1px solid #ffffff; padding: 16px 18px; min-height: 52px; border-radius: 14px; background: var(--accent); color: #111215; font-size: .9375rem; line-height: 1.45; font-weight: 750; }
.send-button span { min-width: 0; overflow-wrap: anywhere; }
.contact-button { margin-top: 26px; }
.copy-button { margin-top: 16px; }
.clipboard-buffer { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.info-card { background: #151515; border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-top: 22px; }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #151515; }
.profile-card .avatar { flex-basis: 52px; width: 52px; height: 52px; }
.profile-identity { min-width: 0; overflow-wrap: anywhere; }
.profile-identity strong { display: block; font-size: 1.125rem; line-height: 1.4; }
.profile-identity > span { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.4; }
.verification-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin: 14px 0 24px; background: #131313; border: 1px solid var(--line); border-radius: 18px; }
.verification-card > div { min-width: 0; overflow-wrap: anywhere; }
.verification-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: #25272d; border-radius: 13px; color: #c4c7cf; }
.verification-icon.verified { background: #2a2c32; color: var(--good); }
.status-label { display: block; font-size: .9375rem; line-height: 1.5; }
.composer { padding: 20px; background: #181818; border: 1px solid #3a3c44; border-radius: 22px; margin-top: 28px; }
.composer label { display: block; font-size: .875rem; margin-bottom: 12px; color: #bcbcc3; }
.composer textarea { resize: vertical; min-height: 114px; width: 100%; background: #111; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 14px; font-size: 1rem; line-height: 1.55; }
.composer-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; }
.composer-tools label { margin: 0; cursor: pointer; }
.file-picker { border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; display: flex !important; gap: 8px; align-items: center; color: var(--text) !important; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-picker:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.file-info { min-width: 0; font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.format-tip { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin-bottom: 16px; }
.composer .format-switch { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); margin: 18px 0; }
.composer-cancel { margin-top: 12px; }
.composer > .send-button { margin-top: 18px; }
.history-row { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.history-icon { width: 40px; height: 40px; flex: 0 0 40px; background: #222; border-radius: 13px; display: grid; place-items: center; color: var(--accent); }
.history-info { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.45; }
.history-row small { display: block; margin-top: 6px; color: var(--muted); font-size: .75rem; }
.history-amount { max-width: 40%; min-width: 0; overflow-wrap: anywhere; font-size: .9375rem; font-weight: 700; text-align: right; }
.positive { color: var(--good); }
.empty { border: 1px dashed #323235; border-radius: 22px; padding: 30px 20px; text-align: center; color: var(--muted); line-height: 1.6; }
.dock { position: fixed; z-index: 5; left: calc(12px + var(--safe-left) + var(--app-content-safe-left, 0px)); right: calc(12px + var(--safe-right) + var(--app-content-safe-right, 0px)); bottom: calc(12px + var(--safe-bottom) + var(--app-content-safe-bottom, 0px)); max-width: 560px; margin: 0 auto; background: #202226f5; backdrop-filter: blur(12px); border: 1px solid #363639; border-radius: 28px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; padding: 8px 5px; box-shadow: 0 8px 30px #0008; }
.dock-item { min-width: 0; background: none; border: 0; border-radius: 19px; min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-direction: column; font-size: .6875rem; line-height: 1.2; color: #a5a5ae; padding: 8px 2px; }
.dock-item > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.dock-item.active { background: #ffffff08; color: var(--text); }
.dock-item.center { justify-self: center; width: var(--dock-circle); height: var(--dock-circle); min-height: 0; aspect-ratio: 1; padding: 0; margin: 0; transform: translateY(-9px); border-radius: 50%; background: var(--accent); box-shadow: 0 6px 18px #f5f5f61c; color: #141519; gap: 4px; }
.dock-item.center .icon { width: 24px; height: 24px; }
.dock-item.center span { font-size: .625rem; line-height: 1.05; }
.keyboard-open .dock { visibility: hidden; pointer-events: none; }
.toast { position: fixed; z-index: 20; bottom: calc(var(--dock-clearance) - 10px); left: 50%; transform: translateX(-50%) translateY(12px); width: calc(100% - 40px); max-width: 520px; padding: 16px 20px; border-radius: 18px; background: #353437; border: 1px solid #4a4d56; color: white; font-size: .9375rem; line-height: 1.5; box-shadow: 0 8px 28px #0008; opacity: 0; pointer-events: none; transition: .15s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.keyboard-open .toast { bottom: calc(var(--keyboard-offset, 0px) + 20px); }
.preview-label { font-size: .75rem; color: var(--accent); text-align: center; margin: 5px 0 20px; }
.busy-bar { position: fixed; z-index: 30; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); animation: pulse 1s infinite; }
.error-card { border: 1px solid #464951; padding: 26px; border-radius: 24px; background: #191b20; line-height: 1.6; }
.error-card > .send-button { margin-top: 24px; }
.backup-status { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; margin: 0 0 24px; border: 1px solid #545761; border-radius: 16px; background: #24262c; color: #e0e2e8; text-align: left; font-size: .875rem; line-height: 1.5; }
.backup-status span { min-width: 0; overflow-wrap: anywhere; }
.file-download { width: 100%; min-width: 0; background: #1d1f24; border: 1px solid #3a3c44; border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; margin-bottom: 18px; text-align: left; }
.file-download span { min-width: 0; overflow-wrap: anywhere; }

.proof-album { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 16px 0; }
.proof-album-preview, .proof-album-item { min-width: 0; overflow: hidden; border-radius: 12px; background: #171717; }
.proof-album-preview { padding: 0; border: 0; cursor: pointer; aspect-ratio: 1; }
.proof-album-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.proof-album .media-loader { height: 100%; min-height: 90px; margin: 0; border-radius: 0; padding: 8px; text-align: center; font-size: 12px; }
.proof-album .message-media { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.proof-album-preview > div { height: 100%; }
.proof-album-files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-album .file-download { height: 100%; margin: 0; padding: 12px; border-radius: 12px; font-size: 12px; }
.proof-album-files audio { min-height: 54px; object-fit: contain; }
.proof-photo-dialog { position: fixed; inset: 0; width: min(100vw, 1100px); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 16px; border: 1px solid #3a3c44; border-radius: 16px; background: #08090b; color: var(--text); z-index: 100; }
.proof-photo-dialog::backdrop { background: #000d; }
.proof-photo-close { display: block; margin: 0 0 12px auto; padding: 10px 18px; border: 1px solid #3a3c44; border-radius: 12px; background: #1d1f24; color: inherit; }
.proof-photo-image { display: block; width: 100%; max-height: calc(100dvh - 100px); object-fit: contain; }
.screen-tag { display: inline-block; color: var(--accent); font-size: .75rem; background: #27292e; padding: 8px 11px; border-radius: 10px; margin-bottom: 20px; }
.premium-icon { width: 26px; height: 26px; object-fit: contain; }
.premium-inline { display: inline-block; width: 1.3em; height: 1.3em; object-fit: contain; vertical-align: -.25em; }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes screen-enter { from { opacity: .6; } to { opacity: 1; } }
@media (hover: hover) {
  .menu-item:hover, .task-card:hover, .quiet:hover, .file-download:hover { background: #24262b; border-color: #545761; }
  .send-button:hover { background: #e2e3e6; }
  .menu-item.primary:hover { background: #e2e3e6; border-color: #ffffff; }
  .quick:hover .action-circle { border-color: #c3c5cc; }
}
@media (min-width: 800px) {
  body { background: #050505; }
  .app { min-height: 100vh; background: #08090b; border-left: 1px solid #151515; border-right: 1px solid #151515; }
  .ambient { display: none; }
}
@media (max-width: 360px) {
  .feature-card { padding: 20px; }
  .service-word { max-width: 80px; }
  .menu-item, .task-card { padding: 16px 14px; gap: 12px; }
  .metric { padding: 18px 14px; }
  .quick { font-size: .8125rem; }
  .dock-item { font-size: .625rem; }
  .banner { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* TaskSpread 1.3.5 — a shared monochrome system, including legacy bot flows. */
:root { --bg:#08090b; --panel:#15171a; --panel2:#202226; --line:#34363d; --muted:#aaadb6; --accent:#f5f5f7; --good:#ededf0; --dock-clearance:112px; }
body { background:var(--bg); isolation:isolate; }
button { transition:background .18s, border-color .18s, opacity .18s; }
button:disabled { cursor:default; }
a { text-underline-offset:3px; }
noscript { display:block; padding:32px; position:relative; z-index:80; }
.ambient { display:block; z-index:-1; overflow:hidden; background:radial-gradient(ellipse 75% 45% at 100% 0%, #62656e18, transparent 85%); }
.ambient::before { content:''; position:absolute; width:min(85vw,520px); aspect-ratio:1; top:20px; right:calc(50% - min(62vw,380px)); background:url('/assets/taskspread-x.svg') center/contain no-repeat; opacity:.035; transform:rotate(-8deg); }
.ambient::after { content:''; position:absolute; inset:0; background:linear-gradient(125deg, transparent 25%, #ffffff03 25.1%, transparent 25.3%, transparent 65%, #ffffff02 65.1%, transparent 65.3%); }
.particle { position:absolute; top:var(--y); left:var(--x); width:var(--size); height:var(--size); background:#fff; border-radius:50%; opacity:.18; box-shadow:0 0 5px #ffffff25; animation:particle-drift var(--duration) var(--delay) ease-in-out infinite alternate; will-change:transform; }
.motion-off .particle { animation:none; opacity:.1; }
.motion-paused .particle { animation-play-state:paused; }
.app { max-width:520px; padding-top:calc(22px + var(--safe-top) + var(--app-content-safe-top,0px)); }
.home-topbar { justify-content:space-between; margin:0 0 8px; min-height:40px; }
.brand-lockup { display:flex; align-items:center; gap:10px; min-width:0; }
.brand-x { width:38px; height:38px; flex:0 0 38px; }
.brand-name { font-size:21px; font-weight:850; font-style:italic; letter-spacing:-.8px; line-height:1.25; overflow-wrap:anywhere; }
.brand-word { display:block; position:relative; overflow:hidden; width:144px; height:23px; flex:0 0 auto; mix-blend-mode:screen; }
.brand-word img { position:absolute; width:244px; max-width:none; height:auto; left:-51px; top:-91px; mix-blend-mode:screen; }
.home-avatar { padding:0; border:0; border-radius:50%; background:none; flex:0 0 auto; }
.avatar { background:linear-gradient(135deg,#383b42,#181a1f); color:#f6f6f8; border:1px solid #5b5e66; width:40px; height:40px; flex-basis:40px; font-size:16px; }
.welcome { color:var(--muted); font-size:13px; line-height:1.5; margin:0 0 20px; overflow-wrap:anywhere; }
.balance-card { position:relative; overflow:hidden; background:linear-gradient(135deg,#30323833,#111316cc 75%); border:1px solid #484b54; padding:19px; border-radius:22px; isolation:isolate; }
.balance-card::before { content:''; position:absolute; inset:-25px -30px -25px 45%; z-index:-1; background:url('/assets/taskspread-x.svg') center/contain no-repeat; opacity:.025; transform:rotate(10deg); pointer-events:none; }
.balance-label { font-size:13px; color:#b6b9c2; }
.balance-number { font-size:clamp(28px,8.8vw,44px); letter-spacing:-1.3px; margin:12px 0 4px; font-variant-numeric:tabular-nums; }
.currency { padding:4px 7px; border-radius:8px; font-size:10px; color:#b8bbc4; background:#ffffff05; border-color:#ffffff13; }
.pending { margin-top:5px; font-size:11px; }
.home-balance { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 12px; }
.home-balance .balance-label { grid-column:1/-1; }
.home-balance .balance-number { grid-column:1; grid-row:2; }
.home-balance .pending { grid-column:1; grid-row:3; }
.balance-withdraw { grid-column:2; grid-row:2/4; align-self:end; display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 12px; max-width:132px; border:1px solid #dbdde3; border-radius:14px; background:#0a0c0f66; font-size:12px; line-height:1.4; }
.balance-withdraw span { overflow-wrap:anywhere; }
.balance-withdraw .icon { width:20px; height:20px; }
.find-task { display:flex; flex-direction:row; align-items:center; gap:14px; width:100%; padding:17px 18px; min-height:60px; border:1px solid #fff; border-radius:18px; background:linear-gradient(120deg,#fff,#e3e4e8); color:#101115; margin:14px 0; text-align:left; font-size:17px; font-weight:800; }
.find-task .quick-label { flex:1; min-width:0; }
.find-task > .icon:last-child { width:20px; height:20px; }
.task-count { flex:0 0 auto; padding:7px 9px; min-width:30px; border-radius:10px; color:white; background:#111216; font-size:12px; text-align:center; }
.quick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.quick-tile { display:flex; align-items:center; gap:10px; text-align:left; padding:15px 12px; min-width:0; min-height:76px; border:1px solid #44474e; border-radius:18px; background:linear-gradient(125deg,#27292e66,#14161a99); }
.tile-icon { flex:0 0 26px; color:#e9eaf0; display:flex; align-items:center; }
.tile-icon .icon { width:25px; height:25px; }
.tile-copy { min-width:0; flex:1; }
.tile-copy strong { display:block; font-size:12.5px; letter-spacing:-.15px; line-height:1.35; overflow-wrap:anywhere; }
.tile-copy small { display:block; color:var(--muted); font-size:10px; font-weight:450; line-height:1.4; margin-top:5px; overflow-wrap:anywhere; }
.quick-tile .chevron { width:5px; height:5px; flex-basis:5px; margin:0; }
.section-head { gap:8px; margin:24px 0 12px; align-items:center; }
.section-head h2 { font-size:17px; }
.section-head small { font-size:11px; }
.text-link { display:inline-flex; align-items:center; gap:6px; padding:9px 0 9px 8px; border:0; background:transparent; font-size:11px; font-weight:500; color:var(--muted); min-height:36px; }
.text-link .icon { width:15px; height:15px; }
.progress-card { padding:20px; border:1px solid #44474e; background:linear-gradient(130deg,#24262c99,#121418cc); border-radius:20px; margin:16px 0; }
.progress-card.compact { display:flex; align-items:center; gap:14px; padding:17px 16px; margin:0; }
.progress-copy { flex:1; min-width:0; }
.progress-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 10px; margin-bottom:10px; font-size:11px; }
.progress-top strong { font-size:13px; line-height:1.4; }
.progress-copy > small { display:block; font-size:10px; margin-top:9px; line-height:1.4; }
.progress-bar { width:100%; height:6px; border:0; border-radius:9px; overflow:hidden; background:#3b3e45; display:block; color:#f4f4f6; appearance:none; -webkit-appearance:none; }
.progress-bar::-webkit-progress-bar { background:#3b3e45; border-radius:9px; }
.progress-bar::-webkit-progress-value { background:linear-gradient(90deg,#fff,#c9ccd4); border-radius:9px; }
.progress-bar::-moz-progress-bar { background:#f1f2f5; border-radius:9px; }
.milestone-badge { display:grid; place-items:center; width:43px; height:48px; flex:0 0 43px; color:#e0e2e8; background:linear-gradient(130deg,#ffffff20,transparent); clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%); }
.milestone-badge .icon { width:26px; height:26px; }
.goal-body { display:flex; gap:20px; align-items:center; margin-top:18px; }
.progress-ring { width:130px; height:130px; flex:0 0 130px; border-radius:50%; padding:8px; background:conic-gradient(#f4f5f7 var(--progress),#353840 0); }
.ring-center { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; background:#17191e; border-radius:50%; }
.ring-center strong { font-size:21px; letter-spacing:-.5px; }
.ring-center small { font-size:11px; }
.goal-text { min-width:0; }
.goal-text > strong { font-size:14px; }
.goal-text p { font-size:12px; line-height:1.6; margin:8px 0 0; }
.achievement-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.achievement-grid.compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
.achievement { min-width:0; display:flex; align-items:center; gap:10px; padding:16px 12px; background:linear-gradient(140deg,#24262a88,#101216cc); border:1px solid #3f424a; border-radius:17px; text-align:left; }
.achievement-icon { width:42px; height:48px; flex:0 0 42px; display:grid; place-items:center; position:relative; color:#f3f4f7; background:#d6d8e2; clip-path:polygon(50% 0,94% 25%,94% 75%,50% 100%,6% 75%,6% 25%); }
.achievement-icon::before { content:''; position:absolute; inset:2px; background:#1b1d22; clip-path:inherit; }
.achievement-icon .icon { z-index:1; width:23px; height:23px; }
.achievement-copy { min-width:0; display:block; flex:1; }
.achievement-copy strong { font-size:12px; line-height:1.4; display:block; overflow-wrap:anywhere; }
.achievement-copy small { font-weight:450; display:block; color:var(--muted); font-size:10px; line-height:1.45; margin-top:5px; }
.achievement-copy progress { height:4px; margin-top:7px; }
.achievement.locked .achievement-icon { color:#9699a3; background:#626670; }
.achievement.locked strong { color:#b2b5be; }
.achievement-grid.compact .achievement { padding:13px 7px; min-height:99px; flex-direction:column; text-align:center; gap:9px; }
.achievement-grid.compact .achievement-copy strong { font-size:10px; }
.achievement-grid.compact .achievement-icon { width:36px; height:41px; flex-basis:41px; }
.activity-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:16px; }
.activity-item { display:flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:15px; background:#17191e; text-align:left; min-height:64px; padding:12px; }
.activity-item .icon { width:20px; height:20px; }
.activity-item > span:not(.chevron) { min-width:0; flex:1; }
.activity-item strong { font-size:11px; overflow-wrap:anywhere; }
.activity-item .chevron { display:none; }
.progress-note { font-size:11px; line-height:1.6; color:var(--muted); margin:16px 0; }
.page-intro { color:var(--muted); margin:-12px 0 20px; font-size:12px; line-height:1.5; }
.screen-header { margin-bottom:24px; gap:12px; }
.screen-header h1 { font-size:23px; }
.back-control { border-radius:13px; background:#17191f; }
.grid { gap:10px; }
.metric { background:linear-gradient(125deg,#24262c88,#121419bb); padding:18px 16px; border-radius:18px; }
.metric strong { font-size:24px; font-variant-numeric:tabular-nums; }
.metric span { font-size:11px; margin-top:7px; }
.banner { margin:24px 0; background:linear-gradient(120deg,#202228,#101216); border-color:var(--line); }
.banner:not(:has(img))::after { content:''; width:70px; height:70px; top:15px; background:url('/assets/taskspread-x.svg') center/contain no-repeat; opacity:.3; }
.catalog-tools { display:flex; gap:10px; margin-bottom:13px; }
.search-field { display:flex; align-items:center; gap:10px; min-width:0; flex:1; border:1px solid #44474f; border-radius:16px; padding:0 13px; background:linear-gradient(120deg,#24262caa,#14161bdd); }
.search-field .icon { width:21px; height:21px; color:#d9dbe2; }
.search-field input { appearance:none; width:100%; min-width:0; border:0; border-radius:0; outline:none; background:transparent; color:var(--text); font-size:16px; padding:15px 0; }
.search-field:focus-within { outline:2px solid #9a9daa; outline-offset:2px; }
.search-field input:focus-visible { outline:none; }
.search-field input::placeholder { color:#a6a9b3; opacity:1; }
.filter-toggle { display:grid; place-items:center; min-width:50px; width:50px; min-height:50px; border:1px solid #44474f; border-radius:16px; background:#1b1d23; }
.filter-toggle[aria-expanded=true] { background:#e8e9ed; color:#101216; }
.catalog-filters { padding:14px; margin-bottom:14px; border-radius:16px; border:1px solid var(--line); background:#191b21; }
.sort-select { width:100%; color:var(--text); background:#101216; border:1px solid #454851; border-radius:10px; min-height:44px; padding:10px; font-size:16px; }
.category-tabs, .status-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.filter-chip { border:1px solid #43464f; border-radius:12px; background:#16181e; color:#c9ccd4; font-size:11px; line-height:1.4; font-weight:550; padding:11px 13px; min-height:40px; max-width:100%; overflow-wrap:anywhere; }
.filter-chip[aria-pressed=true] { background:linear-gradient(135deg,#fff,#dedfe4); color:#101216; border-color:#f0f1f4; }
.status-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.status-tabs .filter-chip { padding:11px 6px; }
.catalog-results { display:flex; flex-direction:column; gap:12px; }
.task-card.catalog-card { display:block; padding:16px; background:linear-gradient(130deg,#2b2d3366,#13151acc); border:1px solid #474a53; border-radius:19px; }
.task-meta { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:12px; }
.category-tag, .pin-label { border:1px solid #565964; border-radius:9px; padding:3px 7px; color:#c6c9d1; font-size:10px; line-height:1.4; font-weight:450; }
.pin-label { background:#e6e8ed; color:#191b21; border-color:transparent; }
.task-deadline { display:flex; align-items:center; gap:4px; color:var(--muted); font-weight:450; font-size:10px; margin-left:auto; }
.task-deadline .icon { width:13px; height:13px; }
.task-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.task-title-row h2 { min-width:0; font-size:15px; line-height:1.45; font-weight:750; }
.task-reward { min-width:0; max-width:45%; font-size:18px; line-height:1.3; text-align:right; white-space:normal; overflow-wrap:anywhere; }
.task-description { color:var(--muted); font-size:12px; font-weight:450; line-height:1.6; margin:8px 0 14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.task-details { display:flex; align-items:center; justify-content:center; gap:10px; min-height:44px; width:100%; padding:10px 14px; border:1px solid #9296a2; border-radius:11px; background:#14161b66; font-size:12px; }
.task-details .icon { width:17px; height:17px; }
.catalog-card:first-of-type .task-details { background:linear-gradient(135deg,#fff,#e1e3e8); border-color:#fff; color:#101215; }
.task-hint { display:block; color:#b4b7c1; font-size:11px; font-weight:450; line-height:1.5; margin-top:10px; }
.catalog-empty { padding:36px 18px; text-align:center; border:1px dashed #444751; border-radius:20px; }
.catalog-empty > .icon { width:34px; height:34px; color:#c5c9d3; margin-bottom:14px; }
.catalog-empty h2 { font-size:17px; }
.catalog-empty p { font-size:13px; line-height:1.6; }
.catalog-skeleton { height:168px; border-radius:20px; border:1px solid #333640; background:linear-gradient(110deg,#1a1c22,#262932,#15171d); animation:skeleton-pulse 1.5s ease-in-out infinite alternate; }
.dock { left:calc(10px + var(--safe-left) + var(--app-content-safe-left,0px)); right:calc(10px + var(--safe-right) + var(--app-content-safe-right,0px)); bottom:calc(8px + var(--safe-bottom) + var(--app-content-safe-bottom,0px)); max-width:496px; padding:6px 5px; border:1px solid #3e424b; background:#14161af5; border-radius:23px; gap:2px; box-shadow:0 -6px 32px #0005; }
.dock-item { min-height:62px; padding:4px 1px; gap:5px; border-radius:14px; font-size:10px; color:#aeb2bd; font-weight:500; }
.dock-item.active { background:transparent; color:#f5f6f9; }
.dock-icon { display:grid; place-items:center; width:37px; height:32px; border-radius:10px; }
.dock-icon .icon { width:23px; height:23px; }
.dock-item.active .dock-icon { background:linear-gradient(135deg,#fff,#e0e2e8); color:#111318; }
.menu-item, .feature-card, .profile-card, .info-card, .composer, .verification-card { background:linear-gradient(130deg,#24262c77,#121419cc); border-color:#3a3e47; }
.menu-item .menu-icon, .feature-icon { background:#2b2e36; color:#eceef4; border-color:#484c58; }
.menu-item.primary, .send-button { background:linear-gradient(120deg,#fff,#dfe2e9); border-color:#f3f4f7; color:#121318; }
.menu-item.primary .menu-icon { background:#cbced6; color:#121318; }
.quiet, .file-download { background:#17191f; border-color:#3c404a; }
.rich blockquote { background:#20232b; border-left-color:#a3a9b8; }
.profile-card { border-radius:20px; }
.verification-card { margin-bottom:16px; }
.verification-icon.verified { background:#343844; color:#f6f7fa; }
.motion-toggle { margin:16px 0; font-size:12px; }
.screen-tag { background:#292c35; color:#d1d5e0; }
.toast { background:#2e323b; border-color:#5c626f; }
.error-card, .backup-status { background:#242831; border-color:#596170; color:#f0f2f7; }
.positive { color:#f7f8fb; }
.preview-label { color:#aeb4c2; font-size:10px; padding:6px; margin:0 0 12px; border:1px dashed #404654; border-radius:9px; }
.achievement-dialog { width:min(360px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow:auto; background:linear-gradient(140deg,#272b34,#12151b); color:var(--text); border:1px solid #555c6a; border-radius:24px; padding:28px; text-align:center; }
.achievement-dialog::backdrop { background:#05060ac9; backdrop-filter:blur(4px); }
.achievement-dialog .achievement-icon { width:64px; height:74px; margin:0 auto 20px; }
.achievement-dialog .achievement-icon .icon { width:32px; height:32px; }
.achievement-dialog h2 { font-size:24px; margin-top:8px; }
.achievement-dialog p { font-size:13px; line-height:1.7; margin:14px 0 22px; }
.achievement-dialog > small { display:block; margin-top:10px; }
.achievement-dialog .send-button { margin-top:24px; }
.eyebrow { color:#b8bfcd; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.launch-open { overflow:hidden; }
.launch { --loaded:8%; position:fixed; inset:0; z-index:60; background:radial-gradient(ellipse at 50% 42%,#25283177,transparent 55%),#08090b; display:grid; place-items:center; padding:calc(30px + var(--safe-top)) 30px calc(30px + var(--safe-bottom)); transition:opacity .35s ease; }
.launch::before { content:''; position:absolute; width:min(80vw,380px); aspect-ratio:1; background:url('/assets/taskspread-x.svg') center/contain no-repeat; opacity:.018; }
.launch-content { position:relative; width:100%; max-width:280px; display:flex; flex-direction:column; align-items:center; }
.launch-mark { width:132px; height:132px; animation:launch-arrive 1.05s cubic-bezier(.3,.02,.2,1) both; margin-bottom:28px; }
.launch-word { transform:scale(1.4); margin:10px 0 48px; }
.launch-track { width:100%; height:5px; border-radius:10px; overflow:hidden; background:#333741; }
.launch-track span { display:block; height:100%; width:var(--loaded); border-radius:10px; background:linear-gradient(90deg,#fff,#bfc5d2); transition:width .3s ease; }
.launch-caption { font-size:11px; text-align:center; line-height:1.5; margin:13px 0 0; color:#b6bdcb; }
.launch.leaving { opacity:0; pointer-events:none; }
.launch.leaving .launch-mark { animation:launch-exit .4s cubic-bezier(.45,0,.8,.35) both; }
@keyframes launch-arrive { 0% { opacity:0; transform:scale(.12) rotate(-20deg); } 22% { opacity:1; transform:scale(1) rotate(0); } 95%,100% { opacity:1; transform:scale(1) rotate(1080deg); } }
@keyframes launch-exit { to { transform:translateX(105vw) rotate(20deg); opacity:0; } }
@keyframes particle-drift { from { transform:translate3d(-12px,30px,0); opacity:.08; } to { transform:translate3d(15px,-70px,0); opacity:.35; } }
@keyframes skeleton-pulse { to { opacity:.4; } }
@media (hover:hover) {
  .quick-tile:hover, .task-details:hover, .achievement:hover, .menu-item:hover, .quiet:hover, .activity-item:hover { border-color:#8c94a5; background-color:#292e39; }
  .find-task:hover, .send-button:hover, .menu-item.primary:hover { background:#dce0e9; border-color:#fff; }
}
@media (min-width:800px) { body { background:#08090b; } .app { background:transparent; border-color:#ffffff08; } .ambient { display:block; } }
@media (max-width:360px) { .app { padding-left:calc(15px + var(--safe-left) + var(--app-content-safe-left,0px)); padding-right:calc(15px + var(--safe-right) + var(--app-content-safe-right,0px)); } .tile-copy strong { font-size:12px; } .quick-tile { gap:8px; padding:13px 10px; } .quick-tile .chevron { display:none; } .find-task { gap:10px; font-size:15px; padding:16px; } .goal-body { gap:14px; } .progress-ring { width:112px; height:112px; flex-basis:112px; } .achievement { gap:7px; padding:13px 9px; } .achievement-icon { width:35px; height:40px; flex-basis:35px; } .balance-withdraw { max-width:105px; font-size:11px; padding:9px; } .brand-word { transform:scale(.9); transform-origin:left center; } }
@media (max-height:700px) and (max-width:600px) { .welcome { margin-bottom:14px; font-size:12px; } .home-balance { padding:15px; } .home-balance .balance-number { font-size:30px; margin-top:8px; } .find-task { min-height:54px; padding:14px 15px; margin:12px 0; } .quick-tile { min-height:66px; padding-top:11px; padding-bottom:11px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } .particle { opacity:.1; } }
