:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #0a0a0a;
  --muted: #6c6c6c;
  --line: #deded9;
  --soft: #eeeeeb;
  --shadow: 0 14px 45px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

@property --progress-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

button,
input {
  font: inherit;
}

button {
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

input {
  font-size: 16px;
  user-select: text;
  -webkit-user-select: text;
  touch-action: manipulation;
}

::selection {
  background: transparent;
}

[hidden] {
  display: none !important;
}

input::selection {
  background: rgba(255, 255, 255, 0.22);
}

.auth-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(env(safe-area-inset-top) + 22px) 18px calc(env(safe-area-inset-bottom) + 22px);
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--ink) 9%, transparent), transparent 32%),
    var(--bg);
}

.auth-card {
  width: min(100%, 440px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: var(--panel);
}

.auth-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.auth-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.auth-kicker {
  margin: 22px 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.auth-card h1 {
  font-size: clamp(2rem, 8vw, 3rem);
}

.auth-copy {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
}

.auth-mode button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.auth-mode button.active {
  background: var(--ink);
  color: var(--bg);
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
}

.auth-form input:focus {
  border-color: var(--ink);
}

.auth-error {
  min-height: 18px;
  margin: 0;
  color: #d46b64;
  font-size: 0.78rem;
  line-height: 1.35;
}

.auth-submit {
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 900;
}

.shell {
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 94px);
}

.screen {
  display: none;
}

#screen-list {
  min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 112px);
  touch-action: pan-y;
}

