/* Studio styles (ST7; studio DESIGN §2.3.1, §2.3.2, §2.11, §8): the end card's naming prompt, the show-name sheet, the
   Keep that move sheet, Episodes, Cast and its prop sheet, Places, the Passport and the premiere curtain. Every class root
   carries the st- prefix; core classes are only extended (.sheet.st-keepmove). Tokens from core css/tokens.css. */

/* ── the end card's prompt row (§2.3.1): one card 88 px tall */
.st-prompt { display: flex; align-items: center; justify-content: center; gap: 12px; height: 88px; box-sizing: border-box; padding: 6px 10px;
  border-radius: 22px; background: var(--coral-field); transition: opacity 200ms ease, transform 200ms ease, height 200ms ease; overflow: hidden; }
.st-prompt.is-gone { opacity: 0; transform: scaleY(.6); height: 0; padding: 0; }
.st-prompt-por { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--card); box-shadow: 0 0 0 3px var(--ink); flex: none; }
.st-prompt-pic { display: grid; place-items: center; width: 72px; height: 72px; flex: none; }
.st-prompt-pic .ico { width: 64px; height: 64px; }
.st-prompt-btn { height: 60px; min-height: 60px; padding: 0 18px 0 8px; border-radius: 30px; border: 3px solid var(--ink); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; line-height: 1.1; text-align: left;
  max-width: 250px; color: var(--ink); font-family: inherit; }
.st-prompt-btn .ico { width: 44px; height: 44px; flex: none; }
.st-prompt-btn:active { transform: scale(.94); }
html.older .st-prompt-btn { font-size: 16px; }
/* the end card styles its buttons with `.st-end button { font: inherit }` (0,1,1): the label's own weight and leading need
   a heavier selector, or the two-line label falls back to the body's light weight and loose line height */
.st-prompt .st-prompt-btn { font-size: 17px; font-weight: 800; line-height: 1.1; letter-spacing: 0; }
html.older .st-prompt .st-prompt-btn { font-size: 16px; }

/* ── the show-name sheet: the drums under the little screen */
.sheet.st-showname .st-ns-pic { display: grid; place-items: center; margin: 4px 0 8px; }
.sheet.st-showname .st-ns-pic .ico { width: 96px; height: 96px; }

