.c { display: inline-block; }
.cur { position: fixed; left: 0; top: 0; z-index: 850; display: none; pointer-events: none; transform: translate(-200px, -200px); }
.fine .cur { display: block; }
.cur span {
  display: block; padding: 11px 14px; border-radius: var(--r-pill);
  background: var(--invert); color: var(--on-invert);
  font: 500 var(--fs-caps)/1 var(--font-mono); letter-spacing: .04em; white-space: nowrap;
  transform: scale(0); transform-origin: 0 0; transition: transform .35s var(--spring);
}
.cur.on span { transform: scale(1); }
.trace { position: fixed; inset: 0; z-index: 840; width: 100vw; height: 100vh; pointer-events: none; display: none; }
.fine .trace { display: block; }
.flood { position: fixed; z-index: 750; display: none; width: 20px; height: 20px; border-radius: 50%; background: var(--trust); pointer-events: none; }
.dock {
  position: fixed; top: clamp(22px, 3.2vh, 34px); right: clamp(22px, 2.6vw, 44px); z-index: 700; isolation: isolate;
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: var(--r-pill);
  transition: opacity .6s var(--ease), translate .6s var(--ease);
}
.dock::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none; opacity: 0;
  background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), 0 1px 2px rgba(var(--tint), .08), 0 14px 30px -16px rgba(var(--tint), .4);
  transition: opacity .45s var(--ease);
}
.dock:hover::after, .dock:focus-within::after, .dock.mid::after { opacity: 1; }
.dock:hover::before, .dock:focus-within::before { opacity: .22; }
.dock::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .25 0 0 0 0 .6 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.js .dock { opacity: 0; translate: 0 -10px; pointer-events: none; }
.js.named .dock { opacity: 1; translate: 0 0; pointer-events: auto; }
.js.named .dock.away:not(:focus-within) { opacity: 0; translate: 0 -14px; pointer-events: none; }
.dock a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--text-2); text-decoration: none; transition: background-color .35s var(--ease), color .35s var(--ease);
}
.dock svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock a:hover, .dock a:focus-visible { background: var(--line); color: var(--text); }
.dock a:focus-visible { outline-offset: 2px; }
@media (max-width: 600px) {
  .dock { top: 14px; right: 14px; padding: 4px; }
  .dock a { width: 40px; height: 40px; }
}
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border: 1.5px solid var(--text); border-radius: var(--r-pill); background: transparent; color: var(--text);
  font: var(--w-title) var(--fs-small)/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-line > [aria-hidden] { display: inline-block; transition: translate .3s var(--ease); }
.btn-line:hover, .btn-line:focus-visible { background: var(--invert); color: var(--on-invert); border-color: var(--invert); }
.btn-line:hover > [aria-hidden], .btn-line:focus-visible > [aria-hidden] { translate: 3px 0; }
.btn-line.gh:hover > [aria-hidden], .btn-line.gh:focus-visible > [aria-hidden],
.btn-line.story:hover > [aria-hidden], .btn-line.story:focus-visible > [aria-hidden] { translate: 2px -2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li { padding: 8px 11px; border: 1.5px solid currentColor; border-radius: var(--r-pill); font: 400 var(--fs-caps)/1 var(--font-mono); opacity: .8; }
.chips.topics li { border-style: dashed; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 15px; border-radius: var(--r-pill); background: var(--surface-2); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cool); }
.tw { position: relative; display: inline-block; isolation: isolate; }
.js .tw:not(.locked) .c { animation: shake .2s steps(2, jump-none) infinite; animation-delay: calc(var(--k) * -41ms); }
@keyframes shake {
  0% { translate: calc(var(--j) * 1px) -2px; rotate: calc(var(--j) * 1.6deg); }
  100% { translate: calc(var(--j) * -1px) 2px; rotate: calc(var(--j) * -2deg); }
}
.tw::after {
  content: ""; position: absolute; inset: .06em -.08em .02em; z-index: -1;
  border-radius: .16em; background: var(--trust);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.tw.locked { color: var(--on-trust); }
.tw.locked::after, .no-js .tw::after { transform: none; }
.tw.locked .c { animation: settle .55s var(--spring) both; animation-delay: calc(var(--k) * 45ms); }
@keyframes settle { 0% { translate: 0 -.16em; scale: 1.14; } 100% { translate: 0 0; scale: 1; } }
.pop {
  position: relative; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 4px -1px rgba(33, 31, 29, .08), 0 22px 44px -22px rgba(33, 31, 29, .38), 0 60px 100px -60px rgba(33, 31, 29, .5);
}
@media (prefers-color-scheme: dark) {
  .pop { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 0 1px rgba(255, 255, 255, .05), 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 70px -24px rgba(191, 179, 242, .14); }
}
.odo { display: inline-flex; align-items: flex-start; line-height: 1; }
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.odo-strip span, .odo-fix { display: block; height: 1em; line-height: 1; }
.mot .breathe { animation: breathe-ring 2.8s ease-out infinite; }
.mot .breathe:hover, .mot .breathe:focus-visible { animation: none; }
@keyframes breathe-ring {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--spark) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--spark) 0%, transparent); }
}
