/* 뉴스툰 (/news 전용). 전부 .nt 안으로 한정한다.
   색은 한 곳(.nt 의 --nt-* )에서만 정한다 — 값은 사이트 보라 체계(common/css/ranktipster-violet-trial.css 와
   같은 값)이고, 이 파일의 나머지 규칙은 --nt-* 만 읽는다. 2차 조정은 이 토큰과 아래 "밀도" 값만 만지면 된다. */
html body.rt-newstoon .gpe_contents_box { max-width: none; }
@media (min-width: 1100px) { html body.rt-newstoon .gpe_allcon_wrap0.rt-shell { max-width: 1440px; padding-left: 24px; padding-right: 24px; } }

.nt {
	--nt-brand: #956bff; --nt-brand-rgb: 149, 107, 255; --nt-brand-hi: #b49aff; --nt-on-brand: #101322;
	--nt-text: #f7f7fa; --nt-text-2: #aab1c7; --nt-muted: #8791ad;
	--nt-surface: var(--rt-surface-1, #0f1a2e); --nt-surface-2: var(--rt-surface-2, #16233d);
	--nt-border: var(--rt-border, #1f2a44); --nt-border-strong: var(--rt-border-strong, #38466b);
	--nt-tint: rgba(var(--nt-brand-rgb), .12); --nt-line: rgba(var(--nt-brand-rgb), .30);
	/* 밀도 */
	padding: 18px 0 40px; color: var(--nt-text); box-sizing: border-box;
}
.nt *, .nt *::before, .nt *::after { box-sizing: border-box; }
.nt a { text-decoration: none; }
.nt a:focus-visible, .nt button:focus-visible, .nt input:focus-visible { outline: 2px solid var(--nt-brand-hi); outline-offset: 2px; }

/* 상단 제목 상자 */
.nt-head { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px 20px;
	border: 1px solid var(--nt-line); border-radius: 12px;
	background: radial-gradient(ellipse at 90% 80%, rgba(var(--nt-brand-rgb), .14), transparent 60%), linear-gradient(115deg, var(--nt-surface) 45%, var(--nt-surface-2)); }
.nt-head-icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid var(--nt-line); border-radius: 11px; background: var(--nt-tint); color: var(--nt-brand-hi); }
.nt-head-icon svg { display: block; }
.nt-head-text { min-width: 0; }
.nt-head h1 { margin: 0; color: var(--nt-text); font-size: 24px; font-weight: 800; line-height: 1.25; }
.nt-head p { margin: 3px 0 0; color: var(--nt-text-2); font-size: 13px; line-height: 1.4; }
.nt-more { margin: 30px 0 12px; color: var(--nt-text); font-size: 17px; font-weight: 800; }

/* 경기별 그룹 */
.nt-group { margin: 0 0 30px; }
.nt-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; }
.nt-group-head h2 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.35; }
.nt-group-head h2 a { color: var(--nt-text); }
.nt-group-head h2 a:hover { color: var(--nt-brand-hi); }
.nt-group-head p { margin: 0; color: var(--nt-muted); font-size: 13px; }
.nt-more-link { margin-left: auto; padding: 4px 12px; border: 1px solid var(--nt-border); border-radius: 999px; color: var(--nt-text-2); font-size: 12.5px; font-weight: 650; }
.nt-more-link:hover { border-color: var(--nt-brand); color: var(--nt-brand-hi); }

/* 3열 카드 목록 */
.nt-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nt-feed > li { min-width: 0; border: 1px solid var(--nt-border); border-radius: 12px; background: rgba(var(--nt-brand-rgb), .04); transition: border-color .14s; }
.nt-feed > li:hover { border-color: rgba(var(--nt-brand-rgb), .6); }
.nt-item { display: flex; flex-direction: column; height: 100%; padding: 6px; color: inherit; }
.nt-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--nt-surface-2); }
.nt-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nt-thumb-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--nt-muted);
	font-size: 13px; font-weight: 800; letter-spacing: .14em; background: linear-gradient(135deg, rgba(var(--nt-brand-rgb), .16), transparent 60%), var(--nt-surface-2); }
.nt-item-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 10px 10px; }
.nt-title { display: -webkit-box; overflow: hidden; min-height: 2.8em; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	color: var(--nt-text); font-size: 17px; font-weight: 750; line-height: 1.4; }
.nt-meta { margin-top: auto; }
.nt-date { color: var(--nt-muted); font-size: 13px; }
.nt-item:hover .nt-title { color: var(--nt-brand-hi); }

/* 빈 상태 */
.nt-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 24px 0; padding: 48px 16px;
	border: 1px dashed var(--nt-line); border-radius: 12px; background: rgba(var(--nt-brand-rgb), .04); color: var(--nt-brand-hi); text-align: center; }
.nt-empty p { margin: 0; color: var(--nt-text-2); font-size: 14px; }

/* 하단: 버튼 · 검색 · 페이징 (코어의 button.btn {height:26px !important} 때문에 높이는 min-height 로 준다) */
.nt-foot { margin-top: 22px; }
.nt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin: 0 0 14px; }
.nt-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 0 auto; }
.nt .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--nt-border); border-radius: 8px;
	background: var(--nt-surface-2); color: var(--nt-text-2); font-size: 13px; font-weight: 650; line-height: 1; cursor: pointer; transition: border-color .14s, color .14s; }
