/* R10 CG §20 — 홈 모듈(R11-HOME-SPEC 이식). 토큰만 써요(색·글자 14/16/20/28 + 리드 숫자 한 곳 40·간격 8격자·모서리 12/10/8) */
.hm-sec-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--s1);padding:var(--s4) 0 var(--s1);line-height:1.4}
.hm-sec-h h2{font-size:var(--fs-l);font-weight:var(--w-b)}
.hm-sec-h span{font-size:var(--fs-s);color:var(--ink-2)}
.hm-open{position:absolute;inset:0;z-index:1;width:100%;border-radius:var(--r-card)}
.hm-open:hover{background:none}
.hm-lg{font-size:var(--fs-s);color:var(--ink-2)}
/* 로고 크기 체계(72/48/40) — crest() 가 그린 .logo-mark/.code 를 자리별로 */
.hm-club .logo-mark,.hm-club .code{width:4.5rem;height:4.5rem}
.hm-r .logo-mark,.hm-r .code{width:2.5rem;height:2.5rem}
/* ① 히어로 캐러셀(지금 큰 이적): 한 카드 · 슬라이드 5개가 같은 칸에 겹쳐 있어(가장 큰 슬라이드가 높이를 정해요) 넘겨도 높이 변화 0 */
.hm-lb{margin-top:var(--s2)}
.hm-car-card{position:relative;height:20.5rem;padding:var(--s2) var(--s4) var(--s2)}   /* 840×328 고정(CLS 0) */
.hm-car-h{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:var(--s2);height:2rem}
.hm-car-h h2{font-size:var(--fs-l);font-weight:var(--w-b)}
.hm-car-ctl{display:flex;align-items:center;gap:var(--s1);font-size:var(--fs-s);color:var(--ink-2)}
.hm-car-b,.hm-car-p{position:relative}
.hm-car-b::before,.hm-car-p::before{content:"";position:absolute;inset:-.375rem -.25rem}
.hm-car-b{min-width:2rem;height:2rem;border-radius:var(--ctl-r);font-size:var(--fs-l);line-height:1.2;color:var(--ink)}
.hm-car-b:hover,.hm-car-p:hover{background:var(--fill)}
.hm-car-b:active,.hm-car-p:active{background:var(--fill-2)}
.hm-car-n{min-width:3rem;text-align:center;font-variant-numeric:tabular-nums}
.hm-car-n b{color:var(--ink)}
.hm-car-p{height:2rem;padding:0 var(--s1);border-radius:var(--ctl-r);font-weight:var(--w-b);color:var(--ink-2)}
.hm-car-stage{position:relative;height:12.25rem;touch-action:pan-y}
.hm-slide{position:absolute;inset:0;min-width:0;display:flex;align-items:center;opacity:0;visibility:hidden;transition:opacity .25s ease}
.hm-slide.on{opacity:1;visibility:visible}
.hm-slide>.hm-l-main{width:100%}
.hm-slide-a{position:absolute;inset:0;z-index:1;border-radius:var(--r-card)}
.hm-l-main{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:var(--s5);align-items:center}
.hm-pair{display:flex;align-items:flex-start;gap:var(--s1)}
.hm-club{display:flex;flex-direction:column;align-items:center;gap:var(--s1);width:7.5rem;text-align:center}
.hm-club>span{font-size:var(--fs-m);font-weight:var(--w-b);line-height:1.4;word-break:keep-all}
.hm-arr{font-style:normal;font-size:var(--fs-xl);line-height:4.5rem;color:var(--ink-2)}
.hm-kick{font-size:var(--fs-s);font-weight:var(--w-b);line-height:1.4;color:var(--ink-2)}
.hm-name{margin-top:.25rem;font-size:var(--fs-xl);line-height:1.2;font-weight:var(--w-b)}
.hm-name small{margin-left:var(--s1);font-size:var(--fs-s);font-weight:var(--w-r);color:var(--ink-2)}
.hm-hl{margin-top:.25rem;font-size:var(--fs-m);line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-fig{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--s1);margin-top:.25rem}
.hm-fig small{font-size:var(--fs-s);color:var(--ink-2)}
.hm-fig b{font-size:var(--fs-2xl);line-height:1.1;font-weight:var(--w-b);letter-spacing:-.02em}
.hm-fig b.tx{font-size:var(--fs-xl)}
.hm-fig b i{font-style:normal;font-size:var(--fs-m);font-weight:var(--w-r);color:var(--ink-2);letter-spacing:0}
.hm-fig .fn{flex-basis:auto}
.hm-nums{display:flex;gap:var(--s3);margin-top:var(--s1)}
.hm-nums span{display:flex;flex-direction:column}
.hm-nums small,.hm-nl small{font-size:var(--fs-s);color:var(--ink-2)}
.hm-nums b{font-size:var(--fs-2xl);line-height:1.1;font-weight:var(--w-b)}
.hm-nl{margin-top:.25rem;font-size:var(--fs-s);line-height:1.5}
.hm-nl small{margin-right:var(--s1)}
.hm-l-club .hm-club{width:auto}
.hm-l-foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1) var(--s2);margin-top:var(--s1)}
.hm-l-meta{font-size:var(--fs-s);color:var(--ink-2)}
.hm-car-tabs{position:relative;z-index:3;display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:var(--s1);margin-top:.75rem}
.hm-tab{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;height:3.5rem;padding:var(--s1) var(--s2);border-radius:var(--ctl-r);text-align:left}
.hm-tab small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-s);line-height:1.4;color:var(--ink-2)}
.hm-tab b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-m);line-height:1.4}
.hm-tab:hover{background:var(--fill)}
.hm-tab[aria-pressed="true"]{background:var(--fill-2)}
.hm-tab[aria-pressed="true"] small{font-weight:var(--w-b);color:var(--ink)}
.hm-slide:hover .hm-name{text-decoration:underline;text-underline-offset:3px}
/* 옵션 줄(필터 세그먼트 + 보조 옵션) — 카드 아님 */
.toolbar{background:none;border-radius:0;padding:0;margin:var(--s3) 0 0;min-height:2.25rem;gap:var(--s1) var(--s3)}
@media (max-width:759px){
  .toolbar{margin-top:var(--s2)}
}
#toolbar:not(:empty)~#feed>.day:first-child,#toolbar:not(:empty)~#feed .day:first-child{padding-top:var(--s2)}


@media (prefers-reduced-motion:reduce){.hm-car-p{display:none}.hm-slide{transition:none}}

