/* v20: the ready palette uses the photographed wooden cutout, including its
   transparent thumb hole. The existing controls sit on a small wood tab below
   the rim so they are never hidden by the palette itself. */
.easel-workspace > #palette-overlay {
  padding-bottom: 30px;
}

.easel-workspace > #palette-overlay > #study-panel {
  z-index: 4;
  aspect-ratio: 1000 / 650;
  overflow: visible !important;
  border: 0;
  border-radius: 0;
  background: url("assets/artist-palette-real-wood-v20b.png") center / 100% 100% no-repeat !important;
  box-shadow: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.easel-workspace > #palette-overlay > #study-panel > .board-heading {
  position: absolute;
  z-index: 3;
  inset: auto auto -30px 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 108px;
  height: 34px;
  min-height: 34px;
  padding: 5px 7px 4px;
  gap: 5px;
  overflow: visible;
  border: 1px solid #654028;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#26140838, #62341618 55%, #2412074a),
    url("assets/artist-palette-real-wood-v20b.png") 50% 77% / 300% 300% no-repeat,
    #93552e;
  box-shadow: inset 1px 0 #d5985c66, inset -1px 0 #27140970,
    inset 0 -2px 3px #32180ba8, 0 2px 4px #0007;
  pointer-events: auto;
}

.easel-workspace > #palette-overlay > #study-panel > .board-heading button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  margin: 0;
  padding: 3px;
  border: 1px solid #482b18;
  border-radius: 5px;
  background: linear-gradient(#70482b, #3b2618);
  box-shadow: inset 0 1px #c48d57a8, 0 1px 2px #251307a6;
  color: #fff2d3;
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 1px #211309;
}

.easel-workspace > #palette-overlay > #study-panel > .board-heading button:hover,
.easel-workspace > #palette-overlay > #study-panel > .board-heading button:focus-visible {
  background: linear-gradient(#946338, #50301c);
  color: #fff;
}

.easel-workspace > #palette-overlay > #study-panel > .board-heading .section-toggle {
  justify-content: center;
  font-size: 16px;
}

.easel-workspace > #palette-overlay > #study-panel > .board-heading #study-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.easel-workspace > #palette-overlay > #study-panel > .board-heading .collapse-chevron {
  display: block;
}

.easel-workspace > #palette-overlay #color-map {
  background: transparent !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.study-fullscreen #color-map {
  aspect-ratio: 1000 / 650;
  border: 0;
  border-radius: 0;
  background: url("assets/artist-palette-real-wood-v20b.png") center / 100% 100% no-repeat !important;
  box-shadow: none;
  -webkit-mask-image: none;
  mask-image: none;
}