/* ── Keep that move (§2.3.2): the bottom 46 % in portrait, the right 360 px in landscape; the film above is the preview */
.sheet-backdrop.st-km-backdrop { background: transparent; pointer-events: none; animation: none; }
.sheet.st-keepmove { pointer-events: auto; width: 100%; max-width: none; height: 46dvh; max-height: 46dvh; box-sizing: border-box;
  padding: 10px calc(16px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  display: flex; flex-direction: column; border-radius: 24px 24px 0 0; }
.sheet.st-keepmove .sheet-head h2 { font-size: 20px; color: var(--muted); }
.sheet.st-keepmove .sheet-head .btn.round { width: 60px; height: 60px; }
.sheet.st-keepmove .sheet-body { flex: 1; min-height: 0; overflow: auto; }
@media (orientation: landscape) {
  .sheet-backdrop.st-km-backdrop { justify-content: flex-end; align-items: stretch; }
  .sheet.st-keepmove { width: 360px; height: 100dvh; max-height: none; border-radius: 24px 0 0 24px; padding-top: calc(10px + env(safe-area-inset-top)); }
}
html.st-km-open .st-end { visibility: hidden; }
.st-km { display: flex; flex-direction: column; gap: 10px; align-items: center; min-height: 100%; }
.st-km button { font: inherit; color: var(--ink); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.st-km button:active:not(:disabled) { transform: scale(.93); }
.st-km-quick { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 6px 0 18px; flex: 1; }
.st-km[data-km-full="1"] .st-km-quick, .st-km[data-km-full="0"] .st-km-full { display: none; }
.st-km-check { width: 96px; height: 96px; min-height: 96px; border-radius: 50%; border: 3px solid var(--ink); background: var(--signal);
  box-shadow: var(--shadow), var(--press); display: grid; place-items: center; padding: 0; }
.st-km-check .ico { width: 52px; height: 52px; stroke-width: 3; }
.st-km-more { width: 64px; height: 64px; min-height: 64px; border-radius: 50%; border: 3px solid var(--line); background: var(--card);
  box-shadow: var(--shadow); display: grid; place-items: center; padding: 0; }
.st-km-more .ico { width: 30px; height: 30px; transform: rotate(90deg); }
/* the 9-10 rows fit the 46 % sheet of a 390×844 phone without scrolling, Keep it included (the core's `.sheet p` margin
   would push it under the edge) */
.st-km-full { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.sheet.st-keepmove .st-km-line { margin: 0; font-size: 17px; font-weight: 750; line-height: 1.2; color: var(--muted); }
.st-km-whos { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.st-km-who { width: 64px; height: 64px; min-height: 64px; border-radius: 50%; padding: 0; border: 3px solid var(--line); background: var(--card); overflow: hidden; }
.st-km-who img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-km-who.is-on { border-color: var(--ink); box-shadow: 0 0 0 4px var(--signal); }
.st-km-moments { display: flex; gap: 10px; overflow-x: auto; max-width: 100%; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.st-km-moment { flex: none; width: 96px; height: 72px; min-height: 72px; padding: 0; border: 3px solid var(--line); border-radius: 14px; background: var(--sand);
  position: relative; scroll-snap-align: center; overflow: visible; }
.st-km-snap { position: absolute; inset: 0; border-radius: 11px; overflow: hidden; display: block; }
.st-km-snap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-km-moment.is-on { border-color: var(--ink); }
.st-km-moment.is-on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -8px; height: 2px; border-radius: 1px; background: var(--signal); box-shadow: 0 0 0 1px var(--ink); }
.st-km-keepit { height: 64px; min-height: 64px; padding: 0 26px 0 16px; border-radius: 32px; border: 3px solid var(--ink); background: var(--signal);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }
.st-km-keepit .ico { width: 32px; height: 32px; stroke-width: 3; }
.st-km-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: 1; }
.st-km-done[hidden] { display: none; }
.st-km-hop { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(60, 40, 20, .18)); }
.st-km-name { margin: 0; font-size: 34px; font-weight: 900; text-align: center; line-height: 1.1; color: var(--ink); }

/* ── Episodes (§2.11.1) */
.st-episodes .st-ep-head { display: grid; justify-items: center; gap: 12px; margin: 6px 0 18px; }
.st-ep-row { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; }
.st-ep-show { margin: 0; font-size: 28px; font-weight: 850; line-height: 1.15; text-align: center; letter-spacing: 0; overflow-wrap: anywhere; }
.st-ep-drum { width: 60px; height: 60px; min-height: 60px; flex: none; padding: 0; border-radius: 50%; border: 3px solid var(--line); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: grid; place-items: center; cursor: pointer; }
.st-ep-drum .ico { width: 42px; height: 42px; }
.st-ep-premiere { height: 64px; min-height: 64px; padding: 0 22px 0 10px; border-radius: 32px; border: 3px solid var(--ink); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; gap: 8px; font: inherit; font-size: 17px; font-weight: 800; line-height: 1.15; text-align: left; color: var(--ink); cursor: pointer; max-width: 100%; }
.st-ep-premiere .ico { width: 46px; height: 46px; }
.st-ep-drum:active, .st-ep-premiere:active, .st-ep-play:active { transform: scale(.94); }
.st-ep-play { width: 96px; height: 96px; min-height: 96px; border-radius: 50%; border: 3px solid var(--ink); background: var(--signal);
  box-shadow: var(--shadow), var(--press); display: grid; place-items: center; padding: 0; color: var(--ink); cursor: pointer; }
.st-ep-play .ico { width: 44px; height: 44px; }
.st-episodes .films-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.st-episodes .film-cover { aspect-ratio: 16 / 9; }
.st-episodes .film-num { font-size: 18px; }
/* the core's "First film" / "New cast member" ribbon on a narrow phone cover: its picture alone, a small felt chip in the
   cover's corner, so it never hides the cover (the label stays in the markup; the card's aria-label speaks for it) */
@media (orientation: portrait) and (max-width: 699px) {
  .st-episodes .film-first { top: 15px; left: 15px; padding: 4px; gap: 0; border: 2px solid var(--ink); }
  .st-episodes .film-first .ico { width: 18px; height: 18px; }
  .st-episodes .film-first > span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (orientation: landscape) { .st-episodes .films-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (min-height: 600px) { .st-episodes .films-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Cast (§2.11.2) */
.st-troupe { display: grid; gap: 8px; }
.st-tr-h { margin: 14px 0 4px; font-size: 22px; font-weight: 850; }
.st-tr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; justify-items: center; }
@media (orientation: landscape) { .st-tr-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 700px) and (min-height: 600px) { .st-tr-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.st-tr-tile { appearance: none; border: 0; margin: 0; padding: 0; background: none; font: inherit; color: var(--ink); cursor: pointer;
  width: 110px; min-height: 110px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.st-tr-por { width: 88px; height: 88px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 3px var(--line), var(--shadow); overflow: hidden; display: grid; place-items: center; }
.st-tr-por img { width: 100%; height: 100%; object-fit: cover; }
.st-tr-add img { width: 72%; height: 72%; object-fit: contain; }
.st-tr-new .st-tr-por { background: var(--coral-field); box-shadow: 0 0 0 3px var(--coral), var(--shadow); }
.st-tr-name { font-size: 17px; font-weight: 750; line-height: 1.15; max-width: 108px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-tr-new .st-tr-name { white-space: normal; font-size: 15px; line-height: 1.1; }
.st-tr-tile:active .st-tr-por, .st-tr-prop:active { transform: scale(.94); }
.st-tr-props { display: flex; flex-wrap: wrap; gap: 12px; }
.st-tr-prop { appearance: none; margin: 0; padding: 6px; width: 80px; height: 80px; min-height: 80px; border-radius: 20px; border: 3px solid var(--line);
  background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; box-sizing: border-box; }
.st-tr-prop img { width: 100%; height: 100%; object-fit: contain; }
.st-tr-prop.st-tr-new { background: var(--coral-field); border-color: var(--coral); }
.st-tr-crews { display: grid; gap: 10px; }
.st-tr-crew { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 14px;
  border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.st-tr-crewpic { grid-row: 1 / 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); }
.st-tr-crewpic .ico { width: 34px; height: 34px; }
.st-tr-crewname { font-size: 18px; font-weight: 800; }
.st-tr-crewpors { display: flex; gap: 4px; }
.st-tr-crewpors img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--sand); box-shadow: 0 0 0 2px var(--card); }
/* the prop's small sheet */
.st-propsheet-body { display: grid; justify-items: center; gap: 16px; padding: 4px 0 8px; }
.st-propsheet-pic { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(60, 40, 20, .18)); }
.st-propsheet-row { display: flex; gap: 16px; align-items: center; justify-content: center; }
.st-propsheet-sound { width: 60px; height: 60px; min-height: 60px; padding: 0; border-radius: 50%; border: 3px solid var(--line); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.st-propsheet-sound .ico { width: 30px; height: 30px; }
.st-propsheet-sound.is-on { animation: st-wiggle 360ms ease-out; }
.st-propsheet-onset { height: 60px; min-height: 60px; padding: 0 22px 0 14px; border-radius: 30px; border: 3px solid var(--ink); background: var(--signal);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; gap: 8px; font: inherit; font-size: 18px; font-weight: 800; color: var(--ink); cursor: pointer; }
.st-propsheet-onset .ico { width: 28px; height: 28px; }
@keyframes st-wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg) scale(1.06); } 65% { transform: rotate(6deg); } }

/* ── Places (§2.11.3): one column 358 wide on a 390 px phone (16 px gutters) */
main.view.st-places-view { padding-left: calc(16px + env(safe-area-inset-left)); padding-right: calc(16px + env(safe-area-inset-right)); }
.st-pl-grid { display: grid; grid-template-columns: minmax(0, 358px); justify-content: center; gap: 16px; padding-top: 8px; }
@media (orientation: landscape), (min-width: 700px) and (min-height: 600px) { .st-pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-pl-card { appearance: none; margin: 0; padding: 0; border: 0; font: inherit; color: var(--ink); cursor: pointer; position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.st-pl-card.is-now { box-shadow: 0 0 0 4px var(--coral), var(--shadow-lift); }
.st-pl-card:active { transform: scale(.97); }
.st-pl-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-pl-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px 10px; background: var(--overlay-bg); color: var(--overlay-ink);
  font-size: 22px; font-weight: 850; line-height: 1.15; text-align: left; }
.st-pl-props { position: absolute; right: 10px; top: 10px; display: flex; gap: 4px; }
.st-pl-props img { width: 44px; height: 44px; object-fit: contain; padding: 3px; border-radius: 12px; background: var(--overlay-bg); box-sizing: border-box; }

/* ── the Passport (§2.11.4) */
.st-pp { display: grid; gap: 6px; padding-bottom: 12px; }
.st-pp-top { display: grid; justify-items: center; gap: 6px; padding-top: 6px; }
.st-pp-por { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, var(--card), var(--sand));
  box-shadow: 0 0 0 4px var(--ink), var(--shadow-lift); display: grid; place-items: center; }
.st-pp-por img { width: 100%; height: 100%; object-fit: cover; }
.st-pp-name { margin: 6px 0 0; font-size: 28px; font-weight: 850; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
/* the "made from" stamp: smaller than the portrait and never level with it (D-11) */
.st-pp-stamp { width: 72px; height: 72px; box-sizing: border-box; padding: 6px; background: #fff; border: 2px solid var(--ink); border-radius: 6px;
  transform: rotate(-6deg) translateX(46px); box-shadow: var(--shadow); display: grid; place-items: center; margin-top: 2px; }
.st-pp-stamp img { width: 100%; height: 100%; object-fit: contain; }
.st-pp-stamp .ico { width: 54px; height: 54px; }
.st-pp-h { margin: 14px 0 4px; font-size: 20px; font-weight: 850; }
.st-pp-traits { display: flex; gap: 12px; flex-wrap: wrap; }
.st-pp-trait { width: 60px; height: 60px; min-height: 60px; padding: 0; border-radius: 50%; border: 3px solid var(--line); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.st-pp-trait .ico { width: 32px; height: 32px; }
.st-pp-trait.is-on { border-color: var(--ink); background: var(--butter); color: var(--ink); box-shadow: 0 0 0 3px var(--signal), var(--shadow); }
.st-pp-trait.is-pop { animation: st-wiggle 360ms ease-out; }
.st-pp-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.st-pp-pill { height: 60px; min-height: 60px; padding: 0 20px 0 12px; border-radius: 30px; border: 3px solid var(--ink); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; gap: 8px; font: inherit; font-size: 18px; font-weight: 800; color: var(--ink); cursor: pointer; }
.st-pp-pill .ico { width: 32px; height: 32px; flex: none; }
.st-pp-bring { background: var(--signal); }
.st-pp-nameit .ico { width: 40px; height: 40px; }
.st-pp-pill:active, .st-pp-trait:active, .st-pp-move:active, .st-pp-cover:active { transform: scale(.95); }
.st-pp-cover { appearance: none; margin: 0; padding: 0; border: 0; font: inherit; color: var(--ink); cursor: pointer; position: relative; display: block;
  border-radius: 14px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); flex: none; }
.st-pp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-pp-firstcover { width: 240px; height: 135px; }
.st-pp-film { width: 160px; height: 90px; scroll-snap-align: start; }
.st-pp-ep { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 10px; background: var(--overlay-bg); font-size: 14px; font-weight: 800; }
.st-pp-nocover { position: absolute; inset: 0; display: grid; place-items: center; }
.st-pp-nocover .ico { width: 44px; height: 44px; }
.st-pp-films { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.st-pp-moves { display: flex; flex-wrap: wrap; gap: 10px; }
.st-pp-move { height: 64px; min-height: 64px; padding: 0 18px 0 8px; border-radius: 32px; border: 3px solid var(--line); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; gap: 6px; font: inherit; font-size: 17px; font-weight: 800; color: var(--ink); cursor: pointer; }
.st-pp-move .ico { width: 44px; height: 44px; flex: none; }
.st-pp-origin { margin: 18px 0 0; color: var(--muted); font-size: var(--muted-size); text-align: center; }

/* ── the premiere (§2.11.5): a felt curtain on the night */
.st-premiere-view { padding: 0 !important; }
.st-pr { position: fixed; inset: 0; z-index: var(--z-view); pointer-events: none; }
.st-pr > * { pointer-events: auto; }
.st-pr-curtain { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.st-pr[data-pr-state="closed"] .st-pr-curtain, .st-pr[data-pr-state="roll"] .st-pr-curtain, .st-pr[data-pr-state="ended"] .st-pr-curtain { background: var(--night); }
.st-pr-half { position: absolute; top: 0; bottom: 0; width: 51%;
  background: repeating-linear-gradient(90deg, var(--coral-deep) 0 26px, color-mix(in srgb, var(--coral-deep) 88%, #000) 26px 44px, var(--coral-deep) 44px 52px);
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .25); transition: transform 700ms ease-in-out; }
.st-pr-half::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: repeating-linear-gradient(90deg, var(--butter) 0 5px, color-mix(in srgb, var(--butter) 70%, var(--coral-deep)) 5px 8px);
  border-top: 3px solid color-mix(in srgb, var(--butter) 60%, #000); }
.st-pr-l { left: 0; }
.st-pr-r { right: 0; }
.st-pr-pelmet { position: absolute; left: 0; right: 0; top: 0; height: calc(64px + env(safe-area-inset-top)); z-index: 2;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--coral-deep) 82%, #000) 0 30px, var(--coral-deep) 30px 60px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border-bottom: 6px solid var(--butter); }
.st-pr[data-pr-state="open"] .st-pr-l { transform: translateX(-102%); transition: transform 900ms ease-in-out; }
.st-pr[data-pr-state="open"] .st-pr-r { transform: translateX(102%); transition: transform 900ms ease-in-out; }
.st-pr[data-pr-state="open"] .st-pr-pelmet { transform: translateY(-110%); transition: transform 900ms ease-in-out; }
.st-pr-pelmet { transition: transform 700ms ease-in-out; }
.st-pr-pull { position: absolute; left: 50%; top: calc(58px + env(safe-area-inset-top)); transform: translateX(-50%); display: grid; justify-items: center; gap: 14px; z-index: 3; }
.st-pr[data-pr-state="open"] .st-pr-pull, .st-pr[data-pr-state="closing"] .st-pr-pull, .st-pr[data-pr-state="ended"] .st-pr-pull { visibility: hidden; }
/* the rope hangs from the pelmet: a felt cord down to the tassel, swinging ±5° from its top */
.st-pr-rope { width: 96px; height: calc(24dvh + 96px + var(--pull, 0px)); min-height: 96px; transition: height 120ms ease-out; padding: 0; border: 0; background: none; cursor: pointer; touch-action: none;
  display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: st-swing 2.6s ease-in-out infinite alternate;
  -webkit-tap-highlight-color: transparent; }
.st-pr-cord { display: block; width: 6px; flex: 1; margin-bottom: -6px; border-radius: 3px; background: #E8B04A; box-shadow: 0 0 0 2px #2A2118; }
.st-pr-rope .ico { width: 96px; height: 96px; flex: none; }
.st-pr-rope.is-held { animation-play-state: paused; }
.st-pr[data-pr-state="roll"] .st-pr-rope { --pull: 44px; }
@keyframes st-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.st-pr-say { margin: 0; font-size: 22px; font-weight: 850; color: var(--card); text-align: center; text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.st-pr-end { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 16px; z-index: 3; }
.st-pr-end[hidden] { display: none; }
.st-pr-again { width: 96px; height: 96px; min-height: 96px; padding: 0; border-radius: 50%; border: 3px solid var(--ink); background: var(--card);
  box-shadow: var(--shadow), var(--press); display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.st-pr-again .ico { width: 40px; height: 40px; }
.st-pr-set { width: 208px; height: 96px; min-height: 96px; padding: 0 18px; border-radius: 48px; border: 3px solid var(--ink); background: var(--signal);
  box-shadow: var(--shadow), var(--press); display: flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-size: 22px; font-weight: 800;
  line-height: 1.1; color: var(--ink); text-align: left; cursor: pointer; }
.st-pr-set .ico { width: 36px; height: 36px; flex: none; }
.st-pr-again:active, .st-pr-set:active, .st-pr-back:active { transform: scale(.93); }
.st-pr-back, .st-pr-key { position: absolute; top: calc(12px + env(safe-area-inset-top)); width: 60px; height: 60px; min-height: 60px; padding: 0; border-radius: 50%;
  border: 3px solid var(--line); background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); z-index: 4; cursor: pointer; }
.st-pr-back { left: calc(12px + env(safe-area-inset-left)); }
.st-pr-key { right: calc(12px + env(safe-area-inset-right)); opacity: .7; overflow: visible; }
.st-pr-back .ico, .st-pr-key .ico { width: 28px; height: 28px; }
.st-pr-ring { position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--coral); opacity: 0; transform: scale(.8); pointer-events: none; }
.st-pr-key.is-holding .st-pr-ring { opacity: 1; transform: scale(1); transition: transform 1000ms linear, opacity var(--t-micro); }
.st-pr[data-pr-state="open"] .st-pr-back, .st-pr[data-pr-state="open"] .st-pr-key { opacity: .45; }

@media (prefers-reduced-motion: reduce) {
  .st-pr-rope { animation: none; }
  .st-pr-half, .st-pr-pelmet, .st-pr[data-pr-state="open"] .st-pr-l, .st-pr[data-pr-state="open"] .st-pr-r, .st-pr[data-pr-state="open"] .st-pr-pelmet { transition-duration: 150ms; }
  .st-prompt, .st-pp-trait.is-pop, .st-propsheet-sound.is-on { animation: none; transition: none; }
}
