/* The app's screens, rebuilt in HTML and animated (shared kit for the app
   sites; Tenure has its own first version). Each screen copies a real
   screen of the app: same text, same layout. assets/screens.js plays the
   steps listed in a screen's data-steps while it's on screen.
   Sizes are in cqw (1% of the screen's width). Theme per app with:
   --b (brand), --b2 (second colour), --sbg (screen background),
   --title (title font). */

.device {
  position: relative;
  width: 100%;
  padding: 3.2%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #2b2b3a, #0e0e16);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.12),
    0 30px 70px rgba(0, 0, 0, 0.26);
}

.device.tablet {
  padding: 2.6%;
  border-radius: 6% / 4.5%;
}

.screen {
  --b: #4f52c4;
  --b2: #e9762b;
  --sbg: #f2f2f7;
  --ink: #1c1c1e;
  --mut: #8e8e9a;
  --card: #fff;
  --line: #ececf2;
  --title: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 12.5% / 5.8%;
  background: var(--sbg);
  color: var(--ink);
  font: 400 16px/1.3 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
  user-select: none;
}

/* Base size on the children: cqw on .screen itself would measure the window. */
.screen > * {
  font-size: 3.4cqw;
}

.tablet .screen {
  aspect-ratio: 4 / 3;
  border-radius: 3.6% / 4.8%;
}

.tablet .screen.portrait {
  aspect-ratio: 3 / 4;
  border-radius: 3.6% / 2.7%;
}

.tablet .screen > * {
  font-size: 1.9cqw;
}

.dark {
  --sbg: #0d0f14;
  --ink: #f4f5f8;
  --mut: #8c92a3;
  --card: #1a1d26;
  --line: #262a36;
}

/* ------------------------------------------------------------ chrome */

.sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 12.5cqw;
  padding: 0 7cqw 0 9cqw;
  font-weight: 600;
  font-size: 3.9cqw;
}

.sb .island {
  width: 29cqw;
  height: 8.4cqw;
  border-radius: 99px;
  background: #000;
}

.sb .icons {
  display: flex;
  gap: 1.4cqw;
}

.sb .icons i {
  width: 4.2cqw;
  height: 2.8cqw;
  border-radius: 0.7cqw;
  background: currentColor;
}

.sb .icons i:last-child {
  width: 6.2cqw;
  background: #34c759;
}

.tablet .sb {
  height: 3.6cqw;
  padding: 0 2.4cqw;
  font-size: 1.5cqw;
}

.tablet .sb .island {
  display: none;
}

.tablet .sb .icons i {
  width: 1.8cqw;
  height: 1.1cqw;
}

.tablet .sb .icons i:last-child {
  width: 2.6cqw;
}

.nb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding: 1cqw 4.5cqw 2.4cqw;
  font-weight: 600;
  font-size: 3.9cqw;
}

.nb > :only-child {
  margin: 0 auto;
}

.ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 8.6cqw;
  height: 8.6cqw;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.08);
  color: var(--mut);
  font-size: 3.4cqw;
  font-style: normal;
}

.pill-btn {
  padding: 1.6cqw 3.4cqw;
  border-radius: 99px;
  background: var(--card);
  color: var(--b);
  font-size: 3.5cqw;
  font-weight: 600;
  box-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.08);
}

.lt {
  margin: 1cqw 5cqw 2.4cqw;
  font: 700 7.4cqw/1.1 var(--title);
  letter-spacing: -0.02em;
}

.lt small {
  display: block;
  margin-top: 0.8cqw;
  color: var(--mut);
  font: 400 3.2cqw/1.3 -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

.cap {
  margin: 3.6cqw 6cqw 1.6cqw;
  color: var(--mut);
  font-size: 2.6cqw;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tabbar {
  position: absolute;
  left: 4cqw;
  right: 4cqw;
  bottom: 3.6cqw;
  display: flex;
  justify-content: space-around;
  padding: 2.2cqw 1cqw;
  border-radius: 99px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow: 0 1cqw 4cqw rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--mut);
  font-size: 2.3cqw;
}

.tabbar span {
  display: grid;
  justify-items: center;
  gap: 0.6cqw;
}

.tabbar span::before {
  content: '';
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 1.3cqw;
  background: currentColor;
  opacity: 0.85;
}

.tabbar .on {
  color: var(--b);
}

/* ------------------------------------------------------------ blocks */

.kc {
  margin: 0 4.5cqw 2.2cqw;
  border-radius: 3.6cqw;
  background: var(--card);
  box-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.05);
}

