* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #1a1a2e;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.search-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #16213e;
  border-bottom: 1px solid #0f3460;
}

#query {
  flex: 1;
  padding: 10px 14px;
  font-size: 16px;
  background: #1a1a2e;
  color: #e0e0e0;
  border: 1px solid #0f3460;
  border-radius: 6px;
  outline: none;
}

#query:focus {
  border-color: #e94560;
}

#month-filter {
  padding: 10px 12px;
  font-size: 14px;
  background: #1a1a2e;
  color: #e0e0e0;
  border: 1px solid #0f3460;
  border-radius: 6px;
  outline: none;
  color-scheme: dark;
}

#results {
  padding: 8px 16px;
}

.result {
  padding: 12px;
  margin: 4px 0;
  border-radius: 6px;
  background: #16213e;
  border: 1px solid transparent;
  transition: border-color 0.15s;
}

.result:hover {
  border-color: #0f3460;
}

.result a {
  color: #e94560;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result a:hover {
  text-decoration: underline;
}

.result .url {
  color: #7a7a9e;
  font-size: 13px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result .time {
  color: #5a5a7e;
  font-size: 12px;
  margin-top: 2px;
}

.empty {
  text-align: center;
  color: #5a5a7e;
  padding: 40px;
  font-size: 14px;
}
