:root {
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background-color: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(transparent 95%, var(--scan) 100%),
    radial-gradient(circle at 18% -10%, rgba(127, 109, 255, 0.28), transparent 45%),
    radial-gradient(circle at 86% 0%, rgba(76, 242, 255, 0.2), transparent 36%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  transition: background-color 200ms ease, color 200ms ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

code,
pre,
kbd,
samp {
  font-family: "Consolas", "Cascadia Code", "Menlo", "Monaco", "Courier New", monospace;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.4;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 3px,
    rgba(255, 255, 255, 0.03) 4px
  );
  mix-blend-mode: soft-light;
  opacity: 0.35;
  z-index: -1;
}

.wrap {
  width: min(920px, 92vw);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  background-color: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background-color: var(--surface-strong);
  }
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.reading-progress.is-visible {
  opacity: 1;
}

.reading-progress__bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), #ff4d6d);
  box-shadow: 0 0 12px rgba(76, 242, 255, 0.42);
  transition: transform 80ms linear;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  margin-left: 0;
  color: var(--muted);
  text-decoration: none;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease, text-shadow 150ms ease;
}

nav a:hover,
a:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-shadow: 0 0 14px rgba(76, 242, 255, 0.6);
}

nav a.rss-link {
  color: #ff9a2a;
}

nav a.rss-link:hover {
  color: #ffb45c;
  border-color: #ffb45c;
  text-shadow: 0 0 14px rgba(255, 154, 42, 0.55);
}

.search-form {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.3rem;
}

.search-input {
  width: 240px;
  max-width: 40vw;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  color: var(--text);
  border-radius: 999px;
  padding: 0.34rem 2.35rem 0.34rem 0.68rem;
  font-size: 0.78rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.32), 0 0 14px rgba(76, 242, 255, 0.22);
}

.theme-preset-toggle {
  min-width: 1.92rem;
  width: 1.92rem;
  height: 1.92rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  color: var(--text);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.theme-preset-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent);
}

.theme-preset-icon {
  width: 0.92rem;
  height: 0.92rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-mega-menu[hidden] {
  display: none !important;
}

.theme-mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  z-index: 25;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface-strong), var(--surface));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.theme-mega-menu__inner {
  padding: 0.92rem 0 1rem;
}

.theme-mega-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.72rem;
}

.theme-mega-menu__title {
  margin: 0;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.theme-mega-menu__hint {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.theme-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.54rem;
}

.theme-preset-option {
  width: 100%;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  color: var(--text);
  border-radius: 12px;
  padding: 0.56rem 0.64rem;
  text-align: left;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.theme-preset-option:hover,
.theme-preset-option:focus-visible,
.theme-preset-toggle:focus-visible,
.theme-preset-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(76, 242, 255, 0.28);
}

.theme-preset-option:focus-visible,
.theme-preset-toggle:focus-visible {
  outline: none;
}

.theme-preset-option.is-active {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.25), 0 0 14px rgba(76, 242, 255, 0.22);
  transform: translateY(-1px);
}