/* §22 종목 고르기(첫 방문) · 모아보기 종목별 섹션 */
.hm-pick{margin-top:var(--s2)}
.hm-pick-card{padding:var(--s3) var(--s4)}
.hm-pick-card h2{font-size:var(--fs-l);font-weight:var(--w-b)}
.hm-pick-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s1);margin-top:var(--s2)}
.hm-pick-b{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.25rem;min-height:5rem;padding:var(--s2);border-radius:var(--ctl-r);box-shadow:var(--ring-2);text-align:left}
.hm-pick-b b{font-size:var(--fs-xl);line-height:1.2;font-weight:var(--w-b)}
.hm-pick-b small{font-size:var(--fs-s);color:var(--ink-2)}
.hm-pick-b:hover{background:var(--fill)}
.hm-pick-b:active{background:var(--fill-2)}
.hm-pick-skip{height:var(--h-touch);margin-top:var(--s1);padding:0 var(--s1);border-radius:var(--ctl-r);font-size:var(--fs-s);font-weight:var(--w-b);color:var(--ink-2)}
.hm-pick-skip:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.hm-sp .hm-sec-h{align-items:center;justify-content:space-between}
.hm-sp .hm-more{height:var(--h-touch);padding:0 var(--s1);border-radius:var(--ctl-r)}
.hm-sp-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:var(--s4);padding:var(--s3)}
.hm-sp-lead{position:relative;display:flex;flex-direction:column;gap:var(--s1);min-width:0}
.hm-sp-pair{display:flex;align-items:center;gap:var(--s1)}
.hm-sp-pair .logo-mark,.hm-sp-pair .code{width:3rem;height:3rem}
.hm-sp-txt{min-width:0}
.hm-sp-txt .hm-m-name{margin-top:.25rem;font-size:var(--fs-l);line-height:1.3}
.hm-sp-txt .hm-m-name small{display:block;font-size:var(--fs-s);font-weight:var(--w-r);color:var(--ink-2)}
.hm-sp-txt .hm-hl{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hm-sp-fig{display:flex;align-items:baseline;gap:var(--s1)}
.hm-sp-fig small{font-size:var(--fs-s);color:var(--ink-2)}
.hm-sp-fig b{font-size:var(--fs-xl);line-height:1.2;font-weight:var(--w-b)}
.hm-sp-fig b.tx{font-size:var(--fs-l)}
.hm-sp-list{min-width:0}
.hm-sp-lead:hover .hm-m-name{text-decoration:underline;text-underline-offset:3px}
@media (max-width:759px){
  .hm-pick-card{padding:var(--s2)}
  .hm-pick-g{grid-template-columns:1fr}
  .hm-pick-b{min-height:4rem;flex-direction:row;align-items:baseline;justify-content:space-between}
  .hm-sp-card{grid-template-columns:1fr;row-gap:var(--s2);padding:var(--s2)}
}

/* L-1: 첫 방문 종목 고르기는 한 줄(질문 + 선택 3 + 건너뛰기) — 첫 이적이 밀려 내려가지 않게 */
.hm-pick-card{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1) var(--s2);padding:var(--s2) var(--s3)}
.hm-pick-card h2{flex:none;font-size:var(--fs-l)}
.hm-pick-g{flex:1 1 20rem;margin-top:0;gap:var(--s1)}
.hm-pick-b{min-height:3.5rem;padding:0 var(--s2);flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--s1)}
.hm-pick-b b{font-size:var(--fs-l)}
.hm-pick-b small{display:none}
.hm-pick-skip{margin-top:0}
@media (max-width:759px){.hm-pick-card{padding:var(--s2)}.hm-pick-g{grid-template-columns:repeat(3,minmax(0,1fr));flex-basis:100%}.hm-pick-b{justify-content:center;align-items:center;padding:0 var(--s1)}.hm-pick-skip{margin-left:auto}}

.toolbar{align-content:flex-start}

/* =====================================================================
   R11-WAR 수용분: 히어로 반전 면(잉크) + 단계 5칸 · 오피셜 행 틴트 · 단계 배지 형태 구분
   ===================================================================== */
