/* Motion stages shared by the service pages and the Manager pages (moved out of style.css 2026-10-09
   so the Manager pages, which carry their own CSS, can load it too). Run by motion.js. */

/* ===================================================================
   Service-page motion stages (2026-10-09). Inserted by tools/motion_stages.py,
   run by motion.js. Every element's resting style is its FINISHED frame; the
   loop only runs under .mo-run, pauses under .mo-paused, never under reduced motion.
   Sequence: .mo-s1 ... .mo-s6 appear in turn on a 10s loop and all leave together.
   =================================================================== */
.mo-stage { position: relative; width: 100%; max-width: 680px; margin: 40px auto 0; background: #fff; border: 1px solid #e6e2dc; border-radius: 20px; padding: 0 0 14px; text-align: left; box-shadow: 0 18px 50px rgba(20,22,31,.07); overflow: hidden; }
.mo-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #f0ede9; }
.mo-head i { width: 9px; height: 9px; border-radius: 50%; background: #e6e2dc; }
.mo-head span { margin-left: 8px; font-size: 13px; color: #6b7080; font-weight: 600; }
.mo-body { position: relative; padding: 18px 18px 6px; min-height: 230px; }
.mo-cap { margin: 4px 18px 0; font-size: 12px; color: #6b7080; }
body .mo-stage p.mo-cap { color: #6b7080 !important; }

@keyframes moIn1 { 0%, 4% { opacity: 0; transform: translateY(8px); } 9%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes moIn2 { 0%, 16% { opacity: 0; transform: translateY(8px); } 21%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes moIn3 { 0%, 28% { opacity: 0; transform: translateY(8px); } 33%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes moIn4 { 0%, 40% { opacity: 0; transform: translateY(8px); } 45%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes moIn5 { 0%, 52% { opacity: 0; transform: translateY(8px) scale(.96); } 57%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes moIn6 { 0%, 64% { opacity: 0; transform: translateY(8px) scale(.96); } 69%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.mo-run .mo-s1 { animation: moIn1 10s ease infinite; }
.mo-run .mo-s2 { animation: moIn2 10s ease infinite; }
.mo-run .mo-s3 { animation: moIn3 10s ease infinite; }
.mo-run .mo-s4 { animation: moIn4 10s ease infinite; }
.mo-run .mo-s5 { animation: moIn5 10s ease infinite; }
.mo-run .mo-s6 { animation: moIn6 10s ease infinite; }
.mo-paused * { animation-play-state: paused !important; }

/* shared parts */
.mo-line { height: 10px; border-radius: 6px; background: #ece9e4; margin: 8px 0; width: 86%; }
.mo-big { height: 16px; background: #d9d4cc; }
.mo-ph { display: block; height: 9px; border-radius: 5px; background: #ece9e4; margin: 5px 0; }
.mo-chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mo-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #e6e2dc; font-size: 13px; font-weight: 600; color: #14161f; background: #fff; }
.mo-fill { background: var(--accent); border-color: var(--accent); color: #fff; }
body .mo-stage .mo-fill { color: #fff !important; }
.mo-toast { position: absolute; right: 16px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; background: #14161f; color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px rgba(20,22,31,.18); }
body .mo-stage .mo-toast { color: #fff !important; }
.mo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.mo-av { width: 34px; height: 34px; border-radius: 50%; background: #ece9e4; flex: none; }
.mo-thumb { width: 54px; height: 54px; border-radius: 10px; background: linear-gradient(135deg, #ffd9bf, #ffb27a); flex: none; }
.mo-txtcol { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mo-list { display: flex; flex-direction: column; gap: 10px; }
.mo-item { display: flex; align-items: center; gap: 12px; border: 1px solid #f0ede9; border-radius: 12px; padding: 10px 12px; }
.mo-item .mo-ph { flex: 0 1 auto; min-width: 24px; }
.mo-item small { font-size: 12px; color: #6b7080; }
body .mo-stage .mo-item small { color: #6b7080 !important; }

/* websites */
.mo-site { border: 1px solid #f0ede9; border-radius: 12px; padding: 14px; margin-bottom: 44px; }
.mo-blk { height: 14px; width: 40%; border-radius: 6px; background: #14161f; margin-bottom: 14px; }

/* seo + gmb: the ranking list */
.mo-ranks { display: flex; gap: 12px; }
.mo-pos { display: flex; flex-direction: column; gap: 10px; width: 16px; font-size: 12px; font-weight: 700; color: #6b7080; padding-top: 14px; }
.mo-pos span { height: 50px; }
.mo-rows { position: relative; flex: 1; height: 230px; }
.mo-row { position: absolute; left: 0; right: 0; top: 0; height: 50px; border: 1px solid #e6e2dc; border-radius: 10px; background: #fff; padding: 9px 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mo-row b { font-size: 14px; color: #14161f; }
.mo-row em { position: absolute; right: 12px; top: 10px; font-style: normal; font-size: 11px; font-weight: 600; color: #b33f00; }
.mo-row i { display: block; height: 7px; width: 60%; border-radius: 4px; background: #ece9e4; }
.mo-c1 { transform: translateY(60px); }
.mo-c2 { transform: translateY(120px); }
.mo-c3 { transform: translateY(180px); }
.mo-you { transform: translateY(0); border: 1.5px solid var(--accent); background: #fff3ea; }
.mo-you i { background: #ffc9a6; }
@keyframes moYou { 0%, 28% { transform: translateY(180px); } 44%, 90% { transform: translateY(0); } 93%, 100% { transform: translateY(180px); } }
@keyframes moC1 { 0%, 28% { transform: translateY(0); } 44%, 90% { transform: translateY(60px); } 93%, 100% { transform: translateY(0); } }
@keyframes moC2 { 0%, 28% { transform: translateY(60px); } 44%, 90% { transform: translateY(120px); } 93%, 100% { transform: translateY(60px); } }
@keyframes moC3 { 0%, 28% { transform: translateY(120px); } 44%, 90% { transform: translateY(180px); } 93%, 100% { transform: translateY(120px); } }
@keyframes moFadeSwap { 0%, 88% { opacity: 1; } 91%, 95% { opacity: 0; } 100% { opacity: 1; } }
.mo-run .mo-you { animation: moYou 10s cubic-bezier(.6,0,.2,1) infinite; }
.mo-run .mo-c1 { animation: moC1 10s cubic-bezier(.6,0,.2,1) infinite; }
.mo-run .mo-c2 { animation: moC2 10s cubic-bezier(.6,0,.2,1) infinite; }
.mo-run .mo-c3 { animation: moC3 10s cubic-bezier(.6,0,.2,1) infinite; }
.mo-run .mo-rows { animation: moFadeSwap 10s linear infinite; }
.mo-map { position: relative; height: 70px; border-radius: 12px; margin-bottom: 12px; background-color: #eef3ec; background-image: linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(0deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%); }
.mo-pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9aa0ad; }
.mo-pin:nth-child(1) { left: 14%; top: 18px; } .mo-pin:nth-child(2) { left: 36%; top: 34px; } .mo-pin:nth-child(3) { left: 62%; top: 14px; } .mo-pin:nth-child(4) { left: 82%; top: 38px; }
.mo-pin-you { background: var(--accent); width: 18px; height: 18px; }
@keyframes moBounce { 0%, 30%, 60%, 100% { margin-top: 0; } 45% { margin-top: -8px; } }
.mo-run .mo-pin-you { animation: moBounce 2.4s ease infinite; }
.mo-stage .mo-ranks .mo-rows { height: 230px; }

/* ai-chat */
.mo-chat { display: flex; flex-direction: column; gap: 10px; }
.mo-msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.mo-them { align-self: flex-end; background: #14161f; color: #fff; border-bottom-right-radius: 4px; }
body .mo-stage .mo-them { color: #fff !important; }
.mo-us { align-self: flex-start; background: #f4f1ec; color: #14161f; border-bottom-left-radius: 4px; }
.mo-typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; background: #f4f1ec; border-radius: 16px; }
.mo-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa0ad; }
@keyframes moTypingShow { 0%, 16% { opacity: 0; } 20%, 28% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes moBlink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.mo-run .mo-typing { display: inline-flex; position: absolute; left: 18px; top: 78px; animation: moTypingShow 10s ease infinite; }
.mo-run .mo-typing span { animation: moBlink 1s ease infinite; }
.mo-run .mo-typing span:nth-child(2) { animation-delay: .15s; } .mo-run .mo-typing span:nth-child(3) { animation-delay: .3s; }
.mo-booked { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #e8f7ee; color: #116b3a; border: 1px solid #bfe7cf; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.mo-booked svg, .mo-tick svg, .mo-ticks svg { width: 16px; height: 16px; }

/* crm */
.mo-cols, .mo-lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mo-cols span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7080; }
.mo-lanes { position: relative; margin-top: 8px; height: 120px; }
.mo-lanes i { border: 1px dashed #e0dbd3; border-radius: 10px; }
.mo-lanes i.mo-win { background: #fff3ea; }
.mo-deal { position: absolute; left: 0; top: 0; width: calc(25% - 6px); height: 120px; padding: 6px; transform: translateX(calc(300% + 24px)); }
.mo-deal b, .mo-deal span { display: block; }
.mo-deal { display: flex; flex-direction: column; justify-content: center; gap: 4px; background: #14161f; border-radius: 10px; padding: 12px; }
.mo-deal b { color: #ff9a4d; font-size: 12px; } .mo-deal span { color: #fff; font-size: 12px; }
body .mo-stage .mo-deal span { color: #fff !important; }
@keyframes moTravel { 0%, 6% { transform: translateX(0); opacity: 1; } 22%, 30% { transform: translateX(calc(100% + 8px)); } 46%, 54% { transform: translateX(calc(200% + 16px)); } 70%, 90% { transform: translateX(calc(300% + 24px)); opacity: 1; } 94% { opacity: 0; } 96% { opacity: 0; transform: translateX(0); } 100% { opacity: 1; transform: translateX(0); } }
.mo-run .mo-deal { animation: moTravel 10s cubic-bezier(.6,0,.2,1) infinite; }
.mo-stage .mo-body:has(.mo-lanes) { padding-bottom: 60px; }

/* lead generation */
.mo-tick { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #e8f7ee; color: #116b3a; display: grid; place-items: center; flex: none; }
.mo-tag { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 9px; flex: none; }
body .mo-stage .mo-tag { color: #fff !important; }
.mo-stage .mo-body:has(.mo-list) { padding-bottom: 60px; }

/* whatsapp */
.mo-ticks { margin-left: auto; display: inline-flex; color: #34b7f1; flex: none; }
.mo-ticks .mo-t2 { margin-left: -9px; display: inline-flex; }
@keyframes moGrey { 0%, 52% { color: #9aa0ad; } 57%, 100% { color: #34b7f1; } }
.mo-run .mo-ticks { animation: moGrey 10s ease infinite; }

/* calendar */
.mo-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 52px; }
.mo-cal span { font-size: 12px; font-weight: 700; color: #6b7080; text-align: center; }
.mo-cal i { height: 34px; border-radius: 8px; border: 1px dashed #e0dbd3; }
.mo-cal i.mo-slot { border: 0; background: var(--accent); }

/* social planner */
.mo-post { display: flex; gap: 12px; align-items: center; border: 1px solid #f0ede9; border-radius: 12px; padding: 10px; margin-bottom: 16px; }
.mo-week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mo-week span { font-size: 12px; font-weight: 700; color: #6b7080; text-align: center; }
.mo-week em { font-style: normal; text-align: center; font-size: 12px; font-weight: 700; padding: 18px 4px; border-radius: 10px; background: #fff3ea; color: #b33f00; border: 1px solid #ffd2b3; }

/* reputation */
.mo-ask { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 0 8px; }
.mo-ask b { font-size: 20px; color: #14161f; }
.mo-stars { display: flex; gap: 8px; }
.mo-stars svg { width: 38px; height: 38px; fill: #f5a623; }

/* ads */
.mo-ad { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.mo-adcard { flex: 1 1 220px; border: 1px solid #f0ede9; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.mo-adcard .mo-thumb { width: 100%; height: 70px; margin-bottom: 6px; }
.mo-adcard .mo-chip { align-self: flex-start; margin-top: 8px; }
.mo-pulse { position: relative; width: 70px; height: 70px; flex: none; }
.mo-pulse i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: .5; }
.mo-pulse i:nth-child(2) { inset: 14px; } .mo-pulse i:nth-child(3) { inset: 28px; background: var(--accent); opacity: 1; }
@keyframes moRing { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.mo-run .mo-pulse i:nth-child(1), .mo-run .mo-pulse i:nth-child(2) { animation: moRing 2.2s ease-out infinite; }
.mo-run .mo-pulse i:nth-child(2) { animation-delay: .7s; }
.mo-leads { flex: 1 1 140px; display: flex; flex-direction: column; gap: 8px; }
.mo-leads span { background: #e8f7ee; color: #116b3a; border: 1px solid #bfe7cf; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; }

/* documents */
.mo-doc { position: relative; border: 1px solid #f0ede9; border-radius: 12px; padding: 16px 18px 18px; }
.mo-sign { margin-top: 18px; border-bottom: 1.5px solid #14161f; position: relative; }
.mo-sign svg { width: 70%; max-width: 300px; height: 70px; display: block; }
.mo-sign span { position: absolute; right: 0; bottom: -20px; font-size: 11px; color: #6b7080; }
.mo-sig { fill: none; stroke: #1b3a8a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
@keyframes moDraw { 0%, 18% { stroke-dashoffset: 600; } 50%, 90% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.mo-run .mo-sig { animation: moDraw 10s ease-in-out infinite; }
.mo-stamp { position: absolute; right: 18px; top: 18px; border: 2.5px solid #116b3a; color: #116b3a; border-radius: 8px; padding: 6px 14px; font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-8deg); }

/* qr */
.mo-qrwrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.mo-qr { position: relative; display: grid; grid-template-columns: repeat(10, 14px); gap: 2px; padding: 10px; border: 1px solid #e6e2dc; border-radius: 12px; overflow: hidden; }
.mo-qr i { width: 14px; height: 14px; }
.mo-qr i.on { background: #14161f; border-radius: 2px; }
.mo-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; }
@keyframes moScan { 0%, 4% { top: 6%; opacity: 0; } 8% { opacity: 1; } 26% { top: 94%; opacity: 1; } 30%, 100% { top: 94%; opacity: 0; } }
.mo-run .mo-scan { animation: moScan 10s ease-in-out infinite; }
.mo-opts { flex: 1 1 160px; display: flex; flex-direction: column; gap: 8px; }
.mo-opts span { border: 1.5px solid #e6e2dc; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: #14161f; }

@media (max-width: 520px) {
  .mo-body { padding: 14px 12px 6px; }
  .mo-toast { left: 12px; right: 12px; justify-content: center; }
  .mo-msg { max-width: 88%; }
  .mo-stars svg { width: 32px; height: 32px; }
  .mo-qr { grid-template-columns: repeat(10, 11px); } .mo-qr i { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) { .mo-stage * { animation: none !important; } }
body .mo-stage p.mo-cap { font-size: 12px !important; line-height: 1.4 !important; margin: 4px 18px 0 !important; }
body .mo-stage .mo-sig { stroke: #1b3a8a !important; stroke-width: 3.2 !important; fill: none !important; }

/* ---------- Manager pages (shop, gym, hardware, yard, job tracker) ---------- */
.mo-band { padding: 44px 20px 8px; text-align: center; }
.mo-band .mo-stage { margin-top: 14px; }
.mo-eyebrow { display: inline-block; margin: 0; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep, #c2410c); background: #ffe0c7; padding: 7px 15px; border-radius: 99px; }
.mo-stage, .mo-stage * { box-sizing: border-box; }
.mo-stage { font-family: 'Outfit', sans-serif; }

/* hero phone floats gently: movement on first view without touching the real screenshot */
@keyframes moFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes moFloatChip { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(8px) rotate(-1deg); } }
@media (prefers-reduced-motion: no-preference) {
  .mo-float .phone { animation: moFloat 6s ease-in-out infinite; }
  .mo-float .mock-chip { animation: moFloatChip 7s ease-in-out infinite; }
}

/* shop: post becomes product */
.mo-flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }
.mo-card { flex: 1 1 200px; max-width: 240px; border: 1px solid #f0ede9; border-radius: 14px; padding: 10px; text-align: left; background: #fff; }
.mo-card .mo-thumb { width: 100%; height: 96px; margin-bottom: 8px; }
.mo-card b { display: block; font-size: 13px; color: #14161f; margin-bottom: 4px; }
.mo-src { display: inline-block; font-size: 11px; font-weight: 700; color: #6b7080; margin-bottom: 6px; }
.mo-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.mo-arrow svg { width: 18px; height: 18px; }
.mo-sizes { display: flex; gap: 6px; margin: 6px 0; }
.mo-sizes span { font-size: 11px; font-weight: 700; border: 1px solid #e6e2dc; border-radius: 6px; padding: 3px 7px; color: #14161f; }
.mo-mask { display: inline-block; width: 70px; height: 14px; border-radius: 99px; background: #d9d4cc; }
@media (max-width: 520px) { .mo-arrow { transform: rotate(90deg); } .mo-card { max-width: 100%; } }

/* gym: scan, welcome back, reminder */
.mo-gym { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.mo-poster { width: 120px; border: 1px solid #e6e2dc; border-radius: 12px; padding: 10px; text-align: center; font-size: 11px; font-weight: 700; color: #14161f; }
.mo-poster .mo-qr { margin: 6px auto 0; grid-template-columns: repeat(10, 8px); padding: 6px; gap: 1px; }
.mo-poster .mo-qr i { width: 8px; height: 8px; }
.mo-welcome { flex: 0 1 220px; border-radius: 16px; background: #14161f; color: #fff; padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
body .mo-stage .mo-welcome b { color: #fff !important; font-size: 18px; }
.mo-welcome .mo-flame { width: 34px; height: 34px; color: #ff9a4d; }
.mo-welcome span { font-size: 12px; color: #c9ccd4; }
body .mo-stage .mo-welcome span { color: #c9ccd4 !important; }

/* hardware: the till */
.mo-till { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.mo-cart { flex: 1 1 230px; display: flex; flex-direction: column; gap: 8px; }
.mo-line2 { display: flex; align-items: center; gap: 10px; border: 1px solid #f0ede9; border-radius: 10px; padding: 9px 11px; }
.mo-line2 .mo-ph { flex: 1 1 auto; margin: 0; }
.mo-qty { font-size: 12px; font-weight: 700; color: #6b7080; flex: none; }
.mo-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-pay span { font-size: 12px; font-weight: 700; border: 1.5px solid #e6e2dc; border-radius: 99px; padding: 6px 11px; color: #14161f; }
.mo-pay span.on { border-color: var(--accent); background: #fff3ea; color: #b33f00; }
.mo-receipt { flex: 0 0 120px; align-self: flex-start; background: #fff; border: 1px dashed #d9d4cc; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.mo-receipt b { font-size: 11px; color: #14161f; text-align: center; }

/* yard: status cycles */
.mo-yard { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }
.mo-car { flex: 0 1 260px; border: 1px solid #f0ede9; border-radius: 14px; overflow: hidden; text-align: left; }
.mo-car .mo-thumb { width: 100%; height: 110px; border-radius: 0; background: linear-gradient(135deg, #cfd6e2, #9aa6ba); }
.mo-car-b { padding: 10px 12px; position: relative; min-height: 70px; }
.mo-status { position: absolute; right: 12px; top: 12px; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 5px 10px; }
.mo-st-a { background: #e8f7ee; color: #116b3a; } .mo-st-r { background: #fff3ea; color: #b33f00; opacity: 0; } .mo-st-s { background: #14161f; color: #fff; opacity: 0; }
body .mo-stage .mo-st-s { color: #fff !important; }
@keyframes moStA { 0%, 30% { opacity: 1; } 34%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes moStR { 0%, 30% { opacity: 0; } 34%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes moStS { 0%, 60% { opacity: 0; } 64%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
.mo-run .mo-st-a { animation: moStA 10s linear infinite; }
.mo-run .mo-st-r { animation: moStR 10s linear infinite; }
.mo-run .mo-st-s { animation: moStS 10s linear infinite; }
.mo-st-s { opacity: 1; } .mo-st-a { opacity: 0; }
.mo-run .mo-st-a { opacity: 1; } .mo-run .mo-st-s { opacity: 0; }
.mo-yard .mo-chat { flex: 0 1 240px; }

.mo-thumb { display: block; }

/* shop stage v2 (Joel, 2026-10-09: the blank gradient boxes read as a page still loading).
   Real product photo + real caption from Jirani Fashion, side by side even on a phone. */
.mo-pic { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.mo-flow2 { flex-wrap: nowrap; gap: 10px; align-items: stretch; }
.mo-flow2 .mo-card { flex: 1 1 0; min-width: 0; max-width: 260px; display: flex; flex-direction: column; }
.mo-flow2 .mo-arrow { align-self: center; width: 30px; height: 30px; transform: none !important; }
.mo-cap2 { font-size: 12px; line-height: 1.4; color: #3d4152; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body .mo-stage .mo-cap2 { color: #3d4152 !important; }
.mo-flow2 .mo-card b { font-size: 12.5px; line-height: 1.3; }
.mo-cat { display: block; font-size: 11px; color: #6b7080; margin-bottom: 6px; }
body .mo-stage .mo-cat { color: #6b7080 !important; }
.mo-flow2 .mo-chip { margin-top: 8px; font-size: 12px; min-height: 32px; padding: 4px 10px; text-align: center; justify-content: center; }

/* yard stage v2: a real car photo from the reference yard, not a blank gradient */
.mo-carpic { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.mo-carname { display: block; font-size: 14px; color: #14161f; margin: 2px 90px 8px 0; }

.mo-yard { margin-bottom: 64px; }

/* turning ring of live shopfronts (shop-manager #shops), same motion as the homepage work ring */
.mo-ringstage { --w: 320px; --h: 205px; --r: 330px; height: 330px; perspective: 1600px; display: grid; place-items: center; margin-top: 10px; }
.mo-ring { position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(0deg); }
.mo-rcard { position: absolute; inset: 0; transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--r)); backface-visibility: hidden; text-decoration: none; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e6e2dc; box-shadow: 0 16px 40px rgba(20,22,31,.12); }
.mo-rcard img { display: block; width: 100%; height: var(--h); object-fit: cover; object-position: top center; }
.mo-rcap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: linear-gradient(transparent, rgba(255,255,255,.96) 35%); font-size: 14px; }
.mo-rcap .d { width: 8px; height: 8px; border-radius: 50%; background: #18a957; flex: none; }
.mo-rcap b { color: #14161f; }
.mo-rcap span:last-child { margin-left: auto; color: #6b7080; font-size: 12.5px; }
@keyframes moRingSpin { from { transform: translateZ(calc(var(--r) * -1)) rotateY(0deg); } to { transform: translateZ(calc(var(--r) * -1)) rotateY(-360deg); } }
.mo-ringstage.mo-run .mo-ring { animation: moRingSpin 72s linear infinite; }
.mo-ringstage:hover .mo-ring, .mo-ringstage:focus-within .mo-ring, .mo-ringstage.mo-paused .mo-ring { animation-play-state: paused; }
.mo-ringhint { text-align: center; margin: 4px 0 0; font-size: 13px; color: #6b7080; }
@media (max-width: 760px) { .mo-ringstage { --w: 230px; --h: 147px; --r: 240px; height: 250px; perspective: 1100px; } }
@media (prefers-reduced-motion: reduce) {
  .mo-ringstage { height: auto; perspective: none; display: block; }
  .mo-ring { width: auto; height: auto; transform: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
  .mo-rcard { position: relative; transform: none; backface-visibility: visible; }
  .mo-rcard[aria-hidden="true"] { display: none; }
  .mo-ringhint { display: none; }
}

/* ring: clip so the far cards never widen the page (375px scrolled sideways without it) */
.mo-ringstage { overflow: hidden; }
.mo-rcard { box-shadow: 0 8px 22px rgba(20,22,31,.10); }

/* gym ring: the gym shots are 4:3, so the cards are taller (Gym Manager #gyms, 2026-10-10) */
.mo-ringstage.mo-ring-43 { --w: 300px; --h: 225px; --r: 310px; height: 350px; }
@media (max-width: 760px) { .mo-ringstage.mo-ring-43 { --w: 220px; --h: 165px; --r: 228px; height: 270px; } }

@media (max-width: 760px) { .mo-rcap { font-size: 12.5px; padding: 8px 10px; gap: 6px; } .mo-rcap span:last-child { font-size: 11.5px; } }