.search-submit,
.theme-toggle,
.theme-preset-toggle {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  color: var(--text);
  border-radius: 999px;
  padding: 0.32rem 0.78rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.search-submit {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1.78rem;
  height: 1.78rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.search-icon {
  width: 0.86rem;
  height: 0.86rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-submit:hover,
.theme-preset-toggle:hover,
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(76, 242, 255, 0.28);
}

.theme-toggle {
  margin-left: 0.2rem;
  width: 1.92rem;
  height: 1.92rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.theme-preset-toggle {
  width: 1.92rem;
  height: 1.92rem;
  min-width: 1.92rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.theme-icon {
  width: 0.92rem;
  height: 0.92rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: inline;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: inline;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

main a:visited,
.site-footer a:visited,
.pagination a:visited,
.card h2 a:visited,
.related-card h4 a:visited {
  color: var(--visited-link);
}

main {
  padding: 2.4rem 0 3rem;
}

.posts {
  display: grid;
  gap: 0.92rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .wrap {
    width: min(1380px, 96vw);
  }
}

.post + .posts {
  margin-top: 1rem;
}

.card,
.post,
.empty,
.related-card {
  background: linear-gradient(155deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card {
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.card-media-link {
  display: block;
  margin: 0 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.card-media-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.32), 0 0 18px rgba(76, 242, 255, 0.38);
  transform: translateY(-1px);
}

.card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.28), 0 20px 60px rgba(0, 0, 0, 0.42);
}

.card h2,
.post h1,
.related-card h4 {
  margin: 0 0 0.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.related-card h4 {
  font-size: 1rem;
}

.card h2 a,
.related-card h4 a {
  color: var(--text);
  text-decoration: none;
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.2rem 0 0.58rem;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.meta-info {
  display: inline-flex;
  align-items: center;
}

.meta-sep {
  opacity: 0.5;
  margin: 0 0.35rem;
}

.reading-time {
  color: var(--accent);
}

.share-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.share-action {
  width: 1.52rem;
  height: 1.52rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.share-action:hover,
.share-action:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(76, 242, 255, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.share-icon {
  width: 0.74rem;
  height: 0.74rem;
  fill: currentColor;
}

.share-bluesky .share-icon {
  width: 0.78rem;
  height: 0.78rem;
}

.search-summary {
  margin-bottom: 1rem;
}

.breadcrumbs {
  margin: 0;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs ol::after {
  content: "/";
  opacity: 0.5;
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  opacity: 0.5;
  margin-right: 0.35rem;
}

.breadcrumbs-item a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumbs-item a:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-shadow: none;
}

.breadcrumbs-item span[aria-current="page"] {
  color: var(--text);
}

.breadcrumbs-section {
  margin-bottom: 0.85rem;
}

.search-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.search-heading h3 {
  margin: 0;
}

.search-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.tags {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.tags li {
  border: 1px solid rgba(76, 242, 255, 0.32);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.12rem 0.62rem;
  font-size: 0.73rem;
  font-weight: 600;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.tags li:hover,
.tags li:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.32), 0 0 18px rgba(76, 242, 255, 0.38);
  transform: translateY(-1px);
}

.tags li a {
  color: inherit;
  text-decoration: none;
}

.tags li a:hover {
  color: var(--accent);
  border-color: transparent;
  text-shadow: none;
}

.tags.tag-summary {
  margin-bottom: 0.75rem;
}

.tags.tag-summary li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.tag-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 0.8rem;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  background: linear-gradient(155deg, var(--surface-strong), var(--surface));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.quick-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(76, 242, 255, 0.24);
}

.post-content code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.08rem 0.28rem;
  font-size: 0.9em;
}

.post-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 0.8rem 0.9rem;
  margin: 0.9rem 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--code-bg);
}

.post-content pre.code-block {
  position: relative;
  padding-top: 2.25rem;
}

.copy-code-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  color: var(--muted);
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  cursor: pointer;
}

.copy-code-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.post-content pre code {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(0.66rem, 1.25vw, 0.84rem);
  line-height: 1.45;
}

.post-content img,
.post-content video,
.post-content iframe {
  max-width: 100%;
}

.post-content img {
  display: block;
  width: auto;
  height: auto;
}

.post-content iframe {
  transition: box-shadow 150ms ease;
}

.post-content iframe:hover {
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.32), 0 0 18px rgba(76, 242, 255, 0.38);
}

.post-content .pin-carousel-one {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(76, 242, 255, 0.28);
  max-height: 400px;
}

.post-content .pin-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 280ms ease;
  will-change: transform;
}

.post-content .pin-carousel-item {
  margin: 0;
  flex: 0 0 100%;
  min-width: 100%;
}

.post-content .pin-carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  max-height: 400px;
  object-fit: cover;
}

.post-content .pin-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.72);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.post-content .pin-carousel-btn.prev {
  left: 8px;
}

.post-content .pin-carousel-btn.next {
  right: 8px;
}

.post-content .pin-carousel-btn:focus-visible {
  outline: 2px solid rgba(76, 242, 255, 0.8);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .post-content .pin-carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

.post-frame {
  width: 100%;
  min-height: 560px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--code-bg);
}

.related-posts {
  margin-top: 1rem;
}

