:root {
  --bg: #0b0f17;
  --panel: #121826;
  --border: #2a3550;
  --text: #e8eefb;
  --muted: #9fb0d0;
  --accent: #4f8cff;
  --accent-2: #7aa2ff;
  --danger: #ff6b6b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: linear-gradient(180deg, #0b0f17 0%, #0d1220 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}
header { display: flex; align-items: center; justify-content: space-between; }
header h1 { margin: 0; font-size: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.4px; }
.brand img { width: 28px; height: 28px; border-radius: 6px; background: #0c1120; border: 1px solid var(--border); }
.brand span { color: var(--text); font-size: 16px; }
nav a, .linklike { color: var(--muted); text-decoration: none; background: none; border: none; cursor: pointer; font: inherit; }
nav a:hover, .linklike:hover { color: var(--text); }
.hero { padding: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; }
.card { padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; margin-top: 16px; }
label { display: block; margin-bottom: 6px; color: var(--muted); }
input[type="password"], input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  background: #0f1524;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}
button {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  cursor: pointer;
}
button:hover { background: var(--accent-2); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.tile {
  background: #0f1524;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #0c1120;
}
.tile .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
}
.url {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 12px;
  max-width: 70%;
}
.footnote {
  color: var(--muted);
  font-size: 12px;
  padding-bottom: 24px;
}
.powered { margin-top: 8px; }
.powered-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(79, 140, 255, 0.35);
  text-decoration: none;
  font-weight: 600;
}
.powered-btn:hover {
  background: rgba(79, 140, 255, 0.2);
  color: var(--accent-2);
  border-color: rgba(122, 162, 255, 0.6);
}


