/* Home page: "One app for the whole family" (#more) cards, animated like the scam alert cards (owner, 15 Nov 2026).
   A spotlight moves from card to card while the section is on screen (assets/more.js): the card lifts, its edge lights
   up, a shine sweeps across and its icon pulses. Pointing at or focusing a card holds the spotlight there. The cards
   rise in one after another. Theme colours only; every rule is scoped to #more. Follows Reduce motion. */
#more .tile{position:relative;overflow:hidden;color:inherit;text-decoration:none;outline:none;
  transition:translate .45s var(--ease,cubic-bezier(.2,.8,.2,1)),border-color .45s,box-shadow .45s,background .45s,opacity 1s var(--ease),transform 1s var(--ease)}
/* rise in one after another */
#more .tile.rv{transition-delay:calc(var(--n,0) * 70ms)}
#more .tile:nth-child(1){--n:0}#more .tile:nth-child(2){--n:1}#more .tile:nth-child(3){--n:2}#more .tile:nth-child(4){--n:3}
#more .tile:nth-child(5){--n:4}#more .tile:nth-child(6){--n:5}#more .tile:nth-child(7){--n:6}#more .tile:nth-child(8){--n:7}
#more .tile.hot,#more .tile:hover,#more .tile:focus-visible{transition-delay:0s}
/* the card in the spotlight */
#more .tile.hot{translate:0 -4px;border-color:color-mix(in srgb,var(--accent-2) 70%,var(--line));
  background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 10%,var(--surface)),var(--surface));box-shadow:0 22px 44px -26px var(--glow)}
#more .tile:focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}
/* the shine */
#more .tile::after{content:"";position:absolute;inset:0;pointer-events:none;transform:translateX(-100%);
  background:linear-gradient(105deg,transparent 30%,color-mix(in srgb,var(--accent-2) 22%,transparent) 50%,transparent 70%)}
#more .tile.hot::after{animation:mrSweep 1.1s ease}
@keyframes mrSweep{to{transform:translateX(100%)}}
/* the icon pulses */
#more .tile .ic{position:relative;transition:transform .45s}
#more .tile.hot .ic{transform:scale(1.08) rotate(-4deg)}
#more .tile.hot .ic::after{content:"";position:absolute;inset:0;border-radius:inherit;animation:mrPulse 1.3s ease-out infinite}
@keyframes mrPulse{from{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent-2) 55%,transparent)}to{box-shadow:0 0 0 12px transparent}}
/* a small arrow says the card opens a page */
#more .tile h3::after{content:"→";display:inline-block;margin-left:6px;color:var(--accent-2);opacity:0;transform:translateX(-6px);transition:opacity .35s,transform .35s}
#more .tile.hot h3::after,#more .tile:hover h3::after,#more .tile:focus-visible h3::after{opacity:1;transform:none}
/* a bar along the bottom shows how long the spotlight stays */
#more .tile i.mr-bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:linear-gradient(90deg,var(--accent),var(--accent-2));
  transform:scaleX(0);transform-origin:left;pointer-events:none}
#more .tile.hot.run i.mr-bar{animation:mrBar var(--mr-dur,2600ms) linear forwards}
@keyframes mrBar{to{transform:scaleX(1)}}

@media (prefers-reduced-motion:reduce){
  #more .tile::after,#more .tile .ic::after,#more .tile i.mr-bar{animation:none!important}
  #more .tile,#more .tile .ic{transition:none}}
html.reduce-motion #more .tile::after,html.reduce-motion #more .tile .ic::after,html.reduce-motion #more .tile i.mr-bar{animation:none!important}
html.reduce-motion #more .tile,html.reduce-motion #more .tile .ic{transition:none}
