/* Layout of the one empty state (_empty_state.jinja2) when it is a first-run or upload-first
   state: it fills the app pane and the empty list under it is hidden. The look is the plain
   component in study_pages-overrides.css. */

.st-upload-first[hidden] {
  display: none !important;
}

body[data-mobile] .st-pane:has(> .st-first),
body[data-mobile] .st-pane.st-pane--summaries:has(> .st-upload-first),
body[data-mobile] .st-pane.st-pane--podcasts:has(> .st-upload-first) {
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
  min-height: calc(
    100svh - var(--mobile-app-bar-height, 56px) - 88px -
      var(
        --safe-bottom-snug,
        var(--safe-bottom-effective, env(safe-area-inset-bottom, 0px))
      )
  ) !important;
  margin: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

body[data-mobile] .st-pane > .st-first,
body[data-mobile] .st-pane.st-pane--summaries > .st-upload-first,
body[data-mobile] .st-pane.st-pane--podcasts > .st-upload-first {
  flex: 1 1 auto;
  justify-content: center;
}

body[data-mobile] .st-pane:has(> .st-first) > .ml-list:not(:has(.ml-row)),
body[data-mobile] .st-pane:has(> .st-first) > .st-panel-box[data-empty],
body[data-mobile]
  .st-pane.st-pane--summaries:has(> .st-upload-first)
  > .st-sum-grid:not(:has(.st-sum-row)),
body[data-mobile]
  .st-pane.st-pane--podcasts:has(> .st-upload-first)
  > .st-pod-list:not(:has(.st-pod-row)) {
  display: none !important;
}

body[data-mobile]
  .st-pane:has(
    .st-sum-row,
    .st-pod-row,
    [data-document-id],
    .st-anki-deck-block
  )
  > .st-first {
  display: none !important;
}

body[data-mobile]
  .mobile-app-bar
  .st-search-field--mobile:has(> input:disabled) {
  visibility: hidden;
}

body[class][data-mobile]
  .st-pane:has(> .st-first)
  > .st-panel-box[data-empty][data-empty][data-empty][data-empty][data-empty][data-empty][data-empty][data-empty] {
  display: none !important;
}

body[data-mobile]:has(.st-first--anki) .st-anki-trademark-notice {
  display: none !important;
}

body[data-mobile]
  .st-pane-empty.st-pane-empty--plain:is(.st-upload-first, .st-first) {
  justify-content: center !important;
}

/* App only (owner, 2026-10-15): the pre-review first run (Loo bubble, example card, two-line
   CTA) and upload-first (big Loo). Web keeps the plain empty state. */
body[data-mobile] .st-upload-first--app,
body[data-mobile] .st-qz-first {
  --st-uf-text: #2b1d20;
  --st-uf-muted: #6f5d61;
  --st-uf-bubble-bg: #ffffff;
  --st-uf-bubble-border: color-mix(in srgb, #fb596e 22%, #eed7db 78%);
  --st-uf-bubble-text: #3d2b2f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 22px 28px;
  text-align: center;
  color: var(--st-uf-text);
}

body[data-mobile] .st-upload-first__loo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body[data-mobile] .st-loo-bubble {
  position: relative;
  z-index: 2;
  max-width: 280px;
  margin: 0 0 12px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--st-uf-bubble-bg);
  border: 1.5px solid var(--st-uf-bubble-border);
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.28);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--st-uf-bubble-text);
  text-align: center;
  transform-origin: 50% 100%;
  animation: st-uf-bubble-in 460ms cubic-bezier(0.34, 1.56, 0.64, 1) 380ms both;
}

body[data-mobile] .st-loo-bubble::before,
body[data-mobile] .st-loo-bubble::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  margin-inline-start: -9px;
  border-style: solid;
  border-width: 10px 9px 0 9px;
  border-color: var(--st-uf-bubble-border) transparent transparent transparent;
}

body[data-mobile] .st-loo-bubble::after {
  bottom: -7.5px;
  border-color: var(--st-uf-bubble-bg) transparent transparent transparent;
}

