.book-cover {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--theme-bg-primary);
}

.book-cover-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--theme-space-3);
  flex: 0 0 auto;
  padding: var(--theme-space-2) var(--theme-space-3);
  border-bottom: 1px solid var(--theme-border-default);
  background: var(--theme-bg-secondary);
}

.book-cover-title {
  min-width: 0;
  overflow: hidden;
  font-family: var(--theme-font-sans);
  font-size: 14px;
  font-weight: var(--theme-font-weight-semibold);
  color: var(--theme-text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.book-cover-fullscreen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--theme-radius-sm);
  background: transparent;
  color: var(--theme-text-secondary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.book-cover-fullscreen:hover {
  background: var(--theme-bg-tertiary);
  color: var(--theme-text-primary);
}

.book-cover-frame {
  flex: 1 1 auto;
  width: 100%;
  border: none;
}

.book-cover--fullscreen {
  background: var(--theme-bg-primary);
}
