/* 壁纸背景设置 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  background-image: url('https://s21.ax1x.com/2025/11/23/pZkagjf.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  /* 移动端高亮去除 */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  tap-highlight-color: rgba(0,0,0,0);
}
a, button, input, textarea {
  outline: none;
  box-shadow: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
/* 标题样式 */
.title {
  margin-top: 10vh;
  color: white;
  font-size: 3rem;
  font-family: 'STXihei', 'Heiti SC', 'Arial', sans-serif;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  letter-spacing: 0.12em;
  user-select: none;
  text-align: center;
}
/* 打字机效果 - 紧跟标题下方居中 */
.typewriter {
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 18px;
  margin-bottom: 70px;
  height: 1.3em;
  min-width: 7em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  user-select: none;
  text-align: center;
  display: block;
  width: 100vw;
}
/* 底部按钮 */
.menu-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fe68af;
  color: #fff;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 4px 32px rgba(254,104,175,.22);
  cursor: pointer;
  transition: background .18s;
  z-index: 20;
  font-family: inherit;
  font-weight: 500;
  user-select: none;
}
.menu-btn:active {
  background: #ff97cc;
}

/* 毛玻璃菜单 */
.blur-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(7px);
  z-index: 50;
  display: none;
  justify-content: center;
  align-items: flex-end;
}
.blur-menu-backdrop.active {
  display: flex;
}
.blur-menu {
  width: 94vw;
  max-width: 620px;
  min-height: 60vh;
  margin-bottom: 60px;
  border-radius: 2em;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(25px) brightness(1.05);
  box-shadow: 0 10px 32px rgba(254,104,175,.28), 0 2px 88px rgba(0,0,0,.19);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 18px 30px 18px;
  position: relative;
  animation: fadeIn .4s;
}
@keyframes fadeIn {
  0% {opacity: 0; transform: translateY(40px);}
  100% {opacity:1; transform: none;}
}
/* 菜单关闭按钮 */
.menu-close {
  position: absolute;
  top: 18px;
  right: 19px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fd79a8;
  cursor: pointer;
  z-index: 55;
  transition: color .18s;
  user-select: none;
}
.menu-close:active {
  color: #e31b6d;
}
/* 瀑布流窗口们 */
.menu-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 18px;
  width: 100%;
}
/* 毛玻璃圆角窗口 */
.menu-panel {
  background: rgba(255,255,255,.55);
  border-radius: 1.24em;
  box-shadow: 0 2px 13px rgba(254,104,175,.12);
  backdrop-filter: blur(16px);
  min-height: 110px;
  height: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  transition: box-shadow .2s;
}
/*.menu-panel textarea {
  border: none;
  resize: none;
  background: transparent;
  width: 88%;
  height: 80px;
  padding: 2px 10px;
  font-family: 'Fira Mono','Consolas', monospace;
  font-size: 1rem;
  color: #182150;
  outline: none;
}*/
/*原css备份*/
/*.menu-card {
  width: 88%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fira Mono','Consolas', monospace;
  font-size: 1rem;
  color: #182150;
  text-align: center;
  word-break: break-word;
  user-select: text;
}备份2*/
/*让<a>保持为flex子项*/
.menu-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88%;
  min-height: 80px;
  height: 80px;
}
.menu-card a {
  color: #fe68af;
  text-decoration: none;
  font-size: 1rem;
  width: 100%;
  text-align: center;
}
/* 去除高亮和链接样式 */
a, a:focus, a:active, a:visited, a:hover {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline:none;
}

/* 粉色音符特效 */
.note {
  position: absolute;
  pointer-events: none;
  font-size: 2.4em;
  color: #ff69b9;
  opacity: 0.92;
  will-change: transform,opacity;
  z-index: 9999;
  font-family: inherit;
  user-select: none;
  filter: drop-shadow(0 0 12px #fe68af88);
  animation: floatNote .98s ease-out forwards;
}
@keyframes floatNote {
  0% { opacity: 0.9; transform: scale(1) translateY(0);}
  80% { opacity: 0.8; transform: scale(1.14) translateY(-55px);}
  100% { opacity: 0; transform: scale(.96) translateY(-77px);}
}
/* 响应式 */
@media (max-width:540px) {
  .title { font-size: 1.8rem; margin-top: 52px;}
  .typewriter {font-size: 0.97rem;}
  .blur-menu {padding: 18px 5px 16px 5px;}
  .menu-panel {height:80px; min-height: 80px;}
  .menu-panel textarea {height: 55px;}
  .menu-grid {margin-top: 14px; grid-gap:10px;}
}
/*新增按钮毛玻璃配色*/
.menu-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.24);
  color: #fe68af;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 4px 32px rgba(254,104,175,.12);
  cursor: pointer;
  transition: background .18s, color .18s;
  z-index: 20;
  font-family: inherit;
  font-weight: 500;
  user-select: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(254,104,175,.18);
}

.menu-btn:active {
  background: rgba(255,182,220,0.35);
  color: #e31b6d;
}