body[data-mobile] .st-loo-bubble__text {
  animation: st-uf-fade-in 260ms ease-out 1180ms both;
}

body[data-mobile] .st-loo-bubble__typing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  animation: st-uf-fade-out 180ms ease-in 1100ms both;
}

body[data-mobile] .st-loo-bubble.is-typing .st-loo-bubble__text {
  display: none;
}

body[data-mobile] .st-loo-bubble.is-typing .st-loo-bubble__typing {
  position: static;
  height: 20px;
  padding: 0 4px;
  opacity: 1;
  visibility: visible;
  animation: none;
}

body[data-mobile] .st-loo-bubble.is-revealing .st-loo-bubble__text {
  opacity: 0;
  animation: none;
}

body[data-mobile] .st-loo-bubble.is-revealing .st-loo-bubble__typing {
  visibility: hidden;
  animation: none;
}

body[data-mobile] .st-loo-bubble.is-cycled .st-loo-bubble__typing {
  visibility: hidden;
  animation: none;
}

body[data-mobile] .st-loo-bubble.is-cycled .st-loo-bubble__text {
  animation: st-uf-fade-in 260ms ease-out both;
}

body[data-mobile] .st-loo-bubble__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, #fb596e 70%, #ffffff);
  animation: st-uf-typing 900ms ease-in-out infinite;
}

body[data-mobile] .st-loo-bubble__typing i:nth-child(2) {
  animation-delay: 150ms;
}

body[data-mobile] .st-loo-bubble__typing i:nth-child(3) {
  animation-delay: 300ms;
}

body[data-mobile] .st-upload-first__img {
  display: block;
  width: 176px;
  height: auto;
  animation: st-uf-loo-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-mobile] .st-upload-first__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body[data-mobile] .st-upload-first__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--st-uf-text);
}

body[data-mobile] .st-upload-first__hint {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--st-uf-muted);
  font-weight: 400;
}

body[data-mobile] button.st-loo-cta,
body[class][data-mobile] button.st-loo-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 64px;
  min-height: 64px;
  margin: 4px 0 0;
  padding-block: 0;
  padding-inline: 10px 16px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--primary-fill) !important;
  color: #ffffff !important;
  text-align: start;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease;
}

body[data-mobile] button.st-loo-cta:active {
  transform: scale(0.98);
}

body[data-mobile] button.st-loo-cta:focus-visible {
  outline: 3px solid rgba(251, 89, 110, 0.45);
  outline-offset: 3px;
}

body[data-mobile] .st-loo-cta__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #ffffff;
  color: #e8435c;
  font-size: 18px;
}

body[data-mobile] .st-loo-cta__icon .icon,
body[data-mobile] .st-loo-cta__icon i,
body.theme-dark[data-mobile] .st-loo-cta__icon .icon,
body.theme-dark[data-mobile] .st-loo-cta__icon i {
  color: #e8435c !important;
}

body[data-mobile] .st-loo-cta__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body[data-mobile] .st-loo-cta__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

body[data-mobile] .st-loo-cta__sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

body[data-mobile] .st-loo-cta__arrow {
  flex-shrink: 0;
  font-size: 14px;
}

body.theme-dark[data-mobile] .st-upload-first--app,
body.theme-dark[data-mobile] .st-qz-first {
  --st-uf-text: #f6e9eb;
  --st-uf-muted: #c9b5b9;
  --st-uf-bubble-bg: #2c2326;
  --st-uf-bubble-border: #4a3a3e;
  --st-uf-bubble-text: #f3e6e8;
}

body.theme-dark[data-mobile] .st-loo-bubble {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7);
}

@media (max-height: 740px) {
  body[data-mobile] .st-upload-first--app {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body[data-mobile] .st-upload-first__img {
    width: 128px;
  }
}

@keyframes st-uf-bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes st-uf-typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes st-uf-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes st-uf-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes st-uf-loo-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-mobile] .st-loo-bubble,
  body[data-mobile] .st-loo-bubble__text,
  body[data-mobile] .st-upload-first__img {
    animation: none;
  }

  body[data-mobile] .st-loo-bubble__typing {
    display: none;
  }
}

