/* NextCut süti-sáv – grafit és arany, a téma betűtípusát örökli. */
.ncc-cc {
	--ncc-bg: #1f2226;
	--ncc-line: rgba(255, 255, 255, 0.14);
	--ncc-text: #c9cdd2;
	--ncc-title: #fff;
	--ncc-gold: #c9a45c;
	--ncc-gold-hover: #d8b674;
	--ncc-ink: #141618;
	position: fixed;
	z-index: 99990;
	left: 20px;
	bottom: 20px;
	box-sizing: border-box;
	width: min(440px, calc(100vw - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 22px 22px 18px;
	background: var(--ncc-bg);
	color: var(--ncc-text);
	border: 1px solid var(--ncc-line);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.ncc-cc.is-open { opacity: 1; transform: none; }
.ncc-cc[hidden] { display: none; }
.ncc-cc *,
.ncc-cc *::before,
.ncc-cc *::after { box-sizing: border-box; }
.ncc-cc p { margin: 0; }
.ncc-cc__title { color: var(--ncc-title); font-weight: 750; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px !important; }
.ncc-cc__text a,
.ncc-cc__link { color: var(--ncc-gold); text-decoration: underline; text-underline-offset: 3px; }
.ncc-cc__text a:hover,
.ncc-cc__link:hover { color: var(--ncc-gold-hover); }
.ncc-cc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ncc-cc__btn {
	flex: 1 1 140px;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--ncc-gold);
	color: var(--ncc-ink);
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.ncc-cc__btn:hover { background: var(--ncc-gold-hover); }
.ncc-cc__btn:focus-visible,
.ncc-cc__link:focus-visible,
.ncc-switch:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ncc-cc__link { display: inline-block; margin-top: 12px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; cursor: pointer; }
.ncc-cc--info { display: flex; align-items: center; gap: 16px; }
.ncc-cc--info[hidden] { display: none; }
.ncc-cc--info .ncc-cc__actions { margin-top: 0; flex: 0 0 auto; }
.ncc-cc--info .ncc-cc__btn { flex: 0 0 auto; padding: 10px 22px; }

.ncc-cc__cats { margin-top: 10px; border-top: 1px solid var(--ncc-line); }
.ncc-cat { padding: 12px 0; border-bottom: 1px solid var(--ncc-line); }
.ncc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.ncc-cat__name { color: var(--ncc-title); font-weight: 700; }
.ncc-cat__always { font-size: 13px; color: var(--ncc-gold); font-weight: 600; }
.ncc-cat__desc { margin-top: 4px !important; font-size: 13.5px; line-height: 1.5; color: #9ea4ab; }

.ncc-switch {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: #3a3e44;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.ncc-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s ease;
}
.ncc-switch:checked { background: var(--ncc-gold); }
.ncc-switch:checked::after { transform: translateX(18px); }

@media (max-width: 560px) {
	.ncc-cc {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 85vh;
		border-radius: 18px 18px 0 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		padding: 20px 18px calc(16px + env(safe-area-inset-bottom));
	}
	.ncc-cc__btn { flex-basis: 100%; }
	.ncc-cc--info { flex-direction: column; align-items: stretch; gap: 12px; }
	.ncc-cc--info .ncc-cc__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ncc-cc { transition: none; }
}
@media print {
	.ncc-cc { display: none !important; }
}
