:root {
  --bg: #09090b;
  --card: #111114;
  --border: #222227;
  --text: #ededed;
  --muted: #71717a;
  --hover: #18181d;
  --accent: #ffffff;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  padding: 32px 16px;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 860px;
}

.header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-title {
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 1.1rem;
  color: var(--muted);
  word-break: break-all;
}

.path-title span {
  color: var(--text);
  font-weight: 600;
}

.search-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.search-input:focus {
  border-color: #3b82f6;
}

.file-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.1s ease;
  font-size: 0.92rem;
}

.file-item:last-child {
  border-bottom: none;
}

.file-item:hover {
  background: var(--hover);
}

.file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--muted);
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--muted);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .file-meta .date { display: none; }
  body { padding: 16px 10px; }
}