body[data-mobile] .st-pane > .st-first--app {
  gap: 14px;
  padding: 0 20px 4px;
}

body[data-mobile] .st-first__card {
  gap: 10px;
}

body[data-mobile] .st-first__title {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #2b1d20;
}

body[data-mobile] .st-first__sub {
  margin: -4px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: #8a6f74;
}

body[data-mobile] .st-first__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-mobile] .st-first__chips span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  border: 1px solid #f0dde0;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #6b575b;
}

body[data-mobile] .st-first__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body[data-mobile] .st-first__points li {
  position: relative;
  padding-inline-start: 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #3d2b2f;
}

body[data-mobile] .st-first__points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--primary, #fb596e);
}

body[data-mobile] .st-first__player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

body[data-mobile] .st-first__play {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-fill);
  color: #ffffff;
  font-size: 14px;
}

body[data-mobile] .st-first__wave {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  overflow: hidden;
}

body[data-mobile] .st-first__wave i {
  flex: 1 1 0;
  height: 10px;
  border-radius: 2px;
  background: #f6c2cb;
}

body[data-mobile] .st-first__wave .st-first__bar--6 {
  height: 6px;
}

body[data-mobile] .st-first__wave .st-first__bar--7 {
  height: 7px;
}

body[data-mobile] .st-first__wave .st-first__bar--8 {
  height: 8px;
}

body[data-mobile] .st-first__wave .st-first__bar--9 {
  height: 9px;
}

body[data-mobile] .st-first__wave .st-first__bar--10 {
  height: 10px;
}

body[data-mobile] .st-first__wave .st-first__bar--11 {
  height: 11px;
}

body[data-mobile] .st-first__wave .st-first__bar--12 {
  height: 12px;
}

body[data-mobile] .st-first__wave .st-first__bar--13 {
  height: 13px;
}

body[data-mobile] .st-first__wave .st-first__bar--14 {
  height: 14px;
}

body[data-mobile] .st-first__wave .st-first__bar--15 {
  height: 15px;
}

body[data-mobile] .st-first__wave .st-first__bar--16 {
  height: 16px;
}

body[data-mobile] .st-first__wave .st-first__bar--17 {
  height: 17px;
}

body[data-mobile] .st-first__wave .st-first__bar--18 {
  height: 18px;
}

body[data-mobile] .st-first__wave .st-first__bar--19 {
  height: 19px;
}

body[data-mobile] .st-first__wave .st-first__bar--20 {
  height: 20px;
}

body[data-mobile] .st-first__wave .st-first__bar--22 {
  height: 22px;
}

body[data-mobile] .st-first__wave i:nth-child(-n + 7),
body.theme-dark[data-mobile] .st-first__wave i:nth-child(-n + 7) {
  background: var(--primary, #fb596e);
}

body[data-mobile] .st-first__time {
  font-size: 13px;
  font-weight: 400;
  color: #8a6f74;
  font-variant-numeric: tabular-nums;
}

body[data-mobile] .st-first__deck {
  position: relative;
  height: 96px;
  margin: 2px 0;
}

body[data-mobile] .st-first__deck span {
  position: absolute;
  inset: 8px 20px 0;
  border-radius: 14px;
  border: 1px solid #f0dde0;
  background: #ffffff;
}

body[data-mobile] .st-first__deck span:nth-child(1) {
  transform: rotate(-5deg) translate(-6px, 4px);
  background: #fde4e8;
}

body[data-mobile] .st-first__deck span:nth-child(2) {
  transform: rotate(4deg) translate(6px, 2px);
  background: #ece6fb;
}

body[data-mobile] .st-first__deck span:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #2b1d20;
}

body[data-mobile] .st-first__doc {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-mobile] .st-first__doc-icon {
  width: 40px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fde4e8;
  color: #b22a43;
  font-size: 18px;
}

body[data-mobile] .st-first__doc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body[data-mobile] .st-first__doc-text b {
  font-size: 15px;
  font-weight: 600;
  color: #2b1d20;
}

