/* UI-05 only. Demo typography, violet voting and lime stand palettes. */
.ls-root .ls-cat-root {
  --cat-accent: #6357d9;
  --cat-light: #e9e6ff;
  --cat-ink: #252637;
  color: var(--cat-ink);
}
.ls-root .ls-cat-root h1 {
  font-size: clamp(35px, 4.5vw, 62px);
  line-height: 1.06;
  letter-spacing: -2.4px;
  margin: 13px 0 20px;
}
.ls-root .ls-cat-intro h1 span {
  color: #7b9c44;
}
.ls-root .ls-cat-intro > p:last-child {
  color: #717865;
  max-width: 590px;
}
.ls-root .ls-cat-tag,
.ls-root .ls-cat-caption {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 750;
}
.ls-root .ls-cat-tag {
  color: var(--cat-accent);
}
.ls-root .ls-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}
.ls-root .ls-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  border: 1px solid #dfe3d7;
  border-radius: 15px;
  padding: 22px;
  color: inherit;
  background: white;
  min-height: 225px;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.ls-root .ls-cat-card:hover {
  border-color: #748666;
  transform: translateY(-2px);
}
.ls-root .ls-cat-card[aria-pressed="true"] {
  border-color: #758b5c;
  background: #f8fbf2;
  box-shadow: inset 0 0 0 1px #758b5c;
}
.ls-root .ls-cat-card strong {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.ls-root .ls-cat-icon {
  font-size: 27px;
  color: #70865b;
  line-height: 1;
}
.ls-root .ls-cat-description {
  font-size: 12px;
  color: #6b7464;
  max-width: 290px;
}
.ls-root .ls-cat-state {
  font-size: 9px;
  letter-spacing: 0.5px;
  margin-top: auto;
  padding-right: 22px;
}
.ls-root .ls-cat-arrow {
  position: absolute;
  right: 20px;
  bottom: 16px;
  font-size: 22px;
}
.ls-root .ls-cat-viewbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-block: 1px solid #dddae3;
  padding: 16px 0;
  margin: 26px 0 16px;
}
.ls-root .ls-cat-viewbar h2 {
  font-size: 22px;
  margin: 0;
}
.ls-root .ls-cat-source {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.ls-root .ls-cat-source:empty {
  display: none;
}
.ls-root .ls-cat-button {
  display: inline-block;
  width: auto;
  min-height: 42px;
  border: 1px solid #d5d2df;
  border-radius: 9px;
  padding: 10px 13px;
  background: white;
  color: #34313e;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.ls-root .ls-cat-button:hover {
  border-color: var(--cat-accent);
  background: #f6f4ff;
}
.ls-root .ls-cat-button:disabled {
  opacity: 0.55;
  cursor: default;
}
.ls-root
  .ls-cat-root
  :is(button, a, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
.ls-root .ls-cat-root [tabindex="-1"]:focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
.ls-root .ls-cat-preview-title {
  scroll-margin-top: 20px;
}
.ls-root .ls-cat-example-intro {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ls-root .ls-cat-example-intro h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.06;
  letter-spacing: -1.5px;
  max-width: 700px;
  margin: 0;
}
.ls-root .ls-cat-workspace {
  display: grid;
  grid-template-columns: 280px minmax(280px, 1fr) 260px;
  gap: 22px;
  align-items: start;
}
.ls-root .ls-cat-workspace > article {
  min-width: 0;
}
.ls-root .ls-cat-caption {
  margin: 0 0 16px;
  color: #706b79;
  font-size: 9px;
}
.ls-root .ls-cat-phone {
  border: 6px solid #282737;
  background: #fffdf9;
  padding: 15px 20px 25px;
  border-radius: 36px;
  min-height: 610px;
  box-shadow: 0 15px 30px #25233112;
  overflow-wrap: anywhere;
}
.ls-root .ls-cat-notch {
  width: 75px;
  height: 16px;
  border-radius: 15px;
  background: #282737;
  margin: 0 auto 26px;
}
.ls-root .ls-cat-brand {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--cat-accent);
  margin-bottom: 30px;
}
.ls-root .ls-cat-phone h3 {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 18px 0;
}
.ls-root .ls-cat-phone p {
  font-size: 12px;
  color: #716779;
}
.ls-root .ls-cat-screen {
  border-radius: 15px;
  background: #242237;
  color: white;
  overflow: hidden;
}
.ls-root .ls-cat-stage {
  min-height: 360px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16 / 9;
  background-image: radial-gradient(
    ellipse at 100% 0,
    #695a9760,
    transparent 75%
  );
  overflow-wrap: anywhere;
}
.ls-root .ls-cat-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #c4bddd;
}
.ls-root .ls-cat-stage h3 {
  font-size: clamp(26px, 2.8vw, 40px);
  margin: 20px 0;
  line-height: 1.12;
  letter-spacing: -0.8px;
}
.ls-root .ls-cat-stage p {
  font-size: 11px;
  color: #d0c9da;
}
.ls-root .ls-cat-stage footer {
  border-top: 1px solid #ffffff25;
  padding: 13px 0 0;
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #d0c9da;
  margin-top: 16px;
  display: block;
}
.ls-root .ls-cat-info {
  background: white;
  border: 1px solid #dfdce6;
  border-radius: 15px;
  padding: 21px;
  overflow-wrap: anywhere;
}
.ls-root .ls-cat-info h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  line-height: 1.12;
}
.ls-root .ls-cat-info p {
  font-size: 12px;
  color: #716779;
}
.ls-root .ls-cat-info .ls-cat-tag {
  font-size: 10px;
}
.ls-root .ls-cat-message {
  padding: 26px;
  border-radius: 12px;
  background: white;
}
.ls-root .ls-cat-full {
  width: 100%;
  margin-top: 12px;
}
.ls-root .ls-cat-ratings {
  display: flex;
  gap: 5px;
}
.ls-root .ls-cat-ratings button {
  flex: 1;
  padding: 10px 0;
  width: auto;
}
.ls-root .ls-cat-button[aria-pressed="true"] {
  background: var(--cat-light);
  border-color: var(--cat-accent);
}
.ls-root .ls-cat-root :is(input, textarea) {
  display: block;
  width: 100%;
  border: 1px solid #c5bdcf;
  border-radius: 9px;
  padding: 11px;
  background: white;
  color: #34313e;
  font: inherit;
  font-size: 12px;
}
.ls-root .ls-cat-root label {
  display: block;
  font-size: 11px;
  margin: 10px 0 7px;
}
.ls-root .ls-cat-root textarea {
  min-height: 90px;
  resize: vertical;
}
.ls-root .ls-cat-scratch {
  position: relative;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d4c9a9;
  margin-top: 24px;
  user-select: none;
}
.ls-root .ls-cat-reward {
  position: absolute;
  inset: 0;
  background: #f3e5bd;
  padding: 23px 13px;
  text-align: center;
  display: grid;
  place-content: center;
}
.ls-root .ls-cat-reward strong {
  font-size: 22px;
  color: #775927;
}
.ls-root .ls-cat-reward small {
  font-size: 10px;
  color: #775f34;
}
.ls-root .ls-cat-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.ls-root .ls-cat-canvas.ls-cat-revealed {
  opacity: 0;
  pointer-events: none;
}
.ls-root .ls-cat-fine {
  font-size: 10px;
}
.ls-root .ls-cat-cloud {
  display: flex;
  gap: 13px 19px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 23px 0;
}
.ls-root .ls-cat-word {
  color: #c7beff;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
  max-width: 100%;
  animation: ls-cat-appear 0.35s ease;
}
.ls-root .ls-cat-word:nth-child(2n) {
  color: #f1cf9b;
}
.ls-root .ls-cat-word:nth-child(3n) {
  color: #a7dbbf;
}
.ls-root .ls-cat-queue-card {
  border-bottom: 1px solid #e9e3ee;
  padding: 12px 0;
}
.ls-root .ls-cat-queue-card strong {
  font-size: 15px;
}
.ls-root .ls-cat-queue-card small {
  font-size: 10px;
  color: #716779;
  display: block;
}
.ls-root .ls-cat-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.ls-root .ls-cat-actions button {
  font-size: 10px;
  padding: 7px 10px;
}
.ls-root .ls-cat-questions blockquote {
  margin: 10px 0;
  padding: 10px 15px;
  border-left: 3px solid #c7beff;
}
.ls-root .ls-cat-questions blockquote p {
  font-size: 19px;
}
.ls-root .ls-cat-kind-quiz {
  --cat-accent: #678f04;
  --cat-light: #e3f5b2;
}
.ls-root .ls-cat-kind-quiz .ls-cat-phone {
  background: #181d17;
  border-color: #242921;
  color: white;
}
.ls-root .ls-cat-kind-quiz .ls-cat-notch {
  background: #070907;
}
.ls-root .ls-cat-kind-quiz .ls-cat-brand {
  color: #c8ff31;
}
/* Scope adjustments to the imported renderer; its markup and safety stay shared. */
.ls-root .ls-cat-screen .presentation-scene {
  min-height: 360px;
  width: 100%;
  padding: 27px;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 100% 0, #695a9760, transparent 75%), #242237;
}
.ls-root .ls-cat-screen .presentation-scene h1 {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.ls-root .ls-cat-screen .presentation-scene h2 {
  font-size: clamp(25px, 2.5vw, 36px);
  letter-spacing: -0.7px;
}
.ls-root .ls-cat-screen .presentation-card {
  padding: 18px;
}
.ls-root .ls-cat-screen .presentation-brand {
  font-size: 10px;
  color: #c4bddd;
}
.ls-root .ls-cat-screen .presentation-state {
  color: #c4bddd;
}
.ls-root .ls-cat-screen .presentation-bar-fill {
  background: #b5adff;
}
.ls-root .ls-cat-screen .presentation-result {
  font-size: 12px;
}
.ls-root .ls-cat-phone .presentation-scene {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.ls-root .ls-cat-phone .presentation-card {
  border: 0;
  background: none;
  padding: 0;
}
.ls-root .ls-cat-phone .presentation-scene h2 {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.7px;
}
.ls-root .ls-cat-phone .presentation-state {
  color: #6357d9;
  font-size: 10px;
}
.ls-root .ls-cat-phone .presentation-result {
  font-size: 12px;
}
.ls-root .ls-cat-phone .presentation-bar {
  background: #e2deed;
}
.ls-root .ls-cat-phone .presentation-bar-fill {
  background: #6357d9;
}
.ls-root .ls-cat-phone .presentation-options > div {
  background: #eeebf5;
  color: #34313e;
}
.ls-root .ls-cat-kind-quiz .presentation-scene {
  background-color: #12180e;
  color: white;
}
.ls-root .ls-cat-kind-quiz .ls-cat-screen .presentation-scene {
  background-image: radial-gradient(
    ellipse at 100% 30%,
    #4b611d70,
    transparent 65%
  );
}
.ls-root .ls-cat-kind-quiz .ls-cat-phone .presentation-scene {
  background: none;
}
.ls-root .ls-cat-kind-quiz .presentation-state {
  color: #c8ff31;
}
.ls-root .ls-cat-kind-quiz .presentation-bar-fill {
  background: #c8ff31;
}
@keyframes ls-cat-appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1200px) {
  .ls-root .ls-cat-workspace {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .ls-root .ls-cat-workspace > article:last-child {
    grid-column: 1 / -1;
  }
  .ls-root .ls-cat-info {
    max-width: 650px;
  }
}
@media (max-width: 700px) {
  .ls-root .ls-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ls-root .ls-cat-card {
    padding: 18px;
  }
  .ls-root .ls-cat-workspace {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .ls-root .ls-cat-phone {
    max-width: 310px;
    margin: auto;
  }
  .ls-root .ls-cat-stage {
    min-height: 300px;
    padding: 22px;
  }
  .ls-root .ls-cat-screen .presentation-scene {
    padding: 18px;
  }
}
@media (max-width: 440px) {
  .ls-root .ls-cat-grid {
    grid-template-columns: 1fr;
  }
  .ls-root .ls-cat-card {
    min-height: 200px;
  }
  .ls-root .ls-cat-preview-body > .ls-simulated {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ls-root .ls-cat-root *,
  .ls-root .ls-cat-root *::before,
  .ls-root .ls-cat-root *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.ls-root .ls-cat-phone .presentation-scene h1 {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: inherit;
  margin: 10px 0 20px;
}
.ls-root .ls-cat-phone .presentation-brand {
  font-size: 9px;
  color: var(--cat-accent);
}
.ls-root .ls-cat-phone .presentation-total {
  color: #716779;
  font-size: 11px;
}
.ls-root .ls-cat-phone .presentation-options > div {
  font-size: 12px;
  padding: 10px;
  gap: 8px;
}
.ls-root .ls-cat-kind-quiz .ls-cat-phone .presentation-total {
  color: #bbc1b1;
}
.ls-root .ls-cat-kind-quiz .ls-cat-phone .presentation-brand {
  color: #c8ff31;
}
.ls-root .ls-cat-phone .presentation-scene h2 {
  color: inherit;
}
