@media(max-width:800px){

table.tp-v4-source{
  display:none!important;
}

#tp-v4-cards{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:4px 0 10px;
  overflow:visible;
}

#tp-v4-cards *{
  box-sizing:border-box;
}

.tp-v4-group{
  padding:12px 4px 8px;
  margin-top:5px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
  line-height:1.45;
  overflow-wrap:break-word;
}

.tp-v4-card{
  width:100%;
  max-width:100%;
  min-width:0;
  padding:14px;
  margin:0 0 12px;
  background:var(--card,#fff);
  border:1px solid #e2e8f0;
  border-radius:16px;
  box-shadow:0 3px 14px rgba(15,23,42,.04);
}

.tp-v4-head{
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-width:0;
  padding-bottom:12px;
  border-bottom:1px solid #e2e8f0;
}

.tp-v4-media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:68px;
  height:68px;
  min-width:68px;
  overflow:hidden;
  border-radius:12px;
  background:#f1f5f9;
  color:#94a3b8;
  font-size:24px;
}

.tp-v4-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.tp-v4-identity{
  display:block;
  min-width:0;
  max-width:100%;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  color:var(--text,#172338);
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  writing-mode:horizontal-tb!important;
}

.tp-v4-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:12px;
  padding-top:4px;
}

.tp-v4-stat{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
  padding:10px 0;
  border-bottom:1px solid #edf1f6;
  writing-mode:horizontal-tb!important;
}

.tp-v4-stat-label{
  color:#64748b;
  font-size:11px;
  line-height:1.4;
  white-space:normal;
  overflow-wrap:break-word;
}

.tp-v4-stat-value{
  color:var(--text,#172338);
  font-size:15px;
  font-weight:650;
  line-height:1.4;
  white-space:normal;
  overflow-wrap:break-word;
  writing-mode:horizontal-tb!important;
}

.tp-v4-action{
  display:block;
  width:100%;
  min-height:42px;
  margin-top:12px;
  border:1px solid #d7dfeb;
  border-radius:10px;
  background:transparent;
  color:var(--text,#172338);
  font:600 13px system-ui,sans-serif;
  cursor:pointer;
}

.tp-v4-duplicate-menu{
  display:none!important;
}

}

@media(min-width:801px){
  #tp-v4-cards{
    display:none!important;
  }
}
