/* Pointer and scroll effects added November 2026: lit card borders, screenshot tilt, button sheen,
   a travelling border light, and a soft pointer glow. Everything here is decoration only: it is skipped
   for people who ask for reduced motion, and removing this block changes nothing else. */
:root { --fx-c: #d39a12; --fx-ring: 1.5px; --fx-orbit: #F2C14E; --fx-sheen: rgba(255, 255, 255, .55); --fx-glare: rgba(255, 255, 255, .16); }
/* Pointer-lit card borders: the edge nearest the pointer lights up, on the card under it and its neighbours. */
.fx-rel { position: relative; }
.fx-glow::after { content: ""; position: absolute; inset: calc(-1 * var(--fx-bw, 1px)); border-radius: inherit; padding: var(--fx-ring, 1px); pointer-events: none; z-index: 1;
  background: radial-gradient(var(--fx-rad, 280px) circle at var(--fx-x, -999px) var(--fx-y, -999px), var(--fx-c), transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s ease; }
.fx-glow.fx-glow-in::after { inset: 0; }
.fx-glow.fx-near::after { opacity: 1; }

/* Screenshots lean a few degrees toward the pointer, with a soft highlight. */
.fx-tilt { transform: perspective(1400px) rotateX(var(--fx-rx, 0deg)) rotateY(var(--fx-ry, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.fx-tilt.fx-live { transition-duration: .14s; transition-timing-function: linear; }
.fx-glare::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(520px circle at var(--fx-gx, 50%) var(--fx-gy, 50%), var(--fx-glare, rgba(255, 255, 255, .13)), transparent 60%);
  opacity: 0; transition: opacity .4s ease; }
.fx-glare.fx-live::after { opacity: 1; }

/* A band of light crosses the main buttons on hover, and once when they first come into view. */
.fx-sheen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, var(--fx-sheen, rgba(255, 255, 255, .4)) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 165% 0; }
.fx-sheen:hover::after, .fx-sheen.fx-go::after { animation: fx-sheen .9s cubic-bezier(.3, .6, .2, 1) 1; }
@keyframes fx-sheen { from { background-position: 165% 0; } to { background-position: -65% 0; } }

/* One slow light travels round the border of the flagship block (wide screens only). */
@property --fx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (min-width: 900px) {
  .fx-orbit::before { content: ""; position: absolute; inset: calc(-1 * var(--fx-bw, 1px)); border-radius: inherit; padding: var(--fx-ring, 1px); pointer-events: none; z-index: 1;
    background: conic-gradient(from var(--fx-a), transparent 0 62%, var(--fx-orbit) 80%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: fx-orbit 9s linear infinite; animation-play-state: paused; opacity: 0; transition: opacity .8s ease; }
  .fx-orbit.fx-orbit-in::before { inset: 0; }
  .fx-orbit.fx-on::before { animation-play-state: running; opacity: 1; }
}
@keyframes fx-orbit { to { --fx-a: 360deg; } }

/* Screenshots ease from slightly zoomed to their real size as they scroll into view. */
@supports (animation-timeline: view()) {
  .fx-settle { animation: fx-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; transform-origin: 50% 0; }
}
@keyframes fx-settle { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Blocks below the first screen fade and rise in as they are reached. */
.fx-r { opacity: 0; transform: translateY(18px); transition: none !important; }
.fx-r.fx-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--fx-d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--fx-d, 0ms) !important; }

/* A soft light follows the pointer across dark pages. */
.fx-aura { position: fixed; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(closest-side, var(--fx-aura), transparent 100%); mix-blend-mode: screen; opacity: 0; transition: opacity .6s ease; will-change: transform; }
.fx-aura.fx-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .fx-glow::after, .fx-glare::after, .fx-sheen::after, .fx-orbit::before, .fx-aura { display: none !important; }
  .fx-tilt, .fx-settle { transform: none !important; animation: none !important; }
  .fx-r { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  .fx-glow::after, .fx-glare::after, .fx-sheen::after, .fx-orbit::before, .fx-aura { display: none !important; }
  .fx-tilt, .fx-settle, .fx-r { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* plain-2026-11-28 */
/* Plain pass (2026-11-28): no decorative glow, tickers, floating ornaments or scroll animation. Delete this block to undo. */
.rf-bg,.rf-prog,.rf-tick{display:none!important}
.rf-r,.fx-r{opacity:1!important;transform:none!important;transition:none!important}
.rf-lift:hover{transform:none!important;box-shadow:none!important}
.rf-w{opacity:1!important;transform:none!important;filter:none!important;animation:none!important}
[data-m2],[data-m2-kids]>*{animation:none!important;opacity:1!important;transform:none!important}
.m2-tilt,.m2-tilt.m2-on,.m2-lift:hover,.fx-tilt,.fx-tilt.fx-live,.fx-settle{transform:none!important;animation:none!important}
.fx-glow::after,.fx-glare::after,.fx-sheen::after,.fx-orbit::before,.fx-aura{display:none!important}
.fb2-lane,.fb2-bal{display:none!important}