.related-posts h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 1rem 0 2.2rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
}

.footer-tags-link {
  color: var(--muted);
  text-decoration: none;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease, text-shadow 150ms ease;
}

.site-footer .footer-tags-link:link,
.site-footer .footer-tags-link:visited,
.site-footer .footer-tags-link:active,
.site-footer .footer-tags-link:focus-visible {
  color: var(--muted);
}

.footer-tags-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-shadow: 0 0 14px rgba(76, 242, 255, 0.45);
}

.footer-rss-link {
  color: #ff9a2a;
  text-decoration: none;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease, text-shadow 150ms ease;
}

.site-footer .footer-rss-link:visited,
.site-footer .footer-rss-link:active,
.site-footer .footer-rss-link:focus-visible,
.site-footer .footer-rss-link:link {
  color: #ff9a2a;
}

.footer-rss-link:hover {
  color: #ffb45c;
  border-color: #ffb45c;
  text-shadow: 0 0 14px rgba(255, 154, 42, 0.55);
}

.pagination {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.page-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.page-link,
.page-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(155deg, var(--surface-strong), var(--surface));
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.page-link:hover,
.page-nav:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(76, 242, 255, 0.24);
}

.page-link.is-active {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(76, 242, 255, 0.3);
}

.page-nav.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.token-comment {
  color: #7e9aa9;
  font-style: italic;
}

.token-keyword {
  color: #ff8fc8;
}

.token-string {
  color: #7af0b4;
}

.token-number {
  color: #ffd166;
}

.token-function {
  color: #8ec5ff;
}

.token-attr {
  color: #9ed7ff;
}

.token-operator {
  color: #d7e6ff;
}

:root[data-theme="light"] .token-comment {
  color: #667a8f;
}

:root[data-theme="light"] .token-keyword {
  color: #bf1b7e;
}

:root[data-theme="light"] .token-string {
  color: #107546;
}

:root[data-theme="light"] .token-number {
  color: #965f00;
}

:root[data-theme="light"] .token-function {
  color: #1d4fa7;
}

:root[data-theme="light"] .token-attr {
  color: #0f69a0;
}

:root[data-theme="light"] .token-operator {
  color: #243040;
}

@media (max-width: 860px) {
  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .search-form {
    margin-left: 0;
  }

  .search-input {
    width: 178px;
    max-width: 42vw;
  }

  .theme-preset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-row {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .brand {
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }

  .theme-toggle {
    margin-left: 0;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .search-form {
    flex: 1 1 160px;
    margin-left: 0;
    min-width: 0;
  }

  .search-input {
    width: 100%;
    max-width: none;
  }

  .theme-preset-toggle {
    margin-left: auto;
  }

  .theme-mega-menu__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.62rem;
  }

  .theme-mega-menu__hint {
    display: none;
  }

  .theme-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .page-nav {
    width: 100%;
  }

  .card,
  .post,
  .empty,
  .related-card {
    padding: 0.95rem;
  }
}

/* iOS Safari: prevent focus zoom on search field */
@supports (-webkit-touch-callout: none) {
  .search-input,
  .theme-preset-toggle,
  .theme-preset-option {
    font-size: 16px;
  }
}

/* subtle animation hooks */
#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -4;
}

.brand.brand-shimmer {
  position: relative;
  overflow: hidden;
}

.brand.brand-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 35%, rgba(76, 242, 255, 0.22) 50%, transparent 65%);
  pointer-events: none;
  animation: brandShimmer 12s ease-in-out infinite;
}

.search-form.search-focus::after {
  content: "";
  position: absolute;
  right: -0.08rem;
  top: 50%;
  width: 1.98rem;
  height: 1.98rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 242, 255, 0.46);
  transform: translateY(-50%) scale(0.86);
  opacity: 0.75;
  pointer-events: none;
  animation: searchPulse 1.55s ease-out infinite;
}

.theme-toggle.theme-burst {
  animation: themeBurst 0.42s ease-out;
}

.reading-progress__bar.flowing {
  background-size: 180% 100%;
  animation: progressFlow 2.8s linear infinite;
}

