/* The shell and the prototype screen share one coordinate system. */
[data-kind="phone-prototype"] .v2-stage {
  min-height: 0;
  padding: 0;
}

.pp-studio {
  --pp-accent: var(--accent, #35d6c8);
  --pp-stage: #131620;
  --pp-stage-ink: #f6f3ed;
  --pp-stage-muted: #c0bdca;
  --pp-line: #ffffff25;
  --pp-panel: #1a1d28;
  container: pp-stage / inline-size;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: clamp(16px, 3vw, 36px);
  color: var(--brand-text, var(--pp-stage-ink));
  background: var(--brand-surface, var(--pp-stage));
}

[data-theme="light"] .pp-studio {
  --pp-stage: #edf0f3;
  --pp-stage-ink: #201c2a;
  --pp-stage-muted: #635d71;
  --pp-line: #231a3b2b;
  --pp-panel: #fbfafc;
}

.pp-stage-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--pp-line);
  font-size: 12px;
}

.pp-stage-head p {
  margin: 0;
}

.pp-eyebrow, .pp-scene-label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pp-eyebrow {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pp-eyebrow i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--pp-accent);
}

.pp-scene-label {
  color: var(--brand-text, var(--pp-stage-muted));
}

.pp-scene-label [data-pp-index] {
  font-variant-numeric: tabular-nums;
}

.pp-composition {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(190px, .85fr);
  align-items: center;
  gap: clamp(18px, 4cqi, 48px);
  padding-block: clamp(16px, 2.4cqi, 28px);
}

.pp-stage-note {
  position: relative;
  max-width: 315px;
  padding: 18px 0 18px clamp(14px, 3cqi, 25px);
  border-left: 1px solid var(--pp-line);
}

.pp-stage-note p {
  max-width: 32ch;
  margin: 0;
  color: var(--brand-text, var(--pp-stage-muted));
  font-size: 14px;
}

.pp-stage-note :is(h2, h3, strong) {
  display: block;
  margin: 6px 0 10px;
  font: 500 clamp(24px, 4cqi, 40px) / 1.05 Fraunces, serif;
  letter-spacing: normal;
}

.pp-stage-note .pp-stage-step {
  color: var(--brand-text, var(--pp-stage-ink));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pp-device {
  --pp-shell-ratio: 840 / 1718;
  --pp-screen-top: 3.085%;
  --pp-screen-right: 4.762%;
  --pp-screen-bottom: 2.212%;
  --pp-screen-left: 4.643%;
  --pp-screen-radius: 9.6% / 4.5%;
  --pp-height-budget: clamp(375px, 50svh, 620px);
  position: relative;
  isolation: isolate;
  width: min(100%, clamp(215px, 31cqi, 304px), calc(var(--pp-height-budget) * .489));
  min-width: 0;
  aspect-ratio: var(--pp-shell-ratio);
  margin: 0 auto;
}

.pp-phone-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  filter: drop-shadow(0 20px 18px #08071160);
  user-select: none;
  pointer-events: none;
}

.pp-screen {
  container: pp-screen / inline-size;
  position: absolute;
  z-index: 1;
  inset: var(--pp-screen-top) var(--pp-screen-right) var(--pp-screen-bottom) var(--pp-screen-left);
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--pp-screen-radius);
  box-shadow: 0 0 0 1.5px #08090e;
  color: #f7f4ed;
  background: #161722;
  touch-action: manipulation;
}

.pp-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pp-scene:not([hidden]) {
  animation: pp-screen-in 210ms var(--ease, ease-out) both;
}

@keyframes pp-screen-in {
  from { opacity: .68; }
  to { opacity: 1; }
}

.pp-sample, .pp-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pp-sample {
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(10px, 7cqi, 24px);
}

.pp-screenshot {
  z-index: 1;
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.pp-lock-display {
  align-items: center;
  isolation: isolate;
  padding: 21% 8% 9%;
  overflow: hidden;
  text-align: center;
  background: #1c344a;
}

.pp-lock-display::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0b1b30b5, transparent 43%, transparent 65%, #0b1b3077);
  content: "";
}

.pp-wallpaper {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 49% center;
  pointer-events: none;
}

.pp-lock-time {
  margin: 0;
  color: #fbf9ee;
  font: 460 clamp(36px, 27cqi, 82px) / .98 Fraunces, serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: normal;
}

.pp-lock-date {
  margin: 7px 0 0;
  color: #e6e5ef;
  font-size: clamp(10px, 5.9cqi, 17px);
}

