html body {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 205, 226, 0.70), transparent 27%),
    radial-gradient(circle at 82% 18%, rgba(209, 231, 255, 0.62), transparent 28%),
    radial-gradient(circle at 48% 72%, rgba(223, 255, 246, 0.56), transparent 34%),
    linear-gradient(180deg, rgba(255, 247, 252, 0.98) 0%, rgba(255, 255, 255, 0.96) 46%, rgba(249, 246, 255, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(255, 143, 184, 0.08) 0 1px, transparent 1px 28px) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 30%, rgba(255, 255, 255, 0.70) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 62%, rgba(255, 255, 255, 0.58) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(255, 217, 231, 0.30), transparent 18%, transparent 82%, rgba(214, 246, 240, 0.30)),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(255, 163, 199, 0.065) 64px 65px);
  background-size: 120px 120px, 150px 150px, auto, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 168, 204, 0.38) 0 3px, transparent 4px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 185, 213, 0.12), transparent 12%, transparent 88%, rgba(255, 185, 213, 0.12));
  mask-image: linear-gradient(90deg, #000 0 8%, transparent 18% 82%, #000 92% 100%);
}

#root {
  position: relative;
  z-index: 1;
}

#root :is(.semi-layout, .semi-layout-content, .semi-layout-sider, .semi-navigation, .semi-table, .semi-table-container) {
  background-color: rgba(255, 252, 254, 0.80) !important;
  backdrop-filter: blur(12px) saturate(1.08);
}

#root :is(header, .semi-navigation, .semi-card, .semi-table-container, .semi-modal-content, .semi-popover-content, .semi-dropdown-menu, .semi-list, .semi-tabs-bar) {
  border-color: rgba(255, 168, 205, 0.34) !important;
  box-shadow:
    0 14px 36px rgba(255, 129, 178, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

#root :is(.semi-card, .semi-table-container, .semi-modal-content, .semi-popover-content, .semi-dropdown-menu) {
  border-radius: 8px !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,250,253,0.76)),
    radial-gradient(circle at 96% 8%, rgba(255, 206, 227, 0.28), transparent 18%) !important;
}

#root :is(.semi-card, .semi-table-container, .semi-modal-content)::before {
  content: "";
  display: block;
  height: 8px;
  margin: -1px -1px 8px;
  border-radius: 8px 8px 0 0;
  background:
    radial-gradient(circle at 7px 8px, rgba(255, 151, 194, 0.30) 0 5px, transparent 6px) 0 0 / 18px 9px repeat-x,
    linear-gradient(90deg, rgba(255, 188, 216, 0.42), rgba(198, 231, 255, 0.30), rgba(216, 246, 239, 0.34));
  pointer-events: none;
}

#root :is(.semi-button, button, [role="button"], a[class*="button"], a[class*="Button"]) {
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.74), rgba(255,239,247,0.50)),
    linear-gradient(135deg, rgba(255, 153, 197, 0.30), rgba(185, 167, 255, 0.22), rgba(139, 216, 205, 0.24)) !important;
  border: 1px solid rgba(255, 169, 207, 0.70) !important;
  color: #d83f86 !important;
  font-weight: 700 !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88),
    0 0 8px rgba(255, 198, 224, 0.58) !important;
  box-shadow:
    0 8px 18px rgba(255, 137, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

#root :is(.semi-button-primary, button[class*="primary"], .semi-button-light, .semi-button-secondary, .semi-button-tertiary, .semi-button-danger) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(255,235,246,0.30) 48%, rgba(255,255,255,0.12) 100%),
    linear-gradient(135deg, #ff8ab7 0%, #d9b8ff 48%, #8bd8cd 100%) !important;
  border-color: rgba(255, 178, 213, 0.86) !important;
  color: #ffffff !important;
  text-shadow:
    0 1px 1px rgba(176, 52, 118, 0.38),
    0 0 7px rgba(255, 255, 255, 0.75),
    0 0 13px rgba(255, 214, 232, 0.55) !important;
}

#root :is(.semi-button svg, button svg, [role="button"] svg),
#root :is(.semi-button .semi-icon, button .semi-icon, [role="button"] .semi-icon) {
  color: currentColor !important;
  fill: currentColor;
}

