@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
:root {
  --bg: #0d0e12; --panel: #16181f; --panel2: #1d2029; --line: #2a2e3a; --text: #eef0f5; --dim: #8b91a1;
  --accent: #ffcc33; --urgent: #ff3d4f; --ok: #2fd17a; --warn: #ffb020; --err: #ff5466;
  --youtube: #ff3333; --soop: #2d6bff; --chzzk: #00d888; --twitch: #9146ff;
  --font: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* 플랫폼 아이콘 */
.pf { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 1.35em; height: 1.35em; border-radius: .32em; font-size: .82em; font-weight: 800; line-height: 1;
  color: #fff; vertical-align: -0.18em; letter-spacing: -0.02em; }
.pf-youtube { background: var(--youtube); }
.pf-soop { background: var(--soop); }
.pf-chzzk { background: var(--chzzk); color: #062d1d; }
.pf-twitch { background: var(--twitch); }

.bdg { display: inline-block; font-size: .58em; font-weight: 600; padding: .1em .45em; border-radius: 999px; margin-right: .35em; vertical-align: .18em; background: #2b2f3a; color: #c9ced9; letter-spacing: 0; }
.bdg-host { background: #ffcc33; color: #2b2000; }
.bdg-mod { background: #3d7bff; color: #fff; }
.bdg-member { background: #1f8a5a; color: #fff; }
.bdg-vip { background: #e0409b; color: #fff; }
.emote { height: 1.5em; vertical-align: middle; margin: 0 .05em; }

.btn { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: .55em 1em; font-weight: 600; }
.btn:hover { border-color: #4a5063; }
.btn.primary { background: var(--accent); color: #1d1600; border-color: transparent; }
.btn.danger { background: var(--urgent); color: #fff; border-color: transparent; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .45; cursor: default; }

.dot { width: .6em; height: .6em; border-radius: 50%; display: inline-block; background: var(--dim); }
.dot.connected { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot.connecting { background: var(--warn); animation: blink 1s infinite; }
.dot.error { background: var(--err); }
.dot.offline { background: #5b6172; }
@keyframes blink { 50% { opacity: .3; } }

/* 하단 크레딧(라이선스 표기) */
.credit { text-align: center; color: #6b7183; font-size: 12px; padding: 18px 12px 24px; line-height: 1.7; }
.credit b { color: #9aa1b2; font-weight: 600; }
.credit a { color: #9aa1b2; }
