/* Mentum Works app. Builds on /static/assets/site.css (brand tokens, buttons, forms). */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--mw-black) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--mw-black); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.appnav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.appnav a, .appnav button { color: var(--mw-secondary); text-decoration: none; font: 600 15px/1 var(--font); padding: 10px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; }
.appnav a:hover, .appnav button:hover { color: var(--mw-white); background: var(--mw-charcoal); }
.appnav a[aria-current="page"] { color: var(--mw-white); background: var(--mw-charcoal); }
.appmain { padding-block: 28px 80px; display: grid; gap: 28px; }
.page-title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.muted { color: var(--mw-muted); }
.sub { color: var(--mw-secondary); margin: 6px 0 0; }

.card { background: var(--mw-charcoal); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 26px); min-width: 0; }
.card h2 { font-size: 19px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

.flash { border-radius: 12px; padding: 12px 16px; font-weight: 600; border: 1px solid var(--line); }
.flash.ok { background: #10251a; color: var(--ok); border-color: #1f4a33; }
.flash.err { background: #2a1513; color: var(--err); border-color: #5a2a25; }

/* onboarding */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ob { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.ob b { font-size: 15px; }
.ob span { color: var(--mw-secondary); font-size: 14px; }
.ob.done { border-color: #1f4a33; }
.ob.done b::before { content: "✓ "; color: var(--ok); }

/* add video */
.add-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.add-grid form { background: var(--mw-black); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.add-grid h3 { margin: 0; font-size: 16px; }
input[type="file"] { color: var(--mw-secondary); font: 500 14px var(--font); max-width: 100%; }
.meter { height: 6px; background: var(--mw-dark-gray); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--mw-white); }

/* lists */
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--mw-black); }
.row .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .m { color: var(--mw-muted); font-size: 14px; }
.row .actions { display: flex; gap: 8px; align-items: center; }
.row form { display: inline; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--mw-light-gray); white-space: nowrap; }
.pill.work::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mw-white); animation: pulse 1.2s ease-in-out infinite; }
.pill.ok { color: var(--ok); border-color: #1f4a33; }
.pill.err { color: var(--err); border-color: #5a2a25; }
@keyframes pulse { 50% { opacity: .25; } }

/* clip grid */
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.clipcard { background: var(--mw-black); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; text-decoration: none; color: var(--mw-white); min-width: 0; }
.clipcard:hover { border-color: #4A4D53; }
.clipcard video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--mw-dark-gray); display: block; }
.clipcard .meta { padding: 12px 14px 14px; display: grid; gap: 6px; }
.clipcard .hook { font-weight: 700; line-height: 1.3; }
.clipcard .nums { display: flex; gap: 10px; color: var(--mw-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.empty { color: var(--mw-secondary); border: 1px dashed #3A3D43; border-radius: 14px; padding: 22px; text-align: center; }

/* clip detail */
.clip-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.player { width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: var(--mw-dark-gray); border: 1px solid var(--line); }
.plats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.plat { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid #3A3D43; border-radius: 12px; font-weight: 600; }
.plat input { width: 18px; height: 18px; accent-color: var(--mw-white); }
.plat.off { opacity: .55; }
.plat small { display: block; font-weight: 500; color: var(--mw-muted); }
.radios { display: grid; gap: 8px; }
.radios label { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--mw-secondary); }
.radios input { accent-color: var(--mw-white); width: 18px; height: 18px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 14px; color: var(--mw-muted); margin: 0; }
.why { font-size: 14px; color: var(--mw-secondary); background: var(--mw-black); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }

/* accounts */
.acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.acc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--mw-black); min-width: 0; }
.acc b { display: block; }
.acc span { color: var(--mw-muted); font-size: 14px; overflow-wrap: anywhere; }

.danger { border-color: #5a2a25; }
.btn-danger { background: transparent; color: var(--err); border-color: #7a3a33; }
.btn-danger:hover { background: #2a1513; color: var(--err); }

@media (max-width: 760px) {
  .steps-row, .add-grid, .clip-layout, .acc-grid { grid-template-columns: minmax(0, 1fr); }
  .player { max-width: 360px; margin: 0 auto; }
  .topbar .wordmark { display: none; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .pill.work::before { animation: none; } }

/* ======================================================================= motion + new screens */
:root { --ease: cubic-bezier(.2, .8, .2, 1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.eyebrow-sm { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mw-muted); margin: 0 0 12px; }
kbd { font: 600 12px var(--font); border: 1px solid #3A3D43; border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--mw-light-gray); }

/* staggered entrances */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes popin { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.pop { animation: popin .45s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.clipcard { transition: transform .25s var(--ease), border-color .2s; }
.clipcard:hover { transform: translateY(-3px); }
.btn { transition: background-color .15s, color .15s, transform .15s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.97); }
.src-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
.src-thumb { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; flex: none; background: var(--mw-dark-gray); }

/* ----------------------------------------------------------------------- survey + tour (full-screen flow) */
body.flow .appmain { min-height: calc(100vh - 140px); display: flex; align-items: flex-start; justify-content: center; padding-top: 4vh; }
body.flow footer.site { display: none; }
.flow-wrap { width: 100%; max-width: 680px; }
.flow-top { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.flow-mark { animation: popin .6s var(--ease) both; }
.progress { flex: 1; height: 4px; background: var(--mw-dark-gray); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mw-light-gray), var(--mw-white)); border-radius: 2px; transition: width .5s var(--ease); }
.flow-count { font-size: 13px; font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
.flow-foot { text-align: center; font-size: 13px; margin-top: 28px; }
.survey, .slides { display: grid; }
.q, .slide { grid-area: 1 / 1; }
.js-flow .q, .js-flow .slide { opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .38s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.js-flow .q.enter-left, .js-flow .slide.enter-left { transform: translateX(-40px); }
.js-flow .q.leave-left, .js-flow .slide.leave-left { opacity: 0; transform: translateX(-40px); }
.js-flow .q.leave-right, .js-flow .slide.leave-right { opacity: 0; transform: translateX(40px); }
.js-flow .q.is-active, .js-flow .slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .38s var(--ease) .08s, transform .5s var(--ease) .08s, visibility 0s; }
.q-title { font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 10px; text-wrap: balance; }
.q-hint { color: var(--mw-secondary); font-size: 17px; margin: 0 0 24px; max-width: 36em; }
.q-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.q-actions .q-skip { margin-left: auto; color: var(--mw-muted); }
.privacy-note { display: flex; gap: 12px; align-items: flex-start; background: var(--mw-charcoal); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--mw-secondary); font-size: 14.5px; }
.privacy-note svg { flex: none; color: var(--ok); margin-top: 2px; }
.privacy-note p { margin: 0; }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid #33363C; border-radius: 16px; background: var(--mw-charcoal);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s; min-height: 100%; }
.opt-box b { display: block; font-size: 16px; }
.opt-box small { display: block; color: var(--mw-muted); font-size: 13.5px; margin-top: 3px; }
.opt:hover .opt-box { border-color: #55585F; transform: translateY(-2px); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--mw-white); outline-offset: 3px; }
.opt input:checked + .opt-box { border-color: var(--mw-white); background: #202226; box-shadow: 0 10px 30px -18px rgba(255,255,255,.35); }
.opt-tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #55585F; margin-top: 1px; position: relative; transition: all .2s var(--ease); }
.q[data-kind="multi"] .opt-tick { border-radius: 6px; }
.opt input:checked + .opt-box .opt-tick { background: var(--mw-white); border-color: var(--mw-white); transform: scale(1.08); }
.opt input:checked + .opt-box .opt-tick::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--mw-black); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.q.is-active .opt { animation: popin .45s var(--ease) both; animation-delay: calc(140ms + var(--i, 0) * 55ms); }
.select-wrap select { font-size: 17px; padding: 16px; }

/* tour */
.dots { display: flex; gap: 8px; flex: 1; }
.dot { width: 28px; height: 4px; border-radius: 2px; border: 0; background: #2E3136; cursor: pointer; padding: 0; transition: background-color .3s, width .35s var(--ease); }
.dot.on { background: var(--mw-white); width: 44px; }
.tour-nav { display: flex; justify-content: space-between; margin-top: 30px; }
.tour .q-actions form { display: inline; }
.art { height: 230px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, #1E2024 0%, var(--mw-charcoal) 60%); position: relative; overflow: hidden; display: grid; place-content: center; gap: 10px; }
.slide.is-active .art > * { animation: popin .5s var(--ease) both; animation-delay: calc(150ms + var(--i, 0) * 120ms); }
.vrow { display: grid; grid-template-columns: 72px 180px 60px; gap: 12px; align-items: center; background: var(--mw-black); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 8px 8px; }
.vrow .thumb { height: 40px; border-radius: 7px; background: linear-gradient(135deg, #3A3D43, #24262A); }
.vrow .lines i { display: block; height: 8px; border-radius: 4px; background: #3A3D43; margin: 4px 0; }
.vrow .lines i.s { width: 60%; background: #2A2D32; }
.vrow .views { font-variant-numeric: tabular-nums; font-size: 15px; text-align: right; }
.art-pick { grid-template-columns: repeat(3, 110px); gap: 12px; align-items: center; }
.pcard { height: 120px; border-radius: 14px; border: 1.5px solid #3A3D43; background: var(--mw-black); position: relative; padding: 8px; }
.pthumb { display: block; height: 62px; border-radius: 8px; background: linear-gradient(135deg, #3A3D43, #24262A); }
.pcheck { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #6A6D73; background: var(--mw-black); }
.slide.is-active .pcard.on { animation: pickme .5s var(--ease) both; animation-delay: calc(600ms + var(--i) * 250ms); }
.slide.is-active .pcard.on .pcheck { animation: tickon .3s var(--ease) both; animation-delay: calc(650ms + var(--i) * 250ms); }
@keyframes pickme { to { border-color: var(--mw-white); transform: translateY(-4px); } }
@keyframes tickon { to { background: var(--mw-white); border-color: var(--mw-white); } }
.selbar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; background: var(--mw-white); color: var(--mw-black); border-radius: 999px; padding: 10px 10px 10px 18px; font-size: 14px; }
.selbar span { background: var(--mw-black); color: var(--mw-white); border-radius: 999px; padding: 7px 14px; font-weight: 700; }
.slide.is-active .selbar { animation: rise .5s var(--ease) both; animation-delay: 1.3s; }
.art-cut { width: 100%; padding: 0 28px; }
.track { position: relative; height: 56px; border-radius: 12px; background: var(--mw-black); border: 1px solid var(--line); overflow: hidden; width: min(520px, 80vw); }
.track .wave { position: absolute; inset: 14px 0; background: repeating-linear-gradient(90deg, #3A3D43 0 2px, transparent 2px 6px); opacity: .7; }
.track .sweep { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--mw-white); left: 0; box-shadow: 0 0 12px rgba(255,255,255,.6); }
.slide.is-active .track .sweep { animation: sweep 2.2s var(--ease) both .3s; }
@keyframes sweep { from { left: 0; } to { left: 100%; } }
.hit { position: absolute; top: 8px; bottom: 8px; width: 13%; border-radius: 8px; background: var(--mw-white); color: var(--mw-black); font-weight: 800; font-size: 13px; display: grid; place-items: center; opacity: 0; transform: scaleY(.4); }
.slide.is-active .hit { animation: hit .4s var(--ease) both; animation-delay: var(--d); }
@keyframes hit { to { opacity: 1; transform: none; } }
.captions { text-align: center; font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.captions span { color: #4A4D53; }
.slide.is-active .captions span { animation: karaoke .3s both; }
.slide.is-active .captions span:nth-child(1) { animation-delay: 1.9s; }
.slide.is-active .captions span:nth-child(2) { animation-delay: 2.15s; }
.slide.is-active .captions span:nth-child(3) { animation-delay: 2.4s; }
@keyframes karaoke { to { color: #FFD21F; } }
.art-review { grid-template-columns: auto auto; align-items: center; gap: 22px; }
.phone-mini { width: 96px; height: 190px; border-radius: 20px; border: 2px solid #3A3D43; padding: 6px; background: #000; }
.phone-mini .screen { display: grid; grid-template-rows: 1fr 1.2fr 1fr; height: 100%; border-radius: 14px; overflow: hidden; background: #1A1B1E; gap: 6px; padding: 10px 8px; }
.hookbar { background: var(--mw-white); border-radius: 3px; height: 10px; align-self: end; }
.vid { background: linear-gradient(135deg, #4A4D53, #2A2D32); border-radius: 4px; }
.cap { background: #FFD21F; height: 8px; width: 70%; justify-self: center; border-radius: 3px; }
.review-actions { display: grid; gap: 8px; }
.ra { border: 1px solid #3A3D43; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--mw-secondary); }
.ra.ok { background: var(--mw-white); color: var(--mw-black); border-color: var(--mw-white); }
.slide.is-active .ra.ok { animation: pulsebtn 1.6s ease-in-out 1s 2; }
@keyframes pulsebtn { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.12); } }
.art-post { width: 100%; height: 230px; }
.hub { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 22px; background: var(--mw-black); border: 1px solid #3A3D43; display: grid; place-items: center; }
.plat-chip { position: absolute; left: 50%; top: 58%; padding: 8px 14px; border-radius: 999px; background: var(--mw-white); color: var(--mw-black); font-weight: 700; font-size: 13px;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(0) rotate(calc(-1 * var(--a))); opacity: 0; }
.slide.is-active .plat-chip { animation: fly .8s var(--ease) both; animation-delay: calc(400ms + var(--i) * 180ms); }
@keyframes fly { to { opacity: 1; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-92px) rotate(calc(-1 * var(--a))); } }

/* ----------------------------------------------------------------------- discover */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--mw-charcoal); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.filters .field { min-width: 160px; flex: 1 1 160px; }
.filters select { padding: 11px 12px; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--mw-light-gray); cursor: pointer; padding-bottom: 10px; position: relative; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track-t { width: 40px; height: 22px; border-radius: 999px; background: #33363C; position: relative; transition: background-color .25s; }
.track-t i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--mw-white); transition: transform .3s var(--ease); }
.toggle input:checked + .track-t { background: var(--ok); }
.toggle input:checked + .track-t i { transform: translateX(18px); }
.toggle input:focus-visible + .track-t { outline: 2px solid var(--mw-white); outline-offset: 3px; }
.vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; padding-bottom: 110px; }
.vcard { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr) 44px; gap: 18px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--mw-charcoal);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s; }
.vcard:hover { border-color: #4A4D53; transform: translateY(-2px); }
.vcard.picked { border-color: var(--mw-white); background: #1F2124; box-shadow: 0 14px 40px -26px rgba(255,255,255,.4); }
.vpick { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vpick:focus-visible ~ .vselect .tick { outline: 2px solid var(--mw-white); outline-offset: 3px; }
.vthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--mw-dark-gray); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vdur, .vrank { position: absolute; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(8,9,10,.82); font-variant-numeric: tabular-nums; }
.vdur { right: 8px; bottom: 8px; }
.vrank { left: 8px; top: 8px; }
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--mw-black); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .25s var(--ease), background-color .2s; }
.vplay svg { margin-left: 3px; }
.vplay:hover, .vplay:focus-visible { transform: translate(-50%, -50%) scale(1.06); background: var(--mw-white); }
.vbody { display: grid; gap: 6px; min-width: 0; cursor: pointer; }
.vtitle { font-weight: 700; font-size: 16.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vchan { color: var(--mw-secondary); font-size: 14px; }
.vstats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--mw-muted); font-variant-numeric: tabular-nums; }
.stat b { color: var(--mw-white); font-weight: 700; }
.stat.hot b { color: var(--ok); }
.vlic { justify-self: start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid #3A3D43; color: var(--mw-muted); }
.vlic.cc { color: var(--ok); border-color: #1f4a33; }
.vselect { display: grid; place-items: center; cursor: pointer; height: 100%; }
.tick { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #55585F; position: relative; transition: all .2s var(--ease); }
.vcard.picked .tick { background: var(--mw-white); border-color: var(--mw-white); transform: scale(1.1); }
.vcard.picked .tick::after { content: ""; position: absolute; left: 8px; top: 3.5px; width: 6px; height: 12px; border: solid var(--mw-black); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.selbar-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  transform: translateY(120%); transition: transform .4s var(--ease); }
.selbar-wrap.up { transform: none; }
.selbar-in { max-width: 1072px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; background: #1C1E21; border: 1px solid #3A3D43; border-radius: 20px; padding: 14px 16px 14px 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.9); }
.sel-info { display: grid; min-width: 150px; }
.sel-info b { font-size: 17px; }
.sel-info span { font-size: 13px; }
.sel-cpv { display: flex; align-items: center; gap: 8px; }
.sel-cpv select { padding: 9px 10px; width: auto; }
.sel-rights { flex: 1 1 260px; font-size: 13.5px; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.shake { animation: shake .4s; color: var(--err); }
dialog { color: var(--mw-white); }
dialog::backdrop { background: rgba(4, 5, 6, .78); backdrop-filter: blur(4px); }
dialog[open] { animation: popin .3s var(--ease); }
.preview { width: min(960px, 94vw); border: 1px solid #3A3D43; border-radius: 20px; background: var(--mw-charcoal); padding: 14px; }
.pv-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.pv-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pv-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.confirm { width: min(440px, 92vw); border: 1px solid #3A3D43; border-radius: 20px; background: var(--mw-charcoal); padding: 24px; }
.confirm h2 { margin: 0 0 6px; font-size: 20px; }
.confirm .btnrow { margin-top: 18px; justify-content: flex-end; }

/* ----------------------------------------------------------------------- billing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { position: relative; display: grid; gap: 12px; align-content: start; background: var(--mw-charcoal); border: 1px solid var(--line); border-radius: 22px; padding: 24px; transition: transform .25s var(--ease), border-color .2s; }
.plan:hover { transform: translateY(-3px); }
.plan.featured { border-color: #6A6D73; background: linear-gradient(180deg, #202226, var(--mw-charcoal)); }
.plan.current { border-color: var(--mw-white); }
.plan h2 { margin: 0; font-size: 20px; }
.badge { position: absolute; top: -11px; left: 24px; background: var(--mw-white); color: var(--mw-black); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price { margin: 4px 0; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price span { color: var(--mw-muted); }
.feat { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; color: var(--mw-secondary); font-size: 15px; }
.feat li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.plan form .btn, .plan > .btn { width: 100%; }

@media (max-width: 760px) {
  .opts { grid-template-columns: minmax(0, 1fr); }
  .vcard { grid-template-columns: minmax(0, 1fr) 40px; }
  .vthumb { grid-column: 1 / -1; }
  .vselect { grid-column: 2; grid-row: 2; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .appnav a, .appnav button { padding: 9px 8px; font-size: 14px; }
  .art-pick { grid-template-columns: repeat(3, 84px); }
  .vrow { grid-template-columns: 56px 120px 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* fixes from walkthrough */
.flow-wrap { overflow-x: clip; padding-inline: 6px; margin-inline: -6px; }
.opt-box { color: var(--mw-light-gray); }
.opt-box b { color: var(--mw-white); }
.q-actions { flex-wrap: nowrap; }
.q-actions .q-skip { margin-left: auto; padding: 10px 4px; }
.q-skip { color: var(--mw-muted); font-weight: 600; }
.q-skip:hover { color: var(--mw-white); }
.flow-top .q-skip { padding: 8px 4px; }

[hidden] { display: none !important; }
.vtags { display: flex; flex-wrap: wrap; gap: 6px; }
.vlic.warn { color: var(--err); border-color: #5a2a25; }
.vcard.locked { opacity: .55; }
.vcard.locked .vselect, .vcard.locked .vbody { cursor: not-allowed; }
.err-text { color: var(--err) !important; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---- plan locks + upsell */
.lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; background: var(--mw-white); color: var(--mw-black); vertical-align: middle; }
.lock::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 2px; border-top-width: 3px; }
.off { opacity: .6; }
.upsell { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px;
  border: 1px solid #4A4D53; background: linear-gradient(120deg, #202226, var(--mw-charcoal) 60%); }
.upsell b { display: block; }
.upsell span { color: var(--mw-secondary); font-size: 14.5px; }
.filters.is-locked select { opacity: .6; }
.vlic.lockpill { color: var(--mw-black); background: var(--mw-white); border-color: var(--mw-white); }
.badge-ghost { background: var(--mw-charcoal); color: var(--mw-white); border: 1px solid #4A4D53; }

/* ---- billing interval switch */
.interval { position: relative; display: inline-grid; grid-template-columns: auto auto; background: var(--mw-charcoal); border: 1px solid #33363C; border-radius: 999px; padding: 4px; }
.interval button { position: relative; z-index: 1; border: 0; background: none; color: var(--mw-secondary); font: 700 14.5px var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: color .25s; display: flex; align-items: center; gap: 8px; }
.interval button[aria-checked="true"] { color: var(--mw-black); }
.interval .save { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #10251a; color: var(--ok); transition: background-color .25s, color .25s; }
.interval button[aria-checked="true"] .save { background: var(--mw-black); color: var(--ok); }
.interval-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--mw-white); transition: transform .35s var(--ease), width .35s var(--ease); }
.amt, .billed { display: inline-block; transition: opacity .16s, transform .16s var(--ease); }
.amt.flip, .billed.flip { opacity: 0; transform: translateY(-6px); }
.billed { margin: -6px 0 4px; font-size: 13.5px; }
.cmp th[scope="row"] { color: var(--mw-light-gray); font-weight: 600; background: none; }
.cmp td { text-align: center; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp .yes { color: var(--ok); font-weight: 800; }
.cmp .no { color: var(--mw-muted); }

/* richer plan feature lists */
.includes { margin: 4px 0 -4px; font-size: 13px; font-weight: 700; color: var(--mw-light-gray); letter-spacing: .02em; }
.feat { gap: 12px; }
.feat li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; animation: rise .45s var(--ease) both; animation-delay: calc(250ms + var(--i, 0) * 45ms); }
.feat li::before { grid-row: 1 / span 2; margin: 0; }
.feat li b { color: var(--mw-white); font-weight: 700; font-size: 15px; }
.feat li span { color: var(--mw-muted); font-size: 13.5px; line-height: 1.45; }

/* ---- genre chips ---- */
.genres { display: grid; gap: 12px; }
.genre-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-g { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid #33363C; background: var(--mw-charcoal);
  color: var(--mw-light-gray); font: 600 14.5px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease); animation: popin .4s var(--ease) both; }
.genre-row .chip-g:nth-child(n) { animation-delay: calc(80ms + var(--n, 0) * 30ms); }
.chip-g:hover { border-color: #6A6D73; color: var(--mw-white); transform: translateY(-2px); }
.chip-g.on { background: var(--mw-white); color: var(--mw-black); border-color: var(--mw-white); }
.chip-g.more { background: transparent; border-style: dashed; }
.chip-g.is-locked { opacity: .45; cursor: not-allowed; }
.chip-g.is-locked:hover { transform: none; border-color: #33363C; color: var(--mw-light-gray); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.more[aria-expanded="true"] .caret { transform: rotate(-135deg) translateY(-2px); }
.genre-more { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--mw-charcoal); animation: rise .35s var(--ease) both; }
.genre-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.genre-group .gl { flex: 0 0 150px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mw-muted); }
.genre-group .chip-g { background: var(--mw-black); }
.genre-group .chip-g.on { background: var(--mw-white); }
.filt-title { flex: 1 1 200px; }
.filt-title b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .genre-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
  .genre-row::-webkit-scrollbar { display: none; }
  .genre-group .gl { flex-basis: 100%; }
}
.genre-up { margin: 0; font-size: 14px; color: var(--mw-secondary); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ======================================================================= intro splash */
body.intro-page .appmain { padding: 0; max-width: none; min-height: 100vh; display: block; }
.intro { position: relative; min-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; overflow: hidden; padding: 40px 20px; }
.glow { position: absolute; left: 50%; top: 42%; width: 760px; height: 760px; max-width: 160vw; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 38%, transparent 66%); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .8; } }
.drift { position: absolute; inset: 0; pointer-events: none; }
.drift span { position: absolute; left: var(--x); bottom: -160px; width: calc(46px * var(--s)); aspect-ratio: 9 / 16; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.01));
  animation: drift var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes drift { to { transform: translateY(calc(-100vh - 260px)) rotate(8deg); } }
.stage { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 18px; width: 100%; max-width: 640px; }
.stage { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.stage.is-on { opacity: 1; transform: none; }
.stage.is-off { opacity: 0; transform: translateY(-16px) scale(.98); }
.no-js .stage, .stage-brand { opacity: 1; transform: none; }

.mark3d { position: relative; width: 148px; height: 148px; perspective: 700px; margin-bottom: 6px; }
.mark3d img { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: markin 1.3s var(--ease) both, hover 5s ease-in-out 1.4s infinite; }
@keyframes markin { 0% { opacity: 0; transform: rotateY(-70deg) rotateX(20deg) scale(.55); filter: blur(14px); } 100% { opacity: 1; transform: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); } }
@keyframes hover { 50% { transform: translateY(-6px) rotateY(10deg); } }
.sheen { position: absolute; inset: 0; -webkit-mask: url(/static/brand/mark.png) center / contain no-repeat; mask: url(/static/brand/mark.png) center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); background-size: 260% 100%; background-position: 120% 0;
  animation: sheen 1.4s ease-in-out 1.1s both, sheen 1.4s ease-in-out 6s infinite; mix-blend-mode: screen; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.brandword { margin: 0; display: grid; justify-items: center; line-height: 1; }
.brandword .w1 { font-size: clamp(54px, 11vw, 92px); font-weight: 800; letter-spacing: -0.035em; display: flex; }
.brandword .w1 i { font-style: normal; display: inline-block; animation: letter .7s var(--ease) both; animation-delay: calc(700ms + var(--i) * 70ms); }
@keyframes letter { from { opacity: 0; transform: translateY(60%) rotateX(80deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.brandword .w2 { font-size: clamp(16px, 3vw, 22px); font-weight: 500; color: var(--mw-light-gray); letter-spacing: .48em; margin-top: 8px; padding-left: .48em; animation: track 1.1s var(--ease) 1.3s both; }
@keyframes track { from { opacity: 0; letter-spacing: 0; } to { opacity: 1; letter-spacing: .48em; } }
.tagline { margin: 14px 0 6px; font-size: clamp(22px, 4vw, 30px); font-weight: 700; letter-spacing: -0.01em; }
.tw { color: #34373D; display: inline-block; animation: tw .5s var(--ease) both; animation-delay: calc(1900ms + var(--i) * 260ms); }
@keyframes tw { from { color: #34373D; transform: translateY(6px); } to { color: var(--mw-white); transform: none; } }
.tw:last-child { animation-name: tw-last; }
@keyframes tw-last { from { color: #34373D; transform: translateY(6px); } 60% { color: #FFD21F; } to { color: var(--mw-white); transform: none; } }
.intro-go { margin-top: 8px; animation: rise .6s var(--ease) 3.1s both; min-width: 200px; }

/* explainer stage */
.stage-video { max-width: 720px; }
.explainer { position: relative; width: min(360px, 82vw); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--mw-charcoal); border: 1px solid #33363C;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); animation: popin .6s var(--ease) .15s both; }
.explainer video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-big { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border: 0; cursor: pointer; color: var(--mw-black);
  background: linear-gradient(180deg, rgba(8,9,10,0) 40%, rgba(8,9,10,.65)); font: 700 15px var(--font); transition: opacity .3s; }
.play-big svg { width: 74px; height: 74px; padding: 20px 18px 20px 24px; border-radius: 50%; background: var(--mw-white); box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: ring 2s ease-out infinite; }
.play-big span { color: var(--mw-white); }
@keyframes ring { 70% { box-shadow: 0 0 0 18px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.play-big.gone { opacity: 0; pointer-events: none; }
.story { display: grid; align-content: center; gap: 14px; padding: 26px; text-align: left; }
.scene { display: flex; gap: 14px; align-items: flex-start; opacity: 0; animation: rise .6s var(--ease) both; animation-delay: calc(300ms + var(--i) * 900ms); }
.scene b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mw-white); color: var(--mw-black); display: grid; place-items: center; font-weight: 800; }
.scene span { font-size: 18px; font-weight: 600; line-height: 1.35; }
.pulse-once { animation: pulsebtn 1.2s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .drift { display: none; } }

/* ---- start (new visitors) + welcome back ---- */
.start-top { position: absolute; top: 18px; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.start-top .dots { display: flex; gap: 6px; flex: none; }
.start-top .dot { width: 22px; height: 4px; border-radius: 2px; background: #2E3136; transition: background-color .3s, width .35s var(--ease); }
.start-top .dot.on { background: var(--mw-white); width: 38px; }
.start-login { color: var(--mw-secondary); text-decoration: none; font-size: 14.5px; }
.start-login b { color: var(--mw-white); }
.start-login:hover b { text-decoration: underline; }
.how-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; width: 100%; max-width: 520px; text-align: left; }
.how { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid #33363C; border-radius: 18px; background: rgba(23,25,28,.85);
  opacity: 0; transform: translateY(14px); }
.stage.is-on .how { animation: rise .55s var(--ease) both; animation-delay: calc(250ms + var(--i) * 260ms); }
.how-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--mw-white); display: grid; place-items: center; }
.how-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--mw-black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.how b { display: block; font-size: 17px; }
.how span { color: var(--mw-secondary); font-size: 15px; }
.watch { color: var(--mw-light-gray); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.get-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; text-align: left; width: 100%; max-width: 460px; }
.get-list li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; color: var(--mw-secondary); opacity: 0; }
.get-list li b { color: var(--mw-white); }
.get-list li::before { content: "\2713"; color: var(--ok); font-weight: 800; flex: none; }
.stage.is-on .get-list li { animation: rise .5s var(--ease) both; animation-delay: calc(200ms + var(--i) * 140ms); }
.email-card { width: 100%; max-width: 440px; text-align: left; background: rgba(23,25,28,.9); border: 1px solid #33363C; border-radius: 20px; padding: 22px; }
.stage-email .flash { width: 100%; max-width: 440px; }
.back-wrap { max-width: 440px; margin: 7vh auto 0; width: 100%; display: grid; justify-items: center; gap: 18px; }
.back-mark { animation: popin .6s var(--ease) both; }
.back-card { width: 100%; animation: rise .5s var(--ease) .1s both; }
.back-new { color: var(--mw-muted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .how, .get-list li { opacity: 1; transform: none; } }
.get-list li { display: block; position: relative; padding-left: 28px; }
.get-list li::before { position: absolute; left: 0; top: 0; }

/* get started + log in, stacked under each other */
.go-stack { display: grid; gap: 10px; justify-items: center; margin-top: 8px; animation: rise .6s var(--ease) 3.1s both; }
.go-stack .intro-go { animation: none; margin-top: 0; min-width: 240px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--mw-secondary); font-weight: 600; font-size: 15px; padding: 10px 16px; }
.btn-ghost b { color: var(--mw-white); margin-left: 4px; }
.btn-ghost:hover { background: var(--mw-charcoal); border-color: #33363C; color: var(--mw-white); }
.start-top { justify-content: center; }

/* ---- duplicate-account prompt + linked-account notes ---- */
.dupe { width: 100%; max-width: 440px; text-align: left; display: grid; gap: 8px; padding: 18px; border-radius: 18px;
  border: 1px solid #5a4a1f; background: #221d10; color: #F3E3B5; animation: popin .35s var(--ease); }
.dupe span { color: #D8CBA4; font-size: 14.5px; }
.dupe-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dupe-actions form { display: inline; }
.claimed { display: block; color: var(--err) !important; font-size: 13.5px; margin-top: 4px; }

/* ---- how to clip it ---- */
.clipopts { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid #3A3D43; border-radius: 14px; background: var(--mw-black);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.seg b { font-size: 14.5px; }
.seg small { color: var(--mw-muted); font-size: 12.5px; }
.seg input:checked + span { border-color: var(--mw-white); background: #202226; }
.seg input:focus-visible + span { outline: 2px solid var(--mw-white); outline-offset: 2px; }
.seg label:hover span { transform: translateY(-1px); }
.clipopts.compact { flex: 2 1 340px; }
.clipopts.compact legend { display: none; }
.clipopts.compact .seg span { padding: 8px 10px; }
.clipopts.compact .field label { font-size: 12.5px; }
.clipopts.compact select { padding: 8px 10px; }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }

/* creators you follow (Pro) */
.creators { margin: 8px 0 22px; padding: 18px; border: 1px solid #26292E; border-radius: 16px; background: var(--mw-charcoal); display: grid; gap: 14px; }
.cr-head { display: grid; gap: 4px; }
.cr-title { margin: 0; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.cr-sub { color: var(--mw-secondary); font-size: 14px; }
.cr-add { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-add input { flex: 1 1 240px; min-width: 0; }
.cr-list { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cr-chip { display: inline-flex; align-items: center; border: 1px solid #33363C; border-radius: 999px; background: var(--mw-black); transition: border-color .2s; }
.cr-chip:hover { border-color: #6A6D73; }
.cr-chip a { display: inline-flex; gap: 8px; align-items: center; padding: 6px 4px 6px 8px; color: var(--mw-light-gray); text-decoration: none; font-weight: 700; font-size: 14px; }
.cr-chip img { border-radius: 50%; }
.cr-chip button { background: none; border: 0; color: var(--mw-secondary); font-size: 18px; line-height: 1; padding: 6px 12px 6px 6px; cursor: pointer; }
.cr-chip button:hover { color: var(--mw-white); }
.cr-chip form { display: contents; }
.cr-chip.on { background: var(--mw-white); border-color: var(--mw-white); }
.cr-chip.on a, .cr-chip.on button { color: var(--mw-black); }
.cr-count { color: var(--mw-secondary); font-size: 12px; margin-left: 4px; }
.cr-now { margin: 0 0 14px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 18px; }
.cr-handle { color: var(--mw-secondary); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.scan-note { margin: 8px 0 0; font-size: 13px; color: var(--mw-secondary); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* interactive Discover walkthrough */
.wt-replay { margin-left: 12px; vertical-align: middle; font-size: 13px; }
.wt-overlay { position: fixed; inset: 0; z-index: 990; background: transparent; }
.wt-spot { position: fixed; z-index: 991; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(4, 5, 6, .74), 0 0 0 2px rgba(255, 255, 255, .85);
  transition: top .35s ease, left .35s ease, width .35s ease, height .35s ease; }
.wt-acting .wt-spot { box-shadow: 0 0 0 9999px rgba(4, 5, 6, .74), 0 0 0 2px #3DDC84, 0 0 24px 4px rgba(61, 220, 132, .45);
  animation: wtpulse 1.6s ease-in-out infinite; }
@keyframes wtpulse { 50% { box-shadow: 0 0 0 9999px rgba(4, 5, 6, .74), 0 0 0 2px #3DDC84, 0 0 34px 10px rgba(61, 220, 132, .25); } }
.wt-lift { position: relative; z-index: 992 !important; }
.wt-acting .wt-lift { cursor: pointer; }
.wt-card { position: fixed; z-index: 993; width: min(360px, calc(100vw - 24px)); padding: 18px 18px 14px;
  border-radius: 16px; background: var(--mw-charcoal); border: 1px solid #33363C; color: var(--mw-white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); transition: top .35s ease, left .35s ease; animation: wtin .35s ease; }
.wt-card.center { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 24px)); text-align: center; }
.wt-card:focus { outline: none; }
@keyframes wtin { from { opacity: 0; translate: 0 8px; } }
.wt-count { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mw-secondary); }
.wt-title { margin: 0 0 6px; font-size: 18px; }
.wt-text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--mw-light-gray); }
.wt-actions { display: flex; align-items: center; gap: 8px; }
.wt-gap { flex: 1; }
.wt-card.center .wt-actions { justify-content: center; }
.wt-card.center .wt-gap { flex: 0 0 8px; }
@media (prefers-reduced-motion: reduce) { .wt-spot, .wt-card { transition: none; animation: none; } .wt-acting .wt-spot { animation: none; } }

/* 6-digit login code */
.otp-form { display: grid; gap: 12px; margin-top: 18px; }
.otp-input { font-size: 30px; font-weight: 800; letter-spacing: .5em; text-align: center; padding: 14px 10px 14px calc(10px + .5em);
  font-variant-numeric: tabular-nums; font-family: Menlo, Consolas, monospace; }
.otp-input::placeholder { color: #44474D; letter-spacing: .4em; }

.pv-alt { margin: 10px 0 0; font-size: 13px; text-align: center; }
.pv-alt a { color: var(--mw-secondary); }

.autopost-note { display: flex; gap: 10px; align-items: baseline; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(61, 220, 132, .07); border: 1px solid rgba(61, 220, 132, .25); font-size: 14px; color: var(--mw-light-gray); }
.autopost-note .live-dot { flex: none; transform: translateY(-1px); }
.clipcard { position: relative; }
.clip-state { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; font-size: 11px;
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(8, 9, 10, .78); color: var(--mw-white);
  border: 1px solid #3A3D43; }
.clip-state.ok { border-color: rgba(61, 220, 132, .6); color: #7BE8AA; }

/* watch + download on clip cards */
.clip-watch { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; width: 100%; }
.clip-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(8, 9, 10, .72); color: #fff; border: 1px solid rgba(255,255,255,.35);
  transition: transform .2s, background .2s; }
.clip-watch:hover .clip-play, .clip-watch:focus-visible .clip-play { transform: scale(1.08); background: rgba(8, 9, 10, .9); }
.clipcard .hook { color: var(--mw-white); text-decoration: none; }
.clipcard .hook:hover { text-decoration: underline; }
.clip-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.watch-dialog { width: min(420px, calc(100vw - 24px)); }
.watch-dialog video { width: 100%; max-height: 70vh; aspect-ratio: 9 / 16; background: #000; border-radius: 12px; display: block; }
.watch-actions { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