.card.anim-card {
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  will-change: transform;
}

.card.anim-card:hover {
  transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) - 2px), 0);
}

.card-media-link.anim-ripple-target {
  position: relative;
}

.card-media-link.anim-ripple-target::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid rgba(76, 242, 255, 0.36);
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.card-media-link.anim-ripple-target:hover::after {
  animation: edgeRipple 0.52s ease-out;
}

.card-title-link {
  position: static;
}

.card h2 {
  position: relative;
  padding-bottom: 0.18rem;
}

.card h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(76, 242, 255, 0.9), rgba(127, 109, 255, 0.85));
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 780ms ease, opacity 780ms ease;
}

.card:hover h2::after,
.card h2:focus-within::after {
  transform: scaleX(1);
  opacity: 1;
}

.breadcrumbs-section.breadcrumbs-reveal .breadcrumbs-item {
  opacity: 0;
  transform: translateY(3px);
  animation: breadcrumbReveal 0.36s ease forwards;
}

.breadcrumbs-section.breadcrumbs-reveal .breadcrumbs-item:nth-child(1) { animation-delay: 0ms; }
.breadcrumbs-section.breadcrumbs-reveal .breadcrumbs-item:nth-child(2) { animation-delay: 40ms; }
.breadcrumbs-section.breadcrumbs-reveal .breadcrumbs-item:nth-child(3) { animation-delay: 80ms; }
.breadcrumbs-section.breadcrumbs-reveal .breadcrumbs-item:nth-child(4) { animation-delay: 120ms; }

.tag-count-pill.route-pulse {
  animation: countPulse 0.62s ease-out;
}

.post-content img.image-bloom {
  transition: box-shadow 180ms ease, filter 180ms ease;
}

.post-content img.image-bloom:hover {
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.3), 0 0 18px rgba(76, 242, 255, 0.4);
  filter: saturate(1.05) contrast(1.03);
}

.copy-code-btn.copy-success {
  animation: copyPulse 0.55s ease-out;
}

.back-to-top-global.wave-pop::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(76, 242, 255, 0.48);
  opacity: 0;
  transform: scale(0.84);
  pointer-events: none;
  animation: wavePop 0.62s ease-out;
}

@keyframes brandShimmer {
  0%, 78%, 100% { transform: translateX(-120%); opacity: 0; }
  80% { opacity: 0.7; }
  92% { transform: translateX(120%); opacity: 0; }
}

@keyframes searchPulse {
  0% { transform: translateY(-50%) scale(0.86); opacity: 0.75; }
  100% { transform: translateY(-50%) scale(1.24); opacity: 0; }
}

@keyframes themeBurst {
  0% { box-shadow: 0 0 0 0 rgba(76, 242, 255, 0.44); }
  100% { box-shadow: 0 0 0 10px rgba(76, 242, 255, 0); }
}

@keyframes progressFlow {
  from { background-position: 0% 50%; }
  to { background-position: 180% 50%; }
}

@keyframes edgeRipple {
  0% { opacity: 0.1; transform: scale(0.97); }
  100% { opacity: 0; transform: scale(1.06); }
}

@keyframes breadcrumbReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countPulse {
  0% { transform: scale(0.84); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.46); }
  65% { transform: scale(1.06); }
  100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}

@keyframes copyPulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 242, 255, 0.42); }
  100% { box-shadow: 0 0 0 9px rgba(76, 242, 255, 0); }
}

@keyframes wavePop {
  0% { opacity: 0.62; transform: scale(0.84); }
  100% { opacity: 0; transform: scale(1.38); }
}

/* visionOS-inspired material + neon refinement */
.site-header,
.card,
.post,
.empty,
.related-card,
.search-input,
.theme-preset-toggle,
.theme-mega-menu,
.theme-preset-option,
.search-submit,
.theme-toggle,
.quick-link,
.share-action,
.page-link,
.page-nav {
  background: linear-gradient(165deg, var(--glass-surface-strong), var(--glass-surface));
  border-color: var(--glass-border);
  box-shadow:
    var(--glass-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    1px 0 0 var(--neon-cyan),
    -1px 0 0 var(--neon-magenta);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(130%);
  backdrop-filter: blur(var(--glass-blur)) saturate(130%);
}

.card,
.post,
.empty,
.related-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card::before,
.post::before,
.empty::before,
.related-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, var(--glass-highlight), rgba(255, 255, 255, 0) 36%),
    linear-gradient(0deg, rgba(76, 242, 255, 0.05), rgba(76, 242, 255, 0) 38%);
}

