/* The Cinematic Studio page (/cinematic-studio/make/): photo, before/after preview, download. Builds on cinematic-studio.css. */
.mk-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 90px; }
.mk-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.mk-back { display: inline-flex; align-items: center; gap: 4px; color: var(--mut); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .2s; }
.mk-back:hover { color: #fff; }
.mk-back svg { width: 18px; height: 18px; }
.mk-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: k; }
.mk-steps li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--dim); font-size: 13px; font-weight: 600; counter-increment: k; transition: background .4s, color .4s; }
.mk-steps li::before { content: counter(k); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 800; transition: background .4s, color .4s; }
.mk-steps li.on { background: rgba(245,194,107,.12); color: #fde7bd; }
.mk-steps li.on::before { background: var(--gold); color: #000; }
.mk-steps li.done::before { content: "\2713"; background: rgba(245,194,107,.25); color: var(--gold); }
.mk-err { margin: 0 0 20px; padding: 12px 16px; border-radius: 16px; background: rgba(248,113,113,.12); color: #fecaca; font-size: 14.5px; line-height: 1.45; text-align: center; }
.mk-err[hidden] { display: none; }
.mk-view { display: none; }
.mk-view.on { display: block; animation: csUp .6s var(--ease) both; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.mk-side { min-width: 0; }
.mk-side h1, .mk-thanks h1 { font-size: clamp(36px, 8.5vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.mk-lead { margin: 14px 0 0; color: var(--mut); font-size: 16.5px; line-height: 1.5; }
.mk-label { margin: 24px 0 10px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mk-fine { margin: 14px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; text-align: center; }

/* Start: big poster of the chosen scene, scene strip, upload */
.mk-poster { position: relative; display: none; aspect-ratio: 2 / 3; border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: 0 40px 90px -40px rgba(245,158,11,.5), inset 0 0 0 1px var(--line); }
.mk-poster > img, .mk-poster > .cs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: csFade .5s ease both; }
.mk-poster::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mk-poster-t { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.mk-poster-t b { display: block; font: 800 26px Outfit, sans-serif; letter-spacing: -.02em; }
.mk-poster-t span { display: block; margin-top: 4px; color: rgba(255,255,255,.75); font-size: 14px; }
.mk-scenes { display: flex; gap: 10px; margin: 0 -16px; padding: 6px 16px 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.mk-scenes::-webkit-scrollbar { display: none; }
.mk-scene, .mk-sk { position: relative; flex: none; width: 92px; padding: 0; border: 0; background: none; text-align: center; cursor: pointer; scroll-snap-align: start; }
.mk-sk { height: 158px; border-radius: 16px; background: linear-gradient(110deg, #141416 30%, #202024 50%, #141416 70%) 0 0 / 300% 100%; animation: csShimmer 1.4s linear infinite; }
.mk-scene i { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.mk-scene i img, .mk-scene i .cs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-scene i .cs-poster svg { width: 44%; margin-top: 0; }
.mk-scene span { display: block; margin-top: 7px; color: var(--mut); font-size: 12px; font-weight: 600; line-height: 1.25; transition: color .3s; }
.mk-scene:hover i { transform: scale(1.04); }
.mk-scene[aria-checked="true"] i { transform: scale(1.04); box-shadow: inset 0 0 0 2px var(--gold), 0 0 24px rgba(245,194,107,.4); }
.mk-scene[aria-checked="true"] span { color: #fff; }
.mk-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; padding: 38px 20px; border-radius: 26px; cursor: pointer; text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(245,194,107,.16), transparent 70%), #0a0a0c; box-shadow: inset 0 0 0 2px rgba(245,194,107,.35); transition: transform .35s var(--ease), box-shadow .3s; }
.mk-drop:hover, .mk-drop.over { transform: scale(1.015); box-shadow: inset 0 0 0 2px var(--gold), 0 0 34px rgba(245,194,107,.3); }
.mk-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mk-drop-ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; background: #fff; color: #000; box-shadow: 0 14px 30px -12px rgba(255,255,255,.45); }
.mk-drop-ic svg { width: 28px; height: 28px; stroke-width: 2.2; }
.mk-drop b { font: 700 21px Outfit, sans-serif; }
.mk-drop small { color: var(--mut); font-size: 14px; }
.mk-tips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; color: #d4d4d8; font-size: 13.5px; }
.mk-tips li { display: inline-flex; align-items: center; gap: 8px; }
.mk-tips svg { width: 17px; height: 17px; color: var(--gold); }

/* Making */
.mk-making { text-align: center; }
.mk-frame { position: relative; width: min(100%, 340px); aspect-ratio: 2 / 3; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: 0 40px 90px -40px rgba(245,158,11,.55), inset 0 0 0 1px var(--line); }
.mk-frame img { width: 100%; height: 100%; object-fit: cover; }
.mk-frame img:not([src]) { visibility: hidden; }
.mk-frame.making #mkMakingImg { animation: none; }
.mk-making h2 { margin: 26px 0 14px; font-size: 22px; font-weight: 700; transition: opacity .3s; }

/* Preview + download: the before/after */
.mk-ba { width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 2 / 3; }
.mk-ba.solo .cs-ba-before, .mk-ba.solo .cs-ba-line, .mk-ba.solo .cs-ba-tag { display: none; }
.mk-ba.solo { cursor: default; }
.mk-compare .mk-fine { max-width: 460px; margin-left: auto; margin-right: auto; }
.mk-offer h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.mk-offer > p { margin: 8px 0 22px; color: var(--mut); font-size: 16px; line-height: 1.5; }
.mk-offer .cs-packs { margin-bottom: 16px; }
.mk-offer .cs-btn { min-height: 56px; font-size: 17px; }
.mk-offer .cs-btn svg { width: 20px; height: 20px; }
.mk-again { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mk-wait { padding: 22vh 0; text-align: center; }
.mk-wait h2 { margin-top: 18px; font-size: 20px; }

/* Download page */
.mk-thanks { margin-bottom: 30px; text-align: center; }
.mk-tick { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 50%; background: var(--gold); color: #000; box-shadow: 0 0 0 10px rgba(245,194,107,.12); animation: mkPop .7s var(--ease) both .1s; }
.mk-tick svg { width: 28px; height: 28px; stroke-width: 3; }
.mk-thanks p { margin: 12px 0 0; color: var(--mut); font-size: 16.5px; }
.mk-card { padding: 22px; border-radius: 24px; background: #0a0a0c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); }
.mk-card + .mk-card { margin-top: 12px; }
.mk-card[hidden] { display: none; }
.mk-card .mk-label { margin: 0 0 6px; }
.mk-card h2 { font-size: 26px; font-weight: 800; }
.mk-meta { margin: 6px 0 18px; color: var(--mut); font-size: 14px; }
.mk-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mk-row .cs-chip { text-decoration: none; }
.mk-row [hidden] { display: none; }
.mk-mail { display: flex; align-items: center; gap: 14px; }
.mk-mail-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(245,194,107,.12); color: var(--gold); }
.mk-mail-ic svg { width: 22px; height: 22px; }
.mk-mail b { display: block; font-size: 15.5px; }
.mk-mail span { display: block; margin-top: 2px; color: var(--mut); font-size: 14px; line-height: 1.4; }
.mk-left { color: #fde7bd; font-size: 14.5px; line-height: 1.5; background: rgba(245,194,107,.08); box-shadow: inset 0 0 0 2px rgba(245,194,107,.25); }
.mk-left a { color: var(--gold); font-weight: 700; }
.mk-plugs { margin-top: 70px; }
.mk-plugs h2 { margin-bottom: 18px; text-align: center; font-size: clamp(24px, 5vw, 32px); font-weight: 800; }
.mk-plug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-plug-grid a { padding: 18px; border-radius: 20px; background: #0a0a0c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); color: #fff; text-decoration: none; transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.mk-plug-grid a:hover { transform: scale(1.035); box-shadow: inset 0 0 0 2px rgb(var(--g)), inset 0 0 15px rgb(var(--g) / .2), 0 0 35px rgb(var(--g) / .45); }
.mk-plug-grid b { display: block; font-size: 15px; }
.mk-plug-grid span { display: block; margin-top: 4px; color: var(--mut); font-size: 13px; line-height: 1.4; }
@keyframes mkPop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 520px) { .mk-steps li { padding: 5px; font-size: 0; gap: 0; } .mk-steps li.on { padding-right: 10px; font-size: 12.5px; gap: 6px; } }
@media (min-width: 900px) {
  .mk-main { padding-top: 30px; }
  .mk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
  .mk-poster { display: block; max-width: 440px; width: 100%; justify-self: end; }
  .mk-scenes { margin: 0 -10px; padding: 8px 10px 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 40px), transparent); }
  .mk-scene, .mk-sk { width: 84px; }
  .mk-poster { max-height: calc(100vh - 170px); aspect-ratio: 2 / 3; width: auto; height: min(660px, calc(100vh - 170px)); }
  .mk-compare .mk-ba { margin-right: 0; }
  .mk-drop { padding: 44px 20px; }
  .mk-tips { justify-content: flex-start; }
  .mk-side .mk-fine { text-align: left; }
  .mk-plug-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Round 2: chosen scene, finishing touches, making effect, premium buttons, other scenes ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mk-mob { display: none; }
@media (hover: none) { .mk-desk { display: none; } .mk-mob { display: inline; } }
.mk-side h1 { margin-bottom: 18px; }
.mk-chosen { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 8px 8px 8px 8px; border-radius: 18px; background: #0a0a0c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); }
.mk-chosen i { position: relative; flex: none; width: 44px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; }
.mk-chosen i img, .mk-chosen i .cs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-chosen i .cs-poster svg { display: none; }
.mk-chosen div { flex: 1; min-width: 0; }
.mk-chosen small { display: block; color: var(--dim); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mk-chosen b { display: block; margin-top: 2px; font-size: 16px; }
.mk-chosen a { flex: none; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--gold); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .2s; }
.mk-chosen a:hover { background: rgba(255,255,255,.13); }
@media (min-width: 900px) { .mk-chosen { display: none; } }
.mk-drop { margin-top: 0; }
.mk-extras { margin-top: 22px; }
.mk-extras .mk-label { margin: 0 0 10px; }
.mk-extras .mk-label span { margin-left: 6px; color: #52525b; text-transform: none; letter-spacing: 0; font-weight: 600; }
.mk-addons { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-addon { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 0; border-radius: 12px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09); color: #d4d4d8; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: box-shadow .25s, background .25s, color .25s, transform .3s var(--ease); }
.mk-addon:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
.mk-addon i { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #52525b; transition: background .2s, box-shadow .2s; }
.mk-addon[aria-pressed="true"] { background: rgba(245,194,107,.1); color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 18px rgba(245,194,107,.15); }
.mk-addon[aria-pressed="true"] i { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: none; }
.mk-req { display: block; margin-top: 12px; }
.mk-req textarea { display: block; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09); color: #fff; font: 500 15px/1.45 Inter, sans-serif; resize: none; outline: none; transition: box-shadow .2s; }
.mk-req textarea::placeholder { color: #6e6e73; }
.mk-req textarea:focus { box-shadow: inset 0 0 0 2px var(--gold); }

/* Making: dots rippling across the photo, with the Nexus AI spinner */


.mk-dots i { width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .15; animation: mkDot 2.6s ease-in-out infinite; animation-delay: var(--dl); }
@keyframes mkDot { 0%, 100% { transform: scale(.5); opacity: .12; } 40% { transform: scale(1.8); opacity: .7; box-shadow: 0 0 10px rgba(245,194,107,.8); } 70% { transform: scale(.9); opacity: .3; } }
.mk-loader { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 112px; height: 112px; margin: -56px 0 0 -56px; }
.mk-loader::before, .mk-loader::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 50%; }
.mk-loader::before { border-top-color: #22d3ee; border-right-color: rgba(34,211,238,.25); animation: mkSpin 1.1s linear infinite; box-shadow: 0 0 30px rgba(34,211,238,.18); }
.mk-loader::after { inset: 12px; border-bottom-color: #a78bfa; border-left-color: rgba(167,139,250,.25); animation: mkSpin 1.7s linear infinite reverse; }
.mk-loader img { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(139,92,246,.6)); animation: mkPulse 1.6s ease-in-out infinite; }
@keyframes mkSpin { to { transform: rotate(360deg); } }
@keyframes mkPulse { 50% { transform: scale(.9); opacity: .8; } }
.mk-making h2 { min-height: 1.3em; }

/* Premium buttons */
.cs .mk-buy { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, rgba(236,236,240,.94), rgba(206,206,214,.9)); color: #0a0a0c; font: 800 17px Inter, sans-serif; letter-spacing: -.01em; backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(0,0,0,.15), 0 0 0 1px rgba(255,255,255,.18), 0 14px 30px -16px rgba(255,255,255,.25); transition: transform .25s var(--ease), box-shadow .3s; }
.mk-buy::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.cs .mk-buy:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.15), 0 0 0 1px rgba(255,255,255,.3), 0 18px 36px -14px rgba(255,255,255,.3); }
.mk-buy:hover::after { left: 120%; }
.mk-buy:active { transform: scale(.98); }
.mk-buy svg { width: 20px; height: 20px; stroke-width: 2.4; }
.mk-buy[disabled] { opacity: .6; pointer-events: none; }
.mk-buy.ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.mk-vip { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 0; border-radius: 16px; cursor: pointer; overflow: hidden; text-align: left;
  background: linear-gradient(135deg, #2a1d05, #4a3410 45%, #2a1d05); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(245,194,107,.75), 0 0 30px rgba(245,194,107,.2); transition: transform .25s var(--ease), box-shadow .3s; }
.mk-vip > * { position: relative; }
.mk-vip:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px #ffe2a8, 0 0 40px rgba(245,194,107,.35); }
.mk-vip .crown { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, #ffe2a8, #e0a43c); color: #3a2604; box-shadow: 0 6px 18px -6px rgba(245,194,107,.8); }
.mk-vip .crown svg { width: 22px; height: 22px; stroke-width: 2.2; }
.mk-vip b { display: block; font-size: 16.5px; }
.mk-vip small { display: block; margin-top: 2px; color: #fde7bd; font-size: 13px; }
.mk-vip .go { margin-left: auto; width: 20px; height: 20px; color: #ffe2a8; }
.mk-vip[disabled] { opacity: .6; pointer-events: none; }

/* Try another scene + another photo */
.mk-others { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.mk-others-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mk-others-h b { font-size: 15.5px; }
.mk-others-h span { color: var(--dim); font-size: 12.5px; }
.mk-strip { display: flex; gap: 10px; margin: 0 -4px; padding: 4px 4px 10px; overflow-x: auto; scrollbar-width: none; }
.mk-strip::-webkit-scrollbar { display: none; }
.mk-strip button { position: relative; flex: none; width: 82px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.mk-strip i { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.mk-strip i::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mk-strip img, .mk-strip .cs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-strip .cs-poster svg { display: none; }
.mk-strip span { position: absolute; z-index: 1; left: 7px; right: 7px; bottom: 7px; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; }
.mk-strip button:hover i { transform: scale(1.05); box-shadow: inset 0 0 0 2px var(--gold), 0 0 22px rgba(245,194,107,.35); }
.mk-newphoto { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 14px 16px; border: 0; border-radius: 16px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08); color: #fff; cursor: pointer; text-align: left; transition: box-shadow .25s, transform .3s var(--ease); }
.mk-newphoto:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.mk-newphoto .ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); }
.mk-newphoto .ic svg { width: 18px; height: 18px; }
.mk-newphoto b { display: block; font-size: 14.5px; }
.mk-newphoto small { display: block; margin-top: 1px; color: var(--mut); font-size: 12.5px; }
.mk-newphoto > svg { margin-left: auto; width: 18px; height: 18px; color: var(--dim); }

/* Download page: guest email box */
.mk-send form { display: flex; gap: 8px; margin-top: 12px; }
.mk-send input { flex: 1; min-width: 0; padding: 13px 14px; border: 0; border-radius: 12px; background: #050507; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1); color: #fff; font: 500 15px Inter, sans-serif; outline: none; transition: box-shadow .2s; }
.mk-send input:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.cs .mk-send button { flex: none; padding: 0 18px; border: 0; border-radius: 12px; background: #e7e7ea; color: #08080d; font: 800 14px Inter, sans-serif; cursor: pointer; }
.cs .mk-send button[disabled] { opacity: .6; }
.mk-send p { margin: 8px 0 0; color: var(--dim); font-size: 12.5px; }
.mk-send.sent form { display: none; }

/* ---------- Round 4: photo chosen state, filter dropdown, typing request box, Let's go ---------- */
.mk-picked { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 22px; background: radial-gradient(70% 120% at 0% 50%, rgba(245,194,107,.12), transparent 70%), #0a0a0c; box-shadow: inset 0 0 0 2px rgba(245,194,107,.45); animation: csUp .5s var(--ease) both; }
.mk-picked[hidden] { display: none; }
.mk-picked img { flex: none; width: 64px; height: 84px; border-radius: 14px; object-fit: cover; }
.mk-picked div { flex: 1; min-width: 0; }
.mk-picked b { display: block; font-size: 16px; }
.mk-picked small { display: block; margin-top: 3px; color: var(--mut); font-size: 13px; line-height: 1.4; }
.mk-change { position: relative; flex: none; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--gold); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.mk-change input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mk-drop.done { display: none; }
.mk-touch { display: grid; gap: 14px; margin-top: 18px; }
.mk-select-l { display: block; margin: 0 2px 8px; color: #d4d4d8; font-size: 13.5px; font-weight: 700; }
.mk-select-l em { margin-left: 6px; color: #6e6e73; font-style: normal; font-weight: 500; -webkit-text-fill-color: #6e6e73; background: none; }
.mk-select { position: relative; display: block; }
.mk-select select { display: block; width: 100%; appearance: none; -webkit-appearance: none; padding: 15px 44px 15px 16px; border: 0; border-radius: 16px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1);
  color: #fff; font: 600 15px Inter, sans-serif; cursor: pointer; outline: none; transition: box-shadow .2s; }
.mk-select select:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.mk-select select option { background: #111; color: #fff; }
.mk-select > svg { position: absolute; right: 16px; bottom: 16px; width: 18px; height: 18px; color: var(--mut); pointer-events: none; }
.mk-ask { display: block; }
.mk-ask-box { position: relative; display: block; }
.mk-ask-box svg { position: absolute; left: 15px; top: 15px; width: 18px; height: 18px; color: var(--gold); pointer-events: none; }
.mk-ask textarea { display: block; width: 100%; min-height: 84px; padding: 14px 16px 14px 44px; border: 0; border-radius: 16px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1);
  color: #fff; font: 500 15px/1.45 Inter, sans-serif; resize: none; outline: none; transition: box-shadow .2s; }
.mk-ask textarea::placeholder { color: #8e8e93; }
.mk-ask textarea:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.cs .mk-go { margin-top: 20px; }
.cs .mk-go[disabled] { opacity: .35; }
.mk-extras, .mk-addons { display: none; }

/* Making: grey dots to the edges, a blue/purple neon wave drifting through them; the spinner stays bright */
.mk-frame.making #mkMakingImg { filter: blur(3px) saturate(.5) brightness(.5); transform: scale(1.05); }
.mk-frame.making .mk-loader img { filter: drop-shadow(0 0 16px rgba(139,92,246,.6)); animation: mkPulse 1.6s ease-in-out infinite; }
.mk-dots { position: absolute; inset: 0; display: block; padding: 0; background: rgba(82,82,91,.9);
  -webkit-mask: radial-gradient(circle, #000 1.7px, transparent 2.3px) 0 0 / 12px 12px; mask: radial-gradient(circle, #000 1.7px, transparent 2.3px) 0 0 / 12px 12px; }
.mk-wave { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(28% 22% at 30% 30%, #22d3ee, transparent 70%), radial-gradient(30% 24% at 70% 65%, #a855f7, transparent 70%), radial-gradient(22% 18% at 55% 20%, #6366f1, transparent 70%);
  background-size: 200% 200%; animation: mkWave 6s ease-in-out infinite alternate;
  -webkit-mask: radial-gradient(circle, #000 2.2px, transparent 2.8px) 0 0 / 12px 12px; mask: radial-gradient(circle, #000 2.2px, transparent 2.8px) 0 0 / 12px 12px; filter: saturate(1.4) brightness(1.3); }
@keyframes mkWave { 0% { background-position: 0% 0%; } 33% { background-position: 100% 30%; } 66% { background-position: 30% 100%; } 100% { background-position: 90% 80%; } }
.mk-loader { z-index: 2; }

/* Download page: carousel of scenes + tool shortcuts */
.mk-again2 { margin-top: 70px; text-align: center; }
.mk-again2 h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; }
.mk-again2 > p { margin: 8px 0 22px; color: var(--mut); font-size: 16px; }
.mk-marquee { margin: 0 -16px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mk-track { display: flex; gap: 14px; width: max-content; padding: 14px 0 20px; animation: mkMarq 50s linear infinite; }
.mk-marquee:hover .mk-track { animation-play-state: paused; }
@keyframes mkMarq { to { transform: translateX(-50%); } }
.mk-track a { position: relative; flex: none; width: 150px; aspect-ratio: 2 / 3; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.mk-track a::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.mk-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-track span { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; font: 700 14px Outfit, sans-serif; text-align: left; }
.mk-track a:hover { transform: scale(1.04); box-shadow: inset 0 0 0 2px var(--gold), 0 0 28px rgba(245,194,107,.35); }
.mk-plug-grid a { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mk-plug-grid i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; background: rgb(var(--g) / .12); color: rgb(var(--g)); }
.mk-plug-grid i svg { width: 22px; height: 22px; }
.mk-mail span b { display: inline; font-size: inherit; color: #fff; }

/* Shot choice: standing portrait or cinematic action */
.mk-shots { margin-bottom: 16px; }
.mk-shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-shot { display: flex; flex-direction: column; gap: 9px; padding: 8px; border: 0; border-radius: 18px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08); color: #fff; text-align: left; cursor: pointer; transition: box-shadow .3s, transform .4s var(--ease); }
.mk-shot:hover { transform: translateY(-2px); }
.mk-shot i { position: relative; display: block; aspect-ratio: 2 / 3; max-height: 200px; border-radius: 12px; overflow: hidden; }
.mk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.mk-shot span { padding: 0 4px 4px; }
.mk-shot b { display: block; font-size: 14.5px; }
.mk-shot small { display: block; margin-top: 2px; color: var(--mut); font-size: 12.5px; }
.mk-shot[aria-checked="true"] { background: rgba(245,194,107,.08); box-shadow: inset 0 0 0 2px var(--gold), 0 0 26px rgba(245,194,107,.22); }
@media (min-width: 900px) { .mk-shot i { max-height: none; height: 150px; aspect-ratio: auto; } }

/* "Got a promo code?" */
.mk-promo { margin-top: 14px; border-radius: 16px; background: #0a0a0c; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08); }
.mk-promo summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; color: #d4d4d8; font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.mk-promo summary::-webkit-details-marker { display: none; }
.mk-promo summary::after { content: "+"; color: var(--gold); font-size: 18px; font-weight: 700; transition: transform .3s var(--ease); }
.mk-promo[open] summary::after { transform: rotate(45deg); }
.mk-promo form { display: flex; gap: 8px; padding: 0 12px; }
.mk-promo input { flex: 1; min-width: 0; padding: 12px 14px; border: 0; border-radius: 12px; background: #050507; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1); color: #fff; font: 600 15px Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; outline: none; }
.mk-promo input::placeholder { color: #52525b; }
.mk-promo input:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.cs .mk-promo button { flex: none; padding: 0 18px; border: 0; border-radius: 12px; background: #e7e7ea; color: #08080d; font: 800 14px Inter, sans-serif; cursor: pointer; }
.cs .mk-promo button[disabled] { opacity: .6; }
.mk-promo small { display: block; padding: 8px 16px 14px; color: var(--dim); font-size: 12.5px; }

/* Shot choice as simple buttons (no previews) */
.cs .mk-shot { flex-direction: row; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; }
.cs .mk-shot i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; max-height: none; aspect-ratio: auto; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12); color: var(--mut); transition: box-shadow .3s, color .3s; }
.cs .mk-shot i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs .mk-shot span { padding: 0; }
.cs .mk-shot[aria-checked="true"] i { color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
@media (min-width: 900px) { .cs .mk-shot i { height: 40px; } }
/* Big picture: no glow or shadow shape around it */
.cs .mk-poster { box-shadow: inset 0 0 0 1px var(--line); }
.mk-poster::after { border-radius: inherit; }
/* Desktop: a smaller upload box so both columns line up */
@media (min-width: 900px) {
  .cs .mk-drop { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 14px; padding: 22px 20px; border-radius: 20px; }
  .cs .mk-drop-ic { width: 46px; height: 46px; margin: 0; border-radius: 14px; }
  .cs .mk-drop-ic svg { width: 22px; height: 22px; }
  .cs .mk-drop b { font-size: 18px; }
  .cs .mk-drop small { flex-basis: 100%; }
}

/* Big screens: use the width, with more room between the picture and the controls */
@media (min-width: 1280px) {
  .mk-main { width: min(1360px, calc(100% - 64px)); }
  .mk-grid { gap: 120px; }
  .mk-grid > .mk-side { max-width: 560px; }
}
.mk-promo form { padding-bottom: 14px; }

/* Mobile order: heading, shot buttons, notes, scene preview, upload, Let's go */
@media (max-width: 899px) {
  .mk-side { display: flex; flex-direction: column; }
  .mk-pick { display: contents; }
  .mk-side h1 { order: 1; text-align: center; }
  .mk-side .mk-shots { order: 2; margin-bottom: 0; }
  .mk-side .mk-touch { order: 3; margin-top: 18px; }
  .mk-side .mk-chosen { order: 4; }
  .mk-side .mk-drop, .mk-side .mk-picked { order: 5; }
  .mk-side .mk-go { order: 6; }
  .mk-side .mk-fine { order: 7; }
  .mk-shots .mk-select-l { text-align: left; }
  .cs .mk-side .mk-chosen { flex-direction: column; align-items: stretch; gap: 0; margin: 18px 0 14px; padding: 8px; }
  .cs .mk-side .mk-chosen i { width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; }
  .mk-side .mk-chosen div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px 4px; }
  .mk-side .mk-chosen div small { display: none; }
  .mk-side .mk-chosen b { margin: 0; font-size: 17px; }
  .mk-side .mk-chosen { position: relative; }
  .cs .mk-side .mk-chosen a { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); }
  /* Scene name in a black pill, top left of the picture */
  .mk-side .mk-chosen div { position: absolute; top: 16px; left: 16px; max-width: calc(100% - 130px); padding: 0; }
  .cs .mk-side .mk-chosen b { padding: 8px 14px; border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1.5px #fff; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
