body {
  background: #131d38 !important;
}

.ui-dialog {
  box-sizing: border-box;
  max-width: calc(100vw - 16px);
}

.cst-my {
  --cst-my-text: #e8eef6;
  --cst-my-muted: #93a0b3;
  --cst-my-head: #9aabbe;
  --cst-my-line: rgba(148, 163, 184, 0.16);
  --cst-my-panel: #121a27;
  --cst-my-panel-border: #2a384c;
  --cst-my-card: #152033;
  --cst-my-yellow: #f5c518;
  --cst-my-green: #3dd68c;
  --cst-my-red: #ff6b7a;
  --cst-my-blue: #3b82f6;
  --cst-my-warn: #e0b15a;
  color: var(--cst-my-text);
  color-scheme: dark;
  padding: 4px 28px 32px;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.4;
}

.cst-my,
.cst-my * {
  box-sizing: border-box;
}

.cst-my [hidden] {
  display: none !important;
}

.cst-my-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cst-my button:focus-visible,
.cst-my a:focus-visible,
.cst-my select:focus-visible {
  outline: 2px solid #8eb6ff;
  outline-offset: 2px;
}

.cst-my-nav {
  margin: 0 0 8px;
}

.cst-my-nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--cst-my-panel-border);
  border-radius: 10px;
  background: var(--cst-my-card);
  color: var(--cst-my-text);
  font: inherit;
  font-weight: 650;
  text-align: left;
}

.cst-my-nav-kicker {
  color: var(--cst-my-muted);
  font-weight: 500;
}

.cst-my-nav-current {
  flex: 1 1 auto;
}

.cst-my-nav-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cst-my-muted);
  border-bottom: 2px solid var(--cst-my-muted);
  transform: rotate(45deg);
  transition: transform 0.22s ease, margin-top 0.22s ease;
}

.cst-my-nav.is-open .cst-my-nav-caret {
  transform: rotate(225deg);
  margin-top: 4px;
}

.cst-my-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
}

.cst-my-nav-links a {
  color: var(--cst-my-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 0 8px;
  outline: none;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.cst-my-nav-links a:hover,
.cst-my-nav-links a:focus,
.cst-my-nav-links a:active {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.cst-my-nav-links a:hover {
  box-shadow: inset 0 -2px 0 rgba(245, 197, 24, 0.75);
}

.cst-my-nav-links a:focus,
.cst-my-nav-links a:focus-visible,
.cst-my-nav-links a:active {
  outline: none;
  box-shadow: none;
}

.cst-my-nav-links a:focus-visible {
  box-shadow: inset 0 -2px 0 var(--cst-my-yellow);
}

.cst-my-nav-links a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--cst-my-yellow);
}

.cst-my-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 10px 0 14px;
}

.cst-my-header--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cst-my-filter {
  margin-left: auto;
}

.cst-my-title {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cst-my-filter select {
  appearance: none;
  min-width: 148px;
  height: 34px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--cst-my-panel-border);
  border-radius: 8px;
  background-color: #1a2433;
  background-image: linear-gradient(45deg, transparent 50%, #9aabbe 50%), linear-gradient(135deg, #9aabbe 50%, transparent 50%);
  background-position: calc(100% - 16px) 14px, calc(100% - 11px) 14px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--cst-my-text);
  font: inherit;
}

.cst-my-balance-now {
  margin: 0 0 0 auto;
  text-align: right;
}

.cst-my-balance-label {
  display: block;
  color: var(--cst-my-muted);
  font-size: 12px;
}

.cst-my-balance-now strong {
  color: var(--cst-my-yellow);
  font-size: 22px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.cst-my-note {
  margin: -4px 0 8px;
  color: var(--cst-my-muted);
  font-size: 13px;
}

.cst-my-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--cst-my-muted);
  font-size: 13px;
}

.cst-my-scroll-hint-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.cst-my-scroll-hint-icon::before,
.cst-my-scroll-hint-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.cst-my-scroll-hint-icon::before {
  left: -1px;
  transform: rotate(-135deg);
}