.card > *,
.post > *,
.empty > *,
.related-card > * {
  position: relative;
  z-index: 1;
}

.card,
.card-media-link,
.tags li,
.quick-link,
.share-action,
.page-link,
.page-nav,
.theme-toggle,
.theme-preset-toggle,
.theme-preset-option,
.copy-code-btn {
  box-shadow:
    var(--glass-shadow),
    0 0 0 1px var(--neon-edge-idle),
    1px 0 0 var(--neon-cyan),
    -1px 0 0 var(--neon-magenta);
}

.card:hover,
.card-media-link:hover,
.tags li:hover,
.tags li:focus-within,
.quick-link:hover,
.share-action:hover,
.share-action:focus-visible,
.page-link:hover,
.page-nav:hover,
.theme-toggle:hover,
.theme-preset-toggle:focus-visible,
.theme-preset-toggle:hover,
.theme-preset-option:hover,
.theme-preset-option:focus-visible,
.theme-preset-option.is-active,
.copy-code-btn:hover,
.search-input:focus,
.search-submit:hover {
  box-shadow:
    var(--glass-shadow),
    0 0 0 1px var(--neon-edge-hover),
    0 0 14px var(--neon-cyan),
    0 0 10px var(--neon-magenta);
}

.constellation-shell {
  margin-bottom: 0.95rem;
}

.constellation-wrap {
  position: relative;
  min-height: clamp(280px, 48vh, 430px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(76, 242, 255, 0.12), rgba(76, 242, 255, 0) 58%),
    linear-gradient(165deg, var(--glass-surface-strong), var(--glass-surface));
}

.constellation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.const-link {
  stroke: rgba(136, 188, 255, 0.62);
  transition: stroke-opacity 180ms ease, stroke 180ms ease;
}

.const-link.is-dim {
  stroke-opacity: 0.08 !important;
}

.const-link.is-active {
  stroke: var(--accent);
  stroke-opacity: 0.86 !important;
}

.constellation-nodes {
  position: absolute;
  inset: 0;
}

.const-node-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  min-height: var(--node-size, 32px);
  min-width: calc(var(--node-size, 32px) + 14px);
  padding: 0.2rem 0.58rem 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Orbitron", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  background: linear-gradient(145deg, var(--glass-surface-strong), var(--glass-surface));
  box-shadow:
    0 0 0 1px var(--neon-edge-idle),
    1px 0 0 var(--neon-cyan),
    -1px 0 0 var(--neon-magenta);
  transition: color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, opacity 170ms ease;
  animation: constFloat var(--drift-duration, 9s) ease-in-out var(--drift-delay, 0s) infinite;
}

.const-node-meta {
  min-width: 1.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  line-height: 1.1;
  text-align: center;
  background: #dc2626;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.62rem;
}

.const-node-btn:hover,
.const-node-btn:focus-visible,
.const-node-btn.is-active {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--neon-edge-hover),
    0 0 16px var(--neon-cyan),
    0 0 11px var(--neon-magenta);
  outline: none;
}

.const-node-btn.is-related {
  border-color: rgba(76, 242, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(76, 242, 255, 0.22), 0 0 10px rgba(76, 242, 255, 0.26);
}

.const-node-btn.is-dim {
  opacity: 0.34;
}

.constellation-wrap.is-motion-off .const-node-btn {
  animation: none;
}

@keyframes constFloat {
  0%, 100% {
    transform: translate(calc(-50% + 0px), calc(-50% + 0px));
  }
  50% {
    transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-50% + var(--drift-y, 0px)));
  }
}

@media (max-width: 860px) {
  .const-node-btn {
    font-size: 0.61rem;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.46rem;
  }
}

