.crockpot-ceremony {
  max-width: 640px;
  min-height: 0;
  margin-inline: auto;
  padding: 34px 0 26px;
  text-align: center;
}

.crockpot-heading .season { color: var(--blue, #a5bdf0); }
.crockpot-heading h1 {
  margin: 12px auto;
  font: 400 clamp(34px, 6.4vw, 62px)/1.05 var(--serif, Georgia);
  text-wrap: balance;
}
.crockpot-heading > p:last-child { margin: 12px 0 0; }

.crockpot-scene {
  --pot-surface: var(--cotton, none);
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  height: clamp(230px, 51vw, 308px);
  margin: 10px auto 0;
}

.crockpot-pot {
  position: absolute;
  inset: 46% 11% 8% 12%;
}
.crockpot-rim {
  position: absolute;
  inset: -14px 0 auto;
  height: 38px;
  z-index: 1;
  border: 5px solid #a9716d;
  border-radius: 48% 52% 46% 54%;
  background: #33262b;
  box-shadow: inset 0 5px 9px #1c181b;
}
.crockpot-body {
  position: absolute;
  inset: 3px 0 0;
  border-radius: 8% 8% 28% 25% / 8% 10% 60% 58%;
  background-color: #a95460;
  background-image: linear-gradient(99deg,#542c3c52,transparent 23%,#f3c0a32b 48%,#55223a55 93%),var(--pot-surface);
  background-blend-mode: normal, multiply;
  background-size: auto, 360px;
  box-shadow: inset 0 -10px 0 #552c3a3b, 0 13px 17px #060a1088;
  clip-path: polygon(0 0, 19% 1%, 42% 0, 61% 1%, 80% 0, 100% 2%, 98% 55%, 89% 93%, 73% 99%, 22% 100%, 7% 91%, 1% 48%);
}
.crockpot-pot::before,
.crockpot-pot::after {
  content: "";
  position: absolute;
  inset: 19px auto auto -6%;
  width: 10%;
  height: 19px;
  border: 5px solid #86424f;
  border-radius: 13px 7px 10px 8px;
  transform: rotate(-8deg);
}
.crockpot-pot::after {
  inset: 21px -6% auto auto;
  transform: rotate(8deg);
}
.crockpot-lid {
  position: absolute;
  left: 2%;
  bottom: 5%;
  z-index: 2;
  width: 27%;
  height: 17%;
  border: 3px solid #a78681;
  border-radius: 50% 52% 44% 56%;
  background: #664d52 var(--pot-surface) center / 400px;
  background-blend-mode: multiply;
  transform: rotate(-12deg);
  box-shadow: 0 7px 11px #070b1380;
}
.crockpot-lid::after {
  content: "";
  position: absolute;
  left: 35%;
  width: 28%;
  height: 14px;
  top: -8px;
  border: 2px solid #bc9990;
  border-radius: 40% 44% 20% 28%;
  background: #50383e;
}

.crockpot-slips {
  position: absolute;
  z-index: 3;
  top: 21%;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: clamp(2px, 1.4vw, 12px);
}
.crockpot-slip {
  --slip-tilt: -13deg;
  display: grid;
  place-items: center;
  width: clamp(44px, 11vw, 66px);
  height: 76px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.crockpot-slip:nth-child(2) { --slip-tilt: -7deg; margin-top: -10px; }
.crockpot-slip:nth-child(3) { --slip-tilt: 2deg; margin-top: -15px; }
.crockpot-slip:nth-child(4) { --slip-tilt: 9deg; margin-top: -9px; }
.crockpot-slip:nth-child(5) { --slip-tilt: 15deg; margin-top: 3px; }
.crockpot-slip > span,
.crockpot-lifted,
.crockpot-result {
  color: #231e24;
  background-color: #f8edda;
  background-image: linear-gradient(175deg,#fff7 49%,#6a58492a 50%,#fff2 51%),var(--pot-surface);
  background-blend-mode: normal, multiply;
  background-size: auto, 360px;
  border-radius: 2px 4px 3px 5px;
  box-shadow: 1px 5px 9px #14101c55;
}
.crockpot-slip > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(var(--slip-tilt));
  transition: transform 160ms ease-out;
}
.crockpot-slip:not(:disabled):hover > span,
.crockpot-slip:focus-visible > span {
  transform: translateY(-7px) rotate(var(--slip-tilt));
}
.crockpot-slip:focus-visible {
  outline: 2px solid #e9ba76;
  outline-offset: 2px;
}
.crockpot-slip.is-picked > span { visibility: hidden; }
.crockpot-slip:disabled { cursor: default; }

.crockpot-lifted {
  position: absolute;
  inset: 3% 50% auto auto;
  translate: 50% 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: min(78%, 250px);
  min-height: 94px;
  padding: 12px;
  font: 400 clamp(31px, 6vw, 47px)/1.1 var(--serif, Georgia);
  overflow-wrap: anywhere;
  pointer-events: none;
}
.crockpot-lifted[hidden] { display: none; }

.crockpot-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 15px auto;
}
.crockpot-results:empty { margin-block: 0; }
.crockpot-result {
  display: grid;
  gap: 3px;
  width: min(100%, 190px);
  padding: 11px 14px 10px;
  overflow-wrap: anywhere;
}
.crockpot-result > span { font-size: 13px; font-weight: 600; }
.crockpot-result > strong { font: 400 30px/1.1 var(--serif, Georgia); }
.crockpot-next:not(:empty) { margin-top: 18px; }
.crockpot-next button { min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .crockpot-slip > span { transition: none; }
  .crockpot-slip:not(:disabled):hover > span,
  .crockpot-slip:focus-visible > span { transform: rotate(var(--slip-tilt)); }
}

/* Original PDF ink on warm-white paper, preserved as a page-region rendering. */
.crockpot-lifted .handwritten-name,.crockpot-result .handwritten-name{display:block;width:100%;height:85px;object-fit:contain;mix-blend-mode:multiply}
.crockpot-result .handwritten-name{height:65px}
.crockpot-lifted{min-height:115px}
.crockpot-slip>span,.crockpot-lifted,.crockpot-result{background-color:#faf9f5;background-image:linear-gradient(175deg,#ffffff80 49%,#6a58491a 50%,#ffffff50 51%),var(--cotton);background-blend-mode:normal,luminosity}
.preview-rule-note{font-size:13px!important;color:#52606b}
