@font-face {
  font-family: "SakuraRound";
  src: url("/assets/bingyu/original/assets/font/ZhuZiAWan2.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "SakuraMiSans";
  src: url("/assets/bingyu/original/assets/font/MiSans.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --surface-deep: #fff6fa;
  --surface-page: #fffafb;
  --surface-panel: #fff0f6;
  --surface-card: rgba(255, 255, 255, 0.88);
  --surface-card-strong: #ffffff;
  --surface-card-soft: rgba(15, 23, 42, 0.045);
  --surface-card-hover: rgba(15, 23, 42, 0.065);
  --text-strong: #46526a;
  --text-main: #56627a;
  --text-muted: #858ea2;
  --text-soft: #6a7488;
  --line-soft: rgba(15, 23, 42, 0.11);
  --line-strong: rgba(15, 23, 42, 0.17);
  --accent-sakura: #ff7a90;
  --accent-mint: #4dd6c1;
  --accent-sun: #f7c85f;
  --accent-sky: #5b8cff;
  --accent-green: #45d483;
  --bg: var(--surface-deep);
  --bg-soft: var(--surface-panel);
  --surface: var(--surface-card);
  --surface-strong: var(--surface-card-strong);
  --surface-soft: var(--surface-card-soft);
  --ink: var(--text-main);
  --muted: var(--text-muted);
  --line: var(--line-soft);
  --accent: var(--accent-sakura);
  --accent-2: var(--accent-mint);
  --accent-3: var(--accent-sun);
  --blue: var(--accent-sky);
  --green: var(--accent-green);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-card: 8px;
  --radius-panel: 8px;
  --radius-pill: 999px;
  --radius-control: 13px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 42px;
  --control-height: 42px;
  --icon-xs: 16px;
  --icon-sm: 20px;
  --icon-md: 28px;
  --icon-lg: 42px;
  --shadow: 0 12px 32px rgba(45, 55, 70, 0.1);
  --shadow-soft: 0 4px 18px rgba(45, 55, 70, 0.06);
  --shadow-card: 0 2px 10px rgba(45, 55, 70, 0.035);
  --shadow-lift: 0 18px 60px rgba(255, 122, 144, 0.1), 0 20px 60px rgba(77, 90, 120, 0.14);
  --site-header-height: 72px;
  --wave-fill: rgba(255, 246, 250, 0.7);
  --wave-layer: rgba(255, 221, 234, 0.46);
  --wave-layer-soft: rgba(255, 255, 255, 0.34);
  --wave-mist: rgba(255, 255, 255, 0.32);
  --mobile-tab-reserve: 0px;
  --music-player-reserve: 0px;
  --site-font-family: "SakuraRound", "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-family: var(--site-font-family);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 122, 144, 0.18), transparent 28rem),
    linear-gradient(245deg, rgba(77, 214, 193, 0.18), transparent 32rem),
    linear-gradient(180deg, #141d2a, #0d131c 42rem, #111820);
  background-color: var(--bg);
  background-attachment: fixed;
  letter-spacing: 0;
}

body[data-bg-effect="aurora"] {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 144, 0.2), transparent 26rem),
    radial-gradient(circle at 86% 20%, rgba(77, 214, 193, 0.2), transparent 30rem),
    linear-gradient(180deg, #182235, #101823 42rem, #121a24);
  background-color: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 1px, transparent 1.5px),
    linear-gradient(120deg, transparent 0 26%, rgba(255, 255, 255, 0.13) 50%, transparent 72% 100%),
    linear-gradient(35deg, transparent 0 38%, rgba(77, 214, 193, 0.16) 50%, transparent 64% 100%);
  background-position: 0 0, 0 0, 0 0;
  background-size: 138px 138px, 460px 460px, 620px 620px;
  animation: backgroundDrift 16s linear infinite;
}

body[data-bg-effect="none"]::after {
  display: none;
}

body[data-bg-effect="stars"] {
  --bg: #14203a;
  --bg-soft: #243457;
  --surface: rgba(31, 45, 72, 0.84);
  --surface-strong: #2a3a5d;
  --surface-soft: rgba(91, 140, 255, 0.1);
  --line: rgba(180, 201, 255, 0.18);
  --wave-fill: #14203a;
  --wave-layer: rgba(35, 55, 90, 0.78);
  --wave-layer-soft: rgba(120, 164, 255, 0.28);
  --wave-mist: rgba(226, 237, 255, 0.2);
  background:
    radial-gradient(circle at 18% 18%, rgba(111, 156, 255, 0.32), transparent 24rem),
    radial-gradient(circle at 78% 24%, rgba(77, 214, 193, 0.18), transparent 28rem),
    linear-gradient(180deg, #1d2d50, #14223c 42rem, #15223a);
}

body[data-bg-effect="stars"]::before {
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.8px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

body[data-bg-effect="stars"]::after {
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.38) 1px, transparent 1.5px),
    radial-gradient(circle at 72% 22%, rgba(77, 214, 193, 0.16), transparent 20rem);
  background-size: 128px 128px, auto;
}

body[data-bg-effect="neon-grid"] {
  --bg: #0b2530;
  --bg-soft: #143945;
  --surface: rgba(17, 48, 60, 0.84);
  --surface-strong: #183d49;
  --surface-soft: rgba(77, 214, 193, 0.1);
  --line: rgba(77, 214, 193, 0.18);
  --wave-fill: #0b2530;
  --wave-layer: rgba(20, 61, 73, 0.8);
  --wave-layer-soft: rgba(77, 214, 193, 0.26);
  --wave-mist: rgba(109, 239, 222, 0.2);
  background:
    linear-gradient(130deg, rgba(77, 214, 193, 0.34), transparent 34rem),
    linear-gradient(245deg, rgba(255, 122, 144, 0.26), transparent 32rem),
    #0b2530;
}

body[data-bg-effect="neon-grid"]::before {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(77, 214, 193, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 144, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body[data-bg-effect="neon-grid"]::after {
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(255, 122, 144, 0.28), transparent 18rem),
    radial-gradient(circle at 78% 28%, rgba(77, 214, 193, 0.24), transparent 22rem),
    linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 50%, transparent 64% 100%);
  background-size: auto, auto, 520px 520px;
}

body[data-bg-effect="soft-mist"] {
  --bg: #2a1f2d;
  --bg-soft: #3a2b42;
  --surface: rgba(57, 43, 63, 0.84);
  --surface-strong: #42304a;
  --surface-soft: rgba(255, 190, 205, 0.1);
  --line: rgba(255, 214, 223, 0.16);
  --wave-fill: #2a1f2d;
  --wave-layer: rgba(67, 48, 74, 0.78);
  --wave-layer-soft: rgba(255, 122, 144, 0.28);
  --wave-mist: rgba(255, 219, 229, 0.24);
  background:
    linear-gradient(120deg, rgba(255, 122, 144, 0.34), transparent 32rem),
    linear-gradient(245deg, rgba(190, 230, 255, 0.24), transparent 36rem),
    #2a1f2d;
}

body[data-bg-effect="soft-mist"]::before {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.2), transparent 20rem),
    radial-gradient(circle at 82% 30%, rgba(255, 122, 144, 0.22), transparent 24rem),
    radial-gradient(circle at 52% 82%, rgba(77, 214, 193, 0.18), transparent 26rem);
  background-size: auto;
}

body[data-bg-effect="soft-mist"]::after {
  opacity: 0.22;
  background-image:
    linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.1) 48%, transparent 62% 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1.6px);
  background-size: 680px 680px, 160px 160px;
}

body[data-bg-effect="paper-dots"] {
  --bg: #202838;
  --bg-soft: #2b3548;
  --surface: rgba(39, 50, 68, 0.84);
  --surface-strong: #303c52;
  --surface-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(214, 225, 240, 0.14);
  --wave-fill: #202838;
  --wave-layer: rgba(47, 61, 82, 0.78);
  --wave-layer-soft: rgba(247, 200, 95, 0.22);
  --wave-mist: rgba(255, 247, 221, 0.18);
  background:
    linear-gradient(180deg, #28354a, #202b3d 48rem, #202838);
}

body[data-bg-effect="paper-dots"]::before {
  opacity: 0.26;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1.4px);
  background-size: 18px 18px;
}

body[data-bg-effect="paper-dots"]::after {
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 20% 22%, rgba(255, 122, 144, 0.2), transparent 18rem),
    radial-gradient(circle at 80% 26%, rgba(77, 214, 193, 0.18), transparent 20rem);
}

body[data-bg-effect="none"] {
  background: linear-gradient(180deg, #172130, #101720);
  background-color: var(--bg);
}

body[data-bg-effect="none"]::before {
  display: none;
}

.mouse-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(620px circle at var(--mouse-x, 50vw) var(--mouse-y, 38vh), rgba(77, 214, 193, 0.24), transparent 60%),
    radial-gradient(420px circle at calc(var(--mouse-x, 50vw) + 110px) calc(var(--mouse-y, 38vh) + 70px), rgba(255, 122, 144, 0.18), transparent 62%);
  mix-blend-mode: screen;
  transition: opacity 0.24s ease;
}

body[data-bg-effect="stars"] .mouse-glow {
  opacity: 0.38;
}

body[data-bg-effect="neon-grid"] .mouse-glow {
  opacity: 0.82;
}

body[data-bg-effect="soft-mist"] .mouse-glow {
  opacity: 0.48;
}

body[data-bg-effect="paper-dots"] .mouse-glow {
  opacity: 0.34;
}

body[data-bg-effect="none"] .mouse-glow {
  opacity: 0;
}

body,
body[data-bg-effect="aurora"],
body[data-bg-effect="stars"],
body[data-bg-effect="neon-grid"],
body[data-bg-effect="soft-mist"],
body[data-bg-effect="paper-dots"],
body[data-bg-effect="none"] {
  --bg: #fff6fa;
  --bg-soft: #fff0f6;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: rgba(15, 23, 42, 0.045);
  --text-strong: #46526a;
  --text-main: #56627a;
  --text-muted: #858ea2;
  --text-soft: #6a7488;
  --line: rgba(15, 23, 42, 0.11);
  --wave-fill: rgba(255, 246, 250, 0.7);
  --wave-layer: rgba(255, 221, 234, 0.46);
  --wave-layer-soft: rgba(255, 255, 255, 0.34);
  --wave-mist: rgba(255, 255, 255, 0.32);
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 122, 144, 0.22), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(255, 214, 223, 0.24), transparent 28rem),
    linear-gradient(180deg, #fff8fb, #fff2f7 36rem, #f9eef5);
  background-color: var(--bg);
}

body::before {
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
}

body::after {
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(77, 90, 120, 0.16) 1px, transparent 1.5px),
    linear-gradient(120deg, transparent 0 26%, rgba(255, 122, 144, 0.11) 50%, transparent 72% 100%),
    linear-gradient(35deg, transparent 0 38%, rgba(77, 214, 193, 0.12) 50%, transparent 64% 100%);
  mix-blend-mode: normal;
}

.mouse-glow {
  opacity: 0.36;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid #247b79;
  outline-offset: 3px;
}

.app-shell:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  color: #263341;
  background: white;
  border: 2px solid #247b79;
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 122, 144, 0.24), transparent 20rem),
    radial-gradient(circle at 42% 58%, rgba(255, 214, 223, 0.38), transparent 22rem),
    linear-gradient(180deg, #fff8fb, #fff1f6);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.loaded .boot-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body[data-loading-enabled="false"] .boot-screen,
body[data-loading-enabled="false"] .loading {
  display: none;
}

body:not(.loaded) .app-shell > .loading-state {
  visibility: hidden;
  opacity: 0;
}

.boot-card {
  display: grid;
  justify-items: center;
  padding: 0;
}

.boot-gif {
  width: min(72vw, 520px);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-panel);
  filter: drop-shadow(0 26px 58px rgba(77, 90, 120, 0.2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: var(--site-header-height);
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(38, 51, 65, 0.09);
  box-shadow: 0 2px 12px rgba(38, 51, 65, 0.035);
  backdrop-filter: blur(12px);
  color: #334252;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #334252;
  font-weight: 700;
}

.site-header .brand::before,
.site-header .brand > .brand-badge,
.site-header [data-home-badge] {
  content: none !important;
  display: none !important;
}

.brand-text {
  font-size: 18px;
  color: #334252;
  text-shadow: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: #526170;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1;
  text-shadow: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-icon {
  display: inline-block;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  background-color: transparent;
  background-image: var(--nav-icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-mask: none;
  mask: none;
  filter: drop-shadow(0 3px 5px rgba(58, 70, 102, 0.18));
}

.nav-label {
  display: inline-block;
  transform: translateY(1px);
}

.nav-icon-tasks {
  color: #188675;
  background-image: none;
  background-color: currentColor;
  -webkit-mask: var(--nav-icon-url) center / 20px no-repeat;
  mask: var(--nav-icon-url) center / 20px no-repeat;
  filter: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: #a93657;
  background: #fff0f4;
  box-shadow: none;
}

.mobile-tab-bar {
  display: none;
}

.mobile-menu-button,
.mobile-menu-popover {
  display: none;
}

.mobile-pc-tip[hidden] {
  display: none !important;
}

.mobile-pc-tip {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 16px;
}

.mobile-pc-tip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 30, 34, 0.36);
  backdrop-filter: blur(5px);
}

.mobile-pc-tip-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: min(100%, 360px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #30373d;
  border: 1px solid #e7e4e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(28, 30, 34, 0.18);
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.mobile-pc-tip-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #3988b7;
  border-radius: 8px;
  background: transparent;
}

.mobile-pc-tip-icon .local-icon {
  --local-icon: url('/assets/bingyu/original/assets/font5-awesome/svgs/solid/desktop.svg');
  width: 30px;
  height: 30px;
}

.mobile-pc-tip-card h2 {
  margin: 0;
  color: #30373d;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
}

.mobile-pc-tip-card p {
  margin: 10px 0 0;
  color: #626970;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.mobile-pc-tip-close {
  min-height: 46px;
  padding: 11px 16px;
  color: #fff;
  border: 1px solid #a93657;
  border-radius: 6px;
  background: #a93657;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.mobile-pc-tip-close:hover {
  border-color: #922e4a;
  background: #922e4a;
}

.mobile-pc-tip-close:focus-visible {
  outline: 2px solid #a93657;
  outline-offset: 3px;
}

body.mobile-pc-tip-open {
  overflow: hidden;
}

.local-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: var(--local-icon) center / contain no-repeat;
  mask: var(--local-icon) center / contain no-repeat;
  vertical-align: middle;
}

.mobile-menu-button {
  position: relative;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  color: #a43d66;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.18);
}

.mobile-menu-button .local-icon {
  --local-icon: url('/assets/bingyu/original/assets/font5-awesome/svgs/solid/bars.svg');
}

.mobile-menu-button[aria-expanded="true"] .local-icon {
  --local-icon: url('/assets/bingyu/original/assets/font5-awesome/svgs/solid/times.svg');
}

.mobile-tab-bar a {
  --tab-accent: #bd547c;
  --tab-soft: #fbedf2;
  --tab-ink: #963653;
  color: var(--tab-ink);
  font-weight: 500;
  letter-spacing: 0;
}

.mobile-tab-bar a[data-mobile-tab-icon="home"] {
  --tab-accent: #188675;
  --tab-soft: #e8f5f1;
  --tab-ink: #14695b;
}

.mobile-tab-bar a[data-mobile-tab-icon="note"] {
  --tab-accent: #4875c9;
  --tab-soft: #edf2fc;
  --tab-ink: #345a9b;
}

.mobile-tab-bar a[data-mobile-tab-icon="moment"],
.mobile-tab-bar a[data-mobile-tab-icon="star"] {
  --tab-accent: #8661b9;
  --tab-soft: #f3eef9;
  --tab-ink: #68458f;
}

.mobile-tab-bar a[data-mobile-tab-icon="album"],
.mobile-tab-bar a[data-mobile-tab-icon="calendar"] {
  --tab-accent: #ad7725;
  --tab-soft: #faf3e5;
  --tab-ink: #825817;
}

.mobile-tab-bar a[data-mobile-tab-icon="footprint"],
.mobile-tab-bar a[data-mobile-tab-icon="external"] {
  --tab-accent: #2684a2;
  --tab-soft: #eaf5f8;
  --tab-ink: #1c647b;
}

.mobile-tab-bar a[data-mobile-tab-icon="checklist"],
.mobile-tab-bar a[data-mobile-tab-icon="about"] {
  --tab-accent: #558254;
  --tab-soft: #eff5ec;
  --tab-ink: #3e663e;
}

.mobile-tab-bar i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 28px;
  font-style: normal;
  border-radius: 8px;
  color: var(--tab-accent);
  background: transparent;
  transition: transform 0.16s ease, color 0.16s ease;
}

.mobile-tab-bar i svg {
  width: 22px;
  height: 22px;
  display: block;
  vector-effect: non-scaling-stroke;
}

.mobile-tab-bar span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 16px;
}

.mobile-tab-bar a.active {
  font-weight: 650;
}

.mobile-tab-bar a.active i {
  color: var(--tab-ink);
  background: transparent;
  transform: translateY(-2px);
}

.mobile-tab-bar a.active i svg {
  stroke-width: 2.5;
  fill: var(--tab-soft);
}

.mobile-tab-bar a.active span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.mobile-tab-bar a:focus-visible {
  outline: 2px solid var(--tab-accent);
  outline-offset: -2px;
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #26324a;
  background:
    linear-gradient(135deg, rgba(255, 226, 238, 0.76), rgba(238, 247, 255, 0.54)),
    rgba(255, 226, 238, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(255, 143, 171, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(14px) saturate(1.22);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.weather-pill:hover {
  background:
    linear-gradient(135deg, rgba(255, 215, 232, 0.86), rgba(229, 243, 255, 0.64)),
    rgba(255, 226, 238, 0.34);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.weather-pill[hidden],
.weather-metrics[hidden] {
  display: none;
}

.weather-pill [data-weather-icon] {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #26324a;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.weather-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.weather-pill .weather-svg {
  width: 17px;
  height: 17px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.52));
}

.avatar-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.avatar-link img[data-header-avatar] {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(82, 94, 128, 0.18);
}

.avatar-link[data-avatar-frame] {
  isolation: isolate;
}

.avatar-link .avatar-frame-overlay {
  inset: -7px;
  width: calc(100% + 14px) !important;
  height: calc(100% + 14px) !important;
}

.avatar-link.has-private-unread::after {
  content: attr(data-private-unread);
  position: absolute;
  top: 5px;
  right: 4px;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: #fff;
  background: linear-gradient(135deg, #ff416c, #ff8fab);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 65, 108, 0.28);
}

.avatar-frame-overlay {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px) !important;
  height: calc(100% + 16px) !important;
  max-width: none !important;
  object-fit: contain !important;
  pointer-events: none;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 2;
}

.avatar-frame-overlay.avatar-frame-animated {
  filter: drop-shadow(0 10px 18px rgba(77, 90, 120, 0.16));
}

.weather-popover {
  position: fixed;
  top: 82px;
  right: 84px;
  z-index: 60;
  width: min(360px, calc(100vw - 28px));
  padding: 18px;
  background: rgba(245, 248, 255, 0.9);
  color: #172033;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.account-popover {
  position: fixed;
  top: 82px;
  right: 20px;
  z-index: 220;
  width: min(340px, calc(100vw - 28px));
  margin: 0 0 0 auto;
  padding: 0;
  max-height: calc(100dvh - 100px);
  overflow: auto;
  color: #303944;
  background: #fff;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  box-shadow: 0 16px 48px #26323b30;
}

.account-popover::backdrop {
  background: #26323b38;
}

.account-dialog-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 4px 12px 4px 20px;
  border-bottom: 1px solid #e5e9ec;
  background: #fff;
  font-size: 15px;
}

.account-dialog-heading button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.account-dialog-heading button:hover {
  background: #f1f4f5;
}

.account-dialog-heading img {
  width: 18px;
  height: 18px;
  opacity: 0.65;
}

.account-popover .account-card,
.account-popover .account-card.account-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.account-popover[hidden] {
  display: none;
}

#myhkplayer[data-site-player-adapted],
body[data-myhk-collapsed] #myhkTips,
body[data-myhk-collapsed] #myhkKsc,
body[data-myhk-collapsed] #myhkLrc {
  z-index: 138 !important;
}

#myhkplayer[data-site-player-adapted] .switch-player:focus-visible {
  outline: 3px solid #237f87;
  outline-offset: 3px;
}

.music-player {
  position: fixed;
  bottom: 24px;
  z-index: 138;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
  padding: 10px 12px;
  color: #172033;
  background:
    linear-gradient(135deg, rgba(255, 122, 144, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(77, 90, 120, 0.18);
  backdrop-filter: blur(20px);
}

.music-bottom-right {
  right: 24px;
}

.music-bottom-left {
  left: 24px;
}

.music-player button {
  display: grid;
  place-items: center;
  min-width: 0;
  color: inherit;
  background: rgba(15, 23, 42, 0.045);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  font-weight: 950;
}

.music-play {
  width: 42px;
  height: 42px;
  color: #101722;
  background: linear-gradient(135deg, #ffd6df, #87f2df) !important;
}

.music-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.music-info strong,
.music-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-info strong {
  font-size: 13px;
  font-weight: 950;
}

.music-info span,
.music-player time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.music-info input {
  width: 100%;
  height: 4px;
  accent-color: var(--accent-2);
}

.music-actions {
  display: inline-flex;
  gap: 4px;
}

.music-actions button {
  width: 30px;
  height: 30px;
  font-size: 22px;
  line-height: 1;
}

.music-player.has-error {
  border-color: rgba(255, 122, 144, 0.48);
}

.account-card {
  padding: 18px;
  color: #eef4ff;
  background: rgba(18, 25, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.account-user {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.account-user > img,
.account-user .framed-avatar,
.account-user .framed-avatar > img:first-child {
  width: 54px;
  height: 54px;
}

.account-user > img,
.account-user .framed-avatar > img:first-child {
  object-fit: cover;
  border-radius: 18px;
}

.account-user .framed-avatar .avatar-frame-overlay {
  inset: -10px;
  width: calc(100% + 20px) !important;
  height: calc(100% + 20px) !important;
}

.account-user strong,
.account-form strong {
  display: block;
  font-size: 18px;
}

.account-user span,
.account-form p,
.account-form span {
  color: #aab4c5;
}

.account-mini-growth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  color: #e9eef8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
}

.account-mini-growth b {
  color: #ffd166;
}

.account-award {
  margin: 14px 0 0;
  padding: 10px 12px;
  color: #111827;
  background: #ffd166;
  border-radius: 14px;
  font-weight: 900;
}

.account-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

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

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

.account-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
}

.account-mode-tabs button {
  min-height: 34px;
  color: #aab4c5;
  background: transparent;
  border: 0;
  border-radius: 11px;
  font-weight: 900;
  cursor: pointer;
}

.account-mode-tabs button.active {
  color: #101827;
  background: #bce7de;
}

.account-form p {
  margin: 0;
  line-height: 1.7;
}

.account-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: #172033;
  background: rgba(244, 248, 255, 0.9);
  border: 1px solid rgba(94, 109, 132, 0.12);
  border-radius: 14px;
  outline: 0;
}

.account-form input::placeholder {
  color: rgba(91, 103, 125, 0.68);
  opacity: 1;
}

.account-form input:focus {
  border-color: rgba(255, 127, 157, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 127, 157, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.account-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.account-code-row input[name="emailCode"] {
  color: #0f172a;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.account-code-row input[name="emailCode"]::placeholder {
  color: rgba(91, 103, 125, 0.72);
  letter-spacing: 0;
}

.account-code-row .button {
  min-width: 108px;
  min-height: 44px;
  justify-content: center;
  white-space: nowrap;
}

.account-code-row .button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.account-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 10px 0 42px;
}

.account-form-wide {
  width: min(100%, 560px);
  margin: 0 auto;
}

.account-profile-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 20px;
  width: 100%;
  padding: clamp(18px, 2.5vw, 28px);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.96), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(204, 238, 255, 0.72), transparent 30%),
    linear-gradient(145deg, rgba(255, 250, 253, 0.9), rgba(241, 250, 255, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(70, 84, 112, 0.16);
  backdrop-filter: blur(18px);
}

.account-edit-details {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 255, 251, 0.74)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 122, 144, 0.16);
  border-radius: 18px;
}

.account-edit-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  color: #344054;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.account-edit-details > summary::-webkit-details-marker {
  display: none;
}

.account-edit-details > summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #ff7a90;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 122, 144, 0.2);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 122, 144, 0.12);
}

.account-edit-details[open] > summary::after {
  content: "-";
}

.account-edit-details small {
  margin-left: auto;
  color: #8490a3;
  font-size: 12px;
  font-weight: 850;
}

