/* 10to9 허브 공통 스타일: 밤의 남색 바탕에 등불색 하나 */
:root {
  --night: #10172a; --panel: #19223a; --panel-2: #212c49; --line: #2f3b5c;
  --ink: #efe7d3; --dim: #a9a693; --lantern: #f2b33d; --lantern-ink: #2a1c00;
  --series: #a79fe0; --danger: #ff8a7a;
  --f-display: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--night); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere; min-height: 100dvh;
  padding: env(safe-area-inset-top, 0) max(16px, env(safe-area-inset-right, 0)) env(safe-area-inset-bottom, 0) max(16px, env(safe-area-inset-left, 0));
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; margin: 0; line-height: 1.3; }
p { margin: 0; }
a { color: var(--lantern); }
.dim { color: var(--dim); }
.wordmark { font-family: var(--f-display); font-weight: 800; letter-spacing: .02em; }
.wordmark b { color: var(--lantern); font-weight: 800; }

button, .btn {
  font: inherit; font-weight: 500; color: var(--ink); background: transparent; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 16px; min-height: 44px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
button:hover, .btn:hover { border-color: var(--dim); }
button:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--lantern); outline-offset: 2px; }
.btn-kakao { background: var(--lantern); border-color: var(--lantern); color: var(--lantern-ink); font-weight: 700; }
.btn-kakao:hover { border-color: #ffd27a; background: #ffc452; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--night); font-weight: 700; }
.btn-quiet { border-color: transparent; color: var(--dim); min-height: 36px; padding: 6px 10px; }
.btn-quiet:hover { color: var(--ink); border-color: transparent; }
button[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: default; pointer-events: none; }

input[type="text"] {
  font: inherit; color: var(--ink); background: var(--night); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; min-height: 44px; width: 100%;
}
.note { font-size: 13px; color: var(--dim); }
.error { font-size: 13px; color: var(--danger); }
