/* Slot + admin picker. Face, type, and layouts live in cover-face.css. */

.sr-blank-slot {
  --sr-cover: 480px;
  position: relative;
  display: block;
  width: 11rem;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 2px;
  container-type: inline-size;
  box-shadow: 0 10px 22px rgba(40, 32, 20, .16);
}

.sr-el-cover .sr-blank-slot {
  width: 100%;
  box-shadow: none;
}

.spreadread-style-field {
  max-width: 22rem;
}

.spreadread-style-preview {
  margin: 0 0 0.85rem;
}

.spreadread-style-card,
.spreadread-style-preview .sr-blank-slot {
  width: 10rem;
}

.spreadread-style-row {
  margin: 0 0 0.45rem;
}

.spreadread-style-size {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spreadread-style-size label {
  min-width: 6.5rem;
}

.spreadread-style-size input[type="range"] {
  flex: 1;
  min-width: 0;
}

.spreadread-style-size output {
  min-width: 3.2rem;
  font-variant-numeric: tabular-nums;
}

.spreadread-style-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}

.spreadread-style-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem 0.2rem 0.3rem;
  border: 1px solid #c3c4c7;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

.spreadread-style-chip:has(input:checked) {
  border-color: #1d2327;
}

.spreadread-style-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.spreadread-style-swatch {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}

.spreadread-cover-thumb {
  width: 48px;
}