.pp-notification {
  position: absolute;
  inset: 48% 8% auto;
  z-index: 2;
  max-height: 31%;
  padding: clamp(6px, 5cqi, 14px);
  overflow: auto;
  border: 1px solid #f4eeff45;
  border-radius: clamp(8px, 7cqi, 18px);
  color: #faf7ed;
  background: #142236ed;
  box-shadow: 0 4px 17px #15182752;
  font-size: clamp(9px, 5cqi, 14px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.pp-notification b {
  display: block;
  margin-bottom: 2px;
}

.pp-notification p {
  margin: 0;
  color: #ded8eb;
}

.pp-lock-action {
  position: absolute;
  right: 10%;
  bottom: 7%;
  left: 10%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid #ebfff375;
  border-radius: 999px;
  color: #f9fff7;
  background: #142a2ad9;
  text-align: center;
  font-size: clamp(10px, 6cqi, 16px);
  font-weight: 650;
  line-height: 1.12;
}

.pp-lock-action svg, .pp-hotspot svg, .pp-home-actions svg {
  width: clamp(12px, 7.8cqi, 19px);
  height: clamp(12px, 7.8cqi, 19px);
}

.pp-lock-action:hover {
  background: #274747;
}

.pp-home-content, .pp-project-content, .pp-confirmation-content {
  gap: clamp(4px, 3cqi, 12px);
  padding: 15% 8% 22%;
  overflow: hidden;
}

.pp-home[data-has-image="false"] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 15% 8% 10%;
  background: var(--brand-surface, #f5f7f8);
}

.pp-home-content {
  position: relative;
  inset: auto;
  min-height: 0;
  padding: 0;
  color: var(--brand-text, #182633);
  background: var(--brand-surface, #f5f7f8);
}

.pp-project-content {
  padding-bottom: calc(31% + 25px);
  color: var(--brand-text, #182633);
  background: var(--brand-surface, #f5f7f8);
}

.pp-confirmation-content {
  align-items: center;
  justify-content: center;
  color: var(--brand-text, #1d2d23);
  background: var(--brand-surface, #eef5f1);
  text-align: center;
}

.pp-app-eyebrow {
  margin: 0;
  font-size: clamp(8px, 4.7cqi, 13px);
  font-weight: 750;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.pp-app-title {
  margin: 0;
  overflow-wrap: anywhere;
  font: 510 clamp(18px, 14.2cqi, 46px) / .98 Fraunces, serif;
  letter-spacing: normal;
}

.pp-app-copy {
  max-width: 31ch;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(10px, 5.9cqi, 16px);
  line-height: 1.35;
}

.pp-visit-photo {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: 61%;
  flex: 1 1 0;
  border-radius: clamp(7px, 6cqi, 17px);
  object-fit: cover;
  object-position: 50% 58%;
}

.pp-home-actions {
  position: absolute;
  right: 7%;
  bottom: 5%;
  left: 7%;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.pp-home[data-has-image="false"] .pp-home-actions {
  position: relative;
  inset: auto;
}

.pp-home-actions button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid #d7eee980;
  border-radius: 8px;
  color: #f7fff8;
  background: #1b332d;
  text-align: left;
  font-size: clamp(9px, 5.5cqi, 14px);
  line-height: 1.17;
  overflow-wrap: anywhere;
}

.pp-home-actions button:hover {
  background: #29483f;
}

.pp-home-actions button > span {
  color: #b6dacb;
  font-variant-numeric: tabular-nums;
}

.pp-check {
  display: grid;
  place-items: center;
  width: clamp(35px, 30cqi, 75px);
  aspect-ratio: 1;
  margin-bottom: 7px;
  border: 1px solid #4c766c7a;
  border-radius: 12px;
  color: #255549;
  background: #cfe4d2;
}

.pp-check svg {
  width: 52%;
  height: 52%;
}

.pp-hotspot {
  position: absolute;
  z-index: 3;
  top: clamp(22px, var(--pp-y, 50%), calc(100% - 22px));
  left: clamp(22px, var(--pp-x, 50%), calc(100% - 22px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  min-width: 44px;
  max-width: calc(100% - 12px);
  min-height: 44px;
  padding: 5px 9px;
  translate: -50% -50%;
  border: 1px solid #d8fff5ab;
  border-radius: 10px;
  color: #f4fff9;
  background: #18282adf;
  box-shadow: 0 2px 9px #05081061;
  text-align: center;
  font-size: clamp(10px, 5.8cqi, 15px);
  font-weight: 650;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.pp-hotspot:hover {
  border-color: #e6fff9;
  background: #283f42;
}

.pp-hotspot[data-custom="true"] {
  top: clamp(4px, var(--pp-y, 50%), calc(100% - 4px));
  left: clamp(4px, var(--pp-x, 50%), calc(100% - 4px));
  max-width: calc(100% - 8px);
  translate: calc(0% - var(--pp-x, 50%)) calc(0% - var(--pp-y, 50%));
  border: 1px dashed #d8fff5;
  border-radius: 999px;
  background: #17392ccf;
}

.pp-screen :is(button, a, .pp-scene):focus-visible {
  outline: 2px solid #fcfff3;
  outline-offset: -3px;
  box-shadow: 0 0 0 2px #172921;
}

.pp-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.pp-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--pp-line);
  border-radius: 9px;
  color: var(--brand-text, var(--pp-stage-ink));
  background: var(--pp-panel);
  font-size: 12px;
  line-height: 1.25;
}

.pp-controls button:hover:not(:disabled) {
  border-color: var(--pp-accent);
}

.pp-controls svg {
  width: 15px;
  height: 15px;
}

[data-kind="phone-prototype"] .v2-workspace {
  --editor-panel-width: clamp(306px, 31vw, 365px);
}

[data-kind="phone-prototype"] [data-editor-collapsed="false"] .v2-stage {
  padding: 0;
}

[data-kind="phone-prototype"] [data-editor-collapsed="true"] .v2-stage {
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

[data-kind="phone-prototype"] .v2-editor-panel-head {
  min-height: 58px;
  gap: 8px;
  padding-block: 7px;
}

[data-kind="phone-prototype"] .v2-editor-panel-head [data-editor-toggle] {
  flex: none;
  width: 44px;
  min-height: 44px;
}

.pp-screen-picker {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.pp-screen-picker select {
  flex: 1;
  min-width: 0;
}

.pp-settings {
  min-width: 0;
  padding-top: 2px;
}

.pp-editor-section + .pp-editor-section {
  border-top: 1px solid var(--line);
}

.pp-editor-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.pp-editor-section > summary::-webkit-details-marker {
  display: none;
}

.pp-editor-section > summary::after {
  width: 7px;
  height: 7px;
  flex: none;
  margin-inline-end: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  color: var(--muted);
  transform: rotate(45deg);
  content: "";
}

.pp-editor-section[open] > summary::after {
  color: var(--accent);
  transform: rotate(225deg);
}

.pp-section-body {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-bottom: 12px;
}

.pp-hotspot-fields label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.pp-setting-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pp-settings :is([data-pp-image-status], [data-status], [data-error]):empty {
  display: none;
}

.pp-upload-row, .pp-hotspot-fields {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pp-upload-row .v2-upload {
  position: relative;
  justify-content: flex-start;
  min-height: 44px;
  font-size: 13px;
}

.pp-upload-row input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.pp-upload-row .v2-upload:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.pp-upload-row .v2-text-button {
  justify-self: start;
}

.pp-hotspot-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
}

.pp-hotspot-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.pp-position-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pp-position-fields label > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 5px;
}

.pp-screen-picker select,
.pp-settings :is(input[type="text"], input[type="url"], input[type="number"], select, textarea) {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--page);
  font-size: 16px;
}

.pp-settings input[type="range"] {
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: var(--accent);
}

.pp-settings :is(button, summary) {
  min-height: 44px;
}

[data-kind="phone-prototype"] .pp-copy-settings .v2-fields {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 12px;
}

.pp-copy-settings .v2-fields textarea {
  min-height: 76px;
  resize: vertical;
}

[data-kind="phone-prototype"] .pp-copy-settings .v2-dialog-actions {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 10px;
}

[data-kind="phone-prototype"] .pp-copy-settings .v2-dialog-actions .v2-text-button {
  margin-left: 0;
}

[data-kind="phone-prototype"] .pp-copy-settings .v2-dialog-actions [type="submit"] {
  order: -1;
  width: auto;
}

[data-kind="phone-prototype"] .v2-panel-guide {
  margin-top: 8px;
}

[data-kind="phone-prototype"] [data-editor-workspace] .pp-editor-scroll :is(input,select,textarea,button,a,summary) {
  scroll-margin-block: 8px;
}

@container pp-stage (max-width: 540px) {
  .pp-composition {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .pp-device {
    width: min(100%, 255px, calc(clamp(430px, 65svh, 522px) * .489));
  }

  .pp-stage-note {
    padding-block: 5px;
  }

  .pp-stage-note :is(h2, h3, strong) {
    font-size: 23px;
  }

  .pp-controls {
    justify-content: center;
  }
}

/* The phone fits the viewport while only the settings body scrolls. */
@media (min-width: 960px) and (min-height: 420px), (max-width: 959px) and (min-height: 450px) {
  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) [data-editor-layout] {
    height: var(--editor-available-height);
    align-items: stretch;
  }

  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) :is([data-editor-preview], [data-editor-panel]) {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    scrollbar-gutter: auto;
  }

  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) [data-editor-panel] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding-bottom: 0;
  }

  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .v2-editor-panel-head {
    position: relative;
  }

  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-editor-scroll {
    min-height: 0;
    margin-inline: -4px;
    padding: 0 4px 16px;
    overflow: hidden auto;
    scrollbar-width: thin;
    overscroll-behavior: contain;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) :is(.v2-stage, .pp-studio) {
    height: 100%;
    min-height: 0;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-studio {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: clamp(12px, 2vw, 22px);
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-composition {
    grid-template-columns: minmax(0, 1.35fr) minmax(145px, .85fr);
    min-height: 0;
    padding-block: 0;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-device {
    --pp-height-budget: clamp(160px, calc(var(--editor-available-height) - 144px), 600px);
    width: min(100%, 298px, calc(var(--pp-height-budget) * .489));
  }
}

@media (max-width: 959px) and (min-height: 450px) {
  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) {
    --pp-preview-height: clamp(178px, calc(var(--editor-available-height) * .46), 302px);
  }

  [data-kind="phone-prototype"] [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) [data-editor-layout] {
    grid-template-rows: var(--pp-preview-height) minmax(0, 1fr);
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-studio {
    grid-template-columns: minmax(0, min(46%, calc((var(--pp-preview-height) - 20px) * .489))) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 14px;
    padding: 8px 10px;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-composition {
    display: contents;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) :is(.pp-eyebrow, .pp-stage-note) {
    display: none;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-device {
    grid-area: 1 / 1 / 5 / 2;
    width: 100%;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-stage-head {
    grid-area: 2 / 2;
    padding: 0;
    border: 0;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-scene-label {
    display: grid;
    gap: 2px;
    color: var(--brand-text, var(--pp-stage-ink));
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) [data-pp-index] {
    color: var(--brand-text, var(--pp-stage-muted));
    font-size: 11px;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) [data-pp-current] {
    font: 500 clamp(16px, 5cqi, 24px) / 1.15 Fraunces, serif;
    overflow-wrap: anywhere;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-controls {
    grid-area: 3 / 2;
    justify-content: flex-start;
    gap: 4px;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-controls button {
    width: 44px;
    padding: 5px;
  }

  [data-editor-collapsed="false"]:not([data-editor-constrained="true"]) .pp-controls button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

[data-kind="phone-prototype"] .v2-toolbar [data-pause] {
  min-height: 44px;
  padding-inline: 8px;
}

@media (max-width: 500px) {
  [data-kind="phone-prototype"] .v2-toolbar-label {
    display: none;
  }

  [data-kind="phone-prototype"] .v2-toolbar > .v2-row {
    display: grid;
    grid-template-columns: 44px repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  [data-kind="phone-prototype"] .v2-toolbar .v2-button {
    min-width: 0;
    padding-inline: 5px;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }

  [data-kind="phone-prototype"] .v2-toolbar [data-pause] {
    display: grid;
    width: 44px;
    place-items: center;
    padding: 0;
    font-size: 0;
  }

  [data-kind="phone-prototype"] .v2-toolbar [data-pause]::before {
    width: 14px;
    height: 14px;
    background: currentColor;
    clip-path: polygon(12% 0, 40% 0, 40% 100%, 12% 100%, 12% 0, 60% 0, 88% 0, 88% 100%, 60% 100%, 60% 0);
    content: "";
  }

  [data-kind="phone-prototype"] .v2-toolbar [data-pause][aria-pressed="true"]::before {
    clip-path: polygon(18% 0, 96% 50%, 18% 100%);
  }
}

@container pp-screen (max-width: 108px) {
  .pp-lock-time {
    font-size: 24px;
  }

  .pp-lock-date, .pp-notification {
    font-size: 8px;
  }

  .pp-lock-action {
    right: 5%;
    left: 5%;
    padding: 3px 2px;
    font-size: 9px;
  }

  .pp-lock-action svg, .pp-home-actions svg, .pp-hotspot svg {
    display: none;
  }

  .pp-home[data-has-image="false"] {
    gap: 4px;
    padding: 7px 7% 6px;
  }

  .pp-home-content :is(.pp-app-eyebrow, .pp-app-copy),
  .pp-project-content .pp-app-copy {
    display: none;
  }

  .pp-app-title {
    font-size: 13px;
  }

  .pp-app-copy, .pp-app-eyebrow {
    font-size: 8px;
  }

  .pp-hotspot, .pp-home-actions button {
    padding-inline: 4px;
    font-size: 9px;
  }

  .pp-home-actions button {
    grid-template-columns: minmax(0, 1fr);
  }

  .pp-home-actions button > span {
    display: none;
  }
}

html[data-view="thumbnail"] .pp-device {
  width: min(100%, clamp(215px, 31cqi, 304px));
}

html[data-view="thumbnail"] .pp-controls {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .pp-studio *, .pp-studio *::before, .pp-studio *::after {
    animation: none !important;
    transition: none !important;
  }
}
