:root {
  --vg-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Segoe UI Variable", "Microsoft YaHei UI", sans-serif;
  --vg-font-data: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --vg-bg: #f4f8fb;
  --vg-bg-2: #dbeaf2;
  --vg-mist: #b8d8e6;
  --vg-violet: #8b84e8;
  --vg-ink: #0f2230;
  --vg-muted: #506879;
  --vg-glass: rgba(255, 255, 255, 0.68);
  --vg-glass-strong: rgba(255, 255, 255, 0.86);
  --vg-line: rgba(55, 91, 118, 0.22);
  --vg-line-soft: rgba(55, 91, 118, 0.16);
  --vg-shadow: 0 28px 80px rgba(43, 76, 101, 0.18);
  --vg-shadow-soft: 0 14px 42px rgba(43, 76, 101, 0.13);
  --vg-radius: 28px;
}

html[data-theme="dark"] {
  --vg-bg: #08111d;
  --vg-bg-2: #122536;
  --vg-mist: #244a60;
  --vg-violet: #a39df5;
  --vg-ink: #f3f7fc;
  --vg-muted: #aab9c6;
  --vg-glass: rgba(16, 36, 52, 0.54);
  --vg-glass-strong: rgba(18, 40, 58, 0.76);
  --vg-line: rgba(255, 255, 255, 0.2);
  --vg-line-soft: rgba(205, 229, 246, 0.12);
  --vg-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --vg-shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.3);
}

html {
  background: var(--vg-bg);
}

body.home-page,
body.home-page.night,
body.liquid-page {
  color: var(--vg-ink);
  font-family: var(--vg-font);
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--vg-mist) 55%, transparent), transparent 32rem),
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--vg-violet) 18%, transparent), transparent 34rem),
    radial-gradient(circle at 52% 90%, rgba(170, 212, 229, 0.18), transparent 38rem),
    linear-gradient(145deg, var(--vg-bg), var(--vg-bg-2)) !important;
  background-attachment: fixed !important;
}

body.home-page::before,
body.home-page::after,
body.liquid-page::before,
body.liquid-page::after {
  opacity: 0.52;
  filter: blur(36px);
}

body.home-page *,
body.liquid-page * {
  font-family: inherit !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--vg-line);
  border-radius: 999px;
  background: var(--vg-glass-strong);
  color: var(--vg-ink);
  box-shadow: var(--vg-shadow-soft);
  text-decoration: none;
  transform: translateY(-160%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.home-page .hero-copy h1,
.home-page .section-heading h2,
.home-page .bottle-section h2,
.home-page .community-copy h2,
.page-article h1,
.page-about .hero h1,
.page-community .group-hero h1,
.page-analysis h1,
.page-music .artist-info h1,
.page-404 .title,
.page-admin h1,
.page-admin h2,
.page-admin h3,
.page-jcc .title,
.page-jcc .overlay h2,
.page-jcc-board .header h1,
.page-snake h1 {
  font-family: var(--vg-font) !important;
  font-style: normal;
  font-weight: 720;
  letter-spacing: -0.045em;
}

/* Native liquid-glass layers. Only the backdrop layer is displaced. */
[data-liquid] {
  --liquid-x: 50%;
  --liquid-y: 22%;
  --liquid-dx: 0px;
  --liquid-dy: 0px;
  --liquid-sx: 1;
  --liquid-sy: 1;
  position: relative;
  isolation: isolate;
  /*
   * Pointer elasticity moves the filtered backdrop beyond its source box.
   * Clip at the owning surface so Chromium cannot reveal the SVG filter's
   * rectangular region outside rounded glass.
   */
  overflow: hidden;
  overflow: clip;
}

.liquid-warp,
.liquid-edge {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}

.liquid-warp {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.28), transparent 44%),
    var(--vg-glass);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  transform: none;
  transition: none;
}

[data-liquid="hero"] .liquid-warp {
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  backdrop-filter: blur(30px) saturate(155%);
}

[data-liquid="control"] .liquid-warp {
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.liquid-edge {
  z-index: 2;
  padding: 1px;
  opacity: 0.9;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.2) 8%,
      rgba(130, 188, 218, 0.72) 34%,
      rgba(139, 132, 232, 0.42) 58%,
      rgba(255, 255, 255, 0.32) 86%
    );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -1px 0 rgba(92, 131, 160, 0.14);
}

[data-liquid] > :not(.liquid-warp):not(.liquid-edge) {
  position: relative;
  z-index: 1;
}

.liquid-content {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  color: inherit;
  white-space: inherit;
}

.liquid-filter-full .liquid-warp {
  filter: url("#wusanle-liquid-control");
}

[data-liquid="nav"].liquid-filter-full .liquid-warp {
  filter: url("#wusanle-liquid-nav");
}

