/* 구단소식(CLUB TIMELINE) — 다크 네이비·보라/인디고. 이 파일 안에서만 쓰는 클래스(.ctl-*)라 다른 화면에 영향이 없다. */
.ctl { --ctl-text:#eceeff; --ctl-sub:#9aa4cc; --ctl-line:rgba(149,107,255,.28); --ctl-card:rgba(16,18,52,.72); --ctl-accent:#7a4cef; --ctl-accent2:#b39bff; --ctl-glow:rgba(122,76,239,.35);
	max-width:1240px; margin:0 auto; padding:16px 14px 56px; color:var(--ctl-text); font-family:var(--rt-font-sans, system-ui, sans-serif); }
.ctl * { box-sizing:border-box; }
.ctl a { text-decoration:none; color:inherit; }

/* ── 배너(이미지 없이 그라데이션 장식) ── */
.ctl-banner { position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:96px; padding:14px 22px; border:1px solid var(--ctl-line); border-radius:16px;
	background:radial-gradient(120% 160% at 85% -30%, rgba(122,76,239,.55) 0%, rgba(122,76,239,0) 55%), radial-gradient(70% 120% at 100% 100%, rgba(47,123,240,.28), rgba(47,123,240,0) 60%), linear-gradient(120deg, #1a1448 0%, #0e1031 60%, #0b0d2a 100%); }
.ctl-banner::after { content:""; position:absolute; inset:0; background:repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); pointer-events:none; mask-image:linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image:linear-gradient(90deg, transparent 30%, #000 100%); }
.ctl-banner-l { position:relative; z-index:1; display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; min-width:0; }
.ctl-banner-ico { color:var(--ctl-accent2); flex:none; }
.ctl-banner-t { margin:0; font-size:36px; font-weight:800; letter-spacing:-.5px; line-height:1.1; background:linear-gradient(180deg,#fff,#cdbdff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.ctl-banner-s { margin:0; font-size:15px; color:var(--ctl-sub); }
.ctl-banner-r { position:relative; z-index:1; flex:none; font-size:22px; font-weight:800; letter-spacing:.02em; color:#fff; text-align:right; line-height:1.15; opacity:.92; }

/* ── 리그 탭 · 분류 칩 ── */
.ctl-filterbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; padding:6px; border:1px solid var(--ctl-line); border-radius:14px; background:var(--ctl-card); }
.ctl-leagues { display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; }
.ctl-leagues::-webkit-scrollbar { display:none; }
.ctl-league { display:inline-flex; align-items:center; gap:8px; flex:none; height:40px; padding:0 14px; border-radius:10px; font-size:15.5px; font-weight:800; color:var(--ctl-text); white-space:nowrap; }
.ctl-league img { width:20px; height:14px; object-fit:cover; border-radius:2px; }
.ctl-league.is-on { background:linear-gradient(145deg,#7c4dff,#5b3bd6); color:#fff; box-shadow:0 0 0 1px rgba(179,155,255,.5), 0 6px 18px -8px var(--ctl-glow); }
.ctl-league:not(.is-on):not(.is-off):hover { background:rgba(149,107,255,.14); }
.ctl-league.is-off { color:var(--ctl-sub); opacity:.7; cursor:default; }
.ctl-cats { display:flex; gap:2px; flex:none; padding:3px; border:1px solid var(--ctl-line); border-radius:999px; background:rgba(8,10,30,.55); }
.ctl-cat-tab { display:inline-flex; align-items:center; height:32px; padding:0 14px; border-radius:999px; font-size:14px; font-weight:700; color:var(--ctl-sub); white-space:nowrap; }
.ctl-cat-tab:hover { color:#fff; }
.ctl-cat-tab.is-on { background:linear-gradient(145deg,#7c4dff,#5b3bd6); color:#fff; }

/* ── 구단 로고: 가로 한 줄(넘치면 가로 스크롤) ── */
.ctl-clubs { position:relative; display:flex; gap:3px; margin-top:12px; padding:10px; overflow-x:auto; border:1px solid var(--ctl-line); border-radius:14px; background:var(--ctl-card); scrollbar-width:thin; scrollbar-color:rgba(149,107,255,.4) transparent; }
.ctl-club { flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; padding:8px 1px 6px; border:1px solid transparent; border-radius:12px; transition:background .12s, border-color .12s; }
.ctl-club-logo { display:grid; place-items:center; width:40px; height:40px; }
.ctl-club-logo img { max-width:100%; max-height:100%; object-fit:contain; filter:saturate(.9); opacity:.88; }
.ctl-club-name { max-width:100%; font-size:11.5px; font-weight:700; color:var(--ctl-sub); white-space:nowrap; overflow:hidden; }
.ctl-club:hover { background:rgba(149,107,255,.12); }
.ctl-club:hover .ctl-club-logo img { opacity:1; filter:none; }
.ctl-club.is-on { border-color:var(--ctl-accent2); background:linear-gradient(180deg, rgba(122,76,239,.34), rgba(122,76,239,.12)); box-shadow:0 0 0 1px rgba(179,155,255,.35), 0 8px 22px -10px var(--ctl-glow); }
.ctl-club.is-on .ctl-club-logo img { opacity:1; filter:none; }
.ctl-club.is-on .ctl-club-name { color:#fff; }
.ctl-club:focus-visible, .ctl-league:focus-visible, .ctl-cat-tab:focus-visible, .ctl-sm:focus-visible { outline:2px solid var(--ctl-accent2); outline-offset:2px; }

/* ── 2단: 좌측 구단 프로필 + 우측 타임라인 ── */
.ctl-layout { display:grid; grid-template-columns:300px minmax(0,1fr); gap:16px; margin-top:16px; align-items:start; }
.ctl-profile, .ctl-sidemenu, .ctl-main { border:1px solid var(--ctl-line); border-radius:16px; background:linear-gradient(180deg, rgba(48,28,110,.30), rgba(14,16,48,.78)); }
.ctl-profile { overflow:hidden; }
.ctl-pf-head { display:flex; align-items:center; gap:14px; padding:18px 16px 14px; background:radial-gradient(120% 140% at 0% 0%, rgba(122,76,239,.28), transparent 60%); }
.ctl-pf-logo { width:64px; height:64px; object-fit:contain; flex:none; }
.ctl-pf-names { min-width:0; }
.ctl-pf-names h2 { margin:0; font-size:20px; font-weight:800; color:#fff; line-height:1.2; }
.ctl-pf-names p { margin:2px 0 8px; font-size:13px; color:var(--ctl-sub); }
.ctl-fav { appearance:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 12px; border:1px solid var(--ctl-line); border-radius:8px; background:rgba(8,10,30,.5); color:var(--ctl-text); font:inherit; font-size:13px; font-weight:700; }
.ctl-fav svg { color:var(--ctl-sub); }
.ctl-fav[aria-pressed="true"] { border-color:#e5b516; color:#fff; }
.ctl-fav[aria-pressed="true"] svg { color:#e5b516; }
.ctl-pf-stats { padding:12px 16px 16px; border-top:1px solid var(--ctl-line); }
.ctl-pf-season { margin:0 0 10px; font-size:13px; font-weight:700; color:var(--ctl-text); }
.ctl-pf-grid { display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:10px 14px; }
.ctl-pf-grid small, .ctl-pf-form small { display:block; font-size:12px; color:var(--ctl-sub); font-weight:600; }
.ctl-pf-rank { font-size:30px; font-weight:800; line-height:1.1; color:#fff; }
.ctl-pf-rec { display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; font-size:12.5px; font-weight:800; }
.ctl-pf-rec span { padding:2px 7px; border-radius:999px; color:#fff; }
.ctl-pf-rec .w { background:#1f9d6b; } .ctl-pf-rec .d { background:#6b7a99; } .ctl-pf-rec .l { background:#cf4a5b; }
.ctl-pf-rec em { font-style:normal; font-weight:600; color:var(--ctl-sub); }
.ctl-pf-gf b, .ctl-pf-ga b { font-size:22px; font-weight:800; color:#fff; font-variant-numeric:tabular-nums; }
.ctl-pf-form { display:flex; align-items:center; gap:6px; margin-top:12px; padding:10px 12px; border:1px solid var(--ctl-line); border-radius:10px; background:rgba(8,10,30,.4); }
.ctl-pf-form small { margin-right:auto; color:var(--ctl-text); font-weight:700; font-size:13px; }
.ctl-fm { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; font-size:12px; font-weight:800; color:#fff; }
.ctl-fm.is-w { background:#1f9d6b; } .ctl-fm.is-d { background:#6b7a99; } .ctl-fm.is-l { background:#cf4a5b; }

.ctl-sidemenu { margin-top:12px; padding:8px; display:flex; flex-direction:column; gap:2px; }
.ctl-sm { display:flex; align-items:center; gap:10px; min-height:44px; padding:0 12px; border-radius:10px; font-size:15px; font-weight:700; color:var(--ctl-text); }
.ctl-sm svg { flex:none; color:var(--ctl-sub); }
.ctl-sm:hover { background:rgba(149,107,255,.12); }
.ctl-sm.is-on { background:linear-gradient(145deg, rgba(124,77,255,.55), rgba(91,59,214,.45)); color:#fff; box-shadow:inset 0 0 0 1px rgba(179,155,255,.45); }
.ctl-sm.is-on svg { color:#fff; }
.ctl-sm.is-off { color:var(--ctl-sub); opacity:.65; cursor:default; }
.ctl-sm.is-off small { margin-left:auto; font-size:10.5px; font-weight:700; padding:1px 6px; border-radius:999px; border:1px solid var(--ctl-line); }

/* ── 우측 뉴스 타임라인 ── */
.ctl-main { padding:0 0 8px; min-width:0; }
.ctl-main-head { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; padding:14px 18px; border-bottom:1px solid var(--ctl-line); }
.ctl-main-head h2 { margin:0; font-size:22px; font-weight:800; color:#fff; }
.ctl-count { padding:3px 10px; border-radius:999px; background:rgba(122,76,239,.28); font-size:13px; font-weight:800; color:#e9e2ff; }
.ctl-count.is-sub { background:transparent; padding:0; color:var(--ctl-sub); font-weight:600; }
.ctl-tools { display:flex; align-items:center; gap:8px; margin-left:auto; }
.ctl-filters { display:flex; gap:8px; margin:0; }
.ctl-filters select { height:36px; padding:0 30px 0 12px; border:1px solid var(--ctl-line); border-radius:10px; background:rgba(8,10,30,.6); color:var(--ctl-text); font:inherit; font-size:14px; font-weight:700; }
.ctl-btn { appearance:none; cursor:pointer; height:36px; padding:0 14px; border:1px solid var(--ctl-line); border-radius:10px; background:transparent; color:var(--ctl-text); font:inherit; font-size:13px; font-weight:700; }
.ctl-btn:hover { background:rgba(149,107,255,.14); }
.ctl-btn.is-primary { border-color:transparent; background:linear-gradient(145deg,#7c4dff,#5b3bd6); color:#fff; }
.ctl-btn.is-danger { border-color:rgba(239,71,111,.5); color:#ff8aa3; }

.ctl-list { list-style:none; margin:0; padding:0 18px; }
.ctl-item { border-bottom:1px solid rgba(149,107,255,.16); }
.ctl-item:last-child { border-bottom:0; }
.ctl-row { appearance:none; cursor:pointer; display:grid; grid-template-columns:70px 14px 132px minmax(0,1fr) 22px; align-items:center; gap:14px; width:100%; min-height:104px; padding:12px 0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; }
.ctl-row:hover .ctl-ttl { color:#fff; }
.ctl-row:focus-visible { outline:2px solid var(--ctl-accent2); outline-offset:-2px; border-radius:8px; }
.ctl-date { display:flex; flex-direction:column; align-items:flex-start; line-height:1.15; }
.ctl-date b { font-size:21px; font-weight:800; color:#fff; font-variant-numeric:tabular-nums; }
.ctl-date i { font-style:normal; font-size:15px; font-weight:600; color:var(--ctl-sub); }
.ctl-date small { font-size:11.5px; color:var(--ctl-sub); }
.ctl-mark { width:10px; height:10px; border-radius:50%; background:var(--ctl-accent); box-shadow:0 0 0 4px rgba(122,76,239,.25); justify-self:center; }
.ctl-thumb { display:grid; place-items:center; width:132px; height:78px; border:1px solid var(--ctl-line); border-radius:10px; background:radial-gradient(90% 120% at 30% 0%, rgba(122,76,239,.35), rgba(14,16,48,.9)); }
.ctl-thumb img { width:48px; height:48px; object-fit:contain; opacity:.9; }
.ctl-txt { min-width:0; display:flex; flex-direction:column; gap:6px; }
.ctl-line { display:flex; align-items:center; gap:10px; min-width:0; }
.ctl-cat { flex:none; padding:3px 10px; border-radius:6px; font-size:12.5px; font-weight:800; color:#fff; background:#5b3bd6; white-space:nowrap; }
.ctl-cat.is-match { background:#2f7bf0; } .ctl-cat.is-transfer { background:#7a4cef; } .ctl-cat.is-injury { background:#cf4a5b; } .ctl-cat.is-manager { background:#b8871a; } .ctl-cat.is-player { background:#1f9d6b; }
.ctl-ttl { font-size:17px; font-weight:800; color:#e9ecff; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ctl-sum { font-size:14px; line-height:1.5; color:var(--ctl-sub); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ctl-go { color:var(--ctl-sub); transition:transform .15s; }
.ctl-row[aria-expanded="true"] .ctl-go { transform:rotate(90deg); color:#fff; }
.ctl-row[aria-expanded="true"] .ctl-ttl { white-space:normal; }
.ctl-row[aria-expanded="true"] .ctl-sum { display:none; }
.ctl-row[aria-expanded="true"] .ctl-mark { background:var(--ctl-accent2); }

.ctl-detail { margin:0 0 14px 98px; padding:14px 16px; border:1px solid var(--ctl-line); border-radius:12px; background:rgba(8,10,30,.55); }
.ctl-detail[hidden], .ctl-form[hidden] { display:none; }
.ctl-body { font-size:15px; line-height:1.75; color:#dfe3ff; overflow-wrap:anywhere; }
.ctl-nobody { margin:0; font-size:13px; color:var(--ctl-sub); }
.ctl-src { margin:12px 0 0; font-size:13.5px; }
.ctl-src a { color:var(--ctl-accent2); font-weight:700; }
.ctl-src a:hover { text-decoration:underline; }
.ctl-src span { color:var(--ctl-sub); font-weight:500; }
.ctl-admin { display:flex; gap:8px; margin-top:12px; padding-top:10px; border-top:1px dashed var(--ctl-line); }
.ctl-inline { display:inline; margin:0; }

.ctl-form { margin:12px 18px; padding:14px; border:1px solid var(--ctl-line); border-radius:12px; background:rgba(8,10,30,.55); }
.ctl-detail .ctl-form { margin:12px 0 0; }
.ctl-form label { display:block; font-size:12.5px; font-weight:700; color:var(--ctl-sub); }
.ctl-form label small { font-weight:500; }
.ctl-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; margin-bottom:10px; }
.ctl-full { margin-bottom:10px; }
.ctl-form input, .ctl-form select, .ctl-form textarea { display:block; width:100%; margin-top:5px; padding:8px 10px; border:1px solid var(--ctl-line); border-radius:8px; background:#0a0c26; color:var(--ctl-text); font:inherit; font-size:14px; }
.ctl-form textarea { resize:vertical; line-height:1.6; }
.ctl-form input:focus, .ctl-form select:focus, .ctl-form textarea:focus { outline:2px solid var(--ctl-accent2); outline-offset:0; }
.ctl-actions { display:flex; gap:8px; }

.ctl-empty { margin:22px 18px; padding:40px 14px; border:1px dashed var(--ctl-line); border-radius:14px; text-align:center; }
.ctl-empty-t { margin:0 0 6px; font-size:15px; font-weight:800; color:var(--ctl-text); }
.ctl-empty-s { margin:0; font-size:13px; color:var(--ctl-sub); }

.ctl-pg { display:flex; align-items:center; justify-content:center; gap:14px; margin:16px 0 8px; font-size:14px; color:var(--ctl-sub); }
.ctl-pg a { padding:6px 14px; border:1px solid var(--ctl-line); border-radius:8px; color:var(--ctl-text); font-weight:700; }
.ctl-pg a:hover { background:rgba(149,107,255,.14); }

/* 폭이 모자라면(≈1100px 이하) 칸을 고정 폭으로 두고 가로 스크롤 */
@media (max-width:1180px) { .ctl-club { flex:0 0 60px; } }

/* ── 태블릿·모바일 ── */
@media (max-width:1023px) {
	.ctl-layout { grid-template-columns:minmax(0,1fr); }
	.ctl-sidemenu { flex-direction:row; overflow-x:auto; scrollbar-width:none; }
	.ctl-sidemenu::-webkit-scrollbar { display:none; }
	.ctl-sm { flex:none; white-space:nowrap; }
	.ctl-sm.is-off small { margin-left:6px; }
}
@media (max-width:767px) {
	.ctl { padding:12px 10px 44px; }
	.ctl-banner { min-height:84px; padding:12px 14px; }
	.ctl-banner-t { font-size:26px; }
	.ctl-banner-s { font-size:13px; }
	.ctl-banner-r { display:none; }
	.ctl-filterbar { flex-direction:column; align-items:stretch; }
	.ctl-cats { overflow-x:auto; scrollbar-width:none; }
	.ctl-main-head { padding:12px 12px; }
	.ctl-main-head h2 { font-size:18px; }
	.ctl-tools { width:100%; margin-left:0; justify-content:space-between; }
	.ctl-list { padding:0 12px; }
	.ctl-row { grid-template-columns:62px minmax(0,1fr) 20px; grid-template-areas:"date txt go"; min-height:0; gap:10px; padding:12px 0; align-items:start; }
	.ctl-mark, .ctl-thumb { display:none; }
	.ctl-date { grid-area:date; } .ctl-txt { grid-area:txt; } .ctl-go { grid-area:go; align-self:center; }
	.ctl-date b { font-size:18px; }
	.ctl-line { flex-wrap:wrap; gap:6px; }
	.ctl-ttl { white-space:normal; font-size:15.5px; }
	.ctl-detail { margin:0 0 12px; }
	.ctl-form { margin:12px; }
	.ctl-grid { grid-template-columns:1fr; }
	.ctl-pf-grid { grid-template-columns:auto 1fr; }
	.ctl-pf-rec { grid-column:2; }
}