body[data-mobile] .st-first__doc-text span {
  font-size: 13px;
  font-weight: 400;
  color: #8a6f74;
}

body.theme-dark[data-mobile] .st-first--app,
body.theme-dark[data-mobile] .st-first__title,
body.theme-dark[data-mobile] .st-first__doc-text b,
body.theme-dark[data-mobile] .st-first__deck span:nth-child(3) {
  color: #f6e9eb;
}

body.theme-dark[data-mobile] .st-first__points li {
  color: #eadadd;
}

body.theme-dark[data-mobile] .st-first__chips span,
body.theme-dark[data-mobile] .st-first__deck span {
  background: #33292c;
  border-color: #4a3a3e;
  color: #d9c6ca;
}

body.theme-dark[data-mobile] .st-first__deck span:nth-child(1) {
  background: #3a2229;
}

body.theme-dark[data-mobile] .st-first__deck span:nth-child(2) {
  background: #2c2540;
}

body.theme-dark[data-mobile] .st-first__wave i {
  background: #4a3a3e;
}

body.theme-dark[data-mobile] .st-first__doc-icon {
  background: rgba(251, 89, 110, 0.18);
  color: #ff9aa8;
}

/* Web, no documents (owner, 2026-10-15): the pre-review upload-first card is the whole page. */
/* Two :not(#id) so this outranks the study_library.css header rules, which carry one. */
html
  body:not([data-mobile]):not(#uf-a):not(#uf-b)
  .st-pane.st-pane:has(> .st-upload-first--web)
  > :not(.st-upload-first--web):not([id$='-context-menu-root']) {
  display: none !important;
}

html
  body[class]:not([data-mobile]):not(#uf-a):not(#uf-b)
  .st-pane.st-pane
  > .st-upload-first--web {
  display: flex !important;
  flex: 1 1 auto;
}

body:not([data-mobile]) .st-upload-first--web {
  --st-uf-text: #2b1d20;
  --st-uf-muted: #6f5d61;
  --st-uf-bubble-bg: #ffffff;
  --st-uf-bubble-border: color-mix(in srgb, #fb596e 22%, #eed7db 78%);
  --st-uf-bubble-text: #3d2b2f;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  color: var(--st-uf-text);
}

body:not([data-mobile]) .st-upload-first--web .st-upload-first__loo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-bubble {
  position: relative;
  z-index: 2;
  max-width: 280px;
  margin: 0 0 12px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--st-uf-bubble-bg);
  border: 1.5px solid var(--st-uf-bubble-border);
  box-shadow: 0 14px 28px -18px rgba(216, 51, 79, 0.45);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--st-uf-bubble-text);
  text-align: center;
  transform-origin: 50% 100%;
  animation: st-uf-bubble-in 460ms cubic-bezier(0.34, 1.56, 0.64, 1) 380ms both;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-bubble::before,
body:not([data-mobile]) .st-upload-first--web .st-loo-bubble::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  margin-inline-start: -9px;
  border-style: solid;
  border-width: 10px 9px 0 9px;
  border-color: var(--st-uf-bubble-border) transparent transparent transparent;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-bubble::after {
  bottom: -7.5px;
  border-color: var(--st-uf-bubble-bg) transparent transparent transparent;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-bubble__text {
  animation: st-uf-fade-in 260ms ease-out 1180ms both;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-bubble__typing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  animation: st-uf-fade-out 180ms ease-in 1100ms both;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-bubble__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, #fb596e 70%, #ffffff);
  animation: st-uf-typing 900ms ease-in-out infinite;
}

body:not([data-mobile])
  .st-upload-first--web
  .st-loo-bubble__typing
  i:nth-child(2) {
  animation-delay: 150ms;
}

body:not([data-mobile])
  .st-upload-first--web
  .st-loo-bubble__typing
  i:nth-child(3) {
  animation-delay: 300ms;
}

body:not([data-mobile]) .st-upload-first--web .st-upload-first__img {
  display: block;
  width: 176px;
  height: auto;
  animation: st-uf-loo-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body:not([data-mobile]) .st-upload-first--web .st-upload-first__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

html body:not([data-mobile]) .st-upload-first--web .st-upload-first__title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--stw-ink, var(--st-uf-text)) !important;
}

html body:not([data-mobile]) .st-upload-first--web .st-upload-first__hint {
  max-width: 460px !important;
  margin: 0 auto !important;
  font-size: 15.5px !important;
  line-height: 1.5;
  color: var(--stw-muted, var(--st-uf-muted)) !important;
}

html body[class]:not([data-mobile]) .st-upload-first--web > button.st-loo-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 360px !important;
  max-width: 100% !important;
  height: 64px;
  min-height: 64px;
  margin: 6px auto 0 !important;
  padding-block: 0;
  padding-inline: 10px 16px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(
    135deg,
    #ff7d8f 0%,
    #f0506a 45%,
    #d8334f 100%
  ) !important;
  color: #ffffff !important;
  text-align: start;
  letter-spacing: normal;
  text-transform: none;
  box-shadow:
    0 14px 26px -12px rgba(216, 51, 79, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  cursor: pointer;
  transition: transform 140ms ease;
}

body:not([data-mobile]) .st-upload-first--web > button.st-loo-cta:active {
  transform: scale(0.98);
}

body:not([data-mobile])
  .st-upload-first--web
  > button.st-loo-cta:focus-visible {
  outline: 3px solid rgba(251, 89, 110, 0.45);
  outline-offset: 3px;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-cta__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #ffffff;
  color: #e8435c;
  font-size: 18px;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-cta__icon i {
  color: #e8435c !important;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-cta__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-cta__label {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-cta__sub {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.92;
  color: #ffffff;
}

body:not([data-mobile]) .st-upload-first--web .st-loo-cta__arrow {
  flex-shrink: 0;
  font-size: 14px;
  color: #ffffff;
}

body.theme-dark:not([data-mobile]) .st-upload-first--web {
  --st-uf-text: #f6e9eb;
  --st-uf-muted: #c9b5b9;
  --st-uf-bubble-bg: #2c2326;
  --st-uf-bubble-border: #4a3a3e;
  --st-uf-bubble-text: #f3e6e8;
}

body.theme-dark:not([data-mobile]) .st-upload-first--web .st-loo-bubble {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  body:not([data-mobile])
    .st-upload-first--web
    :is(.st-loo-bubble, .st-loo-bubble__text, .st-upload-first__img) {
    animation: none;
  }

  body:not([data-mobile]) .st-upload-first--web .st-loo-bubble__typing {
    display: none;
  }
}

/* Web first run (documents, nothing made yet), restored from 0d0fc80. */
body:not([data-mobile]) .st-qz-first {
  --st-uf-text: #2b1d20;
  --st-uf-muted: #6f5d61;
  --st-uf-bubble-bg: #ffffff;
  --st-uf-bubble-border: color-mix(in srgb, #fb596e 22%, #eed7db 78%);
  --st-uf-bubble-text: #3d2b2f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 22px 28px;
  text-align: center;
  color: var(--st-uf-text);
}

body:not([data-mobile]) .st-first .st-loo-bubble {
  position: relative;
  z-index: 2;
  max-width: 280px;
  margin: 0 0 12px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--st-uf-bubble-bg);
  border: 1.5px solid var(--st-uf-bubble-border);
  box-shadow: 0 14px 28px -18px rgba(216, 51, 79, 0.45);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--st-uf-bubble-text);
  text-align: center;
  transform-origin: 50% 100%;
  animation: st-uf-bubble-in 460ms cubic-bezier(0.34, 1.56, 0.64, 1) 380ms both;
}

body:not([data-mobile]) .st-first .st-loo-bubble::before,
body:not([data-mobile]) .st-first .st-loo-bubble::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  margin-inline-start: -9px;
  border-style: solid;
  border-width: 10px 9px 0 9px;
  border-color: var(--st-uf-bubble-border) transparent transparent transparent;
}

body:not([data-mobile]) .st-first .st-loo-bubble::after {
  bottom: -7.5px;
  border-color: var(--st-uf-bubble-bg) transparent transparent transparent;
}

body:not([data-mobile]) .st-first .st-loo-bubble__text {
  animation: st-uf-fade-in 260ms ease-out 1180ms both;
}

body:not([data-mobile]) .st-first .st-loo-bubble__typing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  animation: st-uf-fade-out 180ms ease-in 1100ms both;
}

