:root {
  --bg: #ffffff;
  --ground: #f6f7f9;
  --line: #e4e6eb;
  --line2: #cdd1d8;
  --ink: #23252a;
  --ink2: #4a4d54;
  --ink3: #6b6f77;
  --red: #e0201f;
  --brand: #ff3131;
  --red-wash: #fdecec;
  --blue: #004aac;
  --blue-wash: #e8eef9;
  --deep: #2a2a2a;
  --on-deep: #f2f2f2;
  --on-deep2: #b8b8b8;
  --ok: #128a4a;
  --ok-wash: #e7f6ee;
  --wait: #8a5800;
  --wait-wash: #fbefd6;
  --bad: #9a1418;
  --bad-wash: #f9e4e4;
  --r: 18px;
  --font: "Noto Sans Bengali", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 18px; height: 18px; }
.ic.lg { width: 28px; height: 28px; }

.app { max-width: 520px; margin: 0 auto; padding: 0 16px calc(96px + var(--safe-b)); min-height: 100vh; }
.app.bare { padding-bottom: 32px; }

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.3; }
h1 { font-size: 24px; }
h2 { font-size: 19px; }
h3 { font-size: 16.5px; }
p { margin: 0; }
.meta { color: var(--ink3); font-size: 14px; }
.lede { color: var(--ink2); font-size: 15.5px; }
.gap { height: 16px; }
.gap-s { height: 8px; }
.gap-l { height: 24px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.hide { display: none !important; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  margin: 0 -16px; padding: 12px 16px 10px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
}
.top.line { border-bottom-color: var(--line); }
.top h1 { font-size: 21px; flex: 1; min-width: 0; }
.iconbtn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative;
}
.iconbtn:active { background: var(--ground); }
.badge {
  position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.logo { height: 26px; width: auto; display: block; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.card.flat { padding: 0; overflow: hidden; }
.card + .card { margin-top: 12px; }
.hero { background: var(--deep); color: var(--on-deep); border-radius: 24px; padding: 18px 20px; }
.hero .k { color: var(--on-deep2); font-size: 13.5px; }
.hero .v { font-size: 36px; font-weight: 700; line-height: 1.15; }
.hero .v small { font-size: 15px; font-weight: 400; color: var(--on-deep2); }
.hero .rule { height: 1px; background: rgba(255,255,255,.14); margin: 12px 0; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.pill.red { background: var(--brand); color: #fff; }
.pill.soft { background: var(--ground); color: var(--ink2); }
.pill.ok { background: var(--ok-wash); color: var(--ok); }
.pill.wait { background: var(--wait-wash); color: var(--wait); }
.pill.bad { background: var(--bad-wash); color: var(--bad); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; width: 100%;
  border-radius: 16px; border: 1.5px solid var(--red); background: var(--red); color: #fff;
  font: 600 16px/1.2 var(--font); cursor: pointer; text-decoration: none;
}
.btn:active { filter: brightness(.94); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn.light { background: #f2f6fd; color: var(--deep); border-color: #f2f6fd; }
.btn.blue { background: var(--blue); border-color: var(--blue); }
.btn.sm { min-height: 42px; border-radius: 12px; font-size: 14.5px; width: auto; padding: 0 14px; }
.btn[disabled] { background: var(--ground); color: var(--ink3); border-color: var(--ground); cursor: default; }
.btn .spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.why { margin-top: 6px; text-align: center; color: var(--ink3); font-size: 13.5px; }
.link { color: var(--red); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 8px 0; font: 600 15px var(--font); cursor: pointer; }

.list { display: flex; flex-direction: column; }
.item {
  display: flex; align-items: center; gap: 12px;
  min-height: 62px; padding: 12px 16px;
  color: inherit; text-decoration: none; background: #fff; border: 0; width: 100%; text-align: left; font: inherit; cursor: pointer;
}
.item + .item { border-top: 1px solid var(--line); }
.item .t { font-weight: 600; }
.item .s { color: var(--ink3); font-size: 13.5px; }
.item:active { background: var(--ground); }
.tile {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none;
  color: #fff; font-weight: 700; font-size: 18px;
}
.c-app_test { background: #e0201f; } .c-survey { background: #14a38b; } .c-video { background: #8b5cf6; }
.c-field { background: #f59e0b; } .c-photo { background: #2563eb; } .c-data { background: #0ea5e9; }
.c-writing { background: #7c3aed; } .c-translate { background: #0891b2; } .c-mystery { background: #db2777; } .c-flyer { background: #ea580c; }

.task { display: block; color: inherit; text-decoration: none; }
.task .head { display: flex; gap: 12px; align-items: flex-start; }
.task .pay { font-weight: 700; font-size: 17px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 99px;
  border: 1.5px solid var(--line2); background: #fff; color: var(--ink2);
  font: 600 14px var(--font); cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 10px; background: var(--ground); color: var(--ink2); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
label.f > small { display: block; color: var(--ink3); font-size: 13px; margin-top: 4px; }
.in {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--line2); border-radius: 14px; background: #fff;
  font: 400 16px var(--font); color: var(--ink);
}
textarea.in { min-height: 110px; resize: vertical; }
.in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.pw { position: relative; }
.pw .in { padding-right: 56px; }
.pw button { position: absolute; right: 4px; top: 4px; }
.seg { display: flex; background: var(--ground); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 40px; border: 0; border-radius: 10px; background: transparent; font: 600 14px var(--font); color: var(--ink2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--red); color: #fff; }

.note { display: flex; gap: 10px; padding: 14px; border-radius: 16px; font-size: 14.5px; }
.note .ic { margin-top: 1px; }
.note.wait { background: var(--wait-wash); color: #5c3b00; }
.note.ok { background: var(--ok-wash); color: #0d5c32; }
.note.bad { background: var(--bad-wash); color: var(--bad); }
.note.mute { background: var(--ground); color: var(--ink2); }
.note.red { background: var(--red-wash); color: #8a1515; }

.photo-pick {
  display: grid; place-items: center; gap: 6px; width: 100%; aspect-ratio: 16 / 10;
  border: 1.5px dashed var(--line2); border-radius: 16px; background: var(--ground); color: var(--ink2);
  font: 600 14.5px var(--font); cursor: pointer; overflow: hidden; position: relative; padding: 0;
}
.photo-pick img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-pick.done { border-style: solid; border-color: var(--ok); }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ring { --p: 100; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--line) 0); }
.ring.low { background: conic-gradient(var(--red) calc(var(--p) * 1%), var(--line) 0); }
.ring span { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }

.bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 8px; }
.split { display: flex; height: 10px; border-radius: 9px; overflow: hidden; background: var(--line); }
.split i { display: block; height: 100%; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; justify-content: center;
  background: #fff; border-top: 1px solid var(--line);
  padding: 6px 8px calc(8px + var(--safe-b));
}
.nav .in-nav { display: flex; width: 100%; max-width: 520px; }
.nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-height: 52px; justify-content: center;
  color: var(--ink3); text-decoration: none; font-size: 12.5px; font-weight: 500; position: relative;
}
.nav a[aria-current="page"] { color: var(--red); font-weight: 700; }

.toast {
  position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: var(--deep); color: #fff; font-size: 14.5px; z-index: 30;
}

.sheet {
  width: 100%; max-width: 520px; margin: auto auto 0; padding: 0;
  border: 0; border-radius: 24px 24px 0 0; max-height: 92vh;
  background: #fff; color: var(--ink);
}
.sheet:modal { overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(20, 20, 24, .45); overflow: hidden; overscroll-behavior: contain; }
.sheet .grab { width: 40px; height: 5px; border-radius: 5px; background: var(--line2); margin: 10px auto 0; }
.sheet .body { padding: 14px 18px calc(24px + var(--safe-b)); }

.empty { padding: 28px 16px; text-align: center; color: var(--ink3); }
.skel { height: 120px; border-radius: var(--r); background: linear-gradient(90deg, var(--ground), #eef0f3, var(--ground)); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

.install { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--blue-wash); color: #0f2f63; }
.steps { margin: 8px 0 0; padding-left: 20px; }
.steps li + li { margin-top: 4px; }
.queue { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--wait-wash); color: #5c3b00; font-size: 14px; }

.login { padding-top: 28px; }
.login .logo { height: 32px; margin-bottom: 18px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
details.item { display: block; cursor: default; }
details.item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
details.item summary::-webkit-details-marker { display: none; }
details.item summary::after { content: "+"; color: var(--ink3); font-weight: 400; }
details.item[open] summary::after { content: "−"; }
img.proof { display: block; width: 100%; max-height: 360px; object-fit: contain; border-radius: 12px; background: var(--ground); }
[hidden] { display: none !important; }
.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.strip .pill { justify-content: center; min-height: 34px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink2, #3d4047); cursor: pointer; }
.chk input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.sharecard { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
button.item { cursor: pointer; }
.modepill { display: inline-flex; padding: 3px; gap: 2px; border-radius: 99px; background: var(--ground); border: 1px solid var(--line); flex: none; }
.modepill button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); padding: 6px 11px; border-radius: 99px; cursor: pointer; min-height: 34px; }
.modepill button[aria-pressed="true"] { background: var(--red); color: #fff; }
.avatar { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--on-deep); font-size: 24px; font-weight: 700; }
.card .name { font-size: 18px; }
.meta.strong { color: var(--ink); font-weight: 600; }
.ok-dot { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--ok); color: #fff; vertical-align: -3px; }
.ok-dot .ic { width: 12px; height: 12px; }
.lvl { display: grid; gap: 6px; align-content: center; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.steps3 i { height: 6px; border-radius: 9px; background: var(--line); }
.steps3 i.on { background: var(--ok); }
.tile.c-wash { background: var(--red-wash); color: var(--red); }
.item .t.red { color: var(--red); }
a.grow { color: inherit; text-decoration: none; }

/* Arman design */
:root { --red: #e8202a; --brand: #e8202a; --red-wash: #fdeeef; --r: 16px; --shadow: 0 4px 18px rgba(20, 16, 24, .07); --line: #eeeef2; }
body { background: #fff; }
.card { border: 1px solid #f0f0f4; box-shadow: var(--shadow); border-radius: 16px; }
.btn { border-radius: 12px; min-height: 50px; font-weight: 700; box-shadow: 0 8px 18px rgba(232, 32, 42, .26); }
.btn.ghost, .btn.light, .btn[disabled] { box-shadow: none; }
.btn.sm { box-shadow: none; }
.top.sub { justify-content: center; }
.top.sub h1 { text-align: center; font-size: 18px; padding-right: 44px; }
.top.sub .iconbtn[data-back] { position: absolute; left: 4px; }
.top.sub > :not(h1):not([data-back]) { position: absolute; right: 8px; }
.top.sub h1:last-child { padding-right: 44px; }
.seg { background: none; padding: 0; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1 0 auto; min-height: 36px; padding: 0 14px; border-radius: 10px; background: #f6f1f2; color: var(--ink2); font-size: 13.5px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(232, 32, 42, .25); }
.chip { height: 34px; border-radius: 10px; border: 0; background: #f3f4f6; font-size: 13.5px; }
.chip[aria-pressed="true"] { background: var(--red); color: #fff; }
.in { border: 1.5px solid #eceef2; background: #f8f9fb; border-radius: 12px; }
.in:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-wash); background: #fff; }
.diff { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.diff.easy { background: #e8f7ee; color: #12864a; }
.diff.mid { background: #fff2e0; color: #c86f00; }
.diff.hard { background: #fdeaea; color: #c4161c; }
.c-video { background: #7c4dff; } .c-writing { background: #8b5cf6; } .c-translate { background: #16a05a; } .c-mystery { background: #ec4899; } .c-flyer { background: #f97316; }

.cjhead { display: flex; align-items: center; gap: 10px; padding: 14px 0 10px; }
.cjlogo { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); flex: 1; min-width: 0; }
.cjlogo img { width: 34px; height: 34px; }
.cjlogo b { font-size: 24px; font-weight: 800; letter-spacing: 0; font-family: Poppins, var(--font); line-height: 1; }
.cjlogo b i { font-style: normal; color: var(--red); }
.cjlogo small { display: block; font-size: 9px; color: var(--ink3); font-weight: 600; margin-top: 2px; }
.balchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1.5px solid #ffd2d4; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.balchip i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #ffcf3f, #f29a00); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 12px; background: #f4f5f7; color: var(--ink3); }
.search input { border: 0; background: none; flex: 1; font: 400 15px var(--font); color: var(--ink); outline: none; min-width: 0; }
.promo { position: relative; overflow: hidden; border-radius: 18px; padding: 18px 150px 18px 18px; min-height: 150px; color: #fff; background: radial-gradient(120% 140% at 85% 30%, #b3121c 0, #4a0a10 45%, #121114 80%); }
.promo h2 { font-size: 19px; line-height: 1.35; color: #fff; }
.promo .btn { width: auto; min-height: 40px; margin-top: 14px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.promo img { position: absolute; right: -4px; bottom: 0; height: 160px; width: auto; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; text-align: center; }
.cats a { color: var(--ink2); text-decoration: none; font-size: 12px; font-weight: 600; display: grid; justify-items: center; gap: 6px; line-height: 1.2; }
.cats .tile { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.cats .c-all { background: var(--red); }
.sec { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.sec h2 { font-size: 17px; }
.sec a { color: var(--red); font-weight: 700; font-size: 14px; text-decoration: none; }
.trow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; }
.trow + .trow { border-top: 1px solid #f2f2f5; }
.trow .tile { width: 48px; height: 48px; border-radius: 14px; }
.trow b { display: block; font-size: 15px; line-height: 1.35; }
.trow .s { color: var(--ink3); font-size: 12.5px; }
.trow .pay { color: var(--ink); font-weight: 800; font-size: 14px; margin-top: 2px; }
.trow .side { display: grid; justify-items: end; gap: 8px; }
.heart { color: var(--ink3); }
.heart.on { color: var(--red); }
.heart.on .ic { fill: var(--red); }
.nav { box-shadow: 0 -6px 20px rgba(20,16,24,.06); border-top: 0; }
.sortrow { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sortrow::-webkit-scrollbar { display: none; }
.sortrow .meta { font-size: 13px; margin-right: 2px; flex: none; }
.sortrow button { flex: none; border: 0; background: none; font: 600 13.5px var(--font); color: var(--ink3); padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.sortrow button[aria-pressed="true"] { color: var(--red); background: var(--red-wash); }
.tdhead .tile { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.tdhead .tile .ic { width: 30px; height: 30px; }
.tdhead h2 { font-size: 19px; }
.tdpills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tdp { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 0 8px; border-radius: 10px; font-weight: 700; font-size: 13.5px; text-align: center; }
.tdp.pay { background: #e3f7f2; color: #0d7a5f; }
.tdp.easy { background: #fff3e2; color: #c86f00; } .tdp.mid { background: #fff3e2; color: #c86f00; } .tdp.hard { background: #fdeaea; color: #c4161c; }
.tdp.time { background: #fdf3e3; color: #8a5a00; }
.tdslots { margin-top: 8px; }
.nsteps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.nsteps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); font-size: 15px; }
.nsteps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red-wash); color: var(--red); font-weight: 700; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.bigring { display: grid; place-items: center; padding: 8px 0 12px; }
.ring.big { width: 190px; height: 190px; background: conic-gradient(var(--red) calc(var(--p) * 1%), #eeeef2 0); }
.ring.big.low { background: conic-gradient(#c4161c calc(var(--p) * 1%), #eeeef2 0); }
.ring.big > span { width: 170px; height: 170px; display: grid; place-content: center; text-align: center; }
.ring.big b { font-size: 40px; color: var(--red); font-weight: 800; line-height: 1.1; }
.ring.big small { color: var(--ink3); font-size: 13px; font-weight: 500; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink2); }
.checklist .ck { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eeeef2; color: #fff; flex: none; }
.checklist li.on .ck { background: #12a150; }
.checklist li.on { color: var(--ink); }
body.darkpage { background: #0d0b0e; }
body.darkpage .app { background: radial-gradient(90% 55% at 100% 0%, rgba(200, 20, 34, .45), transparent 70%), radial-gradient(80% 50% at 0% 100%, rgba(160, 12, 26, .35), transparent 70%); min-height: 100vh; }
.login.dark-hero { color: #fff; text-align: center; padding-top: 48px; }
.login .lmark { width: 96px; height: 96px; display: block; margin: 0 auto 14px; filter: drop-shadow(0 8px 24px rgba(232, 32, 42, .55)); }
.login h1 { color: #fff; font-size: 26px; }
.login .lede { color: rgba(255, 255, 255, .72); }
.login .lcard { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; text-align: left; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.login .link { color: #ff6b72; }
.login p.center { color: rgba(255, 255, 255, .8); }
.login .note.mute { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); text-align: left; }
body.darkpage .top { background: transparent; }
body.darkpage .top h1, body.darkpage .iconbtn { color: #fff; }
body.darkpage .modepill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
body.darkpage .modepill button { color: rgba(255, 255, 255, .7); }
body.darkpage .modepill button[aria-pressed="true"] { color: #fff; }
body.darkpage .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; color: #fff; }
body.darkpage .card .meta { color: rgba(255, 255, 255, .62); }
body.darkpage .card .meta.strong { color: #fff; }
body.darkpage .item { background: transparent; color: #fff; }
body.darkpage .item + .item { border-top-color: rgba(255, 255, 255, .08); }
body.darkpage .item .s { color: rgba(255, 255, 255, .58); }
body.darkpage .item:active { background: rgba(255, 255, 255, .06); }
body.darkpage .tile.c-wash { background: linear-gradient(145deg, #ff3b45, #c4161c); color: #fff; box-shadow: 0 4px 12px rgba(232, 32, 42, .35); }
body.darkpage .btn.ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .2); }
body.darkpage .steps3 i { background: rgba(255, 255, 255, .14); }
body.darkpage .avatar { background: #2a1216; color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
body.darkpage #out { border: 1px solid rgba(232, 32, 42, .35); }
body.darkpage .item .t.red { color: #ff5a62; }
body.darkpage .nav { background: #141114; box-shadow: none; border-top: 1px solid rgba(255, 255, 255, .06); }
body.darkpage .nav a { color: rgba(255, 255, 255, .6); }
body.darkpage .nav a[aria-current="page"] { color: #ff4a53; }
.login.light { text-align: center; padding-top: 32px; }
.login.light .lmark.sm { width: 64px; height: 64px; filter: none; }
.login.light form, .login.light .note { text-align: left; }
.balhero { background: radial-gradient(120% 120% at 100% 0%, #3a1016 0, #151316 60%); border-radius: 18px; }
.balhero .v { font-size: 34px; }
.walletic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat3 > div { background: #fff; border: 1px solid #f0f0f4; box-shadow: var(--shadow); border-radius: 12px; padding: 10px 8px; text-align: center; display: grid; gap: 2px; }
.stat3 b { font-size: 14px; line-height: 1.25; }
.stat3 span { font-size: 12px; color: var(--ink3); }
.tile.c-wash { background: var(--red-wash); color: var(--red); }
body.darkpage .steps3 i.on { background: #22c55e; }
.bdash .bbal { font-size: 30px; font-weight: 800; line-height: 1.2; }
.bdash .btn.sm { background: var(--red); color: #fff; }
.bstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; border-top: 1px solid #f0f0f4; padding-top: 12px; }
.bstats a { color: inherit; text-decoration: none; display: grid; }
.bstats b { font-size: 20px; }
.bstats span { font-size: 12.5px; color: var(--ink3); }
.bact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.bact a, .bact button { display: grid; justify-items: center; gap: 6px; color: var(--ink2); text-decoration: none; font: 600 12.5px var(--font); background: none; border: 0; cursor: pointer; padding: 0; }
.bact .tile { width: 52px; height: 52px; border-radius: 14px; }
.login.light h1 { color: var(--ink); }
.login.light .lede { color: var(--ink3); }
.login.light p.center, .login.light .link { color: var(--red); }
.login.light p.center { color: var(--ink2); }
.login p.center { text-align: center; }
button.tag { border: 0; background: #f3f4f6; color: var(--ink2); font: 600 13.5px var(--font); padding: 8px 12px; border-radius: 10px; cursor: pointer; }
button.tag[aria-pressed="true"] { background: var(--red); color: #fff; }
.balhero .btn.light { background: rgba(255,255,255,.1); color: #fff; border-color: transparent; }

/* Dark red everywhere, matching the profile */
:root {
  --bg: #0d0b0e; --ground: #1d171a; --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.18);
  --ink: #f7f3f4; --ink2: #d8cfd3; --ink3: #a79ca2;
  --red-wash: rgba(232,32,42,.16); --blue: #6fa2ff; --blue-wash: rgba(111,162,255,.14);
  --deep: #2a1116; --on-deep: #f7f3f4; --on-deep2: #c9b8bd;
  --ok: #2ecc71; --ok-wash: rgba(46,204,113,.14); --wait: #f2c25b; --wait-wash: rgba(242,194,91,.14);
  --bad: #ff6b70; --bad-wash: rgba(255,107,112,.14);
  --shadow: none; color-scheme: dark;
}
body, body.darkpage { background: #0d0b0e; color: var(--ink); }
body.darkpage .app { background: radial-gradient(100% 45% at 100% 0%, rgba(200,20,34,.42), transparent 70%), radial-gradient(80% 40% at 0% 100%, rgba(160,12,26,.28), transparent 70%); background-attachment: fixed; }
.top { background: rgba(13,11,14,.88); backdrop-filter: blur(10px); }
.top h1, h1, h2, h3, .cjlogo b, .trow b, .item .t { color: var(--ink); }
.meta, .item .s, .trow .s, .lede, .why, .empty { color: var(--ink3); }
.card, .stat3 > div, body.darkpage .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); box-shadow: none; color: var(--ink); }
.item, .trow { background: transparent; color: var(--ink); }
.item + .item, .trow + .trow { border-top-color: rgba(255,255,255,.07); }
.item:active, .trow:active { background: rgba(255,255,255,.06); }
.btn.ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }
.btn.light { background: rgba(255,255,255,.1); color: #fff; border-color: transparent; }
.btn[disabled] { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); border-color: transparent; }
.btn { box-shadow: 0 8px 22px rgba(232,32,42,.32); }
.in { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--ink); }
.in::placeholder { color: rgba(255,255,255,.4); }
.in:focus { background: rgba(255,255,255,.08); border-color: #ff4a53; box-shadow: 0 0 0 3px rgba(232,32,42,.2); }
label.f > span, .f > span { color: var(--ink2); }
.seg button, .chip, button.tag, .tag { background: rgba(255,255,255,.07); color: var(--ink2); border-color: transparent; }
.sortrow button { color: var(--ink3); }
.sortrow button[aria-pressed="true"] { color: #ff6b72; background: rgba(232,32,42,.16); }
.search { background: rgba(255,255,255,.07); color: var(--ink3); }
.search input { color: var(--ink); }
.balchip { background: rgba(255,255,255,.06); border-color: rgba(232,32,42,.45); color: var(--ink); }
.promo { background: radial-gradient(120% 140% at 85% 30%, #c8142a 0, #4a0a10 50%, #1a0d10 85%); border: 1px solid rgba(255,255,255,.08); }
.cats a, .bact a, .bact button { color: var(--ink2); }
.sec a, .link { color: #ff5a62; }
.hero, .balhero { background: linear-gradient(150deg, #3a1218 0%, #1a1013 70%); border: 1px solid rgba(255,255,255,.08); }
.tile.c-wash, body.darkpage .tile.c-wash { background: linear-gradient(145deg, #ff3b45, #c4161c); color: #fff; box-shadow: 0 4px 12px rgba(232,32,42,.35); }
.diff.easy { background: rgba(46,204,113,.15); color: #4be08d; }
.diff.mid { background: rgba(242,162,40,.16); color: #f5b84c; }
.diff.hard { background: rgba(255,107,112,.16); color: #ff8a8e; }
.tdp.pay { background: rgba(46,204,113,.15); color: #4be08d; }
.tdp.easy, .tdp.mid { background: rgba(242,162,40,.16); color: #f5b84c; }
.tdp.hard { background: rgba(255,107,112,.16); color: #ff8a8e; }
.tdp.time { background: rgba(255,255,255,.07); color: var(--ink2); }
.nsteps li { color: var(--ink2); }
.nsteps li::before { background: rgba(232,32,42,.2); color: #ff6b72; }
.ring span, .ring.big > span { background: #0d0b0e; }
.ring.big { background: conic-gradient(#ff3b45 calc(var(--p) * 1%), rgba(255,255,255,.08) 0); }
.ring.big b { color: #ff4a53; }
.checklist li { color: var(--ink3); }
.checklist li.on { color: var(--ink); }
.checklist .ck { background: rgba(255,255,255,.1); }
.photo-pick { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); color: var(--ink2); }
.note.wait { background: rgba(242,194,91,.12); color: #f5cf7a; }
.note.ok { background: rgba(46,204,113,.12); color: #6be6a0; }
.note.bad { background: rgba(255,107,112,.12); color: #ff9a9d; }
.note.mute { background: rgba(255,255,255,.06); color: var(--ink2); }
.note.red { background: rgba(232,32,42,.14); color: #ff9a9d; }
.note a { color: #ff7a80; }
.pill.soft { background: rgba(255,255,255,.08); color: var(--ink2); }
.bar, .split { background: rgba(255,255,255,.1); }
.sheet { background: #181316; color: var(--ink); border-top: 1px solid rgba(255,255,255,.1); }
.sheet::backdrop { background: rgba(0,0,0,.6); }
.toast { background: #2c2428; color: #fff; }
.skel { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; }
.bstats { border-top-color: rgba(255,255,255,.08); }
.login .lcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--ink); }
.login.light h1 { color: #fff; }
.login.light .lede, .login.light p.center { color: var(--ink3); }
.login.light .lmark.sm { filter: drop-shadow(0 6px 18px rgba(232,32,42,.5)); }
.nav, body.darkpage .nav { background: #141114; border-top: 1px solid rgba(255,255,255,.06); box-shadow: none; }
.nav a { color: rgba(255,255,255,.6); }
.nav a[aria-current="page"] { color: #ff4a53; }
.iconbtn { color: var(--ink); }
.iconbtn:active { background: rgba(255,255,255,.08); }
.banners { position: relative; }
.btrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; scrollbar-width: none; border: 1px solid rgba(255,255,255,.08); }
.btrack::-webkit-scrollbar { display: none; }
.bslide { flex: 0 0 100%; scroll-snap-align: center; display: block; aspect-ratio: 2 / 1; }
.bslide video { width: 100%; height: 100%; object-fit: cover; display: block; background: #1a0d10; }
.bdots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.bdots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(255,255,255,.22); transition: width .25s, background .25s; }
.bdots i.on { width: 20px; background: var(--red); }
.install { background: rgba(232,32,42,.12); border: 1px solid rgba(232,32,42,.35); color: var(--ink); }
.install .meta { color: var(--ink3); }
.install .btn.blue { background: var(--red); border-color: var(--red); }
