.crypto-widget{
  margin-top:12px;
  font-family:Inter, system-ui, -apple-system, Arial, sans-serif;
}

.crypto-widget .cw-card{
  background:#ffffff;
  border:1px solid #e3e7ee;
  border-radius:12px;
  overflow:hidden;
}

.crypto-widget .cw-head{
  padding:10px 12px;
  border-bottom:1px solid #e3e7ee;
  background:#ffffff;
}

.crypto-widget .cw-title{
  margin:0;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  color:#111111;
}

.crypto-widget .cw-meta{
  margin-top:4px;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  color:#5f6368;
}

.crypto-widget .cw-empty{
  padding:12px;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
  color:#5f6368;
}

.crypto-widget .cw-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  padding:10px 12px 12px;
}

.crypto-widget .cw-tile{
  border:1px solid #e3e7ee;
  border-radius:10px;
  background:#ffffff;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:border-color .2s ease;
}

.crypto-widget .cw-tile:hover{
  border-color:#cfd6e0;
}

.crypto-widget .cw-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}

.crypto-widget .cw-coin{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.crypto-widget .cw-logo{
  width:28px;
  height:28px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #edf1f5;
  background:#fff;
  flex:0 0 28px;
}

.crypto-widget .cw-logo-fallback{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#f5f7fb;
  border:1px solid #edf1f5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  color:#111111;
  flex:0 0 28px;
}

.crypto-widget .cw-id{
  min-width:0;
}

.crypto-widget .cw-name{
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  color:#111111;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.crypto-widget .cw-symbol{
  margin-top:3px;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  color:#70757a;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.crypto-widget .cw-rank{
  color:#70757a;
}

.crypto-widget .cw-price{
  font-size:16px;
  font-weight:700;
  line-height:1.1;
  color:#111111;
  white-space:nowrap;
  text-align:right;
}

.crypto-widget .cw-bottom{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.crypto-widget .cw-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
}

.crypto-widget .cw-label{
  font-size:12px;
  font-weight:600;
  color:#70757a;
}

.crypto-widget .cw-value{
  font-size:12px;
  font-weight:600;
  color:#111111;
  text-align:right;
  white-space:nowrap;
}

.crypto-widget .cw-change{
  font-weight:700;
}

.crypto-widget .cw-up{
  color:#17803d;
}

.crypto-widget .cw-down{
  color:#c62828;
}

.crypto-widget .cw-flat{
  color:#70757a;
}

.crypto-widget .cw-credit{
  padding:0 12px 12px;
  font-size:8px;
  font-weight:600;
  line-height:1.2;
  color:#70757a;
  text-align:right;
}

@media (max-width:720px){
  .crypto-widget .cw-grid{
    grid-template-columns:1fr;
  }

  .crypto-widget .cw-price{
    font-size:15px;
  }
}