:root{
  --bg:#000000;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --stroke:rgba(15,23,42,.10);
  --stroke2:rgba(15,23,42,.08);
  --shadow:0 10px 28px rgba(15,23,42,.08);
  --radius:18px;

  --yellow:#f6c343;
  --yellow2:#ffdd73;
  --green:#18b893;
  --green2:#22c55e;

  --mint:#16d7b5;
  --mintText:#072b2a;
  --soft:#f1f3f6;
  --soft2:#f8fafc;
  --line:#edf1f5;
  --darkBtn:#111827;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#000000,#fbfbfc);
  color:var(--text);
}

.page{
  max-width:1030px;
  margin:0 auto;
  padding:22px 16px 44px;
}

.hdr{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.brand .logo{
  font-size:22px;
  font-weight:950;
  letter-spacing:.2px;
}

.brand .tag{
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
}

.hdrActions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.search{
  height:42px;
  min-width:220px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#fff;
  padding:0 14px;
  outline:none;
}

.select{
  height:42px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#fff;
  padding:0 12px;
  outline:none;
}

.btn{
  height:42px;
  border-radius:999px;
  border:1px solid transparent;
  padding:0 14px;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  white-space:nowrap;
}

.btn-yellow{
  background:linear-gradient(135deg,var(--yellow),var(--yellow2));
  color:#1f2a37;
  box-shadow:0 10px 24px rgba(246,195,67,.28);
}

.btn-yellow:hover{filter:brightness(.98)}

.btn-outline{
  background:#fff;
  border-color:var(--stroke);
  color:var(--text);
}

.btn-outline:hover{
  border-color:rgba(15,23,42,.18);
}

.btn-admin{
  background:#0f172a;
  color:#fff;
}

/* =========================
   CAROUSEL SECTION
========================= */
.carouselSection{
  margin-top:18px;
}

.carouselTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.carouselTitle{
  font-size:18px;
  font-weight:950;
}

.carouselNav{
  display:flex;
  gap:8px;
}

.navBtn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#fff;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.navBtn:hover{
  border-color:rgba(15,23,42,.18);
}

.carousel{
  overflow:hidden;
  padding:2px;
}

.track{
  display:flex;
  gap:14px;
  transition:transform .25s ease;
  will-change:transform;
}

.card{
  flex:0 0 420px;
  background:var(--card);
  border:1px solid var(--stroke2);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
  position:relative;
}

@media (max-width:980px){
  .card{flex-basis:360px}
}

@media (max-width:720px){
  .card{flex-basis:88vw}
}

.cardTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.leftHead{
  display:flex;
  gap:12px;
  align-items:center;
}

.avatar{
  width:54px;
  height:54px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#fff;
  object-fit:cover;
}

.nameRow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.name{
  font-size:18px;
  font-weight:950;
}

