/* Planetary Playground. Colors match Circle of Infinity (--bg, --panel, --gold, --line, --muted, --root, --stable, --baby, --release). */
.ct-pp-open {
  position: relative;
  z-index: 30;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #434a55;
  border-radius: 8px;
  background: #11151b;
  color: #d5ad52;
  font: 900 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}
.ct-pp-open:focus-visible {
  outline: 2px solid #d5ad52;
  outline-offset: 2px;
}

.ct-pp {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 56px 16px 16px;
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(9, 11, 15, 0.55);
}
.ct-pp[hidden] { display: none !important; }

.ct-pp-panel {
  width: 100%;
  max-height: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0 14px 12px;
  border: 1px solid #2d343e;
  border-radius: 12px;
  background: #0d1117;
  color: #d5ad52;
  font: 500 14px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.ct-pp-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 -14px 10px;
  padding: 8px 12px;
  background: #11151b;
  border-bottom: 1px solid #2d343e;
  border-radius: 12px 12px 0 0;
  position: sticky;
  top: 0;
  z-index: 3;
}
.ct-pp-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.ct-pp-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
  color: #d5ad52;
}
.ct-pp-head p {
  margin: 2px 0 0;
  color: #d5ad52;
  font-size: 11px;
  font-weight: 700;
}
.ct-pp-close { white-space: nowrap; }
/* Back to 1/1 on the chord screen: tucked just under Map and Tunings, so nothing else moves. */
.ct-pp-head-row { position: relative; }
.ct-pp-sky-home {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1;
  white-space: nowrap;
  color: #d5ad52;
}
.ct-pp-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.ct-pp-head-actions.is-stacked {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.ct-pp-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-pp-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
}
.ct-pp-readcol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 100%;
  min-width: 0;
}
.ct-pp-readme {
  margin: 0;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
}
.ct-pp-readme summary {
  cursor: pointer;
  display: inline-block;
  box-sizing: border-box;
  padding: 7px 10px;
  font: 900 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  color: #d5ad52;
  background: #11151b;
  border: 1px solid #434a55;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0;
  list-style: none;
}
.ct-pp-readme summary::-webkit-details-marker { display: none; }
.ct-pp-readme summary::marker { content: ""; }
.ct-pp-readme-body {
  display: none;
}
.ct-pp-head:has(.ct-pp-readme[open]) .ct-pp-readme-body {
  display: block;
  width: 100%;
  margin-top: 8px;
  columns: 3;
  column-gap: 10px;
}
.ct-pp-readme-body p {
  margin: 0;
  padding: 0 6px 3px;
  color: #9bd7ff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ct-pp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d343e;
}
.ct-pp-tabs button { white-space: nowrap; }
.ct-pp-tabs button[aria-selected="true"] {
  border-color: #d5ad52;
  color: #090b0f;
  background: #d5ad52;
}

.ct-pp button,
.ct-pp-btn {
  font: 900 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  color: #d5ad52;
  background: #11151b;
  border: 1px solid #434a55;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
  white-space: nowrap;
  letter-spacing: 0;
}
.ct-pp button:focus-visible,
.ct-pp-btn:focus-visible,
.ct-pp select:focus-visible,
.ct-pp input:focus-visible,
.ct-pp textarea:focus-visible,
.ct-pp summary:focus-visible {
  outline: 2px solid #d5ad52;
  outline-offset: 2px;
}

