.net-page {
  min-height: 100vh;
  background: #0a0e1a;
  color: #e6edf3;
  font-family: 'DM Sans', 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
}

.net-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 183, 200, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.net-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.net-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.net-back-link:hover {
  color: #2bb7c8;
}

.net-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.net-title-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.net-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.net-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.net-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: netPulse 2s infinite;
}

@keyframes netPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.net-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.net-nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.net-nav-link:hover {
  color: #2bb7c8;
}

.net-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
  border-bottom: 1px solid rgba(43, 183, 200, 0.1);
}

.net-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 32px;
}

.net-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(148, 163, 184, 0.15);
}

.net-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.net-dot-green {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.net-dot-amber {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.net-dot-blue {
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.net-stat-num {
  font-family: 'DM Mono', 'Space Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.net-stat-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.net-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.net-map-area {
  position: relative;
  flex: 1;
  min-height: 50vh;
}

.net-map {
  width: 100%;
  height: 100%;
  min-height: 50vh;
  background: #0c1a2e;
}

.net-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #64748b;
  font-size: 14px;
}

.net-map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 12px;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(43, 183, 200, 0.15);
  z-index: 10;
}

.net-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.net-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.net-bottom-panel {
  background: #0d1117;
  border-top: 1px solid rgba(43, 183, 200, 0.15);
  display: flex;
  gap: 0;
}

.net-explore-section {
  flex: 1;
  padding: 24px 32px;
  border-right: 1px solid rgba(43, 183, 200, 0.1);
}

.net-explore-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #ffffff;
}

.net-explore-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.net-explore-form {
  margin-bottom: 16px;
}

.net-search-wrap {
  display: flex;
  align-items: center;
  background: #161b22;
  border: 1px solid rgba(43, 183, 200, 0.2);
  border-radius: 10px;
  padding: 4px 4px 4px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.net-search-wrap:focus-within {
  border-color: #2bb7c8;
  box-shadow: 0 0 0 3px rgba(43, 183, 200, 0.15);
}

.net-search-icon {
  color: #64748b;
  flex-shrink: 0;
}

.net-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #e6edf3;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  padding: 10px 12px;
}

.net-search-input::placeholder {
  color: #4a5568;
}

.net-explore-btn {
  background: linear-gradient(135deg, #2bb7c8 0%, #28b0a0 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.net-explore-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43, 183, 200, 0.3);
}

.net-explore-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.net-result-panel {
  margin-top: 0;
}

.net-result-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 14px;
  padding: 20px 0;
}

.net-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(43, 183, 200, 0.2);
  border-top-color: #2bb7c8;
  border-radius: 50%;
  animation: netSpin 0.8s linear infinite;
}

@keyframes netSpin {
  to { transform: rotate(360deg); }
}

.net-result-error {
  color: #ef4444;
  font-size: 14px;
  padding: 16px 0;
}

.net-result-card {
  background: #161b22;
  border: 1px solid rgba(43, 183, 200, 0.15);
  border-radius: 12px;
  overflow: hidden;
  animation: netSlideUp 0.4s ease-out;
}

@keyframes netSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.net-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(43, 183, 200, 0.1);
}

.net-result-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.net-result-coords {
  font-size: 12px;
  color: #64748b;
  font-family: 'DM Mono', monospace;
  margin-top: 2px;
}

.net-result-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.net-badge-candidate {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #f59e0b !important;
}

.net-result-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(43, 183, 200, 0.08);
}

.net-result-metric {
  padding: 16px;
  background: #161b22;
  text-align: center;
}

.net-metric-primary {
  background: rgba(43, 183, 200, 0.06);
}

.net-result-metric-value {
  font-family: 'DM Mono', 'Space Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.net-metric-primary .net-result-metric-value {
  color: #2bb7c8;
  font-size: 20px;
}

.net-result-metric-label {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.net-result-details {
  padding: 12px 20px;
  border-top: 1px solid rgba(43, 183, 200, 0.08);
}

.net-result-detail {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(43, 183, 200, 0.05);
}

.net-result-detail:last-child {
  border-bottom: none;
}

.net-result-detail span:first-child {
  color: #64748b;
}

.net-result-detail span:last-child {
  color: #e6edf3;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
}

.net-result-disclaimer {
  padding: 10px 20px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  border-top: 1px solid rgba(43, 183, 200, 0.08);
  font-style: italic;
}

.net-result-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid rgba(43, 183, 200, 0.1);
}

.net-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #2bb7c8 0%, #28b0a0 100%);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.15s, box-shadow 0.15s;
}

.net-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43, 183, 200, 0.3);
}

.net-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.net-btn-requested {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #f59e0b !important;
}

.net-btn-secondary {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

.net-btn-secondary:hover {
  background: rgba(148, 163, 184, 0.2);
}

.net-feed-section {
  width: 320px;
  flex-shrink: 0;
  padding: 24px 20px;
  max-height: 400px;
  overflow-y: auto;
}

.net-feed-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.net-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.net-feed-empty {
  color: #4a5568;
  font-size: 13px;
  padding: 16px 0;
}

.net-feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(43, 183, 200, 0.06);
  font-size: 12px;
}

.net-feed-item-new {
  animation: netFeedIn 0.5s ease-out;
  background: rgba(43, 183, 200, 0.05);
}

@keyframes netFeedIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.net-feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.net-feed-name {
  flex: 1;
  color: #e6edf3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.net-feed-gal {
  color: #2bb7c8;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  white-space: nowrap;
}

.net-feed-time {
  color: #4a5568;
  font-size: 11px;
  white-space: nowrap;
}

.net-info-window {
  font-family: 'DM Sans', sans-serif;
  min-width: 200px;
}

.net-info-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.net-info-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.net-info-active {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.net-info-candidate {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.net-info-potential {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.net-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  padding: 3px 0;
  color: #475569;
}

.net-info-row span:last-child {
  font-weight: 600;
  color: #1e293b;
}

@media (max-width: 900px) {
  .net-stats-strip {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
  }

  .net-stat {
    padding: 4px 16px;
  }

  .net-stat-divider {
    display: none;
  }

  .net-stat-num {
    font-size: 20px;
  }

  .net-bottom-panel {
    flex-direction: column;
  }

  .net-feed-section {
    width: 100%;
    max-height: 200px;
    border-top: 1px solid rgba(43, 183, 200, 0.1);
  }

  .net-explore-section {
    border-right: none;
    padding: 20px 16px;
  }

  .net-result-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .net-result-actions {
    flex-direction: column;
  }

  .net-map-area {
    min-height: 40vh;
  }

  .net-top-right {
    display: none;
  }
}

@media (max-width: 480px) {
  .net-stat-num {
    font-size: 16px;
  }

  .net-stat {
    padding: 4px 10px;
  }

  .net-result-metric-value {
    font-size: 14px;
  }

  .net-metric-primary .net-result-metric-value {
    font-size: 16px;
  }
}
