/* Top bar premium (2026-10-19, after goal-bar.css): the same cream clay tray + stitch as the bottom menu, cream buttons that keep their colored lip, your squishy in a gold-ringed medallion, a chunkier goal meter on phones. */
html:root body.has-goal-bar:not(.calm-mode) .topbar>.tb-tray{background:radial-gradient(90% 140% at 50% -20%,#fffefb 0%,#fdf5ea 50%,#f6e7d3 100%)!important;border:0!important;
 box-shadow:inset 0 3px 0 #fff,inset 0 -3px 0 #f0dcc0,0 5px 0 #e4c9a4,0 6px 0 #d8b88f,0 16px 26px -12px #6b452680,0 4px 10px -5px #6b452655!important}
html:root body.has-goal-bar .topbar>.tb-tray::after{content:"";position:absolute;inset:4px;border-radius:inherit;border:2px dashed #e9d3b3;opacity:.9;pointer-events:none}
html:root body.has-goal-bar.calm-mode .topbar>.tb-tray::after{border-color:#ffffff30}
/* round buttons: cream clay; the color lives in the icon and the lip under it */
html:root body.has-goal-bar:not(.calm-mode) .ui2-bar.ui2-bar>:is(.tb-today,.calm-mode-x,.sq-top-collection,.calm-moon:not(.on)){background:radial-gradient(120% 100% at 50% 0%,#fffefb,#fdf3e6 70%,#f6e6d2)!important}
/* your squishy, framed: a gold ring and a soft sky behind it */
html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-me{background:radial-gradient(circle at 50% 35%,#ffffff,#eaf8f1 70%)!important;border-color:#fff!important;box-shadow:0 0 0 2.5px #f2c45a,0 0 0 4px #fff3c8,0 4px 0 2px #c9902a,0 7px 10px #6b3f0833!important}
html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-me .ui2-face{background:transparent!important}
/* goal pill: cream too, so coins (gold) and the meter (mint) are the two colors on the left */
html:root body.has-goal-bar:not(.calm-mode) .ui2-bar.ui2-bar>.ui2-goal{background:radial-gradient(120% 100% at 50% 0%,#fffefb,#f2fbf5 70%,#e3f5ea)!important}
@media(max-width:480px){
 /* the goal takes the spare room and shows a real meter: chunky candy stripes along the bottom */
 html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-goal{flex:1 1 auto!important;min-width:0;justify-content:flex-start;padding-right:10px!important}
 html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-goal .ui2-goal-left{margin-left:auto}
 html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-goal .ui2-goal-bar{left:40px!important;right:10px!important;bottom:5px!important;height:9px!important;border:2px solid #fff!important;border-radius:6px;background:#e3f4ea!important;box-shadow:inset 0 1px 2px #3e8a6233!important;box-sizing:border-box}
 html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-goal .ui2-goal-bar i{background:repeating-linear-gradient(-45deg,#6dd39f 0 4px,#3fb07a 4px 8px)!important}
 html:root body.has-goal-bar .ui2-bar.ui2-bar>.ui2-goal .ui2-goal-left{translate:0 -4px}
}
