#c2c-market-entry {
  --c2c-gold: #efbe61;
  --c2c-gold-soft: #ffd98d;
  --c2c-blue: #315ba6;
  --c2c-green: #26d49d;

  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 44px;
  align-items: center;
  justify-self: stretch;
  gap: 12px;
  width: 100%;
  min-height: 102px;
  margin: 14px 0 calc(86px + env(safe-area-inset-bottom));
  padding: 13px 12px;
  overflow: hidden;
  color: #f5f3f5;
  text-decoration: none;
  border: 1px solid rgba(239, 190, 97, .48);
  border-right-color: rgba(239, 190, 97, .94);
  border-left-color: rgba(239, 190, 97, .94);
  border-radius: 3px;
  background:
    linear-gradient(
      to bottom,
      transparent 8px,
      rgba(239, 190, 97, .82) 8px,
      rgba(239, 190, 97, .82) calc(50% - 6px),
      transparent calc(50% - 6px),
      transparent calc(50% + 6px),
      rgba(239, 190, 97, .82) calc(50% + 6px),
      rgba(239, 190, 97, .82) calc(100% - 8px),
      transparent calc(100% - 8px)
    ) left center / 1px 100% no-repeat,
    linear-gradient(
      to bottom,
      transparent 8px,
      rgba(239, 190, 97, .82) 8px,
      rgba(239, 190, 97, .82) calc(50% - 6px),
      transparent calc(50% - 6px),
      transparent calc(50% + 6px),
      rgba(239, 190, 97, .82) calc(50% + 6px),
      rgba(239, 190, 97, .82) calc(100% - 8px),
      transparent calc(100% - 8px)
    ) right center / 1px 100% no-repeat,
    radial-gradient(circle at 15% 50%, rgba(49, 91, 166, .28), transparent 28%),
    linear-gradient(135deg, rgba(11, 32, 69, .97), rgba(3, 14, 34, .98));
  box-shadow:
    inset 2px 0 0 rgba(239, 190, 97, .16),
    inset -2px 0 0 rgba(239, 190, 97, .16),
    inset 0 0 0 3px rgba(4, 16, 38, .70),
    inset 0 0 24px rgba(53, 101, 191, .12),
    0 8px 20px rgba(0, 0, 0, .20);
  -webkit-tap-highlight-color: transparent;
}

#c2c-market-entry::before,
#c2c-market-entry::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border: 1px solid rgba(239, 190, 97, .88);
  background: #071731;
  box-shadow: 0 0 6px rgba(239, 190, 97, .22);
}

#c2c-market-entry::before {
  left: -1px;
  transform: translateY(-50%) rotate(45deg);
}

#c2c-market-entry::after {
  right: -1px;
  transform: translateY(-50%) rotate(45deg);
}

#c2c-market-entry:active {
  transform: translateY(1px);
  filter: brightness(1.06);
}

.c2c-market-entry__coin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--c2c-gold-soft);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  border: 1px solid rgba(239, 190, 97, .72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(71, 118, 205, .34), transparent 40%),
    rgba(5, 18, 42, .96);
  box-shadow:
    inset 0 0 0 4px rgba(5, 18, 42, .96),
    inset 0 0 0 5px rgba(239, 190, 97, .28),
    0 0 15px rgba(42, 93, 190, .20);
}

.c2c-market-entry__coin::before,
.c2c-market-entry__coin::after {
  content: "◇";
  position: absolute;
  left: 50%;
  color: var(--c2c-gold);
  font-size: 10px;
  line-height: 1;
  transform: translateX(-50%);
}

.c2c-market-entry__coin::before {
  top: -5px;
}

.c2c-market-entry__coin::after {
  bottom: -5px;
}

.c2c-market-entry__swap {
  height: 13px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 12px;
}

.c2c-market-entry__coin strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 24px;
}

.c2c-market-entry__content,
.c2c-market-entry__heading,
.c2c-market-entry__subtitle,
.c2c-market-entry__price {
  display: block;
  min-width: 0;
}

.c2c-market-entry__heading {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.c2c-market-entry__heading > strong {
  color: var(--c2c-gold-soft);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 16px;
  font-weight: 500;
}

.c2c-market-entry__tag {
  flex: 0 0 auto;
  padding: 2px 7px;
  color: var(--c2c-gold);
  font-size: 9px;
  line-height: 14px;
  border: 1px solid rgba(239, 190, 97, .72);
  border-radius: 999px;
  background: rgba(239, 190, 97, .04);
}

.c2c-market-entry__change {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--c2c-green);
  font-size: 11px;
}

.c2c-market-entry__subtitle {
  margin-top: 6px;
  overflow: hidden;
  color: #d7dbe6;
  font-size: 12px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c2c-market-entry__price {
  margin-top: 4px;
  overflow: hidden;
  color: #aeb8cc;
  font-size: 10px;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c2c-market-entry__arrow {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  color: var(--c2c-gold-soft);
  font-family: Arial, sans-serif;
  font-size: 0;
  font-weight: 300;
  line-height: 36px;
  border: 1px solid rgba(239, 190, 97, .82);
  border-radius: 50%;
  background: rgba(239, 190, 97, .045);
  box-shadow: 0 0 12px rgba(239, 190, 97, .17);
}

.c2c-market-entry__arrow::before,
.c2c-market-entry__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + 4px);
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 100% 50%;
}

.c2c-market-entry__arrow::before {
  transform: translate(-100%, -50%) rotate(45deg);
}

.c2c-market-entry__arrow::after {
  transform: translate(-100%, -50%) rotate(-45deg);
}

#c2c-market-overlay {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  overflow: hidden;
  background: #020814;
}

#c2c-market-overlay > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #020814;
}

@media (max-width: 390px) {
  #c2c-market-entry {
    grid-template-columns: 54px minmax(0, 1fr) 38px;
    gap: 9px;
    min-height: 90px;
    margin-right: 0;
    margin-left: 0;
    padding: 11px 10px;
  }

  .c2c-market-entry__coin {
    width: 52px;
    height: 52px;
  }

  .c2c-market-entry__coin strong {
    font-size: 19px;
    line-height: 21px;
  }

  .c2c-market-entry__swap {
    height: 11px;
    font-size: 15px;
    line-height: 10px;
  }

  .c2c-market-entry__heading {
    gap: 5px;
  }

  .c2c-market-entry__heading > strong {
    font-size: 14px;
  }

  .c2c-market-entry__tag {
    padding: 1px 5px;
    font-size: 8px;
    line-height: 13px;
  }

  .c2c-market-entry__change {
    font-size: 9px;
  }

  .c2c-market-entry__subtitle {
    margin-top: 5px;
    font-size: 11px;
    line-height: 15px;
  }

  .c2c-market-entry__price {
    margin-top: 3px;
    font-size: 9px;
    line-height: 14px;
  }

  .c2c-market-entry__arrow {
    width: 36px;
    height: 36px;
    line-height: 32px;
  }

  .c2c-market-entry__arrow::before {
    width: 10px;
  }

  .c2c-market-entry__arrow::after {
    width: 10px;
  }
}