.cst-my-scroll-hint-icon::after {
  right: -1px;
  transform: rotate(45deg);
}

.cst-my-note--callout {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid #3d5270;
  border-left: 3px solid var(--cst-my-yellow);
  border-radius: 10px;
  background: #182536;
  color: var(--cst-my-text);
  line-height: 1.45;
}

.cst-my-panel {
  border: 1px solid var(--cst-my-panel-border);
  border-radius: 12px;
  background: var(--cst-my-panel);
}

.cst-my-head,
.cst-my-entry {
  display: grid;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  padding: 0 14px;
}

.cst-my-head {
  min-height: 36px;
  color: var(--cst-my-head);
  font-size: 12px;
  font-weight: 650;
}


.cst-my-list--trades .cst-my-entry,
.cst-my-list--balance .cst-my-entry,
.cst-my-list--topups .cst-my-entry,
.cst-my-list--investments .cst-my-entry {
  min-height: 32px;
}

.cst-my .invest-icon-white {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: -6px;
}

.cst-my .cs-invest-open:focus-visible {
  outline: none;
}

.cst-my-list--reservations .cst-my-entry {
  min-height: 48px;
}

.cst-my-entry {
  background-color: rgba(255, 255, 255, 0);
  box-shadow: inset 0 1px 0 var(--cst-my-line);
  transition: background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cst-my-entry:hover {
    background-color: rgba(255, 255, 255, 0.06);
  }
}

