.cm-preview-illustration {
  display: none;
  width: 100%;
  margin: 0;
  color: #102039;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.25;
}

.cm-preview-illustration *,
.cm-preview-illustration *::before,
.cm-preview-illustration *::after {
  box-sizing: border-box;
}

.cm-preview-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 8px 8px 12px;
}

.cm-preview-device {
  --cm-preview-scale: 1;
  position: relative;
  flex: 0 0 auto;
  width: calc(180px * var(--cm-preview-scale));
  height: calc(365px * var(--cm-preview-scale));
}

.cm-preview-shell {
  position: relative;
  width: 180px;
  height: 365px;
  padding: 5px;
  border: 1px solid #b9c4cb;
  border-radius: 30px;
  background: linear-gradient(105deg, #b5c0c6 0%, #20262c 3%, #070b10 11%, #0b1118 84%, #6f7982 96%, #dde4e8 100%);
  box-shadow: 0 12px 15px -6px #143a5152, 2px 3px 0 #30445145, inset 0 0 0 2px #080c12;
  transform: scale(var(--cm-preview-scale));
  transform-origin: top left;
}

.cm-preview-shell::before,
.cm-preview-shell::after {
  position: absolute;
  content: "";
  width: 2px;
  background: linear-gradient(#a6b1ba, #4c5965);
  border-radius: 2px;
}

.cm-preview-shell::before { top: 66px; left: -2px; height: 38px; }
.cm-preview-shell::after { top: 83px; right: -2px; height: 30px; }

.cm-preview-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 168px;
  height: 353px;
  overflow: hidden;
  border-radius: 24px;
  background: #f2f7fe;
  isolation: isolate;
}

.cm-preview-status {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  padding: 5px 12px 0;
  color: #fff;
  background: #075eff;
  font-size: 7px;
  font-weight: 700;
}

.cm-preview-island {
  position: absolute;
  top: 5px;
  left: 57px;
  width: 54px;
  height: 14px;
  border-radius: 20px;
  background: #080d15;
  box-shadow: inset 0 -1px 1px #28303b;
}

.cm-preview-status-icons { display: flex; align-items: center; gap: 3px; font-size: 6px; }
.cm-preview-battery { width: 10px; height: 5px; border: 1px solid #ffffffa6; border-radius: 1px; background: #fff; box-shadow: 2px 0 0 -1px #fff; }

.cm-preview-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: 31px;
  padding: 2px 11px 7px;
  color: #fff;
  background: #075eff;
  font-size: 13px;
  font-weight: 700;
}

.cm-preview-header svg { display: block; width: 13px; height: 13px; opacity: .9; }
.cm-preview-tabs { display: flex; flex-shrink: 0; justify-content: space-around; height: 26px; padding: 0 5px; border-bottom: 1px solid #e0e9f5; color: #778297; background: #fff; font-size: 7px; font-weight: 600; }
.cm-preview-tabs > span { display: flex; align-items: center; padding: 2px 4px 0; }
.cm-preview-tab-active { color: #065bf4; border-bottom: 2px solid #065bf4; }

.cm-preview-task-list { display: flex; flex: 1; flex-direction: column; gap: 7px; min-height: 0; padding: 8px 8px 7px; }
.cm-preview-task { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 0; padding: 7px; border: 1px solid #e4ecf8; border-radius: 9px; background: #fff; box-shadow: 0 2px 4px #25416704; }
.cm-preview-task-main { display: flex; align-items: center; gap: 6px; }
.cm-preview-task-icon { display: flex; flex: 0 0 27px; align-items: center; justify-content: center; height: 28px; border-radius: 7px; color: #005cf6; background: #e6f3ff; }
.cm-preview-task-icon svg { display: block; width: 19px; height: 19px; }
.cm-preview-task-icon-purple { color: #7251ea; background: #f0ebff; }
.cm-preview-task-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.cm-preview-task-copy strong { font-size: 9px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.cm-preview-task-copy > span { color: #66768e; font-size: 7.5px; }
.cm-preview-chevron { color: #7c8ca1; font-size: 16px; line-height: 1; }
.cm-preview-task-bottom { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-top: 6px; }
.cm-preview-approved, .cm-preview-pending { padding: 2px 5px; border-radius: 4px; font-size: 6.5px; font-weight: 700; line-height: 1.2; }
.cm-preview-approved { color: #07845e; background: #def8ed; }
.cm-preview-pending { color: #a76305; background: #fff0cd; }
.cm-preview-task-note { color: #78869b; font-size: 6px; }

.cm-preview-navigation { display: grid; flex-shrink: 0; grid-template-columns: repeat(5, 1fr); height: 35px; padding: 5px 3px 1px; border-top: 1px solid #e6edf6; color: #8590a2; background: #fff; }
.cm-preview-navigation > span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 5px; font-weight: 600; white-space: nowrap; }
.cm-preview-navigation svg { display: block; width: 11px; height: 11px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cm-preview-nav-active { color: #065dff; }
.cm-preview-home-indicator { position: relative; flex-shrink: 0; height: 11px; background: #fff; }
.cm-preview-home-indicator::after { position: absolute; bottom: 4px; left: 55px; width: 58px; height: 3px; border-radius: 8px; background: #10151d; content: ""; }

.cm-preview-wallet-content { display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 0; padding: 10px 9px 7px; }
.cm-preview-balance-card { padding: 8px; border: 1px solid #e1eafa; border-radius: 8px; background: #fff; box-shadow: 0 3px 8px #17487808; }
.cm-preview-balance-label { display: block; color: #788398; font-size: 7px; }
.cm-preview-balance { display: block; margin-top: 2px; color: #065dff; font-size: 25px; font-weight: 750; letter-spacing: -.8px; line-height: 1.05; }
.cm-preview-available { display: block; margin-top: 3px; color: #068265; font-size: 6.5px; }
.cm-preview-action { display: flex; align-items: center; justify-content: space-between; height: 23px; margin-top: 8px; padding: 0 7px; border-radius: 5px; color: #fff; background: #075eff; font-size: 7px; font-weight: 600; }
.cm-preview-action > span { font-size: 11px; }
.cm-preview-wallet-rows { overflow: hidden; border: 1px solid #e5ecf7; border-radius: 8px; background: #fff; }
.cm-preview-wallet-row { display: flex; align-items: center; gap: 5px; height: 29px; padding: 0 7px; color: #65758f; font-size: 7px; }
.cm-preview-wallet-row + .cm-preview-wallet-row { border-top: 1px solid #eff3f9; }
.cm-preview-wallet-row > strong { margin-left: auto; color: #253650; font-size: 8px; font-weight: 700; }
.cm-preview-row-icon { display: flex; flex: 0 0 13px; align-items: center; justify-content: center; height: 13px; border-radius: 50%; font-size: 8px; font-weight: 700; }
.cm-preview-row-approved { color: #008364; background: #e1f7ef; }
.cm-preview-row-pending { color: #b67a16; background: #fff1d6; }
.cm-preview-row-withdrawn { color: #76829b; background: #edf1f7; }
.cm-preview-credited { display: flex; justify-content: space-between; gap: 5px; padding: 0 4px; color: #75839a; font-size: 7px; }
.cm-preview-credited > strong { color: #445b76; font-weight: 600; }

.cm-preview-caption { margin: 0; padding: 0; color: #627d95; text-align: center; font-size: 10px; font-weight: 400; line-height: 15px; }

@media (min-width: 701px) {
  .cm-preview-illustration { display: block; }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .cm-preview-device { --cm-preview-scale: .8333333333; }
  .cm-preview-pair { gap: 16px; padding: 8px 4px 10px; }
  .cm-preview-caption { font-size: 9px; }
}

@media (min-width: 1101px) {
  .cm-preview-device { --cm-preview-scale: 1.1; }
}