.account-private-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 16px;
  color: #344054;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 144, 0.15), transparent 32%),
    radial-gradient(circle at 90% 4%, rgba(77, 214, 193, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 255, 251, 0.72));
  border: 1px solid rgba(255, 122, 144, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.account-private-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-private-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-private-head strong {
  color: #243047;
  font-size: 18px;
  font-weight: 950;
}

.account-private-head span,
.account-private-form-foot > span {
  color: #8490a3;
  font-size: 12px;
  font-weight: 850;
}

.account-private-dot {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: #fff;
  background: linear-gradient(135deg, #ff416c, #ff8fab);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 65, 108, 0.22);
  font-size: 12px;
  font-weight: 950;
}

.account-private-threads {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.account-private-threads button,
.account-private-empty-line {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  min-width: 148px;
  max-width: 190px;
  min-height: 52px;
  padding: 8px 11px;
  color: #59657a;
  text-align: left;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 14px;
  cursor: pointer;
}

.account-private-threads button {
  position: relative;
}

.account-private-threads button.active {
  color: #243047;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 122, 144, 0.42);
  box-shadow: 0 12px 26px rgba(255, 122, 144, 0.14);
}

.account-private-threads button i {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ff416c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 65, 108, 0.12);
}

.account-private-threads span {
  overflow: hidden;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-private-threads small {
  overflow: hidden;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-private-empty-line {
  align-items: center;
  color: #8490a3;
  cursor: default;
}

.account-private-dialogue {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 128px;
  max-height: 340px;
  overflow: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 16px;
  scrollbar-width: thin;
}

.account-private-empty {
  display: grid;
  place-items: center;
  min-height: 96px;
  color: #98a2b3;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.account-private-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  max-width: 88%;
}

.account-private-message.is-self {
  grid-template-columns: minmax(0, 1fr) 34px;
  justify-self: end;
}

.account-private-message.is-self .account-private-avatar {
  grid-column: 2;
  grid-row: 1;
}

.account-private-message.is-self .account-private-bubble {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, rgba(255, 247, 251, 0.98), rgba(236, 252, 248, 0.9));
  border-color: rgba(255, 122, 144, 0.22);
}

.account-private-message.is-unread .account-private-bubble {
  box-shadow: 0 0 0 2px rgba(255, 65, 108, 0.08), 0 14px 30px rgba(16, 24, 40, 0.06);
}

.account-private-avatar,
.account-private-avatar .framed-avatar,
.account-private-avatar .framed-avatar > img:first-child,
.account-private-anon-avatar {
  width: 34px;
  height: 34px;
}

.account-private-avatar .framed-avatar > img:first-child {
  border-radius: 12px;
}

.account-private-avatar .framed-avatar .avatar-frame-overlay {
  inset: -7px;
  width: calc(100% + 14px) !important;
  height: calc(100% + 14px) !important;
}

.account-private-anon-avatar {
  display: grid;
  place-items: center;
  background: #e4e9ec;
  border-radius: 50%;
}

.account-private-anon-avatar img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.account-private-bubble {
  min-width: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
}

.account-private-bubble header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.account-private-bubble strong {
  overflow: hidden;
  color: #344054;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-private-bubble time {
  flex: 0 0 auto;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 850;
}

.account-private-bubble p {
  margin: 0;
  color: #526077;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.account-private-bubble p > span {
  margin-right: 5px;
}

.account-private-form {
  display: grid;
  gap: 10px;
}

.account-private-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.account-private-emoji-row button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
}

.account-private-emoji-row button.active {
  background: rgba(255, 247, 251, 0.96);
  border-color: rgba(255, 122, 144, 0.48);
  box-shadow: 0 10px 22px rgba(255, 122, 144, 0.14);
}

.account-private-form textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px 13px;
  color: #101828;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 15px;
  outline: 0;
}

.account-private-form-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.account-private-form-foot > span {
  flex: 1 1 150px;
}

.account-private-form-foot .button {
  margin-left: auto;
}

.account-private-anonymous {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.account-private-anonymous input {
  width: 16px;
  height: 16px;
  accent-color: #ff7a90;
}

.account-edit-panel {
  display: grid;
  gap: 16px;
  padding: 0 16px 16px;
}

.account-avatar-field {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(242, 248, 255, 0.74));
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
}

.account-avatar-preview,
.account-avatar-preview .framed-avatar,
.account-avatar-preview .framed-avatar > img:first-child {
  width: 82px;
  height: 82px;
}

.account-avatar-preview .framed-avatar > img:first-child {
  border-radius: 24px;
}

.account-avatar-preview .framed-avatar .avatar-frame-overlay {
  inset: -13px;
  width: calc(100% + 26px) !important;
  height: calc(100% + 26px) !important;
}

.account-frame-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 246, 250, 0.9), rgba(237, 253, 248, 0.78));
  border: 1px solid rgba(255, 122, 144, 0.16);
  border-radius: 18px;
}

.account-frame-picker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #344054;
}

.account-frame-picker-head strong {
  font-size: 17px;
}

.account-frame-picker-head span {
  color: #8490a3;
  font-size: 13px;
  font-weight: 800;
}

.account-frame-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  gap: 10px;
}

.account-frame-option {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 118px;
  padding: 12px 8px 10px;
  color: #59657a;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.account-frame-option:hover,
.account-frame-option.active {
  transform: translateY(-2px);
  color: #3f4a61;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 122, 144, 0.5);
  box-shadow: 0 14px 30px rgba(255, 122, 144, 0.16);
}

.account-frame-option input {
  position: absolute;
  inset: 10px auto auto 10px;
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.account-frame-option .framed-avatar,
.account-frame-option .framed-avatar > img:first-child {
  width: 54px;
  height: 54px;
}

.account-frame-option .framed-avatar > img:first-child {
  border-radius: 18px;
}

.account-frame-option .framed-avatar .avatar-frame-overlay {
  inset: -10px;
  width: calc(100% + 20px) !important;
  height: calc(100% + 20px) !important;
}

.account-profile-verification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  color: #58647a;
  background: linear-gradient(135deg, rgba(255, 244, 248, 0.88), rgba(236, 252, 246, 0.72));
  border: 1px solid rgba(255, 122, 144, 0.2);
  border-radius: 18px;
}

.account-profile-verification[hidden] {
  display: none;
}

.account-profile-verification strong,
.account-profile-verification span {
  display: block;
}

.account-profile-verification strong {
  color: #344054;
  font-size: 15px;
}

.account-profile-verification span {
  margin-top: 3px;
  color: #8490a3;
  font-size: 12px;
  font-weight: 800;
}

.account-verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.account-verification-row input {
  min-height: 44px;
  padding: 0 13px;
  color: #101828;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 14px;
  outline: 0;
}

.account-growth {
  display: grid;
  gap: 12px;
  padding: 16px;
  color: #344054;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 122, 144, 0.18), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(122, 208, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 251, 253, 0.96), rgba(238, 255, 251, 0.86));
  border: 1px solid rgba(255, 122, 144, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.06);
}

.account-growth-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-growth-avatar,
.account-growth-avatar .framed-avatar,
.account-growth-avatar .framed-avatar > img:first-child {
  width: 58px;
  height: 58px;
}

.account-growth-avatar .framed-avatar > img:first-child {
  border-radius: 18px;
}

.account-growth-avatar .framed-avatar .avatar-frame-overlay {
  inset: -10px;
  width: calc(100% + 20px) !important;
  height: calc(100% + 20px) !important;
}

.account-growth-level {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 24px;
  margin-right: 6px;
  padding: 0 9px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a90, #ffb86b);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 122, 144, 0.22);
  font-size: 12px;
  font-weight: 950;
}

.account-growth-main strong,
.account-growth-main span {
  display: block;
}

.account-growth-main strong {
  color: #243047;
  font-size: 18px;
}

.account-growth-main span {
  margin-top: 2px;
  color: #7a879b;
  font-size: 12px;
  font-weight: 900;
}

.account-growth-bar {
  height: 10px;
  overflow: hidden;
  background: rgba(16, 24, 40, 0.08);
  border-radius: 999px;
}

.account-growth-bar i {
  display: block;
  width: 0;
  min-width: 10px;
  max-width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #9ee7db, #ff9cb0, #ffd166);
  border-radius: inherit;
  transition: width 0.45s ease;
}

.account-growth-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.account-growth-stats span {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 14px;
}

.account-growth-stats b {
  color: #273349;
  font-size: 18px;
  line-height: 1;
}

.account-growth-stats small {
  color: #8490a3;
  font-size: 12px;
  font-weight: 900;
}

.account-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.account-profile-head .framed-avatar > img:first-child {
  width: 68px;
  height: 68px;
  border-radius: 22px;
}

.account-profile-head strong {
  display: block;
  font-size: 22px;
}

.account-profile-head span,
.account-location-status span,
.account-page-note {
  color: #667085;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-profile-grid label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 850;
}

.account-profile-grid input,
.account-profile-grid select {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  color: #101828;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 24, 40, 0.14);
  border-radius: 14px;
  outline: 0;
}

.account-profile-grid input:focus,
.account-profile-grid select:focus {
  border-color: rgba(43, 127, 255, 0.46);
  box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.12);
}

.account-location-status {
  grid-column: 1 / -1;
}

.account-location-field {
  position: relative;
}

.account-location-control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.account-location-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #176b87;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 107, 135, 0.22);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.account-location-button:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 107, 135, 0.42);
  box-shadow: 0 10px 22px rgba(23, 107, 135, 0.12);
}

.account-location-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.account-location-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(23, 107, 135, 0.18);
  border-top-color: #176b87;
  border-radius: 50%;
  animation: account-location-spin 0.8s linear infinite;
}

.account-location-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 52px;
  z-index: 30;
  display: grid;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(16, 24, 40, 0.16);
  backdrop-filter: blur(16px);
}

.account-location-suggestions[hidden] {
  display: none;
}

.account-location-suggestions button {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  color: #101828;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.account-location-suggestions button:hover {
  background: rgba(43, 127, 255, 0.08);
}

.account-location-suggestions strong {
  font-size: 14px;
}

.account-location-suggestions span {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes account-location-spin {
  to {
    transform: rotate(360deg);
  }
}

.account-location-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(188, 231, 222, 0.36);
  border: 1px solid rgba(44, 172, 151, 0.18);
  border-radius: 16px;
}

.account-profile-card .account-actions {
  flex-wrap: wrap;
}

.account-page-note {
  min-height: 20px;
  font-weight: 800;
}

.weather-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.weather-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: #5d6678;
  border-radius: 18px;
  font-weight: 900;
}

.weather-icon .weather-svg {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.weather-top p,
.weather-note {
  margin: 4px 0 0;
  color: #667085;
}

.weather-top b {
  font-size: 34px;
}

.weather-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.weather-metrics span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 16px;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 78px;
  overflow-wrap: anywhere;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

body[data-route-state="leaving"] .app-shell {
  pointer-events: none;
}

body[data-page-transition="soft-fade"][data-route-state="leaving"] .app-shell {
  opacity: 0.18;
  transform: scale(0.995);
}

body[data-page-transition="lift"][data-route-state="leaving"] .app-shell {
  opacity: 0.22;
  transform: translateY(10px);
}

body[data-page-transition="slide"][data-route-state="leaving"] .app-shell {
  opacity: 0.2;
  transform: translateX(-12px);
}

body[data-route-state="entering"] .app-shell {
  animation: routeSoftFade 0.32s ease both;
}

body[data-page-transition="lift"][data-route-state="entering"] .app-shell {
  animation-name: routeLiftIn;
}

body[data-page-transition="slide"][data-route-state="entering"] .app-shell {
  animation-name: routeSlideIn;
}

body.site-gated {
  overflow: hidden;
}

body.site-gated .site-header,
body.site-gated .site-footer,
body.site-gated .account-popover,
body.site-gated .weather-popover {
  visibility: hidden;
  pointer-events: none;
}

body.site-gated .app-shell {
  z-index: 5000;
  width: 100%;
  min-height: 100svh;
  margin: 0;
}

body.home-view .app-shell {
  width: 100%;
  margin-top: 0;
}

.life-hero {
  position: relative;
  min-height: max(var(--hero-height-pc, 96vh), calc(100svh - var(--site-header-height)));
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 18px;
  overflow: hidden;
  width: calc(100vw - 32px);
  margin-left: calc(50% - 50vw + 16px);
  padding: 40px clamp(34px, 6vw, 124px) 84px;
  border: 1px solid var(--line);
  border-radius: 0 0 34px 34px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

body.home-view .life-hero {
  min-height: max(var(--hero-height-pc, 96vh), 100svh);
  width: 100%;
  margin-top: calc(-1 * var(--site-header-height));
  margin-left: 0;
  padding-top: calc(var(--site-header-height) + 40px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.life-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transform: translateZ(0) scale(1.1);
  transform-origin: center;
  will-change: transform;
}

.life-hero[data-hero-carousel]::before {
  opacity: 0;
}

.life-hero[data-hero-video]::before {
  opacity: 1;
}

.hero-bg-video {
  position: absolute;
  inset: -2px;
  z-index: 0;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateZ(0) scale(1.1);
  filter: saturate(1.08) brightness(0.99) contrast(1.06);
  transition: opacity 0.9s ease;
  will-change: opacity, transform;
}

.hero-bg-video.is-ready {
  opacity: 1;
}

.hero-carousel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-carousel-bg span {
  position: absolute;
  inset: -2px;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateZ(0) scale(1.14);
  transform-origin: center;
  transition: opacity 1.2s ease, transform var(--hero-carousel-duration, 7s) ease;
  will-change: opacity, transform;
}

.hero-carousel-bg span.active {
  opacity: 1;
  transform: translateZ(0) scale(1.1);
}

.life-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 12, 18, 0.64), rgba(9, 12, 18, 0.24) 38%, rgba(9, 12, 18, 0.02) 68%, transparent),
    linear-gradient(180deg, rgba(9, 12, 18, 0), rgba(9, 12, 18, 0.36));
}

.hero-glass {
  position: relative;
  z-index: 2;
  justify-self: center;
  align-self: center;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  height: clamp(28px, 3vw, 54px);
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-wave path,
.hero-wave use {
  transform-box: fill-box;
  transform-origin: center bottom;
  will-change: transform;
}

.hero-wave .wave-base {
  fill: var(--wave-fill);
}

.hero-wave .wave-layer {
  fill: var(--wave-layer);
}

.hero-wave .wave-mist {
  fill: var(--wave-mist);
}

.wave-fluid .wave-mist {
  fill: rgba(255, 255, 255, 0.16);
}

.wave-fluid .wave-layer {
  fill: color-mix(in srgb, var(--wave-fill) 70%, transparent);
}

.wave-fluid .wave-layer-soft {
  fill: var(--wave-layer-soft);
}

.wave-fluid .wave-base {
  fill: var(--wave-fill);
}

.wave-fluid .parallax > use {
  animation: waveMove calc(var(--wave-speed, 6s) * 1.9) cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-fluid .parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: calc(var(--wave-speed, 6s) * 0.85);
}

.wave-fluid .parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: calc(var(--wave-speed, 6s) * 1.15);
}

.wave-fluid .parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: calc(var(--wave-speed, 6s) * 1.45);
}

.wave-fluid .parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: calc(var(--wave-speed, 6s) * 1.75);
}

.wave-layered path:nth-child(1),
.wave-ribbon path:nth-child(1) {
  animation: waveSway calc(var(--wave-speed, 6s) * 0.72) ease-in-out infinite;
}

.wave-layered path:nth-child(2),
.wave-ribbon path:nth-child(2) {
  animation: waveSway calc(var(--wave-speed, 6s) * 0.95) ease-in-out infinite reverse;
}

.wave-layered path:nth-child(3),
.wave-soft .wave-base,
.wave-slope path:nth-child(2) {
  animation: waveLift calc(var(--wave-speed, 6s) * 0.82) ease-in-out infinite;
}

.wave-slope path:nth-child(1) {
  animation: waveLift calc(var(--wave-speed, 6s) * 0.75) ease-in-out infinite reverse;
}

.hero-wave::after {
  display: none;
}

.hero-scroll-cue {
  display: none;
}

.hero-glass {
  max-width: min(760px, calc(100vw - 44px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-glass h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 860;
  line-height: 1;
  letter-spacing: 0;
}

.hero-glass p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.9;
}

.hero-glass .hero-typewriter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.8em;
  max-width: min(760px, 100%);
  min-height: 3.25em;
  margin: 2px 0 0;
  padding: 10px 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  font-weight: 820;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(14, 20, 27, 0.54);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px) saturate(1.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-glass .hero-typewriter::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 214, 223, 0.14), transparent);
  transform: translateX(-120%);
  animation: typewriter-sheen 4.8s ease-in-out infinite;
}

.hero-typewriter [data-typewriter-output] {
  position: relative;
  z-index: 1;
}

.typewriter-caret {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 4px;
  border-radius: 999px;
  background: #ffd166;
  box-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
  animation: typewriter-caret 0.86s steps(1) infinite;
}

.hero-typewriter.is-complete .typewriter-caret {
  opacity: 0.55;
}

@keyframes typewriter-caret {
  50% {
    opacity: 0;
  }
}

@keyframes typewriter-sheen {
  0%,
  48% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

.hero-status,
.feed-meta,
.post-tags,
.footprint-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-status {
  margin: 24px 0 0;
  justify-content: center;
}

.post-tags {
  margin: 10px 0 12px;
}

.hero-status span,
.feed-meta span,
.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--surface-card-hover);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
}

.feed-meta span,
.tag {
  color: var(--muted);
  background: rgba(15, 23, 42, 0.045);
}

.status-pill .weather-svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--control-height);
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  box-shadow: 0 8px 22px rgba(77, 90, 120, 0.08);
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button.primary {
  color: #111827;
  background: linear-gradient(135deg, #fff, #b9fff0);
  border-color: rgba(77, 214, 193, 0.34);
}

.button.full {
  width: 100%;
}

.button:hover {
  border-color: rgba(255, 122, 144, 0.8);
  transform: translateY(-2px);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: var(--control-height);
  height: var(--control-height);
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-button:hover {
  border-color: rgba(77, 214, 193, 0.62);
  background: #ffffff;
  transform: translateY(-1px);
}

.section-band {
  position: relative;
  width: min(1840px, calc(100% - 56px));
  margin: var(--space-2xl) auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.interaction-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.interaction-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.interaction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}

.interaction-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.interaction-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 144, 0.72);
}

.interaction-button.is-liked {
  color: #111827;
  background: linear-gradient(135deg, #fff, #b9fff0);
}

.interaction-button.has-error {
  border-color: rgba(255, 122, 144, 0.85);
}

.interaction-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.home-canvas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 380px);
  gap: var(--space-xl);
  align-items: start;
  width: min(1840px, calc(100% - 56px));
  margin: var(--space-2xl) auto 0;
}

.home-main {
  display: grid;
  gap: var(--space-lg);
  min-width: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
  min-width: 0;
}

.interest-panel,
.bright-card,
.home-module,
.rail-card,
.feed-card,
.post-tile,
.album-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.interest-panel {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: var(--space-xl);
}

.module-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  min-width: 0;
  color: var(--text-strong);
  font-weight: 950;
  line-height: 1.18;
}

.module-title span {
  min-width: 0;
}

.module-title-icon,
.bingyu-inline-icon {
  flex: 0 0 auto;
  width: var(--icon-md);
  height: var(--icon-md);
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

h3.module-title .module-title-icon {
  width: calc(var(--icon-md) - 4px);
  height: calc(var(--icon-md) - 4px);
}

.interest-panel-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: clamp(58px, 7vw, 92px);
  overflow: hidden;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.interest-panel-wave svg {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 124%;
  height: 100%;
  transform: translateX(-50%);
}

.interest-panel-wave path {
  transform-box: fill-box;
  transform-origin: center bottom;
  will-change: transform;
}

.interest-wave-mist {
  fill: rgba(255, 255, 255, 0.1);
  animation: interestWaveDrift calc(var(--wave-speed, 6s) * 1.2) ease-in-out infinite;
}

.interest-wave-layer {
  fill: rgba(70, 96, 126, 0.54);
  animation: interestWaveDrift calc(var(--wave-speed, 6s) * 1.55) ease-in-out infinite reverse;
}

.interest-wave-base {
  fill: rgba(32, 44, 61, 0.82);
  animation: interestWaveLift calc(var(--wave-speed, 6s) * 1.85) ease-in-out infinite;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 42px 0 16px;
}

.section-head.compact {
  margin: 0 0 16px;
}

.section-head h2,
.page-head h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0;
}

.interest-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  max-width: 380px;
}

.interest-copy h2 {
  margin: 0 0 10px;
  font-size: 42px;
}

.interest-copy p:not(.eyebrow) {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.8;
}

.tilted-marquee {
  position: absolute;
  top: 228px;
  left: -104px;
  width: 124%;
  transform: rotate(-8deg);
}

.marquee-row {
  overflow: hidden;
  margin: 8px 0;
}

.marquee-row div {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: marquee var(--interest-flow-duration, 28s) linear infinite;
}

.marquee-row.reverse div {
  animation-direction: reverse;
  animation-duration: var(--interest-flow-reverse-duration, 34s);
}

.marquee-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  height: 44px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.interest-chip-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--chip-accent, #ff77b7);
  background: transparent;
  border: 0;
}

.interest-chip-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interest-chip-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.interest-chip-label {
  min-width: 0;
  white-space: nowrap;
}

