* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #050508;
  color: #e8e8ec;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}
.glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%;
  z-index: -1; filter: blur(120px); pointer-events: none;
}
.glow-1 { top: -120px; left: -120px; background: rgba(255, 255, 255, 0.06); }
.glow-2 { bottom: -120px; right: -120px; background: rgba(239, 68, 68, 0.04); }

.topnav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: #14141c; border-bottom: 1px solid #1c1c28;
  gap: 12px;
}
.logo { font-weight: bold; letter-spacing: 2px; font-size: 16px; color: #fff; flex-shrink: 0; }
.logo a { color: inherit; text-decoration: none; }
.logo-accent { color: #ef4444; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: monospace; font-size: 9px; letter-spacing: 1px;
  padding: 6px 10px; border-radius: 999px; border: 1px solid #1c1c28; color: #6e6e82;
  white-space: nowrap;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex-shrink: 0;
}

main { max-width: 1000px; margin: 28px auto; padding: 0 16px 20px; width: 100%; }
header { text-align: center; margin-bottom: 28px; }
h1 {
  font-size: clamp(22px, 5vw, 28px); letter-spacing: 1px; color: #fff;
  margin: 16px 0; word-break: break-word;
}
.divider {
  color: #6e6e82; margin: 10px 0; font-family: monospace;
  letter-spacing: -1px; overflow: hidden; white-space: nowrap;
  max-width: 100%; font-size: 12px;
}
.last-updated {
  font-family: monospace; font-size: 11px; color: #6e6e82;
  letter-spacing: 0.5px; margin-top: 8px;
}
.last-updated strong { color: #a1a1b5; font-weight: normal; }

.card {
  background: #0d0d12; border: 1px solid #1c1c28; padding: 20px 18px;
  border-radius: 8px; margin-bottom: 20px;
  overflow: hidden;
}
h2 {
  font-size: 13px; margin: 0 0 14px; color: #fff;
  border-bottom: 1px solid #1c1c28; padding-bottom: 10px;
  font-family: monospace; letter-spacing: 1.5px; text-transform: uppercase;
}

.status-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  font-family: monospace; font-size: 13px;
}
.status-key {
  color: #6e6e82; display: block; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 4px;
}
.status-val { color: #e8e8ec; font-weight: bold; word-break: break-word; }
.status-val.active { color: #ff1744; }
.status-val.ref { color: #ef4444; font-size: 15px; }

.onion-box, .contact-box {
  background: #0a0e18; border: 1px solid #1c1c28; padding: 14px 12px;
  border-radius: 6px; margin-top: 18px; text-align: center;
}
.onion-label, .contact-label {
  color: #6e6e82; font-size: 11px; font-family: monospace;
  letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 8px;
}
.onion-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px;
}
.onion-address {
  color: #ef4444; font-family: monospace; font-size: 12px;
  word-break: break-all; overflow-wrap: anywhere; user-select: all;
  display: block; line-height: 1.5; max-width: 100%;
}
.copy-btn {
  background: #0d1428; color: #e8e8ec; border: 1px solid #1c1c28;
  font-family: monospace; font-weight: bold; border-radius: 3px; cursor: pointer;
  padding: 8px 12px; font-size: 11px; letter-spacing: 1px;
  flex-shrink: 0; transition: border-color 0.15s, color 0.15s;
}
.copy-btn:hover { border-color: #ef4444; color: #ef4444; }
.copy-btn.ok { border-color: #22c55e; color: #22c55e; }
.contact-value {
  color: #22c55e; font-family: monospace; font-size: clamp(15px, 4vw, 18px);
  font-weight: bold; word-break: break-word;
}

.notice-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.notice-table {
  width: 100%; border-collapse: collapse; margin-top: 8px;
  font-family: monospace; font-size: 13px; min-width: 0;
}
.notice-table th {
  text-align: left; padding: 12px; background: #0d1428; color: #6e6e82;
  border-bottom: 2px solid #1c1c28; text-transform: uppercase;
  font-size: 11px; letter-spacing: 1px; white-space: nowrap;
}
.notice-table td {
  padding: 14px 12px; border-bottom: 1px solid #1c1c28;
  color: #e8e8ec; vertical-align: top;
}
.notice-table tr:hover { background: rgba(239, 68, 68, 0.02); }
.notice-table .target-cell {
  word-break: break-word; overflow-wrap: anywhere; max-width: 280px;
}
.ref { color: #ef4444; font-weight: bold; white-space: nowrap; }
a.ref-link {
  color: #ef4444; font-weight: bold; text-decoration: none;
  border-bottom: 1px solid rgba(239, 68, 68, 0.35);
}
a.ref-link:hover { border-bottom-color: #ef4444; color: #ff6b6b; }
a.target-link {
  color: #e8e8ec; text-decoration: none;
  border-bottom: 1px solid rgba(232, 232, 236, 0.25);
}
a.target-link:hover { color: #fff; border-bottom-color: #ef4444; }

.status-badge {
  font-weight: bold; padding: 2px 6px; border-radius: 3px;
  font-size: 11px; text-transform: uppercase; display: inline-block;
  white-space: nowrap;
}
.status-investigating { color: #ffb300; background: rgba(255, 179, 0, 0.1); }
.status-active { color: #ff1744; background: rgba(255, 23, 68, 0.1); }
.status-secured { color: #22c55e; background: rgba(34, 197, 94, 0.1); }

.case-cards { display: none; flex-direction: column; gap: 12px; margin-top: 8px; }
.case-card {
  background: #0a0e18; border: 1px solid #1c1c28; border-radius: 6px;
  padding: 14px; font-family: monospace;
}
.case-card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 10px; flex-wrap: wrap;
}
.case-card .num { color: #6e6e82; font-size: 11px; }
.case-card .target {
  color: #e8e8ec; font-size: 13px; line-height: 1.45;
  word-break: break-word; overflow-wrap: anywhere;
}
a.case-card-link {
  display: block; text-decoration: none; color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
a.case-card-link:hover {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.04);
}

.resolved-card {
  border-color: rgba(34, 197, 94, 0.25);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.04) 0%, #0d0d12 48%);
}
.resolved-title {
  font-family: monospace; font-size: 14px; font-weight: bold; letter-spacing: 1.5px;
  color: #22c55e; margin: 0 0 8px; text-transform: uppercase;
}
.resolved-count-num {
  font-family: monospace; font-size: 28px; font-weight: bold; color: #22c55e;
}
.resolved-muted {
  font-family: monospace; font-size: 12px; color: #6e8a6e; line-height: 1.6;
  margin: 10px 0 0; word-break: break-word;
}

.note {
  color: #6e6e82; font-size: 12px; font-family: monospace;
  text-align: left; margin: 0; line-height: 1.65;
  word-break: break-word; overflow-wrap: anywhere;
}
.note.center { text-align: center; }

.breadcrumb {
  font-family: monospace; font-size: 11px; color: #6e6e82;
  letter-spacing: 0.5px; margin: 0 0 18px; line-height: 1.6;
}
.breadcrumb a {
  color: #a1a1b5; text-decoration: none;
  border-bottom: 1px solid rgba(161, 161, 181, 0.3);
}
.breadcrumb a:hover { color: #ef4444; border-bottom-color: #ef4444; }
.breadcrumb .sep { margin: 0 8px; color: #3a3a48; }

.back-link {
  display: inline-block; font-family: monospace; font-size: 12px;
  color: #a1a1b5; text-decoration: none; letter-spacing: 0.5px;
  margin-top: 4px; border-bottom: 1px solid rgba(161, 161, 181, 0.25);
}
.back-link:hover { color: #ef4444; border-bottom-color: #ef4444; }

.detail-list {
  list-style: none; margin: 0; padding: 0;
  font-family: monospace; font-size: 13px;
}
.detail-list li {
  display: grid; grid-template-columns: 140px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #1c1c28;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list .k {
  color: #6e6e82; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; padding-top: 2px;
}
.detail-list .v {
  color: #e8e8ec; font-weight: bold; word-break: break-word; line-height: 1.45;
}

.prose {
  font-family: monospace; font-size: 13px; color: #c4c4d4;
  line-height: 1.7; margin: 0 0 14px; word-break: break-word;
}
.prose:last-child { margin-bottom: 0; }
.prose strong { color: #e8e8ec; font-weight: bold; }
.prose a {
  color: #ef4444; text-decoration: none;
  border-bottom: 1px solid rgba(239, 68, 68, 0.35);
}
.prose a:hover { border-bottom-color: #ef4444; }

.related-list {
  list-style: none; margin: 0; padding: 0;
  font-family: monospace; font-size: 13px;
}
.related-list li {
  padding: 12px 0; border-bottom: 1px solid #1c1c28;
}
.related-list li:last-child { border-bottom: none; }
.related-list a {
  color: #e8e8ec; text-decoration: none; display: flex;
  flex-wrap: wrap; gap: 8px 14px; align-items: baseline;
}
.related-list a:hover .rel-ref { color: #ff6b6b; }
.related-list .rel-ref { color: #ef4444; font-weight: bold; }
.related-list .rel-name { color: #c4c4d4; }
.related-list .rel-status {
  margin-left: auto; font-size: 11px; color: #6e6e82;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.site-footer {
  max-width: 1000px; margin: 8px auto 40px; padding: 24px 16px 10px;
  text-align: center; border-top: 1px solid #1c1c28; font-family: monospace;
}
.site-footer .footer-brand {
  color: #e8e8ec; font-size: 12px; letter-spacing: 3px; font-weight: bold;
  text-transform: uppercase; margin-bottom: 8px;
}
.site-footer .footer-note {
  color: #6e6e82; font-size: 11px; letter-spacing: 0.5px; line-height: 1.6;
  word-break: break-word;
}
.site-footer a {
  color: #a1a1b5; text-decoration: none;
  border-bottom: 1px solid rgba(161, 161, 181, 0.25);
}
.site-footer a:hover { color: #ef4444; border-bottom-color: #ef4444; }

@media (max-width: 700px) {
  .status-grid { grid-template-columns: 1fr; }
  .notice-table-wrap { display: none; }
  .case-cards { display: flex; }
  .card { padding: 16px 14px; }
  main { padding: 0 12px 16px; margin-top: 20px; }
  .contact-value { font-size: 16px; }
  .onion-address { font-size: 11px; }
  .onion-row { flex-direction: column; }
  .detail-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (min-width: 701px) {
  .topnav { padding: 20px 40px; }
  .card { padding: 28px 30px; }
  main { padding: 0 20px 20px; }
  .case-cards { display: none; }
  .notice-table-wrap { display: block; }
}