.screen-active {
  display: block;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.kicker,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

h1 {
  margin: 2px 0 0;
  font-size: 2.75rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.streak {
  min-width: 74px;
  height: 58px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.streak span {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.streak small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(38px, 1fr));
  gap: 7px;
  transition: transform 180ms ease, opacity 180ms ease;
  will-change: transform;
}

.week-shell {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
  touch-action: pan-y;
}

.week-nav {
  display: none;
}

.week-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.day-pill {
  min-width: 0;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 2px;
  grid-template-rows: auto 15px auto;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.day-pill strong,
.day-pill span,
.day-pill small {
  display: block;
  max-width: 100%;
}

.day-pill strong {
  font-size: 0.73rem;
  color: var(--muted);
  font-weight: 800;
}

.day-number {
  font-size: 1.05rem;
  font-weight: 800;
}

.day-pill .day-month {
  display: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.day-pill.today {
  border-color: var(--ink);
}

.day-pill.selected {
  background: var(--ink);
  color: var(--panel);
}

.day-pill.selected strong {
  color: #d9d9d9;
}

.day-pill.selected .day-month {
  color: #d9d9d9;
}

.day-done {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #29c36a;
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 180ms ease, transform 180ms ease;
}

.day-done svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.day-pill.qualified .day-done {
  opacity: 1;
  transform: scale(1);
}

.progress-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.progress-ring {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  --progress-angle: 0deg;
  background: conic-gradient(var(--ink) var(--progress-angle), var(--soft) 0deg);
  position: relative;
  transition: --progress-angle 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--panel);
}

.progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 850;
}

.progress-panel strong {
  display: block;
  margin-top: 2px;
  font-size: 1.4rem;
}

.progress-bump {
  animation: progressBump 420ms ease;
}

.habit-list,
.settings-list {
  display: grid;
  gap: 10px;
}

.habit-list {
  transition: transform 180ms ease, opacity 180ms ease;
  will-change: transform;
}

.habit-row,
.settings-row,
.empty-state {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.habit-row {
  width: 100%;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.check {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.check svg {
  width: 15px;
  height: 15px;
  display: none;
  fill: none;
  stroke: var(--panel);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.habit-row.done .check {
  background: var(--ink);
}

.habit-row.done .check svg {
  display: block;
}

.habit-row.done .habit-title {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.habit-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.empty-state {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.empty-state.empty-action {
  cursor: pointer;
  min-height: 88px;
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}

.empty-state.empty-action:hover {
  border-color: var(--ink);
}

.empty-state.empty-action:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.add-form {
  display: grid;
  gap: 10px;
  margin: 2px 0 16px;
}

.add-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
}

.add-form input {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0 14px;
  color: var(--ink);
  outline: none;
  font-size: 16px;
}

.interval-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  min-height: 42px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.interval-field input {
  height: 32px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0 0 12px;
  text-align: right;
  font-weight: 850;
}

.add-form input:focus {
  border-color: var(--ink);
}

.icon-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: grid;
  place-items: center;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-button:active,
.settings-action:active,
.week-nav:active,
.day-pill:active,
.habit-row:active {
  transform: scale(0.97);
}

.icon-button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--panel);
}

.button-pop {
  animation: buttonPop 260ms ease;
}

.icon-button svg,
.tab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px 40px;
  align-items: center;
  gap: 8px;
  padding: 9px 9px 9px 14px;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-drag: none;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.settings-habit-title {
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: -9px 0 -9px -14px;
  padding: 9px 0 9px 14px;
  overflow-wrap: anywhere;
  font-weight: 750;
  touch-action: pan-y;
  -webkit-touch-callout: none;
}

.danger {
  color: var(--ink);
}

.settings-action {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
  transition: transform 160ms ease, background 180ms ease, color 180ms ease;
}

.settings-action:hover,
.settings-action:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.settings-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.habit-options {
  position: relative;
}

.habit-options summary {
  list-style: none;
}

.habit-options summary::-webkit-details-marker {
  display: none;
}

.habit-options-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  width: 178px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.options-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.options-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.options-close:active {
  transform: scale(0.94);
}

.options-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.options-close:hover,
.options-close:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.habit-options-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.habit-options-panel input {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 10px;
  text-align: right;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 760px);
  padding: 10px 14px calc(env(safe-area-inset-bottom) + 10px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 8px;
  background: rgba(247, 247, 245, 0.88);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.tab {
  height: 52px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.tab.active {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.settings-tab span {
  display: none;
}

.section-title {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.account-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--panel);
}

.account-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 950;
}

.account-avatar.has-image {
  background-color: var(--panel-soft);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px var(--line);
}

.account-card strong,
.account-card p,
.account-card small {
  display: block;
  margin: 0;
}

.account-card p,
.account-card small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.account-links a,
.account-links button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 22px;
  }

  .account-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .account-avatar {
    width: 44px;
    height: 44px;
  }

  .account-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

.add-habit-card {
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.add-habit-card:active {
  transform: scale(0.985);
}

.add-habit-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.settings-row.dragging {
  opacity: 0.96;
  border-color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  cursor: grabbing;
  transform: scale(1.012);
  transition: none;
  will-change: top, transform;
}

.settings-row.dragging .settings-action {
  pointer-events: none;
}

.settings-row.pressing {
  transform: scale(0.992);
  border-color: var(--muted);
}

.settings-row:not(.dragging) {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, background 180ms ease;
}

.settings-list.reordering {
  touch-action: none;
}

.settings-placeholder {
  min-height: 58px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-layer.modal-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-layer[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.habit-modal-card {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.96);
  color: #f5f5f2;
  padding: 18px;
  position: relative;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-open .habit-modal-card {
  transform: translateY(0) scale(1);
}

.habit-modal-card h2 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.modal-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #a0a0a0;
  font-size: 0.86rem;
  font-weight: 850;
}

.modal-field[hidden] {
  display: none;
}

.modal-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #303030;
  border-radius: var(--radius);
  background: #101010;
  color: #f5f5f2;
  outline: none;
  padding: 0 14px;
  font-weight: 800;
}

.modal-field input:focus {
  border-color: #f5f5f2;
}

.modal-submit {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: var(--radius);
  background: #f5f5f2;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.modal-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --panel: #0f0f0f;
    --ink: #f5f5f2;
    --muted: #8e8e8e;
    --line: #252525;
    --soft: #202020;
    --shadow: none;
  }

  .tabbar {
    background: rgba(0, 0, 0, 0.86);
  }
}

@media (min-width: 720px) {
  .shell {
    padding-top: 36px;
  }

  .habit-row,
  .settings-row,
  .empty-state {
    min-height: 64px;
  }

  h1 {
    font-size: 3.15rem;
  }
}

@media (min-width: 980px) {
  .shell {
    width: min(calc(100% - 64px), 1180px);
    padding-top: 58px;
  }

  #screen-list.screen-active {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-areas:
      "head week"
      "head progress"
      "head habits";
    column-gap: 28px;
    row-gap: 16px;
    align-items: start;
  }

  #screen-list .topbar {
    grid-area: head;
    position: sticky;
    top: 32px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 0;
  }

  #screen-list .topbar > div:first-child {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  h1 {
    font-size: 3.6rem;
  }

  #today-title {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #today-title.title-medium {
    font-size: 3.05rem;
  }

  #today-title.title-long {
    font-size: 2.55rem;
  }

  .streak {
    width: 100%;
    height: 86px;
    place-items: center start;
    padding: 0 18px;
  }

  .streak span {
    font-size: 2rem;
  }

  .week {
    grid-template-columns: repeat(7, minmax(96px, 1fr));
    gap: 10px;
    margin-bottom: 0;
  }

  .week-shell {
    grid-area: week;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  .week-nav {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--muted);
    transition: transform 160ms ease, border-color 180ms ease, color 180ms ease;
  }

  .week-nav:hover {
    color: var(--ink);
    border-color: var(--ink);
  }

  .day-pill {
    height: 62px;
    padding: 0 7px;
    display: grid;
    grid-template-columns: minmax(18px, 1fr) 14px minmax(32px, auto);
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: 4px;
    text-align: left;
  }

  .day-pill strong {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .day-pill .day-done {
    display: grid;
    justify-self: center;
    width: 13px;
    height: 13px;
  }

  .day-pill .day-done svg {
    width: 13px;
    height: 13px;
  }

  .day-date {
    text-align: right;
  }

  .day-number {
    font-size: 1.05rem;
  }

  .day-pill .day-month {
    display: block;
    font-size: 0.64rem;
  }

  .progress-panel {
    grid-area: progress;
    min-height: 108px;
    margin-bottom: 0;
  }

  .habit-list {
    grid-area: habits;
  }

  .habit-row,
  .empty-state {
    min-height: 66px;
  }

  .tabbar {
    width: min(calc(100% - 64px), 1180px);
    grid-template-columns: minmax(240px, 720px) 56px;
    justify-content: center;
  }
}

@keyframes progressBump {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.055);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes countedPop {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.065);
  }
  100% {
    transform: scale(1);
  }
}

.day-counted-pop,
.streak-pop {
  animation: countedPop 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes buttonPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}