/* list <-> post depth crossfade transitions */
#app {
  position: relative;
  transform-origin: center top;
}

#app.view-transitioning {
  will-change: opacity, transform, filter;
  transition: opacity 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 180ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

#app.view-out-list,
#app.view-out-post {
  opacity: 0.2;
  transform: scale(0.97) translateY(8px);
  filter: blur(2px);
  pointer-events: none;
}

#app.view-in-list,
#app.view-in-post {
  opacity: 0;
  transform: scale(0.985) translateY(4px);
  filter: blur(2px);
}

#app.view-in-list.is-entering,
#app.view-in-post.is-entering {
  transition: opacity 460ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 460ms cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  #app.view-transitioning,
  #app.view-in-list,
  #app.view-in-post,
  #app.view-out-list,
  #app.view-out-post {
    transition: opacity 180ms ease !important;
    transform: none !important;
    filter: none !important;
  }

  #app.view-out-list,
  #app.view-out-post,
  #app.view-in-list {
    opacity: 0;
  }

  #app.view-in-list.is-entering,
  #app.view-in-post.is-entering {
    opacity: 1;
  }
}
/* Generic preset hooks (all preset-specific values come from /themes/*.css) */
:root[data-theme-preset] body {
  background-image:
    linear-gradient(transparent 95%, var(--scan) 100%),
    radial-gradient(circle at 18% -10%, var(--theme-bg-overlay-1, rgba(127, 109, 255, 0.28)), transparent 45%),
    radial-gradient(circle at 86% 0%, var(--theme-bg-overlay-2, rgba(76, 242, 255, 0.2)), transparent 36%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}

:root[data-theme-preset] body::before {
  background-size: var(--theme-grid-size, 36px 36px);
  opacity: var(--theme-grid-opacity, 0.4);
}

:root[data-theme-preset] body::after {
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 3px,
    var(--theme-scanline-color, rgba(255, 255, 255, 0.03)) 4px
  );
  mix-blend-mode: var(--theme-scanline-blend, soft-light);
  opacity: var(--theme-scanline-opacity, 0.35);
}

:root[data-theme-preset] .reading-progress__bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-2, #ff4d6d));
  box-shadow: 0 0 12px var(--accent-soft, rgba(76, 242, 255, 0.42));
}

:root[data-theme-preset] nav a:hover,
:root[data-theme-preset] a:hover {
  text-shadow: 0 0 14px var(--theme-nav-hover-shadow, rgba(76, 242, 255, 0.6));
}

