/* 스타디온TV 목업 스타일 (남색 + 주황) */
:root {
  --sd-bg: #14161f;
  --sd-bg2: #0f1118;
  --sd-panel: #1c1f2d;
  --sd-line: #2b3045;
  --sd-text: #e8e9ee;
  --sd-mute: #9aa0b4;
  --sd-orange: #ff9712;
  --sd-orange2: #ffb44d;
  --sd-red: #c8372d;
}
html, body { background: var(--sd-bg2) !important; color: var(--sd-text); }
body { font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; letter-spacing: -0.2px; }
a { color: var(--sd-text); } a:hover { color: var(--sd-orange); 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(--sd-bg2) !important; }
.sd-wrap { max-width: 1600px; margin: 0 auto; padding: 0 16px; }

/* ---- 헤더 ---- */
.sd-header { background: var(--sd-bg); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #262a3a; }
.sd-hd-top { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.sd-burger, .sd-moon { display: none; }
.sd-logo { display: flex; align-items: center; gap: 12px; color: #fff !important; }
.sd-logo-mark { width: 54px; height: 54px; }
.sd-logo-text { display: flex; align-items: baseline; font-size: 40px; font-weight: 900; font-style: italic; letter-spacing: -2px; line-height: 1; }
.sd-logo-text b { background: linear-gradient(180deg, #fff, #9aa0b4); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
.sd-logo-text i { margin-left: 4px; background: linear-gradient(180deg, #ff9712, #e53a12); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
.sd-hd-right { display: flex; align-items: center; gap: 12px; }
.sd-pill { display: none; }
.sd-nav { border-top: 1px solid #1f2332; }
.sd-nav-in { max-width: 1600px; margin: 0 auto; display: flex; padding: 0 16px; }
.sd-nav-item { flex: 1; position: relative; text-align: center; }
.sd-nav-top { display: block; padding: 22px 8px; font-size: 17px; font-weight: 800; color: #f1f2f6; }
.sd-nav-top.hl { color: var(--sd-orange); }
.sd-nav-item:hover > .sd-nav-top { color: var(--sd-orange); }
.sd-sub { display: none; position: absolute; top: calc(100% - 8px); left: 50%; z-index: 80; min-width: 170px; margin: 0; padding: 8px 0; list-style: none; transform: translateX(-50%); background: #1a1d2a; border: 1px solid #3a4059; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.6); }
.sd-nav-item:hover > .sd-sub, .sd-nav-item:focus-within > .sd-sub { display: block; }
.sd-sub li a { display: block; padding: 12px 22px; font-size: 14px; font-weight: 600; color: #e3e5ee; white-space: nowrap; text-align: left; }
.sd-sub li a:hover { color: var(--sd-orange); background: #232738; }

/* ---- 레이아웃 ---- */
.sd-body { padding-top: 16px; padding-bottom: 40px; }
.sd-cols { display: grid; grid-template-columns: 385px minmax(0, 1fr); gap: 16px; align-items: start; }
.sd-side { display: flex; flex-direction: column; gap: 10px; }
.sd-main { min-width: 0; }
.sd-box { background: var(--sd-bg); border: 1px solid var(--sd-line); border-radius: 12px; overflow: hidden; }

/* ---- 사이드: 로그인 ---- */
.sd-login { padding: 14px; }
.sd-in { display: flex; align-items: center; gap: 10px; height: 46px; margin: 0 0 10px; padding: 0 14px; background: #1b1f2e; border: 1px solid var(--sd-line); border-radius: 10px; color: #7d839a; }
.sd-in input { flex: 1; min-width: 0; background: transparent; border: 0; color: #eee; font-size: 14px; }
.sd-in input:focus { outline: none; }
.sd-in:focus-within { border-color: var(--sd-orange); }
.sd-btn-red { display: block; width: 100%; height: 50px; border: 0; border-radius: 12px; background: var(--sd-red); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.sd-btn-red:hover { background: #dd4a3f; }
.sd-two-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.sd-two-btn a { padding: 12px 0; text-align: center; background: #202537; border-radius: 22px; font-size: 13px; font-weight: 700; color: #dfe2ee; }
.sd-me { font-size: 15px; padding: 4px 2px 8px; } .sd-chip { margin-left: 6px; padding: 2px 8px; border-radius: 10px; background: #3a2a10; color: var(--sd-orange); font-size: 11px; font-weight: 700; }
.sd-me-links { display: flex; gap: 10px; font-size: 12.5px; color: var(--sd-mute); }

/* ---- 사이드: 채팅 ---- */
.sd-chat-hd { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 8px; font-size: 14px; }
.sd-chat-hd span { color: #8b91a8; font-size: 12px; }
.sd-chat-notice { margin: 0 10px; padding: 7px 10px; font-size: 11.5px; background: #2a2a3a; color: #d8c27a; border-radius: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sd-chat-list { list-style: none; margin: 8px 0; padding: 0 12px; height: 560px; overflow: hidden; font-size: 13px; line-height: 1.5; }
.sd-chat-list li { display: flex; align-items: center; gap: 6px; padding: 6px 0; color: #d6d8e2; }
.sd-chat-list li b { color: #fff; font-weight: 700; }
.sd-chat-in { display: flex; align-items: center; gap: 8px; margin: 0 10px 10px; padding: 8px 10px; background: #1b1f2e; border: 1px solid var(--sd-line); border-radius: 6px; }
.sd-chat-in input { flex: 1; min-width: 0; background: transparent; border: 0; color: #888; font-size: 12.5px; }
.sd-chat-in span { color: #f2c94c; font-size: 20px; }
.sd-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 5px; font-size: 13px; font-style: normal; color: #ffe08a; border: 2px solid #b88a1d; background: #3a2c0c; }
.sd-badge.s2 { color: #ffd0d0; border-color: #c24b4b; background: #3a1414; }
.sd-badge.s3 { color: #e4d9b0; border-color: #8a7a4a; background: #2f2a1a; }
.sd-badge.s4 { color: #cfd8ff; border-color: #5a73c9; background: #172046; }
.sd-badge.s5 { color: #e8e8e8; border-color: #8b8b8b; background: #2a2a2a; }

/* ---- 사이드: 기타 박스 ---- */
.sd-addr { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; background: var(--sd-bg); border: 1px solid var(--sd-line); border-radius: 12px; font-size: 13.5px; color: var(--sd-orange) !important; }
.sd-addr span { flex: 1; } .sd-addr em { font-style: normal; color: #dfe2ee; font-size: 12.5px; } .sd-addr i { font-size: 18px; color: #fff; }
.sd-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--sd-line); }
.sd-tabs button { height: 40px; border: 0; background: #181b28; color: #8b91a8; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.sd-tabs button.on { background: var(--sd-bg); color: var(--sd-orange); }
.sd-tabs button + button { border-left: 1px solid var(--sd-line); }
.sd-tabs-box .sd-lines, .sd-rank .sd-lines { display: none; }
.sd-tabs-box .sd-lines.on, .sd-rank .sd-lines.on { display: block; }
ul.sd-lines { list-style: none; margin: 0; padding: 8px 4px 10px; }
.sd-lines li a { display: block; padding: 6px 16px; font-size: 13.5px; color: #e6e8f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-rk-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #b32e26; color: #fff; font-size: 13px; font-weight: 700; }
.sd-rk-bar u { margin-left: auto; text-decoration: none; font-size: 18px; }
.sd-rk-row { display: flex; align-items: center; gap: 12px; padding: 7px 14px; font-size: 13.5px; }
.sd-rk-row span { width: 26px; color: #c8cbd8; } .sd-rk-row em { font-style: normal; } .sd-rk-row b { font-weight: 600; color: #fff; }
.sd-acc button, .sd-acc-link { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: #1c2030; color: #e0e3ee !important; font-size: 13.5px; text-align: left; }
.sd-acc button i:last-child { margin-left: auto; } .sd-acc i { color: #f2b84b; } .sd-acc-link i { color: #f2b84b; font-size: 12px; }
.sd-social { display: flex; gap: 6px; }
.sd-social a { flex: 1; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff !important; font-size: 20px; }

/* ---- 본문: 이벤트/공지 ---- */
.sd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.sd-panel { background: var(--sd-bg); border: 1px solid var(--sd-line); border-radius: 12px; overflow: hidden; }
.sd-ph { margin: 0; padding: 12px 0; text-align: center; font-size: 13px; font-weight: 700; color: #c9cddd; background: #1a1d2b; border-bottom: 1px solid var(--sd-line); }
.sd-ev, .sd-nt { list-style: none; margin: 0; padding: 6px 4px 8px; }
.sd-ev li a { display: block; padding: 10px 16px; }
.sd-ev li strong { display: block; font-size: 14px; color: #fff; font-weight: 700; }
.sd-ev li span { display: block; margin-top: 3px; font-size: 12px; color: #ff6b4a; }
.sd-nt li a { display: flex; align-items: center; gap: 14px; padding: 9px 16px; }
.sd-nt li strong { display: block; font-size: 14px; color: #ff9712; font-weight: 700; }
.sd-nt li span { display: block; margin-top: 2px; font-size: 12px; color: #ff6b4a; }
.sd-ncir { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-style: normal; }
.sd-ncir.n1 { background: linear-gradient(135deg, #7b4dff, #4a7cff); } .sd-ncir.n2 { background: linear-gradient(135deg, #5a5cff, #8a4dff); } .sd-ncir.n3 { background: linear-gradient(135deg, #a64dff, #ff4da6); }

/* ---- 전광판 ---- */
.sd-ticker { display: flex; align-items: center; margin-bottom: 12px; border: 1px solid #b4402a; border-radius: 26px; overflow: hidden; background: #181b28; }
.sd-tk-label { flex: none; padding: 10px 16px; background: #b4402a; color: #fff; font-size: 14px; font-weight: 700; }
.sd-tk-view { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.sd-tk-run { display: inline-block; padding-left: 100%; font-size: 14px; color: #ffb44d; animation: sd-run 28s linear infinite; }
@keyframes sd-run { to { transform: translateX(-100%); } }

/* ---- 채널 A/B ---- */
.sd-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 0; }
.sd-ch a { position: relative; display: flex; align-items: center; gap: 14px; height: 168px; padding: 0 26px; overflow: hidden; color: #fff !important; border: 3px solid var(--sd-orange); background: radial-gradient(circle at 80% 30%, #3b2f20 0, transparent 55%), linear-gradient(120deg, #1d2030, #0e1018); }
.sd-ch-a { border-radius: 26px 0 0 0; } .sd-ch-b { border-radius: 0 26px 0 0; }
.sd-ch-logo { font-size: 24px; font-weight: 900; font-style: italic; color: #cfd2de; } .sd-ch-logo i { color: #e5481a; }
.sd-ch strong { font-size: 24px; font-weight: 600; }
.sd-ch-name { margin-left: auto; font-size: 54px; font-weight: 900; font-style: italic; background: linear-gradient(180deg, #ffd27a, #ff7a12); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -2px; }
.sd-play { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--sd-orange); font-size: 22px; font-style: normal; padding-left: 4px; }

/* ---- 히어로 ---- */
.sd-hero { position: relative; display: flex; align-items: center; min-height: 560px; overflow: hidden; background: linear-gradient(112deg, #c9281c 0%, #e8481a 38%, #ff8a1f 62%, #3a1d14 62.2%, #15161d 100%); }
.sd-hero-bg { position: absolute; inset: 0; }
.sd-ball { position: absolute; right: 8%; top: 50%; width: 460px; transform: translateY(-50%) rotate(-12deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.sd-speed { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.04) 22px 26px); }
.sd-hero-txt { position: relative; z-index: 2; padding: 0 0 0 96px; max-width: 640px; }
.sd-hero-logo { font-size: 66px; font-weight: 900; font-style: italic; letter-spacing: -3px; line-height: 1; color: #eee; text-shadow: 0 4px 0 rgba(0,0,0,.35); } .sd-hero-logo i { color: #ff2a1a; margin-left: 6px; }
.sd-hero h2 { margin: 54px 0 34px; font-size: 38px; font-weight: 500; line-height: 1.45; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.sd-hero p { margin: 0; font-size: 21px; line-height: 1.6; color: #ffe9d8; }

/* ---- 소개 / 섹션 ---- */
.o { color: var(--sd-orange); } b { font-weight: 800; }
.sd-intro { padding: 70px 0 60px; text-align: center; background: radial-gradient(ellipse at 50% 20%, #1c2a3a 0, transparent 60%), #0e1119; }
.sd-intro-sub { margin: 0; font-size: 34px; font-weight: 300; color: #fff; }
.sd-intro-title { margin: 6px 0 40px; font-size: 72px; font-weight: 900; color: var(--sd-orange); letter-spacing: -2px; }
.sd-intro-box { max-width: 1000px; margin: 0 auto; padding: 26px 40px; border: 2px solid var(--sd-orange); border-radius: 22px; background: rgba(8,10,16,.8); }
.sd-intro-box p { margin: 0 0 16px; font-size: 20px; line-height: 1.8; color: #fff; } .sd-intro-box p.o { color: var(--sd-orange); font-weight: 600; }
.sd-cta { display: inline-block; margin-top: 56px; padding: 18px 42px; border-radius: 10px; background: var(--sd-orange); color: #1a1208 !important; font-size: 26px; font-weight: 800; }
.sd-cta:hover { background: var(--sd-orange2); }
.sd-free { padding: 70px 0 40px; text-align: center; background: #15161c; }
.sd-free h2 { margin: 0 0 18px; font-size: 56px; font-weight: 900; color: #fff; }
.sd-free > p.o { font-size: 22px; line-height: 1.7; margin: 0 0 40px; }
.sd-sports { display: flex; justify-content: space-around; align-items: center; max-width: 1000px; margin: 0 auto 50px; padding: 14px 10px; border-radius: 8px; background: var(--sd-orange); font-size: 38px; color: #fff; font-weight: 900; font-style: italic; }
.sd-free-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; text-align: left; }
.sd-free-cols p { margin: 0; font-size: 16.5px; line-height: 1.7; color: #e8e8ee; }
.sd-feat { padding: 60px 0; background: #0f1016; }
.sd-feat-row { display: flex; align-items: center; justify-content: center; gap: 70px; }
.sd-feat-img { position: relative; width: 340px; height: 340px; border-radius: 6px; background: linear-gradient(160deg, #1e3a2a, #0c1a12); display: flex; align-items: center; justify-content: center; font-size: 150px; }
.sd-feat-img em { position: absolute; left: 14px; top: 14px; padding: 2px 10px; border-radius: 4px; background: var(--sd-red); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; }
.sd-feat-txt h3 { margin: 0 0 20px; font-size: 54px; font-weight: 900; line-height: 1.2; color: #fff; }
.sd-feat-txt p { font-size: 20px; line-height: 1.7; max-width: 440px; margin: 0; }
.sd-feat-p { max-width: 900px; margin: 40px auto 0; font-size: 16px; line-height: 1.8; color: #e8e8ee; }
.sd-dev { padding: 70px 0 80px; text-align: center; background: radial-gradient(ellipse at 50% 100%, #3a2410 0, transparent 60%), #14110f; }
.sd-dev h2 { margin: 0 0 16px; font-size: 56px; font-weight: 900; color: #fff; } .sd-dev > p.o { font-size: 22px; line-height: 1.7; margin: 0 0 40px; }
.sd-device { max-width: 820px; margin: 0 auto; padding: 14px 14px 0; border: 2px solid #3a3d52; border-radius: 22px 22px 0 0; background: #0b0c12; }
.sd-screen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; height: 280px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #1c1f2d, #0e1018); font-size: 70px; align-items: center; }

/* ---- 푸터 ---- */
.sd-footer { margin-top: 0; padding: 36px 0 48px; background: #0b0d14; border-top: 1px solid #1f2332; font-size: 12.5px; color: var(--sd-mute); }
.sd-footer .sd-wrap { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.sd-ft-logo { font-size: 28px; font-weight: 900; font-style: italic; color: #cfd2de; letter-spacing: -1px; } .sd-ft-logo i { color: #e5481a; }
.sd-ft-txt { flex: 1; min-width: 260px; line-height: 1.8; } .sd-ft-txt p { margin: 0 0 6px; }
.sd-ft-links { display: flex; gap: 14px; margin-top: 8px; } .sd-ft-links a { color: #b8bccd; }

/* ---- 서브페이지(게시판 등) 색 보정 ---- */
.nt-container { color: var(--sd-text); }
.nt-container .card, .nt-container .list-group-item, .nt-container .modal-content { background: var(--sd-panel); color: var(--sd-text); border-color: var(--sd-line); }
.nt-container .form-control, .nt-container select, .nt-container textarea { background: #181b28; border-color: #333a52; color: #eee; }
.nt-container .bg-white, .nt-container .bg-light { background: var(--sd-panel) !important; }
.nt-container .text-muted { color: var(--sd-mute) !important; }
.btn-primary, .bg-primary, .page-item.active .page-link { background-color: var(--sd-orange) !important; border-color: var(--sd-orange) !important; color: #1a1208 !important; }
.text-primary, .page-link { color: var(--sd-orange) !important; }
.page-link { background: var(--sd-panel) !important; border-color: var(--sd-line) !important; }
.page-item.active .page-link { color: #1a1208 !important; }
.nt-container table thead th { background: #1f2333 !important; color: #cfd3e3 !important; border-color: var(--sd-line) !important; }
.nt-container table tbody td { color: #d6d9e6 !important; border-color: var(--sd-line) !important; }
:root { --ifb-bg: #14161f; --ifb-surface: transparent; --ifb-head: #1f2333; --ifb-line: #2b3045; --ifb-line-soft: #232739; --ifb-text: #dfe2ee; --ifb-text-strong: #fff; --ifb-muted: #9aa0b4; --ifb-dim: #7a8096; --ifb-accent: #ff9712; --ifb-accent-deep: #d97a06; }
.ifade-list-wrap { border: 0 !important; background: transparent !important; }
.ifade-list tbody tr:hover td { background: rgba(255, 151, 18, .07) !important; }
.ifade-list .cmt { color: var(--sd-orange) !important; }
#nt_side_menu { border: 1px solid var(--sd-line) !important; border-radius: 10px; background: var(--sd-panel); overflow: hidden; }
#nt_side_menu .bg-primary { background: #1f2333 !important; color: var(--sd-orange) !important; }
#nt_side_menu h4 { background: transparent !important; border: 0 !important; color: var(--sd-orange) !important; }

/* =====================================================================
   모바일 (991px 이하)
   ===================================================================== */
.sd-backdrop, .sd-bnav, .sd-drawer-hd, .sd-drawer-menu, .sd-chatpanel { display: none; }
@media (max-width: 1199px) { .sd-cols { grid-template-columns: 320px minmax(0, 1fr); } .sd-hero-txt { padding-left: 40px; } .sd-ball { width: 340px; } .sd-nav-top { font-size: 15px; } }
@media (max-width: 991px) {
  .sd-wrap { padding: 0 12px; }
  /* 헤더 */
  .sd-hd-top { height: 60px; gap: 6px; }
  .sd-burger { display: block; width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 26px; text-align: left; flex: none; }
  .sd-logo { margin-right: auto; gap: 6px; } .sd-logo-mark { width: 36px; height: 36px; } .sd-logo-text { font-size: 28px; }
  .sd-ico { display: none; }
  .sd-hd-right { gap: 8px; }
  .sd-moon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #9a2a22; color: #ffd9a8; font-size: 20px; }
  .sd-pill { display: block; padding: 10px 16px; border: 2px solid #b4402a; border-radius: 10px; background: transparent; color: #fff !important; font-size: 14px; font-weight: 800; }
  .sd-nav-in { padding: 0; overflow-x: auto; scrollbar-width: none; } .sd-nav-in::-webkit-scrollbar { display: none; }
  .sd-nav-item { flex: 1 0 auto; } .sd-nav-top { padding: 14px 16px; font-size: 16px; white-space: nowrap; }
  .sd-sub { display: none !important; }

  /* 본문 */
  .sd-body { padding-top: 12px; }
  .sd-cols { grid-template-columns: 1fr; gap: 0; }
  .sd-main { display: flex; flex-direction: column; }
  .sd-two, .sd-hero { display: none; }
  .sd-ticker { order: 1; margin: 6px 0 14px; border-radius: 22px; }
  .sd-tk-label { padding: 8px 12px; font-size: 14px; }
  .sd-ch { order: 2; grid-template-columns: 1fr; }
  .sd-ch a { height: 64px; padding: 0 14px; gap: 8px; border-width: 2px; }
  .sd-ch-a { border-radius: 16px 16px 0 0; } .sd-ch-b { border-radius: 0 0 16px 16px; border-top: 0; }
  .sd-ch-logo { font-size: 15px; } .sd-ch strong { font-size: 16px; font-weight: 500; }
  .sd-ch-name { font-size: 30px; } .sd-play { width: 36px; height: 36px; font-size: 14px; }
  .sd-intro, .sd-free, .sd-feat, .sd-dev { order: 3; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
  .sd-intro { padding-top: 40px; padding-bottom: 40px; }
  .sd-intro-sub { font-size: 24px; } .sd-intro-title { font-size: 46px; margin-bottom: 24px; }
  .sd-intro-box { padding: 18px 16px; border-radius: 16px; } .sd-intro-box p { font-size: 15px; } .sd-cta { margin-top: 28px; padding: 14px 26px; font-size: 20px; }
  .sd-free { padding: 40px 12px 30px; } .sd-free h2, .sd-dev h2 { font-size: 30px; } .sd-free > p.o, .sd-dev > p.o { font-size: 15px; }
  .sd-sports { font-size: 22px; flex-wrap: wrap; gap: 6px; padding: 10px; } .sd-free-cols { grid-template-columns: 1fr; gap: 12px; } .sd-free-cols p { font-size: 14px; }
  .sd-feat { padding-top: 40px; padding-bottom: 40px; } .sd-feat-row { flex-direction: column; gap: 22px; } .sd-feat-img { width: 100%; max-width: 340px; height: 240px; font-size: 100px; }
  .sd-feat-txt h3 { font-size: 34px; text-align: center; } .sd-feat-txt p { font-size: 16px; text-align: center; } .sd-feat-p { font-size: 14px; }
  .sd-dev { padding-top: 40px; padding-bottom: 50px; } .sd-screen { height: 150px; font-size: 36px; }
  .sd-footer { margin-bottom: 0; }

  /* 서랍 */
  .sd-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 120; width: 86%; max-width: 350px; padding: 0 12px 100px; overflow-y: auto; background: var(--sd-bg); transform: translateX(-104%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(0,0,0,.6); gap: 10px; }
  .sd-side > * { flex: 0 0 auto; }
  body.sd-drawer-open .sd-side { transform: none; }
  .sd-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.65); }
  body.sd-drawer-open .sd-backdrop { display: block; } body.sd-drawer-open { overflow: hidden; }
  .sd-drawer-hd { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; margin: 0 -12px; padding: 14px 16px; background: #0f1118; border-bottom: 2px solid var(--sd-orange); font-size: 16px; color: #fff; order: 0; }
  .sd-drawer-x { border: 0; background: transparent; color: #ddd; font-size: 30px; line-height: 1; }
  .sd-login { order: 1; margin-top: 10px; }
  .sd-drawer-menu { display: block; order: 2; }
  .sd-dm-group { padding: 10px 2px; border-bottom: 1px solid #262a3a; } .sd-dm-top { display: block; padding: 4px 0; font-size: 15px; font-weight: 800; color: #fff; } .sd-dm-top.hl { color: var(--sd-orange); }
  .sd-dm-subs { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 4px 0 2px; } .sd-dm-subs a { font-size: 13px; color: #aab0c4; }
  .sd-side > .sd-chat { display: none; }
  .sd-side > .sd-addr, .sd-side > .sd-tabs-box, .sd-side > .sd-rank, .sd-side > .sd-acc, .sd-side > .sd-acc-link, .sd-side > .sd-social { order: 4; }

  /* 하단 고정 내비 (남색 + 가운데 원형 홈) */
  .sd-bnav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #0b0c12; border-top: 1px solid #262a3a; padding: 8px 0 10px; }
  .sd-bnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #e6e8f0 !important; font-size: 12px; font-weight: 600; }
  .sd-bnav a i { font-size: 26px; color: #f4f5fa; }
  .sd-bnav a.home { margin-top: -26px; } .sd-bnav a.home i { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 3px solid #f4f5fa; border-radius: 50%; background: #0b0c12; font-size: 28px; }
  .sd-bnav a .sd-lbl-close { display: none; } body.sd-chat-open .sd-bnav a .sd-lbl-open { display: none; } body.sd-chat-open .sd-bnav a .sd-lbl-close { display: inline; }
  body { padding-bottom: 82px; }

  /* 채팅 패널 */
  .sd-chatpanel { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 78px; z-index: 99; height: 46vh; max-height: 400px; min-height: 270px; background: #1c1f2d; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.55); transform: translateY(115%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; overflow: hidden; }
  body.sd-chat-open .sd-chatpanel { transform: none; visibility: visible; transition: transform .28s ease; }
  .sd-cp-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; font-size: 15px; color: #fff; border-bottom: 1px solid #2b3045; }
  .sd-cp-hd span { font-size: 12px; color: #8b91a8; }
  .sd-cp-notice { display: flex; align-items: center; gap: 8px; margin: 8px 10px 0; padding: 8px 10px; border-radius: 5px; background: #2a2a3a; color: #e0c878; font-size: 13px; }
  .sd-cp-notice span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sd-cp-notice button { border: 0; background: transparent; color: #aaa; font-size: 20px; line-height: 1; }
  .sd-cp-list { flex: 1; min-height: 0; margin: 6px 0 0; padding: 4px 14px; list-style: none; overflow-y: auto; font-size: 14px; line-height: 1.5; }
  .sd-cp-list li { display: flex; align-items: center; gap: 6px; padding: 5px 0; color: #e0e2ec; } .sd-cp-list li b { flex: none; color: #fff; }
  .sd-cp-form { display: flex; align-items: center; gap: 8px; padding: 8px 10px 12px; border-top: 1px solid #2b3045; }
  .sd-cp-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #333a52; border-radius: 8px; background: #14161f; color: #eee; font-size: 14px; } .sd-cp-form input:focus { outline: none; border-color: var(--sd-orange); }
  .sd-cp-form button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #2a2f45; color: #f2c94c; font-size: 22px; }
}
@media (max-width: 991px) { .sd-logo-text { font-size: 24px; letter-spacing: -1.5px; } .sd-logo-mark { width: 32px; height: 32px; } .sd-moon { width: 36px; height: 36px; } .sd-pill { padding: 8px 12px; } }

/* ===== 메인 위젯 영역 (관리자 위젯으로 이미지·게시판 글 관리) ===== */
.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; }
