/* 공개 사이트(base.html)와 사이트 관리(console/base.html)가 함께 쓰는 기본 스타일 — 색 토큰은 tokens.css */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { min-height: 100%; }
body {
	margin: 0;
	font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
	background: var(--surface); color: var(--ink);
	font-size: 15px; line-height: 1.6; letter-spacing: -0.011em;
	word-break: keep-all;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }

/* 키보드로 옮겨 갈 때만 보이는 포커스 표시 (마우스·터치로 누를 때는 안 보임) */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: #fff; }

.card {
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r); padding: 22px;
}
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 22px; font-size: 14.5px; font-weight: 600; line-height: 1.5;
	font-family: inherit; border: 1px solid transparent; border-radius: var(--r-sm);
	cursor: pointer; background: var(--brand); color: #fff; text-decoration: none;
	letter-spacing: -0.02em;
}
.btn:hover { background: var(--brand-dark); }
.btn-2 { background: var(--surface); color: var(--brand); border-color: var(--line-strong); }
.btn-2:hover { background: var(--brand-tint); border-color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.tag {
	display: inline-block; font-size: 11.5px; font-weight: 700;
	padding: 3px 8px; border-radius: 5px;
}
.tag-brand { background: var(--brand-tint); color: var(--brand); }
.tag-live { background: var(--live-bg); color: var(--live); }
.tag-gray { background: #f1f2f4; color: var(--ink-3); }

.empty { text-align: center; color: var(--ink-3); padding: 52px 20px; font-size: 14px; }
.mg .empty { padding: 56px 20px; }

/* 휴대폰에서는 누르는 칸을 44px 이상으로 (PC 모양은 그대로) */
@media (max-width: 860px) {
	.btn { min-height: 44px; }
}
