:root {
  --bg: #05080a;
  --panel: rgba(10, 22, 26, 0.72);
  --panel-border: rgba(45, 212, 255, 0.25);
  --cyan: #2dd4ff;
  --cyan-dim: rgba(45, 212, 255, 0.35);
  --orange: #E9510E;
  --orange-glow: rgba(233, 81, 14, 0.55);
  --red: #ff3b5c;
  --text: #d8f4ff;
  --text-dim: #7fa8b3;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(45, 212, 255, 0.10), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(233, 81, 14, 0.10), transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  padding: 20px;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  z-index: 0;
}
.frame { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--panel-border);
  margin-bottom: 28px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.brand { font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: 3px; font-size: clamp(15px, 4vw, 20px); color: var(--cyan); text-shadow: 0 0 12px var(--cyan-dim); text-decoration: none; }
.brand span { color: var(--orange); text-shadow: 0 0 12px var(--orange-glow); }
.back-link { font-size: 13px; letter-spacing: 1px; color: var(--cyan); text-decoration: none; }
.back-link:hover { text-shadow: 0 0 10px var(--cyan-dim); }
.topbar-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.menu { position: relative; }
.menu > summary {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 2px 4px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-dim);
  list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { text-shadow: 0 0 14px var(--cyan-dim); }
.menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 170px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 10px;
  backdrop-filter: blur(4px);
  z-index: 20;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--panel-border); font-size: 13px; white-space: nowrap; }
th { color: var(--text-dim); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; }
td { color: var(--text); }
.status { font-weight: bold; text-shadow: 0 0 8px currentColor; }
.project-tag { color: var(--text-dim); font-size: 12px; }
table a { color: var(--cyan); text-decoration: none; font-weight: bold; letter-spacing: 1px; }
table a:hover { text-shadow: 0 0 10px var(--cyan-dim); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes flicker { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.55; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