.marquee-chip[data-interest-kind="book"] { --chip-accent: #7dd3fc; }
.marquee-chip[data-interest-kind="box"] { --chip-accent: #60a5fa; }
.marquee-chip[data-interest-kind="camera"] { --chip-accent: #f9a8d4; }
.marquee-chip[data-interest-kind="code"] { --chip-accent: #a7f3d0; }
.marquee-chip[data-interest-kind="compass"] { --chip-accent: #fbbf24; }
.marquee-chip[data-interest-kind="heart"] { --chip-accent: #fb7185; }
.marquee-chip[data-interest-kind="music"] { --chip-accent: #c084fc; }
.marquee-chip[data-interest-kind="paw"] { --chip-accent: #fca5a5; }
.marquee-chip[data-interest-kind="pen"] { --chip-accent: #fde68a; }
.marquee-chip[data-interest-kind="radio"] { --chip-accent: #34d399; }
.marquee-chip[data-interest-kind="sparkles"] { --chip-accent: #f472b6; }

.bright-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 34px;
  background-image: var(--bright-image);
  background-position: center;
  background-size: cover;
  transition: background-image 0.6s ease, transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.bright-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transform: scale(1.01);
}

.bright-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.bright-card-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.bright-card-badge span {
  font-size: 12px;
  font-weight: 950;
}

.bright-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.02), rgba(10, 14, 22, 0.58)),
    linear-gradient(90deg, rgba(10, 14, 22, 0.48), rgba(10, 14, 22, 0.02));
}

.bright-card div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  max-width: 420px;
}

.bright-card .bright-card-badge {
  position: absolute;
  display: inline-flex;
  gap: 7px;
  max-width: none;
  z-index: 3;
}

.bright-card h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.1;
}

.bright-card p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  line-height: 1.7;
}

.home-module {
  overflow: hidden;
  padding: 24px;
}

.home-module-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.home-module-head h2 {
  margin: 0;
  font-size: 30px;
}

.album-flow-window,
.message-flow-window {
  overflow: hidden;
  margin-inline: -24px;
  padding-inline: 24px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.album-cover-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-right: 14px;
  animation: albumFlow var(--album-flow-duration, 14s) linear infinite;
}

.album-cover-track:not([data-flow-ready]),
.message-flow-track:not([data-flow-ready]) {
  animation-play-state: paused;
}

.album-cover-chip {
  position: relative;
  overflow: hidden;
  flex: 0 0 176px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.album-cover-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-cover-chip span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  overflow: hidden;
  color: #fff;
  font-weight: 900;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

.album-cover-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.64));
}

.album-cover-chip:hover img {
  transform: scale(1.06);
}

.home-footprints {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.home-footprints .home-module-head {
  display: grid;
  align-content: center;
  margin: 0;
}

.home-footprint-map {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 62% 56%, rgba(77, 214, 193, 0.2), transparent 18rem),
    #101923;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.china-map-shape {
  position: absolute;
  inset: 13% 9% 8% 15%;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: polygon(18% 24%, 31% 13%, 49% 17%, 64% 11%, 79% 24%, 76% 40%, 88% 53%, 75% 70%, 61% 66%, 50% 82%, 35% 73%, 23% 80%, 13% 65%, 20% 49%, 10% 38%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.footprint-mode-grid .china-map-shape,
.footprint-mode-clean .china-map-shape {
  display: none;
}

.home-footprint-map.footprint-mode-clean,
.map-mini.footprint-mode-clean,
.footprint-map.footprint-mode-clean {
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 122, 144, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    #111923;
}

.home-footprint-map-amap {
  background: #0c141d;
}

.home-footprint-map-amap .china-map-shape,
.home-footprint-map-amap > .home-footprint-marker {
  display: none;
}

.home-footprint-marker,
.map-mini-marker {
  --marker-bg: linear-gradient(135deg, #ff9ab8, #ff5f8f);
  --marker-glow: rgba(255, 112, 150, 0.18);
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  text-decoration: none;
  background: var(--marker-bg);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    0 0 0 6px var(--marker-glow);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-footprint-marker::after,
.map-mini-marker::after {
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: inherit;
}

.home-footprint-marker:hover,
.map-mini-marker:hover {
  transform: translate(-50%, calc(-50% - 1px)) scale(1.04);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.28),
    0 0 0 8px var(--marker-glow);
}

.home-footprint-marker.album,
.map-mini-marker.album {
  --marker-bg: linear-gradient(135deg, #b9a5ff, #7c5cff);
  --marker-glow: rgba(124, 92, 255, 0.18);
}

.home-footprint-marker.message,
.map-mini-marker.message {
  --marker-bg: linear-gradient(135deg, #82c8ff, #3b82f6);
  --marker-glow: rgba(59, 130, 246, 0.18);
}

.home-footprint-marker.moment,
.map-mini-marker.moment {
  --marker-bg: linear-gradient(135deg, #75e7cc, #21b89a);
  --marker-glow: rgba(33, 184, 154, 0.18);
}

.home-footprint-marker i,
.map-mini-marker i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
}

.home-footprint-marker svg,
.map-mini-marker svg {
  width: 15px;
  height: 15px;
}

.home-footprint-marker b,
.map-mini-marker b {
  position: absolute;
  top: -6px;
  right: -7px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: #172033;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.2);
}

.home-footprint-marker em,
.map-mini-marker em {
  position: absolute;
  top: 33px;
  left: 50%;
  max-width: 96px;
  padding: 3px 7px;
  overflow: hidden;
  color: #f6f8fb;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  transform: translateX(-50%);
}

.map-mini-marker {
  width: 24px;
  height: 24px;
}

.map-mini-marker i,
.map-mini-marker svg {
  width: 13px;
  height: 13px;
}

.map-mini-marker em {
  top: 29px;
  max-width: 76px;
  font-size: 10px;
}

.message-flow-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding-right: 12px;
  animation: messageFlow var(--message-flow-duration, 42s) linear infinite;
}

.message-chip {
  flex: 0 0 290px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 5px 9px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.message-chip-icon,
.message-chip-avatar {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.message-chip strong {
  color: #fff;
}

.message-chip span {
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  margin-top: 20px;
}

.life-feed,
.profile-rail,
.feed-stack {
  display: grid;
  align-content: start;
  gap: 16px;
}

.life-feed {
  gap: 20px;
}

.hover-card {
  position: relative;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.hover-card:hover {
  border-color: var(--hover-border, #ff7a90);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px) translateX(2px);
}

.hover-card:hover h3,
.hover-card:hover h3 a,
.hover-card:hover h2,
.hover-card:hover .home-module-head h2,
.hover-card:hover strong,
.hover-card:hover a,
.feed-card.hover-card:hover h3,
.post-tile.hover-card:hover h3,
.album-card.hover-card:hover h3,
.moment-card.hover-card:hover h3 {
  color: var(--hover-title, #ff8fab) !important;
}

.hover-card:hover .card-summary,
.hover-card:hover .feed-text,
.hover-card:hover .feed-content p,
.hover-card:hover p,
.feed-card.hover-card:hover .feed-text,
.feed-card.hover-card:hover .card-summary,
.post-tile.hover-card:hover p,
.album-card.hover-card:hover p {
  color: var(--hover-text, #ffd6df) !important;
}

.feed-card {
  padding: 22px;
}

.feed-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-author img,
.feed-author .framed-avatar,
.feed-author .framed-avatar > img:first-child {
  width: 48px;
  height: 48px;
}

.feed-author .framed-avatar > img:first-child,
.feed-author > img {
  object-fit: cover;
  border-radius: 50%;
}

.feed-author .framed-avatar .avatar-frame-overlay {
  inset: -9px;
  width: calc(100% + 18px) !important;
  height: calc(100% + 18px) !important;
}

.feed-author span,
.meta,
.empty {
  color: var(--muted);
}

.feed-text,
.feed-content p,
.rail-card p,
.page-head p {
  color: var(--text-soft);
  line-height: 1.8;
  transition: color 0.22s ease;
}

.feed-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(130px, 16vw, 190px);
  gap: 9px;
  margin: 16px 0;
}

.feed-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.article-feed {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
}

.feed-cover img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.dynamic-wall {
  display: grid;
  gap: 18px;
}

.dynamic-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dynamic-wall-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 330px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 251, 0.9)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 183, 205, 0.38);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(33, 40, 58, 0.1);
  cursor: pointer;
}

.dynamic-wall-card:focus-visible {
  outline: 3px solid rgba(255, 143, 171, 0.42);
  outline-offset: 4px;
}

.dynamic-wall-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 241, 247, 0.82);
}

.dynamic-wall-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.dynamic-wall-card:hover .dynamic-wall-cover img {
  transform: scale(1.04);
}

/* Unillustrated entries keep a real type icon, without a decorative color tile. */
.dynamic-wall-cover.is-empty {
  display: grid;
  place-items: center;
  background: transparent;
  color: #8262ab;
}

.dynamic-wall-card.is-post .dynamic-wall-cover.is-empty {
  color: #4875c9;
}

.dynamic-wall-card.is-album .dynamic-wall-cover.is-empty {
  color: #188675;
}

.dynamic-wall-cover-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: inherit;
  background: transparent;
}

.dynamic-wall-cover-mark img,
.dynamic-wall-cover-mark .local-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dynamic-wall-card:hover h3 {
  color: var(--accent);
}

.dynamic-wall-type {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 0 9px;
  color: #49566d;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 860;
  box-shadow: 0 7px 20px rgba(30, 40, 62, 0.12);
  backdrop-filter: blur(10px);
}

.dynamic-wall-type > img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  opacity: 0.64;
}

.dynamic-wall-type.is-post {
  color: #446278;
  background: rgba(236, 249, 255, 0.9);
}

.dynamic-wall-type.is-album {
  color: #46715f;
  background: rgba(239, 255, 248, 0.9);
}

.dynamic-wall-type.is-moment {
  color: #745568;
  background: rgba(255, 244, 249, 0.9);
}

.dynamic-wall-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.dynamic-wall-date {
  margin: 0;
  color: #9a8b94;
  font-size: 13px;
  font-weight: 820;
}

.dynamic-wall-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0;
  color: #172033;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dynamic-wall-summary {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.2em;
  margin: 0;
  color: #7d8798;
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dynamic-wall-meta {
  align-self: end;
  gap: 8px 13px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(91, 102, 124, 0.1);
}

.dynamic-wall-meta .dynamic-wall-meta-item {
  min-height: 0;
  padding: 0;
  gap: 5px;
  overflow: visible;
  color: #727b8c;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.dynamic-wall-meta .dynamic-wall-meta-item::before {
  display: none;
}

.dynamic-wall-meta-icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  object-fit: contain;
  opacity: 0.52;
}

.dynamic-wall-meta-item.is-weather .dynamic-wall-meta-icon {
  opacity: 0.66;
}

.dynamic-wall-meta-item.is-likes .dynamic-wall-meta-icon {
  opacity: 0.58;
}

.dynamic-wall-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  margin: 2px auto 0;
  padding: 5px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(91, 102, 124, 0.12);
  border-radius: 12px;
  box-shadow:
    0 10px 28px rgba(68, 78, 102, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.dynamic-wall-page-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #526078;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dynamic-wall-page-button img {
  width: 13px;
  height: 13px;
  object-fit: contain;
  opacity: 0.58;
}

.dynamic-wall-page-button:hover:not(:disabled) {
  color: #7c4058;
  background: rgba(255, 239, 246, 0.88);
  transform: translateY(-1px);
}

.dynamic-wall-page-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 28px;
  color: #657086;
  border-right: 1px solid rgba(91, 102, 124, 0.1);
  border-left: 1px solid rgba(91, 102, 124, 0.1);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.dynamic-wall-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.26;
}

.feed-type {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.feed-content h3,
.feed-card h3,
.post-tile h3,
.album-card h3,
.rail-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rail-card {
  padding: 18px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 224px;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(26, 34, 47, 0.88);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%);
  transform: translateX(-60%);
  transition: transform 0.6s ease;
}

.profile-card:hover::before {
  transform: translateX(60%);
}

.profile-card[data-profile-hover="off"]::before {
  display: none;
}

.profile-card-face {
  grid-area: 1 / 1;
  display: grid;
  gap: 16px;
  min-height: 224px;
  padding: 20px;
  transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
}

.profile-card-front {
  grid-template-rows: auto minmax(150px, 1fr) auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.profile-card-back {
  align-content: stretch;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
}

.profile-card:hover .profile-card-front {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-12px) scale(0.96);
}

.profile-card:hover .profile-card-back {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.profile-card[data-profile-hover="off"] .profile-card-back {
  display: none;
}

.profile-card[data-profile-hover="off"]:hover .profile-card-front {
  opacity: 1;
  filter: none;
  transform: translateY(0) scale(1);
}

.profile-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
}

.profile-card-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.profile-card-head .profile-run-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  min-height: 22px;
  padding: 0 8px;
  color: #ffe9f1;
  background: linear-gradient(135deg, rgba(255, 122, 144, 0.28), rgba(77, 214, 193, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.profile-card-head .profile-run-badge b {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.framed-avatar {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  isolation: isolate;
}

.framed-avatar > img:first-child,
.profile-card-head > img {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.framed-avatar .avatar-frame-overlay {
  inset: -12px;
  width: calc(100% + 24px) !important;
  height: calc(100% + 24px) !important;
}

.profile-card-head span {
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 900;
}

.profile-card-head small {
  display: block;
  margin-top: 4px;
  color: #aeb8c7;
  font-weight: 850;
}

.profile-location-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 22px;
  margin-top: 5px;
  padding: 2px 8px;
  color: rgba(82, 96, 119, 0.9) !important;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 143, 171, 0.24);
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(255, 143, 171, 0.11);
}

.profile-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.profile-meta-stack {
  display: grid;
  gap: 6px;
  max-width: 244px;
  margin-top: 8px;
}

.profile-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.profile-card-head .profile-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.profile-card-scene {
  position: relative;
  align-self: center;
  overflow: visible;
  isolation: isolate;
  min-height: 154px;
  margin: -6px 0 -2px;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.profile-card-scene::before {
  content: "";
  position: absolute;
  inset: 20px 8px 16px;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 122, 144, 0.16), transparent 30%),
    radial-gradient(circle at 42% 58%, rgba(77, 214, 193, 0.12), transparent 34%);
  opacity: 0.9;
  filter: blur(2px);
}

.profile-scene-stats {
  position: absolute;
  z-index: 4;
  left: 4px;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-46%);
}

.profile-scene-stat {
  display: inline-grid;
  grid-template-columns: 22px auto auto auto;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 178px;
  min-height: 38px;
  padding: 8px 12px;
  color: #ff6f9e;
  background:
    linear-gradient(135deg, rgba(255, 238, 246, 0.96), rgba(229, 255, 251, 0.9)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 170, 199, 0.5);
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(255, 143, 171, 0.16);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.profile-scene-stat b {
  color: #536078;
  font-size: 22px;
  line-height: 0.9;
}

.profile-scene-stat span,
.profile-scene-stat small {
  color: inherit;
  font-size: 13px;
}

.profile-scene-stat-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(255, 143, 171, 0.18));
}

.profile-card-cute-gif,
.profile-card-wave,
.profile-card-love,
.profile-card-heart {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.profile-card-cute-gif {
  z-index: 3;
  right: 12px;
  bottom: 0;
  width: min(138px, 38%);
  max-height: 158px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
  animation: profile-cute-float 3.6s ease-in-out infinite;
}

.profile-card-heart {
  z-index: 2;
  width: 22px;
  height: 22px;
  background: #ff5f8f;
  transform: rotate(45deg);
  filter: drop-shadow(0 12px 18px rgba(255, 95, 143, 0.26));
  animation: profile-heart-float 3.1s ease-in-out infinite;
}

.profile-card-heart::before,
.profile-card-heart::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: inherit;
  border-radius: 50%;
}

.profile-card-heart::before {
  left: -11px;
}

.profile-card-heart::after {
  top: -11px;
}

.profile-card-heart-main {
  right: 32%;
  top: 34px;
  width: 32px;
  height: 32px;
  background: #ff4f83;
  animation-name: profile-love-pop;
}

.profile-card-heart-main::before,
.profile-card-heart-main::after {
  width: 32px;
  height: 32px;
}

.profile-card-heart-main::before {
  left: -16px;
}

.profile-card-heart-main::after {
  top: -16px;
}

.profile-card-heart-small {
  right: 48%;
  bottom: 32px;
  width: 15px;
  height: 15px;
  background: #ff7aa2;
  animation-delay: -1.1s;
}

.profile-card-heart-small::before,
.profile-card-heart-small::after {
  width: 15px;
  height: 15px;
}

.profile-card-heart-small::before {
  left: -8px;
}

.profile-card-heart-small::after {
  top: -8px;
}

.profile-card-heart-gold {
  right: 26%;
  bottom: 52px;
  width: 13px;
  height: 13px;
  background: #ffd166;
  animation-delay: -1.8s;
}

.profile-card-heart-gold::before,
.profile-card-heart-gold::after {
  width: 13px;
  height: 13px;
}

.profile-card-heart-gold::before {
  left: -7px;
}

.profile-card-heart-gold::after {
  top: -7px;
}

.profile-card-wave {
  z-index: 1;
  left: -8%;
  width: 116%;
  height: 28px;
  object-fit: cover;
  opacity: 0.74;
  mix-blend-mode: screen;
}

.profile-card-wave-a {
  bottom: 0;
  animation: profile-wave-slide 7.8s ease-in-out infinite;
}

.profile-card-wave-b {
  bottom: 14px;
  opacity: 0.42;
  animation: profile-wave-slide 9.6s ease-in-out infinite reverse;
}

.profile-card-love {
  z-index: 2;
  right: 24px;
  top: 20px;
  width: 44px;
  height: 44px;
  opacity: 0.88;
  filter: drop-shadow(0 10px 16px rgba(255, 122, 162, 0.22));
  animation: profile-love-pop 3s ease-in-out infinite;
}

.scene-cloud,
.scene-rain,
.scene-heart,
.scene-person,
.scene-spark {
  position: absolute;
  display: block;
}

.scene-cloud {
  width: 52px;
  height: 20px;
  background: rgba(238, 247, 255, 0.88);
  border-radius: 999px;
  filter: drop-shadow(0 8px 16px rgba(7, 15, 28, 0.16));
  animation: profile-cloud-drift 8s ease-in-out infinite;
}

.scene-cloud::before,
.scene-cloud::after {
  content: "";
  position: absolute;
  bottom: 5px;
  background: inherit;
  border-radius: 50%;
}

.scene-cloud::before {
  left: 9px;
  width: 22px;
  height: 22px;
}

.scene-cloud::after {
  right: 8px;
  width: 27px;
  height: 27px;
}

.scene-cloud-a {
  top: 13px;
  left: 38px;
}

.scene-cloud-b {
  top: 20px;
  right: 44px;
  width: 42px;
  height: 16px;
  opacity: 0.68;
  animation-delay: -2.6s;
}

.scene-rain {
  width: 4px;
  height: 14px;
  background: linear-gradient(180deg, rgba(138, 211, 255, 0), rgba(138, 211, 255, 0.9));
  border-radius: 999px;
  opacity: 0.82;
  transform: rotate(14deg);
  animation: profile-rain-drop 1.55s linear infinite;
}

.scene-rain-a {
  top: 12px;
  left: 32%;
}

.scene-rain-b {
  top: 6px;
  left: 45%;
  animation-delay: -0.55s;
}

.scene-rain-c {
  top: 10px;
  left: 59%;
  animation-delay: -1.05s;
}

.scene-heart {
  width: 11px;
  height: 11px;
  background: #ff7aa2;
  transform: rotate(45deg);
  animation: profile-heart-float 3.1s ease-in-out infinite;
  filter: drop-shadow(0 7px 10px rgba(255, 122, 162, 0.22));
}

.scene-heart::before,
.scene-heart::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  background: inherit;
  border-radius: 50%;
}

.scene-heart::before {
  left: -6px;
}

.scene-heart::after {
  top: -6px;
}

.scene-heart-a {
  right: 26%;
  bottom: 22px;
}

.scene-heart-b {
  right: 18%;
  bottom: 34px;
  width: 8px;
  height: 8px;
  background: #ffd166;
  animation-delay: -1.4s;
}

.scene-heart-b::before,
.scene-heart-b::after {
  width: 8px;
  height: 8px;
}

.scene-heart-b::before {
  left: -4px;
}

.scene-heart-b::after {
  top: -4px;
}

.scene-person {
  bottom: 13px;
  width: 18px;
  height: 22px;
  background: linear-gradient(180deg, #ffd166 0 36%, #6ee7b7 37% 100%);
  border-radius: 10px 10px 8px 8px;
  transform-origin: 50% 100%;
  animation: profile-person-hop 1.15s ease-in-out infinite;
}

.scene-person::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 3px;
  width: 12px;
  height: 12px;
  background: #ffe5c4;
  border-radius: 50%;
  box-shadow: inset 0 -2px 0 rgba(97, 55, 23, 0.16);
}

.scene-person::after {
  content: "";
  position: absolute;
  left: -7px;
  right: -7px;
  top: 7px;
  height: 3px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  transform: rotate(-8deg);
}

.scene-person-a {
  left: 23%;
}

.scene-person-b {
  left: calc(23% + 28px);
  background: linear-gradient(180deg, #ff9bb3 0 36%, #7dd3fc 37% 100%);
  animation-delay: -0.58s;
}

.scene-person-b::after {
  transform: rotate(8deg);
}

.scene-spark {
  width: 6px;
  height: 6px;
  background: rgba(255, 221, 125, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 221, 125, 0.45);
  animation: profile-spark 2.6s ease-in-out infinite;
}

.scene-spark-a {
  left: 14%;
  top: 44px;
}

.scene-spark-b {
  right: 12%;
  top: 14px;
  animation-delay: -1.1s;
}

.profile-card-signature {
  align-self: end;
  text-wrap: balance;
}

.profile-card-back-visual {
  position: relative;
  overflow: visible;
  min-height: 116px;
  margin: -4px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-card-back-visual::after {
  display: none;
}

.profile-card-back-visual img {
  position: absolute;
  right: 10px;
  bottom: -2px;
  z-index: 1;
  width: min(114px, 34%);
  max-height: 130px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.24));
  animation: profile-cute-float 3.8s ease-in-out infinite;
}

.profile-card-back-visual .profile-card-heart-main {
  right: 42%;
  top: 24px;
  transform: rotate(45deg) scale(0.82);
}

.profile-card-back-visual .profile-card-heart-small {
  right: 64%;
  bottom: 30px;
}

@keyframes profile-scene-glimmer {
  0%, 42% {
    transform: translateX(-70%);
  }
  76%, 100% {
    transform: translateX(70%);
  }
}

@keyframes profile-cloud-drift {
  0%, 100% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(7px);
  }
}

@keyframes profile-rain-drop {
  from {
    opacity: 0;
    transform: translateY(-12px) rotate(14deg);
  }
  18% {
    opacity: 0.92;
  }
  to {
    opacity: 0;
    transform: translateY(46px) rotate(14deg);
  }
}

@keyframes profile-heart-float {
  0%, 100% {
    opacity: 0.78;
    transform: translateY(5px) rotate(45deg) scale(0.88);
  }
  50% {
    opacity: 1;
    transform: translateY(-9px) rotate(45deg) scale(1.08);
  }
}

@keyframes profile-person-hop {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  48% {
    transform: translateY(-7px) rotate(3deg);
  }
}

@keyframes profile-spark {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes profile-cute-float {
  0%, 100% {
    transform: translateY(2px) rotate(-1deg);
  }
  50% {
    transform: translateY(-5px) rotate(1deg);
  }
}

@keyframes profile-wave-slide {
  0%, 100% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(16px);
  }
}

@keyframes profile-love-pop {
  0%, 100% {
    transform: translateY(2px) rotate(45deg) scale(0.94);
    opacity: 0.68;
  }
  50% {
    transform: translateY(-6px) rotate(45deg) scale(1.06);
    opacity: 1;
  }
}

.profile-card-back > span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 950;
}

.profile-card h3,
.profile-card p {
  position: relative;
}

.profile-card p {
  margin: 0;
}

.announcement-card {
  display: grid;
  gap: 10px;
}

.announcement-card p:last-child {
  margin: 0;
  white-space: pre-wrap;
}

.profile-actions {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.time-widget {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(20, 20, 28, 0.88);
}

.rail-card-corner-icon {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.36;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.22));
}

.time-left {
  display: grid;
  gap: 4px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.time-left span,
.time-left small {
  color: var(--muted);
  font-weight: 800;
}

.time-left strong {
  font-size: 22px;
}

.time-left b {
  color: var(--accent-3);
  font-family: system-ui, sans-serif;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.time-left b.is-long-countdown {
  font-size: 18px;
}

.time-bars {
  display: grid;
  gap: 10px;
}

.time-bar {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 9px;
}

.time-bar span {
  color: #b8bfcc;
  font-weight: 800;
}

.time-bar i {
  position: relative;
  overflow: hidden;
  height: 32px;
  background: rgba(247, 200, 95, 0.16);
  border-radius: 12px;
}

.time-bar b {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  min-width: 52px;
  padding-left: 8px;
  color: #fff;
  background: rgba(247, 200, 95, 0.72);
  border-radius: inherit;
  font-style: normal;
  font-size: 13px;
  white-space: nowrap;
}

.time-bar em {
  font-style: normal;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.time-percent {
  opacity: 1;
  transform: translateY(0);
}

.time-remain {
  position: absolute;
  opacity: 0;
  transform: translateY(8px);
}

.time-widget:hover .time-percent {
  opacity: 0;
  transform: translateY(-8px);
}

.time-widget:hover .time-remain {
  opacity: 0.86;
  transform: translateY(0);
}

.time-widget:hover .time-bar b {
  background: rgba(247, 200, 95, 0.82);
}

.time-widget:hover .time-left b {
  transform: translateY(-2px);
}

.time-left b {
  transition: transform 0.22s ease;
}

.time-bar em.time-remain {
  font-style: normal;
}

.world-list,
.user-rank-list,
.life-checklist-mini,
.message-mini-list {
  display: grid;
  gap: 10px;
}

.world-link {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px;
  column-gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.world-link-icon {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.92;
}

.world-link:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.world-link.blue strong { color: var(--blue); }
.world-link.pink strong { color: var(--accent); }
.world-link.green strong { color: var(--green); }
.world-link span,
.message-mini-list p {
  color: var(--muted);
}

.rail-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.rail-card-head h3 {
  margin-bottom: 0;
}

.rail-card-head a {
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 900;
}

.user-rank-card {
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 226, 238, 0.72), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 251, 0.88));
}

.user-rank-count {
  align-self: center;
  padding: 5px 9px;
  color: #c94d76;
  background: rgba(255, 143, 171, 0.12);
  border: 1px solid rgba(255, 143, 171, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.user-rank-item {
  display: grid;
  grid-template-columns: 28px 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  color: #46526a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 247, 251, 0.66)),
    rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 143, 171, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(77, 90, 120, 0.08);
}

.user-rank-index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #243044;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.user-rank-item.rank-1 .user-rank-index {
  background: linear-gradient(135deg, #ffeaa0, #ffb86b);
}

.user-rank-item.rank-2 .user-rank-index {
  background: linear-gradient(135deg, #ecf4ff, #b7cff4);
}

.user-rank-item.rank-3 .user-rank-index {
  background: linear-gradient(135deg, #ffe0c2, #e7a276);
}

.user-rank-avatar,
.user-rank-avatar .framed-avatar,
.user-rank-avatar .framed-avatar > img:first-child {
  width: 42px;
  height: 42px;
}

.user-rank-avatar .framed-avatar > img:first-child {
  object-fit: cover;
  border-radius: 50%;
}

.user-rank-avatar .framed-avatar .avatar-frame-overlay {
  inset: -7px;
  width: calc(100% + 14px) !important;
  height: calc(100% + 14px) !important;
}

.user-rank-body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.user-rank-body strong,
.user-rank-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-rank-body strong {
  color: #3f4b64;
  font-size: 14px;
  font-weight: 950;
}

.user-rank-body small {
  color: #8a95aa;
  font-size: 12px;
  font-weight: 850;
}

.user-rank-points {
  display: grid;
  justify-items: end;
  gap: 1px;
  color: #d65a82;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.user-rank-points small {
  color: #9aa5b8;
  font-size: 11px;
  font-weight: 850;
}

.life-checklist-card {
  display: grid;
  gap: 14px;
}

.life-checklist-mini-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
  color: #edf4ff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.checklist-mini-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.life-checklist-mini-item span {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.life-checklist-mini-item small {
  padding: 5px 8px;
  color: #c9d6e7;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.checklist-public-top span {
  padding: 5px 8px;
  color: #52617a;
  background: rgba(82, 97, 122, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.life-checklist-mini-item.doing small {
  color: #d9fcf5;
  background: rgba(77, 214, 193, 0.16);
}

.life-checklist-mini-item.done small {
  color: #fff1bd;
  background: rgba(247, 200, 95, 0.16);
}

.checklist-public-card.doing .checklist-public-top span {
  color: #167a6d;
  background: rgba(33, 184, 154, 0.14);
}

.checklist-public-card.done .checklist-public-top span {
  color: #8a630d;
  background: rgba(247, 200, 95, 0.2);
}

.empty-inline {
  margin: 0;
  color: var(--muted);
}

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

.checklist-public-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.checklist-public-card h3,
.checklist-public-card p {
  margin: 0;
}

.checklist-public-top,
.checklist-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.checklist-public-top {
  justify-content: space-between;
}

.checklist-public-top b,
.checklist-public-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

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

.important-date-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 50%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.important-date-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(77, 214, 193, 0.14);
}

.important-date-card.countdown::before {
  background: rgba(247, 200, 95, 0.16);
}

.important-date-card.birthday::before {
  background: rgba(255, 143, 171, 0.16);
}

.important-date-card h3,
.important-date-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.important-date-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.important-date-top span,
.important-date-top b {
  padding: 5px 8px;
  color: #167a6d;
  background: rgba(33, 184, 154, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.important-date-card.countdown .important-date-top span {
  color: #8a630d;
  background: rgba(247, 200, 95, 0.2);
}

.important-date-card.birthday .important-date-top span {
  color: #a63858;
  background: rgba(255, 143, 171, 0.18);
}

.important-date-count {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.important-date-count strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.important-date-count small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quote-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 154px;
  background:
    radial-gradient(circle at 88% 16%, rgba(247, 200, 95, 0.26), transparent 7rem),
    radial-gradient(circle at 10% 82%, rgba(255, 122, 144, 0.18), transparent 8rem),
    rgba(26, 34, 47, 0.86);
}

.quote-card-gif {
  position: absolute;
  right: 12px;
  bottom: 8px;
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.42;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -34px auto;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  opacity: 0.48;
}

.quote-mark {
  position: absolute;
  top: 12px;
  right: 18px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 64px;
  font-weight: 950;
  line-height: 1;
}

.quote-card h3,
.quote-card p,
.quote-card small {
  position: relative;
  z-index: 1;
}

.quote-card p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #e7edf7;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.quote-card small {
  color: var(--accent-3);
  font-weight: 900;
}

.map-mini,
.footprint-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 40% 45%, rgba(77, 214, 193, 0.22), transparent 18rem),
    #111923;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.map-mini {
  height: 160px;
  border-radius: 18px;
  margin-bottom: 14px;
}

.map-mini-amap {
  background: #0c141d;
}

.map-mini-amap > .map-mini-marker,
.map-mini-amap > .footprint-empty {
  display: none;
}

.map-mini-amap .amap-map-status {
  inset: auto 10px 10px 10px;
  padding: 8px 10px;
  font-size: 11px;
  border-radius: 12px;
}

.map-mini-amap .footprint-amap-marker span {
  display: none;
}

.map-mini span,
.footprint-point {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.map-mini span.album,
.footprint-point.album {
  background: var(--accent-2);
}

.map-mini span.message,
.footprint-point.message {
  background: var(--blue);
}

.map-mini span.moment,
.footprint-point.moment {
  background: var(--green);
}

.footprint-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #536078;
  font-weight: 900;
  text-align: center;
}

.site-gate {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  margin: -24px calc(50% - 50vw) -78px;
  padding: 32px;
  background: #0d1118;
}

body.site-gated .site-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  min-height: 100svh;
  margin: 0;
  padding: clamp(24px, 6vw, 64px);
}

.site-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(9, 12, 18, 0.88), rgba(9, 12, 18, 0.48)),
    var(--gate-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.88);
  transform: scale(1.03);
}

.site-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 122, 144, 0.22), transparent 22rem),
    radial-gradient(circle at 74% 66%, rgba(77, 214, 193, 0.16), transparent 24rem);
}

.site-gate-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(560px, calc(100vw - 48px));
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(20, 27, 38, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.site-gate-card h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.05;
}

.site-gate-card p {
  margin: 0;
  color: #c4ccda;
  line-height: 1.8;
}

.gate-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.gate-input-row input {
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: 0;
}

.site-gate-card small {
  min-height: 20px;
  color: var(--accent-3);
}

.page-head {
  width: min(820px, 100%);
  margin: 28px auto 22px;
  text-align: center;
}

.page-head .button {
  margin-top: 12px;
}

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

.post-tile,
.album-card {
  position: relative;
  overflow: hidden;
}

.post-tile img,
.album-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-tile > div,
.album-card > div {
  padding: 18px;
}

.post-tile h3,
.album-card h3,
.post-tile p,
.album-card p,
.feed-card h3,
.feed-card .feed-text {
  transition: color 0.22s ease;
}

.card-summary,
.feed-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.card-summary {
  -webkit-line-clamp: 3;
}

.feed-text {
  -webkit-line-clamp: 5;
}

.pin-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #111827;
  background: linear-gradient(135deg, #fff, #ffe2ea);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.moment-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.moment-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 116px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 122, 144, 0.65), rgba(77, 214, 193, 0.5), transparent);
}

