/* (14 Nov 2026, Step 10) Tasks screen: Today's Tasks on top, Weekly Tasks below, both always in view, no sideways sliding. */
html body #chOv .chscroll{display:flex !important; flex-direction:column; gap:4px; margin:2px 0 0; padding:0 !important; overflow:visible !important; -webkit-mask:none !important; mask:none !important; min-height:0}
html body #chOv .chsec{display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-areas:"h note" "list list"; align-items:baseline; column-gap:10px; row-gap:3px; flex:none; min-width:0}
html body #chOv .chsec h3{grid-area:h; margin:0 !important; font-size:14px; line-height:1.1; text-align:left}
html body #chOv .chsec .note{grid-area:note; margin:0; font-size:11px; text-align:right; min-height:0}
html body #chOv #chDay,html body #chOv #chWeek{grid-area:list; display:grid !important; grid-auto-flow:row !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; grid-auto-columns:auto !important; gap:8px !important; overflow:visible !important; padding:0 !important; scroll-snap-type:none}
html body #chOv .chrow{display:grid !important; grid-template-columns:auto minmax(0,1fr) !important; grid-template-rows:auto auto !important; grid-template-areas:"ico txt" "st rew"; align-items:center; align-content:start; column-gap:8px; row-gap:3px !important; min-height:0 !important; padding:5px 8px !important; margin:0 !important; min-width:0}
html body #chOv .chrow>.chico{grid-area:ico; grid-column:auto; margin:0; width:30px !important; height:30px !important; justify-self:center}
html body #chOv .chrow>.chico img{width:22px !important; height:22px !important}
html body #chOv .chrow>div{grid-area:txt; grid-column:auto; text-align:left; min-width:0}
html body #chOv .chrow>div b{display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:11.5px; line-height:1.15; padding-bottom:1px}
html body #chOv .chrow .pbar{margin-top:4px; height:7px !important}
html body #chOv .chrow>:is(.btn,em,.cnt2){grid-area:st; justify-self:start; font-size:12px}
html body #chOv .chrow>.btn{min-height:24px; padding:2px 12px; font-size:12px}
html body #chOv .chrow>.mini-btn{grid-area:st; justify-self:end; margin-right:0}
html body #chOv .chrow .chrew{grid-area:rew; grid-column:auto; justify-self:end; display:flex; flex-wrap:nowrap; gap:3px; padding:0; border:0; align-self:center}
html body #chOv .chrew .rw{padding:2px 6px 2px 5px; font-size:11px; gap:2px; box-shadow:0 1px 0 #3a2414}
html body #chOv .chrew .rw small{display:none}
html body #chOv .chrew .rw i.boli,html body #chOv .chrew .rw img,html body #chOv .chrew .rw i.akr{width:11px; height:11px}
html body #chOv .freeze{display:flex !important; align-items:center; gap:10px; width:auto !important; margin:0 !important; padding:3px 10px !important; flex:none}
html body #chOv .freeze small{flex:1; min-width:0; font-size:11px}
html body #chOv .freeze .gbtn{width:auto !important; flex:none; padding:4px 12px !important; font-size:12px !important; min-height:26px; margin:0}
html body #chOv #chErr{min-height:0; margin:0}
@media (min-height:560px) and (min-width:700px){
  html body #chOv .chsec h3{font-size:18px}
  html body #chOv .chrow{padding:12px 14px !important; row-gap:8px !important; column-gap:12px}
  html body #chOv .chrow>.chico{width:46px !important; height:46px !important} html body #chOv .chrow>.chico img{width:32px !important; height:32px !important}
    html body #chOv .chrew .rw{font-size:13px; padding:3px 9px 3px 7px}
  html body #chOv .chrow>.btn{font-size:14px}
}
/* a finger needs 44 px: the buttons stay small to look at, and reach out invisibly */
html body #chOv :is(.chrow>.btn,.freeze .gbtn){position:relative}
html body #chOv :is(.chrow>.btn,.chrow>.mini-btn,.freeze .gbtn)::after{content:""; position:absolute; inset:-14px -10px}
@media (min-height:560px) and (min-width:700px){ html body #chOv .chrow>div b{-webkit-line-clamp:unset; display:block; font-size:14px} }
@media (max-height:340px){ html body #chOv .chrow>div b{font-size:10.5px; line-height:1.1} }
html body #chOv .chrow>div,html body #chOv .chrow>div b{text-align:left !important}
html body #chOv .chrow>.btn{width:auto !important; min-width:0 !important; padding:2px 9px !important; white-space:nowrap}
@media (max-height:430px){
  html body #chOv .chrew .rw{font-size:10px; padding:1px 4px 1px 3px; gap:1px}
  html body #chOv .chrew .rw i.boli,html body #chOv .chrew .rw img,html body #chOv .chrew .rw i.akr{width:9px; height:9px}
  html body #chOv .chrow .chrew{gap:2px}
  html body #chOv .chrow>.btn{font-size:11px !important; padding:2px 7px !important}
}
@media (max-width:600px){
  html body #chOv .chrew .rw{font-size:9.5px; padding:1px 3px 1px 2px; letter-spacing:-.2px}
  html body #chOv .chrow>.btn{padding:2px 6px !important}
  html body #chOv .chrow{column-gap:6px}
}
html body #chOv .chrow{position:relative}
html body #chOv .chrow>.mini-btn{position:absolute !important; grid-area:auto !important; top:3px; right:4px; width:22px; height:22px; min-width:0; padding:0; margin:0; display:grid; place-items:center; font-size:13px; line-height:1}
html body #chOv .chrow:has(>.mini-btn)>div{padding-right:22px}
html body #chOv .chrow>.mini-btn::after{inset:-14px -16px}

/* (14 Nov 2026, Fix Round 2 E9) the Tasks screen sizes itself to the screen: ONE unit --f follows the window's height and width
   (small phone ~12px, big phone ~14px, laptop up to 20px) and the text, icons, rewards, buttons, padding, gaps and the number of columns all follow it.
   The columns are as many as fit (3 on every landscape phone and laptop; fewer on a narrow window, the list then scrolls up and down). */
html body #chOv{ --f:clamp(12px, min(3.5vh, 1.8vw), 20px) }
html body #chOv .chscroll{gap:calc(var(--f)*.9); overflow-x:hidden !important; overflow-y:auto !important; align-content:start; padding:0 !important}
html body #chOv .chsec{column-gap:calc(var(--f)*.8); row-gap:calc(var(--f)*.35)}
html body #chOv .chsec h3{font-size:calc(var(--f)*1.25)}
html body #chOv .chsec h3 small{font-size:calc(var(--f)*.85)}
html body #chOv .chsec .note{font-size:calc(var(--f)*.9)}
html body #chOv #chDay,html body #chOv #chWeek{grid-template-columns:repeat(auto-fit,minmax(calc(var(--f)*14),1fr)) !important; gap:calc(var(--f)*.7) !important}
html body #chOv .chrow{padding:calc(var(--f)*.6) calc(var(--f)*.8) !important; row-gap:calc(var(--f)*.4) !important; column-gap:calc(var(--f)*.7)}
html body #chOv .chrow>.chico{width:calc(var(--f)*2.8) !important; height:calc(var(--f)*2.8) !important}
html body #chOv .chrow>.chico img{width:calc(var(--f)*2.1) !important; height:calc(var(--f)*2.1) !important}
html body #chOv .chrow>div b{display:-webkit-box !important; -webkit-line-clamp:3; font-size:var(--f) !important; line-height:1.2}
html body #chOv .chrow .pbar{margin-top:calc(var(--f)*.4); height:calc(var(--f)*.6) !important}
html body #chOv .chrow>:is(em,.cnt2){font-size:calc(var(--f)*1.05)}
html body #chOv .chrow>.btn{font-size:calc(var(--f)*.95) !important; min-height:calc(var(--f)*2); padding:2px calc(var(--f)*.8) !important}
html body #chOv .chrew .rw{font-size:calc(var(--f)*.85) !important; padding:calc(var(--f)*.15) calc(var(--f)*.4) calc(var(--f)*.15) calc(var(--f)*.3) !important; gap:calc(var(--f)*.15); letter-spacing:0}
html body #chOv .chrew .rw i.boli,html body #chOv .chrew .rw img,html body #chOv .chrew .rw i.akr{width:calc(var(--f)*.9) !important; height:calc(var(--f)*.9) !important}
html body #chOv .chrow .chrew{gap:calc(var(--f)*.25)}
html body #chOv .chrow>.mini-btn{width:calc(var(--f)*1.8); height:calc(var(--f)*1.8); font-size:calc(var(--f)*1.05); top:calc(var(--f)*.25); right:calc(var(--f)*.3)}
html body #chOv .chrow:has(>.mini-btn)>div{padding-right:calc(var(--f)*1.8)}
html body #chOv .freeze{gap:calc(var(--f)*.8); padding:calc(var(--f)*.35) calc(var(--f)*.9) !important}
html body #chOv .freeze b{font-size:calc(var(--f)*1.05)}
html body #chOv .freeze small{font-size:calc(var(--f)*.9)}
html body #chOv .freeze .gbtn{font-size:calc(var(--f)*.95) !important; min-height:calc(var(--f)*2.1); padding:calc(var(--f)*.3) calc(var(--f)*1) !important}

/* (15 Nov 2026, user: "the Collect button in challenges is not noticeable") a bright gold button that gently breathes, bigger than the other buttons */
html body #chOv .chrow.ready button.btn[data-claim]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){background:linear-gradient(180deg,#ffe28a,#f0a830 55%,#d98a12) !important; color:#2a1604 !important; border:2px solid #fff3c4 !important; font-weight:800 !important; letter-spacing:.03em; text-transform:uppercase;
  min-width:calc(var(--f,14px)*6) !important; min-height:calc(var(--f,14px)*2.6) !important; box-shadow:0 0 0 2px rgba(255,214,120,.45), 0 4px 12px rgba(0,0,0,.45) !important; text-shadow:0 1px 0 rgba(255,255,255,.5) !important; animation:chcollect 1.4s ease-in-out infinite}
html body #chOv .chrow.ready:not(#_):not(#_){border-color:#ffd46a !important; box-shadow:inset 0 0 0 1px rgba(255,212,106,.6) !important}
@keyframes chcollect{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){ html body #chOv .chrow.ready button.btn[data-claim]{animation:none} }
