/* Account screens + account menu + favorites, shared by the main site and the shop.
   Black & white; font follows --af (mono on the main site, Geist in the shop). */
.auth, .acct-menu { --a-ink: #141414; --a-mute: #8a8a8a; --a-red: #e10600; --af: "Azeret Mono", monospace; }
.auth { position: fixed; inset: 0; z-index: 90; background: #fff; overflow-y: auto; display: flex; align-items: center; justify-content: center; font-family: var(--af); color: var(--a-ink); }
.auth[hidden] { display: none; }
.auth button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.auth .a-x { position: fixed; top: 16px; right: 18px; width: 22px; height: 22px; }
.auth .a-in { width: 320px; padding: 60px 0; text-align: center; }
.auth h2 { font-size: 32px; line-height: 1.2; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.auth .a-sub { margin: 18px 0 0; font-size: 14px; letter-spacing: .04em; }
.auth .a-sub button { text-decoration: underline; text-underline-offset: 3px; }
.auth .a-soc { display: flex; align-items: center; justify-content: center; position: relative; width: 320px; height: 48px; margin-top: 16px; border: 1px solid var(--a-ink); font-size: 13px; letter-spacing: .04em; }
.auth .a-sub + .a-soc { margin-top: 42px; }
.auth .a-soc svg { position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; }
.auth .a-mail { margin-top: 0; height: 40px; }
.auth .a-or { display: flex; align-items: center; gap: 12px; margin: 26px 0 22px; font-size: 13px; }
.auth .a-or::before, .auth .a-or::after { content: ""; flex: 1; border-top: 1px solid var(--a-ink); }
.auth .a-icons { display: flex; justify-content: center; gap: 14px; }
.auth .a-icons button, .auth .a-icons svg { width: 28px; height: 28px; }
.auth .a-form { margin-top: 34px; text-align: left; }
.auth .a-form label { display: block; margin-bottom: 26px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.auth .a-form input { display: block; width: 100%; height: 34px; border: 0; border-bottom: 1px solid var(--a-ink); border-radius: 0; padding: 0; font: 400 15px var(--af); color: var(--a-ink); background: transparent; outline: 0; }
.auth .a-forgot { display: block; margin: -6px 0 12px; font-size: 13px; text-decoration: underline; }
.auth .a-err { margin: -10px 0 12px; font-size: 13px; color: var(--a-red); }
.auth .a-main { display: block; width: 320px; height: 48px; margin-top: 30px; background: var(--a-ink); color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.auth .a-main:hover { background: #000; }
.auth .a-forgot + .a-err + .a-main, .auth .a-forgot + .a-main { margin-top: 0; }
.auth .a-main:disabled { opacity: .6; cursor: default; }
.auth p { margin: 0; }

.acct-menu { position: absolute; z-index: 80; width: 280px; padding: 16px; background: #fff; border: 1px solid var(--a-ink); font-family: var(--af); font-size: 12px; color: var(--a-ink); letter-spacing: .03em; }
.acct-menu[hidden] { display: none; }
.acct-menu button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: uppercase; }
.acct-menu .am-mail { color: var(--a-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.acct-menu .am-h { margin: 16px 0 8px; text-transform: uppercase; font-size: 11px; }
.acct-menu .am-favs { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.acct-menu .am-favs li + li { margin-top: 8px; }
.acct-menu .am-favs a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; text-transform: uppercase; }
.acct-menu .am-favs a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.acct-menu .am-favs img { width: 40px; height: 44px; object-fit: contain; flex: none; background: #fff; }
.acct-menu .am-none { color: var(--a-mute); margin: 0; }
.acct-menu .am-out { margin-top: 16px; }
.acct-menu .am-out:hover { text-decoration: underline; }

/* favorites heart: only for logged-in visitors */
.fav { display: none; position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; padding: 6px; background: none; border: 0; cursor: pointer; color: #141414; }
.fav svg { width: 22px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 1.3; }
.fav.on svg { fill: currentColor; }
html.logged .item:hover .fav, html.logged .fav.on, html.logged .fav.pp-fav { display: block; }
.fav.pp-fav { position: static; display: none; padding: 0; width: 24px; height: 22px; }
html.logged .fav.pp-fav { display: inline-block; }
@media (hover: none) { html.logged .item .fav { display: block; } }
@media (max-width: 767px) {
  .auth .a-in { width: 260px; }
  .auth h2 { font-size: 24px; }
  .auth .a-soc, .auth .a-main { width: 260px; }
}

/* hide the injected "Powered by Netlify" badge */
#nl-badge-frame { display: none !important; }
