@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --bg: #0b0b0c;
  --panel: #151517;
  --panel-2: #1c1c1f;
  --line: #2a2a2e;
  --text: #f4f4f5;
  --sub: #a1a1aa;
  --yellow: #f5d90a;
  --yellow-soft: rgba(245, 217, 10, .12);
  --green: #22c55e;
  --amber: #f5b40a;
  --red: #ef4444;
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Pretendard", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* 상단 바 */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--yellow); color: #111;
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
}
.brand small { color: var(--sub); font-weight: 500; margin-left: 4px; }
.top-link { color: var(--sub); text-decoration: none; font-size: 14px; }
.top-link:hover { color: var(--text); }

/* 버튼 */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px;
  font: inherit; font-weight: 800; font-size: 16px;
  background: var(--yellow); color: #111;
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s;
  box-shadow: 0 6px 0 #b89f00;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b89f00; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; font-weight: 600; }
.btn.ghost:hover { border-color: #555; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--yellow-soft); color: var(--yellow);
  font-size: 13px; font-weight: 700;
}
.fine { color: var(--sub); font-size: 13px; }
.footer { border-top: 1px solid var(--line); padding: 28px 22px 40px; text-align: center; color: var(--sub); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