.nt .btn:hover { border-color: var(--nt-brand); color: var(--nt-brand-hi); }
.nt .btn i { color: inherit; }
.nt-search { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; }
.nt-search input[type="text"] { width: 260px; max-width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--nt-border); border-radius: 8px;
	background: var(--nt-surface-2); color: var(--nt-text); font-size: 13px; }
.nt-search input[type="text"]::placeholder { color: var(--nt-muted); }
.nt-search input[type="text"]:focus { border-color: var(--nt-brand); outline: none; box-shadow: 0 0 0 3px rgba(var(--nt-brand-rgb), .18); }
.nt .nt-search button.btn { min-height: 36px; padding: 0 16px; line-height: 1; border-color: var(--nt-brand); background: var(--nt-brand); color: var(--nt-on-brand); font-weight: 700; }
.nt .nt-search .btn:hover { border-color: var(--nt-brand-hi); background: var(--nt-brand-hi); color: var(--nt-on-brand); }
.nt .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; background: none; }
.nt .pagination a, .nt .pagination strong { min-width: 34px; height: 34px; padding: 0 11px; border: 1px solid var(--nt-border); border-radius: 8px;
	background: var(--nt-surface); color: var(--nt-text-2); font-size: 13px; line-height: 32px; text-align: center; }
.nt .pagination a:hover { border-color: var(--nt-brand); background: var(--nt-tint); color: var(--nt-brand-hi); }
.nt .pagination strong { border-color: var(--nt-brand); background: var(--nt-brand); color: var(--nt-on-brand); font-weight: 700; }

/* 상세 — 세로 스크롤 만화 */
.nt-read { padding-top: 14px; }
.nt-read-head { margin: 0 0 14px; padding: 0 2px; }
.nt-crumb { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--nt-brand-hi); font-size: 12.5px; font-weight: 750; }
.nt-crumb:hover { color: var(--nt-text); }
.nt-read-head .nt-read-head h1 { margin: 0 0 6px; font-size: 24px; font-weight: 800; line-height: 1.35; }
.nt-read-head h1 a { color: var(--nt-text); }
.nt-read-body { max-width: 820px; margin: 0 auto; overflow: hidden; border-radius: 10px; background: var(--nt-surface); color: var(--nt-text); font-size: 15px; line-height: 1.7; }
.nt-read-body img { display: block; width: 100%; max-width: 100%; height: auto !important; margin: 0 auto; }
.nt-read-body p { margin: 0 0 .9em; padding: 0 14px; }
.nt-read-body p:has(> img), .nt-read-body p:has(> a > img), .nt-read-body figure, .nt-read-body div:has(> img:only-child) { margin: 0; padding: 0; line-height: 0; font-size: 0; }
.nt-read-body p:has(> img) br { display: none; }
.nt-read-body .secretForm { padding: 24px 14px; }

.nt-source { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 14px;
	padding: 16px 18px; border: 1px solid var(--nt-line); border-radius: 10px; background: linear-gradient(115deg, rgba(var(--nt-brand-rgb), .06), transparent 60%), var(--nt-surface); }
.nt-source h2 { margin: 0 0 8px; color: var(--nt-text-2); font-size: 13px; font-weight: 750; }
.nt-source ul { margin: 0; padding: 0; list-style: none; }
.nt-source li + li { margin-top: 5px; }
.nt-source li a { color: var(--nt-brand-hi); font-size: 13.5px; word-break: break-all; }
.nt-source li a:hover { color: var(--nt-text); text-decoration: underline; }
.nt-match { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 8px; background: var(--nt-brand);
	color: var(--nt-on-brand); font-size: 13.5px; font-weight: 750; transition: background-color .14s; }
.nt-match:hover { background: var(--nt-brand-hi); }
.nt-files { margin-top: 12px; font-size: 13px; }
.nt-files ul { margin: 6px 0 0; padding-left: 18px; }

.nt-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 18px; }
.nt-prev, .nt-next { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 10px 14px;
	border: 1px solid var(--nt-border); border-radius: 10px; background: var(--nt-surface); color: var(--nt-text); transition: border-color .14s, background-color .14s; }
a.nt-prev:hover, a.nt-next:hover { border-color: var(--nt-brand); background: var(--nt-tint); }
.nt-next { text-align: right; }
.nt-prev small, .nt-next small { color: var(--nt-muted); font-size: 11px; }
.nt-prev span, .nt-next span { overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.nt-prev.is-off, .nt-next.is-off { opacity: .45; }
.nt-list-btn { display: flex; align-items: center; padding: 0 20px; border: 1px solid var(--nt-border); border-radius: 10px; background: var(--nt-surface-2);
	color: var(--nt-text-2); font-size: 13px; font-weight: 700; transition: border-color .14s, color .14s; }
.nt-list-btn:hover { border-color: var(--nt-brand); color: var(--nt-brand-hi); }
.nt-admin { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

@media (max-width: 1023px) {
	.nt-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 720px) {
	.nt { padding: 12px 0 28px; }
	.nt-head { gap: 10px; padding: 12px 14px; }
	.nt-head-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; }
	.nt-head-icon svg { width: 22px; height: 22px; }
	.nt-head h1 { font-size: 20px; }
	.nt-head p { font-size: 12px; }
	.nt-feed { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.nt-title { font-size: 16px; min-height: 0; }
	.nt-read-head h1 { font-size: 20px; }
	.nt-pager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.nt-list-btn { order: 3; grid-column: 1 / -1; justify-content: center; padding: 10px 0; }
	.nt-source { padding: 14px; }
	.nt-search { flex: 1 1 100%; }
	.nt-search input[type="text"] { flex: 1 1 auto; width: auto; }
}
