@font-face { font-family: 'NEXON Lv2 Gothic'; font-weight: 400; font-display: swap; src: url('../font/NEXON_Lv2_Gothic.woff2') format('woff2'); }
@font-face { font-family: 'NEXON Lv2 Gothic'; font-weight: 500; font-display: swap; src: url('../font/NEXON_Lv2_Gothic_Medium.woff2') format('woff2'); }
@font-face { font-family: 'NEXON Lv2 Gothic'; font-weight: 700; font-display: swap; src: url('../font/NEXON_Lv2_Gothic_Bold.woff2') format('woff2'); }
/* 라이브존 목업 스타일 (흰 배경 + 코랄 오렌지) */
:root { --lm: #f4694c; --lm-dark: #e1553a; --lm-text: #222; --lm-mute: #9a9a9a; --lm-line: #e6e6e6;
  --tv-font: "NEXON Lv2 Gothic", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html, body { background: #fff !important; color: var(--lm-text); }
body { font-family: "NEXON Lv2 Gothic", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important; font-size: 15px !important; letter-spacing: -0.3px; }
a { color: var(--lm-text); } a:hover { color: var(--lm); 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: #fff !important; }
.lm-wrap { max-width: 1230px; margin: 0 auto; padding: 0; }

/* ---- 헤더 ---- */
.lm-header { position: relative; z-index: 60; }
.lm-top { height: 47px; background: #fff; }
.lm-top-in { display: flex; align-items: center; height: 47px; font-size: 14px; color: #333; }
.lm-logo img { display: block; height: 34px; width: auto; }
.lm-bar { display: inline-block; width: 1px; height: 11px; margin: 0 14px; background: #d9d9d9; }
.lm-tl, .lm-top-in a { color: #333; font-size: 14px; }
.lm-top-r { margin-left: auto; display: flex; align-items: center; } .lm-top-r a { font-size: 14px; }
.lm-burger { display: none; }
.lm-nav { height: 48px; background: var(--lm); }
.lm-nav-in { display: flex; align-items: stretch; height: 48px; }
.lm-home { display: flex; align-items: center; justify-content: center; width: 52px; background: var(--lm-dark); color: #fff !important; font-size: 21px; }
.lm-nav-a { display: flex; align-items: center; gap: 5px; padding: 0 19px; font-size: 17px; font-weight: 500; color: #fff !important; white-space: nowrap; }
.lm-nav-a:hover { background: rgba(255,255,255,.12); }
.lm-nav-more { display: flex; align-items: center; margin-left: auto; padding: 0 18px; color: #fff !important; font-size: 19px; }

/* ---- 레이아웃 ---- */
.lm-shell { padding-top: 26px; padding-bottom: 40px; }
.lm-cols { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 26px; align-items: start; }
.lm-main { min-width: 0; }
.lm-side { min-width: 0; }

/* ---- 사이드 ---- */
.lm-login { margin-bottom: 24px; }
.lm-in { position: relative; display: flex; align-items: stretch; height: 33px; margin-bottom: 14px; border: 1px solid #ddd; border-radius: 3px; overflow: hidden; background: #fff; }
.lm-in i { display: flex; align-items: center; justify-content: center; width: 32px; background: #eee; color: #777; font-size: 13px; border-right: 1px solid #ddd; }
.lm-in input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 10px; font-size: 14px; color: #333; background: #fff; }
.lm-in b { position: absolute; right: 4px; top: 0; color: #f33; font-size: 11px; }
.lm-btn { display: block; width: 100%; height: 41px; margin-top: 14px; border: 0; border-radius: 3px; background: var(--lm); color: #fff; font-size: 17px; cursor: pointer; }
.lm-btn:hover { background: var(--lm-dark); }
.lm-login-sub { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 14px; color: #333; }
.lm-sw { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; } .lm-sw input { display: none; }
.lm-sw i { position: relative; width: 25px; height: 13px; border-radius: 7px; background: #bbb; } .lm-sw i::after { content: ''; position: absolute; left: 1px; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: .2s; }
.lm-sw input:checked + i { background: var(--lm); } .lm-sw input:checked + i::after { left: 13px; }
.lm-me { margin-bottom: 24px; padding: 16px; border: 1px solid var(--lm-line); border-radius: 4px; font-size: 14px; } .lm-me strong { color: var(--lm); } .lm-me div { margin-top: 8px; font-size: 13px; color: #888; }
.lm-w { margin-bottom: 26px; }
.lm-w h3 { position: relative; margin: 0 0 14px; padding: 0 0 8px; font-size: 17px; font-weight: 500; color: #222; border-bottom: 1px solid #eee; }
.lm-w h3::after, .lm-bd h3::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 31px; height: 2px; background: var(--lm); }
.lm-w h3 a { color: #222; } .lm-w h3 .plus, .lm-bd h3 .plus { position: absolute; right: 2px; top: 0; font-style: normal; color: #bbb; font-weight: 300; }
.lm-w ul { list-style: none; margin: 0; padding: 0; }
.lm-w li { display: flex; align-items: center; height: 28.6px; font-size: 15px; white-space: nowrap; }
.lm-w li > a { display: flex; align-items: center; min-width: 0; flex: 1; color: #222; }
.lm-w .t { overflow: hidden; text-overflow: ellipsis; }
.lm-w .n { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border-radius: 2px; background: #f33; color: #fff; font-style: normal; font-size: 8px; line-height: 11px; text-align: center; flex: none; }
.lm-w .c { flex: none; margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--lm); }
.lm-w time { flex: none; margin-left: 10px; font-size: 15px; color: var(--lm); } .lm-w:first-of-type time { color: #999; }

/* ---- 메인 ---- */
.lm-slot { height: 87px; border: 4px solid #d6ef15; background: #fff; box-sizing: border-box; }
.lm-bans { display: grid; grid-template-columns: 1fr 1fr; }
.lm-banner { position: relative; display: flex; flex-direction: column; justify-content: center; height: 83px; padding: 0 16px 0 70px; overflow: hidden; color: #fff !important; border: 1px solid rgba(255,255,255,.12); }
.lm-banner.full { grid-column: 1 / -1; }
.lm-banner i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 900; font-size: 20px; letter-spacing: -1px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); max-width: 56px; overflow: hidden; }
.lm-banner strong { font-size: 25px; font-weight: 900; line-height: 1.1; background: linear-gradient(180deg, #fff3b0, #f0b429 60%, #c47d0e); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)); }
.lm-banner small { margin-top: 3px; font-size: 12px; color: #e8ecf5; opacity: .9; white-space: nowrap; }
.lm-banner:hover { filter: brightness(1.12); }
.lm-bd { margin-top: 8px; }
.lm-bd h3 { position: relative; margin: 0; padding: 0 0 8px; font-size: 17px; font-weight: 500; border-bottom: 1px solid #eee; }
.lm-bd-tabs { display: flex; align-items: center; gap: 22px; padding: 24px 0 14px; font-size: 15px; }
.lm-bd-tabs button { border: 0; background: none; padding: 0; font-size: 15px; color: #222; cursor: pointer; font-family: inherit; } .lm-bd-tabs button.on { color: #2a8bf2; }
.lm-bd-tabs .arr { margin-left: auto; color: #555; font-size: 20px; } .lm-bd-tabs .arr i { margin-left: 12px; }
.lm-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.lm-gal .card { display: block; border: 0; background: none; min-width: 0; }
.lm-gal .im { position: relative; display: block; height: 124px; overflow: hidden; border-radius: 3px; background: #ddd; } .lm-gal .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-gal .im em { position: absolute; right: -22px; top: 6px; width: 90px; padding: 1px 0; background: var(--lm); color: #fff; font-style: normal; font-size: 11px; text-align: center; transform: rotate(45deg); transform-origin: center; }
.lm-gal .card b { display: block; margin-top: 12px; font-size: 15px; font-weight: 400; color: #222; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lm-gal .card p { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 14px; } .lm-gal time { color: var(--lm); } .lm-gal p span { color: #444; }
.lm-live { margin-top: 38px; padding: 6px 8px 8px; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.09); background: #fff; }
.lm-sports { display: grid; grid-template-columns: repeat(8, 1fr); padding: 0; }
.lm-sports a { display: flex; align-items: center; justify-content: center; height: 54px; margin: 0 2px; border-radius: 12px; font-size: 15px; color: #444; white-space: nowrap; }
.lm-sports a.on { background: var(--lm); color: #fff; box-shadow: 0 6px 12px -4px rgba(244,105,76,.55); }
.lm-subs { margin: 0 -8px; padding: 10px 14px 14px; background: #fafafa; border-top: 1px solid #f0f0f0; border-radius: 0 0 14px 14px; }
.lm-subs > div { display: flex; flex-wrap: wrap; gap: 10px; }
.lm-subs a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid #ddd; border-radius: 18px; background: #fff; font-size: 14px; color: #444; }
.lm-subs a.on { background: var(--lm); border-color: var(--lm); color: #fff; font-weight: 700; }
.lm-frame { display: block; width: 100%; min-height: 1500px; margin-top: 14px; border: 0; background: #fff; }

/* ---- 푸터 ---- */
.lm-footer { padding: 18px 0 70px; text-align: center; font-size: 12px; color: #999; border-top: 1px solid #eee; }

/* ---- 서브페이지 (게시판 등) ---- */
.nt-container { color: var(--lm-text); }
.btn-primary, .bg-primary, .page-item.active .page-link { background-color: var(--lm) !important; border-color: var(--lm) !important; color: #fff !important; }
.text-primary, .page-link { color: var(--lm) !important; }
.btn-primary:hover { background-color: var(--lm-dark) !important; }

/* ---- 모바일 ---- */
@media (max-width: 991px) {
  .lm-top { height: 54px; background: var(--lm); } .lm-top-in { height: 54px; padding: 0 14px; justify-content: center; position: relative; }
  .lm-logo img { height: 28px; filter: brightness(0); } .lm-bar, .lm-tl, .lm-top-r { display: none; }
  .lm-burger { display: block; position: absolute; left: 12px; top: 0; height: 54px; border: 0; background: none; color: #fff; font-size: 24px; }
  .lm-nav { height: auto; background: var(--lm); } .lm-nav-in { height: auto; flex-wrap: wrap; } .lm-home { display: none; } .lm-nav-more { display: none; }
  .lm-nav { display: none; } body.lm-nav-open .lm-nav { display: block; }
  .lm-nav-a { width: 33.33%; justify-content: center; padding: 11px 0; font-size: 15px; }
  .lm-shell { padding: 0; } .lm-cols { grid-template-columns: 1fr; gap: 0; } .lm-main { order: 1; } .lm-side { order: 2; padding: 20px 14px 0; }
  .lm-slot { display: none; } .lm-banner { height: 56px; padding-left: 46px; } .lm-banner strong { font-size: 15px; } .lm-banner small { display: none; } .lm-banner i { font-size: 12px; max-width: 34px; left: 8px; }
  .lm-bd { padding: 0 14px; } .lm-bd-tabs { gap: 14px; flex-wrap: wrap; padding-top: 16px; } .lm-bd-tabs .arr { display: none; }
  .lm-gal { grid-template-columns: 1fr 1fr; gap: 14px; } .lm-gal .im { height: 28vw; }
  .lm-live { margin: 28px 0 0; border-radius: 0; box-shadow: none; padding: 0; } .lm-sports { display: flex; overflow-x: auto; scrollbar-width: none; padding: 4px 8px; } .lm-sports a { flex: none; padding: 0 16px; height: 44px; } .lm-subs { margin: 0; border-radius: 0; padding: 10px 12px; } .lm-subs a { height: 32px; padding: 0 12px; }
  .lm-frame { margin-top: 0; min-height: 1200px; }
}
.lm-banner { padding-left: 98px; } .lm-banner i { font-size: 17px; max-width: 76px; text-overflow: clip; white-space: nowrap; }
@media (max-width: 991px) { .lm-banner { padding-left: 52px; } .lm-banner i { font-size: 11px; max-width: 38px; } }
/* ---- 서브페이지 라이트 테마 (게시판 스킨 변수 재정의) ---- */
:root { --ifb-accent: #f4694c; --ifb-accent-deep: #e1553a; --ifb-bg: #fff; --ifb-dim: #aaa; --ifb-head: #f6f6f6; --ifb-line: #e6e6e6; --ifb-line-soft: #efefef; --ifb-muted: #888; --ifb-surface: #fff; --ifb-text: #333; --ifb-text-strong: #111; }
.nt-container .card, .nt-container .list-group-item, .nt-container .modal-content { background: #fff; color: #333; border-color: #e6e6e6; }
.nt-container .form-control, .nt-container select, .nt-container textarea { background: #fff; border-color: #ddd; color: #333; }
.nt-container .text-muted { color: #888 !important; }
.nt-container table thead th { background: #f6f6f6 !important; color: #333 !important; border-color: #e6e6e6 !important; }
.nt-container table tbody td { color: #333 !important; border-color: #eee !important; }
.page-link { background: #fff !important; border-color: #e6e6e6 !important; }
/* 회원가입 (light) */
#tiger_reg .tiger-reg-label { color: #555; }
#tiger_reg .input-group-text { background: #eee; border-color: #ddd; color: #777; }
#tiger_reg .form-control { background: #fff; border-color: #ddd; color: #333; }
#tiger_reg .form-control:focus { border-color: var(--lm); box-shadow: 0 0 0 3px rgba(244,105,76,.15); color: #111; }
#tiger_reg .form-control::placeholder { color: #aaa; }
#tiger_reg .tiger-reg-captcha, #tiger_reg .tiger-reg-terms-box { background: #fafafa; border-color: #e0e0e0; color: #555; }
#tiger_reg .tiger-reg-terms-box * { color: inherit; }
#tiger_reg .btn-primary { background: var(--lm) !important; border: 0 !important; color: #fff !important; box-shadow: none; }
#tiger_reg .border-top { border-color: #e6e6e6 !important; }
#tiger_reg .custom-control-label { color: #333; }
#tiger_reg .custom-control-label::before { background-color: #fff; border: 1px solid #bbb; }
#tiger_reg .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--lm) !important; border-color: var(--lm) !important; }
#tiger_reg a { color: #666; } #tiger_reg a:hover { color: var(--lm); }
#tiger_reg h1, #tiger_reg h2, #tiger_reg .h1, #tiger_reg .h2, #tiger_reg .h3, #tiger_reg .h4, #tiger_reg .h5 { color: #222 !important; }
.nt-container div.font-weight-normal.mb-4 { border-color: var(--lm) !important; }
.nt-container div.font-weight-normal.mb-4 h4 { background: var(--lm) !important; color: #fff !important; }
.pagination .page-item .page-link, .pagination a { background: #fff !important; color: #444 !important; border: 1px solid #ddd !important; box-shadow: none !important; }
.pagination .page-item.active .page-link, .pagination .active a, .pagination .active .page-link { background: var(--lm) !important; border-color: var(--lm) !important; color: #fff !important; }
.pagination .page-item.disabled .page-link { color: #bbb !important; }
:root:root { --ifb-accent: #f4694c; --ifb-accent-deep: #e1553a; }

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

/* ===== 레퍼런스(liveman.co.kr) 실측치 맞춤 ===== */
@media (min-width: 992px) {
  .lm-shell { padding-top: 26px !important; }
  .lm-logo img { height: 33px; }
  .lm-nav-a { font-size: 18px; padding: 0 21px; } .lm-home { width: 56px; }
  .lm-in { height: 34px; margin-bottom: 14px; } .lm-btn { height: 46px; margin-top: 13px; font-size: 18px; }
  .lm-slot { height: 85px; } .lm-banner { height: 85px; }
}
@media (min-width: 992px) {
  .lm-bd-tabs { padding: 12px 0 6px; } .lm-bd { margin-top: 6px; }
  .lm-gal .card b { margin-top: 8px; } .lm-gal .card p { margin-top: 2px; } .lm-gal .card { height: 175px; }
  .lm-live { margin-top: 48px; }
}

/* 레퍼런스 모바일 헤더 높이 맞춤 */
@media (max-width: 991px) {
.lm-top { height: 51px; } .lm-top-in { height: 51px; }
}

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