:root {
  --bg: #0f1420;
  --panel: #161d2e;
  --border: #2a3348;
  --text: #e6e9f0;
  --muted: #8b93a7;
  --accent: #4f7cff;
  --accent-hover: #3f68e0;
  --danger: #ff5470;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Pretendard", "Noto Sans KR", sans-serif;
  min-height: 100vh;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 20px 60px; }
.center-wrap { max-width: 380px; margin: 10vh auto; padding: 0 20px; }
h1 { font-size: 20px; margin: 0 0 4px; }
h2 { font-size: 15px; color: var(--muted); font-weight: 600; margin: 28px 0 12px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=file], select, textarea {
  width: 100%;
  padding: 10px 12px;
  background: #0c101a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}
textarea { resize: vertical; min-height: 60px; font-family: inherit; }
button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 14px;
}
button:hover { background: var(--accent-hover); }
button.secondary { background: #2a3348; }
button.danger { background: var(--danger); }
.error { color: var(--danger); font-size: 13px; margin-top: 8px; min-height: 16px; }
.ok { color: #5fd58f; font-size: 13px; margin-top: 8px; }
.row { display: flex; gap: 10px; align-items: center; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.topbar a, .topbar button { font-size: 13px; }
img.preview { max-width: 240px; border-radius: 8px; border: 1px solid var(--border); margin-top: 12px; display: block; }
.ip-tag { display: inline-flex; align-items: center; gap: 6px; background: #0c101a; border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; font-size: 12px; margin: 4px 6px 0 0; }
.ip-tag button { margin: 0; padding: 0 4px; background: none; color: var(--danger); font-size: 14px; }
a { color: var(--accent); }
.muted { color: var(--muted); font-size: 12px; }
