/* Floating dock in the desktop home top bar (owner 2026-10-27, after
   ui.aceternity.com/components/floating-dock). Tools as icons, then the
   templates as thumbnails; items magnify toward the cursor and show a label.
   Built in plain CSS/JS (home.html is not React). Hidden below 1100px, where
   the old text nav already hides. */
.cf-tdock-wrap { display: none; }
@media (min-width: 1100px) {
  .rd-nav.cf-tdock-replaced { display: none !important; }
  .cf-tdock-wrap { display: flex; align-items: center; gap: 14px; position: relative; z-index: 60; }
  .cf-tdock {
    display: flex; align-items: flex-start; gap: 8px; height: 52px; padding: 6px 10px;
    border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
  .cf-tdock-item {
    position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center; color: #dfe6f3; text-decoration: none;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
    transform-origin: top center; will-change: width, height;
  }
  .cf-tdock-item svg { width: 50%; height: 50%; pointer-events: none; }
  .cf-tdock-item.is-tpl { overflow: visible; background: #0b0f1a; }
  .cf-tdock-item.is-tpl img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; border-radius: inherit; }
  .cf-tdock-item:focus-visible { outline: 2px solid #5AA0FF; outline-offset: 2px; }
  .cf-tdock-sep { flex: none; width: 1px; height: 28px; margin: 6px 2px 0; background: rgba(255,255,255,.14); }
  .cf-tdock-tip {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px);
    padding: 5px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none;
    font: 600 12px/1.2 Inter, system-ui, sans-serif; color: #eef2f8;
    background: rgba(12,16,28,.94); border: 1px solid rgba(255,255,255,.12);
    opacity: 0; transition: opacity .15s ease, transform .15s ease;
  }
  .cf-tdock-item:hover .cf-tdock-tip, .cf-tdock-item:focus-visible .cf-tdock-tip { opacity: 1; transform: translate(-50%, 0); }
  .cf-tdock-pricing { padding: 7px 13px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: #eef2f8; white-space: nowrap; text-decoration: none; }
  .cf-tdock-pricing:hover { background: rgba(255,255,255,.05); }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .cf-tdock-tip { transition: none; }
}
