/* Док — телефон. Прямые прямоугольники во всех состояниях, без капсулы и стекла. */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: transform var(--dur-out) var(--ease-big), opacity var(--dur-out) var(--ease-big), visibility 0s linear var(--dur-out);
}
.dock.is-hidden { transform: translate(-50%, 140%); opacity: 0; visibility: hidden; }
.dock__pill { display: none; }
.dock button {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 0;
  background: var(--tone-2);
  box-shadow: none;
  font: 500 var(--fs-s) / 1 var(--font);
  color: var(--ink);
  transition: color var(--dur-state), background var(--dur-state);
}
.dock button:hover,
.dock button:active { border-radius: 0; }
.dock button:hover:not([aria-current="true"]) { background: #deded8; }
.dock button:active:not([aria-current="true"]) { background: var(--tone-2); }
.dock button svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.dock button[aria-current="true"],
.dock button[aria-current="true"]:hover,
.dock button[aria-current="true"]:active {
  border-radius: 0;
  background: #000;
  color: #fff;
}
.dock__n {
  position: absolute;
  top: 4px; left: calc(50% + 6px);
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 500 10px / 16px var(--font);
  text-align: center;
}
.dock button[aria-current="true"] .dock__n { background: #fff; color: #000; }
@media (max-width: 359px) { .dock button { width: 58px; } }
@media (min-width: 1024px) { .dock { display: none; } }
