/* 스포츠24 — 다크 네이비 마스트헤드 + 실사 이미지 뉴스 포털 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #12294d; --navy-deep: #0b1b34; --navy-dark: #071224; --orange: #e8562d; --orange-soft: #f2926e;
  --ink: #101826; --sub: #4c586b; --faint: #8b96a6; --line: #e3e6ea; --line-soft: #eef0f3;
  --w: 1120px;
}
body { font-family: Pretendard, -apple-system, "Malgun Gothic", sans-serif; background: #fff; color: var(--ink); line-height: 1.68; font-size: 15.5px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img, table { max-width: 100%; }
h1, h2, h3 { letter-spacing: -0.4px; }

/* 마스트헤드 — 다크 네이비 밴드 */
.np-mast { background: radial-gradient(150% 190% at 50% -40%, #1b3a68, var(--navy-deep) 60%, var(--navy-dark)); }
.np-mast-in { max-width: var(--w); margin: 0 auto; padding: 26px 20px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.np-mast-date { font-size: 12.5px; color: #7e93b5; letter-spacing: 0.2px; }
.np-logo { justify-self: center; font-size: 36px; font-weight: 900; letter-spacing: -1.2px; color: #fff; margin: 0; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.np-logo a { color: inherit; }
.np-logo em { font-style: normal; color: var(--orange); }
.np-mast-slogan { justify-self: end; font-size: 12.5px; color: #9fb2cf; text-align: right; }

/* 카테고리 탭바 */
.np-tabs { border-bottom: 2px solid var(--navy-deep); position: sticky; top: 0; background: #fff; z-index: 10; box-shadow: 0 1px 0 rgba(11,27,52,.06); }
.np-tabs-in { max-width: var(--w); margin: 0 auto; padding: 0 12px; display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.np-tabs-in::-webkit-scrollbar { display: none; }
.np-tabs a { padding: 12px 16px; font-size: 15px; font-weight: 700; color: #33404f; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.np-tabs a:hover { color: var(--navy-deep); background: #f5f7fa; }
.np-tabs a.on { color: var(--orange); border-bottom-color: var(--orange); }

/* 본문 배치 */
.np-main { max-width: var(--w); margin: 0 auto; padding: 26px 20px 60px; }
.np-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.np-col { min-width: 0; }

/* 사진 히어로 */
.np-hero { position: relative; border-radius: 12px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; box-shadow: 0 12px 28px rgba(7,18,36,.3); margin-bottom: 26px; }
.np-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.np-hero-in { position: relative; width: 100%; padding: 100px 30px 26px; background: linear-gradient(180deg, rgba(7,18,36,0) 0%, rgba(7,18,36,.5) 45%, rgba(5,12,24,.93) 100%); color: #fff; }
.np-hero-kicker { font-size: 12px; letter-spacing: 3.5px; color: var(--orange-soft); font-weight: 800; margin-bottom: 7px; }
.np-hero h1 { font-size: clamp(25px, 3.4vw, 34px); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); line-height: 1.3; }
.np-hero-sub { font-size: 15px; color: #dbe4f0; margin: 8px 0 16px; max-width: 600px; text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.np-hero-links { display: flex; flex-wrap: wrap; gap: 9px; }
.np-hero-links a { font-size: 14px; font-weight: 700; color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.28); border-radius: 999px; padding: 7px 17px; }
.np-hero-links a:hover { background: var(--orange); border-color: var(--orange); }

/* 스코어보드 위젯 — 카드형, 큰 점수, 승리팀 강조 */
.np-sb { border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 12px; padding: 20px 22px 18px; margin-bottom: 30px; background: #fff; box-shadow: 0 2px 10px rgba(11,27,52,.05); }
.np-sb-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; }
.np-sb-head h2 { font-size: 20px; font-weight: 800; }
.np-sb-head h2::before { content: '●'; color: var(--orange); font-size: 11px; margin-right: 8px; vertical-align: 2px; }
.np-sb-head span { font-size: 12px; color: var(--faint); }
.np-sb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 22px; }
.np-sb-lgh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.np-sb-lgh b { font-size: 13px; font-weight: 800; color: #fff; background: var(--navy-deep); border-radius: 5px; padding: 3px 11px; letter-spacing: 0.5px; }
.np-sb-lgh span { font-size: 11.5px; color: var(--faint); }
.np-sb-card { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; background: #f6f8fb; border: 1px solid var(--line-soft); border-radius: 10px; padding: 13px 14px 26px; margin-bottom: 8px; }
.np-sb-card:last-child { margin-bottom: 0; }
.np-sb-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.np-sb-ta { flex-direction: row-reverse; text-align: right; }
.np-sb-logo { flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; }
.np-sb-card.done .np-sb-logo { opacity: 0.6; }
.np-sb-card.done .np-sb-side:has(.w) .np-sb-logo { opacity: 1; }
.np-sb-team { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--ink); }
.np-sb-card.done .np-sb-team { color: #77839a; font-weight: 600; }
.np-sb-card.done .np-sb-team.w { color: var(--ink); font-weight: 800; }
.np-sb-mid { flex-shrink: 0; display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums; }
.np-sb-mid b { font-size: 21px; font-weight: 900; color: #9aa5b6; line-height: 1; }
.np-sb-mid b.w { color: var(--navy-deep); }
.np-sb-mid i { font-style: normal; color: #b7c0cd; font-size: 15px; }
.np-sb-mid em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--faint); letter-spacing: 1px; }
.np-sb-pill { position: absolute; left: 50%; transform: translateX(-50%); bottom: 7px; font-size: 11px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.np-sb-end { color: #9aa5b3; }
.np-sb-pre { color: var(--orange); }
.np-sb-live { color: #fff; background: #d64545; border-radius: 4px; padding: 1px 8px; }
.np-sb-head a { color: var(--orange); font-weight: 700; }
.np-sb-lgtag { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; color: var(--navy); background: #e8edf5; border-radius: 4px; padding: 1px 8px; }
.np-sb-card.has-lg { padding-top: 30px; }

/* 경기일정 페이지 */
.np-subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.np-subtabs a { font-size: 14.5px; font-weight: 700; color: var(--sub); border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; background: #fff; }
.np-subtabs a:hover { border-color: var(--orange); color: var(--orange); }
.np-subtabs a.on { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.np-day { margin-top: 24px; }
.np-day-h { font-size: 17px; font-weight: 800; padding: 8px 2px; border-bottom: 2px solid var(--navy-deep); margin-bottom: 12px; }
.np-day-h em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--orange); border-radius: 4px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.np-day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.np-day-past { margin-top: 40px; }
.np-day-past .np-day-h { border-bottom-color: var(--line); color: var(--sub); }

/* 데일리이슈 헤드라인 */
.np-news { border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 12px; padding: 20px 22px 14px; margin-top: 20px; background: #fff; box-shadow: 0 2px 10px rgba(11,27,52,.05); }
.np-news-list { list-style: none; counter-reset: nw; margin-top: 4px; }
.np-news-list li { counter-increment: nw; border-bottom: 1px solid var(--line-soft); }
.np-news-list li:last-child { border-bottom: 0; }
.np-news-list a { display: flex; gap: 13px; padding: 11px 2px; align-items: baseline; }
.np-news-list a::before { content: counter(nw); flex-shrink: 0; font-size: 15px; font-weight: 900; color: var(--orange); min-width: 20px; font-variant-numeric: tabular-nums; }
.np-news-t { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.np-news-list a:hover .np-news-t { text-decoration: underline; text-underline-offset: 3px; color: var(--navy-deep); }
.np-news-m { flex-shrink: 0; font-size: 12px; color: var(--faint); white-space: nowrap; }
.np-ana-next { margin-top: 20px; }
@media (max-width: 700px) { .np-news-m { display: none; } }

/* 인기 TOP3 카드 */
.np-nt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 8px; }
.np-nt-card { position: relative; display: flex; flex-direction: column; gap: 9px; background: linear-gradient(160deg, #0f2547, var(--navy-dark)); border-radius: 12px; padding: 40px 18px 16px; color: #fff; min-height: 148px; overflow: hidden; box-shadow: 0 6px 16px rgba(7,18,36,.22); }
.np-nt-card:hover { transform: translateY(-2px); transition: transform .15s; }
.np-nt-rank { position: absolute; top: -6px; right: 10px; font-size: 54px; font-weight: 900; color: rgba(255,255,255,.08); line-height: 1; }
.np-nt-hot { position: absolute; top: 12px; left: 14px; font-size: 11px; font-weight: 800; color: #fff; background: var(--orange); border-radius: 4px; padding: 2px 9px; }
.np-nt-hot-soft { background: rgba(255,255,255,.16); }
.np-nt-card h3 { font-size: 15.5px; line-height: 1.5; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-nt-m { margin-top: auto; font-size: 11.5px; color: #9db0cc; }
.np-bridge .np-nt-hot { position: static; display: inline-block; margin-bottom: 10px; }

/* 헤드라인 브리지 페이지 */
.np-bridge-desc { font-size: 17px; line-height: 1.75; color: var(--ink); background: #f6f8fb; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; padding: 16px 18px; margin-bottom: 18px; }
.np-bridge-src { font-size: 14px; color: var(--sub); background: #fff; border: 1px dashed var(--line); border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; }
.np-bridge-cta { display: inline-block; font-size: 16px; font-weight: 800; color: #fff; background: var(--navy-deep); border-radius: 10px; padding: 14px 26px; margin-bottom: 10px; }
.np-bridge-cta:hover { background: var(--orange); }
@media (max-width: 700px) { .np-nt-grid { grid-template-columns: 1fr; } }

/* 사이드바 순위표 위젯 */
.np-box-table { border-top: 3px solid var(--orange); }
.np-box-table h2 small { font-weight: 500; color: var(--faint); font-size: 11px; margin-left: 5px; }
.np-mini-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 4px; }
.np-mini-table th { text-align: left; font-size: 11.5px; color: var(--faint); font-weight: 700; padding: 5px 4px; border-bottom: 1px solid var(--line); }
.np-mini-table td { padding: 8px 4px; border-bottom: 1px solid var(--line-soft); }
.np-mini-table tr:last-child td { border-bottom: 0; }
.np-mini-table td:first-child { color: var(--orange); font-weight: 800; width: 22px; }
.np-mt-team { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.np-mt-team img { flex-shrink: 0; width: 16px; height: 16px; object-fit: contain; }
.np-mini-table td:nth-child(3), .np-mini-table td:nth-child(4), .np-mini-table th:nth-child(3), .np-mini-table th:nth-child(4) { text-align: right; }

/* 리드 기사 + 헤드라인 묶음 */
.np-lead { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; padding-bottom: 22px; border-bottom: 2px solid var(--navy-deep); }
.np-lead-main { display: block; }
.np-lead-main h2 { font-size: clamp(24px, 3.2vw, 31px); line-height: 1.32; font-weight: 800; margin: 10px 0 12px; }
.np-lead-main:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.np-lead-main p { color: var(--sub); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-lead-main time { display: block; margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.np-lead-side { display: flex; flex-direction: column; }
.np-hl { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.np-hl:first-child { padding-top: 2px; }
.np-hl:last-child { border-bottom: 0; }
.np-hl h3 { font-size: 16.5px; line-height: 1.45; font-weight: 700; margin: 7px 0 5px; }
.np-hl:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.np-hl time { font-size: 12px; color: var(--faint); }

/* 섹션 제목 */
.np-sec { margin-top: 26px; }
.np-sec-h { font-size: 21px; font-weight: 800; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.np-sec-h::before { content: ''; display: inline-block; width: 4px; height: 15px; background: var(--orange); margin-right: 9px; border-radius: 1px; }
.np-sec-head { border-bottom: 2px solid var(--navy-deep); padding-bottom: 14px; }
.np-sec-head h1 { font-size: 26px; }
.np-sec-head p { color: var(--sub); font-size: 14px; margin-top: 4px; }

/* 기사 리스트 (사진 썸네일형) */
.np-row { border-bottom: 1px solid var(--line-soft); }
.np-row a { display: flex; gap: 18px; padding: 17px 2px; align-items: flex-start; }
.np-thumb { flex-shrink: 0; width: 168px; position: relative; }
.np-thumb img { display: block; width: 168px; height: 118px; object-fit: cover; border-radius: 9px; }
.np-thumb-tag { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 800; color: #fff; background: rgba(5,12,24,.75); border-radius: 4px; padding: 2px 8px; }
.np-row-txt { min-width: 0; flex: 1; }
.np-row h3 { font-size: 19px; line-height: 1.42; font-weight: 700; }
.np-row a:hover h3 { text-decoration: underline; text-underline-offset: 3px; color: var(--navy-deep); }
.np-row p { color: var(--sub); font-size: 15px; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.np-meta { margin-top: 8px; font-size: 13px; color: var(--faint); display: flex; gap: 8px; align-items: center; }
.np-meta b { color: var(--navy); font-weight: 700; }
.np-new { font-style: normal; font-size: 10px; font-weight: 900; color: #fff; background: #d64545; border-radius: 3px; padding: 1px 5px; }
.np-empty { color: var(--sub); padding: 40px 0; }

/* 카테고리 라벨 */
.np-cat { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 3px; }
.np-c-evergreen { background: #eaf2fe; color: #1c5cab; }
.np-c-news { background: #fdeae3; color: #c43c14; }
.np-c-data { background: #e6f6ef; color: #0c7a4d; }
.np-c-commercial { background: #efeafe; color: #5b3ba8; }

/* 사이드바 */
.np-side { display: flex; flex-direction: column; gap: 22px; }
.np-box { border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px 14px; }
.np-box > h2 { font-size: 16px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--navy-deep); margin-bottom: 4px; }
.np-box > h2 small { font-weight: 500; color: var(--faint); font-size: 11px; margin-left: 5px; }
.np-rank { list-style: none; counter-reset: rank; }
.np-rank li { counter-increment: rank; border-bottom: 1px solid var(--line-soft); }
.np-rank li:last-child { border-bottom: 0; }
.np-rank a { display: flex; gap: 12px; padding: 10px 0; align-items: baseline; }
.np-rank a::before { content: counter(rank); font-size: 18px; font-weight: 900; color: var(--orange); min-width: 18px; }
.np-rank h3 { font-size: 14.5px; line-height: 1.5; font-weight: 600; }
.np-rank a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.np-rank time { display: none; }
.np-cats { list-style: none; }
.np-cats li { border-bottom: 1px solid var(--line-soft); }
.np-cats li:last-child { border-bottom: 0; }
.np-cats a { display: flex; justify-content: space-between; padding: 10px 2px; font-size: 14.5px; font-weight: 600; }
.np-cats a:hover { color: var(--orange); }
.np-cats b { color: var(--faint); font-weight: 700; font-size: 13px; }
.np-box-about p { font-size: 13px; color: var(--sub); margin: 8px 0 12px; }
.np-rss { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--orange); border: 1px solid var(--orange); border-radius: 3px; padding: 4px 10px; }
.np-rss:hover { background: var(--orange); color: #fff; }

/* 기사 페이지 */
.np-art { min-width: 0; }
.np-crumb { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.np-crumb a:hover { color: var(--orange); }
.np-art > h1 { font-size: clamp(24px, 3.4vw, 33px); line-height: 1.32; font-weight: 800; margin: 10px 0; }
.np-stand { font-size: 16.5px; color: var(--sub); line-height: 1.55; padding-left: 14px; border-left: 3px solid var(--orange); margin-bottom: 16px; }
.np-art-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--faint); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.np-byline { font-weight: 700; color: var(--ink); }
.np-art-cover { margin: 0 0 24px; }
.np-art-cover img { display: block; width: 100%; max-height: 430px; object-fit: cover; border-radius: 12px; }
.np-toc, .np-key-points, .np-sources, .np-faq { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 0 0 24px; background: #f8fafc; }
.np-toc h2, .np-key-points h2, .np-sources h2, .np-faq h2 { font-size: 18px; margin-bottom: 10px; }
.np-toc ol, .np-key-points ul, .np-sources ol { margin-left: 22px; }
.np-toc a, .np-sources a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.np-sources span, .np-sources time { color: var(--faint); font-size: 13px; }
.np-faq dt { font-weight: 800; margin-top: 12px; }
.np-faq dt:first-child { margin-top: 0; }
.np-faq dd { color: var(--sub); margin: 4px 0 0; }
.np-body { font-size: 16px; line-height: 1.78; }
.np-body h2 { font-size: 21px; margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid var(--navy-deep); line-height: 1.35; }
.np-body h3 { font-size: 17.5px; margin: 24px 0 10px; }
.np-body p { margin: 0 0 15px; }
.np-body ul, .np-body ol { margin: 0 0 15px 22px; }
.np-body li { margin-bottom: 6px; }
.np-body blockquote { border-left: 4px solid var(--orange); background: #faf7f5; padding: 12px 16px; margin: 0 0 15px; color: #59493f; }
.np-body table { border-collapse: collapse; margin: 0 0 18px; font-size: 14px; width: 100%; }
.np-body th, .np-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.np-body th { background: var(--navy-deep); color: #fff; font-weight: 700; }
.np-body tr:nth-child(even) td { background: #f7f9fb; }
.np-rel { margin-top: 40px; }
.np-rel h2 { font-size: 17px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--navy-deep); }

/* 푸터 */
.np-foot { background: var(--navy-deep); color: #9db0cc; margin-top: 50px; }
.np-foot-in { max-width: var(--w); margin: 0 auto; padding: 38px 20px 26px; font-size: 13.5px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.np-foot-name { font-size: 19px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.np-foot-name em { font-style: normal; color: var(--orange); }
.np-foot-line { margin-top: 6px; color: #7288ab; font-size: 12.5px; }
.np-foot-col h4 { color: #fff; font-size: 13.5px; margin-bottom: 10px; letter-spacing: 0.5px; }
.np-foot-nav { display: flex; flex-direction: column; gap: 6px; }
.np-foot a:hover { color: #fff; }
.np-copy { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 14px; color: #5c7196; font-size: 12.5px; }

/* 반응형 */
@media (max-width: 940px) {
  .np-layout { grid-template-columns: 1fr; }
  .np-side { margin-top: 30px; }
  .np-foot-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .np-tabs-in { justify-content: flex-start; scroll-padding-inline: 12px; }
  .np-mast-in { grid-template-columns: 1fr; padding: 18px 16px 14px; gap: 4px; }
  .np-mast-date, .np-mast-slogan { display: none; }
  .np-logo { justify-self: start; font-size: 28px; }
  .np-hero { min-height: 260px; }
  .np-hero-in { padding: 70px 18px 20px; }
  .np-lead { grid-template-columns: 1fr; gap: 6px; }
  .np-lead-side { border-top: 1px solid var(--line); margin-top: 14px; }
  .np-thumb { width: 108px; }
  .np-thumb img { width: 108px; height: 76px; }
}
