:root {
  --text: rgba(255, 255, 255, .94);
  --muted: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .18);
  --glass: rgba(255, 255, 255, .16);
  --glass-strong: rgba(255, 255, 255, .22);
  --shadow: 0 26px 80px rgba(0, 0, 0, .38);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  color: var(--text);
  background: #050816;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  isolation: isolate;
  overflow: hidden;
}
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -8;
  background-image:
    linear-gradient(180deg, rgba(3, 7, 18, .1), rgba(3, 7, 18, .78)),
    var(--bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.04);
  transition: filter 900ms ease, transform 1200ms ease;
}
body.weather-sunny .bg-layer { filter: saturate(1.18) contrast(1.05) brightness(1.08); }
body.weather-light-rain .bg-layer { filter: saturate(.88) contrast(1.05) brightness(.86) blur(.6px); }
body.weather-moderate-rain .bg-layer { filter: saturate(.76) contrast(1.1) brightness(.76) blur(1px); }
body.weather-heavy-rain .bg-layer { filter: saturate(.62) contrast(1.14) brightness(.65) blur(1.35px); }
.aurora-glow {
  position: fixed;
  inset: -18%;
  z-index: -5;
  background:
    radial-gradient(circle at 18% 22%, rgba(116, 155, 255, .42), transparent 33%),
    radial-gradient(circle at 75% 18%, rgba(255, 226, 172, .25), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(98, 196, 255, .24), transparent 36%);
  filter: blur(26px);
  animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-1.5%, -1.5%, 0) scale(1); } to { transform: translate3d(1.5%, 1.8%, 0) scale(1.04); } }
.sun-layer {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease;
  background:
    radial-gradient(circle at 76% 23%, rgba(255, 232, 181, .9) 0 3%, rgba(255, 225, 165, .28) 10%, transparent 28%),
    linear-gradient(120deg, transparent 0 35%, rgba(255, 245, 210, .14) 42%, transparent 64%);
  mix-blend-mode: screen;
}
body.weather-sunny .sun-layer { opacity: 1; }
.rain-canvas, .droplet-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.rain-canvas {
  z-index: 6;
  mix-blend-mode: screen;
}
.droplet-layer { z-index: -2; }
.droplet-layer {
  opacity: 0;
  transition: opacity 600ms ease;
  backdrop-filter: blur(1.8px);
  -webkit-backdrop-filter: blur(1.8px);
}
body.weather-light-rain .droplet-layer,
body.weather-moderate-rain .droplet-layer,
body.weather-heavy-rain .droplet-layer { opacity: 1; }
.droplet-layer::before,
.droplet-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 18% 26%, rgba(255,255,255,.2) 0 1px, transparent 4px),
    radial-gradient(ellipse at 42% 72%, rgba(255,255,255,.16) 0 1px, transparent 5px),
    radial-gradient(ellipse at 68% 32%, rgba(255,255,255,.14) 0 1px, transparent 4px),
    radial-gradient(ellipse at 88% 78%, rgba(255,255,255,.18) 0 1px, transparent 5px);
  background-size: 260px 260px;
  animation: drops 8s linear infinite;
}
.droplet-layer::after { opacity: .58; background-size: 380px 380px; animation-duration: 13s; }
@keyframes drops { from { transform: translate3d(0, -40px, 0); } to { transform: translate3d(-30px, 80px, 0); } }
.shell {
  width: min(1440px, 100%);
  display: grid;
  grid-template-columns: minmax(620px, 1.08fr) minmax(480px, .92fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
}
.glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.23), rgba(255,255,255,.08)),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter: blur(28px) saturate(1.28);
  -webkit-backdrop-filter: blur(28px) saturate(1.28);
}
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.25), transparent 26% 68%, rgba(255,255,255,.1)),
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.24), transparent 26%);
  opacity: .76;
}
.hero-card, .link-panel { padding: clamp(24px, 4vw, 50px); }
.hero-card { min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; }
.topbar, .section-head, .weather-card, .profile-grid, .links, .link-card, .furmeet-panel, .furmeet-card { position: relative; z-index: 1; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 0;
  font-size: clamp(46px, 8vw, 96px);
  letter-spacing: -.075em;
  line-height: .9;
  text-shadow: 0 12px 42px rgba(0,0,0,.28);
}
.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 40px;
  border-radius: 999px;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .2s ease, background .2s ease;
}
.admin-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.2); }
.profile-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 32px);
  align-items: center;
  margin: clamp(26px, 7vw, 70px) 0;
}
.avatar-wrap { position: relative; width: 150px; aspect-ratio: 1; }
.avatar {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 38px;
  box-shadow: 0 22px 50px rgba(0,0,0,.34);
}
.avatar-ring {
  position: absolute;
  inset: -7px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: inset 0 0 40px rgba(255,255,255,.13), 0 0 40px rgba(160, 195, 255, .28);
  pointer-events: none;
}
.role { color: rgba(255,255,255,.86); font-size: clamp(20px, 3vw, 30px); font-weight: 700; margin-bottom: 12px; }
.bio { color: var(--muted); line-height: 1.85; font-size: 16px; max-width: 72ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.weather-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.1);
}
.weather-card h2 { margin-bottom: 6px; letter-spacing: -.03em; }
.weather-card p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }
.sound-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: #0b1022;
  background: rgba(255,255,255,.88);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.sound-button.is-on { background: rgba(180, 220, 255, .9); }
