/* Playground only. Kit tokens; no glow, no gradients, no blur. */
.pg { position: relative; overflow: hidden; height: max(480px, calc(100vh - 65px)); height: max(480px, calc(100svh - 65px)); background: var(--ss-bg); }

.pg-panel { position: absolute; z-index: 2; left: 16px; bottom: 16px; width: min(340px, calc(100% - 32px)); box-sizing: border-box;
  padding: 14px 16px; background: color-mix(in srgb, var(--ss-surface) 85%, transparent); border: 1px solid var(--ss-line);
  border-radius: var(--ss-r-lg); }
@media (min-width: 720px) { .pg-panel { left: 32px; bottom: 32px; } }
@media (max-width: 719px) { .pg-panel { left: 0; right: 0; bottom: 0; width: auto; border-width: 1px 0 0; border-radius: 0; } }

.pg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ss .pg-title { margin: 0; font-size: 20px; line-height: 1.2; }
.pg-collapse { min-height: 44px; padding: 0 12px; font-size: 13px; }
.pg-body { margin-top: 10px; }
.pg-panel[data-collapsed="true"] .pg-body { display: none; }

.ss .pg-line { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--ss-text-2); }
.pg-row { display: grid; gap: 6px; margin-bottom: 12px; }
.pg-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 14px; }
.pg-val { font-weight: 400; font-size: 12px; color: var(--ss-text-2); }
.pg-range { width: 100%; margin: 0; height: 28px; accent-color: var(--ss-accent); cursor: pointer; }
.pg-range:focus-visible { outline: 2px solid var(--ss-accent); outline-offset: 2px; border-radius: 4px; }
.pg-row .ss-select { min-height: 44px; }
.pg-actions .ss-btn { min-height: 44px; justify-self: start; min-width: 96px; }
.ss .pg-dist { margin: 4px 0 0; font-size: 13px; color: var(--ss-text-2); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pg-dist .ss-mono { color: var(--ss-text); font-size: 13px; }
.ss .pg-note { margin: 10px 0 0; font-size: 13px; color: var(--ss-text-2); }
.pg-note[hidden] { display: none; }

@media (max-width: 719px) and (max-height: 700px) { .pg-body { max-height: 52vh; overflow-y: auto; } }
