/* ===== 基础 ===== */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;height:100%;
  font-family:"Microsoft YaHei",system-ui,sans-serif;
  background:#050818;color:#e6f0ff;
}
.gradient-bg{
  min-height:100vh;
  padding:10px 16px 170px;
  background:radial-gradient(circle at top,#0b2a5a 0%,#050818 45%,#02040a 100%);
}

/* ===== 顶部 ===== */
.top{text-align:center}
.title{margin:8px 0 6px;line-height:1.2}
.brand-yy{
  font-size:28px;font-weight:800;letter-spacing:2px;
  color:#ff6a3d;text-shadow:0 0 10px rgba(255,106,61,.45)
}
.brand-main{
  font-size:28px;font-weight:700;letter-spacing:2px;
  color:#eaf1ff;text-shadow:0 0 8px rgba(120,160,255,.35)
}
.subtitle{
  margin-top:4px;font-size:14px;letter-spacing:1.5px;
  color:#9db3ff;opacity:.9
}
#waveCanvas{width:100%;height:90px}
.status-label{font-size:16px;color:#b4cdff}

/* ===== 主体 ===== */
.card{
  background:rgba(10,35,70,.92);
  border-radius:22px;padding:28px;margin:10px 0;
}
.tip{text-align:center;font-size:20px;margin-bottom:18px}
.center{display:flex;flex-direction:column;align-items:center}
#answer{
  width:95%;max-width:1100px;
  font-size:40px;font-weight:600;text-align:center;
  padding:14px;border-radius:18px;
  background:#0f2850;color:#fff;
  border:3px solid #5a87d2
}
.feedback{
  margin-top:20px;font-size:22px;text-align:center;
  white-space:pre-line
}
.feedback .answer-en{color:#ff6a3d;font-weight:650}

/* ===== 底部按钮 ===== */
.bottom-bar{
  position:fixed;left:0;right:0;bottom:0;
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:18px;padding:16px 14px;
  background:rgba(5,8,24,.96);z-index:1000
}
.bottom-bar button{
  padding:14px 0;font-size:18px;font-weight:650;
  border-radius:20px;border:none;
  color:#e6f0ff;
  background:linear-gradient(135deg,#2859a0,#3f7ad2)
}

/* ===== 弹窗 ===== */
.popup-backdrop{
  position:fixed;inset:0;
  background:rgba(0,0,0,.5);
  display:none;align-items:center;justify-content:center;
  z-index:2000
}
.popup-backdrop.show{display:flex}
.popup-card{
  width:90%;max-width:360px;
  background:#0f2446;border-radius:20px;padding:20px
}
.popup-title{font-size:18px;font-weight:650}
.popup-message{font-size:14px;color:#b8c9ff;margin:10px 0}
.popup-input{width:100%;padding:8px;border-radius:999px}
.popup-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}
.popup-btn{padding:8px 14px;border-radius:999px;border:none}
.popup-btn-ok{background:#ff6a3d;color:#1b0b00}


/* ===== 右上角：支持作者 ===== */
.support-author{
  position:fixed;
  top:10px;
  right:14px;
  z-index:3000;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:1px;
  color:#e6f0ff;
  background:rgba(15,40,80,.72);
  border:1px solid rgba(155,190,255,.35);
  backdrop-filter: blur(6px);
}
.support-author:hover{
  transform: translateY(-1px);
}
