.diy-header-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
#diy-finish { white-space: nowrap; }
#diy.diy-completing #diy-materials,
#diy.diy-completing .diy-editbar,
#diy.diy-completing #diy-status { opacity: 0; pointer-events: none; }

#music-sleeve {
  z-index: 3;
  left: calc(61.3% + var(--sleeve-offset-x, 0%));
  top: calc(65.7% + var(--sleeve-offset-y, 0%));
  width: 7.8%;
  height: 11.8%;
  background: transparent;
}
#music-sleeve:focus-visible,
#music-sleeve:active:not(:disabled) { outline: none; transform: none; }
.sleeve-play {
  position: absolute;
  left: 48%;
  top: 59%;
  transform: translate(-50%,-50%);
  width: clamp(26px, 2.55vw, 38px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #f5ce95bc;
  border-radius: 50%;
  background: #25180de8;
  box-shadow: 0 0 7px #f4b65c63, inset 0 0 5px #ffce7f26;
  transition: box-shadow .2s, background .2s;
}
.sleeve-play::before {
  content: '';
  width: 37%;
  aspect-ratio: 1;
  transform: translateX(8%);
  background: #ffe9bf;
  clip-path: polygon(16% 0%,100% 50%,16% 100%);
}
#music-sleeve[aria-pressed='true'] .sleeve-play { border-color: #ffda9f; }
#music-sleeve:is(:hover,:focus-visible) .sleeve-play {
  background: #3d2617ef;
  box-shadow: 0 0 12px #ffd29296, inset 0 0 8px #ffd29255;
}
.sleeve-tip {
  position: absolute;
  top: calc(100% + 4px);
  left: 48%;
  transform: translate(-50%, 3px);
  white-space: nowrap;
  padding: 6px 12px;
  color: var(--hud-ivory);
  background: #3a251aee;
  border: 1px solid var(--hud-line-active);
  border-radius: var(--hud-pill);
  box-shadow: 0 0 8px #d3985d45;
  opacity: 0;
  pointer-events: none;
  font-size: 11px;
  transition: opacity .2s, transform .2s;
}
#music-sleeve:focus-visible .sleeve-tip { opacity: 1; transform: translateX(-50%); }
@media (hover: hover) {
  #music-sleeve:hover .sleeve-tip { opacity: 1; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sleeve-play, .sleeve-tip { transition: none; }
}
#appreciate {
  border-radius: var(--hud-pill);
  border: 1px solid var(--hud-line);
  color: var(--hud-ivory);
  background: var(--hud-glass-soft);
}
#appreciate:hover { border-color: var(--hud-line-active); }
#appreciate {
  display: block;
  min-height: 44px;
  margin: 6px auto 0;
  padding: 7px 16px;
  pointer-events: auto;
  color: var(--hud-gold);
  backdrop-filter: var(--hud-blur);
}
#cabin.cabin-appreciating > :not(#viewport, #appreciate-exit),
#cabin.cabin-appreciating #scene > .hotspot { visibility: hidden; pointer-events: none; }
#appreciate-exit {
  position: absolute;
  inset: 0;
  z-index: 12;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  outline: 0;
  cursor: default;
}
#appreciate-exit:focus-visible { outline: 0; }
@media (max-width: 700px) {
  .diy-header-actions { gap: 3px; }
  #diy-finish { padding-inline: 8px; order: -1; }
  #diy > header:has(#diy-finish:not([hidden])) { z-index: 1; pointer-events: none; }
}

#music-sleeve-layer {
  position: absolute;
  left: calc(60.0478469% + var(--sleeve-offset-x, 0%));
  top: calc(63.7619554% + var(--sleeve-offset-y, 0%));
  width: 10.1674641%;
  height: 15.9404888%;
  pointer-events: none;
  z-index: 2;
}

#diy.diy-completing > header,
#diy.diy-completing #diy-materials,
#diy.diy-completing .diy-editbar { opacity: 0; transition-duration: .65s; }

#cabin-finale {
  position: absolute;
  z-index: 6;
  top: 41%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: min(94%, 835px);
  color: #ffdc9e;
  text-align: center;
  text-shadow: 0 2px 12px #140a06, 0 0 28px #b668265a;
  pointer-events: none;
  visibility: hidden;
}
#cabin.cabin-appreciating > #cabin-finale { visibility: visible; }
#cabin-finale > span {
  display: block;
  font: italic clamp(34px, 6vw, 90px)/1.05 'Snell Roundhand', 'Apple Chancery', Georgia, serif;
}


.finale-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.3vw, 17px);
  margin-inline: auto;
  color: #ffcf83;
}
.finale-rule::before,
.finale-rule::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f6c57fb0 72%, #ffdf9b);
  box-shadow: 1px 0 7px #da8d5166;
}
.finale-rule::after { transform: scaleX(-1); }
.finale-rule > svg { flex: none; filter: drop-shadow(0 0 7px #ffb35f79); }
.finale-rule-tree { width: 61%; margin-bottom: clamp(8px, 1.2vw, 16px); }
.finale-rule-tree > svg { width: clamp(23px, 3.7vw, 49px); }
.finale-rule-heart { width: 47%; margin-top: clamp(12px, 1.6vw, 22px); }
.finale-rule-heart > svg { width: clamp(17px, 2.7vw, 32px); }

#turntable-layer {
  position: absolute;
  left: 62.5%;
  top: 55.791711%;
  width: 12.5598086%;
  height: 22.3166844%;
  pointer-events: none;
  z-index: 1;
}
#diy-camera-foreground { position: fixed; z-index: 23; pointer-events: none; }