[data-liquid="hero"].liquid-filter-full .liquid-warp {
  filter: url("#wusanle-liquid-hero");
}

.liquid-filter-fallback .liquid-warp {
  filter: none !important;
}

/* Shared floating navigation */
.wb-nav {
  position: fixed;
  z-index: 950;
  top: 14px;
  left: 50%;
  width: min(1120px, calc(100% - 24px));
  min-height: 64px;
  border: 1px solid var(--vg-line);
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 34%),
    var(--vg-glass-strong);
  box-shadow: var(--vg-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  transform: translateX(-50%);
  overflow: hidden;
  overflow: clip;
}

.wb-nav-inner {
  width: 100%;
  max-width: none;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  height: auto;
  margin: 0;
  padding: 6px;
}

.wb-nav .wb-brand {
  flex: 0 0 auto;
  min-width: max-content;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin-right: auto;
  padding: 8px 13px 8px 9px;
  color: var(--vg-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.wb-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: linear-gradient(145deg, #bfe4ee, #8b84e8);
  color: #fff;
  overflow: hidden;
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.62), 0 6px 18px rgba(76, 92, 166, 0.2);
}

.wb-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wb-nav-links {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  overflow: hidden;
}

.wb-nav a:not(.wb-brand) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--vg-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wb-nav a:not(.wb-brand):hover,
.wb-nav a.active {
  color: var(--vg-ink);
  background: rgba(58, 115, 150, 0.12);
}

.wb-nav a:active,
.wb-nav button:active {
  transform: scale(0.96);
}

.wb-nav .nav-icon {
  font-size: 15px;
}

.wb-nav .nav-label {
  font-size: 11.5px;
  font-weight: 650;
}

.wb-nav-theme,
.wb-menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--vg-line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: var(--vg-ink);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .wb-nav {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 36%),
    rgba(8, 17, 29, 0.42);
  box-shadow: var(--vg-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .wb-nav a:not(.wb-brand):hover,
html[data-theme="dark"] .wb-nav a.active {
  background: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .wb-nav-theme,
html[data-theme="dark"] .wb-menu-toggle {
  border-color: rgba(125, 191, 230, 0.22);
  background: rgba(8, 17, 29, 0.24);
  box-shadow: none;
}

.wb-nav-theme .liquid-warp,
.wb-nav-theme .liquid-edge {
  display: none !important;
}

.home-page .window-hotspot {
  width: 44px;
  height: 44px;
  margin: -14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .window-hotspot::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 244, 197, 0.78);
  border-radius: 50%;
  background: rgba(255, 236, 166, 0.42);
  box-shadow: 0 0 18px rgba(255, 226, 142, 0.62);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .window-hotspot:hover,
.home-page .window-hotspot.is-lit {
  transform: none;
  box-shadow: none;
}

.home-page .window-hotspot:hover::before,
.home-page .window-hotspot.is-lit::before {
  transform: scale(1.35);
  box-shadow: 0 0 28px rgba(255, 226, 142, 0.92), 0 0 70px rgba(201, 121, 97, 0.28);
}

.home-page .bottle-name {
  min-height: 48px;
}

.home-page .bottle-like {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  border-radius: 999px;
}

.home-page .secret-console a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.wb-menu-toggle {
  display: none;
}

.wb-mobile-panel {
  display: none;
}

.wb-mobile-scrim {
  display: none;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .wb-nav {
    width: calc(100% - 20px);
  }

  .wb-nav-inner {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    margin: 0;
    gap: 3px;
    height: auto;
    padding: 5px;
  }

  .wb-nav .wb-brand {
    gap: 7px;
    padding: 7px 9px 7px 7px;
    font-size: 13px;
  }

  .wb-brand-mark {
    width: 32px;
    height: 32px;
  }

  .wb-nav-links {
    gap: 0;
  }

  .wb-nav a:not(.wb-brand) {
    min-height: 42px;
    gap: 3px;
    padding: 0 6px;
  }

  .wb-nav .nav-icon {
    font-size: 13px;
  }

  .wb-nav .nav-label {
    font-size: 11px;
  }

  .wb-nav-theme,
  .wb-menu-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1060px) and (min-width: 981px) {
  .wb-nav .nav-icon {
    display: none;
  }

  .wb-nav a:not(.wb-brand) {
    padding: 0 7px;
  }
}

@media (max-width: 1020px) and (min-width: 981px) {
  .wb-nav .wb-brand span:not(.wb-brand-mark) {
    display: none;
  }

  .wb-nav .wb-brand {
    padding-right: 7px;
  }
}

/* Homepage */
.home-page .site-header {
  display: none !important;
}

.home-page .brand,
.home-page .hero-copy h1,
.home-page .section-heading h2,
.home-page .bottle-section h2,
.home-page .community-copy h2 {
  color: var(--vg-ink);
}

.home-page .brand-mark {
  background: linear-gradient(145deg, #bfe4ee, #8b84e8);
  overflow: hidden;
}

.home-page .hero-section {
  min-height: calc(100svh - 90px);
  padding-top: 72px;
}

.home-page .hero-visual {
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--vg-line);
  border-radius: 46px;
  box-shadow: var(--vg-shadow);
}

.home-page .hero-visual .liquid-warp {
  background:
    linear-gradient(140deg, rgba(197, 231, 243, 0.44), rgba(139, 132, 232, 0.13)),
    var(--vg-glass);
}

.home-page .liquid-lens {
  inset: -8% -18% -6% -12%;
  opacity: 0.72;
  filter: saturate(108%);
}

.home-page .window-frame {
  min-height: 590px;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(177, 215, 231, 0.58), rgba(233, 242, 248, 0.32) 54%, rgba(63, 87, 106, 0.48));
  box-shadow: none;
}

html[data-theme="dark"] .home-page .window-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 44%),
    linear-gradient(180deg, rgba(27, 61, 82, 0.82), rgba(24, 48, 66, 0.62) 52%, rgba(7, 16, 27, 0.86));
}

