/* 2026-11-03 home mode tabs, soft variant (html.hmt-soft; ?tabs=soft / ?tabs=classic on staging, remembered).
   Same motion as the classic red pill (spring slide, squash, sweep, icon pop, grid slide); calm colours: a grey track,
   a white pill and one brand-red dash that stretches while the pill travels. */
html.hmt-soft .home-mode-tabs::before{content:"";position:absolute;inset:calc(-.8 * var(--pmu));border-radius:calc(3.1 * var(--pmu));background:#F2F3F6;box-shadow:inset 0 1px 2px rgba(20,20,40,.05)}
html.hmt-soft .hmt-base i{background:transparent;border-color:transparent;box-shadow:none}
html.hmt-soft .hmt-ink{background:#fff;border:1px solid rgba(20,20,40,.05);box-shadow:0 calc(.9 * var(--pmu)) calc(2.6 * var(--pmu)) calc(-.6 * var(--pmu)) rgba(20,20,40,.16),0 1px 2px rgba(20,20,40,.06)}
html.hmt-soft .hmt-ink::after{background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(236,28,36,.08) 50%,rgba(255,255,255,0) 100%)}
html.hmt-soft .hmt-ink::before{content:"";position:absolute;left:50%;bottom:calc(.75 * var(--pmu));width:calc(3.4 * var(--pmu));height:calc(.55 * var(--pmu));margin-left:calc(-1.7 * var(--pmu));border-radius:99px;background:#EC1C24;opacity:.92}
html.hmt-soft .hmt-ink.hmt-squash::before{animation:hmtSoftDash .62s cubic-bezier(.34,1.42,.5,1)}
html.hmt-soft .hmt-tab{color:#8E8E96;font-weight:600}
html.hmt-soft .hmt-tab.on{color:#1C1C22;text-shadow:none;font-weight:700}
html.hmt-soft .hmt-ic img{transition:opacity .25s ease,filter .3s ease}
html.hmt-soft .hmt-tab .hmt-ic-s{display:none}
html.hmt-soft .hmt-tab .hmt-ic-n{opacity:.42;filter:grayscale(1)}
html.hmt-soft .hmt-tab.on .hmt-ic-n{opacity:1;filter:none}
html.hmt-soft .hmt-tab.hmt-pop .hmt-tx{animation:hmtSoftTx .46s cubic-bezier(.2,.8,.2,1)}
@keyframes hmtSoftDash{0%{transform:scaleX(.3);opacity:.25}35%{transform:scaleX(2.6);opacity:1}70%{transform:scaleX(.85)}100%{transform:scaleX(1);opacity:.92}}
@keyframes hmtSoftTx{from{letter-spacing:.14em;opacity:.55}to{letter-spacing:.02em;opacity:1}}
@media (prefers-reduced-motion:reduce){html.hmt-soft .hmt-ink.hmt-squash::before,html.hmt-soft .hmt-tab.hmt-pop .hmt-tx{animation:none}}