.link-panel { min-height: 620px; display: flex; flex-direction: column; }
.section-head h2 { font-size: clamp(25px, 4vw, 44px); letter-spacing: -.055em; margin-bottom: 28px; }
.links { display: grid; gap: 14px; }
.link-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.1);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.link-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); }
.link-icon {
  width: 52px; height: 52px;
  flex: 0 0 52px;
  display: grid; place-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26);
}
.link-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-icon-text { padding: 0 6px; }
.link-card strong { display: block; margin-bottom: 5px; font-size: 17px; }
.link-card small { color: var(--muted); line-height: 1.4; }
.furmeet-panel {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mini-section-head h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -.045em;
}
.furmeet-list { display: grid; gap: 12px; }
.furmeet-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.09);
}
.furmeet-card strong { display: block; margin-bottom: 5px; font-size: 17px; }
.furmeet-card small { color: var(--muted); line-height: 1.45; }
.furmeet-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.furmeet-status {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background: #050816;
  transition: opacity .75s ease, visibility .75s ease;
}
.intro.is-hide { opacity: 0; visibility: hidden; }
.intro-orb {
  position: absolute;
  width: min(64vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(112,148,255,.12) 36%, transparent 65%);
  filter: blur(4px);
  animation: introOrb 2.7s cubic-bezier(.2,.8,.2,1) both;
}
.intro-text {
  position: relative;
  font-size: clamp(34px, 7vw, 86px);
  letter-spacing: -.065em;
  font-weight: 700;
  animation: introText 2.7s cubic-bezier(.2,.8,.2,1) both;
  text-align: center;
  padding: 0 22px;
}
.intro-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(100deg, transparent 10%, rgba(255,255,255,.9) 48%, transparent 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 1.8s ease .35s both;
}
.intro-line {
  position: absolute;
  bottom: 24%;
  width: min(260px, 50vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  animation: lineIn 2.4s ease both;
}
@keyframes introOrb { 0% { opacity: 0; transform: scale(.72); } 35% { opacity: 1; } 100% { opacity: .5; transform: scale(1.08); } }
@keyframes introText { 0% { opacity: 0; filter: blur(18px); transform: translateY(18px) scale(.98); } 38% { opacity: 1; filter: blur(0); } 80% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-10px) scale(1.02); } }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -100% 0; } }
@keyframes lineIn { 0% { opacity: 0; transform: scaleX(.2); } 45% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(.9); } }
@media (max-width: 1180px) {
  .shell { grid-template-columns: 1fr; }
  .hero-card, .link-panel { min-height: auto; }
  .hero-card { gap: 28px; }
}
@media (max-width: 620px) {
  .stage { padding: 14px; align-items: start; }
  .glass-panel { border-radius: 28px; }
  .profile-grid { grid-template-columns: 1fr; }
  .avatar-wrap { width: 116px; }
  .weather-card { align-items: stretch; flex-direction: column; }
  .sound-button { width: 100%; }
  h1 { font-size: clamp(46px, 16vw, 72px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .intro { display: none; }
}

/* v1.2: 独立“未来去兽聚”板块 + 删除前台后台入口后的布局优化 */
.shell {
  width: min(1520px, 100%);
  grid-template-columns: minmax(660px, 1.08fr) minmax(520px, .92fr);
}
.hero-card, .link-panel, .future-panel { padding: clamp(24px, 4vw, 50px); }
.future-panel {
  grid-column: 1 / -1;
  min-height: auto;
}
.section-head.compact h2 { margin-bottom: 18px; }
.future-panel .furmeet-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.future-panel .furmeet-card {
  min-height: 150px;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.07));
}
@media (max-width: 1180px) {
  .shell { grid-template-columns: 1fr; }
  .future-panel .furmeet-list { grid-template-columns: 1fr; }
}

/* v1.5: mobile Xiaomi-like weather summary outside glass card */
.mobile-weather-strip {
  display: none;
  width: min(1520px, 100%);
  position: relative;
  z-index: 5;
  color: rgba(255,255,255,.94);
  text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.mobile-weather-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.mobile-weather-main span {
  padding-top: 10px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .01em;
}
.mobile-weather-main strong {
  font-size: clamp(58px, 20vw, 92px);
  line-height: .86;
  letter-spacing: -.08em;
  font-weight: 750;
}
.mobile-weather-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mobile-weather-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  font-size: 12px;
}
@media (max-width: 620px) {
  .stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    place-items: initial;
    gap: 14px;
    padding-top: max(18px, env(safe-area-inset-top));
  }
  .mobile-weather-strip { display: block; }
  .shell { width: 100%; }
  .hero-card { padding-top: 26px; }
}
