/* The tasks page is isolated from the home page and its legacy mobile cards. */
:root { color-scheme: dark; --bone:#dfdbce; --muted:#99988b; --line:#68604a; --red:#c73120; }
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none!important; }
html { overflow-x:clip; background:#000; scroll-padding-top:20px; }
body.tasks-page { margin:0; padding:0; background:#000; color:var(--bone); font:13px/1.55 'Courier New',monospace; min-height:100vh; overflow-x:clip; overflow-y:visible; overscroll-behavior-y:auto; position:relative; isolation:isolate; }
.tasks-page::before { content:''; position:absolute; inset:360px 0 0; z-index:-1; pointer-events:none; background:url('/assets/home-lower-atmosphere.webp') center bottom/cover no-repeat; opacity:.06; filter:grayscale(1) contrast(1.8) brightness(.45); mask-image:linear-gradient(transparent,#000 28%,#000); }
.tasks-page a { color:inherit; text-decoration:none; }
.tasks-page button,.tasks-page input { font:inherit; }
.tasks-page button { cursor:pointer; }
.tasks-page button:disabled { cursor:wait; opacity:.55; }
.tasks-page :focus-visible { outline:2px solid #dedbd0; outline-offset:5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:16px; top:-70px; z-index:30; background:#171714; padding:14px; }
.skip-link:focus { top:12px; }
.tasks-header { position:relative; z-index:5; max-width:1120px; width:calc(100% - 70px); margin:auto; height:76px; }
.tasks-nav { display:grid; grid-template-columns:1fr 160px 1fr; align-items:center; height:76px; }
.nav-side { display:flex; align-items:center; gap:34px; }
.nav-right { justify-content:flex-end; gap:26px; }
.tasks-nav a,.tasks-nav button { position:relative; padding:15px 0; border:0; background:transparent; font:11px/1.5 'Courier New',monospace; letter-spacing:1.8px; text-transform:uppercase; color:#b2b2a8; white-space:nowrap; transition:color .2s; }
.tasks-nav a:hover,.tasks-nav button:hover { color:#f3ede2; }
.tasks-nav [aria-current] { color:#e0dbce; }
.tasks-nav [aria-current]::after { content:''; position:absolute; left:-20px; right:-20px; height:1px; bottom:5px; background:linear-gradient(90deg,transparent,#a7271b,transparent); }
.tasks-nav .chat-sigil { display:block; width:64px; height:70px; padding:3px 0; justify-self:center; color:#c5c0af; }
.chat-sigil::before,.chat-sigil::after { content:''; width:55px; height:1px; position:absolute; top:35px; right:72px; background:linear-gradient(90deg,transparent,#68685c); }
.chat-sigil::after { right:auto; left:72px; transform:rotate(180deg); }
.chat-sigil svg { display:block; width:64px; height:64px; transition:transform .2s; }
.chat-sigil:hover svg { transform:scale(1.06); }
.tasks-nav .nav-icon { display:grid; place-items:center; padding:0; }
.nav-icon svg { width:21px; height:23px; stroke-width:1.1; }
#tasks-nav-avatar { width:28px; height:28px; object-fit:cover; border-radius:50%; border:1px solid #55564e; }
.tasks-hero { position:relative; height:300px; text-align:center; }
.tasks-hero-art { pointer-events:none; position:absolute; left:50%; top:-76px; transform:translateX(-50%); width:min(1440px,100%); max-width:none; height:425px; filter:grayscale(1) sepia(.12) brightness(.84); object-fit:cover; object-position:center; z-index:-1; mask-image:linear-gradient(#000 0%,#000 86%,transparent 100%); }
.hero-copy { position:absolute; inset:auto 24px 0; display:grid; place-items:center; min-height:44px; text-align:center; text-transform:uppercase; }
.hero-copy p { margin:0; font:600 12px/1.7 Georgia,'Times New Roman',serif; letter-spacing:3px; color:#e0dbce; text-shadow:0 2px 8px #000; }
.tasks-main { width:min(1040px,calc(100% - 84px)); margin:0 auto; }
.tasks-profile { position:relative; display:grid; grid-template-columns:82px minmax(160px,1.8fr) minmax(90px,1fr) minmax(130px,1fr); align-items:center; gap:23px; min-height:110px; padding:16px 28px; margin:0 16px 24px; border:1px solid #55554a66; border-radius:2px; background:linear-gradient(110deg,#0a0a08c9,#000e); }
.tasks-profile .profile-aura,.tasks-profile .profile-edge-ornament { display:none; }
.tasks-profile[href] { cursor:pointer; }
.tasks-profile[href]:hover { border-color:#8b8673; }
.tasks-profile[href]:hover::before { opacity:.96; }
#tasks-avatar { border-radius:50%; border:1px solid #5a5a4b; width:78px; height:78px; object-fit:cover; background:#070707; }
.profile-identity { min-width:0; display:flex; flex-direction:column; gap:3px; }
.micro-label { display:block; color:#939387; font:9px/1.6 'Courier New',monospace; text-transform:uppercase; letter-spacing:1.7px; }
#tasks-username { font:24px/1.2 Georgia,serif; letter-spacing:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.profile-position { color:#aaa394; font:10px/1.5 'Courier New',monospace; letter-spacing:1px; overflow-wrap:anywhere; }
.profile-stat { min-width:0; padding-left:20px; border-left:1px solid #4a4a3d80; }
.profile-stat strong { display:block; margin-top:4px; font:28px/1.2 Georgia,serif; letter-spacing:2px; }
.task-link-anchor { display:block; position:absolute; top:0; left:0; width:1px; height:1px; pointer-events:none; }
.tasks-section { position:relative; border:1px solid #45453b3d; padding:20px 22px 18px; margin-bottom:20px; background:linear-gradient(135deg,#08090777,#0007); }
.section-heading { display:flex; gap:20px; align-items:flex-start; margin-bottom:19px; }
.section-number { color:#b72a21; font-size:10px; margin-top:2px; letter-spacing:1px; padding:0 5px 24px; background:linear-gradient(#36362c88,#36362c00) center 20px/1px 24px no-repeat; }
.section-intro { flex:1; min-width:0; }
.section-title { display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.section-title h2 { font:17px/1.3 Georgia,serif; letter-spacing:4px; text-transform:uppercase; margin:0; }
.section-badge { color:#e43528; border:1px solid #7b140e; border-radius:20px; font:8px/1.4 'Courier New',monospace; padding:2px 10px; letter-spacing:1px; text-transform:uppercase; white-space:nowrap; }
.section-badge::before { content:'•'; margin-right:5px; }
.section-intro>p { margin:9px 0 0; max-width:450px; font-size:11px; line-height:1.6; letter-spacing:.5px; color:var(--muted); }
.section-timer { flex:none; display:flex; gap:12px; align-items:center; text-align:right; margin-left:auto; padding-top:5px; }
.timer-icon svg { width:17px; height:24px; stroke-width:.8; }
.timer-icon { color:#a8a697; font:20px/1 Georgia,serif; filter:grayscale(1); }
.section-timer .micro-label { font-size:8px; letter-spacing:1.2px; }
.section-timer strong { display:block; margin-top:3px; font:14px/1.4 Georgia,serif; letter-spacing:2px; font-variant-numeric:tabular-nums; }
.loading-note { width:100%; min-height:100px; display:grid; place-items:center; color:#97978b; }
.load-error { padding:20px; color:#b8b3a3; width:100%; }
.load-error p { margin-top:0; }
.retry-button { border:1px solid #55554a; color:#d8d7cb; background:#0d0d0a; padding:9px 14px; border-radius:2px; }
.weekly-card { display:grid; grid-template-columns:30% 1fr; border:1px solid #44443888; border-radius:4px; overflow:hidden; min-height:198px; }
.weekly-image { width:100%; height:100%; min-height:0; contain:size; object-fit:cover; object-position:center; border-right:1px solid #44443866; filter:brightness(.83); }
.weekly-copy { min-width:0; padding:20px 23px 16px; display:flex; flex-direction:column; }
.weekly-copy h3 { margin:0 0 10px; color:#dad9cc; font:17px/1.3 Georgia,serif; letter-spacing:3px; text-transform:uppercase; }
.weekly-copy h3::before { content:'✦'; color:var(--red); margin-right:14px; }
.task-description { margin:0; color:#a5a599; font-size:12px; line-height:1.6; max-width:100%; overflow-wrap:anywhere; }
.task-reward { color:#ed3527; text-transform:uppercase; font-size:11px; letter-spacing:1.4px; font-weight:700; margin:16px 0 0; }
.task-base-reward { color:#9e9b8e; text-transform:none; font-size:10px; font-weight:400; letter-spacing:0; display:block; margin-top:3px; }
.weekly-bottom { display:flex; gap:25px; align-items:flex-end; justify-content:space-between; margin-top:auto; padding-top:16px; }
.task-progress { flex:1; min-width:60px; max-width:390px; }
.task-progress span { display:block; font-size:11px; line-height:1.5; letter-spacing:1px; }
.progress-track { display:block; height:5px; background:#11120e; border:1px solid #4b4b3d; border-radius:5px; margin-top:5px; overflow:hidden; }
.progress-track i { display:block; width:0; height:100%; background:#a6aa82; }
.action-button { display:inline-flex; justify-content:center; align-items:center; gap:12px; flex-shrink:0; border:1px solid #d02a1d; border-radius:4px; background:linear-gradient(100deg,#0e0807,#050403); color:#deddd2; padding:12px 18px; font:10px/1.2 Georgia,serif!important; text-transform:uppercase; letter-spacing:1.2px; transition:border-color .2s,box-shadow .2s; }
.action-button::before { content:'→'; color:#e53425; font:18px/12px Georgia,serif; }
.action-button:hover { box-shadow:0 0 16px #d52a1f25; border-color:#f13d2a; }
.task-state { padding:8px 12px; border:1px solid #5f5d40; background:#15140c99; font-size:10px; letter-spacing:.5px; line-height:1.5; max-width:240px; color:#d1c79a; }
.task-state[data-state="approved"] { border-color:#5a6c47; color:#b8c699; background:#11170e88; }
.task-state[data-state="entered"] { color:#d6cba1; }
.rejection-note { color:#d39b8a; font-size:11px; margin:12px 0 0; }
.task-form { margin-top:17px; padding-top:15px; border-top:1px solid #49493b88; }
.task-form label { display:block; font-size:10px; color:#b6b4a5; letter-spacing:.4px; margin:0 0 7px; }
.task-form input { width:100%; color:#dddccf; border:1px solid #66654d; border-radius:3px; background:#080907; padding:11px 12px; font-size:12px; }
.task-form input[type="file"] { font-size:11px; margin-bottom:12px; }
.task-form input::placeholder { color:#8d8a7c; }
.task-form .form-actions { display:flex; gap:12px; margin-top:12px; align-items:center; }
.task-form .cancel-button { color:#a8a89b; border:0; background:none; padding:10px; font-size:10px; }
.form-help { color:#8e8e80; font-size:10px; line-height:1.5; }
.form-error { color:#efad9d; margin:10px 0 0; font-size:11px; }
.external-proof { display:inline-block; color:#d1cfb5!important; font-size:11px; text-decoration:underline!important; text-underline-offset:3px; margin-top:9px; }
.daily-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:start; }
.daily-card { overflow:hidden; border:1px solid #55554999; border-radius:5px; background:linear-gradient(130deg,#0b0c09c9,#030403e8); min-width:0; }
.daily-card[data-period="today"] { border-color:#8a83716e; box-shadow:0 0 25px #c4bbaa08; }
.daily-image { position:relative; height:126px; border-bottom:1px solid #444438; overflow:hidden; background:#0c0e0a; }
.daily-image img { display:block; width:100%; height:100%; object-fit:cover; opacity:.72; filter:grayscale(1) brightness(.8); transition:transform .35s,filter .35s; }
.daily-card[data-period="today"]:hover .daily-image img { transform:scale(1.035); filter:grayscale(1) brightness(.95); }
.day-overlay { position:absolute; inset:0; display:grid; place-items:center; background:#0009; color:#bcbbae; font:12px/1.3 Georgia,serif; letter-spacing:4px; text-transform:uppercase; text-shadow:0 2px 8px #000; }
.daily-copy { padding:13px 15px 15px; }
.day-caption { font:8px/1.4 'Courier New',monospace; color:#8a897e; text-transform:uppercase; letter-spacing:2px; margin-bottom:6px; }
.daily-card[data-period="today"] .day-caption { color:#bd6d57; }
.day-date { margin-left:10px; color:#99968a; font-size:.85em; letter-spacing:1px; white-space:nowrap; }
.daily-copy h3 { margin:0; min-height:36px; font:12px/1.5 Georgia,serif; color:#dad9ce; letter-spacing:1.2px; text-transform:uppercase; overflow-wrap:anywhere; }
.daily-copy .task-description { font-size:10px; margin-top:8px; line-height:1.6; }
.task-heading { display:flex; align-items:flex-start; gap:8px; }
.task-heading h3 { flex:1; min-width:0; }
.task-help-trigger { flex:none; display:grid; place-items:center; width:30px; height:30px; margin:-4px -4px 0 0; padding:4px; border:0; background:none; color:#b8ac91; touch-action:manipulation; }
.task-help-trigger span { display:grid; place-items:center; width:20px; height:20px; border:1px solid #9b89636e; border-radius:50%; background:#0a0b08; font:13px/1 Georgia,serif; transition:color .2s,border-color .2s,box-shadow .2s; }
.task-help-trigger:hover span,.task-help-trigger[aria-expanded="true"] span { color:#eee0c4; border-color:#c5ad7d; box-shadow:0 0 12px #b79c6620; }
.task-help-popup { position:fixed; z-index:150; width:min(320px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); padding:17px 19px; border:1px solid #a5906670; background:linear-gradient(120deg,#191a14fa,#080a08fc); box-shadow:0 12px 35px #000b,inset 0 0 0 4px #a18c5710; color:#d4cebe; }
.task-help-popup::before { content:''; position:absolute; left:var(--tip-left); top:-5px; width:8px; height:8px; background:#12140f; border-left:1px solid #a5906670; border-top:1px solid #a5906670; transform:translateX(-50%) rotate(45deg); }
.task-help-popup[data-placement="above"]::before { top:auto; bottom:-5px; transform:translateX(-50%) rotate(225deg); }
.task-help-caption { display:block; margin:0 0 9px; font:8px/1.5 'Courier New',monospace; letter-spacing:2px; text-transform:uppercase; color:#b9a582; }
.task-help-popup .task-help-text { margin:0; font:13px/1.65 Georgia,'Times New Roman',serif; overflow-wrap:anywhere; }
@media(pointer:coarse){.task-help-trigger{width:40px;height:40px;margin-top:-8px;padding:10px}}
.daily-copy .task-reward { font-size:10px; margin-top:10px; }
.daily-bottom { display:flex; gap:14px; align-items:center; margin-top:12px; }
.daily-action { border:1px solid #8b8973; border-radius:50%; background:#050604; color:#dadacf; width:36px; height:36px; padding:0; flex-shrink:0; font:22px/1 Georgia,serif!important; }
.daily-action:hover { border-color:#b52e20; color:#fff; }
.daily-copy .task-state { margin-top:12px; max-width:none; }
.daily-copy .task-form .action-button { padding:11px 12px; letter-spacing:.5px; }
.daily-copy .task-form .form-actions { gap:4px; flex-wrap:wrap; }
.daily-card:not([data-period="today"]) .daily-copy { opacity:.68; }
.closed-note { color:#979487; font-size:10px; margin:12px 0 0; }
.streak-section { position:relative; display:grid; grid-template-columns:280px 100px minmax(0,1fr); align-items:center; gap:24px; border:1px solid #62614e70; border-radius:3px; padding:18px 22px 14px; background:linear-gradient(110deg,#0a0b0780,#000c); }
.streak-intro { display:flex; align-items:center; gap:18px; }
.streak-flame { width:44px; height:44px; border:1px solid #af2116; border-radius:50%; display:grid; place-items:center; color:#e52919; flex-shrink:0; }
.streak-flame svg { width:18px; height:25px; }
.streak-intro h2 { font:13px/1.5 Georgia,serif; letter-spacing:2px; text-transform:uppercase; margin:0; }
.streak-intro p { font:10px/1.6 'Courier New',monospace; color:#969486; margin:3px 0 0; }
.streak-count { display:flex; flex-direction:column; align-items:center; padding:0 12px; border-left:1px solid #484839; border-right:1px solid #484839; }
.streak-count strong { font:32px/1.2 Georgia,serif; }
.streak-count .micro-label { font-size:8px; letter-spacing:1px; margin-top:4px; text-align:center; }
.streak-steps { min-width:0; display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); list-style:none; padding:0; margin:0; }
.streak-steps li { position:relative; min-width:0; text-align:center; font-size:8px; color:#a09d8d; padding-top:28px; }
.streak-steps li::before { content:''; position:absolute; width:15px; height:15px; border:1px solid #8a8877; background:#060705; border-radius:50%; top:3px; left:50%; transform:translateX(-50%); z-index:1; }
.streak-steps li+li::after { content:''; position:absolute; top:10px; right:50%; width:100%; height:1px; background:#646352; }
.streak-steps .is-earned::before { background:#5d1510; border-color:#bb3022; }
.streak-steps .is-current::before { border:2px solid #e7301d; background:#66150c; box-shadow:0 0 12px #c52a19; }
.streak-steps .is-current { color:#ef4936; }
.streak-steps .is-pending::before { border-style:dashed; border-color:#b68a57; }
.streak-note:empty { display:none; }
.streak-note { grid-column:1/-1; margin:0; font:10px/1.6 'Courier New',monospace; color:#9a9787; }
.streak-rules { grid-column:1/-1; padding-top:10px; border-top:1px solid #45443566; color:#9a9787; font-size:10px; }
.streak-rules summary { cursor:pointer; width:fit-content; color:#b4b09d; }
.streak-rules p { margin:10px 0 0; max-width:890px; line-height:1.7; }
.tasks-footer { border-top:1px solid #6b6b5d35; margin-top:30px; padding:24px 0 32px; display:flex; justify-content:space-between; color:#8c8875; font-size:10px; }
.tasks-footer a:hover { color:#e3dfcf; }
.tasks-toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); max-width:calc(100% - 36px); width:max-content; z-index:20; color:#e2ddcd; background:#11120d; border:1px solid #8e3a29; padding:14px 20px; font:12px/1.5 'Courier New',monospace; box-shadow:0 5px 30px #000; }
@keyframes glowPulse { 0%,100% { filter:brightness(1); } 50% { filter:brightness(1.15); } }
.anon-avatar { filter:brightness(.2) contrast(1.3)!important; }
@media (min-width:1600px) { .tasks-hero-art { width:1440px; } }
@media (max-width:1100px) {
 .tasks-header { width:calc(100% - 50px); }
 .tasks-nav { grid-template-columns:1fr 110px 1.2fr; }
 .nav-side { gap:22px; }.nav-right { gap:19px; }
 .tasks-nav a,.tasks-nav button { font-size:9px; letter-spacing:1.4px; }
 .chat-sigil::before,.chat-sigil::after { width:28px; }
 .tasks-main { width:calc(100% - 60px); }
 .tasks-profile { gap:17px; padding:14px 20px; grid-template-columns:72px minmax(140px,1.6fr) minmax(80px,1fr) minmax(120px,1fr); }
 #tasks-avatar { width:68px; height:68px; }
 .profile-stat { padding-left:15px; }
 .section-title h2 { font-size:15px; letter-spacing:3px; }
 .section-title { gap:10px; }.section-heading { gap:13px; }
 .streak-section { grid-template-columns:240px 85px minmax(0,1fr); gap:18px; padding:18px; }
 .streak-intro { gap:12px; }.streak-intro h2 { font-size:12px; letter-spacing:1.5px; }
 .streak-steps li { font-size:7px; }
}
@media (max-width:800px) {
 .tasks-header { width:calc(100% - 28px); height:100px; }
 .tasks-nav { height:100px; grid-template-columns:1fr 62px 1fr; align-items:start; padding-top:10px; }
 .nav-side { flex-wrap:wrap; gap:3px 19px; padding-top:7px; }
 .nav-right { gap:3px 16px; }.nav-side a,.nav-side button { padding:9px 0; }
 .nav-right .nav-icon { display:none; }.tasks-nav .chat-sigil { height:66px; }
 .chat-sigil::before,.chat-sigil::after { display:none; }
 .tasks-hero { height:235px; }.tasks-hero-art { top:-100px; height:350px; width:100%; object-fit:cover; }
 .hero-copy { bottom:4px; inset-inline:16px; min-height:38px; }.hero-copy p { font-size:10px; letter-spacing:2px; }.tasks-main { width:calc(100% - 32px); }
 .tasks-profile { margin:0 4px 20px; gap:14px; grid-template-columns:64px minmax(100px,1.5fr) 1fr 1.1fr; padding:16px; }
 #tasks-avatar { width:60px; height:60px; }#tasks-username { font-size:20px; }.profile-position { font-size:9px; }
 .profile-identity .micro-label { font-size:7px; letter-spacing:1px; }.profile-stat .micro-label { font-size:8px; letter-spacing:1px; }
 .profile-stat { padding-left:13px; }.profile-stat strong { font-size:23px; }
 .tasks-section { padding:16px 15px; }.section-heading { gap:8px; }.section-number { padding-inline:0; font-size:8px; }
 .section-title { gap:7px; }.section-title h2 { font-size:13px; letter-spacing:2px; }.section-badge { font-size:7px; padding:2px 7px; }
 .section-intro>p { font-size:10px; }.section-timer { gap:7px; }.section-timer strong { font-size:12px; letter-spacing:1px; }.section-timer .micro-label { font-size:7px; }.timer-icon { font-size:17px; }
 .weekly-card { grid-template-columns:31% 1fr; }.weekly-copy { padding:17px; }.weekly-copy h3 { font-size:14px; letter-spacing:2px; }.weekly-bottom { gap:15px; }.task-description { font-size:11px; }
 .action-button { font-size:9px!important; padding:11px 12px; letter-spacing:.8px; }.weekly-bottom .task-state { max-width:175px; font-size:9px; }
 .daily-cards { gap:12px; }.daily-image { height:105px; }.daily-copy { padding:12px 10px; }.daily-copy h3 { font-size:10px; letter-spacing:.8px; min-height:45px; }
 .daily-copy .task-description { font-size:9px; }.daily-copy .task-reward { font-size:9px; }.daily-copy .task-state { font-size:9px; padding:7px; }.day-overlay { font-size:11px; letter-spacing:3px; }
 .streak-section { grid-template-columns:1fr 80px; gap:16px; }.streak-intro { gap:15px; }.streak-steps { grid-column:1/-1; }.streak-steps li { font-size:9px; }.streak-count { border-right:0; }
}
@media (max-width:540px) {
 .tasks-header { width:calc(100% - 22px); }.tasks-nav { grid-template-columns:1fr 52px 1fr; }.nav-side { gap:0 13px; }.nav-right { gap:0 11px; }.tasks-nav a,.tasks-nav button { font-size:8px; letter-spacing:.8px; }
 .tasks-nav .chat-sigil { width:52px; height:60px; }.chat-sigil svg { width:52px; height:60px; }
 .tasks-hero { height:200px; }.tasks-hero-art { width:100%; height:295px; top:-95px; }.hero-copy { bottom:4px; min-height:34px; }.hero-copy p { font-size:8px; letter-spacing:1.4px; line-height:1.8; }.tasks-main { width:calc(100% - 24px); }.tasks-profile { grid-template-columns:62px 1fr 1fr; gap:14px 12px; padding:14px; }
 .profile-identity { grid-column:2/4; }.profile-stat { grid-row:2; grid-column:auto; border:0; padding:0; }.profile-stat:nth-of-type(2) { grid-column:2; }.profile-stat:nth-of-type(3) { grid-column:3; }
 .section-heading { flex-wrap:wrap; }.section-title h2 { font-size:12px; letter-spacing:1.8px; }.section-title { gap:8px; }.section-badge { font-size:7px; }.section-intro { flex-basis:calc(100% - 30px); }
 .section-timer { padding-top:1px; margin-left:18px; text-align:left; }.section-timer>div { display:flex; align-items:center; gap:12px; }.section-timer strong { margin:0; }
 .weekly-card { display:block; }.weekly-image { height:140px; min-height:0; object-position:center; border-right:0; border-bottom:1px solid #444438; }.weekly-copy { padding:16px; }.weekly-copy h3 { font-size:14px; }.weekly-bottom { gap:12px; }
 .weekly-image[data-weekly-type="tattoo"] { object-position:center bottom; }
 .task-progress { min-width:38px; }.action-button { padding:11px; font-size:8px!important; }
 .daily-cards { grid-template-columns:1fr; gap:16px; }.daily-card { display:grid; grid-template-columns:30% 1fr; }.daily-image { height:100%; min-height:150px; border-right:1px solid #444438; border-bottom:0; }.daily-copy { padding:14px; }.daily-copy h3 { min-height:0; font-size:11px; }.daily-copy .task-description { font-size:10px; }.daily-copy .task-reward { font-size:10px; }.day-overlay { font-size:9px; letter-spacing:2px; }
 .streak-section { padding:15px; gap:15px 10px; }.streak-intro { gap:11px; }.streak-intro h2 { font-size:11px; letter-spacing:1px; }.streak-intro p { font-size:8px; }.streak-flame { width:34px; height:34px; }.streak-flame svg { width:14px; height:21px; }.streak-count { padding-inline:9px; }.streak-count strong { font-size:28px; }.streak-count .micro-label { font-size:7px; }
 .streak-steps li { font-size:7px; }.streak-steps li::before { width:13px; height:13px; top:4px; }.streak-note,.streak-rules { font-size:9px; }
 .tasks-footer { font-size:8px; gap:18px; flex-wrap:wrap; padding:20px 0; }}
/* The same four frames, proportions and restrained light as the home profile. */
@media (min-width:1000px) {
 .tasks-profile {
  --profile-frame:url('/assets/home-profile-frame.webp?v=20261020-profile-crescent'); --profile-light:196,180,154; --profile-strength:.65;
  display:block; height:auto; min-height:0; aspect-ratio:1895 / 410;
  margin:0 0 24px; padding:0; border:0; border-radius:0; background:none; overflow:visible;
 }
 .tasks-profile::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:var(--profile-frame) center 40.47619% / 100% auto no-repeat; opacity:.8;
 }
 .tasks-profile[data-profile-tier="2"] { --profile-frame:url('/assets/home-profile-second.webp?v=20261022-silver-crescent'); --profile-light:195,202,210; --profile-strength:.38; }
 .tasks-profile[data-profile-tier="3"] { --profile-frame:url('/assets/home-profile-third.webp?v=20261020-profile-cutout'); --profile-light:174,122,82; --profile-strength:.22; }
 /* Match the crescent aperture and status inset on the home profile. */
 .tasks-profile[data-profile-tier="2"]::before { opacity:.74; filter:grayscale(1) brightness(1.08); z-index:1; }
 .tasks-profile[data-profile-tier="2"] #tasks-avatar { left:15.38%; top:53.18%; width:10.58%; z-index:0; border:0; }
 .tasks-profile[data-profile-tier="2"] .profile-identity,
 .tasks-profile[data-profile-tier="2"] .profile-stat { z-index:2; }
 .tasks-profile[data-profile-tier="2"] .profile-stat--completed { left:75.6%; top:57.2%; width:15.6%; }
 .tasks-profile[data-profile-tier="3"]::before { opacity:.66; filter:sepia(.85) saturate(1.45) hue-rotate(-12deg) brightness(.88); }
 .tasks-profile #tasks-avatar {
  position:absolute; left:15.2%; top:56.1%; transform:translate(-50%,-50%);
  width:10.9%; height:auto; aspect-ratio:1; border-color:#4b4a43; background:#050505;
 }
 .tasks-profile .profile-identity {
  position:absolute; left:26%; top:54%; width:20%; transform:translateY(-50%); gap:7px;
 }
 .tasks-profile #tasks-username { font:40px/1.15 'UnifrakturMaguntia',Georgia,serif; letter-spacing:1px; color:#eeeadd; }
 .tasks-profile .profile-position { font-size:9px; letter-spacing:1.3px; }
 .tasks-profile .profile-stat {
  position:absolute; top:54%; transform:translateY(-50%); padding:0; border:0; text-align:center;
 }
 .tasks-profile .profile-stat--points { left:54.5%; width:17%; }
 .tasks-profile .micro-label { font:600 9px/1.5 Georgia,serif; letter-spacing:1.6px; color:#a7a393; }
 .tasks-profile #tasks-points {
  margin-top:3px; max-width:100%; overflow:hidden; text-overflow:ellipsis;
  font:40px/1.1 Georgia,serif; letter-spacing:3px; color:#e4decf;
 }
 .tasks-profile .profile-stat--completed { left:80.5%; width:12.5%; top:56.1%; }
 .tasks-profile[data-profile-tier="1"] .profile-stat--completed { left:77%; width:15.4%; }
 .tasks-profile .profile-stat--completed .micro-label { font-size:7px; letter-spacing:.8px; white-space:nowrap; }
 .tasks-profile #tasks-completed { margin-top:2px; font:25px/1.1 Georgia,serif; letter-spacing:2px; color:#e4decf; }
 .tasks-profile[data-profile-tier="3"] .profile-stat--completed { left:77%; width:15.4%; }
 .tasks-profile:not([data-profile-tier="regular"]) .profile-aura {
  display:block; position:absolute; inset:17% 3% 14%; border-radius:8px; pointer-events:none;
  opacity:var(--profile-strength); box-shadow:0 0 23px rgba(var(--profile-light),.16),inset 0 0 17px rgba(var(--profile-light),.09);
  animation:profile-edge-breathe 6s ease-in-out infinite;
 }
 .tasks-profile .profile-aura::before,.tasks-profile .profile-aura::after {
  content:''; position:absolute; left:6%; right:6%; height:1px; top:0;
  background:linear-gradient(90deg,transparent,rgba(var(--profile-light),.7),transparent);
 }
 .tasks-profile .profile-aura::after { top:auto; bottom:0; }
 .tasks-profile[data-profile-tier="2"] .profile-aura { animation-duration:8s; }
 .tasks-profile[data-profile-tier="3"] .profile-aura { animation-duration:10s; }
 .tasks-profile[data-profile-tier="regular"] { height:120px; aspect-ratio:auto; }
 .tasks-profile[data-profile-tier="regular"]::before {
  inset:6px 0; border:1px solid #55554a66; border-radius:2px;
  background:linear-gradient(110deg,#0a0a08c9,#000e); opacity:1;
 }
 .tasks-profile[data-profile-tier="regular"] #tasks-avatar { left:6.5%; top:50%; width:7.5%; }
 .tasks-profile[data-profile-tier="regular"] .profile-identity { left:14.5%; top:50%; width:26%; gap:4px; }
 .tasks-profile[data-profile-tier="regular"] #tasks-username { font-size:32px; }
 .tasks-profile[data-profile-tier="regular"] .profile-position { color:#77776e; font-size:8px; letter-spacing:.8px; }
 .tasks-profile[data-profile-tier="regular"] .profile-stat { top:50%; border-left:1px solid #55554a66; }
 .tasks-profile[data-profile-tier="regular"] .profile-stat--points { left:49%; width:18%; }
 .tasks-profile[data-profile-tier="regular"] .profile-stat--completed { left:69%; width:28%; isolation:isolate; }
 .tasks-profile[data-profile-tier="regular"] .profile-stat--completed::before {
  content:''; position:absolute; inset:-22px 7px; z-index:-1; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 90' preserveAspectRatio='none'%3E%3Cpath d='M15 14H285L294 23V67L285 76H15L6 67V23Z' fill='%23060605' fill-opacity='.7' stroke='%237d7764' stroke-width='.9'/%3E%3Cpath d='M18 20H282L288 26V64L282 70H18L12 64V26Z' fill='none' stroke='%23464237' stroke-width='.7'/%3E%3Cpath d='m8 8 9 9-15 12m290-21-9 9 15 12M8 82l9-9L2 61m290 21-9-9 15-12M150 7l3 7-3 7-3-7ZM150 69l2 7-2 7-2-7Z' fill='none' stroke='%23827a67' stroke-width='.7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
 }
 .tasks-profile[data-profile-tier="regular"] .profile-stat--completed .micro-label { font-size:8px; letter-spacing:1px; }
 .tasks-profile[data-profile-tier="regular"] #tasks-points,
 .tasks-profile[data-profile-tier="regular"] #tasks-completed { margin-top:7px; font-size:28px; letter-spacing:2px; }
 .tasks-profile[data-profile-tier="regular"] .profile-edge-ornament {
  display:block; position:absolute; width:72px; height:72px; max-width:none;
  pointer-events:none; overflow:visible; color:#c9c3af; stroke:currentColor; stroke-width:.65;
 }
 .tasks-profile .profile-edge-ornament--left { left:-32px; bottom:-1px; }
 .tasks-profile .profile-edge-ornament--right { right:-32px; top:-1px; transform:rotate(180deg); }
 .tasks-profile .profile-edge-etch { opacity:.3; }
 .tasks-profile .profile-edge-glint {
  opacity:.55; transform-box:fill-box; transform-origin:center;
  filter:drop-shadow(0 0 3px #d6d0bb70); animation:profile-side-glint 7s ease-in-out infinite;
 }
 .tasks-profile .profile-edge-trace { stroke-width:1; stroke-dasharray:8 100; opacity:.65; animation:profile-side-trace 7s ease-in-out infinite; }
 .tasks-profile .profile-edge-ornament--right .profile-edge-glint,
 .tasks-profile .profile-edge-ornament--right .profile-edge-trace { animation-delay:-3.5s; }
}
@keyframes profile-edge-breathe {
 0%,100% { opacity:calc(var(--profile-strength) * .4); } 50% { opacity:var(--profile-strength); }
}
@keyframes profile-side-glint {
 0%,100% { opacity:.25; transform:scale(.85); } 45%,55% { opacity:.8; transform:scale(1.12); }
}
@keyframes profile-side-trace {
 0%,12% { stroke-dashoffset:16; opacity:0; } 32%,62% { opacity:.65; } 85%,100% { stroke-dashoffset:-88; opacity:0; }
}
@media (prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .tasks-profile .profile-edge-glint { opacity:.45; transform:none; }
 .tasks-profile .profile-edge-trace { opacity:.25; }
}

/* First-place metal: slow warm light, independent of avatar/points effects. */
@media (min-width:1000px) {
  .tasks-page .tasks-profile[data-profile-tier="1"]::before {
    animation:champion-frame-breathe 8.4s ease-in-out infinite;
  }
  .tasks-page .tasks-profile[data-profile-tier="1"]::after {
    content:''; display:block; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(110deg,transparent 43%,#edc88066 48%,#fff0d1b3 50%,#edc88066 52%,transparent 57%);
    background-size:300% 100%; background-position:130% 0; opacity:0;
    mask-image:var(--profile-frame); mask-mode:luminance;
    mask-position:center 40.47619%; mask-size:100% auto; mask-repeat:no-repeat;
    mix-blend-mode:screen; animation:champion-metal-sweep 14s ease-in-out infinite;
  }
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura {
    inset:0; border-radius:0; box-shadow:none; opacity:.6;
    animation:champion-aura-breathe 8.4s ease-in-out infinite;
  }
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura::before,
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura::after {
    inset:0; width:auto; height:auto; pointer-events:none; opacity:.08;
    background:radial-gradient(circle at 15.2% 18%,#fff6d8 0,#e7bc7766 2px,transparent 7px),radial-gradient(circle at 94.6% 81.4%,#fff1cacc 0,#d5a45c44 2px,transparent 6px);
    animation:champion-metal-glints 12s ease-in-out infinite;
  }
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura::after {
    background:radial-gradient(circle at 5.4% 22%,#fff1cacc 0,#d5a45c44 2px,transparent 6px),radial-gradient(circle at 84.7% 35%,#fff1caaa 0,#d5a45c33 2px,transparent 5px);
    animation-delay:-6s;
  }
}
@keyframes champion-frame-breathe {
  0%,100% { filter:brightness(1) drop-shadow(0 0 2px #d3a35414); }
  50% { filter:brightness(1.12) drop-shadow(0 0 6px #e8bc6e40); }
}
@keyframes champion-aura-breathe {
  0%,100% { opacity:.35; } 50% { opacity:.72; }
}
@keyframes champion-metal-sweep {
  0%,16% { background-position:130% 0; opacity:0; }
  25% { opacity:.65; }
  52% { background-position:-30% 0; opacity:.65; }
  60%,100% { background-position:-30% 0; opacity:0; }
}
@keyframes champion-metal-glints {
  0%,18%,62%,100% { opacity:.06; }
  35%,42% { opacity:.85; }
}
@media (min-width:1000px) and (prefers-reduced-motion:reduce) {
  .tasks-page .tasks-profile[data-profile-tier="1"]::before { animation:none!important; filter:brightness(1.04) drop-shadow(0 0 3px #d3a35418); }
  .tasks-page .tasks-profile[data-profile-tier="1"]::after { animation:none!important; opacity:0; }
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura,
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura::before,
  .tasks-page .tasks-profile[data-profile-tier="1"] .profile-aura::after { animation:none!important; opacity:.16; }
}

/* Match the compact profile borders to their podium metals. */
@media (max-width:999px) {
 .tasks-profile[data-profile-tier="2"] { border-color:#a1a8b1; }
 .tasks-profile[data-profile-tier="3"] { border-color:#9c7050; }
}

.tasks-page::after {content:'';position:absolute;z-index:-1;left:0;right:0;bottom:0;width:auto;height:clamp(300px,24vw,440px);transform:none;pointer-events:none;background:url('/assets/home-footer-clouds.webp') center bottom/100% auto no-repeat;opacity:.28;filter:none;mask-image:linear-gradient(transparent,#0003 30%,#0009 60%,#000 88%);mask-composite:add}

/* Shared home atmosphere; title and pointed symbol remain a separate transparent layer. */
.tasks-atmosphere{position:absolute;z-index:-1;top:0;left:50%;width:min(100%,1440px);height:760px;transform:translateX(-50%);pointer-events:none;background:linear-gradient(#0003,#0003),url('/assets/home-atmosphere.webp') center -24px/1440px 742.5px no-repeat;mask-image:linear-gradient(#000 0%,#000 52%,transparent 100%),linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
@media(max-width:800px){.tasks-atmosphere{height:650px;background-size:1080px auto;background-position:center -5px}}
@media(max-width:540px){.tasks-atmosphere{background-size:780px auto}}

/* Native gallery/file picker and private screenshot preview. */
.task-form input[type="file"]{width:100%;min-width:0;font-size:11px;white-space:normal;padding:10px 8px;}
.task-form input[type="file"]::file-selector-button{background:#15130f;color:#d5cbb2;border:1px solid #605740;padding:9px 10px;margin:0 8px 4px 0;cursor:pointer;font:inherit;}
.task-form .proof-preview{display:block;width:100%;max-height:180px;object-fit:contain;margin:10px 0;background:#060605;border:1px solid #393324;}
.task-form .proof-preview[hidden]{display:none;}
