/* Верхняя полоска с заголовком (появляется при прокрутке), крупные заголовки, месяц, вкладки и «+» */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: .5px solid var(--sep);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.nav.show { opacity: 1; pointer-events: auto; }

.large-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 10px;
}
.large-title h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.large-title .sub { font-size: 13px; font-weight: 600; color: var(--hint); text-transform: uppercase; margin-bottom: 2px; }
.round-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fill);
  color: var(--blue);
  flex-shrink: 0;
  margin-bottom: 4px;
}
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* месяц: ‹ Ноябрь › */
.month-pill {
  display: flex;
  align-items: center;
  background: var(--fill);
  border-radius: 999px;
  height: 32px;
  margin-bottom: 4px;
  user-select: none;
  -webkit-user-select: none;
}
.month-pill button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--blue); }
.month-pill button:disabled { color: var(--hint2); }
.month-pill button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.month-pill span { font-size: 15px; font-weight: 600; min-width: 70px; text-align: center; }

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  height: calc(var(--tabs-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: .5px solid var(--sep);
}
html.dark .tabs { background: rgba(22, 22, 24, .82); }
.tabs button {
  flex: 1;
  max-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--hint);
}
.tabs button.on { color: var(--blue); }
.tabs svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on svg { stroke-width: 2.1; }
.tabs button.on svg .fill { fill: currentColor; }

.fab {
  position: fixed;
  right: max(16px, calc(50% - 304px));
  bottom: calc(var(--tabs-h) + var(--safe-b) + 14px);
  z-index: 21;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--blue) 45%, transparent), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.fab:active { transform: scale(.9); }
.fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