.moment-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px 32px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.moment-time {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding-top: 18px;
  color: var(--muted);
  font-weight: 900;
}

.moment-time b {
  color: #fff;
  font-size: 18px;
}

.moment-time span {
  font-size: 12px;
}

.moment-dot {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin: 24px auto 0;
  background: var(--accent);
  border: 4px solid #101722;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 122, 144, 0.14);
}

.moment-card {
  min-width: 0;
}

.album-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.album-media-frame {
  display: grid;
  gap: 9px;
  margin: 0;
}

.album-mosaic img,
.album-mosaic video,
.album-file-tile {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
}

.album-mosaic img,
.album-mosaic video {
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.album-file-tile {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.album-file-tile span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.album-file-tile b {
  overflow-wrap: anywhere;
}

.album-media-frame figcaption {
  display: grid;
  gap: 3px;
  min-height: 0;
  color: #c4ccda;
  font-size: 13px;
  line-height: 1.45;
}

.album-media-frame figcaption b {
  color: #f5f8fb;
  font-size: 14px;
}

.album-media-frame figcaption span,
.album-media-frame figcaption small {
  color: var(--muted);
}

.article {
  width: min(840px, 100%);
  margin: 0 auto;
}

.article-cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article h1 {
  margin: 24px 0 10px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.1;
}

.article-content {
  margin-top: 24px;
  padding: 30px;
  color: #dde4f1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  line-height: 1.95;
  font-size: 17px;
}

.article-content figure {
  margin: 24px 0;
}

.article-content img,
.article-content video {
  max-width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.article-content iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.article-content pre,
.article-content code {
  font-family: "Consolas", "SFMono-Regular", "Menlo", monospace;
}

.article-content pre {
  max-width: 100%;
  margin: 22px 0;
  padding: 18px;
  overflow: auto;
  color: #e8eef8;
  background: rgba(7, 12, 20, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.article-content :not(pre) > code {
  padding: 3px 7px;
  color: #d9fcf5;
  background: rgba(77, 214, 193, 0.12);
  border: 1px solid rgba(77, 214, 193, 0.18);
  border-radius: 8px;
  font-size: 0.92em;
}

.article-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-content th {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.article-content blockquote,
.reply-box {
  margin: 18px 0;
  padding: 14px 16px;
  color: #e9edf5;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
}

.comment-section {
  width: min(840px, 100%);
  display: grid;
  gap: 18px;
  margin: 26px auto 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.comment-head,
.comment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comment-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.comment-head span,
.comment-actions span {
  color: var(--muted);
  font-weight: 800;
}

.comment-note,
.article-detail .comment-actions .comment-note {
  color: #536078;
  min-height: 24px;
  transition: color 0.18s ease;
}

.comment-note.success,
.article-detail .comment-note.success {
  color: #176b4a;
}

.comment-note.error,
.article-detail .comment-note.error {
  color: #b42342;
}

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

.comment-live-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.comment-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comment-list-head strong {
  color: #35435c;
  font-size: 16px;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.comment-list-head span {
  color: #76849a;
  font-size: 13px;
  font-weight: 800;
}

.comment-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.comment-card.is-reply {
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 143, 171, 0.15);
}

.comment-card > img,
.comment-card > .framed-avatar,
.comment-card > .framed-avatar > img:first-child {
  width: 42px;
  height: 42px;
}

.comment-card > img,
.comment-card > .framed-avatar > img:first-child {
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.comment-card > .framed-avatar .avatar-frame-overlay {
  inset: -8px;
  width: calc(100% + 16px) !important;
  height: calc(100% + 16px) !important;
}

.comment-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-card p,
.comment-card blockquote {
  grid-column: 2;
}

.comment-card strong {
  color: #f4f7fb;
}

.comment-card span,
.comment-card p {
  color: #c4ccda;
}

.comment-card p {
  margin: 0;
  line-height: 1.75;
}

.comment-card-actions {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
}

.comment-card-actions button,
.comment-reply-target button {
  min-height: 30px;
  padding: 0 12px;
  color: #ff6f9b;
  background: rgba(255, 143, 171, 0.1);
  border: 1px solid rgba(255, 143, 171, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.comment-replies {
  grid-column: 2;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 143, 171, 0.16);
}

.comment-card blockquote {
  margin: 12px 0 0;
  padding: 12px 14px;
  color: #edf2ff;
  background: rgba(255, 143, 171, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
}

.comment-ai-reply {
  grid-column: 2;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  color: var(--text-soft);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 143, 171, 0.16), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 251, 0.7));
  border: 1px solid rgba(255, 143, 171, 0.22);
  border-radius: 16px;
}

.comment-ai-reply > .framed-avatar,
.comment-ai-reply > .framed-avatar > img:first-child {
  width: 34px;
  height: 34px;
}

.comment-ai-reply .avatar-frame-overlay {
  inset: -7px;
  width: calc(100% + 14px) !important;
  height: calc(100% + 14px) !important;
}

.comment-ai-reply-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.comment-ai-reply-head strong {
  color: var(--text-strong);
  font-size: 14px;
}

.comment-ai-reply-head span {
  padding: 2px 8px;
  color: #ff6f9b;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 143, 171, 0.12);
  border-radius: 999px;
}

.comment-ai-reply p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.comment-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.comment-reply-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 6px 8px 6px 14px;
  color: #ff6f9b;
  background: rgba(255, 143, 171, 0.12);
  border: 1px solid rgba(255, 143, 171, 0.2);
  border-radius: 14px;
  font-weight: 900;
}

.comment-reply-target[hidden] {
  display: none;
}

.comment-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comment-account-identity {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: #344054;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 255, 250, 0.72)),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 143, 171, 0.14);
  border-radius: 16px;
}

.comment-account-identity[hidden] {
  display: none;
}

.comment-note [data-public-session-refresh] {
  min-height: 32px;
  margin-inline-start: 8px;
  padding: 6px 10px;
  font-size: 13px;
}

.comment-account-identity .framed-avatar,
.comment-account-identity .framed-avatar > img:first-child {
  width: 42px;
  height: 42px;
}

.comment-account-identity b,
.comment-account-identity span {
  display: block;
}

.comment-account-identity b {
  color: #1f2937;
  font-weight: 950;
}

.comment-account-identity span {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.message-wall {
  display: grid;
  gap: 16px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.message-card {
  position: relative;
  overflow: hidden;
}

.message-card::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  background: url("/assets/bingyu/original/assets/image/Comment.png") center / contain no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.message-card .feed-text {
  margin-bottom: 0;
  -webkit-line-clamp: 6;
}

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

.message-form input,
.message-form textarea {
  width: 100%;
  padding: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.message-form textarea {
  min-height: 220px;
  resize: vertical;
}

.site-effect-dock {
  position: fixed;
  right: 30px;
  bottom: calc(30px + env(safe-area-inset-bottom));
  z-index: 9999;
  pointer-events: none;
}

body:has([data-mobile-menu]:not([hidden])) .site-effect-dock {
  visibility: hidden;
}

.effect-gear-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.7;
  animation: effectGearSpin 2s linear infinite;
  transform-origin: center;
  transition: opacity 0.3s ease;
}

.effect-gear-button img {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: none;
}

.effect-gear-button:hover {
  opacity: 1;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 9990;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--accent-sakura);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 122, 144, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 22px rgba(255, 122, 144, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s, background-color 0.2s ease, color 0.2s ease;
}

.back-to-top:hover {
  color: #fff;
  background: var(--accent-sakura);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(255, 122, 144, 0.45);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:has([data-mobile-menu]:not([hidden])) .back-to-top,
body:has(.effect-panel-layer:not([hidden])) .back-to-top {
  visibility: hidden;
}

.effect-panel-layer[hidden],
.wechat-contact-layer[hidden] {
  display: none;
}

.effect-panel-layer,
.wechat-contact-layer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: auto;
}

.effect-panel-layer {
  animation: effectOverlayIn 0.24s ease both;
}

.effect-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: none;
}

.effect-panel {
  position: relative;
  z-index: 1;
  width: min(400px, calc(100vw - 40px));
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  color: #333;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: effectModalIn 0.24s ease both;
}

.effect-panel-view {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.effect-panel-view[hidden] {
  display: none;
}

.effect-panel-head {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.effect-panel-head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.effect-title-gear {
  width: 22px;
  height: 22px;
  object-fit: contain;
  animation: effectGearSpin 2s linear infinite;
}

.effect-panel-head button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #999;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.effect-panel-head button:hover {
  color: #333;
  background: #f5f5f5;
}

.effect-panel-body {
  min-height: 0;
  padding: 16px 24px 24px;
  overflow-y: auto;
}

.effect-menu-icon,
.effect-choice-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-right: 14px;
  color: #b64c79;
  background: transparent;
  line-height: 1;
}

.effect-menu-row,
.effect-choice {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 60px;
  margin: 0 0 6px;
  padding: 10px 12px;
  color: #333;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.effect-menu-row:last-child,
.effect-choice:last-child {
  margin-bottom: 0;
}

.effect-menu-row:hover,
.effect-choice:hover {
  background: #f8f9fa;
}

.effect-menu-row strong,
.effect-choice strong {
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.effect-menu-row small,
.effect-choice small {
  display: block;
  margin-top: 4px;
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.effect-menu-row i {
  margin-left: auto;
  padding-left: 8px;
  color: #999;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
}

.palette-icon {
  color: transparent;
  background:
    radial-gradient(circle at 34% 30%, #ff7a90 0 11%, transparent 12%),
    radial-gradient(circle at 66% 32%, #8ff4e4 0 10%, transparent 11%),
    radial-gradient(circle at 44% 66%, #ffd166 0 10%, transparent 11%),
    radial-gradient(circle at 70% 68%, #a5b4fc 0 10%, transparent 11%),
    #fff7fb;
}

.pointer-icon::before {
  width: 18px;
  height: 28px;
  content: "";
  display: block;
  border-radius: 12px;
  background:
    linear-gradient(#9ba3b2, #9ba3b2) center 5px / 2px 11px no-repeat,
    linear-gradient(180deg, #f1eef7, #b7abc9);
  box-shadow: 0 8px 16px rgba(80, 91, 120, 0.16);
}

.effect-choice-grid {
  display: block;
}

.effect-choice-grid[hidden] {
  display: none;
}

.effect-choice {
  min-height: 60px;
}

.effect-choice.active {
  background: transparent;
  border-color: #c8d5df;
}

.effect-choice-info {
  min-width: 0;
  flex: 1;
}

.effect-choice-check {
  margin-left: 8px;
  color: #188675;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.effect-choice.active .effect-choice-check {
  opacity: 1;
}

.effect-menu-icon .local-icon,
.effect-choice-icon .local-icon,
.effect-menu-icon img,
.effect-choice-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.effect-menu-row i .local-icon { width: 12px; height: 12px; }
.effect-choice-check .local-icon { width: 16px; height: 16px; }
[data-effect-section="click"] .effect-menu-icon,
[data-effect-value="snow"] .effect-choice-icon,
[data-effect-value="ripple"] .effect-choice-icon { color: #3988b7; }
[data-open-wechat-contact] .effect-menu-icon,
[data-effect-value="leaf"] .effect-choice-icon { color: #188675; }
[data-effect-value="star"] .effect-choice-icon { color: #a87920; }
[data-effect-value="bubble"] .effect-choice-icon { color: #8262ab; }
[data-effect-value="none"] .effect-choice-icon { color: #73808d; }

.wechat-contact-card {
  position: relative;
  z-index: 1;
  color: #192234;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
}

.wechat-contact-card {
  width: min(420px, calc(100vw - 28px));
  padding: 26px;
  overflow: visible;
}

.wechat-contact-head {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
  margin-right: 38px;
}

.wechat-contact-head > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #d9fff4, #fff1f6);
}

.wechat-contact-head img {
  width: 34px;
  height: 34px;
}

.wechat-contact-head p {
  margin: 0 0 4px;
  color: #8b95a5;
  font-size: 13px;
  font-weight: 900;
}

.wechat-contact-head h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 950;
}

.wechat-qr-card {
  min-height: 260px;
  display: grid;
  place-items: center;
  margin: 24px 0 16px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 224, 232, 0.42), rgba(218, 255, 247, 0.34)),
    rgba(248, 250, 252, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
}

.wechat-qr-card img {
  width: min(230px, 70vw);
  height: min(230px, 70vw);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(80, 91, 120, 0.18);
}

.wechat-qr-card.is-empty span {
  color: #8b95a5;
  font-weight: 900;
}

.wechat-contact-id {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}

.wechat-contact-id span {
  color: #8b95a5;
  font-size: 12px;
  font-weight: 900;
}

.wechat-contact-id strong {
  overflow: hidden;
  color: #172033;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wechat-contact-id button {
  min-height: 34px;
  padding: 0 14px;
  color: #172033;
  background: linear-gradient(135deg, #ffe0e8, #b9fff0);
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.wechat-contact-id button:disabled {
  opacity: 0.5;
}

.wechat-contact-note {
  margin: 14px 0 0;
  color: #7d8798;
  font-size: 13px;
  font-weight: 820;
  text-align: center;
}

.falling-effect-layer {
  position: fixed;
  inset: 0;
  z-index: 92;
  overflow: hidden;
  pointer-events: none;
}

.falling-piece {
  position: absolute;
  top: -48px;
  left: var(--fall-left);
  width: var(--fall-size);
  height: var(--fall-size);
  color: #ff7a90;
  line-height: 1;
  filter: drop-shadow(0 5px 10px rgba(80, 91, 120, 0.18));
  opacity: var(--fall-opacity, 0.76);
  transform-origin: center;
  will-change: transform, opacity;
  animation: fallingPiece var(--fall-duration) linear var(--fall-delay) infinite;
}

.falling-piece::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: var(--falling-icon) center / contain no-repeat;
  -webkit-mask: var(--falling-icon) center / contain no-repeat;
}

.falling-effect-layer.is-snow .falling-piece {
  color: #b7e8ff;
  filter: drop-shadow(0 4px 8px rgba(91, 184, 240, 0.18));
  opacity: 0.74;
  animation-name: snowflakeFall;
}

.falling-effect-layer.is-leaf .falling-piece {
  color: #76c49e;
  width: calc(var(--fall-size) * 0.82);
  height: calc(var(--fall-size) * 1.28);
  filter: drop-shadow(0 5px 10px rgba(72, 132, 98, 0.18));
  animation-name: leafFall;
}

.falling-effect-layer.is-heart .falling-piece {
  color: #ff6f96;
  filter: drop-shadow(0 5px 12px rgba(255, 111, 150, 0.24));
  animation-name: heartFall;
}

.falling-effect-layer.is-sakura .falling-piece {
  width: calc(var(--fall-size) * 0.78);
  height: calc(var(--fall-size) * 1.34);
  color: #ff8fab;
  filter: drop-shadow(0 6px 13px rgba(255, 122, 144, 0.24));
  animation-name: sakuraPetalFall;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.falling-effect-layer.is-sakura .falling-piece::before {
  background:
    radial-gradient(ellipse at 34% 24%, rgba(255, 255, 255, 0.9) 0 15%, transparent 38%),
    linear-gradient(135deg, #fff3f8 0%, #ffc3d1 34%, #ff8fab 72%, #ff6f96 100%);
  border-radius: 78% 18% 74% 24% / 74% 18% 78% 28%;
  box-shadow:
    inset -2px -3px 5px rgba(196, 56, 91, 0.16),
    inset 2px 3px 5px rgba(255, 255, 255, 0.48);
  mask: none;
  -webkit-mask: none;
  transform: rotate(var(--fall-angle, 28deg));
}

.falling-effect-layer.is-sakura .falling-piece::after {
  content: "";
  position: absolute;
  left: 48%;
  top: 16%;
  width: 1px;
  height: 68%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(214, 68, 104, 0.2));
  border-radius: 999px;
  transform: rotate(calc(var(--fall-angle, 28deg) + 7deg));
  transform-origin: center;
}

.falling-effect-layer.is-sakura .falling-piece[data-variant="1"]::before {
  background:
    radial-gradient(ellipse at 36% 24%, rgba(255, 255, 255, 0.78) 0 14%, transparent 38%),
    linear-gradient(135deg, #fff7fa 0%, #ffdae3 38%, #ff9bb5 100%);
}

.falling-effect-layer.is-sakura .falling-piece[data-variant="2"]::before {
  border-radius: 26% 74% 18% 80% / 24% 76% 22% 76%;
  transform: rotate(calc(var(--fall-angle, 28deg) - 24deg));
}

.falling-effect-layer.is-sakura .falling-piece[data-variant="3"]::before {
  background:
    radial-gradient(ellipse at 30% 22%, rgba(255, 255, 255, 0.86) 0 15%, transparent 36%),
    linear-gradient(135deg, #fff2f7 0%, #ffc1d0 46%, #ff7f9d 100%);
}

.falling-effect-layer.is-leaf .falling-piece[data-variant="1"] {
  color: #94d48a;
}

.falling-effect-layer.is-leaf .falling-piece[data-variant="2"] {
  color: #c5a64a;
}

.falling-effect-layer.is-heart .falling-piece[data-variant="1"] {
  color: #ff9ab2;
}

.falling-effect-layer.is-heart .falling-piece[data-variant="2"] {
  color: #ff4d7a;
}

.click-effect-burst {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 220;
  pointer-events: none;
}

.click-effect-burst i {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  color: #ff6f96;
  font-style: normal;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(255, 122, 144, 0.32);
  animation: clickBurst 820ms ease-out var(--click-delay) both;
}

.click-effect-burst i::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: var(--click-icon) center / contain no-repeat;
  -webkit-mask: var(--click-icon) center / contain no-repeat;
}

.click-effect-burst.is-star i {
  color: #f2b94b;
}

.click-effect-burst.is-bubble i {
  width: 22px;
  height: 22px;
  color: #5bdaca;
}

.click-effect-burst.is-bubble i::before {
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.92) 0 10%, transparent 12%),
    radial-gradient(circle, rgba(91, 218, 202, 0.18), rgba(91, 218, 202, 0.02));
  border: 2px solid rgba(91, 218, 202, 0.68);
  border-radius: 50%;
  mask: none;
  -webkit-mask: none;
}

.click-effect-burst.is-ripple i {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 122, 144, 0.52);
  border-radius: 50%;
  animation: clickRipple 820ms ease-out var(--click-delay) both;
}

.click-effect-burst.is-ripple i::before {
  display: none;
}

@keyframes effectGearSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes effectOverlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes effectModalIn {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fallingPiece {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  10%,
  82% {
    opacity: 0.82;
  }
  100% {
    transform: translate3d(var(--fall-sway), 112vh, 0) rotate(var(--fall-spin));
    opacity: 0;
  }
}

@keyframes sakuraPetalFall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg) scale(0.82);
    opacity: 0;
  }
  12% {
    opacity: var(--fall-opacity, 0.72);
  }
  48% {
    transform: translate3d(var(--fall-mid-sway), 46vh, 0) rotate(var(--fall-spin-mid)) scale(1);
    opacity: var(--fall-opacity, 0.72);
  }
  78% {
    opacity: var(--fall-opacity, 0.72);
  }
  100% {
    transform: translate3d(var(--fall-sway), 112vh, 0) rotate(var(--fall-spin)) scale(0.9);
    opacity: 0;
  }
}

@keyframes snowflakeFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg) scale(0.86);
    opacity: 0;
  }
  14%,
  88% {
    opacity: 0.78;
  }
  52% {
    transform: translate3d(var(--fall-mid-sway), 50vh, 0) rotate(var(--fall-spin-soft)) scale(1.05);
  }
  100% {
    transform: translate3d(var(--fall-sway), 112vh, 0) rotate(var(--fall-spin)) scale(0.94);
    opacity: 0;
  }
}

@keyframes leafFall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(-18deg) scale(0.9);
    opacity: 0;
  }
  14%,
  82% {
    opacity: 0.78;
  }
  42% {
    transform: translate3d(var(--fall-mid-sway), 42vh, 0) rotate(var(--fall-spin-reverse)) scale(1);
  }
  100% {
    transform: translate3d(var(--fall-sway), 112vh, 0) rotate(var(--fall-spin)) scale(0.88);
    opacity: 0;
  }
}

@keyframes heartFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg) scale(0.7);
    opacity: 0;
  }
  18%,
  84% {
    opacity: 0.8;
  }
  48% {
    transform: translate3d(var(--fall-mid-sway), 48vh, 0) rotate(var(--fall-spin-soft)) scale(1.06);
  }
  100% {
    transform: translate3d(var(--fall-sway), 112vh, 0) rotate(var(--fall-spin)) scale(0.78);
    opacity: 0;
  }
}

@keyframes clickBurst {
  0% {
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--click-dx)), calc(-50% + var(--click-dy))) scale(1.12);
    opacity: 0;
  }
}

@keyframes clickRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.64;
  }
  100% {
    transform: translate(-50%, -50%) scale(4.2);
    opacity: 0;
  }
}

.message-modal[hidden] {
  display: none;
}

.message-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
}

.message-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(235, 238, 242, 0.62);
  backdrop-filter: blur(14px);
}

.message-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  padding: clamp(24px, 4vw, 54px);
  color: #192234;
  background: rgba(244, 246, 250, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: 0 32px 110px rgba(8, 12, 20, 0.24);
  backdrop-filter: blur(24px);
}

.message-dialog h3 {
  margin: 0;
  font-size: 32px;
}

.message-dialog p {
  margin: 4px 0 0;
  color: #8a93a5;
}

.message-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  color: #98a2b3;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 50%;
  font-size: 24px;
}

.message-mode,
.message-device,
.message-fields,
.message-emoji-row,
.message-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.message-mode {
  width: max-content;
  padding: 4px;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
}

.message-mode button {
  min-width: 128px;
  min-height: 42px;
  color: #98a2b3;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.message-mode button.active {
  color: #202636;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.message-device span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-weight: 800;
}

.message-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.message-dialog.message-form input,
.message-dialog.message-form textarea {
  color: #202636;
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.78);
}

.message-emoji-row {
  gap: 8px;
}

.message-emoji-row button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #202636;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
}

.message-emoji-row button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.86);
}

.message-dialog-foot {
  align-items: center;
  justify-content: space-between;
}

.message-dialog-foot span {
  color: #b0b7c5;
}

body.modal-open {
  overflow: hidden;
}

.footprint-page {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-rows: auto auto;
  gap: 16px;
}

.footprint-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.footprint-toolbar div {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px;
}

.footprint-toolbar button {
  flex: none;
  min-height: 38px;
  white-space: nowrap;
  padding: 0 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  border-radius: 999px;
}

.footprint-toolbar button.active {
  color: #111827;
  background: #fff;
}

.footprint-map {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.footprint-map-amap {
  background: #0c141d;
}

.amap-map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.footprint-map-amap .amap-logo,
.footprint-map-amap .amap-copyright {
  opacity: 0.58;
  filter: saturate(0.8);
}

.amap-map-status,
.footprint-map-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 5;
  padding: 12px 14px;
  color: rgba(239, 246, 255, 0.9);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.footprint-map-amap[data-map-ready="true"] .amap-map-status:empty {
  display: none;
}

.footprint-amap-marker {
  --marker-bg: linear-gradient(135deg, #ff9ab8, #ff5f8f);
  --marker-glow: rgba(255, 112, 150, 0.22);
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--marker-bg);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow:
    0 3px 10px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.footprint-amap-marker::after {
  display: none;
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: inherit;
}

.footprint-amap-marker:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.24);
}