body:not([data-mobile])
  .st-first
  .st-loo-bubble.is-typing
  .st-loo-bubble__text {
  display: none;
}

body:not([data-mobile])
  .st-first
  .st-loo-bubble.is-typing
  .st-loo-bubble__typing {
  position: static;
  height: 20px;
  padding: 0 4px;
  opacity: 1;
  visibility: visible;
  animation: none;
}

body:not([data-mobile])
  .st-first
  .st-loo-bubble.is-revealing
  .st-loo-bubble__text {
  opacity: 0;
  animation: none;
}

body:not([data-mobile])
  .st-first
  .st-loo-bubble.is-revealing
  .st-loo-bubble__typing {
  visibility: hidden;
  animation: none;
}

body:not([data-mobile])
  .st-first
  .st-loo-bubble.is-cycled
  .st-loo-bubble__typing {
  visibility: hidden;
  animation: none;
}

body:not([data-mobile])
  .st-first
  .st-loo-bubble.is-cycled
  .st-loo-bubble__text {
  animation: st-uf-fade-in 260ms ease-out both;
}

body:not([data-mobile]) .st-first .st-loo-bubble__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, #fb596e 70%, #ffffff);
  animation: st-uf-typing 900ms ease-in-out infinite;
}

body:not([data-mobile]) .st-first .st-loo-bubble__typing i:nth-child(2) {
  animation-delay: 150ms;
}

