.cw-scene-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(132px, 15vw, 208px);
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  width: min(1180px, 92%);
  margin: clamp(24px, 4vw, 58px) auto 0;
}

.cw-scene-picker .cw-scene-view {
  grid-area: 1 / 1;
  min-width: 0;
}

.cw-try .cw-scene-picker .cw-guide {
  position: relative;
  inset: auto;
  grid-area: 1 / 2;
  width: 100%;
  margin: 0;
  padding: 0;
}

.cw-try .cw-scene-picker .cw-guide p {
  margin: 0 0 12px;
  padding: 11px 12px;
  border-radius: 18px 19px 17px 7px;
}

.cw-scene-picker .cw-scene-window {
  transform: none;
}

.cw-scene-frame {
  --cw-window-wood-light: #f5dcae;
  --cw-window-wood: #d8a671;
  --cw-window-wood-dark: #92603d;
  position: relative;
  padding: clamp(5px, 1.15vw, 16px);
  border: 1px solid #b98658;
  border-radius: 43% 45% 22px 22px / 16% 18% 22px 22px;
  background: linear-gradient(145deg, var(--cw-window-wood-light), #e9c58f 40%, var(--cw-window-wood) 88%);
  box-shadow: inset 0 0 0 2px rgb(255 246 212 / 52%), 0 7px 14px rgb(87 66 42 / 15%);
}

.cw-scene-frame .cw-scene-window {
  box-shadow: 0 0 0 1px rgb(110 70 42 / 48%), 0 2px 3px rgb(82 51 29 / 32%);
}

.cw-scene-frame::after {
  position: absolute;
  right: -3px;
  bottom: -4px;
  left: -3px;
  height: clamp(6px, .9vw, 12px);
  border: 1px solid #b98658;
  border-radius: 5px 5px 8px 8px;
  background: linear-gradient(var(--cw-window-wood-light), var(--cw-window-wood) 45%, var(--cw-window-wood-dark));
  box-shadow: 0 3px 0 rgb(87 66 42 / 12%);
  content: "";
  pointer-events: none;
}

.cw-try .cw-scene-picker .cw-scene-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
  width: 100%;
  margin-top: 13px;
}

.cw-try .cw-scene-picker .cw-scene-choices button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: clamp(3px, .45vw, 6px) clamp(3px, .45vw, 6px) 7px;
  border: 2px solid rgb(23 62 80 / 19%);
  border-radius: 8px 8px 12px 7px;
  transform: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.cw-try .cw-scene-picker .cw-scene-choices button:hover {
  border-color: #53857b;
}

.cw-try .cw-scene-picker .cw-scene-choices button[aria-pressed="true"] {
  border-color: #265e54;
  background: #e4f1df;
}

.cw-scene-picker .cw-scene-thumbnail {
  aspect-ratio: 2.7;
}

.cw-scene-picker .cw-scene-choice-check {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #265e54;
  font: 700 12px/1 sans-serif;
}

.cw-scene-picker button[aria-pressed="true"] .cw-scene-choice-check {
  display: grid;
}

.cw-scene-picker .cw-scene-choice-name {
  margin-top: 4px;
  font-size: clamp(10px, 1.15vw, 14px);
  line-height: 1.45;
  white-space: normal;
}

.cw-scene-picker .cw-scene-clock {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.cw-scene-picker .cw-scene-page b {
  font-size: 19px;
}

.cw-scene-picker .cw-caption {
  margin-top: 10px;
}

@media (max-width: 720px) {
  .cw-scene-picker {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    width: 94%;
    margin-top: 14px;
  }

  .cw-scene-picker .cw-scene-view {
    grid-area: 2 / 1;
  }

  .cw-try .cw-scene-picker .cw-guide {
    grid-area: 1 / 1;
    gap: 5px;
    padding-right: 4%;
  }

  .cw-try .cw-scene-picker .cw-guide p {
    margin: 0;
    padding: 6px 10px;
    transform: rotate(-3deg);
  }

  .cw-scene-picker .cw-guide .cw-guide-body {
    flex: 0 0 39px;
    width: 39px;
  }

  .cw-scene-picker .cw-guide .cw-guide-full {
    width: 100%;
  }

  .cw-scene-picker .cw-guide .cw-guide-porthole {
    border-width: 3px;
    border-bottom-width: 5px;
  }

  .cw-scene-picker .cw-guide-body::after {
    height: 7px;
    bottom: -2px;
  }
}
