/* The existing transparent JT mark, at its original aspect ratio. */
.bookish-ui300 .book-brand .jt-brand-logo,
.bookish-ui300 .book-back .jt-brand-logo {
  display: block;
  width: 48px;
  height: 44px;
  object-fit: contain;
  flex: none;
}
.bookish-ui300 .book-brand,
.bookish-ui300 .book-back {
  min-width: 44px;
  min-height: 44px;
}
.bookish-ui300 .jt-footer-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.bookish-ui300 .jt-footer-brand img {
  display: block;
  width: 32px;
  height: 30px;
  object-fit: contain;
}
.bookish-ui300 .book-brand:focus-visible,
.bookish-ui300 .book-back:focus-visible {
  outline: 2px solid #50563A;
  outline-offset: 3px;
}
/* Preserve the existing responsive visibility of book-brand/book-back. */
.bookish-ui300 .book-top [data-ui301-home] {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #DCD4C5;
  border-radius: 2px;
  color: #1B1A17;
  font: 500 14px/1 var(--sans, system-ui, sans-serif);
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, opacity .16s ease;
}
.bookish-ui300 .book-top [data-ui301-home] .jt-brand-logo {
  width: 36px;
  height: 34px;
}
.bookish-ui300 .jt-home-label { white-space: nowrap; flex: none; }
.bookish-ui300 .book-top [data-ui301-home]:active { opacity: .72; }
@media (hover:hover) {
  .bookish-ui300 .book-top [data-ui301-home]:hover {
    color: #50563A;
    background-color: #EFE9DD;
  }
}
@media (max-width:680px) {
  .bookish-ui300 .book-top [data-ui301-home] {
    padding-inline: 8px;
    gap: 6px;
    font-size: 13px;
  }
  .bookish-ui300 .book-top [data-ui301-home] .jt-brand-logo {
    width: 26px;
    height: 24px;
  }
  .bookish-ui300 .book-top.unit-top .mobile-unit-label {
    min-width: 0;
    margin-left: 0;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion:reduce) {
  .bookish-ui300 .book-top [data-ui301-home] { transition: none; }
}