.rank{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.badges{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:6px;
}

.badge{
  height:22px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#fff;
  color:#0f172a;
  font-size:12px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.badge.vip{
  background:#111827;
  color:#f8d15a;
  border-color:rgba(0,0,0,.08);
}

.badge.green{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.22);
}

.badge.blue{
  background:rgba(96,165,250,.12);
  border-color:rgba(96,165,250,.22);
}

.badge.orange{
  background:rgba(249,115,22,.12);
  border-color:rgba(249,115,22,.22);
}

.badge.purple{
  background:rgba(168,85,247,.12);
  border-color:rgba(168,85,247,.22);
}

.followers{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
  margin-top:6px;
}

.ficon{
  width:24px;
  height:24px;
  border-radius:999px;
  border:1px solid var(--stroke);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#0f172a;
}

.metrics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.metric .label{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.metric .value{
  font-size:26px;
  font-weight:950;
  color:var(--green);
  letter-spacing:.2px;
}

.metric .sub{
  color:var(--muted);
  font-size:13px;
  margin-top:2px;
}

.metricRight{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.spark{
  width:180px;
  height:62px;
}

.rows{
  margin-top:12px;
  display:grid;
  gap:10px;
}

.rowLine{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.rowLine b{
  color:var(--text);
}

.price{
  color:#f97316;
  font-weight:950;
}

.cardActions{
  display:flex;
  gap:10px;
  margin-top:14px;
  align-items:center;
}

.circleBtn{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.circleBtn:hover{
  border-color:rgba(15,23,42,.18);
}

.sourceLogo{
  width:30px;
  height:30px;
}

.copyBtn{
  flex:1;
  height:44px;
  border-radius:14px;
  border:0;
  cursor:pointer;
  background:linear-gradient(135deg,var(--yellow),var(--yellow2));
  color:#1f2a37;
  font-weight:950;
}

.copyBtn:hover{
  filter:brightness(.98);
}

.copyBtn.yellow{
  background:linear-gradient(135deg,var(--yellow),var(--yellow2));
  color:#1f2a37;
}

/* =========================
   ALL SIGNALS SECTION
========================= */
.signalsSection{
  margin-top:34px;
}

.signalsHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.signalsHeaderLeft{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.signalsHeaderRight{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.signalsTitle{
  margin:0;
  font-size:26px;
  line-height:1.1;
  font-weight:800;
  color:#13233c;
}

.signalTabs,
.periodTabs,
.viewToggle{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.tabBtn{
  height:34px;
  padding:0 18px;
  border:none;
  border-radius:999px;
  background:#f1f3f6;
  color:#667085;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}

.tabBtn.active{
background: linear-gradient(135deg, var(--tf-yellow), var(--tf-yellow2));  color:#072b2a;
}

.periodBtn{
  height:34px;
  padding:0 14px;
  border:1px solid #d8dee7;
  border-radius:9px;
  background:#fff;
  color:#667085;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}

.periodBtn.active{
  border-color:#212a37;
  color:#212a37;
}

.viewBtn{
  width:34px;
  height:34px;
  border:1px solid #d8dee7;
  border-radius:9px;
  background:#fff;
  color:#16c8a9;
  font-size:16px;
  cursor:pointer;
}

.viewBtn.active{
  color:#16c8a9;
}

.signalsTableWrap{
  width:100%;
  overflow-x:auto;
  border-top:1px solid #dcdfe4;
  padding-top:10px;
}

.signalsTable{
  min-width:1080px;
  width:100%;
}

.signalsHead,
.signalRow{
  display:grid;
  grid-template-columns:60px 330px 150px 170px 150px 130px;
  column-gap:14px;
  align-items:center;
}

.signalsHead{
  color:#8c97a8;
  font-size:13px;
  font-weight:700;
  padding:0 6px 12px;
  border-bottom:1px solid #373a3c;
  border-width: thin;
}

.signalsBody{
  display:flex;
  flex-direction:column;
}

.signalRow{
  min-height:82px;
  padding:10px 6px;
  border-bottom:1px solid #373a3c;
  background:#000000;
}

.rankCell{
  display:flex;
  align-items:center;
  justify-content:center;
}

.rankNumber{
  font-size:18px;
  line-height:1;
  font-weight:800;
  font-style:italic;
  color:#d3d8df;
}

.accountCell{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.accountAvatar{
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  background:#f2f4f7;
  border:2px solid #f1c65a;
  flex:0 0 46px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.accountAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.accountAvatar span{
  font-size:16px;
  font-weight:800;
  color:#22324d;
}

.accountMeta{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}

.accountName{
  font-size:15px;
  font-weight:800;
  color:#ffffff;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.accountBadges{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  align-items:center;
}

.miniBadge{
  height:18px;
  padding:0 6px;
  border-radius:5px;
  font-size:10px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.miniBadge.rank{
  background:#0d6e60;
  color:#fff;
}

.miniBadge.country{
  background:#f3f5f8;
  color:#24344f;
}

.miniBadge.grade{
  background:#16c784;
  color:#fff;
}

.miniBadge.vip{
  background:#1f2430;
  color:#ffcf66;
}

.metricCell{
  font-size:14px;
  font-weight:800;
  color:#ffffff;
  display:flex;
  align-items:center;
  min-height:100%;
}

.metricCell.returnPositive{
  color:#0fc77c;
}

.metricCell.returnNegative{
  color:#ef4444;
}

.actionCell{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-start;
}

.msgIconBtn{
  width:34px;
  height:34px;
  border:none;
  border-radius:9px;
  background:#f1f3f6;
  color:#283548;
  font-size:15px;
  cursor:pointer;
}

.copyActionBtn{
  min-width:86px;
  height:36px;
  border:none;
  border-radius:9px;
  background: linear-gradient(135deg, var(--tf-yellow), var(--tf-yellow2));;
  color:#072b2a;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  padding:0 16px;
}

.metricGroup{
  display:none;
}

.metricLabel{
  display:block;
  margin-bottom:5px;
  font-size:12px;
  font-weight:700;
  color:#8c97a8;
}

/* =========================
   GRID MODE
========================= */
.signalsTableWrap.gridMode .signalsTable{
  min-width:0;
}

.signalsTableWrap.gridMode .signalsHead{
  display:none;
}

.signalsTableWrap.gridMode .signalsBody{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.signalsTableWrap.gridMode .signalRow{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-height:auto;
  gap:14px;
  border-bottom:1px solid #373a3c;
  border-radius:18px;
  padding:18px;
}

.signalsTableWrap.gridMode .desktopOnly{
  display:none;
}

.signalsTableWrap.gridMode .rankCell{
  justify-content:flex-start;
}

.signalsTableWrap.gridMode .metricGroup{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.signalsTableWrap.gridMode .metricGroup .metricCell{
  background:#f8fafc;
  border-radius:12px;
  padding:12px;
}

/* =========================
   PANELS / TABLES
========================= */
.panel{
  margin-top:18px;
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

.panelTitle{
  font-size:16px;
  font-weight:950;
  margin-bottom:12px;
}

.formRow{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:10px;
}

label{
  display:block;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
  margin-bottom:6px;
}

.input{
  width:100%;
  height:44px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:#fff;
  padding:0 12px;
  outline:none;
}

.hint{
  color:var(--muted);
  font-size:13px;
  display:flex;
  align-items:flex-end;
}

.formActions{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:12px;
  flex-wrap:wrap;
}

.msg{
  font-size:13px;
  color:var(--muted);
  font-weight:800;
}

.adminRow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.tableWrap{
  margin-top:10px;
  overflow:auto;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}

.table th{
  color:var(--muted);
  text-align:left;
  font-size:12px;
  font-weight:950;
}

.table td{
  background:#fff;
  border:1px solid var(--stroke2);
  padding:10px 10px;
  border-left:0;
  border-right:0;
  font-size:13px;
}

.table tr td:first-child{
  border-left:1px solid var(--stroke2);
  border-top-left-radius:14px;
  border-bottom-left-radius:14px;
}

.table tr td:last-child{
  border-right:1px solid var(--stroke2);
  border-top-right-radius:14px;
  border-bottom-right-radius:14px;
}

.actionsCell{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.hint2{
  color:var(--muted);
  font-weight:800;
}

.foot{
  margin-top:18px;
}

.note{
  color:var(--muted);
  font-size:13px;
}

.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--stroke2);
  background:rgba(15,23,42,.88);
  color:#fff;
  font-size:13px;
  font-weight:800;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  max-width:92vw;
}

.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(-6px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:980px){
  .card{flex-basis:360px}

  .signalsTableWrap.gridMode .signalsBody{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px){
  .card{flex-basis:88vw}

  .formRow{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .signalsHeader{
    align-items:flex-start;
  }

  .signalsHeaderRight{
    width:100%;
    justify-content:space-between;
  }

  .signalsTitle{
    font-size:22px;
  }

  .signalsTableWrap.gridMode .signalsBody{
    grid-template-columns:1fr;
  }

  .search{
    min-width:0;
    width:100%;
  }
}
/* ===== ACTION BUTTON FIX ===== */
.cardActions,
.actionCell{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

/* make <a> and <button> look the same */
.visitBtn,
.openBtn,
.copyBtn,
.copyActionBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  height:38px;
  padding:0 14px;
  border-radius:10px;
  border:1px solid rgba(15,23,42,.10);
  text-decoration:none !important;
  font-size:13px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:.2s ease;
  box-sizing:border-box;
  white-space:nowrap;
}

/* yellow primary button */
.visitBtn{
  background:#f6c343;
  color:#0f172a !important;
}

/* white secondary button */
.openBtn,
.copyBtn,
.copyActionBtn{
  background:#ffffff;
  color:#0f172a !important;
}

/* hover */
.visitBtn:hover,
.openBtn:hover,
.copyBtn:hover,
.copyActionBtn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}

/* disabled */
.disabledBtn{
  background:#e5e7eb !important;
  color:#94a3b8 !important;
  border-color:rgba(15,23,42,.08) !important;
  cursor:not-allowed !important;
  pointer-events:none;
  box-shadow:none !important;
  transform:none !important;
}

/* clickable names */
.accountName a,
.name a{
  color:inherit !important;
  text-decoration:none;
  font-weight:inherit;
}

.accountName a:hover,
.name a:hover{
  text-decoration:underline;
}

/* card buttons alignment */
.cardActions{
  margin-top:14px;
}

.actionCell{
  justify-content:flex-end;
}

/* desktop signal table button sizing */
.signalRow .actionCell .visitBtn,
.signalRow .actionCell .openBtn,
.signalRow .actionCell .copyActionBtn{
  min-width:78px;
  height:36px;
  font-size:12px;
  padding:0 12px;
}

/* mobile fixes */
@media (max-width: 768px){
  .actionCell{
    display:flex !important;
    gap:8px;
    margin-top:12px;
    justify-content:stretch;
    width:100%;
  }

  .actionCell .visitBtn,
  .actionCell .openBtn,
  .actionCell .copyActionBtn,
  .cardActions .visitBtn,
  .cardActions .openBtn,
  .cardActions .copyBtn{
    flex:1 1 0;
    min-width:0;
    height:40px;
    font-size:13px;
  }

  .cardActions{
    display:flex;
    gap:8px;
    width:100%;
  }
}

/* =========================================
   IPHONE SAFARI FIX - ALL SIGNALS MOBILE
========================================= */
@media (max-width: 768px) {
  .signalsTableWrap {
    overflow-x: visible !important;
    border-top: 0;
    padding-top: 0;
  }

  .signalsTable {
    min-width: 0 !important;
    width: 100% !important;
  }

  .signalsHead {
    display: none !important;
  }

  .signalsBody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    width: 100%;
  }

  .signalRow {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 14px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 16px !important;
    background: #0f1115 !important;
    box-sizing: border-box;
  }

  .rankCell {
    display: none !important;
  }

  .desktopOnly {
    display: none !important;
  }

  .accountCell {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 12px !important;
  }

  .accountAvatar {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
  }

  .accountMeta {
    display: block !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .accountName {
    display: block !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 6px !important;
  }

  .accountBadges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .metricGroup {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
    width: 100% !important;
  }

  .metricGroup .metricCell {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: auto !important;
    width: 100% !important;
    padding: 12px !important;
    border-radius: 12px !important;
    background: #171b22 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
  }

  .metricGroup .metricCell.returnPositive {
    color: #22c55e !important;
  }

  .metricGroup .metricCell.returnNegative {
    color: #ef4444 !important;
  }

  .metricLabel {
    display: inline-block !important;
    margin-bottom: 0 !important;
    color: #9aa4b2 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-right: 12px !important;
  }

  .metricValue {
    display: inline-block !important;
    text-align: right !important;
  }

  .actionCell {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
    justify-content: stretch !important;
    margin-top: 12px !important;
  }

  .actionCell .visitBtn,
  .actionCell .openBtn,
  .actionCell .copyActionBtn,
  .actionCell .copyBtn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 40px !important;
  }
}
/* =========================================
   FEATURED SIGNALS MOBILE FIX
========================================= */
@media (max-width: 768px) {
  .carouselSection {
    margin-top: 14px;
  }

  .carousel {
    overflow: hidden;
    padding: 0;
  }

  .track {
    gap: 10px !important;
  }

  .card {
    flex: 0 0 calc(100vw - 48px) !important;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    min-height: auto !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .cardTop {
    display: block !important;
  }

  .leftHead {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .leftHead > div:last-child,
  .infoWrap {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .avatar {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
  }

  .nameRow {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  .name {
    font-size: 15px !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .rank {
    font-size: 12px !important;
    flex: 0 0 auto !important;
  }

  .badges {
    gap: 5px !important;
    margin-top: 6px !important;
  }

  .badge {
    height: 20px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
  }

  .followers {
    font-size: 12px !important;
    gap: 6px !important;
    margin-top: 6px !important;
  }

  .ficon {
    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
  }

  .metricRight {
    margin-top: 10px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .spark {
    width: 100% !important;
    height: 54px !important;
    max-width: 100% !important;
  }

  .metrics {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .metric .label {
    font-size: 12px !important;
  }

  .metric .value {
    font-size: 21px !important;
    line-height: 1.1 !important;
  }

  .metric .sub {
    font-size: 12px !important;
  }

  .rows {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .rowLine {
    font-size: 12px !important;
    gap: 10px !important;
  }

  .rowLine span,
  .rowLine b {
    min-width: 0;
  }

  .cardActions {
    display: flex !important;
    gap: 8px !important;
    margin-top: 12px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  .circleBtn,
  .visitBtn,
  .openBtn,
  .copyBtn {
    height: 40px !important;
    border-radius: 12px !important;
  }

  .circleBtn {
    width: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
  }

  .visitBtn,
  .openBtn,
  .copyBtn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  .carouselTop {
    margin-bottom: 10px !important;
  }

  .carouselTitle {
    font-size: 16px !important;
  }

  .navBtn {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
}