.footprint-amap-marker.album {
  --marker-bg: linear-gradient(135deg, #b9a5ff, #7c5cff);
  --marker-glow: rgba(124, 92, 255, 0.2);
}

.footprint-amap-marker.message {
  --marker-bg: linear-gradient(135deg, #82c8ff, #3b82f6);
  --marker-glow: rgba(59, 130, 246, 0.2);
}

.footprint-amap-marker.moment {
  --marker-bg: linear-gradient(135deg, #75e7cc, #21b89a);
  --marker-glow: rgba(33, 184, 154, 0.2);
}

.footprint-amap-marker.mixed {
  --marker-bg: linear-gradient(135deg, #ff8eb0 0 34%, #6fd9c0 34% 67%, #8b78f6 67% 100%);
  --marker-glow: rgba(107, 114, 223, 0.2);
}

.footprint-amap-marker i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}

.footprint-amap-marker svg {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.2));
}

.footprint-amap-marker b {
  position: absolute;
  top: -6px;
  right: -7px;
  z-index: 2;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: #172033;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.2);
}

.footprint-amap-marker span {
  position: absolute;
  top: 35px;
  left: 50%;
  max-width: 96px;
  padding: 3px 7px;
  overflow: hidden;
  color: #f6f8fb;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  pointer-events: none;
  transform: translateX(-50%);
}

.footprint-map-popover {
  position: absolute;
  z-index: 20;
  width: min(300px, calc(100% - 20px));
  max-width: calc(100% - 20px);
  max-height: min(340px, calc(100% - 20px));
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 8px;
  pointer-events: auto;
  transform: none;
}

.footprint-map-popover[hidden] {
  display: none;
}

.footprint-info-window {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 168px;
  padding: 12px 38px 12px 12px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(16px);
}

.footprint-info-window::after {
  display: none;
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  content: "";
  background: rgba(15, 23, 42, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateX(-50%) rotate(45deg);
}

.footprint-info-title {
  overflow: hidden;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}

.footprint-info-meta {
  width: fit-content;
  color: rgba(226, 232, 240, 0.74);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footprint-info-group {
  gap: 10px;
  width: 100%;
  max-height: none;
}

.footprint-info-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footprint-info-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footprint-info-summary span {
  flex: 0 0 auto;
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.footprint-info-items {
  display: grid;
  gap: 4px;
  overflow-y: auto;
}

.footprint-info-entry {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 7px 8px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}

.footprint-info-entry:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footprint-info-entry > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: #ff719b;
  border-radius: 50%;
}

.footprint-info-entry > i.moment { background: #21b89a; }
.footprint-info-entry > i.album { background: #7c5cff; }
.footprint-info-entry > i.message { background: #3b82f6; }

.footprint-info-entry svg {
  width: 14px;
  height: 14px;
}

.footprint-info-entry > span {
  min-width: 0;
}

.footprint-info-entry strong,
.footprint-info-entry small {
  display: block;
}

.footprint-info-entry strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footprint-info-entry small {
  margin-top: 2px;
  color: rgba(226, 232, 240, 0.68);
  font-size: 10px;
}

.footprint-info-title:hover,
.footprint-info-meta:hover {
  color: #ff9fbc;
}

.footprint-point {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.footprint-point svg { width: 16px; height: 16px; }
.footprint-point[hidden], .footprint-record[hidden], .footprint-record-empty[hidden] { display: none !important; }

.footprint-point span {
  position: absolute;
  top: 36px;
  white-space: nowrap;
  color: #dbe3f1;
  font-size: 13px;
}

.footprint-map[data-active="post"] .footprint-point:not(.post),
.footprint-map[data-active="moment"] .footprint-point:not(.moment),
.footprint-map[data-active="album"] .footprint-point:not(.album),
.footprint-map[data-active="message"] .footprint-point:not(.message) {
  opacity: 0.18;
}

.footprint-page .footprint-side {
  min-width: 0;
  padding: 6px 0 0 16px;
  color: var(--ink);
  background: none;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.footprint-side h2 { margin: 0; font-size: 18px; }
.footprint-record-summary, .footprint-record-empty { margin: 8px 0 12px; color: var(--text-soft); font-size: 12px; }
.footprint-records { max-height: 492px; overflow-y: auto; scrollbar-width: thin; }
.footprint-record {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--text-strong);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.footprint-record > i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #bb456a;
  background: #fff0f4;
}
.footprint-record.moment > i { color: #167c70; background: #e9f7f1; }
.footprint-record.album > i { color: #7456b8; background: #f2eef9; }
.footprint-record.message > i { color: #246cac; background: #eaf4fc; }
.footprint-record svg { width: 16px; height: 16px; }
.footprint-record > span { min-width: 0; }
.footprint-record strong { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.footprint-record small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.5; color: var(--text-soft); overflow-wrap: anywhere; }
.footprint-record:hover strong { color: var(--accent); }
.footprint-recent-links { grid-column: 1 / -1; width: 100%; min-width: 0; }
.footprint-recent-links .footprint-record { padding: 8px 0; }
.footprint-recent-links .footprint-record:last-child { border: 0; }
.footprint-recent-links strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footprint-toolbar button small { margin-left: 3px; opacity: 0.75; }
.footprint-popover-close {
  position: absolute;
  z-index: 1;
  right: 6px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #465263;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.amap-map-status button {
  flex: none;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #c8d5df;
  border-radius: 6px;
  background: #fff;
  color: #246cac;
  font: inherit;
  cursor: pointer;
}

.footprint-legend span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  position: relative;
  z-index: 4;
  min-height: 153px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 8px;
  padding: 34px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 201, 220, 0.4), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(190, 235, 255, 0.36), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(222, 241, 255, 0.76));
  text-align: center;
  line-height: 1.7;
}

.site-footer #j-fish-skip {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.site-footer #j-fish-skip canvas {
  max-width: none;
  pointer-events: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -5vw -18px;
  z-index: 0;
  height: 76px;
  background:
    radial-gradient(90px 32px at 8% 8px, rgba(255, 255, 255, 0.68) 0 58%, transparent 60%),
    radial-gradient(120px 34px at 28% 10px, rgba(255, 255, 255, 0.56) 0 58%, transparent 60%),
    radial-gradient(150px 36px at 52% 8px, rgba(255, 255, 255, 0.62) 0 58%, transparent 60%),
    radial-gradient(120px 32px at 76% 12px, rgba(255, 255, 255, 0.54) 0 58%, transparent 60%),
    radial-gradient(100px 28px at 96% 10px, rgba(255, 255, 255, 0.62) 0 58%, transparent 60%),
    linear-gradient(180deg, rgba(97, 173, 240, 0.42), rgba(71, 143, 224, 0.6));
  box-shadow: inset 0 18px 30px rgba(255, 255, 255, 0.28);
  transform: rotate(-0.4deg);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, #000 45%, #000);
  pointer-events: none;
}

.site-footer-fish {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.footer-fish {
  --fish-color: #ff78a4;
  --fish-color-2: #ffb1c9;
  --tail-color: #ff5f91;
  --duration: 21s;
  --delay: 0s;
  --scale: 1;
  --angle: -4deg;
  --lift: -7px;
  --sink: 5px;
  position: absolute;
  top: var(--top, 55%);
  left: -86px;
  width: 62px;
  height: 24px;
  border-radius: 52% 72% 72% 52%;
  background:
    radial-gradient(circle at 74% 36%, rgba(255, 255, 255, 0.95) 0 7%, transparent 8%),
    linear-gradient(90deg, var(--fish-color), var(--fish-color-2));
  box-shadow: 0 12px 20px rgba(61, 120, 184, 0.16);
  opacity: 0.82;
  animation: footerFishSwim var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.footer-fish::before,
.footer-fish::after {
  content: "";
  position: absolute;
  display: block;
}

.footer-fish::before {
  left: -16px;
  top: 3px;
  width: 22px;
  height: 18px;
  background: linear-gradient(135deg, var(--tail-color), var(--fish-color));
  clip-path: polygon(100% 50%, 0 0, 34% 50%, 0 100%);
  border-radius: 5px;
  transform-origin: right center;
  animation: footerFishTail 0.9s ease-in-out infinite;
}

.footer-fish::after {
  right: 9px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(18, 32, 48, 0.58);
  box-shadow:
    -18px 9px 0 -1px rgba(255, 255, 255, 0.28),
    -26px 2px 0 -1px rgba(255, 255, 255, 0.2);
}

.footer-fish--coral {
  --top: 39%;
  --fish-color: #ff6f96;
  --fish-color-2: #ffb3c7;
  --tail-color: #ff477d;
  --duration: 22s;
  --delay: -3s;
  --scale: 1.06;
}

.footer-fish--sunset {
  --top: 59%;
  --fish-color: #ff9d24;
  --fish-color-2: #ffd45c;
  --tail-color: #ff7b1a;
  --duration: 26s;
  --delay: -14s;
  --scale: 0.92;
  --angle: 3deg;
  --lift: 8px;
}

.footer-fish--mint {
  --top: 73%;
  --fish-color: #4dd8c4;
  --fish-color-2: #b9f6df;
  --tail-color: #2fc7b8;
  --duration: 24s;
  --delay: -9s;
  --scale: 0.78;
  --angle: -2deg;
}

.footer-fish--violet {
  --top: 28%;
  --fish-color: #8b5cf6;
  --fish-color-2: #d8b4fe;
  --tail-color: #7c3aed;
  --duration: 29s;
  --delay: -20s;
  --scale: 0.84;
  --angle: 5deg;
}

.footer-fish--gold {
  --top: 48%;
  --fish-color: #ffd166;
  --fish-color-2: #fff2a8;
  --tail-color: #ffb703;
  --duration: 19s;
  --delay: -11s;
  --scale: 0.7;
  --angle: -6deg;
}

@keyframes footerFishSwim {
  0% {
    transform: translate3d(-8vw, 0, 0) rotate(var(--angle)) scale(var(--scale));
  }

  50% {
    transform: translate3d(56vw, var(--lift), 0) rotate(var(--angle)) scale(var(--scale));
  }

  100% {
    transform: translate3d(112vw, var(--sink), 0) rotate(var(--angle)) scale(var(--scale));
  }
}

@keyframes footerFishTail {
  0%,
  100% {
    transform: rotate(13deg);
  }

  50% {
    transform: rotate(-13deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-fish,
  .footer-fish::before {
    animation: none;
  }

  .footer-fish {
    transform: translateX(72vw) rotate(var(--angle)) scale(var(--scale));
    opacity: 0.42;
  }
}

body[data-music-player="true"] .site-footer {
  padding-bottom: 126px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

.site-footer > :not(.site-footer-fish):not(#j-fish-skip):not([hidden]) {
  position: relative;
  z-index: 20;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--accent-3);
}

.loading,
.empty,
.loading-state,
.empty-state {
  padding: var(--space-xl);
  text-align: center;
}

.loading,
.loading-state,
.empty-state {
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
  color: var(--muted);
  font-weight: 900;
}

.empty-state {
  min-height: 128px;
  align-content: center;
  color: var(--text-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.empty-state::before {
  content: "";
  width: var(--icon-lg);
  height: var(--icon-lg);
  background: url("/assets/bingyu/original/assets/image/Failed.png") center / contain no-repeat;
  opacity: 0.78;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}

.loading-state {
  min-height: 150px;
  align-content: center;
}

.boot-waiting-state {
  width: min(560px, calc(100% - 24px));
  min-height: 220px;
  margin: clamp(56px, 14vh, 140px) auto;
}

.boot-waiting-state strong {
  color: var(--text);
  font-size: 18px;
}

.boot-waiting-state span {
  color: var(--muted);
  font-size: 14px;
}

.loading img,
.loading-state img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.2));
}

/* Light theme consolidation: keep photo overlays readable, make the site base white. */
.life-hero::before {
  filter: saturate(1.08) brightness(0.99) contrast(1.06);
  opacity: 1;
}

.hero-carousel-bg span.active {
  opacity: 1;
}

.life-hero::after {
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 229, 242, 0.16), rgba(255, 221, 236, 0.08) 38%, rgba(255, 255, 255, 0.01) 68%, transparent),
    linear-gradient(180deg, rgba(255, 246, 250, 0.04), rgba(255, 226, 239, 0.12) 82%, rgba(255, 246, 250, 0.2));
}

.hero-glass h1 {
  color: #fff;
  font-weight: 820;
  text-shadow: 0 16px 38px rgba(18, 25, 38, 0.28), 0 2px 14px rgba(18, 25, 38, 0.2);
}

.hero-glass p {
  color: #fff;
}

.hero-glass .hero-typewriter {
  color: #fff;
  background: rgba(30, 36, 52, 0.22);
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 42px rgba(33, 40, 58, 0.13);
  backdrop-filter: blur(10px) saturate(1.08);
  text-shadow: 0 2px 10px rgba(16, 24, 40, 0.25);
}

.hero-glass .hero-typewriter::before {
  background: linear-gradient(100deg, transparent, rgba(255, 214, 223, 0.18), transparent);
}

.hero-status span,
.status-pill {
  background: rgba(255, 255, 255, 0.68);
  color: #6b7588;
  border-color: rgba(15, 23, 42, 0.1);
}

.interaction-meta span,
.interaction-button,
.marquee-chip,
.footprint-toolbar button {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 24px rgba(77, 90, 120, 0.1);
}

.interaction-button:hover,
.footprint-toolbar button.active,
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 226, 238, 0.64);
}

.interaction-button.is-liked {
  color: #536078;
  background: linear-gradient(135deg, #fff7fb, #b9fff0);
}

.feed-meta,
.interaction-meta,
.post-tags {
  align-items: center;
  gap: 7px;
}

.feed-meta span,
.interaction-meta span,
.status-pill,
.tag,
.interaction-button {
  min-width: 0;
  max-width: min(100%, 18rem);
  min-height: 28px;
  padding: 0 11px;
  gap: 6px;
  overflow: hidden;
  color: #7d6070;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 248, 0.9)),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 183, 205, 0.5);
  box-shadow:
    0 8px 18px rgba(255, 122, 144, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-meta span::before,
.interaction-meta span::before,
.interaction-button::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8fab, #ffd6df);
  box-shadow: 0 0 0 3px rgba(255, 143, 171, 0.12);
}

.feed-meta span:nth-child(3n)::before,
.interaction-meta span:nth-child(3n)::before {
  background: linear-gradient(135deg, #87eadc, #ffd6df);
  box-shadow: 0 0 0 3px rgba(135, 234, 220, 0.14);
}

.feed-meta span:nth-child(3n + 2)::before,
.interaction-meta span:nth-child(3n + 2)::before {
  background: linear-gradient(135deg, #ffd166, #ffb3c7);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.14);
}

.interaction-button {
  flex: 0 0 auto;
  color: #94566f;
  border-color: rgba(255, 143, 171, 0.48);
}

.interaction-button:hover {
  color: #7c4058;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 229, 238, 0.96)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 122, 144, 0.62);
  box-shadow:
    0 10px 22px rgba(255, 122, 144, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.interaction-button.is-liked {
  color: #5d5065;
  background: linear-gradient(135deg, #fff8fb, #ffe1ec 58%, #d8fff6);
  border-color: rgba(255, 143, 171, 0.56);
}

.message-chip {
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: 68px;
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 247, 0.86)),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 183, 205, 0.42);
  box-shadow: 0 12px 26px rgba(77, 90, 120, 0.09);
}

.message-chip-icon,
.message-chip-avatar {
  width: 28px;
  height: 28px;
  opacity: 0.92;
  filter: drop-shadow(0 6px 10px rgba(255, 122, 144, 0.12));
}

.message-chip-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  object-fit: initial;
}

.message-chip-avatar .framed-avatar,
.message-chip-avatar .framed-avatar > img:first-child {
  width: 28px;
  height: 28px;
}

.message-chip-avatar .framed-avatar > img:first-child {
  object-fit: cover;
  border-radius: 50%;
}

.message-chip-avatar .avatar-frame-overlay {
  inset: -6px;
  width: calc(100% + 12px) !important;
  height: calc(100% + 12px) !important;
}

.message-chip strong,
.message-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-chip strong {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.2;
}

.message-chip span {
  color: var(--text-soft);
  line-height: 1.35;
}

.message-mini-list {
  gap: 9px;
}

.message-mini-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin: 0;
  padding: 9px 11px;
  color: var(--text-main);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 245, 250, 0.88)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 183, 205, 0.4);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(77, 90, 120, 0.08);
}

.message-mini-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 0;
}

.message-mini-avatar .framed-avatar,
.message-mini-avatar .framed-avatar > img:first-child {
  width: 34px;
  height: 34px;
}

.message-mini-avatar .framed-avatar > img:first-child {
  object-fit: cover;
  border-radius: 50%;
}

.message-mini-avatar .avatar-frame-overlay {
  inset: -7px;
  width: calc(100% + 14px) !important;
  height: calc(100% + 14px) !important;
}

.message-mini-item > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.message-mini-item b,
.message-mini-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-mini-item b {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.16;
}

.message-mini-item em {
  color: var(--text-soft);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.message-mini-item .message-inline-sticker {
  width: 24px;
  height: 24px;
  margin: 0 2px;
}

.interest-panel-wave {
  opacity: 0.78;
  mix-blend-mode: normal;
}

.interest-wave-mist {
  fill: rgba(255, 255, 255, 0.86);
}

.interest-wave-layer {
  fill: rgba(222, 234, 246, 0.72);
}

.interest-wave-base {
  fill: rgba(213, 229, 244, 0.92);
}

.marquee-chip {
  color: #465267;
}

.interest-chip-icon {
  background: transparent;
}

.module-title-icon,
.bingyu-inline-icon,
.profile-card-back-visual img {
  filter: drop-shadow(0 8px 14px rgba(77, 90, 120, 0.14));
}

.bright-card-badge {
  color: #172033;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px rgba(77, 90, 120, 0.14);
}

.bright-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(15, 23, 42, 0.42)),
    linear-gradient(90deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.02));
}

.profile-card,
.account-card,
.comment-card,
.comment-section,
.message-card,
.footprint-side {
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
    rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.profile-card-head small,
.comment-card span,
.comment-card p,
.comment-card blockquote,
.album-media-frame figcaption,
.album-media-frame figcaption span,
.album-media-frame figcaption small {
  color: var(--text-soft);
}

.comment-card strong,
.album-media-frame figcaption b {
  color: var(--text-strong);
}

.interest-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.9)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 184, 205, 0.36);
}

.interest-cute-gif {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3;
  width: clamp(58px, 7vw, 84px);
  height: clamp(58px, 7vw, 84px);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 16px 22px rgba(255, 143, 171, 0.2));
}

.interest-copy {
  max-width: 440px;
}

.interest-copy .module-title span {
  color: #536078;
}

.bright-card .module-title span {
  color: #fff2a8;
  text-shadow: 0 8px 24px rgba(42, 49, 71, 0.34), 0 1px 0 rgba(255, 255, 255, 0.22);
}

.profile-card {
  color: #536078;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.9)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 184, 205, 0.34);
}

.profile-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -18px;
  width: 128px;
  height: 128px;
  background: url("/assets/bingyu/original/assets/image/letterStamp.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.profile-card-face {
  position: relative;
  z-index: 1;
}

.profile-card-head {
  align-items: flex-start;
}

.profile-card-title-row span:first-child {
  color: #f5ad4f;
}

.profile-meta-stack {
  max-width: min(252px, 100%);
}

.profile-card-head .profile-meta-row.is-mbti .profile-meta-chip {
  color: #ff6f9c;
  background:
    linear-gradient(135deg, rgba(255, 240, 247, 0.98), rgba(236, 255, 251, 0.9)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 184, 205, 0.48);
  box-shadow: 0 8px 18px rgba(255, 143, 171, 0.11);
}

.profile-card-head .profile-meta-row.is-astro .profile-meta-chip {
  color: #65718a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(174, 184, 210, 0.34);
  box-shadow: 0 8px 18px rgba(118, 132, 166, 0.09);
}

.profile-meta-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.profile-card-head .profile-run-badge {
  min-height: 24px;
  padding: 2px 10px;
  color: #ff7da6;
  background:
    linear-gradient(135deg, rgba(255, 226, 238, 0.94), rgba(224, 255, 250, 0.8)),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 184, 205, 0.48);
  box-shadow: 0 12px 24px rgba(255, 143, 171, 0.12);
}

.profile-card-head .profile-run-badge b {
  color: #536078;
}

.announcement-card {
  position: relative;
  overflow: hidden;
  color: #536078;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.92)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 184, 205, 0.34);
}

.announcement-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46px;
  background: url("/assets/bingyu/original/assets/image/friendLetterBiLi.png") center top / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.announcement-card > * {
  position: relative;
  z-index: 1;
}

.time-widget {
  color: #536078;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.9)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 184, 205, 0.34);
}

.time-widget .rail-card-corner-icon {
  display: none;
}

.time-left {
  border-right-color: rgba(84, 96, 120, 0.16);
}

.time-left strong,
.time-bar span {
  color: #536078;
}

.time-left b {
  color: #ff7da6;
}

.time-bar i {
  background: rgba(255, 215, 151, 0.28);
}

.time-bar b,
.time-widget:hover .time-bar b {
  color: #fff;
  background: linear-gradient(90deg, #ffd36e, #ff92b4);
}

.quote-card {
  color: #536078;
  background:
    linear-gradient(135deg, rgba(255, 244, 250, 0.98), rgba(234, 255, 251, 0.86)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 184, 205, 0.34);
}

.quote-card-gif {
  display: none;
}

.quote-card::after {
  border-color: rgba(255, 143, 171, 0.18);
}

.quote-mark {
  color: rgba(255, 143, 171, 0.18);
}

.quote-card p {
  color: #536078;
}

.quote-card small {
  color: #ff7da6;
}

.comment-card blockquote,
.article-content blockquote,
.reply-box {
  color: var(--text-soft);
  background: rgba(255, 143, 171, 0.1);
}

.article-content {
  color: var(--text-soft);
  background: var(--surface);
}

.article-content pre {
  color: #253044;
  background: rgba(244, 248, 252, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
}

.article-content :not(pre) > code {
  color: #0f766e;
  background: rgba(77, 214, 193, 0.12);
}

.article-content th,
.article-content td {
  border-color: rgba(15, 23, 42, 0.1);
}

.article-content th {
  color: var(--text-strong);
  background: rgba(15, 23, 42, 0.045);
}

.comment-form input,
.comment-form textarea,
.message-form input,
.message-form textarea {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(15, 23, 42, 0.11);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder,
.message-form input::placeholder,
.message-form textarea::placeholder {
  color: rgba(104, 117, 138, 0.78);
}

.hero-floating-messages {
  position: absolute;
  inset: calc(var(--site-header-height) + 18px) 0 68px;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-floating-message {
  position: absolute;
  top: var(--msg-top);
  left: var(--msg-left);
  width: min(var(--msg-width), calc(100vw - 40px));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 7px;
  color: rgba(255, 255, 255, 0.95);
  background:
    linear-gradient(135deg, rgba(20, 25, 38, 0.74), rgba(20, 25, 38, 0.5)),
    rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(12, 18, 28, 0.22);
  backdrop-filter: blur(14px) saturate(1.08);
  animation: heroMessageFloat var(--msg-duration, 40s) linear infinite;
  animation-delay: var(--msg-delay, 0s);
  will-change: transform, opacity;
}

.hero-floating-message strong {
  flex: 0 0 auto;
  max-width: 7em;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-floating-message span:last-child {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-floating-avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
}

.hero-floating-avatar .framed-avatar,
.hero-floating-avatar .framed-avatar > img:first-child {
  width: 32px;
  height: 32px;
}

.hero-floating-message-1 {
  background:
    linear-gradient(135deg, rgba(75, 55, 86, 0.72), rgba(25, 30, 45, 0.52)),
    rgba(15, 23, 42, 0.58);
}

.hero-floating-message-2 {
  background:
    linear-gradient(135deg, rgba(18, 75, 91, 0.66), rgba(24, 28, 40, 0.54)),
    rgba(15, 23, 42, 0.58);
}

.hero-floating-message-3 {
  background:
    linear-gradient(135deg, rgba(98, 48, 63, 0.68), rgba(24, 28, 40, 0.52)),
    rgba(15, 23, 42, 0.58);
}

.hero-glass {
  z-index: 4;
}

@keyframes heroMessageFloat {
  0% {
    opacity: 0;
    transform: translate3d(-18vw, 10px, 0) scale(0.98);
  }
  8%,
  82% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: translate3d(18vw, -10px, 0) scale(1);
  }
}

.message-page-shell {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.message-page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: #536078;
}

.message-page-title p {
  max-width: 520px;
  margin: 0;
  color: #8995aa;
  font-size: 15px;
  font-weight: 760;
}

.message-page-hero {
  position: relative;
  min-height: clamp(220px, 34vw, 360px);
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 174, 95, 0.34);
  box-shadow: 0 24px 64px rgba(77, 90, 120, 0.12);
  background: #fff7ee;
}

.message-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 38, 54, 0.2), rgba(255, 248, 235, 0.1)),
    linear-gradient(0deg, rgba(255, 248, 235, 0.42), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.message-page-hero .hero-floating-messages {
  position: absolute;
  inset: 0;
  display: block;
}

.message-page-hero .hero-floating-message {
  top: calc(16% + var(--msg-lane, 0) * 17%);
  left: -32%;
  color: #536078;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 40px rgba(77, 90, 120, 0.16);
}

.message-board-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: #536078;
  background: #fff;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  box-shadow: none;
}

.message-board-panel::before {
  content: none;
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  background: url("/assets/bingyu/original/assets/image/friendLetterBiLi.png") center top / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.message-board-panel::after {
  content: none;
  position: absolute;
  right: 22px;
  top: 18px;
  width: 116px;
  height: 116px;
  background: url("/assets/bingyu/original/assets/image/letterStamp.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.message-board-panel > * {
  position: relative;
  z-index: 1;
}

.message-board-head,
.message-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.message-board-head p {
  margin: 6px 0 0;
  color: #8995aa;
  font-weight: 760;
}

.message-board-head > span,
.message-list-head > span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #f39839;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(255, 174, 95, 0.42);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 920;
  white-space: nowrap;
}

.message-board-panel .message-mode {
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(255, 174, 95, 0.24);
}

.message-board-panel .message-mode button.active {
  color: #202636;
  background: linear-gradient(135deg, rgba(255, 221, 151, 0.96), rgba(255, 246, 235, 0.96));
}

.message-board-panel .message-fields {
  grid-template-columns: 0.88fr 1.12fr;
}

.message-board-panel .message-fields.account {
  grid-template-columns: 1fr;
}

.message-account-identity {
  border-color: rgba(255, 174, 95, 0.26);
}

.message-qq-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 6px 14px 6px 8px;
  color: #536078;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 174, 95, 0.34);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 860;
}

.message-qq-preview[hidden] {
  display: none;
}

.message-qq-avatar,
.message-qq-avatar > .framed-avatar,
.message-qq-avatar img:first-child {
  width: 36px;
  height: 36px;
}

.message-board-panel input,
.message-board-panel textarea {
  color: #202636;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 174, 95, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.message-board-panel input:focus,
.message-board-panel textarea:focus {
  outline: 0;
  border-color: rgba(255, 158, 75, 0.82);
  box-shadow:
    0 0 0 4px rgba(255, 174, 95, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.message-textarea-wrap {
  position: relative;
}

.message-textarea-wrap textarea {
  min-height: clamp(260px, 34vw, 360px);
  padding: 20px;
  padding-right: min(210px, 30%);
  font-size: 16px;
  line-height: 1.8;
}

.message-board-sticker {
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: min(160px, 28%);
  max-height: 128px;
  object-fit: contain;
  opacity: 0.78;
  pointer-events: none;
  filter: drop-shadow(0 14px 24px rgba(77, 90, 120, 0.12));
}

.message-board-panel .message-emoji-row {
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.message-board-panel .message-emoji-row button,
.message-sticker-button {
  width: 42px;
  height: 42px;
  background: rgba(255, 250, 244, 0.92);
  border-color: rgba(255, 174, 95, 0.36);
  border-radius: 14px;
}

.message-sticker-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.message-inline-sticker {
  width: 42px;
  height: 42px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 3px;
}

.message-board-panel .message-dialog-foot {
  align-items: center;
  border-top: 1px dashed rgba(255, 174, 95, 0.34);
  padding-top: 14px;
}

.message-board-panel .message-dialog-foot span {
  color: #c08b53;
  font-weight: 840;
}

.message-list-section {
  display: grid;
  gap: 18px;
}

.message-list-head {
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 174, 95, 0.32);
}

.message-wall {
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.message-card {
  color: #536078;
  background:
    radial-gradient(circle at 94% 18%, rgba(255, 209, 122, 0.2), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 243, 0.92));
  border-color: rgba(255, 174, 95, 0.38);
  box-shadow: 0 16px 36px rgba(77, 90, 120, 0.08);
}

.message-card .feed-author strong {
  color: #536078;
}

.message-card .feed-text {
  color: #5f6d83;
  font-size: 16px;
  line-height: 1.85;
}

.message-card::before {
  opacity: 0.1;
}

.home-footprint-map,
.map-mini,
.footprint-map,
.home-footprint-map.footprint-mode-clean,
.map-mini.footprint-mode-clean,
.footprint-map.footprint-mode-clean {
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 122, 144, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 252, 0.72)),
    #eef4fb;
  border-color: rgba(15, 23, 42, 0.1);
}

.home-footprint-map-amap,
.map-mini-amap,
.footprint-map-amap {
  background: #eef4fb;
}

.amap-map-status,
.footprint-map-hint,
.footprint-info-window {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 34px rgba(77, 90, 120, 0.14);
}

.footprint-info-window::after {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

.footprint-info-title {
  color: var(--text-strong);
}

.footprint-info-meta {
  color: var(--muted);
}

.footprint-info-summary span,
.footprint-info-entry small {
  color: var(--muted);
}

.footprint-info-entry:hover {
  background: rgba(15, 23, 42, 0.06);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes loadbar {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes routeSoftFade {
  from { opacity: 0; transform: scale(0.996); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes routeLiftIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes routeSlideIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes albumFlow {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--flow-loop-distance, 0px))); }
}

@keyframes messageFlow {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--flow-loop-distance, 0px))); }
}

