/* R3 1-C: 페이지 동작(C-04) · FAB · 종 이동 · 공유(C-12). 토큰은 kc-ui-tokens.css 이름만 쓴다. !important 0.
   옛클래스 → 새 클래스
   .fluxboard-board__write-btn.fab (48) / kc-btn.css .fab / kc-fab.css (56) → .kc-fab (52)   [옛 규칙 삭제는 웨이브 2 소유자]
   body.fxt-screen .fhc-dock (team-home.css:43) → .fhc-dock 모든 셸 숨김(아래 한 곳)
   data-km-share · kcv-act__s · kcv-fix__b · mdlg__share · 초대 관리 공유 → .kc-share + .kc-sharesheet   [옛 진입점 삭제는 웨이브 2 소유자]
   빨강: 조작 요소 0. FAB·공유·시트는 검정/흰/회색. */

/* ---------- 떠 있는 종(알림 독): 모든 셸 숨김. 종은 사용자 셸 헤더·운영 셸 상단 바에서 쓴다 ---------- */
html body .fhc-dock { display: none; }

/* 운영 셸 상단 바 오른쪽 끝 종(아이콘 전용 40, 바탕 투명) */
.fxt-acrumb__bell { margin-left: auto; display: flex; align-items: center; flex: none; }
.fxt-acrumb .fhc-bell__btn {
	width: 40px;
	height: 40px;
	background: transparent;
	color: var(--kc-text);
	box-shadow: none;
	border-radius: var(--kc-r-pill);
}
.fxt-acrumb .fhc-bell__btn:hover { background: var(--kc-fill); }

/* ---------- 제목 줄 ---------- */
.kc-pagehead {
	display: flex;
	align-items: center;
	gap: var(--kc-sp-2);
	min-height: 44px;
	margin: var(--kc-sp-2) 0 var(--kc-sp-4);
	font-family: var(--kc-font);
}
.kc-pagehead__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: var(--kc-fs-page);
	line-height: var(--kc-lh-page);
	font-weight: var(--kc-fw-page);
	color: var(--kc-text);
	letter-spacing: -.01em;
}
.kc-pagehead__acts { display: flex; align-items: center; gap: var(--kc-sp-2); flex: none; margin-left: auto; }
.kc-pagehead__filter { margin: 0 0 var(--kc-sp-4); }
/* 공유·⋯ 는 아이콘 전용 40 두 개가 붙는다(간격 0) */
.kc-pagehead__acts > .kc-share + .kc-more { margin-left: calc(-1 * var(--kc-sp-2)); }

@media (min-width: 768px) {
	.kc-pagehead { margin: var(--kc-sp-6) 0; }
	.kc-pagehead__title { font-size: var(--kc-fs-page-pc); line-height: var(--kc-lh-page-pc); }
}

/* 만들기 동작이 2개 이상일 때 액션 시트 안 목록 */
.kc-pagehead__create-list { display: flex; flex-direction: column; gap: var(--kc-sp-2); }
.kc-pagehead__create-list .kc-btn { width: 100%; }

