@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800&display=swap');
/* 돌체TV 목업 스타일 (진한 네이비 + 골드/오렌지 + 초록 포인트) */
:root { --qs-bg: #11141b; --qs-card: #1b2030; --qs-card2: #161a27; --qs-line: #2a3350; --qs-text: #d7dbe8; --qs-mute: #8e96ad; --qs-green: #2bd45b; --qs-gold: #ffc61a; --qs-orange: #ff9a1a; --qs-blue: #3a7bff; }
html, body { background: var(--qs-bg) !important; color: var(--qs-text); }
body { font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: -0.2px; }
a { color: var(--qs-text); } a:hover { color: var(--qs-gold); text-decoration: none; }
#nt_loader { display: none !important; }
#nt_lnb, #nt_sticky, #nt_menu_wrap, #nt_bottom_nav_m, .nt-tiger { display: none !important; }
.wrapper, .wrapper.wided, .nt-body, #nt_body { background: var(--qs-bg) !important; }
.qs-wrap { max-width: 1398px; margin: 0 auto; padding: 0 16px; }

/* ---- 헤더 (파란 물결) ---- */
.qs-header { position: sticky; top: 0; z-index: 60; background:
  radial-gradient(120% 140% at 85% 130%, rgba(60,120,220,.35) 0 40%, transparent 41%),
  radial-gradient(100% 120% at 10% 140%, rgba(40,90,190,.30) 0 42%, transparent 43%),
  linear-gradient(180deg, #0f2a4d 0%, #0b1c36 100%); border-bottom: 2px solid #1b3c6e; }
.qs-hd { display: flex; align-items: center; gap: 36px; height: 80px; }
.qs-logo { display: flex; align-items: center; gap: 8px; flex: none; color: #fff !important; }
.qs-logo-mark { width: 54px; height: 34px; }
.qs-logo-text { display: flex; align-items: baseline; font-size: 36px; font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.qs-logo-text b { background: linear-gradient(180deg, #ffd35a, #e8741a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qs-logo-text i { margin-left: 3px; background: linear-gradient(180deg, #fff, #b9c6e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qs-logo-text em { margin-left: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: #e8741a; }
.qs-nav { display: flex; gap: 6px; flex: 1; }
.qs-nav-a { position: relative; padding: 24px 12px 8px; font-size: 16px; font-weight: 700; color: #f3f5fa; white-space: nowrap; margin-top: 12px; }
.qs-nav-a:hover { color: var(--qs-gold); }
.qs-nav-a.gold { color: #ffc61a; } .qs-nav-a.orange { color: #ff9a1a; }
.qs-bd { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 10px; background: #1fa64a; border: 1px solid #5be98a; color: #eaffef; font-size: 10px; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.qs-burger { display: none; }

/* ---- 레이아웃 (본문 왼쪽 / 사이드 오른쪽) ---- */
.qs-shell { padding-top: 26px; padding-bottom: 40px; }
.qs-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 0; align-items: start; }
.qs-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.qs-card { background: var(--qs-card); border: 1px solid var(--qs-line); border-radius: 10px; }

/* ---- 탭 박스 ---- */
.qs-tabs { overflow: hidden; }
.qs-tabs-hd { display: flex; border-bottom: 1px solid var(--qs-line); background: #161b29; }
.qs-tabs-hd button { flex: 1; height: 40px; border: 0; border-top: 2px solid transparent; background: transparent; color: #aab2c8; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.qs-tabs-hd button.on { color: var(--qs-green); border-top-color: var(--qs-green); background: var(--qs-card); }
.qs-tl { display: none; list-style: none; margin: 0; padding: 6px 4px; }
.qs-tl.on { display: block; }
.qs-tl li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; }
.qs-tl li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: #e4e8f4; }
.qs-tl li a em { font-style: normal; color: #aab2c8; } .qs-tl li a small { color: #9aa3bb; }
.qs-tl time { font-size: 12.5px; color: #8e96ad; }

/* ---- 가로 배너 ---- */
.qs-strip { display: flex; align-items: center; gap: 22px; min-height: 100px; padding: 0 30px; border: 1px solid #1c2c52; border-radius: 6px; color: #fff !important; background:
  radial-gradient(60% 200% at 100% 50%, rgba(60,110,255,.22), transparent 60%), linear-gradient(100deg, #0a1633, #10224a 60%, #0a1633); overflow: hidden; }
.qs-strip i { flex: none; font-size: 44px; color: #cfd9ff; width: 60px; text-align: center; }
.qs-strip strong { flex: none; font-size: 34px; font-weight: 900; letter-spacing: -1px; padding-right: 22px; border-right: 2px solid #3a4a7a; }
.qs-strip span { font-size: 18px; font-weight: 600; color: #e4e9ff; line-height: 1.4; }
.qs-s2 { background: radial-gradient(60% 200% at 100% 50%, rgba(80,120,255,.2), transparent 60%), linear-gradient(100deg, #0a1633, #0f2548 60%, #081230); }
.qs-s3 { background: radial-gradient(60% 200% at 100% 50%, rgba(255,150,50,.16), transparent 60%), linear-gradient(100deg, #0a1633, #14224a 60%, #081230); }
.qs-s4 { background: radial-gradient(60% 200% at 100% 50%, rgba(60,200,140,.16), transparent 60%), linear-gradient(100deg, #0a1633, #0f2548 60%, #081230); }

/* ---- 설명 카드 ---- */
.qs-article { padding: 18px 20px 20px; }
.qs-article h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; font-weight: 800; color: #fff; }
.qs-article h2 i { flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--qs-green); }
.qs-article > p { margin: 0; font-size: 13.5px; line-height: 1.85; color: #aab2c8; }
.qs-points { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px dashed #364062; }
.qs-points li { position: relative; margin-bottom: 14px; } .qs-points li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #ff4a4a; }
.qs-points b { font-size: 14px; color: #fff; } .qs-points p { margin: 4px 0 0; font-size: 13px; line-height: 1.85; color: #9aa3bb; }
.qs-feat { margin-top: 10px; padding: 14px 16px; background: #141a2a; border: 1px solid #252e4a; border-left: 3px solid var(--qs-blue); border-radius: 6px; }
.qs-feat b { font-size: 13.5px; color: #fff; } .qs-feat p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.8; color: #9aa3bb; }
.qs-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; margin-top: 14px; }
.qs-steps > div { padding: 16px 16px 18px; background: #141a2a; border: 1px solid #252e4a; border-radius: 8px; }
.qs-steps > i { align-self: center; color: var(--qs-orange); font-size: 20px; }
.qs-steps em { display: inline-block; padding: 2px 10px; border-radius: 12px; background: var(--qs-orange); color: #2a1a00; font-size: 11px; font-style: normal; font-weight: 800; } .qs-steps em.bonus { background: #ffc61a; }
.qs-steps b { display: block; margin: 10px 0 6px; font-size: 14px; color: #fff; } .qs-steps p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #9aa3bb; }

/* ---- 경기 카드 ---- */
.qs-match { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; background: #131826; border: 1px solid var(--qs-line); border-radius: 12px; }
.qs-mc { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 6px; padding: 10px 14px 24px; background: linear-gradient(110deg, #1b2236 50%, #171d2f 50%); border: 1px solid #263150; border-radius: 10px; color: #fff !important; }
.qs-mc:hover { border-color: var(--qs-gold); }
.qs-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; text-align: center; } .qs-team b { font-weight: 700; }
.qs-crest { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); color: #fff; font-size: 13px; font-weight: 900; font-style: italic; }
.qs-crest i { position: absolute; right: -14px; bottom: -4px; padding: 0 6px; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 800; }
.qs-crest i.home { background: #d9232d; } .qs-crest i.away { background: #2d6fd8; }
.qs-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; } .qs-mid time { font-size: 12px; color: #c2c9dd; } .qs-mid .vs { padding: 3px 14px; border-radius: 6px; background: #2a3350; font-size: 13px; font-weight: 800; color: #eaf0ff; }
.qs-stat { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 11.5px; color: #9aa3bb; }

/* ---- 사이드바 ---- */
.qs-side { display: flex; flex-direction: column; gap: 14px; padding: 0 12px; }
.qs-login { padding: 20px 16px 16px; }
.qs-login h3 { margin: 0 0 14px 4px; font-size: 18px; font-weight: 800; color: #fff; }
.qs-fields { border: 1px solid #323c5c; border-radius: 6px; overflow: hidden; background: #151a29; }
.qs-f { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 14px; height: 40px; color: #aab2c8; } .qs-f + .qs-f { border-top: 1px solid #2a3350; }
.qs-f input { flex: 1; min-width: 0; background: transparent; border: 0; color: #eee; font-size: 14px; } .qs-f input:focus { outline: none; } .qs-f i { font-size: 20px; width: 22px; text-align: center; }
.qs-btn-login { display: block; width: 100%; height: 40px; margin-top: 14px; border: 0; border-radius: 6px; background: #20263a; color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; } .qs-btn-login:hover { background: #2a3350; }
.qs-login-sub { display: flex; justify-content: space-around; margin: 16px -16px -16px; padding: 14px 0; background: #161b2b; border-radius: 0 0 10px 10px; font-size: 13px; color: #aab2c8; } .qs-login-sub i { margin-right: 6px; }
.qs-me { margin: 0 4px 8px; font-size: 15px; } .qs-me span { margin-left: 6px; padding: 2px 8px; border-radius: 10px; background: #1d3a26; color: var(--qs-green); font-size: 11px; }
.qs-me-links { display: flex; gap: 10px; padding: 0 4px; font-size: 12.5px; color: var(--qs-mute); }
.qs-chat { overflow: hidden; }
.qs-chat-hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 14px; color: #fff; } .qs-chat-hd span { color: #8e96ad; font-size: 12px; margin-right: auto; } .qs-chat-hd u.live { width: 9px; height: 9px; border-radius: 50%; background: var(--qs-green); }
.qs-chat-body { display: flex; flex-direction: column; gap: 10px; padding: 4px 14px 12px; height: 520px; overflow: hidden; }
.qs-bub { font-size: 13.5px; line-height: 1.5; }
.qs-bub.sys { padding: 10px 12px; border: 1px solid #2d4c7a; border-radius: 8px; background: #19243d; color: #e4ecff; } .qs-bub.sys i { margin-right: 6px; color: #ffb02e; }
.qs-bub.msg { color: #e0e5f2; } .qs-bub.msg b { color: var(--qs-green); } .qs-bub.msg .ico { display: inline-block; width: 14px; height: 14px; margin-right: 6px; border-radius: 50%; background: #d9232d; vertical-align: -2px; }
.qs-bub.hello { padding: 10px 12px; border-radius: 8px; background: #1b2740; color: #ffc61a; text-align: center; }
.qs-chat-in { display: flex; gap: 8px; padding: 12px 10px 14px; border-top: 1px solid #263150; }
.qs-chat-in input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; background: #151a29; border: 1px solid #2d3858; border-radius: 6px; color: #aaa; font-size: 13px; }
.qs-chat-in button { width: 52px; border: 0; border-radius: 6px; background: #ffb02e; color: #2a1a00; font-weight: 800; }
.qs-help { display: flex; flex-direction: column; justify-content: center; height: 88px; padding: 0 18px; border-radius: 10px; color: #fff !important; background: radial-gradient(60% 200% at 100% 50%, rgba(255,255,255,.2), transparent 60%), linear-gradient(100deg, #2a74ff, #1b56d6); }
.qs-help small { font-size: 14px; } .qs-help strong { font-size: 21px; font-weight: 900; } .qs-help span { position: absolute; right: 26px; font-size: 11px; opacity: .8; }
.qs-notice { display: flex; flex-direction: column; padding: 10px 14px; gap: 10px; background: #1b2236; } .qs-notice a { font-size: 13.5px; color: #e4e9f6; line-height: 1.5; }
.qs-addr { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 22px; border-radius: 10px; border: 1px solid #1f4a8a; color: #fff !important; background: radial-gradient(70% 200% at 0% 50%, rgba(60,140,255,.3), transparent 60%), linear-gradient(100deg, #061126, #0a2350); }
.qs-addr strong { font-size: 20px; font-weight: 900; font-style: italic; } .qs-addr strong em { display: block; font-style: normal; font-size: 16px; color: #ff4a4a; } .qs-addr span { padding: 12px 10px; border: 2px solid #8fb6ff; border-radius: 50%; font-size: 10px; line-height: 1.2; text-align: center; }

/* ---- 팝업 (PC) ---- */
.qs-pops { position: fixed; top: 100px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; gap: 10px; }
.qs-pop { width: 260px; background: #000; box-shadow: 0 8px 30px rgba(0,0,0,.6); }
.qs-pop-bar { display: flex; align-items: center; justify-content: space-between; height: 36px; background: #000; color: #fff; font-size: 12px; }
.qs-pop-bar button { height: 36px; border: 0; background: transparent; color: #fff; font-size: 12px; font-weight: 700; padding: 0 10px; cursor: pointer; } .qs-pop-bar .x { background: #111; padding: 0 14px; }
.qs-pop-body { position: relative; min-height: 410px; padding: 24px 18px; color: #fff; text-align: center; }
.qs-pop-body.p1 { background: radial-gradient(70% 50% at 50% 38%, rgba(255,210,80,.55), transparent 70%), linear-gradient(180deg, #7a1d1d, #101010 85%); }
.qs-pop-body.p1 small { display: block; font-size: 14px; letter-spacing: 3px; color: #ffd86b; } .qs-pop-body.p1 strong { display: block; margin-top: 10px; font-size: 38px; font-weight: 900; font-style: italic; line-height: 1.05; }
.qs-pop-body.p1 b { display: block; margin-top: 18px; font-size: 130px; font-weight: 900; font-style: italic; line-height: 1; background: linear-gradient(180deg, #fff1b0, #e8a31a); -webkit-background-clip: text; background-clip: text; color: transparent; } .qs-pop-body.p1 b i { font-size: 56px; }
.qs-pop-body.p1 span { display: block; margin-top: 14px; padding: 6px 0; background: rgba(0,0,0,.5); font-size: 16px; font-weight: 800; } .qs-pop-body.p1 em { display: block; margin: 18px auto 0; width: 130px; padding: 10px 0; background: #000; border: 1px solid #555; font-style: normal; font-weight: 800; }
.qs-pop-body.p2 { background: linear-gradient(180deg, #ffe9b8, #ffb347 40%, #ff7a1a); color: #3a1d00; }
.qs-pop-body.p2 small { display: block; font-size: 15px; font-weight: 800; } .qs-pop-body.p2 strong { display: block; margin: 6px 0 18px; font-size: 40px; font-weight: 900; letter-spacing: -1px; color: #ffffff; text-shadow: 0 3px 0 #b3540d; }
.qs-pop-body.p2 ul { list-style: none; margin: 0; padding: 0; text-align: left; } .qs-pop-body.p2 li { margin-bottom: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.7); font-size: 13px; font-weight: 800; } .qs-pop-body.p2 li span { display: block; margin-top: 2px; font-weight: 600; font-size: 12px; }
.qs-pop-body.p2 em { display: block; margin-top: 14px; font-size: 10px; font-style: normal; opacity: .6; }

/* ---- 푸터 ---- */
.qs-footer { padding: 30px 0 50px; background: #0d1017; border-top: 1px solid #1d2438; font-size: 12.5px; color: var(--qs-mute); }
.qs-footer .qs-wrap { display: flex; gap: 36px; flex-wrap: wrap; align-items: flex-start; }
.qs-ft-logo { font-size: 28px; font-weight: 900; font-style: italic; background: linear-gradient(180deg, #ffd35a, #e8741a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qs-ft-txt { flex: 1; min-width: 260px; line-height: 1.8; } .qs-ft-txt p { margin: 0 0 6px; } .qs-ft-links { display: flex; gap: 14px; margin-top: 8px; } .qs-ft-links a { color: #b6bccd; }

/* ---- 서브페이지(게시판 등) 색 보정 ---- */
.nt-container { color: var(--qs-text); }
.nt-container .card, .nt-container .list-group-item, .nt-container .modal-content { background: var(--qs-card); color: var(--qs-text); border-color: var(--qs-line); }
.nt-container .form-control, .nt-container select, .nt-container textarea { background: #151a29; border-color: #2d3858; color: #eee; }
.nt-container .bg-white, .nt-container .bg-light { background: var(--qs-card) !important; }
.nt-container .text-muted { color: var(--qs-mute) !important; }
.btn-primary, .bg-primary, .page-item.active .page-link { background-color: var(--qs-gold) !important; border-color: var(--qs-gold) !important; color: #2a1a00 !important; }
.text-primary, .page-link { color: var(--qs-gold) !important; }
.page-link { background: var(--qs-card) !important; border-color: var(--qs-line) !important; } .page-item.active .page-link { color: #2a1a00 !important; }
.nt-container table thead th { background: #161b29 !important; color: #c9cfe0 !important; border-color: var(--qs-line) !important; }
.nt-container table tbody td { color: #d7dbe8 !important; border-color: var(--qs-line) !important; }
:root { --ifb-bg: #11141b; --ifb-surface: transparent; --ifb-head: #161b29; --ifb-line: #2a3350; --ifb-line-soft: #222a42; --ifb-text: #d7dbe8; --ifb-text-strong: #fff; --ifb-muted: #8e96ad; --ifb-dim: #707891; --ifb-accent: #ffc61a; --ifb-accent-deep: #e0a800; }
.ifade-list-wrap { border: 0 !important; background: transparent !important; }
.ifade-list tbody tr:hover td { background: rgba(255, 198, 26, .07) !important; }
.ifade-list .cmt { color: var(--qs-gold) !important; }
#nt_side_menu { border: 1px solid var(--qs-line) !important; border-radius: 10px; background: var(--qs-card); overflow: hidden; }
#nt_side_menu .bg-primary { background: #161b29 !important; color: var(--qs-gold) !important; } #nt_side_menu h4 { background: transparent !important; border: 0 !important; color: var(--qs-gold) !important; }

/* =====================================================================
   모바일 (991px 이하)
   ===================================================================== */
.qs-backdrop, .qs-pill, .qs-drawer-hd, .qs-drawer-menu, .qs-chatpanel { display: none; }
@media (max-width: 1199px) { .qs-hd { gap: 14px; } .qs-nav-a { padding: 24px 7px 8px; font-size: 14px; } .qs-cols { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; } .qs-mc { grid-template-columns: 1fr 90px 1fr; } .qs-match { grid-template-columns: 1fr; } }
@media (max-width: 991px) {
  .qs-wrap { padding: 0 10px; }
  /* 헤더: 로고(왼쪽) + 햄버거(오른쪽) */
  .qs-hd { height: 64px; justify-content: space-between; }
  .qs-nav { display: none; }
  .qs-logo-text { font-size: 30px; } .qs-logo-mark { width: 46px; height: 30px; }
  .qs-burger { display: block; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 28px; text-align: right; }

  /* 본문 */
  .qs-shell { padding-top: 14px; padding-bottom: 20px; }
  .qs-cols { grid-template-columns: 1fr; gap: 0; }
  .qs-main { gap: 12px; }
  .qs-tl li { padding: 11px 12px; } .qs-tl li a { font-size: 14.5px; } .qs-tl time { font-size: 14px; }
  .qs-tabs-hd button { height: 42px; }
  .qs-strip { min-height: 60px; padding: 0 12px; gap: 10px; border-radius: 4px; }
  .qs-strip i { font-size: 26px; width: 34px; } .qs-strip strong { font-size: 18px; padding-right: 10px; } .qs-strip span { font-size: 12px; }
  .qs-article { padding: 16px 14px 18px; } .qs-article h2 { font-size: 20px; } .qs-article > p { font-size: 15px; line-height: 1.9; }
  .qs-match { padding: 10px; gap: 10px; }
  .qs-mc { grid-template-columns: 1fr 70px 1fr; padding: 14px 8px 30px; background: linear-gradient(110deg, #1b2236 50%, #161c2d 50%); }
  .qs-team b { font-size: 16px; } .qs-crest { width: 50px; height: 50px; font-size: 15px; } .qs-stat { font-size: 14px; bottom: 8px; }
  .qs-steps { grid-template-columns: 1fr; } .qs-steps > i { transform: rotate(90deg); justify-self: center; }
  .qs-footer { padding-bottom: 110px; } .qs-footer .qs-wrap { padding: 0 14px; }

  /* PC 사이드바 → 서랍 */
  .qs-side { position: fixed; top: 0; right: 0; bottom: 0; z-index: 130; width: 86%; max-width: 350px; padding: 0 14px 110px; overflow-y: auto; background: #131827; transform: translateX(104%); transition: transform .25s ease; box-shadow: -8px 0 30px rgba(0,0,0,.6); gap: 12px; }
  .qs-side > * { flex: 0 0 auto; }
  body.qs-drawer-open .qs-side { transform: none; }
  .qs-backdrop { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.65); } body.qs-drawer-open .qs-backdrop { display: block; } body.qs-drawer-open { overflow: hidden; }
  .qs-drawer-hd { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; margin: 0 -14px; padding: 16px 18px; background: #0d1220; border-bottom: 2px solid var(--qs-green); font-size: 16px; color: #fff; order: 0; }
  .qs-drawer-x { border: 0; background: transparent; color: #ddd; font-size: 30px; line-height: 1; }
  .qs-login { order: 1; margin-top: 10px; } .qs-drawer-menu { display: grid; order: 2; }
  .qs-dm { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid #252e48; font-size: 15px; font-weight: 700; color: #f0f2f8; }
  .qs-dm.gold { color: var(--qs-gold); } .qs-dm.orange { color: var(--qs-orange); }
  .qs-dm .qs-bd { position: static; transform: none; }
  .qs-side > .qs-chat { display: none; }
  .qs-side > .qs-help, .qs-side > .qs-notice, .qs-side > .qs-addr { order: 3; }

  /* 팝업: 모바일은 한 개만 가운데에 */
  .qs-pops { top: 84px; width: calc(100% - 24px); max-width: 320px; }
  .qs-pop { width: 100%; } .qs-pop + .qs-pop { display: none; }
  .qs-pop-body { min-height: 390px; }

  /* 하단: 떠 있는 알약형 내비 */
  .qs-pill { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 100; padding: 8px 6px; border-radius: 36px; background: rgba(14, 22, 40, .96); border: 2px solid #2f5fc4; box-shadow: 0 0 0 4px rgba(47, 95, 196, .25), 0 10px 30px rgba(0,0,0,.6); }
  .qs-pill a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #e6ebf8 !important; font-size: 13px; font-weight: 700; }
  .qs-pill a i { font-size: 24px; } .qs-pill a.gold { color: var(--qs-gold) !important; }
  .qs-pill a .qs-lbl-close { display: none; } body.qs-chat-open .qs-pill a .qs-lbl-open { display: none; } body.qs-chat-open .qs-pill a .qs-lbl-close { display: inline; }
  body { padding-bottom: 0; }

  /* 채팅 패널 */
  .qs-chatpanel { display: flex; flex-direction: column; position: fixed; left: 10px; right: 10px; bottom: 96px; z-index: 99; height: 46vh; max-height: 400px; min-height: 270px; background: #1b2236; border: 1px solid #2f5fc4; border-radius: 16px; box-shadow: 0 -6px 24px rgba(0,0,0,.55); transform: translateY(130%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; overflow: hidden; }
  body.qs-chat-open .qs-chatpanel { transform: none; visibility: visible; transition: transform .28s ease; }
  .qs-cp-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; font-size: 15px; color: #fff; border-bottom: 1px solid #2a3350; } .qs-cp-hd span { font-size: 12px; color: #8e96ad; }
  .qs-cp-list { flex: 1; min-height: 0; margin: 0; padding: 10px 12px; list-style: none; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
  .qs-cp-list li { color: #e0e5f2; } .qs-cp-list li b { color: var(--qs-green); } .qs-cp-list li.sys { padding: 8px 10px; border: 1px solid #2d4c7a; border-radius: 8px; background: #19243d; }
  .qs-cp-form { display: flex; gap: 8px; padding: 8px 10px 12px; border-top: 1px solid #2a3350; }
  .qs-cp-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #2d3858; border-radius: 8px; background: #151a29; color: #eee; font-size: 14px; } .qs-cp-form input:focus { outline: none; border-color: var(--qs-gold); }
  .qs-cp-form button { flex: none; width: 56px; border: 0; border-radius: 8px; background: #ffb02e; color: #2a1a00; font-weight: 800; }
}

/* =====================================================================
   헤더 배경 애니메이션: 움직이는 그라데이션 + 반투명 어두운 물결 3겹
   ===================================================================== */
.qs-header {
  background: linear-gradient(315deg, rgb(15, 0, 101) 3%, rgb(60, 132, 206) 38%, rgb(48, 124, 238) 68%, rgb(25, 59, 255) 98%) 0% 0% / 400% 400% fixed;
  animation: qs-gradient 15s ease infinite;
  overflow: hidden; border-bottom: 0;
}
@keyframes qs-gradient { 0% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } 100% { background-position: 0% 0%; } }
.qs-wave {
  position: absolute; left: 0; bottom: 0; z-index: -1; width: 200%; height: 7.5em;
  background: rgba(22, 27, 40, 0.5); border-radius: 1000% 1000% 0 0; opacity: .8;
  transform: translate3d(0, 0, 0); animation: qs-wave 10s linear -3s infinite;
}
.qs-wave:nth-of-type(2) { height: 80%; opacity: .8; animation: qs-wave 18s linear 0s infinite reverse; }
.qs-wave:nth-of-type(3) { height: 100%; opacity: .9; animation: qs-wave 20s ease -1s infinite reverse; }
@keyframes qs-wave {
  2%  { transform: translate3d(0, 0, 0); }
  25% { transform: translateX(-25%); }
  50% { transform: translateX(-50%); }
  75% { transform: translateX(-25%); }
  100% { transform: translate3d(0, 0, 0); }
}
.qs-hd { position: relative; z-index: 1; }
@media (max-width: 991px) { .qs-wave { height: 5em; } .qs-wave:nth-of-type(2) { height: 80%; } .qs-wave:nth-of-type(3) { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .qs-header, .qs-wave { animation: none !important; } }

/* =====================================================================
   서체/글자 크기를 원본(a타이틀고딕2, 13px 기준)에 맞춤
   - 원본 서체는 상용 폰트라 쓰지 않고, 가장 비슷한 공개 폰트 Noto Sans KR Medium 사용
   ===================================================================== */
:root { --tv-font: "Noto Sans KR", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --qs-mute: #9aa4bf; --qs-font: "Noto Sans KR", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html, body, button, input, select, textarea { font-family: var(--qs-font); }
body { font-weight: 500; letter-spacing: -0.025em; line-height: 1.6; }
@media (min-width: 992px) {
  body { font-size: 13px !important; }
  .qs-nav-a { font-size: 15px; font-weight: 500; }
  .qs-bd { font-size: 11px; font-weight: 500; }
  .qs-tabs-hd button { font-size: 15px; font-weight: 500; }
  .qs-tl li a { font-size: 13px; color: #fff; } .qs-tl li a em { font-size: 12px; color: var(--qs-mute); } .qs-tl li a small { font-size: 11px; }
  .qs-tl time { font-size: 11px; color: var(--qs-mute); }
  .qs-strip strong { font-size: 30px; font-weight: 700; } .qs-strip span { font-size: 16px; font-weight: 500; }
  .qs-article h2 { font-size: 15px; font-weight: 700; line-height: 21px; }
  .qs-article > p, .qs-points p, .qs-feat p, .qs-steps p { font-size: 12px; line-height: 1.8; color: var(--qs-mute); }
  .qs-points b { font-size: 12px; font-weight: 700; } .qs-feat b, .qs-steps b { font-size: 12px; font-weight: 700; color: #fff; }
  .qs-steps em { font-size: 11px; font-weight: 500; }
  .qs-team { font-size: 13px; } .qs-team b { font-weight: 500; color: #fff; }
  .qs-mid time, .qs-stat { font-size: 11px; color: var(--qs-mute); } .qs-mid .vs { font-size: 12px; font-weight: 500; }
  .qs-login h3 { font-size: 15px; font-weight: 500; } .qs-btn-login { font-size: 16px; font-weight: 500; }
  .qs-login-sub { font-size: 12px; } .qs-f input { font-size: 13px; }
  .qs-chat-hd { font-size: 12px; } .qs-bub { font-size: 12px; }
  .qs-notice a { font-size: 13px; color: #fff; } .qs-help small { font-size: 12px; } .qs-help strong { font-size: 18px; font-weight: 700; }
  .qs-footer { font-size: 12px; }
}
.qs-logo-text, .qs-ft-logo { font-family: Pretendard, "Noto Sans KR", sans-serif; }

/* =====================================================================
   서체/글자 크기를 원본(a타이틀고딕2, 13px 기준)에 맞춤
   - 원본 서체는 상용 폰트라 쓰지 않고, 가장 비슷한 공개 폰트 Noto Sans KR Medium 사용
   ===================================================================== */
:root { --qs-mute: #9aa4bf; --qs-font: "Noto Sans KR", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html, body, button, input, select, textarea { font-family: var(--qs-font); }
body { font-weight: 500; letter-spacing: -0.025em; }
@media (min-width: 992px) {
  body { font-size: 13px; }
  .qs-nav-a { font-size: 15px; font-weight: 500; }
  .qs-bd { font-size: 11px; font-weight: 500; }
  .qs-tabs-hd button { font-size: 15px; font-weight: 500; }
  .qs-tl li a { font-size: 13px; color: #fff; } .qs-tl li a em { font-size: 12px; color: var(--qs-mute); } .qs-tl li a small { font-size: 11px; }
  .qs-tl time { font-size: 11px; color: var(--qs-mute); }
#tiger_reg .btn-primary { background: linear-gradient(135deg, #4d8dff, #1f4fd8) !important; color: #fff !important; border: 0 !important; box-shadow: 0 8px 22px -6px rgba(48, 124, 238, .50); }
  .qs-article h2 { font-size: 15px; font-weight: 700; line-height: 21px; }
  .qs-article > p, .qs-points p, .qs-feat p, .qs-steps p { font-size: 12px; line-height: 1.8; color: var(--qs-mute); }
  .qs-points b { font-size: 12px; font-weight: 700; } .qs-feat b, .qs-steps b { font-size: 12px; font-weight: 700; color: #fff; }
  .qs-steps em { font-size: 11px; font-weight: 500; }
  .qs-team { font-size: 13px; } .qs-team b { font-weight: 500; color: #fff; }
  .qs-mid time, .qs-stat { font-size: 11px; color: var(--qs-mute); } .qs-mid .vs { font-size: 12px; font-weight: 500; }
  .qs-login h3 { font-size: 15px; font-weight: 500; } .qs-btn-login { font-size: 16px; font-weight: 500; }
  .qs-login-sub { font-size: 12px; } .qs-f input { font-size: 13px; }
#tiger_reg .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--qs-gold) !important; border-color: var(--qs-gold) !important; }
  .qs-notice a { font-size: 13px; color: #fff; } .qs-help small { font-size: 12px; } .qs-help strong { font-size: 18px; font-weight: 700; }
  .qs-footer { font-size: 12px; }
}
.qs-logo-text, .qs-ft-logo { font-family: Pretendard, "Noto Sans KR", sans-serif; }

/* 로고: 글자 대신 이미지(PNG) */
.qs-logo-img { display: block; height: 54px; width: auto; max-width: none; margin-top: 2px; }
@media (max-width: 991px) { .qs-logo-img { height: 42px; } }

/* =====================================================================
   회원가입 페이지 색상 (약관 동의 + 가입 양식) : 보라/갈색 → 남색 + 골드
   ===================================================================== */
#tiger_reg .tiger-reg-label { color: #aab2c8; }
#tiger_reg .input-group-text { background: #151a29; border-color: #2d3858; color: #8e96ad; }
#tiger_reg .form-control { background: #151a29; border-color: #2d3858; color: #e4e8f4; }
#tiger_reg .form-control:focus { background: #151a29; border-color: var(--qs-gold); box-shadow: 0 0 0 3px rgba(255, 198, 26, .20); color: #fff; }
#tiger_reg .input-group:focus-within .input-group-text { border-color: var(--qs-gold); }
#tiger_reg .form-control::placeholder { color: #6c7590; }
#tiger_reg .tiger-reg-captcha { background: #161b29; border-color: #2d3858; }
#tiger_reg .btn-primary { background: linear-gradient(135deg, #ffd35a, #e8a31a) !important; color: #2a1a00 !important; border: 0 !important; box-shadow: 0 8px 22px -6px rgba(255, 198, 26, .40); }
#tiger_reg .btn-primary:hover { filter: brightness(1.07); }
#tiger_reg .border-top { border-color: #2a3350 !important; }
#tiger_reg .tiger-reg-terms-box { background: #151a29; border-color: #2d3858; color: #9aa4bf; }
#tiger_reg .custom-control-label { color: #c9cfe0; }
#tiger_reg .text-muted { color: #8e96ad !important; }
#tiger_reg .tiger-reg-msg .text-success { color: var(--qs-green) !important; }
/* 체크박스: 기본(어두운 테두리) / 선택(골드) */
#tiger_reg .custom-control-label::before { background-color: #151a29; border: 1px solid #3a4770; }
#tiger_reg .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--qs-gold); border-color: var(--qs-gold); }
#tiger_reg .custom-control-input:checked ~ .custom-control-label::after { filter: brightness(0) saturate(100%); }
#tiger_reg .custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px rgba(255, 198, 26, .20); }
/* 가입 페이지 제목 아래 선 / 취소 링크 */
.register .bg-primary, #tiger_reg .bg-primary { background-color: var(--qs-gold) !important; }
#tiger_reg a { color: #aab2c8; } #tiger_reg a:hover { color: var(--qs-gold); }

/* 레퍼런스 세로 위치 맞춤 */
@media (min-width: 992px) { #nt_body { margin-top: 0 !important; } .qs-shell { padding-top: 15px !important; } }

/* ===== 레퍼런스(attv24.net) 실측치 맞춤 ===== */
@media (min-width: 992px) {
  .qs-logo { margin-left: 22px; width: 220px; } .qs-logo-img { height: 31px; width: auto; }
  .qs-nav { margin-left: 61px; flex: none; gap: 0; }
  .qs-main { padding: 12px 12px 0; box-sizing: border-box; }
  .qs-side { padding-top: 12px; }
  .qs-side > .qs-login { height: 264px; box-sizing: border-box; overflow: hidden; }
  .qs-side > .qs-chat { height: 560px; box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; } .qs-side > .qs-chat .qs-chat-body { flex: 1; min-height: 0; overflow: hidden; }
}

@media (min-width: 992px) { .qs-nav { margin-left: 45px; } .qs-side { gap: 12px; } }

/* 레퍼런스 모바일 헤더 높이 맞춤 */
@media (max-width: 991px) {
.qs-header { height: 48px; } .qs-hd { height: 48px; } .qs-logo-img { height: 28px; } .qs-logo { margin-left: 0; width: auto; }
}

/* ===== 메인 위젯 영역 (관리자 위젯으로 이미지·게시판 글 관리) ===== */
.wz-zone { margin: 22px 0 8px; }
.wz-zone .wz-tip { margin: 0 0 10px; padding: 8px 12px; border: 1px dashed rgba(127,127,127,.55); border-radius: 8px; font-size: 12px; opacity: .9; }
.wz-zone .wz-box { position: relative; margin-bottom: 14px; border: 1px solid rgba(127,127,127,.28); border-radius: 12px; background: rgba(127,127,127,.07); overflow: hidden; }
.wz-zone .wz-img { padding: 0; } .wz-zone .wz-img .carousel, .wz-zone .wz-img .carousel-inner { border-radius: 12px; } .wz-zone .wz-img img { width: 100%; height: auto; display: block; }
.wz-zone .wz-posts { padding: 12px 14px; }
.wz-zone .wz-posts a { color: inherit; } .wz-zone .na-list li, .wz-zone .na-table .d-table-row { border-color: rgba(127,127,127,.25) !important; }
.wz-zone .btn-wset, .wz-zone .na-setup, .wz-zone a[href*="widget_form"] { opacity: .95; }
