/* GOB accounts: /login, /my-list extras and the header's account menu. */
.account-login {
  display: flex;
  min-height: 70vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-align: center;
}
.account-card {
  width: 100%;
  max-width: 384px;
  padding: 24px;
  border: 1px solid #ffffff1a;
  border-radius: var(--radius);
  background: #ffffff0d;
  text-align: left;
}
.account-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}
.account-google {
  width: 100%;
  margin-top: 20px;
}
.account-help,
.account-guest-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.account-error {
  margin: 12px 0 0;
  color: #ff9b8f;
  font-size: 0.9rem;
}
.account-guest {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.account-guest:hover,
.account-guest:focus-visible {
  color: var(--text);
}
.account-guest-note {
  max-width: 320px;
  margin-top: 4px;
  text-align: center;
}
.browse-heading.account-heading {
  padding-bottom: 8px;
}
.account-heading h1 {
  margin-bottom: 16px;
}
.my-list-page #my-list {
  margin-top: 0;
}
.my-list-page #my-list .section-top {
  margin-bottom: 12px;
}
.account-grid {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}
.account-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.account-offer[hidden] {
  display: none;
}
.account-offer p {
  flex: 1 1 260px;
  margin: 0;
}
.account-data {
  margin-top: 40px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-data summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.account-data p {
  color: var(--muted);
}
.account-data-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.account-data-actions .text-link,
.account-menu button,
.account-mobile button {
  min-height: 44px;
}
.account-menu > div > button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.account-menu > div > button:hover,
.account-menu > div > button:focus-visible {
  color: var(--gold);
}
.account-mobile {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.account-mobile p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.account-mobile button {
  align-self: flex-start;
}
[data-account-show][hidden] {
  display: none !important;
}
