/* =============================================
   wkw-cross.css — 情報の三点照合ブロック
   複数の情報源を突き合わせて判断する場面で使う
   ファイル名から自動判定（本文に wkw-cross- があれば読み込み）
   ============================================= */

.wkw-cross {
	--wkw-pink:  #e8357a;
	--wkw-pink2: #f06fa0;
	--wkw-deep:  #a01848;
	--wkw-dark:  #c0206a;
	--wkw-pale:  #fde0ee;
	--wkw-green: #1a9e64;
	--wkw-red:   #dc1e32;
	--wkw-ink:   #2a0f1a;

	font-family: inherit;
	max-width: 720px;
	margin: 26px auto;
	background: #fff;
	border: 1px solid var(--wkw-pale);
	border-radius: 14px;
	overflow: hidden;
	color: var(--wkw-ink);
}

.wkw-cross *,
.wkw-cross *::before,
.wkw-cross *::after { box-sizing: border-box; }

.wkw-cross-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	padding: 12px 16px 11px;
	background: linear-gradient(90deg, var(--wkw-pink) 0%, var(--wkw-pink2) 55%, var(--wkw-pink) 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.05em;
	position: relative;
	overflow: hidden;
}

.wkw-cross-head::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-55deg, transparent, transparent 6px,
		rgba(255,255,255,0.06) 6px, rgba(255,255,255,0.06) 7px);
	pointer-events: none;
}

.wkw-cross-head > * { position: relative; z-index: 1; }

.wkw-cross-head span {
	font-size: 10.5px;
	font-weight: 700;
	color: rgba(255,255,255,0.85);
	background: rgba(0,0,0,0.18);
	border-radius: 20px;
	padding: 2px 9px;
	white-space: nowrap;
}

.wkw-cross-body { padding: 14px 14px 6px; }

/* ── 情報源のカード ── */

.wkw-cross-sources {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.wkw-cross-card {
	background: #faf8f9;
	border: 1px solid #efe9eb;
	border-radius: 10px;
	padding: 10px 10px 11px;
	text-align: center;
}

.wkw-cross-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: linear-gradient(160deg, var(--wkw-pink), var(--wkw-deep));
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.wkw-cross-name {
	display: block;
	font-size: 12px;
	font-weight: 900;
	color: #3a2028;
	line-height: 1.4;
	margin-bottom: 4px;
}

.wkw-cross-what {
	display: block;
	font-size: 10.5px;
	line-height: 1.65;
	color: #75696e;
}

/* ── 判定 ── */

.wkw-cross-result {
	margin-top: 12px;
	display: grid;
	gap: 8px;
}

.wkw-cross-line {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 11px 12px;
	border-radius: 9px;
	font-size: 12.5px;
	line-height: 1.8;
}

.wkw-cross-line::before {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	margin-top: 2px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	color: #fff;
}

.wkw-cross-line--ok {
	background: #f6fbf8;
	border: 1px solid rgba(30,160,100,0.22);
	color: #1c5040;
}

.wkw-cross-line--ok::before { content: '\2713'; background: var(--wkw-green); }

.wkw-cross-line--ng {
	background: #fff6f7;
	border: 1px solid rgba(220,30,50,0.2);
	color: #6f1f28;
}

.wkw-cross-line--ng::before { content: '\00d7'; background: var(--wkw-red); }

.wkw-cross-line b { font-weight: 900; }
.wkw-cross-line--ok b { color: var(--wkw-green); }
.wkw-cross-line--ng b { color: var(--wkw-red); }

.wkw-cross-foot {
	padding: 12px 16px;
	background: #fff8fb;
	border-top: 1px solid #f4f0f2;
	font-size: 12px;
	line-height: 1.85;
	color: #5a3a48;
}

.wkw-cross-foot b { font-weight: 900; color: var(--wkw-dark); }

@media (max-width: 560px) {
	.wkw-cross { margin: 20px auto; border-radius: 12px; }
	.wkw-cross-body { padding: 12px 12px 4px; }
	.wkw-cross-sources { grid-template-columns: 1fr; gap: 7px; }
	.wkw-cross-card { display: flex; align-items: flex-start; gap: 9px; text-align: left; padding: 10px; }
	.wkw-cross-num { margin-bottom: 0; flex-shrink: 0; }
	.wkw-cross-card > div { flex: 1; min-width: 0; }
	.wkw-cross-line { font-size: 12px; }
}
