:root {
  --home-bg-0: #081522;
  --home-bg-1: #10273a;
  --home-bg-2: #163550;
  --home-accent: #9bcbff;
  --home-accent-2: #b7f0df;
  --home-warm: #ffd6a7;
  --home-ink: #f6fbff;
  --home-muted: rgba(218, 234, 247, 0.68);
  --home-soft: rgba(218, 234, 247, 0.46);
  --home-glass: rgba(255, 255, 255, 0.08);
  --home-glass-strong: rgba(255, 255, 255, 0.13);
  --home-line: rgba(255, 255, 255, 0.18);
  --home-line-soft: rgba(255, 255, 255, 0.1);
  --home-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --home-radius: 28px;
  --home-radius-lg: 44px;
  --home-max: 1180px;
  --pointer-x: 50%;
  --pointer-y: 34%;
}

html[data-theme="light"] {
  --home-bg-0: #eef6fb;
  --home-bg-1: #dbeaf4;
  --home-bg-2: #c5dbe9;
  --home-accent: #2d79b8;
  --home-accent-2: #287f74;
  --home-warm: #b4652f;
  --home-ink: #0c2234;
  --home-muted: rgba(35, 58, 75, 0.78);
  --home-soft: rgba(54, 82, 101, 0.64);
  --home-glass: rgba(255, 255, 255, 0.68);
  --home-glass-strong: rgba(255, 255, 255, 0.88);
  --home-line: rgba(42, 84, 116, 0.23);
  --home-line-soft: rgba(42, 84, 116, 0.16);
  --home-shadow: 0 28px 86px rgba(48, 86, 115, 0.2);
}

html {
  scroll-padding-top: 92px;
}

body.home-v2,
body.home-v2.night {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(155, 203, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(183, 240, 223, 0.14), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(255, 214, 167, 0.12), transparent 30rem),
    linear-gradient(145deg, var(--home-bg-0), var(--home-bg-1) 48%, var(--home-bg-2));
  background-attachment: fixed;
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Segoe UI Variable", "Microsoft YaHei UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

html[data-theme="light"] body.home-v2 {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(45, 121, 184, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(40, 127, 116, 0.14), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(180, 101, 47, 0.1), transparent 30rem),
    linear-gradient(145deg, var(--home-bg-0), var(--home-bg-1) 50%, var(--home-bg-2));
}

body.home-v2::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 24%, #000, transparent 76%);
}

body.home-v2::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.home-v2 a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--home-ink);
  color: var(--home-bg-0);
  transform: translateY(-160%);
}

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

.home-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.home-shell {
  width: min(var(--home-max), calc(100% - 32px));
  margin: 0 auto;
}

