html[data-bf-clubs] .bf-room-grid {
  grid-template-columns: minmax(0, 1fr);
}
html[data-bf-clubs] .bf-room-grid.bf-room-web-panes {
  grid-template-columns: minmax(16rem, .7fr) minmax(0, 1.3fr);
}
.bf-room-web-panes .bf-room-log { height: clamp(19rem, 51dvh, 37rem); }
html[data-bf-clubs] .bf-room-sidebar { min-width: 0; }
.bf-room-grid:not(.bf-room-web-panes) .bf-room-sidebar {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
html[data-bf-clubs] .bf-room-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #69836f transparent;
  padding: .2rem .15rem .55rem;
}
html[data-bf-clubs] .bf-room-tabs button {
  flex: none;
  min-height: 44px;
  white-space: nowrap;
}
.bf-room-tabs button[aria-disabled=true] {
  opacity: .75;
  cursor: default;
}
.bf-club-lock { font-size: .82em; }
#bf-panel-announcements > div:first-of-type { margin-bottom: .65rem; }
html[data-bf-edition=forest] .bf-delete-club {
  background: #472b28;
  border-color: #a56a61;
  color: #ffded4;
}
.bf-room-reading h2 { margin: 0 0 .65rem; }
.bf-room-plan p { margin: .25rem 0; font-size: .9rem; }
.bf-room-more { margin-top: .9rem; }
.bf-room-more > summary, .bf-chat-spoiler > summary {
  cursor: pointer;
  font-weight: 700;
}
.bf-room-more > summary { padding: .5rem 0; }
.bf-room-plan:empty { display: none; }
.bf-spoiler-controls { display: flex; flex-wrap: wrap; gap: .55rem; }
.bf-spoiler-controls label { display: grid; font-size: .85rem; gap: .18rem; }
.bf-spoiler-controls label[hidden] { display: none; }
.bf-spoiler-controls input { max-width: 8rem; }
.bf-chat-spoiler { margin-top: .4rem; border-inline-start: 2px solid #d6ba70; padding-inline-start: .65rem; }
.bf-chat-spoiler > summary { color: #efcf7e; }
.bf-chat-spoiler[open] .bf-room-message { margin-top: .35rem; }
.bf-room-favorite .bf-club-current-book {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: .4rem;
  flex: none;
}
.bf-room-favorite .bf-club-current-book .book-tile {
  width: 4.7rem;
  height: auto;
  aspect-ratio: 2 / 3;
}

.bf-my-clubs, .bf-club-discover { margin-top: 1.7rem; }
.bf-my-clubs h2, .bf-club-discover h2 { margin: 0 0 .65rem; }
.bf-my-club-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.bf-club-discover {
  background: radial-gradient(ellipse at 85% 20%, #2c5442, #1d382d 68%);
  border: 1px solid #476252;
  border-radius: 1.1rem;
  padding: clamp(.85rem, 2.5vw, 1.5rem);
}
.bf-club-reel-toggle { margin-bottom: .6rem; }
.bf-club-reel {
  display: flex;
  gap: .65rem;
  position: relative;
  overflow-x: auto;
  padding: .22rem .2rem .55rem;
  scrollbar-width: thin;
  scrollbar-color: #69836f transparent;
}
.bf-club-reel + .bf-club-reel { margin-top: .35rem; }
.bf-club-reel-set { display: flex; flex: none; gap: .65rem; }
.bf-club-reel-set .bf-club-card-v28 { width: clamp(15rem, 62vw, 17.5rem); }
.bf-club-reel-short .bf-club-reel-set {
  animation: bf-short-club-drift var(--bf-club-drift-duration, 18s) linear infinite;
}
.bf-club-reel-short:nth-of-type(even) .bf-club-reel-set { animation-delay: -3.2s; }
.bf-club-reel:is(:hover, :focus-within) .bf-club-reel-set,
.bf-club-reel-paused .bf-club-reel-set { animation-play-state: paused; }
@keyframes bf-short-club-drift {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 1; }
  91% { opacity: 1; }
  100% { transform: translateX(var(--bf-club-drift, 1rem)); opacity: 0; }
}

.bf-club-card-v28 {
  position: relative;
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: .55rem .65rem;
  align-content: start;
  border: 1px solid #56755f;
  border-radius: .85rem;
  padding: .7rem;
  background: #193329;
  color: #fbf0d7;
}
.bf-club-card-v28:focus-within { outline: 2px solid #e8c66c; outline-offset: 1px; }
html[data-bf-edition=forest] .bf-club-card-v28 .bf-club-card-cover {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  align-self: start;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: .35rem;
  margin: 0;
  overflow: hidden;
  font-size: .75rem;
}
.bf-club-card-v28 .book-tile-placeholder { padding: .13rem; font-size: .6rem; }
.bf-club-card-text, .bf-club-card-details { min-width: 0; overflow-wrap: anywhere; }
.bf-club-card-text { grid-column: 2; grid-row: 1; }
.bf-club-card-details { grid-column: 1 / -1; }
.bf-club-card-details:empty { display: none; }
.bf-club-card-v28 p { margin: .15rem 0; font-size: .78rem; }
.bf-club-card-details .bf-club-card-book { color: #f0d994; font-weight: 680; }
.bf-club-card-link { color: inherit; font-weight: 750; }
.bf-club-card-link::after { content: ''; position: absolute; inset: 0; }
.bf-club-card-v28 > .bf-club-card-cover,
.bf-club-card-v28 > .bf-club-card-art {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  align-self: start;
}
.bf-club-card-v28 > button:not(.bf-club-card-art) {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: .85rem;
  min-height: 44px;
  padding: .35rem .65rem;
}
@media (prefers-reduced-motion: reduce) {
  .bf-club-reel-short .bf-club-reel-set { animation: none; }
}

.bf-picker-modes {
  display: flex;
  gap: .45rem;
  margin-block: .45rem;
}
.bf-picker-modes button { min-height: 44px; }
.bf-picker-modes button[aria-pressed="true"] { background: var(--butter, #e8c65c); color: #172f25; }
[data-bf-edition=forest] .bf-book-picker .bf-book-choices:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .35rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: .2rem;
  max-height: 25rem;
}
.bf-book-picker .bf-book-choices li { min-width: 0; margin: 0; }
[data-bf-edition=forest] .bf-book-picker .bf-book-choices button {
  display: block;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: .3rem;
}
.bf-book-picker .bf-picker-cover {
  width: 100%;
  border-radius: .3rem;
  padding: .125rem;
  text-align: center;
  font-size: .65rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
