/* V28: truthful data surfaces and a calmer, borderless mobile toolbar. */
.hungry-notes-link {
  min-height: 40px;
  padding: 2px 5px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hungry-notes-link svg {
  width: 27px;
  height: 27px;
}

.hungry-notes-link span {
  font-size: .68rem;
  line-height: 1.05;
  white-space: nowrap;
}

.hungry-save-button,
.hungry-save-button.is-saved,
.choice,
.previous-button,
.pass-button,
.continue-button,
.refill-shortcut,
.level-up-offer,
.pack,
.coupon-form button,
.coupon-continue,
.pay-methods button {
  border: 0 !important;
  box-shadow: none;
}

.hungry-save-button {
  background: #eee3b4;
}

.explanation-lock,
.explanation-lock button {
  pointer-events: auto !important;
}

.explanation-lock button {
  border: 0 !important;
  touch-action: manipulation;
}

.explanation-lock button.is-loading {
  cursor: wait;
  opacity: .72;
}

.pack.is-annual {
  display: grid !important;
  visibility: visible !important;
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  body:not(.needs-entry) .topbar {
    grid-template-columns: 34px 86px minmax(0, 1fr);
    column-gap: 5px;
  }

  body:not(.needs-entry) .topbar-tools {
    display: grid;
    grid-template-columns: minmax(72px, auto) minmax(104px, 124px);
    justify-content: end;
    gap: 4px;
    min-width: 0;
  }

  body:not(.needs-entry) .support-link {
    display: none;
  }

  body:not(.needs-entry) .hungry-notes-link {
    min-width: 72px;
    max-width: 84px;
    padding: 2px 3px;
    gap: 4px;
  }

  body:not(.needs-entry) .hungry-notes-link svg {
    width: 25px;
    height: 25px;
  }

  body:not(.needs-entry) .hungry-notes-link span {
    display: block;
    font-size: .57rem;
    white-space: normal;
  }

  body:not(.needs-entry) .wallet {
    min-width: 104px;
    max-width: 124px;
    padding: 4px 6px;
    gap: 4px;
    justify-content: flex-start;
    border: 0;
    box-shadow: none;
  }

  body:not(.needs-entry) #leafCount {
    min-width: 34px;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
  }

  body:not(.needs-entry) .wallet-redeem {
    flex: 0 0 auto;
    min-width: 38px;
    padding-inline: 5px;
  }

  body.refill-open .pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.refill-open .pack.is-annual {
    grid-column: 1 / -1 !important;
  }

  .revive-shell h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}

@media (max-width: 370px) {
  body:not(.needs-entry) .topbar {
    grid-template-columns: 32px 82px minmax(0, 1fr);
  }

  body:not(.needs-entry) .topbar-tools {
    grid-template-columns: 66px minmax(100px, 116px);
  }

  body:not(.needs-entry) .hungry-notes-link {
    min-width: 66px;
  }
}
