/* The demo (demo.js): the app's windows, drawn at 1440 × 900 and scaled. */

.demo { height: 1300vh; }
.demo .stage { display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%); }
.captions { position: relative; flex: none; height: clamp(104px, 15vh, 150px); margin-top: 72px; }
.cap { position: absolute; inset: 0; padding: 0 16px; text-align: center; opacity: 0; }
.cap h2 { font-size: clamp(25px, 3.4vw, 46px); letter-spacing: -0.03em; }
.cap p { margin: 10px 0 0; font-size: clamp(15px, 1.5vw, 20px); color: var(--muted); }
.viewport { position: relative; flex: 1; overflow: hidden; }
/* Own layers only for what moves every frame (the camera, the cursors, the
   four big screenshots' iPhones): on an iPhone each layer can cost its full
   size at 3x, and a few dozen of them crashed Safari. */
.camera { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.card .sl-dev { will-change: transform; }
.stage-mac {
  position: relative;
  width: 1440px;
  height: 900px;
  font-family: var(--body);
  color: #1d1d1f;
  -webkit-user-select: none;
  user-select: none;
}
.stage-mac svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.win {
  position: absolute;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 40px 90px -24px rgba(0, 0, 0, 0.38);
}
.win .lights { position: absolute; left: 20px; top: 20px; z-index: 5; display: flex; gap: 8px; }
.win .lights i { width: 13px; height: 13px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.win .lights i:nth-child(2) { background: #febc2e; }
.win .lights i:nth-child(3) { background: #28c840; }
.tile { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 11px; background: rgba(10, 122, 255, 0.12); color: #0a7aff; font-style: normal; }
.tile svg { width: 23px; height: 23px; }
.tile.green { position: relative; background: rgba(40, 167, 69, 0.14); color: #1e9a46; font: 700 20px var(--display); }
.tile.green em { position: absolute; left: -9px; top: -13px; font-size: 16px; font-style: normal; transform: rotate(-30deg); }

/* The welcome window */
.win.welcome { left: 250px; top: 154px; width: 940px; height: 592px; }
.w-left { position: absolute; inset: 0; }
.w-page { position: absolute; inset: 0; }
.w-home { width: 560px; padding: 0 44px; }
.w-title { display: flex; align-items: center; gap: 16px; padding: 58px 0 30px; }
.w-title img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.w-title b { display: block; font: 700 28px/1.1 var(--display); letter-spacing: -0.02em; }
.w-title span { display: block; margin-top: 4px; font-size: 14px; color: #6e6e73; }
.w-card { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; padding: 13px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.03); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.w-card b { display: block; font-size: 15px; font-weight: 600; }
.w-card span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: #6e6e73; }
.w-card span.dark { color: #3a3a3c; font-weight: 500; }
.w-card.make { transition: none; }
.w-card.make.hover { background: rgba(0, 0, 0, 0.06); }
.w-card.cash { margin-top: 18px; }
.w-version { position: absolute; left: 44px; bottom: 6px; font-size: 11px; color: #a1a1a6; }
.w-right { position: absolute; left: 560px; top: 0; width: 380px; height: 100%; padding: 92px 30px 0; background: #f6f6f7; }
.w-head { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: #6e6e73; }
.w-recent { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.w-recent i { width: 26px; height: 52px; border-radius: 6px; background: linear-gradient(180deg, #e8e6ff, #c9c3ff); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.w-recent:nth-child(3) i { background: linear-gradient(180deg, #1f2445, #3a3f73); }
.w-recent:nth-child(4) i { background: linear-gradient(180deg, #ffe9da, #ffc7a3); }
.w-recent b { display: block; font-size: 14px; font-weight: 600; }
.w-recent span { display: block; font-size: 12.5px; color: #6e6e73; }
.w-open { position: absolute; left: 30px; bottom: 6px; font-size: 14px; font-weight: 500; color: #3a3a3c; }

/* Its capture form */
.w-form { z-index: 3; padding: 0 44px; background: #fff; opacity: 0; }
.f-back { margin: 0; padding-top: 58px; font-size: 14px; color: #6e6e73; }
.f-head { display: flex; gap: 16px; margin-top: 18px; }
.f-head b { display: block; font: 700 24px/1.15 var(--display); letter-spacing: -0.02em; }
.f-head span { display: block; max-width: 760px; margin-top: 4px; font-size: 13px; line-height: 1.4; color: #6e6e73; }
.f-box { position: absolute; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, 0.035); }
.f-label { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #6e6e73; }
.f-app { left: 44px; top: 184px; width: 335px; height: 160px; }
.f-drop { position: relative; height: 102px; border-radius: 12px; border: 1.5px dashed rgba(0, 0, 0, 0.22); }
.f-empty, .f-chosen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.f-empty svg { width: 24px; height: 24px; color: #6e6e73; }
.f-empty b { margin-top: 8px; font-size: 14px; }
.f-empty span { margin-top: 3px; font-size: 10.5px; color: #6e6e73; }
.f-chosen { flex-direction: row; gap: 12px; justify-content: flex-start; padding: 0 16px; text-align: left; opacity: 0; }
.f-chosen .xc { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(180deg, #4aa8ff, #1066e8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.f-chosen b { display: block; font-size: 15px; }
.f-chosen span { display: block; font-size: 12px; color: #6e6e73; }
.f-chosen em { margin-left: auto; font-size: 13px; font-style: normal; color: #0a7aff; }
.f-devices { left: 44px; top: 358px; width: 335px; padding-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.05); font-size: 13px; font-weight: 500; }
.chips span.on { background: rgba(10, 122, 255, 0.12); color: #0a7aff; }
.f-lang { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; font-weight: 600; color: #3a3a3c; }
.f-lang b { padding: 4px 10px; border-radius: 7px; background: rgba(0, 0, 0, 0.06); font-weight: 500; }
.f-screens { left: 392px; top: 184px; width: 504px; height: 196px; }
.f-text { position: relative; height: 138px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px rgba(10, 122, 255, 0.7); font-size: 14px; line-height: 1.45; }
.f-placeholder { position: absolute; inset: 12px 14px; color: #a1a1a6; }
.f-typed { position: relative; white-space: pre-wrap; }
.f-typed.caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: #0a7aff; }
.f-note { position: absolute; left: 44px; bottom: 26px; width: 560px; margin: 0; font-size: 11.5px; line-height: 1.4; color: #a1a1a6; }
.f-go { position: absolute; right: 44px; bottom: 26px; padding: 9px 18px; border-radius: 10px; background: rgba(0, 0, 0, 0.06); color: #a1a1a6; font-size: 14px; font-weight: 600; }
.f-go.ready { background: #1d1d1f; color: #fff; }

/* The project window, as the app lays it out at 1440 × 900: a 52 px toolbar,
   then the stage (1440 × 848). */
.win.editor { left: 0; top: 0; width: 1440px; height: 900px; opacity: 0; }
.tb { position: relative; z-index: 4; height: 52px; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.tb-pill { position: absolute; top: 8px; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(0, 0, 0, 0.045); font-size: 15px; color: #3a3a3c; }
.tb-pill svg { width: 19px; height: 19px; }
.tb-menu { left: 97px; }
.tb-name { position: absolute; left: 196px; top: 0; line-height: 52px; font-size: 16px; font-weight: 500; color: #6e6e73; }
.tb-seg { position: absolute; left: 570px; top: 8px; display: flex; width: 300px; padding: 3px; border-radius: 18px; background: rgba(0, 0, 0, 0.045); font-size: 15px; color: #6e6e73; }
.tb-seg span { flex: 1; padding: 6px 0; border-radius: 15px; text-align: center; }
.tb-seg span.on { background: rgba(0, 0, 0, 0.08); color: #1d1d1f; }
.tb-tools { position: absolute; right: 100px; top: 15px; display: flex; gap: 20px; color: #6e6e73; }
.tb-tools svg { width: 22px; height: 22px; }
.tb-export { right: 8px; font-weight: 500; }
.tb-export.press { background: rgba(0, 0, 0, 0.12); }

.canvas { position: absolute; left: 0; right: 0; top: 52px; bottom: 0; overflow: hidden; background: #fff; }
.backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #14122b url("https://images.unsplash.com/photo-1606247357835-d27fe83fc6a3?ixid=M3wxMDg4NTgwfDB8MXxzZWFyY2h8M3x8c3RhcnJ5JTIwbmlnaHQlMjBza3l8ZW58MHwwfHx8MTc5MTA0NjIxMHww&ixlib=rb-4.1.0&w=2000&q=75&fm=jpg&fit=crop") center / cover no-repeat;
}

/* The language shelf */
.shelf { position: absolute; left: 14px; top: 14px; width: 72px; padding: 6px 0; border-radius: 18px; background: rgba(250, 250, 252, 0.94); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08); opacity: 0; }
.deck { position: relative; display: grid; justify-items: center; gap: 3px; margin: 0 4px; padding: 9px 0 8px; border-radius: 13px; transform-origin: top center; }
.deck.on { background: rgba(0, 113, 227, 0.1); }
.deck-pile { position: relative; width: 44px; height: 40px; }
.deck-pile b { position: absolute; left: 14px; top: 3px; width: 16px; height: 35px; overflow: hidden; border-radius: 3px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.12); transform-origin: 50% 100%; }
.deck-pile b:nth-child(1) { transform: rotate(-11deg) translateX(-7px); }
.deck-pile b:nth-child(2) { transform: rotate(11deg) translateX(7px); }
.deck-pile b .sl { transform: scale(0.0559); }
.deck-pile em { position: absolute; right: -4px; top: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #383838; color: #fff; font: 700 10px/17px -apple-system, sans-serif; text-align: center; box-shadow: 0 0 0 1.5px #fff; }
.deck span { font-size: 12px; font-weight: 600; }
.deck u { padding: 1px 7px; border-radius: 99px; background: #bf5af2; color: #fff; font-size: 10px; font-weight: 700; text-decoration: none; }

/* The screenshots: cards 286.3 × 622, 28 px apart, from x = 106 (slides.css draws them). */
/* Zoomed out a little, as a project opens (demo.js keeps K and T in step). */
.drow { position: absolute; left: 0; top: 30px; width: 100%; height: 700px; transform-origin: 720px 0; transform: translateY(22px) scale(0.85); }
.drow:not([data-d="iphone"]) { opacity: 0; }
.slot { position: absolute; top: 0; width: 286.3px; }
.card { position: relative; height: 622px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 15px 42px rgba(10, 20, 51, 0.27); opacity: 0; }
.slot-ghost { position: absolute; inset: 0 0 auto; height: 622px; display: grid; place-items: center; border-radius: 12px; border: 1.5px dashed rgba(0, 0, 0, 0.14); color: #a1a1a6; font-size: 13px; font-weight: 500; }
.lbl { display: flex; align-items: center; justify-content: center; gap: 8px; height: 24px; margin: 14px auto 0; width: max-content; font-size: 12px; color: #6e6e73; }
.lbl i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, 0.07); font-size: 12px; font-style: normal; font-weight: 600; color: #3a3a3c; }
.canvas.photo .lbl { padding: 0 10px 0 3px; height: 28px; margin-top: 12px; border-radius: 14px; background: rgba(250, 250, 252, 0.92); }
.dcard { position: absolute; top: 0; }
.dcard img { display: block; width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 15px 42px rgba(10, 20, 51, 0.27); }

/* The AI at work: the app's rainbow, turning around what it's changing. */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --spin: 360deg; } }
.glow, .bar-ring {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(from var(--spin), #4f9eff, #8c6bff, #ed6bcc, #ff9959, #ffd166, #4f9eff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.glow { inset: -7px; height: 636px; padding: 3px; border-radius: 18px; }
.dcard .glow { height: auto; }
.glow::after, .bar-ring::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; background: inherit; filter: blur(9px); opacity: 0.8; }
.glow.turn, .bar.busy .bar-ring { animation: spin 3.2s linear infinite; }
.sweep { position: absolute; top: -10%; left: 0; width: 60%; height: 120%; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(79, 158, 255, 0.28) 28%, rgba(255, 255, 255, 0.7) 50%, rgba(237, 107, 204, 0.32) 72%, rgba(255, 255, 255, 0)); }

/* Earlier versions: the chip stack at a card's corner, fanning out under the pointer. */
.smp { position: absolute; left: -10px; top: 528.2px; width: 49px; height: 105.8px; opacity: 0; z-index: 3; }
.smp-chip { position: absolute; left: 0; top: 0; width: 48.7px; height: 105.8px; overflow: hidden; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 1.5px 0 2px rgba(0, 0, 0, 0.18); transform-origin: 50% 100%; }
.smp-chip .sl, .fo-thumb .sl, .xs-thumb .sl, .deck-pile b .sl { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.smp-chip .sl { transform: scale(0.1701); }
.smp-count { position: absolute; left: 41.7px; top: -7px; z-index: 5; min-width: 18px; height: 18px; border-radius: 9px; background: #383838; color: #fff; font: 700 10.5px/18px -apple-system, sans-serif; text-align: center; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9); }
.smp-cap { position: absolute; left: 0; top: -58px; height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(250, 250, 252, 0.96); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.2); font-size: 11px; font-weight: 500; line-height: 22px; color: #6e6e73; white-space: nowrap; opacity: 0; }

/* The AI bar: a pill at rest, open while it's used (--o goes 0 → 1). */
.bar {
  --o: 0;
  --chip: 0;
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: calc(290px + 510px * var(--o));
  height: calc(52px + 36px * var(--o) + 40px * var(--chip));
  margin-left: calc(-145px - 255px * var(--o));
  border-radius: 27px;
  background: rgba(252, 252, 253, 0.96);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.09), 0 calc(8px + 6px * var(--o)) calc(16px + 10px * var(--o)) rgba(0, 0, 0, calc(0.06 + 0.06 * var(--o)));
  z-index: 8;
}
.bar-ring { inset: -3px; padding: 2.5px; border-radius: 30px; }
.bar.busy .bar-ring { opacity: 1; }
.bar-in { position: absolute; inset: 0; overflow: hidden; border-radius: 27px; }
.bar .spark { position: absolute; left: 18px; top: calc(15px + 40px * var(--chip)); width: 22px; height: 22px; stroke: none !important; transform: scale(calc(0.86 + 0.14 * var(--o))); }
.bar.busy .spark { animation: turn 2.4s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.bar-text { position: absolute; left: 50px; top: calc(14px + 40px * var(--chip)); width: 700px; height: 24px; font-size: 17px; line-height: 24px; white-space: nowrap; }
.bar-text > span { position: absolute; left: 0; top: 0; }
.bar-ph0, .bar-ph1 { color: #a1a1a6; }
.bar-typed.caret::after { content: ""; display: inline-block; width: 2px; height: 21px; margin-left: 1px; vertical-align: -4px; background: #0071e3; }
.bar-key { position: absolute; left: 248px; top: 16px; height: 20px; padding: 0 6px; border-radius: 5px; background: rgba(0, 0, 0, 0.07); font: 600 11px/20px ui-rounded, -apple-system, sans-serif; color: #6e6e73; }
.bar-chip { position: absolute; left: 50px; top: 10px; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 15px; background: rgba(0, 113, 227, 0.12); color: #0071e3; font-size: 13px; font-weight: 600; opacity: 0; }
.bar-chip i { width: 9px; height: 14px; border-radius: 2.5px; border: 1.4px solid currentColor; }
.bar-chip b { font-weight: 500; }
.bar-row { position: absolute; right: 12px; bottom: 11px; display: flex; align-items: center; gap: 8px; }
.bb { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 15px; background: rgba(0, 0, 0, 0.05); font-size: 12px; font-weight: 500; color: #6e6e73; }
.bb svg { width: 16px; height: 16px; }
.bb em { font-style: normal; color: #a1a1a6; }
.bb .chev { width: 10px; height: 10px; stroke-width: 2 !important; }
.bb.mic { width: 30px; padding: 0; justify-content: center; }
.bb.mic em { position: absolute; right: -6px; bottom: -4px; height: 12px; padding: 0 3.5px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12); font: 700 7.5px/12px ui-rounded, -apple-system, sans-serif; color: #6e6e73; }
.bb .i-wave { display: none; color: #1d1d1f; }
.bar.listening .mic { background: conic-gradient(from var(--spin), rgba(79, 158, 255, 0.45), rgba(140, 107, 255, 0.45), rgba(237, 107, 204, 0.45), rgba(255, 153, 89, 0.45), rgba(255, 209, 102, 0.45), rgba(79, 158, 255, 0.45)); box-shadow: 0 0 0 2px #8c6bff; animation: spin 2.2s linear infinite; }
.bar.listening .i-mic { display: none; }
.bar.listening .i-wave { display: block; }
.bar.busy .mic { display: none; }
.bb.send { width: 32px; height: 32px; padding: 0; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, 0.06); color: rgba(60, 60, 67, 0.6); }
.bb.send svg { stroke-width: 2.4 !important; }
.bb.send.ready { background: #171717; color: #fff; }
.i-stop { display: none; width: 10px; height: 10px; border-radius: 2px; background: #171717; }
.bar.busy .send { background: rgba(0, 0, 0, 0.08); box-shadow: 0 0 0 2px #8c6bff; }
.bar.busy .send .i-up { display: none; }
.bar.busy .send .i-stop { display: block; }
.bar-under { position: absolute; left: 50%; top: calc(100% + 12px); width: 820px; height: 36px; margin-left: -410px; display: grid; place-items: center; }
.bar-under > span { grid-area: 1 / 1; opacity: 0; white-space: nowrap; }
.bar-status { font-size: 14px; font-weight: 500; background: linear-gradient(90deg, #1d1d1f 0%, #1d1d1f 38%, #8c6bff 47%, #ed6bcc 53%, #1d1d1f 62%, #1d1d1f 100%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.bar-done { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #1d1d1f; }
.bar-done i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #28c840; color: #fff; }
.bar-done i svg { width: 13px; height: 13px; stroke-width: 2.6 !important; }
.bar-done a { color: #0071e3; }
.bar-sugg { display: flex; gap: 10px; }
.bar-sugg span { height: 34px; padding: 0 15px; border-radius: 17px; background: rgba(0, 0, 0, 0.05); font-size: 13px; line-height: 34px; color: #1d1d1f; }
.canvas.photo .bar-status, .canvas.photo .bar-done { padding: 6px 14px; border-radius: 18px; background-color: rgba(250, 250, 252, 0.94); }
.canvas.photo .bar-status { color: #1d1d1f; -webkit-background-clip: border-box; background-clip: border-box; background-image: none; animation: none; }

.keys { position: absolute; left: 20px; bottom: 18px; display: grid; grid-template-columns: auto auto; gap: 3px 22px; font-size: 11px; color: #a1a1a6; }
.keys p { margin: 0; }
.keys kbd { display: inline-block; min-width: 30px; margin-right: 5px; font: 500 11px -apple-system, sans-serif; text-align: right; }
.canvas.photo .keys { padding: 8px 12px; margin: -8px -12px; border-radius: 12px; background: rgba(250, 250, 252, 0.92); }
/* Library, then Background with the light/dark switch in one pill, then the photo's credit (it slides the pills up). */
.lib { position: absolute; right: 16px; bottom: 16px; display: grid; justify-items: end; gap: 10px; }
.lib > span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 16px; background: rgba(250, 250, 252, 0.95); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.09); font-size: 13px; color: #3a3a3c; }
.lib svg { width: 16px; height: 16px; }
.lib .bg-pill { padding-right: 10px; }
.bg-pill i { display: inline-flex; align-items: center; gap: 7px; font-style: normal; }
.bg-pill .moon { margin-left: 2px; padding-left: 9px; height: 18px; border-left: 1px solid rgba(0, 0, 0, 0.12); color: #6e6e73; }
.credit { height: 26px; padding: 0 12px; border-radius: 13px; background: rgba(250, 250, 252, 0.92); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.09); color: #6e6e73; font-size: 11.5px; line-height: 26px; opacity: 0; }
.credit b { font-weight: 600; color: #1d1d1f; }

/* The capture panel */
.panel { position: absolute; right: 20px; top: 16px; width: 300px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 24px 50px -20px rgba(0, 0, 0, 0.35); opacity: 0; z-index: 6; }
.p-head { display: flex; align-items: center; gap: 10px; }
.p-spin { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(139, 92, 246, 0.22); border-top-color: #8b5cf6; animation: turn 0.8s linear infinite; }
.panel.done .p-spin { border-color: #28a745; animation: none; background: #28a745 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.p-title { display: block; font-size: 15px; }
.p-sub { display: block; font-size: 12.5px; color: #6e6e73; }
.p-device { position: relative; width: 150px; height: 326px; margin: 14px auto 0; padding: 6px; border-radius: 28px; background: #1b1b1e; }
.p-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 22px; background: #fff; }
.p-screen img, .p-screen .p-launch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.p-launch { display: grid; place-items: center; background: linear-gradient(180deg, #6d5cf6, #4b3ad8); color: #fff; font: 800 22px ui-rounded, var(--display); letter-spacing: -0.02em; }
.p-status { margin: 12px 0 0; font-size: 12.5px; color: #8b5cf6; font-weight: 500; }
.p-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.p-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #3a3a3c; }
.p-list li i { flex: none; width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.2); }
.p-list li.busy i { box-shadow: none; border: 2px solid rgba(139, 92, 246, 0.25); border-top-color: #8b5cf6; animation: turn 0.8s linear infinite; }
.p-list li.ok i { box-shadow: none; background: #28a745 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Focus mode: one screenshot, its history on the left, its layers on the right. */
.focus { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.focus > * { position: absolute; opacity: 0; }
.fo-veil { inset: 0; background: rgba(246, 246, 247, 0.955); }
.fo-head { left: 570px; top: 22px; width: 300px; display: flex; align-items: center; justify-content: space-between; text-align: center; }
.fo-head b { display: block; font-size: 13px; font-weight: 600; }
.fo-head span { display: block; font-size: 11px; color: #6e6e73; }
.fo-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, 0.06); }
.fo-arrow.off { opacity: 0.3; }
.fo-arrow svg { width: 11px; height: 11px; stroke-width: 1.9 !important; }
.fo-done { right: 30px; top: 30px; height: 28px; padding: 0 13px; border-radius: 8px; background: rgba(0, 0, 0, 0.07); font-size: 13px; font-weight: 500; line-height: 28px; }
.fo-done.press { background: rgba(0, 0, 0, 0.14); }
.fo-panel { top: 80px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.09), 0 8px 18px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.04); }
.fo-history { left: 24px; width: 300px; height: 503px; }
.fo-layers { right: 24px; width: 280px; padding-bottom: 8px; }
.fo-ph { display: flex; justify-content: space-between; align-items: baseline; margin: 0 12px; padding: 14px 4px 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.fo-ph b { font-size: 14px; font-weight: 600; }
.fo-ph span { font-size: 11.5px; color: #6e6e73; }
.fo-row { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 8px; padding: 5px 8px; border-radius: 10px; }
.fo-row:first-of-type { margin-top: 8px; }
.fo-row.hover { background: rgba(0, 0, 0, 0.05); }
.fo-row.cur { background: rgba(0, 113, 227, 0.08); }
.fo-rail { flex: none; position: relative; width: 12px; height: 58px; }
.fo-rail::before { content: ""; position: absolute; left: 5.25px; top: -5px; bottom: -5px; width: 1.5px; background: rgba(0, 0, 0, 0.12); }
.fo-row[data-v="0"] .fo-rail::before { top: 29px; }
.fo-row.cur .fo-rail::before { bottom: 29px; }
.fo-rail::after { content: ""; position: absolute; left: 2.5px; top: 25.5px; width: 7px; height: 7px; border-radius: 50%; background: #a1a1a6; box-shadow: 0 0 0 1.5px #fff; }
.fo-row.cur .fo-rail::after { left: 1.5px; top: 24.5px; width: 9px; height: 9px; background: #0071e3; }
.fo-thumb { flex: none; position: relative; width: 26.7px; height: 58px; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14); }
.fo-row.cur .fo-thumb { box-shadow: 0 0 0 1.5px #0071e3; }
.fo-thumb .sl { transform: scale(0.0933); }
.fo-row b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.fo-row span { display: block; margin-top: 3px; font-size: 11px; color: #6e6e73; }
.fo-row.cur span { font-weight: 600; color: #0071e3; }
.mini-spark { display: inline-block; width: 9px; height: 9px; margin-right: 4px; stroke: none !important; }
.fo-layers p { display: flex; align-items: center; gap: 9px; height: 34px; margin: 1px 8px 0; padding: 0 8px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
.fo-layers p:first-of-type { margin-top: 6px; }
.fo-layers svg { width: 15px; height: 15px; color: #6e6e73; }
.fo-swatch { width: 14px; height: 14px; border-radius: 3.5px; background: linear-gradient(180deg, #eef0ff, #d6dcfe); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.fo-layers small { display: block; font-size: 11px; font-weight: 400; color: #a1a1a6; }
/* Shown at 85% (demo.js scales it), so there's room above the chat bar. */
.fo-card { left: 604.2px; top: 80px; width: 272.5px; height: 592px; overflow: hidden; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 20px 36px rgba(0, 0, 0, 0.16); transform-origin: 0 0; }
.fo-card .sl { transform: scale(0.9518); transform-origin: 0 0; }

/* The Export sheet: 640 × 580, in the middle of the window. */
.xs { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.xs-dim { position: absolute; inset: -52px 0 0; background: rgba(0, 0, 0, 0.22); opacity: 0; }
.xs-sheet { position: absolute; left: 400px; top: 108px; width: 640px; height: 580px; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 30px 70px rgba(0, 0, 0, 0.35); opacity: 0; transform-origin: 50% 40%; }
.xs-head { padding: 24px 26px 14px; }
.xs-head b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.3px; }
.xs-head span { display: block; margin-top: 5px; font-size: 12.5px; color: #6e6e73; }
.xs-list { height: 432px; padding: 6px 22px; overflow: hidden; }
.xs-folder { margin-bottom: 10px; border-radius: 14px; background: rgba(0, 0, 0, 0.03); }
.xs-folder.open { background: rgba(0, 0, 0, 0.045); }
.xs-row { display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 14px; }
.xs-row b { display: block; font-size: 14px; font-weight: 600; }
.xs-row span { display: block; margin-top: 3px; font-size: 12px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.xs-pick { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0071e3; color: #fff; }
.xs-pick svg, .xs-saved svg, .xs-ok svg, .xs-icon em svg { width: 80%; height: 80%; stroke-width: 2.6 !important; }
.xs-icon { flex: none; position: relative; width: 48px; height: 44px; }
.xs-icon::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 9px; border-radius: 3px 3px 0 0; background: #005dba; }
.xs-icon::after { content: ""; position: absolute; left: 0; top: 10px; width: 48px; height: 33px; border-radius: 5px; background: #005dba; }
.xs-icon b { position: absolute; left: 17px; top: 3px; z-index: 1; width: 13.8px; height: 30px; border-radius: 2.5px; background: linear-gradient(180deg, #eef0ff, #d6dcfe); box-shadow: 0 0 0 0.8px rgba(255, 255, 255, 0.8); transform-origin: 50% 100%; }
.xs-icon b:nth-child(1) { transform: translateX(-9px) rotate(-12deg); background: linear-gradient(180deg, #f4eeff, #e0d2ff); }
.xs-icon b:nth-child(3) { transform: translateX(9px) rotate(12deg); background: linear-gradient(180deg, #fff2e9, #ffdac3); }
.xs-icon em { position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; place-items: center; width: 48px; height: 24px; border-radius: 5px; background: linear-gradient(180deg, #1f82e6, #0071e3); box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.12); color: #fff; }
.xs-icon em svg { width: 13px; height: 13px; opacity: 0; }
.xs-folder.all-saved .xs-icon em svg { opacity: 1; }
.xs-chev { flex: none; margin-left: auto; width: 12px; height: 12px; color: #a1a1a6; stroke-width: 1.8 !important; }
.xs-folder.open .xs-chev { transform: rotate(90deg); }
.xs-grid { display: flex; gap: 14px; padding: 0 14px 16px 48px; }
.xs-tile { width: 95.6px; text-align: center; }
.xs-thumb { position: relative; width: 86px; height: 186.9px; margin: 0 auto 6px; overflow: hidden; border-radius: 7px; background: #f0f0f2; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.xs-thumb .sl { transform: scale(0.3004); }
.xs-thumb .xs-pick { position: absolute; left: 5px; top: 5px; z-index: 2; width: 18px; height: 18px; }
.xs-saved { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(0, 0, 0, 0.18); opacity: 0; }
.xs-saved svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #34c759; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.xs-tile span { display: block; font-size: 10.5px; color: #6e6e73; }
.xs-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 63px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 22px; border-top: 1px solid rgba(0, 0, 0, 0.09); background: #fff; }
.xs-left { position: absolute; left: 22px; top: 0; height: 100%; display: flex; align-items: center; gap: 14px; font-size: 12px; color: #3a3a3c; opacity: 0; }
.xs-left span { display: inline-flex; align-items: center; gap: 5px; }
.xs-left svg { width: 15px; height: 15px; }
.xs-prog { width: 180px; height: 6px; overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, 0.1); }
.xs-prog b { display: block; width: 100%; height: 100%; border-radius: 3px; background: #0071e3; transform-origin: left; transform: scaleX(0); }
.xs-pct { color: #6e6e73; font-variant-numeric: tabular-nums; }
.xs-ok { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #34c759; color: #fff; }
.xs-finished b { font-size: 12.5px; font-weight: 500; }
.xs-finished a { color: #0071e3; }
.xs-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border-radius: 18px; background: rgba(0, 0, 0, 0.06); font-size: 14px; font-weight: 500; }
.xs-btn svg { width: 16px; height: 16px; stroke-width: 2 !important; }
.xs-go { background: #0071e3; color: #fff; }
.xs-go.press { background: #005bb8; }
.xs-sheet.saving .xs-btn { color: #a1a1a6; background: rgba(0, 0, 0, 0.05); }
.xs-done { display: none; background: #0071e3; color: #fff; }
.xs-sheet.finished .xs-cancel, .xs-sheet.finished .xs-go { display: none; }
.xs-sheet.finished .xs-done { display: inline-flex; }

/* The cursors: the visitor's, and the AI's (the app's violet arrow with its name). */
.cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.cursor svg { position: absolute; left: -4px; top: -2px; width: 30px; height: 30px; stroke-width: 1.6 !important; }
.cursor.me svg { fill: #111 !important; stroke: #fff !important; }
.cursor.ai svg { fill: #7d5cff !important; stroke: #fff !important; }
.cursor.ai span { position: absolute; left: 16px; top: 22px; height: 20px; padding: 0 8px; border-radius: 6px; background: #7d5cff; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.ripple { position: absolute; left: -23px; top: -23px; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid currentColor; opacity: 0; transform: scale(0.3); }
.cursor.me .ripple { color: rgba(0, 0, 0, 0.55); }
.cursor.ai .ripple { color: #7d5cff; }

@media (max-width: 720px) {
  .captions { height: 118px; margin-top: 70px; }
}

/* Unsplash's mark, next to its name */
.cap .us { position: relative; top: -0.07em; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; margin-right: 0.4em; vertical-align: middle; border-radius: 22.5%; background: #111; }
.cap .us svg { width: 54%; height: 54%; fill: #fff !important; stroke: none !important; }

/* The App Store preview (the toolbar's button left of Export), as the app
   shows it: a 1320 × 830 sheet, the phone on the left with the store's search
   results or the app's page, the listing's details on the right. The phone's
   screen is drawn at its real size (402 × 874) and scaled. */
.tb-tools svg.tb-store.press { color: #0071e3; }
.st { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.st-dim { position: absolute; inset: -52px 0 0; background: rgba(0, 0, 0, 0.22); opacity: 0; }
.st-sheet { position: absolute; left: 60px; top: 0; width: 1320px; height: 830px; display: flex; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 30px 70px rgba(0, 0, 0, 0.35); opacity: 0; transform-origin: 50% 40%; }
.st-stage { position: relative; flex: 1; background: rgba(0, 0, 0, 0.03); }
.st-seg { position: absolute; left: 345px; top: 16px; display: flex; width: 320px; padding: 2px; border-radius: 8px; background: rgba(0, 0, 0, 0.06); font-size: 13px; }
.st-seg span { flex: 1; padding: 4px 0; border-radius: 6px; text-align: center; color: #1d1d1f; }
.st-seg span.on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.st-phone { position: absolute; left: 335px; top: 62px; width: 340px; height: 718px; padding: 9px; border-radius: 58px; background: linear-gradient(145deg, #3a3a3e, #121214 45%, #2a2a2d); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 24px 50px -18px rgba(0, 0, 0, 0.45); }
.st-screen { position: relative; width: 322px; height: 700px; overflow: hidden; border-radius: 49px; background: #fff; }
.st-ui { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform: scale(0.801); transform-origin: 0 0; color: #000; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif; }
.st-ui svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-hint { position: absolute; left: 0; right: 0; top: 796px; display: grid; justify-items: center; margin: 0; font-size: 12px; color: #6e6e73; }
.st-hint span { grid-area: 1 / 1; }
.st-hint .h1 { opacity: 0; }

.st-search, .st-product { position: absolute; inset: 0; background: #fff; }
.st-bar { position: absolute; left: 16px; right: 16px; top: 58px; display: flex; justify-content: space-between; gap: 10px; }
.st-field { flex: 1; display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px 0 14px; border-radius: 22px; background: rgba(118, 118, 128, 0.12); font-size: 17px; }
.st-field > svg { color: #3c3c43; opacity: 0.7; }
.st-clear { display: grid; place-items: center; width: 18px; height: 18px; margin-left: auto; border-radius: 50%; background: #8e8e93; color: #fff; }
.st-clear svg { width: 14px !important; height: 14px !important; stroke-width: 2.4 !important; }
.st-round { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(118, 118, 128, 0.12); }
.st-round svg { width: 20px !important; height: 20px !important; stroke-width: 2.2 !important; }
.st-peek { position: absolute; left: 20px; top: 112px; display: flex; gap: 7px; }
.st-peek i { width: 116px; height: 66px; border-radius: 0 0 12px 12px; background: rgba(0, 0, 0, 0.045); }
.st-listing { position: absolute; left: 0; right: 0; top: 196px; padding: 16px 20px; border-radius: 16px; }
.st-listing.press { background: rgba(0, 0, 0, 0.05); }
.st-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.st-icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 22.37%; background: linear-gradient(140deg, #8a6bff, #4f7cff); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.st-icon svg { width: 76% !important; height: 76% !important; stroke: none !important; }
.st-icon.big { width: 118px; height: 118px; }
.st-name { flex: 1; min-width: 0; line-height: 1.25; }
.st-name b { display: block; font-size: 17px; font-weight: 600; }
.st-name span { display: block; font-size: 14px; color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-name em { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-style: normal; font-size: 12px; color: #6e6e73; }
.st-stars { font-style: normal; font-size: 10px; letter-spacing: 0.5px; color: #8e8e93; }
.st-get { display: grid; place-items: center; flex: none; width: 74px; height: 30px; border-radius: 15px; background: rgba(0, 122, 255, 0.12); color: #007aff; font-size: 15px; font-weight: 700; font-style: normal; }
.st-get.solid { width: 80px; height: 32px; margin-top: 14px; background: #007aff; color: #fff; }
.st-meta { display: flex; align-items: center; gap: 4px; height: 16px; margin: 12px 0; font-size: 12px; font-weight: 500; color: #6e6e73; }
.st-meta svg { width: 13px !important; height: 13px !important; }
.st-meta em { margin: 0 4px; font-style: normal; color: #c7c7cc; }
.st-shots { display: flex; gap: 7px; }
.st-shot, .st-shots > i { position: relative; width: 116px; height: 252px; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.st-shot .sl, .st-big .sl { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.st-shot .sl { transform: scale(0.4052); }
.st-skel { position: absolute; left: 0; right: 0; top: 560px; padding: 16px 20px; opacity: 0.9; }
.st-skel i { display: block; border-radius: 6px; background: rgba(0, 0, 0, 0.05); }
.st-skel .st-row > div { flex: 1; display: grid; gap: 7px; }
.st-skel .st-row > div > i { height: 13px; }
.st-skel .sk-icon { width: 64px; height: 64px; border-radius: 22.37%; }
.st-skel .sk-get { width: 74px; height: 30px; border-radius: 15px; }
.st-skel .st-shots { margin-top: 40px; }
.st-skel .st-shots > i { border-radius: 12px; box-shadow: none; }

.st-product { transform: translateX(402px); opacity: 0; }
.st-head { position: absolute; left: 20px; right: 20px; top: 112px; display: flex; gap: 16px; }
.st-head b { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; }
.st-head span { display: block; margin-top: 3px; font-size: 15px; color: #6e6e73; }
.st-info { position: absolute; left: 20px; right: 0; top: 250px; display: flex; padding: 12px 0; border-top: 0.5px solid rgba(0, 0, 0, 0.15); border-bottom: 0.5px solid rgba(0, 0, 0, 0.15); }
.st-info > div { flex: none; display: grid; justify-items: center; align-content: start; gap: 3px; width: 112px; padding: 0 6px; border-left: 0.5px solid rgba(0, 0, 0, 0.12); text-align: center; color: #6e6e73; }
.st-info > div:first-child { border-left: 0; }
.st-info small { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #8e8e93; white-space: nowrap; }
.st-info b { font-size: 21px; font-weight: 700; color: #6e6e73; line-height: 1.15; }
.st-info span { font-size: 12px; white-space: nowrap; }
.st-info svg { width: 21px !important; height: 21px !important; margin: 2px 0 1px; color: #6e6e73; }
.st-gallery { position: absolute; left: 0; right: 0; top: 362px; height: 520px; overflow: hidden; }
.st-track { display: flex; gap: 10px; padding: 0 20px; width: max-content; }
.st-big { position: relative; width: 228px; height: 495px; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.st-big .sl { transform: scale(0.7964); }

.st-status { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 4px 34px 0 52px; z-index: 2; }
.st-status b { font-size: 17px; font-weight: 600; }
.st-status span { display: flex; align-items: center; gap: 6px; }
.st-status svg { width: 18px !important; height: 18px !important; stroke-width: 2.2 !important; }
.st-battery { position: relative; width: 25px; height: 12px; border-radius: 3.5px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
.st-battery i { position: absolute; inset: 2px; border-radius: 2px; background: #000; }
.st-island { position: absolute; left: 139px; top: 11px; z-index: 3; width: 124px; height: 36px; border-radius: 18px; background: #000; }
.st-tabs { position: absolute; left: 20px; right: 20px; bottom: 24px; z-index: 2; display: flex; height: 62px; padding: 4px; border-radius: 31px; background: rgba(250, 250, 252, 0.94); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 8px 24px -8px rgba(0, 0, 0, 0.25); }
.st-tabs span { flex: 1; display: grid; justify-items: center; align-content: center; gap: 2px; border-radius: 27px; font-size: 10px; font-weight: 600; color: #1d1d1f; }
.st-tabs span.on { background: rgba(0, 0, 0, 0.06); color: #007aff; }
.st-tabs svg { width: 24px !important; height: 24px !important; }
.st-home { position: absolute; left: 131px; bottom: 8px; z-index: 3; width: 140px; height: 5px; border-radius: 3px; background: #000; }

.st-form { position: relative; flex: none; width: 310px; padding: 18px 20px 0; border-left: 0.5px solid rgba(0, 0, 0, 0.12); font-size: 13px; color: #1d1d1f; }
.st-form h4 { margin: 14px 0 8px; font-size: 14px; font-weight: 600; }
.st-group { margin-bottom: 8px; padding: 0 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.035); }
.st-group p { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; border-top: 0.5px solid rgba(0, 0, 0, 0.08); }
.st-group p:first-child { border-top: 0; }
.st-group p > span:first-child { flex: none; }
.st-group b { flex: 1; min-width: 0; font-weight: 400; text-align: right; color: #3a3a3c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-group b.dim { color: #a1a1a6; }
.st-group em { font-style: normal; font-size: 11px; color: #a1a1a6; }
.st-iconrow { display: flex; align-items: center; gap: 12px; padding: 10px; }
.st-iconrow .st-icon { width: 42px; height: 42px; }
.st-btn { padding: 5px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.06); }
.st-note { margin: 0 0 4px; font-size: 11px; line-height: 1.4; color: #6e6e73; }
.st-updown { flex: none; width: 16px; height: 16px; border-radius: 5px; background: rgba(0, 0, 0, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 6.5 8 3.5l3 3M5 9.5l3 3 3-3' fill='none' stroke='%233a3a3c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px; }
.st-toggle { margin-left: auto; width: 34px; height: 20px; border-radius: 10px; background: rgba(0, 0, 0, 0.12); box-shadow: inset -14px 0 0 0 rgba(0, 0, 0, 0); position: relative; }
.st-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.st-slider { flex: 1; position: relative; height: 4px; margin: 0 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.12); }
.st-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: 88%; border-radius: 2px; background: #007aff; }
.st-slider i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.25); }
.st-look { display: flex; margin-left: auto; padding: 2px; border-radius: 7px; background: rgba(0, 0, 0, 0.06); }
.st-look i { padding: 3px 10px; border-radius: 5px; font-style: normal; }
.st-look i.on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.st-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; padding: 12px 18px; border-top: 0.5px solid rgba(0, 0, 0, 0.1); background: #fff; }
.st-done { padding: 5px 14px; border-radius: 7px; background: rgba(0, 0, 0, 0.06); font-size: 13px; }
.st-done.press { background: rgba(0, 0, 0, 0.14); }
