:root {
  color-scheme: dark;
  --bg: #08090c;
  --surface: #111318;
  --surface-2: #171a21;
  --line: rgba(255,255,255,.085);
  --text: #f5f6f8;
  --muted: #9398a4;
  --blue: #0a84ff;
  --green: #35d47b;
  --amber: #f6c56f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(700px 300px at 100% -10%, rgba(10,132,255,.12), transparent 60%), var(--bg); }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(10,132,255,.75); outline-offset: 3px; }
.page-shell { width: 100%; max-width: 620px; padding: max(10px, env(safe-area-inset-top)) 13px calc(22px + env(safe-area-inset-bottom)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #168cff, #0058d8); font-size: 11px; letter-spacing: -.3px; font-weight: 950; box-shadow: 0 5px 16px rgba(0,102,255,.19); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 13px; letter-spacing: .8px; }
.brand-copy small { color: #828795; font-size: 9px; letter-spacing: 1.2px; font-weight: 750; }
.top-chip, .counter-chip, .live-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 9px; color: #c4c8d1; background: rgba(255,255,255,.035); font-size: 9px; font-weight: 800; letter-spacing: .35px; white-space: nowrap; }
.pulse-dot { width: 6px; height: 6px; border-radius: 100%; background: var(--green); box-shadow: 0 0 0 3px rgba(54,214,123,.1); }
.hero { position: relative; overflow: hidden; margin-bottom: 19px; padding: 17px 16px 16px; border: 1px solid rgba(73,144,255,.17); border-radius: 19px; background: linear-gradient(120deg, #121e31 0%, #101722 54%, #101318 100%); }
.hero-kicker, .section-eyebrow { margin: 0 0 5px; color: #76b6ff; font-size: 9px; font-weight: 850; letter-spacing: 1.2px; }
.hero h1 { margin: 0; max-width: 100%; font-size: clamp(25px, 7.4vw, 32px); line-height: 1.12; letter-spacing: -1px; font-weight: 850; }
.hero h1 span { color: #7dbaff; }
.hero-copy { margin: 8px 0 0; color: #bdc7d7; font-size: 12px; line-height: 1.5; }
.tasks-section { scroll-margin-top: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.section-heading .section-eyebrow { margin-bottom: 3px; color: #7a8493; font-size: 8px; }
.section-heading h2 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.45px; font-weight: 800; }
.counter-chip { padding: 6px 9px; font-size: 11px; letter-spacing: 0; }
.counter-chip b { color: #82bcff; }
.progress-track { width: 100%; height: 5px; overflow: hidden; border-radius: 20px; background: #20232b; margin-bottom: 11px; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #087aff, #41d9a2); transition: width .25s ease; }
.task-list { display: grid; gap: 8px; }
.task-card { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.014)); transition: border-color .2s ease, background .2s ease; }
.task-card.is-done { border-color: rgba(54,214,123,.28); background: linear-gradient(145deg, rgba(54,214,123,.055), rgba(255,255,255,.012)); }
.task-topline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.task-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; color: #e0e8f5; background: #182338; }
.task-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.task-icon-heart { color: #ff718c; background: rgba(254,44,85,.1); }
.task-icon-bookmark { color: #b4a1ff; background: rgba(143,103,255,.11); }
.task-icon-repost { color: #77e2bb; background: rgba(40,203,145,.1); }
.task-icon-follow { color: #7dbaff; background: rgba(10,132,255,.12); }
.task-main { flex: 1; min-width: 0; }
.task-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 7px; margin: 0 0 3px; }
.task-title-row h3 { margin: 0; font-size: 13px; line-height: 1.35; letter-spacing: -.15px; font-weight: 760; }
.platform-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; color: #c7cad3; background: rgba(255,255,255,.035); font-size: 8px; font-weight: 750; white-space: nowrap; }
.platform-tiktok { color: #e4e8ef; }
.tiktok-note { display: inline-block; font-size: 13px; line-height: .8; color: #fff; text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55; font-weight: 900; }
.platform-youtube { color: #ff9393; }
.youtube-mark { font-size: 9px; color: #ff4b4b; }
.platform-discord { color: #b7baff; }
.task-main p { margin: 0; color: #9b9eaa; font-size: 10px; line-height: 1.4; }
.task-foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.05); }
.task-state { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: #999eaa; font-size: 10px; font-weight: 650; }
.state-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #686d79; }
.task-state.is-waiting { color: var(--amber); }
.task-state.is-waiting .state-dot { background: var(--amber); animation: state-pulse 1.15s infinite ease-in-out; }
.task-state.is-done { color: #5cda95; }
.task-state.is-done .state-dot { background: var(--green); }
@keyframes state-pulse { 50% { opacity: .35; transform: scale(.8); } }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border: 1px solid transparent; border-radius: 10px; padding: 7px 10px; text-decoration: none; font-size: 10px; line-height: 1.2; font-weight: 780; white-space: nowrap; transition: opacity .15s ease, transform .15s ease, border-color .15s ease; }
.button:active:not(:disabled) { transform: scale(.985); }
.button:disabled { cursor: not-allowed; opacity: .4; }
.button-task-open { flex: 0 0 auto; color: #c9e2ff; background: rgba(10,132,255,.105); border-color: rgba(10,132,255,.18); }
.task-card.is-done .button-task-open { color: #9ee9bd; background: rgba(54,214,123,.08); border-color: rgba(54,214,123,.18); pointer-events: none; }
.unlock-panel { margin: 13px 0 0; padding: 14px; border: 1px solid rgba(10,132,255,.2); border-radius: 17px; background: radial-gradient(350px 130px at 100% 0%, rgba(10,132,255,.1), transparent 75%), #10141b; }
.unlock-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.unlock-symbol { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(10,132,255,.23); border-radius: 12px; color: #85bdff; background: rgba(10,132,255,.1); }
.unlock-symbol svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.unlock-copy-wrap { min-width: 0; }
.unlock-panel h2 { margin: 0 0 3px; font-size: 15px; line-height: 1.25; letter-spacing: -.2px; }
.unlock-panel p { margin: 0; color: #9ca5b3; font-size: 10px; line-height: 1.45; }
.button-primary { color: #fff; background: linear-gradient(100deg, #087cff, #0668ed); box-shadow: 0 5px 17px rgba(0,105,255,.16); }
.button-wide { width: 100%; min-height: 44px; border-radius: 12px; font-size: 12px; }
.results-section { margin: 22px 0 0; scroll-margin-top: 12px; }
.results-heading { margin-bottom: 12px; }
.result-message { margin: 0 0 10px; padding: 10px 12px; border: 1px solid rgba(54,214,123,.16); border-radius: 11px; color: #b3e9c9; background: rgba(54,214,123,.06); font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.result-message.is-warning { border-color: rgba(255,191,71,.2); color: #ffd79a; background: rgba(255,191,71,.06); }
.accounts-list { display: grid; gap: 10px; }
.account-card { min-width: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; padding: 12px; background: #11151c; }
.account-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.account-card-head h3 { margin: 0 0 3px; font-size: 14px; }
.account-card-head p { margin: 0; color: #9298a5; font-size: 9px; }
.account-region { flex: 0 0 auto; padding: 5px 7px; border-radius: 8px; color: #b7d9ff; background: rgba(10,132,255,.1); font-size: 9px; font-weight: 800; }
.account-source-status { display: inline-flex; align-items: center; margin: 0 0 9px; padding: 4px 7px; border: 1px solid rgba(54,214,123,.18); border-radius: 7px; color: #8ce1b0; background: rgba(54,214,123,.06); font-size: 9px; font-weight: 750; }
.account-source-status.is-warning { border-color: rgba(255,191,71,.2); color: #ffd79a; background: rgba(255,191,71,.06); }
.account-source-message { margin: 0 0 10px; padding: 9px 10px; border: 1px solid rgba(255,191,71,.18); border-radius: 10px; color: #ffd79a; background: rgba(255,191,71,.055); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.account-source-message strong { display: block; margin-bottom: 3px; color: #ffe3b4; font-size: 9px; letter-spacing: .3px; }
.account-source-message p { margin: 0; }
.credential-field { margin-top: 9px; }
.credential-field label { display: block; margin-bottom: 5px; color: #838a98; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.credential-row { display: flex; align-items: stretch; gap: 5px; min-width: 0; }
.credential-row input { flex: 1; width: 1px; min-width: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; padding: 10px 9px; color: #eff4fb; background: #0b0d12; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }
.copy-button, .toggle-button { flex: 0 0 auto; border: 1px solid rgba(10,132,255,.19); border-radius: 9px; padding: 7px 9px; color: #add4ff; background: rgba(10,132,255,.1); font-size: 9px; font-weight: 750; }
.service-upsell { margin-top: 11px; padding: 14px; border: 1px solid rgba(10,132,255,.2); border-radius: 15px; background: radial-gradient(350px 150px at 100% 0%, rgba(10,132,255,.11), transparent 72%), #11151c; }
.upsell-kicker { margin-bottom: 5px; color: #80bdff; font-size: 8px; font-weight: 850; letter-spacing: 1.1px; }
.service-upsell h3 { margin: 0 0 5px; font-size: 15px; line-height: 1.3; letter-spacing: -.25px; }
.service-upsell p { margin: 0; color: #a1a7b3; font-size: 10px; line-height: 1.5; }
.upsell-button { margin-top: 10px; min-height: 42px; font-size: 11px; }
.empty-state { border: 1px dashed rgba(255,255,255,.12); border-radius: 14px; padding: 16px; color: #d8dae0; }
.empty-state p { margin: 5px 0 0; color: #9297a3; font-size: 11px; }
.footer { display: grid; gap: 4px; padding: 18px 4px 0; text-align: center; color: #6e7380; font-size: 9px; letter-spacing: .2px; }
.footer-brand { color: #babdc6; font-size: 10px; font-weight: 850; letter-spacing: 1px; }
.footer-brand i { color: #398dff; font-style: normal; }
.toast { position: fixed; z-index: 10; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 480px; margin: 0 auto; padding: 11px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; background: rgba(29,32,40,.96); box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 11px; line-height: 1.45; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
[hidden] { display: none !important; }
@media (min-width: 600px) {
  .page-shell { padding-left: 20px; padding-right: 20px; padding-top: 20px; }
  .hero { padding: 20px; }
  .task-card { padding: 13px; }
  .task-title-row h3 { font-size: 14px; }
}
@media (max-width: 360px) {
  .page-shell { padding-left: 10px; padding-right: 10px; }
  .hero { padding: 15px 13px; }
  .hero h1 { font-size: 25px; }
  .task-card { padding: 9px; }
  .task-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
  .task-icon svg { width: 18px; height: 18px; }
  .task-title-row h3 { font-size: 12px; }
  .task-main p { font-size: 9px; }
  .task-foot { gap: 6px; }
  .task-state { font-size: 9px; }
  .button-task-open { padding: 7px 8px; font-size: 9px; }
  .credential-row input { flex-basis: calc(100% - 86px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