.pad {
  padding: 3.2cqw 3.6cqw;
}

.hero-card {
  margin: 0 4.5cqw 2.4cqw;
  padding: 4cqw;
  border-radius: 4.4cqw;
  background: var(--g, linear-gradient(140deg, var(--b), var(--b2)));
  color: #fff;
}

.hero-card small {
  display: block;
  opacity: 0.85;
  font-size: 2.7cqw;
}

.hero-card .num {
  display: block;
  margin: 1cqw 0;
  font: 700 9cqw/1.05 var(--title);
  letter-spacing: -0.02em;
}

.row {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 2.6cqw 3.2cqw;
  font-size: 3.2cqw;
  font-weight: 600;
}

.row + .row {
  border-top: 0.25cqw solid var(--line);
}

.row > div {
  flex: 1;
  min-width: 0;
}

.row small {
  display: block;
  overflow: hidden;
  color: var(--mut);
  font-size: 2.5cqw;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row .val {
  flex: none;
  font-weight: 700;
  text-align: right;
}

.row .val small {
  text-align: right;
}

.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 7.2cqw;
  height: 7.2cqw;
  border-radius: 2cqw;
  background: var(--c, var(--b));
  color: #fff;
  font-size: 3.2cqw;
  font-style: normal;
  font-weight: 700;
}

.ico.round {
  border-radius: 50%;
}

.ico.soft {
  background: color-mix(in srgb, var(--c, var(--b)) 16%, transparent);
  color: var(--c, var(--b));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8cqw;
  margin: 0 4.5cqw 2cqw;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 2.8cqw;
  border-radius: 99px;
  background: var(--card);
  color: var(--ink);
  font-size: 2.9cqw;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 0.2cqw 0.6cqw rgba(0, 0, 0, 0.06);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.chip.on {
  background: var(--b);
  color: #fff;
}

.tag {
  display: inline-block;
  padding: 0.5cqw 1.8cqw;
  border-radius: 1.4cqw;
  background: color-mix(in srgb, var(--c, var(--b)) 14%, transparent);
  color: var(--c, var(--b));
  font-size: 2.4cqw;
  font-style: normal;
  font-weight: 600;
}

.seg {
  display: flex;
  margin: 0 4.5cqw 2.4cqw;
  padding: 0.8cqw;
  border-radius: 2.6cqw;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  font-size: 3cqw;
  font-weight: 600;
  text-align: center;
}

.seg span {
  flex: 1;
  padding: 1.4cqw;
  border-radius: 2cqw;
  color: var(--mut);
  transition: background 0.35s ease, color 0.35s ease;
}

.seg .on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.08);
}

.grid2,
.grid3,
.grid4 {
  display: grid;
  gap: 2.2cqw;
  margin: 0 4.5cqw 2.2cqw;
}

.grid2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid2 > .kc,
.grid3 > .kc,
.grid4 > .kc {
  margin: 0;
}

.tile {
  display: grid;
  gap: 0.6cqw;
  padding: 3cqw;
  border-radius: 3.4cqw;
  background: var(--card);
  box-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.05);
  font-size: 2.6cqw;
  color: var(--mut);
}

.tile b {
  color: var(--ink);
  font: 700 5.4cqw/1.1 var(--title);
}

.tile .ico {
  width: 6cqw;
  height: 6cqw;
  margin-bottom: 1cqw;
  font-size: 2.8cqw;
}

