/* Daily motivation: Josh's video message beside today's challenge, a streak and a month of red days. */
.mv { --mv-red: #c8102e; --mv-ink: #f2f2f2; --mv-muted: #a9a9a9; --mv-line: #ffffff1f; --mv-card: #121212;
  --mv-display: "Oswald", "Bebas Neue", Impact, "Arial Narrow", sans-serif; }
.mv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 34px; align-items: start; }
@media (min-width: 900px) { .mv-grid { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 56px; align-items: center; } }

/* the video */
.mv-video { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden;
  background: #050505; border: 1px solid var(--mv-line); box-shadow: 0 30px 80px -30px rgba(200,16,46,.55); }
.mv-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 16px; pointer-events: none;
  font: 700 22px/1 var(--mv-display); letter-spacing: .06em; text-transform: uppercase; color: var(--mv-ink);
  background: linear-gradient(transparent, rgba(0,0,0,.75)); transition: opacity .4s; }
.mv-video.playing figcaption { opacity: 0; }
.mv-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 46%, rgba(0,0,0,.15), rgba(0,0,0,.55)); color: var(--mv-ink); font: inherit; transition: opacity .4s; }
.mv-play > span:nth-child(2) { font: 700 18px/1.1 var(--mv-display); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 12px #000; }
.mv-play small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #ddd; text-shadow: 0 1px 8px #000; }
.mv-play-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--mv-red); position: relative;
  box-shadow: 0 0 0 0 rgba(200,16,46,.6); animation: mv-ring 2s ease-out infinite; }
.mv-play-icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.mv-play:focus-visible { outline: 2px solid var(--mv-ink); outline-offset: -6px; }
.mv-video.playing .mv-play { opacity: 0; pointer-events: none; }
@keyframes mv-ring { 0% { box-shadow: 0 0 0 0 rgba(200,16,46,.6); } 75% { box-shadow: 0 0 0 22px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }

/* the challenge card */
.mv-card { position: relative; display: grid; gap: 18px; min-width: 0; }
.mv-streak { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 16px 8px 12px; border: 1px solid var(--mv-line);
  border-radius: 999px; background: var(--mv-card); color: var(--mv-ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mv-streak b { font: 700 24px/1 var(--mv-display); color: #fff; font-variant-numeric: tabular-nums; }
.mv-flame { width: 16px; height: 22px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 75%, #ffd36b, #ff6a2b 45%, var(--mv-red) 80%);
  filter: grayscale(1) brightness(.6); transition: filter .4s; }
.mv-streak.on .mv-flame { filter: none; animation: mv-flicker 1.4s ease-in-out infinite; }
.mv-streak.on { border-color: rgba(200,16,46,.7); }
@keyframes mv-flicker { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.12) rotate(3deg); } }
.mv-title { margin: 0; font: 700 clamp(30px, 4.6vw, 58px)/1.04 var(--mv-display); text-transform: uppercase; letter-spacing: .01em; color: var(--mv-ink); text-wrap: balance; max-width: 18ch; }
.mv-q { color: var(--mv-red); }
.mv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--mv-line); border: 1px solid var(--mv-line); }
.mv-steps li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 16px 18px; background: #0a0a0a; }
.mv-steps p { margin: 0; color: #d6d6d6; line-height: 1.5; }
.mv-k { color: var(--mv-red); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.mv-done { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--mv-red); color: #fff; font: 700 20px/1 var(--mv-display); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 14px 40px -14px rgba(200,16,46,.9); transition: transform .15s, background .3s; }
.mv-done:hover { transform: translateY(-1px); }
.mv-done:active { transform: scale(.98); }
.mv-done:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mv-check { width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; position: relative; }
.mv-done[aria-pressed="true"] { background: #1c1c1c; box-shadow: inset 0 0 0 1px rgba(200,16,46,.8); }
.mv-done[aria-pressed="true"] .mv-check { background: var(--mv-red); border-color: var(--mv-red); }
.mv-done[aria-pressed="true"] .mv-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mv-done.pop { animation: mv-pop .5s cubic-bezier(.2,.8,.2,1.4); }
@keyframes mv-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

.mv-cal { display: grid; gap: 10px; }
.mv-cal-head { display: flex; justify-content: space-between; color: var(--mv-muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.mv-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 6px; }
.mv-days i { aspect-ratio: 1; border-radius: 3px; background: #1a1a1a; border: 1px solid #262626; }
.mv-days i.done { background: var(--mv-red); border-color: var(--mv-red); box-shadow: 0 0 10px rgba(200,16,46,.55); }
.mv-days i.today { border-color: #fff; }
.mv-days i.future { opacity: .35; }

.mv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mv-actions button, .mv-store { border: 1px solid #555; background: transparent; color: var(--mv-ink); padding: 12px 16px; border-radius: 2px;
  font: 600 13px/1 Inter, Arial, sans-serif; letter-spacing: .04em; cursor: pointer; text-decoration: none; }
.mv-actions button:hover, .mv-store:hover { background: #ffffff14; }
.mv-store { border-color: var(--mv-red); color: #fff; }
#copy-status:empty { display: none; }
#copy-status { margin: 0; color: var(--mv-muted); font-size: 13px; }

/* "you showed up" burst */
.mv-burst { position: fixed; z-index: 60; pointer-events: none; width: 6px; height: 6px; border-radius: 50%; background: #ff7a3c; box-shadow: 0 0 8px #ff4a1c; }

@media (prefers-reduced-motion: reduce) { .mv-play-icon, .mv-streak.on .mv-flame { animation: none; } }
