@layer components{.tg-totop{--tg-totop-bg: var(--color-brand-1, #1e1b33);--tg-totop-bg-hover: var(--color-brand-1-hover, var(--tg-totop-bg));--tg-totop-fg: var(--color-white, #fff);position: fixed;bottom: max(1.25rem, env(safe-area-inset-bottom));z-index: 90;display: inline-flex;align-items: center;gap: 0.5rem;min-height: 2.75rem;padding: 0.625rem 1.125rem 0.625rem 0.875rem;border: 0;border-radius: 999px;background: var(--tg-totop-bg);color: var(--tg-totop-fg);font: inherit;font-size: 0.9375rem;font-weight: 700;line-height: 1;box-shadow: 0 6px 20px rgb(0 0 0 / 0.18);cursor: pointer;opacity: 0;transform: translateY(0.75rem);transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease}.tg-totop--secondary{--tg-totop-bg: var(--color-brand-2);--tg-totop-bg-hover: var(--color-brand-2-hover, var(--color-brand-2))}.tg-totop--accent{--tg-totop-bg: var(--color-brand-3);--tg-totop-bg-hover: var(--color-brand-3-hover, var(--color-brand-3))}.tg-totop--light{--tg-totop-bg: var(--color-brand-4);--tg-totop-bg-hover: var(--color-brand-4-hover, var(--color-brand-4));--tg-totop-fg: var(--color-ink, #1a1a1a)}.tg-totop--dark{--tg-totop-bg: var(--color-brand-5);--tg-totop-bg-hover: var(--color-brand-5-hover, var(--color-brand-5))}.tg-totop--right{right: 1.25rem}.tg-totop--left{left: 1.25rem}.tg-totop[hidden]{display: none}.tg-totop:not(.is-shown){visibility: hidden}.tg-totop.is-shown{opacity: 1;transform: none}.tg-totop:hover{background: var(--tg-totop-bg-hover)}.tg-totop:focus-visible{outline: 3px solid var(--tg-totop-fg);outline-offset: 0;box-shadow: 0 0 0 6px var(--tg-totop-bg)}.tg-totop__icon{flex: none}.tg-totop--square{border-radius: 0.625rem}.tg-totop--icon{width: 2.75rem;padding: 0;justify-content: center}.tg-totop--icon .tg-totop__label{position: absolute;width: 1px;height: 1px;overflow: hidden;clip-path: inset(50%);white-space: nowrap}@media (max-width: 39.99rem){.tg-totop{width: 2.75rem;padding: 0;justify-content: center}.tg-totop__label{position: absolute;width: 1px;height: 1px;overflow: hidden;clip-path: inset(50%);white-space: nowrap}}body:has(.tg-totop) .tg-copyright{padding-bottom: 3.75rem}@media (prefers-reduced-motion: reduce){.tg-totop{transition: none;transform: none}}@media print{.tg-totop{display: none !important}}}