.btn-p {
  position: relative;
  overflow: hidden;
  margin: 2.4cqw 4.5cqw;
  padding: 3.2cqw;
  border-radius: 99px;
  background: var(--b);
  color: #fff;
  text-align: center;
  font-size: 3.5cqw;
  font-weight: 600;
}

.btn-p.sq {
  border-radius: 3.4cqw;
}

.field {
  margin: 0 4.5cqw 2.2cqw;
  padding: 2.8cqw 3.2cqw;
  border-radius: 3cqw;
  background: var(--card);
  font-size: 3.2cqw;
  min-height: 1.3em;
}

.field small {
  display: block;
  margin-bottom: 0.6cqw;
  color: var(--mut);
  font-size: 2.4cqw;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.big {
  font: 700 10cqw/1.05 var(--title);
  letter-spacing: -0.02em;
}

.mut {
  color: var(--mut);
}

.center {
  text-align: center;
}

.sp {
  height: 2.4cqw;
}

/* A sheet presented over the screen */
.sheet {
  position: absolute;
  inset: 11cqw 0 0;
  border-radius: 5cqw 5cqw 0 0;
  background: var(--sbg);
  box-shadow: 0 -1cqw 4cqw rgba(0, 0, 0, 0.12);
}

.sheet::before {
  content: '';
  display: block;
  width: 9cqw;
  height: 1.2cqw;
  margin: 1.6cqw auto 0;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}

/* Label and value on one line, inside a .kc */
.kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding: 2.4cqw 3.6cqw;
  font-size: 3.1cqw;
}

.kv + .kv {
  border-top: 0.25cqw solid var(--line);
}

.kv b {
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.5cqw 1.8cqw;
  border-radius: 99px;
  background: color-mix(in srgb, var(--c, var(--b)) 14%, transparent);
  color: var(--c, var(--b));
  font-size: 2.3cqw;
  font-weight: 700;
}

/* Charts */
.ring {
  position: relative;
  flex: none;
  width: var(--sz, 18cqw);
  height: var(--sz, 18cqw);
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: var(--sw, 4);
}

.ring .bg {
  stroke: color-mix(in srgb, var(--ink) 9%, transparent);
}

.ring .fg {
  stroke: var(--rc, var(--b));
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--p, 70));
  transition: stroke-dashoffset 1.8s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.ring > b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  font-size: calc(var(--sz, 18cqw) * 0.26);
  line-height: 1.05;
  text-align: center;
}

.ring > b small {
  color: var(--mut);
  font-size: calc(var(--sz, 18cqw) * 0.13);
  font-weight: 600;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 2cqw;
  height: var(--ch, 24cqw);
  padding: 0 1cqw;
}

.chart i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 1.2cqw 1.2cqw 0.4cqw 0.4cqw;
  background: var(--c, var(--b));
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.3, 0.9, 0.3, 1.1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.chart-x {
  display: flex;
  justify-content: space-between;
  padding: 1.2cqw 1cqw 0;
  color: var(--mut);
  font-size: 2.2cqw;
}

.prog {
  height: 1.6cqw;
  margin-top: 1.4cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  overflow: hidden;
}

.prog i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--c, var(--b));
  transition: width 1.4s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s;
}