.home-page .hero-copy h1 {
  font-size: clamp(58px, 8.6vw, 116px);
  line-height: 0.94;
}

.home-page .primary-action {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(125deg, #7779db, #7e8bea 45%, #5ca9bf);
  box-shadow: 0 13px 34px rgba(91, 99, 199, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.home-page .tool-panel,
.home-page .game-tile,
.home-page .post-card,
.home-page .bottle-form,
.home-page .bottle-item,
.home-page .timeline li,
.home-page .route-card,
.home-page .route-result,
.home-page .community-stats span,
.home-page .community-qr-card,
.home-page .mission-card,
.home-page .status-stack span,
.contact-card,
.qq-dialog,
.liquid-panel,
.page-about .card,
.page-community .qr-panel,
.page-community .announcement,
.page-community .join-note,
.page-community .msg-form,
.page-community .msg-item,
.page-community .group-music,
.page-analysis .stat-card,
.page-analysis table,
.page-analysis .detail-card,
.page-analysis .tag-cloud,
.page-music .aplayer-wrap,
.page-music .song-item,
.page-music .ext-link,
.page-admin .panel,
.page-admin .item {
  border-color: var(--vg-line) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 48%),
    var(--vg-glass) !important;
  box-shadow: var(--vg-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

.home-page .bottle-form {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 30px;
}

.home-page .bottle-name,
.home-page .bottle-form textarea,
.page-community .msg-name,
.page-community .msg-form textarea,
.page-admin input {
  border: 1px solid var(--vg-line-soft) !important;
  background: color-mix(in srgb, var(--vg-glass-strong) 78%, transparent) !important;
  color: var(--vg-ink) !important;
  box-shadow: inset 0 1px 8px rgba(60, 92, 116, 0.08);
}

.home-page .timeline {
  position: relative;
  gap: 18px;
}

.home-page .timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 26px;
  width: 1px;
  background: linear-gradient(var(--vg-violet), rgba(191, 221, 232, 0.2));
}

.home-page .timeline li {
  margin-left: 56px;
  padding: 26px 28px;
  border-radius: 28px;
}

.home-page .timeline li::before {
  left: -43px;
  width: 15px;
  height: 15px;
  border: 4px solid var(--vg-bg);
  background: var(--vg-violet);
  box-shadow: 0 0 0 1px rgba(139, 132, 232, 0.42), 0 0 22px rgba(139, 132, 232, 0.32);
}

.home-page .site-footer,
.page-music .site-footer,
.vision-footer,
.page-about .footer {
  width: min(1120px, calc(100% - 28px));
  margin: 26px auto max(24px, env(safe-area-inset-bottom, 0px));
  padding: 18px 22px;
  border: 1px solid var(--vg-line) !important;
  border-radius: 24px !important;
  background: var(--vg-glass) !important;
  color: var(--vg-muted) !important;
  box-shadow: var(--vg-shadow-soft);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
}

.vision-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.mobile-dock {
  display: none !important;
}

/* Shared content pages */
.page-article .content,
.page-404 .box,
.page-music .artist-hero,
.page-jcc #game-root,
.page-jcc-board .card,
.page-snake .container {
  border-color: var(--vg-line) !important;
  box-shadow: var(--vg-shadow) !important;
}

.page-404 .box::before {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(135deg, rgba(191, 221, 232, 0.74), rgba(139, 132, 232, 0.38)) !important;
}

.page-about .card h3,
.page-about thead th,
.page-about .status-ok,
.page-analysis .stat-card .val {
  color: var(--vg-violet) !important;
}

.page-community,
.page-analysis,
.page-music {
  --community-accent: #8c88dc;
  --community-accent-strong: #6f75c8;
}

.page-jcc,
.page-jcc-board {
  background:
    radial-gradient(circle at 18% 10%, rgba(139, 132, 232, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 14%, rgba(191, 221, 232, 0.16), transparent 26rem),
    linear-gradient(145deg, #08111d, #122536 58%, #1c1930) !important;
}

.page-snake,
html[data-theme="dark"] .page-snake {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.28), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(139, 132, 232, 0.18), transparent 26rem),
    linear-gradient(145deg, #e7f1f7, #dceaf5 56%, #e8e3fa) !important;
}

html[data-theme="dark"] .page-snake {
  background:
    radial-gradient(circle at 14% 12%, rgba(191, 221, 232, 0.14), transparent 25rem),
    linear-gradient(145deg, #08111d, #122536 58%, #211d36) !important;
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 84px;
  }

  .wb-nav {
    top: max(10px, env(safe-area-inset-top, 0px));
    width: calc(100% - 20px);
    min-height: 58px;
  }

  .wb-nav-inner {
    min-height: 56px;
    padding: 5px;
  }

  .wb-brand {
    padding: 5px 10px 5px 6px;
  }

  .wb-brand-mark {
    width: 32px;
    height: 32px;
  }

  .wb-nav-links,
  .wb-nav-theme {
    display: none;
  }

  .wb-menu-toggle {
    display: grid;
  }

  .wb-mobile-panel {
    position: fixed;
    z-index: 940;
    top: calc(max(10px, env(safe-area-inset-top, 0px)) + 66px);
    right: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: calc(100svh - 92px - env(safe-area-inset-bottom, 0px));
    padding: 11px;
    border: 1px solid var(--vg-line);
    border-radius: 30px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 42%),
      var(--vg-glass-strong);
    box-shadow: var(--vg-shadow);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    backdrop-filter: blur(30px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 160ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  html[data-theme="dark"] .wb-mobile-panel {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 42%),
      var(--vg-glass-strong);
  }

  .wb-mobile-context {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 13px;
    border: 1px solid var(--vg-line-soft);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--vg-muted);
  }

  .wb-mobile-context span {
    font: 720 10px/1 var(--vg-font-data);
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .wb-mobile-context strong {
    min-width: 0;
    overflow: hidden;
    color: var(--vg-ink);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wb-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 1px;
  }

  .wb-mobile-scrim {
    position: fixed;
    z-index: 930;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(5, 13, 23, 0.2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 0s linear 180ms;
  }

  .wb-mobile-scrim.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 160ms ease, visibility 0s;
  }

  body.wb-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .wb-mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition:
      opacity 160ms ease,
      transform 180ms ease,
      visibility 0s;
  }

  .wb-mobile-links a,
  .wb-mobile-panel button {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--vg-line-soft);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--vg-ink);
    text-decoration: none;
    font: 650 13px/1 var(--vg-font);
  }

  .wb-mobile-links a {
    min-width: 0;
  }

  .wb-mobile-links a .nav-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wb-mobile-links a.active {
    border-color: rgba(103, 112, 205, 0.34);
    background:
      radial-gradient(circle at 16% 18%, rgba(139, 132, 232, 0.18), transparent 44%),
      rgba(139, 132, 232, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  }

  .wb-mobile-theme {
    width: 100%;
    flex: 0 0 auto;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.38), transparent 50%),
      rgba(255, 255, 255, 0.24) !important;
  }

  .liquid-page:not(.page-admin) {
    padding-top: calc(84px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 30px !important;
  }

  .home-page main {
    padding-top: calc(70px + env(safe-area-inset-top, 0px));
  }

  .home-page .hero-section {
    padding-top: 18px;
  }

  .home-page .hero-visual {
    min-height: 410px;
    border-radius: 34px;
  }

  .home-page .window-frame {
    min-height: 410px;
  }

  .home-page .timeline::before {
    left: 15px;
  }

  .home-page .timeline li {
    margin-left: 34px;
    padding: 22px 20px;
  }

  .home-page .timeline li::before {
    left: -29px;
  }

  .vision-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liquid-warp,
  .liquid-edge,
  [data-liquid] {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .liquid-warp,
  .wb-mobile-panel,
  .home-page .tool-panel,
  .home-page .game-tile,
  .home-page .post-card,
  .home-page .bottle-form,
  .page-about .card {
    background: color-mix(in srgb, var(--vg-bg) 94%, white 6%) !important;
  }
}
