/* Hot spots (src/js/hotspots.js), in their own file since 2026-10-01 so any page can have them (adaptive.html does);
   hotspots.js links this file itself, so a page only needs the script. Moved from instrument.css; the moss green became the spectrum on 2026-10-01 (Josh: "more of the iridescent colors vs the moss green"). */
/* Hot spots (src/js/hotspots.js): a soft dashed outline and a small dot hint
   that something can be selected and changed, as in Studio. */
.hot { outline: 1px dashed rgba(255,255,255,.22); outline-offset: 6px; transition: outline-color .3s ease; }
/* the headline rises behind a mask, so the word's outline sits inside it */
.hot-word { display: inline-block; outline-offset: -2px !important; }
/* the closing heading's lines as a Studio stack (hotspots.js "parts"): a flex column with a token gap */
.hot-parts { display: flex; flex-direction: column; }
.hot-parts .mo-line { margin-bottom: 0; }
.hot-parts .mo-line.hot-part { position: relative; outline: 1px dashed rgba(255,255,255,.18); outline-offset: -1px; cursor: grab; transition: outline-color .2s ease; }
.hot-parts .mo-line.hot-part:hover { outline-color: rgba(255,255,255,.55); }
.hot-parts .mo-line.is-selected { outline: 1.5px solid #c9b7ff; }
.hot-parts .mo-line.is-dragging { cursor: grabbing; z-index: 3; opacity: .92; }
/* the gap, drawn the way Studio draws spacing: a tinted band with its value */
.hot-gap { position: absolute; z-index: 119; pointer-events: none; background: repeating-linear-gradient(45deg, rgba(201,183,255,.3) 0 2px, transparent 2px 6px);
  display: flex; align-items: center; justify-content: center; }
.hot-gap span { padding: 1px 6px; border-radius: 4px; background: linear-gradient(115deg, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2); color: #0b0c0b; font: 600 11px/16px system-ui, sans-serif; }
.hot-sel-chip { position: absolute; z-index: 121; pointer-events: none; padding: 2px 7px; border-radius: 4px; background: linear-gradient(115deg, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2); color: #0b0c0b; font: 600 11px/16px system-ui, sans-serif; }
.hot-drop { position: absolute; z-index: 122; height: 2px; pointer-events: none; background: linear-gradient(115deg, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2); border-radius: 2px; box-shadow: 0 0 0 3px rgba(201,183,255,.22); }
.hot-drop[hidden], .hot-gap[hidden], .hot-sel-chip[hidden] { display: none; }
.hot-order { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.hot-order__b { width: 36px; height: 30px; border: 1px solid var(--line-2); border-radius: 8px; background: none; color: var(--ink); font: 15px/1 system-ui, sans-serif; cursor: pointer; }
.hot-order__b:hover:not(:disabled) { background: linear-gradient(115deg, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2); border-color: transparent; color: #0b0c0b; }
.hot-order__b:disabled { opacity: .3; cursor: default; }
.hot-order__n { margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.hot-panel--parts .hot-panel__prop { margin-top: 2px; }
html.mo-build :is(.hot-gap, .hot-sel-chip) { display: none; }
@media (max-width: 760px) { .hot-parts .mo-line.hot-part { cursor: default; } }
.hot:hover, .hot.hot-sel { outline-color: rgba(255,255,255,.7); }
.hot.hot-sel { outline-style: solid; }
.hot:not(a):not(.btn) { cursor: pointer; }
html.hot-btn .btn { border-radius: var(--hot-btn-radius) !important; transition: border-radius .35s cubic-bezier(.16,.84,.44,1); }
.sw-num, .hot-word, .sw-cap-img, .sw-shot { transition: font-weight .3s ease, border-radius .35s cubic-bezier(.16,.84,.44,1); }
.hot-dot { position: absolute; z-index: 120; width: 18px; height: 18px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
/* the spectrum and small, so it never reads as a full stop (Josh, 2026-09-24; the spectrum, not green, since 2026-10-01) */
.hot-dot::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: conic-gradient(#9ee7ff, #c9b7ff, #f6c7e7, #fff4c2, #9ee7ff); box-shadow: 0 0 0 3px rgba(201,183,255,.18);
  animation: hot-breathe 3.2s ease-in-out infinite; }
.hot-dot:hover::before, .hot-dot:focus-visible::before { box-shadow: 0 0 0 5px rgba(201,183,255,.3); animation: none; }
@keyframes hot-breathe { 50% { box-shadow: 0 0 0 6px rgba(201,183,255,.05); } }
html.mo-build:not(.mo-words) .hot { outline-color: transparent; }
html.mo-build:not(.mo-words) .hot-dot { opacity: 0; }
.hot-dot { transition: opacity .8s ease; }
.hot-panel { position: absolute; z-index: 150; width: 264px; box-sizing: border-box; padding: 14px 14px 12px;
  background: #0b0c0b; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.55);
  animation: mo-fade-in .22s ease both; text-align: left; }
.hot-panel[hidden] { display: none; }
.hot-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hot-panel__name { font-size: 12px; color: var(--ink); letter-spacing: .01em; }
.hot-panel__x { background: none; border: 0; color: var(--ink-3); font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.hot-panel__x:hover { color: var(--ink); }
.hot-panel__prop { margin: 0 0 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hot-seg { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; }
.hot-seg button { flex: 1; padding: 7px 4px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: inherit; font-size: 12px; cursor: pointer; }
.hot-seg button:hover { color: var(--ink); }
.hot-seg button[aria-checked="true"] { background: rgba(255,255,255,.1); color: var(--ink); }
.hot-panel__rows .hot-panel__prop + .hot-seg, .hot-panel__rows .hot-panel__prop + .hot-swatches { margin-bottom: 14px; }
.hot-panel__rows > :last-child { margin-bottom: 0 !important; }
.hot-swatches { display: flex; gap: 10px; }
.hot-swatch { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer;
  box-shadow: 0 0 0 0 transparent; transition: box-shadow .2s ease; }
.hot-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #0b0c0b, 0 0 0 3px var(--ink); }
.hot-swatch--ink { background: var(--ink); }
.hot-swatch--grey { background: rgba(244, 245, 243, 0.48); }
.hot-swatch--sky { background: #9EE7FF; }
.hot-swatch--lilac { background: #C9B7FF; }
.hot-swatch--flow { background: linear-gradient(135deg, var(--eden-flow, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2, #9ee7ff)); }
/* the colours a section number can take */
.sw-num { transition: font-weight .3s ease, color .35s ease; }
.hot-ink--grey { color: rgba(244, 245, 243, 0.48) !important; }
.hot-ink--sky { color: #9EE7FF !important; }
.hot-ink--lilac { color: #C9B7FF !important; }
.hot-ink--flow { color: transparent !important; background: linear-gradient(90deg, var(--eden-flow, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2, #9ee7ff)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; animation: hot-flow 8s linear infinite; }
@keyframes hot-flow { to { background-position: 300% 0; } }
.hot-panel__note { margin: 12px 0 0; font-size: 12px; line-height: 17px; color: var(--ink-2); }
.hot-panel__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--line); font-size: 11px; line-height: 15px; color: var(--ink-3); }
.hot-panel__reset { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; font-size: 11px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .hot-panel { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 84px; width: auto; }
}