.toggle {
  position: relative;
  flex: none;
  width: 11cqw;
  height: 6.6cqw;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  transition: background 0.35s ease;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 0.6cqw;
  left: 0.6cqw;
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.4cqw 1cqw rgba(0, 0, 0, 0.2);
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.toggle.on {
  background: var(--tc, #34c759);
}

.toggle.on::after {
  transform: translateX(4.4cqw);
}

.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 5.4cqw;
  height: 5.4cqw;
  border: 0.45cqw solid color-mix(in srgb, var(--ink) 25%, transparent);
  border-radius: 50%;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.check.on {
  border-color: var(--cc, #34c759);
  background: var(--cc, #34c759) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* Typing caret */
[data-type].typing::after {
  content: '';
  display: inline-block;
  width: 0.4cqw;
  height: 1em;
  margin-left: 0.3cqw;
  vertical-align: -0.12em;
  background: var(--b);
  animation: caret 0.8s steps(2) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* ------------------------------------------------- the step animations
   screens.js adds s1, s2, … to the screen; nothing below needs JS to look
   right, because the screen is given every class when it isn't playing. */

/* Appear in turn (style="--i:n" sets the order). .st waits for s1, .st2 for s2, .st3 for s3. */
.st,
.st2,
.st3 {
  opacity: 0;
  transform: translateY(3cqw);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.s1 .st,
.s2 .st2,
.s3 .st3 {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 130ms);
}

/* Slide in from the right in turn */
.sr {
  opacity: 0;
  transform: translateX(7cqw);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.s1 .sr {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 160ms);
}

/* Fold open (a new row): wrap the row in .new1 or .new2 */
.new1,
.new2 {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: scale(0.96);
  transition:
    grid-template-rows 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s ease 0.15s,
    transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) 0.1s;
}

.new1 > *,
.new2 > * {
  min-height: 0;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.s1 .new1,
.s2 .new2 {
  grid-template-rows: 1fr;
  margin-bottom: 2.2cqw;
  opacity: 1;
  transform: none;
}

/* Hidden until step n */
.show2,
.show3,
.show4,
.show5 {
  opacity: 0;
  transform: translateY(2cqw) scale(0.97);
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.s2 .show2,
.s3 .show3,
.s4 .show4,
.s5 .show5 {
  opacity: 1;
  transform: none;
}

/* Selected at step n */
.s2 .sel2,
.s3 .sel3,
.s4 .sel4 {
  background: var(--b);
  color: #fff;
  transform: scale(1.04);
}

.seg .sel2,
.seg .sel3 {
  transform: none;
}

.s2 .seg .sel2,
.s3 .seg .sel3 {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.08);
}

.s2 .seg .off2,
.s3 .seg .off3 {
  background: none;
  color: var(--mut);
  box-shadow: none;
}

/* Glow at step n */
.glow2,
.glow3,
.glow4 {
  transition: box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.s2 .glow2,
.s3 .glow3,
.s4 .glow4 {
  box-shadow: 0 0 0 0.6cqw color-mix(in srgb, var(--b) 30%, transparent), 0 1.6cqw 4cqw color-mix(in srgb, var(--b) 28%, transparent);
  transform: scale(1.02);
}

/* Switch on / tick at step n */
.s2 .on2,
.s3 .on3,
.s4 .on4,
.s5 .on5 {
  background-color: var(--tc, var(--cc, #34c759));
  border-color: var(--cc, #34c759);
}

.s2 .toggle.on2::after,
.s3 .toggle.on3::after,
.s4 .toggle.on4::after {
  transform: translateX(4.4cqw);
}

.s2 .check.on2,
.s3 .check.on3,
.s4 .check.on4,
.s5 .check.on5 {
  background: var(--cc, #34c759) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
  transform: scale(1.1);
}

/* Press at step n */
.s2 .tap2,
.s3 .tap3,
.s4 .tap4 {
  animation: tap 0.5s ease;
}

@keyframes tap {
  50% {
    transform: scale(0.92);
    filter: brightness(0.92);
  }
}

/* Fill at s1: rings, bar charts and progress bars start empty */
.ring .fg {
  stroke-dashoffset: 100;
}

.s1 .ring .fg {
  stroke-dashoffset: calc(100 - var(--p, 70));
}

.chart i {
  transform: scaleY(0);
}

.s1 .chart i {
  transform: none;
}

.prog i {
  width: 0;
}

.s1 .prog i {
  width: var(--w, 50%);
}

/* A sweep of light across an element (a button working, a scan) */
.sweep3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  transform: scaleX(0);
  transform-origin: left;
}

.s3 .sweep3::before {
  transform: scaleX(1);
  transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

/* Gentle pulse that keeps going */
.pulse {
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.06);
    opacity: 0.85;
  }
}

/* ------------------------------------------- reduced motion: end state */
@media (prefers-reduced-motion: reduce) {
  .screen *,
  .screen *::before,
  .screen *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------------------------------------------- this app */

.screen.mv {
  --b: #5aa9e0;
  --b2: #2f6fa3;
  --sbg: #06080c;
  --ink: #f2f4f8;
  --mut: #8b93a3;
  --card: #1b1e25;
  --line: #2a2e37;
  background: radial-gradient(120% 50% at 50% 0%, #10151d, #050608 70%);
}

.mv .ic,
.mv .pill-btn {
  background: #23272f;
  color: #c8ced8;
  box-shadow: none;
}

.mv .pill-btn {
  color: var(--b);
}

.mv .tabbar {
  background: rgba(32, 35, 42, 0.92);
}

.mv .tabbar .on {
  color: #7bc0f0;
}

.mv .health {
  display: flex;
  align-items: center;
  gap: 4cqw;
  margin: 0 4.5cqw 2.4cqw;
  padding: 3.6cqw;
  border-radius: 4.4cqw;
  background: linear-gradient(120deg, #1f3044, #172230 60%, #1d2a3a);
}

.mv .health .ring > b {
  color: #fff;
  font-size: 8cqw;
  font-weight: 700;
}

.mv .health .ring > b small {
  color: var(--mut);
  font-size: 2.4cqw;
}

.mv .health small {
  display: block;
  color: var(--mut);
  font-size: 2.4cqw;
  letter-spacing: 0.08em;
}

.mv .health b.t {
  display: block;
  margin: 0.8cqw 0 1.2cqw;
  font-size: 4.2cqw;
}

.mv .ontrack {
  padding: 0.6cqw 2cqw;
  border-radius: 1.2cqw;
  background: rgba(255, 255, 255, 0.08);
  color: #b8c3d1;
  font-size: 2.3cqw;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mv .tile {
  background: var(--card);
  box-shadow: none;
}

.mv .tile b {
  font-size: 5cqw;
}

.mv .tile .t {
  color: var(--ink);
  font-size: 2.7cqw;
}

.mv .kc {
  box-shadow: none;
}

.mv .disc {
  padding: 3cqw 3.4cqw;
}

.mv .disc .h {
  display: flex;
  justify-content: space-between;
  font-size: 3.2cqw;
  font-weight: 600;
}

.mv .disc .h em {
  padding: 0.2cqw 1.6cqw;
  border-radius: 1cqw;
  background: #2d3340;
  color: var(--mut);
  font-size: 2.3cqw;
  font-style: normal;
}

.mv .disc .row {
  padding: 1.8cqw 0;
  border: 0;
  font-size: 2.9cqw;
}

.mv .car {
  position: relative;
  height: 32cqw;
  margin: 0 4.5cqw 2cqw;
  border-radius: 4.4cqw;
  background: radial-gradient(80% 90% at 50% 100%, #2c3c52, #12161d 70%);
  overflow: hidden;
}

.mv .car svg {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 9%;
  width: 80%;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateX(-110%);
}

.mv.s1 .car svg {
  transform: none;
}

.mv .car .tier {
  position: absolute;
  top: 3cqw;
  right: 3cqw;
  padding: 1cqw 2.4cqw;
  border-radius: 99px;
  background: linear-gradient(90deg, #a8d8f0, #e1f3fb);
  color: #1d4f6e;
  font-size: 2.5cqw;
  font-weight: 700;
}

.mv .model {
  display: flex;
  justify-content: space-between;
  margin: 0 5cqw 2.4cqw;
  font-size: 3.2cqw;
  font-weight: 600;
}

.mv .model small {
  display: block;
  color: var(--mut);
  font-size: 2.3cqw;
  font-weight: 400;
  text-align: right;
}

.mv .brief {
  padding: 3cqw 3.4cqw;
  font-size: 2.9cqw;
  color: #c9cfd9;
}

.mv .brief b {
  display: block;
  margin-bottom: 1.4cqw;
  color: var(--ink);
  font-size: 3.3cqw;
}

.mv .brief .tip {
  margin-top: 1.6cqw;
  padding: 1.6cqw 2.4cqw;
  border-radius: 2cqw;
  background: #2a2716;
  color: #e7cf7a;
  font-size: 2.5cqw;
}

.mv .ok {
  padding: 0.6cqw 1.8cqw;
  border-radius: 1cqw;
  background: #183324;
  color: #4fd08a;
  font-size: 2.3cqw;
  font-weight: 700;
}

.mv .year {
  position: relative;
  margin: 0 4.5cqw 3cqw;
  padding: 3.6cqw;
  border-radius: 4.4cqw;
  background: linear-gradient(140deg, #2b4a6d, #182b42);
}

.mv .year small {
  color: #a9b9cc;
  font-size: 2.3cqw;
  letter-spacing: 0.08em;
}

.mv .year .big {
  margin: 3cqw 0 2.4cqw;
}

.mv .year .k {
  display: flex;
  gap: 6cqw;
  font-size: 3cqw;
  font-weight: 600;
}

.mv .year .k small {
  display: block;
  letter-spacing: 0;
}

.mv .year svg {
  position: absolute;
  top: 3cqw;
  right: 3cqw;
  width: 22cqw;
}

.mv .h3 {
  margin: 0 5cqw 1.6cqw;
  font-size: 3.4cqw;
  font-weight: 700;
}

.mv .cdot::before {
  content: '';
  display: inline-block;
  width: 1.6cqw;
  height: 1.6cqw;
  margin-right: 1.2cqw;
  border-radius: 50%;
  background: var(--b);
}

.mv .mchart {
  padding: 3cqw;
}

.mv .mchart .chart {
  --ch: 26cqw;
  gap: 1.6cqw;
  padding: 0 1cqw 0 8cqw;
  background: repeating-linear-gradient(to top, #2a2e37 0 0.2cqw, transparent 0.2cqw 6.5cqw);
}

.mv .mchart .chart i {
  background: #5aa9e0;
  border-radius: 0.6cqw 0.6cqw 0 0;
}

.mv .war {
  padding: 3.2cqw 3.6cqw;
}

.mv .war .top {
  display: flex;
  align-items: center;
  gap: 3cqw;
}

.mv .war .top > div {
  flex: 1;
  font-size: 3.2cqw;
  font-weight: 600;
}

.mv .war .top small {
  display: block;
  color: var(--mut);
  font-size: 2.4cqw;
  font-weight: 400;
}

.mv .war .days {
  color: #4fd08a;
  font-size: 4.2cqw;
  font-weight: 700;
  text-align: right;
}

.mv .war .days small {
  font-size: 2.2cqw;
}

.mv .war .prog {
  height: 1.2cqw;
  margin-top: 2.4cqw;
}

.mv .war .prog i {
  background: #4fd08a;
}

.mv .veh {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3cqw 3.4cqw;
  font-size: 3.2cqw;
  font-weight: 600;
}

.mv .veh svg {
  width: 13cqw;
  flex: none;
}

.mv .veh small {
  display: block;
  color: var(--mut);
  font-size: 2.4cqw;
  font-weight: 400;
}

.mv .veh .mi {
  margin-left: auto;
  color: #c9cfd9;
  font-size: 2.9cqw;
  font-weight: 500;
}

.mv .ins3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2cqw;
  font-size: 3.6cqw;
  font-weight: 700;
}

.mv .ins3 small {
  display: block;
  color: var(--mut);
  font-size: 2.3cqw;
  font-weight: 400;
}

.mv .grp {
  margin: 2.4cqw 5cqw 1.4cqw;
  color: var(--mut);
  font-size: 2.5cqw;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.mv .hand {
  margin: 3cqw auto 1cqw;
  color: #4fd08a;
  font-size: 9cqw;
  text-align: center;
}

.mv .lock {
  color: #4fd08a;
}

.mv .pledge .li {
  display: flex;
  align-items: center;
  gap: 2cqw;
  margin-top: 1.4cqw;
  font-size: 2.7cqw;
}

.mv .pledge .check {
  width: 4cqw;
  height: 4cqw;
}

.mv .sheet {
  background: #1a1d24;
}
