/* === p344: CitReg stats layout =========================================== */
#citreg-stats-wrap{max-width:var(--citreg-clamp,1130px);margin:0 auto;padding:12px 20px}
#citreg-stats-wrap table.limestatistics{width:100%;border-collapse:collapse;margin:16px 0;font-size:.95rem;line-height:1.4}
#citreg-stats-wrap table.limestatistics th,#citreg-stats-wrap table.limestatistics td{border:1px solid #ddd;padding:8px 10px;vertical-align:top}
#citreg-stats-wrap table.limestatistics th{background:#f6f7f9;font-weight:600}
#citreg-stats-wrap .limestats-table-wrap{overflow-x:auto}
#citreg-stats-wrap .limestats-table-wrap>table{min-width:640px}
#citreg-stats-wrap td,#citreg-stats-wrap th{white-space:nowrap}
#citreg-stats-wrap td:first-child,#citreg-stats-wrap th:first-child{white-space:normal}
@media (max-width:767.98px){#citreg-stats-wrap{padding:10px 14px}#citreg-stats-wrap table.limestatistics{font-size:.92rem}}
/* === p344: end ============================================================ */

/* === p353: stats tile badge styles ====================================== */
/* Top-right small link */
.citreg-tile-topright {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.80rem;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  background: rgba(255,255,255,0.0);
  padding: 2px 6px;
  border-radius: 6px;
  transition: opacity .15s, transform .12s;
  z-index: 6;
}
.citreg-tile-topright:hover { opacity: 1; transform: translateY(-1px); }

/* Bottom-right copyright */
.citreg-tile-bottomright {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 0.78rem;
  line-height: 1;
  color: rgba(0,0,0,0.6);
  z-index: 6;
  background: rgba(255,255,255,0.0);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Make sure badges don't interfere with table cells on very small tiles */
@media (max-width: 480px) {
  .citreg-tile-topright, .citreg-tile-bottomright { font-size: 0.72rem; right: 8px; }
  .citreg-tile-bottomright { bottom: 6px; }
}
/* === END p353 =========================================================== */
