/* 공용 버튼 .kc-btn 의 단일 정의 위치(R2-14). 사용자 셸·운영 셸·토큰 화면(Screen_Shell)이 모두 이 파일을 마지막에 싣는다. */
/* ===== 공용 버튼 .kc-btn (R2-12, 2026-11-11): 기본(검정) · --primary(레드) · --soft(연한 면) · --text · --icon(원형) · --sm(36) · 세그먼트 .kc-btn-seg =====
   높이 44(작게 36) · 알약 · 15px 600 · 아이콘 18px + 간격 6 · hover 는 포인터 기기만 · active scale .97 120ms · focus-visible 링 · disabled · 로딩(.is-loading) */
.kc-btn{--kb-bg:#0B0B0C;--kb-fg:#fff;--kb-hv:#2A2A2C;--kb-h:40px;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:var(--kb-h);min-height:var(--kb-h);padding:0 var(--kc-btn-px,20px);border:0;border-radius:999px;background:var(--kb-bg);color:var(--kb-fg);font-family:var(--ios-font,inherit);font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.01em;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color var(--kc-dur-base) var(--kc-ease-out),color var(--kc-dur-base) var(--kc-ease-out),transform var(--kc-dur-fast) var(--kc-ease-out),opacity var(--kc-dur-base) var(--kc-ease-out)}
.kc-btn:visited{color:var(--kb-fg)}
.kc-btn .ph{width:18px;height:18px;flex:none}
.kc-btn--primary{--kb-bg:#0B0B0C;--kb-hv:#2A2A2C}
.kc-btn--soft{--kb-bg:#F2F2F4;--kb-fg:#111;--kb-hv:#E6E6EA}
.kc-btn--text{--kb-bg:transparent;--kb-fg:#111;--kb-hv:#F2F2F4;padding:0 12px}
.kc-btn--sm{--kb-h:32px;padding:0 14px}
.kc-btn--icon{width:40px;padding:0;border-radius:50%}
.kc-btn--icon.kc-btn--sm{width:32px}
@media (hover:hover) and (pointer:fine){.kc-btn:hover:not(:disabled):not([aria-disabled="true"]):not(.is-loading){background:var(--kb-hv)}}
.kc-btn:active:not(:disabled):not([aria-disabled="true"]){transform:scale(.97)}
.kc-btn:focus-visible{outline:2px solid #0B0B0C;outline-offset:2px}
.kc-btn:disabled,.kc-btn[aria-disabled="true"]{opacity:.4;cursor:not-allowed}
.kc-btn.is-loading{color:transparent;pointer-events:none}
.kc-btn.is-loading .ph{opacity:0}
@keyframes kc-btn-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.kc-btn{transition:background-color var(--kc-dur-base) var(--kc-ease-out),color var(--kc-dur-base) var(--kc-ease-out)}.kc-btn:active{transform:none}}

/* ===== 옛 버튼 클래스 -> 공용 .kc-btn 값 (R2-14, 2026-11-11) =====
   마크업·JS 는 옛 클래스를 그대로 쓰고 모양만 .kc-btn 문법으로 통일한다. 화면별 옛 CSS(team-*.css·kc-*.css)보다 나중에 실리고,
   그쪽의 고정 값(테두리·6/8px 모서리·13px 글자)을 이기려고 모양 속성에 !important 를 쓴다. 위계: 기본=검정 · 주 동작=레드 · 보조=연한 면 · 위험=텍스트형 레드.
   shape: 44 알약 15px 600 / sm 36 */
.fxt-btn,.fxt-lbtn,.fxt-mform__btn,.fxt-dialog__btn,.fxt-late__btn,.fxt-late__approve,.kfb__btn,.kfb__chip,.fxt-mdetail__poke,.fxt-cancelbox__btn,.kcj-code__btn,.fxt-msettings__rowbtn,.fxt-suggest__chip,.kc-empty__cta{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;
 height:36px!important;min-height:36px!important;padding:0 var(--kc-btn-px,20px)!important;border:0!important;border-radius:999px!important;box-shadow:none!important;
 font-family:inherit;font-size:var(--kc-fs-btn,15px)!important;line-height:20px!important;font-weight:600!important;letter-spacing:-.01em;text-decoration:none!important;white-space:nowrap;cursor:pointer;
 -webkit-tap-highlight-color:transparent;transition:background-color var(--kc-dur-base) var(--kc-ease-out),color var(--kc-dur-base) var(--kc-ease-out),transform var(--kc-dur-fast) var(--kc-ease-out),opacity var(--kc-dur-base) var(--kc-ease-out)}
.fxt-btn[hidden],.fxt-lbtn[hidden],.fxt-mform__btn[hidden],.fxt-dialog__btn[hidden],.fxt-late__btn[hidden],.fxt-late__approve[hidden],.kfb__btn[hidden],.kfb__chip[hidden],.fxt-mdetail__poke[hidden],.kcj-code__btn[hidden]{display:none!important}
/* 작게(36): 표·행·팝오버 안, 보조 칩 */
.fxt-btn--quiet,.fxt-mdetail__poke,.fxt-suggest__chip,.kfb__chip,.kc-empty__cta,.fxt-tbl__act .fxt-lbtn,.fxt-pop__body .fxt-lbtn,.fxt-tbl__act .fxt-btn,.fxt-row .fxt-btn,.fxt-board-row .fxt-btn,.fxt-role-row .fxt-btn,.fxt-appr-card .fxt-btn,.fxt-ftool__grid .fxt-lbtn,.kcj-code__btn,.fxt-btn--ghost,[data-fxt-ev-remove]{height:32px!important;min-height:32px!important;padding:0 14px!important}
.fxt-btn--block,.fxt-btn--block.fxt-btn--quiet{width:100%}
/* 기본: 검정 */
.fxt-btn:where(:not(.fxt-btn--quiet):not(.fxt-btn--ghost):not(.fxt-btn--danger)),.fxt-mform__btn:where(:not(.fxt-mform__btn--warn):not(.fxt-mform__btn--link)),.fxt-late__btn,.fxt-late__approve,.kfb__btn--on{background:#0B0B0C!important;color:#fff!important}
/* 보조: 연한 면 */
.fxt-btn--quiet:where(:not(.is-active):not([aria-pressed="true"])),.fxt-btn--ghost,.fxt-cere__card .fxt-btn,.fxt-mform__btn--link,.fxt-mform__btn--warn,.fxt-lbtn:where(:not(.fxt-lbtn--primary):not(.fxt-lbtn--ghost)),.fxt-dialog__btn:where(:not(.fxt-dialog__btn--primary)),.kfb__btn:where(:not(.kfb__btn--on)),.kfb__chip:where(:not(.is-on)),.fxt-mdetail__poke,.fxt-suggest__chip,.kcj-code__btn:where(:not(.kcj-code__btn--danger)),.fxt-msettings__rowbtn{background:#F2F2F4!important;color:#111!important}
.fxt-btn--quiet.is-active,.fxt-btn--quiet[aria-pressed="true"],.kfb__chip.is-on{background:#0B0B0C!important;color:#fff!important}
/* 주 동작: 레드 */
.fxt-lbtn--primary,.fxt-dialog__btn--primary,.kc-empty__cta,.fxt-appr-card .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-screen--invite .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-screen--signup .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-screen--result-form .fxt-mform__btn:where(:not(.fxt-mform__btn--warn):not(.fxt-mform__btn--link)),.fxt-cere__card .fxt-mform__btn--warn{background:#0B0B0C!important;color:#fff!important}
.fxt-screen--invite .fxt-btn,.fxt-screen--signup .fxt-btn{width:100%}
/* 텍스트형 */
.fxt-lbtn--ghost{background:transparent!important;color:#111!important;padding:0 12px!important}
.fxt-btn--danger,.fxt-cancelbox__btn,.kcj-code__btn--danger,[data-fxt-ev-remove]{background:transparent!important;color:#DC1E28!important;padding:0 12px!important}
/* hover (포인터 기기만) */
@media (hover:hover) and (pointer:fine){
 .fxt-btn:where(:not(.fxt-btn--quiet):not(.fxt-btn--ghost):not(.fxt-btn--danger)):hover:where(:not(:disabled)),.fxt-mform__btn:where(:not(.fxt-mform__btn--warn):not(.fxt-mform__btn--link)):hover:where(:not(:disabled)),.fxt-late__btn:hover:where(:not(:disabled)),.fxt-late__approve:hover:where(:not(:disabled)),.kfb__btn--on:hover:where(:not(:disabled)){background:#2A2A2C!important;color:#fff!important}
 .fxt-btn--quiet:where(:not(.is-active)):hover:where(:not(:disabled)),.fxt-btn--ghost:hover:where(:not(:disabled)),.fxt-mform__btn--link:hover:where(:not(:disabled)),.fxt-mform__btn--warn:hover:where(:not(:disabled)),.fxt-lbtn:where(:not(.fxt-lbtn--primary):not(.fxt-lbtn--ghost)):hover:where(:not(:disabled)),.fxt-dialog__btn:where(:not(.fxt-dialog__btn--primary)):hover:where(:not(:disabled)),.kfb__btn:where(:not(.kfb__btn--on)):hover:where(:not(:disabled)),.kfb__chip:where(:not(.is-on)):hover:where(:not(:disabled)),.fxt-mdetail__poke:hover:where(:not(:disabled)),.fxt-suggest__chip:hover:where(:not(:disabled)),.kcj-code__btn:where(:not(.kcj-code__btn--danger)):hover:where(:not(:disabled)),.fxt-msettings__rowbtn:hover:where(:not(:disabled)){background:#E6E6EA!important;color:#111!important}
 .fxt-lbtn--primary:hover:where(:not(:disabled)),.fxt-dialog__btn--primary:hover:where(:not(:disabled)),.kc-empty__cta:hover,.fxt-appr-card .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-screen--invite .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-screen--signup .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-screen--result-form .fxt-mform__btn:where(:not(.fxt-mform__btn--warn):not(.fxt-mform__btn--link)):hover:where(:not(:disabled)){background:#2A2A2C!important;color:#fff!important}
 .fxt-lbtn--ghost:hover:where(:not(:disabled)){background:#F2F2F4!important}
 .fxt-btn--danger:hover:where(:not(:disabled)),.fxt-cancelbox__btn:hover:where(:not(:disabled)),.kcj-code__btn--danger:hover:where(:not(:disabled)),[data-fxt-ev-remove]:hover:where(:not(:disabled)){background:#FFECEC!important;color:#B01218!important}
}
.fxt-btn:active:where(:not(:disabled)),.fxt-lbtn:active:where(:not(:disabled)),.fxt-mform__btn:active:where(:not(:disabled)),.fxt-dialog__btn:active:where(:not(:disabled)),.fxt-late__btn:active:where(:not(:disabled)),.fxt-late__approve:active:where(:not(:disabled)),.kfb__btn:active:where(:not(:disabled)),.kfb__chip:active:where(:not(:disabled)),.fxt-mdetail__poke:active:where(:not(:disabled)),.fxt-cancelbox__btn:active:where(:not(:disabled)),.kcj-code__btn:active:where(:not(:disabled)),.fxt-msettings__rowbtn:active:where(:not(:disabled)),.fxt-suggest__chip:active:where(:not(:disabled)){transform:scale(.97)}
.fxt-btn:focus-visible,.fxt-lbtn:focus-visible,.fxt-mform__btn:focus-visible,.fxt-dialog__btn:focus-visible,.fxt-late__btn:focus-visible,.fxt-late__approve:focus-visible,.kfb__btn:focus-visible,.kfb__chip:focus-visible,.fxt-mdetail__poke:focus-visible,.fxt-cancelbox__btn:focus-visible,.kcj-code__btn:focus-visible,.fxt-msettings__rowbtn:focus-visible,.fxt-suggest__chip:focus-visible{outline:2px solid #0B0B0C!important;outline-offset:2px}
.fxt-btn:disabled,.fxt-lbtn:disabled,.fxt-mform__btn:disabled,.fxt-dialog__btn:disabled,.fxt-late__btn:disabled,.fxt-late__approve:disabled,.kfb__btn:disabled,.kfb__chip:disabled,.fxt-mdetail__poke:disabled,.fxt-cancelbox__btn:disabled,.kcj-code__btn:disabled,.fxt-msettings__rowbtn:disabled{opacity:.4!important;cursor:not-allowed}
/* 홈 히어로 CTA: 크기·글꼴만 맞춘다(색은 hbtn--acc 레드 · hbtn--glass 유리 그대로) */
.hbtn{height:36px!important;min-height:36px!important;font-size:var(--kc-fs-btn,15px)!important;font-weight:600!important;letter-spacing:-.01em}
/* 투표 버튼(마이 홈 위젯 등 경기 상세 밖): 경기 상세와 같은 값 */

/* ===== 작전판·라이브·시상식·게시판 목록·표 페이저의 자체 버튼도 같은 값으로 (R2-14) ===== */
.kt-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:36px!important;min-height:36px!important;padding:0 var(--kc-btn-px,20px)!important;border:0!important;border-radius:999px!important;box-shadow:none!important;background:#F2F2F4!important;color:#111!important;font-size:var(--kc-fs-btn,15px)!important;line-height:20px!important;font-weight:600!important;letter-spacing:-.01em}
.kt-btn--primary{background:#0B0B0C!important;color:#fff!important}
.kt-btn--cta{height:36px!important;min-width:168px;background:#0B0B0C!important;color:#fff!important;font-size:16px!important}
.kt-btn--lg{height:36px!important;font-size:16px!important}
.kt-btn--sm{height:32px!important;min-height:32px!important;padding:0 14px!important}
.kt-btn--danger{background:transparent!important;color:#DC1E28!important;padding:0 12px!important}
.kt-seg__b,.fxt-tac__tab{box-sizing:border-box;height:32px!important;min-height:32px!important;padding:0 14px!important;border:0!important;border-radius:999px!important;background:#F2F2F4!important;color:#4B4B50!important;font-size:var(--kc-fs-btn,15px)!important;font-weight:600!important;box-shadow:none!important}
.kt-seg__b.is-on,.fxt-tac__tab.is-active{background:#0B0B0C!important;color:#fff!important}
.fxt-live__goal,.fxt-live__conceded{border-radius:20px!important;box-shadow:none!important;border:0!important}
.fxt-live__goal{background:#0B0B0C!important;color:#fff!important}
.fxt-live__conceded{background:#F2F2F4!important;color:#111!important}
/* 4-A 라이브 스코어보드: 팀 색(빨강) 대신 검정 면 — 빨강은 경고칩·LIVE 표시만 */
.fxt-live__board{background:#0B0B0C!important;color:#fff!important}
.kca-cta{font-weight:600!important}
.kca-cta--s{height:32px!important;font-size:var(--kc-fs-btn,15px)!important}
.kca-pv__b{font-weight:600!important}
.kca .win button[data-save]{border:0!important;background:#F2F2F4!important;color:#111!important}
.fxt-page .fluxboard-board .fluxboard-board__filter-toggle{border:0!important;background:#F2F2F4!important;color:#111!important}
.fxt-page .fluxboard-board .fluxboard-board__filter-toggle--active{background:#0B0B0C!important;color:#fff!important}
.fxt-admin-app .fxt-lk-pager__btn{min-width:32px;height:32px;border-radius:999px;font-size:var(--kc-fs-btn,15px);font-weight:600}
.fxt-admin-app .fxt-lk-pager__btn.is-active{background:#0B0B0C;color:#fff}
@media (hover:hover) and (pointer:fine){
 .kt-btn:hover:where(:not(:disabled)){background:#E6E6EA!important;color:#111!important}
 .kt-btn--primary:hover:where(:not(:disabled)){background:#2A2A2C!important;color:#fff!important}
 .kt-btn--cta:hover:where(:not(:disabled)){background:#B01218!important;color:#fff!important}
 .kt-btn--danger:hover:where(:not(:disabled)){background:#FFECEC!important;color:#B01218!important}
}
.kt-btn:active:where(:not(:disabled)){transform:scale(.97)}
.kt-btn:disabled{opacity:.4!important;cursor:not-allowed}
/* 아이콘 크기 보정(R2-14): 운영 셸은 kc-ios.css 의 .ph 크기를 싣지 않아 SVG 가 기본 300px 로 펴져 모바일 가로 넘침이 났다. 특이도 0 이라 기존 값이 우선한다. */
:where(svg.ph){width:1em;height:1em;flex:none}
:where(svg.ph--14){width:14px;height:14px}
:where(svg.ph--16){width:16px;height:16px}
:where(svg.ph--18){width:18px;height:18px}
:where(svg.ph--20){width:20px;height:20px}
:where(svg.ph--24){width:24px;height:24px}

/* R2-19 모바일 버튼 글자: 위 !important 15px 규칙이 var(--kc-fs-btn,15px) 로 읽는다. 모바일만 14. */
@media (max-width:767px){:root{--kc-fs-btn:14px}}
html{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* R2-38: 내용 폭 보조 버튼(.kc-btn--fit). 공유·링크 복사·이미지 저장·더 보기처럼 가로로 길 필요 없는 보조 버튼은 모바일에서도 늘어나지 않는다(높이 44 유지, 좌우 16).
   혼자 한 줄이면 가운데, 다른 버튼과 있으면 나란히. 주 행동·시트 확정 버튼에는 쓰지 않는다. */
.kc-btn.kc-btn--fit{flex:0 0 auto;width:auto;max-width:100%;padding-left:16px;padding-right:16px}
.kc-btn.kc-btn--fit:only-child{margin-left:auto;margin-right:auto}

/* ===== R2-49 (2026-11-12): 버튼 크기 축소 + 빨강 정리 =====
   크기: 기본 40 / 작게 34 / 시트·폼 최종 주 버튼 44. 모바일 글자 14, PC 15. 좌우 패딩 모바일 16, PC 20.
   시각 크기만 줄이고 터치 영역은 ::before 로 44 이상 확보(모바일). 빨강 #DC1E28 은 화면당 주 CTA·삭제 문구·배지·경고 상태·오류에만 남기고
   선택 상태(탭·필터·투표·좋아요·체크)는 검정, 보조 버튼은 검정/연한 면/글자형. 이 블록은 kc-btn.css 맨 끝에 둔다(다른 화면 CSS 보다 나중). */
:root{--kc-btn-px:16px}
@media (max-width:767px){:root{--kc-btn-px:16px}}

/* --- 크기: 다른 파일에서 따로 키운 버튼 --- */
.fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn{height:36px!important;min-height:36px!important;min-width:0!important;padding:0 var(--kc-btn-px,20px)!important;border-radius:999px!important;font-size:var(--kc-fs-btn,15px)!important;font-weight:600!important;letter-spacing:-.01em}
.fxt-page .fxt-write .fxt-btn{height:36px!important;border-radius:999px!important;font-size:var(--kc-fs-btn,15px)!important;font-weight:600!important;padding:0 var(--kc-btn-px,20px)!important;min-width:0!important}
.fxt-page .kmy-acct button[type=submit],.fxt-page .kmy-acct .fluxmember-btn,.fxt-page .kmy-acct .fluxmember-form__submit{min-height:36px!important;height:36px;padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important}
.kcsh__go{height:36px!important;border-radius:999px!important;font-size:var(--kc-fs-btn,15px)!important}
.fxt-page .kcv .kcv-act .fluxboard-board-view__react-btn,.fxt-page .kcv .kcv-act .kcv-act__c,.fxt-page .kcv .kcv-act .kcv-act__s{height:36px!important;min-height:36px!important;padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important}
.fxt-page .fluxboard-board__write-btn:not(.fab){height:36px!important;min-height:36px!important;padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important;box-shadow:none!important}
.kcc__save{min-height:36px!important;height:36px;padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important;background:#0B0B0C!important}
.kcc__save:hover:not(:disabled){background:#2A2A2C!important}
.kbl-empty__btn{height:36px!important;margin-top:12px!important;padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important;background:#0B0B0C!important;color:#fff!important}
.kmb-pill{height:32px!important;background:#0B0B0C!important}
.kmb-pill b{color:#0B0B0C!important}
.kcd__b--ok{background:#0B0B0C}
.fxt-admin-app .fxt-chip,.fxt-admin-app.fxt-admin-app .fxt-chip,.fxt-mfilter__chip{min-height:32px!important;height:32px;box-sizing:border-box;font-size:var(--kc-fs-btn,14px)!important}
.fxt-admin-app .fxt-lk-pager__btn,.fxt-admin-app a.fxt-lk-pager__btn{min-height:32px!important;height:32px!important;min-width:32px!important}
.kt-btn--cta,.kt-btn--lg{height:36px!important;min-width:0!important;font-size:var(--kc-fs-btn,15px)!important;box-shadow:none!important;padding:0 var(--kc-btn-px,20px)!important}
@media (max-width:767px){
 .fxt-page .fluxboard-board__write-btn.fab{width:48px!important;height:48px!important;min-height:48px!important;box-shadow:0 4px 14px rgba(0,0,0,.18)!important}
 .fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn:not(.fluxboard-btn--primary){width:auto!important;align-self:center}
}
/* 내용 폭: 폭 가득은 시트·폼 하단의 최종 주 버튼 하나만. 그 밖의 가득 버튼은 PC 에서 내용 폭으로 */
@media (min-width:768px){
 .fxt-screen--my-dues .fxt-lbtn--primary,.fxt-screen--invite .fxt-btn,.fxt-screen--signup .fxt-btn{width:auto;min-width:160px}
 .fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn{width:auto!important}
}

/* --- 터치 영역(모바일): 시각 크기는 줄이고 눌리는 범위만 44 이상으로 --- */
@media (max-width:767px){
 .kc-btn,.fxt-btn,.fxt-lbtn,.fxt-mform__btn,.fxt-dialog__btn,.kt-btn,.kt-seg__b,.fxt-tac__tab,.hbtn,.kfb__btn,.kfb__chip,.kcj-code__btn,.fxt-msettings__rowbtn,.fxt-suggest__chip,.kc-empty__cta,.kca-cta,.fxt-mfilter__chip,.fxt-lk-pager__btn,.fxt-admin-app .fxt-chip,.kc-btn-seg button,.fxt-mdetail__poke,.fluxboard-btn,.kcc__save,.kbl-empty__btn,.kmb-pill,.kcg-seg button,.kca .win button,.kt__seg button,.kca .tabs button,.kca .seg button,.fxt-page .kcv .kcv-act .fluxboard-board-view__react-btn,.fxt-page .kcv .kcv-act .kcv-act__s,.fxt-page .kcv .kcv-act .kcv-act__c{position:relative}
 .fxt-btn::before,.fxt-lbtn::before,.fxt-mform__btn::before,.fxt-dialog__btn::before,.kt-btn::before,.kt-seg__b::before,.fxt-tac__tab::before,.hbtn::before,.kfb__btn::before,.kfb__chip::before,.kcj-code__btn::before,.fxt-msettings__rowbtn::before,.fxt-suggest__chip::before,.kc-empty__cta::before,.kca-cta::before,.fxt-mfilter__chip::before,.fxt-lk-pager__btn::before,.fxt-admin-app .fxt-chip:not([data-fxt-place])::before,.kc-btn-seg button::before,.fxt-mdetail__poke::before,.fluxboard-btn::before,.kcc__save::before,.kbl-empty__btn::before,.kmb-pill::before,.kcg-seg button::before,.kca .win button::before,.kt__seg button::before,.kca .tabs button::before,.kca .seg button::before,.fxt-page .kcv .kcv-act .fluxboard-board-view__react-btn::before,.fxt-page .kcv .kcv-act .kcv-act__s::before,.fxt-page .kcv .kcv-act .kcv-act__c::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);background:transparent;border:0;border-radius:0}
}

/* --- 빨강 정리: 선택 상태는 검정 --- */
.kc-mtabs__tab.is-on{background:#0B0B0C!important;color:#fff!important}
.kcg-seg button[data-kcg-vote="ATTEND"][aria-pressed="true"]{background:#0B0B0C!important;color:#fff!important}
.fxt-lk-tab.is-active{box-shadow:inset 0 -3px 0 #0B0B0C!important}
.fxt-mtabs__tab[aria-selected="true"]{border-bottom-color:#0B0B0C!important}
.fxt-page .kcv .kcv-act .fluxboard-board-view__react-btn--active{border-color:#0B0B0C!important;background:#F2F2F4!important;color:#0B0B0C!important}
.fxt-page .kcv .kcv-act .fluxboard-board-view__react-btn--active b,.fxt-page .kcv .kcv-act .fluxboard-board-view__react-btn--active .ph--on,.fxt-page .fluxboard-board-view__react-btn--active .ph--on,.fxt-page .fluxboard-board-view__react-btn--active,.fxt-page .fluxboard-board-view__react-btn--active #good-count,.is-liked{color:#0B0B0C!important}
html body input[type=checkbox],html body input[type=radio],html body input[type=range]{accent-color:#0B0B0C!important}
.kcu-drop.is-over{border-color:#0B0B0C!important;background:#F2F2F4!important}
.kcu-item.is-cover{box-shadow:0 0 0 2px #0B0B0C!important}
.kcu-item.is-cover .kcu-b--star{background:#0B0B0C!important;color:#fff!important}
.kcu-prog i,.kcu-item .kcu-ibar{background:#0B0B0C!important}
.kcspin{border-top-color:#0B0B0C!important}
/* 빨강 정리: 링크·제목 강조·아이콘·숫자 */
.fxt-page .kcv .fluxboard-board-view__content a:not([class*="kr-"]):not([class*="fxt-"]):not([class*="kc-"]):not(.fmom),.fxt-page .kcv .fluxboard-board-view__links a{color:#0B0B0C!important}
.fxt-mdetail .fxt-mdetail__n,.kr-sec .fxt-mdetail__n,.kr-roster__h span,.mbc-title span,.mbc__dd,.mbc__vs em,.kcaa-pick__c{color:#0B0B0C!important}
.mbc__chip--open{background:#F2F2F4!important;color:#111!important}
.km-coachline .ph,.fxt-screen--home .kt-pin{color:#111!important}
.kcc__to i{background:#F2F2F4!important;color:#111!important}
.kcc__b--team .kcc__tag{color:#111!important}
.fxt-mdetail .fxt-mdetail__countdown,.kcg-row__cd,.fxt-yrow__note{color:#4B4B50!important}
.fxt-mdetail__fold>summary{color:#111!important}
.fxt-admin-app .fxt-anext__vote-num,.fxt-admin-app .fxt-asum__num,.fxt-admin-app .fxt-astat__num{color:#0B0B0C!important}
.fxt-admin-app .fxt-mstate--open{background:#F2F2F4!important;color:#111!important}
.fxt-mcard[data-status="VOTE_OPEN"] .fxt-mcard__status{color:#111!important}
.fxt-mcard[data-status="LIVE"]{border-color:#E6E6EA!important}
.hd__r .fxt-header__menu-item--danger,.fxt-header__menu-item--danger{color:#111!important}
.fluxboard-board-write__required{color:#111!important}
.fxt-screen--home .nm__k{color:rgba(255,255,255,.72)!important}
/* 빨강 정리: 보조 버튼은 검정 */
.fxt-appr-card .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-cere__card .fxt-mform__btn--warn,.kc-empty__cta{background:#0B0B0C!important;color:#fff!important}
@media (hover:hover) and (pointer:fine){.fxt-appr-card .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-cere__card .fxt-mform__btn--warn:hover:where(:not(:disabled)),.kc-empty__cta:hover{background:#2A2A2C!important;color:#fff!important}}

/* --- 크기: 화면별 CSS 가 44 로 고정한 버튼을 40(작은 것 34)으로 --- */
.fxt-page .kcv .kcv-pv .kcv-pv__list,.fxt-screen--home .nm__cta,.kmb-btn,.kca-fin__btn,.pvm__btn,.kca .kca-pv__b,.kca .kca-pv__b--s,.kc-btn-seg.kcg-seg button,.kc-btn-seg.kcg-kinds button,.fxt-mdetail .kfb__btn,.fxt-mdetail .fxt-mdetail__poke,.fxt-mdetail .fxt-btn,.fxt-page .kmy .fxt-msettings__rowbtn,.fxt-page .kmy .fxt-btn,.fxt-page .kca .win button,.fxt-page .fluxboard-board .kbl-tools .fluxboard-board__filter-toggle{height:36px!important;min-height:36px!important}
.fxt-page .kcv .kcv-pv .kcv-pv__list{width:auto!important;min-width:120px;padding:0 var(--kc-btn-px,20px)!important}
.kca .win button,.fxt-page .kca .win button{width:auto!important;min-width:140px;padding:0 var(--kc-btn-px,20px)!important}
.kca-fin__btn,.pvm__btn,.kca .kca-pv__b,.kca .kca-pv__b--s,.kmb-btn{padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important}
.fxt-screen--home .nm__cta{font-size:var(--kc-fs-btn,15px)!important}
.kca-cta{height:40px!important;min-height:40px!important;padding:0 var(--kc-btn-px,20px)!important;font-size:var(--kc-fs-btn,15px)!important}
.kca-cta--s{height:32px!important;min-height:32px!important}
@media (max-width:767px){
 .fxt-page .fluxboard-board .kbl-tools .fluxboard-board__filter-toggle{width:36px!important}
 .fxt-page .fluxboard-board .kbl-tools .fluxboard-board__filter-toggle::before,.kca-cta::before,.kc-btn-seg.kcg-seg button::before,.fxt-page .kca .win button::before,.kmb-btn::before,.kca-fin__btn::before,.pvm__btn::before,.kca .kca-pv__b::before,.fxt-mdetail .kfb__btn::before,.fxt-page .kmy .fxt-btn::before,.fxt-page .kmy .fxt-msettings__rowbtn::before,.fxt-page .kcv .kcv-pv .kcv-pv__list::before,.fxt-screen--home .nm__cta::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);background:transparent;border:0;border-radius:0}
 .kmb-btn,.kca-fin__btn,.pvm__btn,.kca .kca-pv__b,.fxt-page .kcv .kcv-pv .kcv-pv__list,.fxt-screen--home .nm__cta,.fxt-page .kmy .fxt-btn,.fxt-page .kmy .fxt-msettings__rowbtn,.fxt-mdetail .kfb__btn{position:relative}
}
/* 운영 화면(모바일): team-admin.css·kc-dues.css 가 44 로 올려 둔 버튼을 40 / 표·팝오버·행 안 작은 버튼은 34 */
@media (max-width:767px){
 .fxt-admin-app.fxt-admin-app.fxt-admin-app.fxt-admin-app :is(.fxt-lbtn,.fxt-btn,.kc-btn:not(.kc-btn--l),.kcj-code__btn,.fxt-btn--ghost,.fxt-btn--quiet,.fxt-suggest__chip,.fxt-dialog__btn,.fxt-mform__btn){height:36px!important;min-height:36px!important}
 .fxt-admin-app.fxt-admin-app.fxt-admin-app.fxt-admin-app :is(.fxt-tbl__act .fxt-lbtn,.fxt-pop__body .fxt-lbtn,.fxt-tbl__act .fxt-btn,.fxt-row .fxt-btn,.fxt-board-row .fxt-btn,.fxt-role-row .fxt-btn,.fxt-appr-card .fxt-btn,.fxt-ftool__grid .fxt-lbtn,.fxt-btn--ghost,.fxt-btn--quiet,.fxt-suggest__chip,.fxt-tbl td .fxt-lbtn,.fxt-tbl details.fxt-pop>summary.fxt-lbtn,.kcj-code__btn){height:32px!important;min-height:32px!important}
 .fxt-admin-app.fxt-admin-app.fxt-admin-app.fxt-admin-app :is(.fxt-chip,.fxt-lk-pager__btn){height:32px!important;min-height:32px!important}
 .fxt-admin-app.fxt-admin-app.fxt-admin-app.fxt-admin-app .fxt-lk-pager__btn{min-width:32px!important}
}
/* 터치 영역 보강(모바일): 세그먼트·투표·상단 아이콘·글머리 칩 */
@media (max-width:767px){
 .seg>button,.kcv-chip,.fxt-header__account-btn,.fhc-bell__btn,.fxt-acrumb__toggle{position:relative}
 .seg>button::before,.kcv-chip::before,.fxt-header__account-btn::before,.fhc-bell__btn::before,.fxt-acrumb__toggle::before,.fxt-vote__btn::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);background:transparent;border:0;border-radius:0}
}

/* ===== R2-49b 새 색 규칙(대표 지시): 주 버튼 = 검정 + 흰 글자, 보조·취소 = 흰 바탕 + 중립 테두리 + 검정 글자, 빨강은 삭제·탈퇴 글자/확인·알림 배지·오류·경고 상태칩에만 ===== */
.kc-btn--primary{--kb-bg:#0B0B0C;--kb-fg:#fff;--kb-hv:#2A2A2C}
.kc-btn--soft{--kb-bg:#fff;--kb-fg:#111;--kb-hv:#F4F4F6;box-shadow:inset 0 0 0 1px #D5D5DA}
.kc-btn--danger{--kb-bg:transparent;--kb-fg:#DC1E28;--kb-hv:#FFECEC;padding:0 12px}
.kc-btn--danger-solid{--kb-bg:#DC1E28;--kb-fg:#fff;--kb-hv:#B01218}
.kc-btn:focus-visible{outline-color:#0B0B0C}
/* 옛 주 버튼 클래스(빨강) -> 검정 */
.fxt-lbtn--primary,.fxt-dialog__btn--primary,.fxt-appr-card .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-screen--invite .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-screen--signup .fxt-btn:where(:not(.fxt-btn--quiet)),.fxt-screen--result-form .fxt-mform__btn:where(:not(.fxt-mform__btn--warn):not(.fxt-mform__btn--link)),.fxt-cere__card .fxt-mform__btn--warn,.kc-empty__cta,.kt-btn--cta,.fxt-live__goal,.fxt-screen--home .hbtn--acc,.fxt-page .fluxboard-board__write-btn,.fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn--primary,.fxt-page .fxt-write .fxt-btn,.fxt-page .kmy-acct button[type=submit],.fxt-page .kmy-acct .fluxmember-btn,.fxt-page .kmy-acct .fluxmember-form__submit,.kcsh__go,.kca-cta,.kca-fin__btn,.pvm__btn,.kcj-btn--red,.kau-submit,.kau .fluxmember-auth__submit,.fxt-vote__btn--attend[aria-pressed="true"],.fxt-vote__btn--attend.is-active{background:#0B0B0C!important;color:#fff!important;box-shadow:none}
.fxt-page .fluxboard-board__write-btn.fab{box-shadow:0 4px 14px rgba(0,0,0,.18)!important}
@media (hover:hover) and (pointer:fine){
 .fxt-lbtn--primary:hover:where(:not(:disabled)),.fxt-dialog__btn--primary:hover:where(:not(:disabled)),.fxt-appr-card .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-screen--invite .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-screen--signup .fxt-btn:where(:not(.fxt-btn--quiet)):hover:where(:not(:disabled)),.fxt-screen--result-form .fxt-mform__btn:where(:not(.fxt-mform__btn--warn):not(.fxt-mform__btn--link)):hover:where(:not(:disabled)),.kc-empty__cta:hover,.kt-btn--cta:hover:where(:not(:disabled)),.fxt-page .fluxboard-board__write-btn:hover,.fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn--primary:hover,.kca-cta:hover,.kcj-btn--red:hover,.kau-submit:hover{background:#2A2A2C!important;color:#fff!important}
}
.kcd__b--ok{background:#0B0B0C!important}
/* 보조·취소: 흰 바탕 + 중립 테두리 + 검정 글자 (기존 연한 회색 면 -> 흰 면) */
.fxt-btn--quiet:where(:not(.is-active):not([aria-pressed="true"])),.fxt-btn--ghost,.fxt-cere__card .fxt-btn,.fxt-mform__btn--link,.fxt-mform__btn--warn,.fxt-lbtn:where(:not(.fxt-lbtn--primary):not(.fxt-lbtn--ghost)),.fxt-dialog__btn:where(:not(.fxt-dialog__btn--primary)),.kfb__btn:where(:not(.kfb__btn--on)),.fxt-mdetail__poke,.fxt-suggest__chip,.kcj-code__btn:where(:not(.kcj-code__btn--danger)),.fxt-msettings__rowbtn,.kt-btn:where(:not(.kt-btn--primary):not(.kt-btn--cta):not(.kt-btn--danger)),.fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn:not(.fluxboard-btn--primary),.fxt-page .kmy .fxt-btn:not(.fxt-btn--danger){background:#fff!important;color:#111!important;box-shadow:inset 0 0 0 1px #D5D5DA!important}
@media (hover:hover) and (pointer:fine){
 .fxt-btn--quiet:where(:not(.is-active)):hover:where(:not(:disabled)),.fxt-btn--ghost:hover:where(:not(:disabled)),.fxt-lbtn:where(:not(.fxt-lbtn--primary):not(.fxt-lbtn--ghost)):hover:where(:not(:disabled)),.fxt-dialog__btn:where(:not(.fxt-dialog__btn--primary)):hover:where(:not(:disabled)),.kt-btn:where(:not(.kt-btn--primary):not(.kt-btn--cta):not(.kt-btn--danger)):hover:where(:not(:disabled)),.kfb__btn:where(:not(.kfb__btn--on)):hover:where(:not(:disabled)),.fxt-msettings__rowbtn:hover:where(:not(:disabled)){background:#F4F4F6!important;color:#111!important}
}
.fxt-lbtn--ghost{background:transparent!important;box-shadow:none!important}
/* 삭제·탈퇴: 글자 빨강 (기존 danger 그대로) */
.fxt-btn--danger,.fxt-cancelbox__btn,.kcj-code__btn--danger,.kt-btn--danger,[data-fxt-ev-remove]{background:transparent!important;box-shadow:none!important;color:#DC1E28!important}
.fxt-btn:focus-visible,.fxt-lbtn:focus-visible,.fxt-mform__btn:focus-visible,.fxt-dialog__btn:focus-visible,.fxt-late__btn:focus-visible,.fxt-late__approve:focus-visible,.kfb__btn:focus-visible,.kfb__chip:focus-visible,.fxt-mdetail__poke:focus-visible,.fxt-cancelbox__btn:focus-visible,.kcj-code__btn:focus-visible,.fxt-msettings__rowbtn:focus-visible,.fxt-suggest__chip:focus-visible{outline-color:#0B0B0C!important}

/* R2-49c 폭·크기 보정 */
.fxt-page .kcv .kcv-pv .kcv-pv__list{width:fit-content!important;min-width:120px;margin-left:auto!important;margin-right:auto!important}
.kt-btn--danger{width:auto!important;align-self:center!important;justify-self:center!important}
.fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn:not(.fluxboard-btn--primary){height:36px!important;min-height:36px!important}
.fxt-screen--home .hero__cta .hbtn{flex:0 0 auto!important;padding:0 var(--kc-btn-px,20px)!important}
@media (max-width:767px){
 .fxt-admin-app.fxt-admin-app.fxt-admin-app.fxt-admin-app button:not(.kc-tip__btn):not(.fxt-acrumb__toggle):not([class*="swatch"]):not(.fxt-brand-preset):not(.fxt-bg__card):not(.fxt-dialog__close):not(.fxt-lk-pager__btn):not(.fxt-chip):not(.kc-btn--l):not(.kc-fab){min-height:36px!important;position:relative}
 .fxt-admin-app button:not(.kc-tip__btn):not(.fxt-acrumb__toggle):not([class*="swatch"]):not(.fxt-brand-preset):not(.fxt-bg__card):not(.fxt-dialog__close):not(.fxt-lk-pager__btn):not(.fxt-chip):not(.kc-btn):not(.fxt-btn):not(.fxt-lbtn)::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);background:transparent}
}

/* 글쓰기 버튼 통일(2026-11-13): 주 버튼은 검정, 그림자 없음. 빨강은 삭제·배지·오류·경고칩·LIVE 만. 모바일도 40px(플로팅 .fab 은 원형 48px). */
.fxt-page .fluxboard-board__write-btn,.fxt-page .fluxboard-board__write-btn:hover,.fxt-page .fluxboard-board__write-btn:focus,.fxt-page .fluxboard-board__write-btn:active,.fxt-page .fluxboard-board__write-btn.fab,.fxt-page .fluxboard-board__write-btn.fab:hover{background:#0B0B0C!important;color:#fff!important;box-shadow:none!important;filter:none!important}
@media (hover:hover) and (pointer:fine){.fxt-page .fluxboard-board__write-btn:hover{background:#2A2A2C!important}}
.kca-cta{background:#0B0B0C;height:36px;box-shadow:none}

/* ===== R3 btnsize (2026-11-14): 모바일 버튼 높이를 한 기준으로 =====
   주요/보조 버튼 40(--kc-h-btn-m), 칩·세그먼트 32(--kc-h-btn-s, 위아래 4px 여백으로 터치 40), 글자 14.
   모바일(max-width:767px)에만 적용 — PC(768↑) 크기는 그대로. 예외: 라이브 득점 +1(44, --kc-h-btn-l)·선수 고르기 칸(44).
   이 블록은 kc-btn.css 맨 끝에 둔다(다른 화면 CSS 보다 나중). */
@media (max-width:767px){
 .kc-btn.kc-btn--l{--kb-h:var(--kc-h-btn-m);height:var(--kc-h-btn-m)!important;min-height:var(--kc-h-btn-m)!important}
 .kc-btn.kc-btn--l.kc-sc__plus{height:var(--kc-h-btn-l)!important;min-height:var(--kc-h-btn-l)!important}
 .kc-sc__sheet .fxt-live__pick{min-height:var(--kc-h-btn-l)!important}
 .fxt-mdetail .fxt-late__btn,.fxt-mdetail .kfb__btn--on,.kfb__btn,.kcc__more-a,.kcc__save,.fxt-lbtn,
 .kt-btn--cta,.kt-btn--lg,.fxt-page .fxt-write .fxt-btn,.kcsh__go,.fxt-screen--home .hbtn,.kca-fin__btn,.pvm__btn,.kca-cta,.kca .kca-pv__b,.kca .kca-pv__b--s,.kca .win button,.mdlg__share,
 .fxt-page .fluxboard-board-write .fluxboard-board-write__footer .fluxboard-btn,.fxt-page .fluxboard-board-write .fluxboard-board-write__form .fluxboard-btn,
 .fxt-page .kmy-acct button[type=submit],.fxt-page .kmy-acct .fluxmember-btn,.fxt-page .kmy-acct .fluxmember-form__submit,
 .fluxmember-btn,.fluxmember-address-manual,.fluxmember-subtab,.kcg-morebtn,.kcci .kcci__go,.kcci .kcci__req,.kcci .kcci__detail,.kcci-sheet .kcci__later,.kcci--strip .kcci__go,.kcci--strip .kcci__req,.gd-logbar__go,
 .fxt-admin-app .fxt-tbl td .fxt-lbtn[data-fxt-led-publish],.fxt-admin-app .fxt-tbl td .fxt-lbtn[data-fxt-fine-act],.fxt-admin-app .fxt-tbl td .fxt-lbtn[data-fxt-led-revoke],
 .fxt-admin-app .fxt-tbl details.fxt-pop>summary.fxt-lbtn,.fxt-admin-app .fxt-lk-titlebar .fxt-pop--menu .fxt-pop__body>.fxt-lbtn{box-sizing:border-box;height:var(--kc-h-btn-m)!important;min-height:var(--kc-h-btn-m)!important;font-size:14px!important}
 .kfb__chip,.fxt-admin-app .fxt-dialog__seg .fxt-rf__chk,.kcaa__yr a,.fxi__form .fxm-btn{box-sizing:border-box;height:var(--kc-h-btn-s)!important;min-height:var(--kc-h-btn-s)!important;margin-top:4px;margin-bottom:4px;font-size:14px!important}
 .kfb__chip{padding:0 12px!important}
.fxt-mform__geo>summary,.fluxmember-marketing__more{min-height:var(--kc-h-btn-m)}
}
