.home-shelf {
  display: block;
  min-width: 0;
}
.press-directory {
  display: none;
}
.home-scroller {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.shelf-panel.is-shelf-editing .home-scroller {
  display: contents;
}
.auth-about-button {
  margin-top: 24px;
}
.theme-picker {
  margin: 28px 0;
  padding: 24px 0;
  border: 0;
  border-block: 1px solid var(--border-subtle);
  min-width: 0;
}
.theme-picker legend {
  padding: 0 12px 0 0;
  font: 600 20px var(--font-heading);
  color: var(--text-primary);
}
.theme-picker-copy,
.theme-picker-status {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.8;
}
.theme-picker-copy {
  margin-bottom: 14px;
}
.theme-picker-status:not(:empty) {
  margin-top: 12px;
}
.theme-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.theme-choice {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  cursor: pointer;
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.theme-choice:has(:checked) {
  border-color: var(--accent-primary);
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}
.theme-choice:has(:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}
.theme-choice:has(:disabled) {
  cursor: wait;
}
.theme-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.theme-choice strong {
  font-size: 14px;
  line-height: 1.5;
}
.theme-choice small {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.6;
}
.theme-choice-colors {
  display: flex;
  height: 26px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  --choice-base: #ece2cf;
  --choice-accent: #3a2618;
  --choice-detail: #b9975a;
}
[data-theme-choice='press'] .theme-choice-colors {
  --choice-base: #f3f2ee;
  --choice-accent: #111;
  --choice-detail: #c8351f;
}
[data-theme-choice='night'] .theme-choice-colors {
  --choice-base: #12151c;
  --choice-accent: #ece6d8;
  --choice-detail: #e0a857;
}
[data-theme-choice='airmail'] .theme-choice-colors {
  --choice-base: #fffaf0;
  --choice-accent: #c2392b;
  --choice-detail: #2f5d9b;
}
.theme-choice-colors i {
  width: 55%;
  background: var(--choice-base);
}
.theme-choice-colors i + i {
  width: 25%;
  background: var(--choice-accent);
}
.theme-choice-colors i + i + i {
  width: 20%;
  background: var(--choice-detail);
}
.info-dialog .theme-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .theme-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-choice {
    padding: 11px;
  }
}