@keyframes backgroundDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 138px 138px, 460px 0, -620px 310px; }
}

@keyframes waveMove {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

@keyframes waveSway {
  0%, 100% { transform: translate3d(-48px, 0, 0) scaleY(0.98); }
  50% { transform: translate3d(52px, 9px, 0) scaleY(1.07); }
}

@keyframes waveLift {
  0%, 100% { transform: translate3d(-34px, 7px, 0) scaleY(0.97); }
  50% { transform: translate3d(38px, -11px, 0) scaleY(1.08); }
}

@keyframes waveSheen {
  0%, 100% { transform: translateX(-45%); opacity: 0.18; }
  45% { transform: translateX(42%); opacity: 0.42; }
}

@keyframes interestWaveDrift {
  0%, 100% { transform: translate3d(-44px, 0, 0) scaleY(0.98); }
  50% { transform: translate3d(46px, 8px, 0) scaleY(1.08); }
}

@keyframes interestWaveLift {
  0%, 100% { transform: translate3d(-30px, 8px, 0) scaleY(0.96); }
  50% { transform: translate3d(34px, -8px, 0) scaleY(1.1); }
}

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

  .effect-gear-button,
  .effect-title-gear {
    animation-duration: 2s !important;
  }

  .falling-piece {
    animation-duration: var(--fall-duration) !important;
  }

  .click-effect-burst i,
  .click-effect-burst.is-ripple i {
    animation-duration: 820ms !important;
  }

  .marquee-row:not(.reverse) > div {
    animation-duration: var(--interest-flow-duration, 28s) !important;
  }

  .marquee-row.reverse > div {
    animation-duration: var(--interest-flow-reverse-duration, 34s) !important;
  }

  .album-cover-track {
    animation-duration: var(--album-flow-duration, 14s) !important;
  }

  .message-flow-track {
    animation-duration: var(--message-flow-duration, 42s) !important;
  }

  .typewriter-caret {
    animation-duration: 0.86s !important;
  }

  .hero-glass .hero-typewriter::before {
    animation-duration: 4.8s !important;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 12px 16px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .life-hero,
  .home-canvas,
  .feature-grid,
  .home-footprints,
  .footprint-page,
  .message-grid {
    grid-template-columns: 1fr;
  }

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

  .footprint-page {
    min-height: auto;
    grid-template-rows: auto auto auto;
  }

  .footprint-side {
    order: 3;
  }

  .footprint-page .footprint-side {
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .footprint-records { max-height: none; }

  .footprint-toolbar > div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .footprint-toolbar button { min-width: 0; padding: 0 4px; font-size: 13px; }
  .footprint-toolbar button small { font-size: 11px; }

  .home-footprints .home-module-head {
    display: flex;
    margin-bottom: 14px;
  }

  .profile-rail {
    grid-row: auto;
  }

  .moment-timeline::before {
    left: 11px;
  }

  .moment-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .moment-time {
    grid-column: 2;
    grid-row: 1;
    justify-items: start;
    padding: 0 0 4px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .moment-dot {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 28px;
  }

  .moment-card {
    grid-column: 2;
    grid-row: 2;
  }

  .tilted-marquee {
    position: relative;
    top: auto;
    left: auto;
    width: 120%;
    margin: 24px 0;
  }

  .article-feed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dynamic-wall-grid {
    grid-template-columns: 1fr;
  }

  .account-private-card {
    padding: 14px;
  }

  .account-private-message {
    max-width: 96%;
  }

  .account-private-dialogue {
    max-height: 300px;
    padding: 10px;
  }

  .account-private-form-foot {
    align-items: stretch;
  }

  .account-private-form-foot .button {
    width: 100%;
    margin-left: 0;
  }

  .account-private-anonymous,
  .account-private-form-foot > span {
    width: 100%;
  }

  .dynamic-wall-card {
    min-height: 0;
  }

  .dynamic-wall-pager {
    justify-content: center;
  }

  .interest-cute-gif {
    top: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .profile-scene-stats {
    left: 0;
    gap: 8px;
  }

  .profile-scene-stat {
    grid-template-columns: 20px auto auto auto;
    min-height: 34px;
    padding: 7px 10px;
    max-width: 156px;
  }

  .profile-scene-stat b {
    font-size: 18px;
  }

  .profile-scene-stat span,
  .profile-scene-stat small {
    font-size: 12px;
  }

  body {
    --mobile-tab-reserve: 0px;
    --music-player-reserve: 0px;
  }

  body[data-mobile-tab-enabled="true"] {
    --mobile-tab-reserve: 88px;
  }

  body[data-mobile-tab-enabled="true"][data-mobile-tab-template="compact"] {
    --mobile-tab-reserve: 68px;
  }

  body[data-mobile-tab-enabled="true"][data-mobile-tab-template="full-rail"],
  body[data-mobile-tab-enabled="true"][data-mobile-tab-template="grid-pull"] {
    --mobile-tab-reserve: 156px;
  }

  body[data-music-player="true"] {
    --music-player-reserve: 84px;
  }

  body[data-mobile-tab-enabled="true"],
  body[data-music-player="true"] {
    padding-bottom: calc(var(--mobile-tab-reserve) + var(--music-player-reserve) + env(safe-area-inset-bottom));
  }

  body[data-mobile-tab-enabled="true"] .music-player {
    bottom: calc(var(--mobile-tab-reserve) + 12px + env(safe-area-inset-bottom));
  }

  body:not([data-mobile-tab-enabled="true"]) .music-player {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .music-player {
    right: 10px;
    left: 10px;
    width: auto;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    border-radius: 20px;
  }

  .music-bottom-right,
  .music-bottom-left {
    right: 10px;
    left: 10px;
  }

  .music-player time {
    display: none;
  }

  #myhkplayer[data-site-player-adapted] {
    --site-myhk-width: min(300px, calc(100vw - 56px));
    box-sizing: border-box !important;
    width: var(--site-myhk-width) !important;
    left: calc(0px - var(--site-myhk-width)) !important;
    transform: none !important;
    transition: left 0.2s ease;
    /* Reserve the rotating 40px effect control and a gap below the player. */
    bottom: calc(var(--mobile-tab-reserve) + var(--music-player-reserve) + 74px + env(safe-area-inset-bottom)) !important;
  }

  #myhkplayer[data-site-player-adapted].myhkshow {
    left: 8px !important;
  }

  #myhkplayer[data-site-player-adapted] .myhkplayer {
    width: 100% !important;
  }

  #myhkplayer[data-site-player-adapted] .switch-player {
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center;
    left: 100% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #edc5d2;
    border-radius: 0 8px 8px 0 !important;
    background: #fff4f7 !important;
    color: #a93657;
    cursor: pointer;
    box-shadow: 2px 3px 12px #2935421f;
    transform: none !important;
  }

  #myhkplayer[data-site-player-adapted] .switch-player > i {
    display: none !important;
  }

  #myhkplayer[data-site-player-adapted] .switch-player::after {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    mask: url("/assets/bingyu/original/assets/font5-awesome/svgs/solid/music.svg") center / contain no-repeat;
  }

  body[data-myhk-collapsed="true"] #myhkTips,
  body[data-myhk-collapsed="true"] #myhkKsc,
  body[data-myhk-collapsed="true"] #myhkLrc {
    display: none !important;
  }

  body[data-myhk-collapsed] #myhkKsc,
  body[data-myhk-collapsed] #myhkLrc {
    bottom: calc(var(--mobile-tab-reserve) + env(safe-area-inset-bottom)) !important;
    pointer-events: none;
  }

  .back-to-top {
    right: 15px;
    bottom: calc(var(--mobile-tab-reserve) + var(--music-player-reserve) + 70px + env(safe-area-inset-bottom));
  }

  .site-effect-dock {
    right: 15px;
    bottom: calc(var(--mobile-tab-reserve) + var(--music-player-reserve) + 18px + env(safe-area-inset-bottom));
  }

  .effect-gear-button {
    width: 40px;
    height: 40px;
  }

  .effect-gear-button img {
    width: 28px;
    height: 28px;
  }

  .effect-panel-layer,
  .wechat-contact-layer {
    padding: 20px;
    align-items: center;
  }

  .effect-panel {
    width: 95%;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
  }

  .effect-panel-head {
    min-height: 57px;
    padding: 12px 16px;
  }

  .effect-panel-head strong {
    font-size: 16px;
  }

  .effect-panel-body,
  .effect-choice-grid {
    padding: 12px 16px 16px;
  }

  .effect-menu-row,
  .effect-choice {
    min-height: 60px;
    padding: 10px;
  }

  .effect-menu-icon,
  .effect-choice-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    font-size: 22px;
  }

  .effect-menu-row strong,
  .effect-choice strong {
    font-size: 14px;
  }

  .effect-menu-row small,
  .effect-choice small {
    font-size: 12px;
  }

  .wechat-contact-card {
    width: 100%;
    padding: 22px;
    border-radius: 22px;
  }

  .wechat-qr-card {
    min-height: 220px;
  }

  .app-shell {
    width: min(100% - 20px, 1240px);
    margin-top: 12px;
  }

  body[data-mobile-tab-enabled="true"] .main-nav {
    display: none;
  }

  .brand-text {
    max-width: 158px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .weather-pill b {
    display: none;
  }

  .hero-floating-messages {
    inset: calc(var(--site-header-height) + 16px) 0 40px;
  }

  .hero-floating-message {
    width: min(var(--msg-width), 82vw);
    min-height: 38px;
    padding: 5px 11px 5px 6px;
  }

  .hero-floating-message:nth-child(n + 5) {
    display: none;
  }

  .hero-floating-message strong,
  .hero-floating-message span:last-child {
    font-size: 12px;
  }

  .hero-floating-avatar,
  .hero-floating-avatar .framed-avatar,
  .hero-floating-avatar .framed-avatar > img:first-child {
    width: 28px;
    height: 28px;
  }

  .message-page-shell {
    gap: 18px;
  }

  .message-page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .message-board-head,
  .message-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .message-board-panel .message-fields {
    grid-template-columns: 1fr;
  }

  .message-textarea-wrap textarea {
    min-height: 230px;
    padding-right: 18px;
  }

  .message-board-sticker {
    right: 14px;
    bottom: 12px;
    width: 96px;
    opacity: 0.36;
  }

  .message-board-panel .message-dialog-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .message-board-panel .message-dialog-foot .button {
    width: 100%;
  }

  .account-profile-grid,
  .account-location-status {
    grid-template-columns: 1fr;
  }

  .account-profile-verification,
  .account-verification-row {
    grid-template-columns: 1fr;
  }

  .account-avatar-field {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-location-control {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .account-location-suggestions {
    right: 50px;
  }

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

  .account-location-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-profile-card {
    padding: 16px;
  }

  .weather-popover {
    top: calc(var(--site-header-height) + 10px);
    right: 10px;
    left: 10px;
    width: auto;
    max-height: max(180px, calc(100svh - var(--site-header-height) - var(--mobile-tab-reserve) - var(--music-player-reserve) - 28px - env(safe-area-inset-bottom)));
    overflow: auto;
  }

  .mobile-tab-bar {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 132;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(44px, 1fr);
    gap: 2px;
    padding: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border: 1px solid rgba(41, 48, 56, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(41, 48, 56, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
  }

  .mobile-tab-bar::-webkit-scrollbar {
    display: none;
  }

  .mobile-tab-bar a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 44px;
    min-height: 54px;
    padding: 3px 2px;
    border-radius: 8px;
    transition: color 0.16s ease;
  }

  .mobile-tab-bar.template-full-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 420px;
    margin: 0 auto;
    padding: 10px;
  }

  .mobile-tab-bar.template-ribbon-scroll {
    grid-auto-flow: column;
    grid-auto-columns: 76px;
    left: 10px;
    right: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-radius: 20px;
    scroll-snap-type: x proximity;
  }

  .mobile-tab-bar.template-ribbon-scroll a {
    scroll-snap-align: center;
  }

  .mobile-tab-bar.template-compact {
    right: 50%;
    left: auto;
    width: min(92vw, 360px);
    transform: translateX(50%);
    border-radius: 18px;
  }

  .mobile-tab-bar.template-compact a {
    min-height: 46px;
  }

  .mobile-tab-bar.template-compact span {
    display: none;
  }

  .mobile-tab-bar.template-grid-pull {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
  }

  .home-canvas {
    width: min(100% - 20px, 1240px);
  }

  .life-hero {
    min-height: max(var(--hero-height-mobile, 76vh), calc(100svh - var(--site-header-height)));
    padding: 22px;
    width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
    padding-bottom: 54px;
  }

  body.home-view .life-hero {
    min-height: max(var(--hero-height-mobile, 76vh), 100svh);
    padding-top: calc(var(--site-header-height) + 22px);
  }

  .site-footer,
  body[data-mobile-tab-enabled="true"] .site-footer,
  body[data-music-player="true"] .site-footer {
    padding-bottom: calc(120px + var(--mobile-tab-reserve) + var(--music-player-reserve) + env(safe-area-inset-bottom));
  }

  .hero-glass h1 {
    font-size: 44px;
  }

  .hero-glass p {
    font-size: 16px;
  }

  .hero-glass .hero-typewriter {
    min-width: 2.8em;
    max-width: 100%;
    min-height: 3em;
    padding: 9px 13px;
    font-size: 18px;
    line-height: 1.5;
    border-radius: 12px;
    white-space: normal;
  }

  .card-grid,
  .public-checklist-grid,
  .important-date-grid,
  .album-grid,
  .album-mosaic,
  .feed-images {
    grid-template-columns: 1fr;
  }

  .message-fields,
  .comment-fields {
    grid-template-columns: 1fr;
  }

  .comment-head,
  .comment-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .message-dialog {
    padding: 22px;
  }

  .footprint-map {
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  body {
    --site-header-height: 66px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: var(--site-header-height);
    padding: 0 14px;
    background:
      linear-gradient(90deg, rgba(255, 244, 250, 0.74), rgba(230, 244, 255, 0.7) 56%, rgba(223, 255, 248, 0.68));
    border-bottom-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 8px 22px rgba(82, 94, 128, 0.1);
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    max-width: min(48vw, 176px);
    font-size: 18px;
    line-height: 1.1;
    text-shadow: none;
  }

  .weather-pill {
    justify-self: end;
    width: auto;
    max-width: 128px;
    min-width: 42px;
    min-height: 42px;
    padding: 0 8px;
    gap: 5px;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(255, 226, 238, 0.78), rgba(238, 247, 255, 0.58)),
      rgba(255, 226, 238, 0.28);
  }

  .weather-pill [data-weather-icon] {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
  }

  .weather-pill span:not([data-weather-icon]) {
    min-width: 0;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
  }

  .avatar-link {
    width: 46px;
    height: 46px;
  }

  .avatar-link img[data-header-avatar] {
    width: 38px;
    height: 38px;
  }

  .avatar-link .avatar-frame-overlay {
    inset: -6px;
    width: calc(100% + 12px) !important;
    height: calc(100% + 12px) !important;
  }

  .life-hero {
    padding-inline: 16px;
  }

  .hero-floating-messages {
    inset: calc(var(--site-header-height) + 12px) 0 44%;
  }

  .hero-floating-message {
    width: min(var(--msg-width), 72vw);
    min-height: 34px;
    padding: 5px 10px 5px 6px;
    opacity: 0.86;
  }

  .hero-floating-message:nth-child(n + 3) {
    display: none;
  }

  .hero-floating-message strong,
  .hero-floating-message span:last-child {
    font-size: 11px;
  }

  .hero-glass {
    max-width: calc(100vw - 32px);
  }

  .hero-glass h1 {
    margin-bottom: 12px;
    font-size: clamp(42px, 15vw, 60px);
    text-shadow: 0 8px 28px rgba(27, 39, 60, 0.28);
  }

  .hero-glass .hero-typewriter {
    max-width: min(342px, calc(100vw - 44px));
    min-height: auto;
    padding: 10px 14px;
    font-size: clamp(17px, 5.1vw, 20px);
    line-height: 1.45;
    border-radius: 18px;
    white-space: normal;
  }

  .message-page-shell {
    gap: 16px;
  }

  .message-board-panel {
    padding: 18px;
    border-radius: 8px;
  }

  .message-board-panel::after {
    width: 86px;
    height: 86px;
    opacity: 0.06;
  }

  .message-board-head .module-title span,
  .message-list-head .module-title span {
    font-size: 22px;
  }

  .message-board-panel .message-mode {
    width: 100%;
  }

  .message-board-panel .message-mode button {
    min-width: 0;
    flex: 1 1 0;
    min-height: 46px;
  }

  .message-textarea-wrap textarea {
    min-height: 184px;
    padding: 16px;
    padding-right: 16px;
    line-height: 1.65;
  }

  .message-board-sticker {
    right: 12px;
    bottom: 10px;
    width: 72px;
    opacity: 0.18;
  }

  .message-board-panel .message-emoji-row {
    gap: 6px;
    max-height: 96px;
    overflow: auto;
    padding-right: 2px;
    scrollbar-width: none;
  }

  .message-board-panel .message-emoji-row::-webkit-scrollbar {
    display: none;
  }

  .message-board-panel .message-emoji-row button,
  .message-sticker-button {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .message-sticker-button img {
    width: 27px;
    height: 27px;
  }

  .account-popover {
    top: calc(var(--site-header-height) + 8px);
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100svh - var(--site-header-height) - 20px - env(safe-area-inset-bottom));
    overflow: auto;
    border-radius: 8px;
  }

  .account-form input,
  .account-profile-grid input,
  .account-profile-grid select,
  .account-verification-row input {
    font-size: 16px;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu-popover[hidden] {
    display: none !important;
  }

  .mobile-menu-popover {
    position: fixed;
    top: calc(var(--site-header-height) + 10px);
    right: 12px;
    left: 12px;
    z-index: 134;
    display: block;
    pointer-events: none;
  }

  .mobile-menu-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 360px);
    margin-left: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 250, 0.86)),
      rgba(255, 255, 255, 0.9);
    box-shadow:
      0 24px 58px rgba(77, 90, 120, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(22px) saturate(1.18);
    pointer-events: auto;
  }

  .mobile-menu-card::before {
    content: none;
  }

  .mobile-menu-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    color: #59657b;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 930;
  }

  .mobile-menu-card a.active {
    color: #172033;
    background: linear-gradient(135deg, rgba(255, 224, 232, 0.86), rgba(231, 255, 250, 0.78));
    box-shadow: 0 10px 24px rgba(255, 143, 171, 0.12);
  }

  .mobile-menu-card .nav-icon {
    width: 21px;
    height: 21px;
    filter: saturate(1.5) drop-shadow(0 4px 8px rgba(77, 90, 120, 0.16));
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    min-height: 58px;
    padding-inline: 10px;
  }

  .site-header::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 10px, transparent 10px 18px);
    background-size: 18px 2px;
    opacity: 0.75;
  }

  .brand-text {
    max-width: min(34vw, 132px);
    font-size: clamp(16px, 4.7vw, 18px);
  }

  .weather-pill {
    max-width: 124px;
    min-height: 40px;
    padding: 0 8px;
  }

  .weather-pill b {
    display: block;
    min-width: 0;
    max-width: 78px;
    overflow: hidden;
    color: #26324a;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .weather-pill [data-weather-icon] {
    width: 26px;
    height: 26px;
  }

  .avatar-link {
    width: 42px;
    height: 42px;
  }

  .avatar-link img[data-header-avatar] {
    width: 34px;
    height: 34px;
  }

  body.home-view .life-hero {
    min-height: clamp(510px, 72svh, 626px);
    padding-top: calc(var(--site-header-height) + 18px);
    padding-bottom: 64px;
  }

  .life-hero {
    width: 100%;
    margin-left: 0;
    padding-inline: 18px;
  }

  .life-hero::before,
  .hero-bg-video,
  .hero-carousel-bg span {
    transform: translateZ(0) scale(1.06);
  }

  .life-hero::after {
    background:
      linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.22) 48%, rgba(17, 24, 39, 0.36)),
      radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.1), transparent 18rem);
  }

  .hero-glass {
    align-self: center;
    transform: translateY(10px);
  }

  .hero-glass h1 {
    margin-bottom: 10px;
    font-size: clamp(34px, 11.5vw, 44px);
    line-height: 1.02;
  }

  .hero-glass .hero-typewriter {
    max-width: min(318px, calc(100vw - 52px));
    padding: 9px 13px;
    font-size: clamp(14px, 4.25vw, 16px);
    line-height: 1.5;
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
      rgba(24, 30, 42, 0.44);
    box-shadow:
      0 14px 30px rgba(15, 23, 42, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .hero-scroll-cue {
    position: absolute;
    right: 0;
    bottom: 34px;
    left: 0;
    z-index: 4;
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px);
  }

  .hero-scroll-cue::before {
    content: "";
    position: absolute;
    inset: 12px 0 0 12px;
    width: 16px;
    height: 16px;
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
    border-radius: 3px;
    filter: drop-shadow(0 3px 8px rgba(15, 23, 42, 0.2));
    transform: rotate(45deg);
    animation: mobileCue 1.4s ease-in-out infinite;
  }

  .home-canvas {
    width: min(100% - 18px, 1240px);
    margin-top: 18px;
    scroll-margin-top: calc(var(--site-header-height) + 14px);
  }

  .home-main {
    gap: 16px;
  }

  .feature-grid {
    gap: 16px;
  }

  .interest-panel,
  .home-module,
  .rail-card,
  .feed-card,
  .post-tile,
  .album-card {
    position: relative;
    border-radius: var(--radius-card);
    border-color: var(--line);
    box-shadow: var(--shadow-card);
  }

  .interest-panel {
    min-height: 0;
    padding: 24px 22px;
  }

  .interest-copy {
    max-width: 300px;
  }

  .interest-copy h2,
  .home-module-head h2 {
    font-size: 23px;
  }

  .interest-copy p:not(.eyebrow) {
    max-width: 286px;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.65;
  }

  .interest-cute-gif {
    width: 46px;
    height: 46px;
  }

  .tilted-marquee {
    position: relative;
    top: auto;
    left: -18px;
    width: calc(100% + 48px);
    margin-top: 18px;
    transform: rotate(-4deg);
  }

  .marquee-row {
    margin: 6px 0 0;
  }

  .marquee-row div {
    gap: 8px;
  }

  .marquee-chip {
    min-width: 82px;
    height: 36px;
    padding-inline: 11px;
    border-radius: 14px;
    color: #46526a;
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(77, 90, 120, 0.1);
    font-size: 13px;
  }

  .interest-chip-icon {
    width: 20px;
    height: 20px;
  }

  .bright-card {
    min-height: 260px;
    padding: 22px;
    border-radius: 24px;
  }

  .bright-card::after {
    content: none;
  }

  .bright-card h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .bright-card p:not(.eyebrow) {
    font-size: 14px;
  }

  .home-module {
    padding: 18px;
  }

  .home-module-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .eyebrow {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .dynamic-wall-grid {
    gap: 14px;
  }

  .dynamic-wall-card {
    min-height: 0;
    border-radius: 22px;
  }

  .dynamic-wall-cover {
    aspect-ratio: 16 / 9;
  }

  .dynamic-wall-body {
    gap: 8px;
    padding: 14px;
  }

  .dynamic-wall-card h3 {
    min-height: 0;
    font-size: 21px;
  }

  .dynamic-wall-summary {
    min-height: 0;
    font-size: 13px;
  }

  .dynamic-wall-page-button {
    width: 34px;
    height: 34px;
  }

  .dynamic-wall-page-status {
    min-width: 66px;
    min-height: 26px;
    font-size: 12px;
  }

}

@keyframes mobileCue {
  0%, 100% {
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    transform: translateY(4px) rotate(45deg);
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 6px;
    padding-inline: 8px;
  }

  .brand-text {
    max-width: 112px;
    font-size: 16px;
  }

  .weather-pill {
    max-width: 112px;
  }

  .weather-pill b {
    display: block;
    max-width: 68px;
  }

  .weather-pill span:not([data-weather-icon]) {
    display: none;
  }

  .hero-floating-message:nth-child(n + 2) {
    display: none;
  }

  .message-board-panel {
    padding: 18px;
  }

  .message-textarea-wrap textarea {
    min-height: 168px;
  }

  .message-board-sticker {
    display: none;
  }

  .account-code-row {
    grid-template-columns: 1fr;
  }

  .account-code-row .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand-text {
    max-width: 96px;
  }

  .weather-pill {
    max-width: 46px;
  }

  .weather-pill b {
    display: none;
  }

  .mobile-menu-button,
  .avatar-link {
    width: 40px;
    height: 40px;
  }
}

.message-page-shell {
  width: 100%;
  max-width: none;
}

.message-page-title,
.message-board-panel,
.message-list-section {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

.message-page-hero {
  width: 100vw;
  min-height: 320px;
  height: 320px;
  margin-left: calc(50% - 50vw);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 224, 236, 0.62), rgba(219, 247, 255, 0.5)),
    #fff7fb;
}

.message-page-hero > img,
.message-hero-carousel-bg,
.message-hero-carousel-bg span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.message-page-hero > img,
.message-hero-carousel-bg span {
  object-fit: cover;
  background-image: var(--message-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.04);
}

.message-hero-carousel-bg {
  z-index: 0;
  overflow: hidden;
}

.message-hero-carousel-bg span {
  opacity: 0;
  transform: translateZ(0) scale(1.08);
  transition: opacity 1.1s ease, transform var(--message-hero-carousel-duration, 7s) ease;
  will-change: opacity, transform;
}

.message-hero-carousel-bg span.active {
  opacity: 1;
  transform: translateZ(0) scale(1.04);
}

.message-page-hero-shade {
  z-index: 1;
}

.message-page-hero .hero-floating-messages {
  z-index: 2;
  inset: 10% 0 12%;
}

.message-page-hero .hero-floating-message {
  top: calc(18% + var(--msg-lane, 0) * 16%);
  left: 0 !important;
  width: min(var(--msg-width), 72vw);
  color: rgba(255, 255, 255, 0.94);
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.72), rgba(23, 32, 51, 0.52)),
    rgba(23, 32, 51, 0.62);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.26);
  animation-name: messageHeroSweep;
  transform: translate3d(110vw, 0, 0);
}

@keyframes messageHeroSweep {
  0% {
    opacity: 0;
    transform: translate3d(110vw, 0, 0) scale(0.98);
  }

  8%,
  84% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    transform: translate3d(-110vw, -8px, 0) scale(1);
  }
}

