/* 首页底部一排五个入口：等宽等高、单行均分，圆形鎏金徽章与装备格同一风格。 */
#homeArt.dock-ready .progress-entry,
#homeArt.dock-ready .xiu-entry,
#homeArt.dock-ready .hm-nav-eq { display: none !important; }

.dock-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: stretch; justify-content: space-between; gap: 4px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(20, 16, 28, 0) 0%, rgba(20, 16, 28, .86) 34%, #15111d 100%);
  box-sizing: border-box;
}
.dock-btn {
  flex: 1 1 0; min-width: 0; min-height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 0; border: 0; background: transparent; color: #f4e6c8; font: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dock-medal {
  width: 50px; height: 50px; flex: none; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #d9b26a;
  background: radial-gradient(circle at 50% 35%, #4a4d63, #1f212e 72%);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .4), 0 0 .7em rgba(255, 196, 107, .35), inset 0 0 .5em rgba(255, 208, 138, .25);
  transition: transform .12s ease;
}
.dock-medal .mp-icon { font-size: 26px; width: 26px; height: 26px; color: #ffd594; }
.dock-medal img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
.dock-btn b {
  font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; white-space: nowrap;
  color: #f4e6c8; text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
.dock-btn:active .dock-medal { transform: scale(.92); }
.dock-btn:focus-visible { outline: 2px solid #ff8a3d; outline-offset: 2px; border-radius: 10px; }

@media (orientation: portrait) {
  .dock-bar { position: fixed; }
}
@media (max-width: 340px) {
  .dock-medal { width: 44px; height: 44px; }
  .dock-btn b { font-size: 12px; }
}
@media (min-width: 700px) {
  .dock-bar { left: 50%; right: auto; width: 520px; transform: translateX(-50%); border-radius: 16px 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-medal { transition: none; }
}

#bottomNavBar .dock-btn[aria-expanded="true"] .dock-medal { border-color: #ff8a3d; box-shadow: 0 0 0 2px #ff8a3d; }
#bottomNavBar .dock-btn[aria-expanded="true"] b { color: #ffd08a; }