#root :is(.semi-badge-count) {
  background: #fff1f7 !important;
  border-color: rgba(255, 158, 198, 0.58) !important;
  color: #e94f94 !important;
}

#root :is(.semi-button, button, a) {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#root :is(.semi-button, button):hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,229,242,0.42)),
    linear-gradient(135deg, #ff7daf 0%, #c9b3ff 48%, #80d8ca 100%) !important;
  border-color: rgba(255, 130, 186, 0.96) !important;
  color: #ffffff !important;
  text-shadow:
    0 1px 1px rgba(176, 52, 118, 0.38),
    0 0 7px rgba(255, 255, 255, 0.82),
    0 0 14px rgba(255, 214, 232, 0.62) !important;
  box-shadow:
    0 10px 24px rgba(255, 122, 177, 0.25),
    0 0 0 3px rgba(255, 228, 240, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

#root :is(input, textarea, .semi-input-wrapper, .semi-select, .semi-select-selection, .semi-datepicker) {
  border-color: rgba(255, 153, 193, 0.30) !important;
  box-shadow: 0 0 0 0 rgba(255, 153, 193, 0);
}

#root :is(input, textarea, .semi-input-wrapper):focus-within {
  border-color: rgba(255, 112, 170, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(255, 153, 193, 0.16) !important;
}

#root :is(.semi-tabs-tab-active, .semi-navigation-item-selected, .semi-navigation-item-active) {
  color: #f05f9c !important;
  background: rgba(255, 223, 236, 0.45) !important;
}

#root :is(.semi-table-row:hover, .semi-navigation-item:hover) {
  background-color: rgba(255, 232, 242, 0.52) !important;
}

#memeng-dream-decor {
  position: fixed;
  inset: 0;
  z-index: 2147482998;
  pointer-events: none;
  overflow: hidden;
}

.memeng-lace-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 22px;
  opacity: 0.58;
  background:
    radial-gradient(circle at 10px 0, transparent 0 9px, rgba(255, 169, 206, 0.34) 10px 12px, transparent 13px) 0 0 / 24px 22px repeat-x,
    linear-gradient(180deg, rgba(255, 232, 243, 0.55), rgba(255,255,255,0));
}

.memeng-lace-line.top { top: 0; }
.memeng-lace-line.bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.memeng-corner {
  position: fixed;
  width: 150px;
  height: 150px;
  opacity: 0.62;
  filter: drop-shadow(0 12px 28px rgba(255, 123, 174, 0.14));
}

.memeng-corner::before,
.memeng-corner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.memeng-corner.top-left {
  top: 54px;
  left: 18px;
}

.memeng-corner.top-left::before {
  width: 86px;
  height: 86px;
  left: 12px;
  top: 8px;
  background: radial-gradient(circle at 70% 35%, transparent 0 24px, rgba(255, 211, 232, 0.72) 25px 43px, transparent 44px);
}