/* ---------- 공유 아이콘 버튼 ---------- */
.kc-share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--kc-r-pill);
	background: transparent;
	color: var(--kc-text);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--kc-dur-fast) var(--kc-ease-out), transform var(--kc-dur-fast) var(--kc-ease-out);
}
.kc-share:active { transform: scale(var(--kc-press)); }
.kc-share:focus-visible { outline: 2px solid var(--kc-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
	.kc-share:hover { background: var(--kc-fill); }
}

/* ---------- FAB (모바일 전용) ---------- */
.kc-fab {
	display: none;
	position: fixed;
	right: calc(16px + env(safe-area-inset-right, 0px));
	bottom: calc(var(--kc-tabbar-h) + 12px);
	z-index: var(--kc-z-fab);
	align-items: center;
	justify-content: center;
	width: var(--kc-fab);
	height: var(--kc-fab);
	padding: 0;
	border: 0;
	border-radius: var(--kc-r-pill);
	background: var(--kc-ink);
	color: var(--kc-on-ink);
	box-shadow: var(--kc-sh-fab);
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: opacity var(--kc-dur-base) var(--kc-ease-out), transform var(--kc-dur-fast) var(--kc-ease-out), visibility 0s;
}
.kc-fab svg { width: 24px; height: 24px; fill: currentColor; } /* 운영 셸에는 .ph(kc-ios) 가 없어 fill 기본값(검정)이 검정 버튼 위에 얹혔다 */
.kc-fab:active { transform: scale(var(--kc-press-fab)); }
.kc-fab:focus-visible { outline: 2px solid var(--kc-ink); outline-offset: 3px; }
.kc-fab--admin { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.kc-fab.is-hidden {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity var(--kc-dur-base) var(--kc-ease-in), transform var(--kc-dur-base) var(--kc-ease-in), visibility 0s var(--kc-dur-base);
}
@media (max-width: 767px) {
	.kc-fab { display: inline-flex; }
	.kc-pagehead [data-kc-create] { display: none; } /* 모바일 만들기 = FAB */
}
@media (prefers-reduced-motion: reduce) {
	.kc-fab, .kc-fab.is-hidden, .kc-share { transition: none; }
}

/* ---------- 공유 시트 (.kc-sharesheet, <dialog>) ---------- */
.kc-sharesheet {
	box-sizing: border-box;
	position: fixed;
	inset: auto 0 0 0;
	width: 100%;
	max-width: none;
	max-height: 88dvh;
	margin: 0;
	padding: 0 var(--kc-sp-4) calc(16px + env(safe-area-inset-bottom, 0px));
	border: 0;
	border-radius: 22px 22px 0 0;
	background: var(--kc-surface);
	color: var(--kc-text);
	box-shadow: var(--kc-sh-sheet);
	font-family: var(--kc-font);
	overflow: auto;
	transform: translateY(100%);
	transition: transform var(--kc-sheet-out) var(--kc-sheet-ease), overlay var(--kc-sheet-out) allow-discrete, display var(--kc-sheet-out) allow-discrete;
}
.kc-sharesheet[open] {
	transform: translateY(0);
	transition: transform var(--kc-sheet-in) var(--kc-sheet-ease), overlay var(--kc-sheet-in) allow-discrete, display var(--kc-sheet-in) allow-discrete;
}
@starting-style {
	.kc-sharesheet[open] { transform: translateY(100%); }
}
.kc-sharesheet::backdrop { background: var(--kc-scrim); opacity: 0; transition: opacity var(--kc-scrim-dur) ease, overlay var(--kc-scrim-dur) allow-discrete, display var(--kc-scrim-dur) allow-discrete; }
.kc-sharesheet[open]::backdrop { opacity: 1; }
@starting-style {
	.kc-sharesheet[open]::backdrop { opacity: 0; }
}
.kc-sharesheet__grip { display: block; width: 36px; height: 5px; margin: 8px auto 12px; border-radius: 3px; background: var(--kc-line-2); }
.kc-sharesheet__close {
	display: none;
	position: absolute;
	top: 20px;
	right: 20px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: var(--kc-r-pill);
	background: transparent;
	color: var(--kc-text-3);
	cursor: pointer;
}
.kc-sharesheet__close svg { width: 18px; height: 18px; }
.kc-sharesheet__card {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: var(--kc-sp-3);
	align-items: center;
	height: 72px;
	padding: var(--kc-sp-3);
	box-sizing: border-box;
	border-radius: var(--kc-r-md);
	background: var(--kc-fill);
}
.kc-sharesheet__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--kc-r-sm);
	background: var(--kc-surface);
	box-shadow: inset 0 0 0 1px var(--kc-line);
	overflow: hidden;
}
.kc-sharesheet__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-sharesheet__thumb.is-logo img { width: 32px; height: 32px; object-fit: contain; }
.kc-sharesheet__txt { min-width: 0; }
.kc-sharesheet__t { margin: 0; font-size: var(--kc-fs-body); line-height: var(--kc-lh-body); font-weight: 600; color: var(--kc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-sharesheet__u { margin: 0; font-size: var(--kc-fs-sub); line-height: var(--kc-lh-sub); color: var(--kc-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-sharesheet__ch { display: flex; gap: var(--kc-sp-6); justify-content: flex-start; margin-top: var(--kc-sp-5); }
.kc-sharesheet__c {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 64px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: var(--kc-text);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.kc-sharesheet__c[hidden] { display: none; }
.kc-sharesheet__c[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.kc-sharesheet__o {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--kc-r-pill);
	background: var(--kc-fill);
	transition: transform var(--kc-dur-fast) var(--kc-ease-out), background-color var(--kc-dur-fast) var(--kc-ease-out);
}
.kc-sharesheet__o svg { width: 24px; height: 24px; }
.kc-sharesheet__c--kakao .kc-sharesheet__o { background: var(--kc-kakao); color: #000; }
.kc-sharesheet__c--kakao .kc-sharesheet__o svg { width: 28px; height: 26px; }
.kc-sharesheet__c:active .kc-sharesheet__o { transform: scale(var(--kc-press-fab)); }
.kc-sharesheet__c:focus-visible .kc-sharesheet__o { outline: 2px solid var(--kc-ink); outline-offset: 2px; }
.kc-sharesheet__l { margin-top: var(--kc-sp-2); font-size: var(--kc-fs-cap); line-height: var(--kc-lh-cap); font-weight: 500; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
	.kc-sharesheet__c:hover .kc-sharesheet__o { background: var(--kc-fill-hover); }
	.kc-sharesheet__c--kakao:hover .kc-sharesheet__o { background: #F5DC00; }
}
@media (min-width: 768px) {
	.kc-sharesheet {
		inset: 0;
		width: 400px;
		max-width: calc(100% - 32px);
		height: fit-content;
		max-height: 80vh;
		margin: auto;
		padding: 24px;
		border-radius: 22px;
		transform: scale(.96);
		opacity: 0;
		transition: transform var(--kc-dur-base) var(--kc-ease-in), opacity 120ms var(--kc-ease-in), overlay var(--kc-dur-base) allow-discrete, display var(--kc-dur-base) allow-discrete;
	}
	.kc-sharesheet[open] { transform: scale(1); opacity: 1; transition: transform var(--kc-dur-base) var(--kc-ease-out), opacity var(--kc-dur-base) var(--kc-ease-out), overlay var(--kc-dur-base) allow-discrete, display var(--kc-dur-base) allow-discrete; }
	@starting-style {
		.kc-sharesheet[open] { transform: scale(.96); opacity: 0; }
	}
	.kc-sharesheet__grip { display: none; }
	.kc-sharesheet__close { display: inline-flex; align-items: center; justify-content: center; }
	.kc-sharesheet__card { margin-top: var(--kc-sp-6); }
}
@media (prefers-reduced-motion: reduce) {
	.kc-sharesheet, .kc-sharesheet[open], .kc-sharesheet::backdrop, .kc-sharesheet__o { transition: none; }
}

/* ---------- 키트 화면 (?fxt_screen=kit) ---------- */
.kc-kit { max-width: 960px; margin: 0 auto; padding: 0 var(--kc-sp-4) var(--kc-sp-16); font-family: var(--kc-font); color: var(--kc-text); }
.kc-kit h2 { margin: var(--kc-sp-10) 0 var(--kc-sp-3); font-size: var(--kc-fs-sec); line-height: var(--kc-lh-sec); font-weight: var(--kc-fw-sec); }
.kc-kit h3 { margin: var(--kc-sp-5) 0 var(--kc-sp-2); font-size: var(--kc-fs-sub); line-height: var(--kc-lh-sub); font-weight: 700; color: var(--kc-text-3); }
.kc-kit__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--kc-sp-3); }
.kc-kit__todo { margin: 0; padding: var(--kc-sp-3); border-radius: var(--kc-r-sm); background: var(--kc-fill); color: var(--kc-text-3); font-size: var(--kc-fs-sub); }
.kc-kit__dark { padding: var(--kc-sp-4); border-radius: var(--kc-r-md); background: var(--kc-dark); }

/* @compat-begin R3 */
/* (없음 — 옛 FAB·공유 규칙의 삭제는 화면 소유자가 한다) */
/* @compat-end R3 */

/* ======================================================================
   R3 최종 검수 수정(2026-11-12). 이 파일이 화면 CSS 맨 끝이라 같은 우선순위면 여기가 이긴다.
   ====================================================================== */

/* 1 단체 발송: 라벨 / 값 / 캡션 분리. 라디오 라벨은 줄바꿈 없이, 캡션은 따로 한 줄 */
.fxt-admin-app .fxt-bc-grid .fxt-rf__chk { white-space: nowrap; flex-shrink: 0; min-height: 40px; }
.fxt-admin-app .fxt-bc-grid .fxt-field__label { white-space: nowrap; flex-shrink: 0; }
.fxt-admin-app .fxt-bc-grid .fxt-bc__cap { margin: 0 0 8px; font-size: 13px; line-height: 19px; color: var(--fxt-muted, #6b7280); }
.fxt-admin-app .fxt-bc-grid .fxt-bc__cap + .fxt-input,
.fxt-admin-app .fxt-bc-grid .fxt-bc__cap + .fxt-bc__chfix { margin-top: 0; }
.fxt-admin-app .fxt-bc-grid .fxt-field__label + .fxt-bc__cap { margin-top: 0; }

/* 3 결과·글 상세: 점수 카드(.kc-hero)와 다음 섹션 사이 = 섹션 간격(PC 32 / 모바일 24) */
body.fxt-screen .fxt-rv__cardhead.kc-hero { margin-bottom: 32px; }
@media (max-width: 767px) { body.fxt-screen .fxt-rv__cardhead.kc-hero { margin-bottom: 24px; } }

/* 4 마이 대시보드: 「할 일」 묶음과 다음 카드 사이 */
.kmy .kmy-grp + .kmy-rec, .kmy .kmy-grp + .fxt-w, .kmy .kmy-grp + .kmy-two { margin-top: 32px; }
@media (max-width: 767px) { .kmy .kmy-grp + .kmy-rec, .kmy .kmy-grp + .fxt-w, .kmy .kmy-grp + .kmy-two { margin-top: 24px; } }

/* 6 운영 카드 안쪽 여백: 표가 아닌 목록 래퍼(안내·링크·카드 줄)는 16 */
.fxt-admin-app .fxt-lk-card.fxt-flist,
.fxt-admin-app .fxt-lk-card.fxt-appr-card,
.fxt-admin-app .fxt-lk-card.fxt-main--wide,
.fxt-admin-app .fxt-lk-card:has(> .fxt-lk-bulk) { padding: 16px; box-sizing: border-box; }

/* 7 모임 목록: 내 응답 상태 = 칩(눌리는 모양 아님) — 흰 바탕·1px 테두리·색 점(EV-1) */
.kcg-me { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; color: var(--ink, #0B0B0C); box-shadow: inset 0 0 0 1px var(--line, #E5E5E7); }
.kcg-me--attend::before, .kcg-me--maybe::before, .kcg-me--absent::before, .kcg-me--todo::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #9AA0A6; }
.kcg-me--attend::before { background: #1F9D55; }
.kcg-me--maybe::before { background: #D98E04; }
.kcg-me--absent::before { background: #9AA0A6; }
.kcg-me--absent { color: #6B6B6F; }
.kcg-me--todo::before { background: #DC1E28; } /* 빨강은 미응답 점에만(킥크루 규칙) */
.kcg-me--none { background: var(--fill, #F1F1EC); color: var(--label3, #6B6B6B); box-shadow: none; }

/* 9 회원 관리 역할 배지: 이름 폭만큼 늘어나지 않게 */
.fxt-adm__who { align-items: flex-start; }
.fxt-adm__who .kc-role { width: max-content; align-self: flex-start; }

/* 11 벌금 관리: 체크박스 없는 행도 같은 폭의 빈 칸 */
.fxt-bulk__chk--ph { cursor: default; pointer-events: none; }

/* 13 경기 목록 PC: 가운데 묶음을 고정 폭 그리드로 → 「마감 임박」 칩이 있어도 열이 같다 */
@media (min-width: 992px) {
	.fxt-mcard { grid-template-columns: minmax(0, 1fr) 236px minmax(0, 1fr) minmax(0, 200px); }
	.fxt-mcard .fxt-mcard__mid { display: grid; grid-template-columns: 72px 56px auto; justify-content: start; align-items: center; column-gap: 6px; width: 236px; min-width: 0; }
	.fxt-mcard .fxt-mcard__mid .fxt-mcard__score { text-align: center; }
}

/* 12 칩 줄 앞에 떠 있는 세로선: 모바일에서는 없앤다 */
@media (max-width: 767px) {
	.fxt-admin-app .fxt-lk-presets { border-left: 0; padding-left: 0; align-self: flex-start; }
	/* 14 회원 카드: 「선택」「단원」 data-label 숨김 */
	.fxt-tbl td.fxt-tbl__sel[data-label]::before, .fxt-tbl td.fxt-tbl__name[data-label]::before { display: none; }
}

/* 16 마이·마이 설정 섹션 제목 = h2.kc-sech(18/600) */
body.fxt-screen .kmy h2.kc-sech,
body.fxt-screen .kmy h2.fxt-w__title,
body.fxt-screen .kmy h2.fxt-todo__title,
body.fxt-screen .kmy .kmy-rec__h h2 { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: var(--kc-text, #111); margin: 0 0 12px; }
body.fxt-screen .kmy .kmy-rec__h h2 { margin-bottom: 0; }

/* 17 보조 글자 12 → 13 (하단 탭 라벨·.kc-role 제외) */
body .fxt-mday__list .fxt-mcard .fxt-mcard__status,
body .fxt-mday__list .fxt-mcard .fxt-mcard__venue,
body .fxt-mday__list .fxt-mcard .fxt-mcard__outcome,
body .fxt-mcard .fxt-mcard__status,
body .fxt-mcard .fxt-mcard__venue { font-size: 13px; line-height: 18px; }
body .fxt-mcard .fxt-mcard__outcome { font-size: 13px; }

/* 19 게시판 전체 보기 메타: 분류 뒤 「·」 간격(이중 공백 방지) */
@media (max-width: 767px) {
	.fxt-page .fluxboard-board .fluxboard-board__cat-badge::after { margin: 0 0 0 4px; }
	.fxt-page .fluxboard-board .fluxboard-board__table tbody td.fluxboard-board__cat-cell + td.fluxboard-board__author-cell { margin-left: -6px; }
}

/* 21 작전판 쿼터 세그: 막대가 40(터치 영역)이라 껍데기를 키워 아래가 잘리지 않게 */
.fxt-admin-app .kc-seg.kc-seg--s { height: auto; min-height: var(--kc-seg-h, 32px); }

/* 9(추가) 작성자 팝업의 역할 배지도 이름 폭만큼 늘어나지 않게 */
.fluxboard-popover .kc-role { width: max-content; align-self: flex-start; }

/* R3 최종 검수 수정 25·26: 「입력칸 + 버튼」 한 줄(작전판 임시선수 추가·결과 입력 임시선수)은 같은 컨트롤 높이(공통 버튼 M = --kc-h-btn-m, 40)·세로 가운데·입력칸이 남은 폭을 채운다 */
.fxt-tac__guestadd, .fxt-rf__guestadd { display: flex; align-items: center; gap: var(--kc-sp-2, 8px); }
body.fxt-screen .fxt-tac__guestadd input, body.fxt-screen .fxt-rf__guestadd input { flex: 1 1 0; min-width: 0; box-sizing: border-box; height: var(--kc-h-btn-m, 40px); min-height: var(--kc-h-btn-m, 40px); margin: 0; }
.fxt-tac__guestadd > button, .fxt-rf__guestadd > button { flex: none; box-sizing: border-box; height: var(--kc-h-btn-m, 40px) !important; min-height: var(--kc-h-btn-m, 40px) !important; margin: 0; }

/* 공유 시트: 「다른 앱으로 공유」는 채널 아래 한 줄 행(휴대폰 공유창은 이 행을 눌렀을 때만 열린다) */
.kc-sharesheet__ch { flex-wrap: wrap; row-gap: var(--kc-sp-3); }
.kc-sharesheet__c--more { flex-direction: row; width: 100%; height: 48px; padding: 0 var(--kc-sp-3); box-sizing: border-box; border-radius: var(--kc-r-md); background: var(--kc-fill); gap: var(--kc-sp-3); }
.kc-sharesheet__c--more .kc-sharesheet__o { width: 24px; height: 24px; background: transparent; }
.kc-sharesheet__c--more .kc-sharesheet__l { margin-top: 0; font-size: var(--kc-fs-body); line-height: var(--kc-lh-body); }
.kc-sharesheet__c--more:focus-visible { outline: 2px solid var(--kc-ink); outline-offset: 2px; }