:root[data-theme-preset] nav a.rss-link,
:root[data-theme-preset] .footer-rss-link,
:root[data-theme-preset] .site-footer .footer-rss-link:link,
:root[data-theme-preset] .site-footer .footer-rss-link:visited,
:root[data-theme-preset] .site-footer .footer-rss-link:active,
:root[data-theme-preset] .site-footer .footer-rss-link:focus-visible {
  color: var(--theme-rss-link, #ff9a2a);
}

:root[data-theme-preset] nav a.rss-link:hover,
:root[data-theme-preset] .footer-rss-link:hover {
  color: var(--theme-rss-hover, #ffb45c);
  border-color: var(--theme-rss-hover, #ffb45c);
  text-shadow: 0 0 14px var(--theme-rss-shadow, rgba(255, 154, 42, 0.55));
}

:root[data-theme-preset] .search-input:focus {
  box-shadow: 0 0 0 1px var(--theme-focus-ring, rgba(76, 242, 255, 0.32)), 0 0 14px var(--theme-focus-glow, rgba(76, 242, 255, 0.22));
}

:root[data-theme-preset] .theme-preset-toggle:focus-visible,
:root[data-theme-preset] .theme-preset-option:focus-visible {
  box-shadow: 0 0 0 1px var(--theme-focus-ring, rgba(76, 242, 255, 0.32)), 0 0 14px var(--theme-focus-glow, rgba(76, 242, 255, 0.22));
}

:root[data-theme-preset] .search-submit:hover,
:root[data-theme-preset] .theme-preset-toggle:hover,
:root[data-theme-preset] .theme-preset-option:hover,
:root[data-theme-preset] .theme-preset-option.is-active,
:root[data-theme-preset] .theme-toggle:hover {
  box-shadow: 0 0 18px var(--theme-control-hover-glow, rgba(76, 242, 255, 0.28));
}

:root[data-theme-preset] .card-media-link:hover {
  box-shadow: 0 0 0 1px var(--theme-media-hover-ring, rgba(76, 242, 255, 0.32)), 0 0 18px var(--theme-media-hover-glow, rgba(76, 242, 255, 0.38));
}

:root[data-theme-preset] .card:hover {
  box-shadow: 0 0 0 1px var(--theme-card-hover-ring, rgba(76, 242, 255, 0.28)), 0 20px 60px var(--theme-card-hover-shadow, rgba(0, 0, 0, 0.42));
}

:root[data-theme-preset] .share-action:hover,
:root[data-theme-preset] .share-action:focus-visible {
  box-shadow: 0 0 14px var(--theme-share-hover-glow, rgba(76, 242, 255, 0.28));
}

:root[data-theme-preset] .quick-link:hover {
  box-shadow: 0 0 14px var(--theme-quick-hover-glow, rgba(76, 242, 255, 0.24));
}

:root[data-theme-preset] .page-link:hover,
:root[data-theme-preset] .page-nav:hover {
  box-shadow: 0 0 14px var(--theme-page-hover-glow, rgba(76, 242, 255, 0.24));
}

:root[data-theme-preset] .page-link.is-active {
  box-shadow: 0 0 14px var(--theme-page-active-glow, rgba(76, 242, 255, 0.3));
}

:root[data-theme-preset] .search-count-pill,
:root[data-theme-preset] .tag-count-pill,
:root[data-theme-preset] .const-node-meta {
  background: var(--theme-badge-bg, #dc2626);
  color: var(--theme-badge-fg, #ffffff);
  border-color: var(--theme-badge-border, rgba(255, 255, 255, 0.26));
}

:root[data-theme-preset] .token-comment { color: var(--theme-token-comment, #7e9aa9); }
:root[data-theme-preset] .token-keyword { color: var(--theme-token-keyword, #ff8fc8); }
:root[data-theme-preset] .token-string { color: var(--theme-token-string, #7af0b4); }
:root[data-theme-preset] .token-number { color: var(--theme-token-number, #ffd166); }
:root[data-theme-preset] .token-function { color: var(--theme-token-function, #8ec5ff); }
:root[data-theme-preset] .token-attr { color: var(--theme-token-attr, #9ed7ff); }
:root[data-theme-preset] .token-operator { color: var(--theme-token-operator, #d7e6ff); }

:root[data-theme-preset] .const-link {
  stroke: var(--theme-const-link, rgba(136, 188, 255, 0.62));
}

:root[data-theme-preset] .const-node-btn.is-related {
  border-color: var(--theme-const-related-border, rgba(76, 242, 255, 0.62));
  box-shadow: var(--theme-const-related-shadow, 0 0 0 1px rgba(76, 242, 255, 0.22), 0 0 10px rgba(76, 242, 255, 0.26));
}

:root[data-theme-preset] .post-content img.image-bloom:hover {
  box-shadow: var(--theme-image-bloom-shadow, 0 0 0 1px rgba(76, 242, 255, 0.3), 0 0 18px rgba(76, 242, 255, 0.4));
  filter: var(--theme-image-bloom-filter-hover, saturate(1.05) contrast(1.03));
}

:root[data-theme-preset] .brand.brand-shimmer::after {
  display: var(--theme-brand-shimmer-display, block);
}

:root[data-theme-preset] .search-form.search-focus::after {
  display: var(--theme-search-focus-display, block);
}

:root[data-theme-preset] .theme-toggle.theme-burst {
  animation: var(--theme-theme-burst-animation, themeBurst 0.42s ease-out);
}

:root[data-theme-preset] .copy-code-btn.copy-success {
  animation: var(--theme-copy-success-animation, copyPulse 0.55s ease-out);
}

:root[data-theme-preset] .tag-count-pill.route-pulse {
  animation: var(--theme-count-pulse-animation, countPulse 0.62s ease-out);
}