.account-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.weather-popover {
  overflow: hidden;
  isolation: isolate;
}

.account-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.account-card {
  color: #253149;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 253, 255, 0.82)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 184, 205, 0.42);
}

.account-card::before {
  background-image: url("/assets/bingyu/original/assets/image/friendLetterMiddle.webp");
  opacity: 0.18;
  filter: saturate(1.15) brightness(1.08);
}

.account-user strong,
.account-user span {
  color: #253149;
}

.account-user span {
  color: #667085;
  font-weight: 900;
}

.account-mini-growth {
  position: absolute;
  top: 82px;
  right: 20px;
  z-index: 2;
  color: #344054;
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.86);
}

.account-mini-growth span {
  color: #536078;
}

.account-mini-growth b {
  color: #f2a33b;
}

.account-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 10px;
}

.account-card > .account-actions {
  margin-top: 118px;
}

.account-actions .button {
  min-height: 44px;
  justify-content: center;
  padding-inline: 10px;
  white-space: nowrap;
}

.weather-popover {
  background: #f9fcfe;
  border-color: rgba(190, 225, 255, 0.6);
  border-radius: 8px;
  max-height: calc(100dvh - 160px);
  overflow: auto;
  overflow-wrap: anywhere;
  box-shadow:
    0 22px 58px rgba(77, 90, 120, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.weather-top strong,
.weather-top b {
  color: #253149;
}

.weather-top p,
.weather-note {
  color: #667085;
  font-weight: 500;
}

.weather-icon {
  color: #344054;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.weather-icon .weather-svg {
  opacity: 0.8;
  filter: none;
}

.weather-panel-heading {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: -8px -8px 8px 0;
  font-size: 14px;
}

.weather-panel-heading strong { margin-right: auto; }
.weather-panel-heading button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 6px;
  padding: 12px;
  background: transparent;
  cursor: pointer;
}
.weather-panel-heading button:hover { background: #e7eff5; }
.weather-panel-heading button:disabled { opacity: 0.4; cursor: wait; }
.weather-panel-heading img { width: 16px; height: 16px; opacity: 0.7; }
.weather-note { font-size: 13px; line-height: 1.6; }

.weather-metrics span {
  color: #344054;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

@media (max-width: 720px) {
  .message-page-hero {
    min-height: 220px;
    height: 220px;
  }

  .message-page-hero .hero-floating-message {
    left: -42%;
    width: min(var(--msg-width), 82vw);
  }

  .message-page-hero .hero-floating-message:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 420px) {
  .message-page-hero {
    min-height: 200px;
    height: 200px;
  }

  .message-page-title,
  .message-board-panel,
  .message-list-section {
    width: min(100% - 20px, 1040px);
  }

  .account-actions .button {
    font-size: 14px;
  }
}

/* Article detail reading surface */
.article {
  width: min(1040px, 100%);
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.article-reading-header {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 248, 251, 0.91)),
    #ffffff;
  border: 1px solid rgba(87, 96, 120, 0.12);
  border-radius: 24px;
  box-shadow: 0 22px 56px rgba(77, 90, 120, 0.12);
}

.article-cover-frame {
  position: relative;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  background: #eef2f6;
}

.article-cover-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.7);
}

.article-cover {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 42px 38px;
}

.article-back-link {
  width: fit-content;
  color: #d15f84;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.article-back-link:hover {
  color: #a94063;
}

.article h1 {
  margin: 16px 0 14px;
  color: #344054;
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 38px;
  font-weight: 780;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.article-deck {
  margin: 0 0 20px;
  color: #68758c;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.75;
}

.article .interaction-meta {
  gap: 5px 8px;
  margin-top: 4px;
}

.article .interaction-meta span {
  min-height: 0;
  max-width: none;
  padding: 0;
  overflow: visible;
  color: #778197;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  white-space: normal;
}

.article .interaction-meta span::before {
  display: none;
}

.article .interaction-meta span:not(:last-child)::after {
  margin-left: 8px;
  color: #c3cad5;
  content: "\00b7";
}

.article .post-tags {
  margin-top: 14px;
}

.article .interaction-actions {
  margin: 18px 0 0;
}

.article .interaction-button {
  min-height: 38px;
  padding: 0 15px;
  color: #a44e6c;
  background: rgba(255, 244, 248, 0.92);
  border-color: rgba(231, 143, 172, 0.4);
  border-radius: 12px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 760;
}

.article .interaction-button::before {
  width: auto;
  height: auto;
  flex-basis: auto;
  color: #dc6b91;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  content: "\2661";
  font-size: 17px;
  line-height: 1;
}

.article .interaction-button.is-liked::before {
  content: "\2665";
}

.article-content {
  width: min(900px, calc(100% - 40px));
  margin: 32px auto 0;
  padding: 48px 56px;
  color: #3f4a5f;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(87, 96, 120, 0.12);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(77, 90, 120, 0.1);
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 440;
  line-height: 1.95;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content > :last-child {
  margin-bottom: 0;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 1.45em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #303b50;
  font-family: inherit;
  line-height: 1.45;
}

.article-content h2 {
  margin: 2em 0 0.75em;
  font-size: 28px;
}

.article-content h3 {
  margin: 1.8em 0 0.7em;
  font-size: 23px;
}

.article-content a {
  color: #b34d73;
  text-decoration-color: rgba(179, 77, 115, 0.32);
  text-underline-offset: 4px;
}

.article-content img,
.article-content video {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border: 1px solid rgba(87, 96, 120, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(77, 90, 120, 0.1);
}

.article-content .article-media-gallery {
  columns: 2;
  column-gap: 16px;
  margin: 4px 0 30px;
}

.article-media-gallery > img,
.article-media-gallery > video,
.article-media-gallery > a {
  width: 100%;
  display: block;
  margin: 0 0 16px;
  break-inside: avoid;
}

.article-media-gallery > a > img,
.article-media-gallery > a > video {
  width: 100%;
  margin: 0;
}

.comment-section {
  width: min(900px, 100%);
  margin: 32px auto 0;
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

@media (max-width: 820px) {
  .article-reading-header {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 20px;
  }

  .article-cover-frame {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .article-cover-frame::after {
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.7);
  }

  .article-heading {
    padding: 26px 24px 24px;
  }

  .article h1 {
    margin-top: 12px;
    font-size: 30px;
    line-height: 1.38;
  }

  .article-content {
    width: 100%;
    margin-top: 20px;
    padding: 30px 26px;
    font-size: 17px;
    line-height: 1.9;
  }

  .article-content .article-media-gallery {
    columns: 1;
  }

  .comment-section {
    margin-top: 20px;
  }
}

@media (max-width: 420px) {
  .article-reading-header,
  .article-content {
    border-radius: 18px;
  }

  .article-heading {
    padding: 22px 18px 20px;
  }

  .article h1 {
    font-size: 26px;
    line-height: 1.4;
  }

  .article-deck {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .article-content {
    padding: 24px 18px;
    font-size: 16px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-content h3 {
    font-size: 20px;
  }
}

/* Legacy-inspired immersive article detail */
.article.article-detail {
  width: 100%;
  max-width: none;
  margin: -24px 0 0;
  overflow-x: clip;
  color: #dbe4f1;
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

body:has(.article-detail) {
  overflow-x: clip;
}

body:has(.article-detail) .app-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.article-reading-hero {
  --wave-fill: #0d1526;
  --wave-layer: rgba(19, 31, 52, 0.82);
  --wave-layer-soft: rgba(39, 54, 82, 0.54);
  --wave-mist: rgba(255, 255, 255, 0.12);
  position: relative;
  min-height: 560px;
  height: min(700px, calc(100svh - var(--site-header-height)));
  max-height: 700px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #101929;
}

.article-reading-hero::before {
  position: absolute;
  inset: -2px;
  z-index: 0;
  content: "";
  background-image: var(--article-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.04);
}

.article-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 13, 23, 0.2), rgba(8, 13, 23, 0.08) 38%, rgba(8, 13, 23, 0.58)),
    linear-gradient(90deg, rgba(8, 13, 23, 0.2), transparent 34%, transparent 66%, rgba(8, 13, 23, 0.2));
}

.article-reading-hero .article-heading {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 72px 24px 100px;
  color: #fff;
  text-align: center;
}

.article-reading-hero .article-heading h1 {
  max-width: 1120px;
  margin: 0 16px 8px;
  color: #fff;
  font-family: "Times New Roman", "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.28;
  text-shadow: 0 3px 5px rgba(4, 8, 15, 0.82), 0 1px 2px rgba(4, 8, 15, 0.9);
}

.article-reading-hero .interaction-meta {
  justify-content: center;
  gap: 0;
  margin: 10px 0 0;
}

.article-reading-hero .interaction-meta span {
  min-height: 0;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(5, 9, 16, 0.72);
}

.article-reading-hero .interaction-meta span::before {
  display: none;
}

.article-reading-hero .interaction-meta span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.article-reading-hero .interaction-meta span::after {
  display: none;
}

.article-reading-hero .hero-wave {
  height: 46px;
}

.article-reading-stage {
  min-height: 520px;
  margin-top: -1px;
  padding: 24px 20px 90px;
  background:
    linear-gradient(180deg, rgba(20, 31, 52, 0.4), transparent 260px),
    #0d1526;
}

.article-reading-layout {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 876px) 276px;
  align-items: start;
  gap: 24px;
  margin: 0 auto;
}

.article-reading-main {
  min-width: 0;
  padding: 24px;
  background: #0c1222;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(2, 7, 16, 0.18);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0 0 20px;
  color: #7f8da6;
  border-bottom: 1px solid rgba(191, 206, 231, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.article-breadcrumb a {
  color: #8cb8ff;
  text-decoration: none;
}

.article-breadcrumb b {
  color: #c7d1e1;
}

.article-detail .article-content {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #dddddd;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.72;
}

.article-detail .article-content p {
  margin: 0 0 1.15em;
}

.article-detail .article-content h2,
.article-detail .article-content h3,
.article-detail .article-content h4 {
  color: #f3f6fb;
}

.article-detail .article-content a {
  color: #93c5fd;
  text-decoration-color: rgba(147, 197, 253, 0.38);
}

.article-detail .article-content blockquote {
  color: #dce6f4;
  background: rgba(255, 143, 171, 0.08);
  border-left-color: #ff8fab;
}

.article-detail .article-content img,
.article-detail .article-content video {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.article-detail .article-content .article-media-gallery {
  columns: initial;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 4px 0 26px;
}

.article-detail .article-media-gallery > img,
.article-detail .article-media-gallery > video,
.article-detail .article-media-gallery > a {
  width: 100%;
  margin: 0;
}

.article-story-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 4px 24px;
  color: #7f8da6;
  border-bottom: 1px solid rgba(191, 206, 231, 0.12);
}

.article-story-footer p {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.article-story-footer .post-tags {
  margin: 0;
}

.article-story-footer .tag {
  color: #aebbd0;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(191, 206, 231, 0.12);
}

.article-story-footer .interaction-actions {
  flex: 0 0 auto;
  margin: 0;
}

.article-story-footer [data-interaction-count] {
  color: #9aa8bd;
}

.article-story-footer .interaction-button {
  min-height: 38px;
  color: #ffc0d2;
  background: rgba(255, 143, 171, 0.09);
  border-color: rgba(255, 143, 171, 0.24);
  box-shadow: none;
}

.article-neighbor-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.article-neighbor-link {
  min-height: 106px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 20px;
  color: #dce5f2;
  background: rgba(8, 15, 28, 0.58);
  border: 1px solid rgba(191, 206, 231, 0.11);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.article-neighbor-link:hover {
  background: rgba(18, 30, 50, 0.84);
  border-color: rgba(255, 143, 171, 0.32);
  transform: translateY(-2px);
}

.article-neighbor-link span {
  color: #ff9db8;
  font-size: 12px;
  font-weight: 800;
}

.article-neighbor-link strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-neighbor-link.is-next {
  text-align: right;
}

.article-author-rail {
  position: sticky;
  top: calc(var(--site-header-height) + 24px);
  display: grid;
  gap: 16px;
}

.article-author-card,
.article-recent-card {
  padding: 24px;
  color: #cbd6e6;
  background: rgba(8, 15, 28, 0.66);
  border: 1px solid rgba(191, 206, 231, 0.11);
  border-radius: 6px;
  box-shadow: 0 22px 48px rgba(2, 7, 16, 0.22);
}

.article-author-card {
  overflow: hidden;
  text-align: center;
}

.article-author-cover {
  height: 112px;
  margin: -24px -24px 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.08), rgba(8, 15, 28, 0.5)),
    var(--article-author-cover) center / cover no-repeat;
}

.article-author-avatar {
  display: flex;
  justify-content: center;
  margin: -42px 0 12px;
  position: relative;
  z-index: 1;
}

.article-author-avatar .framed-avatar,
.article-author-avatar .framed-avatar > img:first-child {
  width: 78px;
  height: 78px;
}

.article-author-card > p,
.article-recent-card > p {
  margin: 0;
  color: #ffb2c7;
  font-size: 12px;
  font-weight: 800;
}

.article-author-card h2 {
  margin: 5px 0 8px;
  color: #f4f7fb;
  font-size: 24px;
}

.article-author-location {
  color: #91a0b7;
  font-size: 12px;
  font-weight: 700;
}

.article-author-card blockquote {
  margin: 18px 0;
  padding: 14px 0;
  color: #9facbf;
  border-top: 1px solid rgba(191, 206, 231, 0.1);
  border-bottom: 1px solid rgba(191, 206, 231, 0.1);
  font-size: 13px;
  line-height: 1.75;
}

.article-author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 18px;
}

.article-author-stats div {
  display: grid;
  gap: 3px;
}

.article-author-stats dt {
  color: #f2f6fb;
  font-size: 17px;
  font-weight: 800;
}

.article-author-stats dd {
  margin: 0;
  color: #78869d;
  font-size: 11px;
  font-weight: 700;
}

.article-author-about {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #ffc1d3;
  background: rgba(255, 143, 171, 0.08);
  border: 1px solid rgba(255, 143, 171, 0.22);
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.article-recent-card {
  display: grid;
  gap: 4px;
}

.article-recent-card > p {
  margin-bottom: 6px;
}

.article-recent-card a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  color: #cbd6e6;
  border-bottom: 1px solid rgba(191, 206, 231, 0.09);
  text-decoration: none;
}

.article-recent-card a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-recent-card span {
  color: #718097;
  font-size: 11px;
}

.article-recent-card strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-detail .comment-section {
  width: 100%;
  margin: 24px 0 0;
  padding: 24px 0 0;
  color: #d6dfed;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(191, 206, 231, 0.11);
  border-radius: 0;
  box-shadow: none;
}

.article-detail .comment-head h2,
.article-detail .comment-list-head strong,
.article-detail .comment-card strong {
  color: #f2f6fb;
  text-shadow: none;
}

.article-detail .comment-head span,
.article-detail .comment-actions span,
.article-detail .comment-list-head span,
.article-detail .comment-card span,
.article-detail .comment-card p {
  color: #93a1b6;
}

.article-detail .comment-form,
.article-detail .comment-live-panel,
.article-detail .comment-card {
  color: #d6dfed;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(191, 206, 231, 0.1);
  border-radius: 9px;
}

.article-detail .comment-form input,
.article-detail .comment-form textarea {
  color: #eef3f9;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(191, 206, 231, 0.13);
  border-radius: 8px;
}

.article-detail .comment-form input::placeholder,
.article-detail .comment-form textarea::placeholder {
  color: #6f7e94;
}

.article-detail .comment-account-identity,
.article-detail .comment-ai-reply {
  color: #d6dfed;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(191, 206, 231, 0.11);
}

.article-detail .comment-account-identity b,
.article-detail .comment-ai-reply-head strong {
  color: #eef3f9;
}

.article-detail .comment-account-identity span,
.article-detail .comment-ai-reply p {
  color: #93a1b6;
}

@media (max-width: 980px) {
  .article-reading-layout {
    width: min(876px, 100%);
    grid-template-columns: minmax(0, 1fr);
  }

  .article-author-rail {
    display: none;
  }
}

@media (max-width: 720px) {
  .article-reading-hero {
    min-height: 360px;
    height: 360px;
    max-height: 360px;
  }

  .article-reading-hero .article-heading {
    width: min(100% - 24px, 680px);
    padding: 46px 12px 68px;
  }

  .article-reading-hero .article-heading h1 {
    margin-inline: 0;
    font-size: 26px;
    line-height: 1.38;
  }

  .article-reading-hero .interaction-meta {
    margin-top: 18px;
  }

  .article-reading-stage {
    padding: 16px 8px 68px;
  }

  .article-reading-main {
    padding: 18px 14px;
  }

  .article-detail .article-content {
    font-size: 15px;
    line-height: 1.75;
  }

  .article-story-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-neighbor-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-neighbor-link.is-next {
    text-align: left;
  }

  .article-detail .comment-section {
    padding: 20px 0 0;
  }
}

@media (max-width: 420px) {
  .article-reading-hero {
    min-height: 340px;
    height: 340px;
    max-height: 340px;
  }

  .article-reading-hero .article-heading h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .article-reading-hero .interaction-meta span {
    padding: 0 8px;
    font-size: 12px;
  }

  .article-reading-hero .hero-wave {
    height: 40px;
  }

  .article-reading-stage {
    padding-inline: 6px;
  }

  .article-detail .article-content img,
  .article-detail .article-content video {
    border-radius: 2px;
  }
}

/* Content pages use the site's light sakura palette while retaining the reference layout. */
.article.article-detail {
  color: var(--text-main);
  background: var(--surface-page);
}

.article-reading-hero {
  --wave-fill: #fff8fb;
  --wave-layer: rgba(255, 226, 238, 0.78);
  --wave-layer-soft: rgba(226, 249, 244, 0.72);
  --wave-mist: rgba(255, 255, 255, 0.72);
  min-height: 440px;
  height: 58svh;
  max-height: 620px;
  background: #e9eef6;
}

.article-reading-hero::before {
  transform: scale(1.015);
}

.article-hero-shade {
  background:
    linear-gradient(180deg, rgba(21, 31, 47, 0.14), rgba(21, 31, 47, 0.06) 38%, rgba(39, 48, 66, 0.58)),
    linear-gradient(90deg, rgba(34, 43, 60, 0.12), transparent 38%, transparent 62%, rgba(34, 43, 60, 0.12));
}

.article-reading-hero .article-heading {
  width: min(1120px, calc(100% - 48px));
  padding: 72px 24px 92px;
}

.article-reading-hero .article-heading h1 {
  max-width: 960px;
  margin-bottom: 12px;
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(20, 29, 44, 0.58), 0 1px 3px rgba(20, 29, 44, 0.72);
}

.article-reading-hero .interaction-meta span {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(20, 29, 44, 0.62);
}

.article-reading-stage {
  min-height: 520px;
  padding: 30px 20px 90px;
  background:
    linear-gradient(180deg, rgba(255, 228, 239, 0.42), transparent 240px),
    linear-gradient(90deg, rgba(228, 246, 255, 0.4), transparent 36%, rgba(229, 252, 247, 0.36)),
    #fffafb;
}

.article-reading-layout {
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 846px) 286px;
  gap: 24px;
}

.article-reading-main {
  padding: 30px 34px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 122, 144, 0.14);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(77, 90, 120, 0.12);
}

.article-breadcrumb {
  margin-bottom: 22px;
  padding-bottom: 18px;
  color: var(--text-muted);
  border-bottom-color: rgba(15, 23, 42, 0.09);
}

.article-breadcrumb a {
  color: #d8567f;
}

.article-breadcrumb b {
  color: var(--text-main);
}

.article-deck {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 26px;
  padding: 15px 18px;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff2f7, #f1fffb);
  border: 1px solid rgba(255, 122, 144, 0.15);
  border-radius: 8px;
}

.article-deck svg {
  width: 28px;
  height: 28px;
  color: var(--accent-sakura);
}

.article-deck p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.article-detail .article-content {
  color: #4d586e;
  font-family: "SakuraMiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.9;
}

.article-detail .article-content p {
  margin-bottom: 1.35em;
}

.article-detail .article-content h2,
.article-detail .article-content h3,
.article-detail .article-content h4 {
  color: #344057;
  letter-spacing: 0;
}

.article-detail .article-content h2 {
  margin-top: 2em;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 122, 144, 0.2);
}

.article-detail .article-content h3 {
  position: relative;
  padding-left: 15px;
}

.article-detail .article-content h3::before {
  position: absolute;
  top: 0.35em;
  bottom: 0.35em;
  left: 0;
  width: 4px;
  content: "";
  background: var(--accent-mint);
  border-radius: 4px;
}

.article-detail .article-content a {
  color: #d94f79;
  text-decoration-color: rgba(217, 79, 121, 0.3);
}

.article-detail .article-content blockquote {
  color: #58657a;
  background: #fff4f8;
  border-left-color: var(--accent-sakura);
}

.article-detail .article-content img,
.article-detail .article-content video {
  margin: 18px 0;
  background: #f6f8fb;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(77, 90, 120, 0.1);
}

.article-detail .article-content .article-media-gallery {
  columns: 2 280px;
  display: block;
  column-gap: 14px;
  margin: 4px 0 14px;
}

.article-detail .article-content .article-media-gallery > br {
  display: none;
}

.article-detail .article-media-gallery > img,
.article-detail .article-media-gallery > video,
.article-detail .article-media-gallery > a {
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
}

.article-detail .article-content.is-photo-story {
  line-height: 1;
}

.article-story-footer {
  color: var(--text-muted);
  border-bottom-color: rgba(15, 23, 42, 0.09);
}

.article-story-footer .tag {
  color: #6b7280;
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.09);
}

.article-story-footer [data-interaction-count] {
  color: var(--text-soft);
}

.article-story-footer .interaction-button {
  color: #c93f6a;
  background: #fff0f5;
  border-color: rgba(255, 122, 144, 0.22);
}

.article-neighbor-link {
  min-height: 96px;
  color: var(--text-main);
  background: #fff9fb;
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
}

.article-neighbor-link:hover {
  background: #fff1f6;
  border-color: rgba(255, 122, 144, 0.28);
}

.article-neighbor-link span {
  color: #d94f79;
}

.article-author-card,
.article-recent-card {
  padding: 22px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(77, 90, 120, 0.1);
}

.article-author-cover {
  height: 108px;
  margin: -22px -22px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 246, 250, 0.48)),
    var(--article-author-cover) center / cover no-repeat;
}

.article-author-card > p,
.article-recent-card > p {
  color: #d94f79;
}

.article-author-card h2,
.article-author-stats dt {
  color: #344057;
}

.article-author-location,
.article-author-card blockquote,
.article-author-stats dd,
.article-recent-card span {
  color: var(--text-muted);
}

.article-author-card blockquote {
  border-top-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.article-author-about {
  color: #c93f6a;
  background: #fff0f5;
  border-color: rgba(255, 122, 144, 0.2);
}

.article-recent-card a {
  color: var(--text-main);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.article-detail .comment-section {
  color: var(--text-main);
  border-top-color: rgba(15, 23, 42, 0.09);
}

.article-detail .comment-head h2,
.article-detail .comment-list-head strong,
.article-detail .comment-card strong,
.article-detail .comment-account-identity b,
.article-detail .comment-ai-reply-head strong {
  color: #344057;
}

.article-detail .comment-head span,
.article-detail .comment-actions span,
.article-detail .comment-list-head span,
.article-detail .comment-card span,
.article-detail .comment-card p,
.article-detail .comment-account-identity span,
.article-detail .comment-ai-reply p {
  color: var(--text-muted);
}

.article-detail .comment-form,
.article-detail .comment-live-panel,
.article-detail .comment-card,
.article-detail .comment-account-identity,
.article-detail .comment-ai-reply {
  color: var(--text-main);
  background: #fffafb;
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
}

.article-detail .comment-form input,
.article-detail .comment-form textarea {
  color: var(--text-main);
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.11);
  border-radius: 8px;
}

.article-detail .comment-form input::placeholder,
.article-detail .comment-form textarea::placeholder {
  color: #a0a8b7;
}

/* Life checklist */
.life-checklist-mini-item {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.08);
  border-radius: 8px;
}

.life-checklist-mini-item > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.life-checklist-mini-item > span:nth-child(2) b,
.life-checklist-mini-item > span:nth-child(2) em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.life-checklist-mini-item > span:nth-child(2) b {
  color: var(--text-main);
  font-size: 13px;
}

.life-checklist-mini-item > span:nth-child(2) em {
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.checklist-mini-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--checklist-color, var(--accent-sakura));
  background: transparent;
  border-radius: 8px;
}

.checklist-mini-icon svg,
.checklist-category-icon {
  width: 18px;
  height: 18px;
}

.life-checklist-mini-item small {
  color: var(--text-soft);
  background: #f3f6fa;
}

