/* ========== 移动端汉堡菜单 v3 ========== */

/* ===== v54e: 移动端汉堡按钮 + 抽屉 ===== */
.yxh-burger {
  display: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 4px;
  position: relative;
  z-index: 1;
}
.yxh-burger:active { background: rgba(255,255,255,0.3); }
@media (max-width: 768px) {
  .yxh-burger { display: inline-flex; }
}

.yxh-burger-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.yxh-burger-drawer.yxh-burger-open { transform: translateX(0); }

.yxh-burger-mask {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.yxh-burger-mask.yxh-burger-open { opacity: 1; pointer-events: auto; }

.yxh-burger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1565C0, #1976D2);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.yxh-burger-close {
  background: none; border: none;
  color: #fff; font-size: 22px;
  cursor: pointer; padding: 0;
  width: 28px; height: 28px;
}
.yxh-burger-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.yxh-burger-section {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.yxh-burger-section:last-child { border-bottom: none; }
.yxh-burger-title {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.yxh-burger-drawer a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s;
}
.yxh-burger-drawer a:hover,
.yxh-burger-drawer a:active {
  background: #f5f5f5;
}
