/* 킥크루 공통 디자인 부품 (R3 ds1, 2026-11-16 대표 확정 스펙: r3\ds-common\spec.md). 수치가 스펙이다.
   로드: 사용자·운영 화면(Screen_Shell) CSS 맨 끝. 옛 클래스(fxt-*, kfb__*, kcn-*, kt-*, mh-*)의 값을 이 파일에서 한 번 더 통일한다.
   선택자 앞 html:not(#kcdsa):not(#kcdsb) 는 빌드 때 html:not(#a):not(#b) 로 바뀐다 — 화면별 옛 CSS(!important 포함)보다 항상 이기려는 특이도 부스터다.
   빨강은 파괴·배지·오류·경고칩만. 주 버튼 검정. 터치 영역은 36 미만이 없다(작은 것은 ::after 로 44 확보). */

/* ===== 1. 토큰 ===== */
:root {
	--ds-btn-h: 36px;          /* 1-1 버튼 */
	--ds-btn-s: 32px;          /* 2 카드 안 작은 버튼 */
	--ds-field-h: 40px;        /* 4 입력칸 */
	--ds-field-r: 10px;
	--ds-line: #D5D5DA;        /* 입력칸·보조 버튼 테두리 */
	--ds-hair: #EDEDED;        /* 구역 안 항목 선 */
	--ds-band: #F2F2F4;        /* 큰 구역 사이 띠·세그먼트 바탕·칩 */
	--ds-off: #C7C7CC;         /* 스위치 꺼짐·체크박스 테두리 */
	--ds-ink: #0B0B0C;
	--kc-btn-px: 16px;
	--kc-fs-btn: 14px;
}