.category-life { --checklist-color: #d94f79; --checklist-soft: #fff0f5; }
.category-travel { --checklist-color: #3277d5; --checklist-soft: #eef5ff; }
.category-growth { --checklist-color: #168e78; --checklist-soft: #eafbf6; }
.category-experience { --checklist-color: #a36d0f; --checklist-soft: #fff8df; }
.category-creation { --checklist-color: #7657c8; --checklist-soft: #f4f0ff; }
.category-health { --checklist-color: #d45757; --checklist-soft: #fff0f0; }
.category-other { --checklist-color: #687386; --checklist-soft: #f1f4f8; }

.checklist-dashboard {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  margin: 0 auto 18px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 122, 144, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.checklist-progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-weight: 800;
}

.checklist-progress-copy strong {
  color: #d94f79;
  font-size: 24px;
}

.checklist-progress-track {
  grid-column: 1;
  height: 8px;
  overflow: hidden;
  background: #edf1f4;
  border-radius: 999px;
}

.checklist-progress-track i {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--accent-sakura), var(--accent-sun), var(--accent-mint));
  border-radius: inherit;
}

.checklist-dashboard dl {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 10px;
  margin: 0;
}

.checklist-dashboard dl div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 9px 12px;
  background: #f8fafc;
  border-radius: 8px;
}

.checklist-dashboard dt {
  color: #344057;
  font-size: 18px;
  font-weight: 900;
}

.checklist-dashboard dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.checklist-category-filters {
  width: min(1040px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 20px;
}

.checklist-category-filters button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.checklist-category-filters button svg {
  width: 16px;
  height: 16px;
}

.checklist-category-filters button b {
  min-width: 20px;
  padding: 2px 6px;
  color: var(--text-muted);
  background: #f1f4f8;
  border-radius: 999px;
  font-size: 11px;
}

.checklist-category-filters button.active {
  color: #d94f79;
  background: #fff4f8;
  border-color: rgba(255, 122, 144, 0.3);
}

.checklist-category-filters button.active b {
  color: #c64069;
  background: #ffe3ec;
}

.public-checklist-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.checklist-public-card {
  position: relative;
  min-height: 190px;
  align-content: start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(77, 90, 120, 0.1);
}

.checklist-public-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--checklist-color, var(--accent-sakura));
}

.checklist-category-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: var(--checklist-color, var(--accent-sakura));
  background: transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.checklist-public-card h3 {
  color: #344057;
  font-size: 20px;
}

.checklist-public-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.checklist-public-meta {
  margin-top: auto;
}

.checklist-public-meta .checklist-status-label {
  color: var(--checklist-color, var(--text-soft));
  background: var(--checklist-soft, #f3f6fa);
}

.checklist-filter-empty {
  width: min(560px, 100%);
  margin: 18px auto 0;
}

.checklist-filter-empty[hidden] {
  display: none;
}

/* Important dates */
.important-date-summary {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto 20px;
}

.important-date-summary div {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
}

.important-date-summary strong {
  color: #344057;
  font-size: 22px;
}

.important-date-summary span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.important-date-card {
  min-height: 220px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(77, 90, 120, 0.1);
}

.important-date-card::before {
  inset: 0 0 auto;
  width: auto;
  height: 4px;
  background: var(--accent-mint);
  border-radius: 0;
}

.important-date-card.countdown::before { background: var(--accent-sun); }
.important-date-card.birthday::before { background: var(--accent-sakura); }
.important-date-card.custom::before { background: var(--accent-sky); }

.important-date-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
}

.important-date-top span svg {
  width: 15px;
  height: 15px;
}

.important-date-card h3 {
  color: #344057;
  font-size: 20px;
}

.important-date-card p {
  color: var(--text-soft);
  line-height: 1.65;
}

.important-date-count strong {
  color: #344057;
}

.important-date-count time {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.important-date-card.phase-today {
  border-color: rgba(255, 122, 144, 0.28);
  box-shadow: 0 16px 42px rgba(255, 122, 144, 0.13);
}

.important-date-card.phase-past {
  opacity: 0.78;
}

/* Moments, albums and about */
.moment-time b {
  color: #344057;
}

.moment-dot {
  border-color: #fffafb;
}

.moment-card {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(77, 90, 120, 0.1);
}

.moment-row.is-text-only .moment-card {
  min-height: 160px;
  align-content: center;
}

.moment-row.has-media .feed-images img {
  border-radius: 8px;
}

.album-card {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(77, 90, 120, 0.1);
}

.album-card > img,
.album-card > .content-image-wrap > img {
  border-radius: 0;
}

.album-card h3 {
  color: #344057;
}

.album-card.is-single .feed-meta span:first-child {
  color: #3277d5;
}

.album-grid:has(> .album-card:only-child) {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.album-mosaic.count-one {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.album-mosaic.count-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.album-mosaic.count-one img,
.album-mosaic.count-one video {
  aspect-ratio: auto;
  max-height: 80svh;
  object-fit: contain;
}

.album-mosaic img,
.album-mosaic video,
.album-file-tile {
  border-radius: 8px;
}

.album-file-tile {
  color: var(--text-main);
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.09);
}

.album-file-tile span {
  color: var(--text-soft);
  background: #edf2f7;
}

.album-media-frame figcaption,
.album-media-frame figcaption b {
  color: var(--text-main);
}

.about-page-shell {
  width: min(1080px, 100%);
  margin: 26px auto 0;
}

.about-page-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 239, 245, 0.94), rgba(235, 251, 247, 0.92));
  border: 1px solid rgba(255, 122, 144, 0.14);
  border-radius: 8px;
}

.about-page-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #b64c79;
  background: transparent;
  border-radius: 8px;
}

.about-page-icon svg {
  width: 30px;
  height: 30px;
}

.about-page-head h1,
.about-page-head p {
  margin: 0;
}

.about-page-head h1 {
  color: #344057;
  font-size: 34px;
}

.about-page-head > div:last-child > p:last-child {
  margin-top: 7px;
  color: var(--text-soft);
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 20px;
  align-items: start;
}

.about-content-card {
  width: auto;
  margin: 0;
  padding: 30px 34px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(77, 90, 120, 0.1);
}

.about-profile-card {
  position: sticky;
  top: calc(var(--site-header-height) + 20px);
  display: grid;
  justify-items: center;
  padding: 24px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(77, 90, 120, 0.1);
}

.about-profile-card .framed-avatar,
.about-profile-card .framed-avatar > img:first-child {
  width: 82px;
  height: 82px;
}

.about-profile-card > p {
  margin: 14px 0 3px;
  color: #d94f79;
  font-size: 12px;
  font-weight: 900;
}

.about-profile-card h2 {
  margin: 0 0 18px;
  color: #344057;
}

.about-profile-card nav {
  width: 100%;
  display: grid;
  gap: 7px;
}

.about-profile-card nav a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  color: var(--text-soft);
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.about-profile-card nav span {
  color: #d94f79;
}

@media (max-width: 980px) {
  .article-reading-layout {
    width: min(846px, 100%);
  }

  .about-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-profile-card {
    position: static;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .about-profile-card nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .checklist-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist-dashboard dl {
    grid-column: 1;
    grid-row: auto;
  }

  .checklist-category-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .checklist-category-filters::-webkit-scrollbar {
    display: none;
  }

  .checklist-category-filters button {
    flex: 0 0 auto;
  }

  .important-date-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .album-mosaic.count-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .article-reading-hero {
    min-height: 320px;
    height: 320px;
    max-height: 320px;
  }

  .article-reading-hero .article-heading {
    width: calc(100% - 28px);
    padding: 42px 10px 62px;
  }

  .article-reading-hero .article-heading h1 {
    font-size: 26px;
    line-height: 1.42;
  }

  .article-reading-stage {
    padding: 14px 8px 68px;
  }

  .article-reading-main {
    padding: 20px 16px;
  }

  .article-detail .article-content {
    font-size: 16px;
    line-height: 1.82;
  }

  .article-detail .article-content .article-media-gallery {
    columns: 1;
  }

  .article-detail .article-content img,
  .article-detail .article-content video {
    border-radius: 8px;
  }

  .about-page-head {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 20px;
  }

  .about-page-icon {
    width: 48px;
    height: 48px;
  }

  .about-page-head h1 {
    font-size: 27px;
  }

  .about-content-card {
    padding: 24px 18px;
  }
}

@media (max-width: 460px) {
  .checklist-dashboard {
    padding: 16px;
  }

  .checklist-dashboard dl {
    gap: 6px;
  }

  .checklist-dashboard dl div {
    padding: 8px 6px;
  }

  .important-date-summary {
    gap: 6px;
  }

  .important-date-summary div {
    padding: 11px 6px;
  }

  .important-date-summary strong {
    font-size: 19px;
  }

  .moment-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
  }

  .moment-timeline::before {
    left: 11px;
  }

  .moment-time b {
    font-size: 14px;
  }

  .about-profile-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
}

.photo-view-link {
  display: block;
  min-width: 0;
  cursor: zoom-in;
}

.content-image-wrap,
.photo-view-link {
  position: relative;
}

.content-image-wrap { display: block; min-width: 0; }
.article-content img:not([width]),
.article-content img:not([height]) { aspect-ratio: auto 16 / 10; }
.dynamic-wall-cover > .content-image-wrap { height: 100%; }
.has-media-error { background: #edf1f3; border-radius: 8px; }
.has-media-error > img.is-unavailable { opacity: 0; min-height: 130px; aspect-ratio: 16 / 10; }
.content-image-failure {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  color: #5a6975;
  font-size: 13px;
  text-align: center;
}
.content-image-failure::before,
.feed-file-tile > span {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: currentColor;
  mask: url("/assets/bingyu/original/assets/font5-awesome/svgs/regular/image.svg") center / contain no-repeat;
}
.feed-file-tile > span { mask-image: url("/assets/bingyu/original/assets/font5-awesome/svgs/regular/file-alt.svg"); }
.content-media-player {
  display: grid;
  align-content: start;
  min-width: 0;
  max-width: 100%;
  break-inside: avoid;
}
.content-media-player > video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 72svh;
  object-fit: contain;
  background: #111;
  border-radius: 8px;
}
.content-media-player > audio { width: 100%; min-width: 0; }
.content-media-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px 4px 12px;
  background: #f1f4f5;
  color: #4c5863;
  font-size: 13px;
  line-height: 1.5;
}
.content-media-status[hidden] { display: none; }
.content-media-retry {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  color: #345f71;
  background: #e3edf1;
  cursor: pointer;
}
.content-media-retry::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("/assets/bingyu/original/assets/font5-awesome/svgs/solid/redo.svg") center / contain no-repeat;
}
.content-media-retry:disabled { opacity: 0.5; cursor: wait; }
.pswp__error-msg .content-media-retry { display: grid; margin: 16px auto 0; }
.feed-file-tile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce4e8;
  border-radius: 8px;
  background: #f1f5f6;
  color: #435b6a;
  overflow-wrap: anywhere;
}
.feed-images > :is(.content-media-player, .feed-file-tile) { grid-column: 1 / -1; }
.feed-images:has(> :is(.content-media-player, .feed-file-tile)) { grid-auto-rows: auto; }

.feed-images > .photo-view-link,
.feed-images > .photo-view-link > img {
  width: 100%;
  height: 100%;
}

.pswp {
  z-index: 10000;
}

/* Collection layout owns card internals, including metadata, at every viewport. */
.content-collection {
  width: min(1120px, 100%);
  margin: 32px auto 48px;
  color: #334252;
}

.collection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.collection-head h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
}

.collection-head > span {
  color: #697686;
  font-size: 14px;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.collection-search {
  flex: 1 1 220px;
  min-width: 0;
}

.collection-filter {
  flex: 0 1 auto;
  min-width: 0;
}

.collection-filters {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.collection-toolbar :is(input, select) {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  color: #334252;
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 6px;
  font-size: 14px;
}

.collection-toolbar .collection-submit {
  min-height: 44px;
  padding: 9px 20px;
  color: #fff;
  background: #287f7b;
  border: 1px solid #287f7b;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
}

.content-collection :is(.card-grid, .album-grid) {
  align-items: stretch;
  gap: 24px;
}

.content-collection :is(.post-tile, .album-card) {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border-color: #e4e8eb;
  background: #fff;
  box-shadow: 0 2px 10px rgba(45, 55, 70, 0.035);
}

.content-collection .post-cover {
  display: block;
  flex: 0 0 auto;
}

.content-collection :is(.post-cover img, .album-card > img, .album-card > .content-image-wrap > img) {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf1f2;
}

.content-collection .content-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  gap: 10px;
  min-width: 0;
  padding: 18px;
}

.content-collection .content-card-body h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.content-collection .feed-type {
  color: #247771;
  font-size: 12px;
}

.content-collection .card-summary {
  min-height: 0;
  margin: 0;
  color: #637181;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.content-collection :is(.post-tags, .feed-meta) {
  padding: 0;
  gap: 6px 12px;
}

.content-collection .feed-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eef0f2;
}

.content-collection .feed-meta > span {
  min-height: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #6a7380;
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.content-collection .feed-meta > span::before {
  display: none;
}

.collection-empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 64px 16px;
  text-align: center;
}

.collection-empty h2 {
  font-size: 20px;
}

.collection-empty p {
  color: #697686;
  font-size: 14px;
}

.collection-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.collection-pagination button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #334252;
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 6px;
  font-size: 20px;
}

.collection-pagination button:disabled {
  opacity: 0.4;
}

@media (max-width: 720px) {
  .content-collection {
    margin-block: 20px 32px;
  }

  .collection-head {
    margin-bottom: 16px;
  }

  .collection-head h1 {
    font-size: 24px;
  }

  .collection-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 20px;
  }

  .collection-search {
    grid-column: 1;
    grid-row: 1;
  }

  .collection-submit {
    grid-column: 2;
    grid-row: 1;
  }

  .collection-filters {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px;
  }

  .collection-filters .collection-filter {
    flex: 1;
  }

  .content-collection :is(.card-grid, .album-grid) {
    gap: 20px;
  }

  .content-collection .content-card-body h2 {
    font-size: 18px;
  }
}

/* Article layout follows the reference site's calm single-column reading rhythm. */
.article-reading-hero {
  height: auto;
  min-height: clamp(300px, 42svh, 380px);
  max-height: none;
}

.article-reading-hero .article-heading h1 {
  font-size: 36px;
}

.article-reading-layout {
  display: block;
  width: min(1120px, 100%);
}

.article-reading-main {
  width: 100%;
  padding: 36px 48px;
  box-shadow: 0 18px 52px rgba(77, 90, 120, 0.1);
}

.article-breadcrumb,
.article-deck,
.article-content,
.article-story-footer,
.article-neighbor-nav,
.article-author-rail,
.article-detail .comment-section {
  width: min(920px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.article-author-rail {
  position: static;
  display: block;
  margin-top: 30px;
}

.article-author-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: visible;
  padding: 22px 4px;
  color: var(--text-main);
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(37, 49, 74, 0.1);
  border-bottom: 1px solid rgba(37, 49, 74, 0.1);
  border-radius: 0;
  box-shadow: none;
}

.article-author-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  text-align: left;
}

.article-author-cover {
  display: none;
}

.article-author-avatar {
  margin: 0;
}

.article-author-avatar .framed-avatar,
.article-author-avatar .framed-avatar > img:first-child {
  width: 64px;
  height: 64px;
}

.article-author-copy > p {
  margin: 0;
  color: #d95077;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.article-author-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.article-author-card h2 {
  margin: 0;
  color: #344057;
  font-size: 20px;
  line-height: 1.35;
}

.article-author-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.article-author-location svg {
  width: 14px;
  height: 14px;
  color: #ef7898;
}

.article-author-card blockquote {
  margin: 0;
  padding: 0;
  color: #7c879b;
  border: 0;
  font-size: 13px;
  line-height: 1.65;
}

.article-author-about {
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  color: #c7436a;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.article-author-about svg {
  width: 17px;
  height: 17px;
  transition: transform 160ms ease;
}

.article-author-about:hover svg {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .article-reading-hero {
    height: auto;
    min-height: 300px;
    max-height: none;
  }

  .article-reading-hero .article-heading h1 {
    font-size: 26px;
  }

  .article-reading-main {
    padding: 22px 16px;
  }

  .article-author-rail {
    margin-top: 24px;
  }

  .article-author-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 2px;
  }

  .article-author-avatar .framed-avatar,
  .article-author-avatar .framed-avatar > img:first-child {
    width: 50px;
    height: 50px;
  }

  .article-author-about {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .article-author-card h2 {
    font-size: 18px;
  }
}

/* Account forms and messages share a compact, readable work surface. */
.account-page-head,
.account-page {
  width: min(100%, 820px);
  margin-inline: auto;
}

.account-page-head {
  margin-block: 24px;
  text-align: left;
}

.account-page-head h1 {
  margin: 0;
  color: #303944;
  font-size: 26px;
  line-height: 1.3;
}

.account-page {
  gap: 28px;
  padding: 0 0 32px;
  font-family: "SakuraMiSans", "Microsoft YaHei", system-ui, sans-serif;
}

.account-session-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid #dce1e5;
}

.account-session-notice p {
  flex: 1 1 220px;
  margin: 0;
  color: #8b4354;
  font-size: 14px;
}

.footprint-toolbar h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.account-card.account-form {
  gap: 22px;
  padding: 20px;
  color: #303944;
  background: #fff;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  box-shadow: none;
}

.account-card.account-form::before {
  display: none;
}

.account-form-wide {
  width: min(100%, 460px);
}

.account-form form {
  gap: 16px;
}

.account-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.account-form label > span {
  color: #46515e;
  font-size: 13px;
  font-weight: 600;
}

.account-form input,
.account-profile-grid input,
.account-verification-row input {
  min-width: 0;
  border: 1px solid #cbd3d9;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.account-mode-tabs {
  padding: 3px;
  border: 0;
  border-radius: 6px;
  background: #f1f4f5;
}

.account-mode-tabs button {
  min-height: 38px;
  border-radius: 4px;
  color: #586575;
  font-weight: 600;
}

.account-mode-tabs button.active {
  color: #226b61;
  background: #fff;
  box-shadow: 0 1px 3px #26323b1a;
}

.account-code-row,
.account-verification-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.account-code-row .button,
.account-verification-row .button {
  width: auto;
  min-height: 44px;
  min-width: 108px;
  padding-inline: 12px;
  border-radius: 6px;
}

.account-page .button {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: none;
}

.account-page .button.primary {
  background: #287a6e;
  border-color: #287a6e;
  color: #fff;
}

.account-page .button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.account-page .account-profile-card,
.account-page .account-private-card,
.account-page .account-growth,
.account-page .account-edit-details,
.account-page .account-avatar-field,
.account-page .account-frame-picker {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.account-page .account-growth,
.account-page .account-private-card {
  padding-block: 20px;
  border-block: 1px solid #dce1e5;
}

.account-page .account-private-card {
  overflow: visible;
  border-bottom: 0;
}

.account-growth-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.account-growth-stats span {
  min-height: 42px;
  padding: 4px 0;
  background: none;
  border: 0;
}

.account-growth-bar {
  height: 5px;
}

.account-growth-bar i {
  background: #489f90;
}

.account-growth-main > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-growth-level {
  background: #e0efe9;
  color: #276658;
  border-radius: 4px;
  box-shadow: none;
}

.account-edit-details > summary {
  min-height: 44px;
  padding: 0;
  font-weight: 600;
}

.account-edit-details > summary::after {
  border: 0;
  background: none;
  box-shadow: none;
}

.account-edit-panel {
  gap: 22px;
  padding: 16px 0 0;
}

.account-page .account-avatar-field {
  align-items: center;
  flex-direction: row;
  gap: 24px;
  padding: 8px;
}

.account-avatar-preview,
.account-avatar-preview .framed-avatar,
.account-avatar-preview .framed-avatar > img:first-child {
  width: 58px;
  height: 58px;
}

.account-frame-picker-head strong,
.account-private-head strong {
  font-size: 16px;
  font-weight: 600;
}

.account-frame-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.account-frame-option {
  min-width: 0;
  min-height: 98px;
  padding: 16px 4px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.account-frame-option:hover,
.account-frame-option.active {
  transform: none;
  background: #fff;
  box-shadow: none;
  border-color: #408f82;
}

.account-frame-option:focus-within {
  outline: 2px solid #287a6e;
  outline-offset: 2px;
}

.account-frame-option .framed-avatar,
.account-frame-option .framed-avatar > img:first-child {
  width: 38px;
  height: 38px;
}

.account-frame-option input {
  inset: 5px auto auto 5px;
  width: 12px;
  height: 12px;
}

.account-profile-verification {
  padding: 12px;
  border-radius: 6px;
  border-color: #d8e4df;
  background: #f2f7f5;
}

.account-page .account-location-status {
  flex-direction: row;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
}

.account-private-dialogue {
  min-height: 160px;
  max-height: 380px;
  border-radius: 6px;
  border: 1px solid #dce1e5;
  background: #f5f7f8;
}

.account-private-bubble {
  border-radius: 8px;
  box-shadow: none;
}

.account-private-form textarea {
  min-height: 90px;
  border-color: #cbd3d9;
  border-radius: 6px;
}

.account-private-emoji-row button {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

.account-private-form-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.account-private-form-foot .button {
  width: auto;
  min-width: 72px;
}

.account-private-form-foot > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-private-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9a384a;
}

.account-private-head > .account-private-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-private-tool {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 9px;
  border: 1px solid #d9dfe3;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.account-private-tool img {
  display: block;
  width: 14px;
  height: 14px;
  opacity: 0.65;
}

.account-private-tool:hover:not(:disabled) {
  border-color: #6d9b8a;
  background: #eef6f2;
}

.account-private-tool:disabled {
  opacity: 0.4;
  cursor: default;
}

.account-private-layout {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.account-private-layout.is-owner {
  grid-template-columns: 220px minmax(0, 1fr);
}

.account-private-sidebar,
.account-private-conversation {
  min-width: 0;
}

.account-private-conversation {
  display: grid;
  align-content: start;
  gap: 12px;
}

.account-private-thread-title,
.account-private-conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  margin-bottom: 6px;
  font-size: 13px;
}

.account-private-conversation-head {
  margin: 0;
}

.account-private-conversation-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
}

.account-private-thread-title > span,
.account-private-conversation-head > span {
  flex: 0 0 auto;
  color: #697780;
  font-size: 12px;
}

.account-private-sidebar .account-private-threads {
  display: grid;
  gap: 2px;
  max-height: 430px;
  overflow: auto;
}

.account-private-sidebar .account-private-threads button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 8px;
  min-width: 0;
  max-width: none;
  min-height: 62px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

.account-private-sidebar .account-private-threads button:hover {
  background: #f1f4f5;
}

.account-private-sidebar .account-private-threads button.active {
  color: #245e4c;
  background: #eaf3ee;
}

.account-private-threads button > span {
  font-size: 13px;
  font-weight: 600;
}

.account-private-threads button > small {
  grid-column: 1 / -1;
  color: #738087;
  font-size: 12px;
  font-weight: 400;
}

.account-private-thread-count {
  min-width: 19px;
  padding: 2px 5px;
  color: #fff;
  border-radius: 10px;
  background: #ba5266;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}

.account-private-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 10px;
  font-size: 12px;
}

.account-private-first,
.account-private-older,
.account-private-latest {
  justify-self: center;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: #326b5a;
  font-size: 12px;
  cursor: pointer;
}

.account-private-first {
  display: block;
  margin: 4px auto 0;
}

.account-private-conversation .account-private-dialogue {
  min-height: 190px;
  max-height: 430px;
  margin: 0;
  border: 0;
  border-radius: 4px;
}

.account-private-bubble header {
  flex-wrap: wrap;
  gap: 4px 12px;
}

.account-private-bubble strong,
.account-private-bubble time,
.account-private-bubble p {
  font-weight: 400;
}

.account-private-bubble strong {
  font-weight: 600;
}

.account-private-message.is-self .account-private-bubble {
  background: #edf5ef;
  border-color: #d7e8dd;
}

.account-private-form-foot [data-private-message-note].is-error {
  color: #9a384a;
}

@media (max-width: 680px) {
  .account-private-layout.is-owner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .account-private-sidebar .account-private-threads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 150px;
  }

  .account-private-tool {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .account-private-conversation .account-private-dialogue {
    max-height: 360px;
    padding: 10px;
  }

  .account-private-message {
    max-width: 96%;
  }

  .account-private-form-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .account-private-form-foot > span[data-private-message-note] {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .account-private-form-foot > span[data-private-message-note]:empty {
    display: none;
  }
}

[data-account-note]:empty,
[data-account-page-note]:empty {
  display: none;
}

/* ==========================================================================
   Phone display scheme (≤720px)
   Phones get their own presentation instead of a squeezed desktop layout:
   an app-style header that keeps the full site name, floating helpers that
   step aside while reading, live-feed rows instead of tall cards, and
   touch-sized controls. Desktop rules above are unaffected.
   ========================================================================== */
@media (max-width: 720px) {
  /* App bar: full site name, weather reduced to icon + temperature. */
  .brand {
    min-width: 0;
  }

  .brand-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-size: 17px;
    letter-spacing: 0.01em;
  }

  .weather-pill {
    max-width: none;
    gap: 2px;
    padding: 0 10px 0 6px;
  }

  .weather-pill b {
    display: block;
    max-width: none;
    overflow: visible;
  }

  .weather-pill [data-weather-mini] .weather-mini-city {
    display: none;
  }

  .weather-pill [data-weather-mini] .weather-mini-temp {
    display: inline;
    max-width: none;
    font-size: 13px;
  }

  /* Floating helpers step aside while scrolling down (see setupMobileScrollChrome). */
  .effect-gear-button {
    transition: opacity 0.25s ease, translate 0.28s ease;
  }

  .back-to-top {
    transition: opacity 0.25s ease, transform 0.25s ease, translate 0.28s ease, visibility 0s linear 0.25s, background-color 0.2s ease, color 0.2s ease;
  }

  .back-to-top.is-visible {
    transition: opacity 0.25s ease, transform 0.25s ease, translate 0.28s ease, visibility 0s, background-color 0.2s ease, color 0.2s ease;
  }

  #myhkplayer[data-site-player-adapted] {
    transition: left 0.2s ease, translate 0.28s ease;
  }

  body[data-scroll-dir="down"] .effect-gear-button,
  body[data-scroll-dir="down"] .back-to-top {
    translate: 76px 0;
    opacity: 0;
    pointer-events: none;
  }

  body[data-scroll-dir="down"] #myhkplayer[data-site-player-adapted]:not(.myhkshow) {
    translate: -60px 0;
  }

  /* Live feed: compact media rows with a thumbnail, like a phone feed. */
  .dynamic-wall-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .dynamic-wall-card {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 0;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(33, 40, 58, 0.07);
  }

  .dynamic-wall-cover {
    aspect-ratio: auto;
    height: 100%;
    min-height: 108px;
  }

  .dynamic-wall-card.is-text-only {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .dynamic-wall-card.is-text-only .dynamic-wall-cover {
    min-height: 0;
  }

  .dynamic-wall-card.is-text-only .dynamic-wall-type {
    display: none;
  }

  .dynamic-wall-cover-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .dynamic-wall-cover-mark img,
  .dynamic-wall-cover-mark .local-icon {
    width: 17px;
    height: 17px;
  }

  .dynamic-wall-type {
    left: 6px;
    top: 6px;
    min-height: 20px;
    gap: 3px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 10px;
  }

  .dynamic-wall-type > img {
    width: 9px;
    height: 9px;
  }

  .dynamic-wall-body {
    gap: 4px;
    padding: 10px 12px;
  }

  .dynamic-wall-date {
    font-size: 11px;
  }

  .dynamic-wall-card h3 {
    min-height: 0;
    font-size: 15.5px;
    line-height: 1.35;
  }

  .dynamic-wall-summary {
    min-height: 0;
    font-size: 12.5px;
    line-height: 1.5;
    -webkit-line-clamp: 1;
  }

  .dynamic-wall-meta {
    gap: 4px 10px;
    padding-top: 6px;
  }

  .dynamic-wall-meta .dynamic-wall-meta-item {
    font-size: 11px;
  }

  .dynamic-wall-card:hover .dynamic-wall-cover img {
    transform: none;
  }

  /* Touch-sized controls. */
  .interaction-button {
    min-height: 36px;
    padding: 0 14px;
  }

  .rail-card-head > a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: -6px -8px 0 0;
    padding: 0 12px;
    border-radius: 999px;
  }
}
