/* Existing main-page glow/trail rules, copied verbatim from home.css. */
.ttobak-light-cursor { display: none; position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 1000; pointer-events: none; }
.ttobak-light-cursor[hidden] { display: none !important; }
.ttobak-light-cursor > span {
  position: absolute; top: 0; left: 0; pointer-events: none; border-radius: 50%;
  transform: translate3d(var(--cursor-x, 0px), var(--cursor-y, 0px), 0) translate(-50%, -50%);
}
.ttobak-light-cursor__dot {
  width: 6px; height: 6px; box-sizing: border-box; background: #fffbdc;
  border: 1px solid #b89144; box-shadow: 0 0 5px #ffe39c70; transition: none;
}
.ttobak-light-cursor__halo {
  width: 26px; height: 26px; box-sizing: border-box; border: 1px solid #edc87770;
  background: radial-gradient(circle, #fff8d633 25%, #ffe3a625 50%, transparent 72%);
  box-shadow: 0 0 12px #fff0a52b;
  transition: transform 140ms ease-out, width 120ms ease-out, height 120ms ease-out;
}
.ttobak-light-cursor[data-over-button='true'] .ttobak-light-cursor__halo { width: 34px; height: 34px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ttobak-light-cursor { display: block; }
  .ttobak-home[data-light-cursor='active'], .ttobak-home[data-light-cursor='active'] * { cursor: none !important; }
  /* Defensive exceptions preserve native controls/text even before JS responds. */
  .ttobak-home[data-light-cursor='active'] :is(form, form *, input, textarea, select, option, [contenteditable], [contenteditable] *, [data-native-cursor], [data-native-cursor] *, .home-copy, .home-copy *, .home-status, .home-status *) { cursor: auto !important; }
}

/* Small, bounded accents accompany the existing pointer/mascot without covering
   its hit point. The layer cannot intercept selection, clicks, focus or dragging. */
.ttobak-cursor-effects {
  display: none; position: fixed; inset: 0; overflow: hidden; z-index: 999;
  pointer-events: none; contain: strict;
}
.ttobak-cursor-effects > span {
  position: absolute; left: var(--effect-x); top: var(--effect-y);
  pointer-events: none; box-sizing: border-box;
}
.ttobak-cursor-effects__sparkle {
  width: 11px; height: 11px; background: #c98c24;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  animation: ttobak-cursor-sparkle 520ms ease-out both;
}
.ttobak-cursor-effects__pop {
  width: 30px; height: 30px; border: 2px solid #6c9254; border-radius: 50%;
  background: transparent; animation: ttobak-cursor-pop 440ms ease-out both;
}
@keyframes ttobak-cursor-sparkle {
  from { opacity: .95; transform: translate(-50%, -50%) scale(1); }
  20% { opacity: .9; }
  to { opacity: 0; transform: translate(-50%, 5px) scale(.25) rotate(35deg); }
}
@keyframes ttobak-cursor-pop {
  from { opacity: .85; transform: translate(-50%, -50%) scale(.55); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.35); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .ttobak-cursor-effects { display: block; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .ttobak-cursor-effects { display: none !important; }
  .ttobak-cursor-effects > span { animation: none !important; }
}