.hm-car-card{background:var(--hero-bg);color:var(--hero-fg)}
.hm-car-card .hm-car-h h2,.hm-car-card .hm-name,.hm-car-card .hm-fig b,.hm-car-card .hm-club>span,.hm-car-card .hm-nums b,.hm-car-card .hm-hl,.hm-car-card .hm-tab b,.hm-car-card .hm-car-b,.hm-car-card .hm-car-n b{color:var(--hero-fg)}
.hm-car-card .hm-kick,.hm-car-card .hm-fig small,.hm-car-card .hm-fig b i,.hm-car-card .hm-l-meta,.hm-car-card .hm-name small,.hm-car-card .hm-nl,.hm-car-card .hm-nums small,.hm-car-card .hm-nl small,.hm-car-card .hm-car-n,.hm-car-card .hm-car-p,.hm-car-card .hm-tab small,.hm-car-card .hm-arr{color:var(--hero-sub)}
.hm-car-b:hover,.hm-car-p:hover,.hm-tab:hover{background:rgba(255,255,255,.1)}
.hm-car-b:active,.hm-car-p:active{background:rgba(255,255,255,.18)}
.hm-tab[aria-pressed="true"]{background:rgba(255,255,255,.18)}
.hm-tab[aria-pressed="true"] small{color:var(--hero-fg)}
.hm-car-card :focus-visible{outline-color:var(--hero-fg)}
.hm-l-foot{flex-wrap:nowrap}
.hm-l-meta{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-fig b.tx{font-size:var(--fs-l);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hm-fig b.tx+*{display:none}
@media (max-width:759px){.hm-l-foot{flex-wrap:wrap}}
/* 오피셜 행 면 틴트(기능적 코딩, 장식 아님) */
.wire:has(.w-stage .pill.s5){background:var(--ok-tint)}
/* 단계 배지: 합의 = 윤곽 · 무산 = 점선 윤곽 + 취소선 */
.pill.s3{box-shadow:inset 0 0 0 1.5px var(--ink);color:var(--ink)}
.pill.s3:hover{box-shadow:inset 0 0 0 2px var(--ink)}
.pill.s0{background:none;box-shadow:none;border:1px dashed var(--ink-2);color:var(--ink-2);text-decoration:line-through}

/* T-2(§26 개정): 모바일 행 = 엠블럼 48 · [이름·경로] / [제목] 두 줄, 그 아래 메타 한 줄은 엠블럼 아래부터 전체 폭 —
   `출처 +N ········ 알약 · 팔로우`(오른쪽 끝선 = 팔로우 오른쪽). 출처가 `Sky S…` 로 잘리던 것: 메타 줄 폭 255 → 311, 시각·등급 글자는 이 줄에서 빼고(날짜 머리·상세가 말해요) 새 소식 표시만 남겨요 */
@media (max-width:759px){
  .wire:not(.rank){grid-template-columns:2rem minmax(0,1fr) auto auto auto;column-gap:.75rem}
  .wire:not(.rank) .w-tile{grid-row:1/3;align-self:start}
  .wire:not(.rank) .w-top{grid-column:2/-1;grid-row:1}
  .wire:not(.rank) .w-text{grid-column:2/-1;grid-row:2}
  .wire:not(.rank) .w-src{grid-column:1/3;grid-row:3;gap:.25rem}
  .wire:not(.rank) .w-tw{grid-column:3;grid-row:3}
  .wire:not(.rank) .w-tw .tier,.wire:not(.rank) .w-tw .w-when{display:none}
  .wire:not(.rank) .w-stage .pill{grid-column:4;grid-row:3;align-self:center;justify-self:end}
  .wire:not(.rank) .bellbtn{grid-column:5;grid-row:3;margin-right:calc(var(--s1) * -1)}
  .wire:not(.rank) .w-unconf{display:none}
  .wire:not(.rank) .rep{max-width:100%}
}

/* QA-C 4라운드 P1: 토스트 · safe-area · 닫기 44 · 표 이름 링크 히트 */
@media (max-width:759px){.toast{width:max-content;max-width:calc(100vw - 2rem);flex-wrap:nowrap;gap:var(--s1)}.toast .toast-act{flex:none}}   /* C-4-05: 3줄(188×100) → 2줄 이내 */
.modal-f,.dt-f{padding-bottom:max(var(--s2),env(safe-area-inset-bottom))}   /* C-4-07: 하단 바에 홈 인디케이터 여백 */
.x{min-height:var(--h-touch);min-width:var(--h-touch)}   /* C-4-08: 상세·모달 상단 닫기 36 → 44 */
.t-name{position:relative;z-index:1}
.t-name::after{content:"";position:absolute;inset:-.625rem -.25rem}   /* C-4-09: 표에서 행 버튼과 이름 링크가 0px 맞닿던 것 — 이름 링크 히트를 행 버튼 위로 */
.rl-row,.mrow{margin-bottom:0}
/* 간격 스케일 확정: 4/8/12/16/24/32/48 (12 포함) */
:root{--s-12:var(--sp-3)}

/* T-n 타이포: 큰 글자 자간 토큰 · text-wrap · 숫자 우정렬 · 날짜 구분 16(역할 분리) */
h1,.w-name,.hm-name,.cv-id h1,.pl-h h1,.dt-h h1{letter-spacing:var(--ls-xl)}
.hm-fig b,.hm-nums b{letter-spacing:var(--ls-2xl)}
.hm-sp-fig b,.mi-n,.w-rank{letter-spacing:var(--ls-l)}
h1,h2,h3,.hm-name{text-wrap:balance}
p,.w-text,.hm-hl,.hm-m-name small{text-wrap:pretty}
.pg p,.sup-note p,.cov-note p,.empty p{max-width:36rem}   /* 14px 설명문 한 줄 36rem(약 50자) */
.mr-pt,.hm-f-v,.hm-r-t small,.w-score{font-variant-numeric:tabular-nums}
.mr-pt{display:inline-block;min-width:3.75rem;text-align:right}   /* 레일 `화제 N점` 숫자 우정렬 */
.day{font-size:var(--fs-m)}   /* 날짜 구분(오늘·어제·이번 주)은 16/700 — 섹션 제목 20/700 과 역할 분리 */
body{font-variant-numeric:tabular-nums}

/* ⑤ 티커 항목 히트 44: 보이는 높이는 32 그대로, 가로만 자르고 세로는 투명 확장(::after)이 보이게 */
@supports (overflow:clip){.tk-view{overflow-x:clip;overflow-y:visible}}
.tk-item::after{inset:0 0 -.8125rem}

/* QA-B 6라운드 P1·P2 일부: 레일 순위 행 로고→이름 간격 12 · 모바일 화제 행 높이 고정 */
.mrow.rk{column-gap:var(--s-12)}
@media (max-width:759px){.wire.rank{min-height:6.75rem}.wire.rank .w-top small,.wire.rank .w-top .w-route-m{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.hm-fig b.md{font-size:var(--fs-xl)}   /* 한글 단위 금액이 길면(4억 5,000만 달러) 28px — 40px 숫자는 짧은 것만 */

.sum-l{margin:0 0 .25rem;font-size:var(--fs-s);font-weight:var(--w-b);color:var(--ink-2)}   /* 요약 박스는 `요약` 라벨(인용문처럼 보이지 않게) */

.grade-note{display:block;margin-top:.25rem;font-size:var(--fs-s);line-height:1.5;color:var(--ink-2)}   /* 기자 등급 ≠ 보도 등급 사유(해요체 한 줄, 길면 줄바꿈) */

/* C-4-12: 팀 고르기 모달 종목 탭 44 */
.tm-seg button{min-height:var(--h-touch);height:var(--h-touch)}

.hm-car-st{margin-left:var(--s1);font-size:var(--fs-s);font-weight:var(--w-r);color:var(--hero-sub)}

/* =====================================================================
   §22-3 최종 구조: 히어로(지금 화제) → 팀 필터 줄(리그 칩 → 팀 칩) → 옵션 줄 → 피드 / 레일 = 확정된 이적(오피셜만)
   ===================================================================== */
.tb-title{flex:none;font-size:var(--fs-l);font-weight:var(--w-b);line-height:2.25rem;margin-right:auto}
.tb-back{margin-left:var(--s1);font-size:var(--fs-s);font-weight:var(--w-r);color:var(--ink-2)}
/* 레일 `확정된 이적`(오피셜 건만): 한 가지 촘촘한 행 문법 */
.of-list{display:flex;flex-direction:column}
.of-r{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;column-gap:var(--s-12);align-items:center;width:100%;min-height:3.25rem;border-radius:var(--r);text-align:left}
.of-r:hover{background:var(--fill)}
.of-t{display:flex;flex-direction:column;min-width:0}
.of-t b{font-size:var(--fs-m);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.of-t small,.of-m small{font-size:var(--fs-s);line-height:1.4;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.of-m{display:flex;flex-direction:column;align-items:flex-end}
.of-m small{display:inline-flex;align-items:center;gap:.25rem}
.of-l{display:flex}
.of-l .logo-mark,.of-l .code{width:2rem;height:2rem}   /* 도착 구단 크레스트 32 — 흰 타일 + 1px 테두리 · 흰색 위주 로고는 #4a4a4a 타일 · FA 는 글자 타일 */
.of-m time{font-size:var(--fs-s);font-weight:var(--w-b);line-height:1.4;font-variant-numeric:tabular-nums}
.of-more{display:block;margin-top:var(--s1);padding:var(--s1) 0;font-size:var(--fs-s);font-weight:var(--w-b);color:var(--ink-2)}
.of-more:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.of-inl{margin:var(--s1) 0}
.of-inl .hm-card{padding:var(--s2)}
@media (min-width:760px){.of-inl{display:none}}
@media (max-width:759px){.w-off{display:none}}

/* (복원) 카드 · 목록 행 · 모바일 히어로 */
.hm-card:not(.hm-car-card){background:var(--bg);border-radius:var(--r-card);padding:var(--s3)}
.hm-r{position:relative;display:grid;grid-template-columns:2.5rem minmax(0,1fr);column-gap:.75rem;align-items:center;width:100%;min-height:3.5rem;padding:.25rem 0;border-radius:var(--r);text-align:left}
.hm-r:hover{background:var(--fill)}
.hm-r-t{display:flex;flex-direction:column;min-width:0}
.hm-r-t b{font-size:var(--fs-m);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-r-t small{color:var(--ink-2);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:759px){
  .hm-sec-h{padding-top:var(--s3)}
  .hm-car-card{height:25.5rem;padding:var(--s2)}
  .hm-car-n{display:none}
  .hm-car-stage{height:17.25rem}
  .hm-l-main{grid-template-columns:1fr;row-gap:var(--s1)}
  .hm-pair{justify-content:flex-start;align-items:center}
  .hm-club{flex-direction:row;width:auto;gap:var(--s1)}
  .hm-club>span{font-size:var(--fs-s)}
  .hm-club .logo-mark,.hm-club .code{width:3rem;height:3rem}
  .hm-arr{font-size:var(--fs-l);line-height:3rem}
  .hm-fig b,.hm-nums b{font-size:var(--fs-xl)}
  .hm-hl{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .hm-car-tabs{display:flex;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;margin:.75rem calc(var(--s2) * -1) 0;padding:0 var(--s2)}
  .hm-car-tabs::-webkit-scrollbar{display:none}
  .hm-tab{flex:0 0 7.5rem;scroll-snap-align:start}
}

/* §25 닫힌 시장 히어로(최고 이적료 순위) */
.hm-car-note{flex:1;min-width:0;font-size:var(--fs-s);color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-car-card .hm-car-note{color:var(--hero-sub)}
@media (max-width:759px){.hm-car-note{display:none}}

/* 모바일 팀 줄: 리그 칩 36 + 팀 칩 36(엠블럼 24 옆에 이름) = 88 이하, 눌림 영역은 ::before 로 44 */
@media (max-width:759px){
}

.hm-car-card{border-radius:var(--r-card)}

/* 히어로(어두운 면) 안의 단계 알약: 밝은 면 기준 색이 묻히지 않게 */
.hm-car-card .pill.s1{background:#3d3d3d;color:#fff}
.hm-car-card .pill.s2{background:#505050;color:#fff}
.hm-car-card .pill.s3{background:none;box-shadow:inset 0 0 0 1.5px #fff;color:#fff}
.hm-car-card .pill.s4{background:#fff;color:#1a1a1a}
.hm-car-card .pill.s0{border-color:var(--hero-sub);color:var(--hero-sub)}
/* 모바일 옵션 줄: 3칸(최신 소식 · 한눈에 보기 · 로스터)이 한 줄에 들어가게 */
@media (max-width:759px){.opts{gap:0}.opts .ob{padding:0 .5rem}.opts .ob-seg{gap:0}}

/* 모바일 행 메타 줄: 출처 칩이 이름을 더 보여 주도록 열 간격 12→8, 마크 16 */
@media (max-width:759px){
  .wire:not(.rank){column-gap:.5rem}
  .wire:not(.rank) .w-tile{margin-right:.25rem}
  .w-src .src-chip{gap:.25rem}
  .w-src .src-mk.s20{width:1rem;height:1rem}
}


/* 피드 머리: 팀·리그를 골랐을 때 `토트넘 이적 소식 ····· 해제` (옵션 줄엔 컨트롤만) */
.fh{display:flex;align-items:baseline;gap:var(--s1);padding:var(--s3) 0 0}
.fh-n{margin-right:auto;font-size:var(--fs-s);color:var(--ink-2)}
.fh h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-l);line-height:1.4}
.fh-x{position:relative;flex:none;height:var(--ctl-h-sm);padding:0 var(--s1);border-radius:var(--ctl-r);font-size:var(--ctl-fs-sm);font-weight:var(--w-b);color:var(--ink-2)}
.fh-x::before{content:"";position:absolute;inset:-.25rem -.125rem}
.fh-x:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.fh+.day{padding-top:var(--s1)}


/* ===== 아래 §26 블록은 마지막에 로드되는 이 파일에 둬요(앞선 파일의 같은 선택자 규칙에 밀리지 않게) ===== */
/* =====================================================================
   §26 P0 헤더·티커·탭 — 같은 줄 컨트롤 한 벌
   · 오른쪽 끝선 = 컨테이너 안쪽 끝(1330) 하나: 헤더(검색 · 어둡게) · 종목 탭 줄(내 팀 고르기)
   · 검색 · 어둡게 · 내 팀 고르기 = 높이 44 · 면 --sec-bg · 윤곽 없음 · 모서리 10 · 글자 14/700(검색 입력만 400)
   · 티커 양끝은 면이 아니라 mask 페이드, `멈춤`(글자 잉크) 과 기준 시각(회색) 구분
   ===================================================================== */
.mast-in{--g:var(--s4);gap:0 var(--g)}
@media (min-width:760px) and (max-width:1023px){.mast-in{--g:var(--s3)}}
@media (max-width:759px){.mast-in{--g:var(--s2)}}
.hsearch{background:var(--sec-bg)}
.hsearch:hover{background:var(--sec-bg-h)}
.hsearch:focus-within{background:var(--field-bg)}
.tbtn{height:var(--ctl-h);min-height:var(--ctl-h);padding:0 var(--s2);border-radius:var(--ctl-r);background:var(--sec-bg);color:var(--ink);font-size:var(--ctl-fs-sm);font-weight:var(--w-b)}
.tbtn:hover{background:var(--sec-bg-h);color:var(--ink);text-decoration:none}
.tbtn:active{background:var(--sec-bg-a)}
.hsearch+.tbtn,#searchBtn+.tbtn{margin-left:calc(var(--s1) - var(--g))}
#searchBtn{margin-left:auto}
.tab-edit,.tab-edit:not(.mk-pick){height:var(--ctl-h);padding:0 var(--s2);background:var(--sec-bg);color:var(--ink);font-size:var(--ctl-fs-sm);font-weight:var(--w-b)}
.tab-edit:hover,.tab-edit:not(.mk-pick):hover{background:var(--sec-bg-h);color:var(--ink);text-decoration:none}
.tab-edit::before{inset:0}
.tk-view::before,.tk-view::after{content:none}
.tk-view{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 1.5rem,#000 calc(100% - 1.5rem),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 1.5rem,#000 calc(100% - 1.5rem),transparent 100%)}
.tk-in{gap:var(--s2)}
@media (max-width:759px){.tab-edit,.tab-edit:not(.mk-pick){padding:0 var(--s1)}}

/* =====================================================================
   §26 상태 문법 한 벌(카탈로그 전수 점검 반영)
   · 포커스 링: 전역 2px 포인트색 · offset 2 · 모서리는 요소를 따름(글자만 있는 컨트롤도 모서리 10) — 입력·검색도 같은 offset
   · hover: 면이 있는 컨트롤 = 한 단계 진한 면 / 글자만 = 글자 잉크 + 밑줄(탭·메뉴는 글자 잉크만) · active: 면 = 한 단계 더 진하게 / 글자만 = 밑줄
   ===================================================================== */
.tab,.pages a,.ob,.rep,.fh-x,.tf-more,.tk-pause,.pg-n,.pg-gap,.of-r,.hm-r{border-radius:var(--ctl-r)}
input:focus,select:focus,textarea:focus,.hsearch:focus-within{outline-offset:2px}
.hsearch:focus-within{outline:2px solid var(--accent)}
.pg-n:not([aria-current="page"]):hover{background:var(--sec-bg-h);color:var(--ink)}
.pg-n:not([aria-current="page"]):active{background:var(--sec-bg-a)}
.ob:hover,.fh-x:hover,.tf-more:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.ob:active,.fh-x:active,.tf-more:active{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.rep:focus-visible,.tab:focus-visible,.pages a:focus-visible{outline-offset:2px}
.ob{border-radius:var(--ctl-r)}
.tab:not(.tab-edit){padding:0 .5rem;margin:0 -.5rem}   /* 포커스 링이 글자에 붙지 않게 안쪽 여백 8 + 바깥 -8(글자 위치·탭 간격은 그대로) */
.pages a{padding:0 .5rem;margin:0 -.5rem}
@media (max-width:759px){.tab:not(.tab-edit){padding:0;margin:0}.pages a{padding:0;margin:0}}
.rep{padding:0 .25rem;margin-left:-.25rem;margin-right:-.25rem}   /* 포커스 링이 글자에 붙지 않게(위치는 그대로) */
.wire:not(.rank) .w-src .rep{margin-left:-.25rem}

/* =====================================================================
   §26 `.pair` — 이동 로고 쌍 [출발] → [도착] (오너 레퍼런스: 크레스트 48 · 흰 원형 타일 + 1px 테두리 · 화살표 짙은 회색 24 · 사이 12 → 폭 144)
   피드 행 · 화제 행 · 레일 `확정된 이적` · 모바일 인라인이 같은 모양. 크기 단계: 48(피드) · 32(모바일) · 28(레일)
   ===================================================================== */
.pair{display:flex;align-items:center;flex:none;gap:var(--s-12)}
.pair .logo-mark,.pair .code{width:3rem;height:3rem}
.pair .pc{position:relative;z-index:2;display:flex;border-radius:50%}
.pair .pa{font-style:normal;font-size:var(--fs-l);line-height:1;color:var(--ink-2);transform:scale(1.2)}   /* 글자 크기 스케일(14/16/20/28) 안에서 20 → 시각 24 */
.pair .pt{font-size:var(--fs-s);font-weight:var(--w-b);color:var(--ink-2);white-space:nowrap}
.pair.rn1{gap:var(--s1)}
.w-tile{align-items:center}
.wire{grid-template-columns:9rem minmax(0,1fr) 10rem 4.5rem}
.wire.rank{grid-template-columns:2rem 9rem minmax(0,1fr) 9rem 4.5rem}
@media (max-width:759px){   /* 모바일 = 세로 쌍(출발 위 · 도착 아래, 폭 32): 가로 쌍(96)은 본문 열이 203 으로 줄어 요약이 3줄로 접혔어요 — 2x 비교(pair_m_horiz/vert) */
  .pair{flex-direction:column;gap:.25rem}
  .pair .logo-mark,.pair .code{width:2rem;height:2rem}
  .pair .pa{font-size:var(--fs-s);transform:rotate(90deg)}
  .pair.rn1{gap:.25rem}
  .wire.rank{grid-template-columns:1.5rem 2rem minmax(0,1fr) auto}
}
/* 레일 `확정된 이적`: 쌍 28 + 화살표 16, 행 높이 56 */
.of-r{grid-template-columns:5rem minmax(0,1fr) auto}
.of-l{display:flex;align-items:center}
.of-l .pair{gap:.25rem}
.of-l .logo-mark,.of-l .code{width:1.75rem;height:1.75rem}
.of-l .pair .pa{font-size:var(--fs-m);transform:none}
.of-l .code{font-size:var(--fs-s)}

#hmods>.hm-sp:first-child .hm-sec-h{padding-top:0}   /* 모아보기: 첫 섹션 머리가 레일 첫 카드와 같은 y 에서 시작 */
.pair .code,.of-l .code{font-size:var(--fs-s)}   /* 글자 14/16/20/28 밖의 크기(컨테이너 비례 clamp) 쓰지 않아요 */
/* 좁은 데스크톱(760–1099): 쌍 40 + 화살표 16 + 간격 8 = 폭 112 로 줄여 본문 열 188 → 220 */
@media (min-width:760px) and (max-width:1099px){
  .pair{gap:var(--s1)}
  .wire:not(.rank) .pair .logo-mark,.wire:not(.rank) .pair .code,.wire.rank .pair .logo-mark,.wire.rank .pair .code{width:2.5rem;height:2.5rem}
  .pair .pa{font-size:var(--fs-m)}
  .wire{grid-template-columns:7rem minmax(0,1fr) 10rem 4.5rem}
  .wire.rank{grid-template-columns:2rem 7rem minmax(0,1fr) 9rem 4.5rem}
}

.w-rn{display:none;font-size:var(--fs-s);font-weight:var(--w-r);color:var(--ink-2)}
@media (max-width:759px){.pair .pt{display:none}.w-rn{display:inline}}

/* 출처 열(데스크톱): 마크 슬롯 20 을 항상 예약해 이름 시작선을 한 줄로(마크 없는 기자 행도 같은 x), 열은 왼쪽 시작 · 시각 줄도 이름 시작선에 맞춤. 열의 오른쪽 끝선(알약·팔로우 열) = 926 하나 */
.src-mk.none{display:none}
@media (min-width:760px){
  .wire:not(.rank) .w-src,.wire:not(.rank) .w-tw{justify-content:flex-start}
  .wire:not(.rank) .src-mk.none{display:block;visibility:hidden;width:1.25rem;height:1.25rem}
  .wire:not(.rank) .w-tw{padding-left:1.625rem}
}

/* 레일 첫 카드와 본문 첫 블록의 상단 y 를 한 곳에서: .page 의 padding-top 16 (본문·레일·모바일 공통, 첫 블록의 자체 위 여백은 0) */
.page{padding-top:var(--s2)}
.content{padding-top:0}
@media (min-width:1024px){.rail{padding-top:0}}
.tf,#hmods>:first-child{margin-top:0}
.toolbar:first-child{margin-top:0}
html[data-home][data-sp] #hmods:empty,html[data-home]:not([data-sp]):not([data-sps="1"]) #hmods:empty{margin-top:0}
@media (max-width:759px){.content{padding-top:0}}


/* =====================================================================
   §26 팀 필터 = 홈의 주인공 (오너 확정 최종형: 기본 = 크레스트 한 줄 · `팀 더 보기` 로 나머지 행)
   카드 = [리그 칩 36 · 팀 더 보기 36] + 16 + [격자]. 격자는 **항상 왼쪽부터 · 고정 10열**(열 폭 = 컨테이너/10, 크레스트는 열 안 중앙) —
   5팀이면 앞 5칸만 차고 오른쪽으로 몰리지 않아요. 이름은 한 줄 짧은 이름(말줄임 안전장치) → 칸 높이 80 고정(CLS 0)
   데스크톱 접힘 180 · 모바일 접힘 148(칩 줄·팀 줄 모두 한 줄 가로 스크롤 + 끝 페이드), 모바일 펼침 = 5열 줄바꿈
   ===================================================================== */
.tf{margin:0;padding:var(--s3);background:var(--bg);border-radius:var(--r-card)}
.tf-top{display:flex;align-items:flex-start;gap:var(--s1)}
.tf-lg{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1)}
.tf-l{position:relative;flex:none;height:var(--ctl-h-sm);padding:0 .75rem;border-radius:var(--ctl-r);background:var(--sec-bg);font-size:var(--ctl-fs-sm);font-weight:var(--w-b);color:var(--ink);white-space:nowrap}
.tf-l::before{content:"";position:absolute;inset:-.25rem -.125rem}
.tf-l:hover{background:var(--sec-bg-h)}
.tf-l:active{background:var(--sec-bg-a)}
.tf-l[aria-pressed="true"]{background:var(--ink);color:var(--on-ink)}
.tf-more{position:relative;flex:none;height:var(--ctl-h-sm);padding:0 var(--s1);border-radius:var(--ctl-r);font-size:var(--ctl-fs-sm);font-weight:var(--w-b);color:var(--ink-2);white-space:nowrap}
.tf-more::before{content:"";position:absolute;inset:-.25rem -.125rem}
.tf-more::after{content:"›";display:inline-block;margin-left:.25rem;transform:rotate(90deg)}
.tf-more[aria-expanded="true"]::after{transform:rotate(-90deg)}
.tf-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));justify-content:start;row-gap:var(--s1);margin-top:var(--s2)}
.tf[data-all] .tf-grid{min-height:5rem}
.tf-c{position:relative;display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:0;padding:.25rem;border-radius:var(--ctl-r);font-size:var(--fs-s);line-height:1.4;text-align:center;color:var(--ink-2)}
.tf-c .logo-mark,.tf-c .code{width:3rem;height:3rem}
.tf-c span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-c:hover{background:var(--fill)}
.tf-c:active{background:var(--fill-2)}
.tf-c[aria-pressed="true"]{color:var(--ink);font-weight:var(--w-b)}
.tf-c[aria-pressed="true"] .logo-mark,.tf-c[aria-pressed="true"] .code{box-shadow:0 0 0 2px var(--ink)}
.tf:not([data-expanded]) .tf-x{display:none}
@media (min-width:760px){   /* MLB 전체: 한 줄 = 같은 지구(동부·중부·서부), 왼쪽 아메리칸 5 · 사이 24 · 오른쪽 내셔널 5 */
  .tf-mlb{grid-template-columns:repeat(5,minmax(0,1fr)) var(--s3) repeat(5,minmax(0,1fr))}
  .tf-mlb .tf-c{grid-row:var(--r);grid-column:var(--c)}
}
@media (max-width:759px){
  .tf{padding:var(--s2)}
  .tf-lg{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:none;margin-left:calc(var(--s2) * -1);padding-left:var(--s2);scroll-padding:0 var(--s2);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 1.5rem),transparent)}
  .tf-top:not(:has(.tf-more)) .tf-lg{margin-right:calc(var(--s2) * -1);padding-right:var(--s2)}
  .tf-top:has(.tf-more) .tf-lg{padding-right:var(--s1)}
  .tf-lg::-webkit-scrollbar,.tf-grid::-webkit-scrollbar{display:none}
  .tf-lg[data-end],.tf-grid[data-end]{-webkit-mask-image:none;mask-image:none}
  .tf-l{padding:0 .75rem}
  .tf-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:4.5rem;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:none;margin:var(--s1) calc(var(--s2) * -1) 0;padding:0 var(--s2);scroll-padding:0 var(--s2);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 1.5rem),transparent)}
  .tf[data-all] .tf-grid{min-height:4.5rem}
  .tf[data-expanded] .tf-grid{grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;margin:var(--s1) 0 0;padding:0;-webkit-mask-image:none;mask-image:none}
  .tf-c{padding:.25rem .125rem}
  .tf-c .logo-mark,.tf-c .code{width:2.5rem;height:2.5rem}
}

/* =====================================================================
   §26 헤더 = 한 층(오너 확정): [로고=전체 보기] [해외축구 MLB 롤] ········ [검색 44] [내 팀 44] [어둡게 44] — 오른쪽 끝선 1개
   종목 탭 줄(.bar)·`홈 화제 팔로우` 메뉴·`모아보기` 탭 삭제. 헤더가 곧 sticky(64). 모바일은 같은 #sportbar 가 헤더 2줄째 종목 탭(CG5: 하단 탭바 삭제)
   ===================================================================== */
:root{--h-tabs:4rem}
.mast{position:sticky;top:0;z-index:20;border-bottom:var(--bw) solid var(--line)}
.mast-in{min-height:var(--h-tabs);padding-top:0;padding-bottom:0}
.sports{height:var(--h-touch);align-self:center;gap:var(--s4)}
.my-slot{display:contents}
.hsearch{flex:0 1 17.5rem;min-width:7rem;width:auto}
.hsearch~.my-slot .tbtn{margin-left:calc(var(--s1) - var(--g))}
.my-slot+.tbtn{margin-left:calc(var(--s1) - var(--g))}
@media (min-width:760px) and (max-width:1023px){.hsearch{flex-basis:12.5rem}}


/* 피드 머리(옵션 줄 대체): 제목 20/700 · 건수 14 회색 ····· 미확인 포함 스위치 · 해제 — 팀 필터 카드와 24 간격, 첫 날짜 머리와 8 */
.fh{align-items:center;padding:var(--s3) 0 0}
.fh-sp{flex:1}
.fh-n{margin-right:0}
.fh-club{display:inline-flex;align-items:center}
@media (max-width:759px){.fh{gap:var(--s1)}.fh h2{flex:0 1 auto}}

/* §26 티커: 전광판 하나 — 항목이 바 전체 폭(컨테이너 양 끝선)을 쓰고 양 끝 mask 페이드, 높이 32 · 항목 사이 48. 호버·포커스·터치 누름이면 멈춤, reduced-motion 이면 흐르지 않는 한 줄(가로 스크롤 가능) */
.tk-in{gap:0}
.tk-view{flex:1}
.tk-g li::after{margin:0 var(--s5)}
.tk-view:active .tk-track{animation-play-state:paused}
.tk-lead,.tk-pause,.tk-meta{display:none}
@media (prefers-reduced-motion:reduce){
  .tk-track{animation:none!important}
  .tk-g[aria-hidden]{display:none}
  .tk-view{overflow-x:auto;scrollbar-width:none;-webkit-mask-image:none;mask-image:none}
  .tk-view::-webkit-scrollbar{display:none}
}

/* =====================================================================
   §26 페이지네이션 — 카드·건수 문장·세그먼트 트랙 삭제. 회색 바탕 위 가운데 한 줄, 모든 항목 44×44 한 규격:
   ‹  1  …  4  5  6  …  12  ›  — 번호 = 면 없는 글자 16 회색(호버 면), 현재 쪽 = 잉크 면 + 흰 글자 16/700 r10, 비활성 화살표 = 연한 글자, 항목 간격 4
   ===================================================================== */
.pager{display:flex;flex-direction:column;align-items:center;margin:var(--s4) 0 0;padding:0;background:none;border-radius:0;box-shadow:none}
.pg-row{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:.25rem;max-width:100%}
.pg-nums{display:flex;align-items:center;gap:.25rem;height:auto;padding:0;background:none;border-radius:0}
.pg-n,.pg-gap,.pg-b{position:relative;flex:none;width:2.75rem;height:2.75rem;min-width:0;padding:0;border-radius:var(--ctl-r);background:none;box-shadow:none;font-size:var(--fs-m);font-weight:var(--w-r);color:var(--ink-2);text-align:center}
.pg-b{font-size:var(--fs-l);color:var(--ink)}
.pg-gap{display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2)}
.pg-n::before,.pg-b::before{content:none}
.pg-n:not([aria-current="page"]):hover,.pg-b:not(:disabled):hover{background:var(--fill-2);color:var(--ink)}
.pg-n:not([aria-current="page"]):active,.pg-b:not(:disabled):active{background:var(--line-2)}
.pg-n[aria-current="page"]{background:var(--ink);color:var(--on-ink);font-weight:var(--w-b);box-shadow:none}
.pg-b:disabled{background:none;color:var(--ink-2);opacity:.4;cursor:default}
.pg-sum,.pg-open,.pg-jump{display:none!important}
@media (max-width:359px){.pg-n,.pg-gap,.pg-b{width:2.25rem}}
.pg-narrow{display:none}
@media (max-width:759px){.pg-wide{display:none}.pg-narrow{display:flex}}

/* =====================================================================
   §26 티커 색·폭(오너 확정): 잉크 면 전광판 · 뷰포트 전체 폭(max-width·좌우 패딩 없음) · 양 끝 24 mask 페이드 · 높이 36(모바일 32)
   배경 #1a1a1a(다크 #0f0f0f) · 글자 #e9e9e9 · 보조 #9a9a9a · 오피셜 말머리만 어두운 면용 초록 --ok-on-dark(#5fd08a) · 장식·구분선 없음(항목 사이 간격 48)
   ===================================================================== */
.ticker{background:#1a1a1a;border-bottom:0;height:var(--h-tick);color:#e9e9e9;font-size:var(--fs-s)}
html[data-theme="dark"] .ticker{background:#0f0f0f}
.tk-in{--tkh:var(--h-tick);max-width:none;width:100%;margin:0;padding:0}
.tk-view{overflow-x:clip}
.tk-view:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.ticker .tk-item{color:#e9e9e9}
.ticker .tk-k{height:auto;padding:0;background:none;color:#9a9a9a}
.ticker .tk-k.k-official{background:none;color:var(--ok-on-dark)}
.ticker .tk-k.k-medical,.ticker .tk-k.k-hot{background:none;color:#e9e9e9}
.ticker .tk-mv,.ticker .tk-mv.down{color:#e9e9e9}
.ticker .tk-l,.ticker .tk-s{color:#e9e9e9}
.tk-g li::after{content:"";margin:0 var(--s5)}
.ticker:focus-within .tk-track{animation-play-state:paused}
.ticker :focus-visible{outline-color:#fff}
.tk-view{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 1.5rem,#000 calc(100% - 1.5rem),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 1.5rem,#000 calc(100% - 1.5rem),transparent 100%)}
@media (max-width:759px){:root{--h-tick:2rem}}

/* 출처 칸(.src) 규격 — 마크 슬롯 20×20 은 항상 존재: 공식 로고 · 플랫폼 마크 · 구단 크레스트 · **중립 이니셜 타일**(공식 마크가 없는 출처, 무채 · 색 해시 없음). 이름 밑줄은 hover/focus 에서만, +N 은 칸 오른쪽 끝 고정폭 */
.src-mk.ini{display:inline-flex;align-items:center;justify-content:center;border-radius:.375rem;background:#ececec;box-shadow:none;color:#595959;font-size:.6875rem;font-weight:var(--w-b);line-height:1;letter-spacing:0}
html[data-theme="dark"] .src-mk.ini{background:#2c2c2c;color:#b5b5b5}
.rep,.rep b{text-decoration:none}
.rep:hover b,.rep:focus-visible b{text-decoration:underline;text-underline-offset:3px}
.w-more{font-weight:var(--w-r);font-variant-numeric:tabular-nums}
@media (min-width:760px){.wire:not(.rank) .w-src{width:100%}.wire:not(.rank) .w-more{margin-left:auto;min-width:1.75rem;text-align:right}}
@media (min-width:760px){.wire:not(.rank) .w-src{align-items:center}.wire:not(.rank) .w-more{line-height:1.5}}

/* =====================================================================
   §26 상세 모달 셸(오너 확정: 오른쪽 패널 폐지) — 하나의 `.sheet` 셸이 폭에 따라 모양만 바뀌어요
   데스크톱(≥760): 중앙 모달(폭 720 · 최대 높이 90vh · r16 · 배경 딤 · 스크롤 잠금) / 모바일: 하단 시트(92dvh, safe-area)
   구조: `.sheet-bg[data-close]` + `.sheet[role=dialog][aria-modal][aria-labelledby=dt-title] > .dt-h(고정) + .dt-body(여기만 스크롤) + .dt-f(고정)` — 중첩 스크롤 없음
   ===================================================================== */
.sheet .dt-body{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}
.sheet .dt-body::-webkit-scrollbar{width:.5rem}
.sheet .dt-body::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:.25rem}
@media (min-width:760px){
  .sheet{--dp:var(--s4);left:50%;right:auto;top:50%;bottom:auto;width:min(45rem,calc(100vw - var(--s4)));max-width:none;max-height:90vh;margin:0;transform:translate(-50%,-50%);border-radius:1rem}
  .sheet:not(.still){animation:ov-in .15s ease-out}
  .sheet .dt-h{padding-top:var(--s3)}
  .sheet .dt-body{font-size:var(--fs-m);line-height:1.6}
  .sheet .dt-body>*{max-width:40rem}
  .sheet .dt-f{padding-bottom:var(--s3)}
}
@media (max-width:759px){.sheet{top:auto;height:92dvh;max-height:92dvh;padding-bottom:env(safe-area-inset-bottom)}}
.tbtn{display:inline-flex;align-items:center;justify-content:center;gap:.25rem}   /* <a class="tbtn"> 도 버튼처럼 글자 가운데 */
.tbtn em{font-style:normal;color:var(--accent)}

/* =====================================================================
   §26 단계 배지(오너 최종): `오피셜`(초록 면 · 흰 글자)만 표시, 루머 단계(관심·협상·합의·메디컬)는 배지 없음, `무산`만 작은 회색 점선 윤곽.
   행 오른쪽 배지 슬롯은 비어도 팔로우 위치·정렬선 고정(.bellbtn 은 grid-row 2 · 오른쪽 926)
   ===================================================================== */

/* =====================================================================
   §26 모바일 헤더(오너 확정: 하단 탭바 삭제 — 내비는 상단에만)
   1줄 = [이적썰] ········ [검색] [내 팀] [어둡게] (전부 44) / 2줄 = 종목 탭 `해외축구 · MLB · 롤` 3등분 균등 폭 · 높이 44 · 선택 = 잉크 글씨 + 밑줄 하나
   헤더 총 높이 = 8 + 44 + 44 + 8 = 104 → 티커(32) 제외 ≤ 104. 320px 에서도 줄바꿈 없음(`내 팀 고르기` 는 모바일에서 `내 팀`)
   ===================================================================== */
@media (max-width:759px){
  .mast{position:static}
  .mast-in{flex-wrap:wrap;row-gap:0;padding-top:var(--s1);padding-bottom:0;--g:var(--s1)}
  .mast-in>.logo{order:1}
  #searchBtn{order:2;margin-left:auto}
  .my-slot{display:contents}
  .my-slot .tbtn{order:3}
  #themeBtn{order:4}
  .mast-in>.sports{order:5;flex:1 0 100%;width:100%;display:flex;gap:0;height:var(--h-touch);margin:0}
  .mast-in>.sports .tab{flex:1 1 0;min-width:0;height:var(--h-touch);margin:0;padding:0;justify-content:center;font-size:var(--fs-m);flex-direction:row}
  .mast-in>.sports .tab[aria-current="true"] .tab-l{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
  .hsearch{order:6}
  .tbtn{padding:0 var(--s1)}
  .my-slot .tbtn,#searchBtn+.my-slot .tbtn{margin-left:0}
  .my-slot+.tbtn{margin-left:0}
  .mast-in>.logo+*{margin-left:0}
  .mast-in{column-gap:var(--s1)}
  #myBtn .mk-f{display:none}#myBtn .mk-s{display:inline}
}
/* 인라인 오피셜 모듈·레일: 로고 쌍은 모바일에서도 가로(세로 스택은 피드 행 `.w-tile` 안에서만) */
.of-l .pair,.of-inl .pair{flex-direction:row}
.of-l .pair .pa,.of-inl .pair .pa{transform:none}
.of-inl .pair .logo-mark,.of-inl .pair .code{width:1.75rem;height:1.75rem}
.of-inl .pair{gap:.25rem}
.of-inl .of-r{grid-template-columns:5rem minmax(0,1fr) auto}
.of-inl .of-more{margin-bottom:var(--s3)}
@media (max-width:759px){.wire .pair{flex-direction:column}}

/* =====================================================================
   §26 헤더 아이콘 버튼(오너 허용 예외: 돋보기 · 테마 달/해 2종) + 검색 모달
   클래스 계약: `button.tbtn.ib`(44×44, 안의 `svg.ic` 20×20 → `<use href="#i-search|#i-moon|#i-sun">`), 심볼은 index.html 맨 위 `<svg><defs><symbol>`
   검색 모달: `#searchModal > .sheet-bg[data-sr-close] + .sheet.sr-sheet[role=dialog] > .dt-h.sr-h(input#sq + button.sr-x) + .dt-body.sr-body > ul#srList > li > button.sr-r[data-sr]`
   ===================================================================== */
.tbtn.ib{width:var(--ctl-h);padding:0}
.tbtn .ic{display:block;flex:none;stroke:currentColor}
.hsearch{display:none!important}
#searchBtn{display:inline-flex;margin-left:auto}
.hsearch~.my-slot .tbtn,#searchBtn~.my-slot .tbtn{margin-left:calc(var(--s1) - var(--g))}
#searchBtn~.tbtn#themeBtn,.my-slot+.tbtn{margin-left:calc(var(--s1) - var(--g))}
.sr-sheet{--dp:var(--s3);width:min(40rem,calc(100vw - var(--s4)));max-height:70vh}
.sr-h{display:flex;align-items:center;gap:var(--s1);padding:var(--s2) var(--dp)}
.sr-h input{flex:1;min-width:0;height:var(--ctl-h);padding:0 var(--s2);border-radius:var(--ctl-r);background:var(--sec-bg);font-size:var(--fs-m)}
.sr-x{flex:none;position:static;height:var(--ctl-h);padding:0 var(--s2);border-radius:var(--ctl-r);background:none;font-size:var(--ctl-fs-sm);font-weight:var(--w-b);color:var(--ink-2)}
.sr-body{padding-bottom:var(--s2)!important}
.sr-list{display:flex;flex-direction:column;gap:.25rem;margin:0;padding:0}
.sr-note{padding:var(--s3) 0;color:var(--ink-2);font-size:var(--fs-m)}
.sr-r{display:flex;align-items:center;gap:var(--s2);width:100%;min-height:3.5rem;padding:.25rem var(--s1);border-radius:var(--ctl-r);text-align:left}
.sr-r:hover,.sr-r:focus-visible{background:var(--fill)}
.sr-p{flex:none;display:flex}
.sr-p .pair{gap:.25rem}
.sr-p .logo-mark,.sr-p .code{width:1.75rem;height:1.75rem}
.sr-p .pa{font-size:var(--fs-m);transform:none}
.sr-t{display:flex;flex-direction:column;min-width:0}
.sr-t b{font-size:var(--fs-m);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sr-t small{font-size:var(--fs-s);line-height:1.4;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:759px){.sr-sheet{width:100%;max-height:100dvh;height:100dvh;top:0;left:0;right:0;bottom:0;transform:none;border-radius:0}}
.to-top:not(.show){display:none}   /* 맨 위 버튼: 첫 스크롤 뒤(.show)에만 — 모바일 위치는 mobile.css */

/* 검색 모달 재정리(오너 지시): [돋보기][입력(면·윤곽 없음)][×] 한 줄 + 아래 구분선, 빈 상태 문장 없음 */
.sr-h{gap:var(--s2);padding:var(--s2) var(--dp);border-bottom:var(--bw) solid var(--line)}
.sr-ic{flex:none;color:var(--ink-2)}
.sr-h input{height:var(--h-touch);padding:0;border-radius:0;background:none;box-shadow:none;font-size:var(--fs-l);font-weight:var(--w-r);color:var(--ink)}
.sr-h input:focus,.sr-h input:focus-visible{outline:0!important;box-shadow:none!important}
.sr-h input::placeholder{color:var(--ink-3,#9a9a9a)}
.sr-body{padding-top:var(--s1)}
.sr-list:empty{display:none}

/* 오피셜 레일: 근거 라벨(`매체 보도`·`구단 확인`·`집계 기준`) 삭제(오너 지시) — 날짜만 */
.of-m small{display:none!important}
.of-r{align-items:center}
