:root {
			--bg1: #0f172a;
			--bg2: #111827;
			--card: rgba(255, 255, 255, 0.08);
			--card-border: rgba(255, 255, 255, 0.18);
			--text: #f8fafc;
			--muted: #cbd5e1;
			--accent: #38bdf8;
			--accent2: #22d3ee;
			--good: #10b981;
			--danger: #fb7185;
			--body-background:
				radial-gradient(1000px 600px at 10% 10%, #0ea5e933, transparent 60%),
				radial-gradient(800px 500px at 90% 0%, #8b5cf633, transparent 60%),
				linear-gradient(135deg, var(--bg1), var(--bg2));
		}

		.boards-brand {
 	   display: none!important;
		}		

		body[data-theme="sky-bright"] {
			--bg1: #e0f2fe;
			--bg2: #f8fbff;
			--card: rgba(255, 255, 255, 0.78);
			--card-border: rgba(14, 116, 144, 0.24);
			--text: #0b1b3b;
			--muted: #1e3a8a;
			--accent: #0284c7;
			--accent2: #0ea5e9;
			--good: #16a34a;
			--danger: #ef4444;
			--body-background:
				radial-gradient(1000px 620px at 8% 8%, rgba(56, 189, 248, 0.28), transparent 58%),
				radial-gradient(900px 520px at 94% 0%, rgba(59, 130, 246, 0.18), transparent 58%),
				linear-gradient(145deg, #ecfeff, #f0f9ff 45%, #ffffff);
		}

		body[data-theme="forest"] {
			--bg1: #0b1f17;
			--bg2: #123024;
			--card: rgba(236, 253, 245, 0.08);
			--card-border: rgba(52, 211, 153, 0.24);
			--text: #ecfdf5;
			--muted: #a7f3d0;
			--accent: #22c55e;
			--accent2: #10b981;
			--good: #34d399;
			--danger: #fb7185;
			--body-background:
				radial-gradient(1000px 600px at 8% 8%, rgba(34, 197, 94, 0.2), transparent 60%),
				radial-gradient(840px 520px at 92% 0%, rgba(16, 185, 129, 0.18), transparent 58%),
				linear-gradient(140deg, #052e1f, #0b2f22 45%, #134e3a);
		}

		* { box-sizing: border-box; }

		* {
			scrollbar-width: thin;
			scrollbar-color: rgba(148, 163, 184, 0.65) rgba(15, 23, 42, 0.35);
		}

		*::-webkit-scrollbar {
			width: 10px;
			height: 10px;
		}

		*::-webkit-scrollbar-track {
			background: rgba(15, 23, 42, 0.35);
			border-radius: 999px;
		}

		*::-webkit-scrollbar-thumb {
			background: linear-gradient(180deg, rgba(148, 163, 184, 0.9), rgba(100, 116, 139, 0.9));
			border-radius: 999px;
			border: 2px solid rgba(15, 23, 42, 0.35);
		}

		*::-webkit-scrollbar-thumb:hover {
			background: linear-gradient(180deg, rgba(203, 213, 225, 0.95), rgba(148, 163, 184, 0.95));
		}

		body {
			margin: 0;
			min-height: 100vh;
			min-height: 100svh;
			font-family: 'Jost', Segoe UI, Roboto, Arial, sans-serif;
			color: var(--text);
			background: var(--body-background);
			background-attachment: fixed;
			padding: 28px 16px 40px;
			overflow-x: hidden;
		}

		.app-loader {
			position: fixed;
			inset: 0;
			z-index: 5000;
			display: grid;
			place-items: center;
			padding: 24px;
			background:
				radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.24), transparent 24%),
				radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.12), transparent 42%),
				rgba(5, 10, 24, 0.68);
			backdrop-filter: blur(20px) saturate(140%);
			transition: opacity 280ms ease, visibility 280ms ease;
		}

		body[data-theme="sky-bright"] .app-loader {
			background:
				radial-gradient(circle at 50% 42%, rgba(14, 165, 233, 0.2), transparent 24%),
				radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.1), transparent 42%),
				rgba(239, 246, 255, 0.72);
		}

		body[data-theme="forest"] .app-loader {
			background:
				radial-gradient(circle at 50% 42%, rgba(34, 197, 94, 0.18), transparent 24%),
				radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.12), transparent 42%),
				rgba(3, 16, 11, 0.72);
		}

		body[data-app-ready="true"] .app-loader {
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
		}

		body:not([data-app-ready="true"]) .wrap {
			filter: blur(8px);
			transform: scale(0.992);
			pointer-events: none;
			user-select: none;
			transition: filter 220ms ease, transform 220ms ease;
		}

		.app-loader-copy {
			display: grid;
			justify-items: center;
			gap: 10px;
			text-align: center;
			max-width: 460px;
		}

		.app-loader-title-row {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 14px;
			max-width: 100%;
		}

		.app-loader-logo {
			display: block;
			width: 56px;
			height: 56px;
			object-fit: contain;
			flex-shrink: 0;
			filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.24));
		}

		.app-loader-kicker {
			margin: 0;
			padding: 6px 12px;
			border: 1px solid rgba(255, 255, 255, 0.16);
			border-radius: 999px;
			background: rgba(255, 255, 255, 0.06);
			font-size: 0.82rem;
			letter-spacing: 0.18em;
			text-transform: uppercase;
			color: var(--muted);
		}

		body[data-theme="sky-bright"] .app-loader-kicker {
			border-color: rgba(14, 116, 144, 0.18);
			background: rgba(255, 255, 255, 0.62);
		}

		.app-loader-title {
			margin: 0;
			font-size: clamp(2.4rem, 6vw, 4.6rem);
			line-height: 0.92;
			letter-spacing: 0.05em;
			text-transform: uppercase;
			text-shadow: 0 10px 32px rgba(15, 23, 42, 0.26);
		}

		.app-loader-subtitle {
			margin: 0;
			font-size: 1rem;
			line-height: 1.55;
			color: var(--muted);
		}

		.app-loader-orb {
			position: relative;
			width: 248px;
			height: 248px;
			margin-bottom: 12px;
			display: grid;
			place-items: center;
		}

		.app-loader-orb::before,
		.app-loader-orb::after {
			content: "";
			position: absolute;
			border-radius: 50%;
		}

		.app-loader-orb::before {
			inset: 34px;
			background: radial-gradient(circle at 50% 48%, rgba(34, 211, 238, 0.28), rgba(14, 116, 144, 0.08) 54%, transparent 72%);
			box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.12), 0 18px 36px rgba(14, 165, 233, 0.24);
			animation: appLoaderCorePulse 1.8s ease-in-out infinite;
		}

		.app-loader-orb::after {
			inset: 0;
			border: 1px solid rgba(94, 234, 212, 0.28);
			animation: appLoaderRingSpin 3.2s linear infinite;
		}

		.app-loader-orb-ring {
			position: absolute;
			inset: 0;
			border-radius: 50%;
			border: 1px solid rgba(125, 211, 252, 0.16);
		}

		.app-loader-orb-ring:nth-child(1) {
			inset: 2px;
			animation: appLoaderRingPulse 1.9s ease-out infinite;
		}

		.app-loader-orb-ring:nth-child(2) {
			inset: 18px;
			animation: appLoaderRingPulse 1.9s ease-out infinite 0.4s;
		}

		.app-loader-orb-ring:nth-child(3) {
			inset: 34px;
			animation: appLoaderRingPulse 1.9s ease-out infinite 0.8s;
		}

		.app-loader-orb-logo {
			position: relative;
			z-index: 1;
			display: block;
			width: 172px;
			height: 172px;
			object-fit: contain;
			filter:
				drop-shadow(0 0 14px rgba(34, 211, 238, 0.34))
				drop-shadow(0 10px 22px rgba(2, 6, 23, 0.34));
			animation: appLoaderLogoFloat 2.1s ease-in-out infinite;
		}

		@keyframes appLoaderCorePulse {
			0%,
			100% {
				transform: scale(0.95);
				box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.12), 0 18px 34px rgba(14, 165, 233, 0.18);
			}
			50% {
				transform: scale(1.02);
				box-shadow: 0 0 0 1px rgba(165, 243, 252, 0.18), 0 22px 42px rgba(34, 211, 238, 0.3);
			}
		}

		@keyframes appLoaderRingSpin {
			from {
				transform: rotate(0deg);
			}
			to {
				transform: rotate(360deg);
			}
		}

		@keyframes appLoaderRingPulse {
			0% {
				transform: scale(0.84);
				opacity: 0;
			}
			35% {
				opacity: 0.55;
			}
			100% {
				transform: scale(1.12);
				opacity: 0;
			}
		}

		@keyframes appLoaderLogoFloat {
			0%,
			100% {
				transform: translateY(0) scale(0.98);
				filter:
					drop-shadow(0 0 14px rgba(34, 211, 238, 0.3))
					drop-shadow(0 10px 22px rgba(2, 6, 23, 0.32));
			}
			50% {
				transform: translateY(-6px) scale(1.03);
				filter:
					drop-shadow(0 0 22px rgba(34, 211, 238, 0.42))
					drop-shadow(0 14px 28px rgba(2, 6, 23, 0.38));
			}
		}

		@media (prefers-reduced-motion: reduce) {
			.app-loader,
			body:not([data-app-ready="true"]) .wrap,
			.app-loader-orb::before,
			.app-loader-orb::after,
			.app-loader-orb-ring,
			.app-loader-orb-logo {
				animation: none !important;
				transition: none !important;
			}
		}

		.page-lock-error {
			margin-top: 8px;
			color: var(--danger);
			font-size: 0.84rem;
			font-weight: 600;
		}

		.theme-switcher {
			position: static;
			max-width: 1240px;
			width: 100%;
			margin: 16px auto 0;
			display: flex;
			flex-direction: column;
			align-items: flex-end;
			gap: 8px;
		}

		body[data-modal-open="true"] .theme-switcher:not(.auth-theme-switcher) {
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
		}

		.theme-switcher-actions {
			display: flex;
			align-items: center;
			gap: 8px;
		}

		.theme-toggle-btn {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 7px 12px;
			font-size: 0.84rem;
			border-radius: 999px;
			background: rgba(15, 23, 42, 0.82);
			border: 1px solid rgba(148, 163, 184, 0.45);
			box-shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
		}

		.theme-toggle-btn-icon {
			font-size: 0.92rem;
			line-height: 1;
		}

		.theme-panel {
			display: none;
			background: rgba(15, 23, 42, 0.95);
			border: 1px solid rgba(148, 163, 184, 0.35);
			border-radius: 12px;
			padding: 8px;
			box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
			min-width: 172px;
			backdrop-filter: blur(8px);
		}

		.theme-panel.open {
			display: grid;
			gap: 6px;
		}

		.theme-option {
			width: 100%;
			text-align: left;
			padding: 7px 10px;
			font-size: 0.84rem;
			border-radius: 8px;
		}

		.theme-option.theme-sounds-option {
			display: inline-flex;
			align-items: center;
			justify-content: flex-start;
			gap: 7px;
		}

		.theme-sounds-option-icon {
			font-size: 0.92rem;
			line-height: 1;
		}

		.theme-sounds-option-label {
			line-height: 1;
		}

		.theme-option.is-active {
			border-color: rgba(56, 189, 248, 0.72);
			background: rgba(56, 189, 248, 0.2);
		}

		body[data-theme="sky-bright"] .theme-toggle-btn,
		body[data-theme="sky-bright"] .theme-panel {
			background: rgba(255, 255, 255, 0.95);
			border-color: rgba(14, 116, 144, 0.28);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .ghost {
			color: #0b1b3b;
			border-color: rgba(14, 116, 144, 0.35);
		}

		body[data-theme="sky-bright"] input[type="text"],
		body[data-theme="sky-bright"] input[type="number"],
		body[data-theme="sky-bright"] input[type="date"],
		body[data-theme="sky-bright"] textarea,
		body[data-theme="sky-bright"] select,
		body[data-theme="sky-bright"] .title-input,
		body[data-theme="sky-bright"] .board-name-input {
			background: rgba(255, 255, 255, 0.88);
			border-color: rgba(14, 116, 144, 0.35);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] input[type="text"]::placeholder,
		body[data-theme="sky-bright"] input[type="number"]::placeholder,
		body[data-theme="sky-bright"] textarea::placeholder,
		body[data-theme="sky-bright"] .title-input::placeholder,
		body[data-theme="sky-bright"] .board-name-input::placeholder {
			color: rgba(30, 58, 138, 0.7);
		}

		body[data-theme="sky-bright"] input[type="text"]:focus,
		body[data-theme="sky-bright"] input[type="number"]:focus,
		body[data-theme="sky-bright"] input[type="date"]:focus,
		body[data-theme="sky-bright"] textarea:focus,
		body[data-theme="sky-bright"] select:focus,
		body[data-theme="sky-bright"] .title-input:focus,
		body[data-theme="sky-bright"] .board-name-input:focus {
			border-color: #0284c7;
			box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
		}

		body[data-theme="sky-bright"] input[type="date"] {
			color-scheme: light;
		}

		body[data-theme="sky-bright"] input[type="date"]::-webkit-calendar-picker-indicator {
			filter: invert(25%) sepia(78%) saturate(906%) hue-rotate(171deg) brightness(94%) contrast(93%);
		}

		body[data-theme="sky-bright"] .task {
			background: rgba(186, 230, 253, 0.42);
			border-color: rgba(14, 116, 144, 0.24);
		}

		body[data-theme="sky-bright"] .task:hover {
			background: rgba(186, 230, 253, 0.62);
			border-color: rgba(2, 132, 199, 0.4);
		}

		body[data-theme="sky-bright"] .task input[type="checkbox"] {
			border-color: #0ea5e9;
			background: radial-gradient(circle at 30% 30%, #ffffff, #e0f2fe);
			box-shadow: 0 0 0 2px #ffffff, 0 2px 8px rgba(14, 116, 144, 0.22);
		}

		body[data-theme="sky-bright"] .task input[type="checkbox"]:hover {
			box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(2, 132, 199, 0.2);
		}

		body[data-theme="sky-bright"] .task input[type="checkbox"]:checked {
			border-color: #0284c7;
			background: linear-gradient(135deg, #38bdf8, #0ea5e9);
			box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(2, 132, 199, 0.2);
		}

		body[data-theme="sky-bright"] .task input[type="checkbox"].task-status-ongoing:checked {
			box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(16, 185, 129, 0.24), 0 0 18px rgba(16, 185, 129, 0.55);
		}

		body[data-theme="sky-bright"] .task input[type="checkbox"].task-status-styled {
			border: 2px solid transparent;
			background:
				radial-gradient(circle at 30% 30%, #ffffff, #e0f2fe) padding-box,
				var(--task-status-ring, linear-gradient(135deg, #0ea5e9, #38bdf8)) border-box;
		}

		body[data-theme="sky-bright"] .task input[type="checkbox"].task-status-styled:checked {
			border-color: transparent;
			background:
				url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230b1b3b' d='M6.3 11.6 2.9 8.2l1.4-1.4 2 2 5.4-5.4 1.4 1.4z'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
				radial-gradient(circle at 30% 30%, #ffffff, #e0f2fe) padding-box,
				var(--task-status-ring, linear-gradient(135deg, #0ea5e9, #38bdf8)) border-box;
		}

		body[data-theme="sky-bright"] .task-status-option {
			background: rgba(224, 242, 254, 0.72);
			border-color: rgba(14, 116, 144, 0.28);
		}

		body[data-theme="sky-bright"] .task-status-option:hover {
			border-color: rgba(2, 132, 199, 0.4);
			background: rgba(186, 230, 253, 0.88);
		}

		body[data-theme="sky-bright"] .task-status-option.is-selected {
			background: rgba(134, 239, 172, 0.5);
			border-color: rgba(22, 163, 74, 0.58);
			color: #14532d;
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 0 0 2px rgba(22, 163, 74, 0.16);
		}

		body[data-theme="sky-bright"] .task-status-option[data-status-key="ongoing"].is-selected {
			background: rgba(110, 231, 183, 0.5);
			border-color: rgba(5, 150, 105, 0.58);
			color: #065f46;
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 0 0 2px rgba(5, 150, 105, 0.16);
		}

		body[data-theme="sky-bright"] .task-status-option.is-selected:hover {
			background: rgba(134, 239, 172, 0.58);
			border-color: rgba(22, 163, 74, 0.62);
		}

		body[data-theme="sky-bright"] .task-status-option[data-status-key="ongoing"].is-selected:hover {
			background: rgba(110, 231, 183, 0.58);
			border-color: rgba(5, 150, 105, 0.62);
		}

		body[data-theme="sky-bright"] .board-item {
			background: rgba(224, 242, 254, 0.65);
			border-color: rgba(14, 116, 144, 0.25);
		}

		body[data-theme="sky-bright"] .board-item.active {
			background: rgba(186, 230, 253, 0.85);
			border-color: rgba(2, 132, 199, 0.5);
		}

		body[data-theme="sky-bright"] #newListIconBtn,
		body[data-theme="sky-bright"] #addListBtn,
		body[data-theme="sky-bright"] #openGoalsMapBtn,
		body[data-theme="sky-bright"] #reorderListsBtn,
		body[data-theme="sky-bright"] .create-list-menu,
		body[data-theme="sky-bright"] .create-list-menu-btn,
		body[data-theme="sky-bright"] .show-images-toggle,
		body[data-theme="sky-bright"] #addBoardBtn,
		body[data-theme="sky-bright"] .boards-menu-btn {
			background: rgba(255, 255, 255, 0.9);
			border-color: rgba(14, 116, 144, 0.35);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] #newListIconBtn:hover,
		body[data-theme="sky-bright"] #addListBtn:hover,
		body[data-theme="sky-bright"] #openGoalsMapBtn:hover,
		body[data-theme="sky-bright"] #reorderListsBtn:hover,
		body[data-theme="sky-bright"] .create-list-menu-btn:hover,
		body[data-theme="sky-bright"] .show-images-toggle:hover,
		body[data-theme="sky-bright"] #addBoardBtn:hover,
		body[data-theme="sky-bright"] .boards-menu-btn:hover {
			background: rgba(224, 242, 254, 0.95);
			border-color: rgba(2, 132, 199, 0.5);
			box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
		}

		body[data-theme="sky-bright"] .new-list-input-group {
			background: rgba(255, 255, 255, 0.88);
			border-color: rgba(14, 116, 144, 0.35);
		}

		body[data-theme="sky-bright"] .new-list-input-group:hover {
			border-color: rgba(2, 132, 199, 0.42);
		}

		body[data-theme="sky-bright"] .new-list-input-group:focus-within {
			border-color: #0284c7;
			box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
		}

		body[data-theme="sky-bright"] .new-list-input-group #newListIconBtn {
			background: transparent;
			border: 0;
			border-right: 1px solid rgba(14, 116, 144, 0.3);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .new-list-input-group #newListIconBtn:hover {
			background: rgba(186, 230, 253, 0.65);
			border-right-color: rgba(14, 116, 144, 0.34);
			box-shadow: none;
		}

		body[data-theme="sky-bright"] .new-list-input-group #addListBtn {
			background: transparent;
			border: 0;
			border-left: 1px solid rgba(14, 116, 144, 0.3);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .new-list-input-group #addListBtn:hover {
			background: rgba(186, 230, 253, 0.65);
			border-left-color: rgba(14, 116, 144, 0.34);
			box-shadow: none;
			transform: none;
			filter: none;
		}

		body[data-theme="sky-bright"] #newListTitle {
			background: transparent;
		}

		body[data-theme="sky-bright"] #iconBackdrop {
			background: rgba(14, 116, 144, 0.2);
		}

		body[data-theme="sky-bright"] #quickAddGoalBackdrop {
			background: rgba(14, 116, 144, 0.2);
		}

		body[data-theme="sky-bright"] .icon-modal {
			background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
			border-color: rgba(14, 116, 144, 0.3);
			box-shadow: 0 18px 42px rgba(14, 116, 144, 0.22);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .icon-modal-title {
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .icon-modal-delete-btn {
			border-color: rgba(239, 68, 68, 0.45);
			color: #b91c1c;
			background: rgba(239, 68, 68, 0.12);
		}

		body[data-theme="sky-bright"] .task-move-modal {
			background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
			border-color: rgba(14, 116, 144, 0.3);
			box-shadow: 0 18px 42px rgba(14, 116, 144, 0.22);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .task-move-title {
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .icon-modal-label {
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .task-points {
			background: rgba(2, 132, 199, 0.22);
			border-color: rgba(2, 132, 199, 0.55);
			color: #082f49;
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
			text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
		}

		body[data-theme="sky-bright"] .task.done .task-points {
			background: rgba(22, 163, 74, 0.24);
			border-color: rgba(22, 163, 74, 0.58);
			color: #14532d;
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
		}

		body[data-theme="sky-bright"] .list-meta-row:first-child span:last-child {
			color: #082f49;
			font-weight: 700;
			background: rgba(2, 132, 199, 0.14);
			border: 1px solid rgba(2, 132, 199, 0.3);
			border-radius: 8px;
			padding: 1px 8px;
			line-height: 1.3;
		}

		body[data-theme="sky-bright"] .task-elapsed {
			color: #0c4a6e;
		}

		body[data-theme="sky-bright"] .task.done .task-elapsed {
			color: #166534;
		}

		body[data-theme="sky-bright"] .task-times {
			color: #0c4a6e;
		}

		body[data-theme="sky-bright"] .task.done .task-times {
			color: #166534;
		}

		body[data-theme="sky-bright"] .task-date-elapsed {
			color: #0b1b3b;
			background: rgba(2, 132, 199, 0.12);
			border-color: rgba(2, 132, 199, 0.3);
		}

		body[data-theme="sky-bright"] .task-modal-image {
			background: rgba(255, 255, 255, 0.82);
			border-color: rgba(14, 116, 144, 0.35);
			box-shadow: 0 10px 22px rgba(14, 116, 144, 0.2);
		}

		body[data-theme="sky-bright"] .bar-label {
			color: #0b1b3b;
			text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
		}

		body[data-theme="sky-bright"] .task label,
		body[data-theme="sky-bright"] .board-name,
		body[data-theme="sky-bright"] .boards-title,
		body[data-theme="sky-bright"] .list-meta {
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .boards-menu-bars span {
			background: #0b1b3b;
		}

		.wrap {
			max-width: 1240px;
			margin: 0 auto;
			min-height: calc(100vh - 68px);
			min-height: calc(100svh - 68px);
		}

		.app-layout {
			display: grid;
			grid-template-columns: 280px 1fr;
			gap: 16px;
			align-items: stretch;
			min-height: inherit;
		}

		.boards-panel {
			background: transparent;
			border: none;
			border-radius: 18px;
			padding: 12px;
			padding-top: 1px;
			backdrop-filter: blur(8px);
			box-shadow: none;
			position: relative;
			height: 100%;
			align-self: stretch;
		}

		.boards-panel::before {
			content: none;
			position: absolute;
			left: 0;
			top: 14px;
			bottom: 14px;
			width: 3px;
			border-radius: 99px;
			background: linear-gradient(180deg, var(--accent), rgba(34, 211, 238, 0.25));
		}

		.boards-brand {
			display: flex;
			justify-content: center;
			margin: 0 0 12px;
			padding: 14px 12px 12px;
			border: 1px solid var(--card-border);
			border-radius: 16px;
			background: rgb(255 255 255 / 17%);
			backdrop-filter: blur(8px);
		}

		.boards-brand-logo {
			display: block;
			width: min(100%, 180px);
			height: auto;
			object-fit: contain;
			filter: drop-shadow(0 8px 20px rgba(2, 6, 23, 0.28));
		}

		.boards-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 8px;
			margin-bottom: 10px;
		}

		.boards-head-actions {
			display: inline-flex;
			align-items: center;
			gap: 6px;
		}

		.boards-title {
			margin: 4px 0;
			font-size: 1.02rem;
			letter-spacing: 0.4px;
			text-transform: uppercase;
			font-size: 0.88rem;
			color: var(--muted);
		}

		.boards-global-edit-btn {
			padding: 6px 10px;
			font-size: 0.86rem;
		}

		.boards-close-btn {
			display: none;
			height: 30px;
			padding: 0 10px;
			font-size: 0.76rem;
			border-radius: 999px;
		}

		.boards-global-edit-btn.is-active {
			border-color: rgba(56, 189, 248, 0.62);
			background: rgba(56, 189, 248, 0.16);
		}

		.create-board {
			display: flex;
			gap: 8px;
			margin-bottom: 10px;
		}

		.create-board-input-wrap {
			position: relative;
			flex: 1;
			min-width: 0;
		}

		.create-board-input-wrap.is-pending #newBoardTitle {
			padding-right: 38px;
		}

		.board-browse-create-field {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			margin: -2px 0 0;
			padding: 8px 10px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.34);
			font-size: 0.8rem;
			color: var(--muted);
		}

		.board-browse-create-meta {
			display: grid;
			gap: 8px;
			margin-bottom: 12px;
		}

		.board-browse-create-meta[hidden],
		.board-browse-create-field[hidden],
		.browse-boards-btn[hidden] {
			display: none !important;
		}

		.board-browse-create-field input {
			margin: 0;
		}

		.board-browse-image-input {
			width: 100%;
			padding: 9px 11px;
			font-size: 0.84rem;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.34);
			color: var(--text);
		}

		.board-browse-image-input::placeholder {
			color: var(--muted);
		}

		.board-browse-image-input:focus {
			outline: none;
			border-color: rgba(56, 189, 248, 0.58);
			box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
		}

		#newBoardTitle {
			width: 100%;
			padding: 10px 11px;
			font-size: 0.95rem;
		}

		.board-create-spinner {
			position: absolute;
			right: 12px;
			top: 50%;
			width: 16px;
			height: 16px;
			margin-top: -8px;
			border-radius: 999px;
			border: 2px solid rgba(148, 163, 184, 0.28);
			border-top-color: #38bdf8;
			border-right-color: rgba(56, 189, 248, 0.55);
			animation: boardDeleteSpinnerSpin 0.72s linear infinite;
			pointer-events: none;
		}

		#addBoardBtn {
			min-width: 44px;
			padding: 8px 12px;
			font-size: 1rem;
			background: rgba(15, 23, 42, 0.7);
			border: 1px solid #334155;
			box-shadow: none;
		}

		#addBoardBtn:hover {
			background: rgba(30, 41, 59, 0.85);
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf822;
			filter: none;
		}

		.boards-list {
			display: grid;
			gap: 8px;
			max-height: calc(100vh - 220px);
			overflow: auto;
		}

		.boards-group {
			display: grid;
			gap: 8px;
		}

		.boards-group + .boards-group {
			margin-top: 8px;
		}

		.boards-group-label {
			padding: 0 4px;
			font-size: 0.68rem;
			font-weight: 700;
			letter-spacing: 0.12em;
			text-transform: uppercase;
			color: rgba(148, 163, 184, 0.7);
		}

		.browse-boards-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			margin-top: 12px;
			height: 38px;
			border-radius: 12px;
			background: rgba(15, 23, 42, 0.48);
			border-color: rgba(56, 189, 248, 0.28);
		}

		.hidden-boards-btn {
			margin-top: 10px;
		}

		.browse-boards-btn:disabled {
			opacity: 0.55;
			cursor: not-allowed;
		}

		.board-item {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 8px;
			border-radius: 10px;
			background: rgba(15, 23, 42, 0.45);
			border: 1px solid rgba(148, 163, 184, 0.24);
		}

		.board-item.is-deleting {
			opacity: 0.8;
		}

		.board-item.active {
			border-color: rgba(56, 189, 248, 0.58);
			background: rgba(15, 23, 42, 0.75);
		}

		.board-name {
			flex: 1;
			font-size: 0.95rem;
			padding: 3px 6px;
			border-radius: 7px;
			cursor: pointer;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.board-name:hover {
			background: rgba(148, 163, 184, 0.16);
		}

		.board-name-input {
			flex: 1;
			padding: 6px 8px;
			font-size: 0.92rem;
			border-radius: 8px;
			border: 1px solid #38bdf8;
			background: rgba(15, 23, 42, 0.8);
			color: #f8fafc;
			outline: none;
		}

		.board-actions {
			display: inline-flex;
			align-items: center;
			gap: 4px;
		}

		.board-delete-spinner {
			width: 18px;
			height: 18px;
			border-radius: 999px;
			border: 2px solid rgba(148, 163, 184, 0.28);
			border-top-color: #38bdf8;
			border-right-color: rgba(56, 189, 248, 0.55);
			display: inline-block;
			animation: boardDeleteSpinnerSpin 0.72s linear infinite;
		}

		@keyframes boardDeleteSpinnerSpin {
			to { transform: rotate(360deg); }
		}

		.board-browse-toggle.is-active {
			border-color: rgba(56, 189, 248, 0.58);
			background: rgba(56, 189, 248, 0.16);
			color: #e0f2fe;
		}

		.board-progress {
			width: 84px;
			display: grid;
			gap: 4px;
			margin-left: auto;
		}

		.board-progress-summary {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 6px;
		}

		.board-progress-earned {
			font-size: 0.68rem;
			font-weight: 700;
			line-height: 1;
			color: var(--text);
			white-space: nowrap;
		}

		.board-progress-earned.is-high {
			color: var(--good);
		}

		.board-progress-percent {
			font-size: 0.72rem;
			font-weight: 700;
			line-height: 1;
			color: var(--muted);
			text-align: right;
		}

		.board-progress-track {
			display: block;
			height: 5px;
			border-radius: 999px;
			background: rgba(148, 163, 184, 0.28);
			overflow: hidden;
		}

		.board-progress-fill {
			display: block;
			height: 100%;
			border-radius: inherit;
			background: linear-gradient(90deg, var(--accent), var(--accent2));
		}

		body[data-theme="sky-bright"] .board-progress-track {
			background: rgba(14, 116, 144, 0.22);
		}

		body[data-theme="sky-bright"] .board-browse-create-field,
		body[data-theme="sky-bright"] .browse-boards-btn,
		body[data-theme="sky-bright"] .board-browse-image-input {
			background: rgba(255, 255, 255, 0.82);
			border-color: rgba(14, 116, 144, 0.24);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .board-browse-toggle.is-active {
			background: rgba(2, 132, 199, 0.12);
			color: #0b1b3b;
		}

		.board-edit-only {
			display: none !important;
		}

		.boards-list.edit-open .board-edit-only {
			display: inline-flex !important;
			align-items: center;
			justify-content: center;
			height: 28px;
			min-width: 28px;
			padding: 0 8px;
			font-size: 0.78rem;
			line-height: 1;
			border-radius: 8px;
		}

		.boards-list.edit-open .board-progress {
			display: none;
		}

		.boards-list.edit-open .board-actions {
			gap: 3px;
		}

		.main-panel {
			min-width: 0;
			position: relative;
			display: flex;
			flex-direction: column;
			min-height: inherit;
		}

		.app-footer {
			margin-top: auto;
			min-height: 132px;
			padding: 59px 12px 4px;
			border-top: 1px solid var(--card-border);
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
			display: flex;
			flex-direction: column;
			justify-content: flex-end;
			align-items: center;
			gap: 12px;
		}

		.pre-footer-tutorial {
			display: grid;
			justify-items: center;
			gap: 10px;
			padding: 18px 12px 6px;
		}

		.pre-footer-tutorial[hidden],
		#footerTutorialBtn[hidden] {
			display: none !important;
		}

		.tutorial-launch-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 10px;
			min-height: 48px;
			margin-bottom: 0;
			padding: 0 24px;
			border: 1px solid rgba(250, 204, 21, 0.72);
			border-radius: 999px;
			background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
			color: #422006;
			font-size: 0.84rem;
			font-weight: 900;
			letter-spacing: 0.18em;
			text-transform: uppercase;
			box-shadow:
				0 0 0 1px rgba(255, 248, 196, 0.34) inset,
				0 0 22px rgba(250, 204, 21, 0.4),
				0 14px 32px rgba(245, 158, 11, 0.26);
			animation: tutorialGlowPulse 2.4s ease-in-out infinite;
		}

		.tutorial-launch-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 24px;
			height: 24px;
			border-radius: 999px;
			background: rgba(255, 248, 196, 0.42);
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
			font-size: 0.98rem;
			line-height: 1;
		}

		.tutorial-skip-btn {
			min-height: 32px;
			margin-bottom: 10px;
			padding: 0 12px;
			border-color: rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.28);
			font-size: 0.74rem;
			color: rgba(226, 232, 240, 0.82);
		}

		.tutorial-skip-btn:hover {
			color: rgba(248, 250, 252, 0.96);
		}

		.tutorial-launch-btn:hover {
			transform: translateY(-1px) scale(1.01);
			box-shadow:
				0 0 0 1px rgba(255, 248, 196, 0.42) inset,
				0 0 28px rgba(250, 204, 21, 0.48),
				0 18px 36px rgba(245, 158, 11, 0.3);
		}

		@keyframes tutorialGlowPulse {
			0%,
			100% {
				box-shadow:
					0 0 0 1px rgba(255, 248, 196, 0.34) inset,
					0 0 22px rgba(250, 204, 21, 0.4),
					0 14px 32px rgba(245, 158, 11, 0.26);
			}

			50% {
				box-shadow:
					0 0 0 1px rgba(255, 248, 196, 0.5) inset,
					0 0 34px rgba(250, 204, 21, 0.56),
					0 18px 40px rgba(245, 158, 11, 0.34);
			}
		}

		.app-footer-actions {
			display: flex;
			justify-content: center;
			gap: 10px;
			flex-wrap: wrap;
		}

		.app-footer-copy {
			margin: 0;
			text-align: center;
			font-size: 0.72rem;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: rgba(203, 213, 225, 0.72);
		}

		.app-footer-btn {
			min-height: 36px;
			padding: 7px 14px;
			font-size: 0.8rem;
			border-radius: 999px;
			border-color: rgba(148, 163, 184, 0.32);
			background: rgba(15, 23, 42, 0.42);
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
			opacity: 0.96;
		}

		.app-footer-link {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			text-decoration: none;
		}

		.app-footer-link[hidden] {
			display: none !important;
		}

		.app-footer-btn:hover {
			transform: translateY(-1px);
		}

		body[data-theme="sky-bright"] .app-footer-btn {
			background: rgba(255, 255, 255, 0.72);
			border-color: rgba(14, 116, 144, 0.24);
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
		}

		body[data-theme="sky-bright"] .tutorial-launch-btn {
			color: #713f12;
			box-shadow:
				0 0 0 1px rgba(255, 255, 255, 0.46) inset,
				0 0 18px rgba(250, 204, 21, 0.28),
				0 14px 28px rgba(245, 158, 11, 0.18);
		}

		body[data-theme="sky-bright"] .tutorial-launch-icon {
			background: rgba(255, 255, 255, 0.56);
		}

		body[data-theme="sky-bright"] .tutorial-skip-btn {
			background: rgba(255, 255, 255, 0.62);
			border-color: rgba(14, 116, 144, 0.2);
			color: rgba(8, 47, 73, 0.82);
		}

		body[data-theme="sky-bright"] .app-footer-copy {
			color: rgba(11, 27, 59, 0.58);
		}

		.boards-menu-row {
			display: none;
		}

		.boards-menu-btn {
			display: none;
			align-items: center;
			gap: 8px;
			margin-bottom: 0;
			padding: 8px 12px;
			background: rgba(15, 23, 42, 0.7);
			border: 1px solid #334155;
			box-shadow: none;
			position: absolute;
			right: 7px;
		}

		.boards-menu-bars {
			display: inline-flex;
			flex-direction: column;
			gap: 3px;
		}

		.boards-menu-bars span {
			display: block;
			width: 14px;
			height: 2px;
			background: #f8fafc;
			border-radius: 2px;
		}

		h1 {
			margin: 0 0 24px;
			font-size: clamp(1.7rem, 3vw, 2.4rem);
			letter-spacing: 0.3px;
			text-align: center;
		}

		.level-overview {
			margin: 0 0 18px;
			padding: 14px 12px 12px;
			border: 1px solid var(--card-border);
			border-radius: 16px;
			background: var(--card);
			backdrop-filter: blur(8px);
			display: flex;
			flex-direction: column;
			align-items: center;
			text-align: center;
			gap: 8px;
			position: sticky;
			top: 10px;
			z-index: 25;
		}

		.level-overview-top {
			display: flex;
			align-items: stretch;
			justify-content: center;
			gap: 10px;
			width: min(560px, 100%);
		}

		.level-overview-head {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			width: min(560px, 100%);
			min-height: 38px;
		}

		.level-overview-image-stack {
			display: grid;
			gap: 8px;
			width: 200px;
			justify-items: center;
			align-content: start;
			flex: 0 0 auto;
		}

		.level-overview-achievements-btn {
			flex: 1;
			min-width: 0;
			padding: 10px;
			border-radius: 15px;
			border: 1px solid var(--card-border);
			background: var(--card);
			box-shadow: none;
			transform: none;
			filter: none;
			display: grid;
			gap: 6px;
			align-content: start;
			justify-items: center;
			text-align: center;
			font-family: inherit;
			color: var(--text);
		}

		.level-overview-achievements-btn:hover {
			border-color: var(--accent);
			background: var(--card);
			box-shadow: none;
			transform: none;
			filter: none;
		}

		.level-overview-achievements-btn:focus-visible {
			outline: 2px solid var(--accent);
			outline-offset: 2px;
		}

		.level-overview-achievements-title {
			font-size: 0.76rem;
			font-weight: 700;
			letter-spacing: 0.1em;
			text-transform: uppercase;
			color: var(--muted);
			line-height: 1.15;
			margin: 0;
		}

		.level-overview-achievements-header {
			display: grid;
			grid-template-columns: 26px 1fr 26px;
			align-items: center;
			gap: 6px;
			width: 100%;
		}

		.level-overview-achievements-nav {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 26px;
			height: 26px;
			border-radius: 999px;
			border: 1px solid var(--card-border);
			color: var(--text);
			background: var(--card);
			font-size: 0.9rem;
			line-height: 1;
			cursor: pointer;
			user-select: none;
		}

		.level-overview-achievements-nav:hover {
			border-color: var(--accent);
		}

		.level-overview-achievements-content {
			display: grid;
			gap: 6px;
			width: 100%;
		}

		.level-overview-achievements-list {
			list-style: none;
			margin: 0;
			padding: 0;
			display: grid;
			gap: 4px;
			max-height: 132px;
			overflow: auto;
			width: 100%;
			justify-items: center;
		}

		.level-overview-achievements-mega-grid {
			display: grid;
			grid-template-columns: 1fr;
			gap: 8px;
			width: 100%;
		}

		.level-overview-achievements-item {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 6px;
			min-width: 0;
			width: 100%;
			padding: 5px 12px;
			border-radius: 16px;
			border: 1px solid rgba(74, 222, 128, 0.42);
			background: linear-gradient(145deg, rgba(134, 239, 172, 0.28) 0%, rgba(34, 197, 94, 0.18) 38%, rgba(20, 83, 45, 0.78) 100%);
			box-shadow: 0 14px 28px rgba(20, 83, 45, 0.22), 0 0 24px rgba(74, 222, 128, 0.12), inset 0 0 0 1px rgba(220, 252, 231, 0.08);
			font-size: 0.8rem;
			line-height: 1.2;
		}

		.level-overview-achievement-media {
			width: 30px;
			height: 30px;
			border-radius: 10px;
			overflow: hidden;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex: 0 0 auto;
			background: rgba(148, 163, 184, 0.14);
			border: 1px solid rgba(148, 163, 184, 0.2);
			font-size: 1.05rem;
			line-height: 1;
		}

		.level-overview-achievement-media-image {
			width: 100%;
			height: 100%;
			object-fit: cover;
			display: block;
		}

		.level-overview-achievements-item.is-mega .level-overview-achievement-media {
			width: 38px;
			height: 38px;
			border-radius: 12px;
			font-size: 1.25rem;
		}

		.level-overview-achievements-item.is-mega {
			padding: 5px 12px;
			border-radius: 16px;
			border: 1px solid rgba(250, 204, 21, 0.58);
			background: linear-gradient(145deg, rgba(254, 240, 138, 0.48) 0%, rgba(245, 158, 11, 0.28) 38%, rgba(120, 53, 15, 0.78) 100%);
			box-shadow: 0 14px 28px rgba(120, 53, 15, 0.26), 0 0 24px rgba(250, 204, 21, 0.16), inset 0 0 0 1px rgba(254, 240, 138, 0.12);
		align-items: center;
		}

		.level-overview-achievements-item.is-mega .level-overview-achievements-item-meta {
			white-space: normal;
			color: #fde68a;
		}

		.level-overview-achievements-item .level-overview-achievements-item-meta {
			color: #bbf7d0;
		}

		.level-overview-achievements-item.just-unlocked {
			position: relative;
			width: auto;
			max-width: 100%;
			padding: 2px 9px;
			border-radius: 999px;
			border: 1px solid rgba(250, 204, 21, 0.8);
			background: rgba(250, 204, 21, 0.14);
			box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.5);
			animation: achievementUnlockPulse 1.8s ease-out both;
		}

		.level-overview-achievements-item.is-mega.just-unlocked {
			border-color: rgba(250, 204, 21, 0.9);
			background:
				radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.2), rgba(34, 197, 94, 0.16) 42%, transparent 72%),
				linear-gradient(145deg, rgba(250, 204, 21, 0.22), rgba(15, 23, 42, 0.82));
			box-shadow:
				0 0 0 0 rgba(250, 204, 21, 0.52),
				0 0 28px rgba(250, 204, 21, 0.22),
				0 0 38px rgba(34, 197, 94, 0.18);
			overflow: visible;
			animation: achievementUnlockPulse 1.8s ease-out both, megaAchievementTriumph 3s ease-out both;
		}

		.level-overview-achievements-item.is-mega.just-unlocked::after {
			content: '';
			position: absolute;
			inset: -16px;
			background:
				radial-gradient(circle, rgba(250, 204, 21, 0.9) 0 2px, transparent 3px) 10% 16% / 72px 72px,
				radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1.5px, transparent 2.5px) 58% 18% / 92px 92px,
				radial-gradient(circle, rgba(134, 239, 172, 0.9) 0 2px, transparent 3px) 30% 72% / 86px 86px,
				radial-gradient(circle, rgba(253, 224, 71, 0.84) 0 1.5px, transparent 2.5px) 78% 70% / 88px 88px;
			opacity: 0;
			pointer-events: none;
			animation: megaAchievementConfetti 2.2s ease-out both;
		}

		.level-overview-achievements-item.is-mega.just-unlocked::before {
			content: '👑 MEGA ACHIEVEMENT UNLOCKED!';
			position: absolute;
			left: 50%;
			top: 4px;
			transform: translateX(-50%);
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 6px 12px;
			border-radius: 999px;
			border: 1px solid rgba(250, 204, 21, 0.58);
			background: linear-gradient(180deg, rgba(254, 240, 138, 0.98), rgba(245, 158, 11, 0.94));
			box-shadow: 0 14px 28px rgba(245, 158, 11, 0.22), 0 0 18px rgba(250, 204, 21, 0.18);
			color: #422006;
			font-size: 0.68rem;
			font-weight: 900;
			letter-spacing: 0.12em;
			white-space: nowrap;
			z-index: 3;
			pointer-events: none;
			animation: megaAchievementBannerIn 2.2s ease-out both;
		}

		@keyframes achievementUnlockPulse {
			0% {
				transform: scale(0.98);
				opacity: 0.92;
				box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.58);
			}
			35% {
				transform: scale(1.02);
				opacity: 1;
				box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.2);
			}
			100% {
				transform: scale(1);
				opacity: 1;
				box-shadow: 0 0 0 12px rgba(250, 204, 21, 0);
			}
		}

		@keyframes megaAchievementTriumph {
			0% {
				transform: scale(0.96) rotate(-0.4deg);
				filter: saturate(1) brightness(1);
			}
			20% {
				transform: scale(1.03) rotate(0deg);
				filter: saturate(1.22) brightness(1.12);
			}
			42% {
				transform: scale(1.015);
				filter: saturate(1.16) brightness(1.07);
			}
			72% {
				transform: scale(1.01);
				filter: saturate(1.08) brightness(1.03);
			}
			100% {
				transform: scale(1);
				filter: saturate(1) brightness(1);
			}
		}

		@keyframes megaAchievementConfetti {
			0% {
				opacity: 0;
				transform: scale(0.8) translateY(12px);
			}
			18% {
				opacity: 1;
				transform: scale(1.02) translateY(0);
			}
			100% {
				opacity: 0;
				transform: scale(1.18) translateY(-18px);
			}
		}

		@keyframes megaAchievementBannerIn {
			0% {
				opacity: 0;
				transform: translateX(-50%) translateY(10px) scale(0.92);
				filter: brightness(1);
			}
			18% {
				opacity: 1;
				transform: translateX(-50%) translateY(-4px) scale(1.04);
				filter: brightness(1.08);
			}
			100% {
				opacity: 1;
				transform: translateX(-50%) translateY(0) scale(1);
				filter: brightness(1);
			}
		}

		@keyframes megaAchievementBadgeShine {
			0% {
				transform: translateY(0) scale(1);
				box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
			}
			28% {
				transform: translateY(-2px) scale(1.06);
				box-shadow: 0 16px 30px rgba(245, 158, 11, 0.38), 0 0 18px rgba(250, 204, 21, 0.24);
			}
			100% {
				transform: translateY(0) scale(1);
				box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
			}
		}

		@keyframes megaAchievementMedallionBurst {
			0% {
				transform: scale(0.9);
				box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.22), 0 22px 44px rgba(21, 128, 61, 0.34);
			}
			35% {
				transform: scale(1.06);
				box-shadow: 0 0 0 16px rgba(250, 204, 21, 0), 0 30px 54px rgba(21, 128, 61, 0.42);
			}
			100% {
				transform: scale(1);
				box-shadow: 0 0 0 0 rgba(250, 204, 21, 0), 0 22px 44px rgba(21, 128, 61, 0.34);
			}
		}

		.level-overview-achievements-item-text {
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.level-overview-achievements-item-content {
			display: grid;
			gap: 1px;
			min-width: 0;
			width: 100%;
			text-align: center;
			justify-items: center;
		}

		.level-overview-achievements-list-centered .level-overview-achievements-item-content {
			text-align: center;
			justify-items: center;
		}

		.level-overview-achievements-item-meta {
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			font-size: 0.72rem;
			line-height: 1.2;
			color: var(--muted);
		}

		.level-overview-achievements-stats {
			display: grid;
			gap: 4px;
			width: 100%;
			justify-items: center;
		}

		.level-overview-achievements-stat-line {
			font-size: 0.8rem;
			line-height: 1.25;
			color: var(--text);
		}

		.level-overview-achievements-empty {
			font-size: 0.82rem;
			color: var(--muted);
			line-height: 1.3;
		}

		.level-overview-achievements-more {
			font-size: 0.78rem;
			color: var(--muted);
		}

		.level-overview-mobile-boards-btn {
			display: none;
			width: 38px;
			height: 38px;
		}

		.level-overview-quick-add-btn {
			display: inline-flex;
			width: 38px;
			height: 38px;
			align-items: center;
			justify-content: center;
			font-size: 1rem;
			line-height: 1;
		}

		.level-overview-mobile-auth-slot {
			display: none;
		}

		.level-overview-heading {
			font-size: 0.77rem;
			font-weight: 700;
			letter-spacing: 0.11em;
			text-transform: uppercase;
			color: var(--muted);
		}

		.level-overview-image {
			width: 200px;
			height: 200px;
			border-radius: 15px;
			border: 1px solid var(--card-border);
			background: rgba(15, 23, 42, 0.45);
			object-fit: cover;
			box-shadow: 0 10px 24px rgba(2, 6, 23, 0.3);
		}

		.level-overview-image-btn {
			padding: 0;
			border: none;
			border-radius: 15px;
			background: transparent;
			box-shadow: none;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			position: relative;
			overflow: hidden;
			isolation: isolate;
		}

		.level-overview-image-corner-badge {
			position: absolute;
			top: 5px;
			left: 5px;
			z-index: 2;
			min-width: 34px;
			height: 34px;
			padding: 0 10px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 12px;
			border: 1px solid rgba(250, 204, 21, 0.72);
			background:
				linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.86)),
				radial-gradient(circle at 28% 24%, rgba(250, 204, 21, 0.34), transparent 58%),
				radial-gradient(circle at 68% 74%, rgba(251, 191, 36, 0.16), transparent 62%);
			box-shadow:
				0 0 0 1px rgba(120, 53, 15, 0.28),
				0 10px 22px rgba(2, 6, 23, 0.42),
				0 0 18px rgba(250, 204, 21, 0.24),
				inset 0 1px 0 rgba(255, 248, 196, 0.28),
				inset 0 0 0 1px rgba(255, 255, 255, 0.06);
			backdrop-filter: blur(12px) saturate(145%);
			font-size: 1rem;
			font-weight: 900;
			line-height: 1;
			letter-spacing: 0.02em;
			color: #fff7d6;
			text-shadow: 0 1px 10px rgba(250, 204, 21, 0.28);
		}

		.level-overview-image-btn.level-up-animate .level-overview-image {
			animation: levelUpImagePulse 1.9s cubic-bezier(0.2, 0.72, 0.22, 1) both;
		}

		.level-overview-image-btn.level-up-animate::before,
		.level-overview-image-btn.level-up-animate::after {
			content: '';
			position: absolute;
			inset: 2px;
			border-radius: inherit;
			pointer-events: none;
		}

		.level-overview-image-btn.level-up-animate::before {
			border: 2px solid rgba(250, 204, 21, 0.92);
			box-shadow:
				0 0 0 1px rgba(56, 189, 248, 0.6),
				0 0 24px rgba(56, 189, 248, 0.68),
				inset 0 0 12px rgba(250, 204, 21, 0.4);
			animation: levelUpRingPulse 1.9s ease-out both;
		}

		.level-overview-image-btn.level-up-animate::after {
			background: conic-gradient(
				from 0deg,
				rgba(56, 189, 248, 0) 0deg,
				rgba(56, 189, 248, 0.75) 70deg,
				rgba(167, 139, 250, 0.72) 155deg,
				rgba(250, 204, 21, 0.78) 240deg,
				rgba(56, 189, 248, 0) 360deg
			);
			-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
			mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
			animation: levelUpHaloSpin 1.9s linear both;
			opacity: 0.9;
		}

		@keyframes levelUpImagePulse {
			0% { transform: scale(1); filter: saturate(1) brightness(1); }
			16% { transform: scale(1.05); filter: saturate(1.14) brightness(1.06); }
			34% { transform: scale(1.015); filter: saturate(1.06) brightness(1.03); }
			54% { transform: scale(1.04); filter: saturate(1.12) brightness(1.05); }
			100% { transform: scale(1); filter: saturate(1) brightness(1); }
		}

		@keyframes levelUpRingPulse {
			0% { opacity: 0; transform: scale(0.92); }
			18% { opacity: 1; transform: scale(1); }
			72% { opacity: 0.96; transform: scale(1.02); }
			100% { opacity: 0; transform: scale(1.07); }
		}

		@keyframes levelUpHaloSpin {
			0% { opacity: 0.88; transform: rotate(0deg) scale(0.97); }
			70% { opacity: 0.84; transform: rotate(205deg) scale(1.02); }
			100% { opacity: 0; transform: rotate(320deg) scale(1.06); }
		}

		.level-overview-image-btn:hover {
			transform: none;
			box-shadow: none;
			filter: none;
		}

		.level-overview-image-btn-loading {
			cursor: default;
			pointer-events: none;
		}

		.level-overview-image-loading {
			position: relative;
			overflow: hidden;
			background: linear-gradient(135deg, rgba(51, 65, 85, 0.7), rgba(30, 41, 59, 0.92));
		}

		.level-overview-image-loading::after {
			content: '';
			position: absolute;
			inset: 0;
			background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
			transform: translateX(-100%);
			animation: boardBrowseLoadingSweep 1.15s ease-in-out infinite;
		}

		.level-overview-image-btn:focus-visible {
			outline: 2px solid var(--accent);
			outline-offset: 3px;
		}

		body[data-theme="sky-bright"] .level-overview-image {
			background: rgba(255, 255, 255, 0.9);
			box-shadow: 0 10px 24px rgba(14, 116, 144, 0.16);
		}

		body[data-theme="sky-bright"] .level-overview-image-caption {
			background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(15, 23, 42, 0.46) 48%, rgba(15, 23, 42, 0.74) 100%);
		}

		body[data-theme="sky-bright"] .level-overview-image-corner-badge {
			border-color: rgba(217, 119, 6, 0.48);
			background:
				linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.9)),
				radial-gradient(circle at 28% 24%, rgba(250, 204, 21, 0.24), transparent 58%),
				radial-gradient(circle at 68% 74%, rgba(245, 158, 11, 0.14), transparent 62%);
			box-shadow:
				0 0 0 1px rgba(245, 158, 11, 0.12),
				0 10px 22px rgba(217, 119, 6, 0.18),
				0 0 16px rgba(250, 204, 21, 0.16),
				inset 0 1px 0 rgba(255, 255, 255, 0.78),
				inset 0 0 0 1px rgba(255, 255, 255, 0.24);
			color: #7c2d12;
			text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
		}

		body[data-theme="sky-bright"] .level-overview-achievements-btn {
			background: rgba(255, 255, 255, 0.88);
			border-color: rgba(14, 116, 144, 0.26);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .level-overview-achievements-btn:hover {
			border-color: var(--accent);
			background: rgba(255, 255, 255, 0.95);
		}

		body[data-theme="sky-bright"] .level-overview-achievements-item.just-unlocked {
			border-color: rgba(245, 158, 11, 0.72);
			background: rgba(254, 240, 138, 0.52);
			box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.42);
		}

		.level-overview-points {
			font-size: 0.88rem;
			font-weight: 500;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			display: inline-flex;
			align-items: center;
			gap: 10px;
		}

		.level-overview-head .level-overview-points {
			min-width: 0;
			width: 100%;
			min-height: 38px;
			display: flex;
			align-items: center;
			justify-content: center;
			line-height: 1;
			text-align: center;
			padding: 10px 14px;
			border-radius: 14px;
			border: 1px solid rgba(74, 222, 128, 0.32);
			background:
				linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(21, 128, 61, 0.12)),
				radial-gradient(circle at top, rgba(134, 239, 172, 0.16), transparent 58%),
				rgba(8, 28, 17, 0.78);
			box-shadow:
				inset 0 1px 0 rgba(220, 252, 231, 0.12),
				0 10px 24px rgba(3, 12, 7, 0.28);
			color: #f0fdf4;
			text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
			backdrop-filter: blur(10px);
		}

		.level-overview-head .level-overview-points.points-earned-animate {
			animation: levelOverviewPointsPulse 0.95s cubic-bezier(0.2, 0.72, 0.22, 1) both;
		}

		.level-overview-head .level-overview-points.is-loading {
			border-color: rgba(148, 163, 184, 0.24);
			background:
				linear-gradient(180deg, rgba(148, 163, 184, 0.12), rgba(71, 85, 105, 0.08)),
				radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 58%),
				rgba(15, 23, 42, 0.7);
			box-shadow:
				inset 0 1px 0 rgba(255, 255, 255, 0.06),
				0 10px 24px rgba(2, 6, 23, 0.18);
			color: #cbd5e1;
		}

		.level-overview-head .level-overview-points.points-earned-animate .level-overview-points-icon {
			animation: levelOverviewPointsIconPulse 0.95s ease-out both;
		}

		@keyframes levelOverviewPointsPulse {
			0% {
				transform: translateY(0) scale(1);
				box-shadow:
					inset 0 1px 0 rgba(220, 252, 231, 0.12),
					0 10px 24px rgba(3, 12, 7, 0.28);
				filter: saturate(1) brightness(1);
			}
			28% {
				transform: translateY(-1px) scale(1.02);
				box-shadow:
					inset 0 1px 0 rgba(220, 252, 231, 0.22),
					0 0 0 1px rgba(134, 239, 172, 0.12),
					0 16px 30px rgba(22, 101, 52, 0.3);
				filter: saturate(1.14) brightness(1.06);
			}
			62% {
				transform: translateY(0) scale(1.008);
				box-shadow:
					inset 0 1px 0 rgba(220, 252, 231, 0.18),
					0 0 0 6px rgba(134, 239, 172, 0),
					0 12px 26px rgba(22, 101, 52, 0.24);
				filter: saturate(1.06) brightness(1.02);
			}
			100% {
				transform: translateY(0) scale(1);
				box-shadow:
					inset 0 1px 0 rgba(220, 252, 231, 0.12),
					0 10px 24px rgba(3, 12, 7, 0.28);
				filter: saturate(1) brightness(1);
			}
		}

		@keyframes levelOverviewPointsIconPulse {
			0% { transform: scale(1); }
			30% { transform: scale(1.18); }
			65% { transform: scale(1.04); }
			100% { transform: scale(1); }
		}

		.level-overview-points-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 22px;
			height: 22px;
			border-radius: 999px;
			background: linear-gradient(180deg, rgba(187, 247, 208, 0.3), rgba(34, 197, 94, 0.18));
			border: 1px solid rgba(187, 247, 208, 0.28);
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
			color: #dcfce7;
			font-weight: 800;
			line-height: 1;
		}

		.level-overview-level {
			font-size: 1.04rem;
			font-weight: 700;
		}

		.level-overview-image-caption {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			padding: 24px 10px 9px;
			display: grid;
			gap: 2px;
			text-align: center;
			pointer-events: none;
			background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.58) 48%, rgba(2, 6, 23, 0.84) 100%);
		}

		.level-overview-image-title {
			font-size: 0.82rem;
			font-weight: 600;
			line-height: 1.15;
			color: #e2e8f0;
		}

		.level-overview-meta {
			font-size: 0.82rem;
			color: var(--muted);
		}

		.level-overview-meta-max {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			width: 200px;
			max-width: 100%;
			min-height: 44px;
			padding: 6px 12px;
			margin-top: -6px;
			border-radius: 15px;
			border: 1px solid rgba(250, 204, 21, 0.34);
			background:
				radial-gradient(circle at 20% 30%, rgba(254, 240, 138, 0.26), transparent 42%),
				radial-gradient(circle at 50% -18%, rgba(148, 163, 184, 0.16), transparent 30%),
				linear-gradient(145deg, rgba(120, 53, 15, 0.72), rgba(15, 23, 42, 0.78));
			box-shadow: 0 10px 24px rgba(120, 53, 15, 0.18), 0 -8px 18px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 248, 196, 0.14);
		}

		.level-overview-meta-max::before {
			content: '';
			position: absolute;
			top: -12px;
			left: 50%;
			transform: translateX(-50%);
			width: 74%;
			height: 18px;
			border-radius: 999px 999px 0 0;
			background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0));
			pointer-events: none;
			z-index: -1;
			filter: blur(1px);
		}

		.level-overview-meta-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 24px;
			height: 24px;
			border-radius: 999px;
			background: linear-gradient(180deg, rgba(254, 240, 138, 0.96), rgba(245, 158, 11, 0.88));
			box-shadow: 0 6px 14px rgba(245, 158, 11, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3);
			color: #422006;
			font-size: 0.95rem;
			line-height: 1;
		}

		.level-overview-meta-overflow {
			font-size: 0.78rem;
			font-weight: 800;
			letter-spacing: 0.06em;
			color: #fde68a;
			text-shadow: 0 0 14px rgba(250, 204, 21, 0.18);
		}

		.level-overview-achievements-loading {
			cursor: default;
			pointer-events: none;
		}

		.level-overview-level-progress-loading {
			opacity: 0.55;
		}

		.level-overview-level-progress {
			width: 100%;
			height: 7px;
			border-radius: 999px;
			background: rgba(148, 163, 184, 0.22);
			border: 1px solid rgba(148, 163, 184, 0.28);
			overflow: hidden;
		}

		.level-overview-level-progress-fill {
			height: 100%;
			border-radius: inherit;
			background: linear-gradient(90deg, var(--accent), var(--accent2));
			transition: width 0.25s ease;
		}

		body[data-theme="sky-bright"] .level-overview-level-progress {
			background: rgba(14, 116, 144, 0.14);
			border-color: rgba(14, 116, 144, 0.28);
		}

		.level-overview-saved {
			font-size: 0.86rem;
			font-weight: 700;
			color: var(--good);
		}

		.task-save-notice {
			position: fixed;
			right: 16px;
			bottom: 16px;
			z-index: 1200;
			padding: 6px 10px;
			font-size: 0.8rem;
			font-weight: 700;
			line-height: 1;
			color: var(--text);
			background: rgba(15, 23, 42, 0.9);
			border: 1px solid var(--card-border);
			border-radius: 999px;
			backdrop-filter: blur(6px);
			pointer-events: none;
		}

		.board-grid-saved-notice {
			bottom: 52px;
			background: rgba(22, 163, 74, 0.92);
			border-color: rgba(74, 222, 128, 0.55);
			color: #ecfdf5;
		}

		body[data-theme="sky-bright"] .task-save-notice {
			color: #0b1b3b;
			background: rgba(255, 255, 255, 0.95);
			border-color: rgba(14, 116, 144, 0.3);
		}

		body[data-theme="sky-bright"] .board-grid-saved-notice {
			background: rgba(236, 253, 245, 0.98);
			border-color: rgba(22, 163, 74, 0.38);
			color: #166534;
		}

		.level-overview-theme {
			font-size: 0.8rem;
			color: var(--muted);
		}

		.subtitle {
			color: var(--muted);
			margin-bottom: 24px;
		}

		.create-list {
			display: flex;
			gap: 10px;
			margin-bottom: 22px;
			align-items: stretch;
		}

		.list-mutation-feedback {
			margin: -10px 0 16px;
			padding: 10px 12px;
			border-radius: 12px;
			border: 1px solid rgba(56, 189, 248, 0.28);
			background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.34));
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
			font-size: 0.84rem;
			font-weight: 700;
			letter-spacing: 0.04em;
			text-transform: uppercase;
			color: #dbeafe;
		}

		.create-list-actions {
			position: relative;
			display: inline-flex;
			align-items: stretch;
			gap: 8px;
		}

		.create-list-menu {
			position: absolute;
			top: calc(100% + 6px);
			right: 0;
			z-index: 60;
			min-width: 170px;
			display: grid;
			gap: 6px;
			padding: 8px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.34);
			background: rgba(15, 23, 42, 0.96);
			box-shadow: 0 14px 30px rgba(2, 6, 23, 0.46);
			backdrop-filter: blur(6px);
		}

		.create-list-menu[hidden] {
			display: none !important;
		}

		.create-list-menu-btn {
			width: 100%;
			height: 34px;
			padding: 0 10px;
			font-size: 0.82rem;
			line-height: 1;
			display: inline-flex;
			align-items: center;
			justify-content: flex-start;
		}

		.new-list-input-group {
			flex: 1;
			min-width: 0;
			display: flex;
			align-items: stretch;
			border: 1px solid #334155;
			background: rgba(15, 23, 42, 0.7);
			border-radius: 12px;
			overflow: hidden;
			transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
		}

		.new-list-input-group:hover {
			border-color: rgba(148, 163, 184, 0.5);
		}

		.new-list-input-group:focus-within {
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf833;
		}

		.show-images-toggle {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			height: 34px;
			padding: 0 10px;
			font-size: 0.82rem;
			color: var(--muted);
			border-radius: 9px;
			border: 1px solid rgba(148, 163, 184, 0.35);
			background: rgba(15, 23, 42, 0.4);
			user-select: none;
			cursor: pointer;
			transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
		}

		.show-images-toggle input[type="checkbox"] {
			width: 14px;
			height: 14px;
			margin: 0;
			accent-color: var(--accent);
			cursor: pointer;
		}

		input[type="text"],
		input[type="number"],
		input[type="date"],
		textarea {
			width: 100%;
			border: 1px solid #334155;
			background: rgba(15, 23, 42, 0.7);
			color: var(--text);
			font-family: inherit;
			font-size: 1rem;
			padding: 12px 14px;
			border-radius: 12px;
			outline: none;
			transition: border-color 0.2s, box-shadow 0.2s;
		}

		input[type="text"]:focus,
		input[type="number"]:focus,
		input[type="date"]:focus,
		textarea:focus {
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf833;
		}

		input[type="date"] {
			color-scheme: dark;
		}

		input[type="date"]::-webkit-calendar-picker-indicator {
			cursor: pointer;
			opacity: 0.92;
			filter: invert(87%) sepia(9%) saturate(530%) hue-rotate(169deg) brightness(103%) contrast(98%);
		}

		input[type="number"] {
			appearance: textfield;
			-moz-appearance: textfield;
		}

		input[type="number"]::-webkit-outer-spin-button,
		input[type="number"]::-webkit-inner-spin-button {
			-webkit-appearance: none;
			margin: 0;
		}

		select {
			border: 1px solid #334155;
			background: rgba(15, 23, 42, 0.7);
			color: var(--text);
			font-family: inherit;
			font-size: 1rem;
			padding: 10px 12px;
			border-radius: 12px;
			outline: none;
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
			background-image: none;
		}

		#addListBtn {
			background: rgba(15, 23, 42, 0.7);
			border: 1px solid #334155;
			color: var(--text);
			box-shadow: none;
			min-width: 52px;
		}

		#reorderListsBtn {
			background: rgba(15, 23, 42, 0.7);
			border: 1px solid #334155;
			color: var(--text);
			box-shadow: none;
			padding: 10px 12px;
			font-size: 0.9rem;
			white-space: nowrap;
		}

		#openGoalsMapBtn {
			background: rgba(15, 23, 42, 0.7);
			border: 1px solid #334155;
			color: var(--text);
			box-shadow: none;
			padding: 10px 12px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			white-space: nowrap;
		}

		#openGoalsMapBtn .toolbar-icon {
			width: 1.1rem;
			height: 1.1rem;
			stroke: currentColor;
			stroke-width: 1.7;
			fill: none;
			stroke-linecap: round;
			stroke-linejoin: round;
			flex: 0 0 auto;
		}

		.create-list-actions.open #reorderListsBtn {
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf822;
		}

		#addListBtn:hover {
			background: rgba(30, 41, 59, 0.85);
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf822;
			filter: none;
		}

		#reorderListsBtn:hover {
			background: rgba(30, 41, 59, 0.85);
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf822;
			filter: none;
		}

		#openGoalsMapBtn:hover {
			background: rgba(30, 41, 59, 0.85);
			border-color: var(--accent);
			box-shadow: 0 0 0 3px #38bdf822;
			filter: none;
		}

		#newListIconBtn {
			width: 52px;
			min-width: 52px;
			height: auto;
			padding: 0;
			font-size: 1.05rem;
			line-height: 1;
			border: 0;
			border-right: 1px solid rgba(148, 163, 184, 0.34);
			border-radius: 0;
			background: transparent;
			box-shadow: none;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}

		#newListIconBtn:hover {
			background: rgba(56, 189, 248, 0.14);
			border-right-color: rgba(148, 163, 184, 0.34);
			box-shadow: none;
			transform: none;
			filter: none;
		}

		#newListTitle {
			border: 0;
			border-radius: 0;
			background: transparent;
			box-shadow: none;
			padding: 10px 12px;
		}

		#newListTitle:focus {
			border: 0;
			box-shadow: none;
		}

		.new-list-input-group #addListBtn {
			width: 52px;
			min-width: 52px;
			height: auto;
			padding: 0;
			font-size: 1.05rem;
			line-height: 1;
			border: 0;
			border-left: 1px solid rgba(148, 163, 184, 0.34);
			border-radius: 0;
			background: transparent;
			box-shadow: none;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}

		.new-list-input-group #addListBtn:hover {
			background: rgba(56, 189, 248, 0.14);
			border-left-color: rgba(148, 163, 184, 0.34);
			box-shadow: none;
			transform: none;
			filter: none;
		}

		.list-icon-select {
			width: 76px;
			padding: 5px 8px;
			font-size: 0.95rem;
			border-radius: 9px;
		}

		button {
			border: none;
			border-radius: 12px;
			padding: 11px 14px;
			cursor: pointer;
			color: white;
			font-family: inherit;
			font-size: 0.98rem;
			background: linear-gradient(135deg, var(--accent), var(--accent2));
			box-shadow: 0 8px 18px rgba(34, 211, 238, 0.22);
			transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.2s ease;
		}

		button:hover {
			transform: translateY(-1px);
			box-shadow: 0 10px 24px rgba(34, 211, 238, 0.2);
			filter: brightness(1.05);
		}

		.lists {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 16px;
			margin-bottom: 20px;
		}

		@media (min-width: 1800px) {
			.wrap,
			.theme-switcher {
				max-width: 1760px;
			}

			.lists {
				grid-template-columns: repeat(4, minmax(0, 1fr));
			}
		}

		@media (min-width: 2500px) {
			.wrap,
			.theme-switcher {
				max-width: 2240px;
			}

			.lists {
				grid-template-columns: repeat(5, minmax(0, 1fr));
			}
		}

		.unsorted-list-card {
			margin: 0 0 12px;
			padding: 12px;
			border: 1px dashed rgba(250, 204, 21, 0.72);
			border-radius: 14px;
			background: linear-gradient(145deg, rgba(120, 53, 15, 0.24), rgba(71, 85, 105, 0.18));
			box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.15);
		}

		.unsorted-list-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 8px;
			margin-bottom: 8px;
		}

		.unsorted-list-title {
			margin: 0;
			font-size: 0.95rem;
			letter-spacing: 0.02em;
		}

		.unsorted-list-count {
			font-size: 0.76rem;
			color: var(--muted);
		}

		.unsorted-tasks {
			display: grid;
			gap: 8px;
			max-height: 240px;
			overflow: auto;
			padding-right: 2px;
		}

		.unsorted-task {
			border-style: dashed;
			border-color: rgba(250, 204, 21, 0.38);
			background: rgba(30, 41, 59, 0.44);
		}

		.unsorted-task:hover {
			border-color: rgba(250, 204, 21, 0.7);
			box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.25), 0 10px 18px rgba(15, 23, 42, 0.36);
		}

		.board-flat-tasks-card {
			grid-column: 1 / -1;
			padding-bottom: 12px;
		}

		.board-flat-tasks-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 10px;
			margin-bottom: 10px;
		}

		.board-flat-controls {
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
			margin-bottom: 12px;
		}

		.board-flat-control-btn {
			min-height: 36px;
			padding: 0 12px;
		}

		.board-flat-control-btn.is-active {
			border-color: rgba(56, 189, 248, 0.42);
			background: rgba(56, 189, 248, 0.16);
			color: var(--text);
		}

		.board-flat-tasks-hint {
			font-size: 0.76rem;
			color: var(--muted);
			text-align: right;
		}

		.board-flat-groups {
			display: flex;
			flex-direction: column;
			gap: 10px;
			min-height: 760px;
			max-height: min(86vh, 980px);
			overflow: auto;
			padding-right: 4px;
		}

		.board-flat-group {
			background: rgba(15, 23, 42, 0.28);
		}

		.board-flat-group-tasks {
			display: flex;
			flex-direction: column;
			gap: 8px;
		}

		.board-flat-tasks {
			min-height: 760px;
			max-height: min(86vh, 980px);
			overflow: auto;
		}

		.tasks.tasks-two-column {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			align-items: start;
		}

		.tasks.tasks-two-column .task {
			align-self: start;
		}

		.board-flat-task-list {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			margin-left: 8px;
			padding: 2px 8px;
			border-radius: 999px;
			font-size: 0.72rem;
			font-weight: 700;
			letter-spacing: 0.01em;
			color: var(--muted);
			background: rgba(148, 163, 184, 0.12);
			border: 1px solid rgba(148, 163, 184, 0.16);
			vertical-align: middle;
		}

		.board-flat-task-list-icon {
			font-size: 0.88rem;
			line-height: 1;
		}

		body[data-theme="sky-bright"] .unsorted-list-card {
			border-color: rgba(217, 119, 6, 0.65);
			background: linear-gradient(145deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.95));
			box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.2);
		}

		body[data-theme="sky-bright"] .unsorted-task {
			border-color: rgba(217, 119, 6, 0.35);
			background: rgba(255, 255, 255, 0.94);
		}

		body[data-theme="sky-bright"] .unsorted-task:hover {
			border-color: rgba(217, 119, 6, 0.68);
			box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.22), 0 10px 18px rgba(14, 116, 144, 0.22);
		}

		.list-card {
			background: var(--card);
			border: 1px solid var(--card-border);
			border-radius: 18px;
			padding: 14px;
			backdrop-filter: blur(8px);
			box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
			overflow: hidden;
			position: relative;
			transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.25s ease;
		}

		.list-card.edit-open {
			overflow: visible;
			z-index: 20;
			transform: none;
		}

		.list-card.edit-open:hover {
			transform: none;
		}

		.list-card::before {
			content: '';
			position: absolute;
			inset: 0;
			background: linear-gradient(120deg, rgba(56, 189, 248, 0.08), transparent 35%, rgba(34, 211, 238, 0.07));
			pointer-events: none;
		}

		.list-card:hover {
			transform: translateY(-3px);
			border-color: rgba(56, 189, 248, 0.35);
			box-shadow: 0 16px 34px rgba(2, 6, 23, 0.42);
		}

		.list-card.list-progress-25 {
			border-color: var(--accent);
			box-shadow: 0 12px 30px rgba(2, 6, 23, 0.34), inset 0 0 0 1px var(--accent);
		}

		.list-card.list-progress-50 {
			border-color: var(--accent2);
			box-shadow: 0 13px 32px rgba(2, 6, 23, 0.36), inset 0 0 0 1px var(--accent2);
		}

		.list-card.list-progress-75 {
			border-color: var(--good);
			box-shadow: 0 14px 34px rgba(2, 6, 23, 0.38), inset 0 0 0 1px var(--good);
		}

		.list-card.list-progress-25::before {
			background: linear-gradient(120deg, var(--good), transparent 60%, var(--accent2));
			opacity: 0.14;
		}

		.list-card.list-progress-50::before {
			background: linear-gradient(120deg, var(--good), transparent 54%, var(--accent2));
			opacity: 0.22;
		}

		.list-card.list-progress-75::before {
			background: linear-gradient(120deg, var(--good), transparent 48%, var(--accent2));
			opacity: 0.3;
		}

		.list-card.list-progress-25::after,
		.list-card.list-progress-50::after,
		.list-card.list-progress-75::after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			height: 3px;
			border-radius: 0 999px 999px 0;
			pointer-events: none;
		}

		.list-card.list-progress-25::after {
			width: 25%;
			background: var(--accent);
		}

		.list-card.list-progress-50::after {
			width: 50%;
			background: linear-gradient(90deg, var(--accent), var(--accent2));
		}

		.list-card.list-progress-75::after {
			width: 75%;
			background: linear-gradient(90deg, var(--accent2), var(--good));
		}

		.list-card.search-focus {
			border-color: var(--accent);
			box-shadow: 0 0 0 2px var(--accent), 0 16px 34px rgba(2, 6, 23, 0.42);
		}

		.list-card.list-complete {
			background: linear-gradient(135deg, rgba(22, 163, 74, 0.45), rgba(16, 185, 129, 0.35));
			border-color: rgba(74, 222, 128, 0.7);
			box-shadow: 0 14px 34px rgba(16, 185, 129, 0.28);
		}

		.list-card.list-completing {
			animation: listCompleteBlast 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
		}

		@keyframes listCompleteBlast {
			0% {
				transform: scale(1);
				box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
			}
			35% {
				transform: scale(1.025);
				box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.4), 0 18px 42px rgba(16, 185, 129, 0.45);
			}
			100% {
				transform: scale(1);
				box-shadow: 0 14px 34px rgba(16, 185, 129, 0.28);
			}
		}

		.list-header {
			display: flex;
			justify-content: space-between;
			align-items: flex-start;
			gap: 8px;
			margin-bottom: 10px;
		}

		.list-header-actions {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			flex-wrap: nowrap;
			justify-content: flex-end;
			margin-left: auto;
			position: relative;
			z-index: 9;
		}

		.list-expand-btn {
			width: 30px;
			min-width: 30px;
			height: 30px;
			padding: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			font-size: 0.92rem;
			line-height: 1;
		}

		.list-edit-menu {
			display: none;
			position: absolute;
			top: 10px;
			right: 10px;
			z-index: 8;
			min-width: 220px;
			max-width: calc(100% - 20px);
			padding: 10px;
			border-radius: 12px;
			border: 1px solid rgba(148, 163, 184, 0.36);
			background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.96));
			box-shadow: 0 16px 34px rgba(2, 6, 23, 0.5);
			backdrop-filter: blur(4px);
			gap: 8px;
		}

		.list-edit-menu [data-action="fill-list-images"] {
			display: none !important;
		}

		.list-card.edit-open .list-edit-menu {
			display: grid;
		}

		.list-edit-menu .location-toggle,
		.list-edit-menu .ghost,
		.list-edit-menu .icon-btn {
			width: 100%;
			display: inline-flex;
			align-items: center;
			justify-content: flex-start;
			height: 34px;
			padding: 0 10px;
			font-size: 0.82rem;
			line-height: 1;
		}

		.list-edit-menu .delete-list-btn {
			justify-content: flex-start;
		}

		body[data-theme="sky-bright"] .list-edit-menu {
			background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
			border-color: rgba(14, 116, 144, 0.3);
			box-shadow: 0 16px 30px rgba(14, 116, 144, 0.22);
		}

		body[data-theme="sky-bright"] .list-edit-menu .location-toggle,
		body[data-theme="sky-bright"] .list-edit-menu .ghost,
		body[data-theme="sky-bright"] .list-edit-menu .icon-btn {
			background: rgba(255, 255, 255, 0.9);
			border-color: rgba(14, 116, 144, 0.35);
			color: #0b1b3b;
		}

		.location-toggle {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 0 10px;
			height: 34px;
			font-size: 0.82rem;
			color: var(--muted);
			white-space: nowrap;
			user-select: none;
			border-radius: 9px;
			border: 1px solid rgba(148, 163, 184, 0.35);
			background: rgba(15, 23, 42, 0.4);
		}

		.location-toggle input[type="checkbox"] {
			width: 14px;
			height: 14px;
			margin: 0;
			accent-color: var(--accent);
			cursor: pointer;
		}

		.list-title {
			margin: 0;
			font-size: 1.05rem;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			padding: 4px 8px;
			border-radius: 8px;
			font-weight: 500;
			cursor: pointer;
			transition: background-color 0.2s ease;
		}

		.list-title:hover {
			background: rgba(148, 163, 184, 0.2);
		}

		.title-input {
			width: 100%;
			max-width: 100%;
			padding: 6px 8px;
			border-radius: 8px;
			border: 1px solid #38bdf8;
			background: rgba(15, 23, 42, 0.8);
			color: #f8fafc;
			font-family: inherit;
			font-size: 1.05rem;
			font-weight: 600;
			outline: none;
		}

		.title-wrap {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			min-width: 0;
			position: relative;
			padding-right: 28px;
		}

		.list-icon {
			width: 30px;
			height: 30px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 9px;
			background: rgba(148, 163, 184, 0.18);
			border: 1px solid rgba(148, 163, 184, 0.28);
			font-size: 1.05rem;
			flex-shrink: 0;
		}

		.list-icon-inline-btn {
			width: 30px;
			height: 30px;
			min-width: 30px;
			padding: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 9px;
			font-size: 1.05rem;
			line-height: 1;
			cursor: pointer;
			background: rgba(148, 163, 184, 0.18);
			border: 1px solid rgba(148, 163, 184, 0.28);
			box-shadow: none;
			transform: none;
			color: var(--text);
		}

		.list-icon-inline-btn:hover {
			background: rgba(148, 163, 184, 0.3);
			border-color: rgba(56, 189, 248, 0.52);
			box-shadow: 0 0 0 2px #38bdf833;
			filter: none;
			transform: none;
		}

		body[data-theme="sky-bright"] .list-icon-inline-btn {
			background: rgba(224, 242, 254, 0.95);
			border-color: rgba(14, 116, 144, 0.35);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .list-icon-inline-btn:hover {
			background: rgba(186, 230, 253, 0.95);
			border-color: rgba(2, 132, 199, 0.5);
			box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
		}

		.task-name-icon-row {
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto;
			gap: 10px;
			align-items: end;
		}

		.task-name-field {
			min-width: 0;
		}

		.task-icon-field {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
		}

		.task-icon-choice-btn {
			width: 42px;
			height: 42px;
			min-width: 42px;
			margin-top: 4px;
			font-size: 1.1rem;
		}

		.task-right-icon-choice {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 24px;
			height: 24px;
			font-size: 1.05rem;
			line-height: 1;
		}

		#listIconPickerBackdrop {
			z-index: 1170;
		}

		@media (max-width: 640px) {
			.task-icon-field {
				align-items: flex-start;
			}
		}

		.list-bump {
			color: #22c55e;
			font-weight: 700;
			font-size: 0.95rem;
			text-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
			animation: bumpGlow 2.2s ease forwards;
			white-space: nowrap;
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%);
			pointer-events: none;
		}

		@keyframes bumpGlow {
			0% { opacity: 0; transform: translateY(calc(-50% + 6px)) scale(0.9); }
			15% { opacity: 1; transform: translateY(-50%) scale(1); }
			80% { opacity: 1; transform: translateY(-50%) scale(1); }
			100% { opacity: 0; transform: translateY(calc(-50% - 6px)) scale(1.05); }
		}

		.list-meta {
			color: var(--muted);
			font-size: 0.86rem;
			margin-left: 0;
			display: grid;
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
			align-items: center;
			justify-items: stretch;
			gap: 8px;
			text-align: left;
			letter-spacing: 0.2px;
			padding: 0 5px;
		}

		.list-meta-row {
			display: inline-flex;
			align-items: center;
			justify-content: flex-start;
			gap: 8px;
			min-width: 0;
		}

		.list-meta-row:last-child {
			justify-content: flex-end;
			text-align: right;
		}

		.list-meta-check-spacer {
			width: 16px;
			height: 16px;
			display: inline-block;
			flex-shrink: 0;
		}

		.complete-check {
			width: 16px;
			height: 16px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 999px;
			background: linear-gradient(135deg, #16a34a, #22c55e);
			color: #ffffff;
			font-size: 0.86rem;
			font-weight: 700;
			box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2), 0 6px 16px rgba(22, 163, 74, 0.34);
		}

		.bar {
            width: 97%;
            height: 27px;
            border-radius: 6px;
            background: rgba(148, 163, 184, 0.28);
            overflow: hidden;
			position: relative;
            margin-bottom: 13px;
            margin-top: 10px;
            margin-left: 5px;
			border: 1px solid rgba(148, 163, 184, 0.22);
			box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.45);
		}

		.bar-fill {
			height: 100%;
			background: linear-gradient(90deg, #22c55e, #06b6d4);
			transition: width 0.25s ease;
			position: relative;
			z-index: 1;
		}

		.bar-fill::after {
			content: '';
			position: absolute;
			top: 0;
			right: 0;
			width: 36px;
			height: 100%;
			background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
		}

		.bar-label {
			position: absolute;
			inset: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			font-size: 0.78rem;
			font-weight: 700;
			letter-spacing: 0.2px;
			color: #f8fafc;
			text-shadow: 0 1px 2px rgba(2, 6, 23, 0.85);
			pointer-events: none;
			z-index: 2;
		}

		.tasks {
			display: grid;
			grid-template-columns: minmax(0, 1fr);
			gap: 8px;
			margin-bottom: 10px;
			max-height: 260px;
			overflow: auto;
			overflow-x: hidden;
			padding-right: 3px;
		}

		.task {
			display: flex;
			flex-direction: column;
			align-items: stretch;
			gap: 8px;
			background: rgba(15, 23, 42, 0.55);
			border: 1px solid rgba(148, 163, 184, 0.24);
			padding: 8px 10px;
			border-radius: 10px;
			position: relative;
			transform-origin: center center;
			overflow: hidden;
			transition: border-color 0.2s ease, background 0.2s ease;
		}

		.task-main-row {
			display: flex;
			align-items: center;
			gap: 8px;
			width: 100%;
			min-width: 0;
		}

		.task:hover {
			border-color: rgba(103, 232, 249, 0.45);
			background: rgba(15, 23, 42, 0.72);
		}

		.task.search-focus-task {
			border-color: var(--accent);
			box-shadow: 0 0 0 2px var(--accent);
		}

		.task label {
			flex: 1;
			min-width: 0;
			word-break: break-word;
			color: #e2e8f0;
			font-weight: 300;
		}

		.task-label-wrap {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			flex: 1;
			min-width: 0;
		}

		.task-text-wrap {
			display: flex;
			flex-direction: column;
			gap: 2px;
			flex: 1;
			min-width: 0;
		}

		.task-text-wrap label {
			line-height: 1.2;
		}

		.task-elapsed {
			font-size: 0.68rem;
			letter-spacing: 0.15px;
			color: #93c5fd;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.task-points {
			font-size: 0.72rem;
			font-weight: 700;
			padding: 1px 6px;
			border-radius: 999px;
			background: rgba(56, 189, 248, 0.16);
			border: 1px solid rgba(56, 189, 248, 0.35);
			color: #bae6fd;
			letter-spacing: 0.2px;
			white-space: nowrap;
			flex-shrink: 0;
		}

		.task-times {
			font-size: 0.72rem;
			font-weight: 700;
			color: var(--muted);
			letter-spacing: 0.15px;
			white-space: nowrap;
			flex-shrink: 0;
		}

		.task-time-dates-section {
			min-width: 0;
		}

		.task-time-dates-label-row {
			display: flex;
			align-items: baseline;
			gap: 6px;
			flex-wrap: wrap;
		}

		.task-time-dates-input-row {
			display: flex;
			align-items: stretch;
			gap: 8px;
		}

		.task-time-dates-btn {
			flex-shrink: 0;
			min-width: 42px;
			height: auto;
			padding: 0;
			font-size: 1.05rem;
			line-height: 1;
			margin-top: 4px;
		}

		.task-time-dates-summary {
			font-size: 0.78rem;
			color: var(--muted);
			text-align: left;
		}

		.task-time-dates-modal {
			max-width: 560px;
		}

		.task-time-dates-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
		}

		.task-time-dates-hint {
			margin: 8px 0 0;
			font-size: 0.86rem;
			color: var(--muted);
		}

		.task-time-dates-rows {
			display: grid;
			gap: 10px;
			margin-top: 14px;
			max-height: min(55vh, 460px);
			overflow-y: auto;
			padding-right: 2px;
		}

		.task-time-date-row {
			display: grid;
			grid-template-columns: minmax(0, 1fr) 160px;
			gap: 12px;
			align-items: end;
			padding: 12px;
			border-radius: 12px;
			background: rgba(15, 23, 42, 0.22);
			border: 1px solid rgba(148, 163, 184, 0.16);
		}

		.task-time-date-info {
			display: inline-flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: center;
			gap: 6px;
			min-height: 100%;
			padding: 12px 14px;
			border-radius: 12px;
			background:
				linear-gradient(145deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.08)),
				rgba(15, 23, 42, 0.42);
			border: 1px solid rgba(56, 189, 248, 0.22);
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
		}

		.task-time-date-slot {
			font-size: 0.78rem;
			font-weight: 700;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: #cbd5e1;
		}

		.task-time-date-points {
			display: block;
			font-size: 1rem;
			font-weight: 800;
			line-height: 1;
			color: #67e8f9;
			text-shadow: 0 0 14px rgba(34, 211, 238, 0.16);
		}

		body[data-theme="sky-bright"] .task-time-date-row {
			background: rgba(255, 255, 255, 0.8);
			border-color: rgba(14, 165, 233, 0.16);
		}

		body[data-theme="sky-bright"] .task-time-date-info {
			background:
				linear-gradient(145deg, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0.05)),
				rgba(255, 255, 255, 0.92);
			border-color: rgba(14, 165, 233, 0.18);
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
		}

		body[data-theme="sky-bright"] .task-time-date-slot {
			color: #0f172a;
		}

		body[data-theme="sky-bright"] .task-time-date-points {
			color: #0369a1;
			text-shadow: none;
		}

		@media (max-width: 640px) {
			.task-time-date-row {
				grid-template-columns: 1fr;
			}
		}

		.task-country-lookup-pending {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 18px;
			height: 18px;
			border-radius: 999px;
			background: rgba(251, 191, 36, 0.12);
			border: 1px solid rgba(251, 191, 36, 0.28);
			flex-shrink: 0;
		}

		.task-country-lookup-spinner {
			width: 10px;
			height: 10px;
			border-radius: 999px;
			border: 2px solid rgba(253, 230, 138, 0.28);
			border-top-color: #fde68a;
			animation: taskCountryLookupSpin 0.8s linear infinite;
		}

		.task.done .task-points {
			background: rgba(34, 197, 94, 0.15);
			border-color: rgba(74, 222, 128, 0.35);
			color: #bbf7d0;
		}

		.task.done .task-times {
			color: #86efac;
		}

		.task.done .task-country-lookup-pending {
			background: rgba(250, 204, 21, 0.14);
			border-color: rgba(250, 204, 21, 0.3);
		}

		.task.done .task-country-lookup-spinner {
			border-color: rgba(254, 240, 138, 0.22);
			border-top-color: #fef08a;
		}

		.task.done .task-elapsed {
			color: #86efac;
		}

		@keyframes taskCountryLookupSpin {
			from { transform: rotate(0deg); }
			to { transform: rotate(360deg); }
		}

		.task.grid-saved-highlight {
			border-color: rgba(56, 189, 248, 0.72);
			box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.28), 0 8px 18px rgba(2, 6, 23, 0.4);
			animation: gridSavedPulse 1.4s ease-in-out infinite;
		}

		@keyframes gridSavedPulse {
			0%, 100% { box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2), 0 8px 18px rgba(2, 6, 23, 0.38); }
			50% { box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.36), 0 10px 22px rgba(2, 6, 23, 0.44); }
		}

		.task-right-icon {
			width: 32px;
			height: 32px;
			border-radius: 6px;
			object-fit: cover;
			border: 1px solid rgba(148, 163, 184, 0.15);
			box-shadow: 0 2px 8px rgba(2, 6, 23, 0.35);
			flex-shrink: 0;
		}

		.task-flag-icon {
			object-fit: contain;
			padding: 2px;
		}

		.task-small-image-card {
			display: flex;
			flex-direction: column;
			gap: 8px;
			width: 100%;
			height: 141px;
		}

		.task-small-image-frame {
			position: relative;
			width: min(100%, 220px);
			max-width: 100%;
		}

		.task-small-image-media {
			margin-left: 0;
			width: 100%;
			max-width: none;
			height: 163px;
			max-height: 163px;
			object-fit: cover;
		}

		.task-small-image-frame .task-small-image-checkbox {
			position: absolute;
			top: -130px !important;
			left: 10px !important;
			right: auto !important;
			bottom: auto !important;
			z-index: 2;
			margin: 0;
		}

		.task-small-image-points {
			position: absolute;
			top: 10px;
			right: 10px;
			z-index: 2;
		}

		.task-small-image-title-bar {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 31px;
			background: rgb(0 0 0 / 59%);
			z-index: 1;
		}

		.task-small-image-title-bar label {
			display: block;
			color: #f8fafc;
			font-weight: 400;
			line-height: 1.2;
			text-align: center;
			text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
		}

		.task-small-image-footer {
			display: flex;
			align-items: center;
			gap: 6px;
			flex-wrap: wrap;
			min-width: 0;
		}

		.task-small-image-footer .board-flat-task-list {
			margin-left: 0;
		}

		.task-small-image-footer .task-right-icon {
			width: 24px;
			height: 24px;
			border-radius: 5px;
		}

		.task-inline-image {
			display: block;
			margin-left: 0;
			width: min(100%, 320px);
			max-width: 100%;
			max-height: 220px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.45);
			background: rgba(15, 23, 42, 0.5);
			object-fit: cover;
			box-shadow: 0 8px 18px rgba(2, 6, 23, 0.4);
		}

		.task-inline-image-small {
			width: min(100%, 220px);
			max-height: 140px;
		}

		body[data-theme="sky-bright"] .task-inline-image {
			border-color: rgba(14, 116, 144, 0.28);
			background: rgba(255, 255, 255, 0.82);
			box-shadow: 0 6px 14px rgba(14, 116, 144, 0.2);
		}

		body[data-theme="sky-bright"] .task-small-image-title-bar {
			background: rgba(0, 0, 0, 0.48);
		}

		.task input[type="checkbox"] {
			appearance: none;
			-webkit-appearance: none;
			width: 24px;
			height: 24px;
			border-radius: 999px;
			border: 2px solid #67e8f9;
			background: radial-gradient(circle at 30% 30%, #1e293b, #0f172a);
			box-shadow: 0 0 0 2px #0b1220, 0 4px 10px rgba(0, 0, 0, 0.35);
			cursor: pointer;
			position: relative;
			transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
			flex-shrink: 0;
		}

		.task input[type="checkbox"]:hover {
			transform: scale(1.05);
			box-shadow: 0 0 0 2px #0b1220, 0 0 0 4px #22d3ee33;
		}

		.task input[type="checkbox"]:checked {
			border-color: #34d399;
			background: linear-gradient(135deg, #22c55e, #14b8a6);
			box-shadow: 0 0 0 2px #0b1220, 0 0 0 4px #34d39933;
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.3 11.6 2.9 8.2l1.4-1.4 2 2 5.4-5.4 1.4 1.4z'/%3E%3C/svg%3E");
			background-repeat: no-repeat;
			background-position: center;
			background-size: 14px 14px;
		}

		.task input[type="checkbox"].task-status-ongoing:checked {
			box-shadow: 0 0 0 2px #0b0e2000, 0 0 0 5px rgb(16 185 129 / 55%), 0 0 18px rgb(16 185 129);
		}

		.task input[type="checkbox"].task-status-styled {
			border: 2px solid transparent;
			background:
				radial-gradient(circle at 30% 30%, #1e293b, #0f172a) padding-box,
				var(--task-status-ring, linear-gradient(135deg, #67e8f9, #38bdf8)) border-box;
		}

		.task input[type="checkbox"].task-status-styled:checked {
			border-color: transparent;
			box-shadow: 0 0 0 2px #0b1220, 0 0 0 4px #34d39933;
			background:
				url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.3 11.6 2.9 8.2l1.4-1.4 2 2 5.4-5.4 1.4 1.4z'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
				radial-gradient(circle at 30% 30%, #1e293b, #0f172a) padding-box,
				var(--task-status-ring, linear-gradient(135deg, #67e8f9, #38bdf8)) border-box;
		}

		.task.done label {
			text-decoration: line-through;
			color: #94a3b8;
		}

		.task.done {
			background: rgba(34, 197, 94, 0.09);
			border-color: rgba(74, 222, 128, 0.32);
		}

		.task.just-completed {
			animation: taskCompletePop 620ms ease;
			border-color: #34d399aa;
			box-shadow: inset 0 0 0 1px #34d39955, 0 0 12px rgba(16, 185, 129, 0.2);
		}

		.task.just-completed::after {
			content: '✨';
			position: absolute;
			right: 8px;
			top: 6px;
			font-size: 14px;
			animation: sparkle 700ms ease forwards;
			pointer-events: none;
		}

		@keyframes taskCompletePop {
			0% { filter: brightness(1); }
			50% { filter: brightness(1.16); }
			100% { filter: brightness(1); }
		}

		@keyframes sparkle {
			0% { opacity: 0; transform: translateY(6px) scale(0.8); }
			30% { opacity: 1; transform: translateY(0) scale(1); }
			100% { opacity: 0; transform: translateY(-10px) scale(1.05); }
		}

		.task-complete-today-btn {
			position: absolute;
			top: 50%;
			right: 0;
			transform: translateY(-50%);
			background: rgba(2, 6, 23, 0.72) !important;
			border-color: rgba(148, 163, 184, 0.42);
			letter-spacing: 0.1em;
			text-transform: uppercase;
			animation: todayBtnAppear 300ms ease-out both;
			pointer-events: all;
			z-index: 10;
			border-top-right-radius: 0;
			border-bottom-right-radius: 0;
		}

		.task-complete-today-btn:hover:not(:disabled) {
			transform: translateY(-50%);
		}

		.task-complete-today-btn:active:not(:disabled) {
			transform: translateY(-50%);
		}

		.task-complete-today-btn:disabled {
			opacity: 0.6;
		}

		.task-complete-today-btn.is-confirmed,
		.task-complete-today-btn.is-confirmed:disabled {
			opacity: 1;
			padding-left: 30px;
			background: linear-gradient(135deg, #34d399, #22c55e) !important;
			color: #ffffff;
			border-color: rgba(52, 211, 153, 0.5);
			box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
		}

		.task-complete-today-btn.is-confirmed::before {
			content: '✓';
			position: absolute;
			left: 12px;
			top: 50%;
			transform: translateY(-50%);
			font-size: 0.9rem;
			font-weight: 800;
			line-height: 1;
		}

		@keyframes todayBtnAppear {
			from {
				opacity: 0;
				transform: translateY(-50%) scale(0.8);
			}
			to {
				opacity: 1;
				transform: translateY(-50%) scale(1);
			}
		}

		.icon-btn {
			background: transparent;
			color: var(--danger);
			padding: 4px 7px;
			border-radius: 8px;
			border: 1px solid rgba(251, 113, 133, 0.25);
		}

		.edit-toggle {
			width: 34px;
			min-width: 34px;
			height: 34px;
			padding: 0;
			font-size: 1.08rem;
			line-height: 1;
		}

		.delete-list-btn {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 0 10px;
			height: 34px;
			font-size: 0.84rem;
		}

		.edit-only {
			display: none !important;
		}

		.list-card.edit-open .edit-only {
			display: inline-flex !important;
			align-items: center;
			justify-content: center;
			height: 34px;
			border-radius: 9px;
			border: 1px solid rgba(148, 163, 184, 0.35);
			background: rgba(15, 23, 42, 0.4);
			color: var(--text);
			font-size: 0.82rem;
			box-shadow: none;
			transform: none;
			line-height: 1;
			padding: 0 10px;
		}

		.list-card.edit-open .location-toggle.edit-only {
			justify-content: flex-start;
		}

		.list-card.edit-open .task .edit-only {
			display: inline-flex !important;
			width: 34px;
			min-width: 34px;
			height: 34px;
			padding: 0;
			font-size: 0.9rem;
		}

		.list-card.edit-open .task .edit-only:hover {
			background: rgba(56, 189, 248, 0.14);
			border-color: rgba(56, 189, 248, 0.52);
			filter: none;
			transform: none;
			box-shadow: none;
		}

		body[data-theme="sky-bright"] .list-card.edit-open .task .edit-only,
		body[data-theme="sky-bright"] .location-toggle {
			background: rgba(255, 255, 255, 0.9);
			border-color: rgba(14, 116, 144, 0.35);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .list-card.edit-open .task .edit-only:hover {
			background: rgba(224, 242, 254, 0.95);
			border-color: rgba(2, 132, 199, 0.5);
		}

		.list-card.edit-open .list-title {
			background: rgba(148, 163, 184, 0.12);
		}

		.row {
			display: flex;
			gap: 8px;
		}

		.ghost {
			background: transparent;
			border: 1px solid rgba(203, 213, 225, 0.25);
			color: #f1f5f9;
			box-shadow: none;
		}

		.ghost:hover {
			background: rgba(56, 189, 248, 0.12);
			border-color: rgba(56, 189, 248, 0.52);
		}

		.empty {
			color: var(--muted);
			font-size: 0.9rem;
			text-align: center;
			border: 1px dashed rgba(148, 163, 184, 0.35);
			border-radius: 12px;
			padding: 20px 12px;
		}

		.confirm-backdrop {
			position: fixed;
			inset: 0;
			background: rgba(2, 6, 23, 0.72);
			display: none;
			align-items: center;
			justify-content: center;
			z-index: 1000;
			backdrop-filter: blur(4px);
		}

		.confirm-backdrop.open {
			display: flex;
		}

		#exportBackdrop,
		#soundPickerBackdrop,
		#browseBoardsBackdrop,
		#goalsMapBackdrop {
			z-index: 1400;
		}

		#welcomeBackdrop {
			z-index: 1500;
		}

		#iconBackdrop {
			z-index: 1100;
		}

		#iconBackdrop,
		#welcomeBackdrop {
			background:
				radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.14), transparent 28%),
				radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.12), transparent 26%),
				radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.08), transparent 34%),
				rgba(2, 6, 23, 0.72);
			backdrop-filter: blur(16px) saturate(140%);
		}

		.confirm-modal {
			width: min(460px, calc(100vw - 24px));
			background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.98));
			border: 1px solid rgba(248, 113, 113, 0.35);
			border-radius: 16px;
			padding: 16px;
			box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
		}

		.confirm-title {
			margin: 0 0 8px;
			font-size: 1.18rem;
		}

		.confirm-text {
			margin: 0;
			color: #cbd5e1;
			line-height: 1.45;
		}

		.confirm-actions {
			display: flex;
			justify-content: flex-end;
			gap: 8px;
			margin-top: 14px;
		}

		.publish-board-modal {
			width: min(560px, calc(100vw - 24px));
			border-color: rgba(56, 189, 248, 0.3);
		}

		.publish-board-head {
			margin-bottom: 10px;
		}

		.publish-board-url-row {
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto;
			gap: 10px;
			align-items: center;
			margin-top: 14px;
		}

		.publish-board-url-input {
			margin-top: 0;
		}

		.publish-board-toggle {
			display: flex;
			align-items: center;
			gap: 10px;
			margin-top: 14px;
			padding: 10px 12px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			border-radius: 12px;
			background: rgba(15, 23, 42, 0.48);
			font-size: 0.92rem;
			font-weight: 600;
			color: rgba(226, 232, 240, 0.94);
			cursor: pointer;
		}

		.publish-board-toggle input {
			width: 18px;
			height: 18px;
			margin: 0;
			accent-color: #38bdf8;
		}

		.publish-board-feedback {
			margin-top: 10px;
			font-size: 0.82rem;
			font-weight: 700;
			letter-spacing: 0.04em;
			text-transform: uppercase;
		}

		.publish-board-feedback[data-state="success"] {
			color: #86efac;
		}

		.publish-board-feedback[data-state="error"] {
			color: #fda4af;
		}

		.danger-btn {
			background: linear-gradient(135deg, #ef4444, #f43f5e);
			box-shadow: 0 8px 18px rgba(244, 63, 94, 0.26);
		}

		.icon-modal {
			width: min(360px, calc(100vw - 24px));
			max-height: min(90vh, 90svh);
			overflow-y: auto;
			position: relative;
			isolation: isolate;
			background:
				radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 30%),
				radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 26%),
				linear-gradient(160deg, rgba(6, 11, 24, 0.97), rgba(12, 22, 41, 0.98) 58%, rgba(20, 31, 54, 0.98));
			border: 1px solid rgba(94, 234, 212, 0.2);
			border-radius: 18px;
			padding: 16px;
			box-shadow:
				0 28px 72px rgba(2, 6, 23, 0.58),
				0 0 0 1px rgba(56, 189, 248, 0.08),
				inset 0 1px 0 rgba(255, 255, 255, 0.08);
			scrollbar-color: rgba(94, 234, 212, 0.65) rgba(15, 23, 42, 0.26);
		}

		.icon-modal::before {
			content: '';
			position: absolute;
			inset: 0;
			border-radius: inherit;
			pointer-events: none;
			background:
				linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%),
				linear-gradient(180deg, rgba(34, 211, 238, 0.06), transparent 38%, rgba(59, 130, 246, 0.05) 100%);
			mask: linear-gradient(#000, #000);
		}

		.icon-modal-head {
			display: flex;
			align-items: center;
			gap: 10px;
			margin-bottom: 10px;
			padding-bottom: 10px;
			border-bottom: 1px solid rgba(94, 234, 212, 0.14);
		}

		.icon-modal-title {
			margin: 0 0 8px;
			font-size: 1.08rem;
			font-weight: 800;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: #ecfeff;
			text-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
		}

		.icon-modal-head .icon-modal-title {
			margin: 0;
		}

		.icon-modal-head-actions {
			margin-left: auto;
			display: inline-flex;
			align-items: center;
			gap: 6px;
		}

		.icon-modal-delete-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 6px;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.icon-modal-move-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 6px;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.icon-modal-move-btn:disabled {
			opacity: 0.58;
			cursor: not-allowed;
		}

		#taskMoveBackdrop {
			z-index: 1160;
		}

		#taskTimeDatesBackdrop {
			z-index: 1165;
		}

		.task-move-modal {
			width: min(380px, calc(100vw - 24px));
			max-height: min(76vh, 560px);
			overflow: auto;
		}

		.task-move-head {
			display: flex;
			align-items: center;
			gap: 8px;
			margin-bottom: 8px;
		}

		.task-move-title {
			margin: 0;
			font-size: 1rem;
			font-weight: 700;
		}

		.task-move-close {
			margin-left: auto;
			height: 30px;
			padding: 0 10px;
			font-size: 0.78rem;
			white-space: nowrap;
		}

		.task-move-options {
			display: grid;
			gap: 6px;
			max-height: min(46vh, 320px);
			overflow: auto;
			padding-right: 2px;
		}

		.task-move-option {
			display: inline-flex;
			align-items: center;
			justify-content: flex-start;
			gap: 8px;
			width: 100%;
			height: 32px;
			padding: 0 10px;
			font-size: 0.82rem;
			border-radius: 10px;
		}

		.task-move-option-icon {
			width: 18px;
			font-size: 0.95rem;
			line-height: 1;
			text-align: center;
			flex-shrink: 0;
		}

		.task-move-option-label {
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.list-move-option .task-move-option-label {
			text-align: left;
		}

		.task-url-section {
			display: grid;
			gap: 0;
		}

		.task-status-section,
		.task-date-country-section {
			display: grid;
			gap: 0;
		}

		.task-url-toggle {
			display: inline-flex;
			width: 100%;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			justify-content: space-between;
			align-items: center;
			margin-top: 8px;
		}

		.task-status-toggle,
		.task-date-country-toggle {
			display: none;
			width: 100%;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			justify-content: space-between;
			align-items: center;
			margin-top: 8px;
		}

		.task-url-fields {
			display: none;
			gap: 0;
		}

		.task-url-section.open .task-url-fields {
			display: grid;
		}

		.task-status-fields,
		.task-date-country-fields {
			display: grid;
			gap: 0;
		}

		.quick-add-modal {
			width: min(420px, calc(100vw - 24px));
		}

		.quick-add-modal-hint {
			margin: 2px 0 4px;
			font-size: 0.8rem;
			line-height: 1.35;
			color: var(--muted);
		}

		.quick-add-actions {
			margin-top: 12px;
		}

		.sound-picker-modal {
			width: min(460px, calc(100vw - 24px));
		}

		.sound-picker-list {
			display: grid;
			gap: 8px;
		}

		.sound-picker-row {
			display: grid;
			gap: 6px;
		}

		.sound-picker-control-row {
			display: flex;
			align-items: center;
			gap: 8px;
		}

		.sound-picker-select {
			flex: 1;
			min-width: 0;
		}

		.sound-picker-select option {
			background: #0f172a;
			color: #effbff;
		}

		body[data-theme="sky-bright"] .sound-picker-select option {
			background: #ffffff;
			color: #0b1b3b;
		}

		.sound-picker-play-btn {
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.sound-picker-actions {
			margin-top: 12px;
		}

		.export-modal {
			width: min(460px, calc(100vw - 24px));
		}

		.export-actions {
			display: grid;
			gap: 8px;
			margin-top: 12px;
		}

		.export-actions button {
			width: 100%;
		}

		@media (max-width: 1200px) {
			.task-status-toggle,
			.task-date-country-toggle {
				display: inline-flex;
			}

			.task-status-fields,
			.task-date-country-fields {
				display: none;
			}

			.task-status-section.open .task-status-fields,
			.task-date-country-section.open .task-date-country-fields {
				display: grid;
			}
		}

		.icon-modal-field {
			display: grid;
			gap: 4px;
			margin-top: 8px;
			margin-bottom: 16px;
		}

		.icon-modal-row {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 10px;
			align-items: end;
		}

		.icon-modal-row .icon-modal-field {
			margin-top: 8px;
		}

		.task-status-options {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 6px;
			margin-top: 4px;
		}

		.task-status-option {
			--task-status-selected-border: rgba(74, 222, 128, 0.72);
			--task-status-selected-background: rgba(34, 197, 94, 0.2);
			--task-status-selected-color: #dcfce7;
			--task-status-selected-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 7px 9px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.42);
			color: var(--text);
			font-family: inherit;
			font-size: 0.76rem;
			line-height: 1.2;
			text-align: left;
			cursor: pointer;
			user-select: none;
			box-shadow: none;
			transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
			transform: none;
			filter: none;
		}

		.task-status-option:hover {
			border-color: rgba(56, 189, 248, 0.45);
			background: rgba(15, 23, 42, 0.56);
			transform: none;
			filter: none;
			box-shadow: none;
		}

		.task-status-option:focus-visible {
			outline: none;
			border-color: rgba(74, 222, 128, 0.7);
			box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
		}

		.task-status-option.is-selected {
			border-color: var(--task-status-selected-border);
			background: var(--task-status-selected-background);
			color: var(--task-status-selected-color);
			box-shadow: var(--task-status-selected-shadow);
		}

		.task-status-option[data-status-key="ongoing"] {
			--task-status-selected-border: rgba(16, 185, 129, 0.78);
			--task-status-selected-background: rgba(16, 185, 129, 0.22);
			--task-status-selected-color: #d1fae5;
			--task-status-selected-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
		}

		.task-status-option-icon {
			font-size: 0.86rem;
			line-height: 1;
		}

		.task-points-total-preview {
			margin-top: 6px;
			font-size: 0.8rem;
			font-weight: 600;
			color: var(--muted);
			letter-spacing: 0.15px;
		}

		.task-time-dates-total-preview {
			margin-top: 10px;
			padding: 10px 12px;
			border-radius: 12px;
			background: rgba(15, 23, 42, 0.42);
			border: 1px solid rgba(56, 189, 248, 0.2);
			color: #bae6fd;
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
		}

		body[data-theme="sky-bright"] .task-time-dates-total-preview {
			background: rgba(255, 255, 255, 0.92);
			border-color: rgba(14, 165, 233, 0.18);
			color: #0369a1;
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
		}

		.icon-modal-label {
			font-size: 0.82rem;
			color: #9dd8e6;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			font-weight: 700;
		}

		label.icon-modal-label {
			text-align: center;
		}

		.icon-modal-input {
			width: 100%;
			margin-top: 4px;
			border-color: rgba(56, 189, 248, 0.22);
			background:
				linear-gradient(180deg, rgba(8, 15, 31, 0.88), rgba(15, 23, 42, 0.72)),
				radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 70%);
			box-shadow:
				inset 0 1px 0 rgba(255, 255, 255, 0.05),
				0 0 0 1px rgba(34, 211, 238, 0.03);
		}

		.icon-modal-input:focus,
		.icon-modal-input:focus-visible {
			border-color: rgba(94, 234, 212, 0.52);
			box-shadow:
				0 0 0 3px rgba(34, 211, 238, 0.14),
				0 0 24px rgba(56, 189, 248, 0.12),
				inset 0 1px 0 rgba(255, 255, 255, 0.06);
		}

		.icon-modal-points {
			max-width: none;
		}

		.achievement-target-row .icon-modal-points {
			width: 100%;
		}

		.icon-modal-date {
			max-width: 210px;
		}

		.task-date-input-row {
			display: flex;
			align-items: stretch;
			gap: 8px;
			margin-top: 4px;
		}

		.task-date-input-row .icon-modal-input {
			margin-top: 0;
		}

		.task-date-clear-btn {
			flex: 0 0 auto;
			min-width: 34px;
			border: 0;
			padding: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			align-self: stretch;
			font-size: 0.95rem;
			line-height: 1;
		}

		.fill-points-modal {
			width: min(420px, calc(100vw - 24px));
		}

		.fill-points-progress {
			font-size: 0.78rem;
			font-weight: 700;
			color: var(--muted);
			margin-top: -2px;
			margin-bottom: 2px;
		}

		.fill-points-title-input[readonly] {
			opacity: 0.92;
			cursor: default;
		}

		.fill-points-actions {
			justify-content: space-between;
		}

		.task-country-value-row {
			display: flex;
			align-items: center;
			gap: 8px;
			margin-top: 4px;
		}

		.task-country-value {
			flex: 1;
			min-width: 0;
			padding: 8px 10px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.45);
			color: var(--muted);
			font-size: 0.84rem;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			text-align: left;
		}

		.task-country-choose-btn {
			height: 32px;
			padding: 0 10px;
			font-size: 0.78rem;
			white-space: nowrap;
		}

		body[data-theme="sky-bright"] .task-country-value {
			background: rgba(255, 255, 255, 0.88);
			border-color: rgba(14, 116, 144, 0.3);
			color: #0b1b3b;
		}

		.icon-modal-textarea {
			min-height: 0;
			height: auto;
			resize: none;
			overflow-y: hidden;
			line-height: 1.35;
		}

		.icon-modal-link-edit-row[hidden],
		.icon-modal-link-view[hidden] {
			display: none !important;
		}

		.icon-modal-link-view {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 8px 10px;
			border-radius: 10px;
			border: 1px solid rgba(94, 234, 212, 0.24);
			background: linear-gradient(135deg, rgba(8, 47, 73, 0.26), rgba(15, 23, 42, 0.34));
			margin-top: 4px;
			width: 100%;
			box-sizing: border-box;
			overflow: hidden;
		}

		.icon-modal-link-anchor {
			color: #7dd3fc;
			font-size: 0.84rem;
			text-decoration: underline;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			display: block;
			min-width: 0;
			flex: 1;
		}

		.icon-modal-link-edit-btn {
			height: 28px;
			padding: 0 10px;
			font-size: 0.78rem;
			white-space: nowrap;
			flex-shrink: 0;
		}

		body[data-theme="sky-bright"] .icon-modal-link-view {
			border-color: rgba(14, 116, 144, 0.32);
			background: rgba(186, 230, 253, 0.45);
		}

		body[data-theme="sky-bright"] .icon-modal-link-anchor {
			color: #0369a1;
		}

		.task-date-elapsed {
			margin-top: 8px;
			font-size: 0.76rem;
			line-height: 1.3;
			padding: 4px 8px;
			border-radius: 8px;
			color: #7dd3fc;
			background: rgba(14, 116, 144, 0.18);
			border: 1px solid rgba(56, 189, 248, 0.35);
		}

		.task-modal-image-wrap {
			margin-top: 10px;
			display: flex;
			justify-content: center;
		}

		.task-modal-image-wrap[hidden] {
			display: none !important;
		}

		.task-modal-image {
			width: min(100%, 320px);
			max-height: 220px;
			border-radius: 12px;
			border: 1px solid rgba(148, 163, 184, 0.45);
			background: rgba(15, 23, 42, 0.5);
			object-fit: cover;
			box-shadow: 0 10px 24px rgba(2, 6, 23, 0.42);
		}

		.icon-modal-footer-actions {
			align-items: center;
			padding-top: 6px;
			border-top: 1px solid rgba(94, 234, 212, 0.12);
		}

		.icon-modal-footer-actions-spacer {
			flex: 1 1 auto;
		}

		.task-google-search-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.task-google-search-btn:disabled {
			opacity: 0.58;
			cursor: not-allowed;
		}

		.task-google-search-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 18px;
			height: 18px;
			border-radius: 999px;
			background: conic-gradient(from 44deg, #4285f4 0deg 118deg, #34a853 118deg 214deg, #fbbc05 214deg 276deg, #ea4335 276deg 360deg);
		}

		.task-google-search-icon-core {
			position: relative;
			display: block;
			width: 12px;
			height: 12px;
			border-radius: 999px;
			background: #0f172a;
			box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.92);
		}

		.task-google-search-icon-core::before,
		.task-google-search-icon-core::after {
			content: '';
			position: absolute;
			display: block;
		}

		.task-google-search-icon-core::before {
			top: 4px;
			right: -2px;
			width: 8px;
			height: 4px;
			border-radius: 999px;
			background: #4285f4;
		}

		.task-google-search-icon-core::after {
			top: 2px;
			right: -1px;
			width: 6px;
			height: 8px;
			background: #0f172a;
		}

		@media (max-width: 480px) {
			.icon-modal-head {
				align-items: flex-start;
			}

			.task-status-options {
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}

			.icon-modal-delete-btn,
			.icon-modal-move-btn {
				height: 30px;
				padding: 0 8px;
				font-size: 0.76rem;
			}

			.icon-modal-footer-actions {
				flex-wrap: nowrap;
				justify-content: flex-start;
				gap: 6px;
			}

			.icon-modal-footer-actions-spacer {
				flex: 1 1 auto;
				order: 0;
			}

			.task-google-search-btn {
				order: 0;
				margin-right: 0;
				gap: 6px;
				padding: 0 8px;
				font-size: 0.76rem;
			}
		}

		.list-icon-picker-modal {
			width: min(520px, calc(100vw - 24px));
		}

		.icon-picker-search {
			margin-top: 10px;
		}

		.icon-picker-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
			gap: 8px;
			margin-top: 10px;
			max-height: min(52vh, 380px);
			overflow: auto;
		}

		.icon-picker-item {
			height: 42px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.3);
			background: rgba(15, 23, 42, 0.55);
			box-shadow: none;
			font-size: 1.15rem;
			padding: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			transform: none;
		}

		.icon-picker-item:hover {
			background: rgba(56, 189, 248, 0.14);
			border-color: rgba(56, 189, 248, 0.52);
			box-shadow: 0 0 0 2px #38bdf833;
			filter: none;
			transform: none;
		}

		.icon-picker-item.auto {
			font-size: 0.78rem;
			font-weight: 700;
			letter-spacing: 0.2px;
		}

		body[data-theme="sky-bright"] .icon-picker-item {
			background: rgba(224, 242, 254, 0.72);
			border-color: rgba(14, 116, 144, 0.26);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .icon-picker-item:hover {
			background: rgba(186, 230, 253, 0.95);
			border-color: rgba(2, 132, 199, 0.5);
			box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.16);
		}

		.list-order-modal {
			width: min(460px, calc(100vw - 24px));
			background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.98));
			border: 1px solid rgba(56, 189, 248, 0.35);
			border-radius: 14px;
			padding: 14px;
			box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
		}

		.list-order-hint {
			margin: 0;
			font-size: 0.84rem;
			color: var(--muted);
		}

		.list-order-options {
			display: grid;
			gap: 8px;
			margin-top: 10px;
		}

		.list-order-options .show-images-toggle {
			justify-content: flex-start;
			width: fit-content;
		}

		.list-order-list {
			display: grid;
			gap: 8px;
			margin-top: 10px;
			max-height: min(52vh, 420px);
			overflow: auto;
		}

		.list-order-item {
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 10px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.6);
			cursor: grab;
			user-select: none;
		}

		.list-order-item.dragging {
			opacity: 0.55;
		}

		.list-order-item.drag-over {
			border-color: var(--accent);
			box-shadow: 0 0 0 2px #38bdf844;
		}

		.list-order-handle {
			font-size: 0.95rem;
			color: var(--muted);
			letter-spacing: 1px;
			line-height: 1;
		}

		.list-order-name {
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		body[data-theme="sky-bright"] .list-order-modal {
			background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
			border-color: rgba(14, 116, 144, 0.3);
			box-shadow: 0 18px 42px rgba(14, 116, 144, 0.22);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .list-order-item {
			background: rgba(224, 242, 254, 0.62);
			border-color: rgba(14, 116, 144, 0.24);
		}

		body[data-theme="sky-bright"] .list-order-options .show-images-toggle {
			background: rgba(255, 255, 255, 0.9);
			border-color: rgba(14, 116, 144, 0.35);
			color: #0b1b3b;
		}

		.goals-map-modal {
			width: min(1080px, calc(100vw - 24px));
		}

		.goals-map-filters {
			display: grid;
			grid-template-columns: minmax(0, 1fr);
			gap: 12px;
			margin-top: 12px;
		}

		.goals-map-filter-field {
			display: grid;
			gap: 6px;
			min-width: 0;
		}

		.goals-map-title {
			display: inline-flex;
			align-items: center;
			gap: 10px;
		}

		.goals-map-title-icon {
			position: relative;
			display: inline-block;
			width: 16px;
			height: 16px;
			border-radius: 50% 50% 50% 0;
			transform: rotate(-45deg);
			background: linear-gradient(145deg, #38bdf8, #0ea5e9);
			box-shadow: 0 8px 18px rgba(14, 165, 233, 0.28);
			flex: 0 0 auto;
		}

		.goals-map-title-icon::after {
			content: '';
			position: absolute;
			inset: 4px;
			border-radius: 999px;
			background: rgba(255, 255, 255, 0.95);
		}

		.goals-map-filter-buttons {
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
		}

		.goals-map-filter-btn {
			height: 34px;
			padding: 0 12px;
			font-size: 0.78rem;
			font-weight: 700;
			letter-spacing: 0.03em;
			text-transform: uppercase;
			border-radius: 999px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.5);
			color: var(--muted);
			white-space: nowrap;
			display: inline-flex;
			align-items: center;
			gap: 8px;
		}

		.goals-map-filter-btn.is-active {
			border-color: var(--accent);
			background: rgba(14, 165, 233, 0.16);
			color: #dbeafe;
			box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
		}

		.goals-map-filter-btn-icon {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 18px;
			height: 18px;
			border-radius: 999px;
			font-size: 0.72rem;
			font-weight: 800;
			line-height: 1;
			flex: 0 0 auto;
		}

		.goals-map-filter-btn-icon.is-all {
			background: linear-gradient(145deg, rgba(56, 189, 248, 0.24), rgba(14, 165, 233, 0.38));
			border: 1px solid rgba(56, 189, 248, 0.4);
		}

		.goals-map-filter-btn-icon.is-all::before {
			content: '';
			width: 8px;
			height: 8px;
			border-radius: 999px;
			background: currentColor;
			box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24);
		}

		.goals-map-filter-btn-icon.is-completed {
			background: rgba(34, 197, 94, 0.2);
			border: 1px solid rgba(34, 197, 94, 0.34);
			color: #bbf7d0;
		}

		.goals-map-filter-btn-icon.is-not-completed {
			background: rgba(239, 68, 68, 0.18);
			border: 1px solid rgba(239, 68, 68, 0.32);
			color: #fecaca;
		}

		.goals-map-list-filter-buttons {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(132px, max-content));
			max-height: 86px;
			overflow: auto;
			padding-right: 2px;
		}

		.goals-map-list-filter-item {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			min-width: 0;
		}

		.goals-map-list-filter-item .goals-map-filter-btn {
			min-width: 0;
			max-width: 100%;
		}

		.goals-map-list-filter-color {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 28px;
			height: 28px;
			border-radius: 999px;
			border: 1px solid rgba(148, 163, 184, 0.32);
			background: rgba(15, 23, 42, 0.58);
			cursor: pointer;
			flex: 0 0 auto;
		}

		.goals-map-list-filter-color input[type="color"] {
			position: absolute;
			inset: 0;
			opacity: 0;
			cursor: pointer;
			width: 100%;
			height: 100%;
		}

		.goals-map-list-filter-swatch {
			width: 16px;
			height: 16px;
			border-radius: 999px;
			background: var(--goals-map-pin, #38bdf8);
			box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
			pointer-events: none;
		}

		.goals-map-layout {
			display: grid;
			grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.95fr);
			gap: 14px;
			margin-top: 12px;
		}

		.goals-map-canvas {
			min-height: min(68vh, 620px);
			border-radius: 14px;
			overflow: hidden;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background:
				radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 48%),
				linear-gradient(145deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.96));
		}

		.goals-map-side {
			display: grid;
			gap: 10px;
			grid-template-rows: auto minmax(0, 1fr) auto;
			min-height: 0;
		}

		.goals-map-list-filter-field {
			align-content: start;
		}

		.goals-map-results {
			display: grid;
			gap: 10px;
			max-height: min(60vh, 560px);
			overflow: auto;
			padding-right: 2px;
		}

		.goals-map-bottom {
			display: grid;
			gap: 8px;
			align-self: end;
		}

		.goals-map-summary {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
			gap: 8px;
		}

		.goals-map-progress {
			display: grid;
			gap: 6px;
		}

		.goals-map-progress[hidden] {
			display: none;
		}

		.goals-map-progress-bar {
			position: relative;
			overflow: hidden;
			height: 12px;
			border-radius: 999px;
			border: 1px solid rgba(148, 163, 184, 0.22);
			background: rgba(15, 23, 42, 0.42);
			box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.2);
		}

		.goals-map-progress-fill {
			display: block;
			height: 100%;
			width: 0;
			border-radius: inherit;
			background: linear-gradient(90deg, rgba(56, 189, 248, 0.86), rgba(14, 165, 233, 1));
			box-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
			transition: width 160ms ease;
		}

		.goals-map-progress-label {
			font-size: 0.78rem;
			line-height: 1.35;
			color: var(--muted);
		}

		.goals-map-summary-chip {
			display: grid;
			gap: 2px;
			padding: 8px 10px;
			border-radius: 12px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.58);
			min-width: 0;
		}

		.goals-map-summary-label {
			font-size: 0.68rem;
			letter-spacing: 0.04em;
			text-transform: uppercase;
			color: var(--muted);
			white-space: nowrap;
		}

		.goals-map-summary-value {
			font-size: 0.95rem;
			font-weight: 700;
			color: var(--text);
			white-space: nowrap;
		}

		.goals-map-status-copy {
			margin: 0;
		}

		.goals-map-result {
			width: 100%;
			display: grid;
			gap: 6px;
			padding: 12px;
			text-align: left;
			border-radius: 12px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.62);
		}

		.goals-map-result:hover {
			border-color: var(--accent);
			box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
		}

		.goals-map-result-title-row {
			display: flex;
			justify-content: space-between;
			gap: 8px;
			align-items: center;
		}

		.goals-map-result-title-main {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			min-width: 0;
		}

		.goals-map-result-title {
			font-size: 0.96rem;
			font-weight: 700;
			color: var(--text);
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.goals-map-result-completion {
			padding: 3px 8px;
			border-radius: 999px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(51, 65, 85, 0.55);
			font-size: 0.7rem;
			font-weight: 700;
			letter-spacing: 0.04em;
			text-transform: uppercase;
			color: #cbd5e1;
			display: inline-flex;
			align-items: center;
			gap: 5px;
		}

		.goals-map-result-completion.is-done {
			border-color: rgba(34, 197, 94, 0.35);
			background: rgba(34, 197, 94, 0.16);
			color: #bbf7d0;
		}

		.goals-map-result-completion-check {
			font-size: 0.82rem;
			line-height: 1;
		}

		.goals-map-result-meta,
		.goals-map-empty,
		.goals-map-note {
			font-size: 0.82rem;
			line-height: 1.45;
			color: var(--muted);
		}

		.goals-map-popup-list,
		.goals-map-result-meta {
			display: inline-flex;
			align-items: center;
			gap: 8px;
		}

		.goals-map-result-meta {
			flex-wrap: wrap;
			justify-content: flex-start;
		}

		.goals-map-result-meta-main {
			display: inline-flex;
			align-items: center;
			gap: 8px;
		}

		.goals-map-result-flag {
			width: 18px;
			height: 13px;
			border-radius: 3px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			object-fit: cover;
			box-shadow: 0 1px 3px rgba(2, 6, 23, 0.28);
			background: rgba(15, 23, 42, 0.5);
		}

		.goals-map-result-flag-fallback {
			font-size: 0.9rem;
			line-height: 1;
		}

		.goals-map-popup-dot {
			width: 10px;
			height: 10px;
			border-radius: 999px;
			background: var(--goals-map-pin, #38bdf8);
			box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.32);
			flex: 0 0 auto;
		}

		.goals-map-pin-wrap {
			background: transparent;
			border: 0;
		}

		.goals-map-pin {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 22px;
			height: 22px;
			border-radius: 50% 50% 50% 0;
			transform: rotate(-45deg);
			background: var(--goals-map-pin, #38bdf8);
			box-shadow: 0 10px 20px rgba(2, 6, 23, 0.3);
			border: 2px solid rgba(255, 255, 255, 0.9);
		}

		.goals-map-pin::after {
			content: '';
			position: absolute;
		}

		.goals-map-pin-glyph {
			position: relative;
			z-index: 1;
			display: inline-block;
			font-size: 13px;
			font-weight: 900;
			line-height: 1;
			color: rgba(255, 255, 255, 0.99);
			transform: rotate(45deg) translate(1px, -1px);
			text-shadow: 0 1px 1px rgba(2, 6, 23, 0.2);
		}

		.goals-map-pin.is-pending {
			width: 22px;
			height: 22px;
			border-radius: 50% 50% 50% 0;
			transform: rotate(-45deg);
			box-shadow: 0 10px 20px rgba(2, 6, 23, 0.3);
			opacity: 0.5;
		}

		.goals-map-pin.is-pending::after {
			inset: 5px;
			border-radius: 999px;
			background: rgba(255, 255, 255, 0.98);
		}
		.goals-map-note {
			font-size: 0.82rem;
			line-height: 1.45;
			color: var(--muted);
		}

		.goals-map-popup {
			display: grid;
			gap: 4px;
			font-family: inherit;
		}

		.goals-map-popup-title {
			font-weight: 700;
		}

		body[data-theme="sky-bright"] .goals-map-summary-chip,
		body[data-theme="sky-bright"] .goals-map-result {
			background: rgba(255, 255, 255, 0.9);
			border-color: rgba(14, 116, 144, 0.22);
		}

		body[data-theme="sky-bright"] .goals-map-filter-btn {
			background: rgba(255, 255, 255, 0.88);
			border-color: rgba(14, 116, 144, 0.22);
			color: #475569;
		}

		body[data-theme="sky-bright"] .goals-map-filter-btn.is-active {
			background: rgba(186, 230, 253, 0.9);
			border-color: rgba(2, 132, 199, 0.35);
			color: #0b4a6f;
		}

		body[data-theme="sky-bright"] .goals-map-result-completion {
			background: rgba(226, 232, 240, 0.8);
			border-color: rgba(14, 116, 144, 0.18);
			color: #334155;
		}

		body[data-theme="sky-bright"] .goals-map-result-completion.is-done {
			background: rgba(187, 247, 208, 0.9);
			border-color: rgba(34, 197, 94, 0.28);
			color: #166534;
		}

		body[data-theme="sky-bright"] .goals-map-canvas {
			border-color: rgba(14, 116, 144, 0.24);
			background: linear-gradient(145deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.96));
		}

		body[data-theme="sky-bright"] .goals-map-result-flag {
			border-color: rgba(14, 116, 144, 0.22);
			background: rgba(255, 255, 255, 0.88);
		}

		body[data-theme="sky-bright"] .goals-map-progress-bar {
			border-color: rgba(14, 116, 144, 0.18);
			background: rgba(255, 255, 255, 0.72);
		}

		body[data-theme="sky-bright"] .goals-map-progress-fill {
			background: linear-gradient(90deg, rgba(2, 132, 199, 0.82), rgba(14, 116, 144, 0.96));
			box-shadow: 0 0 18px rgba(2, 132, 199, 0.18);
		}

		@media (max-width: 920px) {
			.goals-map-summary {
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}

			.goals-map-layout {
				grid-template-columns: 1fr;
			}

			.goals-map-canvas {
				min-height: min(52vh, 420px);
			}

			.goals-map-results {
				max-height: min(34vh, 300px);
			}
		}

		.list-description-modal {
			width: min(620px, calc(100vw - 24px));
			display: grid;
			gap: 12px;
		}

		.list-description-head,
		.list-order-head,
		.achievements-head {
			display: flex;
			justify-content: center;
			align-items: center;
			position: relative;
			margin-bottom: 12px;
		}

		.achievements-head-actions {
			position: absolute;
			right: 0;
			display: inline-flex;
			align-items: center;
			gap: 8px;
		}

		.achievements-head-edit-btn {
			position: absolute;
			left: 0;
			height: 32px;
			min-width: 32px;
			padding: 0 10px;
			font-size: 1rem;
			line-height: 1;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}

		.list-description-close,
		.list-order-close,
		.achievements-close {
			position: absolute;
			right: 0;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
		}

		.achievements-head-actions .achievements-close,
		.achievements-open-page-btn {
			position: static;
			height: 32px;
			padding: 0 10px;
		}

		.achievements-open-page-btn {
			min-width: 32px;
			font-size: 1rem;
			line-height: 1;
		}

		.list-description-input {
			min-height: 150px;
			max-height: min(48vh, 360px);
		}

		.footer-info-modal {
			width: min(620px, calc(100vw - 24px));
			display: grid;
			gap: 18px;
			padding: 22px 22px 20px;
			border-radius: 18px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background:
				radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 34%),
				linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.98));
			box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
		}

		.footer-info-modal-success {
			background:
				radial-gradient(circle at top left, rgba(74, 222, 128, 0.16), transparent 34%),
				linear-gradient(145deg, rgba(9, 24, 14, 0.98), rgba(15, 23, 42, 0.98));
		}

		.tutorial-modal {
			width: min(680px, calc(100vw - 24px));
			background:
				radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 34%),
				radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.14), transparent 32%),
				linear-gradient(145deg, rgba(28, 25, 23, 0.98), rgba(17, 24, 39, 0.98));
		}

		.tutorial-slide-shell {
			display: grid;
			gap: 18px;
			padding: 18px;
			text-align: center;
			border-radius: 18px;
			border: 1px solid rgba(250, 204, 21, 0.18);
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 23, 42, 0.26));
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
		}

		.tutorial-shell-title {
			margin: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 10px;
			justify-self: center;
		}

		.tutorial-title-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			font-size: 1.15em;
			line-height: 1;
		}

		.tutorial-shell-divider {
			height: 1px;
			width: 100%;
			background: linear-gradient(90deg, rgba(250, 204, 21, 0.55), rgba(148, 163, 184, 0.2));
		}

		.tutorial-progress-dots {
			display: flex;
			justify-content: center;
			gap: 10px;
		}

		.tutorial-progress-dot {
			width: 10px;
			height: 10px;
			border-radius: 999px;
			background: rgba(148, 163, 184, 0.28);
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
		}

		.tutorial-progress-dot.is-active {
			background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
			box-shadow: 0 0 14px rgba(250, 204, 21, 0.5);
		}

		.tutorial-body {
			min-height: 196px;
			align-content: start;
			text-align: center;
		}

		.tutorial-body p {
			font-size: 1rem;
			line-height: 1.75;
		}

		.tutorial-body-content {
			display: grid;
			gap: 12px;
			overflow: hidden;
			transition: max-height 180ms ease;
		}

		.tutorial-body-content p {
			margin: 0;
		}

		.tutorial-body-content.is-collapsed {
			max-height: calc(var(--tutorial-line-clamp, 6) * 1.75em);
			overflow-y: hidden;
			mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
		}

		.tutorial-body-content:not(.is-collapsed) {
			max-height: min(42vh, 360px);
			overflow-y: auto;
			padding-right: 8px;
			scrollbar-width: thin;
			scrollbar-color: rgba(250, 204, 21, 0.72) rgba(255, 255, 255, 0.08);
		}

		.tutorial-body-content:not(.is-collapsed)::-webkit-scrollbar {
			width: 8px;
		}

		.tutorial-body-content:not(.is-collapsed)::-webkit-scrollbar-track {
			background: rgba(255, 255, 255, 0.08);
			border-radius: 999px;
		}

		.tutorial-body-content:not(.is-collapsed)::-webkit-scrollbar-thumb {
			background: linear-gradient(180deg, rgba(253, 224, 71, 0.9), rgba(245, 158, 11, 0.92));
			border-radius: 999px;
		}

		.tutorial-read-more-btn {
			margin-top: 8px;
			display: inline-block;
			cursor: pointer;
			padding: 0;
			border: 0;
			background: transparent;
			font-size: 0.82rem;
			font-weight: 700;
			letter-spacing: 0.12em;
			text-transform: uppercase;
			color: rgba(253, 224, 71, 0.92);
		}

		.tutorial-read-more-btn:hover,
		.tutorial-read-more-btn:focus-visible {
			color: #fde047;
		}

		.tutorial-slide-media {
			margin-top: 16px;
			display: flex;
			justify-content: center;
		}

		.tutorial-slide-media img {
			display: block;
			max-width: min(100%, 320px);
			width: 100%;
			height: auto;
			border-radius: 14px;
			box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
		}

		.tutorial-actions {
			justify-content: space-between;
			margin-top: 0;
		}

		.tutorial-actions button {
			min-width: 110px;
		}

		#tutorialNextBtn {
			background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
			border-color: rgba(250, 204, 21, 0.72);
			color: #422006;
			font-weight: 800;
		}

		#tutorialBackBtn:disabled {
			opacity: 0.48;
			cursor: not-allowed;
		}

		.footer-info-head {
			display: flex;
			align-items: flex-start;
			gap: 14px;
		}

		.footer-info-heading {
			display: grid;
			gap: 6px;
			min-width: 0;
		}

		.footer-info-kicker {
			margin: 0;
			font-size: 0.74rem;
			letter-spacing: 0.18em;
			text-transform: uppercase;
			color: var(--muted);
		}

		.footer-info-close {
			margin-left: auto;
			height: 34px;
			padding: 0 12px;
			font-size: 0.8rem;
			flex-shrink: 0;
		}

		.footer-info-copy {
			display: grid;
			gap: 14px;
		}

		.footer-info-copy p {
			margin: 0;
			line-height: 1.65;
			color: rgba(226, 232, 240, 0.92);
		}

		.footer-contact-email {
			font-size: 1.1rem;
			font-weight: 600;
			text-align: center;
			padding: 16px 12px;
			margin: 8px 0 !important;
			border-radius: 12px;
			background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(34, 197, 94, 0.08));
			border: 1px solid rgba(56, 189, 248, 0.24);
		}

		.footer-contact-email a {
			color: #38bdf8;
			text-decoration: none;
			font-weight: 700;
			letter-spacing: 0.02em;
			transition: all 0.2s ease;
			background: linear-gradient(135deg, #38bdf8, #22d3ee);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
		}

		.footer-contact-email a:hover {
			text-decoration: underline;
			opacity: 1;
		}

		.footer-info-lead {
			font-size: 1.03rem;
			line-height: 1.6;
			color: #f8fafc;
		}

		.footer-info-note {
			padding-top: 6px;
			border-top: 1px solid rgba(148, 163, 184, 0.22);
			font-size: 0.92rem;
			color: #cbd5e1;
		}

		.footer-info-image-wrap {
			display: flex;
			justify-content: center;
			padding-top: 4px;
		}

		.footer-info-image {
			display: block;
			max-width: min(100%, 180px);
			height: auto;
			border-radius: 16px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			box-shadow: 0 16px 34px rgba(2, 6, 23, 0.32);
			background: rgba(255, 255, 255, 0.04);
		}

		.footer-success-card {
			display: grid;
			grid-template-columns: auto 1fr;
			gap: 14px;
			align-items: flex-start;
			padding: 16px;
			border-radius: 16px;
			border: 1px solid rgba(74, 222, 128, 0.24);
			background: linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(22, 101, 52, 0.18));
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
		}

		.footer-success-icon {
			display: grid;
			place-items: center;
			width: 38px;
			height: 38px;
			border-radius: 999px;
			background: linear-gradient(180deg, rgba(134, 239, 172, 0.94), rgba(34, 197, 94, 0.94));
			color: #052e16;
			font-size: 1.05rem;
			font-weight: 700;
			box-shadow: 0 10px 20px rgba(34, 197, 94, 0.28);
		}

		.footer-success-copy {
			display: grid;
			gap: 8px;
		}

		.footer-success-copy p {
			margin: 0;
			line-height: 1.6;
			color: rgba(240, 253, 244, 0.94);
		}

		.footer-success-lead {
			font-size: 1.02rem;
			color: #f0fdf4;
		}

		body[data-theme="sky-bright"] .footer-info-modal {
			border-color: rgba(14, 116, 144, 0.24);
			background:
				radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 34%),
				linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
			box-shadow: 0 22px 58px rgba(14, 116, 144, 0.18);
		}

		body[data-theme="sky-bright"] .footer-info-modal-success {
			border-color: rgba(22, 163, 74, 0.22);
			background:
				radial-gradient(circle at top left, rgba(74, 222, 128, 0.14), transparent 34%),
				linear-gradient(145deg, rgba(248, 255, 250, 0.98), rgba(240, 253, 244, 0.98));
			box-shadow: 0 22px 58px rgba(22, 163, 74, 0.14);
		}

		body[data-theme="sky-bright"] .footer-info-kicker {
			color: #475569;
		}

		body[data-theme="sky-bright"] .footer-info-copy p {
			color: #1e293b;
		}

		body[data-theme="sky-bright"] .footer-contact-email {
			background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(34, 197, 94, 0.04));
			border-color: rgba(14, 116, 144, 0.18);
		}

		body[data-theme="sky-bright"] .footer-contact-email a {
			background: linear-gradient(135deg, #0ea5e9, #06b6d4);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
		}

		body[data-theme="sky-bright"] .footer-info-lead {
			color: #0f172a;
		}

		body[data-theme="sky-bright"] .footer-info-note {
			border-top-color: rgba(14, 116, 144, 0.16);
			color: #334155;
		}

		body[data-theme="sky-bright"] .footer-info-image {
			border-color: rgba(14, 116, 144, 0.18);
			box-shadow: 0 14px 30px rgba(14, 116, 144, 0.16);
			background: rgba(255, 255, 255, 0.7);
		}

		body[data-theme="sky-bright"] .footer-success-card {
			border-color: rgba(34, 197, 94, 0.2);
			background: linear-gradient(180deg, rgba(187, 247, 208, 0.62), rgba(220, 252, 231, 0.78));
		}

		body[data-theme="sky-bright"] .footer-success-copy p {
			color: #14532d;
		}

		body[data-theme="sky-bright"] .footer-success-lead {
			color: #14532d;
		}

		body[data-theme="sky-bright"] .tutorial-modal {
			border-color: rgba(202, 138, 4, 0.24);
			background:
				radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 34%),
				radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 32%),
				linear-gradient(145deg, rgba(255, 251, 235, 0.98), rgba(240, 249, 255, 0.95));
		}

		body[data-theme="sky-bright"] .tutorial-slide-shell {
			border-color: rgba(202, 138, 4, 0.2);
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(254, 249, 195, 0.42));
		}

		body[data-theme="sky-bright"] .tutorial-shell-divider {
			background: linear-gradient(90deg, rgba(202, 138, 4, 0.45), rgba(14, 165, 233, 0.16));
		}

		body[data-theme="sky-bright"] .tutorial-body p {
			color: #713f12;
		}

		body[data-theme="sky-bright"] .tutorial-read-more-btn {
			color: #a16207;
		}

		body[data-theme="sky-bright"] .tutorial-body-content:not(.is-collapsed) {
			scrollbar-color: rgba(202, 138, 4, 0.72) rgba(14, 165, 233, 0.1);
		}

		body[data-theme="sky-bright"] .tutorial-body-content:not(.is-collapsed)::-webkit-scrollbar-track {
			background: rgba(14, 165, 233, 0.1);
		}

		body[data-theme="sky-bright"] .tutorial-body-content:not(.is-collapsed)::-webkit-scrollbar-thumb {
			background: linear-gradient(180deg, rgba(202, 138, 4, 0.85), rgba(234, 179, 8, 0.92));
		}

		body[data-theme="sky-bright"] #tutorialNextBtn {
			color: #713f12;
		}

		.board-grid-modal {
			width: min(1540px, calc(100vw - 20px));
			height: min(92vh, calc(100vh - 20px));
			background:
				radial-gradient(circle at top left, rgba(251, 191, 36, 0.16), transparent 26%),
				radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 24%),
				linear-gradient(145deg, rgba(9, 14, 28, 0.98), rgba(18, 27, 46, 0.98));
			border: 1px solid rgba(94, 234, 212, 0.26);
			box-shadow: 0 22px 54px rgba(2, 6, 23, 0.52);
			display: flex;
			flex-direction: column;
			gap: 10px;
		}

		.board-browse-modal {
			width: min(1180px, calc(100vw - 24px));
			max-height: min(90vh, calc(100vh - 24px));
			display: flex;
			flex-direction: column;
			gap: 12px;
		}

		.hidden-boards-modal {
			width: min(820px, calc(100vw - 24px));
		}

		.hidden-boards-modal-content {
			display: grid;
			gap: 14px;
			min-height: 0;
			overflow: auto;
			padding-right: 4px;
		}

		.hidden-boards-empty {
			padding: 22px 18px;
			border: 1px dashed rgba(148, 163, 184, 0.24);
			border-radius: 16px;
			background: rgba(15, 23, 42, 0.34);
			color: #cbd5e1;
			text-align: center;
		}

		.hidden-boards-group {
			display: grid;
			gap: 8px;
		}

		.hidden-boards-group-title {
			margin: 0;
			padding: 0 4px;
			font-size: 0.72rem;
			font-weight: 700;
			letter-spacing: 0.12em;
			text-transform: uppercase;
			color: rgba(148, 163, 184, 0.78);
		}

		.hidden-boards-group-list {
			display: grid;
			gap: 8px;
		}

		.hidden-board-item {
			gap: 10px;
		}

		.hidden-board-open-btn {
			height: 28px;
			padding: 0 10px;
			font-size: 0.78rem;
			line-height: 1;
			border-radius: 8px;
		}

		.board-browse-head {
			display: flex;
			align-items: center;
			gap: 10px;
		}

		.board-browse-title {
			margin: 0;
			font-size: 1.04rem;
			font-weight: 700;
		}

		.board-browse-close {
			margin-left: auto;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
		}

		.board-browse-layout {
			display: grid;
			grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
			gap: 14px;
			min-height: 0;
			flex: 1;
		}

		.board-browse-catalog,
		.board-browse-preview {
			min-height: 0;
			overflow: auto;
		}

		.board-browse-catalog {
			display: grid;
			gap: 10px;
			padding-right: 4px;
		}

		.board-browse-tile {
			display: grid;
			align-content: center;
			justify-items: center;
			gap: 8px;
			width: 100%;
			padding: 18px 16px;
			border-radius: 16px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: linear-gradient(160deg, rgba(15, 23, 42, 0.64), rgba(30, 41, 59, 0.44));
			text-align: center;
			box-shadow: none;
			transform: none;
		}

		.board-browse-tile:hover,
		.board-browse-tile.is-active {
			border-color: rgba(56, 189, 248, 0.52);
			background: linear-gradient(160deg, rgba(14, 116, 144, 0.38), rgba(15, 23, 42, 0.62));
			box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.16), 0 16px 32px rgba(2, 6, 23, 0.28);
			filter: none;
		}

		.board-browse-tile-icon {
			display: grid;
			place-items: center;
			width: 100%;
			height: 90px;
			border-radius: 18px;
			background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 60%), rgba(15, 23, 42, 0.48);
			font-size: 2rem;
			overflow: hidden;
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
		}

		.board-browse-media-image {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
			border-radius: inherit;
		}

		.board-browse-tile-title {
			font-size: 0.96rem;
			font-weight: 700;
			line-height: 1.25;
		}

		.board-browse-tile-meta {
			font-size: 0.76rem;
			line-height: 1.35;
			color: var(--muted);
		}

		.board-browse-empty,
		.board-browse-preview-empty {
			padding: 16px;
			border-radius: 14px;
			border: 1px dashed rgba(148, 163, 184, 0.32);
			background: rgba(15, 23, 42, 0.34);
			color: var(--muted);
			font-size: 0.86rem;
			line-height: 1.5;
		}

		.board-browse-loading-tile {
			justify-items: stretch;
			align-content: start;
			text-align: left;
			pointer-events: none;
		}

		.board-browse-loading-block {
			position: relative;
			overflow: hidden;
			background: rgba(148, 163, 184, 0.16);
		}

		.board-browse-loading-block::after {
			content: "";
			position: absolute;
			inset: 0;
			transform: translateX(-100%);
			background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
			animation: boardBrowseLoadingSweep 1.15s ease-in-out infinite;
		}

		.board-browse-loading-line {
			height: 12px;
			border-radius: 999px;
			width: 100%;
		}

		.board-browse-loading-line.is-title {
			width: 74%;
			height: 15px;
		}

		.board-browse-loading-line.is-heading {
			width: min(280px, 82%);
			height: 18px;
		}

		.board-browse-loading-line.is-short {
			width: 52%;
		}

		.board-browse-loading-preview {
			pointer-events: none;
		}

		.board-browse-loading-preview-head,
		.board-browse-loading-list-head {
			display: flex;
			align-items: center;
			gap: 14px;
		}

		.board-browse-loading-preview-copy {
			flex: 1;
			display: grid;
			gap: 10px;
		}

		.board-browse-loading-actions {
			gap: 10px;
		}

		.board-browse-loading-chip {
			width: 116px;
			height: 34px;
			border-radius: 999px;
		}

		.board-browse-loading-chip.is-wide {
			width: 164px;
		}

		.board-browse-loading-preview-lists {
			align-items: stretch;
		}

		.board-browse-loading-list {
			pointer-events: none;
		}

		.board-browse-loading-list-icon {
			width: 36px;
			height: 36px;
			border-radius: 10px;
			flex-shrink: 0;
		}

		.board-browse-loading-task {
			height: 34px;
			border-radius: 10px;
		}

		.board-browse-loading-task.is-short {
			width: 78%;
		}

		@keyframes boardBrowseLoadingSweep {
			from {
				transform: translateX(-100%);
			}
			to {
				transform: translateX(100%);
			}
		}

		.board-browse-preview-card {
			display: grid;
			gap: 14px;
			padding: 18px;
			border-radius: 18px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: linear-gradient(160deg, rgba(15, 23, 42, 0.58), rgba(30, 41, 59, 0.32));
		}

		.board-browse-preview-head {
			display: flex;
			align-items: center;
			gap: 14px;
		}

		.board-browse-preview-badge {
			flex-shrink: 0;
			width: 82px;
			height: 82px;
			border-radius: 22px;
			display: grid;
			place-items: center;
			font-size: 2.35rem;
			background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 60%), rgba(15, 23, 42, 0.54);
			overflow: hidden;
			box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
		}

		.board-browse-preview-copy {
			min-width: 0;
		}

		.board-browse-preview-title {
			margin: 0;
			font-size: 1.2rem;
			line-height: 1.15;
		}

		.board-browse-preview-subtitle {
			margin: 6px 0 0;
			font-size: 0.84rem;
			line-height: 1.45;
			color: var(--muted);
		}

		.board-browse-preview-actions {
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
		}

		.board-browse-preview-lists {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
			gap: 12px;
		}

		.board-browse-preview-list {
			display: grid;
			gap: 10px;
			padding: 14px;
			border-radius: 14px;
			border: 1px solid rgba(148, 163, 184, 0.2);
			background: rgba(15, 23, 42, 0.32);
		}

		.board-browse-preview-list-head {
			display: flex;
			align-items: center;
			gap: 10px;
		}

		.board-browse-preview-list-icon {
			width: 36px;
			height: 36px;
			display: grid;
			place-items: center;
			border-radius: 10px;
			background: rgba(56, 189, 248, 0.12);
			font-size: 1.15rem;
			flex-shrink: 0;
		}

		.board-browse-preview-list-title {
			margin: 0;
			font-size: 0.9rem;
		}

		.board-browse-preview-list-meta {
			margin: 2px 0 0;
			font-size: 0.75rem;
			color: var(--muted);
		}

		.board-browse-preview-task-list {
			display: grid;
			gap: 6px;
		}

		.board-browse-preview-task,
		.board-browse-preview-more {
			padding: 8px 10px;
			border-radius: 10px;
			background: rgba(15, 23, 42, 0.38);
			font-size: 0.8rem;
			line-height: 1.35;
		}

		.board-browse-preview-task.is-done {
			color: rgba(248, 250, 252, 0.72);
			text-decoration: line-through;
		}

		.board-browse-preview-more {
			color: var(--muted);
		}

		body[data-theme="sky-bright"] .board-browse-tile,
		body[data-theme="sky-bright"] .board-browse-preview-card,
		body[data-theme="sky-bright"] .board-browse-preview-list,
		body[data-theme="sky-bright"] .board-browse-empty,
		body[data-theme="sky-bright"] .board-browse-preview-empty {
			background: rgba(255, 255, 255, 0.88);
			border-color: rgba(14, 116, 144, 0.22);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .board-browse-tile:hover,
		body[data-theme="sky-bright"] .board-browse-tile.is-active {
			background: linear-gradient(160deg, rgba(186, 230, 253, 0.92), rgba(224, 242, 254, 0.88));
		}

		body[data-theme="sky-bright"] .board-browse-tile-meta,
		body[data-theme="sky-bright"] .board-browse-preview-subtitle,
		body[data-theme="sky-bright"] .board-browse-preview-list-meta,
		body[data-theme="sky-bright"] .board-browse-preview-more {
			color: #475569;
		}

		body[data-theme="sky-bright"] .board-browse-preview-task,
		body[data-theme="sky-bright"] .board-browse-preview-more,
		body[data-theme="sky-bright"] .board-browse-tile-icon,
		body[data-theme="sky-bright"] .board-browse-preview-badge {
			background: rgba(224, 242, 254, 0.82);
		}

		body[data-theme="sky-bright"] .board-browse-loading-block {
			background: rgba(14, 116, 144, 0.12);
		}

		body[data-theme="sky-bright"] .board-browse-loading-block::after {
			background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
		}

		body[data-theme="forest"] .board-browse-loading-block {
			background: rgba(52, 211, 153, 0.14);
		}

		body[data-theme="forest"] .board-browse-loading-block::after {
			background: linear-gradient(90deg, transparent, rgba(236, 253, 245, 0.2), transparent);
		}

		@media (prefers-reduced-motion: reduce) {
			.board-browse-loading-block::after {
				animation: none !important;
			}
		}

		@media (max-width: 900px) {
			.board-browse-modal {
				width: min(100vw - 16px, 760px);
			}

			.board-browse-layout {
				grid-template-columns: 1fr;
			}

			.board-browse-catalog {
				grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
			}
		}

		.board-grid-head {
			display: flex;
			align-items: center;
			gap: 10px;
			flex-wrap: wrap;
		}

		.board-grid-actions {
			display: flex;
			align-items: center;
			gap: 8px;
			flex-wrap: wrap;
			margin-left: auto;
		}

		.board-grid-title {
			margin: 0;
			font-size: 1.02rem;
			font-weight: 700;
			color: #eff6ff;
			text-shadow: 0 1px 0 rgba(15, 23, 42, 0.4);
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.board-grid-head .board-grid-close,
		.board-grid-head .board-grid-clear-btn {
			border-color: rgba(125, 211, 252, 0.26);
			background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.72));
			color: #e0f2fe;
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
		}

		.board-grid-head .board-grid-close:hover,
		.board-grid-head .board-grid-clear-btn:hover {
			border-color: rgba(45, 212, 191, 0.44);
			background: linear-gradient(180deg, rgba(8, 47, 73, 0.92), rgba(17, 94, 89, 0.88));
			color: #f8fafc;
		}

		.board-grid-close {
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.board-grid-clear-btn {
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.board-grid-wrap {
			flex: 1;
			overflow: auto;
			border-radius: 10px;
			border: 1px solid rgba(94, 234, 212, 0.24);
			background: linear-gradient(180deg, rgba(236, 253, 245, 0.98), rgba(240, 249, 255, 0.96));
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 0 0 1px rgba(8, 47, 73, 0.08);
			scrollbar-width: auto;
			scrollbar-color: rgba(8, 145, 178, 0.95) rgba(8, 47, 73, 0.32);
		}

		.board-grid-wrap::-webkit-scrollbar {
			width: 14px;
			height: 14px;
		}

		.board-grid-wrap::-webkit-scrollbar-track {
			background: linear-gradient(180deg, rgba(8, 47, 73, 0.26), rgba(14, 116, 144, 0.16));
			border-radius: 999px;
		}

		.board-grid-wrap::-webkit-scrollbar-thumb {
			background: linear-gradient(180deg, rgba(6, 182, 212, 0.98), rgba(14, 116, 144, 0.98));
			border-radius: 999px;
			border: 3px solid rgba(236, 253, 245, 0.88);
		}

		.board-grid-wrap::-webkit-scrollbar-thumb:hover {
			background: linear-gradient(180deg, rgba(34, 211, 238, 1), rgba(8, 145, 178, 1));
		}

		.board-grid-table {
			width: 100%;
			min-width: 1260px;
			border-collapse: collapse;
			font-size: 0.8rem;
			color: #10233f;
		}

		.board-grid-table th,
		.board-grid-table td {
			border: 1px solid rgba(125, 211, 252, 0.28);
			padding: 6px;
			vertical-align: middle;
		}

		.board-grid-table th {
			position: sticky;
			top: 0;
			z-index: 1;
			background: linear-gradient(180deg, rgba(12, 74, 110, 0.96), rgba(3, 105, 161, 0.94));
			font-weight: 700;
			color: #f0fdfa;
			letter-spacing: 0.12px;
			text-align: left;
			white-space: nowrap;
		}

		.board-grid-sort-btn {
			width: 100%;
			display: inline-flex;
			align-items: center;
			justify-content: flex-start;
			gap: 4px;
			padding: 0;
			margin: 0;
			border: 0;
			background: transparent;
			color: inherit;
			font: inherit;
			font-weight: 700;
			cursor: pointer;
		}

		.board-grid-sort-btn:hover {
			color: #99f6e4;
		}

		.board-grid-filter-row th {
			position: static;
			top: auto;
			z-index: 0;
			background: rgba(207, 250, 254, 0.72);
			padding: 4px;
		}

		.board-grid-filter-row input,
		.board-grid-filter-row select {
			width: 100%;
			min-width: 0;
			height: 28px;
			padding: 0 6px;
			font-size: 0.74rem;
			border-radius: 6px;
			border: 1px solid rgba(14, 116, 144, 0.24);
			background: rgba(248, 250, 252, 0.9);
			color: #123056;
		}

		.board-grid-filter-row input[type="checkbox"] {
			height: 16px;
			width: 16px;
			padding: 0;
		}

		.board-grid-table tbody tr:nth-child(even) td {
			background: rgba(236, 253, 245, 0.72);
		}

		.board-grid-table tbody tr:hover td {
			background: rgba(186, 230, 253, 0.58);
		}

		.board-grid-table td input,
		.board-grid-table td select {
			width: 100%;
			min-width: 0;
			margin: 0;
			padding: 5px 6px;
			font-size: 0.78rem;
			border-radius: 6px;
			border: 1px solid rgba(14, 116, 144, 0.22);
			background: rgba(255, 255, 255, 0.92);
			color: #10233f;
			box-shadow: none;
		}

		.board-grid-table td input[type="checkbox"] {
			width: 16px;
			height: 16px;
			margin: 0;
			accent-color: #0ea5e9;
		}

		.board-grid-done-cell {
			text-align: center;
		}

		.board-grid-number {
			max-width: 84px;
		}

		.board-grid-total {
			display: inline-block;
			font-weight: 700;
			white-space: nowrap;
			color: #0f766e;
		}

		.board-grid-empty {
			padding: 12px;
			font-size: 0.84rem;
			color: #24506f;
		}

		body[data-theme="sky-bright"] .board-grid-wrap {
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96));
			border-color: rgba(2, 132, 199, 0.26);
			scrollbar-color: rgba(2, 132, 199, 0.9) rgba(186, 230, 253, 0.72);
		}

		body[data-theme="sky-bright"] .board-grid-wrap::-webkit-scrollbar-track {
			background: linear-gradient(180deg, rgba(186, 230, 253, 0.88), rgba(224, 242, 254, 0.82));
		}

		body[data-theme="sky-bright"] .board-grid-wrap::-webkit-scrollbar-thumb {
			background: linear-gradient(180deg, rgba(3, 105, 161, 0.96), rgba(14, 116, 144, 0.96));
			border-color: rgba(255, 255, 255, 0.92);
		}

		body[data-theme="sky-bright"] .board-grid-wrap::-webkit-scrollbar-thumb:hover {
			background: linear-gradient(180deg, rgba(2, 132, 199, 1), rgba(14, 116, 144, 1));
		}

		body[data-theme="sky-bright"] .board-grid-table th {
			background: linear-gradient(180deg, rgba(186, 230, 253, 0.98), rgba(125, 211, 252, 0.96));
			border-color: rgba(14, 116, 144, 0.22);
			color: #082f49;
		}

		body[data-theme="sky-bright"] .board-grid-sort-btn:hover {
			color: #0f766e;
		}

		body[data-theme="sky-bright"] .board-grid-table td {
			border-color: rgba(14, 116, 144, 0.18);
		}

		body[data-theme="sky-bright"] .board-grid-filter-row th {
			background: rgba(207, 250, 254, 0.7);
		}

		body[data-theme="sky-bright"] .board-grid-filter-row input,
		body[data-theme="sky-bright"] .board-grid-filter-row select {
			background: rgba(255, 255, 255, 0.96);
			border-color: rgba(14, 116, 144, 0.26);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .board-grid-table tbody tr:nth-child(even) td {
			background: rgba(240, 253, 250, 0.76);
		}

		body[data-theme="sky-bright"] .board-grid-table tbody tr:hover td {
			background: rgba(186, 230, 253, 0.74);
		}

		body[data-theme="sky-bright"] .board-grid-table td input,
		body[data-theme="sky-bright"] .board-grid-table td select {
			background: rgba(255, 255, 255, 0.95);
			border-color: rgba(14, 116, 144, 0.26);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .board-grid-total {
			color: #0f766e;
		}

		body[data-theme="sky-bright"] .board-grid-empty {
			color: #155e75;
		}

		body[data-theme="sky-bright"] .board-grid-head .board-grid-close,
		body[data-theme="sky-bright"] .board-grid-head .board-grid-clear-btn {
			border-color: rgba(14, 116, 144, 0.18);
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(224, 242, 254, 0.92));
			color: #0b1b3b;
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
		}

		body[data-theme="sky-bright"] .board-grid-head .board-grid-close:hover,
		body[data-theme="sky-bright"] .board-grid-head .board-grid-clear-btn:hover {
			border-color: rgba(14, 116, 144, 0.3);
			background: linear-gradient(180deg, rgba(186, 230, 253, 0.96), rgba(125, 211, 252, 0.94));
			color: #082f49;
		}

		.list-expanded-modal {
			width: min(1120px, calc(100vw - 20px));
			height: min(94vh, calc(100vh - 20px));
			background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.98));
			border: 1px solid rgba(56, 189, 248, 0.35);
			border-radius: 14px;
			padding: 14px;
			box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
			display: flex;
			flex-direction: column;
			gap: 10px;
		}

		.list-expanded-head {
			display: flex;
			align-items: flex-start;
			gap: 10px;
		}

		.list-expanded-head-copy {
			min-width: 0;
			flex: 1;
			display: grid;
			gap: 6px;
		}

		.list-expanded-title {
			margin: 0;
			font-size: 1.04rem;
			font-weight: 700;
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.list-expanded-description {
			margin: 0;
			font-size: 0.86rem;
			line-height: 1.55;
			color: var(--muted);
			white-space: pre-wrap;
			word-break: break-word;
		}

		.list-expanded-close {
			margin-left: auto;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
			white-space: nowrap;
		}

		.list-expanded-meta {
			font-size: 0.82rem;
			color: var(--muted);
			letter-spacing: 0.15px;
		}

		.list-expanded-groupby {
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
		}

		.list-expanded-groupby-btn {
			height: 30px;
			padding: 0 10px;
			font-size: 0.78rem;
			white-space: nowrap;
		}

		.list-expanded-groupby-btn.is-active {
			border-color: rgba(34, 197, 94, 0.58);
			background: rgba(34, 197, 94, 0.2);
			color: #dcfce7;
			box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35) inset;
		}

		.list-expanded-tasks {
			flex: 1;
			overflow: auto;
			overflow-x: hidden;
			display: flex;
			flex-direction: column;
			gap: 8px;
			padding-right: 4px;
		}

		.list-expanded-group {
			display: flex;
			flex-direction: column;
			gap: 8px;
			padding: 8px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.36);
		}

		.list-expanded-group-head {
			display: flex;
			align-items: baseline;
			justify-content: space-between;
			flex-wrap: wrap;
			gap: 6px 10px;
		}

		.list-expanded-group-title {
			margin: 0;
			font-size: 0.84rem;
			font-weight: 700;
		}

		.list-expanded-group-meta {
			font-size: 0.76rem;
			color: var(--muted);
		}

		.list-expanded-group-tasks {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
			gap: 8px;
			align-items: start;
		}

		.list-expanded-tasks .task,
		.list-expanded-group-tasks .task {
			height: auto;
			min-height: 100%;
			box-sizing: border-box;
			padding: 8px 10px;
			justify-content: flex-start;
		}

		.list-expanded-tasks .task-main-row,
		.list-expanded-group-tasks .task-main-row {
			height: auto;
			align-items: flex-start;
		}

		.list-expanded-tasks .task-label-wrap,
		.list-expanded-group-tasks .task-label-wrap {
			align-items: flex-start;
		}

		.list-expanded-task {
			cursor: pointer;
			min-width: 0;
		}

		.list-expanded-task .task-inline-image,
		.list-expanded-task .task-small-image-frame {
			width: 100%;
		}

		.list-expanded-task .task-inline-image {
			max-width: none;
			height: 180px;
			max-height: none;
		}

		.list-expanded-task .task-small-image-card {
			height: auto;
		}

		.list-expanded-task .task-small-image-frame {
			max-width: none;
		}

		.list-expanded-tasks .task-text-wrap label,
		.list-expanded-group-tasks .task-text-wrap label {
			line-height: 1.2;
			white-space: normal;
			overflow: visible;
			text-overflow: unset;
		}

		body[data-theme="sky-bright"] .list-expanded-modal {
			background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
			border-color: rgba(14, 116, 144, 0.3);
			box-shadow: 0 18px 42px rgba(14, 116, 144, 0.22);
			color: #0b1b3b;
		}

		body[data-theme="sky-bright"] .list-expanded-groupby-btn.is-active {
			border-color: rgba(16, 185, 129, 0.52);
			background: rgba(16, 185, 129, 0.2);
			color: #064e3b;
			box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.28) inset;
		}

		body[data-theme="sky-bright"] .list-expanded-group {
			border-color: rgba(14, 116, 144, 0.25);
			background: rgba(240, 249, 255, 0.74);
		}

		body[data-theme="sky-bright"] .list-expanded-description {
			color: #475569;
		}

		.level-theme-modal {
			width: min(920px, calc(100vw - 24px));
			max-height: min(88vh, 860px);
			overflow: auto;
		}

		.level-theme-modal .level-progress-mode-wrap > .icon-modal-label,
		.level-theme-modal .level-theme-section-title {
			text-align: center;
			display: block;
			width: 100%;
			justify-self: stretch;
			margin: 0;
			font-weight: 900;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			line-height: 1.1;
		}

		.level-theme-modal .level-progress-mode-wrap > .icon-modal-label,
		.level-theme-modal .level-theme-section-title {
			font-size: 0.88rem;
			color: #cbd5e1;
		}

		.level-theme-modal-hero {
			position: relative;
			display: grid;
			grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
			gap: 18px;
			align-items: stretch;
			margin-top: 14px;
			padding: 18px;
			border-radius: 22px;
			border: 1px solid rgba(148, 163, 184, 0.22);
			background:
				radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 42%),
				radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.14), transparent 34%),
				linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72));
			box-shadow:
				inset 0 1px 0 rgba(255, 255, 255, 0.05),
				0 18px 36px rgba(2, 6, 23, 0.22);
			overflow: hidden;
		}

		.level-theme-modal-hero::before {
			content: '';
			position: absolute;
			inset: -30% auto auto -12%;
			width: 220px;
			height: 220px;
			border-radius: 999px;
			background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0));
			pointer-events: none;
		}

		.level-theme-modal-hero-image-wrap {
			position: relative;
			display: grid;
			justify-items: center;
			align-content: center;
			gap: 12px;
			min-height: 100%;
		}

		.level-theme-modal-hero-image {
			width: min(100%, 260px);
			height: auto;
			aspect-ratio: 1;
			border-radius: 22px;
			border-color: rgba(125, 211, 252, 0.38);
			cursor: pointer;
			box-shadow:
				0 18px 34px rgba(2, 6, 23, 0.34),
				0 0 0 1px rgba(255, 255, 255, 0.04);
			transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
		}

		.level-theme-modal-hero-image:hover {
			transform: translateY(-2px) scale(1.01);
			box-shadow:
				0 22px 40px rgba(2, 6, 23, 0.38),
				0 0 0 1px rgba(186, 230, 253, 0.12);
			filter: saturate(1.05) brightness(1.03);
		}

		.level-theme-modal-hero-image-wrap::after {
			content: '';
			position: absolute;
			inset: auto 18px 10px;
			height: 26px;
			border-radius: 999px;
			background: radial-gradient(circle, rgba(56, 189, 248, 0.26), rgba(2, 6, 23, 0));
			filter: blur(8px);
			pointer-events: none;
		}

		.level-theme-modal-hero-copy {
			position: relative;
			z-index: 1;
			display: grid;
			gap: 12px;
			align-content: center;
			min-width: 0;
		}

		.level-theme-modal-hero-pill {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 6px 10px;
			border-radius: 999px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.44);
			font-size: 0.72rem;
			font-weight: 700;
			letter-spacing: 0.05em;
			text-transform: uppercase;
			color: #dbeafe;
			backdrop-filter: blur(10px);
		}

		.level-theme-modal-hero-pill.is-level {
			border-color: rgba(56, 189, 248, 0.36);
			background: rgba(14, 116, 144, 0.32);
			color: #e0f2fe;
			justify-self: center;
			margin-top: -2px;
		}

		.level-theme-modal-hero-title {
			margin: 0;
			font-size: clamp(1.5rem, 2vw, 2rem);
			font-weight: 900;
			line-height: 1.02;
			letter-spacing: -0.03em;
			color: #f8fafc;
			text-wrap: balance;
		}

		.level-theme-modal-hero-description {
			margin: 0;
			max-width: 58ch;
			font-size: 0.95rem;
			line-height: 1.7;
			color: rgba(226, 232, 240, 0.88);
			white-space: pre-wrap;
		}

		.level-theme-list {
			display: grid;
			gap: 10px;
			margin-top: 24px;
		}

		.level-progress-mode-wrap {
			display: grid;
			gap: 19px;
			margin-top: 12px;
			padding-left: 4px;
			padding-right: 4px;
			padding-top: 20px;
			padding-bottom: 30px;
		}

		.level-progress-mode-options {
			display: grid;
			gap: 6px;
		}

		.level-progress-mode-option {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			align-items: start;
			gap: 8px;
			font-size: 0.82rem;
			border: 1px solid rgba(148, 163, 184, 0.22);
			border-radius: 8px;
			padding: 7px 8px;
			background: rgba(15, 23, 42, 0.3);
			cursor: pointer;
		}

		.level-progress-mode-option input {
			margin: 2px 0 0;
			accent-color: var(--accent);
		}

		.level-progress-fixed-field {
			display: grid;
			gap: 4px;
		}

		.level-progress-fixed-field.is-disabled .icon-modal-label {
			opacity: 0.72;
		}

		.level-progress-fixed-field.is-disabled .icon-modal-input {
			opacity: 0.5;
			cursor: not-allowed;
		}

		.level-theme-item {
			border: 1px solid rgba(148, 163, 184, 0.32);
			border-radius: 12px;
			background: rgba(15, 23, 42, 0.52);
			padding: 10px;
		}

		.level-theme-item.is-active {
			border-color: rgba(56, 189, 248, 0.7);
			box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.16);
		}

		.level-theme-item-head {
			display: flex;
			align-items: center;
			gap: 10px;
		}

		.level-theme-preview {
			width: 74px;
			height: 74px;
			border-radius: 10px;
			border: 1px solid var(--card-border);
			background: rgba(15, 23, 42, 0.5);
			object-fit: cover;
			flex-shrink: 0;
			cursor: pointer;
		}

		.level-theme-main {
			min-width: 0;
			flex: 1;
			display: grid;
			gap: 2px;
		}

		.level-theme-name-row {
			display: flex;
			align-items: center;
			gap: 8px;
			flex-wrap: wrap;
		}

		.level-theme-name {
			font-size: 0.95rem;
			font-weight: 700;
		}

		.level-theme-active-badge {
			font-size: 0.72rem;
			font-weight: 700;
			letter-spacing: 0.03em;
			padding: 3px 8px;
			border-radius: 999px;
			border: 1px solid rgba(56, 189, 248, 0.6);
			background: rgba(56, 189, 248, 0.16);
			color: #bae6fd;
		}

		.level-theme-subtitle,
		.level-theme-custom-count {
			font-size: 0.78rem;
			color: var(--muted);
		}

		.level-theme-actions {
			display: flex;
			align-items: center;
			gap: 8px;
			flex-wrap: wrap;
			justify-content: flex-end;
		}

		.level-theme-actions button {
			height: 34px;
			padding: 0 12px;
			font-size: 0.82rem;
		}

		.level-theme-use-btn {
			display: inline-flex;
			align-items: center;
			gap: 6px;
		}

		.level-theme-using-check {
			color: var(--good);
			font-weight: 800;
			line-height: 1;
		}

		.level-theme-showcase {
			margin-top: 10px;
			padding-top: 10px;
			border-top: 1px dashed rgba(148, 163, 184, 0.34);
		}

		.level-theme-showcase-grid {
			display: grid;
			grid-template-columns: repeat(5, minmax(0, 1fr));
			gap: 10px;
		}

		.level-theme-showcase-card {
			display: grid;
			gap: 8px;
			padding: 10px;
			border-radius: 12px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.34);
			text-align: center;
			transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
		}

		.level-theme-showcase-card.is-current {
			border-color: rgba(56, 189, 248, 0.58);
			background: rgba(14, 116, 144, 0.22);
			box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.16);
		}

		.level-theme-showcase-card.is-unreached {
			opacity: 0.46;
			filter: grayscale(0.38) saturate(0.7);
		}

		.level-theme-showcase-image-wrap {
			position: relative;
			width: 100%;
		}

		.level-theme-showcase-image {
			width: 100%;
			aspect-ratio: 1;
			border-radius: 12px;
			border: 1px solid var(--card-border);
			background: rgba(15, 23, 42, 0.56);
			object-fit: cover;
			box-shadow: 0 8px 18px rgba(2, 6, 23, 0.24);
			cursor: pointer;
		}

		.level-theme-showcase-check {
			position: absolute;
			top: 8px;
			right: 8px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 24px;
			height: 24px;
			border-radius: 999px;
			background: rgba(22, 163, 74, 0.92);
			border: 1px solid rgba(134, 239, 172, 0.54);
			color: #ecfdf5;
			font-size: 0.82rem;
			font-weight: 800;
			line-height: 1;
			box-shadow: 0 6px 14px rgba(22, 163, 74, 0.22);
		}

		.level-theme-showcase-level {
			font-size: 0.72rem;
			font-weight: 700;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: var(--muted);
		}

		.level-theme-showcase-title {
			font-size: 0.8rem;
			font-weight: 600;
			line-height: 1.25;
		}

		.level-theme-edit {
			margin-top: 10px;
			padding-top: 10px;
			border-top: 1px dashed rgba(148, 163, 184, 0.34);
			display: grid;
			gap: 10px;
		}

		.level-theme-fields {
			display: grid;
			grid-template-columns: 1fr;
			gap: 8px;
		}

		.level-theme-level-row {
			display: grid;
			grid-template-columns: 68px minmax(0, 1fr);
			gap: 10px;
			align-items: start;
			padding: 8px;
			border-radius: 10px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.36);
		}

		.level-theme-level-preview {
			width: 68px;
			height: 68px;
			border-radius: 9px;
			border: 1px solid var(--card-border);
			background: rgba(15, 23, 42, 0.56);
			object-fit: cover;
			box-shadow: 0 6px 14px rgba(2, 6, 23, 0.28);
		}

		.level-theme-level-fields {
			display: grid;
			gap: 6px;
		}

		.level-theme-meta-row {
			grid-template-columns: minmax(0, 1fr);
		}

		.level-theme-meta-fields {
			grid-template-columns: minmax(220px, 1.25fr) minmax(220px, 1fr);
			gap: 10px;
		}

		.level-theme-level-label {
			font-size: 0.78rem;
			font-weight: 700;
			color: var(--muted);
		}

		.level-theme-url-field {
			display: grid;
			gap: 4px;
			min-width: 0;
		}

		.level-theme-url-label {
			font-size: 0.76rem;
			color: var(--muted);
		}

		.level-theme-url-input {
			margin-top: 0;
			padding: 9px 10px;
			font-size: 0.86rem;
			border-radius: 10px;
		}

		.level-theme-title-input {
			margin-top: 0;
			padding: 9px 10px;
			font-size: 0.86rem;
			border-radius: 10px;
		}

		.level-theme-description-input {
			margin-top: 0;
			padding: 9px 10px;
			font-size: 0.85rem;
			border-radius: 10px;
			min-height: 74px;
			resize: vertical;
			font-family: inherit;
		}

		.level-theme-preview-modal {
			width: min(720px, calc(100vw - 32px));
			display: grid;
			gap: 14px;
		}

		.level-theme-preview-head {
			align-items: start;
		}

		.level-theme-preview-modal-subtitle {
			margin: 4px 0 0;
			font-size: 0.86rem;
			color: var(--muted);
		}

		.level-theme-preview-modal-image {
			width: 100%;
			max-height: min(62vh, 540px);
			object-fit: cover;
			border-radius: 16px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.5);
			box-shadow: 0 16px 28px rgba(2, 6, 23, 0.28);
		}

		.level-theme-preview-modal-copy {
			display: grid;
			gap: 8px;
		}

		.level-theme-preview-modal-title-text {
			margin: 0;
			font-size: 1.02rem;
			font-weight: 800;
			color: var(--text);
		}

		.level-theme-preview-modal-description {
			margin: 0;
			font-size: 0.92rem;
			line-height: 1.55;
			color: var(--muted);
			white-space: pre-wrap;
		}

		.level-theme-edit-actions {
			margin-top: 2px;
		}

		.level-theme-footer {
			margin-top: 12px;
			justify-content: center;
		}

		.level-theme-footer-switcher {
			margin-right: auto;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 8px;
			min-width: 0;
		}

		.level-theme-footer-actions {
			flex-wrap: wrap;
		}

		.level-theme-footer-switcher .theme-panel {
			min-width: 0;
			max-width: min(100%, 280px);
		}

		#levelThemeHint {
			margin-top: 10px;
			text-align: center;
		}

		body[data-theme="sky-bright"] .level-theme-item {
			background: rgba(224, 242, 254, 0.72);
			border-color: rgba(14, 116, 144, 0.28);
		}

		body[data-theme="sky-bright"] .level-theme-modal-hero {
			border-color: rgba(14, 116, 144, 0.18);
			background:
				radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 42%),
				radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.12), transparent 34%),
				linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.88));
			box-shadow:
				inset 0 1px 0 rgba(255, 255, 255, 0.64),
				0 16px 30px rgba(14, 116, 144, 0.12);
		}

		body[data-theme="sky-bright"] .level-theme-modal .level-progress-mode-wrap > .icon-modal-label,
		body[data-theme="sky-bright"] .level-theme-modal .level-theme-section-title {
			color: #0f4c68;
		}

		body[data-theme="sky-bright"] .level-theme-modal-hero-title {
			color: #082f49;
		}

		body[data-theme="sky-bright"] .level-theme-modal-hero-description {
			color: rgba(15, 23, 42, 0.76);
		}

		body[data-theme="sky-bright"] .level-theme-modal-hero-pill.is-level {
			border-color: rgba(2, 132, 199, 0.28);
			background: rgba(186, 230, 253, 0.7);
			color: #075985;
		}

		body[data-theme="sky-bright"] .level-theme-level-row {
			background: rgba(255, 255, 255, 0.66);
			border-color: rgba(14, 116, 144, 0.26);
		}

		body[data-theme="sky-bright"] .level-theme-showcase-card {
			background: rgba(255, 255, 255, 0.68);
			border-color: rgba(14, 116, 144, 0.22);
		}

		body[data-theme="sky-bright"] .level-theme-showcase-card.is-current {
			background: rgba(186, 230, 253, 0.62);
			border-color: rgba(2, 132, 199, 0.44);
		}

		body[data-theme="sky-bright"] .level-theme-showcase-image {
			background: rgba(224, 242, 254, 0.82);
		}

		body[data-theme="sky-bright"] .level-theme-showcase-level {
			color: #475569;
		}

		body[data-theme="sky-bright"] .level-progress-mode-option {
			background: rgba(255, 255, 255, 0.66);
			border-color: rgba(14, 116, 144, 0.26);
		}

		body[data-theme="sky-bright"] .level-theme-active-badge {
			color: #0b1b3b;
			border-color: rgba(2, 132, 199, 0.5);
			background: rgba(186, 230, 253, 0.95);
		}

		.achievements-modal {
			width: min(760px, calc(100vw - 24px));
			max-height: min(88vh, 860px);
			overflow: auto;
			text-align: center;
		}

		.achievements-config-list {
			display: grid;
			gap: 8px;
			margin-top: 12px;
		}

		.achievement-config-group {
			display: grid;
			gap: 10px;
		}

		.achievement-config-toolbar {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			gap: 12px;
			flex-wrap: wrap;
		}

		.achievement-config-view-toggle {
			display: inline-flex;
			gap: 8px;
			flex-wrap: wrap;
		}

		.achievement-config-view-btn {
			height: 30px;
			padding: 0 10px;
			font-size: 0.78rem;
			white-space: nowrap;
		}

		.achievement-config-view-btn.is-active {
			border-color: rgba(34, 197, 94, 0.58);
			background: rgba(34, 197, 94, 0.2);
			color: #dcfce7;
			box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35) inset;
		}

		.achievement-config-group-title {
			font-size: 1.2rem;
			font-weight: 800;
			letter-spacing: 0.14em;
			text-transform: uppercase;
			color: var(--muted);
			margin-top: 30px;
			margin-bottom: 10px;
		}

		.achievement-config-mega-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
			gap: 12px;
		}

		.achievement-config-mega-grid.is-editor {
			grid-template-columns: 1fr;
			gap: 8px;
		}

		.achievement-config-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
			gap: 12px;
		}

		.achievement-config-grid.is-editor {
			grid-template-columns: 1fr;
			gap: 8px;
		}

		.achievement-config-item {
			border: 1px solid rgba(148, 163, 184, 0.32);
			border-radius: 10px;
			background: rgba(15, 23, 42, 0.52);
			padding: 14px 14px;
			display: grid;
			gap: 8px;
			align-content: start;
			min-height: 138px;
			position: relative;
		}

		.achievement-config-item.is-clickable {
			cursor: pointer;
			transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
		}

		.achievement-config-item.is-clickable:hover {
			transform: translateY(-1px);
			border-color: rgba(56, 189, 248, 0.4);
			box-shadow: 0 18px 30px rgba(2, 6, 23, 0.18);
		}

		.achievement-config-item.is-clickable:focus-visible {
			outline: 2px solid rgba(56, 189, 248, 0.62);
			outline-offset: 2px;
		}

		.achievement-config-media {
			width: 100px;
			height: 100px;
			border-radius: 16px;
			overflow: hidden;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			justify-self: center;
			background: rgba(148, 163, 184, 0.14);
			border: 1px solid rgba(148, 163, 184, 0.24);
			box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2);
			font-size: 1.75rem;
			line-height: 1;
		}

		.achievement-config-item.is-mega .achievement-config-media {
			width: 100px;
			height: 100px;
			border-radius: 999px;
			font-size: 2.2rem;
		}

		.achievement-config-media-image {
			width: 100%;
			height: 100%;
			object-fit: cover;
			display: block;
		}

		.achievement-config-grid.is-editor .achievement-config-item,
		.achievement-config-mega-grid.is-editor .achievement-config-item {
			min-height: 0;
		}

		.achievement-config-item.is-mega {
			padding: 16px 18px;
			border-radius: 18px;
			border-color: rgba(251, 191, 36, 0.62);
			background:
				radial-gradient(circle at 16% 18%, rgba(255, 248, 196, 0.18) 0, rgba(255, 248, 196, 0.18) 7px, transparent 8px),
				radial-gradient(circle at 82% 20%, rgba(255, 215, 64, 0.14) 0, rgba(255, 215, 64, 0.14) 14px, transparent 15px),
				linear-gradient(140deg, rgba(255, 210, 74, 0.18) 0%, rgba(168, 85, 247, 0.06) 24%, rgba(120, 53, 15, 0.68) 54%, rgba(17, 24, 39, 0.92) 100%),
				linear-gradient(180deg, rgba(255, 244, 180, 0.08), rgba(255, 244, 180, 0));
			box-shadow:
				0 24px 44px rgba(15, 23, 42, 0.34),
				0 0 32px rgba(251, 191, 36, 0.16),
				inset 0 0 0 1px rgba(255, 230, 160, 0.14);
			gap: 10px;
		}

		@media (min-width: 900px) {
			.achievement-config-grid .achievement-config-item.is-mega,
			.achievement-config-mega-grid .achievement-config-item.is-mega {
				grid-column: 1 / -1;
			}

			.level-overview-achievements-list {
				max-height: 184px;
			}

			.achievement-config-item.is-mega:not(.unlocked) {
				grid-template-columns: 128px minmax(0, 1fr);
				column-gap: 22px;
				row-gap: 8px;
				align-items: center;
				padding: 22px 24px;
				min-height: 180px;
			}

			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-media {
				grid-column: 1;
				grid-row: 1 / span 3;
				justify-self: start;
			}

			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-head,
			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-meta,
			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-board {
				grid-column: 2;
			}

			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-head {
				justify-items: start;
				text-align: left;
				padding-right: 0;
			}

			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-actions {
				grid-column: 1 / -1;
				justify-self: stretch;
			}

			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-meta,
			.achievement-config-item.is-mega:not(.unlocked) .achievement-config-board {
				text-align: left;
			}
		}

		.achievement-config-tier {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 3px 10px;
			border-radius: 999px;
			font-size: 0.68rem;
			font-weight: 900;
			letter-spacing: 0.18em;
			text-transform: uppercase;
		}

		.achievement-config-item.is-mega .achievement-config-tier {
			background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
			color: #422006;
			box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
			position: absolute;
			top: 16px;
			right: 16px;
			left: auto;
			z-index: 2;
			gap: 6px;
			height: 33px;
			font-size: 15px;
			width: auto;
			max-width: max-content;
			white-space: nowrap;
		}

		.achievement-config-item.is-mega .achievement-config-tier::before {
			content: '★';
			font-size: 0.78em;
			line-height: 1;
		}

		.achievement-config-item.unlocked {
			border-color: rgba(34, 197, 94, 0.72);
			background:
				radial-gradient(circle at 50% 50%, rgba(134, 239, 172, 0.18), rgba(34, 197, 94, 0.06) 34%, transparent 62%),
				linear-gradient(135deg, rgba(29, 78, 21, 0.98) 0%, rgba(0, 92, 22, 0.98) 54%, rgba(0, 59, 13, 1) 100%);
			box-shadow:
				0 24px 44px rgba(21, 128, 61, 0.34),
				0 0 34px rgba(34, 197, 94, 0.18),
				inset 0 0 0 1px rgba(187, 247, 208, 0.1);
			overflow: hidden;
		}

		.achievement-config-item.unlocked::before {
			content: '';
			position: absolute;
			inset: 0;
			background:
				radial-gradient(circle at 12% 18%, rgba(240, 253, 244, 0.12) 0, rgba(240, 253, 244, 0.12) 5px, transparent 6px),
				radial-gradient(circle at 18% 28%, rgba(240, 253, 244, 0.08) 0, rgba(240, 253, 244, 0.08) 8px, transparent 9px),
				radial-gradient(circle at 82% 24%, rgba(240, 253, 244, 0.08) 0, rgba(240, 253, 244, 0.08) 12px, transparent 13px),
				radial-gradient(circle at 88% 72%, rgba(240, 253, 244, 0.08) 0, rgba(240, 253, 244, 0.08) 10px, transparent 11px),
				radial-gradient(circle at 28% 78%, rgba(240, 253, 244, 0.06) 0, rgba(240, 253, 244, 0.06) 7px, transparent 8px),
				radial-gradient(circle at 70% 82%, rgba(240, 253, 244, 0.06) 0, rgba(240, 253, 244, 0.06) 6px, transparent 7px);
			opacity: 0.9;
			pointer-events: none;
		}

		.achievement-config-item.unlocked > * {
			position: relative;
			z-index: 1;
		}

		.achievement-config-item.unlocked .achievement-config-media {
			width: 92px;
			height: 92px;
			border-radius: 999px;
			justify-self: center;
			background: radial-gradient(circle at 35% 35%, rgba(74, 222, 128, 0.98), rgba(21, 128, 61, 0.96) 72%);
			border-color: rgba(187, 247, 208, 0.26);
			box-shadow: 0 0 0 14px rgba(74, 222, 128, 0.08), 0 22px 44px rgba(21, 128, 61, 0.34);
			color: #f0fdf4;
		}

		.achievement-config-item.unlocked .achievement-config-media-image {
			border-radius: 999px;
		}

		.achievement-config-item.unlocked .achievement-config-head {
			justify-items: center;
			text-align: center;
		}

		.achievement-config-item.unlocked .achievement-config-name {
			color: #f0fdf4;
			font-size: 1.02rem;
			font-weight: 800;
			letter-spacing: 0.01em;
			white-space: normal;
			text-shadow: 0 0 24px rgba(134, 239, 172, 0.18);
		}

		.achievement-config-item.unlocked .achievement-config-meta {
			color: rgba(220, 252, 231, 0.9);
			font-size: 0.88rem;
		}

		.achievement-config-item.unlocked .achievement-config-board {
			color: rgba(220, 252, 231, 0.74);
		}

		.achievement-config-item.unlocked .achievement-config-status {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 6px 12px;
			border-radius: 999px;
			background: rgba(15, 23, 42, 0.2);
			border: 1px solid rgba(220, 252, 231, 0.16);
			color: #f0fdf4;
			box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
		}

		.achievement-config-item.unlocked.is-mega .achievement-config-media {
			width: 112px;
			height: 112px;
		}

		.achievement-config-item.unlocked.is-mega {
			border-color: rgba(251, 191, 36, 0.8);
			background:
				radial-gradient(circle at 50% 46%, rgba(255, 230, 128, 0.2), rgba(245, 158, 11, 0.08) 34%, transparent 66%),
				radial-gradient(circle at 14% 18%, rgba(255, 251, 235, 0.16) 0, rgba(255, 251, 235, 0.16) 6px, transparent 7px),
				radial-gradient(circle at 86% 72%, rgba(255, 240, 180, 0.12) 0, rgba(255, 240, 180, 0.12) 11px, transparent 12px),
				linear-gradient(135deg, rgba(92, 43, 10, 0.96) 0%, rgba(161, 98, 7, 0.98) 38%, rgba(217, 119, 6, 0.98) 68%, rgba(120, 53, 15, 1) 100%);
			box-shadow:
				0 28px 48px rgba(120, 53, 15, 0.34),
				0 0 38px rgba(251, 191, 36, 0.22),
				inset 0 0 0 1px rgba(255, 243, 199, 0.12);
		}

		.achievement-config-item.unlocked.is-mega .achievement-config-name {
			font-size: 1.34rem;
		}

		.achievement-config-item.unlocked.is-mega .achievement-config-status {
			padding: 8px 14px;
		}

		.achievement-config-item.unlocked .achievement-config-actions .ghost {
			border-color: rgba(220, 252, 231, 0.2);
			background: rgba(15, 23, 42, 0.14);
			color: #f0fdf4;
		}

		@media (min-width: 900px) {
			.achievement-config-item.unlocked.is-mega {
				grid-template-columns: 128px minmax(0, 1fr);
				column-gap: 22px;
				row-gap: 8px;
				align-items: center;
				padding: 22px 24px;
				min-height: 180px;
			}

			.achievement-config-item.unlocked.is-mega .achievement-config-media {
				grid-column: 1;
				grid-row: 1 / span 3;
				justify-self: start;
			}

			.achievement-config-item.unlocked.is-mega .achievement-config-head,
			.achievement-config-item.unlocked.is-mega .achievement-config-meta,
			.achievement-config-item.unlocked.is-mega .achievement-config-board {
				grid-column: 2;
			}

			.achievement-config-item.unlocked.is-mega .achievement-config-head {
				justify-items: start;
				text-align: left;
				padding-right: 0;
			}

			.achievement-config-item.unlocked.is-mega .achievement-config-actions {
				grid-column: 1 / -1;
				justify-self: stretch;
			}

			.achievement-config-item.unlocked.is-mega .achievement-config-meta,
			.achievement-config-item.unlocked.is-mega .achievement-config-board {
				text-align: left;
			}
		}

		.achievement-config-item.is-completed-goal {
			border-color: rgba(74, 222, 128, 0.58);
			background: linear-gradient(135deg, rgba(22, 163, 74, 0.22), rgba(15, 23, 42, 0.58));
			box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.14);
		}

		.achievement-config-item.is-completed-goal .achievement-config-name,
		.achievement-config-item.is-completed-goal .achievement-config-meta {
			color: #bbf7d0;
		}

		.achievement-top-goal-item {
			padding: 10px 12px;
			cursor: pointer;
		}

		.achievement-top-goal-item:hover {
			border-color: rgba(56, 189, 248, 0.46);
			background: rgba(56, 189, 248, 0.1);
		}

		.achievement-top-goal-item:focus-visible {
			outline: 2px solid rgba(56, 189, 248, 0.62);
			outline-offset: 2px;
		}

		.achievement-top-goal-grid {
			display: grid;
			grid-template-columns: 34px minmax(0, 1fr);
			align-items: center;
			column-gap: 10px;
		}

		.achievement-top-goal-check {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 34px;
			height: 34px;
			border-radius: 10px;
			font-size: 1.45rem;
			font-weight: 900;
			line-height: 1;
			color: rgba(187, 247, 208, 0.24);
			background: rgba(148, 163, 184, 0.08);
			border: 1px solid rgba(148, 163, 184, 0.16);
		}

		.achievement-config-item.is-completed-goal .achievement-top-goal-check {
			color: #dcfce7;
			background: linear-gradient(145deg, rgba(34, 197, 94, 0.34), rgba(22, 163, 74, 0.18));
			border-color: rgba(74, 222, 128, 0.36);
			box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.12), 0 8px 16px rgba(22, 163, 74, 0.14);
		}

		.achievement-top-goal-main {
			min-width: 0;
			display: grid;
			gap: 4px;
		}

		.achievement-top-goal-head {
			justify-content: space-between;
			flex-wrap: nowrap;
			gap: 10px;
		}

		.achievement-top-goal-points {
			flex: 0 0 auto;
			font-size: 0.82rem;
			font-weight: 800;
			letter-spacing: 0.02em;
			color: #93c5fd;
		}

		.achievement-top-goal-context {
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.achievement-config-item.just-unlocked {
			border-color: rgba(250, 204, 21, 0.78);
			box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.48);
			animation: achievementUnlockPulse 1.8s ease-out both;
		}

		.achievement-config-item.is-mega.just-unlocked {
			border-color: rgba(252, 211, 77, 0.96);
			background:
				radial-gradient(circle at 50% 50%, rgba(255, 226, 110, 0.28), rgba(245, 158, 11, 0.14) 34%, transparent 68%),
				radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 26%),
				linear-gradient(135deg, rgba(120, 53, 15, 0.98) 0%, rgba(180, 83, 9, 1) 42%, rgba(245, 158, 11, 1) 72%, rgba(146, 64, 14, 1) 100%);
			box-shadow:
				0 0 0 0 rgba(250, 204, 21, 0.42),
				0 0 40px rgba(251, 191, 36, 0.3),
				0 28px 56px rgba(120, 53, 15, 0.42),
				inset 0 0 0 1px rgba(255, 248, 220, 0.14);
			overflow: visible;
			isolation: isolate;
			animation: achievementUnlockPulse 1.8s ease-out both, megaAchievementTriumph 3.2s ease-out both;
		}

		.achievement-config-item.is-mega.just-unlocked::before {
			animation: megaAchievementConfetti 2.4s ease-out both;
		}

		.achievement-config-item.is-mega.just-unlocked::after {
			content: '';
			position: absolute;
			inset: -28px;
			background:
				radial-gradient(circle, rgba(250, 204, 21, 0.94) 0 2px, transparent 3px) 12% 20% / 84px 84px,
				radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1.5px, transparent 2.5px) 44% 10% / 96px 96px,
				radial-gradient(circle, rgba(134, 239, 172, 0.94) 0 2px, transparent 3px) 76% 18% / 88px 88px,
				radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1.5px, transparent 2.5px) 86% 62% / 82px 82px,
				radial-gradient(circle, rgba(253, 224, 71, 0.88) 0 2px, transparent 3px) 22% 82% / 90px 90px,
				radial-gradient(circle, rgba(110, 231, 183, 0.82) 0 1.5px, transparent 2.5px) 68% 84% / 88px 88px;
			opacity: 0;
			pointer-events: none;
			z-index: 0;
			animation: megaAchievementConfetti 2.6s ease-out both;
		}

		.achievement-config-item.is-mega.just-unlocked .achievement-config-tier {
			animation: megaAchievementBadgeShine 1.8s ease-out 0.15s both;
		}

		.achievement-config-item.is-mega.just-unlocked .achievement-config-head::before {
			content: '👑 MEGA ACHIEVEMENT UNLOCKED!';
			display: inline-flex;
			align-items: center;
			justify-content: center;
			align-self: center;
			padding: 8px 14px;
			border-radius: 999px;
			border: 1px solid rgba(250, 204, 21, 0.58);
			background: linear-gradient(180deg, rgba(254, 240, 138, 0.98), rgba(245, 158, 11, 0.94));
			box-shadow: 0 16px 30px rgba(245, 158, 11, 0.24), 0 0 18px rgba(250, 204, 21, 0.16);
			color: #422006;
			font-size: 0.72rem;
			font-weight: 900;
			letter-spacing: 0.12em;
			line-height: 1.1;
			white-space: nowrap;
			max-width: 100%;
			position: relative;
			z-index: 4;
			animation: megaAchievementBannerIn 2.4s ease-out both;
		}

		.achievement-config-item.is-mega.just-unlocked .achievement-config-media {
			animation: megaAchievementMedallionBurst 1.9s ease-out both;
		}

		.achievement-config-item.is-mega.just-unlocked .achievement-config-name {
			text-shadow: 0 0 26px rgba(250, 204, 21, 0.16), 0 0 18px rgba(134, 239, 172, 0.16);
		}

		.achievement-config-item.is-mega.just-unlocked .achievement-config-status {
			background: linear-gradient(180deg, rgba(21, 128, 61, 0.32), rgba(15, 23, 42, 0.24));
			border-color: rgba(250, 204, 21, 0.24);
			box-shadow: 0 12px 24px rgba(3, 12, 7, 0.16), 0 0 18px rgba(250, 204, 21, 0.12);
		}

		.achievement-config-head {
			display: grid;
			justify-items: center;
			gap: 8px;
			position: relative;
			padding-top: 2px;
		}

		.achievement-config-actions {
			display: inline-flex;
			align-items: center;
			justify-content: flex-end;
			gap: 8px;
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%);
			flex-shrink: 0;
		}

		.achievement-config-name {
			font-size: 0.88rem;
			font-weight: 700;
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.achievement-config-item.is-mega .achievement-config-name {
			white-space: normal;
			font-size: 1.05rem;
		}

		.achievement-config-item.is-mega .achievement-config-actions {
			position: static;
			right: auto;
			top: auto;
			transform: none;
			justify-content: flex-end;
			flex-wrap: wrap;
			margin-top: auto;
			padding-top: 10px;
		}

		.achievement-title-row {
			display: grid;
			grid-template-columns: auto 1fr;
			gap: 10px;
			align-items: center;
		}

		.achievement-mega-toggle-btn {
			background: none;
			border: none;
			padding: 6px;
			cursor: pointer;
			font-size: 1.3rem;
			line-height: 1;
			opacity: 0.4;
			transition: opacity 0.2s ease;
		}

		.achievement-mega-toggle-btn:hover {
			opacity: 0.7;
		}

		.achievement-mega-toggle-btn.is-mega {
			opacity: 1;
		}

		.achievement-mega-toggle {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			gap: 12px;
			align-items: start;
			padding: 10px 12px;
			border-radius: 14px;
			border: 1px solid rgba(250, 204, 21, 0.28);
			background: linear-gradient(145deg, rgba(250, 204, 21, 0.08), rgba(15, 23, 42, 0.32));
			cursor: pointer;
		}

		.achievement-mega-toggle input {
			margin-top: 2px;
		}

		.achievement-mega-toggle-copy {
			display: grid;
			gap: 3px;
		}

		.achievement-mega-toggle-title {
			font-size: 0.84rem;
			font-weight: 800;
			letter-spacing: 0.06em;
			text-transform: uppercase;
			color: #fde68a;
		}

		.achievement-mega-toggle-hint {
			font-size: 0.78rem;
			line-height: 1.35;
			color: var(--muted);
		}

		.achievement-config-status {
			font-size: 0.8rem;
			font-weight: 700;
			color: var(--good);
		}

		.achievement-config-status-above {
			order: -1;
		}

		.achievement-config-delete {
			height: 28px;
			padding: 0 10px;
			font-size: 0.75rem;
			line-height: 1;
			white-space: nowrap;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 5px;
		}

		.achievement-config-edit {
			margin-left: 0;
			height: 28px;
			padding: 0 10px;
			font-size: 0.75rem;
			line-height: 1;
			white-space: nowrap;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 5px;
		}

		.achievement-config-move {
			height: 28px;
			min-width: 28px;
			padding: 0;
			font-size: 0.84rem;
			line-height: 1;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}

		.achievement-action-icon {
			font-size: 0.86rem;
			line-height: 1;
		}

		.achievement-action-text {
			line-height: 1;
		}

		.achievement-config-meta {
			font-size: 0.78rem;
			color: var(--muted);
		}

		.achievement-config-board {
			font-size: 0.74rem;
			color: rgba(148, 163, 184, 0.92);
			text-align: center;
			line-height: 1.35;
		}

		.achievement-config-empty {
			padding: 10px;
			border: 1px dashed var(--card-border);
			border-radius: 10px;
			font-size: 0.82rem;
			color: var(--muted);
			text-align: center;
		}

		.achievement-detail-view {
			display: grid;
			gap: 14px;
		}

		.achievement-detail-topbar {
			display: flex;
			justify-content: flex-start;
		}

		.achievement-detail-back-btn {
			height: 34px;
			padding: 0 12px;
		}

		.achievement-detail-card {
			position: relative;
			display: grid;
			gap: 16px;
			padding: 18px;
			border-radius: 18px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.98));
			text-align: left;
		}

		.achievement-detail-card.is-mega {
			border-color: rgba(250, 204, 21, 0.48);
			background: linear-gradient(145deg, rgba(250, 204, 21, 0.2), rgba(120, 53, 15, 0.82));
		}

		.achievement-detail-card.unlocked:not(.is-mega) {
			border-color: rgba(74, 222, 128, 0.38);
			background: linear-gradient(145deg, rgba(34, 197, 94, 0.16), rgba(15, 23, 42, 0.92));
		}

		.achievement-detail-hero {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			gap: 16px;
			align-items: center;
		}

		.achievement-detail-copy {
			min-width: 0;
			display: grid;
			gap: 8px;
		}

		.achievement-detail-title-row {
			display: flex;
			align-items: center;
			gap: 10px;
			flex-wrap: wrap;
		}

		.achievement-detail-title {
			margin: 0;
			font-size: 1.2rem;
			line-height: 1.2;
		}

		.achievement-detail-status {
			display: inline-flex;
			align-items: center;
			padding: 4px 10px;
			border-radius: 999px;
			border: 1px solid rgba(148, 163, 184, 0.24);
			background: rgba(15, 23, 42, 0.36);
			font-size: 0.74rem;
			font-weight: 700;
		}

		.achievement-detail-progress {
			margin: 0;
			color: #cbd5e1;
			line-height: 1.45;
		}

		.achievement-detail-section {
			display: grid;
			gap: 10px;
			padding-top: 2px;
		}

		.achievement-detail-section-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 10px;
			flex-wrap: wrap;
		}

		.achievement-detail-section-title {
			margin: 0;
			font-size: 0.86rem;
			font-weight: 800;
			letter-spacing: 0.12em;
			text-transform: uppercase;
			color: var(--muted);
		}

		.achievement-detail-section-count {
			font-size: 0.78rem;
			font-weight: 700;
			color: #e2e8f0;
		}

		.achievement-detail-description-btn {
			height: 32px;
			padding: 0 12px;
			font-size: 0.78rem;
		}

		.achievement-detail-description-text,
		.achievement-detail-description-empty {
			margin: 0;
			padding: 14px;
			border-radius: 12px;
			background: rgba(2, 6, 23, 0.28);
			border: 1px solid rgba(148, 163, 184, 0.16);
			line-height: 1.6;
			white-space: pre-wrap;
		}

		.achievement-detail-description-empty {
			color: var(--muted);
		}

		.achievement-detail-description-editor {
			display: grid;
			gap: 10px;
		}

		.achievement-detail-description-input {
			width: 100%;
			resize: vertical;
		}

		.achievement-detail-description-actions {
			margin-top: 0;
		}

		.achievement-detail-lists {
			display: grid;
			gap: 10px;
		}

		.achievement-detail-list-item {
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto;
			gap: 12px;
			align-items: center;
			padding: 12px 14px;
			border-radius: 12px;
			background: rgba(2, 6, 23, 0.3);
			border: 1px solid rgba(148, 163, 184, 0.16);
		}

		.achievement-detail-list-copy {
			min-width: 0;
			display: grid;
			gap: 4px;
		}

		.achievement-detail-list-title {
			font-weight: 700;
			color: #f8fafc;
		}

		.achievement-detail-list-board,
		.achievement-detail-list-stats {
			font-size: 0.8rem;
			color: #cbd5e1;
		}

		.achievement-detail-list-stats {
			text-align: right;
			white-space: nowrap;
		}

		.achievement-history-actions {
			margin-top: 10px;
			justify-content: center;
		}

		.achievements-editor-toggle-bar {
			margin-top: 14px;
			justify-content: center;
			align-items: center;
			flex-wrap: wrap;
			gap: 12px;
		}

		.achievements-editor-toggle-btn {
			min-width: 220px;
			font-weight: 800;
			letter-spacing: 0.08em;
			text-transform: uppercase;
		}

		.achievements-transfer-section {
			margin-top: 12px;
			padding-top: 12px;
			border-top: 1px dashed rgba(148, 163, 184, 0.34);
			display: grid;
			gap: 10px;
			justify-items: center;
		}

		.achievements-transfer-title {
			margin: 0;
			font-size: 0.72rem;
			font-weight: 800;
			letter-spacing: 0.16em;
			text-transform: uppercase;
			color: var(--muted);
		}

		.achievements-transfer-actions {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 10px;
			flex-wrap: wrap;
		}

		.achievements-transfer-btn {
			min-width: 118px;
			height: 38px;
			padding: 0 16px;
			font-size: 0.78rem;
			font-weight: 800;
			letter-spacing: 0.12em;
			text-transform: uppercase;
			line-height: 1;
			border-radius: 10px;
			flex: 0 0 auto;
		}

		@media (max-width: 640px) {
			.achievements-editor-toggle-bar {
				justify-content: center;
			}

			.achievements-transfer-actions {
				width: 100%;
				justify-content: stretch;
			}

			.achievements-editor-toggle-btn {
				width: 100%;
			}

			.achievements-transfer-btn {
				width: 100%;
			}
		}

		.achievements-form {
			margin-top: 12px;
			padding-top: 12px;
			border-top: 1px dashed rgba(148, 163, 184, 0.34);
			display: grid;
			gap: 8px;
		}

		.achievement-target-mode-row {
			display: grid;
			grid-template-columns: 1fr;
			gap: 12px;
			align-items: stretch;
			margin-bottom: 14px;
		}

		@media (min-width: 900px) {
			.achievement-target-mode-row {
				grid-template-columns: repeat(3, minmax(0, 1fr));
			}

			.achievement-target-fields-row {
				grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.72fr);
				align-items: start;
			}

			.achievement-target-fields-row .icon-modal-label,
			.achievement-rank-copy {
				text-align: left;
				justify-items: start;
			}
		}

		.achievement-target-mode-option {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			gap: 12px;
			align-items: start;
			padding: 12px 14px;
			border-radius: 14px;
			border: 1px solid rgba(148, 163, 184, 0.22);
			background: rgba(15, 23, 42, 0.24);
			cursor: pointer;
		}

		.achievement-target-mode-option input {
			margin-top: 2px;
		}

		.achievement-target-mode-option:has(input:checked) {
			border-color: rgba(56, 189, 248, 0.42);
			background: linear-gradient(145deg, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.34));
			box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.08);
		}

		.achievement-target-mode-copy {
			display: grid;
			gap: 3px;
		}

		.achievement-target-mode-title {
			font-size: 0.84rem;
			font-weight: 800;
			letter-spacing: 0.04em;
			text-transform: uppercase;
			color: #e2e8f0;
		}

		.achievement-target-fields-row {
			display: grid;
			grid-template-columns: 1fr;
			gap: 12px;
			align-items: start;
		}

		.achievement-rank-toggle {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			gap: 12px;
			align-items: start;
			padding: 10px 12px;
			border-radius: 14px;
			border: 1px solid rgba(59, 130, 246, 0.28);
			background: linear-gradient(145deg, rgba(59, 130, 246, 0.12), rgba(15, 23, 42, 0.3));
			cursor: pointer;
		}

		.achievement-rank-toggle input {
			margin-top: 2px;
		}

		.achievement-rank-toggle.is-disabled {
			opacity: 0.56;
			cursor: not-allowed;
		}

		.achievement-rank-copy {
			display: grid;
			gap: 3px;
		}

		.achievement-rank-title-row {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			flex-wrap: nowrap;
		}

		.achievement-rank-title {
			font-size: 0.84rem;
			font-weight: 800;
			letter-spacing: 0.04em;
			text-transform: uppercase;
			color: #dbeafe;
		}

		.achievement-rank-hint {
			font-size: 0.78rem;
			line-height: 1.35;
			color: var(--muted);
		}

		.achievement-inline-hint {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 18px;
			height: 18px;
			border-radius: 999px;
			border: 1px solid rgba(147, 197, 253, 0.4);
			background: rgba(59, 130, 246, 0.16);
			color: #dbeafe;
			font-size: 0.72rem;
			font-weight: 900;
			line-height: 1;
			cursor: help;
			box-sizing: border-box;
		}

		.achievement-inline-hint:focus-visible {
			outline: 2px solid rgba(147, 197, 253, 0.7);
			outline-offset: 2px;
		}

		.achievement-rank-mega-field[hidden] {
			display: none !important;
		}

		.achievement-rank-mega-field .icon-modal-input {
			width: 100%;
		}

		#achievementMegaRankLevelSelect option {
			background: #0f172a;
			color: #effbff;
		}

		.achievement-mega-toggle-btn:disabled {
			opacity: 0.22;
			cursor: not-allowed;
		}

		.achievement-media-row {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 12px;
			align-items: start;
			margin-bottom: 16px;
		}

		.achievement-media-field {
			display: grid;
			gap: 6px;
			margin-top: 0;
		}

		.achievement-icon-picker-row {
			display: grid;
			grid-template-columns: auto auto;
			gap: 10px;
			align-items: center;
			justify-content: center;
			margin-top: 4px;
		}

		.achievement-icon-choice-btn {
			width: 42px;
			height: 42px;
			min-width: 42px;
			font-size: 1.1rem;
		}

		.achievement-icon-choice-btn.is-hidden {
			display: none !important;
		}

		.achievement-form-media-preview {
			width: 100px;
			height: 100px;
			border-radius: 16px;
			overflow: hidden;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			background: rgba(148, 163, 184, 0.14);
			border: 1px solid rgba(148, 163, 184, 0.24);
			box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2);
			font-size: 2rem;
			line-height: 1;
		}

		.achievement-form-media-preview.is-empty {
			color: var(--muted);
			font-size: 1.5rem;
		}

		.achievement-form-media-preview-image {
			width: 100%;
			height: 100%;
			object-fit: cover;
			display: block;
		}

		#achievementImageUrlInput {
			appearance: none;
			-webkit-appearance: none;
		}

		#achievementImageUrlInput::-webkit-credentials-auto-fill-button,
		#achievementImageUrlInput::-webkit-contacts-auto-fill-button {
			visibility: hidden;
			pointer-events: none;
			position: absolute;
			right: 0;
		}

		.achievement-media-hint {
			font-size: 0.74rem;
			line-height: 1.35;
			color: var(--muted);
		}

		.achievement-target-row .achievement-target-field {
			display: flex;
			flex-direction: column;
			gap: 6px;
			margin-top: 0;
		}

		.achievement-target-field.is-disabled .icon-modal-label {
			opacity: 0.72;
		}

		.achievement-target-field.is-disabled .icon-modal-input {
			opacity: 0.5;
			cursor: not-allowed;
		}

		body[data-theme="sky-bright"] .achievement-target-mode-option {
			background: rgba(255, 255, 255, 0.72);
			border-color: rgba(14, 116, 144, 0.16);
		}

		body[data-theme="sky-bright"] .achievement-target-mode-title {
			color: #0f172a;
		}

		body[data-theme="sky-bright"] .achievement-target-mode-option:has(input:checked) {
			border-color: rgba(37, 99, 235, 0.22);
			background: linear-gradient(145deg, rgba(219, 234, 254, 0.96), rgba(255, 255, 255, 0.84));
		}

		body[data-theme="sky-bright"] .achievement-rank-toggle {
			background: linear-gradient(145deg, rgba(219, 234, 254, 0.92), rgba(255, 255, 255, 0.76));
			border-color: rgba(37, 99, 235, 0.18);
		}

		body[data-theme="sky-bright"] .achievement-rank-title {
			color: #1d4ed8;
		}

		body[data-theme="sky-bright"] .achievement-inline-hint {
			border-color: rgba(37, 99, 235, 0.28);
			background: rgba(59, 130, 246, 0.1);
			color: #1d4ed8;
		}

		body[data-theme="sky-bright"] #achievementMegaRankLevelSelect option {
			background: #ffffff;
			color: #0b1b3b;
		}

		.achievement-lists-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 8px;
		}

		.achievement-list-search-toggle {
			height: 24px;
			min-width: 24px;
			padding: 0 7px;
			font-size: 0.78rem;
			line-height: 1;
			border-radius: 999px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}

		.achievement-list-search-wrap {
			margin-top: 4px;
			margin-bottom: 6px;
		}

		.achievement-list-search-input {
			margin-top: 0;
			padding: 7px 9px;
			font-size: 0.78rem;
			border-radius: 9px;
		}

		.field-error-blink {
			animation: fieldErrorBlink 0.62s ease-in-out 0s 2;
		}

		@keyframes fieldErrorBlink {
			0%, 100% {
				border-color: rgba(248, 113, 113, 0.45);
				box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
			}
			50% {
				border-color: #ef4444;
				box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.26);
			}
		}

		.achievements-list-select {
			display: grid;
			gap: 6px;
			max-height: min(34vh, 260px);
			overflow: auto;
			border: 1px solid rgba(148, 163, 184, 0.3);
			border-radius: 10px;
			padding: 9px;
			background: linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.28));
			box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
		}

		.achievement-list-option {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			align-items: start;
			column-gap: 8px;
			row-gap: 2px;
			font-size: 0.82rem;
			text-align: center;
			cursor: pointer;
			border: 1px solid rgba(148, 163, 184, 0.22);
			border-radius: 8px;
			padding: 7px 8px;
			background: rgba(15, 23, 42, 0.3);
			transition: border-color 0.16s ease, background 0.16s ease;
		}

		.achievement-list-option:hover {
			border-color: rgba(56, 189, 248, 0.5);
			background: rgba(56, 189, 248, 0.12);
		}

		.achievement-list-option input {
			margin: 2px 0 0;
			grid-row: 1 / span 2;
			accent-color: var(--accent);
		}

		.achievement-list-main {
			grid-column: 2;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex-wrap: wrap;
			gap: 6px;
			min-width: 0;
			width: 100%;
		}

		.achievement-list-name {
			font-size: 0.84rem;
			line-height: 1.25;
			font-weight: 600;
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.achievement-list-board {
			font-size: 0.76rem;
			line-height: 1.2;
			color: var(--muted);
			white-space: nowrap;
		}

		.achievement-list-stats {
			grid-column: 2;
			font-size: 0.72rem;
			line-height: 1.2;
			color: var(--muted);
			text-align: center;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.achievement-form-feedback {
			padding: 10px 12px;
			border-radius: 8px;
			background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.15));
			border: 1px solid rgba(249, 115, 22, 0.4);
			color: #fbbf24;
			font-size: 0.9rem;
			font-weight: 600;
			text-align: center;
			margin-bottom: 12px;
			text-transform: uppercase;
			letter-spacing: 0.05em;
			animation: feedbackPulse 0.48s ease-out;
		}

		@keyframes feedbackPulse {
			0% {
				opacity: 0;
				transform: translateY(-4px);
			}
			100% {
				opacity: 1;
				transform: translateY(0);
			}
		}

		.achievements-form-actions {
			margin-top: 2px;
		}

		body[data-theme="sky-bright"] .achievement-config-item {
			background: rgba(255, 255, 255, 0.68);
			border-color: rgba(14, 116, 144, 0.24);
		}

		body[data-theme="sky-bright"] .achievement-config-item.is-completed-goal {
			background: linear-gradient(135deg, rgba(220, 252, 231, 0.96), rgba(240, 253, 244, 0.92));
			border-color: rgba(34, 197, 94, 0.34);
			box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.1);
		}

		body[data-theme="sky-bright"] .achievement-config-item.unlocked {
			background:
				radial-gradient(circle at 50% 50%, rgba(134, 239, 172, 0.2), rgba(34, 197, 94, 0.06) 32%, transparent 62%),
				linear-gradient(135deg, rgba(240, 253, 244, 0.98) 0%, rgba(187, 247, 208, 0.98) 44%, rgba(134, 239, 172, 0.94) 100%);
			border-color: rgba(34, 197, 94, 0.42);
			box-shadow: 0 20px 36px rgba(34, 197, 94, 0.16), inset 0 0 0 1px rgba(34, 197, 94, 0.08);
		}

		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-name,
		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-status,
		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-meta,
		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-board {
			color: #14532d;
		}

		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-media {
			background: radial-gradient(circle at 35% 35%, rgba(74, 222, 128, 1), rgba(22, 163, 74, 0.94) 72%);
			border-color: rgba(20, 83, 45, 0.14);
		}

		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-status,
		body[data-theme="sky-bright"] .achievement-config-item.unlocked .achievement-config-actions .ghost {
			background: rgba(255, 255, 255, 0.56);
			border-color: rgba(20, 83, 45, 0.12);
			color: #14532d;
		}

		body[data-theme="sky-bright"] .achievement-config-item.is-mega {
			background:
				radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.72) 0, rgba(255, 255, 255, 0.72) 8px, transparent 9px),
				radial-gradient(circle at 82% 24%, rgba(253, 224, 71, 0.22) 0, rgba(253, 224, 71, 0.22) 16px, transparent 17px),
				linear-gradient(145deg, rgba(255, 251, 214, 0.98), rgba(254, 243, 199, 0.98) 38%, rgba(252, 211, 77, 0.9) 100%);
			border-color: rgba(217, 119, 6, 0.42);
			box-shadow: 0 20px 38px rgba(217, 119, 6, 0.14), 0 0 24px rgba(251, 191, 36, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
		}

		body[data-theme="sky-bright"] .achievement-mega-toggle {
			background: linear-gradient(145deg, rgba(254, 249, 195, 0.88), rgba(240, 249, 255, 0.9));
			border-color: rgba(202, 138, 4, 0.24);
		}

		body[data-theme="sky-bright"] .achievement-mega-toggle-title {
			color: #92400e;
		}

		body[data-theme="sky-bright"] .level-overview-achievements-item.is-mega {
			background: linear-gradient(145deg, rgba(254, 249, 195, 0.9), rgba(255, 255, 255, 0.92));
			border-color: rgba(202, 138, 4, 0.28);
			box-shadow: 0 14px 28px rgba(14, 116, 144, 0.08), inset 0 0 0 1px rgba(202, 138, 4, 0.06);
		}

		body[data-theme="sky-bright"] .level-overview-achievements-item.is-mega .level-overview-achievements-item-meta {
			color: #92400e;
		}

		body[data-theme="sky-bright"] .achievement-config-item.is-completed-goal .achievement-config-name,
		body[data-theme="sky-bright"] .achievement-config-item.is-completed-goal .achievement-config-meta {
			color: #166534;
		}

		body[data-theme="sky-bright"] .achievement-top-goal-check {
			color: rgba(21, 128, 61, 0.18);
			background: rgba(14, 116, 144, 0.06);
			border-color: rgba(14, 116, 144, 0.12);
		}

		body[data-theme="sky-bright"] .achievement-config-item.is-completed-goal .achievement-top-goal-check {
			color: #15803d;
			background: linear-gradient(145deg, rgba(187, 247, 208, 0.92), rgba(220, 252, 231, 0.96));
			border-color: rgba(34, 197, 94, 0.28);
			box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 8px 16px rgba(34, 197, 94, 0.08);
		}

		body[data-theme="sky-bright"] .achievement-top-goal-points {
			color: #0369a1;
		}

		body[data-theme="sky-bright"] .achievement-config-item.just-unlocked {
			border-color: rgba(245, 158, 11, 0.72);
			box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.38);
		}

		body[data-theme="sky-bright"] .achievement-config-item.is-mega.just-unlocked {
			background:
				radial-gradient(circle at 50% 50%, rgba(255, 224, 122, 0.26), rgba(251, 191, 36, 0.16) 34%, transparent 72%),
				linear-gradient(135deg, rgba(255, 252, 235, 0.99) 0%, rgba(254, 243, 199, 0.99) 40%, rgba(252, 211, 77, 0.96) 100%);
			border-color: rgba(217, 119, 6, 0.52);
			box-shadow: 0 22px 42px rgba(217, 119, 6, 0.16), 0 0 30px rgba(251, 191, 36, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.32);
		}

		body[data-theme="sky-bright"] .achievement-config-item.unlocked.is-mega {
			background:
				radial-gradient(circle at 50% 46%, rgba(255, 233, 150, 0.24), rgba(251, 191, 36, 0.12) 34%, transparent 68%),
				radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0.6) 7px, transparent 8px),
				linear-gradient(135deg, rgba(255, 251, 214, 0.99) 0%, rgba(254, 240, 138, 0.98) 44%, rgba(251, 191, 36, 0.94) 100%);
			border-color: rgba(217, 119, 6, 0.5);
			box-shadow: 0 24px 44px rgba(217, 119, 6, 0.16), 0 0 28px rgba(251, 191, 36, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.26);
		}

		body[data-theme="sky-bright"] .level-overview-achievements-item.is-mega.just-unlocked {
			background:
				radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.2), rgba(187, 247, 208, 0.18) 38%, transparent 72%),
				linear-gradient(145deg, rgba(254, 252, 232, 0.94), rgba(220, 252, 231, 0.96));
			border-color: rgba(217, 119, 6, 0.42);
		}

		body[data-theme="sky-bright"] .achievement-config-item.is-mega.just-unlocked .achievement-config-head::before,
		body[data-theme="sky-bright"] .level-overview-achievements-item.is-mega.just-unlocked::before {
			border-color: rgba(217, 119, 6, 0.28);
			background: linear-gradient(180deg, rgba(254, 249, 195, 0.98), rgba(251, 191, 36, 0.94));
			color: #78350f;
		}

		body[data-theme="sky-bright"] .achievements-list-select {
			background: rgba(255, 255, 255, 0.74);
			border-color: rgba(14, 116, 144, 0.25);
			box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.16);
		}

		body[data-theme="sky-bright"] .achievement-list-option {
			background: rgba(240, 249, 255, 0.84);
			border-color: rgba(14, 116, 144, 0.2);
		}

		body[data-theme="sky-bright"] .achievement-list-option:hover {
			border-color: rgba(2, 132, 199, 0.44);
			background: rgba(186, 230, 253, 0.52);
		}

		.global-search {
			position: fixed;
			left: 20px;
			bottom: 20px;
			z-index: 1300;
		}

		.quick-add-floating {
			position: fixed;
			right: 20px;
			bottom: 20px;
			z-index: 1300;
		}

		.auth-floating {
			position: fixed;
			right: 20px;
			top: 20px;
			z-index: 1300;
		}

		body:not([data-app-ready="true"]) .auth-floating {
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
		}

		body[data-modal-open="true"] .auth-floating {
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
		}

		body:not([data-app-ready="true"]) .quick-add-floating,
		body[data-modal-open="true"] .quick-add-floating,
		body[data-shared-board-view="true"] .quick-add-floating {
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
		}

		.quick-add-floating-btn {
			width: 46px;
			height: 46px;
			padding: 0;
			border-radius: 999px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			font-size: 1.4rem;
			line-height: 1;
			background: var(--card);
			border-color: var(--card-border);
			backdrop-filter: blur(8px);
		}

		.auth-floating-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 9px;
			min-width: 110px;
			height: 46px;
			padding: 0 16px;
			border-radius: 999px;
			background: var(--card);
			border-color: var(--card-border);
			backdrop-filter: blur(8px);
			white-space: nowrap;
		}

		.auth-floating-btn.shared-cta-highlight {
			border-color: rgba(250, 204, 21, 0.82);
			box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18), 0 14px 30px rgba(250, 204, 21, 0.28);
			animation: auth-floating-highlight-pulse 1.1s ease;
		}

		@keyframes auth-floating-highlight-pulse {
			0% {
				transform: translateY(0) scale(1);
			}
			35% {
				transform: translateY(-2px) scale(1.03);
			}
			100% {
				transform: translateY(0) scale(1);
			}
		}

		.auth-floating-icon {
			flex: 0 0 auto;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 16px;
			height: 16px;
			color: #ffffff;
		}

		.auth-floating-icon svg {
			display: block;
			width: 16px;
			height: 16px;
		}

		.auth-floating-label {
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		body[data-shared-board-view="true"] .create-board,
		body[data-shared-board-view="true"] .create-list,
		body[data-shared-board-view="true"] .level-overview-achievements-nav {
			display: none !important;
		}

		.auth-modal {
			width: min(400px, calc(100vw - 24px));
		}

		.welcome-modal {
			width: min(560px, calc(100vw - 24px));
			padding: 20px;
			border-color: rgba(94, 234, 212, 0.24);
			background:
				radial-gradient(circle at 14% 12%, rgba(34, 211, 238, 0.22), transparent 28%),
				radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.16), transparent 24%),
				radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.12), transparent 30%),
				linear-gradient(160deg, rgba(3, 7, 18, 0.98), rgba(10, 18, 36, 0.98) 56%, rgba(20, 31, 54, 0.98));
			box-shadow:
				0 30px 80px rgba(2, 6, 23, 0.62),
				0 0 0 1px rgba(56, 189, 248, 0.08),
				inset 0 1px 0 rgba(255, 255, 255, 0.08);
		}

		.welcome-modal-copy {
			display: grid;
			gap: 9px;
			text-align: center;
			padding: 6px 6px 0;
		}

		.welcome-modal-head {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 12px;
			margin-bottom: 12px;
			padding-bottom: 12px;
			border-bottom: 1px solid rgba(94, 234, 212, 0.14);

		}

		.welcome-modal-logo {
			display: block;
			width: 58px;
			height: 58px;
			margin: 0;
			object-fit: contain;
			flex-shrink: 0;
			filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.24)) drop-shadow(0 10px 24px rgba(2, 6, 23, 0.34));
		}

		.welcome-modal-title {
			font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem);
			line-height: 1.1;
			margin: 0;
			letter-spacing: 0.06em;
			text-transform: none;
			color: #ecfeff;
			text-shadow: 0 0 26px rgba(34, 211, 238, 0.16);
		}

		.welcome-modal-text {
			margin: 0;
			color: rgba(226, 232, 240, 0.92);
			font-size: 1rem;
			line-height: 1.58;
		}

		.welcome-modal-text + .welcome-modal-text {
			margin-top: 18px;
		}

		.welcome-modal-text strong {
			color: #67e8f9;
			letter-spacing: 0.04em;
			text-shadow: 0 0 14px rgba(34, 211, 238, 0.14);
		}

		.welcome-modal-text-last {
			color: #c4b5fd;
			margin-top: 28px;
		}

		.welcome-modal-art-wrap {
			margin-top: 12px;
			border-radius: 20px;
			overflow: hidden;
			border: 1px solid rgba(94, 234, 212, 0.18);
			background: linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(8, 47, 73, 0.18));
			box-shadow:
				0 18px 42px rgba(2, 6, 23, 0.34),
				inset 0 1px 0 rgba(255, 255, 255, 0.06);
		}

		.welcome-modal-art {
			display: block;
			width: 100%;
			height: auto;
			aspect-ratio: 16 / 11;
			object-fit: cover;
		}

		.welcome-modal-actions {
			justify-content: stretch;
			margin-top: 18px;
			padding-top: 6px;
		}

		.welcome-accept-btn {
			width: 100%;
			min-height: 58px;
			padding: 14px 18px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 12px;
			font-size: 1rem;
			font-weight: 700;
			border-radius: 16px;
			border: 1px solid rgba(94, 234, 212, 0.28);
			background:
				linear-gradient(135deg, rgba(8, 145, 178, 0.92), rgba(37, 99, 235, 0.92)),
				radial-gradient(circle at top, rgba(103, 232, 249, 0.22), transparent 62%);
			box-shadow:
				0 16px 34px rgba(14, 165, 233, 0.24),
				0 0 24px rgba(56, 189, 248, 0.12),
				inset 0 1px 0 rgba(255, 255, 255, 0.18);
		}

		.welcome-accept-btn:hover {
			transform: translateY(-1px);
			box-shadow:
				0 20px 38px rgba(14, 165, 233, 0.28),
				0 0 30px rgba(56, 189, 248, 0.18),
				inset 0 1px 0 rgba(255, 255, 255, 0.2);
		}

		.welcome-accept-btn-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 32px;
			height: 32px;
			border-radius: 999px;
			background: rgba(255, 255, 255, 0.16);
			border: 1px solid rgba(255, 255, 255, 0.16);
			font-size: 1.05rem;
			flex: 0 0 auto;
			box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
		}

		.welcome-accept-btn-label {
			display: grid;
			gap: 2px;
			text-align: left;
			line-height: 1.15;
		}

		.welcome-accept-btn-label span:first-child {
			letter-spacing: 0.08em;
		}

		.auth-modal-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
			margin-bottom: 6px;
		}

		.auth-form {
			display: grid;
			gap: 8px;
		}

		.auth-tool-field {
			margin: 0 0 10px;
			padding: 0 0 14px;
			border-bottom: 1px solid rgba(148, 163, 184, 0.14);
		}

		.auth-form .theme-switcher {
			max-width: none;
			margin: 0;
			align-items: stretch;
			gap: 10px;
		}

		.auth-form .theme-switcher-actions {
			display: grid;
			grid-template-columns: repeat(3, minmax(0, 1fr));
			gap: 8px;
		}

		.auth-form .theme-toggle-btn {
			width: 100%;
			justify-content: center;
			min-height: 48px;
			padding: 10px 14px;
			font-size: 0.9rem;
		}

		.auth-form .theme-panel {
			min-width: 0;
			width: 100%;
		}

		.auth-form .icon-modal-input {
			min-height: 44px;
			width: 100%;
			padding: 10px 12px;
			border-radius: 10px;
			font-family: inherit;
			font-size: 0.96rem;
			line-height: 1.3;
			background: var(--card);
			color: var(--text);
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
			background-image: none;
		}

		.auth-form input[type="email"],
		.auth-form input[type="password"],
		.auth-form input[type="text"] {
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
			background-image: none;
		}

		.auth-intro {
			margin: 6px 0 10px;
			color: var(--muted);
			font-size: 0.92rem;
			line-height: 1.45;
		}

		body[data-theme="sky-bright"] .welcome-modal {
			background:
				radial-gradient(circle at 14% 12%, rgba(14, 165, 233, 0.18), transparent 28%),
				radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.1), transparent 24%),
				linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96) 56%, rgba(224, 242, 254, 0.96));
			border-color: rgba(14, 116, 144, 0.22);
			box-shadow: 0 24px 56px rgba(14, 116, 144, 0.18);
			color: #082f49;
		}

		body[data-theme="sky-bright"] #iconBackdrop,
		body[data-theme="sky-bright"] #welcomeBackdrop {
			background:
				radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.12), transparent 28%),
				radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.1), transparent 26%),
				rgba(239, 246, 255, 0.7);
		}

		body[data-theme="sky-bright"] .icon-modal {
			background:
				radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 30%),
				radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 26%),
				linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.97) 58%, rgba(224, 242, 254, 0.96));
			border-color: rgba(14, 116, 144, 0.22);
			box-shadow:
				0 26px 60px rgba(14, 116, 144, 0.18),
				0 0 0 1px rgba(14, 165, 233, 0.05),
				inset 0 1px 0 rgba(255, 255, 255, 0.72);
		}

		body[data-theme="sky-bright"] .icon-modal-head {
			border-bottom-color: rgba(14, 116, 144, 0.12);
		}

		body[data-theme="sky-bright"] .welcome-modal-title,
		body[data-theme="sky-bright"] .welcome-modal-text {
			color: #082f49;
		}

		body[data-theme="sky-bright"] .welcome-modal-text strong {
			color: #0369a1;
		}

		body[data-theme="sky-bright"] .welcome-modal-text-last {
			color: #4c1d95;
		}

		body[data-theme="sky-bright"] .welcome-modal-art-wrap {
			background: rgba(255, 255, 255, 0.62);
			border-color: rgba(14, 116, 144, 0.16);
			box-shadow:
				0 16px 34px rgba(14, 116, 144, 0.12),
				inset 0 1px 0 rgba(255, 255, 255, 0.72);
		}

		body[data-theme="sky-bright"] .welcome-accept-btn {
			border-color: rgba(14, 116, 144, 0.22);
			background:
				linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(37, 99, 235, 0.9)),
				radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 62%);
			box-shadow:
				0 16px 34px rgba(14, 116, 144, 0.18),
				0 0 18px rgba(14, 165, 233, 0.12),
				inset 0 1px 0 rgba(255, 255, 255, 0.24);
			color: #eff6ff;
		}

		body[data-theme="sky-bright"] .icon-modal-title {
			color: #082f49;
			text-shadow: none;
		}

		body[data-theme="sky-bright"] .icon-modal-label {
			color: #0c4a6e;
		}

		body[data-theme="sky-bright"] .icon-modal-input {
			border-color: rgba(14, 116, 144, 0.18);
			background:
				linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.88)),
				radial-gradient(circle at top, rgba(14, 165, 233, 0.06), transparent 70%);
			box-shadow:
				inset 0 1px 0 rgba(255, 255, 255, 0.68),
				0 0 0 1px rgba(14, 165, 233, 0.03);
		}

		body[data-theme="sky-bright"] .icon-modal-link-view {
			border-color: rgba(14, 116, 144, 0.22);
			background: linear-gradient(135deg, rgba(224, 242, 254, 0.8), rgba(255, 255, 255, 0.82));
		}

		.auth-mode-toggle {
			display: flex;
			gap: 8px;
			margin-bottom: 10px;
		}

		.auth-mode-btn {
			flex: 1;
		}

		.auth-mode-btn.is-active {
			background: rgba(56, 189, 248, 0.16);
			border-color: rgba(56, 189, 248, 0.3);
		}

		.auth-transfer-note {
			margin: 2px 0 0;
			color: var(--muted);
			font-size: 0.84rem;
			line-height: 1.45;
		}

		.auth-status {
			padding: 10px 12px;
			border: 1px solid rgba(56, 189, 248, 0.22);
			border-radius: 12px;
			background: rgba(56, 189, 248, 0.12);
			color: var(--text);
			font-size: 0.84rem;
			line-height: 1.4;
		}

		.auth-status.is-success {
			border-color: rgba(34, 197, 94, 0.26);
			background: rgba(34, 197, 94, 0.14);
		}

		.auth-status.is-pending {
			border-color: rgba(250, 204, 21, 0.28);
			background: rgba(250, 204, 21, 0.12);
		}

		.auth-actions {
			margin-top: 6px;
		}

		.auth-profile-actions {
			justify-content: flex-start;
			gap: 10px;
		}

		.auth-profile-actions > button[type="submit"] {
			margin-left: auto;
		}

		.auth-close-btn {
			width: 36px;
			min-width: 36px;
			height: 36px;
			padding: 0;
			border-radius: 999px;
			font-size: 1.05rem;
			line-height: 1;
		}

		.auth-action-btn {
			display: inline-flex;
			align-items: center;
			gap: 8px;
		}

		.auth-action-icon {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			font-size: 0.98rem;
			line-height: 1;
		}

		body[data-user-auth="guest"] .auth-floating-btn {
			min-width: 238px;
			height: auto;
			min-height: 46px;
			padding: 10px 16px;
			white-space: normal;
			line-height: 1.2;
			text-align: center;
		}

		body[data-user-auth="logged-out"] .wrap,
		body[data-user-auth="logged-out"] .theme-switcher,
		body[data-user-auth="logged-out"] .global-search {
			filter: blur(3px);
			pointer-events: none;
			user-select: none;
			opacity: 0.35;
		}

		body[data-theme="sky-bright"] .auth-floating-btn {
			background: rgba(255, 255, 255, 0.95);
			border-color: rgba(14, 116, 144, 0.28);
			color: #0b1b3b;
		}

		.search-toggle-btn {
			width: 46px;
			height: 46px;
			padding: 0;
			font-size: 1.14rem;
			line-height: 1;
			border-radius: 999px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			background: var(--card);
			border-color: var(--card-border);
			backdrop-filter: blur(8px);
		}

		.search-panel {
			position: absolute;
			left: 0;
			bottom: calc(100% + 10px);
			width: min(420px, calc(100vw - 24px));
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
			transform: translateY(10px);
			transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
		}

		.global-search.open .search-panel {
			opacity: 1;
			visibility: visible;
			pointer-events: auto;
			transform: translateY(0);
		}

		.search-input {
			width: 100%;
			padding: 10px 12px;
			border-radius: 10px;
		}

		.search-results {
			margin-top: 6px;
			max-height: 280px;
			overflow: auto;
			border: 1px solid var(--card-border);
			border-radius: 12px;
			background: var(--card);
			backdrop-filter: blur(8px);
		}

		.search-result-item {
			display: block;
			width: 100%;
			text-align: left;
			padding: 8px 10px;
			border: none;
			border-bottom: 1px solid var(--card-border);
			border-radius: 0;
			background: transparent;
			box-shadow: none;
			color: var(--text);
			font-family: inherit;
			cursor: pointer;
			transform: none;
		}

		.search-result-item:last-child {
			border-bottom: none;
		}

		.search-result-item:hover,
		.search-result-item:focus-visible {
			background: rgba(56, 189, 248, 0.14);
			outline: none;
			filter: none;
		}

		.search-result-main {
			display: block;
			font-size: 0.9rem;
			font-weight: 600;
		}

		.search-result-meta {
			display: block;
			margin-top: 1px;
			font-size: 0.78rem;
			color: var(--muted);
		}

		.search-empty {
			padding: 10px;
			font-size: 0.84rem;
			color: var(--muted);
		}

		@media (max-width: 900px) {
			.level-theme-modal-hero {
				grid-template-columns: 1fr;
				justify-items: center;
				text-align: center;
			}

			.level-theme-modal-hero-copy {
				justify-items: center;
			}

			.app-layout {
				grid-template-columns: 1fr;
				align-items: start;
			}

			.main-panel {
				padding-top: 0;
				min-height: inherit;
			}

			.app-footer {
				margin-top: auto;
				padding: 16px 0 28px;
			}

			.pre-footer-tutorial {
				padding: 12px 10px 4px;
			}

			.tutorial-launch-btn {
				width: min(100%, 320px);
				padding: 0 18px;
				font-size: 0.79rem;
				letter-spacing: 0.14em;
			}

			.tutorial-skip-btn {
				max-width: min(100%, 320px);
				padding: 0 10px;
				font-size: 0.7rem;
				text-align: center;
			}

			.tutorial-modal {
				padding: 18px 16px 16px;
			}

			.tutorial-slide-shell {
				padding: 16px 14px;
			}

			.tutorial-body {
				min-height: 0;
			}

			.tutorial-actions button {
				min-width: 92px;
			}

			.boards-panel {
				position: fixed;
				top: 66px;
				left: 10px;
				right: 10px;
				bottom: max(10px, env(safe-area-inset-bottom, 0px));
				z-index: 1200;
				display: none;
				max-height: none;
				overflow: auto;
				padding: 10px;
				border-radius: 14px;
				border: 1px solid var(--card-border);
				background: var(--card);
				backdrop-filter: blur(8px);
				box-shadow: 0 18px 46px rgba(2, 6, 23, 0.45);
			}

			.boards-panel.mobile-open {
				display: block;
			}

			.boards-brand {
				margin-bottom: 10px;
			}

			.boards-brand-logo {
				width: min(100%, 190px);
			}

			.boards-list {
				gap: 4px;
				max-height: calc(100dvh - 188px);
			}

			.board-item {
				gap: 6px;
				padding: 11px 6px;
				min-height: 34px;
			}



			.board-progress {
				width: 72px;
				gap: 3px;
			}


			.board-progress-track {
				height: 4px;
			}

			.boards-close-btn {
				display: inline-flex;
				align-items: center;
				justify-content: center;
			}

			.boards-menu-btn {
				display: inline-flex;
			}

			.boards-menu-row {
				display: none;
			}

			.boards-menu-label {
				display: none;
			}

			.lists {
				grid-template-columns: 1fr;
			}

			.list-meta {
				grid-template-columns: 1fr;
				justify-items: end;
				gap: 4px;
				text-align: right;
				padding: 0;
			}

			.list-meta-row {
				justify-content: flex-end;
			}

			.list-expanded-modal {
				width: calc(100vw - 12px);
				height: calc(100vh - 12px);
				padding: 10px;
				border-radius: 12px;
			}

			.board-grid-modal {
				width: calc(100vw - 10px);
				height: calc(100vh - 10px);
				padding: 10px;
				border-radius: 12px;
			}

			.board-grid-table {
				min-width: 1120px;
				font-size: 0.76rem;
			}

			.board-grid-table th,
			.board-grid-table td {
				padding: 5px;
			}

			.create-list-menu {
				min-width: 156px;
			}

			.list-expanded-tasks {
				gap: 8px;
				padding-right: 3px;
			}

			.list-expanded-group {
				padding: 7px;
			}

			.list-expanded-group-head {
				align-items: flex-start;
			}

			.list-expanded-group-meta {
				width: 100%;
			}

			.list-expanded-tasks .task,
			.list-expanded-group-tasks .task {
				padding: 8px 10px;
				gap: 8px;
			}

			.list-expanded-group-tasks {
				grid-template-columns: minmax(0, 1fr);
			}

			.list-expanded-tasks .task-main-row,
			.list-expanded-group-tasks .task-main-row {
				align-items: flex-start;
				gap: 8px;
			}

			.list-expanded-tasks .task-label-wrap,
			.list-expanded-group-tasks .task-label-wrap {
				align-items: center;
				gap: 6px;
			}

			.list-expanded-tasks .task-text-wrap,
			.list-expanded-group-tasks .task-text-wrap {
				gap: 2px;
			}

			.list-expanded-tasks .task-text-wrap label,
			.list-expanded-group-tasks .task-text-wrap label {
				line-height: 1.2;
			}

			.list-expanded-title {
				font-size: 0.96rem;
			}

			.level-overview {
				padding: 7px 11px 18px;
				margin-bottom: 14px;
				top: 8px;
			}

			.level-overview-head {
				display: grid;
				grid-template-columns: auto minmax(0, 1fr) auto;
				justify-content: stretch;
				width: 100%;
			}

			.level-overview-mobile-auth-slot {
				display: flex;
				align-items: center;
				justify-content: flex-end;
			}

			.level-overview-head .level-overview-points {
				width: 100%;
			}

			.level-overview-top {
				width: 100%;
				gap: 8px;
				align-items: stretch;
			}

			body[data-shared-board-view="true"] .level-overview-head {
				width: 100%;
				max-width: none;
				align-self: stretch;
				grid-template-columns: minmax(0, 1fr) auto;
			}

			body[data-shared-board-view="true"] .level-overview-head .level-overview-points {
				grid-column: auto;
			}

			.level-overview-image-stack {
				width: 108px;
			}

			.level-overview-meta-max {
				width: 108px;
				min-height: 38px;
				padding: 6px 8px;
				margin-top: -5px;
				border-radius: 15px;
				gap: 6px;
			}

			.boards-menu-btn.level-overview-mobile-boards-btn:not(.level-overview-quick-add-btn) {
				display: inline-flex;
				position: static;
				margin: 0;
				width: 38px;
				height: 38px;
				align-items: center;
				justify-content: center;
			}

			.boards-menu-btn.level-overview-mobile-boards-btn.level-overview-quick-add-btn {
				right: 18px;
				bottom: 18px;
				width: 42px;
				height: 42px;
			}


			.level-overview-image {
				width: 108px;
				height: 108px;
			}

			.level-overview-image-caption {
				padding: 20px 8px 8px;
			}

			.level-overview-image-corner-badge {
				top: 4px;
				left: 4px;
				min-width: 28px;
				height: 28px;
				padding: 0 8px;
				border-radius: 10px;
				font-size: 0.86rem;
			}

			.level-overview-image-title {
				font-size: 0.74rem;
			}

			.level-overview-achievements-btn {
				padding: 8px;
				gap: 4px;
			}

			.level-overview-achievements-title {
				font-size: 0.7rem;
			}

			.level-overview-achievements-header {
				grid-template-columns: 24px 1fr 24px;
			}

			.level-overview-achievements-nav {
				width: 22px;
				height: 22px;
				font-size: 0.82rem;
			}

			.level-overview-achievements-item,
			.level-overview-achievements-empty {
				font-size: 0.74rem;
			}

			.level-overview-achievements-item-meta {
				font-size: 0.68rem;
			}

			.level-overview-achievements-list {
				max-height: 102px;
			}

			.theme-switcher {
				margin-top: 10px;
			}

			.global-search {
				left: 18px;
				bottom: 18px;
			}

			.quick-add-floating {
				right: 18px;
				bottom: 18px;
			}

			.auth-floating {
				right: 18px;
				top: 18px;
			}

			.level-overview-mobile-auth-slot .auth-floating {
				position: static;
				right: auto;
				top: auto;
				z-index: auto;
			}

			.auth-floating-btn {
				min-width: 42px;
				width: 42px;
				height: 42px;
				padding: 0;
				gap: 0;
			}

			.level-overview-mobile-auth-slot .auth-floating-btn {
				min-width: 38px;
				width: 38px;
				height: 38px;
				padding: 8px 12px;
				border-radius: 12px;
				background: rgba(15, 23, 42, 0.7);
				border-color: #334155;
				box-shadow: none;
				backdrop-filter: none;
			}

			.auth-floating-btn .auth-floating-label {
				position: absolute;
				width: 1px;
				height: 1px;
				padding: 0;
				margin: -1px;
				overflow: hidden;
				clip: rect(0, 0, 0, 0);
				white-space: nowrap;
				border: 0;
			}

			.search-panel {
				width: min(88vw, 360px);
			}

			.search-toggle-btn {
				background: var(--bg1);
				backdrop-filter: none;
			}

			.quick-add-floating-btn {
				background: var(--bg1);
				border-color: var(--card-border);
				backdrop-filter: none;
			}

			body[data-modal-open="true"] .auth-floating-btn,
			body[data-modal-open="true"] .quick-add-floating-btn,
			body[data-modal-open="true"] .search-toggle-btn {
				opacity: 0;
				visibility: hidden;
				pointer-events: none;
			}

			.level-theme-item-head {
				align-items: flex-start;
				flex-wrap: wrap;
			}

			.level-theme-actions {
				width: 100%;
				justify-content: flex-start;
			}

			.level-theme-fields {
				grid-template-columns: 1fr;
			}

			.level-theme-showcase-grid {
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}

			.level-theme-level-row {
				grid-template-columns: 58px minmax(0, 1fr);
				gap: 8px;
				padding: 7px;
			}

			.level-theme-meta-row {
				grid-template-columns: minmax(0, 1fr);
			}

			.level-theme-meta-fields {
				grid-template-columns: minmax(0, 1fr);
			}

			.level-theme-level-preview {
				width: 58px;
				height: 58px;
			}

			.achievements-modal {
				width: calc(100vw - 10px);
				max-height: calc(100vh - 12px);
				padding: 10px;
				border-radius: 12px;
			}

			.achievements-list-select {
				max-height: 190px;
			}

			body[data-user-auth="guest"] .auth-floating-btn {
				min-width: 42px;
				max-width: 42px;
				font-size: 0.9rem;
			}

			.achievement-config-move,
			.achievement-config-edit,
			.achievement-config-delete {
				width: 30px;
				min-width: 30px;
				height: 30px;
				padding: 0;
				gap: 0;
			}

			.achievement-action-text {
				display: none;
			}
		}

		.next-goals-head {
			display: flex;
			justify-content: center;
			align-items: center;
			position: relative;
			margin-bottom: 12px;
		}

		.next-goals-close {
			position: absolute;
			right: 0;
			height: 32px;
			padding: 0 10px;
			font-size: 0.8rem;
		}

		.next-goals-list {
			max-height: calc(100vh - 200px);
			overflow-y: auto;
		}

		.next-goals-items {
			display: grid;
			gap: 8px;
			list-style: none;
			margin: 0;
			padding: 0;
		}

		.next-goals-item {
			display: flex;
			align-items: flex-start;
			gap: 8px;
			padding: 10px 12px;
			border-radius: 8px;
			border: 1px solid rgba(148, 163, 184, 0.28);
			background: rgba(15, 23, 42, 0.42);
			color: var(--text);
			font-size: 0.9rem;
		}

		.next-goals-item:hover {
			border-color: rgba(56, 189, 248, 0.45);
			background: rgba(15, 23, 42, 0.56);
		}

		.next-goals-item-icon {
			flex-shrink: 0;
			font-size: 1rem;
			margin-top: 2px;
		}

		.next-goals-item-content {
			display: flex;
			flex-direction: column;
			gap: 4px;
		}

		.next-goals-item-text {
			font-weight: 500;
			line-height: 1.3;
		}

		.next-goals-item-meta {
			font-size: 0.82rem;
			color: var(--muted);
			line-height: 1.2;
		}

		.next-goals-empty {
			text-align: center;
			color: var(--muted);
			padding: 24px 12px;
			font-size: 0.9rem;
		}

		/* Optimization for 1280x800 resolution */
		@media (max-height: 850px) and (min-width: 1200px) {
			.level-overview {
				margin: 0 0 8px;
				padding: 5px 5px 4px;
				gap: 10px;
				top: 0px;
			}

			.level-overview-top {
				gap: 12px;
			}

			.level-overview-head {
				min-height: 22px;
				gap: 8px;
			}

			.level-overview-image {
				width: 112px !important;
				height: 112px !important;
				border-radius: 10px !important;
				box-shadow: 0 12px 32px rgba(2, 6, 23, 0.72) !important;
			}

			.level-overview-image-stack {
				width: 112px;
				gap: 8px;
			}

			.level-overview-meta-max {
				width: 112px;
				min-height: 36px;
				padding: 6px 8px;
				margin-top: -5px;
				border-radius: 10px;
				gap: 6px;
			}

			.level-overview-achievements-btn {
				padding: 4px;
				border-radius: 10px;
				gap: 3px;
				font-size: 0.85rem;
			}

			.level-overview-achievements-title {
				font-size: 0.68rem;
				line-height: 1.1;
			}

			.level-overview-achievements-list {
			max-height: 107px;
				overflow: auto;
			}

			.level-overview-achievements-item {
				font-size: 0.72rem;
				gap: 3px;
			}

			.level-overview-achievements-stat-line {
				font-size: 0.72rem;
				line-height: 1.15;
			}

			.level-overview-achievements-empty {
				font-size: 0.74rem;
			}
		}