body:not([data-mobile]) .st-first .st-loo-bubble__typing i:nth-child(3) {
  animation-delay: 300ms;
}

body:not([data-mobile]) .st-first button.st-loo-cta,
body[class]:not([data-mobile]) .st-first button.st-loo-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 64px;
  min-height: 64px;
  margin: 4px 0 0;
  padding-block: 0;
  padding-inline: 10px 16px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 20px !important;
  background: linear-gradient(
    135deg,
    #ff7d8f 0%,
    #f0506a 45%,
    #d8334f 100%
  ) !important;
  color: #ffffff !important;
  text-align: start;
  letter-spacing: normal;
  text-transform: none;
  box-shadow:
    0 14px 26px -12px rgba(216, 51, 79, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease;
}

body:not([data-mobile]) .st-first button.st-loo-cta:active {
  transform: scale(0.98);
}

body:not([data-mobile]) .st-first button.st-loo-cta:focus-visible {
  outline: 3px solid rgba(251, 89, 110, 0.45);
  outline-offset: 3px;
}

body:not([data-mobile]) .st-first .st-loo-cta__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #ffffff;
  color: #e8435c;
  font-size: 18px;
}

body:not([data-mobile]) .st-first .st-loo-cta__icon .icon,
body:not([data-mobile]) .st-first .st-loo-cta__icon i,
body.theme-dark:not([data-mobile]) .st-first .st-loo-cta__icon .icon,
body.theme-dark:not([data-mobile]) .st-first .st-loo-cta__icon i {
  color: #e8435c !important;
}

body:not([data-mobile]) .st-first .st-loo-cta__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body:not([data-mobile]) .st-first .st-loo-cta__label {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

body:not([data-mobile]) .st-first .st-loo-cta__sub {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.92;
}

body:not([data-mobile]) .st-first .st-loo-cta__arrow {
  flex-shrink: 0;
  font-size: 14px;
}

body.theme-dark:not([data-mobile]) .st-qz-first {
  --st-uf-text: #f6e9eb;
  --st-uf-muted: #c9b5b9;
  --st-uf-bubble-bg: #2c2326;
  --st-uf-bubble-border: #4a3a3e;
  --st-uf-bubble-text: #f3e6e8;
}

body.theme-dark:not([data-mobile]) .st-first .st-loo-bubble {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  body:not([data-mobile]) .st-first .st-loo-bubble,
  body:not([data-mobile]) .st-first .st-loo-bubble__text {
    animation: none;
  }

  body:not([data-mobile]) .st-first .st-loo-bubble__typing {
    display: none;
  }
}

body:not([data-mobile]) .st-first__card {
  gap: 10px;
}

body:not([data-mobile]) .st-first__title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #2b1d20;
}