.cst-my-cell {
  min-width: 0;
  padding: 6px 0;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.cst-my-cell--num,
.cst-my-head .cst-my-cell--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cst-my-cell--end,
.cst-my-head .cst-my-cell--end {
  text-align: right;
}

.cst-my .operation-value.income {
  color: var(--cst-my-green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cst-my .operation-value.outcome {
  color: var(--cst-my-red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cst-my-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cst-my-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: normal;
  text-align: left;
  vertical-align: middle;
}

.cst-my-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.cst-my-status--success { color: var(--cst-my-green); }
.cst-my-status--info { color: #7eb6ff; }
.cst-my-status--warn { color: var(--cst-my-warn); }
.cst-my-status--danger { color: var(--cst-my-red); }
.cst-my-status--muted { color: #9aa6b4; }

.cst-my a.cst-my-link.btn {
  display: inline;
  float: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #8eb6ff;
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  white-space: normal;
}

.cst-my a.cst-my-link.btn:hover,
.cst-my a.cst-my-link.btn:focus {
  color: #d5e4ff;
  background: transparent;
  text-decoration: none;
}

.cst-my button.cst-my-danger.btn {
  float: none;
  border-color: #8f3542;
  border-radius: 6px;
  background: #8f3542;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.cst-my button.cst-my-danger.btn:hover,
.cst-my button.cst-my-danger.btn:focus {
  background: #a34351;
  color: #fff;
}

.cst-my .cancel-spinner {
  display: none;
  margin-right: 8px;
  color: var(--cst-my-muted);
}

.cst-my-detail-label {
  display: none;
  color: var(--cst-my-muted);
}

.cst-my-inline-label {
  display: none;
}

.cst-my-toggle {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #b7c5d6;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}

.cst-my-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
}

.cst-my-entry.is-open .cst-my-chevron {
  transform: rotate(225deg) translateY(-1px);
}

.cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-toggle {
  display: inline-flex;
}

.cst-my-list--reservations .cst-my-cell--extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: 4px;
  padding-bottom: 8px;
}

.cst-my-list--reservations .cst-my-detail-label {
  display: block;
}

.cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-cell--extra {
  display: none;
}

.cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-entry.is-open .cst-my-cell--extra {
  display: flex;
}

.cst-my-cell--item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cst-my .reservation-item-icon-small {
  width: 64px;
  max-width: 64px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.cst-my-skin {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cst-my-skin-name {
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
}

.cst-my-skin-wear {
  color: var(--cst-my-muted);
  font-size: 12px;
  line-height: 1.3;
}

.cst-my-res-id {
  color: var(--cst-my-text);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.cst-my-flag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #6a4a12;
  color: #f6d48a;
  font-size: 11px;
  font-weight: 700;
}

.cst-my .info-icon {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border: 1px solid #8aa0b8;
  border-radius: 50%;
  background: #0e1622;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  vertical-align: middle;
  cursor: help;
}

.cst-my .info-icon .tooltip-info-icon {
  display: none;
  position: absolute;
  z-index: 30;
  bottom: 24px;
  left: 50%;
  width: min(260px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 8px 10px;
  border-radius: 6px;
  background: #243246;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  overflow: auto;
  transform: translateX(-50%);
}

.cst-my .info-icon.is-tip-open .tooltip-info-icon {
  display: block;
}

.cst-my-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e29522;
  line-height: 0;
  cursor: pointer;
}

.cst-my .question-mark-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e29522;
}

.cst-my-empty {
  margin: 0;
  padding: 18px 14px;
  color: var(--cst-my-muted);
}

.cst-my-pager--bottom {
  display: none;
}

.cst-my-pager {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 40px;
  margin: 0 0 12px;
  color: var(--cst-my-muted);
  font-variant-numeric: tabular-nums;
}

.cst-my-pager-range {
  margin: 0;
}

.cst-my-pager-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cst-my-page {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #1a2433;
  color: var(--cst-my-text);
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.cst-my-page:hover:not(:disabled):not([aria-current="page"]) {
  background: #243246;
  border-color: #3d5270;
  color: #fff;
}

.cst-my-page[aria-current="page"] {
  background: var(--cst-my-blue);
  color: #fff;
}

.cst-my-page[aria-current="page"]:hover:not(:disabled) {
  background: #4c8ef0;
}

.cst-my-page:disabled {
  opacity: 0.38;
  cursor: default;
}

.cst-my-pager-gap {
  min-width: 20px;
  text-align: center;
}

.cst-my-scroll {
  position: relative;
}

@media (min-width: 768px) {
  .cst-my-scroll {
    overflow-x: auto;
  }

  .cst-my-list--trades .cst-my-head,
  .cst-my-list--trades .cst-my-entry {
    grid-template-columns: 168px minmax(120px, 1.15fr) minmax(88px, 0.75fr) minmax(88px, 0.75fr) minmax(88px, 0.7fr) 118px minmax(120px, 0.9fr) minmax(132px, 0.85fr);
    min-width: 1080px;
  }

  .cst-my-list--trades .cst-my-cell--date { grid-column: 1; }
  .cst-my-list--trades .cst-my-cell--type { grid-column: 2; }
  .cst-my-list--trades .cst-my-cell--user { grid-column: 3; }
  .cst-my-list--trades .cst-my-cell--bot { grid-column: 4; }
  .cst-my-list--trades .cst-my-cell--bonus { grid-column: 5; }
  .cst-my-list--trades .cst-my-cell--change { grid-column: 6; }
  .cst-my-list--trades .cst-my-cell--status { grid-column: 7; }
  .cst-my-list--trades .cst-my-cell--offer { grid-column: 8; }

  .cst-my-list--trades .cst-my-cell--date,
  .cst-my-list--trades .cst-my-cell--type,
  .cst-my-list--trades .cst-my-cell--user,
  .cst-my-list--trades .cst-my-cell--bot,
  .cst-my-list--trades .cst-my-cell--bonus,
  .cst-my-list--trades .cst-my-cell--change,
  .cst-my-list--trades .cst-my-cell--status,
  .cst-my-list--trades .cst-my-cell--offer {
    grid-row: 1;
  }

  .cst-my-list--balance .cst-my-head,
  .cst-my-list--balance .cst-my-entry {
    grid-template-columns: 168px 130px minmax(120px, 1fr) minmax(120px, 1fr) minmax(220px, 1.4fr);
    min-width: 860px;
  }

  .cst-my-list--topups .cst-my-head,
  .cst-my-list--topups .cst-my-entry {
    grid-template-columns: minmax(120px, 1.1fr) 168px 120px minmax(120px, 1fr) minmax(150px, 1.1fr) 120px 110px;
    min-width: 1020px;
  }

  .cst-my-list--investments .cst-my-head,
  .cst-my-list--investments .cst-my-entry {
    grid-template-columns: 140px 80px 100px 150px 168px 168px minmax(120px, 1fr);
    min-width: 980px;
  }

  .cst-my-list--reservations .cst-my-head,
  .cst-my-list--reservations .cst-my-entry {
    grid-template-columns:
      100px
      minmax(180px, 1.6fr)
      100px
      156px
      96px
      96px
      108px
      minmax(156px, 0.8fr)
      156px
      minmax(140px, 0.9fr)
      140px
      140px;
    min-width: 1560px;
  }

  .cst-my-details,
  .cst-my.cst-my-enhanced .cst-my-details,
  .cst-my.cst-my-enhanced .cst-my-entry.is-open .cst-my-details {
    display: contents;
  }

  .cst-my-list--reservations .cst-my-cell--rid { grid-column: 1; }
  .cst-my-list--reservations .cst-my-cell--item { grid-column: 2; }
  .cst-my-list--reservations .cst-my-cell--res-new { grid-column: 3; }
  .cst-my-list--reservations .cst-my-cell--date { grid-column: 4; }
  .cst-my-list--reservations .cst-my-cell--amount { grid-column: 5; }
  .cst-my-list--reservations .cst-my-cell--res-price { grid-column: 6; }
  .cst-my-list--reservations .cst-my-cell--res-returned { grid-column: 7; }
  .cst-my-list--reservations .cst-my-cell--res-lock { grid-column: 8; }
  .cst-my-list--reservations .cst-my-cell--auto { grid-column: 9; }
  .cst-my-list--reservations .cst-my-cell--status { grid-column: 10; }
  .cst-my-list--reservations .cst-my-cell--res-cancel { grid-column: 11; }
  .cst-my-list--reservations .cst-my-cell--res-offer { grid-column: 12; }

  .cst-my-list--reservations .cst-my-cell--rid,
  .cst-my-list--reservations .cst-my-cell--item,
  .cst-my-list--reservations .cst-my-cell--res-new,
  .cst-my-list--reservations .cst-my-cell--date,
  .cst-my-list--reservations .cst-my-cell--amount,
  .cst-my-list--reservations .cst-my-cell--res-price,
  .cst-my-list--reservations .cst-my-cell--res-returned,
  .cst-my-list--reservations .cst-my-cell--res-lock,
  .cst-my-list--reservations .cst-my-cell--auto,
  .cst-my-list--reservations .cst-my-cell--status,
  .cst-my-list--reservations .cst-my-cell--res-cancel,
  .cst-my-list--reservations .cst-my-cell--res-offer {
    grid-row: 1;
  }

  .cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-cell--extra {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
  }

  .cst-my-list--reservations .cst-my-detail-label {
    display: none;
  }

  .cst-my-list--reservations .cst-my-cell--res-price,
  .cst-my-list--reservations .cst-my-cell--res-returned {
    justify-content: flex-end;
  }

  .cst-my-list--reservations .cst-my-cell--date,
  .cst-my-list--reservations .cst-my-cell--auto,
  .cst-my-list--reservations .cst-my-cell--rid {
    white-space: nowrap;
  }

  .cst-my-list--reservations .cst-my-cell--toggle,
  .cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-toggle {
    display: none;
  }

  .cst-my-list--reservations .cst-my-cell--res-cancel .cst-my-danger,
  .cst-my-list--reservations .cst-my-cell--res-offer .cst-my-link {
    white-space: normal;
  }

  .cst-my-list--trades .cst-my-cell--toggle,
  .cst-my-list--balance .cst-my-cell--toggle,
  .cst-my-list--topups .cst-my-cell--toggle,
  .cst-my-list--investments .cst-my-cell--toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .cst-my {
    padding: 4px 16px 24px;
  }

  .cst-my-nav-toggle {
    display: flex;
  }

  .cst-my.cst-my-enhanced .cst-my-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--cst-my-card);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, margin-top 0.28s ease, padding 0.28s ease, border-color 0.2s ease;
  }

  .cst-my.cst-my-enhanced .cst-my-nav.is-open .cst-my-nav-links {
    max-height: 320px;
    margin-top: 8px;
    padding: 6px;
    border-color: var(--cst-my-panel-border);
    opacity: 1;
    pointer-events: auto;
  }

  .cst-my-nav-links a {
    padding: 10px 8px;
  }

  .cst-my-nav-links a:hover,
  .cst-my-nav-links a:focus-visible,
  .cst-my-nav-links a[aria-current="page"] {
    box-shadow: none;
    border-radius: 8px;
    background: rgba(245, 197, 24, 0.12);
  }

  .cst-my-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .cst-my .cs-invest-open {
    align-self: flex-start;
  }

  .cst-my-title {
    font-size: 26px;
  }

  .cst-my-filter,
  .cst-my-filter select,
  .cst-my-balance-now {
    width: 100%;
  }

  .cst-my-balance-now {
    padding: 12px 14px;
    border: 1px solid var(--cst-my-panel-border);
    border-radius: 12px;
    background: var(--cst-my-card);
    text-align: left;
  }

  .cst-my-balance-now strong {
    display: block;
    margin-top: 2px;
    font-size: 28px;
  }

  .cst-my-head {
    display: none;
  }

  .cst-my-scroll {
    overflow: visible;
  }

  .cst-my-panel {
    border: 0;
    background: transparent;
  }

  .cst-my-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cst-my-entry {
    min-width: 0 !important;
    padding: 12px 14px;
    border: 1px solid var(--cst-my-panel-border);
    border-radius: 12px;
    background: var(--cst-my-card);
    box-shadow: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .cst-my-entry:hover {
      background-color: #1e2c42;
    }
  }

  .cst-my-list--trades .cst-my-entry,
  .cst-my-list--balance .cst-my-entry,
  .cst-my-list--topups .cst-my-entry,
  .cst-my-list--reservations .cst-my-entry,
  .cst-my-list--investments .cst-my-entry {
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
  }

  .cst-my-list--trades .cst-my-entry {
    grid-template-areas:
      "type change"
      "date date"
      "status toggle"
      "details details";
  }

  .cst-my-list--balance .cst-my-entry {
    grid-template-areas:
      "description change"
      "date date"
      "before before"
      "after after";
  }

  .cst-my-list--balance .cst-my-cell--toggle {
    display: none;
  }

  .cst-my-list--balance .cst-my-cell--description,
  .cst-my-list--balance .cst-my-cell--change {
    align-self: center;
  }

  .cst-my-list--balance .cst-my-cell--change {
    white-space: nowrap;
  }

  .cst-my-list--topups .cst-my-entry {
    grid-template-areas:
      "id id"
      "amount status"
      "date date"
      "payment payment"
      "gateway gateway"
      "total total";
  }

  .cst-my-list--topups .cst-my-cell--toggle {
    display: none;
  }

  .cst-my-list--investments .cst-my-entry {
    grid-template-areas:
      "amount status"
      "start start"
      "finish finish"
      "days days"
      "interest interest"
      "return return";
  }

  .cst-my-list--investments .cst-my-cell--toggle {
    display: none;
  }

  .cst-my-cell--days { grid-area: days; }
  .cst-my-cell--interest { grid-area: interest; }
  .cst-my-cell--return { grid-area: return; }
  .cst-my-cell--start { grid-area: start; }

  .cst-my-list--reservations .cst-my-entry {
    grid-template:
      "rid rid" auto
      "item amount" auto
      "status toggle" auto
      "date date" auto
      "auto auto" auto
      "details details" auto
      / minmax(0, 1fr) auto;
  }

  .cst-my-details {
    grid-area: details;
    display: block;
  }

  .cst-my.cst-my-enhanced .cst-my-details {
    display: none;
  }

  .cst-my.cst-my-enhanced .cst-my-entry.is-open .cst-my-details {
    display: block;
  }

  .cst-my-cell--type { grid-area: type; }
  .cst-my-cell--change { grid-area: change; }
  .cst-my-cell--date { grid-area: date; }
  .cst-my-cell--status { grid-area: status; }
  .cst-my-cell--toggle { grid-area: toggle; }
  .cst-my-cell--user { grid-area: user; }
  .cst-my-cell--bot { grid-area: bot; }
  .cst-my-cell--bonus { grid-area: bonus; }
  .cst-my-cell--offer { grid-area: offer; }
  .cst-my-cell--description { grid-area: description; }
  .cst-my-cell--before { grid-area: before; }
  .cst-my-cell--after { grid-area: after; }
  .cst-my-cell--amount { grid-area: amount; }
  .cst-my-cell--id { grid-area: id; }
  .cst-my-cell--total { grid-area: total; }
  .cst-my-cell--payment { grid-area: payment; }
  .cst-my-cell--gateway { grid-area: gateway; }
  .cst-my-cell--item { grid-area: item; }
  .cst-my-cell--finish { grid-area: finish; }
  .cst-my-cell--rid { grid-area: rid; }
  .cst-my-cell--auto { grid-area: auto; }

  .cst-my-list--reservations .cst-my-cell--rid,
  .cst-my-list--reservations .cst-my-cell--date,
  .cst-my-list--topups .cst-my-cell--id,
  .cst-my-list--topups .cst-my-cell--date,
  .cst-my-list--topups .cst-my-cell--payment,
  .cst-my-list--topups .cst-my-cell--gateway,
  .cst-my-list--topups .cst-my-cell--total,
  .cst-my-list--investments .cst-my-cell--start,
  .cst-my-list--investments .cst-my-cell--finish,
  .cst-my-list--investments .cst-my-cell--days,
  .cst-my-list--investments .cst-my-cell--interest,
  .cst-my-list--investments .cst-my-cell--return,
  .cst-my-list--balance .cst-my-cell--date,
  .cst-my-list--balance .cst-my-cell--before,
  .cst-my-list--balance .cst-my-cell--after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .cst-my-list--topups .cst-my-cell--date,
  .cst-my-list--topups .cst-my-cell--payment,
  .cst-my-list--topups .cst-my-cell--gateway,
  .cst-my-list--topups .cst-my-cell--total,
  .cst-my-list--balance .cst-my-cell--date,
  .cst-my-list--balance .cst-my-cell--before,
  .cst-my-list--balance .cst-my-cell--after {
    color: var(--cst-my-text);
  }

  .cst-my-list--topups .cst-my-cell--id > span:last-child,
  .cst-my-list--topups .cst-my-cell--date > span:last-child,
  .cst-my-list--topups .cst-my-cell--payment > span:last-child,
  .cst-my-list--topups .cst-my-cell--gateway > span:last-child,
  .cst-my-list--topups .cst-my-cell--total > span:last-child,
  .cst-my-list--investments .cst-my-cell--start > span:last-child,
  .cst-my-list--investments .cst-my-cell--finish > span:last-child,
  .cst-my-list--investments .cst-my-cell--days > span:last-child,
  .cst-my-list--investments .cst-my-cell--interest > span:last-child,
  .cst-my-list--investments .cst-my-cell--return > span:last-child,
  .cst-my-list--balance .cst-my-cell--date > span:last-child,
  .cst-my-list--balance .cst-my-cell--before > span:last-child,
  .cst-my-list--balance .cst-my-cell--after > span:last-child {
    text-align: right;
  }

  .cst-my-list--reservations .cst-my-cell--rid {
    color: var(--cst-my-muted);
  }

  .cst-my-cell--num,
  .cst-my-cell--end {
    text-align: left;
  }

  .cst-my-list--trades .cst-my-cell--change,
  .cst-my-list--topups .cst-my-cell--status,
  .cst-my-list--investments .cst-my-cell--status,
  .cst-my-list--reservations .cst-my-cell--amount,
  .cst-my-cell--toggle {
    text-align: right;
  }

  .cst-my-list--trades .cst-my-cell--type,
  .cst-my-list--balance .cst-my-cell--description,
  .cst-my-list--topups .cst-my-cell--amount,
  .cst-my-list--investments .cst-my-cell--amount,
  .cst-my-list--balance .cst-my-cell--change {
    font-size: 16px;
    font-weight: 750;
  }

  .cst-my-cell--date {
    color: var(--cst-my-muted);
  }

  .cst-my-cell--extra {
    grid-column: 1 / -1;
  }

  .cst-my-detail-label,
  .cst-my-inline-label {
    display: block;
    color: var(--cst-my-muted);
  }

  .cst-my-list--trades .cst-my-cell--extra,
  .cst-my-list--balance .cst-my-cell--extra,
  .cst-my-list--topups .cst-my-cell--extra,
  .cst-my-list--reservations .cst-my-cell--extra,
  .cst-my-list--investments .cst-my-cell--extra,
  .cst-my-cell--auto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: none;
    text-align: left;
  }

  .cst-my.cst-my-enhanced .cst-my-cell--extra {
    display: none;
  }

  .cst-my.cst-my-enhanced .cst-my-entry.is-open .cst-my-cell--extra {
    display: flex;
  }

  .cst-my.cst-my-enhanced .cst-my-toggle {
    display: inline-flex;
  }

  .cst-my-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .cst-my-list--reservations .cst-my-toggle-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }

  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-entry.is-open .cst-my-cell--offer {
    display: block;
  }

  .cst-my-list--trades .cst-my-cell--offer .cst-my-detail-label {
    display: block;
    margin-bottom: 6px;
  }

  .cst-my-list--trades .cst-my-cell--offer .cst-my-link,
  .cst-my a.cst-my-link.btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #24344c;
    color: #d6e6ff;
  }

  .cst-my-pager {
    align-items: stretch;
    flex-direction: column;
    padding-right: 0;
    padding-left: 0;
  }

  .cst-my-pager--bottom {
    display: flex;
    margin-top: 12px;
    margin-bottom: 0;
  }

  .cst-my-pager-pages {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .cst-my-page--prev,
  .cst-my-page--next {
    width: 100%;
  }

  .cst-my-page--next:not(:disabled) {
    background: var(--cst-my-blue);
    color: #fff;
  }

  .cst-my-page--next:not(:disabled):hover {
    background: #4c8ef0;
    border-color: transparent;
    color: #fff;
  }

  .cst-my-pager-index {
    align-self: center;
    color: var(--cst-my-text);
    font-weight: 750;
    text-align: center;
  }

  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-entry {
    grid-template-rows: auto auto auto 0fr;
    transition: grid-template-rows 0.28s ease, background-color 0.2s ease;
  }

  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-entry.is-open {
    grid-template-rows: auto auto auto 1fr;
  }

  .cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-entry {
    grid-template-rows: auto auto auto auto auto 0fr;
    transition: grid-template-rows 0.28s ease, background-color 0.2s ease;
  }

  .cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-entry.is-open {
    grid-template-rows: auto auto auto auto auto 1fr;
  }

  .cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-cell--extra {
    display: flex;
    align-self: stretch;
    align-items: flex-start;
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
  }

  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-cell--extra {
    display: flex;
  }

  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-entry.is-open .cst-my-cell--extra {
    flex: 0 0 auto;
    align-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .cst-my.cst-my-enhanced .cst-my-list--reservations .cst-my-entry.is-open .cst-my-cell--extra {
    padding-top: 4px;
    padding-bottom: 8px;
  }

  .cst-my.cst-my-enhanced .cst-my-details,
  .cst-my.cst-my-enhanced .cst-my-entry.is-open .cst-my-details {
    display: block;
    align-self: stretch;
    min-height: 0;
    overflow: hidden;
  }

  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-details,
  .cst-my.cst-my-enhanced .cst-my-list--trades .cst-my-entry.is-open .cst-my-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cst-my-nav-caret,
  .cst-my-chevron,
  .cst-my-nav-links,
  .cst-my-entry {
    transition: none;
  }
}
