:root {
  --bg: #0b1020;
  --card: #111a33;
  --card2: #0f1630;
  --text: #e7ecff;
  --muted: #a7b0d6;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, #16224a 0%, var(--bg) 55%);
  color: var(--text);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 0 6px rgba(94,234,212,0.12);
}

.title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 87, 87, 0.12);
  border: 1px solid rgba(255, 87, 87, 0.25);
  color: #ffd1d1;
  font-size: 12px;
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pillDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff5757;
  box-shadow: 0 0 0 6px rgba(255,87,87,0.12);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (max-width: 940px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.cardTitle {
  font-weight: 750;
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

.kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.kv:last-child { border-bottom: none; }

.k {
  font-size: 13px;
  color: var(--muted);
}

.v {
  font-size: 14px;
  font-weight: 650;
  text-align: right;
}

.big {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.muted { color: var(--muted); font-weight: 600; }

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

.logsHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dateNav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.date {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

.btn {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: transform .06s ease, background .2s ease;
}

.btn:active { transform: translateY(1px); }
.btn:hover { background: rgba(255,255,255,0.06); }

.logsBox {
  max-height: 320px;
  overflow-y: auto;
  border-radius: 14px;
  background: var(--card2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* scrollbar (optional, webkit) */
.logsBox::-webkit-scrollbar { width: 8px; }
.logsBox::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.22);
  border-radius: 8px;
}
.logsBox::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.10);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.table th, .table td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0b1020;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.colDt { width: 155px; }
.colSoc { width: 120px; text-align: right; }
.table td:last-child { text-align: right; }

.empty {
  color: var(--muted);
  text-align: center !important;
  padding: 18px 10px !important;
}

.hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* ensure hidden attribute always wins */
[hidden] {
  display: none !important;
}

.note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}