.memeng-corner.top-left::after {
  width: 54px;
  height: 54px;
  left: 74px;
  top: 52px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 9%, #ff86b6 10% 22%, transparent 23%),
    linear-gradient(35deg, transparent 0 32%, #ffacd0 33% 66%, transparent 67%),
    linear-gradient(-35deg, transparent 0 32%, #ffacd0 33% 66%, transparent 67%);
}

.memeng-corner.bottom-right {
  right: 20px;
  bottom: 72px;
}

.memeng-corner.bottom-right::before {
  width: 100px;
  height: 60px;
  right: 0;
  bottom: 22px;
  background:
    radial-gradient(circle at 28% 62%, rgba(255,255,255,0.86) 0 17px, transparent 18px),
    radial-gradient(circle at 52% 46%, rgba(255,255,255,0.78) 0 22px, transparent 23px),
    radial-gradient(circle at 75% 64%, rgba(255,255,255,0.72) 0 15px, transparent 16px);
}

.memeng-corner.bottom-right::after {
  width: 88px;
  height: 18px;
  right: 8px;
  bottom: 0;
  background: repeating-radial-gradient(circle at 8px 8px, rgba(255, 188, 218, 0.88) 0 5px, transparent 6px 16px);
}

#memeng-sakura-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2147483000;
}

.memeng-petal {
  position: fixed;
  top: -24px;
  left: 0;
  width: var(--petal-size, 14px);
  height: var(--petal-size, 14px);
  opacity: var(--petal-opacity, 0.82);
  border-radius: 80% 0 80% 18%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(135deg, #ffe7f0 0%, #ffb6d2 52%, #f178ac 100%);
  box-shadow: 0 0 8px rgba(255, 150, 190, 0.28);
  transform: translate3d(var(--start-x, 50vw), -24px, 0) rotate(0deg);
  animation:
    memeng-sakura-fall var(--fall-duration, 12s) linear var(--fall-delay, 0s) forwards,
    memeng-sakura-sway var(--sway-duration, 3.4s) ease-in-out var(--fall-delay, 0s) infinite alternate;
  will-change: transform;
}

.memeng-float {
  position: fixed;
  top: -36px;
  left: 0;
  width: var(--cute-size, 18px);
  height: var(--cute-size, 18px);
  opacity: var(--cute-opacity, 0.7);
  pointer-events: none;
  transform: translate3d(var(--start-x, 50vw), -36px, 0) rotate(0deg);
  animation:
    memeng-cute-fall var(--cute-duration, 14s) linear var(--cute-delay, 0s) forwards,
    memeng-cute-sway var(--cute-sway-duration, 4s) ease-in-out var(--cute-delay, 0s) infinite alternate;
  will-change: transform, margin-left;
}

.memeng-float > i {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 10px rgba(255, 123, 174, 0.18));
}

.memeng-float.is-heart > i {
  top: 22%;
  left: 22%;
  width: 58%;
  height: 58%;
  border-radius: 5px;
  background: linear-gradient(135deg, #ff92bd, #ff5f9e);
  transform: rotate(45deg);
}

.memeng-float.is-heart > i::before,
.memeng-float.is-heart > i::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
}

.memeng-float.is-heart > i::before { left: -50%; top: 0; }
.memeng-float.is-heart > i::after { left: 0; top: -50%; }

.memeng-float.is-star > i {
  background: linear-gradient(135deg, #ffe082, #ff9fc7);
  clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
}

.memeng-float.is-bubble > i {
  border-radius: 50%;
  border: 1px solid rgba(255, 145, 190, 0.55);
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.92), rgba(255,183,213,0.34) 48%, rgba(139,216,205,0.18) 100%);
}

