/* I Love Calcu – Floating Calculator */
.ilc-fc-root{
	position:fixed;
	right:0;
	bottom:0;
	z-index:2147483646;
	pointer-events:none;
	overflow:visible;
}
.ilc-fc-toggle,
.ilc-fc-panel{
	pointer-events:auto;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.ilc-fc-toggle{
	position:fixed;
	right:calc(18px + env(safe-area-inset-right));
	bottom:calc(18px + env(safe-area-inset-bottom));
	width:56px;
	height:56px;
	border-radius:14px;
	border:1px solid rgba(255,255,255,0.14);
	background:rgba(14,16,20,0.94);
	box-shadow:0 10px 28px rgba(0,0,0,0.42), 0 0 0 1px rgba(0,191,255,0.10);
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	-webkit-tap-highlight-color: transparent;
	outline:none;
}
@media (max-width: 480px){
	.ilc-fc-toggle{
		width:52px;
		height:52px;
		border-radius:13px;
	}
}
.ilc-fc-toggle:focus-visible{
	box-shadow:0 10px 28px rgba(0,0,0,0.42), 0 0 0 3px rgba(0,191,255,0.45);
}
.ilc-fc-toggle:hover{
	box-shadow:0 12px 32px rgba(0,0,0,0.46), 0 0 0 2px rgba(0,191,255,0.22);
}
.ilc-fc-toggle-icon{
	display:flex;
	align-items:center;
	justify-content:center;
}
.ilc-fc-toggle svg{
	display:block;
}

.ilc-fc-panel{
	position:fixed;
	right:calc(18px + env(safe-area-inset-right));
	bottom:calc(18px + env(safe-area-inset-bottom) + 56px + 10px);
	width:360px;
	max-width:min(360px, calc(100vw - 24px));
	max-height:calc(100vh - 24px);
	border-radius:16px;
	background:rgba(14,16,20,0.96);
	border:1px solid rgba(255,255,255,0.12);
	box-shadow:0 18px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,191,255,0.10);
	backdrop-filter:saturate(120%) blur(10px);
	-webkit-backdrop-filter:saturate(120%) blur(10px);
	overflow:hidden;
	display:flex;
	flex-direction:column;
	touch-action:none;
}
@media (max-width: 480px){
	.ilc-fc-panel{
		bottom:calc(18px + env(safe-area-inset-bottom) + 52px + 10px);
	}
}

.ilc-fc-hidden{
	opacity:0;
	transform:translateY(8px) scale(0.98);
	visibility:hidden;
	pointer-events:none;
}

.ilc-fc-header{
	height:44px;
	min-height:44px;
	display:flex;
	align-items:center;
	padding:0 14px;
	border-bottom:1px solid rgba(255,255,255,0.10);
	cursor:grab;
	user-select:none;
	-webkit-user-select:none;
}
.ilc-fc-header:active{
	cursor:grabbing;
}
.ilc-fc-header-left{
	display:inline-flex;
	align-items:center;
	gap:10px;
	color:rgba(255,255,255,0.90);
	font-size:13px;
	letter-spacing:0.3px;
}
.ilc-fc-dot{
	width:8px;
	height:8px;
	border-radius:999px;
	background:#00BFFF;
	box-shadow:0 0 0 3px rgba(0,191,255,0.18);
}
.ilc-fc-body{
	padding:12px;
	display:flex;
	flex-direction:column;
	gap:10px;
}
.ilc-fc-display{
	height:54px;
	min-height:54px;
	border-radius:12px;
	background:rgba(0,0,0,0.28);
	border:1px solid rgba(255,255,255,0.08);
	padding:10px 12px;
	color:rgba(255,255,255,0.94);
	font-size:22px;
	line-height:32px;
	text-align:right;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	outline:none;
}
.ilc-fc-display:focus-visible{
	box-shadow:0 0 0 3px rgba(0,191,255,0.40);
}

.ilc-fc-keys{
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:10px;
}
.ilc-fc-key{
	height:44px;
	min-height:44px;
	border-radius:12px;
	border:1px solid rgba(255,255,255,0.10);
	background:rgba(255,255,255,0.06);
	color:rgba(255,255,255,0.92);
	font-size:15px;
	cursor:pointer;
	-webkit-tap-highlight-color: transparent;
	outline:none;
}
.ilc-fc-key:focus-visible{
	box-shadow:0 0 0 3px rgba(0,191,255,0.40);
}
.ilc-fc-key:hover{
	background:rgba(255,255,255,0.09);
}
.ilc-fc-key:active{
	transform:translateY(1px);
}
.ilc-fc-key-op{
	background:rgba(0,191,255,0.10);
	border-color:rgba(0,191,255,0.22);
}
.ilc-fc-key-equals{
	background:rgba(0,191,255,0.18);
	border-color:rgba(0,191,255,0.30);
	font-weight:600;
}
.ilc-fc-key-clear{
	background:rgba(255,255,255,0.06);
}
.ilc-fc-key-backspace{
	background:rgba(255,255,255,0.06);
}
.ilc-fc-key-sign{
	background:rgba(255,255,255,0.06);
}
.ilc-fc-key-percent{
	background:rgba(255,255,255,0.06);
}

.ilc-fc-sr{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
