/* Lenci guided journey (v3/journey.js): a calm full-screen layer over the Studio. Bigger type, one decision per screen, the next step
   always in the same place (the sticky foot). Studio tokens (studio.css :root); logical properties only, so Arabic mirrors itself. */
.journey { position: fixed; inset: 0; z-index: 65; background: radial-gradient(900px 520px at 15% -10%, rgba(139,92,246,.22), transparent 60%), radial-gradient(800px 480px at 100% 110%, rgba(34,211,238,.10), transparent 60%), var(--canvas); color: var(--ink); font-size: 15px; line-height: 1.5; }
html.journey-open .lc-claw, html.journey-open .sp-launcher, html.journey-open #support-fab { display: none !important; }
.jy-shell { height: 100%; display: flex; flex-direction: column; }
.jy-head { flex: none; display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: rgba(10,10,15,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jy-brand { display: flex; align-items: center; gap: 8px; flex: none; }
.jy-brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--energy); box-shadow: 0 0 18px rgba(139,92,246,.5); }
.jy-word { font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.jy-ar { font: 600 15px/1 var(--arabic); color: var(--muted); }
.jy-steps { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; min-width: 0; }
.jy-step-b { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--dim); padding: 6px 10px; border-radius: 999px; font: 600 13px/1 var(--latin); cursor: default; }
[dir="rtl"] .jy-step-b { font-family: var(--arabic); }
.jy-step-b:not(:disabled) { cursor: pointer; color: var(--muted); }
.jy-step-b:not(:disabled):hover { background: rgba(255,255,255,.06); color: var(--ink); }
.jy-step.now .jy-step-b { color: var(--ink); background: rgba(139,92,246,.16); }
.jy-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--latin); border: 1px solid var(--line-2); flex: none; }
.jy-step.now .jy-dot { background: var(--energy); border-color: transparent; color: #fff; box-shadow: 0 0 14px rgba(139,92,246,.6); }
.jy-step.done .jy-dot { background: rgba(139,92,246,.25); border-color: transparent; color: var(--accent-2); }
.jy-side { display: flex; align-items: center; gap: 8px; flex: none; }
.jy-credits { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.jy-credits b { color: var(--ink); }
.jy-pro, .jy-link { border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); padding: 7px 14px; border-radius: 999px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.jy-pro:hover, .jy-link:hover { border-color: var(--accent-2); }
.jy-main { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.jy-body { max-width: 1040px; margin: 0 auto; padding: 36px 24px 0; display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.jy-eyebrow { margin: 0; font: 600 12px/1.2 var(--latin); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
[dir="rtl"] .jy-eyebrow { letter-spacing: 0; font-family: var(--arabic); font-size: 14px; }
.jy-h1 { margin: -10px 0 0; font: 700 clamp(28px, 4.2vw, 44px)/1.12 var(--display); letter-spacing: -.02em; outline: none; }
[dir="rtl"] .jy-h1 { letter-spacing: 0; line-height: 1.35; }
.jy-sub { margin: -8px 0 0; font-size: 17px; color: var(--muted); max-width: 62ch; }
.jy-h2 { margin: 0 0 10px; font: 600 16px/1.3 var(--display); }
.jy-fine { margin: 0; font-size: 13px; color: var(--dim); }
.jy-note { margin: 0; color: var(--accent-2); }
.jy-working { display: flex; align-items: center; gap: 10px; }
.jy-spin.sm { width: 18px; height: 18px; border-width: 2px; flex: none; }
.jy-err-line { margin: 0; color: #fca5a5; }

/* intro roadmap */
.jy-road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.jy-road-i { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.jy-road-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--energy); color: #fff; font: 700 12px/1 var(--latin); }
.jy-road-i strong { display: block; font-size: 14.5px; }
.jy-road-i div span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* the photo */
.jy-drop { display: flex; align-items: center; gap: 22px; padding: 28px; border-radius: 22px; border: 1.5px dashed rgba(201,184,255,.4); background: linear-gradient(180deg, rgba(139,92,246,.10), rgba(139,92,246,.03)); transition: border-color var(--t), background var(--t); }
.jy-drop.over { border-color: var(--accent-2); background: rgba(139,92,246,.18); }
.jy-drop.has { border-style: solid; border-color: var(--line-2); background: rgba(255,255,255,.03); padding: 18px; }
.jy-photo { flex: none; width: 132px; height: 132px; border-radius: 16px; object-fit: contain; padding: 8px; background: repeating-conic-gradient(#f4f4f6 0% 25%, #e6e6ea 0% 50%) 50% / 16px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.jy-photo-ok { display: grid; place-items: center; font-size: 40px; color: var(--accent-2); background: rgba(139,92,246,.15); }
.jy-drop-tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jy-drop-tx strong { font: 600 19px/1.3 var(--display); }
.jy-drop-tx > span { color: var(--muted); font-size: 14px; }
.jy-drop-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* buttons + chips */
.jy-btn { text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.jy-btn:hover:not(:disabled) { border-color: var(--accent-2); }
.jy-btn.jy-p { border: 0; background: var(--active); color: #fff; box-shadow: 0 8px 26px rgba(139,92,246,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.jy-btn.jy-p:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(168,85,247,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.jy-btn.big { min-height: 52px; padding: 0 28px; font-size: 16px; }
.jy-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.jy-btn.jy-g { background: transparent; }
.jy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jy-chips + .jy-chips { margin-top: 10px; }
.jy-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink); font: 500 14.5px/1 inherit; font-family: inherit; cursor: pointer; transition: background var(--t), border-color var(--t); }
.jy-chips-sm .jy-chip { min-height: 34px; font-size: 13.5px; padding: 0 13px; color: var(--muted); }
.jy-chip:hover { border-color: var(--accent-2); }
.jy-chip.on { background: rgba(139,92,246,.24); border-color: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px rgba(139,92,246,.6); }
.jy-mini { border: 1px solid var(--line-2); background: transparent; color: var(--muted); padding: 7px 12px; border-radius: 999px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.jy-mini:hover { color: var(--ink); border-color: var(--accent-2); }
.jy-mini.strong { color: #fff; background: rgba(139,92,246,.3); border-color: var(--accent); }
.jy-q { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.jy-q .jy-h2 + .jy-chips { margin-bottom: 12px; }
.jy-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-width: 460px; }
.jy-field span { font-size: 13.5px; color: var(--muted); }
.jy-field input, .jy-post-top input, .jy-caption { background: rgba(0,0,0,.35); border: 1px solid var(--line-2); color: var(--ink); border-radius: 12px; padding: 11px 14px; font: 15px/1.4 inherit; font-family: inherit; color-scheme: dark; }
.jy-field input:focus, .jy-caption:focus, .jy-post-top input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,92,246,.25); }

/* looks */
.jy-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.jy-look { position: relative; display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--panel); color: var(--ink); text-align: start; cursor: pointer; font-family: inherit; box-shadow: 0 0 0 1px var(--line-2); transition: transform var(--t), box-shadow var(--t); }
.jy-look:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent-2), 0 14px 30px rgba(0,0,0,.35); }
.jy-look.on { box-shadow: 0 0 0 2px var(--accent), 0 14px 34px rgba(139,92,246,.35); }
.jy-look-img { aspect-ratio: 4 / 5; background: #111; overflow: hidden; }
.jy-look-img canvas, .jy-shot-img canvas, .jy-shot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jy-look-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #1d1d2b, #12121a); }
.jy-look-cap { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.jy-look-cap strong { font-size: 15px; }
.jy-look-cap span { font-size: 13px; color: var(--muted); }
.jy-badge { position: absolute; top: 10px; inset-inline-start: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(10,10,15,.78); border: 1px solid rgba(201,184,255,.4); color: var(--accent-2); font: 600 11.5px/1.2 inherit; font-family: inherit; backdrop-filter: blur(6px); }
.jy-badge-p { top: 40px; color: #fde68a; border-color: rgba(253,230,138,.4); }
.jy-tick { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,15,.6); border: 1.5px solid rgba(255,255,255,.5); color: transparent; font-weight: 800; transition: all var(--t); }
.jy-look.on .jy-tick { background: var(--energy); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(139,92,246,.6); }

/* shots */
.jy-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.jy-shot { border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); display: flex; flex-direction: column; }
.jy-shot.st-done { box-shadow: 0 0 0 1px rgba(139,92,246,.5); }
.jy-shot-img { position: relative; aspect-ratio: 4 / 5; background: #111; }
.jy-shot-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: rgba(10,10,15,.62); backdrop-filter: blur(3px); font-weight: 600; }
.st-idle .jy-shot-ov, .st-queued .jy-shot-ov { background: rgba(10,10,15,.45); color: var(--muted); }
.jy-clock { font: 500 13px/1 var(--mono); color: var(--muted); direction: ltr; }
.jy-err { color: #fca5a5; font-weight: 500; font-size: 13.5px; }
.jy-spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--magenta); animation: jySpin 1s linear infinite; }
@keyframes jySpin { to { transform: rotate(360deg); } }
.jy-shot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; }
.jy-shot-bar strong { flex: 1 1 100%; font-size: 14.5px; }
.jy-keep { border: 1px solid var(--line-2); background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 999px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.jy-keep.on { background: rgba(34,197,94,.16); border-color: rgba(34,197,94,.6); color: #86efac; }

/* posts */
.jy-posts { display: flex; flex-direction: column; gap: 16px; }
.jy-post { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.jy-post-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #111; }
.jy-post-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jy-post-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jy-post-top input { padding: 8px 10px; font-size: 14px; }
.jy-post-n { font: 600 14px/1 var(--display); margin-inline-end: auto; }
.jy-caption { width: 100%; resize: vertical; min-height: 140px; font-size: 15px; line-height: 1.6; }
.jy-tags { margin: 0; color: var(--blue); font-size: 13.5px; word-break: break-word; }
.jy-post-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.jy-pfs { font-size: 13px; color: var(--dim); }

/* live */
.jy-auto { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(120deg, rgba(139,92,246,.16), rgba(34,211,238,.06)); border: 1px solid rgba(139,92,246,.35); }
.jy-auto strong { flex: 1 1 100%; font: 600 16px/1.3 var(--display); }
.jy-auto > span { flex: 1 1 320px; color: var(--muted); font-size: 14px; }
.jy-timeline { display: flex; flex-direction: column; gap: 12px; }
.jy-tl { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.jy-tl img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: #111; }
.jy-tl-col { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.jy-tl-col > strong { font-size: 14.5px; }
.jy-tl-cap { margin: 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; unicode-bidi: plaintext; }
.jy-tl-acts { display: flex; flex-direction: column; gap: 6px; }
.jy-pfrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jy-pfname { min-width: 84px; font-size: 13.5px; font-weight: 600; }
.jy-posted { color: #86efac; font-size: 13px; font-weight: 600; }
.jy-will { color: var(--accent-2); font-size: 13px; }
.jy-grow { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.jy-walink { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.jy-walink code { font: 12.5px/1.4 var(--mono); color: var(--accent-2); word-break: break-all; direction: ltr; unicode-bidi: isolate; }
.jy-tips { margin: 16px 0 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 10px; }
.jy-tips strong { display: block; }
.jy-tips span { color: var(--muted); font-size: 14px; }
.pf-instagram { color: #f9a8d4; } .pf-tiktok { color: #67e8f9; } .pf-snapchat { color: #fde047; } .pf-x { color: #e5e7eb; }
.jy-chip.jy-pf { color: var(--ink); }

/* the sticky foot: the next step is always here */
.jy-foot { position: sticky; bottom: 0; margin: auto -24px 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; background: linear-gradient(180deg, rgba(10,10,15,0), rgba(10,10,15,.92) 30%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.jy-foot-l { flex: 1; min-width: 0; color: var(--muted); font-size: 14px; }
.jy-cost { display: flex; flex-direction: column; gap: 2px; }
.jy-cost strong { color: var(--ink); font-size: 15px; }
.jy-foot-r { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.jy-toast { position: fixed; z-index: 90; bottom: calc(92px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; background: #1d1d2b; border: 1px solid rgba(139,92,246,.5); box-shadow: 0 18px 40px rgba(0,0,0,.5); color: var(--ink); font-size: 14.5px; text-align: center; }

@media (max-width: 900px) {
  .jy-step-l { display: none; }
  .jy-step.now .jy-step-l { display: inline; }
  .jy-road { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .jy-head { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .jy-ar, .jy-credits { display: none; }
  .jy-steps { order: 3; flex-basis: 100%; justify-content: space-between; margin: 0; }
  .jy-step-b { padding: 4px 6px; font-size: 12.5px; }
  .jy-side { margin-inline-start: auto; }
  .jy-body { padding: 22px 16px 0; gap: 18px; }
  .jy-sub { font-size: 15.5px; }
  .jy-road { grid-template-columns: 1fr; gap: 8px; }
  .jy-road-i { padding: 12px; }
  .jy-drop { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 18px; }
  .jy-drop.has { flex-direction: row; text-align: start; }
  .jy-drop.has .jy-photo { width: 88px; height: 88px; }
  .jy-drop-acts { justify-content: center; }
  .jy-drop.has .jy-drop-acts { justify-content: flex-start; }
  .jy-drop:not(.has) .jy-btn { flex: 1 1 100%; }
  .jy-q { padding: 16px; }
  .jy-looks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .jy-look-cap { padding: 9px 10px 11px; }
  .jy-look-cap strong { font-size: 14px; }
  .jy-look-cap span { font-size: 12px; }
  .jy-badge { font-size: 10.5px; top: 8px; inset-inline-start: 8px; padding: 3px 7px; }
  .jy-badge-p { top: 34px; }
  .jy-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .jy-post { grid-template-columns: 1fr; }
  .jy-post-img { max-width: 260px; justify-self: center; }
  .jy-foot { margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 10px; }
  .jy-foot-l { flex-basis: 100%; font-size: 13px; }
  .jy-foot-r { width: 100%; flex-wrap: nowrap; }
  .jy-foot-r .jy-btn { flex: 1 1 auto; padding: 0 14px; }
  .jy-foot-r .jy-btn.jy-g { flex: 0 0 auto; }
  .jy-btn.big { min-height: 50px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .jy-spin { animation-duration: 3s; } .jy-look, .jy-btn { transition: none; } }
.jy-nawaa { text-decoration: none; background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, linear-gradient(120deg, #22d3ee, #8b5cf6 55%, #d946ef) border-box; border: 1.5px solid transparent; }