body:not([data-mobile]) .st-first__sub {
  margin: -4px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #8a6f74;
}

body:not([data-mobile]) .st-first__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body:not([data-mobile]) .st-first__chips span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  border: 1px solid #f0dde0;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  color: #6b575b;
}

body:not([data-mobile]) .st-first__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body:not([data-mobile]) .st-first__points li {
  position: relative;
  padding-inline-start: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #3d2b2f;
}

body:not([data-mobile]) .st-first__points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--primary, #fb596e);
}

body:not([data-mobile]) .st-first__player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

body:not([data-mobile]) .st-first__play {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff7d8f 0%, #f0506a 45%, #d8334f 100%);
  color: #ffffff;
  font-size: 14px;
}

body:not([data-mobile]) .st-first__wave {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  overflow: hidden;
}

body:not([data-mobile]) .st-first__wave i {
  flex: 1 1 0;
  height: var(--h, 10px);
  border-radius: 2px;
  background: #f6c2cb;
}

body:not([data-mobile]) .st-first__wave i:nth-child(-n + 7) {
  background: var(--primary, #fb596e);
}

body:not([data-mobile]) .st-first__time {
  font-size: 12px;
  font-weight: 700;
  color: #8a6f74;
  font-variant-numeric: tabular-nums;
}

body:not([data-mobile]) .st-first__deck {
  position: relative;
  height: 96px;
  margin: 2px 0;
}

body:not([data-mobile]) .st-first__deck span {
  position: absolute;
  inset: 8px 20px 0;
  border-radius: 14px;
  border: 1px solid #f0dde0;
  background: #ffffff;
}

body:not([data-mobile]) .st-first__deck span:nth-child(1) {
  transform: rotate(-5deg) translate(-6px, 4px);
  background: #fde4e8;
}

body:not([data-mobile]) .st-first__deck span:nth-child(2) {
  transform: rotate(4deg) translate(6px, 2px);
  background: #ece6fb;
}

body:not([data-mobile]) .st-first__deck span:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #2b1d20;
}

body:not([data-mobile]) .st-first__doc {
  display: flex;
  align-items: center;
  gap: 10px;
}

body:not([data-mobile]) .st-first__doc-icon {
  width: 40px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fde4e8;
  color: #b22a43;
  font-size: 18px;
}

body:not([data-mobile]) .st-first__doc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body:not([data-mobile]) .st-first__doc-text b {
  font-size: 15px;
  font-weight: 800;
  color: #2b1d20;
}

body:not([data-mobile]) .st-first__doc-text span {
  font-size: 12px;
  font-weight: 600;
  color: #8a6f74;
}

body.theme-dark:not([data-mobile]) .st-first,
body.theme-dark:not([data-mobile]) .st-first__title,
body.theme-dark:not([data-mobile]) .st-first__doc-text b,
body.theme-dark:not([data-mobile]) .st-first__deck span:nth-child(3) {
  color: #f6e9eb;
}

body.theme-dark:not([data-mobile]) .st-first__points li {
  color: #eadadd;
}

body.theme-dark:not([data-mobile]) .st-first__chips span,
body.theme-dark:not([data-mobile]) .st-first__deck span {
  background: #33292c;
  border-color: #4a3a3e;
  color: #d9c6ca;
}

body.theme-dark:not([data-mobile]) .st-first__deck span:nth-child(1) {
  background: #3a2229;
}

body.theme-dark:not([data-mobile]) .st-first__deck span:nth-child(2) {
  background: #2c2540;
}

body.theme-dark:not([data-mobile]) .st-first__wave i {
  background: #4a3a3e;
}

body.theme-dark:not([data-mobile]) .st-first__doc-icon {
  background: rgba(251, 89, 110, 0.18);
  color: #ff9aa8;
}
