:root {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: #111827;
  background: linear-gradient(135deg, #B1E3FF 0%, #F8FAFC 40%, #FFE0AE 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 135, 235, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.glass:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: #0087EB;
  box-shadow: 0 12px 24px -8px rgba(0, 135, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0) 100%);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.home-link {
  text-decoration: none;
  color: #0366d6;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.explorer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0366d6;
  background: rgba(0, 135, 235, 0.08);
  border: 1px solid rgba(0, 135, 235, 0.15);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.explorer-btn:hover {
  background: rgba(0, 135, 235, 0.16);
  border-color: rgba(0, 135, 235, 0.3);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #4b5563;
  flex-wrap: wrap;
}
.breadcrumb a { color: #0366d6; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: #111827; font-weight: 700; }

.container { max-width: 860px; margin: 0 auto; padding: 24px 24px 80px; }
.hero { text-align: center; padding: 28px 0 8px; }
.hero h1 { font-size: 34px; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em; color: #111827; overflow-wrap: anywhere; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 14px;
}
.badge.lock { background: rgba(239, 68, 68, 0.1); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.25); }
.lock-dot { width: 8px; height: 8px; border-radius: 9999px; background: #dc2626; display: inline-block; }

.section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin: 36px 0 14px;
}
.list { display: flex; flex-direction: column; gap: 10px; }

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.toolbar-search {
  flex: 1 1 240px;
  min-width: 180px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 135, 235, 0.2);
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.toolbar-search:focus {
  border-color: #0087EB;
  box-shadow: 0 0 0 3px rgba(0, 135, 235, 0.12);
}
.toolbar-sort {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 135, 235, 0.2);
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  color: #111827;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.toolbar-sort:focus {
  border-color: #0087EB;
  box-shadow: 0 0 0 3px rgba(0, 135, 235, 0.12);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
}
.row .icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.icon.folder { background: linear-gradient(135deg, #38bdf8, #6366f1); }
.icon.report { background: linear-gradient(135deg, #34d399, #0891b2); }
.icon.source { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.row .name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.row .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.size-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 135, 235, 0.08);
  border: 1px solid rgba(0, 135, 235, 0.15);
  color: #0087EB;
  font-weight: 600;
  white-space: nowrap;
}
.size-badge.locked { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.2); color: #dc2626; }
.action { font-size: 12.5px; font-weight: 700; color: #0366d6; white-space: nowrap; }

.footer { text-align: center; padding: 24px; font-size: 12px; color: #6b7280; opacity: 0.8; }
.notice { text-align: center; padding: 60px 20px; color: #4b5563; font-size: 14px; }

@media (max-width: 640px) {
  .container { padding: 16px 16px 60px; }
  .hero h1 { font-size: 28px; }
  .row .size-badge { display: none; }
}
