@charset "UTF-8";
/*
	Cookie consent (modules/cookie-consent.php), as on new.metadas.com:
	the bar along the bottom of the window, and Manage's switches. The
	banner is shown by js/cookie-consent.js adding .mm-visible, and Manage
	opened by .mm-open. --mm-bgcolor and --mm-txcolor are its colours.
	In the modules layer that main.css declares, so main.css must load first.
*/
@layer modules {
	:root {--mm-bgcolor:var(--c-blue-dk); --mm-txcolor:var(--c-white);}
	#mm-banner {position: fixed; bottom: 0; left: 0; right: 0; z-index:99; background:var(--mm-bgcolor); color:var(--mm-txcolor); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); margin: 0; padding: 0;}
	#mm-banner.mm-visible {transform: translateY(0);}
	.mm-bar {display: flex; align-items: center; justify-content: space-between; gap:24px; padding:14px 24px; margin: 0 auto; flex-wrap: wrap;}
	.mm-bar-left {display: flex; align-items: center; gap: 16px; flex: 1; min-width: 260px;}
	.mm-bar-text {flex: 1;}
	.mm-bar-text p {color:var(--mm-txcolor);}
	.mm-bar-text a {color:var(--mm-txcolor); text-decoration: underline; text-underline-offset: 2px;}
	.mm-bar-actions {display: flex; gap: 8px; align-items: center; flex-shrink: 0;}
	.mm-btn {padding: 7px 16px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s;}
	.mm-btn-outline {background:#006080; color: #FEC852; border-color: #333;}
	.mm-btn-outline:hover {background: #1e1e1e; color: #FFF; border-color: #444;}
	.mm-btn-accept {background: #fec346; color: #0f0f0f; border-color: transparent;}
	.mm-btn-accept:hover {background: #FFF;}
	#mm-manage-link {cursor:pointer;}
	#mm-manage-link:hover {color: #62bdff;}
	#mm-panel {display: none; border-top: 1px solid #1e1e1e; padding: 0 24px 20px;}
	#mm-panel.mm-open {display: block;}
	.mm-panel-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding-top: 16px;}
	.mm-category {background: #181818; border: 1px solid #252525; border-radius: 8px; padding: 12px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;}
	.mm-category-info {flex: 1;}
	.mm-category-name {color: #FFF; margin-bottom: 4px; letter-spacing: 0.02em;}
	.mm-category-desc {color: #FFF; line-height: 1.5;}
	.mm-toggle {position: relative; width: 32px; height: 18px; flex-shrink: 0; margin-top: 2px;}
	.mm-toggle input {opacity: 0; width: 0; height: 0; position: absolute;}
	.mm-toggle-track {position: absolute; inset: 0; background: #2a2a2a; border-radius: 9px; cursor: pointer; transition: background 0.2s; border: 1px solid #333;}
	.mm-toggle input:checked + .mm-toggle-track {background: #4a7c59; border-color: #4a7c59;}
	.mm-toggle input:disabled + .mm-toggle-track {cursor: not-allowed; opacity: 0.5;}
	.mm-toggle-thumb {position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: #555; border-radius: 50%; pointer-events: none; transition: transform 0.2s, background 0.2s;}
	.mm-toggle input:checked ~ .mm-toggle-thumb {transform: translateX(14px); background: #fff;}
	.mm-panel-footer {display: flex; justify-content: flex-end; gap: 8px; padding-top: 16px; border-top: 1px solid #1e1e1e; margin-top: 14px;}
	@media (max-width: 640px) {
		.mm-bar {padding: 12px 16px; gap: 12px;}
		.mm-panel-grid {grid-template-columns: 1fr 1fr;}
		.mm-bar-actions {width: 100%; justify-content: flex-end;}
	}
	@media (max-width: 420px) {.mm-panel-grid {grid-template-columns: 1fr;}}
}
