/* Optional profile guide. It never interrupts opening or editing a photo. */
.account-home-icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent-text, #e8b75f); }
.account-home-row { margin-bottom: 0; }
.home-screen-guide {
  position: absolute;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  padding: calc(12px + var(--app-safe-top, env(safe-area-inset-top, 0px)))
    var(--app-safe-right, env(safe-area-inset-right, 0px)) 0
    var(--app-safe-left, env(safe-area-inset-left, 0px));
  background: rgba(0, 0, 0, .66);
  overscroll-behavior: contain;
  animation: home-screen-backdrop-in .18s ease-out;
}
.home-screen-guide [hidden], .home-screen-guide[hidden] { display: none !important; }
.home-screen-card {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(189, 151, 83, .38) transparent;
  padding: 26px 22px calc(16px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
  border: 1px solid rgba(234, 201, 150, .13);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: radial-gradient(70% 170px at 50% 0, rgba(232, 183, 95, .065), transparent), #111112;
  color: var(--text, #f2f2f4);
  outline: none;
  animation: home-screen-card-in .24s cubic-bezier(.2, .65, .3, 1);
}
.home-screen-card::-webkit-scrollbar { width: 4px; }
.home-screen-card::-webkit-scrollbar-track { background: transparent; }
.home-screen-card::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(189, 151, 83, .38); }
.home-screen-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #b4b4bc;
  background: rgba(255, 255, 255, .04);
}
.home-screen-icon { width: 68px; height: 68px; margin: 0 auto 17px; }
.home-screen-icon img { display: block; width: 100%; height: 100%; border-radius: 17px; box-shadow: 0 3px 18px rgba(0, 0, 0, .3); }
.home-screen-card h2 { margin: 0; text-align: center; font-size: 23px; line-height: 1.15; font-weight: 620; letter-spacing: -.035em; text-wrap: balance; }
.home-screen-intro { max-width: 320px; margin: 11px auto 23px; color: #aaaab1; text-align: center; font-size: 14px; line-height: 1.45; text-wrap: balance; }
.home-screen-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.home-screen-steps li { position: relative; padding-left: 40px; }
.home-screen-step-number { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(232, 183, 95, .24); border-radius: 50%; color: #e8b75f; font-size: 13px; font-weight: 550; }
.home-screen-steps strong, .home-screen-step-body { display: block; }
.home-screen-steps strong { margin-bottom: 5px; font-size: 15px; line-height: 1.25; font-weight: 550; }
.home-screen-step-body, .home-screen-ios, .home-screen-status, .home-screen-help p { color: #aaaab1; font-size: 13px; line-height: 1.5; }
.home-screen-ios { margin: 14px 0 0 40px; }
.home-screen-status { margin: 18px 0 0; }
.home-screen-help { margin-top: 14px; }
.home-screen-help summary { display: list-item; min-height: 44px; padding: 12px 0; color: #bdb0a0; font-size: 13px; cursor: pointer; }
.home-screen-help p { margin: 0 0 10px; }
.home-screen-actions { display: grid; gap: 3px; margin-top: 12px; }
.home-screen-add { min-height: 52px; width: 100%; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 27px; background: linear-gradient(#232324, #161617); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045); color: var(--accent-text, #e8b75f); font-size: 15px; font-weight: 560; }
.home-screen-add:disabled { color: #a39a89; opacity: .72; }
.home-screen-dismiss { min-height: 44px; color: #aaaab1; font-size: 14px; }
.home-screen-card button:active:not(:disabled) { filter: brightness(1.2); }
.home-screen-card button:focus-visible, .home-screen-card summary:focus-visible { outline: 2px solid #e8b75f; outline-offset: 3px; }
@keyframes home-screen-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-screen-card-in { from { transform: translateY(18px); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
@media (max-height: 600px) {
  .home-screen-card { padding-top: 18px; }
  .home-screen-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .home-screen-icon img { border-radius: 12px; }
  .home-screen-card h2 { font-size: 21px; }
  .home-screen-intro { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-screen-guide, .home-screen-card { animation: none; }
}