.ct-pp-lead, .ct-pp-note, .ct-pp-facts p, .ct-pp-status {
  margin: 0 0 8px;
}
.ct-pp-lead { color: #d5ad52; }
.ct-pp-note, .ct-pp-axis { color: #9bd7ff; }
.ct-pp-axis { margin: 0 0 6px; font-size: 13px; }

.ct-pp-space {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0 0 10px;
  background: #090b0f;
  border: 1px solid #2d343e;
  border-radius: 12px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.ct-pp-space.is-tall { height: 520px; }
.ct-pp.is-silent {
  padding: 0;
  background: #05060a;
}
.ct-pp.is-silent .ct-pp-panel {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #05060a;
}
.ct-pp-space.is-blanket {
  height: min(68vh, 640px);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(213, 173, 82, 0.22), transparent 36%),
    radial-gradient(ellipse at 62% 58%, rgba(255, 126, 182, 0.12), transparent 32%),
    radial-gradient(ellipse at 50% 48%, #2a220f 0%, #12100c 36%, #090b0f 68%, #05060a 100%);
  box-shadow: inset 0 0 90px rgba(213, 173, 82, 0.12);
}
.ct-pp-space.is-blanket::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5000;
  background: radial-gradient(ellipse at 50% 48%, transparent 42%, rgba(5, 6, 10, 0.55) 78%, #05060a 100%);
}
.ct-pp-space.is-blanket .ct-pp-bond {
  height: 3px;
  margin-top: -1.5px;
}
.ct-pp-space.is-blanket .ct-pp-bond-fifth {
  background: #d5ad52;
  box-shadow: 0 0 10px 2px rgba(213, 173, 82, 0.95);
}
.ct-pp-space.is-blanket .ct-pp-bond-third {
  background: #ff7eb6;
  box-shadow: 0 0 10px 2px rgba(255, 126, 182, 0.9);
}
.ct-pp-space.is-blanket button.ct-pp-atom {
  box-shadow: 0 0 14px rgba(255, 214, 140, 0.45), 0 10px 18px rgba(0, 0, 0, 0.45);
}
.ct-pp-space.is-blanket button.ct-pp-atom.is-chord-root,
.ct-pp-space.is-blanket button.ct-pp-atom.is-home {
  box-shadow: 0 0 18px 4px rgba(255, 59, 48, 0.75), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-blanket button.ct-pp-atom.is-origin {
  box-shadow: inset 0 0 0 2px #ff3b30, 0 0 14px rgba(255, 214, 140, 0.45), 0 10px 18px rgba(0, 0, 0, 0.45);
}
.ct-pp-space:focus-visible { outline: 2px solid #d5ad52; outline-offset: 2px; }
.ct-pp-space.is-turning { cursor: grabbing; }
.ct-pp-turn {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 4000;
  margin: 0;
  color: #9bd7ff;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.ct-pp-space.is-blanket .ct-pp-side,
.ct-pp-space.is-blanket .ct-pp-tip {
  position: absolute;
  z-index: 5600;
  margin: 0;
  pointer-events: none;
}
.ct-pp-space.is-blanket .ct-pp-side {
  top: 36px;
  bottom: 86px;
  display: flex;
  align-items: center;
  width: min(230px, calc(50% - 346px));
  line-height: 1.35;
}
.ct-pp-space.is-blanket .ct-pp-side span {
  min-width: 0;
  overflow-wrap: break-word;
}
.ct-pp-space.is-blanket .ct-pp-side.is-left { left: 14px; }
.ct-pp-space.is-blanket .ct-pp-side.is-right { right: 14px; text-align: left; }
.ct-pp-space.is-blanket .ct-pp-tip {
  left: 16px;
  right: 16px;
  bottom: 10px;
  text-align: center;
  line-height: 1.35;
}
.ct-pp-space.is-blanket.is-tight .ct-pp-side {
  top: auto;
  bottom: 12px;
  width: 148px;
  height: auto;
  align-items: flex-end;
}
.ct-pp-space.is-blanket.is-tight .ct-pp-side.is-left { left: 12px; }
.ct-pp-space.is-blanket.is-tight .ct-pp-side.is-right { right: 12px; }
.ct-pp-space.is-blanket.is-tight .ct-pp-tip {
  left: 172px;
  right: 172px;
  bottom: 12px;
}
.ct-pp:has(.ct-pp-readme[open]) .ct-pp-space.is-blanket.is-tight .ct-pp-side,
.ct-pp:has(.ct-pp-readme[open]) .ct-pp-space.is-blanket.is-tight .ct-pp-tip {
  font-size: 11px;
  line-height: 1.25;
}
.ct-pp:has(.ct-pp-readme[open]) .ct-pp-space.is-blanket.is-tight .ct-pp-tip {
  left: 8px;
  right: 8px;
  bottom: 4px;
  text-align: center;
}
.ct-pp:has(.ct-pp-readme[open]) .ct-pp-space.is-blanket.is-tight .ct-pp-side {
  width: min(48%, 340px);
  bottom: 40px;
  top: auto;
}
.ct-pp:has(.ct-pp-readme[open]) .ct-pp-space.is-blanket.is-tight .ct-pp-side.is-left { left: 8px; }
.ct-pp:has(.ct-pp-readme[open]) .ct-pp-space.is-blanket.is-tight .ct-pp-side.is-right { right: 8px; }
.ct-pp-stage { position: absolute; inset: 0; }
.ct-pp-bond {
  position: absolute;
  height: 7px;
  margin-top: -3.5px;
  transform-origin: 0 50%;
  border-radius: 4px;
  pointer-events: none;
}
.ct-pp-bond-fifth { background: linear-gradient(#f3dc9a, #d5ad52 42%, #7d6230); }
.ct-pp-bond-third { background: linear-gradient(#ffd0e6, #ff7eb6 46%, #9c3d66); }
.ct-pp-bond-octave { background: linear-gradient(#e7fbff, #2fdcff 42%, #146878); }
.ct-pp-bond-seventh { background: linear-gradient(#efe4ff, #c4a0ff 46%, #6a4a9e); }

.ct-pp-shapes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
}
.ct-pp-shapes.is-rows {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: 1 1 100%;
}
.ct-pp-shape-row {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.ct-pp-shape-label {
  color: #d5ad52;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.ct-pp-shape-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.ct-pp-head-bar:has(> .ct-pp-head-actions.is-stacked) > .ct-pp-head-title {
  align-self: flex-start;
}
.ct-pp-head > .ct-pp-shapes.is-rows {
  display: block;
  margin-top: -36px;
  position: relative;
  pointer-events: none;
}
.ct-pp-head > .ct-pp-shapes.is-rows .ct-pp-shape-row {
  margin-top: 4px;
  grid-template-columns: 5.75em minmax(0, 1fr);
}
.ct-pp-head > .ct-pp-shapes.is-rows .ct-pp-shape-row:first-of-type {
  margin-top: 0;
}
.ct-pp-head > .ct-pp-shapes.is-rows button {
  pointer-events: auto;
}
.ct-pp-shape-gap {
  float: right;
  width: 138px;
  height: 40px;
}
/* Keeps the chord buttons clear of Back to 1/1, which sits just under Map and Tunings. */
.ct-pp-shape-gap.is-home {
  clear: right;
  width: 98px;
  height: 36px;
}
.ct-pp-chord-wrap {
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  min-height: 0;
}
.ct-pp-chord-wrap > .ct-pp-space.is-blanket {
  min-width: 0;
}
.ct-pp-chord-panel {
  flex: 0 0 clamp(170px, 15vw, 220px);
  align-self: center;
  box-sizing: border-box;
  padding: 12px 12px 10px;
  border: 1px solid #2d343e;
  border-radius: 10px;
  background: #11151b;
  color: #9bd7ff;
}
.ct-pp-chord-panel .ct-pp-dots {
  display: block;
  width: 8rem;
  height: 6.5rem;
  margin: 0 auto 10px;
}
/* Side-panel picture: faint hex grid and note names behind the dots (as on the pond's header). */
.ct-pp-chord-panel .ct-pp-dots svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ct-pp-chord-panel .ct-pp-dots svg line {
  stroke: rgba(190, 236, 240, 0.22);
  stroke-width: 1.25;
}
.ct-pp-chord-panel .ct-pp-dots b {
  position: absolute;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: rgba(190, 236, 240, 0.44);
}
.ct-pp-chord-panel .ct-pp-dots em {
  position: absolute;
  transform: translate(-50%, -50%);
  font: 700 var(--letter, 8px)/1 Inter, ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  letter-spacing: 0;
  white-space: nowrap;
  color: rgba(214, 228, 236, 0.5);
  text-shadow: 0 0 2px #11151b, 0 0 2px #11151b, 0 0 3px #11151b;
}
.ct-pp-chord-panel .ct-pp-dots.no-letters em,
.ct-pp-chord-panel .ct-pp-dots em.is-off {
  display: none;
}
.ct-pp-chord-panel .ct-pp-dots i {
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  box-shadow: 0 0 8px rgba(255, 214, 140, 0.55);
}
.ct-pp-chord-panel .ct-pp-dots i.is-root {
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.75);
}
.ct-pp-chord-panel h3 {
  margin: 0 0 10px;
  color: #d5ad52;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.ct-pp-chord-panel ol {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: start;
  column-gap: 10px;
  row-gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-pp-chord-panel li {
  display: contents;
}
.ct-pp-chord-panel li span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.ct-pp-chord-panel li span:last-child {
  text-align: right;
}
.ct-pp-chord-panel li span:nth-child(2) {
  white-space: normal;
  overflow-wrap: anywhere;
}
.ct-pp-chord-panel li.is-root span {
  color: #ff8a80;
}
.ct-pp-space.is-blanket .ct-pp-bond.is-chord-bond {
  height: 6px;
  margin-top: -3px;
  border-radius: 3px;
}
.ct-pp-space.is-blanket .ct-pp-bond-fifth.is-chord-bond {
  box-shadow: 0 0 14px 4px rgba(213, 173, 82, 1);
}
.ct-pp-space.is-blanket .ct-pp-bond-third.is-chord-bond {
  box-shadow: 0 0 14px 4px rgba(255, 126, 182, 1);
}
.ct-pp-space.is-blanket button.ct-pp-atom.is-chord {
  box-shadow: 0 0 0 2px #d5ad52, 0 0 18px 4px rgba(255, 214, 140, 0.7), 0 10px 18px rgba(0, 0, 0, 0.45);
}
.ct-pp-shapes.is-rows .ct-pp-shape.is-on {
  border-color: #d5ad52;
  color: #090b0f;
  background: #d5ad52;
  box-shadow: 0 0 0 2px rgba(213, 173, 82, 0.35);
}
.ct-pp-shapes.is-rows .ct-pp-shape.is-on .ct-pp-dots i:not(.is-root) {
  background: #090b0f;
}
.ct-pp button.ct-pp-shape {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  max-width: 100%;
  padding: 2px 0.5em;
  font-size: clamp(10px, 1.7vw, 12px);
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
}
.ct-pp-shape.is-on {
  border-color: #d5ad52;
  color: #d5ad52;
  background: #18140b;
  padding: 3px 0.55em 4px;
}
.ct-pp-dots {
  position: relative;
  width: 4.6rem;
  height: 3.4rem;
}
.ct-pp-shape.is-on .ct-pp-dots {
  width: 2.35rem;
  height: 1.7rem;
}
.ct-pp-shape.is-on .ct-pp-dots i {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
}
.ct-pp-dots i {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #f4f1ea;
}
.ct-pp-dots i.is-root { background: #ff3b30; }

.ct-pp button.ct-pp-atom {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 50%;
  height: auto;
  aspect-ratio: auto;
  clip-path: none;
  background: radial-gradient(circle at 32% 28%, #f7f4ee, #8d93a0 40%, #151920 76%);
  border: 0;
  color: #090b0f;
  white-space: normal;
  overflow: hidden;
  line-height: 1.05;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.ct-pp-atom strong {
  font-size: clamp(8px, 1.5vw, 12px);
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
  color: #090b0f;
}
.ct-pp-atom small {
  font-size: clamp(7px, 1.2vw, 11px);
  color: #090b0f;
  font-weight: 600;
  white-space: nowrap;
}
.ct-pp-atom.is-dot strong,
.ct-pp-atom.is-dot small { display: none; }
.ct-pp button.ct-pp-atom.is-fifth { background: radial-gradient(circle at 32% 28%, #ffe7a8, #d5ad52 55%, #8a6a28); color: #090b0f; }
.ct-pp button.ct-pp-atom.is-third { background: radial-gradient(circle at 32% 28%, #ffd6e8, #ff7eb6 55%, #b84b78); color: #090b0f; }
.ct-pp button.ct-pp-atom.is-octave { background: radial-gradient(circle at 32% 28%, #e7fbff, #2fdcff 50%, #1493ad); color: #090b0f; }
.ct-pp button.ct-pp-atom.is-fifth strong,
.ct-pp button.ct-pp-atom.is-fifth small,
.ct-pp button.ct-pp-atom.is-third strong,
.ct-pp button.ct-pp-atom.is-third small,
.ct-pp button.ct-pp-atom.is-octave strong,
.ct-pp button.ct-pp-atom.is-octave small { color: #090b0f; }
.ct-pp button.ct-pp-atom.is-home { background: radial-gradient(circle at 32% 28%, #ffd5d1, #ff3b30 42%, #4a1512 78%); }
.ct-pp button.ct-pp-atom.is-scale { background: radial-gradient(circle at 32% 28%, #fff6d8, #d5ad52 46%, #2a2416 80%); }
.ct-pp button.ct-pp-atom.is-near { background: radial-gradient(circle at 32% 28%, #e7fbff, #2fdcff 42%, #12343c 78%); }
.ct-pp button.ct-pp-atom.is-selected { background: radial-gradient(circle at 32% 28%, #e7fff0, #39f28a 42%, #0c1712 78%); }
.ct-pp button.ct-pp-atom.is-chord { background: radial-gradient(circle at 32% 28%, #fff6d8, #e6d3a1 46%, #3a3120 80%); color: #090b0f; }
.ct-pp button.ct-pp-atom.is-chord strong,
.ct-pp button.ct-pp-atom.is-chord small { color: #090b0f; }
.ct-pp button.ct-pp-atom.is-home strong,
.ct-pp button.ct-pp-atom.is-home small,
.ct-pp button.ct-pp-atom.is-scale strong,
.ct-pp button.ct-pp-atom.is-scale small,
.ct-pp button.ct-pp-atom.is-near strong,
.ct-pp button.ct-pp-atom.is-near small,
.ct-pp button.ct-pp-atom.is-selected strong,
.ct-pp button.ct-pp-atom.is-selected small { color: #090b0f; }
.ct-pp button.ct-pp-atom.is-chord-root { background: radial-gradient(circle at 32% 28%, #ffd5d1, #ff3b30 42%, #4a1512 78%); color: #090b0f; }
.ct-pp button.ct-pp-atom.is-chord-root strong,
.ct-pp button.ct-pp-atom.is-chord-root small { color: #090b0f; }
.ct-pp button.ct-pp-atom.is-square { box-shadow: inset 0 0 0 2px #090b0f, 0 8px 16px rgba(0, 0, 0, 0.35); }

.ct-pp-row, .ct-pp-actions, .ct-pp-partials, .ct-pp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0;
}
.ct-pp label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  min-width: 0;
  color: #9bd7ff;
}
.ct-pp input, .ct-pp select, .ct-pp textarea {
  font: 500 14px/1.3 Inter, ui-sans-serif, system-ui, sans-serif;
  color: #d5ad52;
  background: #090b0f;
  border: 1px solid #434a55;
  border-radius: 8px;
  padding: 7px 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.ct-pp textarea { min-height: 7.5rem; resize: vertical; white-space: pre; }
.ct-pp select { max-width: 100%; }

.ct-pp-facts {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #090b0f;
  border: 1px solid #2d343e;
}
.ct-pp-facts h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #d5ad52;
}
.ct-pp-facts p { color: #9bd7ff; }
.ct-pp-off {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 6px 0 8px;
}
.ct-pp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 2px 2px 8px;
  border-radius: 999px;
  background: #11151b;
  border: 1px solid #434a55;
  white-space: nowrap;
}
.ct-pp-chip button { padding: 4px 8px; }

.ct-pp-staff {
  margin: 8px 0 12px;
  padding: 8px 10px 10px;
  background: #f7f4ee;
  border: 1px solid #d9d3c7;
  border-radius: 8px;
  overflow-x: auto;
}
.ct-pp-staff figcaption {
  margin: 0 0 6px;
  color: #1c2430;
  font-weight: 600;
}
.ct-pp-staff svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.ct-pp-status {
  min-height: 1.3em;
  margin-top: 8px;
  color: #9bd7ff;
}
.ct-pp-status.is-ok { color: #39f28a; }
.ct-pp-panel:has(.ct-pp-chord-wrap) > .ct-pp-status {
  text-align: center;
}
.ct-pp-panel > .ct-pp-tip {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
  line-height: 1.35;
}
.ct-pp:has(.ct-pp-readme[open]):has(.ct-pp-space.is-blanket.is-tight) .ct-pp-panel > .ct-pp-tip {
  font-size: 11px;
  line-height: 1.25;
}

html:has(body.ct-pp-standalone),
.ct-pp-standalone {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #090b0f;
  color: #d5ad52;
}
.ct-pp-standalone .ct-pp {
  position: fixed;
  inset: 0;
  display: flex;
  padding: 0;
  background: transparent;
  z-index: auto;
  overflow: hidden;
}
.ct-pp-standalone .ct-pp-panel {
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #090b0f;
  overflow: hidden;
}
.ct-pp-standalone .ct-pp-head {
  border-radius: 0;
  background: #0d1117;
}
.ct-pp-standalone .ct-pp.is-silent {
  position: fixed;
  inset: 0;
}

@media (max-width: 520px) {
  .ct-pp { padding: 8px; }
  .ct-pp-panel { width: 100%; }
  .ct-pp-open { font-size: 12px; }
  .ct-pp-space,
  .ct-pp-space.is-tall { height: 320px; }
  .ct-pp-space.is-blanket { height: 78vh; }
}

.ct-pp.is-opening {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: block;
  padding: 0;
  margin: 0;
  background: #05060a;
}
.ct-pp.is-opening .ct-pp-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #05060a;
}
.ct-pp-space.is-cube {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  user-select: none;
  background:
    radial-gradient(ellipse at 46% 40%, rgba(213, 173, 82, 0.28), transparent 38%),
    radial-gradient(ellipse at 64% 58%, rgba(255, 126, 182, 0.16), transparent 34%),
    radial-gradient(ellipse at 36% 64%, rgba(47, 220, 255, 0.16), transparent 36%),
    radial-gradient(ellipse at 54% 32%, rgba(196, 160, 255, 0.14), transparent 32%),
    radial-gradient(ellipse at 50% 48%, #2a220f 0%, #12100c 34%, #090b0f 66%, #05060a 100%);
  box-shadow: inset 0 0 120px rgba(213, 173, 82, 0.16), inset 0 0 80px rgba(47, 220, 255, 0.06);
}
.ct-pp-space.is-cube::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5000;
  background: radial-gradient(ellipse at 50% 48%, transparent 46%, rgba(5, 6, 10, 0.45) 78%, #05060a 100%);
}
.ct-pp-space.is-cube .ct-pp-turn,
.ct-pp-space.is-cube .ct-pp-heard,
.ct-pp-space.is-cube .ct-pp-home,
.ct-pp-cube-tools {
  z-index: 6000;
}
.ct-pp-heard {
  position: absolute;
  top: 28px;
  left: 10px;
  margin: 0;
  max-width: min(280px, calc(100% - 150px));
  color: #9bd7ff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  pointer-events: none;
}
.ct-pp-map-title {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 6000;
  margin: 0;
  transform: translateX(-50%);
  color: #d5ad52;
  font-family: inherit;
  font-size: clamp(20px, 1.85vw, 26px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.ct-pp-space.is-cube.is-opening-map .ct-pp-heard {
  top: calc(100% - 52px);
  left: 50%;
  right: auto;
  bottom: auto;
  max-width: calc(100% - 220px);
  width: max-content;
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(16px, 2.9vh, 26px);
  line-height: 1.15;
  white-space: nowrap;
}
.ct-pp-home {
  position: absolute;
  left: 12px;
  bottom: 10px;
  white-space: nowrap;
  color: #d5ad52;
  font-size: 13px;
  line-height: 1.2;
  padding: 6px 10px;
}
.ct-pp-cube-tools {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.ct-pp-zoom {
  display: flex;
  gap: 6px;
}
.ct-pp-zoom button {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
.ct-pp-space.is-cube .ct-pp-bond {
  height: 3px;
  margin-top: -1.5px;
}
.ct-pp-space.is-cube .ct-pp-bond-fifth {
  background: #d5ad52;
  box-shadow: 0 0 10px 2px rgba(213, 173, 82, 0.95);
}
.ct-pp-space.is-cube .ct-pp-bond-third {
  background: #ff7eb6;
  box-shadow: 0 0 10px 2px rgba(255, 126, 182, 0.9);
}
.ct-pp-space.is-cube .ct-pp-bond-seventh {
  background: #c4a0ff;
  box-shadow: 0 0 10px 2px rgba(196, 160, 255, 0.9);
}
.ct-pp-space.is-cube .ct-pp-bond-eleven {
  background: #3ddc97;
  box-shadow: 0 0 10px 2px rgba(61, 220, 151, 0.9);
}
.ct-pp-space.is-cube .ct-pp-bond-thirteen {
  background: #ffb020;
  box-shadow: 0 0 10px 2px rgba(255, 176, 32, 0.9);
}
.ct-pp-space.is-cube .ct-pp-atom {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
  cursor: pointer;
  color: #090b0f;
  background: radial-gradient(circle at 32% 28%, #f0e2c4, #6a5a3a 42%, #14110c 78%);
  box-shadow: 0 0 14px rgba(213, 173, 82, 0.45), 0 10px 18px rgba(0, 0, 0, 0.45);
}
.ct-pp-space.is-cube .ct-pp-atom.is-fifth {
  background: radial-gradient(circle at 32% 28%, #ffe7a8, #d5ad52 55%, #8a6a28);
  box-shadow: 0 0 16px rgba(213, 173, 82, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-third {
  background: radial-gradient(circle at 32% 28%, #ffd6e8, #ff7eb6 55%, #b84b78);
  box-shadow: 0 0 16px rgba(255, 126, 182, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-seventh {
  background: radial-gradient(circle at 32% 28%, #efe4ff, #c4a0ff 55%, #6e4ca8);
  box-shadow: 0 0 16px rgba(196, 160, 255, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-eleven {
  background: radial-gradient(circle at 32% 28%, #d9ffef, #3ddc97 55%, #147a52);
  box-shadow: 0 0 16px rgba(61, 220, 151, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-thirteen {
  background: radial-gradient(circle at 32% 28%, #ffe6b8, #ffb020 55%, #8a5a10);
  box-shadow: 0 0 16px rgba(255, 176, 32, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-chord {
  background: radial-gradient(circle at 32% 28%, #fff6d8, #e6d3a1 46%, #3a3120 80%);
  box-shadow: 0 0 16px rgba(230, 211, 161, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-origin {
  box-shadow: inset 0 0 0 2px #ff3b30, 0 0 14px rgba(213, 173, 82, 0.45), 0 10px 18px rgba(0, 0, 0, 0.45);
}
.ct-pp-space.is-cube .ct-pp-atom.is-origin.is-chord {
  box-shadow: inset 0 0 0 2px #ff3b30, 0 0 16px rgba(230, 211, 161, 0.9), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-atom.is-home,
.ct-pp-space.is-cube .ct-pp-atom.is-hot {
  background: radial-gradient(circle at 32% 28%, #ffd5d1, #ff3b30 42%, #4a1512 78%);
  box-shadow: 0 0 18px 4px rgba(255, 59, 48, 0.75), 0 10px 18px rgba(0, 0, 0, 0.4);
}
.ct-pp-space.is-cube .ct-pp-bond.is-chord-link {
  height: 5px;
  margin-top: -2.5px;
  background: linear-gradient(#fff6d8, #e6d3a1 46%, #8a7040);
  box-shadow: 0 0 12px 3px rgba(230, 211, 161, 0.95);
}
.ct-pp-space.is-cube .ct-pp-atom strong {
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  color: #090b0f;
}
.ct-pp-space.is-cube .ct-pp-atom[data-long] {
  overflow: visible;
}
.ct-pp-space.is-cube .ct-pp-atom[data-long] strong {
  position: absolute;
  padding: 0 3px;
  border-radius: 3px;
  background: #f3e6c8;
  color: #090b0f;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}
.ct-pp-space.is-cube .ct-pp-atom[data-long="up"] strong,
.ct-pp-space.is-cube .ct-pp-atom[data-long="1"] strong {
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
}
.ct-pp-space.is-cube .ct-pp-atom[data-long="down"] strong {
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%);
}
.ct-pp-space.is-cube .ct-pp-atom[data-long="right"] strong {
  left: calc(100% + 3px);
  top: 50%;
  transform: translateY(-50%);
}
.ct-pp-space.is-cube .ct-pp-atom[data-long="left"] strong {
  right: calc(100% + 3px);
  top: 50%;
  transform: translateY(-50%);
}
.ct-pp-soni {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 6000;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(280px, calc(100% - 168px));
  padding: 8px 10px;
  border: 1px solid #d5ad52;
  border-radius: 10px;
  background: #11151b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.ct-pp-soni-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd5d1, #ff3b30 55%, #4a1512);
}
.ct-pp-soni-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ct-pp-soni-copy strong {
  color: #d5ad52;
  font-size: 13px;
  line-height: 1.2;
}
.ct-pp-soni-copy span {
  color: #9bd7ff;
  font-size: 12px;
  line-height: 1.25;
}

.ct-pp:not(.is-opening) .ct-pp-head,
.ct-pp:not(.is-opening) .ct-pp-intro,
.ct-pp:not(.is-opening) .ct-pp-tabs,
.ct-pp:not(.is-opening) .ct-pp-status {
  flex: 0 0 auto;
}
.ct-pp:not(.is-opening) #ct-pp-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ct-pp:not(.is-opening) .ct-pp-space.is-blanket {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  margin: 0;
}
.ct-pp-space.is-blanket.is-short {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(213, 173, 82, 0.22), transparent 48%),
    radial-gradient(ellipse at 62% 58%, rgba(255, 126, 182, 0.12), transparent 42%),
    radial-gradient(ellipse at 50% 55%, #2a220f 0%, #12100c 46%, #090b0f 100%);
}
.ct-pp-space.is-blanket.is-short::after {
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(5, 6, 10, 0.2) 82%, rgba(5, 6, 10, 0.4) 100%);
}
.ct-pp-series,
.ct-pp-tune {
  min-width: 0;
}
.ct-pp-series {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-pp-explain {
  margin: 0;
  min-width: 0;
}
.ct-pp-explain summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #d5ad52;
  font-weight: 700;
  font-size: var(--pp-text, 14px);
  list-style: none;
}
.ct-pp-explain summary::-webkit-details-marker { display: none; }
.ct-pp-explain summary::marker { content: ""; }
.ct-pp-explain summary::before {
  content: "▶";
  font-size: 0.85em;
  line-height: 1;
}
.ct-pp-explain[open] summary::before { content: "▼"; }
.ct-pp-explain .ct-pp-explain-less { display: none; }
.ct-pp-explain[open] .ct-pp-explain-more { display: none; }
.ct-pp-explain[open] .ct-pp-explain-less { display: inline; }
.ct-pp-explain.is-cover[open] {
  position: absolute;
  inset: 0;
  z-index: 5;
  box-sizing: border-box;
  margin: 0;
  padding: 4px 8px 6px;
  background: #090b0f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ct-pp-explain.is-cover[open] .ct-pp-series-copy {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
}
.ct-pp-series-copy {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 18px;
  align-items: start;
}
@media (min-width: 680px) {
  .ct-pp-series-copy {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  }
}
.ct-pp-series-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ct-pp-series .ct-pp-lead,
.ct-pp-series .ct-pp-note {
  margin: 0;
  font-size: var(--pp-text, 14px);
  line-height: 1.35;
}
.ct-pp-series-stage {
  flex: 0 0 auto;
  min-width: 0;
}
.ct-pp-series .ct-pp-staff {
  margin: 0;
  overflow: hidden;
}
.ct-pp-series.is-snug {
  gap: 2px;
}
.ct-pp-series.is-snug .ct-pp-series-copy,
.ct-pp-series.is-snug .ct-pp-series-notes {
  gap: 2px 12px;
}
.ct-pp-series.is-snug .ct-pp-lead,
.ct-pp-series.is-snug .ct-pp-note {
  line-height: 1.25;
  margin: 0;
}
.ct-pp-series.is-snug .ct-pp-staff {
  padding: 2px 4px 3px;
}
.ct-pp-series.is-snug .ct-pp-staff figcaption {
  margin-bottom: 1px;
  font-size: var(--pp-text, 11px);
  line-height: 1.25;
}
.ct-pp-series.is-snug .ct-pp-actions,
.ct-pp-series.is-snug .ct-pp-partials {
  margin: 2px 0 0;
  gap: 3px;
}
.ct-pp-series.is-snug button {
  font-size: var(--pp-btn, 11px);
  padding: 2px 6px;
  white-space: nowrap;
}
.ct-pp-tune.is-snug {
  gap: 4px 12px;
}
.ct-pp-tune.is-snug .ct-pp-lead,
.ct-pp-tune.is-snug .ct-pp-note,
.ct-pp-tune.is-snug .ct-pp-facts p,
.ct-pp-tune.is-snug .ct-pp-off > p {
  font-size: var(--pp-text, 11px);
  line-height: 1.28;
  margin: 0 0 4px;
}
.ct-pp-tune.is-snug .ct-pp-facts {
  margin: 4px 0;
  padding: 4px 8px;
}
.ct-pp-tune.is-snug .ct-pp-facts h3,
.ct-pp-tune.is-snug h3 {
  font-size: var(--pp-text, 12px);
  margin: 0 0 3px;
}
.ct-pp-tune.is-snug .ct-pp-actions,
.ct-pp-tune.is-snug .ct-pp-off {
  margin: 2px 0 0;
  gap: 4px;
}
.ct-pp-tune.is-snug button,
.ct-pp-tune.is-snug .ct-pp-btn {
  font-size: var(--pp-btn, 11px);
  padding: 3px 7px;
  white-space: nowrap;
}
.ct-pp-tune.is-snug label {
  font-size: var(--pp-text, 11px);
  gap: 2px;
}
.ct-pp-tune.is-snug textarea {
  min-height: 2.6rem;
  height: 3rem;
  max-height: 3rem;
}
.ct-pp-tune.is-snug select,
.ct-pp-tune.is-snug input,
.ct-pp-tune.is-snug textarea {
  font-size: var(--pp-text, 11px);
  padding: 4px 6px;
}
.ct-pp-series .ct-pp-staff svg {
  width: 100%;
  height: auto;
}
.ct-pp-series-tools {
  flex: 0 0 auto;
}
.ct-pp-tune {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: max-content;
  gap: 6px 16px;
  align-items: start;
  align-content: start;
  height: auto;
  min-height: 0;
  overflow: visible;
}
/* Tunings page: the Read me words cover the page while open (the picker sits underneath). */
.ct-pp-tune-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ct-pp-tune-readme {
  position: absolute;
  inset: 0;
  z-index: 5;
  box-sizing: border-box;
  padding: 2px 2px 6px;
  background: #090b0f;
  overflow: hidden;
  --pp-tune-text: 13px;
}
.ct-pp-tune-readme.is-scroll { overflow-y: auto; }
.ct-pp-tune-readme .ct-pp-lead,
.ct-pp-tune-readme .ct-pp-note,
.ct-pp-tune-readme .ct-pp-facts p {
  font-size: var(--pp-tune-text);
  line-height: 1.35;
}
.ct-pp-tune-readme h3 {
  margin: 10px 0 4px;
  font-size: calc(var(--pp-tune-text) + 1px);
  color: #d5ad52;
}
.ct-pp-tune-readme .ct-pp-facts h3 { margin: 0 0 6px; }
.ct-pp-tabs .ct-pp-tune-readme-btn[aria-expanded="true"] {
  border-color: #d5ad52;
  color: #090b0f;
  background: #d5ad52;
}
.ct-pp-tune .ct-pp-off {
  grid-column: 1 / -1;
  margin: 0;
}
.ct-pp-tune-pick,
.ct-pp-tune-paste {
  min-width: 0;
  min-height: auto;
  height: auto;
  overflow: visible;
}
.ct-pp-tune-paste {
  display: flex;
  flex-direction: column;
}
.ct-pp-tune-paste > label {
  flex: 0 0 auto;
  min-height: 0;
}
.ct-pp-tune textarea {
  min-height: 3.2rem;
  height: 4.4rem;
  max-height: 4.4rem;
  resize: none;
}
.ct-pp-tune h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #d5ad52;
}

/* Opening screen: floating planets among stars (same soft white star dots as the landing page sky). */
.ct-pp.is-planets {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: block;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #040405;
}
.ct-pp.is-planets .ct-pp-panel.ct-pp-planets {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 78%, rgba(88, 60, 140, 0.16) 0, rgba(88, 60, 140, 0) 42%),
    radial-gradient(ellipse at 80% 22%, rgba(40, 90, 150, 0.14) 0, rgba(40, 90, 150, 0) 45%),
    radial-gradient(circle at 58% 13%, #17141a 0, #080709 34%, #040405 65%, #020203);
}
.ct-pp-planets .ct-pp-stars {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.ct-pp-planets .ct-pp-orbits {
  position: absolute;
  inset: 0;
}
.ct-pp-planets .ct-pp-planet {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.ct-pp-planets .ct-pp-planet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--pl-hi) 0, var(--pl-mid) 48%, var(--pl-lo) 100%);
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 236, 200, 0.10);
  transition: box-shadow 0.2s ease;
}
.ct-pp-planets .ct-pp-planet.has-ring::after,
.ct-pp-planets .ct-pp-ring-front {
  content: "";
  position: absolute;
  left: -38%;
  top: 36%;
  width: 176%;
  height: 28%;
  box-sizing: border-box;
  border: 2px solid rgba(240, 220, 180, 0.55);
  border-radius: 50%;
  transform: rotate(var(--pl-tilt, -18deg));
  pointer-events: none;
}
.ct-pp-planets .ct-pp-planet.has-ring::after { z-index: 0; }
.ct-pp-planets .ct-pp-ring-front { z-index: 2; border-top-color: transparent; }
.ct-pp-planets .ct-pp-planet:focus-visible { outline: none; }
.ct-pp-planets .ct-pp-planet:hover::before,
.ct-pp-planets .ct-pp-planet:focus-visible::before {
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.35), 0 0 22px rgba(255, 220, 150, 0.45);
}
.ct-pp-planets .ct-pp-tapme {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 11px 26px;
  border: 1px solid #8f7451;
  border-radius: 999px;
  background: #161616;
  color: #e0c08a;
  font: 700 16px/1 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(224, 192, 138, 0);
  animation: ct-pp-tapme-glow 2.8s ease-in-out infinite;
  touch-action: manipulation;
}
.ct-pp-planets .ct-pp-tapme:hover,
.ct-pp-planets .ct-pp-tapme:focus-visible {
  background: #221d14;
  color: #f2d39a;
  outline: 2px solid #d5ad52;
  outline-offset: 2px;
}
@keyframes ct-pp-tapme-glow {
  0%, 100% { box-shadow: 0 0 6px rgba(224, 192, 138, 0.10); }
  50% { box-shadow: 0 0 18px rgba(224, 192, 138, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-pp-planets .ct-pp-tapme { animation: none; }
}

/* Chord screen middle: notes as planets around the 1/1 sun (planet look shared with the opening screen). */
.ct-pp-space.is-orrery .ct-pp-orrery-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 78%, rgba(88, 60, 140, 0.16) 0, rgba(88, 60, 140, 0) 42%),
    radial-gradient(ellipse at 80% 22%, rgba(40, 90, 150, 0.14) 0, rgba(40, 90, 150, 0) 45%),
    radial-gradient(circle at 58% 13%, #17141a 0, #080709 34%, #040405 65%, #020203);
}
.ct-pp-space.is-orrery .ct-pp-orrery {
  position: absolute;
  inset: 0;
  z-index: 5100;
  overflow: hidden;
  border-radius: inherit;
}
.ct-pp-space.is-orrery .ct-pp-orb { transform-origin: 50% 50%; }
.ct-pp-space.is-orrery .ct-pp-orb-label {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 3;
  margin-top: 2px;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 600 10px/12px Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
  color: rgba(232, 222, 200, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}
.ct-pp-space.is-orrery .ct-pp-orb.is-chord .ct-pp-orb-label,
.ct-pp-space.is-orrery .ct-pp-orb.is-chord-root .ct-pp-orb-label { color: rgba(240, 214, 160, 0.72); }
.ct-pp-space.is-orrery .ct-pp-orb.is-sun::before {
  background: radial-gradient(circle at 38% 34%, #fff6cf 0, #ffd36b 36%, #f0a020 70%, #b8630c 100%);
  box-shadow: inset -6px -8px 14px rgba(120, 50, 0, 0.3), 0 0 26px 8px rgba(255, 190, 80, 0.42), 0 0 70px 20px rgba(255, 170, 60, 0.16);
}
.ct-pp-space.is-orrery .ct-pp-orb.is-sun .ct-pp-orb-label {
  top: 50%;
  margin-top: 0;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  color: rgba(74, 40, 4, 0.72);
  text-shadow: none;
}
.ct-pp-space.is-orrery .ct-pp-orb.is-chord::before,
.ct-pp-space.is-orrery .ct-pp-orb.is-chord:hover::before {
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(240, 200, 110, 0.9), 0 0 18px 6px rgba(240, 190, 90, 0.5);
}
.ct-pp-space.is-orrery .ct-pp-orb.is-chord-root::before,
.ct-pp-space.is-orrery .ct-pp-orb.is-chord-root:hover::before {
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.35), 0 0 0 2px #ff5a4a, 0 0 18px 6px rgba(255, 59, 48, 0.55);
}
.ct-pp-space.is-orrery .ct-pp-orb.is-sun.is-chord-root::before {
  box-shadow: inset -6px -8px 14px rgba(120, 50, 0, 0.3), 0 0 0 2px #ff5a4a, 0 0 26px 8px rgba(255, 150, 70, 0.5), 0 0 70px 20px rgba(255, 170, 60, 0.16);
}
.ct-pp-space.is-orrery .ct-pp-orb.is-sun.is-chord::before {
  box-shadow: inset -6px -8px 14px rgba(120, 50, 0, 0.3), 0 0 0 2px rgba(240, 200, 110, 0.9), 0 0 26px 8px rgba(255, 190, 80, 0.5), 0 0 70px 20px rgba(255, 170, 60, 0.16);
}
