:root {
  --bg: #101010;
  --card: #181818;
  --line: #2d2d2d;
  --ink: #f3f5f7;
  --ink-2: #a5a5a5;
  --blue: #0095f6;
  --surface-raised: #202020;
  --surface-input: #111;
  --surface-hover: #242424;
  --ink-muted: #777;
  --line-hover: #555;
  --danger: #f26b6b;
  --danger-line: #553333;
  --success-bg: #102b3d;
  --success-ink: #bce7ff;
  --error-line: #713c3c;
  --error-bg: #281717;
  --error-ink: #ffcaca;
  --header-bg: rgba(16, 16, 16, .92);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a, output { overflow-wrap: anywhere; }

.owner-card,
.archive-card,
.archive-collection {
  border: 1px solid var(--line);
  background: var(--card);
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-raised);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
button:disabled { cursor: wait; opacity: .55; }
button:hover:not(:disabled), .button:hover { border-color: var(--line-hover); }

.owner-status,
.owner-alert,
.archive-toast { border-radius: 10px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