.home-v2 .wb-nav {
  position: fixed;
  top: 18px;
  left: max(14px, calc((100vw - 980px) / 2));
  right: max(14px, calc((100vw - 980px) / 2));
  width: auto;
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(8, 21, 34, 0.34);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(34px) saturate(150%);
  backdrop-filter: blur(34px) saturate(150%);
  transform: none;
  transition: width 220ms ease, min-height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

html[data-theme="light"] .home-v2 .wb-nav {
  border-color: var(--home-line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.58), transparent 38%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 56px rgba(48, 86, 115, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.home-v2.is-scrolled .wb-nav {
  left: max(14px, calc((100vw - 860px) / 2));
  right: max(14px, calc((100vw - 860px) / 2));
  min-height: 54px;
  background: rgba(8, 21, 34, 0.56);
  box-shadow: 0 22px 66px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .home-v2.is-scrolled .wb-nav {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.64), transparent 38%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 66px rgba(48, 86, 115, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-v2 .wb-nav-inner {
  min-height: inherit;
}

.home-v2 .wb-nav a:not(.wb-brand),
.home-v2 .wb-nav .wb-brand {
  color: rgba(246, 251, 255, 0.82);
}

html[data-theme="light"] .home-v2 .wb-nav a:not(.wb-brand),
html[data-theme="light"] .home-v2 .wb-nav .wb-brand {
  color: rgba(12, 34, 52, 0.82);
}

.home-v2 .wb-nav a:not(.wb-brand):hover,
.home-v2 .wb-nav a.active {
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.13);
}

html[data-theme="light"] .home-v2 .wb-nav a:not(.wb-brand):hover,
html[data-theme="light"] .home-v2 .wb-nav a.active {
  background: rgba(45, 121, 184, 0.12);
}

.home-v2 .wb-brand-mark {
  box-shadow: 0 0 28px rgba(155, 203, 255, 0.18), inset 0 1px 8px rgba(255, 255, 255, 0.5);
}

.home-hero {
  min-height: calc(100svh - 118px);
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(460px, 1.08fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: clamp(104px, 12vh, 136px) 0 42px;
}

.hero-copy {
  max-width: 570px;
}

.hero-kicker,
.hero-label,
.eyebrow,
.stat-card span,
.card-index,
.update-list time {
  color: var(--home-soft);
  font-family: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-label {
  margin: 8px 0 0;
  color: var(--home-accent);
}

.hero-copy h1 {
  margin: 16px 0 16px;
  color: var(--home-ink);
  font-size: clamp(72px, 10vw, 136px);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-lede {
  margin: 0;
  color: rgba(246, 251, 255, 0.86);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.45;
}

html[data-theme="light"] .hero-lede {
  color: rgba(12, 34, 52, 0.9);
}

.hero-slogan {
  margin: 16px 0 0;
  color: var(--home-accent);
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-note {
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--home-muted);
}

.hero-actions,
.form-actions,
.qq-actions,
.welcome-mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.primary-action,
.text-action,
.mini-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--home-glass);
  color: var(--home-ink);
  cursor: pointer;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-action {
  border-color: rgba(155, 203, 255, 0.48);
  background: linear-gradient(135deg, rgba(155, 203, 255, 0.96), rgba(183, 240, 223, 0.82));
  color: #071625;
  font-weight: 720;
  box-shadow: 0 14px 38px rgba(60, 151, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.primary-action:hover,
.text-action:hover,
.mini-btn:hover,
.explore-card:hover,
.contact-method:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 203, 255, 0.58);
}

.hero-visual {
  position: relative;
  min-height: min(68vh, 660px);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-lg);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.16), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: var(--home-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  backdrop-filter: blur(40px) saturate(150%);
}

html[data-theme="light"] .hero-visual {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.66), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28));
}

#soundfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.visual-glass-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 48% 52% 42% 58% / 58% 42% 58% 42%;
  box-shadow: inset 0 0 80px rgba(155, 203, 255, 0.12), 0 0 90px rgba(155, 203, 255, 0.1);
  pointer-events: none;
  animation: orbitBreathe 16s ease-in-out infinite alternate;
}

.visual-status {
  position: absolute !important;
  right: 22px;
  bottom: 22px;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

.visual-status span {
  width: auto !important;
  height: 34px !important;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(8, 21, 34, 0.36);
  color: rgba(246, 251, 255, 0.78);
  font-size: 12px;
  line-height: 1;
  writing-mode: horizontal-tb !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .visual-status span {
  border-color: var(--home-line-soft);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(12, 34, 52, 0.78);
}

.hero-next-hint {
  grid-column: 1 / -1;
  width: min(520px, 100%);
  min-height: 46px;
  margin: -18px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--home-line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--home-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

html[data-theme="light"] .hero-next-hint {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 34px rgba(48, 86, 115, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-next-hint span {
  color: var(--home-accent);
  font-family: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-next-hint strong {
  color: rgba(246, 251, 255, 0.78);
  font-size: 13px;
  font-weight: 620;
}

html[data-theme="light"] .hero-next-hint strong {
  color: rgba(12, 34, 52, 0.78);
}

@keyframes orbitBreathe {
  from { transform: rotate(-4deg) scale(0.98); border-radius: 48% 52% 42% 58% / 58% 42% 58% 42%; }
  to { transform: rotate(4deg) scale(1.02); border-radius: 58% 42% 54% 46% / 44% 56% 44% 56%; }
}

.explore-section,
.stats-section,
.updates-section,
.bottle-section,
.contact-section {
  padding: 96px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-card h2,
.welcome-mail-dialog h2 {
  margin: 8px 0 12px;
  color: var(--home-ink);
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-heading p,
.explore-card p,
.update-list p,
.contact-card p,
.bottle-status,
.bottle-item time,
.welcome-mail-dialog p,
.welcome-mail-status {
  color: var(--home-muted);
}

.explore-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.explore-card,
.stat-card,
.update-list li,
.bottle-form,
.bottle-item,
.contact-card,
.qq-dialog,
.welcome-mail-dialog {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 48%),
    var(--home-glass);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
  backdrop-filter: blur(30px) saturate(145%);
}

html[data-theme="light"] .explore-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .update-list li,
html[data-theme="light"] .bottle-form,
html[data-theme="light"] .bottle-item,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .qq-dialog,
html[data-theme="light"] .welcome-mail-dialog {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 48%),
    var(--home-glass);
  box-shadow: 0 18px 58px rgba(48, 86, 115, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.explore-card::after,
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 12%, rgba(255, 255, 255, 0.18) 38%, transparent 62%);
  transform: translateX(-40%);
  transition: opacity 180ms ease, transform 520ms ease;
}

.explore-card:hover::after,
.stat-card:hover::after {
  opacity: 1;
  transform: translateX(40%);
}

.explore-card {
  min-height: 238px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.explore-card h3 {
  margin: 34px 0 10px;
  color: var(--home-ink);
  font-size: 24px;
}

.card-index {
  color: var(--home-accent);
}

.stat-card {
  min-height: 154px;
  padding: 22px;
}

.stat-card strong {
  display: block;
  margin-top: 14px;
  color: var(--home-ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.stat-card small {
  display: block;
  margin-top: 10px;
  color: var(--home-soft);
}

.update-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-list li {
  padding: 22px 24px;
}

.update-list strong {
  display: block;
  margin-top: 8px;
  color: var(--home-ink);
  font-size: 20px;
}

.bottle-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(340px, 1fr);
  gap: 18px;
  align-items: start;
}

.bottle-form {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.bottle-form label {
  color: var(--home-ink);
  font-weight: 680;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.bottle-name,
.bottle-form textarea,
.welcome-mail-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--home-line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--home-ink);
  padding: 13px 14px;
  font: inherit;
}

html[data-theme="light"] .bottle-name,
html[data-theme="light"] .bottle-form textarea,
html[data-theme="light"] .welcome-mail-form input[type="email"] {
  background: rgba(255, 255, 255, 0.72);
}

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

.bottle-form textarea {
  min-height: 126px;
  resize: vertical;
}

.bottle-name::placeholder,
.bottle-form textarea::placeholder,
.welcome-mail-form input::placeholder {
  color: rgba(218, 234, 247, 0.42);
}

html[data-theme="light"] .bottle-name::placeholder,
html[data-theme="light"] .bottle-form textarea::placeholder,
html[data-theme="light"] .welcome-mail-form input::placeholder {
  color: rgba(54, 82, 101, 0.48);
}

.form-actions {
  align-items: center;
  justify-content: space-between;
}

.form-actions span {
  color: var(--home-soft);
  font-size: 13px;
}

.bottle-list {
  display: grid;
  gap: 12px;
}

.bottle-item {
  padding: 20px;
}

.bottle-item p {
  margin: 0;
  color: rgba(246, 251, 255, 0.9);
}

html[data-theme="light"] .bottle-item p {
  color: rgba(12, 34, 52, 0.88);
}

.bottle-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--home-soft);
  font-size: 13px;
}

.bottle-author {
  color: var(--home-accent);
}

.bottle-like,
.bottle-delete {
  min-height: 34px;
  border: 1px solid var(--home-line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-muted);
  padding: 0 11px;
  cursor: pointer;
}

html[data-theme="light"] .bottle-like,
html[data-theme="light"] .bottle-delete,
html[data-theme="light"] .contact-method,
html[data-theme="light"] .welcome-mail-close {
  background: rgba(255, 255, 255, 0.62);
}

.bottle-like.is-liked {
  color: var(--home-warm);
}

.bottle-list-actions {
  display: flex;
  justify-content: center;
}

.contact-card {
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: center;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.contact-method {
  min-height: 92px;
  border: 1px solid var(--home-line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-ink);
  display: grid;
  place-items: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-method span {
  color: var(--home-accent);
  font-family: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

.qq-modal,
.welcome-mail-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 8, 14, 0.58);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .qq-modal,
html[data-theme="light"] .welcome-mail-modal {
  background: rgba(220, 235, 244, 0.62);
}

.qq-modal.is-open,
.welcome-mail-modal.is-open {
  display: flex;
}

.qq-dialog,
.welcome-mail-dialog {
  width: min(420px, 100%);
  padding: 26px;
}

.qq-dialog {
  text-align: center;
}

.qq-dialog img {
  width: min(240px, 100%);
  aspect-ratio: 1;
  border-radius: 22px;
}

.qq-dialog p {
  margin: 14px 0 0;
  color: var(--home-ink);
}

.qq-dialog small {
  display: block;
  margin-top: 4px;
  color: var(--home-muted);
}

.qq-actions {
  justify-content: center;
  margin-top: 18px;
}

.welcome-mail-dialog {
  position: relative;
}

.welcome-mail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--home-line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--home-muted);
  cursor: pointer;
}

.welcome-mail-dialog h2 {
  margin-right: 44px;
  font-size: 28px;
}

.welcome-mail-form {
  display: grid;
  gap: 12px;
}

.welcome-mail-form label {
  color: var(--home-ink);
  font-weight: 650;
}

.welcome-mail-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--home-muted) !important;
  font-size: 14px;
}

.welcome-mail-consent input {
  margin-top: 5px;
}

.welcome-mail-status.is-error,
.bottle-status.is-error {
  color: #ffb7b7;
}

.welcome-mail-status.is-ok,
.bottle-status.is-ok {
  color: #b7f0df;
}

html[data-theme="light"] .welcome-mail-status.is-error,
html[data-theme="light"] .bottle-status.is-error {
  color: #a84040;
}

html[data-theme="light"] .welcome-mail-status.is-ok,
html[data-theme="light"] .bottle-status.is-ok {
  color: #23745e;
}

.site-footer {
  width: min(var(--home-max), calc(100% - 32px));
  margin: 24px auto max(24px, env(safe-area-inset-bottom, 0px));
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: var(--home-glass);
  color: var(--home-muted);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

html[data-theme="light"] .site-footer {
  box-shadow: 0 16px 48px rgba(48, 86, 115, 0.13);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.home-v2 :focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--home-bg-0), 0 0 0 6px var(--home-accent);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .hero-visual,
  .explore-card,
  .stat-card,
  .update-list li,
  .bottle-form,
  .bottle-item,
  .contact-card,
  .qq-dialog,
  .welcome-mail-dialog,
  .site-footer {
    background: rgba(16, 39, 58, 0.92);
  }
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 480px;
  }

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

  .bottle-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .home-shell,
  .site-footer {
    width: min(100% - 20px, var(--home-max));
  }

  .home-v2 .wb-nav {
    top: max(10px, env(safe-area-inset-top, 0px));
    left: 10px;
    right: 10px;
    width: auto;
  }

  .home-hero {
    padding-top: 98px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(62px, 20vw, 86px);
  }

  .hero-actions .primary-action,
  .hero-actions .text-action {
    flex: 1 1 calc(50% - 8px);
    padding-inline: 12px;
  }

  .hero-actions .primary-action {
    flex-basis: 100%;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 32px;
  }

  .visual-status {
    right: 14px;
    bottom: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-next-hint {
    margin-top: -6px;
    padding: 0 14px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .hero-next-hint strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .explore-section,
  .stats-section,
  .updates-section,
  .bottle-section,
  .contact-section {
    padding: 72px 0;
  }

  .explore-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    min-height: 190px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
