/* === TwitterVD website — shared base =======================================
   Loaded FIRST on every page under website/html/, before the page-level sheet:

     <link rel="stylesheet" href="base.css" />
     <link rel="stylesheet" href="<page>.css" />

   It holds the design tokens, the reset, the global keyboard-focus ring, the
   reduced-motion guard, and the pixel page chrome that index / privacy /
   welcome all share (status bar, nav, windows, buttons, footer, hero
   primitives, entrance animations). Page sheets add only what is genuinely
   page-specific, or override a single declaration where a page deliberately
   differs (e.g. --shadow on the welcome page).

   The uninstall page uses a different, utilitarian design system on purpose —
   it still loads this file for the reset/tokens/focus ring and opts out of the
   pixel body chrome; see uninstall/uninstall.css.
   ======================================================================== */

/* --- Design tokens --------------------------------------------------------
   Every colour used by the site lives here. Don't inline bare hexes in rules;
   add a token instead. The values mirror the extension's own palette
   (src/pages/themes.ts, see STYLES.md) so the site and the popup/options
   pages read as one product: warm off-white ground, ink text, hairline
   borders and one blue accent. Keep the two in sync when either changes.    */
:root {
  --heading-weight: 500;
  --font-brand: 'Departure Mono', 'IBM Plex Mono', monospace;
  /* Brand — T.red / T.blue / T.green / T.ink / T.surface / T.gold / T.bg */
  --red: #e63946;
  --blue: #1da1f2;
  --blue-deep: #0c8bd9;
  --blue-soft: #e8f5fe;
  --green: #1fa968;
  --black: #15171c;
  --white: #ffffff;
  --yellow: #f4b400;
  --gold-soft: #fffcec;
  --gray: #9ca0a8;
  --bg: #fbfbf8;
  --line: #e4e4de;

  /* Neutrals, dark → light. Named for their dominant role (secondary text),
     but they double as the greyscale prop fills (TV knobs, rocket smoke). */
  --text-prose: #2c2f38;
  --text-note: #6b6f78;
  --text-muted: #6b6f78;
  --text-dim: #6b6f78;
  --text-soft: #6b6f78;
  --text-faint: #9ca0a8;

  /* Surfaces */
  --paper: #fff;
  --surface-alt: #f3f3ee;

  /* Dark neutrals — CRT/terminal prop fills and dark body copy */
  --dark-1: #2a2a2a;
  --dark-2: #333;
  --dark-3: #444;
  --screen-dark: #0a0a1a;
  --screen-text: #ccc;

  /* Type */
  --font-pixel: 'IBM Plex Mono', 'Courier New', monospace;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Lines & elevation — hairlines like the extension, plus a soft pixel
     offset that keeps the retro silhouette without the heavy black outline */
  --border: 1px solid var(--line);
  --border-ink: 1px solid var(--black);
  --shadow: 3px 3px 0 var(--line);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

/* --- Keyboard focus ring --------------------------------------------------
   Mirrors the extension's global rule in src/pages/main.sass. Blue on the
   light page background and on the black footer/status bars alike (≈6:1 on
   --black). Pages that put focusable elements on a light accent fill — e.g.
   the yellow contact block in privacy.css — re-point outline-color locally. */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ==========================================================================
   PIXEL PAGE CHROME (index / privacy / welcome)
   ========================================================================== */

/* --- Page shell --- */
body {
  font-family: var(--font-pixel);
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
  image-rendering: pixelated;
}

/* Pixel scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.015) 2px,
    rgba(0, 0, 0, 0.015) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* Grid background */
.pixel-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

/* Pixel HR divider */
.pixel-hr {
  position: relative;
  z-index: 1;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0px,
    var(--blue) 6px,
    var(--line) 6px,
    var(--line) 9px
  );
  border: none;
  margin: 0;
}

/* --- Status bar --- */
.status-bar {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 5px 24px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--black);
}

.status-bar-sep {
  opacity: 0.4;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  display: inline-block;
  flex-shrink: 0;
  animation: blink 1s step-end infinite;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
  transition: border-bottom-color 0s;
}

.nav.scrolled {
  border-bottom-color: var(--blue);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-brand);
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  image-rendering: pixelated;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 16px;
  height: 16px;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--black);
}

