/* KingRockOTP — shared bottom navigation */
:root { --kr-nav-accent: #3B82F6; }
body.kr-has-bottom-nav {
  padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)) !important;
}
.kr-bottom-nav {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 4px;
  border: 1px solid var(--border, rgba(148,163,184,.22));
  border-radius: 26px;
  background: var(--nav-bg, var(--surface, rgba(22,27,34,.96)));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
  transition: background .2s, border-color .2s;
}
.kr-nav-item {
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 2px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted, #94a3b8);
  text-decoration: none;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s, background .18s, transform .18s;
}
.kr-nav-item i { display: block; font-size: 20px; line-height: 1; }
.kr-nav-item.is-active { color: var(--kr-nav-accent); }
.kr-nav-item:active { transform: scale(.94); }
.kr-nav-fab-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -27px;
}
.kr-nav-fab {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--bg, #fff);
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #38BDF8);
  color: #fff;
  text-decoration: none;
  font-size: 23px;
  box-shadow: 0 6px 20px rgba(59,130,246,.38);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.kr-nav-fab.is-active { box-shadow: 0 0 0 4px rgba(59,130,246,.16), 0 7px 22px rgba(59,130,246,.45); }
.kr-nav-fab:active { transform: scale(.93); }
@media (min-width: 900px) {
  .kr-bottom-nav { width: 690px; left: 50%; right: auto; transform: translateX(-50%); }
}
@media (max-width: 360px) {
  .kr-nav-item { font-size: 9px; }
  .kr-nav-item i { font-size: 18px; }
  .kr-nav-fab { width: 56px; height: 56px; flex-basis: 56px; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .kr-bottom-nav, .kr-nav-item, .kr-nav-fab { transition: none; }
}
