.cme-cti-wrap{max-width:1100px;margin:24px auto;padding:28px;border-radius:22px;background:radial-gradient(1200px 600px at 20% 10%,rgba(255,255,255,0.06),transparent 60%),radial-gradient(900px 600px at 80% 30%,rgba(255,255,255,0.05),transparent 55%),#0b0f1a;color:#f5f7fb;box-shadow:0 10px 40px rgba(0,0,0,.35);}
.cme-cti-hero{text-align:center;}
.cme-cti-pill{display:inline-block;padding:10px 18px;border-radius:999px;background:rgba(236,253,0,0.12);color:#ECFD00;font-weight:600;letter-spacing:.2px;}
.cme-cti-title{margin:18px 0 10px;font-size:clamp(28px,3.3vw,44px);line-height:1.12;}
.cme-cti-title-accent{color:#ECFD00;}
.cme-cti-sub{margin:0 auto 18px;max-width:760px;color:rgba(245,247,251,.78);}
.cme-cti-kpis{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin:18px 0 8px;}
.cme-cti-kpi{min-width:220px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.08);}
.kpi-label{color:rgba(245,247,251,.70);font-size:13px;}
.kpi-val{font-size:34px;font-weight:700;margin-top:6px;}
.cme-cti-updated{text-align:center;margin:18px 0 12px;color:rgba(245,247,251,.70);font-size:13px;}
.cme-cti-table-wrap{margin-top:10px;border-radius:18px;overflow-x:auto;overflow-y:hidden;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);}
.cme-cti-table{width:100%;min-width:1250px;border-collapse:collapse;background:#fff;color:#111827;}
.cme-cti-table thead th{text-align:center;padding:16px 18px;font-size:14px;color:#6b7280;background:#fff;position:sticky;top:0;z-index:2;}
.cme-cti-table td{padding:18px;border-top:1px solid #e5e7eb;vertical-align:middle;text-align:center;}
.casino-name{font-weight:700;font-size:18px;}
.casino-domain{color:#6b7280;margin-top:4px;}
.trust-flex{display:flex;align-items:center;gap:14px;}
.trust-badge{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(34,197,94,0.12);border:1px solid rgba(34,197,94,0.25);color:#16a34a;font-weight:800;}
.spark-wrap{color:#16a34a;}
.spark{display:block;}
.center-cell{text-align:center;}
.pill{display:inline-flex;align-items:center;justify-content:center;min-width:90px;padding:10px 16px;border-radius:999px;font-weight:700;font-size:14px;}
.pill-risk{background:transparent;color:#111827;}
.pill-wd{background:transparent;color:#111827;}
.trend{font-weight:800;}
.trend.pos{color:#16a34a;}
.trend.neg{color:#ef4444;}
.trend.neu{color:#6b7280;}
.cta-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;font-weight:800;text-decoration:none;color:#fff;background:var(--cta-bg,var(--cme-cta-default,#0b7a2b));transition:filter .15s ease,transform .05s ease;}
.cta-btn:hover{filter:brightness(0.92);transform:translateY(-1px);}
.cta-btn:active{transform:translateY(0px);}
.cta-btn.disabled{opacity:.55;cursor:not-allowed;}
@media (max-width:820px){.cme-cti-table-wrap{overflow-x:auto;}.cme-cti-table{min-width:880px;}}

/* Mobile optimisation (CSS-only): keep SSR/HTML identical; only improve responsive behaviour */
@media (max-width:820px){
  /* Prevent horizontal page overflow on small screens */
  .cme-cti-wrap{max-width:100%;width:100%;margin:14px 0;padding:18px 14px;overflow-x:hidden;}
  .cme-cti-wrap,.cme-cti-wrap *{box-sizing:border-box;}

  /* Make KPI cards fit nicely on mobile */
  .cme-cti-kpis{gap:12px;}
  .cme-cti-kpi{min-width:0;width:100%;}

  /* Ensure scroll stays inside the table container, not the whole page */
  .cme-cti-table-wrap{max-width:100%;}
}


/* Rank badge */
.rank-cell{width:56px;}
.rank-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:rgba(212,175,55,0.18);border:1px solid rgba(212,175,55,0.55);color:#d4af37;font-weight:800;letter-spacing:.2px;box-shadow:0 6px 18px rgba(212,175,55,0.18);}


/* === Fix 1 (mobile): prevent 2-digit ranks (10+) from squashing === */
.cme-cti-table .rank-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 10px;
  border-radius:999px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
@media (max-width: 640px){
  .rank-cell{width:64px;}
  .cme-cti-table .rank-badge{
    min-width:38px;
    height:38px;
    padding:0 12px;
  }
}

/* === Additive (v2.3.4): Best-for tags + Live status pills ===
   - No changes to existing layout, SEO, or horizontal scroll behaviour.
*/
.bestfor-cell{ text-align:center; }
.cme-cti-tag{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;border:1px solid #e5e7eb;background:#f8fafc;color:#111827;font-weight:800;font-size:12px;line-height:1;white-space:nowrap;}
.cme-cti-tag-sep{display:inline-block;margin:0 6px;color:#9ca3af;font-weight:800;}
.cme-cti-dash{color:#9ca3af;font-weight:800;}

/* Live status (soft colours as signals) */
.pill-live{min-width:110px;}
.pill-live.stable{background:#ECFDF3;border:1px solid #A7F3D0;color:#065F46;}
.pill-live.mixed{background:#FFFBEB;border:1px solid #FCD34D;color:#92400E;}
.pill-live.risk{background:#FEF2F2;border:1px solid #FCA5A5;color:#7F1D1D;}


/* === Additive traffic-light pill states (visual only) === */
.pill-level-low{background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.35);color:#065f46;}
.pill-level-medium{background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.35);color:#92400e;}
.pill-level-high{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35);color:#7f1d1d;}

.pill-level-good{background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.35);color:#065f46;}
.pill-level-mixed{background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.35);color:#92400e;}
.pill-level-bad{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35);color:#7f1d1d;}