.logo-twitter {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 9px 14px;
  border: 1px solid var(--blue);
  box-shadow: 2px 2px 0 var(--blue-soft);
  white-space: nowrap;
  transition: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: 2px 2px 0 var(--line);
}

.nav-cta:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* --- Buttons --------------------------------------------------------------
   The extension's one accent (T.blue) on a flat fill. The offset is written
   out rather than using var(--shadow) so a page re-pointing --shadow for its
   windows leaves its buttons alone.                                          */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 13px 20px;
  border: 1px solid var(--blue);
  box-shadow: 3px 3px 0 var(--blue-soft);
  transition: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--black);
  border-color: var(--black);
  box-shadow: 3px 3px 0 var(--line);
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.btn-primary.large {
  font-size: 10px;
  padding: 14px 24px;
}

/* --- Window chrome --------------------------------------------------------
   Sizes/paddings that differ per page (the welcome windows are a size up) are
   set in the page sheets.                                                    */
/* Styled after the extension's modal title bar: surface fill, uppercase
   pixel label in ink, hairline underneath. */
.win-titlebar {
  background: var(--bg);
  border-bottom: var(--border);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.win-title {
  font-family: var(--font-pixel);
  font-weight: var(--heading-weight);
  font-size: 12px;
  color: var(--black);
  letter-spacing: 0.08em;
}

.win-controls {
  display: flex;
  gap: 4px;
}

.win-btn {
  border: 1px solid var(--gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.win-btn.close {
  background: var(--red);
  border-color: var(--red);
}

.win-body {
  padding: 20px;
}

/* --- Hero primitives --- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  background: var(--black);
  color: var(--white);
  padding: 6px 12px;
  margin-bottom: 24px;
  border: var(--border-ink);
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-pixel);
  font-weight: var(--heading-weight);
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--blue-soft);
  text-decoration-thickness: 6px;
  text-underline-offset: 2px;
  text-decoration-skip-ink: none;
}

.hero-sub {
  font-family: var(--font-mono);
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-sub strong {
  color: var(--black);
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--black);
  padding: 20px 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 13px;
  color: var(--white);
}

.footer-sep {
  color: var(--red);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 15px;
}

.footer-link {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  color: var(--gray);
  text-decoration: none;
  transition: none;
}

.footer-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-right {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-muted);
}

/* Hidden until the counter script has a number to show. The welcome page
   opts out of that and renders it unconditionally — see welcome.css. */
.footer-visitors {
  display: none;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
  line-height: 1;
  margin-left: auto;
}

.footer-visitors.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-visitors #footer-visitors-count {
  line-height: 1;
  vertical-align: middle;
}

.footer-visitors .dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 1px var(--black);
  flex-shrink: 0;
}

/* ==========================================================================
   RETRO ENTRANCE ANIMATIONS
   Keyframes are inert until a page opts in. The load-time boot sequence
   (CRT power-on + nav drop + colour-cycling dot) is gated behind
   <body class="boot-anim"> because the welcome page deliberately shows a
   static status bar. The scroll-triggered .anim-* classes are added by each
   page's own script.
   ========================================================================== */

@keyframes crtOn {
  0% {
    opacity: 0;
    transform: scaleY(0.02);
    filter: brightness(3);
  }
  8% {
    opacity: 1;
    transform: scaleY(0.02);
    filter: brightness(6);
  }
  18% {
    opacity: 1;
    transform: scaleY(1);
    filter: brightness(2);
  }
  30% {
    filter: brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
    filter: brightness(1);
  }
}

/* Pixel drop-in (integer step) */
@keyframes pixelDrop {
  0% {
    transform: translateY(-12px);
    opacity: 0;
  }
  40% {
    transform: translateY(-12px);
    opacity: 0;
  }
  60% {
    transform: translateY(2px);
    opacity: 1;
  }
  80% {
    transform: translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* Retro marquee shimmer on status bar dots */
@keyframes dotScan {
  0%,
  100% {
    background: var(--green);
  }
  33% {
    background: var(--yellow);
  }
  66% {
    background: var(--blue);
  }
}

.boot-anim .status-bar {
  animation: crtOn 0.6s step-end both;
}

.boot-anim .nav {
  animation: pixelDrop 0.5s step-end 0.15s both;
}

.boot-anim .status-dot {
  animation: dotScan 2s step-end infinite;
}

/* --- Scroll-triggered entrance animations ---------------------------------
   Elements start hidden; the page script adds .anim-visible when they scroll
   into view.                                                                 */

/* base hidden state for all animated elements */
.anim-hidden {
  opacity: 0;
}

/* pixel-drop: items fall in from above with bounce */
.anim-drop {
  transform: translateY(-16px);
  opacity: 0;
  transition:
    transform 0.3s steps(6, end),
    opacity 0.2s steps(3, end);
}
.anim-drop.anim-visible {
  transform: translateY(0px);
  opacity: 1;
}

/* slide-left: items enter from the left */
.anim-left {
  transform: translateX(-24px);
  opacity: 0;
  transition:
    transform 0.3s steps(5, end),
    opacity 0.2s steps(3, end);
}
.anim-left.anim-visible {
  transform: translateX(0px);
  opacity: 1;
}

/* slide-right: items enter from the right */
.anim-right {
  transform: translateX(24px);
  opacity: 0;
  transition:
    transform 0.3s steps(5, end),
    opacity 0.2s steps(3, end);
}
.anim-right.anim-visible {
  transform: translateX(0px);
  opacity: 1;
}

/* pixel-pop: scale from 0 */
.anim-pop {
  transform: scale(0);
  opacity: 0;
  transform-origin: center bottom;
  transition:
    transform 0.25s steps(4, end),
    opacity 0.15s steps(2, end);
}
.anim-pop.anim-visible {
  transform: scale(1);
  opacity: 1;
}

/* scanline-wipe: clip from top to bottom */
.anim-wipe {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition:
    clip-path 0.35s steps(8, end),
    opacity 0.1s steps(1, end);
}
.anim-wipe.anim-visible {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
}

/* blink-in: retro loading flicker */
.anim-blink {
  opacity: 0;
  transition: opacity 0.4s steps(6, end);
}
.anim-blink.anim-visible {
  opacity: 1;
}

/* --- Reduced motion -------------------------------------------------------
   Site-wide: covers every page's animations, including the ones declared in
   the page sheets, since this file is loaded everywhere.                     */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   LANGUAGE SWITCHER
   In the nav, next to the store button, on every page in every language.
   <details>/<summary> so it opens without JavaScript and from the keyboard;
   guides/lib/layout.php renders it for the guides section, the landing pages
   carry the same markup inline.
   ========================================================================== */

/* Visible to screen readers only — the word "Language" next to the globe. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The nav's right-hand group: page links, the switcher, the store button.
   The guides section styles this too; it lives here because the landing pages
   now need it as well. */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  position: relative;
  flex-shrink: 0;
}

.lang-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 10px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

/* Safari still draws its own disclosure triangle without this. */
.lang-switch-toggle::-webkit-details-marker {
  display: none;
}

.lang-switch-toggle:hover,
.lang-switch[open] .lang-switch-toggle {
  color: var(--blue);
  border-color: var(--blue);
}

.lang-globe {
  flex-shrink: 0;
}

.lang-code-short {
  display: none;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 110;
  min-width: 136px;
  list-style: none;
  padding: 4px 0;
  background: var(--white);
  border: var(--border-ink);
  box-shadow: 3px 3px 0 var(--line);
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}

.lang-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.lang-menu a.lang-menu-current {
  color: var(--blue);
}

.lang-menu a.lang-menu-current::before {
  content: '\25B8\00a0';
}

/* The phone version keeps the globe and drops to a one-character language
   code, so the switcher still fits beside the logo and the store button. */
@media (max-width: 640px) {
  .nav-links {
    gap: 8px;
  }

  .lang-switch-toggle {
    font-size: 12px;
    gap: 4px;
    padding: 7px 8px;
  }

  .lang-code {
    display: none;
  }

  .lang-code-short {
    display: inline;
  }
}

/* On a phone the logo text and the header buttons no longer fit side by
   side at readable sizes: keep the icon, drop the wordmark. */
/* Brand exception: the wordmark retains pixel lettering on every page. */
.nav .nav-logo,
.footer .footer-logo {
  text-transform: uppercase;
  -webkit-text-stroke: 0.2px currentColor;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 400;
}

@media (max-width: 440px) {
  .nav .nav-logo {
    font-size: 0;
  }
}

/* ==========================================================================
   CJK LANGUAGES (zh-Hans / zh-Hant / ko / ja)
   IBM Plex Mono contains no Han characters, no hangul and no kana. Left
   alone the browser substitutes an arbitrary system font with negative
   tracking, which is unreadable. So: per-language system stacks, no
   tracking, normal smoothing.
   The webfonts stay FIRST in each stack — font fallback is per glyph, so
   Latin letters, digits and code keep the pixel/mono look and only the CJK
   glyphs fall through. Full CJK webfonts are megabytes and are not loaded.
   The stacks are per script on purpose: the same Han character is drawn
   differently in a Chinese and a Japanese face, and Japanese text set in an
   SC font reads as wrong to a Japanese reader.
   Selectors are written `.thing:lang(ja)` (two components) so they outrank
   the single-class rules in guides.css and landing.css, which load later.
   ========================================================================== */

:lang(zh-Hans) {
  --font-pixel:
    'IBM Plex Mono', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC',
    'Heiti SC', sans-serif;
  --font-mono:
    'IBM Plex Mono', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC',
    'Heiti SC', sans-serif;
}

:lang(zh-Hant) {
  --font-pixel:
    'IBM Plex Mono', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC',
    'Heiti TC', sans-serif;
  --font-mono:
    'IBM Plex Mono', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC',
    'Heiti TC', sans-serif;
}

:lang(ko) {
  --font-pixel:
    'IBM Plex Mono', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR',
    'Nanum Gothic', sans-serif;
  --font-mono:
    'IBM Plex Mono', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR',
    'Nanum Gothic', sans-serif;
}

:lang(ja) {
  --font-pixel:
    'IBM Plex Mono', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic',
    'Meiryo', 'Noto Sans JP', sans-serif;
  --font-mono:
    'IBM Plex Mono', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic',
    'Meiryo', 'Noto Sans JP', sans-serif;
}

/* Every element that can hold translated text: no letter-spacing tricks, and
   antialiasing back on — CJK glyphs have far more strokes per em than Latin
   and turn to mush without it. */
:is(
  .status-bar,
  .nav-link,
  .nav-cta,
  .btn-primary,
  .win-title,
  .hero-eyebrow,
  .hero-title,
  .footer-link,
  .footer-right,
  .footer-visitors,
  .footer-logo,
  .lang-switch-toggle,
  .guide-title,
  .guide-lede,
  .guide-body,
  .guide-window-title,
  .guide-section-title,
  .guide-card-title,
  .guide-card-desc,
  .guide-card-meta,
  .crumbs,
  .toc,
  .section-label,
  .section-title,
  .featured-badge,
  .chip,
  .tweet-user,
  .save-text,
  .save-btn,
  .feature-title,
  .feature-desc,
  .how-title,
  .how-desc,
  .term-label,
  .term-body,
  .faq-q,
  .faq-a,
  .cta-wintitle,
  .cta-title,
  .cta-sub,
  .cta-store-note,
  .win-addressbar
):is(:lang(zh-Hans), :lang(zh-Hant), :lang(ko), :lang(ja)) {
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Long-form CJK needs more leading than Latin: the glyphs are square and fill
   the line box, so 1.6 reads as cramped. */
:is(.guide-body, .guide-lede, .faq-a, .feature-desc, .how-desc):is(
  :lang(zh-Hans),
  :lang(zh-Hant),
  :lang(ko),
  :lang(ja)
) {
  line-height: 1.85;
}

/* CJK has no spaces, so a long unbroken run would otherwise push the page
   sideways; browsers may break anywhere in Han text but need telling for
   Korean, which does have spaces. */
:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja)) .guide-body,
:lang(ko) .guide-body {
  line-break: normal;
  overflow-wrap: break-word;
}

/* --- Copyright notice above the footer (landing, welcome, guides) --- */
.site-copyright {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-note);
}

.site-copyright b {
  color: var(--black);
}

/* --- Back-to-top button, added by /back-to-top.js on long pages --- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.15s,
    transform 0.15s,
    visibility 0.15s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--blue-deep);
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}