/* ===== 2. 버튼 (옛 클래스 포함): 글자 14/600, 좌우 16 ===== */
html:not(#kcdsa):not(#kcdsb) :is(.kc-btn, .fxt-btn, .fxt-mform__btn, .fxt-dialog__btn, .fxt-late__btn, .fxt-late__approve, .kfb__btn, .fxt-cancelbox__btn, .fxt-msettings__rowbtn, .kt-btn, .hbtn, .kca-cta, .fxm-btn, .fluxboard-btn, .fluxmember-btn, .fluxboard-comment__submit-btn, .kcc__save, .kbl-empty__btn, .kcsh__go, .kc-empty__cta, .kca-fin__btn, .pvm__btn, .kmb-btn, .kcci__go, .kcci__req, .kcci__detail, a.btn.pri, a.btn.sec, .kc-navi-open, .kc-share):where(:not(.kc-sc__plus)) { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html:not(#kcdsa):not(#kcdsb) :is(.fxt-mform__btn, .fxt-dialog__btn, .fxt-late__btn, .fxt-late__approve, .kfb__btn, .fxt-msettings__rowbtn, .kca-cta, .fluxboard-btn, .fluxmember-btn, .fluxboard-comment__submit-btn, .kcc__save, .kbl-empty__btn, .kcsh__go, .kc-empty__cta, a.btn.pri, a.btn.sec, .kc-navi-open, .fxm-btn):not(.fxt-lbtn) { box-sizing: border-box !important; min-height: var(--ds-btn-h) !important; border-radius: 999px !important; }
/* 높이 36 (옛 클래스) */
html:not(#kcdsa):not(#kcdsb) :is(.fluxboard-comment__submit-btn, a.btn.pri, a.btn.sec, .kc-navi-open, .fxm-btn, .fluxmember-btn, .kcci__go, .kcci__req, .kcci__detail, .fxt-asidebar__link--btn) { height: var(--ds-btn-h) !important; }
html:not(#kcdsa):not(#kcdsb) :is(a.btn.pri, a.btn.sec, .fluxboard-comment__submit-btn, .kc-navi-open) { padding: 0 16px !important; border-radius: 999px !important; }
html:not(#kcdsa):not(#kcdsb) :is(.kc-share) { height: var(--ds-btn-h) !important; min-width: var(--ds-btn-h) !important; }
/* .kc-btn 높이는 모디파이어(--kb-h: 기본 36, --s 32)를 따른다 — 운영 화면 PC 쪽 옛 40 고정값을 이긴다. 아래 작은 버튼 규칙이 뒤에 와서 32 로 다시 덮는다 */
html:not(#kcdsa):not(#kcdsb) .kc-btn:where(:not(.kc-sc__plus):not(.kc-btn--icon)) { height: var(--kb-h, var(--ds-btn-h)) !important; min-height: var(--kb-h, var(--ds-btn-h)) !important; }
html:not(#kcdsa):not(#kcdsb) .fxt-page .fxt-cmtimg-btn { width: 36px !important; height: 36px !important; }
html:not(#kcdsa):not(#kcdsb) :is(.kc-sc__plus.kc-btn, .kc-btn--l.kc-sc__plus) { --kb-h: 44px; height: 44px !important; min-height: 44px !important; }  /* 예외: 라이브 득점 +1 */
html:not(#kcdsa):not(#kcdsb) .kc-sc__sheet .fxt-live__pick { min-height: 44px !important; }                                                  /* 예외: 선수 고르기 칸 */
/* 카드 안 작은 버튼 32 / 13 / pill 테두리 — 행 오른쪽 끝, 한 행 2개까지 */
html:not(#kcdsa):not(#kcdsb) :is(.fxt-lbtn, .fxt-tbl__act .fxt-btn, .fxt-pop__body .fxt-lbtn, .fxt-row .fxt-btn, .fxt-board-row .fxt-btn, .fxt-role-row .fxt-btn, .fxt-btn--quiet, .fxt-btn--ghost, .fxt-suggest__chip, .kcj-code__btn, .kc-btn--s, .kc-btn--sm, .kc-btn--xs, .kt-btn--sm, .fxt-lk-pager__btn, .kca-cta--s, .fxt-tbl__row .kc-btn:not(.kc-btn--l), .fxt-tbl__act .kc-btn:not(.kc-btn--l), .fxt-acrumb__toggle) { height: var(--ds-btn-s) !important; min-height: var(--ds-btn-s) !important; padding: 0 14px !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; border-radius: 999px !important; }
html:not(#kcdsa):not(#kcdsb) :is(.fxt-lbtn--ghost, .kc-btn--text.kc-btn--s, .kc-btn--text.kc-btn--sm) { padding: 0 8px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-btn--text:not(.kc-btn--icon):not(.kc-btn--s):not(.kc-btn--sm):not(.kc-btn--xs) { padding: 0 8px !important; }
/* 위험: 흰 바탕 + 빨강 테두리·빨강 글자 (탈퇴·삭제) */
html:not(#kcdsa):not(#kcdsb) :is(.kc-btn--danger, .fxt-btn--danger, .kt-btn--danger, .fxt-cancelbox__btn, .kcj-code__btn--danger, [data-fxt-ev-remove]) { background: #fff !important; color: var(--kc-red, #DC1E28) !important; box-shadow: inset 0 0 0 1px var(--kc-red, #DC1E28) !important; }
/* 보조: 흰 바탕 + #D5D5DA 테두리 */
html:not(#kcdsa):not(#kcdsb) :is(.kc-btn--secondary, .kc-btn--soft) { box-shadow: inset 0 0 0 1px var(--ds-line) !important; background: #fff !important; }
html:not(#kcdsa):not(#kcdsb) .kc-btn--icon { width: var(--ds-btn-h) !important; min-width: var(--ds-btn-h) !important; padding: 0 !important; }
html:not(#kcdsa):not(#kcdsb) .kc-btn--icon.kc-btn--s, html:not(#kcdsa):not(#kcdsb) .kc-btn--icon.kc-btn--sm, html:not(#kcdsa):not(#kcdsb) .kc-btn--icon.kc-btn--xs { width: var(--ds-btn-s) !important; min-width: var(--ds-btn-s) !important; }
/* 운영 메뉴 링크 버튼(사이드바)은 내비게이션이라 높이만 36 */
html:not(#kcdsa):not(#kcdsb) .fxt-asidebar__link { border-radius: 10px !important; }

/* ===== 3. 칩 32/13 회색 채움(선택 검정) · 배지 20/11 pill ===== */
html:not(#kcdsa):not(#kcdsb) :is(.kc-chip, .kfb__chip, .fxt-chip, .fxt-mfilter__chip, .kc-tg__t):not(.is-current):not(.is-active):not(.is-on):not([aria-current]):not([aria-pressed="true"]):not([aria-checked="true"]) { background: var(--ds-band) !important; box-shadow: none !important; border-color: transparent !important; color: #4B4B50 !important; }
html:not(#kcdsa):not(#kcdsb) :is(.kc-chip, .kfb__chip, .fxt-chip, .fxt-mfilter__chip, .kc-tg__t, .kc-mom__list .kc-chip) { box-sizing: border-box !important; height: var(--ds-btn-s) !important; min-height: var(--ds-btn-s) !important; padding: 0 12px !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; border-radius: 999px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-tg input:checked + .kc-tg__t { background: var(--ds-ink) !important; color: #fff !important; border-color: var(--ds-ink) !important; }
html:not(#kcdsa):not(#kcdsb) :is(.kc-chip__n, .kc-seg__n) { font-size: 11px !important; }
html:not(#kcdsa):not(#kcdsb) :is(.chip, .fxt-screen--home .kt-chip, .mh-chip, .mh-chip--win, .kcv-chip, .fxt-fbadge) { box-sizing: border-box !important; display: inline-flex !important; align-items: center !important; height: 20px !important; min-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 8px !important; border-radius: 999px !important; font-size: 11px !important; line-height: 1 !important; font-weight: 700 !important; }

/* ===== 4. 세그먼트: 높이 36, 회색 pill 바탕, 선택 검정 채움, 글자 13/600 ===== */
html:not(#kcdsa):not(#kcdsb) :is(.kc-seg, .kc-seg--s) { --kc-seg-h: 36px; --kc-seg-bar: 32px; background: var(--ds-band) !important; }
html:not(#kcdsa):not(#kcdsb) :is(.kc-seg__b, .kc-seg--s .kc-seg__b) { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; padding: 0 14px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-mtabs { padding: 2px !important; background: var(--ds-band) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-mtabs__tab { height: 32px !important; padding: 0 14px !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
html:not(#kcdsa):not(#kcdsb) :is(.kt-seg__b, .fxt-tac__tab) { height: var(--ds-btn-s) !important; min-height: var(--ds-btn-s) !important; font-size: 13px !important; padding: 0 12px !important; }
html:not(#kcdsa):not(#kcdsb) .fxi__tabs { height: 36px !important; }
html:not(#kcdsa):not(#kcdsb) :is(.seg > button, .seg > a, .seg--link a, .kca .seg--link a) { font-size: 13px !important; font-weight: 600 !important; }   /* 옛 세그먼트(.seg) */

/* ===== 5. 스위치 40x24 (켜짐 검정 · 꺼짐 #C7C7CC), 행 44 ===== */
html:not(#kcdsa):not(#kcdsb) .kcn-sw { width: 40px !important; height: 24px !important; background: var(--ds-off) !important; }
html:not(#kcdsa):not(#kcdsb) .kcn-sw::after { inset: -10px -4px !important; }
html:not(#kcdsa):not(#kcdsb) .kcn-sw i { top: 2px !important; left: 2px !important; width: 20px !important; height: 20px !important; }
html:not(#kcdsa):not(#kcdsb) .kcn-sw[aria-checked="true"] { background: var(--ds-ink) !important; }
html:not(#kcdsa):not(#kcdsb) .kcn-sw[aria-checked="true"] i { transform: translateX(16px) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-switch { min-height: 44px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-switch__t { width: 40px !important; height: 24px !important; background: var(--ds-off) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-switch__t::before { top: 2px !important; left: 2px !important; width: 20px !important; height: 20px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-switch__i:checked + .kc-switch__t { background: var(--ds-ink) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-switch__i:checked + .kc-switch__t::before { transform: translateX(16px) !important; }

/* ===== 6. 입력칸·셀렉트·날짜: 40 / 15 / radius 10 / 테두리 #D5D5DA / 흰 바탕 / 좌우 12 ===== */
html:not(#kcdsa):not(#kcdsb) :is(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"], select, textarea):not(.kc-native):not(.kc-sb__in):not(.kc-switch__i):not([class*="swatch"]):not([hidden]):not(.kc-dt__h):not(.kc-dt__m):not(.ksg-composer__ta):not(.kc-flt__f *) { box-sizing: border-box !important; min-height: var(--ds-field-h) !important; padding-left: 12px !important; padding-right: 12px !important; border: 1px solid var(--ds-line) !important; border-radius: var(--ds-field-r) !important; background-color: #fff !important; background-image: none !important; font-size: 15px !important; line-height: 22px !important; box-shadow: none !important; }
html:not(#kcdsa):not(#kcdsb) :is(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"], select):not(.kc-native):not(.kc-sb__in):not([class*="swatch"]):not([hidden]):not(.kc-dt__h):not(.kc-dt__m):not(.kc-flt__f *):not(.kmb-search input):not(.kc-field__c--textarea) { height: var(--ds-field-h) !important; padding-top: 0 !important; padding-bottom: 0 !important; }
html:not(#kcdsa):not(#kcdsb) textarea:not(.kc-native):not(.ksg-composer__ta) { padding-top: 9px !important; padding-bottom: 9px !important; }
html:not(#kcdsa):not(#kcdsb) :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):focus-visible { outline: 2px solid var(--ds-ink) !important; outline-offset: 1px !important; }
/* 셀렉트: 오른쪽 여백 36 + 꺾쇠 (선택지 4개 이하는 세그먼트로 — 화면별). ds2u: 위 6번 입력칸 규칙(:not 여러 개)이 특이도가 더 높아 꺾쇠·오른쪽 여백이 지워지던 것을 :not(#kcdsc) 로 이긴다 */
html:not(#kcdsa):not(#kcdsb):not(#kcdsc) select:not([multiple]):not([size]):not(.kc-sb__in) { -webkit-appearance: none !important; appearance: none !important; padding-right: 36px !important; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 16px 16px !important; }
/* iOS 날짜 칸: 글자 세로 가운데·왼쪽 정렬 */
html:not(#kcdsa):not(#kcdsb) :is(input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"]) { -webkit-appearance: none !important; appearance: none !important; display: flex !important; align-items: center !important; text-align: left !important; line-height: 22px !important; min-width: 0 !important; }
html:not(#kcdsa):not(#kcdsb) :is(input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"])::-webkit-date-and-time-value { text-align: left !important; min-height: 1.25em !important; margin: 0 !important; padding: 0 !important; line-height: 22px !important; }
html:not(#kcdsa):not(#kcdsb) :is(input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"])::-webkit-datetime-edit { padding: 0 !important; line-height: 22px !important; }
html:not(#kcdsa):not(#kcdsb) :is(input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"])::-webkit-datetime-edit-fields-wrapper { padding: 0 !important; }
/* R6 입력칸 옆 버튼은 입력칸 높이(40) */
html:not(#kcdsa):not(#kcdsb) :is(.fxt-tac__guestadd, .fxt-rf__guestadd, .kcg-ks__row, .kc-sc__guestadd) > :is(button, .kc-btn, a) { height: var(--ds-field-h) !important; min-height: var(--ds-field-h) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-dt .kc-dt__c { height: var(--ds-field-h) !important; }
html:not(#kcdsa):not(#kcdsb) :is(div, span, p):has(> :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), select)) > :is(button, a.kc-btn, a.fxt-btn):not(.kc-btn--icon):not(.kc-btn--text),
html:not(#kcdsa):not(#kcdsb) .fxt-lk-toolbar .kc-btn:not(.kc-btn--text):not(.kc-btn--icon),
html:not(#kcdsa):not(#kcdsb) :is(.fluxmember-address-search, .fluxmember-address-manual) { height: var(--ds-field-h) !important; min-height: var(--ds-field-h) !important; }


/* ===== 7. 체크박스(20 · radius 6 · 테두리 2 #C7C7CC · 선택 검정+흰 체크) · 라디오(20 · 선택 검정 테두리+검정 점) ===== */
html:not(#kcdsa):not(#kcdsb) .fxt-page input[type="checkbox"]:not(.kc-native) { width: 20px !important; height: 20px !important; border: 2px solid var(--ds-off) !important; border-radius: 6px !important; }
html:not(#kcdsa):not(#kcdsb) .fxt-page input[type="checkbox"]:not(.kc-native):checked { border-color: var(--ds-ink) !important; }
html:not(#kcdsa):not(#kcdsb) input[type="radio"]:not([class]):not(.kc-native) { -webkit-appearance: none !important; appearance: none !important; position: relative !important; flex: none !important; display: inline-block !important; vertical-align: middle !important; width: 20px !important; height: 20px !important; margin: 0 !important; border: 2px solid var(--ds-off) !important; border-radius: 50% !important; background: #fff !important; cursor: pointer !important; }
html:not(#kcdsa):not(#kcdsb) input[type="radio"]:not([class]):not(.kc-native):checked { border-color: var(--ds-ink) !important; background: radial-gradient(circle, var(--ds-ink) 0 4.5px, #fff 5px) !important; }
html:not(#kcdsa):not(#kcdsb) input[type="radio"]:not([class]):not(.kc-native):focus-visible { outline: 2px solid var(--ds-ink) !important; outline-offset: 2px !important; }
/* 행 전체 터치 44 */
html:not(#kcdsa):not(#kcdsb) .fxt-page label:has(> input[type="checkbox"]:not(.kc-native)):not([class*="chip"]):not([class*="tg"]):not([class*="seg"]):not([class*="sw"]):not([class*="btn"]):not([class*="kca-pv"]),
html:not(#kcdsa):not(#kcdsb) .fxt-page label:has(> input[type="radio"]:not([class])) { display: flex !important; align-items: center !important; gap: 8px !important; min-height: 44px !important; }

/* ===== 8. 필터 (스펙 6 A): 36 원형 아이콘 버튼(글자 없음) + 세그먼트와 같은 줄 오른쪽 끝, 패널은 바로 아래 펼침 =====
   마크업: <div class="kc-flt-bar"> 세그먼트 … <details class="kc-flt"><summary class="kc-flt__btn" aria-label="필터"><svg/><span class="kc-flt__n">2</span></summary>
           <form class="kc-flt__panel"><label class="kc-flt__f"><span>조회 시작일</span><input type="date"></label> … <div class="kc-flt__acts"><a class="kc-flt__reset">초기화</a><button class="kc-btn kc-btn--primary kc-btn--s">적용</button></div></form></details></div> */
html:not(#kcdsa):not(#kcdsb) .kc-flt-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 16px 0 14px; padding-right: 48px; min-height: 36px; }
html:not(#kcdsa):not(#kcdsb) .kc-flt { position: static; flex: 0 0 calc(100% + 48px); width: calc(100% + 48px); max-width: calc(100% + 48px); margin: 0 -48px 0 0; }   /* ds2u: 패널은 바 오른쪽 여백(48)까지 펼쳐 본문 끝선과 맞춘다(R1) */
html:not(#kcdsa):not(#kcdsb) .kc-flt__btn {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ds-band);
	color: var(--ds-ink);
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
html:not(#kcdsa):not(#kcdsb) .kc-flt__btn::-webkit-details-marker { display: none; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); background: transparent; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__btn svg { display: block; width: 18px; height: 18px; flex: none; }
html:not(#kcdsa):not(#kcdsb) .kc-flt[open] > .kc-flt__btn { background: var(--ds-ink); color: #fff; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__btn:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
/* 조건 수 배지: 아이콘(가운데 18x18, 버튼 안 9~27)과 겹치지 않게 버튼 바깥 오른쪽 위 모서리에 */
html:not(#kcdsa):not(#kcdsb) .kc-flt__n {
	position: absolute;
	top: -6px;
	left: 28px;
	box-sizing: border-box;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--kc-red, #DC1E28);
	color: #fff;
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
html:not(#kcdsa):not(#kcdsb) .kc-flt__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; margin: 12px 0 0; padding: 0; border: 0; background: none; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: #4B4B50; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__panel > .kc-flt__f:nth-of-type(n+3) { grid-column: 1 / -1; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__f :is(input, select) {
	box-sizing: border-box;
	width: 100%;
	height: 36px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-field-r);
	background-color: #fff;
	font-size: 14px;
	line-height: 20px;
	color: #111;
}
html:not(#kcdsa):not(#kcdsb) .kc-flt__f select { padding-right: 36px; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__f select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__chk { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: #111; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__acts { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
html:not(#kcdsa):not(#kcdsb) .kc-flt__reset { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 32px; padding: 0 8px; border: 0; background: transparent; color: #4B4B50; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
@media (min-width: 768px) {
	html:not(#kcdsa):not(#kcdsb) .kc-flt__panel { grid-template-columns: repeat(3, minmax(0, 200px)); align-items: end; }
	html:not(#kcdsa):not(#kcdsb) .kc-flt__panel > .kc-flt__f:nth-of-type(n+3) { grid-column: auto; }
}

/* ===== 9. 하단 고정 저장 바 (스펙 7 B): 바 패딩 12 + safe-area, 위 1px 선, 보조 1 : 주 2, 주 오른쪽, 버튼 36 =====
   마크업: <div class="kc-savebar"><div class="kc-savebar__i">상태 한 줄</div><div class="kc-savebar__b"><button class="kc-btn kc-btn--secondary">…</button><button class="kc-btn kc-btn--primary">…</button></div></div>
   sticky 라 본문 끝에 놓으면 화면 아래에 붙고, 본문과 겹치지 않는다. */
html:not(#kcdsa):not(#kcdsb) .kc-savebar {
	position: sticky;
	bottom: 0;
	z-index: 20;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 8px calc(-1 * var(--fxt-content-pad-x, 16px)) 0;
	padding: 12px var(--fxt-content-pad-x, 16px) calc(12px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--ds-hair);
	background: #fff;
}
html:not(#kcdsa):not(#kcdsb) .kc-savebar__i { min-width: 0; font-size: 13px; line-height: 18px; color: #6B6B6B; }
html:not(#kcdsa):not(#kcdsb) .kc-savebar__i b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: #111; }
html:not(#kcdsa):not(#kcdsb) .kc-savebar__b { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; width: 100%; }
html:not(#kcdsa):not(#kcdsb) .kc-savebar__b:not(:has(.kc-btn--primary)) { grid-template-columns: 1fr; }
html:not(#kcdsa):not(#kcdsb) .kc-savebar__b > :is(.kc-btn, a, button) { width: 100%; min-width: 0; }
@media (min-width: 768px) {
	html:not(#kcdsa):not(#kcdsb) .kc-savebar { flex-direction: row; align-items: center; justify-content: space-between; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
	html:not(#kcdsa):not(#kcdsb) .kc-savebar__b { display: flex; width: auto; justify-content: flex-end; }
	html:not(#kcdsa):not(#kcdsb) .kc-savebar__b > :is(.kc-btn, a, button) { width: auto; min-width: 120px; }
}

/* ===== 10. 구역·여백 (스펙 8 C) · 목록 행 (스펙 9) · 라벨/값 행 · 섹션 제목+액션 (스펙 10) ===== */
html:not(#kcdsa):not(#kcdsb) .kc-sitefoot { margin-top: 48px !important; }                           /* 본문 끝~푸터 48 */
html:not(#kcdsa):not(#kcdsb) .kc-band { display: block !important; height: 8px !important; margin: 24px 0 !important; border: 0 !important; background: var(--ds-band) !important; }   /* 큰 구역 사이 8px 띠 */
html:not(#kcdsa):not(#kcdsb) .kc-band--bleed { margin-left: calc(-1 * var(--fxt-content-pad-x, 16px)) !important; margin-right: calc(-1 * var(--fxt-content-pad-x, 16px)) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-itemline > * + * { border-top: 1px solid var(--ds-hair) !important; }  /* 구역 안 항목 1px 선 */
html:not(#kcdsa):not(#kcdsb) .kc-lrow { display: flex !important; align-items: center !important; gap: 12px !important; min-height: 56px !important; padding: 8px 0 !important; box-sizing: border-box !important; }
html:not(#kcdsa):not(#kcdsb) .kc-lrow + .kc-lrow { border-top: 1px solid var(--ds-hair) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-lrow__ph { flex: none !important; width: 40px !important; height: 40px !important; border-radius: 50% !important; object-fit: cover !important; background: var(--ds-band) !important; }
html:not(#kcdsa):not(#kcdsb) .kc-lrow__main { flex: 1 1 auto !important; min-width: 0 !important; }
html:not(#kcdsa):not(#kcdsb) .kc-lrow__t { margin: 0 !important; font-size: 15px !important; line-height: 22px !important; font-weight: 600 !important; color: #111 !important; overflow-wrap: anywhere !important; }
html:not(#kcdsa):not(#kcdsb) .kc-lrow__s { margin: 0 !important; font-size: 13px !important; line-height: 18px !important; color: #6B6B6B !important; }
html:not(#kcdsa):not(#kcdsb) .kc-lrow__acts { flex: none !important; display: flex !important; align-items: center !important; align-self: center !important; gap: 8px !important; margin-left: auto !important; } /* 여러 줄 행에서도 배지·버튼은 한 묶음으로 세로 가운데 */
html:not(#kcdsa):not(#kcdsb) .kc-kv { display: flex !important; align-items: baseline !important; justify-content: space-between !important; gap: 12px !important; min-height: 36px !important; font-size: 14px !important; line-height: 20px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-kv__k { flex: none !important; color: #6B6B6B !important; }
html:not(#kcdsa):not(#kcdsb) .kc-kv__v { min-width: 0 !important; margin-left: auto !important; color: #111 !important; text-align: right !important; font-variant-numeric: tabular-nums !important; overflow-wrap: anywhere !important; }
html:not(#kcdsa):not(#kcdsb) .kc-sechd { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; min-height: 32px !important; margin: 0 0 8px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-sechd__t { margin: 0 !important; min-width: 0 !important; font-size: 17px !important; line-height: 24px !important; font-weight: 700 !important; color: #111 !important; }
html:not(#kcdsa):not(#kcdsb) .kc-sechd__act { flex: none !important; display: flex !important; align-items: center !important; gap: 8px !important; }
html:not(#kcdsa):not(#kcdsb) .kc-sechd__act > :is(.kc-btn, a, button) { height: var(--ds-btn-s) !important; min-height: var(--ds-btn-s) !important; font-size: 13px !important; }

/* 목록 행에서 배지와 버튼이 같은 줄에 있을 때 세로 가운데 (초대 이력 등 옛 행 클래스) */
html:not(#kcdsa):not(#kcdsb) :is(.fxt-mlist, .fxt-invite-list, .fxt-row) > * > :is(.fxt-lbtn, .fxt-btn, .fxt-mstate, .kc-btn) { align-self: center !important; }

@media (prefers-reduced-motion: reduce) {
	html:not(#kcdsa):not(#kcdsb) :is(.kcn-sw, .kcn-sw i, .kc-switch__t, .kc-switch__t::before, .kc-flt__btn) { transition: none !important; }
}

/* ===== 11. 비 !important 보정 (JS 가 인라인 높이를 줘야 하는 칸) ===== */
html:not(#kcdsa):not(#kcdsb) textarea.fluxboard-comment__textarea { height: 40px; padding-top: 9px; padding-bottom: 9px; }

/* ===================================================================================================
   ds3 (2026-11-16 오후 2차 수정, spec.md 「2차 수정」). 앞 규칙보다 항상 이기도록 id 3개 부스터(html:not(#kcdsa):not(#kcdsb):not(#kcds3)).
   - 버튼: 모바일(<=767) 전부 32 / 13 / 600 / 좌우 14 / pill. 터치 영역은 ::before 44(보이지 않게). PC 높이는 그대로.
   - 가로 꽉 찬 버튼 금지: 모든 버튼 width:fit-content(글자 폭). 단독=왼쪽, 저장 바·팝업·시트 묶음=오른쪽(주가 맨 오른쪽).
   - 구역 여백(.kc-zone 공통 클래스 + 옛 구역 클래스): 제목→설명 8 · 설명→버튼 16 · 제목→내용 12 · 구역 안 상하 20.
   - 단원 편집 창(.fxt-adm-edit): 모바일 아래 시트 / PC 가운데 팝업 560, 라벨 위·입력 아래.
   =================================================================================================== */

/* ===== ds3-1. 버튼 크기 하나 (모바일 32/13/600/14) ===== */
@media (max-width: 767.98px) {
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-btn, .fxt-btn, .fxt-lbtn, .fxt-mform__btn, .fxt-dialog__btn, .fxt-late__btn, .fxt-late__approve, .kfb__btn, .fxt-cancelbox__btn, .fxt-msettings__rowbtn, .kt-btn, .hbtn, .kca-cta, .fxm-btn, .fluxboard-btn, .fluxmember-btn, .fluxboard-comment__submit-btn, .kcc__save, .kbl-empty__btn, .kcsh__go, .kc-empty__cta, .kca-fin__btn, .pvm__btn, .kmb-btn, .kcci__go, .kcci__req, .kcci__detail, a.btn.pri, a.btn.sec, .kc-navi-open, .kc-share, .kcsa__go, .kc-lineup__go, .kcg-hc__go, .kcj-code__btn, .fxt-cmtimg-btn, .fluxboard-board-view__react-btn, .kcv-act__c, .kcv-act__b, .kca .win button, .kmy-acct button[type=submit], .fluxmember-form__submit, .kcin-btn):where(:not(.kc-btn--icon):not(.kc-sc__plus):not(.kc-sc__minus):not(.kc-sc__sheet *):not(.kau *):not(.fxt-guest__cta):not(.kc-btn-seg *):not(.fxt-screen--invite *):not(.fxt-screen--signup *):not(.fxt-screen--guest *):not(.fxt-screen--join *):not(.fxt-screen--entry *)) { box-sizing: border-box !important; height: 32px !important; min-height: 32px !important; padding: 0 14px !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; border-radius: 999px !important; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-btn--text, .fxt-lbtn--ghost):where(:not(.kc-btn--icon)) { padding: 0 8px !important; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-btn--icon, html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-cmtimg-btn, html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-share { width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; padding: 0 !important; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-share { width: auto !important; padding: 0 12px !important; }
	/* 터치 영역 44 (보이지 않게). 이미 ::before 로 잡은 클래스는 그대로 두고, 빠진 것만 더한다 */
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.fxt-cmtimg-btn, .kcsa__go, .kc-lineup__go, .kcg-hc__go) { position: relative; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-share, .fxt-cmtimg-btn, .kcsa__go, .kc-lineup__go, .kcg-hc__go, .kc-btn:not(.kc-hit):not(.kc-sc__plus))::before { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); background: transparent; }
}

/* ===== ds3-2. 가로 꽉 찬 버튼 금지: 글자 폭 (PC·모바일 모두) ===== */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-btn, .fxt-btn, .fxt-lbtn, .fxt-mform__btn, .fxt-dialog__btn, .fxt-late__btn, .fxt-late__approve, .kfb__btn, .fxt-cancelbox__btn, .fxt-msettings__rowbtn, .kt-btn, .hbtn, .kca-cta, .fxm-btn, .fluxboard-btn, .fluxmember-btn, .fluxboard-comment__submit-btn, .kcc__save, .kbl-empty__btn, .kcsh__go, .kc-empty__cta, .kca-fin__btn, .pvm__btn, .kmb-btn, .kcci__go, .kcci__req, .kcci__detail, a.btn.pri, a.btn.sec, .kc-navi-open, .kc-share, .kcsa__go, .kc-lineup__go, .kcg-hc__go, .kcj-code__btn, .fxt-cmtimg-btn, .fluxboard-board-view__react-btn, .kcv-act__c, .kcv-act__b, .kca .win button, .kmy-acct button[type=submit], .fluxmember-form__submit, .kcin-btn, .kc-btn--l, .kc-btn--block, .fxt-btn--block, .kcin-btn--main, .kcsa__go, .kc-lineup__go, .kcg-hc__go, .kc-pr__morebtn):where(:not(.kc-btn--icon):not(.kc-sc__plus):not(.kc-sc__minus):not(.fxt-asidebar__link):not(.kau *):not(.fxt-guest__cta):not(.kc-btn-seg *):not(.fxt-screen--invite *):not(.fxt-screen--signup *):not(.fxt-screen--guest *):not(.fxt-screen--join *):not(.fxt-screen--entry *)) { width: fit-content !important; min-width: 0 !important; max-width: 100% !important; flex: 0 0 auto !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-btn--fit:only-child { margin-left: 0 !important; margin-right: 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-sc__finish, .kc-sc__add).kc-btn { width: fit-content !important; }
/* 버튼 묶음 위치: 팝업·시트·폼 끝 = 오른쪽(주가 맨 오른쪽), 삭제만 왼쪽(마크업 순서 그대로). 구역 안 단독 버튼 묶음 = 왼쪽 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.fxt-dialog__actions, .kc-sheet__f, .kc-poll-sheet__f, .kcg-form__act, .kcg-pl__act, .kcaa-bar__b, .fxt-late__acts, .kco-actions, .kc-sc__save, .fxt-pop__foot, .kctr__btns, .kc-rainbtns):not([hidden]) { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-msec__acts, .km-acts, .kc-rainc__btns, .kcg-ops__l, .kc-pagehead__create-list, .kcn-dev__btns, .fxt-macct__buttons, .kc-wxj__btns):not([hidden]) { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-start !important; flex-direction: row !important; gap: 8px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds5) :is(.fxt-dialog__actions, .kc-sheet__f, .kc-poll-sheet__f, .kcg-form__act, .kcg-pl__act, .kcaa-bar__b, .fxt-late__acts, .kco-actions, .kc-sc__save, .fxt-pop__foot, .kctr__btns, .kc-rainbtns, .kc-msec__acts, .km-acts, .kc-rainc__btns, .kcg-ops__l, .kc-pagehead__create-list, .kcn-dev__btns, .fxt-macct__buttons, .kc-wxj__btns, .kc-savebar__b)[hidden] { display: none !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds5) :is(.km-acts, .kc-msec__acts):not(:has(*)) { display: none !important; }   /* 빈 상자 숨김 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kcci .kc-sheet__f { justify-content: flex-end !important; }
/* 경기 취소·우천 결정 폼(.fxt-cancelbox)은 세로 flex 그대로 두고 안의 버튼만 글자 폭 + 오른쪽 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-cancelbox > :is(button, a, .kc-btn, .fxt-cancelbox__btn) { align-self: flex-end; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-dialog__actions .fxt-dialog__btn--danger, html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-dialog__actions .kc-btn--danger { margin-right: auto; }   /* 삭제만 왼쪽 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kcci .kcci__go { order: 0; }

/* ===== ds3-3. 하단 저장 바: 1:2 폐지, 오른쪽 정렬 글자 폭 버튼(주가 맨 오른쪽) ===== */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-savebar__b, html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-savebar__b:has(.fxt-mform__btn), html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-savebar__b:not(:has(.kc-btn--primary)) { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important; width: 100% !important; grid-template-columns: none !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-savebar__b > * { width: fit-content !important; min-width: 0 !important; flex: 0 0 auto !important; }
@media (min-width: 768px) {
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-savebar__b { width: auto !important; }
}

/* ===== ds3-4. 입력칸 옆 버튼(R6)은 입력칸 높이 40 유지 (위 32 규칙 뒤에 다시 선언) ===== */
html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds4) :is(.fxt-tac__guestadd, .fxt-rf__guestadd, .kcg-ks__row, .kc-sc__guestadd) > :is(button, .kc-btn, a),
html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds4) .fxt-lk-toolbar .kc-btn:not(.kc-btn--text):not(.kc-btn--icon),
html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds4) :is(div, span, p):not(.fxt-pop__body *, .kc-sheet *, .fxt-dialog *, .kc-poll-sheet *, .fxt-edit__body, .fxt-exempt__body, .fxt-adjust__body, .fxt-reasonbox, .fxt-pop__body):has(> :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), select)) > :is(button, a.kc-btn, a.fxt-btn):not(.kc-btn--icon):not(.kc-btn--text):not(.fluxboard-board__filter-toggle),
html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds4) :is(.fluxmember-address-search, .fluxmember-address-manual) { height: var(--ds-field-h) !important; min-height: var(--ds-field-h) !important; }

/* ===== ds3-5. 구역 여백 규칙 (공통 클래스 .kc-zone + 옛 구역 클래스) =====
   마크업: <section class="kc-zone"><h2 class="kc-zone__t">제목</h2><p class="kc-zone__d">설명</p><button class="kc-btn">…</button></section>
   제목→설명 8 · 설명(내용)→버튼 16 · 제목→바로 내용 12 · 구역 안 상하 20(모바일). */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-zone { box-sizing: border-box; padding: 20px 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-zone__t, .fxt-msettings__sectiontitle, .fxt-mymoney__h2, .kc-empty__title) { margin: 0 0 12px !important; min-height: 0 !important; height: auto !important; line-height: 24px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-zone__t, .fxt-msettings__sectiontitle, .fxt-mymoney__h2, .kc-empty__title, .fxt-mdetail__h.kc-sech):has(+ :is(.kc-zone__d, .fxt-msettings__help, .fxt-mreport__lead, .kc-empty__desc, .kc-msec__cap)) { margin-bottom: 8px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-zone__d, .fxt-msettings__help, .fxt-mreport__lead, .kc-empty__desc, .kc-msec__cap, .kcph-self__cap) { margin: 0 0 16px !important; font-size: 13px !important; line-height: 18px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-zone__d { color: #6B6B6B; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-zone__d, .fxt-msettings__help, .fxt-mreport__lead, .kc-empty__desc, .kc-msec__cap, .kcph-self__cap):last-child { margin-bottom: 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.fxt-msettings__row, .kmy-grp__row) + .fxt-msettings__help { margin-top: 4px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.kc-msec__acts, .kc-empty .kc-empty__act) { margin: 16px 0 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-msec__cap + .kc-msec__acts { margin-top: 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-zone__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-zone__d + .kc-zone__acts { margin-top: 0; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kc-empty .kc-empty__desc + .kc-empty__act { margin-top: 0 !important; }
/* 마이 설정 구역: 구역 안 상하 20 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-msettings__section { padding-top: 20px !important; padding-bottom: 20px !important; }
/* 설명과 버튼 사이에 숨은 오류 줄이 끼어 있어도 간격은 한 번만 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-msettings__help + .fxt-msg[hidden] { display: none !important; margin: 0 !important; }

/* ===== ds3-6. 단원 편집 창: 오른쪽 밀려 나오는 창 폐지 -> 모바일 아래 시트 / PC 가운데 팝업(560) ===== */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-backdrop { background: rgba(11, 11, 12, 0.4) !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit > td {
	position: fixed !important;
	top: auto !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
	z-index: 1001 !important;
	box-sizing: border-box !important;
	width: auto !important; max-width: none !important;
	max-height: 90vh !important; max-height: 90dvh !important;
	padding: 0 !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	background: #fff !important;
	border: 0 !important;
	border-radius: 16px 16px 0 0 !important;
	box-shadow: 0 -8px 32px rgba(11, 11, 12, 0.16) !important;
	animation: kc-ds3-sheet 200ms ease-out;
}
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 8px 8px 16px !important; border-bottom: 1px solid var(--ds-hair) !important; background: #fff !important; border-radius: 16px 16px 0 0; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__name { font-size: 17px !important; line-height: 24px; font-weight: 700 !important; color: #111 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit .fxt-msg--error:not([hidden]) { margin: 12px 16px 0; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__grid { display: block !important; margin: 0 !important; padding: 4px 16px 8px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; overflow: visible !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__label { display: block !important; margin: 0 !important; padding: 16px 0 0 !important; border: 0 !important; background: none !important; color: #111 !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__label:not(:first-child) { margin-top: 16px !important; border-top: 1px solid var(--ds-hair) !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__t { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: #111; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__label .fxt-hint { display: block !important; margin: 2px 0 0 !important; font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: #6B6B6B !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__value { display: block !important; min-width: 0; margin: 0 !important; padding: 8px 0 0 !important; border: 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm__line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm__line select.fxt-input { width: 100% !important; max-width: 240px; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm__line .fxt-input--short { width: 120px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit .fxt-input--area { width: 100% !important; max-width: none !important; margin: 0 0 8px !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit .fxt-lk-note, html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit .fxt-msg { margin: 8px 0 0; padding: 0 !important; border: 0 !important; font-size: 13px; line-height: 18px; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm__send { margin-left: auto; font-size: 13px; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit .fxt-pause { max-width: none; margin-top: 12px; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit .fxt-pause__f > span { font-size: 13px; line-height: 18px; font-weight: 600; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__foot { position: sticky; bottom: 0; z-index: 2; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 !important; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important; border-top: 1px solid var(--ds-hair); background: #fff; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__foot .fxt-msg { margin: 0; }
@keyframes kc-ds3-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kc-ds3-pop { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 768px) {
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit > td {
		top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; margin: auto !important; height: fit-content !important;
		width: 560px !important; max-width: calc(100vw - 32px) !important;
		max-height: min(86vh, 760px) !important;
		border-radius: 16px !important;
		box-shadow: 0 16px 48px rgba(11, 11, 12, 0.24) !important;
		animation: kc-ds3-pop 160ms ease-out;
	}
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__grid { padding: 4px 24px 8px !important; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__head { padding-left: 24px !important; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit__foot { padding: 12px 24px !important; border-radius: 0 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-admin-app .fxt-adm-edit > td { animation: none !important; }
}

/* ===== ds3-7. 좋아요·댓글 막대와 목록 끝이 하단 탭바(바닥 8 + 안전영역)에 가려지지 않게 ===== */
@media (max-width: 767.98px) {
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .pg.fxt-shell { padding-bottom: calc(var(--kc-tabbar-h, 64px) + 24px + env(safe-area-inset-bottom, 0px)) !important; }
	html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-page .kcv .kcv-act { margin-bottom: 8px !important; scroll-margin-bottom: calc(var(--kc-tabbar-h, 64px) + 24px + env(safe-area-inset-bottom, 0px)); }   /* 경기 글 전체 패딩 없이 막대에만(0.11.77 회귀 방지) */
}

/* 게시판 목록 상세검색 아이콘 버튼: 스펙 6(36 원형 아이콘 버튼) — 글자 버튼 규칙의 패딩이 들어가지 않게 */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-page .fluxboard-board .kbl-tools .fluxboard-board__filter-toggle, html:not(#kcdsa):not(#kcdsb):not(#kcds3) .fxt-page .fluxboard-board .fluxboard-board__filter-toggle { box-sizing: border-box; width: 36px !important; min-width: 36px !important; height: 36px !important; min-height: 36px !important; padding: 0 !important; }

/* 마이 설정 「수상 카드 사진」: 설명 → 버튼 16 한 번만(행 간격 0) */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kcph-self { row-gap: 0 !important; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) .kcph-self__cap { margin: 8px 0 16px !important; }

/* 팝업·시트 안 버튼은 입력칸과 한 줄이 아니면 일반 버튼 높이(PC 36). 앞 R6 :has 규칙이 팝업 안 버튼을 40 으로 키우던 것을 바로잡는다 */
@media (min-width: 768px) {
	html:not(#kcdsa):not(#kcdsb):not(#kcds3):not(#kcds4) :is(.fxt-pop__body, .kc-sheet, .fxt-dialog, .kc-poll-sheet) :is(button, a).kc-btn:not(.kc-btn--icon) { height: 36px !important; min-height: 36px !important; }
}

/* 시트·팝업 안 폼 버튼은 오른쪽 끝(주가 맨 오른쪽) */
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.fxt-edit__body, .fxt-exempt__body, .fxt-adjust__body) { display: flex !important; flex-direction: column !important; align-items: stretch; gap: 8px; }
html:not(#kcdsa):not(#kcdsb):not(#kcds3) :is(.fxt-edit__body, .fxt-exempt__body, .fxt-adjust__body) > :is(button, .kc-btn) { align-self: flex-end !important; }
