.ipif {
	margin: 0 0 22px;
	border: 1px solid #d5e6f2;
	border-radius: 18px;
	overflow: hidden;
	background: #e8f4fb;
	font-family: Arial, Helvetica, sans-serif;
	color: #1c2128;
}
.ipif-top {
	position: relative;
	background: #1a76b0;
	color: #fff;
	text-align: center;
	padding: 22px 64px 26px;
}
.ipif-ttl {
	font-size: 18px;
	font-weight: 600;
}
.ipif-addr {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 6px;
}
.ipif-ip {
	font-size: 42px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: 0.5px;
	word-break: break-all;
}
.ipif-copy,
.ipif-cli {
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	padding: 0;
}
.ipif-copy {
	width: 28px;
	height: 28px;
}
.ipif-copy svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}
.ipif-cli {
	position: absolute;
	top: 14px;
	right: 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
}
.ipif-box {
	display: none;
	margin: 14px auto 0;
	max-width: 100%;
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	text-align: left;
	font-size: 13px;
	line-height: 1.4;
	white-space: pre-wrap;
	word-break: break-all;
}
.ipif-box.on {
	display: block;
}
.ipif-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ipif-cell {
	padding: 14px 16px 16px;
	border-top: 1px solid #d5e6f2;
	border-right: 1px solid #d5e6f2;
	min-width: 0;
}
.ipif-cell:nth-child(4n) {
	border-right: 0;
}
.ipif-lab {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #3d6f8c;
	font-size: 14px;
}
.ipif-lab svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: none;
	stroke: #2f7eb4;
	stroke-width: 1.8;
}
.ipif-val {
	display: inline-block;
	margin: 8px 0 0 26px;
	max-width: 100%;
	color: #1c2128;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-word;
}
@media (max-width: 900px) {
	.ipif-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ipif-cell:nth-child(4n) {
		border-right: 1px solid #d5e6f2;
	}
	.ipif-cell:nth-child(2n) {
		border-right: 0;
	}
	.ipif-ip {
		font-size: 32px;
	}
}
@media (max-width: 560px) {
	.ipif-top {
		padding: 36px 16px 20px;
	}
	.ipif-grid {
		grid-template-columns: 1fr;
	}
	.ipif-cell,
	.ipif-cell:nth-child(2n),
	.ipif-cell:nth-child(4n) {
		border-right: 0;
	}
	.ipif-ip {
		font-size: 26px;
	}
}