.memeng-float.is-bow > i::before,
.memeng-float.is-bow > i::after {
  content: "";
  position: absolute;
  top: 20%;
  width: 46%;
  height: 58%;
  background: linear-gradient(135deg, #ff9fc7, #ff6faa);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.memeng-float.is-bow > i::before {
  left: 3%;
  border-radius: 80% 36% 36% 80%;
  transform: rotate(-14deg);
}

.memeng-float.is-bow > i::after {
  right: 3%;
  border-radius: 36% 80% 80% 36%;
  transform: rotate(14deg);
}

.memeng-float.is-bow > i {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 10%, #f05f9c 11% 22%, transparent 23%);
}

.memeng-float.is-candy > i {
  border-radius: 999px;
  background:
    repeating-linear-gradient(45deg, #fff 0 5px, #ff9fc7 5px 10px, #8bd8cd 10px 15px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  transform: rotate(-18deg);
}

.memeng-float.is-moon > i {
  border-radius: 50%;
  background: radial-gradient(circle at 64% 36%, transparent 0 38%, #ffe7a8 39% 64%, transparent 65%);
  box-shadow: 0 0 16px rgba(255, 221, 140, 0.32);
}

.memeng-float.is-pearl > i {
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 18%, #ffeefa 19% 54%, #f5c5df 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.memeng-float.is-cloud > i {
  background:
    radial-gradient(circle at 28% 62%, rgba(255,255,255,0.88) 0 24%, transparent 25%),
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.88) 0 30%, transparent 31%),
    radial-gradient(circle at 73% 62%, rgba(255,255,255,0.82) 0 22%, transparent 23%),
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,224,239,0.45));
  border-radius: 999px;
}

.memeng-float.is-lace > i {
  border-radius: 999px;
  background:
    radial-gradient(circle at 8px 50%, rgba(255,255,255,0.88) 0 5px, transparent 6px) 0 0 / 16px 100% repeat-x,
    linear-gradient(90deg, rgba(255, 176, 211, 0.52), rgba(214, 226, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.74);
}

@keyframes memeng-sakura-fall {
  from {
    top: -24px;
    margin-left: 0;
    transform: translate3d(var(--start-x, 50vw), 0, 0) rotate(0deg);
  }
  to {
    top: 108vh;
    margin-left: var(--drift-x, 80px);
    transform: translate3d(var(--end-x, 52vw), 0, 0) rotate(var(--spin, 520deg));
  }
}

@keyframes memeng-sakura-sway {
  from { margin-left: calc(var(--sway-x, 30px) * -1); }
  to { margin-left: var(--sway-x, 30px); }
}

@keyframes memeng-cute-fall {
  from {
    top: -36px;
    transform: translate3d(var(--start-x, 50vw), 0, 0) rotate(0deg) scale(var(--cute-scale, 1));
  }
  to {
    top: 110vh;
    transform: translate3d(var(--end-x, 50vw), 0, 0) rotate(var(--cute-spin, 360deg)) scale(var(--cute-scale, 1));
  }
}

@keyframes memeng-cute-sway {
  from { margin-left: calc(var(--cute-sway-x, 40px) * -1); }
  to { margin-left: var(--cute-sway-x, 40px); }
}

#memeng-music-toggle {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 2147483001;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,235,246,0.22)),
    linear-gradient(135deg, #ff8ab3, #b9a7ff 48%, #8bd8cd);
  border: 1px solid rgba(255, 188, 220, 0.90);
  box-shadow:
    0 10px 28px rgba(255, 122, 177, 0.24),
    0 0 0 6px rgba(255, 220, 236, 0.45);
  font-size: 18px;
  line-height: 1;
  touch-action: none;
  user-select: none;
  text-shadow:
    0 1px 1px rgba(176, 52, 118, 0.30),
    0 0 9px rgba(255, 255, 255, 0.80);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

#memeng-music-toggle.is-dragging {
  transform: scale(1.06);
  box-shadow:
    0 14px 34px rgba(255, 122, 177, 0.30),
    0 0 0 8px rgba(255, 220, 236, 0.50);
}

#memeng-music-toggle::after {
  content: attr(aria-label);
  position: absolute;
  right: 48px;
  bottom: 7px;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 999px;
  color: #575366;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(31, 34, 56, 0.12);
  font-size: 12px;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

#memeng-music-toggle:hover::after {
  opacity: 1;
  transform: translateX(0);
}

#memeng-music-toggle.is-muted {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,241,247,0.46)),
    linear-gradient(135deg, rgba(255,138,179,0.72), rgba(185,167,255,0.62), rgba(139,216,205,0.58));
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .memeng-petal,
  .memeng-float {
    animation: none;
    display: none;
  }
}
